playwright/packages/playwright-test/src/matchers
Dmitry Gozman ce2c0c59a7
feat(expect): show expect timeout in the error message (#10388)
Makes it easier to understand that expect does indeed have a separate timeout.

```
    Error: expect(received).toHaveCount(expected) // deep equality

    Expected: 0
    Received: 1

    Call log:
      - expect.toHaveCount with timeout 500ms
      - waiting for selector "span"
      -   selector resolved to 1 element
      -   unexpected value "1"
      -   selector resolved to 1 element
      -   unexpected value "1"
      -   selector resolved to 1 element
      -   unexpected value "1"
```
2021-11-17 17:28:30 -08:00
..
golden.ts chore: move diff_match_patch into the test package (#9475) 2021-10-13 13:38:26 -07:00
matchers.ts docs(python): enable web-first assertions (#10390) 2021-11-18 00:46:30 +01:00
toBeTruthy.ts chore: make web-first matchers work outside of pw tests (#9624) 2021-10-19 14:46:56 -07:00
toEqual.ts chore: make web-first matchers work outside of pw tests (#9624) 2021-10-19 14:46:56 -07:00
toMatchSnapshot.ts fix(snapshots): --update-snapshots + retries should work (#9799) 2021-10-26 13:50:16 -07:00
toMatchText.ts feat(expect): show expect timeout in the error message (#10388) 2021-11-17 17:28:30 -08:00