-
Notifications
You must be signed in to change notification settings - Fork 935
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
[TESTID-125,126,127,128,129] Saved Query Test Scope #9229
base: main
Are you sure you want to change the base?
[TESTID-125,126,127,128,129] Saved Query Test Scope #9229
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]>
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]>
… 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]>
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]>
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]>
…queries Signed-off-by: Argus Li <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9229 +/- ##
=======================================
Coverage 61.68% 61.68%
=======================================
Files 3816 3816
Lines 91693 91693
Branches 14516 14516
=======================================
+ Hits 56557 56559 +2
+ Misses 31510 31509 -1
+ Partials 3626 3625 -1
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]>
Signed-off-by: Argus Li <[email protected]>
...search_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_flyout.spec.js
Outdated
Show resolved
Hide resolved
...search_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_flyout.spec.js
Outdated
Show resolved
Hide resolved
...earch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_popover.spec.js
Outdated
Show resolved
Hide resolved
...earch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_popover.spec.js
Outdated
Show resolved
Hide resolved
...earch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_popover.spec.js
Outdated
Show resolved
Hide resolved
...search_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_flyout.spec.js
Outdated
Show resolved
Hide resolved
...search_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_flyout.spec.js
Outdated
Show resolved
Hide resolved
@ArgusLi I think we could always assume that |
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
SAVE_AS_NEW_QUERY_SUFFIX, | ||
validateSaveAsNewQueryMatchingNameHasError, | ||
} from '../../../../../utils/apps/query_enhancements/saved_queries'; | ||
|
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.
can we rename this file to saved_queries.spec.js
Signed-off-by: Argus Li <[email protected]>
…queries Signed-off-by: Argus Li <[email protected]>
|
||
// This spec assumes data.savedQueriesNewUI.enabled is true. | ||
export const runSavedQueriesFlyoutUITests = () => { | ||
describe('saved queries flyout UI', () => { |
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.
lets remove flyout UI
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Description
Adds a Cypress test suite for Saved Queries Test Scope in the Discover page.
Issues Resolved
Closes #8975, #8977, #8978, #8979, #8980.
Screenshot
saved-queries-1.mp4
saved-queries-2.mp4
saved-queries-3.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