From cc61b5d1561fa2ace72bd5d8dafdf7a0f7bb6950 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:55:07 -0800 Subject: [PATCH] Run smoke tests in parallel 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. --- test/smoke-test/urls.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/smoke-test/urls.test.js b/test/smoke-test/urls.test.js index 5bc0317cb..d2a06abe0 100644 --- a/test/smoke-test/urls.test.js +++ b/test/smoke-test/urls.test.js @@ -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: