From fa6f96d6fa6b6450d73454a575bef875fe4e8a90 Mon Sep 17 00:00:00 2001 From: Nikolaj Geisle Date: Tue, 5 Oct 2021 11:37:18 +0200 Subject: [PATCH] stability wait Signed-off-by: Nikolaj Geisle --- .../cypress/integration/HelpPanel/systemInformation.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Tests.AcceptanceTest/cypress/integration/HelpPanel/systemInformation.ts b/src/Umbraco.Tests.AcceptanceTest/cypress/integration/HelpPanel/systemInformation.ts index 6575654c0c..4716c1337b 100644 --- a/src/Umbraco.Tests.AcceptanceTest/cypress/integration/HelpPanel/systemInformation.ts +++ b/src/Umbraco.Tests.AcceptanceTest/cypress/integration/HelpPanel/systemInformation.ts @@ -1,7 +1,8 @@ /// function openSystemInformation(){ - cy.get('[data-element="global-help"]').click(); + //We have to wait for page to load, if the site is slow + cy.get('[data-element="global-help"]').should('be.visible', {timeout:10000}).click(); cy.get('.umb-help-list-item').last().should('be.visible').click(); cy.get('.umb-drawer-content').scrollTo('bottom', {ensureScrollable : false}); } @@ -18,7 +19,7 @@ context('System Information', () => { cy.get('.table').find('tr').should('have.length', 10); }); - + context('Language switching', () => { afterEach(() => {