From d081b707f42afd574fc095b2e0475e546263eb43 Mon Sep 17 00:00:00 2001 From: cmoinier Date: Tue, 29 Oct 2024 16:34:05 +0100 Subject: [PATCH] attempt to fix flaky test --- apps/metadata-editor-e2e/src/e2e/record-actions.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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