Skip to content

Commit

Permalink
introduce long wait time to explorer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hoorayimhelping committed Dec 26, 2019
1 parent fc05627 commit b91d01e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/cypress/e2e/explorer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down Expand Up @@ -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")
Expand All @@ -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(() => {
Expand Down

0 comments on commit b91d01e

Please sign in to comment.