diff --git a/cypress/e2e/auth.cy.js b/cypress/e2e/auth.cy.js index 3b1cf6cb..57290eaf 100644 --- a/cypress/e2e/auth.cy.js +++ b/cypress/e2e/auth.cy.js @@ -21,7 +21,7 @@ describe('Check protected routes', () => { protectedRoutes.forEach((testRoute) => { it(`Route ${testRoute} needs authentication`, () => { cy.visit(testRoute) - cy.get('body').should('contain', 'Sign in with OSM Teams') + cy.get('body').should('contain', 'Sign in') }) }) diff --git a/cypress/e2e/organizations/permissions.cy.js b/cypress/e2e/organizations/permissions.cy.js index dca3237a..ec3f5d1f 100644 --- a/cypress/e2e/organizations/permissions.cy.js +++ b/cypress/e2e/organizations/permissions.cy.js @@ -67,7 +67,7 @@ describe('Organizations page: Permissions', () => { it('Org is private', () => { // Unauthenticated user cannot access cy.visit('/organizations/1') - cy.get('body').should('contain', 'Sign in with OSM Teams') + cy.get('body').should('contain', 'Sign in') // Non-member cannot access cy.login(nonMember) @@ -142,7 +142,7 @@ describe('Organizations page: Permissions', () => { // Unauthenticated can view org cy.visit('/organizations/2') - cy.get('body').should('contain', 'Sign in with OSM Teams') + cy.get('body').should('contain', 'Sign in') // Non-member can access, but cannot view private teams cy.login(nonMember)