Fixes to lang selection now apply immediately

Moved lang list to separate file
Cleaned up some lang workarounds
This commit is contained in:
Jamie Curnow
2021-07-27 11:06:31 +10:00
parent d2554c6cb2
commit ae00ab09e4
18 changed files with 137 additions and 117 deletions

View File

@@ -13,7 +13,7 @@ describe('UI Setup and Login', () => {
cy.get('input[name="nickname"]').type('Cypress');
cy.get('input[name="email"]').type('cypress@example.com');
cy.get('input[name="password"]').type('changeme');
cy.get('form button:first').click();
cy.get('form button:last').click();
cy.get('.navbar-nav .avatar').should('be.visible');
// logout:
cy.clearLocalStorage();
@@ -23,7 +23,7 @@ describe('UI Setup and Login', () => {
cy.visit('/');
cy.get('input[name="email"]').type('cypress@example.com');
cy.get('input[name="password"]').type('changeme');
cy.get('form button:first').click();
cy.get('form button:last').click();
cy.get('.navbar-nav .avatar').should('be.visible');
// logout:
cy.clearLocalStorage();