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

Runner shows white page when switching from Settings to Test #9151

Closed
bvanderneut opened this issue Nov 10, 2020 · 4 comments · Fixed by #9160
Closed

Runner shows white page when switching from Settings to Test #9151

bvanderneut opened this issue Nov 10, 2020 · 4 comments · Fixed by #9160
Assignees
Labels

Comments

@bvanderneut
Copy link

bvanderneut commented Nov 10, 2020

Tested on version 5.6.0
Windows

How to reproduce:

  1. Open the runner
  2. Click on an test so it starts to run
  3. Click to the settings options
  4. Click back to to Tests
  5. Now you get an white page and need to close the runner
@dzschille
Copy link

Same here with v5.6.0 running on Ubuntu. That's the console output when the error happens:

[82733:1110/125144.039800:INFO:CONSOLE(45293)] "TypeError: Cannot read property 'specType' of undefined", source: file:///home/user/.cache/Cypress/5.6.0/Cypress/resources/app/packages/desktop-gui/dist/app.js (45293)
[82733:1110/125144.039902:INFO:CONSOLE(45343)] "Uncaught TypeError: Cannot read property 'specType' of undefined", source: file:///home/user/.cache/Cypress/5.6.0/Cypress/resources/app/packages/desktop-gui/dist/app.js (45343)

@bahmutov
Copy link
Contributor

Thank you @bvanderneut I can recreate from the steps. Running from develop gives the stack

Screen Shot 2020-11-10 at 9 30 49 AM

The this.selectedSpec is the problem here

Screen Shot 2020-11-10 at 9 33 14 AM

By clicking on "Settings" then back to "Tests" tab we recreate the specs list component, which resets the property.

@bahmutov bahmutov self-assigned this Nov 10, 2020
@cypress-bot cypress-bot bot added the stage: work in progress There is an open PR for this issue [WIP] label Nov 10, 2020
@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review and removed stage: work in progress There is an open PR for this issue [WIP] labels Nov 10, 2020
@cypress-bot cypress-bot bot added the stage: pending release There is a closed PR for this issue label Nov 14, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 14, 2020

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

@cypress-bot cypress-bot bot removed the stage: needs review The PR code is done & tested, needs review label Nov 14, 2020
@jennifer-shehane jennifer-shehane added the v5.6.0 🐛 Issue present since 5.6.0 label Nov 23, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 24, 2020

Released in 6.0.0.

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

@cypress-bot cypress-bot bot removed the stage: pending release There is a closed PR for this issue label Nov 24, 2020
@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants