cypress
A `CypressError` or a retry timeout, with the command log leading up to it.
jse2etoolmatcher
Install: ci-doctor matchers add official/cypress
matchers/js/cypress/matcher.yaml
id: cypressrole: toolclassification: [js, e2e]description: A `CypressError` or a retry timeout, with the command log leading up to it.pattern: CypressError|Timed out retrying after \d+msbefore: 3after: 12
In bundles
Fixtures
Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.
cypress_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: cypress_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 cypress run --browser chrome
37shell: /usr/bin/bash -e {0}
38##[endgroup]
39added 388 packages in 8s
40
41 Running: checkout.cy.js (3 of 5)
42
43 Checkout
44 ✓ shows the cart summary (812ms)
45 1) applies a promo code
46
47 1 passing (6s)
48 1 failing
49
50 1) Checkout
51 applies a promo code:
52 AssertionError: Timed out retrying after 4000ms: expected '<span[data-test=order-total]>' to have text '$27.00', but the text was '$30.00'
53 at Context.eval (webpack:///./cypress/e2e/checkout.cy.js:22:38)
54
55 (Results)
56 ┌────────────────────────────────────────────────┐
57 │ Tests: 2 │
58 │ Passing: 1 │
59 │ Failing: 1 │
60 └────────────────────────────────────────────────┘
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 cypress/included:13.13.0 ...
5Using Docker executor with image cypress/included:13.13.0 ...
6Using docker image sha256:7d6c5b4a3928 for cypress/included:13.13.0 with digest cypress@sha256:1f2e...
7Preparing environment
8Running on runner-pw6vn3hs-project-90-concurrent-1...
9Fetching changes...
10Checking out 66ee1a4b as detached HEAD...
11Checking cache for npm-e2e-default...
12Successfully extracted cache
13$ npm ci --no-audit --no-fund
14added 388 packages in 8s
15$ npx cypress run --browser chrome
16
17 Running: checkout.cy.js (3 of 5)
18
19 Checkout
20 ✓ shows the cart summary (812ms)
21 1) applies a promo code
22
23 1 passing (6s)
24 1 failing
25
26 1) Checkout
27 applies a promo code:
28 AssertionError: Timed out retrying after 4000ms: expected '<span[data-test=order-total]>' to have text '$27.00', but the text was '$30.00'
29 at Context.eval (webpack:///./cypress/e2e/checkout.cy.js:22:38)
30
31 (Results)
32 ┌────────────────────────────────────────────────┐
33 │ Tests: 2 │
34 │ Passing: 1 │
35 │ Failing: 1 │
36 └────────────────────────────────────────────────┘
37Running after_script
38$ echo "cypress failed, keeping videos"
39cypress failed, keeping videos
40Uploading artifacts for failed job
41Uploading artifacts as "archive" to coordinator... 201 Created
42ERROR: Job failed: exit code 1