Skip to content

Commit

Permalink
Update tests with new supplementary dataset IDs (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamtoozer authored May 8, 2024
1 parent cdd58c7 commit 1f851ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ describe("Feature: Hub and Spoke", () => {

await browser.openQuestionnaire("test_hub_section_required_with_repeat_supplementary.json.json", {
version: "v2",
sdsDatasetId: "c067f6de-6d64-42b1-8b02-431a3486c178",
sdsDatasetId: "d8afa921-1305-d553-d2c6-955a6db2cc2d",
responseId,
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe("Using supplementary data", () => {
before("Starting the survey", async () => {
await browser.openQuestionnaire("test_supplementary_data.json", {
version: "v2",
sdsDatasetId: "c067f6de-6d64-42b1-8b02-431a3486c178",
sdsDatasetId: "d8afa921-1305-d553-d2c6-955a6db2cc2d",
responseId,
});
});
Expand Down Expand Up @@ -341,7 +341,7 @@ describe("Using supplementary data", () => {
it("Given I relaunch the survey with new supplementary data and new list items for the repeating section, When I open the Hub page, Then I see the new supplementary list items as new incomplete sections and not any old ones", async () => {
await browser.openQuestionnaire("test_supplementary_data.json", {
version: "v2",
sdsDatasetId: "693dc252-2e90-4412-bd9c-c4d953e36fcd",
sdsDatasetId: "1f61750f-51dd-e933-0df9-40261b06d93f",
responseId,
});
await expect(await $(HubPage.summaryItems("section-4-1")).getText()).toContain("Harry Potter");
Expand Down Expand Up @@ -391,7 +391,7 @@ describe("Using supplementary data", () => {
await expect(await $(HubPage.summaryRowState("section-6")).getText()).toBe("Completed");
await browser.openQuestionnaire("test_supplementary_data.json", {
version: "v2",
sdsDatasetId: "c067f6de-6d64-42b1-8b02-431a3486c178",
sdsDatasetId: "d8afa921-1305-d553-d2c6-955a6db2cc2d",
responseId,
});
await expect(await $(HubPage.summaryRowState("section-6")).getText()).toBe("Partially completed");
Expand All @@ -401,7 +401,7 @@ describe("Using supplementary data", () => {
it("Given I return to the new data resulting in a new incomplete section, When I start the section, Then I see the new supplementary data piped in accordingly", async () => {
await browser.openQuestionnaire("test_supplementary_data.json", {
version: "v2",
sdsDatasetId: "693dc252-2e90-4412-bd9c-c4d953e36fcd",
sdsDatasetId: "1f61750f-51dd-e933-0df9-40261b06d93f",
responseId,
});
await click(HubPage.submit());
Expand Down

0 comments on commit 1f851ca

Please sign in to comment.