-
Notifications
You must be signed in to change notification settings - Fork 1.1k
test(cypress) add tests for gauge and bar gauge #10894
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(cypress) add tests for gauge and bar gauge #10894
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10894 +/- ##
=======================================
Coverage 60.76% 60.76%
=======================================
Files 4533 4533
Lines 122129 122129
Branches 20461 20461
=======================================
Hits 74207 74207
Misses 42689 42689
Partials 5233 5233
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cypress/utils/commands.explore.js
Outdated
| .within(() => { | ||
| cy.getElementByTestId('exploreChartTypeSelector').should('be.visible').click(); | ||
| }); | ||
| cy.getElementByTestId(`exploreChartTypeSelector-${options.type}`).should('be.visible').click(); |
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.
Do you need to change all places that uses createVisualizationWithQuery to pass options.type? Like Pie and Area. Why not just use chartType as before?
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.
yes, pie and area is already updated
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
9b53fbd to
de92f5b
Compare
…0894) * add tests for gauge and bar gauge Signed-off-by: Qxisylolo <[email protected]> --------- Signed-off-by: Qxisylolo <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: Yulong Ruan <[email protected]>
Description
Issues Resolved
Screenshot
Testing the changes
Changelog
Check List
yarn test:jestyarn test:jest_integration