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
chore: Dashboard cypress refactor #11049
chore: Dashboard cypress refactor #11049
Conversation
a0578a9
to
cbec871
Compare
Codecov Report
@@ Coverage Diff @@
## master #11049 +/- ##
==========================================
+ Coverage 61.36% 61.69% +0.33%
==========================================
Files 383 816 +433
Lines 24188 38589 +14401
Branches 0 3650 +3650
==========================================
+ Hits 14842 23806 +8964
- Misses 9346 14603 +5257
- Partials 0 180 +180
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
393763f
to
b484572
Compare
b484572
to
1117efe
Compare
superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts
Show resolved
Hide resolved
superset-frontend/cypress-base/cypress/integration/dashboard/edit_mode.test.js
Show resolved
Hide resolved
superset-frontend/cypress-base/cypress/integration/dashboard/edit_mode.test.js
Show resolved
Hide resolved
superset-frontend/cypress-base/cypress/integration/dashboard/edit_mode.test.js
Show resolved
Hide resolved
superset-frontend/cypress-base/cypress/integration/dashboard/edit_mode.test.js
Show resolved
Hide resolved
superset-frontend/cypress-base/cypress/integration/dashboard/markdown.test.ts
Show resolved
Hide resolved
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.
Left lots of little comments/concerns questions. The real fix needed here is in reference to some icon names that don't look right. Otherwise, the big theme around the questions/suggestions is about adding more specific/explicit data-test attributes, in more targeted places, so we don't have to rely on traversing elements with find
/children
/siblings
/last
/etc, and we don't have problems caused by generic selectors, e.g. if more than one cancel-button
is on the screen at once, or if we're in the wrong modal but there's still a cancel-button
viible. Kind of a hypothetical problem, but I think you get the intent.
SUMMARY
Cypress selectors instead of class selectors in dashboard.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION