diff --git a/apps/metadata-editor-e2e/src/e2e/record-actions.cy.ts b/apps/metadata-editor-e2e/src/e2e/record-actions.cy.ts index ae85eb980..6fcbc3772 100644 --- a/apps/metadata-editor-e2e/src/e2e/record-actions.cy.ts +++ b/apps/metadata-editor-e2e/src/e2e/record-actions.cy.ts @@ -26,7 +26,7 @@ describe('record-actions', () => { }).as('insertRecord') cy.get('md-editor-publish-button').click() cy.wait('@insertRecord') - cy.get('@abstractField').type('draft abstract') + cy.get('@abstractField').focus().type('draft abstract') // Assert that the draft exists in the local storage cy.editor_readFormUniqueIdentifier().then((uniqueIdentifier) => cy