Merge pull request #12270 from influxdata/test/filter-funcs

test(explorer): move test for filtering functions
pull/12253/head
Alirie Gray 2019-02-28 14:24:31 -08:00 committed by GitHub
commit f23370dcd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -32,6 +32,13 @@ describe('DataExplorer', () => {
cy.getByTestID('time-machine-submit-button').should('be.disabled')
})
it('can filter aggregation functions by name from script editor mode', () => {
cy.getByTestID('switch-to-script-editor').click()
cy.get('.input-field').type('covariance')
cy.getByTestID('toolbar-function').should('have.length', 1)
})
})
describe('visualizations', () => {
@ -50,11 +57,4 @@ describe('DataExplorer', () => {
})
})
})
it('can filter aggregation functions by name from script editor mode', () => {
cy.getByTestID('switch-to-script-editor').click()
cy.get('.input-field').type('covariance')
cy.getByTestID('toolbar-function').should('have.length', 1)
})
})