From 4640d3e7735c18d3ab6ff411bec1fdf5b54ef63e Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Mon, 4 Nov 2024 13:09:28 +0100 Subject: [PATCH] fix objective duplicate tests --- frontend/cypress/e2e/duplicated-scoring.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/cypress/e2e/duplicated-scoring.cy.ts b/frontend/cypress/e2e/duplicated-scoring.cy.ts index 642d78fb44..6a87dbd243 100644 --- a/frontend/cypress/e2e/duplicated-scoring.cy.ts +++ b/frontend/cypress/e2e/duplicated-scoring.cy.ts @@ -29,7 +29,7 @@ describe('e2e test for scoring adjustment on objective duplicate', () => { cy.visit('/?quarter=3'); let scoringBlock1 = cy - .getByTestId('objective') + .get('.objective:contains("A duplicated Objective for this tool")') .first() .getByTestId('key-result') .first()