Skip to content

Commit aed9123

Browse files
authored
Fix Discover Saved Search Test (#1768)
Signed-off-by: Suchit Sahoo <[email protected]>
1 parent d7b7a11 commit aed9123

File tree

1 file changed

+1
-0
lines changed
  • cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer

1 file changed

+1
-0
lines changed

cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/discover.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ describe('discover app', { scrollBehavior: false }, () => {
6666
after(() => {
6767
cy.get('[data-test-subj~="filter-key-extension.raw"]').click();
6868
cy.getElementByTestId(`deleteFilter`).click();
69+
cy.clearTopNavQuery(); // clear the query before we proceed
6970
});
7071
it('should persist across refresh', function () {
7172
// Set up query and filter

0 commit comments

Comments
 (0)