Skip to content

Commit

Permalink
fix: e2e testcafe testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
isaackps committed Sep 26, 2023
1 parent aa20c46 commit cbe43a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/demo-sample.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ test("demo sample document is rendered correctly when dragged", async (t) => {
.exists
)
.ok();
await validateIssuerTexts(["EXAMPLE.TRADETRUST.IO"]);
await validateIssuerTexts(["DEMO.TRADETRUST.IO"]);
await validateIframeTexts(["Name & Address of Shipping Agent/Freight Forwarder"]);
});
2 changes: 1 addition & 1 deletion src/test/home-page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test("Render home page", async (t) => {

// display components in welcome and test for video overlay
await t.expect(PlayButton.count).eql(1);
await t.expect(LinkButton.count).eql(1);
await t.expect(LinkButton.count).eql(2);
await t.click(PlayButton);
await t.expect(YoutubeTitle.count).eql(1);
await t.click(OverlayCloseButton);
Expand Down

0 comments on commit cbe43a4

Please sign in to comment.