From 740c2e4b53d4aa5590e6c0380bf937e1ca0a8b2a Mon Sep 17 00:00:00 2001 From: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com> Date: Thu, 4 Nov 2021 14:07:59 +0100 Subject: [PATCH] Update systemInformation.ts (#11572) Co-authored-by: Nikolaj Geisle --- .../cypress/integration/HelpPanel/systemInformation.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/Umbraco.Tests.AcceptanceTest/cypress/integration/HelpPanel/systemInformation.ts b/tests/Umbraco.Tests.AcceptanceTest/cypress/integration/HelpPanel/systemInformation.ts index 2cb5ce70c8..2ff38188d1 100644 --- a/tests/Umbraco.Tests.AcceptanceTest/cypress/integration/HelpPanel/systemInformation.ts +++ b/tests/Umbraco.Tests.AcceptanceTest/cypress/integration/HelpPanel/systemInformation.ts @@ -32,10 +32,7 @@ context('System Information', () => { cy.get('[alias="editUser"]').click(); cy.get('[name="culture"]').select('string:da-DK', { force: true}); cy.umbracoButtonByLabelKey('buttons_save').click({force: true}); - //Refresh site to display new language - cy.reload(); - cy.get('.umb-tour-step', { timeout: 60000 }).should('be.visible'); // We now due to the api calls this will be shown, but slow computers can take a while - cy.get('.umb-tour-step__close').click(); + openSystemInformation(); //Assert cy.contains('Current Culture').parent().should('contain', 'da-DK');