-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix(unify): Remove 'Reconfigure' dropdown from Testing Type chooser #21063
fix(unify): Remove 'Reconfigure' dropdown from Testing Type chooser #21063
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ FlakinessThis comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
@davidmunechika It looks like this percy screenshot is still showing a dropdown arrow on the E2E side. https://percy.io/cypress-io/cypress/builds/17329531/changed/972768022?browser=chrome&browser_ids=23&subcategories=unreviewed%2Cchanges_requested&viewLayout=side-by-side&viewMode=new&width=800&widths=800%2C1000 |
This is maybe out of scope for this change, but I was playing around with the state of things now and the drop down we get when we're selecting a testing type from the app is a little weird. If you click the drop down you get an option to select 'Choose a Browser' However, if you click that, it doesn't take you to the "Choose a Browser" screen, it launches the testing type you selected with the same browser. |
@ryanthemanuel Hmm... should I just remove the dropdown altogether? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can greatly simplify this, now we do not have a list, but a single item (effectively a boolean... if (!props.isRunning) { /* thing */ }
.
@lachlan Don't we still want the dropdown to be controllable by the |
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
@davidmunechika I can't find the mocks in Figma for this dropdown, and seeing that it doesn't work as intended I say we remove it from the TestingTypeSwitcher. Would be good to sync with @ryanjwilke, but for this PR we can remove the menu and you can create a followup issue for adding back in the |
@davidmunechika I see you raised this internally and clarified the goal. Is this PR ready for re-review? |
@lmiller1990 Yes, sorry- was waiting for the build to finish and forgot to re-request reviewers |
@davidmunechika We can safely remove the "Choose a browser" action and the entire menu in this PR. That should be fine. This is not something we'll need to add back in. |
@davidmunechika can you create an issue for cleaning up the backend code related to |
@ZachJW34 Created one here: https://cypress-io.atlassian.net/browse/UNIFY-1593 |
…e-config * 10.0-release: chore: Move component-index generation to scaffold-config package (#21090) fix: label text should be clickable to toggle snapshot highlight (#21122) feat: add next preset to webpack-dev-server-fresh (#21069) chore: add dev-servers as deps to server to be included in the binary (#21142) fix: do not highlight preExtension if selected option is renameFolder (#21121) fix(unify): Remove 'Reconfigure' dropdown from Testing Type chooser (#21063) feat(unify): launchpad header breadcrumbs and reusable tooltip component (#20648) test: add windows-test-kitchensink job (#20847) fix: aut centering and height calculation (#21019) chore: fix tests that fail on windows (#21055) fix: running a new test after already having run tests (#21087) fix: ct project setup framework keys for next and nuxt (#21116) fix: remove MountReturn from scaffolded ct support file (#21119) fix: do not scaffold fixtures if folder exist (#21078) fix: revert "fix: types for Cypress.Commands.add (#20376)" (#21104) chore: Update Chrome (stable) to 100.0.4896.127 and Chrome (beta) to 101.0.4951.34 (#21083) fix: types for Cypress.Commands.add (#20376) (#20377)
User facing changelog
Remove the ‘Reconfigure’ dropdown from testing type chooser.
Update: this also removes the 'Choose a Browser' dropdown from testing type chooser since the functionality of this doesn't work as intended.
Additional details
Previous version:
Updated version:
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?