playwright
A Playwright test failure - the `1) suite > test` header names the test; its trace and diff follow.
jse2etoolmatcher
Install: ci-doctor matchers add official/playwright
matchers/js/playwright/matcher.yaml
id: playwrightrole: toolclassification: [js, e2e]description: A Playwright test failure - the `1) suite > test` header names the test; its trace and diff follow.pattern: '^\s*\d+\) .+ › 'after: 20
In bundles
Fixtures
Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.
playwright_failureOpen in playground
1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: playwright_failure
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Received 41943040 of 41943040 (100.0%), 40.0 MBs/sec
33Cache restored from key: Linux-deps-8ad41f02
34##[group]Run npm ci --no-audit --no-fund
35npm ci --no-audit --no-fund
36npx playwright test --reporter=list
37shell: /usr/bin/bash -e {0}
38##[endgroup]
39added 412 packages in 9s
40
41Running 18 tests using 4 workers
42
43 ✓ 1 [chromium] › tests/auth.spec.ts:8:1 › signs in with valid credentials (1.2s)
44 ✓ 2 [chromium] › tests/cart.spec.ts:11:1 › adds an item to the cart (0.9s)
45 ✘ 3 [chromium] › tests/checkout.spec.ts:24:1 › applies a promo code (5.4s)
46
47 1) [chromium] › tests/checkout.spec.ts:24:1 › applies a promo code ═══════════
48
49 Error: expect(locator).toHaveText(expected)
50
51 Locator: locator('[data-test=order-total]')
52 Expected string: "$27.00"
53 Received string: "$30.00"
54 Timeout: 5000ms
55
56 at tests/checkout.spec.ts:31:42
57
58 1 failed
59 [chromium] › tests/checkout.spec.ts:24:1 › applies a promo code
60 17 passed (23.1s)
61##[error]Process completed with exit code 1.
62##[group]Post Run actions/checkout@v4
63##[endgroup]
64/usr/bin/git version
65git version 2.54.0
66##[group]Post Run actions/upload-artifact@v4
67##[endgroup]
68Artifact upload complete.
69Post job cleanup.
70Cleaning up orphan processes
1Running with gitlab-runner 16.10.0 (be4e0e33)
2 on e2e-runner-01 Pw6Vn3Hs, system ID: s_ab12cd34ef56
3Preparing the "docker" executor
4 Using Docker executor with image mcr.microsoft.com/playwright:v1.45.0-jammy ...
5Using Docker executor with image mcr.microsoft.com/playwright:v1.45.0-jammy ...
6Using docker image sha256:4c3b2a1908f7 for mcr.microsoft.com/playwright:v1.45.0-jammy with digest playwright@sha256:8e7d...
7Preparing environment
8Running on runner-pw6vn3hs-project-90-concurrent-0...
9Fetching changes...
10Checking out d3f1ba08 as detached HEAD...
11Checking cache for npm-e2e-default...
12Successfully extracted cache
13$ npm ci --no-audit --no-fund
14added 412 packages in 9s
15$ npx playwright test --reporter=list
16
17Running 18 tests using 4 workers
18
19 ✓ 1 [chromium] › tests/auth.spec.ts:8:1 › signs in with valid credentials (1.2s)
20 ✓ 2 [chromium] › tests/cart.spec.ts:11:1 › adds an item to the cart (0.9s)
21 ✘ 3 [chromium] › tests/checkout.spec.ts:24:1 › applies a promo code (5.4s)
22
23 1) [chromium] › tests/checkout.spec.ts:24:1 › applies a promo code ═══════════
24
25 Error: expect(locator).toHaveText(expected)
26
27 Locator: locator('[data-test=order-total]')
28 Expected string: "$27.00"
29 Received string: "$30.00"
30 Timeout: 5000ms
31
32 at tests/checkout.spec.ts:31:42
33
34 1 failed
35 [chromium] › tests/checkout.spec.ts:24:1 › applies a promo code
36 17 passed (23.1s)
37Running after_script
38$ echo "e2e failed, keeping traces"
39e2e failed, keeping traces
40Uploading artifacts for failed job
41Uploading artifacts as "archive" to coordinator... 201 Created
42ERROR: Job failed: exit code 1