Skip to content

Commit

Permalink
upadted workbencg tests
Browse files Browse the repository at this point in the history
Signed-off-by: sumukhswamy <[email protected]>
  • Loading branch information
sumukhswamy committed Jan 24, 2024
1 parent d1f5182 commit 32c3726
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ describe('Test SQL UI', () => {
it('Test full screen view', () => {
cy.get('.euiButton__text').contains('Full screen view').should('not.exist');

cy.get('textarea.ace_text-input')
.eq(0)
.focus()
.type("SHOW tables LIKE '%'", { force: true });
cy.get('button[data-test-subj="sqlRunButton"]').contains('Run').click();
cy.get('button[data-test-subj="fullScreenView"]')
.contains('Full screen view')
Expand Down Expand Up @@ -188,7 +192,6 @@ describe('Test table display', () => {
.should('exist');
cy.get('button[data-test-subj="sqlRunButton"]').contains('Run').click();
cy.get('button[data-test-subj="sqlRunButton"]').contains('Run').click();
// cy.get('.euiTab__content').contains('employee_nested').should('exist');
cy.get('span.euiTableCellContent__text')
.eq(cell_idx)
.should((cell) => {
Expand Down

0 comments on commit 32c3726

Please sign in to comment.