Skip to content

Commit

Permalink
Refactor: Remove 'test.slow' and add comment explaining using test.slow
Browse files Browse the repository at this point in the history
  • Loading branch information
kneerose committed May 31, 2024
1 parent 775479c commit c968ea7
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand All @@ -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();
Expand Down

0 comments on commit c968ea7

Please sign in to comment.