Skip to content

Commit

Permalink
docs: fix incorrect references in cypress docs (#932)
Browse files Browse the repository at this point in the history
* 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 <info@balazsorban.com>
Co-authored-by: Vladimir Evdokimov <evdokimov.vladimir@gmail.com>
  • Loading branch information
3 people committed Dec 9, 2020
1 parent 19f2664 commit be159b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions www/docs/contributors.md
Expand Up @@ -12,6 +12,7 @@ title: Contributors
* <a href="https://github.com/geraldnolan">Gerald Nolan</a>
* <a href="https://github.com/lluia">Lluis Agusti</a>
* <a href="https://github.com/JeffersonBledsoe">Jefferson Bledsoe</a>
* <a href="https://github.com/balazsorban44">Balázs Orbán</a>

_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._

Expand Down
7 changes: 5 additions & 2 deletions www/docs/tutorials/testing-with-cypress.md
Expand Up @@ -36,7 +36,7 @@ Second, a cypress file for environment variables. These can be defined in `cypre
{
"GOOGLE_USER": "username@company.com",
"GOOGLE_PW": "password",
"COOKIE_NAME": "__Secure-next-auth.session-token",
"COOKIE_NAME": "next-auth.session-token",
"SITE_NAME": "http://localhost:3000"
}
```
Expand Down Expand Up @@ -111,8 +111,11 @@ describe('Login page', () => {
})

Cypress.Cookies.defaults({
whitelist: cookieName,
preserve: cookieName,
})

// remove the two lines below if you need to stay logged in
// for your remaining tests
cy.visit('/api/auth/signout')
cy.get('form').submit()
}
Expand Down

0 comments on commit be159b1

Please sign in to comment.