We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057aea5 commit 70a5c7eCopy full SHA for 70a5c7e
cypress/e2e/auth.cy.js
@@ -21,7 +21,7 @@ describe('Check protected routes', () => {
21
protectedRoutes.forEach((testRoute) => {
22
it(`Route ${testRoute} needs authentication`, () => {
23
cy.visit(testRoute)
24
- cy.get('body').should('contain', 'Sign in with openstreetmap')
+ cy.get('body').should('contain', 'Sign in with OSM Teams')
25
})
26
27
cypress/support/commands/login.js
@@ -5,7 +5,7 @@ Cypress.Commands.add('login', (userObj) => {
5
cy.wrap(null)
6
.then(() => {
7
return getSessionToken(
8
- { ...userObj, sub: userObj.id },
+ { ...userObj, userId: userObj.id },
9
Cypress.env('NEXTAUTH_SECRET')
10
)
11
0 commit comments