playwright/packages
Dmitry Gozman cdb862767f
fix(page): "load" event should fire before "waitForLoadState" resolves (#14897)
Currently, `loadstate` and `load` are two separate events in the protocol,
and are fired in this order. As a result, `waitForLoadState()` sometimes
resolves before the `'load'` event is fired, which is unexpected.

Also fixes a flaky test that assumed `load` event comes after `domcontentloaded`
for the empty page, which is not always a case in Chromium.
2022-06-16 09:35:53 -07:00
..
html-reporter fix(types): follow up to react 18 changes (#14671) 2022-06-06 21:05:47 -07:00
playwright fix(ts): export types explicitly (#14428) 2022-05-26 13:09:32 -07:00
playwright-chromium fix(ts): export types explicitly (#14428) 2022-05-26 13:09:32 -07:00
playwright-core fix(page): "load" event should fire before "waitForLoadState" resolves (#14897) 2022-06-16 09:35:53 -07:00
playwright-ct-react fix(ct): return locator to root for fragments (#14639) 2022-06-04 14:07:06 -07:00
playwright-ct-svelte fix(ct): return locator to root for fragments (#14639) 2022-06-04 14:07:06 -07:00
playwright-ct-vue fix(ct): return locator to root for fragments (#14639) 2022-06-04 14:07:06 -07:00
playwright-ct-vue2 fix(ct): return locator to root for fragments (#14639) 2022-06-04 14:07:06 -07:00
playwright-firefox fix(ts): export types explicitly (#14428) 2022-05-26 13:09:32 -07:00
playwright-test fix(ct): relax react import pattern (#14896) 2022-06-15 16:14:45 -07:00
playwright-webkit fix(ts): export types explicitly (#14428) 2022-05-26 13:09:32 -07:00
recorder fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
trace-viewer fix(types): follow up to react 18 changes (#14671) 2022-06-06 21:05:47 -07:00
web fix(types): follow up to react 18 changes (#14671) 2022-06-06 21:05:47 -07:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00