Update systemInformation.ts (#11572)

Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
This commit is contained in:
Nikolaj Geisle
2021-11-04 14:07:59 +01:00
committed by GitHub
parent b8616426ee
commit 740c2e4b53

View File

@@ -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');