From c968ea7e2a965efe519cef834ad3d3ff67abcade Mon Sep 17 00:00:00 2001 From: niraj Date: Fri, 31 May 2024 15:29:24 +0545 Subject: [PATCH] Refactor: Remove 'test.slow' and add comment explaining using test.slow --- .../proposalSubmission.loggedin.spec.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 7e204cae1..58b3f5fb0 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 @@ -18,7 +18,7 @@ test.describe("Accept valid data", () => { test(`7E.${index + 1} Should accept valid data in ${type.toLowerCase()} proposal form`, async ({ page, }) => { - test.slow(); + test.slow(); // Brute-force testing with 100 random datas const proposalSubmissionPage = new ProposalSubmissionPage(page); @@ -53,7 +53,7 @@ test.describe("Reject invalid data", () => { test(`7F.${index + 1} Should reject invalid data in ${type.toLowerCase()} Proposal form`, async ({ page, }) => { - test.slow(); + test.slow(); // Brute-force testing with 100 random datas const proposalSubmissionPage = new ProposalSubmissionPage(page); @@ -76,8 +76,6 @@ test.describe("Review fillup form", () => { test(`7I.${index + 1} Should valid review submission in ${type.toLowerCase()} Proposal form`, async ({ page, }) => { - test.slow(); - const proposalSubmissionPage = new ProposalSubmissionPage(page); await proposalSubmissionPage.goto();