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 Feb 1, 2021
1 parent 6e2fc11 commit 025f33a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions www/docs/tutorials/testing-with-cypress.md
Original file line number Diff line number Diff line change
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 025f33a

Please sign in to comment.