Skip to content

Commit

Permalink
Run smoke tests in parallel
Browse files Browse the repository at this point in the history
The default parallelization of Playwright tests will parallelize across
multiple test files, but not within each file. There is currently only
one test file, so it makes sense to parallelize within the file.

<https://playwright.dev/docs/test-parallel#parallelize-tests-in-a-single-file>
  • Loading branch information
victorlin committed Nov 6, 2024
1 parent fddd0cf commit f4ec004
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/smoke-test/urls.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const {readFileSync} = require('fs');
const {expect, test} = require('@playwright/test');

test.describe.configure({ mode: 'parallel' });

const testCases = [];

// Load a suite of smoke tests from a simple text file. File is of the format:
Expand Down

0 comments on commit f4ec004

Please sign in to comment.