Skip to content

Commit

Permalink
Cypress: Fix Stuck E2E test - create_query_spec (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldutra authored Apr 30, 2019
1 parent 9a4433b commit 47cd05b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/cypress/integration/query/create_query_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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/);
});
});

0 comments on commit 47cd05b

Please sign in to comment.