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

Upgrading 7.5.0 to 7.6.0 gives warning about saving state for non-allowed keys #17095

Closed
saschwarz opened this issue Jun 24, 2021 · 5 comments · Fixed by #17093
Closed

Upgrading 7.5.0 to 7.6.0 gives warning about saving state for non-allowed keys #17095

saschwarz opened this issue Jun 24, 2021 · 5 comments · Fixed by #17093
Labels
type: regression A bug that didn't appear until a specific Cy version release v7.6.0 🐛 Issue present since 7.6.0

Comments

@saschwarz
Copy link

saschwarz commented Jun 24, 2021

Test code to reproduce

npm install -g cypress@7.5.0
npx cypress open

npm install -g cypress@7.6.0

CYPRESS_baseUrl=http://localhost:8080 npx --yes cypress open --project loan-servicing-ui/
It looks like this is your first time using Cypress: 7.6.0

✔  Verified Cypress! /Users/saschwarz/Library/Caches/Cypress/7.6.0/Cypress.app

Opening Cypress...
WARNING: attempted to save state for non-allowed key(s): showedOnBoardingModal. All keys must be allowed in server/lib/saved_state.js
WARNING: attempted to save state for non-allowed key(s): showedOnBoardingModal. All keys must be allowed in server/lib/saved_state.js
@jennifer-shehane
Copy link
Member

Yeah, we saw this issue before release and thought that we had resolved it, but I suppose not.

This warning can be safely ignored. It will not affect your run in any way. We'll try to get a fix out for the next release.

@jennifer-shehane jennifer-shehane added v7.6.0 🐛 Issue present since 7.6.0 type: regression A bug that didn't appear until a specific Cy version release stage: work in progress labels Jun 24, 2021
@saschwarz
Copy link
Author

saschwarz commented Jun 24, 2021

Don't know if this helps: the cypress test runner app on first launch of 7.6 also gave a notice that it created example files (but didn't actually).

@jennifer-shehane
Copy link
Member

@saschwarz This is not related to the earlier warning, but is likely unexpected behavior introduced with our new scaffolding changes. Do you have any more info to provide about your project when the banner showed about example specs? Your cypress.json config or project directory structure? Can you reproduce?

@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review and removed stage: work in progress labels Jun 25, 2021
@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Jun 30, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 30, 2021

The code for this is done in cypress-io/cypress#17093, 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 Jul 7, 2021

Released in 7.7.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v7.7.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jul 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: regression A bug that didn't appear until a specific Cy version release v7.6.0 🐛 Issue present since 7.6.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants