Skip to content

Commit

Permalink
Remove reload in saved_search spec as bug has been resolved (#9396)
Browse files Browse the repository at this point in the history
* Remove reload as bug has been resolved.

Signed-off-by: Argus Li <contactme@chunkeili.com>

* Changeset file for PR #9396 created/updated

---------

Signed-off-by: Argus Li <contactme@chunkeili.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
ArgusLi and opensearch-changeset-bot[bot] authored Feb 17, 2025
1 parent dc22922 commit 0f32a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/9396.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test:
- Remove unnecessary reload in saved_search test. ([#9396](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/9396))
3 changes: 0 additions & 3 deletions cypress/utils/apps/query_enhancements/saved.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,6 @@ export const setSearchConfigurations = ({

cy.getElementByTestId(`docTableHeaderFieldSort_${APPLIED_SORT}`).click();

// TODO: This reload shouldn't need to be here, but currently the sort doesn't always happen right away
// https://github.com/opensearch-project/OpenSearch-Dashboards/issues/9131
cy.reload();
cy.getElementByTestId('querySubmitButton').should('be.visible');
}
};
Expand Down

0 comments on commit 0f32a25

Please sign in to comment.