From 6c8d1c84560de7978135149f67c8171b3347d776 Mon Sep 17 00:00:00 2001 From: Bill O'Connell <91283923+wdoconnell@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:13:29 -0400 Subject: [PATCH] chore: add delay to tasks-searching test (#6913) --- cypress/e2e/shared/tasks-searching.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/shared/tasks-searching.test.ts b/cypress/e2e/shared/tasks-searching.test.ts index 2902c7b326..f21ebbcf24 100644 --- a/cypress/e2e/shared/tasks-searching.test.ts +++ b/cypress/e2e/shared/tasks-searching.test.ts @@ -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) @@ -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)