test: limit browser verification concurrency
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -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' );
|
||||
|
||||
Reference in new issue
Block a user