Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'playwright/' changes from 8f0163f3f4..e7f0635c17
e7f0635c17 cherry-pick(#29692): docs: better addLocatorHandler example in release notes (#29697) 8709a3a24b cherry-pick(#29687): chore: fix docs roll for functions without args follow-up (#29688) aa9f6fb718 cherry-pick(#29669): chore: strengthen linting (#29674) f5899c1556 chore: set version to 1.42.0 (#29671) 77e1b02552 docs: 1.42 release notes (#29666) c1421bc9f2 docs: typescript compiler invocation before tests (#29667) bd8d044433 feat(uimode) uses relative paths to establish websocket connection (#29617) 56028269bb devops: add a hint how to create a repro (#29665) 015a1bcc1c feat(ct): double unmounting component throws error (#29650) 303d7fdac9 chore(ct): vue resolve internal type errors (#29649) 7e502e91b2 fix(ct): solid pass children when they are defined (#29648) 7eb910a652 chore: enable eslint for js (#29639) c5af51c59d docs(intro): fix grammar mistake in docs (#29659) 9a38aedf09 feat(firefox): roll to r1440 (#29643) 6b5e273b6d chore: reuse test server wire for reporter events (#29640) 8d9c67ac5d chore(test runner): do not nest fixture setups inside each other, similar to teardown (#29619) d7c4ee901a test: enable localhost proxy tests on webkit mac, unless bypass rules are set (#29641) 4d868f6ba8 fix(ct-react+ct-react17): only pass `children` to `React.createElement` when they are defined (#29592) 034b550810 feat(firefox-beta): roll to r1440 (#29637) a3aea813bc chore: implement server-based list files (#29633) 2ca45ff948 chore: use test server as a singleton (#29630) ee93136132 chore: streamline config loader (#29627) adccd39b01 docs(dotnet): type specific addLocatorHandler handler (#29586) ac0787d0c8 chore: expose find related files over test server (#29604) 92b1b16041 chore: update browser patches to Jan 9 2024 (#29623) 50e7d8ca7a feat(chromium-tip-of-tree): roll to r1195 (#29588) 85df43520e feat(chromium): roll to r1105 (#29613) fde5db4eb8 feat(webkit): roll to r1983 (#29615) 5ca8e17a2d fix: resend overridden headers on redirect without merging (#29605) e846afeb98 docs(python): Clarify Pytest v.s. Library on Python intro page (#29590) 82b17bdda1 chore: mark server-related fixture options as such (#29602) ba72f7e429 chore: an iteration on test server (#29589) 7c9ca0c7ef feat(chromium): roll to r1104 (#29595) a023cd1f57 fix(output): clear output before global setup (#29584) b811df4ac1 fix(fixtures): attribute teardown step to the right TestInfo instance (#29523) 9a1e0a8ff7 docs: custom reporter path in --reporter option (#29585) f9aebda5db fix(fixtures): attribute teardown step to the right TestInfo instance (#29523) 6c8d81d957 chore(deps): bump ip from 2.0.0 to 2.0.1 in /packages/playwright-core/bundles/utils (#29583) 6494bb30a0 JUnit codegen (#29424) 3f46ba0680 docs(auth): Fix double use of `JSON.stringify` in Session storage example (#29554) 593feea166 fix: use addEventListener instead of onmessage in portTransport.ts (#29581) d573c515a3 chore: add test server stub (#29568) 84fefdaac6 fix(console-api): locator filter with hasText (#29563) 023ef97c49 feat(webkit): roll to r1982 (#29570) e06f7a881d feat(webkit): roll to r1981 (#29567) a99652b0d9 chore: remove clearCompilationCache, do not push cache it into loader… (#29548) 31bd58f8f3 chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#29533) ce8cda006e feat(webkit): roll to r1980 (#29540) 7b59932b45 docs(contributing): update required node version (#29547) f414227ed8 chore(test runner): make FixturePool.registrations private (#29539) ce55cdffb8 fix: update path to cli.js in run-driver-win.cmd (#29538) f3fde992eb chore: remove --project-grep, add wildcard support (#29537) 043c5aaffb chore: follow up to web socket util extraction (#29536) 4f1d8cdd63 chore: hide test server related cli commands (#29532) 269a293ba1 chore(test runner): allow TestInfoImpl without a TestCase (#29534) dbf0b25146 chore(test runner): do not rely on zones for fixture steps (#29519) 05e6b5b5c7 test: unflake electron tests (#29520) dc9cddde95 chore: do not rely on zones for predefined steps (#29485) 08afb34c14 chore(test runner): make timeout error an Error (#29515) bd5403dcad chore: remove `--tag` and `tagFilter` (#29468) fb48bfcbe6 Revert "devops: auto close questions (#29513)" bc2d4302f5 test: fix a broken reporter test (#29514) 09d0a099a2 devops: auto close questions (#29513) b11b118e02 feat(chromium): expose parameters to generate outline / tagged PDF (#29494) a3d62acbdd feat(chromium): roll to r1103 (#29506) 2be5e97a29 feat(chromium-tip-of-tree): roll to r1194 (#29507) edc1c13f31 docs: locator handler type should be Runnable in java (#29503) 93a2c00a1d docs(webServer): add missing options (#29490) ce5d970929 docs: make sure to await route.* methods (#29489) 918c26fa02 docs(other-locators): hide css:light selector engine (#29491) 593bf35eb7 feat(webkit): roll to r1979 (#29493) 217c0618df chore: rename find-related-tests to find-related-test-files (#29483) 2693614c7a Revert "fix(chromium): best effort 304 status on reload (#29373)" (#29481) 2550ba3396 Update test-fixtures-js.md (#29283) 7aef5249d8 chore: pass the private data to the runner via config (#29467) 8fca4c86aa test: make Android/WebView2 bots green (#29477) ff4191335d feat(chromium-tip-of-tree): roll to r1193 (#29473) e14ded7af3 fix(ct): svelte export MountResult (#29385) 30557ed28c fix(electron): stalling on delayed process close (#29431) f605a5009b fix(esmLoader): do not serialize the whole compilation cache after each import (#29464) b947639d3a fix(ct): fix component.d.ts core types (#29463) fe81790221 fix(accessibility): firefox with aria-invalid element (#29462) 498b8bb269 fix(tracing): do not serialise out-of-process Buffers (#29425) b15a7076dc test: unskip 'msedge' tests (#29456) 7834beb932 chore: extract --project-grep option for matching with regex (#29445) 586d14f02c chore: add find-related-tests command (#29439) f0244b8a76 chore: rename handleLocator to addLocatorHandler (#29443) 61b88a851d fix(merge): blobs before tags API (#29438) abd8502490 devops: do not publish sha-X Docker images (#29433) 7a86bf4af6 chore: delete store.ts (#29423) 7f81c6e138 feat(ct): allow clearing cached build and test transformations (#29410) 32a1d49729 feat(webkit): roll to r1978 (#29421) 61955e55b1 fix(handleLocator): address API review feedback (#29412) a131843c59 feat(chromium-tip-of-tree): roll to r1192 (#29416) 03659e1d2d feat(chromium): roll to r1102 (#29415) 84dea09cb9 fix(ct): resolve components used in tests during the vite build (#29407) 3abd7c808e fix(connectOverCDP): send custom headers in /json/version request (#29408) 6b37a706db chore(codegen): disable multiple locators choice in UI (#29409) 3331a40647 feat(test runner): tags/annotations (#29248) 58f580dbde feat(chromium-tip-of-tree): roll to r1191 (#29401) bb380691f0 docs: reference GitHub actions/checkout@v4 and actions/setup-node@v4 (#29392) 9e285ce919 docs: do not call custom expect message an "error message" (#29390) 721d84f17a fix(har): do not throw on -1 status code (#29371) 18ce0fa370 fix(trace viewer): replace blue dot with red dot+warning (#29380) cfefac74ab feat(webkit): roll to r1977 (#29377) 20699c36ba chore: simplify types handling in toHaveScreenshot (#29374) fb29d90052 docs: remove overloads from test.* APIs (#29376) 286adf3af3 chore(ct): export MountResult (#29375) 17bc8f9a15 fix(chromium): best effort 304 status on reload (#29373) 4bafe71eb1 chore: unconflict ct test ports (#29332) 5f5e058e96 fix(fixtures): tear down base fixture after error in derived (#29337) 8c007fd3fc fix(toHaveScreenshot): stylePath as first arg (#29372) 57d841ffae test: vendor 'proxy' dependency (#29370) 47f8ba2a04 feat(electron): expose ElectronApplication console events (#29322) 2690e4c827 devops: fix Android tests (#29335) bf31f2865f chore: disable blank issue templates (#29368) 36eed69fe2 docs(emulation): fix incorrect code snippet for using JavaScriptEnabled (#29333) 79e379fc11 chore: do not set metadata.error for expect failure results (#29310) dd0ef72cd8 feat(tsconfig): respect tsconfig references (#29330) b9565ea26e chore(test runner): refactor beforeAll/afterAll hooks and modifiers (#29309) a6e0af6767 feat: parse projects option as RegExp (#29327) 85e4589a90 Update feature.yml 9e383c8b19 feat(webkit): roll to r1976 (#29326) 7d64ca4c54 fix(trace viewer): correctly trim locations on Windows (#29321) ab95aabec5 feat(webkit): roll to r1975 (#29320) 9ed344a765 feat(webkit): roll to r1974 (#29319) e69f159f43 devops: fix roll into PR action (#29318) fcd3c7b523 Revert "fix(ct): resolve paths before detecting JS" (#29312) eb8cbbbf62 fix(ct): resolve paths before detecting JS (#29308) d56a50245b chore: Jest-inspired GitHub templates (thanks Jest!) (#29303) 08729cd2e6 fix(recorder): reference Language enum for recorderTypes (#29294) b88a008a87 feat(codegen): slider support (#29087) 020a39860d chore: polish network panel highlight (#29299) 4784139bb0 fix(test): do not allow mixing tests from different types (#29284) a89dbe3813 devops: custom blob report name for test runner tests (#29280) cf6549687c fix(trace viewer): reveal error location when it comes from the test (#29268) 80189c9daf feat(chromium-tip-of-tree): roll to r1190 (#29291) b32a539470 feat(chromium): roll to r1101 (#29290) 7cb886ce07 fix(codegen): refresh overlay listeners upon documentElement change (#29277) b5082e10fd fix: do not retry missing snapshot errors (#29272) ad0be80717 feat(webkit): roll to r1973 (#29274) 622153db18 Revert "chore: remove fake `error` from expect calls (#28112)" (#29271) 15a20259b9 feat(webkit): roll to r1972 (#29269) 0f8d619012 docs(dotnet): add docs for SetDefaultExpectTimeout (#29259) aff6cf3c83 chore: extract ws server util (#29247) aeafd44726 chore: strip Authorization header on ws redirect (#29246) be6ab76c04 docs: add CLI documentation for `--no-deps` (#29235) 4c0db7ba78 feat(firefox-beta): roll to r1439 (#29243) 7b440d48f7 feat(chromium-tip-of-tree): roll to r1189 (#29244) 082d4d5552 feat(firefox): roll to r1439 (#29242) 4affcdef71 devops: run tests on macOS 14 (#29241) 289127d523 docs: fix python mock docs (#29230) 14f94fcff5 fix: python mock doc Missing (#29187) 13550b7329 fix: add new line before sourceURL (#29199) ad6e40538a fix(electron): make sure user arguments go first (#29204) 82f40d0802 docs: Add Warning about Github Annotations (#29202) c85308d717 chore: remove deprecated debug controller events (#29203) e9a8fc944c fix: Add support for exif jpeg file formats (#29208) 3e2d5b2800 docs: add an example of how to use "+" key as part of a shortcut (#29221) 4df4054f19 feat(driver): add option to strip out lone surrogates (#29179) f4b8ff9c95 fix: don't use git status for workspace consistency (#29224) 1db4e2effb devops: bump GitHub Actions workflow actions (#29219) cf70a01836 test: should serialize storageState with lone surrogates (#29089) acc72c2663 fix(codegen): assertValue works with disabled input (#29205) 36ebdfb441 fix: provisional fix for Trace Viewer source 404 (#29192) 5ee7179b13 fix(test runner): make TestTracing responsible for trace management (#29181) 32034728ad test: request overrides and routeFromHar (#29200) 82981a8091 fix: interception id not found error in route.continue (#29180) 12a9a308f8 chore: replace "node.js" mention in shared docs (#29119) f741f08b3b test: fix itest (follow up to #28932) 0113e8455b fix: make TeleSuite.project work for all suites (#29177) 85c42939b1 devops: do not use broken overwrite: true for uploads (#29160) 4c4789c740 chore: validate deps during install (#28932) 6a14b1dc51 chore: automatically detect the dev server (#29176) 24ff2e2bad chore: provisional fix for win install test failure (#29175) b5e175e6e2 fix: tolerate wrongly-typed annotations (#29162) f7fb1e4d4e chore(ct): use sticky test server if available (#29136) f5de6e5538 feat(codegen): generate multiple selectors to choose from (#29154) bc83d7084c fix(chromium): emulate navigator.userAgentData along with UA (#29159) 129f5bfdbe feat(chromium): roll to r1100 (#29167) 6a04ed6a1e feat(chromium-tip-of-tree): roll to r1188 (#29169) f49426b006 docs: update browsers when updating playwright (#29128) 86c881f206 feat(chromium-tip-of-tree): roll to r1187 (#29153) ba8d141de8 chore: drop Ubuntu 18.04 (#29145) d50479a76f devops: switch to ISO date string for Canary versions (#29142) 0752f0202f docs: teardown examples (#29134) ea855e232e docs: update note on filtering dependent projects (#29135) 9cd2916623 docs: add a new fruit when mocking response (#29137) cec2ff1772 chore: split cli processing into cli endpoint and program (#29131) 1ce3ca25a2 chore(role): cache element list by role (#29130) 8898a537e0 chore: extract a dev variation of the ct plugin (#29126) 8e607d509f fix(recorder): disallow external imports (#29129) 5bc5056a1f chore(role): cache pseudo content calculation (#29115) 41c15cb176 chore: move vite root dir into template folder (#29081) d89ed88679 docs: do not recommend PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD anymore (#29121) 3e2d7fe7e7 feat(chromium): roll to r1099 (#29120) 9b974e0026 chore: speedup frequent element text normalization (#29113) fbf87ef904 fix: test.fail wrapper method (#29112) b2de9bc865 fix: mock safari.pushNotification (#29107) db00aa7305 fix: remove unused TestInfo.stdout/stderr (#29076) 4e877f270d feat(webkit): roll to r1970 (#29103) c3566d259f chore: better error messages when stable channel installations fail on Windows (#29077) 4b0e55abda devops: make sure uploaded reports always contain directory (#29080) c635fc9a19 chore(deps): bump vite from 5.0.11 to 5.0.12 (#29078) d7958ba4ad chore: quote path only if contains whitespaces (#29079) d61f99034a fix(ct-react): do not reset mount hooks upon update (#29072) f3fac6f4e9 feat: `page.handleLocator` that closes any interstitial pages/dialogs (#29029) 71a48c2562 chore: migrate ct to vite5 (#29033) 54c57fdebe chore(ct): revert export mount result (#29070) e551506c9e Revert "feat(codegen): add range input recording support (#28767)" (#29069) 674988c633 chore: add quotes to the path only when necessary (#29057) 6a15d43539 docs: rename example env var (#29061) 057b0dd0ab feat(firefox-beta): roll to r1438 (#29063) 4010940315 chore: move off babel proposals to plugins (#29053) b7d22b64e8 feat(merge): prepend bot name to global errors (#29055) c76f5294ce fix: quote trace file path when printing error message (#29052) 4a45724633 fix: open 0.0.0.0 as localhost (#29054) b5e766e99e chore: remove unused ncp dependency (#29043) 84cf633c92 feat(chromium-tip-of-tree): roll to r1186 (#29044) 7d7198c055 feat(webkit): roll to r1969 (#29050) 03815b9eb1 chore: migrate to Node 18 lockFileVersion 3 (#29051) a217d6a08d docs: fix typo for stylePath (#29034) ee3960529e fix(ct): allow passing date, url, bigint as properties (#29031) 2328b83af7 test: add a props.children test (#29026) 300a0127de Revert "feat(trace): allow Trace Viewer to include credentials when fetching traces cross-origin (#28502)" (#29024) c82919859c chore: add an image import component test (#29016) 0fa85143a0 docs: add missing imports (#29014) 1db18711a2 fix(ct): move import list into the compilation cache data (#28986) e6d51cf7bd chore: refactor actionability check to go through node-side retry (#28982) a3c38bc1f9 devops: merge paginated results when downloading blobs (#29013) d023829dd5 fix(locator parser): allow escaped quotes in the digest function (#29012) 9b657b54fb fix(launcher): unregister global process handlers when all browser are closed (#29011) 775ef30e43 fix(test runner): make TestCase.id not depend on the path separator (#29010) ab7d1b5e53 feat(webkit): roll to r1968 (#29009) 7e6072583b docs(docker): various enhancements (#28994) 7721f910b2 chore: roll stable-test-runner to 1.41.0-beta-1705101589000 (#28993) 25ec071277 feat(chromium-tip-of-tree): roll to r1185 (#29003) 4c0a972b69 feat(expect): Make toPass's option configurable by TestConfig (#28231) bbe26dbdbb chore: build import registry source (#28978) 92ad1b385c chore: refactor import processing in ct (#28975) f2ebc53f18 chore: mark version 1.42.0-next (#28973) REVERT: 8f0163f3f4 chore: mark 1.41.1 (#29075) REVERT: 98a661824d cherry-pick(#29069): Revert "feat(codegen): add range input recording support (#28767)" (#29074) REVERT: 50f1f08e9c cherry-pick(#29070): chore(ct): revert export mount result REVERT: e5d201b459 cherry-pick(#29031): fix(ct): allow passing date, url, bigint as properties REVERT: 8ee2d81143 cherry-pick(#29026): test: add a props.children test REVERT: 50a8e4f52a cherry-pick(#29016): chore: add an image import component test REVERT: cb6c64cc33 cherry-pick(#28986): fix(ct): move import list into the compilation cache data REVERT: 06518b2091 cherry-pick(#28978): chore: build import registry source REVERT: d47ed6a076 cherry-pick(#28975): chore: refactor import processing in ct REVERT: 4d9f923dfe cherry-pick(#29034): docs: fix typo for stylePath (#29035) REVERT: ece2a97702 Revert "feat(trace): allow Trace Viewer to include credentials when fetching traces cross-origin (#28502)" (#29024) REVERT: 38d699f64f chore: mark 1.41.0 (#29007) git-subtree-dir: playwright git-subtree-split: e7f0635c17ac5c178b0960cb35f849edd3cf69ef
- Loading branch information