fix(ci): enhance Playwright debug output for better browser launch diagnostics
This commit is contained in:
21
.github/workflows/e2e-tests-split.yml
vendored
21
.github/workflows/e2e-tests-split.yml
vendored
@@ -223,8 +223,11 @@ jobs:
|
||||
SHARD_START=$(date +%s)
|
||||
echo "SHARD_START=$SHARD_START" >> $GITHUB_ENV
|
||||
|
||||
# Enable verbose Playwright output to diagnose hang
|
||||
export DEBUG=pw:api
|
||||
# Enable verbose Playwright output to diagnose browser launch hang
|
||||
# pw:browser* = browser connection and launch
|
||||
# pw:protocol = CDP protocol messages
|
||||
# pw:channel = IPC between Playwright and browser
|
||||
export DEBUG=pw:browser*,pw:protocol,pw:channel
|
||||
|
||||
npx playwright test \
|
||||
--project=chromium \
|
||||
@@ -400,8 +403,11 @@ jobs:
|
||||
SHARD_START=$(date +%s)
|
||||
echo "SHARD_START=$SHARD_START" >> $GITHUB_ENV
|
||||
|
||||
# Enable verbose Playwright output to diagnose hang
|
||||
export DEBUG=pw:api
|
||||
# Enable verbose Playwright output to diagnose browser launch hang
|
||||
# pw:browser* = browser connection and launch
|
||||
# pw:protocol = CDP protocol messages
|
||||
# pw:channel = IPC between Playwright and browser
|
||||
export DEBUG=pw:browser*,pw:protocol,pw:channel
|
||||
|
||||
npx playwright test \
|
||||
--project=firefox \
|
||||
@@ -577,8 +583,11 @@ jobs:
|
||||
SHARD_START=$(date +%s)
|
||||
echo "SHARD_START=$SHARD_START" >> $GITHUB_ENV
|
||||
|
||||
# Enable verbose Playwright output to diagnose hang
|
||||
export DEBUG=pw:api
|
||||
# Enable verbose Playwright output to diagnose browser launch hang
|
||||
# pw:browser* = browser connection and launch
|
||||
# pw:protocol = CDP protocol messages
|
||||
# pw:channel = IPC between Playwright and browser
|
||||
export DEBUG=pw:browser*,pw:protocol,pw:channel
|
||||
|
||||
npx playwright test \
|
||||
--project=webkit \
|
||||
|
||||
Reference in New Issue
Block a user