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 b61e6e3c4..96a215ae6 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 @@ -65,6 +65,19 @@ test.describe("Proposal created logged state", () => { await proposalSubmissionPage.validateForm(formFields); } + if (type === ProposalType.treasury) { + for (let i = 0; i < 9; i++) { + await expect( + proposalSubmissionPage.addWithdrawalAddressBtn + ).toBeVisible(); + await proposalSubmissionPage.addWithdrawalAddressBtn.click(); + } + } + + await expect( + proposalSubmissionPage.addWithdrawalAddressBtn + ).toBeHidden(); + for (let i = 0; i < 6; i++) { await expect(proposalSubmissionPage.addLinkBtn).toBeVisible(); await proposalSubmissionPage.addLinkBtn.click();