From b91d01e1cf48bd00ffda1a0dc7d2536f9c6af24f Mon Sep 17 00:00:00 2001 From: Bucky Schwarz Date: Thu, 26 Dec 2019 11:52:19 -0800 Subject: [PATCH] introduce long wait time to explorer tests --- ui/cypress/e2e/explorer.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/cypress/e2e/explorer.test.ts b/ui/cypress/e2e/explorer.test.ts index 7f8c6a2dabc..c6aecaee227 100644 --- a/ui/cypress/e2e/explorer.test.ts +++ b/ui/cypress/e2e/explorer.test.ts @@ -352,6 +352,7 @@ describe('DataExplorer', () => { describe('raw script editing', () => { beforeEach(() => { cy.getByTestID('switch-to-script-editor').click() + cy.wait(750) }) it('enables the submit button when a query is typed', () => { @@ -448,7 +449,7 @@ describe('DataExplorer', () => { }) // todo: investigate flakiness of this test: https://github.com/influxdata/influxdb/issues/16330 - it.skip('shows the empty state when the query returns no results', () => { + it('shows the empty state when the query returns no results', () => { cy.getByTestID('time-machine--bottom').within(() => { cy.get('textarea').type( `from(bucket: "defbuck") @@ -463,7 +464,7 @@ describe('DataExplorer', () => { }) // todo: investigate flakiness of this test: https://github.com/influxdata/influxdb/issues/16330 - it.skip('can save query as task even when it has a variable', () => { + it('can save query as task even when it has a variable', () => { const taskName = 'tax' // begin flux cy.getByTestID('flux-editor').within(() => {