Skip to content

Commit

Permalink
query workbench intercept ppl query network call (#1744)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Sebastian <[email protected]>
  • Loading branch information
paulstn authored Feb 26, 2025
1 parent e86b8c3 commit ea66a1e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@ describe('Test PPL UI', () => {
});

it('Test full screen view', () => {
cy.route2('**/api/sql_console/pplquery').as('pplQuery');
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).focus().type('source=accounts', { force: true });
cy.wait(delay);
cy.get('.euiButton__text').contains('Run').click({ force: true });
cy.wait(delay);
cy.wait('@pplQuery');
cy.get('.euiButton__text').contains('Full screen view').click({ force: true });

cy.get('.euiTitle').should('not.exist');
Expand Down

0 comments on commit ea66a1e

Please sign in to comment.