diff --git a/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts b/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts index 96a215ae6..bd8818576 100644 --- a/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts +++ b/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts @@ -206,9 +206,9 @@ test.describe("Proposal created logged state", () => { ); if (type === ProposalType.treasury) { await expect( - page.getByTestId("receiving-address-content") + page.getByTestId("receiving-address-0-content") ).toHaveText(proposal.prop_receiving_address); - await expect(page.getByTestId("amount-content")).toHaveText( + await expect(page.getByTestId("amount-0-content")).toHaveText( proposal.prop_amount ); } @@ -440,10 +440,10 @@ test.describe("Treasury Proposal Draft", () => { await expect(page.getByTestId("rationale-content")).toHaveText( proposalFormValue.prop_rationale ); - await expect(page.getByTestId("receiving-address-content")).toHaveText( + await expect(page.getByTestId("receiving-address-0-content")).toHaveText( proposalFormValue.prop_receiving_address ); - await expect(page.getByTestId("amount-content")).toHaveText( + await expect(page.getByTestId("amount-0-content")).toHaveText( proposalFormValue.prop_amount ); await expect(page.getByTestId("link-0-text-content")).toHaveText(