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

spec filename is not updated when changing specs #30852

Open
mschile opened this issue Jan 9, 2025 · 3 comments · May be fixed by #30856
Open

spec filename is not updated when changing specs #30852

mschile opened this issue Jan 9, 2025 · 3 comments · May be fixed by #30856

Comments

@mschile
Copy link
Contributor

mschile commented Jan 9, 2025

Current behavior

When changing specs via the spec list, the spec filename is not updated:

The aliasing.cy.js spec was run but the filename shows assertions.cy.js instead.
Image

Desired behavior

The spec filename should be updated when changing specs.

Test code to reproduce

  1. run cypress in open mode
  2. select a spec to run
  3. from the spec list, select another spec to run and observe that the spec filename was not updated

Cypress Version

13.17.0

Node version

v22.12.0

Operating System

macOS 14.6.1

Debug Logs

No response

Other

No response

@alexsch01
Copy link
Contributor

alexsch01 commented Jan 9, 2025

hmm i dont see this behavior in v13.16.0 - Windows 10
i didnt use the cypress-test-tiny example though

@MikeMcC399
Copy link
Contributor

@alexsch01

hmm i dont see this behavior in v13.16.0 - Windows 10 i didnt use the cypress-test-tiny example though

Agreed: It's a regression in Cypress v13.17.0, and it is not reproducible in Cypress v13.16.0 or v13.16.1.

@jennifer-shehane
Copy link
Member

We tracked it down to an inadvertent change in this PR: #30764

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants