Skip to content

Commit

Permalink
Add time to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
svogt0511 committed May 24, 2024
1 parent 071acad commit 8a06c1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/e2e/staff_admin/contact.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 } )
Expand Down

0 comments on commit 8a06c1f

Please sign in to comment.