Skip to content

Commit

Permalink
Use cy.click instead of cy.wait
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldutra committed Mar 11, 2019
1 parent c5b9799 commit 77285d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/data-source/create_data_source_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('Create Data Source', () => {

it('renders the page and takes a screenshot', () => {
cy.getByTestId('CreateSourceDialog').should('contain', 'PostgreSQL');
cy.wait(1000);
cy.getByTestId('SearchSource').click();
cy.percySnapshot('Create Data Source - Types');
});

Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/destination/create_destination_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('Create Destination', () => {

it('renders the page and takes a screenshot', () => {
cy.getByTestId('CreateSourceDialog').should('contain', 'Email');
cy.wait(1000);
cy.getByTestId('SearchSource').click();
cy.percySnapshot('Create Destination - Types');
});
});

0 comments on commit 77285d9

Please sign in to comment.