From ebc56470accb6af47bee53ca549cd39e5245bb13 Mon Sep 17 00:00:00 2001 From: "Qingyang(Abby) Hu" Date: Tue, 5 Nov 2024 23:03:57 -0800 Subject: [PATCH] print out error Signed-off-by: Qingyang(Abby) Hu --- .../apps/query_enhancement/queries.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancement/queries.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancement/queries.spec.js index f08e84c0c..a54924dda 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancement/queries.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancement/queries.spec.js @@ -110,6 +110,9 @@ describe('query enhancement queries', { scrollBehavior: false }, () => { `source = timestamp-* | head 10` ); cy.waitForSearch(); + cy.reload(); + cy.getElementByTestId('queryResultCompleteMsg').click() + cy.get('[class="euiText euiText--small"]').then((text) => cy.log(text)) cy.verifyHitCount(4); //query should persist across refresh