Dmitry Gozman
3e1c72ac5f
fix(reload): do not throw when reload is racing with navigation ( #5113 )
...
When `page.reload()` is racing against the renderer-initiated
navigation, we might end up with `waitForNavigation()` being rejected
before the reload implementation is able to catch it.
To avoid that, carefully use Promise.all and await `waitForNavigation`
from the get go.
Same happens to `page.goForward()` and `page.goBack()`.
2021-01-22 15:58:53 -08:00
Pavel Feldman
109688a066
chore: split playwright.fixtures into files (6) ( #3988 )
2020-09-26 16:05:58 -07:00
Pavel Feldman
0ee9050f1b
chore: split playwright.fixtures into files (4) ( #3985 )
2020-09-26 10:59:27 -07:00
Pavel Feldman
96629304ff
test: make platform a parameter ( #3910 )
2020-09-16 21:36:36 -07:00
Pavel Feldman
f94df318d5
chore: roll test runner to 0.3.9 ( #3847 )
2020-09-11 10:02:07 -07:00
Pavel Feldman
8df1fe47bc
test: explicitly require expect ( #3755 )
2020-09-03 09:43:08 -07:00
Pavel Feldman
175fc52747
test: roll test-runner to 0.2.8 ( #3748 )
2020-09-02 21:43:38 -07:00
Pavel Feldman
97e4561ee1
feat(test): introduce metafunc for skip ( #3676 )
2020-08-28 13:53:47 -07:00
Joel Einbinder
e2057fb8bb
chore(test): run eslint on tests ( #3638 )
2020-08-28 04:20:29 -07:00
Pavel Feldman
db2e66aa76
test: introduce global setup ( #3544 )
2020-08-20 12:51:05 -07:00
Pavel Feldman
86815d70e0
test: convert rename options to parameters, remove options magic ( #3543 )
2020-08-19 21:32:12 -07:00
Pavel Feldman
8989d66bda
test: introduce options ( #3525 )
2020-08-18 23:00:45 -07:00
Pavel Feldman
2f5a0a6c07
test: slowly removing testOptions ( #3464 )
2020-08-14 07:22:54 -07:00
Pavel Feldman
6abc352498
test: remove output and golden directory notions ( #3456 )
2020-08-13 17:32:27 -07:00
Joel Einbinder
6054f14794
chore(tests): convert all tests to typescript ( #3384 )
2020-08-11 15:50:53 -07:00