Added more stability to test

Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
This commit is contained in:
Zeegaan
2021-10-05 09:39:07 +02:00
committed by Nikolaj Geisle
parent 8a6d028ddf
commit 44f14c9c19

View File

@@ -35,6 +35,7 @@ context('System Information', () => {
//Assert
cy.contains('Current Culture').parent().should('contain', 'da-DK');
cy.contains('Current UI Culture').parent().should('contain', 'da-DK');
cy.get('.umb-button__content').last().click();
cy.reload();
//Clean
cy.get('[data-element="global-user"]').click();