diff --git a/tests/e2e/package.json b/tests/e2e/package.json index dece90cd7..a3cfaf446 100644 --- a/tests/e2e/package.json +++ b/tests/e2e/package.json @@ -7,6 +7,7 @@ "license": "ISC", "type": "module", "scripts": { + "prep": "playwright download chromium", "test:static": "tsc --noEmit && eslint '**/*.{ts,tsx,js,jsx}' --ignore-path='./.gitignore'", "test:integration:drupal": "playwright test --config playwright.config.drupal.ts", "test:integration:decap": "playwright test --config playwright.config.decap.ts", diff --git a/tests/e2e/turbo.json b/tests/e2e/turbo.json index dc9ee1e48..b39c66812 100644 --- a/tests/e2e/turbo.json +++ b/tests/e2e/turbo.json @@ -1,13 +1,16 @@ { "extends": ["//"], "pipeline": { + "prep": { + "cache": false + }, "test:integration:decap": { - "dependsOn": ["@custom/website#build"], + "dependsOn": ["@custom/website#build", "prep"], "env": ["PLAYWRIGHT_WEBSITE_URL"], "inputs": ["specs/decap/**", "playwright.config.decap.ts"] }, "test:integration:drupal": { - "dependsOn": ["@custom/website#build"], + "dependsOn": ["@custom/website#build", "prep"], "env": ["PLAYWRIGHT_WEBSITE_URL", "PLAYWRIGHT_CMS_URL"], "inputs": ["specs/drupal/**", "playwright.config.drupal.ts"] }