Skip to content

Commit

Permalink
ustc-3866: add in arbitrary wait
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarcotte committed Aug 22, 2023
1 parent c76527f commit 9265e63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cypress/cypress-integration/support/pages/start-a-case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export const fillInAndSubmitForm = () => {

// wizard step 1
cy.get('input#stin-file').should('be.enabled').selectFile(fileOptions);
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(500);
cy.get('button#submit-case').trigger('click');

// wizard step 2
Expand All @@ -24,9 +26,6 @@ export const fillInAndSubmitForm = () => {
// eslint-disable-next-line cypress/no-unnecessary-waiting
// cy.wait(500);

// eslint-disable-next-line cypress/no-unnecessary-waiting
// cy.wait(500);

cy.get('#irs-notice-radios').scrollIntoView();
cy.get('#irs-notice-radios label').first().click();
cy.get('#case-type').scrollIntoView();
Expand Down

0 comments on commit 9265e63

Please sign in to comment.