playwright/test
Dmitry Gozman 0586c2554f feat(text selector): normalize whitespace for quoted match (#5049)
This changes quoted text selector like `text="Foo Bar"` to perform
normalized whitespace match.

Most of the time users want to match some string visible on the page,
and that always means normalized whitespace.

We keep the case sensitivity and full-string vs substring difference
between quoted and unquoted matches.
2021-01-19 09:30:34 -08:00
..
__snapshots__ chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
android fix(electron): return a ChromiumBrowserContext for electron (#4913) 2021-01-13 12:08:14 -08:00
assets feat(cli): bring in codegen and tests (#4815) 2020-12-28 14:50:12 -08:00
chromium fix(extensions): do not enable screencast for background pages (#4919) 2021-01-06 15:08:28 -08:00
cli fix(cli): do not extend injected script on same-document navigations (#5002) 2021-01-13 14:25:42 -08:00
electron fix(electron): return a ChromiumBrowserContext for electron (#4913) 2021-01-13 12:08:14 -08:00
firefox chore: roll test fixtures, replace trace w/ video (#4129) 2020-10-13 13:18:36 -07:00
fixtures fix(launchServer): wait for the server to start before taking its address (#4513) 2020-11-23 15:23:31 -08:00
beforeunload.spec.ts feat(chromium): roll Chromium to r823944 (#4341) 2020-11-04 11:20:02 -08:00
browser.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-add-cookies.spec.ts feat(storage): accept path in save/load storage apis (#4714) 2020-12-14 16:03:52 -08:00
browsercontext-basic.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-clearcookies.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-cookies.spec.ts fix(cookies): make filtering by url work with subdomains (#4989) 2021-01-12 15:56:29 -08:00
browsercontext-credentials.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-csp.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-device.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-dsf.spec.ts link: make lint happy 2020-12-02 13:48:44 -08:00
browsercontext-expose-function.spec.ts fix(cli): do not extend injected script on same-document navigations (#5002) 2021-01-13 14:25:42 -08:00
browsercontext-locale.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-page-event.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
browsercontext-proxy.spec.ts test: failing test for firefox per-context proxy credentials (#4790) 2020-12-21 14:39:11 -08:00
browsercontext-route.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-storage-state.spec.ts feat(storage): accept path in save/load storage apis (#4714) 2020-12-14 16:03:52 -08:00
browsercontext-timezone-id.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-user-agent.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
browsercontext-viewport-mobile.spec.ts feat(webkit): bump to 1363 (#4178) 2020-10-19 17:40:25 -07:00
browsercontext-viewport.spec.ts feat(webkit): roll webkit to r1395 (#4550) 2020-12-01 05:26:53 -08:00
browsertype-basic.spec.ts test: fixed executable path test if ran in Docker (#4219) 2020-10-27 00:04:39 -07:00
browsertype-connect.spec.ts feat(cli): bring selector generator into playwright (#4795) 2020-12-23 12:44:47 -08:00
browsertype-launch-server.spec.ts fix(connect): provide an error message when ws endpoint is incorrect (#4978) 2021-01-11 15:53:45 -08:00
browsertype-launch.spec.ts test: unflake some chromium tests (#4521) 2020-11-24 18:14:57 -08:00
capabilities.spec.ts test(chromium): disable webgl2 on headful (#4450) 2020-11-16 16:18:50 -08:00
channels.spec.ts chore: expose adb devices and actions (#4647) 2020-12-09 15:06:57 -08:00
checkCoverage.js feat(firefox): support WebSockets on Firefox (#4289) 2020-10-30 10:34:24 -07:00
chromium-css-coverage.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
chromium-js-coverage.spec.ts fix(debug): do not generate source urls for anonymous scripts (#3691) 2020-11-13 14:47:55 -08:00
coverage.js feat(testrunner): allow unexpected passes (#3665) 2020-08-28 00:32:00 -07:00
css-parser.spec.ts test: remove hacky requires, use imports instead (#4835) 2020-12-28 11:14:33 -08:00
defaultbrowsercontext-1.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
defaultbrowsercontext-2.spec.ts feat(cli): bring selector generator into playwright (#4795) 2020-12-23 12:44:47 -08:00
download.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08:00
downloads-path.spec.ts chore: roll folio to 0.3.11 (#4130) 2020-10-13 22:40:25 -07:00
elementhandle-bounding-box.spec.ts docs: improve boundingBox documentation (#4500) 2020-11-19 13:55:14 -08:00
elementhandle-click.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-content-frame.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-convenience.spec.ts api: add isChecked method (#4953) 2021-01-08 17:36:17 -08:00
elementhandle-eval-on-selector.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-misc.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-owner-frame.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
elementhandle-press.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-query-selector.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-screenshot.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08:00
elementhandle-scroll-into-view.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-select-text.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-type.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
elementhandle-wait-for-element-state.spec.ts api: add isVisible, isHidden, isEnabled, isDisabled and isEditable (#4915) 2021-01-08 12:27:54 -08:00
emulation-focus.spec.ts test(focus): add passing test for focusing more than one page (#4347) 2020-11-04 22:42:35 -08:00
eval-on-selector-all.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
eval-on-selector.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
fixtures.spec.ts test: remove hacky requires, use imports instead (#4835) 2020-12-28 11:14:33 -08:00
fixtures.ts feat(cli): make run-driver work (#4836) 2020-12-28 15:44:24 -08:00
frame-evaluate.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08:00
frame-frame-element.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
frame-goto.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
frame-hierarchy.spec.ts feat(chromium): roll to r828656 (#4503) 2020-11-20 08:10:27 -08:00
geolocation.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
har.spec.ts fix(har): support har in persistent context (#4322) 2020-11-03 11:30:59 -08:00
headful.spec.ts feat(chromium): bump to 844399 (#5044) 2021-01-17 17:28:06 -08:00
http.fixtures.ts feat(proxy): enable per-context http proxy (#4280) 2020-10-29 16:12:30 -07:00
ignorehttpserrors.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
interception.spec.ts fix(chromium): make interception work with dedicated workers (#4658) 2020-12-10 15:04:57 -08:00
jshandle-as-element.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
jshandle-evaluate.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
jshandle-json-value.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
jshandle-properties.spec.ts fix(handles): always create proper handle type (#4879) 2021-01-04 13:54:55 -08:00
jshandle-to-string.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
launcher.spec.ts chore: make generate_types not depend on the source (#5040) 2021-01-17 12:09:20 -08:00
logger.spec.ts chore: roll test fixtures, replace trace w/ video (#4129) 2020-10-13 13:18:36 -07:00
page-accessibility.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-add-init-script.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-add-script-tag.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-add-style-tag.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-autowaiting-basic.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-autowaiting-no-hang.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-basic.spec.ts test: co-locate beforeunload tests (#4313) 2020-11-02 17:29:35 -08:00
page-check.spec.ts api: add isChecked method (#4953) 2021-01-08 17:36:17 -08:00
page-click-react.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-scroll.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-timeout-1.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-timeout-2.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-timeout-3.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click-timeout-4.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-click.spec.ts fix(scroll): scroll from under the sticky header (#4641) 2020-12-16 15:29:42 -08:00
page-close.spec.ts feat(webkit): bump to 1378 (#4338) 2020-11-04 11:00:25 -08:00
page-dialog.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-dispatchevent.spec.ts feat(cli): bring selector generator into playwright (#4795) 2020-12-23 12:44:47 -08:00
page-drag.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-emulate-media.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-evaluate-handle.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-evaluate.spec.ts chore(webpack): minify injected sources (#4946) 2021-01-08 16:15:05 -08:00
page-event-console.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-event-crash.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08:00
page-event-network.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-event-pageerror.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-event-popup.spec.ts test: fixed failing test on video bot (#4747) 2020-12-18 14:46:12 -08:00
page-event-request.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-expose-function.spec.ts fix(handles): always create proper handle type (#4879) 2021-01-04 13:54:55 -08:00
page-fill.spec.ts fix(fill): allow filling more input types (#4563) 2020-12-02 14:43:41 -08:00
page-focus.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-goto.spec.ts test: remove the flaky test we are not going to fix (#4527) 2020-11-25 11:32:33 -08:00
page-history.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
page-keyboard.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-mouse.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-navigation.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-network-idle.spec.ts feat(firefox): roll Firefox to r1203 (#4365) 2020-11-05 23:17:27 -08:00
page-network-request.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-network-response.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-request-continue.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-request-fulfill.spec.ts test(network): add failing test for Set-Cookie in fulfill (#4988) 2021-01-12 15:56:12 -08:00
page-route.spec.ts chore(eslint): add rule no-unused-expressions (#4848) 2020-12-29 09:59:35 -08:00
page-screenshot.spec.ts fix: throw if quality=0 is passed for png screenshot (#4812) 2020-12-23 09:53:14 -08:00
page-select-option.spec.ts fix(selectors): make selectOptions work for labels (#4402) 2020-11-11 15:33:23 -08:00
page-set-content.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-set-extra-http-headers.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-set-input-files.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-wait-for-function.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-wait-for-load-state.spec.ts test: fixed failing test on video bot (#4747) 2020-12-18 14:46:12 -08:00
page-wait-for-navigation.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-wait-for-request.spec.ts fix(webkit): support utf-8 characters in postData, bump to 1407 (#4744) 2020-12-17 18:09:06 -08:00
page-wait-for-response.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
page-wait-for-selector-1.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
page-wait-for-selector-2.spec.ts chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00
pdf.spec.ts test: roll test runner to 0.9.20 (#4062) 2020-10-05 17:03:24 -07:00
permissions.spec.ts chore: split playwright.fixtures into files (6) (#3988) 2020-09-26 16:05:58 -07:00
playwright.fixtures.ts api(videos): introduce a single recordVideo option bag (#4309) 2020-11-02 19:42:05 -08:00
popup.spec.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
proxy.spec.ts feat(proxy): enable per-context http proxy (#4280) 2020-10-29 16:12:30 -07:00
queryselector.spec.ts chore: remove selectorsV2Enabled switch (#4880) 2021-01-04 15:32:31 -08:00
remoteServer.fixture.ts fix(launchServer): wait for the server to start before taking its address (#4513) 2020-11-23 15:23:31 -08:00
resource-timing.spec.ts chore: fix lint after #4517 (#4518) 2020-11-24 06:50:40 -08:00
run_static_server.js test: convert rename options to parameters, remove options magic (#3543) 2020-08-19 21:32:12 -07:00
screencast.spec.ts test: update screencast test to actually require red color (#4745) 2021-01-05 20:31:50 -08:00
selector-generator.spec.ts test: remove hacky requires, use imports instead (#4835) 2020-12-28 11:14:33 -08:00
selectors-css.spec.ts test: add test for multiple arguments in :has() (#5047) 2021-01-18 20:40:13 -08:00
selectors-misc.spec.ts docs: rename proximity selectors to position selectors (#4975) 2021-01-11 18:25:41 -08:00
selectors-register.spec.ts feat(cli): bring selector generator into playwright (#4795) 2020-12-23 12:44:47 -08:00
selectors-text.spec.ts feat(text selector): normalize whitespace for quoted match (#5049) 2021-01-19 09:30:34 -08:00
slowmo.spec.ts chore: add websocket connection mode (#4510) 2020-11-20 15:19:39 -08:00
tap.spec.ts test(tap): unflake chromium headful tap tests (#4431) 2020-11-16 10:14:37 -08:00
trace.spec.ts chore: cleanup code that is not used by cli anymore (#5005) 2021-01-13 17:02:53 -08:00
tsconfig.json feat(testrunner): delete types.d.ts (#3551) 2020-08-21 09:53:02 -07:00
utils.ts chore: split playwright.fixtures into files (4) (#3985) 2020-09-26 10:59:27 -07:00
web-socket.spec.ts test: unflake some web socket tests (#4673) 2020-12-10 15:01:30 -08:00
workers.spec.ts feat(firefox): bump to 1205 (#4386) 2020-11-09 16:16:10 -08:00