From a0ff51599d47db834fa71237bdf1cd580f25ba04 Mon Sep 17 00:00:00 2001 From: Pierre-Narcisi Date: Thu, 21 Nov 2024 11:02:28 +0100 Subject: [PATCH] fix(tests) add wait before click --- frontend/cypress/e2e/occhab-spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/cypress/e2e/occhab-spec.js b/frontend/cypress/e2e/occhab-spec.js index 0dd368585b..2ab6d5d6b4 100644 --- a/frontend/cypress/e2e/occhab-spec.js +++ b/frontend/cypress/e2e/occhab-spec.js @@ -30,6 +30,7 @@ describe('Testing occhab', () => { }); cy.get('#validateButton').should('be.disabled'); + cy.wait(10000); cy.get('[data-qa="gn-common-form-observers-select"]').click(); cy.get('[data-qa="gn-common-form-observers-select-AGENT test"]').click(); cy.get('#validateButton').should('be.disabled');