From 2d7e35317ef5523a5e8cc9e57817f7c969e4ef2a Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 6 Oct 2023 15:01:39 -0700 Subject: [PATCH] workbench updates (#909) (#910) dashboards query workbench removed Euititle Signed-off-by: Shenoy Pratik (cherry picked from commit cbc484a4162fc4d46a6343ce70a34c0b4f6f42cb) Co-authored-by: Shenoy Pratik --- .../plugins/query-workbench-dashboards/ui.spec.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cypress/integration/plugins/query-workbench-dashboards/ui.spec.js b/cypress/integration/plugins/query-workbench-dashboards/ui.spec.js index 0187b6d52..cb3be70b4 100644 --- a/cypress/integration/plugins/query-workbench-dashboards/ui.spec.js +++ b/cypress/integration/plugins/query-workbench-dashboards/ui.spec.js @@ -91,7 +91,6 @@ describe('Test PPL UI', () => { it('Test full screen view', () => { cy.get('.euiButton__text').contains('Full screen view').should('not.exist'); - cy.get('.euiTitle').contains('Query Workbench').should('exist'); cy.get('textarea.ace_text-input') .eq(0) @@ -104,12 +103,9 @@ describe('Test PPL UI', () => { .contains('Full screen view') .click({ force: true }); - cy.get('.euiTitle').should('not.exist'); - cy.get('button#exit-fullscreen-button').click({ force: true }); cy.wait(QUERY_WORKBENCH_DELAY); cy.get('.euiButton__text').contains('Full screen view').should('exist'); - cy.get('.euiTitle').contains('Query Workbench').should('exist'); }); }); @@ -179,15 +175,12 @@ describe('Test SQL UI', () => { it('Test full screen view', () => { cy.get('.euiButton__text').contains('Full screen view').should('not.exist'); - cy.get('.euiTitle').contains('Query Workbench').should('exist'); cy.get('.euiButton__text').contains('Run').click({ force: true }); cy.wait(QUERY_WORKBENCH_DELAY * 5); cy.get('.euiButton__text') .contains('Full screen view') .click({ force: true }); - - cy.get('.euiTitle').should('not.exist'); }); });