From fad627c6b3e1e3d244e58838602c90e086a25944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Mon, 10 Mar 2025 21:04:07 +0100 Subject: [PATCH] Test filter not disabled --- frontend/cypress/integration/projects/access.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/cypress/integration/projects/access.spec.ts b/frontend/cypress/integration/projects/access.spec.ts index 018017a2b1..f912e845a3 100644 --- a/frontend/cypress/integration/projects/access.spec.ts +++ b/frontend/cypress/integration/projects/access.spec.ts @@ -150,7 +150,10 @@ describe('project-access', () => { }); it('can remove access', () => { - cy.get(`[data-testid='${PA_REMOVE_BUTTON_ID}']`).first().click(); + cy.get(`[data-testid='${PA_REMOVE_BUTTON_ID}']`) + .filter(':not(:disabled)') + .first() + .click(); cy.intercept( 'DELETE',