-
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
test: ct audit updates #19464
test: ct audit updates #19464
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
This 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 |
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.
The choice mashing together links and button is not clearly justifued. but that is a choice that was made along time ago...
Apart from the 2 questions I have LGTM
{{ t('createSpec.viewSpecPatternButton') }} | ||
</Button> | ||
</router-link> | ||
<Button |
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.
could we simply have added custom
to the router link?
https://next.router.vuejs.org/api/#custom
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.
Ooh possibly, I didn't know about custom
. I still like the API of our button component accepting to
& href
- it mirrors Vuetify's v-btn
API. I'm open to revisit this soon though, there's currently only this one case where we are using it so a refactor would be low-effort.
* 10.0-release: chore: remove unused components (#19618) fix: dev-server types (#19576) test: ct audit updates (#19464) chore: fix temporarily skipped specs on 10.0-release (#19611) fix: remove gremlins characters from cypress types freeze ipc fix test test(launchpad): add e2e tests for Project View - Global mode (#19267) test(unify): Left Nav E2E Additional Tests (#19428)
* 10.0-release: chore: remove unused components (#19618) fix: dev-server types (#19576) test: ct audit updates (#19464) chore: fix temporarily skipped specs on 10.0-release (#19611) fix: remove gremlins characters from cypress types freeze ipc fix test test(launchpad): add e2e tests for Project View - Global mode (#19267) test(unify): Left Nav E2E Additional Tests (#19428) ci: publish test artifacts for frontend-shared & app too (#19592) fix: union type to work in graphql tests (#19447)
* 10.0-release: (28 commits) fix: flake in shelljs scripts during postinstall (#19678) fix: various lifecycle issues, followup to #19572 (#19683) feat: error screens in app when cloud runs are failing (#18980) fix: open browser at correct time during lifecycle (#19572) chore: remove unused types (#19621) fix: fileparts processing and cleanup (#19660) chore: change integration->e2e throughout code base (#19345) fix(unify): correct location of snapshot pinning UI in runner (#19640) fix: runnable header open in IDE and filename (#19630) feat(unify): allow prompts to auto-open after set time (#19571) test(unify): Additional navigation tests for log in workflows (#19574) fix(unify): minor UI bugs in the reporter (#19445) fix: surface openSSL unhandled rejection errors that occur within plugin code (#19598) feat: add spec watcher to data-context (#19583) chore: remove unused components (#19618) fix: dev-server types (#19576) test: ct audit updates (#19464) chore: fix temporarily skipped specs on 10.0-release (#19611) fix: remove gremlins characters from cypress types freeze ipc ...
Closes: https://cypress-io.atlassian.net/browse/UNIFY-867
User facing changelog
Additional details
This PR adds a
to
prop to our button that works like ourhref
prop - when used, it causes the button to render a Router Link. This allows us to avoid wrapping a the Button in a Router Link, which creates invalid mark up of abutton
element inside ana
element.This PR also adds a bit of testing to the NoSpecsPage, and adds ticket number to TODO comments. The tailwind class changes are just changing the order due to the files formatting automatically when saved.
How to test
Run
NoSpecsPage.spec.tsx
and validate the that markup around the View Spec pattern button is a link, not a link wrapping a button. Or remove/rename the specs in a project so that you get the same page in the App.PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?