diff --git a/client/cypress/integration/query/create_query_spec.js b/client/cypress/integration/query/create_query_spec.js index ca91db921d..3b70bdf58f 100644 --- a/client/cypress/integration/query/create_query_spec.js +++ b/client/cypress/integration/query/create_query_spec.js @@ -4,8 +4,7 @@ describe('Create Query', () => { cy.visit('/queries/new'); }); - // https://github.com/getredash/redash/issues/3688 - it.skip('executes the query', () => { + it('executes and saves a query', () => { cy.getByTestId('SelectDataSource') .click() .contains('Test PostgreSQL').click(); @@ -18,5 +17,8 @@ describe('Create Query', () => { cy.getByTestId('DynamicTable').should('exist'); cy.percySnapshot('Edit Query'); + + cy.getByTestId('SaveButton').click(); + cy.url().should('match', /\/queries\/\d+\/source/); }); });