test-runner
test-runner copied to clipboard
[question] How can I parallelise tests across storybook files, but not tests in a file?
We have multiple tests in each storybook file, and I would like to be able to parallelise tests that are in different files, but not tests that are in the same file.
Playwright has the concept of fullyParallel and number of workers. Is it possible to have the same in storybook test-runner?
Playwright config:
/* Run tests in files in parallel */
fullyParallel: false,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : 5,