Skip to content

Commit 543ceb2

Browse files
committed
test: update e2e test
1 parent 63c4d08 commit 543ceb2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

frontend/cypress/e2e/agreementDetails.cy.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ describe("agreement details", () => {
159159
cy.get("tbody").children().should("exist");
160160
cy.get("[data-testid='budget-line-row-15004']").as("executingRow");
161161
cy.get("@executingRow").find("[data-cy='expand-row']").click();
162-
cy.get("@executingRow")
163-
.next("[data-testid='expanded-data']")
164-
.as("executingExpandedRow");
162+
cy.get("@executingRow").next("[data-testid='expanded-data']").as("executingExpandedRow");
165163
cy.get("@executingExpandedRow")
166164
.find("[data-cy='edit-row']")
167165
.should("be.disabled")
@@ -328,6 +326,7 @@ describe("agreement details", () => {
328326
// After save: indicator disappears
329327
cy.get('[data-cy="continue-btn"]').click();
330328
cy.get('[data-cy="alert"]', { timeout: 30000 }).should("contain", "Agreement Updated");
329+
cy.get('[data-cy="close-alert"]').click();
331330
cy.waitForEditingState(false);
332331

333332
// Test the same workflow on Budget Lines tab

0 commit comments

Comments
 (0)