Merge pull request #654 from Wikid82/hotfix/ci
fix(ci): enhance Playwright installation steps with system dependencies and cache checks
This commit is contained in:
36
.github/workflows/e2e-tests-split.yml
vendored
36
.github/workflows/e2e-tests-split.yml
vendored
@@ -200,8 +200,18 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install Playwright system dependencies
|
||||
run: npx playwright install-deps chromium
|
||||
|
||||
- name: Install Playwright Chromium
|
||||
run: npx playwright install --with-deps chromium
|
||||
run: |
|
||||
echo "📦 Installing Chromium..."
|
||||
npx playwright install --with-deps chromium
|
||||
echo "✅ Install command completed (exit code: $?)"
|
||||
echo "📁 Checking browser cache..."
|
||||
ls -lR ~/.cache/ms-playwright/ 2>/dev/null || echo "Cache directory not found"
|
||||
echo "🔍 Searching for chromium executable..."
|
||||
find ~/.cache/ms-playwright -name "*chromium*" -o -name "*chrome*" 2>/dev/null | head -10 || echo "No chromium files found"
|
||||
|
||||
- name: Run Chromium tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }})
|
||||
run: |
|
||||
@@ -356,8 +366,18 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install Playwright system dependencies
|
||||
run: npx playwright install-deps firefox
|
||||
|
||||
- name: Install Playwright Firefox
|
||||
run: npx playwright install --with-deps firefox
|
||||
run: |
|
||||
echo "📦 Installing Firefox..."
|
||||
npx playwright install --with-deps firefox
|
||||
echo "✅ Install command completed (exit code: $?)"
|
||||
echo "📁 Checking browser cache..."
|
||||
ls -lR ~/.cache/ms-playwright/ 2>/dev/null || echo "Cache directory not found"
|
||||
echo "🔍 Searching for firefox executable..."
|
||||
find ~/.cache/ms-playwright -name "*firefox*" 2>/dev/null | head -10 || echo "No firefox files found"
|
||||
|
||||
- name: Run Firefox tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }})
|
||||
run: |
|
||||
@@ -512,8 +532,18 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install Playwright system dependencies
|
||||
run: npx playwright install-deps webkit
|
||||
|
||||
- name: Install Playwright WebKit
|
||||
run: npx playwright install --with-deps webkit
|
||||
run: |
|
||||
echo "📦 Installing WebKit..."
|
||||
npx playwright install --with-deps webkit
|
||||
echo "✅ Install command completed (exit code: $?)"
|
||||
echo "📁 Checking browser cache..."
|
||||
ls -lR ~/.cache/ms-playwright/ 2>/dev/null || echo "Cache directory not found"
|
||||
echo "🔍 Searching for webkit executable..."
|
||||
find ~/.cache/ms-playwright -name "*webkit*" -o -name "*MiniBrowser*" 2>/dev/null | head -10 || echo "No webkit files found"
|
||||
|
||||
- name: Run WebKit tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }})
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user