playwright/packages/playwright
Simon Knott 1511d8643e
fix(test runner): expect.poll error reporting should handle non-expect errors (#32257)
Closes https://github.com/microsoft/playwright/issues/32256

We were expecting all errors to be of type `ExpectError`, but apparently
`expect` propagates rejections in the polling functions right through.
So we also need to handle that case.

I wonder if we have more cases of this. Would it make sense to enable
`useUnknownInCatchVariables` in TypeScript?
2024-08-26 09:39:25 +02:00
..
bundles chore: fix build warnings (#31616) 2024-07-11 14:12:59 +02:00
src fix(test runner): expect.poll error reporting should handle non-expect errors (#32257) 2024-08-26 09:39:25 +02:00
types feat(client-certificates): allow passing certificates from memory (#32210) 2024-08-19 09:24:32 +02:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
.npmignore chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
cli.js chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.mjs chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
jsx-runtime.js fix: pass key attribute from jsx to component test (#30426) 2024-04-26 09:49:44 -07:00
jsx-runtime.mjs chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
package.json chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
test.d.ts chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
test.js chore: remove manual __esModule override (#28935) 2024-01-10 16:28:08 -08:00
test.mjs fix: merge{Tests,Expects} via ESM imports (#27630) 2023-10-17 00:09:44 +02:00
ThirdPartyNotices.txt chore: bump @types/node and chokidar (#31527) 2024-07-03 09:40:37 +02:00