diff --git a/src/test/demo-sample.spec.ts b/src/test/demo-sample.spec.ts index b8a3926e0..a7a9b5910 100644 --- a/src/test/demo-sample.spec.ts +++ b/src/test/demo-sample.spec.ts @@ -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"]); }); diff --git a/src/test/home-page.spec.ts b/src/test/home-page.spec.ts index b66e29779..e817eaeca 100644 --- a/src/test/home-page.spec.ts +++ b/src/test/home-page.spec.ts @@ -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);