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:
|
||||
runs-on:
|
||||
- codebuild-image-builder-frontend-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
- instance-size:medium
|
||||
- instance-size:large
|
||||
- buildspec-override:true
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ if (process.env.CURRENTS_PROJECT_ID && process.env.CURRENTS_RECORD_KEY) {
|
|||
export default defineConfig({
|
||||
testDir: 'playwright',
|
||||
fullyParallel: true,
|
||||
workers: 2,
|
||||
workers: 4,
|
||||
forbidOnly: !!process.env.CI,
|
||||
retries: process.env.CI ? 1 : 0,
|
||||
reporter: reporters,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue