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

Clicking on "run only this test" overwrites entire test file with "undefined" #131

Closed
IvanBioRender opened this issue Dec 3, 2019 · 1 comment · Fixed by #533
Closed
Labels

Comments

@IvanBioRender
Copy link

After clicking on "Run only this test", my entire .spec.ts file is overwritten by undefined:

overwritten

Cypress logs:

[16375:1203/110944.313207:INFO:CONSOLE(54220)] "ui title", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54220)
[16375:1203/110944.313576:INFO:CONSOLE(54220)] "ui title", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54220)
[16375:1203/110944.313660:INFO:CONSOLE(54222)] "found matching test", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54222)
[16375:1203/110944.343448:INFO:CONSOLE(54220)] "ui title", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54220)
[16375:1203/110944.343520:INFO:CONSOLE(54222)] "found matching test", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54222)
[16375:1203/110944.346556:INFO:CONSOLE(54220)] "ui title", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54220)
[16375:1203/110944.346625:INFO:CONSOLE(54222)] "found matching test", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54222)
[16375:1203/110944.348359:INFO:CONSOLE(54220)] "ui title", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54220)
[16375:1203/110944.348426:INFO:CONSOLE(54222)] "found matching test", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54222)
[16375:1203/110944.349662:INFO:CONSOLE(54220)] "ui title", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54220)
[16375:1203/110944.349715:INFO:CONSOLE(54222)] "found matching test", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54222)
[16375:1203/110944.350877:INFO:CONSOLE(54220)] "ui title", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54220)
[16375:1203/110944.350928:INFO:CONSOLE(54222)] "found matching test", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54222)
[16375:1203/110944.352115:INFO:CONSOLE(54220)] "ui title", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54220)
[16375:1203/110944.352167:INFO:CONSOLE(54222)] "found matching test", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54222)
[16375:1203/110955.032083:INFO:CONSOLE(54165)] "onClickOnly", source: http://localhost:3001/__cypress/tests?p=cypress/support/index.ts-632 (54165)
onlyTests in spec [...]/cypress/integration/teams.spec.ts

Good thing I didn't lose any work this time, but maybe a warning that this may not be stable could be good.

Copy link

github-actions bot commented May 9, 2024

🎉 This issue has been resolved in version 1.2.19 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

1 participant