Skip to content

Commit

Permalink
Cypress: Make sure params are saved before reload (#4420)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldutra authored Dec 4, 2019
1 parent ba36b4e commit 15e8b88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/cypress/integration/query/parameter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,13 @@ describe('Parameter', () => {
};

it('is possible to rearrange parameters', function () {
cy.server();
cy.route('POST', 'api/queries/*').as('QuerySave');

dragParam('param1', this.paramWidth, 1);
cy.wait('@QuerySave');
dragParam('param4', -this.paramWidth, 1);
cy.wait('@QuerySave');

cy.reload();

Expand Down

0 comments on commit 15e8b88

Please sign in to comment.