From cdb3986a900e39c2e38fcdce33f36485bb85c30d Mon Sep 17 00:00:00 2001 From: ma-xbo <38072209+ma-xbo@users.noreply.github.com> Date: Tue, 18 May 2021 17:05:50 +0200 Subject: [PATCH] CORE-676 e2e/s7 add check if confirm-button is not disabled --- .../quarano-frontend-e2e/src/integration/scenario/s7.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/apps/quarano-frontend-e2e/src/integration/scenario/s7.spec.ts b/frontend/apps/quarano-frontend-e2e/src/integration/scenario/s7.spec.ts index bdead2426..633822d3f 100644 --- a/frontend/apps/quarano-frontend-e2e/src/integration/scenario/s7.spec.ts +++ b/frontend/apps/quarano-frontend-e2e/src/integration/scenario/s7.spec.ts @@ -288,7 +288,7 @@ describe('S7 - Status wechselt korrekt', () => { cy.get('[data-cy="comment-textarea"]').should('exist').type('Quarantäne beendet'); /* 49 - Klicke "OK" */ - cy.get('[data-cy="confirm-button"]').click(); + cy.get('[data-cy="confirm-button"]').should('exist').should('not.be.disabled').click(); /* CHECK: Anfrage wurde gesendet */ cy.wait('@postCaseDetails').its('response.statusCode').should('eq', 200);