Andrey Lushnikov
0ded511d0b
feat(testrunner): better matchers ( #1077 )
...
This patch re-implements matching and reporting for test runner.
Among other improvements:
- test failures now show a short snippet from test
- test failures now explicitly say what received and what was expected
- `expect.toBe()` now does text diff when gets strings as input
- `expect.toEqual` now does object diff
2020-02-20 22:55:39 -08:00
Andrey Lushnikov
bfaf191c98
test: add missing tests ( #965 )
...
Chromium tests on Linux now call all our API methods and events at least once!
2020-02-12 16:13:48 -08:00
Pavel Feldman
4d84e35096
fix(upload): detect mime type from file extension ( #911 )
2020-02-10 10:08:51 -08:00
Yury Semikhatsky
b64604c1ea
chore: replace pptr with pw ( #643 )
2020-01-24 16:15:41 -08:00
Dmitry Gozman
82057ac610
test: make api coverage checker work ( #517 )
2020-01-16 17:46:50 -08:00
Dmitry Gozman
b388722777
chore: update top-level api ( #479 )
...
```
require('playwright').chromium.launch(...)
window.playwrightweb.chromium.connect(...)
```
2020-01-13 17:36:46 -08:00
Joel Einbinder
0ea6e19b09
fix(test): failing ci tests ( #478 )
...
disables some failing Firefox tests
Moves newContext error checking before the context is created, to not create zombie contexts
sets CI timeout to 30 seconds
waits for `exit` instead of `close` for processes
2020-01-13 17:16:05 -08:00
Andrey Lushnikov
98bf9ac1d5
fix(testrunner): return correct exit code ( #474 )
2020-01-13 15:30:16 -08:00
Dmitry Gozman
c77fd5e6cb
feat(pw-web): generate playwright/web.js which can be used in the browser ( #455 )
2020-01-10 16:03:10 -08:00
Andrey Lushnikov
8cc682c7b8
feat(testrunner): allow focusing all tests in a file
...
With this change, exporting a "fdescribe" function from a file
will focus all tests inside the file.
2019-12-18 17:13:39 -08:00
Andrey Lushnikov
44b39bad33
fix(testrunner): show maximum 10 skipped tests in test report
...
This is to save some terminal screen real estate.
Drive-by: remove async test suites from test runner.
2019-12-18 14:33:46 -08:00
Dmitry Gozman
d378a8d3fc
chore: reuse processLauncher between browsers ( #231 )
...
Drive-by: improve test runner to always exit and kill browsers
2019-12-12 17:52:13 -08:00
Pavel Feldman
f37d9bfe95
test: extract chromium-specific connect tests
2019-12-10 13:28:50 -08:00
Pavel Feldman
508c1960dd
chore: unify emulateMedia APIs ( #53 )
2019-11-22 11:24:56 -08:00
Pavel Feldman
f9a89eb313
chore: split vendor APIs ( #38 )
2019-11-20 15:16:57 -08:00
Pavel Feldman
9ba375c063
Initial commit
2019-11-19 10:58:15 -08:00