cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.02k stars 3.19k forks source link

Default spec pattern could be easier to update. #21787

Closed sync-by-unito[bot] closed 1 year ago

sync-by-unito[bot] commented 2 years ago

It's not obvious where a user should update the spec pattern since we don't provide the default value in the generated cypress configuration file for users. And when incorrectly added, the launchpad show the error but the launch browser instance just shows a blank page which is unexpected.

https://user-images.githubusercontent.com/1271364/171226285-f45f75f0-437e-463d-8e0f-968d767f1239.mov

https://cypressio.slack.com/archives/C02MYBT9Y5S/p1649090315885569

Another reporter:

Usability note: Consider adding the default spec pattern to cypress.config.js (if not set) when hitting "Update Spec Pattern" right now it just opens the config file but there isn't really much context around where and how I should update my spec pattern. Spec pattern text also doesn't update in the test runner when I do update it without a refresh, however the changes do happen.

image (12)

https://cypressio.slack.com/archives/C02MYBT9Y5S/p1649090323136209

┆Issue is synchronized with this Jira Task by Unito ┆Attachments: image (12).png | Screen Recording 2022-04-04 at 11.35.58 AM.mov ┆author: Emily Rohrbough ┆epic: UI/UX Improvements ┆friendlyId: UNIFY-1453 ┆priority: Low ┆sprint: Backlog ┆taskType: Task

github-actions[bot] commented 1 year ago

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

cypress-app-bot commented 1 year ago

This issue has been closed due to inactivity.