playwright/tests/page
Dmitry Gozman b575c0e2e6
fix(actions): do not throw evaluate protocol errors from actions (#8997)
When using `evaluate` or `evaluateHandle` internally during actions
like `click`, we can sometimes get protocol errors if page
navigates. In this case, we throw the protocol error right away.

Instead, we can treat such a protocol error similar to "detached"
error and retry in the new execution context.
2021-09-17 22:18:00 -07:00
..
elementhandle-screenshot.spec.ts-snapshots test: roll to folio@0.4.0-alpha28 (#6918) 2021-06-04 20:54:58 -07:00
locator-misc-2.spec.ts-snapshots test: fix some failing locators tests (#7989) 2021-08-04 23:36:27 +02:00
page-request-fulfill.spec.ts-snapshots test: roll to folio@0.4.0-alpha28 (#6918) 2021-06-04 20:54:58 -07:00
page-screenshot.spec.ts-snapshots test: roll to folio@0.4.0-alpha28 (#6918) 2021-06-04 20:54:58 -07:00
elementhandle-bounding-box.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
elementhandle-click.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
elementhandle-content-frame.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
elementhandle-convenience.spec.ts fix(isVisible): do not throw when element is not connected (#8012) 2021-08-05 21:10:33 +02:00
elementhandle-eval-on-selector.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
elementhandle-misc.spec.ts feat(api): introduce setChecked convenience method (#8525) 2021-08-29 20:00:40 -07:00
elementhandle-owner-frame.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
elementhandle-press.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
elementhandle-query-selector.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
elementhandle-screenshot.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
elementhandle-scroll-into-view.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
elementhandle-select-text.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
elementhandle-type.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
elementhandle-wait-for-element-state.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
eval-on-selector-all.spec.ts chore: do not use Array.from in injected script (#6876) 2021-06-03 15:10:02 -07:00
eval-on-selector.spec.ts chore: roll test-runner to 1.13.0-next-1625774143000 (#7519) 2021-07-08 23:36:11 -07:00
frame-evaluate.spec.ts chore(evaluate): remove private _evaluateInUtility methods (#6815) 2021-06-01 08:36:16 -07:00
frame-frame-element.spec.ts fix: fix method elementHandle.frameElement() for framesets (#6468) 2021-05-08 21:25:12 -07:00
frame-goto.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
frame-hierarchy.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
interception.spec.ts test: add a glob test (#6911) 2021-06-04 13:33:45 -07:00
jshandle-as-element.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
jshandle-evaluate.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
jshandle-json-value.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
jshandle-properties.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
jshandle-to-string.spec.ts feat(trace-viewer): show remote object previews in console (#8024) 2021-08-06 11:37:36 -07:00
locator-click.spec.ts chore: move locators to strict selectors (#7866) 2021-07-27 15:27:36 -07:00
locator-convenience.spec.ts feat(trace-viewer): show remote object previews in console (#8024) 2021-08-06 11:37:36 -07:00
locator-element-handle.spec.ts chore: move locators to strict selectors (#7866) 2021-07-27 15:27:36 -07:00
locator-evaluate.spec.ts feat(locator): implement element locators (#7808) 2021-07-22 21:37:20 -07:00
locator-misc-1.spec.ts feat(api): introduce setChecked convenience method (#8525) 2021-08-29 20:00:40 -07:00
locator-misc-2.spec.ts test: fix some failing locators tests (#7989) 2021-08-04 23:36:27 +02:00
locator-query.spec.ts feat(nth): make nth and visible selectors public (#8142) 2021-08-11 11:06:09 -07:00
network-post-data.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
page-accessibility.spec.ts feat(chromium): roll to r916288 (#8551) 2021-08-30 19:51:06 +02:00
page-add-init-script.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-add-script-tag.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
page-add-style-tag.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-autowaiting-basic.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-autowaiting-no-hang.spec.ts test: properly disable electron test (#6839) 2021-06-01 23:09:07 -07:00
page-basic.spec.ts chore: remove isContextDestroyedError heuristic (#8456) 2021-08-26 18:44:49 -07:00
page-check.spec.ts fix(check): allow checking/unchecking role=radio elements (#8821) 2021-09-09 16:01:21 -07:00
page-click-react.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-click-scroll.spec.ts test(webkit): disbale page-click-scroll test for WPE (#7627) 2021-07-14 20:52:04 -07:00
page-click-timeout-1.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-click-timeout-2.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-click-timeout-3.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-click-timeout-4.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-click.spec.ts fix(actions): do not throw evaluate protocol errors from actions (#8997) 2021-09-17 22:18:00 -07:00
page-close.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-dialog.spec.ts test: add a tracing bot that collects a trace for most contexts (#8316) 2021-08-19 19:09:19 -07:00
page-dispatchevent.spec.ts chore: roll test-runner to 1.13.0-next-1625774143000 (#7519) 2021-07-08 23:36:11 -07:00
page-drag.spec.ts feat(drag): sourcePosition and targetPosition (#7803) 2021-08-03 13:12:34 -04:00
page-emulate-media.spec.ts feat(firefox): roll to r1291 (#8704) 2021-09-06 13:36:10 +02:00
page-evaluate-handle.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-evaluate-no-stall.spec.ts test: unflake two tests (#7115) 2021-06-14 16:01:18 -07:00
page-evaluate.spec.ts chore: roll test-runner to 1.13.0-next-1625774143000 (#7519) 2021-07-08 23:36:11 -07:00
page-event-console.spec.ts feat(webkit): bump to 1534 (#8451) 2021-08-25 14:27:49 -07:00
page-event-crash.spec.ts chore: remove isContextDestroyedError heuristic (#8456) 2021-08-26 18:44:49 -07:00
page-event-network.spec.ts test: speculative fix for redirect event order (#8602) 2021-08-31 17:48:39 -07:00
page-event-pageerror.spec.ts feat(trace-viewer): render console messages (#7418) 2021-07-01 14:31:20 -07:00
page-event-popup.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
page-event-request.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-expose-function.spec.ts fix(recorder): move recorder scripts into the main world (#8761) 2021-09-08 14:27:05 -07:00
page-fill.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
page-focus.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
page-goto.spec.ts test(goto): add failing load event test for webkit (#8809) 2021-09-09 12:42:46 -07:00
page-history.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-keyboard.spec.ts fix(tracing): collect apiName for mouse/keyboard/touchscreen (#8755) 2021-09-07 13:48:30 -07:00
page-mouse.spec.ts fix(webkit): proper value for event.buttons (#7680) 2021-07-16 13:06:00 -05:00
page-navigation.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-network-idle.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-network-request.spec.ts chore: fix headers api again (#8854) 2021-09-11 13:27:00 -07:00
page-network-response.spec.ts tests: mark win32/webkit cookie multivalue test as failing 2021-09-13 20:13:25 -07:00
page-network-sizes.spec.ts fix(sizes): responseBodySize on CR & WK macOS (#8846) 2021-09-10 23:19:34 +02:00
page-request-continue.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-request-fulfill.spec.ts feat(fetch): introduce FetchRequest.dispose, fulfill with global fetch (#8945) 2021-09-15 14:02:55 -07:00
page-request-intercept.spec.ts chore: fix headers api again (#8854) 2021-09-11 13:27:00 -07:00
page-route.spec.ts fix: do not dedup header values (#8998) 2021-09-17 17:19:13 -07:00
page-screenshot.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
page-select-option.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-set-content.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-set-extra-http-headers.spec.ts fix: do not dedup header values (#8998) 2021-09-17 17:19:13 -07:00
page-set-input-files.spec.ts test: unskip iframe test on firefox (#8546) 2021-08-30 02:49:25 -07:00
page-strict.spec.ts feat(strict): list ambiguous matches when throwing strict exception (#8449) 2021-08-25 14:51:03 -07:00
page-wait-for-function.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-wait-for-load-state.spec.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
page-wait-for-navigation.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-wait-for-request.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
page-wait-for-response.spec.ts test: unflake sync predicate test (#6654) 2021-05-19 09:05:32 -07:00
page-wait-for-selector-1.spec.ts fix: add log entry if selector resolves to multiple elements on click (#7623) 2021-07-15 22:06:08 +02:00
page-wait-for-selector-2.spec.ts fix(waitForSelector): retry when context is gone during node adoption (#6851) 2021-06-02 20:17:24 -07:00
page-wait-for-url.spec.ts chore: remove hard-coded wrapApi names (#7347) 2021-06-28 13:27:38 -07:00
pageTest.ts chore: bring in folio source (#6923) 2021-06-06 17:09:53 -07:00
queryselector.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
selectors-css.spec.ts chore: BFS nodes, simplify querying (#7861) 2021-07-27 12:53:12 -07:00
selectors-misc.spec.ts feat(nth): make nth and visible selectors public (#8142) 2021-08-11 11:06:09 -07:00
selectors-react.spec.ts fix(react-vue): support nested trees (#8467) 2021-08-26 03:07:33 -07:00
selectors-text.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
selectors-vue.spec.ts fix(react-vue): support nested trees (#8467) 2021-08-26 03:07:33 -07:00
wheel.spec.ts feat(mouse): page.mouse.wheel (#8690) 2021-09-14 15:22:52 -04:00
workers.spec.ts chore: remove isContextDestroyedError heuristic (#8456) 2021-08-26 18:44:49 -07:00