From 543d1d527d6ef7be9225c00ed6bafacc4500d0c8 Mon Sep 17 00:00:00 2001 From: yves Date: Tue, 6 Aug 2024 17:36:43 -0400 Subject: [PATCH] Adds delay on cypress test --- cypress/tests/Test4_sendMessageSuccess.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/tests/Test4_sendMessageSuccess.cy.js b/cypress/tests/Test4_sendMessageSuccess.cy.js index 9602797..b16b00a 100644 --- a/cypress/tests/Test4_sendMessageSuccess.cy.js +++ b/cypress/tests/Test4_sendMessageSuccess.cy.js @@ -52,7 +52,7 @@ describe('Send P1-PIO message with success', function () { cy.get('#identifiers > .pkpForm > .pkpFormPages > .pkpFormPage > .pkpFormPage__footer > .pkpFormPage__buttons > .pkpButton').click(); cy.get('#fundingGridInWorkflow-button').click(); cy.get('[id^=component-plugins-generic-funding-controllers-grid-fundergrid-addFunder-button-]').click(); - cy.get('input.ui-widget-content.ui-autocomplete-input').should('be.visible').first().focus().type("Universidade Federal de Santa Catarina [http://dx.doi.org/10.13039/501100007082]"); + cy.get('input.ui-widget-content.ui-autocomplete-input').should('be.visible').first().focus().type("Universidade Federal de Santa Catarina [http://dx.doi.org/10.13039/501100007082]", {delay: 0}); cy.get('[id^=submitFormButton-]').contains('Save').click({force: true}); cy.get('.pkpPublication > .pkpHeader > .pkpHeader__actions > button.pkpButton').contains("Schedule For Publication").click();