diff --git a/tests/e2e/tests/regression/workbench/default-scripts-area.e2e.ts b/tests/e2e/tests/regression/workbench/default-scripts-area.e2e.ts index 8fe098785d..b2a4ce05e5 100644 --- a/tests/e2e/tests/regression/workbench/default-scripts-area.e2e.ts +++ b/tests/e2e/tests/regression/workbench/default-scripts-area.e2e.ts @@ -56,6 +56,7 @@ test test .meta({ rte: rte.standalone }) ('Verify that user can see saved article in Enablement area when he leaves Workbench page and goes back again', async t => { + await t.expect(workbenchPage.internalLinkWorkingWithHashes.visible).ok('The working with hachs link is visible', { timeout: 5000 }); //Open Working with Hashes section await t.click(workbenchPage.internalLinkWorkingWithHashes); //Check the button from Hash page is visible @@ -109,6 +110,7 @@ test 'Learn More' ] //Open Working with Hashes section and click on the on page counter + await t.expect(workbenchPage.internalLinkWorkingWithHashes.visible).ok('The working with hachs link is visible', { timeout: 5000 }); await t.click(workbenchPage.internalLinkWorkingWithHashes); await t.click(workbenchPage.enablementAreaPagination); //Verify the siblings menu @@ -123,6 +125,7 @@ test .meta({ rte: rte.standalone }) ('Verify that user can see the quick navigation section to navigate between siblings under the scrolling content', async t => { //Open Working with Hashes section + await t.expect(workbenchPage.internalLinkWorkingWithHashes.visible).ok('The working with hachs link is visible', { timeout: 5000 }); await t.click(workbenchPage.internalLinkWorkingWithHashes); //Verify the quick navigation section await t.expect(workbenchPage.enablementAreaPagination.visible).ok('The quick navigation section is displayed'); diff --git a/tests/e2e/tests/regression/workbench/scripting-area.e2e.ts b/tests/e2e/tests/regression/workbench/scripting-area.e2e.ts index f72d5b1ae0..9a9cdc51d6 100644 --- a/tests/e2e/tests/regression/workbench/scripting-area.e2e.ts +++ b/tests/e2e/tests/regression/workbench/scripting-area.e2e.ts @@ -75,6 +75,7 @@ test }) ('Verify that user can see an indication (green triangle) of commands from the left side of the line numbers', async t => { //Open Working with Hashes page + await t.expect(workbenchPage.internalLinkWorkingWithHashes.visible).ok('The working with hachs link is visible', { timeout: 5000 }); await t.click(workbenchPage.internalLinkWorkingWithHashes); //Put Create Hash commands into Editing area await t.click(workbenchPage.preselectHashCreate);