diff --git a/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts b/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts index 4beae7900..ed318b068 100644 --- a/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts +++ b/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts @@ -73,6 +73,8 @@ export default class ProposalSubmissionPage { async goto() { await this.page.goto(`${environments.frontendUrl}/proposal_discussion`); + await this.page.waitForTimeout(2_000); // wait until page load properly + await this.verifyIdentityBtn.click(); await this.proposalCreateBtn.click(); 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 65fb72b3b..943887729 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 @@ -279,7 +279,8 @@ test.describe("Temporary proposal users", () => { test.beforeEach(async () => { proposalSubmissionPage = new ProposalSubmissionPage(userPage); - await proposalSubmissionPage.goto(); + await proposalSubmissionPage.proposalCreateBtn.click(); + await proposalSubmissionPage.continueBtn.click(); await proposalSubmissionPage.addLinkBtn.click(); proposalFormValue =