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

cy.its() should turn off its default retry behavior when assertions negate existence #1531

Closed
brian-mann opened this issue Apr 3, 2018 · 2 comments · Fixed by #3226
Closed
Assignees
Labels
type: unexpected behavior User expected result, but got another

Comments

@brian-mann
Copy link
Member

This fails and it should pass.

// ensure the token does not exist in local storage
cy.window().its('localStorage.jwt').should('not.exist')

screen shot 2018-04-03 at 11 30 04 am

@brian-mann brian-mann added the type: unexpected behavior User expected result, but got another label Apr 3, 2018
@brian-mann brian-mann self-assigned this Apr 3, 2018
@jennifer-shehane jennifer-shehane added the stage: needs review The PR code is done & tested, needs review label Jan 29, 2019
@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Mar 15, 2019
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Mar 15, 2019

The code for this is done in cypress-io/cypress#3226, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Mar 15, 2019

Released in 3.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: unexpected behavior User expected result, but got another
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants