-
Notifications
You must be signed in to change notification settings - Fork 14k
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: add native filter default value e2e #17398
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17398 +/- ##
==========================================
- Coverage 77.02% 76.91% -0.12%
==========================================
Files 1038 1039 +1
Lines 56021 56153 +132
Branches 7735 7785 +50
==========================================
+ Hits 43150 43189 +39
- Misses 12613 12706 +93
Partials 258 258
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
.find(nativeFilters.filtersPanel.filterName) | ||
.click() | ||
.type('country_name'); | ||
cy.get('.loading inline-centered css-101mkpk').should('not.exist'); |
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 this might need to be like the following instead? Also, I would avoid pointing to generated classes like this one if possible css-101mkpk
cy.get('.loading inline-centered css-101mkpk').should('not.exist'); | |
cy.get('.loading .inline-centered .css-101mkpk').should('not.exist'); |
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 also think it is not necessary to check the generated classes, remove that line
27f823e
to
be5e027
Compare
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.
LGTM!
* add native filter default value e2e test * fix lint * remove unnecessary check
SUMMARY
add native filter default value e2e test: User can check 'Filter has default value
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION