-
Notifications
You must be signed in to change notification settings - Fork 85
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(button): typescript refactor #6180
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b980489:
|
Passing run #16881 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
); | ||
|
||
if (booleanState === true) { | ||
buttonDataComponent() | ||
.children() | ||
.children() | ||
.should("have.value", cssValue, "wrap"); | ||
.should("have.css", "text-wrap", cssValue); |
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.
same values in if
and else
blocks :)
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.
and tests failed
26a8624
to
0cec508
Compare
9f348f4
to
b980489
Compare
🎉 This PR is included in version 119.6.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Proposed behaviour
button.cy.js
tobutton.cy.tsx
file in./cypress/components/button/
folder.Current behaviour
Button
tests are in js not ts.Checklist
d.ts
file added or updated if requiredQA
Additional context
Testing instructions
npx cypress open --component
to check if thebutton.cy.tsx
file passednpx cypress run --component
to check none of the other*.cy.tsx
files have regressed