Skip to content

Commit

Permalink
fix: ci chromium installs
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Apr 18, 2024
1 parent 510df4f commit bedf578
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 5 additions & 2 deletions tests/e2e/turbo.json
Original file line number Diff line number Diff line change
@@ -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"]
}
Expand Down

0 comments on commit bedf578

Please sign in to comment.