test: limit browser verification concurrency

This commit is contained in:
chrnx committed 2026-08-12 22:25:33 -05:00
1 parent 084c820716
commit d620c6ad19
2 files changed
+7

No files matched your search

+6
View File
@@ -24,6 +24,12 @@ test( 'Playwright seeds deterministic local fixtures once outside browser worker
assert.doesNotMatch( spec, /wp-env|execFileSync|beforeAll/ );
} );
test( 'Playwright caps read-only browser concurrency for the local WordPress stack', async () => {
const { default: config } = await import( '../../playwright.config.mjs' );
assert.equal( config.workers, 2 );
} );
test( 'exactly two serial mutation projects run after every read-only browser', async () => {
const config = await readFile( 'playwright.config.mjs', 'utf8' );
const files = await readdir( 'tests/e2e' );