diff --git a/app/components/doi-doi.js b/app/components/doi-doi.js index fc089a75..2433cc83 100644 --- a/app/components/doi-doi.js +++ b/app/components/doi-doi.js @@ -23,7 +23,7 @@ export default Component.extend({ repositoryPrefixes: null, - didReceiveAttrs() { + init() { this._super(...arguments); this.setDefaultPrefix(); 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 } )