Skip to content

Commit

Permalink
workbench updates (#909) (#910)
Browse files Browse the repository at this point in the history
dashboards query workbench removed Euititle

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
(cherry picked from commit cbc484a)

Co-authored-by: Shenoy Pratik <sgguruda@amazon.com>
  • Loading branch information
opensearch-trigger-bot[bot] and ps48 committed Oct 6, 2023
1 parent cdc6e55 commit 2d7e353
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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');
});
});

Expand Down Expand Up @@ -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');
});
});

Expand Down

0 comments on commit 2d7e353

Please sign in to comment.