Try fixing flaky language test (#12281)

This commit is contained in:
Nikolaj Geisle
2022-04-22 09:26:12 +02:00
committed by GitHub
parent 5f168b59d5
commit fd8750f99a

View File

@@ -13,7 +13,8 @@ context('Languages', () => {
cy.umbracoEnsureLanguageCultureNotExists(culture);
cy.umbracoSection('settings');
cy.get('.umb-tree-root-link').contains('Settings')
cy.get('.umb-box-content').should('be.visible');
cy.get('li .umb-tree-root:contains("Settings")').should("be.visible");
// Enter language tree and create new language
cy.umbracoTreeItem('settings', ['Languages']).click();
cy.umbracoButtonByLabelKey('languages_addLanguage').click();