-
Notifications
You must be signed in to change notification settings - Fork 927
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
[Discover 2.0 Testing] Create View List of Saved Queries Test (Test-Id 124: View list of Saved query) #9166
[Discover 2.0 Testing] Create View List of Saved Queries Test (Test-Id 124: View list of Saved query) #9166
Conversation
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
...rch-dashboards/opensearch-dashboards/apps/query_enhancements/field_display_filtering.spec.js
Show resolved
Hide resolved
...re-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/saved_queries.spec.js
Outdated
Show resolved
Hide resolved
...re-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/saved_queries.spec.js
Outdated
Show resolved
Hide resolved
...re-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/saved_queries.spec.js
Outdated
Show resolved
Hide resolved
...search-dashboards/opensearch-dashboards/apps/query_enhancements/saved_queries_old_ui.spec.js
Outdated
Show resolved
Hide resolved
...re-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/saved_queries.spec.js
Outdated
Show resolved
Hide resolved
...e-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/utils/saved_queries.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Argus Li <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9166 +/- ##
=======================================
Coverage 61.01% 61.01%
=======================================
Files 3813 3813
Lines 91401 91401
Branches 14443 14443
=======================================
Hits 55770 55770
Misses 32068 32068
Partials 3563 3563
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Argus Li <[email protected]>
...e-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/utils/saved_queries.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
… old ui and new ui commands Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
ciGroup 10 failure is a known issue and @angle943 is working on it |
…d 124: View list of Saved query) (opensearch-project#9166) * add spec for old ui Signed-off-by: Argus Li <[email protected]> * Add comment about cleaning up saved queries Signed-off-by: Argus Li <[email protected]> * Add data-test-subj for save query new ui Signed-off-by: Argus Li <[email protected]> * Add data-test-subj for save query button for new ui Signed-off-by: Argus Li <[email protected]> * Add data-test-subj for open query button in query management popover Signed-off-by: Argus Li <[email protected]> * Add new ui spec to test list saved queries Signed-off-by: Argus Li <[email protected]> * Fix DataSource url Signed-off-by: Argus Li <[email protected]> * Changeset file for PR opensearch-project#9166 created/updated * Address Justin's comments. Signed-off-by: Argus Li <[email protected]> * Remove final force. Signed-off-by: Argus Li <[email protected]> * Fix final force. Signed-off-by: Argus Li <[email protected]> * Move utils to Suchit's suggested location, fix comments Signed-off-by: Argus Li <[email protected]> * Rename specs, change cypress workflow to use new save query ui, merge old ui and new ui commands Signed-off-by: Argus Li <[email protected]> * fix import Signed-off-by: Argus Li <[email protected]> --------- Signed-off-by: Argus Li <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Description
Adds a Cypress test suite for Saved Queries Test Scope.
Issues Resolved
Closes #8975, #8977, #8978, #8979, #8980
Screenshot
newUICompressed.mp4
oldUICompressed.mp4
Testing the changes
With OSD running, run
yarn run cypress open
. In E2E specs, you will see 2 new test specssaved_queries.spec.js
andsaved_queries_old_ui.spec.js
. Runsaved_queries.spec.js
ifdata.savedQueriesNewUI.enabled: true
in the OSD config, else runsaved_queries_old_ui.spec.js
.Changelog