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:
Tom Koscielniak 2025-04-30 14:43:54 +02:00 committed by Klara Simickova
parent f40ea15eec
commit bd09a7faf3
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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,