Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update validation error scenarios #4842

Merged
merged 8 commits into from Nov 29, 2022

Conversation

emilyrohrbough
Copy link
Member

@vercel
Copy link

vercel bot commented Nov 7, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cypress-documentation ✅ Ready (Inspect) Visit Preview Nov 29, 2022 at 3:01PM (UTC)

content/api/commands/session.md Outdated Show resolved Hide resolved
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
@@ -396,13 +404,6 @@ function validate() {
cy.visit('/account', { failOnStatusCode: false })
cy.url().should('match', /^/account/)
}

// Or just return false if the session is invalid
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not want an example for "the validate function returns a Promise that resolves to false or rejects" anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to do more comprehensive evaluation for the docs for the v12 release.

@emilyrohrbough emilyrohrbough merged commit a26c186 into master Nov 29, 2022
@emilyrohrbough emilyrohrbough deleted the fix-validation-err-handling-scenarios branch November 29, 2022 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants