Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from microsoft:main #247

Open
wants to merge 649 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
649 commits
Select commit Hold shift + click to select a range
74f5ce5
docs: store parent type reference in documentation.js (#32215)
mxschmitt Aug 19, 2024
010778f
feat(client-certificates): allow passing certificates from memory (#3…
mxschmitt Aug 19, 2024
c87ca05
fix(ct): vue jsx component.update type (#32213)
sand4rt Aug 19, 2024
18694f6
feat(webkit): roll to r2062 (#32147)
playwrightmachine Aug 19, 2024
5271c26
fix(trace viewer): do not serve resources with x-unknown content type…
dgozman Aug 19, 2024
f7e0bd3
feat(ui-mode): add font preview to network tab (#32209)
kubajanik Aug 20, 2024
244761a
chore(docs): Rework CI docs (#31988)
Skn0tt Aug 20, 2024
b599335
chore(ui): enable `react/recommended` lint rules (#32214)
Skn0tt Aug 20, 2024
b4a9b24
fix(role): make sure to ignore style/script/noscript/template (#32231)
dgozman Aug 20, 2024
fc4d8f2
chore: roll codicon (#32234)
pavelfeldman Aug 20, 2024
109cab6
chore: extract recorder dialog into a class (#32233)
pavelfeldman Aug 20, 2024
b66cb6c
docs(evaluate): improve the guide (#32222)
dgozman Aug 21, 2024
6512bcc
docs(best-practises): add note about tsc (#32245)
mxschmitt Aug 21, 2024
918dbe5
chore: start listening for navigation events before navigation starts…
yury-s Aug 21, 2024
837e2a8
docs(browsers): fix typo (#32250)
guillaume-moreau Aug 21, 2024
d5a7495
feat(addInitScript): support cjs modules when passing both `path` and…
dgozman Aug 21, 2024
571f25a
fix(role): hidden pseudos should not contribute to accessible name (#…
dgozman Aug 21, 2024
e3480d1
test: add test for TLS renegotiation and client-certificates (#32252)
mxschmitt Aug 22, 2024
666a8f2
chore: fix api.json serializer for language ports (#32260)
mxschmitt Aug 22, 2024
f74c6d7
chore(driver): roll driver to recent Node.js LTS version (#32264)
playwrightmachine Aug 22, 2024
dc4a8e4
docs(fixtures): explain an option array value edge case (#32261)
dgozman Aug 22, 2024
7758b33
fix(ui mode): make sure that reload does correctly restart the webser…
dgozman Aug 22, 2024
5368fd7
fix(only-changed): exit successfully if there were no changes (#32197)
Skn0tt Aug 22, 2024
16e76cb
fix(client-certificates): errors during http2 TLS handshake (#32258)
mxschmitt Aug 22, 2024
850436c
chore(ui): move TeleSuiteUpdater into testIsomorphic (#32273)
Skn0tt Aug 22, 2024
947fbc8
feat(chromium-tip-of-tree): roll to r1253 (#32266)
playwrightmachine Aug 22, 2024
0b9c036
chore(ui): add test for font preview (#32225)
Skn0tt Aug 22, 2024
3a75f23
fix(addInitScript): require non-undefined arg to trigger commonjs mod…
dgozman Aug 23, 2024
8c0e173
test: rebase modernizer Linux tests (#32268)
mxschmitt Aug 23, 2024
785ca19
fix(webserver): prefix each line of webserver output (#32286)
dgozman Aug 23, 2024
3fb33e7
chore(ui): decouple TestServerConnection from websocket transport (#3…
Skn0tt Aug 23, 2024
9a5b72d
chore: remove `TestInfoImpl._stages` (#32285)
dgozman Aug 23, 2024
1b220c5
chore: remove Chromium Windows proxy hacks (#31724)
mxschmitt Aug 23, 2024
787f20c
chore: fix doclint (#32294)
mxschmitt Aug 23, 2024
0d4d575
test: update Modernizer tests to Safari 18 (#32290)
mxschmitt Aug 23, 2024
8703dd4
feat(webkit): roll to r2063 (#32295)
playwrightmachine Aug 23, 2024
4edc076
chore: load env from playwright.env when running codegen (#32280)
pavelfeldman Aug 23, 2024
37eb66d
chore: extract performAction in recorder (#32279)
pavelfeldman Aug 23, 2024
9d86bc5
fix(dupe): render dupe test error indicator (#32303)
pavelfeldman Aug 23, 2024
abe6c04
chore: remove `noWaitAfter` from selectOption (#32283)
dgozman Aug 23, 2024
54c487c
test: unskip 'should use ipv6 proxy' for Docker
mxschmitt Aug 24, 2024
9c81eab
feat(webkit): roll to r2064 (#32319)
playwrightmachine Aug 26, 2024
1511d86
fix(test runner): expect.poll error reporting should handle non-expec…
Skn0tt Aug 26, 2024
5acd2db
feat(webkit): roll to r2065 (#32322)
playwrightmachine Aug 26, 2024
596f497
fix: don't throw error on about:blank when blocking ServiceWorker (#3…
mxschmitt Aug 26, 2024
5470988
test: update Modernizir expectations (#32308)
mxschmitt Aug 26, 2024
67d3d5f
fix(clock): don't throw for |null| or |undefined| callbacks (#32309)
mxschmitt Aug 26, 2024
3d9342a
chore: update removeAllListeners docs (#32305)
pavelfeldman Aug 26, 2024
4340d15
chore: deprecate locator.frameLocator() (#32306)
pavelfeldman Aug 26, 2024
888a5b5
docs: avoid confustion with incognito mode (#32327)
yury-s Aug 26, 2024
6f55b57
chore: move codegen into its own folder (#32330)
pavelfeldman Aug 26, 2024
177576a
chore: add simple dom util (#32332)
pavelfeldman Aug 26, 2024
3f085d5
chore: remove same-site expectations for old browsers (#32334)
yury-s Aug 27, 2024
bc87467
chore: generate simple dom descriptions in codegen (#32333)
pavelfeldman Aug 27, 2024
a1df110
chore: split recorder into files (#32345)
pavelfeldman Aug 27, 2024
0fd97cb
tests: delete flaky COOP test (#32346)
yury-s Aug 27, 2024
acd2a4d
docs: global beforeEach/beforeAll hooks (#32348)
yury-s Aug 28, 2024
0b5456d
chore: perform action based on frame path (#32347)
pavelfeldman Aug 28, 2024
ec681ca
chore: pass explicit recorder app factory (#32349)
pavelfeldman Aug 28, 2024
d61b207
feat(webkit): roll to r2066 (#32343)
playwrightmachine Aug 28, 2024
5271fe1
chore: remove unused request param from route.continue (#32307)
yury-s Aug 28, 2024
22fe985
docs: add SUPPORT.md (#32362)
yury-s Aug 28, 2024
d8137f2
docs: update snippets to fix typescript errors (#32363)
yury-s Aug 28, 2024
896190e
Revert feat(addInitScript): support cjs modules (#32364)
yury-s Aug 28, 2024
6763d5a
feat(chromium-tip-of-tree): roll to r1254 (#32337)
playwrightmachine Aug 28, 2024
74a8e59
chore: allow recorder rewrite annotations (#32381)
pavelfeldman Aug 29, 2024
0a40862
chore(docs): fix typo (#32372)
Skn0tt Aug 29, 2024
90e7b9e
chore: enforce tags format via typescript types (#32384)
yury-s Aug 29, 2024
ed5c21b
fix(ui): respect --output param (#32351)
Skn0tt Aug 30, 2024
a6b320e
fix(ui-mode): format request body when headers are lower case (#32395)
kubajanik Aug 30, 2024
cf8c14f
feat(html reporter): open html attachments in new tab (#32389)
Skn0tt Sep 2, 2024
3f09d10
fix(test runner): perform shallow clone check in config directory (#3…
Skn0tt Sep 2, 2024
d9016e5
feat(chromium): roll to r1133 (#32391)
playwrightmachine Sep 2, 2024
5c2e996
feat(chromium-tip-of-tree): roll to r1255 (#32376)
playwrightmachine Sep 2, 2024
f62f85b
fix(test runner): fix types to allow calling custom matchers on `expe…
Skn0tt Sep 2, 2024
7318293
chore(deps-dev): bump svelte from 4.2.9 to 4.2.19 (#32398)
dependabot[bot] Sep 2, 2024
d145c4c
feat(webkit): roll to r2067 (#32415)
playwrightmachine Sep 3, 2024
787da9b
docs(mock): fix routeFromHAR() arguments for Java (#32409)
jkvn Sep 3, 2024
b8c4a47
chore(docs): fix APIResponse.headersArray() desc (#32375)
PrzemyslawMalolepszy-TomTom Sep 3, 2024
221b773
feat(webkit): roll to r2068 (#32417)
playwrightmachine Sep 3, 2024
847d29d
feat(webkit): roll to r2069 (#32422)
playwrightmachine Sep 3, 2024
53bf953
chore(deps): bump micromatch from 4.0.5 to 4.0.8 in /packages/playwri…
dependabot[bot] Sep 3, 2024
201bad7
chore(test runner): rebase watch mode onto TestServerConnection (#32156)
Skn0tt Sep 3, 2024
9f466a1
feat(chromium-tip-of-tree): roll to r1256 (#32423)
playwrightmachine Sep 3, 2024
565aed6
Revert "chore: enforce tags format via typescript types (#32384)" (#3…
yury-s Sep 3, 2024
b75483b
Revert "docs: deprecate: Request.serviceWorker() (#32136)" (#32432)
yury-s Sep 3, 2024
446ed72
docs: revert typo (#32433)
pavelfeldman Sep 3, 2024
cfae7f7
chore(test runner): always go through internal reporter (#32426)
dgozman Sep 4, 2024
d7b9cf2
chore: ignore third-party execution contexts (#32437)
yury-s Sep 4, 2024
2fabd15
feat(firefox): roll to r1463 (#32439)
playwrightmachine Sep 4, 2024
b3d767f
fix(trace viewer): fix memory leak (#32379)
Skn0tt Sep 4, 2024
d7393f9
chore: simplify settings management in UI mode (#32440)
dgozman Sep 4, 2024
6063140
chore: make dev server only use public config (#32441)
dgozman Sep 4, 2024
b43915f
chore(deps): bump actions/download-artifact from 3 to 4.1.7 in /.gith…
dependabot[bot] Sep 4, 2024
ee91bdc
feat(ui-mode): display list of query params in request tab (#32443)
kubajanik Sep 4, 2024
a87426e
Update bug.yml
pavelfeldman Sep 4, 2024
9a2c60a
chore: identify largest gaps in Bidi API (#32434)
yury-s Sep 4, 2024
255143e
feat(webkit): roll to r2070 (#32451)
playwrightmachine Sep 4, 2024
9101283
chore: move 'dev-server' extensibility point to plugin (#32448)
dgozman Sep 5, 2024
a8139b5
docs: add release notes for 1.47 (#32463)
Skn0tt Sep 5, 2024
0a49c05
chore(test runner): document that --only-changed on CI needs history …
Skn0tt Sep 5, 2024
0f63611
chore: mark 1.48.0-next (#32466)
Skn0tt Sep 5, 2024
29f1541
chore: roll stable test runner to 1.47 beta (#32469)
Skn0tt Sep 5, 2024
895d017
chore: update browser patches as of July, 25th, 2024 (#32468)
Skn0tt Sep 5, 2024
5127efd
feat(chromium): roll to r1134 (#32470)
playwrightmachine Sep 5, 2024
d4c77ce
chore: make find-related-test-files work through plugins (#32465)
dgozman Sep 5, 2024
1ba3db6
chore: implement clear-cache through plugins (#32471)
dgozman Sep 5, 2024
1989589
docs: update browsers version in release notes (#32475)
yury-s Sep 5, 2024
752b171
chore: support bidi connection to chromium (#32474)
yury-s Sep 5, 2024
f0e1316
chore: split firefox and chromium bidi implementations (#32478)
yury-s Sep 6, 2024
16cef99
chrome: cache tsconfig for folder (#32477)
pavelfeldman Sep 6, 2024
a52eb0c
chore: expose matcherResult on TestError (#32455)
pavelfeldman Sep 6, 2024
5d4a65b
docs: update release notes for 1.47 to our changes from yesterday (#3…
Skn0tt Sep 6, 2024
a8f67a4
docs(dotnet): fix wrong snippets (#32484)
mxschmitt Sep 6, 2024
0e3f473
fix(test runner): always show all projects in selection (#32450)
Skn0tt Sep 6, 2024
ed30320
test: update to android-35 SDK (Android 15) (#32430)
mxschmitt Sep 6, 2024
3fe1263
feat(trace viewer): show Screenshot instead of Snapshot (#32248)
Skn0tt Sep 6, 2024
1402dee
Revert "fix(test runner): align with typescript behaviour for resolvi…
dgozman Sep 6, 2024
d85527e
test: some tests for expected API behavior (#32495)
yury-s Sep 6, 2024
11441c0
fix: add missing await in adoptIfNeeded (#32497)
yury-s Sep 6, 2024
df2bc2d
test: worker interception for existing workers (#32494)
yury-s Sep 6, 2024
a113553
test: allow running oopif test without newBrowserCDPSession (#32496)
yury-s Sep 6, 2024
37bc485
chore: remove browser-specific bidi hacks (#32498)
yury-s Sep 6, 2024
f3ada9c
chore: wheel input in bidi (#32499)
yury-s Sep 7, 2024
718bd9b
devops: run BiDi tests (#32493)
mxschmitt Sep 7, 2024
ae02331
test: fix stress tests bots (#32513)
mxschmitt Sep 9, 2024
31e269a
feat(trace-viewer): show screenshot pointer (#32514)
Skn0tt Sep 9, 2024
cc9c4cd
chore: fix flaky screenshot test (#32517)
Skn0tt Sep 9, 2024
4a53973
docs(ct): vue + jsx and general improvements (#32212)
sand4rt Sep 9, 2024
728083b
chore: allow query as string in Python/.NET (#32516)
mxschmitt Sep 9, 2024
d030965
chore: addInitScript and auth (unsuccessful) in bidi (#32500)
yury-s Sep 9, 2024
363e79e
feat(webkit): roll to r2071 (#32521)
playwrightmachine Sep 9, 2024
4b5422a
fix(ui-mode): use server side path separator (#32523)
mxschmitt Sep 9, 2024
9a313ee
chore: roll expect and move it to third party (#32458)
pavelfeldman Sep 9, 2024
e5d6ee5
chore: merge fetch params on server side (#32518)
mxschmitt Sep 9, 2024
e6c5b60
test: fix project filter test (#32525)
dgozman Sep 9, 2024
6bb005d
fix(test runner): improve error message when not able to parse tsconf…
dgozman Sep 9, 2024
ae11867
fix(test runner): allow directory imports with path mapping (#32491)
dgozman Sep 9, 2024
6d5889a
chore: revert the matcherResult in API (#32524)
pavelfeldman Sep 9, 2024
c8a72d6
chore: run bidi firefox tests on ci (#32527)
yury-s Sep 10, 2024
8995ace
feat(firefox-beta): roll to r1463 (#32529)
playwrightmachine Sep 10, 2024
9fa06be
fix(ct): throw error if inline component is getting mounted (#32531)
mxschmitt Sep 10, 2024
f8562e4
chore: improve error message when Array.toJSON misbehaves (#32508)
ruifigueira Sep 10, 2024
ec40890
fix(tracing): use page swap timestamp to find closest screenshot (#32…
Skn0tt Sep 10, 2024
b5d968f
chore: make ReporterV2 a partial interface (#32532)
dgozman Sep 10, 2024
356517c
chore(test runner): extract LastRunReporter (#32540)
dgozman Sep 10, 2024
a4bd551
docs: TestInfo.titlePath does not include project (#32548)
yury-s Sep 10, 2024
7335fa6
fix(trace viewer): do not show multiple action points in iframes (#32…
dgozman Sep 11, 2024
aaac57b
feat(webkit): roll to r2072 (#32550)
playwrightmachine Sep 11, 2024
1f05145
chore: add bidi test expectations in separate file (#32549)
yury-s Sep 11, 2024
7458c32
fix(test-runner): do not consider retries for maxFailures (#32533)
mxschmitt Sep 11, 2024
6f52834
feat(webkit): roll to r2073 (#32563)
playwrightmachine Sep 11, 2024
29a0f49
chore(test runner): simplify code around running tasks (#32557)
dgozman Sep 11, 2024
a8103ab
chore: incremental bidi expectation update, ff expectations (#32570)
yury-s Sep 11, 2024
1981989
docs: mention variability of media codecs between platforms (#32569)
dgozman Sep 11, 2024
fd1f325
chore: run all tests with bidi by default (#32572)
yury-s Sep 11, 2024
678c454
test: update bidi expectations from recent run (#32574)
yury-s Sep 11, 2024
d1926e2
chore: do not store project name in expectations (#32575)
yury-s Sep 11, 2024
a838e74
devops: move macos runners to public infra (#32586)
mxschmitt Sep 12, 2024
dc5bbbf
devops: remove macos-12 bots (#32587)
mxschmitt Sep 12, 2024
6a0009f
fix(trace-viewer): fix ui issue on network request details (#32553)
morenyang Sep 12, 2024
491678a
docs: release note fixes for 1.47 (#32589)
mxschmitt Sep 12, 2024
b1b33ef
feat(chromium): roll to r1135 (#32591)
playwrightmachine Sep 12, 2024
470b1b4
feat(chromium-tip-of-tree): roll to r1259 (#32588)
playwrightmachine Sep 12, 2024
c9f3eb1
feat(ui): highlight output toggle button if terminal contains error (…
Skn0tt Sep 12, 2024
ef4be6a
feat(test runner): make `expect.extend` immutable (#32366)
Skn0tt Sep 12, 2024
8e82f53
test: unskip various proxy tests (#32595)
mxschmitt Sep 12, 2024
5e086be
chore: freeze ffmpeg on macOS-12 (#32596)
mxschmitt Sep 12, 2024
d051495
chore: perform double click while recording (#32576)
pavelfeldman Sep 12, 2024
de08e72
chore: move recorder trace to action collector (#32597)
pavelfeldman Sep 12, 2024
7e3348e
chore: recorder is trace viewer experiment (#32598)
pavelfeldman Sep 12, 2024
cd4dabe
chore: remove stray codegen signal handling (#32599)
pavelfeldman Sep 12, 2024
48c7fb6
feat(library): accept `FormData` in `fetch` (#32602)
Skn0tt Sep 13, 2024
e3370c9
feat(webkit): roll to r2075 (#32610)
playwrightmachine Sep 13, 2024
9e99c86
chore: unhide merge-reports command (#32605)
mxschmitt Sep 13, 2024
9bb1c86
feat(test runner): don't run tests on --watch start (#32583)
Skn0tt Sep 13, 2024
79cba7d
chore: introduce option overrides on context/browser (#32606)
mxschmitt Sep 13, 2024
b82100a
feat(firefox-beta): roll to r1464 (#32615)
playwrightmachine Sep 13, 2024
5b28d2a
feat(firefox): roll to r1464 (#32614)
playwrightmachine Sep 13, 2024
f2a974b
feat(api): add method to force garbage collection (#32383)
marmphco Sep 13, 2024
34876e9
chore: cookies in intercepted bidi requests (#32623)
yury-s Sep 14, 2024
aeb4d18
feat(tracing): add .pwtrace to trace file extension (#32581)
Skn0tt Sep 14, 2024
c24ad36
docs(docker): fix Docker container permissions (#32621)
mxschmitt Sep 16, 2024
2683572
fix(expect): respect custom message in expect.poll (#32603)
dgozman Sep 16, 2024
762e954
devops: update GitHub Actions (#32634)
mxschmitt Sep 16, 2024
71c4369
feat(reporter): add copy button for annotations (#31790)
anthonycr0 Sep 16, 2024
feac957
feat(webkit): roll to r2077 (#32636)
playwrightmachine Sep 16, 2024
b335b00
docs: add reference to locator strictness if or resolves to multiple …
mxschmitt Sep 16, 2024
21d162c
feat(client-certificates): add support for proxies (#32611)
mxschmitt Sep 16, 2024
ce06a81
feat: make `npx playwright clear-cache` public (#32638)
dgozman Sep 16, 2024
92c6408
fix(recorder): address the react race condition (#32628)
pavelfeldman Sep 16, 2024
6dbde62
chore: simplify signal handling while recording (#32624)
pavelfeldman Sep 16, 2024
2a347b5
chore: support launchPersistentContext with bidi (#32641)
yury-s Sep 17, 2024
3bff7b6
chore: preserve selected trace action in live trace (#32630)
pavelfeldman Sep 17, 2024
47713e8
chore: make recorder tests pass in frozen mode (#32645)
pavelfeldman Sep 17, 2024
b0f15b3
fix(recorder): reattach toolbar if it was unmounted by framework hydr…
Skn0tt Sep 17, 2024
ec2ae1e
feat(watch mode): buffer mode (#32631)
Skn0tt Sep 17, 2024
b23edf5
fix(docs): remove todo in ci intro docs (#32643)
BeeMargarida Sep 17, 2024
f6219e6
Revert "feat(tracing): add .pwtrace to trace file extension" (#32648)
Skn0tt Sep 17, 2024
c216c25
feat(html-reporter): add file name copy button (#32652)
mxschmitt Sep 17, 2024
751b939
feat(fetch): record timings (#32613)
Skn0tt Sep 17, 2024
507e515
chore: remove unused @babel/parser (#32654)
mxschmitt Sep 17, 2024
8761daf
feat(test runner): allow to pass arbitrary location to test.step (#32…
osohyun0224 Sep 17, 2024
f1390cc
chore(har recorder): ensure we respect minimal mode (#32658)
Skn0tt Sep 17, 2024
ad70e7a
fix(trace-viewer): time delta between local and remote actions (#32661)
yury-s Sep 17, 2024
375a1c4
chore: exposeBinding/exposeFunction in bidi (#32669)
yury-s Sep 17, 2024
8b84b20
chore: back-forward in bidi (#32670)
yury-s Sep 17, 2024
4c4d74c
chore: page.screenshot() in bidi (#32671)
yury-s Sep 17, 2024
623b2e6
chore: bump vite dependency 5.0.13->5.4.6 (#32672)
yury-s Sep 18, 2024
355c88f
chore: iterate towards recording into trace (#32646)
pavelfeldman Sep 18, 2024
443f72d
feat(watch): hide show-report prompt (#32666)
Skn0tt Sep 18, 2024
8a97050
feat(har): record `securityDetails` for API Requests (#32664)
Skn0tt Sep 18, 2024
4460c98
fix(har tracing): record `response.bodySize` for API requests (#32656)
Skn0tt Sep 18, 2024
9fc195b
test: update cookie expectations for macOS 15 (#32674)
mxschmitt Sep 18, 2024
4c31a82
feat(trace-viewer): add network requests 'copy as cURL' button (#32627)
mxschmitt Sep 18, 2024
7d4aa0a
feat(chromium-tip-of-tree): roll to r1260 (#32651)
playwrightmachine Sep 18, 2024
825df6c
feat(har): record `serverIPAddress` for API requests (#32660)
Skn0tt Sep 18, 2024
ec3db20
test: fix toolbar hydration test under frozen suite (#32684)
mxschmitt Sep 18, 2024
ddd43d0
feat(webkit): roll to r2078 (#32685)
playwrightmachine Sep 18, 2024
523ec83
chore: move Location type from testReporter.d.ts to test.d.ts (#32687)
mxschmitt Sep 18, 2024
d4eecaf
test: listen always on 127.0.0.1 for client certificate tests (#32677)
mxschmitt Sep 18, 2024
f9d9ad2
feat(locator handler): perform checkpoit during `locator.waitFor` (#3…
dgozman Sep 18, 2024
427eca6
chore: iterate towards recording into trace (2) (#32693)
pavelfeldman Sep 18, 2024
48d3d55
chore(bidi): suppress crash reporter in firefox (#32694)
yury-s Sep 18, 2024
3d306da
chore: roll chromium-bidi (#32696)
yury-s Sep 19, 2024
790dbfd
fix(codegen): use content_frame property in python (#32699)
pavelfeldman Sep 19, 2024
2f4acbb
chore: use contentFrame() as a canonical locator representation (#32697)
pavelfeldman Sep 19, 2024
48030a4
test: fix test expecations after Node.js 22.9.0 (#32695)
mxschmitt Sep 19, 2024
61cbca6
test: fix client-certificate tests (#32691)
mxschmitt Sep 19, 2024
5089d9f
fix(chromium): disable ThirdPartyStoragePartitioning (#32701)
dgozman Sep 19, 2024
e8e72de
feat(chromium): roll to r1136 (#32707)
playwrightmachine Sep 19, 2024
ea284f2
feat(chromium-tip-of-tree): roll to r1261 (#32709)
playwrightmachine Sep 19, 2024
cc302fa
fix(chromium): allow PlzDedicatedWorker (#32711)
dgozman Sep 19, 2024
2b2a57a
chore: enable @babel/plugin-syntax-import-attributes all the time (#3…
mxschmitt Sep 19, 2024
a00e1c9
chore: make recorder tests match order of codegen calls (#32716)
pavelfeldman Sep 19, 2024
01b44ba
chore: remove PWTEST_RECORDER_PORT as it was ignored (#32717)
pavelfeldman Sep 19, 2024
935aa6b
feat(webkit): roll to r2079 (#32720)
playwrightmachine Sep 20, 2024
ace8cb2
fix(test runner): page.pause() should enable debug mode (#32714)
dgozman Sep 20, 2024
cdcaa7f
feat: routeWebSocket (#32675)
dgozman Sep 20, 2024
33890eb
feat(webkit): roll to r2080 (#32721)
playwrightmachine Sep 20, 2024
7cd69be
test: unflake 'should properly synchronize local and remote time' tes…
mxschmitt Sep 20, 2024
5c20f0c
test: pressing tab should trigger blur event (#32719)
yury-s Sep 20, 2024
bef1e99
chore(bidi): run firefox tests against nightly build (#32737)
yury-s Sep 20, 2024
dfb3fdf
chore: iterate towards recording into trace (3) (#32718)
pavelfeldman Sep 20, 2024
418d1c0
chore: allow starting recorder in traceviewer (#32741)
pavelfeldman Sep 20, 2024
17ed944
chore: iterate towards recording into trace (4) (#32743)
pavelfeldman Sep 20, 2024
b3a82be
feat: do not record route calls in the trace (#32723)
dgozman Sep 21, 2024
12ecd47
fix(watch): cancel waitForCommand when files change (#32761)
mxschmitt Sep 23, 2024
9989500
feat(chromium-tip-of-tree): roll to r1262 (#32760)
playwrightmachine Sep 23, 2024
0cdc7ee
chore: extract polling recorder (#32749)
pavelfeldman Sep 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ module.exports = {
sourceType: "module",
},
extends: [
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],

settings: {
react: { version: "18" }
},

/**
* ESLint rules
*
Expand All @@ -30,6 +35,7 @@ module.exports = {
"avoidEscape": true,
"allowTemplateLiterals": true
}],
"jsx-quotes": [2, "prefer-single"],
"no-extra-semi": 2,
"@typescript-eslint/semi": [2],
"comma-style": [2, "last"],
Expand Down Expand Up @@ -123,5 +129,8 @@ module.exports = {
"mustMatch": "Copyright",
"templateFile": require("path").join(__dirname, "utils", "copyright.js"),
}],

// react
"react/react-in-jsx-scope": 0
}
};
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ body:
## Make a minimal reproduction
To file the report, you will need a GitHub repository with a minimal (but complete) example and simple/clear steps on how to reproduce the bug.
The simpler you can make it, the more likely we are to successfully verify and fix the bug. You can create a new project with `npm init playwright@latest new-project` and then add the test code there.
Please make sure you only include the code and the dependencies absolutely necessary for your repro. Due to the security considerations, we can only run the code we trust. Major web frameworks are Ok to use, but smaller convenience libraries are not.
- type: markdown
attributes:
value: |
Expand Down
23 changes: 18 additions & 5 deletions .github/actions/run-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,23 @@ runs:
with:
node-version: ${{ inputs.node-version }}
- uses: ./.github/actions/enable-microphone-access
- run: npm ci
- run: |
echo "::group::npm ci"
npm ci
echo "::endgroup::"
shell: bash
env:
DEBUG: pw:install
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
- run: npm run build
- run: |
echo "::group::npm run build"
npm run build
echo "::endgroup::"
shell: bash
- run: npx playwright install --with-deps ${{ inputs.browsers-to-install }}
- run: |
echo "::group::npx playwright install --with-deps"
npx playwright install --with-deps ${{ inputs.browsers-to-install }}
echo "::endgroup::"
shell: bash
- name: Run tests
if: inputs.shell == 'bash'
Expand All @@ -69,11 +78,15 @@ runs:
client-id: ${{ inputs.flakiness-client-id }}
tenant-id: ${{ inputs.flakiness-tenant-id }}
subscription-id: ${{ inputs.flakiness-subscription-id }}
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
- run: |
echo "::group::./utils/upload_flakiness_dashboard.sh"
./utils/upload_flakiness_dashboard.sh ./test-results/report.json
echo "::endgroup::"
if: ${{ !cancelled() }}
shell: bash
- name: Upload blob report
if: ${{ !cancelled() }}
# We only merge reports for PRs as per .github/workflows/create_test_report.yml.
if: ${{ !cancelled() && github.event_name == 'pull_request' }}
uses: ./.github/actions/upload-blob-report
with:
report_dir: blob-report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_test_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish Test Results
on:
workflow_run:
workflows: ["tests 1", "tests 2"]
workflows: ["tests 1", "tests 2", "tests others"]
types:
- completed
jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
publish-canary:
name: "publish canary NPM"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
if: github.repository == 'microsoft/playwright'
permissions:
id-token: write # This is required for OIDC login (azure/login) to succeed
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/publish_release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ name: "publish release - Docker"

on:
workflow_dispatch:
inputs:
is_release:
required: true
type: boolean
description: "Is this a release image?"

release:
types: [published]

Expand Down Expand Up @@ -45,6 +39,3 @@ jobs:
- name: Login to ACR via OIDC
run: az acr login --name playwright
- run: ./utils/docker/publish_docker.sh stable
if: (github.event_name != 'workflow_dispatch' && !github.event.release.prerelease) || (github.event_name == 'workflow_dispatch' && github.event.inputs.is_release == 'true')
- run: ./utils/docker/publish_docker.sh canary
if: (github.event_name != 'workflow_dispatch' && github.event.release.prerelease) || (github.event_name == 'workflow_dispatch' && github.event.inputs.is_release != 'true')
2 changes: 1 addition & 1 deletion .github/workflows/publish_release_driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
jobs:
publish-driver-release:
name: "publish playwright driver to CDN"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
if: github.repository == 'microsoft/playwright'
permissions:
id-token: write # This is required for OIDC login (azure/login) to succeed
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/tests_bidi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: tests BiDi

on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- .github/workflows/tests_bidi.yml
schedule:
# Run every day at midnight
- cron: '0 0 * * *'

env:
FORCE_COLOR: 1
ELECTRON_SKIP_BINARY_DOWNLOAD: 1

jobs:
test_bidi:
name: BiDi
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
runs-on: ubuntu-24.04
permissions:
id-token: write # This is required for OIDC login (azure/login) to succeed
contents: read # This is required for actions/checkout to succeed
strategy:
fail-fast: false
matrix:
channel: [bidi-chromium, bidi-firefox-nightly]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
- run: npm run build
- run: npx playwright install --with-deps chromium
if: matrix.channel == 'bidi-chromium'
- run: npx -y @puppeteer/browsers install firefox@nightly
if: matrix.channel == 'bidi-firefox-nightly'
- name: Run tests
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run biditest -- --project=${{ matrix.channel }}*
env:
PWTEST_USE_BIDI_EXPECTATIONS: '1'
62 changes: 0 additions & 62 deletions .github/workflows/tests_clock.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/tests_electron.yml

This file was deleted.

Loading