Skip to content

Commit be159b1

Browse files
haldunanilbalazsorban44vladimir-e
authored
docs: fix incorrect references in cypress docs (#932)
* chore: use stale label, instead of wontfix * chore: add link to issue explaining stalebot * chore: fix typo in stalebot comment * chore: run build GitHub Action on canary also * chore: run build GitHub Actions on canary as well * chore: add reproduction section to questions * feat(provider): Add Azure Active Directory B2C (#809) * add provider: Microsoft * documentation * support no tenant setup * fix code style * chore: rename Microsoft provider to AzureADB2C * chore: alphabetical order in providers/index * Revert "feat(provider): Add Azure Active Directory B2C (#809)" (#919) This reverts commit 6e6a24a. * chore: add myself to the contributors list 🙈 * docs: fix incorrect references in cypress docs * chore: add additional docs clarification Co-authored-by: Balázs Orbán <[email protected]> Co-authored-by: Vladimir Evdokimov <[email protected]>
1 parent 19f2664 commit be159b1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

www/docs/contributors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ title: Contributors
1212
* <a href="https://github.com/geraldnolan">Gerald Nolan</a>
1313
* <a href="https://github.com/lluia">Lluis Agusti</a>
1414
* <a href="https://github.com/JeffersonBledsoe">Jefferson Bledsoe</a>
15+
* <a href="https://github.com/balazsorban44">Balázs Orbán</a>
1516

1617
_Special thanks to Lori Karikari for creating most of the providers, to Nico Domino for creating this site, to Fredrik Pettersen for creating the Prisma adapter, to Gerald Nolan for adding support for Sign in with Apple, to Lluis Agusti for work to add TypeScript definitions and to Jefferson Bledsoe for working on automating testing._
1718

www/docs/tutorials/testing-with-cypress.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Second, a cypress file for environment variables. These can be defined in `cypre
3636
{
3737
"GOOGLE_USER": "[email protected]",
3838
"GOOGLE_PW": "password",
39-
"COOKIE_NAME": "__Secure-next-auth.session-token",
39+
"COOKIE_NAME": "next-auth.session-token",
4040
"SITE_NAME": "http://localhost:3000"
4141
}
4242
```
@@ -111,8 +111,11 @@ describe('Login page', () => {
111111
})
112112

113113
Cypress.Cookies.defaults({
114-
whitelist: cookieName,
114+
preserve: cookieName,
115115
})
116+
117+
// remove the two lines below if you need to stay logged in
118+
// for your remaining tests
116119
cy.visit('/api/auth/signout')
117120
cy.get('form').submit()
118121
}

0 commit comments

Comments
 (0)