playwright/docs/src/test-reporter-api/class-testerror-matcherresult.md
2024-09-05 21:36:51 -07:00

640 B

class: TestErrorMatcherResult

  • since: v1.48
  • langs: js

Matcher-specific details for the error thrown during the expect call.

property: TestErrorMatcherResult.actual

  • since: v1.48
  • type: ?<[unknown]>

Actual value.

property: TestErrorMatcherResult.expected

  • since: v1.48
  • type: ?<[unknown]>

Expected value.

property: TestErrorMatcherResult.name

  • since: v1.48
  • type: ?<[string]>

Matcher name.

property: TestErrorMatcherResult.pass

  • since: v1.48
  • type: <[string]>

Whether the matcher passed.

property: TestErrorMatcherResult.timeout

  • since: v1.48
  • type: ?<[int]>

Timeout that was used during matching.