playwright: Provision large AWS CB instance
By using a "large" AWS instance we should be able to use parallelization in Playwright without maxing out resources and having flakes in tests.
This commit is contained in:
parent
f40ea15eec
commit
bd09a7faf3
2 changed files with 2 additions and 2 deletions
2
.github/workflows/playwright.yml
vendored
2
.github/workflows/playwright.yml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
playwright-tests:
|
playwright-tests:
|
||||||
runs-on:
|
runs-on:
|
||||||
- codebuild-image-builder-frontend-${{ github.run_id }}-${{ github.run_attempt }}
|
- codebuild-image-builder-frontend-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
- instance-size:medium
|
- instance-size:large
|
||||||
- buildspec-override:true
|
- buildspec-override:true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ if (process.env.CURRENTS_PROJECT_ID && process.env.CURRENTS_RECORD_KEY) {
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
testDir: 'playwright',
|
testDir: 'playwright',
|
||||||
fullyParallel: true,
|
fullyParallel: true,
|
||||||
workers: 2,
|
workers: 4,
|
||||||
forbidOnly: !!process.env.CI,
|
forbidOnly: !!process.env.CI,
|
||||||
retries: process.env.CI ? 1 : 0,
|
retries: process.env.CI ? 1 : 0,
|
||||||
reporter: reporters,
|
reporter: reporters,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue