From 47055cd2fcc1ab4792dfb0c22f4eea840140828c Mon Sep 17 00:00:00 2001 From: Alirie Gray Date: Thu, 28 Feb 2019 14:17:45 -0800 Subject: [PATCH] test(explorer): move test for filtering functions --- ui/cypress/e2e/explorer.test.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/cypress/e2e/explorer.test.ts b/ui/cypress/e2e/explorer.test.ts index 98ebf8ea70..3512e55035 100644 --- a/ui/cypress/e2e/explorer.test.ts +++ b/ui/cypress/e2e/explorer.test.ts @@ -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) - }) })