Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
835700b91a | ||
|
|
aa74aacf76 | ||
|
|
707c34b4d6 | ||
|
|
985921490f | ||
|
|
1b66257868 | ||
|
|
e56e7656d9 | ||
|
|
64f37ba7aa | ||
|
|
6e3fcf7824 | ||
|
|
d626c7d8b3 | ||
|
|
b34f96aeeb | ||
|
|
3c0b9fa2b1 |
66
.github/workflows/e2e-tests-split.yml
vendored
66
.github/workflows/e2e-tests-split.yml
vendored
@@ -121,7 +121,7 @@ jobs:
|
||||
if: |
|
||||
(github.event_name != 'workflow_dispatch') ||
|
||||
(github.event.inputs.browser == 'chromium' || github.event.inputs.browser == 'all')
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 45
|
||||
env:
|
||||
CHARON_EMERGENCY_TOKEN: ${{ secrets.CHARON_EMERGENCY_TOKEN }}
|
||||
CHARON_EMERGENCY_SERVER_ENABLED: "true"
|
||||
@@ -200,15 +200,17 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Cache Playwright browsers
|
||||
id: playwright-cache
|
||||
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
|
||||
with:
|
||||
path: ~/.cache/ms-playwright
|
||||
key: playwright-chromium-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Install & verify Playwright Chromium
|
||||
run: npx playwright install --with-deps chromium
|
||||
- name: Install Playwright Chromium
|
||||
run: |
|
||||
echo "📦 Installing Chromium..."
|
||||
npx playwright install --with-deps chromium
|
||||
EXIT_CODE=$?
|
||||
echo "✅ Install command completed (exit code: $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"
|
||||
exit $EXIT_CODE
|
||||
|
||||
- name: Run Chromium tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }})
|
||||
run: |
|
||||
@@ -284,7 +286,7 @@ jobs:
|
||||
if: |
|
||||
(github.event_name != 'workflow_dispatch') ||
|
||||
(github.event.inputs.browser == 'firefox' || github.event.inputs.browser == 'all')
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 45
|
||||
env:
|
||||
CHARON_EMERGENCY_TOKEN: ${{ secrets.CHARON_EMERGENCY_TOKEN }}
|
||||
CHARON_EMERGENCY_SERVER_ENABLED: "true"
|
||||
@@ -363,15 +365,17 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Cache Playwright browsers
|
||||
id: playwright-cache
|
||||
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
|
||||
with:
|
||||
path: ~/.cache/ms-playwright
|
||||
key: playwright-firefox-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Install & verify Playwright Firefox
|
||||
run: npx playwright install --with-deps firefox
|
||||
- name: Install Playwright Firefox
|
||||
run: |
|
||||
echo "📦 Installing Firefox..."
|
||||
npx playwright install --with-deps firefox
|
||||
EXIT_CODE=$?
|
||||
echo "✅ Install command completed (exit code: $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"
|
||||
exit $EXIT_CODE
|
||||
|
||||
- name: Run Firefox tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }})
|
||||
run: |
|
||||
@@ -447,7 +451,7 @@ jobs:
|
||||
if: |
|
||||
(github.event_name != 'workflow_dispatch') ||
|
||||
(github.event.inputs.browser == 'webkit' || github.event.inputs.browser == 'all')
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 45
|
||||
env:
|
||||
CHARON_EMERGENCY_TOKEN: ${{ secrets.CHARON_EMERGENCY_TOKEN }}
|
||||
CHARON_EMERGENCY_SERVER_ENABLED: "true"
|
||||
@@ -526,15 +530,17 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Cache Playwright browsers
|
||||
id: playwright-cache
|
||||
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
|
||||
with:
|
||||
path: ~/.cache/ms-playwright
|
||||
key: playwright-webkit-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Install & verify Playwright WebKit
|
||||
run: npx playwright install --with-deps webkit
|
||||
- name: Install Playwright WebKit
|
||||
run: |
|
||||
echo "📦 Installing WebKit..."
|
||||
npx playwright install --with-deps webkit
|
||||
EXIT_CODE=$?
|
||||
echo "✅ Install command completed (exit code: $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"
|
||||
exit $EXIT_CODE
|
||||
|
||||
- name: Run WebKit tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }})
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user