Fix cypress oauth test one more time

This commit is contained in:
Jamie Curnow committed 2024-11-13 14:21:16 +10:00
1 parent 8434b9fce4
commit 4e6d65645f
2 files changed
+11 -4

No files matched your search

+3 -2
View File
@@ -14,8 +14,9 @@ describe('UI Setup and Login', () => {
cy.get('input[name="password"]').type('changeme');
cy.get('form button:last').click();
// To fix after chakra change:
// cy.get('.navbar-nav .avatar').should('be.visible');
cy.get('#root p.chakra-text')
.first()
.should('have.text', 'Nginx Proxy Manager');
// logout:
cy.clearLocalStorage();