Dmitry Gozman
e382bb329b
api: remove 'commit' phase, actions to wait until 'domcontentloaded' by default ( #1358 )
2020-03-12 11:20:03 -07:00
Dmitry Gozman
c1ef683373
api: remove waitForLoadState() in favor of PageEvent.page(options) ( #1323 )
2020-03-11 14:46:52 -07:00
Pavel
6b711f57fa
test(webkit): unblock and uncomment sync window.stop test
2020-03-10 15:17:59 -07:00
Pavel Feldman
044f774458
test: unflake should fail when frame detaches
2020-03-10 13:14:35 -07:00
Pavel Feldman
2fa2421894
fix(webkit): fail the 204 navigations ( #1260 )
2020-03-09 11:42:56 -07:00
Pavel Feldman
78bd29d558
fix(click): work around input alignment on chromium ( #1282 )
2020-03-07 08:19:31 -08:00
Pavel Feldman
119df5a985
feat(nowait): allow waitUntil:nowait for actions ( #1264 )
2020-03-06 14:32:15 -08:00
Andrey Lushnikov
8cc7d43a83
tests: disable failing test on chromium
2020-03-06 11:45:13 -08:00
Pavel Feldman
677ebf882f
test: mark "clicking anchor should await navigation" as failing on chromium
2020-03-06 10:54:34 -08:00
Pavel Feldman
f3734c3e86
test: mark "should await navigating specified target" as failing on chromium
2020-03-06 10:44:44 -08:00
Pavel Feldman
2724157c22
feat(waitUntil): allow waiting for navigation from clicks, etc ( #1255 )
2020-03-06 08:24:32 -08:00
Pavel Feldman
c734b4b715
feat(click): start wire auto-waiting click in firefox ( #1233 )
2020-03-05 14:47:04 -08:00
Dmitry Gozman
cd8714d573
tests: skip failing waitForNavigation test in Chromium ( #1248 )
2020-03-05 13:28:45 -08:00
Yury Semikhatsky
aabdac8380
api: remove Page.setCacheEnabled ( #1231 )
2020-03-05 10:09:04 -08:00
Pavel Feldman
11f68bac54
feat(cr, wk): make clicks, input and evaluate await scheduled navigations ( #1200 )
2020-03-04 19:15:01 -08:00
Dmitry Gozman
33f3e5724b
test: skip flaky 'Page.goto extraHttpHeaders should be pushed to provisional page' ( #1203 )
2020-03-03 17:26:58 -08:00
Dmitry Gozman
2ec9e6daa2
test: cleanup some test files ( #1195 )
2020-03-03 15:02:06 -08:00
Pavel
ba06fb2f0d
test: mark some tests as skipped
2020-03-02 14:57:54 -08:00
Andrey Lushnikov
22c28b6615
test(firefox): support loading of file URLs ( #1132 )
...
Fixes #822
2020-02-26 15:02:59 -08:00
Joel Einbinder
568c6cbb54
test(navigation): fix flaky networkidle tests ( #1058 )
...
The network idle tests were waiting for requests to appear on the server, but not for playwright to be notified of the request via protocol. They also assumed performance.now would match up with setTimeout times.
2020-02-19 14:26:02 -08:00
Dmitry Gozman
25022e4685
feat(api): introduce default timeouts on BrowserContext ( #992 )
2020-02-13 14:18:18 -08:00
Dmitry Gozman
fbce2908ad
test: unskip passing Firefox tests ( #966 )
2020-02-12 16:27:45 -08:00
Joel Einbinder
251ad38824
fix(navigations): remove LifecycleWatcher, fix flakes ( #882 )
2020-02-10 18:35:47 -08:00
Joel Einbinder
c03e8b7946
chore(tests): add types for tests ( #915 )
...
I enabled vscode autocomplete in our test files. Typechecking had too many errors to enable, but it caught some real bugs that I will fix in a follow up.
This patch contains:
* `test/types.d.ts` - d.ts file for our test runner.
* `test/tsconfig.json` - typescript project for our tests.
* JSDoc header in all specs to mark the describe as a TestSuite
* Drive-by fix of a launcher test that was using `if` instead of `it`
* Some drive-by fixes of unimpactful typos in tests.
2020-02-10 13:20:13 -08:00
Pavel Feldman
36344dee27
tests: consistently use platform constants ( #899 )
2020-02-07 14:44:05 -08:00
Pavel Feldman
bdf8e39786
feat(goto): assume http:// for localhost navigations ( #825 )
2020-02-04 19:39:52 -08:00
Pavel Feldman
ef1d2fb995
Revert "fix: move offline/cache/interception switches to BrowserContext ( #748 )" ( #793 )
...
This reverts commit 6faf74bc95
.
2020-01-31 16:23:15 -08:00
Yury Semikhatsky
6faf74bc95
fix: move offline/cache/interception switches to BrowserContext ( #748 )
2020-01-29 12:51:14 -08:00
Dmitry Gozman
324874962c
fix(webkit): make frames detect their initial load state ( #690 )
2020-01-28 13:05:38 -08:00
Dmitry Gozman
bb3f12245c
feat(network): ignore favicon requests - these are too unpredictable ( #533 )
2020-01-17 17:14:39 -08:00
Yury Semikhatsky
879ce66f5e
test(webkit): unskip one more navigation test ( #534 )
2020-01-17 17:12:43 -08:00
Dmitry Gozman
057e466a65
fix(api): remove network events for data: urls ( #512 )
2020-01-16 16:58:02 -08:00
Pavel Feldman
6f92d19cdd
test: rebaseline with win32 in mind ( #499 )
2020-01-15 13:40:44 -08:00
Joel Einbinder
29c3a7f021
test: add a failing test for Page.waitForLoadState ( #488 )
2020-01-14 13:54:48 -08:00
Yury Semikhatsky
5fa39dde3f
fix(webkit): use cross-process loader ids ( #486 )
2020-01-14 11:46:08 -08:00
Yury Semikhatsky
ff904d3a61
Revert "fix(webkit): use cross-process loader ids ( #484 )" ( #485 )
...
This reverts commit d341b43023
.
2020-01-14 09:49:49 -08:00
Yury Semikhatsky
d341b43023
fix(webkit): use cross-process loader ids ( #484 )
2020-01-14 09:48:36 -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
Yury Semikhatsky
778ab3deff
chore: replace CHROME with CHROMIUM ( #465 )
2020-01-13 10:13:28 -08:00
Dmitry Gozman
67e4214146
feat(navigation): early return when navigation was canceled by another one ( #459 )
...
Also added related interception tests.
2020-01-10 17:33:07 -08:00
Dmitry Gozman
32edca7395
fix(networkidle): ignore favicons and keep track of requests ( #368 )
...
This counters Firefox not cancelling existing requests on navigation.
2020-01-03 12:59:27 -08:00
Dmitry Gozman
735d3eeed7
feat(navigation): introduce waitForNavigationIfNeeded ( #310 )
...
This one waits for current navigation to finish, matching by url if asked.
If there is no current navigation or current navigation/url does not match,
it waits for the next matching one.
2019-12-20 15:32:30 -08:00
Dmitry Gozman
56a48559c2
fix(setContent): call window.stop() before setting new content ( #323 )
...
This ensures that previous loading activity is suppressed and all network requests are canceled.
2019-12-20 15:30:12 -08:00
Pavel Feldman
9cfa404c87
feat: trim down url matching ( #322 )
2019-12-20 14:38:54 -08:00
Andrey Lushnikov
a7f3490e48
feat(testrunner): implement "dit" command ( #312 )
2019-12-19 16:47:35 -07:00
Dmitry Gozman
7e90292834
fix(networkidle): make it (almost) work with setContent ( #307 )
2019-12-19 15:07:57 -08:00
Dmitry Gozman
3669dad243
feat(urlmatch): support url matching in waitForNavigation ( #300 )
2019-12-18 18:03:02 -08:00
Joel Einbinder
1c2b6444e9
test(webkit): add tests for after cross origin navigations ( #298 )
2019-12-18 17:42:16 -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
Yury Semikhatsky
da051a72a8
fix: strip off hash from request urls ( #297 )
2019-12-18 16:27:20 -08:00