From 8a06c1f0d98d740c84fccf1b9d95cefbde0e1491 Mon Sep 17 00:00:00 2001 From: Suzanne Vogt Date: Fri, 24 May 2024 17:32:24 -0400 Subject: [PATCH] Add time to test. --- cypress/e2e/staff_admin/contact.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/staff_admin/contact.test.ts b/cypress/e2e/staff_admin/contact.test.ts index d51916b6..6e3be625 100644 --- a/cypress/e2e/staff_admin/contact.test.ts +++ b/cypress/e2e/staff_admin/contact.test.ts @@ -52,12 +52,13 @@ describe('ACCEPTANCE: STAFF_ADMIN | CONTACTS', () => { cy.getCookie('_jwt').then((cookie) => { cy.createContact(email, given_name, family_name, roles, type, provider_id, Cypress.env('api_url'), cookie.value).then((id) => { + cy.wait(waitTime4) cy.log('CREATED CONTACT: ' + given_name + ' ' + family_name + ' (' + id + ')'); // Give it a little extra time to process the new contact so that we can search for it. cy.visit('/contacts'); cy.url().should('include', '/contacts') - cy.wait(waitTime) + cy.wait(waitTime4) cy.get('input[name="query"]') .type(family_name + '{enter}', { force: true } )