Skip to content

Commit

Permalink
chore: add delay to tasks-searching test (#6913)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoconnell authored Jul 26, 2024
1 parent 1ac7e4b commit 6c8d1c8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cypress/e2e/shared/tasks-searching.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ describe('When tasks already exist', () => {
.click()
.wait(DEFAULT_DELAY_MS)
cy.getByTestID('inline-labels--popover--dialog').should('be.visible')
cy.getByTestID('inline-labels--popover-field').type(`${firstLabel}{enter}`)
cy.getByTestID('inline-labels--popover-field')
.type(`${firstLabel}{enter}`)
.wait(DEFAULT_DELAY_MS)
cy.getByTestID('overlay--container').should('be.visible')
cy.getByTestID('create-label-form--submit').click().wait(DEFAULT_DELAY_MS)

Expand All @@ -129,7 +131,9 @@ describe('When tasks already exist', () => {
.click()
.wait(DEFAULT_DELAY_MS)
cy.getByTestID('inline-labels--popover--dialog').should('be.visible')
cy.getByTestID('inline-labels--popover-field').type(`${secondLabel}{enter}`)
cy.getByTestID('inline-labels--popover-field')
.type(`${secondLabel}{enter}`)
.wait(DEFAULT_DELAY_MS)
cy.getByTestID('overlay--container').should('be.visible')
cy.getByTestID('create-label-form--submit').click().wait(DEFAULT_DELAY_MS)

Expand Down

0 comments on commit 6c8d1c8

Please sign in to comment.