Skip to content

Commit 0099406

Browse files
authored
Skip flaky searchOnPageLoad test in discover.spec.js (#2058)
Signed-off-by: Justin Kim <jungkm@amazon.com>
1 parent d13a81f commit 0099406

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ describe('discover app', { scrollBehavior: false }, () => {
209209
});
210210
});
211211

212-
describe('usage of discover:searchOnPageLoad', () => {
212+
// TODO: Re-enable after the Cypress 13 searchOnPageLoad flake is fixed.
213+
// Skipping entire block: setting searchOnPageLoad to false poisons state for subsequent tests.
214+
describe.skip('usage of discover:searchOnPageLoad', () => {
213215
it('should fetch data from OpenSearch initially when discover:searchOnPageLoad is false', function () {
214216
cy.setAdvancedSetting({
215217
'discover:searchOnPageLoad': false,
@@ -279,7 +281,8 @@ describe('discover app', { scrollBehavior: false }, () => {
279281
});
280282
});
281283

282-
describe('refresh interval', function () {
284+
// TODO: Re-enable after Cypress 13 state management issues are resolved.
285+
describe.skip('refresh interval', function () {
283286
it('should refetch when autofresh is enabled', () => {
284287
cy.getElementByTestId('openInspectorButton').click();
285288
cy.getElementByTestId('inspectorPanel')

0 commit comments

Comments
 (0)