Skip to content

Commit

Permalink
test(allure-codeceptjs): update testCaseId and historyId checks
Browse files Browse the repository at this point in the history
  • Loading branch information
delatrie committed Sep 16, 2024
1 parent 92f16e7 commit 813bfbc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/allure-codeceptjs/test/spec/simple.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,33 @@ it("handles simple scenarios", async () => {
status: Status.PASSED,
name: "logout-scenario1",
fullName: "logout.test.js: logout-feature > logout-scenario1",
testCaseId: "0bf4f9a26f520d0d5c2aa270918dd2bd",
historyId: "0bf4f9a26f520d0d5c2aa270918dd2bd:d41d8cd98f00b204e9800998ecf8427e",
testCaseId: "b1cbd7e3cf91f03aa08b912903a297a0",
historyId: "b1cbd7e3cf91f03aa08b912903a297a0:d41d8cd98f00b204e9800998ecf8427e",
}),

expect.objectContaining({
status: Status.PASSED,
stage: Stage.FINISHED,
name: "logout-scenario2",
fullName: "logout.test.js: logout-feature > logout-scenario2",
testCaseId: "5607c1c83d9b64861ff559d525106c71",
historyId: "5607c1c83d9b64861ff559d525106c71:d41d8cd98f00b204e9800998ecf8427e",
testCaseId: "cf2fc4ae2f9143145a3ee3bae6dff66b",
historyId: "cf2fc4ae2f9143145a3ee3bae6dff66b:d41d8cd98f00b204e9800998ecf8427e",
}),
expect.objectContaining({
status: Status.PASSED,
stage: Stage.FINISHED,
name: "login-scenario1",
fullName: "nested/login.test.js: login-feature > login-scenario1",
testCaseId: "b63d78080eb28db70a46f9ecccf81927",
historyId: "b63d78080eb28db70a46f9ecccf81927:d41d8cd98f00b204e9800998ecf8427e",
testCaseId: "157be92d422d04e9b79d6d2fbb5020de",
historyId: "157be92d422d04e9b79d6d2fbb5020de:d41d8cd98f00b204e9800998ecf8427e",
}),
expect.objectContaining({
status: Status.PASSED,
stage: Stage.FINISHED,
name: "login-scenario2",
fullName: "nested/login.test.js: login-feature > login-scenario2",
testCaseId: "32c25d09db299433cdc0cef7a9254b40",
historyId: "32c25d09db299433cdc0cef7a9254b40:d41d8cd98f00b204e9800998ecf8427e",
testCaseId: "fbb987bcdcd21440bb0a4f4d79711387",
historyId: "fbb987bcdcd21440bb0a4f4d79711387:d41d8cd98f00b204e9800998ecf8427e",
}),
]),
);
Expand Down

0 comments on commit 813bfbc

Please sign in to comment.