playwright/tests/library
Dmitry Gozman 6e1c94b5fe
fix(click): allow clicking inside closed shadow root (#16900)
Although Playwright selectors do not pierce closed shadow roots,
one can still obtain a reference to an element inside a closed shadow root:
- through `page.evaluate()`;
- through `handle.$()` where `handle` is inside the shadow root;
- through `frame.locator()` by choosing an iframe that belongs
  to a closed shadow root.

In this case, `click()` action fails during the hit check test,
but it's possible to make it work by going bottom up from the target
rather than top down from the document.
2022-09-06 17:55:15 -07:00
..
chromium test: unflake "should work with newBrowserCDPSession" (#16765) 2022-08-23 10:25:28 -07:00
emulation-focus.spec.ts-snapshots feat(webkit): roll to r1674 (#15384) 2022-07-08 11:07:06 -07:00
firefox chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
inspector feat(codegen): add NUnit/MSTest (#16803) 2022-08-25 11:58:58 +02:00
screenshot.spec.ts-snapshots feat(webkit): roll to r1674 (#15384) 2022-07-08 11:07:06 -07:00
beforeunload.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browser.spec.ts feat(browser): add Browser.BrowserType() method (#14468) 2022-06-06 09:46:08 -07:00
browsercontext-add-cookies.spec.ts feat(firefox): roll Firefox stable to 103 (#16224) 2022-08-03 16:55:19 -07:00
browsercontext-add-init-script.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-base-url.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-basic.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-clearcookies.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-cookies.spec.ts fix(firefox): disable cookie partitioning (#17051) 2022-09-02 15:46:03 -07:00
browsercontext-credentials.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-csp.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-device.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-dsf.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
browsercontext-expose-function.spec.ts chore: migrate component testing to server-side page reuse (#15477) 2022-07-12 14:30:24 -07:00
browsercontext-fetch.spec.ts fix: accept post data for GET and HEAD http methods (#17008) 2022-09-01 08:36:08 -07:00
browsercontext-har.spec.ts test: unskip working Android tests (#16171) 2022-08-02 22:51:10 +02:00
browsercontext-locale.spec.ts feat(webkit): roll to r1658 (#14709) 2022-06-08 10:16:49 -07:00
browsercontext-network-event.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-page-event.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
browsercontext-pages.spec.ts feat(webkit): roll to r1703 (#16604) 2022-08-17 17:13:00 -07:00
browsercontext-proxy.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-route.spec.ts fix(route): match against updated url while chaining (#15112) 2022-06-24 10:48:16 -07:00
browsercontext-service-worker-policy.spec.ts feat: add allow/block serviceWorkers option (#14714) 2022-06-08 18:27:51 -04:00
browsercontext-set-extra-http-headers.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-storage-state.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-strict.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-timezone-id.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-user-agent.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-viewport-mobile.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-viewport.spec.ts tests(fixit): garden win/webkit/input tests (#14721) 2022-06-08 14:13:39 -08:00
browsertype-basic.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsertype-connect.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
browsertype-launch-selenium.spec.ts chore: make tests pass on Node.js 17+ (#13678) 2022-04-22 13:42:52 +02:00
browsertype-launch-server.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsertype-launch.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
capabilities.spec.ts tests: mark certain tests as failing on Firefox Headed (#14286) 2022-05-19 09:06:31 -07:00
channels.spec.ts chore: reparent network back to context (#17023) 2022-09-05 10:19:44 +02:00
component-parser.spec.ts chore: relax transpilation criteria to allow ems imports of .vue files (#15592) 2022-07-13 16:11:38 -07:00
css-parser.spec.ts chore: use utils via index export (6) (#13417) 2022-04-07 21:48:41 -07:00
defaultbrowsercontext-1.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
defaultbrowsercontext-2.spec.ts feat(webkit): add forced colors media query override (#16654) 2022-08-19 14:19:54 +02:00
download.spec.ts feat(firefox): roll ff to 1350, beta to 1353 (#17006) 2022-09-02 08:35:29 -07:00
downloads-path.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
emulation-focus.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
favicon.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
geolocation.spec.ts test: unflake a few tests (#15959) 2022-07-27 11:27:53 -07:00
global-fetch-cookie.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
global-fetch.spec.ts chore: add CI to default user agent (#15450) 2022-07-07 21:43:47 +02:00
har.spec.ts fix(har): record request overrides to har (#17027) 2022-09-04 10:52:20 -07:00
headful.spec.ts feat(firefox): roll Firefox stable to 103 (#16224) 2022-08-03 16:55:19 -07:00
hit-target.spec.ts fix(click): allow clicking inside closed shadow root (#16900) 2022-09-06 17:55:15 -07:00
ignorehttpserrors.spec.ts fix: emit load/domcontentloaded events as reported by the browser (#16861) 2022-08-26 13:48:05 -07:00
launcher.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
logger.spec.ts chore: experimental resetForReuse (#15432) 2022-07-11 13:10:08 -07:00
modernizr.spec.ts test: update macos 12 test expectations (#16223) 2022-08-03 14:51:11 -07:00
pdf.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
permissions.spec.ts feat(chromium): roll to r1008 (#14448) 2022-05-30 15:04:05 +02:00
playwright.config.ts test: stress runners (#15078) 2022-06-23 15:55:12 -07:00
popup.spec.ts test: unskip viewport size test (#15268) 2022-06-30 15:58:11 +02:00
port-forwarding-server.spec.ts feat(reuse): retain different browser types when reusing (#16269) 2022-08-04 15:04:00 -07:00
proxy.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
resource-timing.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
role-utils.spec.ts test: split accname, fix select preventing context closure 2022-06-09 13:58:22 -07:00
screenshot.spec.ts fix: throw clear message when requested screenshot is too large (#17025) 2022-09-01 18:15:49 -07:00
selector-generator.spec.ts fix(codegen): use name attribute for frame elements (#14609) 2022-06-02 21:14:01 -07:00
selectors-register.spec.ts fix(selectors): allow custom engines in out-of-process (#17139) 2022-09-06 14:15:53 -07:00
signals.spec.ts test: run "should remove temp dir on process.exit" on windows (#13568) 2022-04-14 16:07:03 -07:00
slowmo.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
snapshotter.spec.ts feat(innerloop): allow reusing browsers over the remote connection (#16065) 2022-07-31 14:31:17 -07:00
tap.spec.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
trace-viewer.spec.ts fix(har): record request overrides to har (#17027) 2022-09-04 10:52:20 -07:00
tracing.spec.ts test: enhance tracing tests to cover edge cases (#15709) 2022-07-15 13:31:58 -07:00
video.spec.ts test: mark driver mode as remote (#15402) 2022-07-06 09:20:07 -07:00
web-socket.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00