From bedf578ccc5873b4a9ba95959fd1c7a15a2014c4 Mon Sep 17 00:00:00 2001 From: Philipp Melab Date: Thu, 18 Apr 2024 14:42:42 +0200 Subject: [PATCH] fix: ci chromium installs --- tests/e2e/package.json | 1 + tests/e2e/turbo.json | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/e2e/package.json b/tests/e2e/package.json index dece90cd7..1519f0de6 100644 --- a/tests/e2e/package.json +++ b/tests/e2e/package.json @@ -7,6 +7,7 @@ "license": "ISC", "type": "module", "scripts": { + "prep": "playwright install 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"] }