Commit Graph

11103 Commits

Author SHA1 Message Date
Playwright Service
b01525f809
cherry-pick(#26508): docs: blob reporter options (#26545)
This PR cherry-picks the following commits:

- 4f9bf63259
2023-08-18 11:00:06 -07:00
Max Schmitt
60696ef493
chore: mark 1.37.1 (#26530) 2023-08-17 22:17:39 +02:00
Pavel Feldman
4f2528535f cherry-pick(#26503): chore: fix .only in dependent tests 2023-08-16 13:40:05 -07:00
Playwright Service
0d5e6245ba
cherry-pick(#26475): docs: terminate img tag (#26476)
This PR cherry-picks the following commits:

- 6e51b95e2c

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-14 16:19:37 -07:00
Playwright Service
f1597577b5
cherry-pick(#26473): docs(merge): add screenshot, print url, fix name (#26474)
This PR cherry-picks the following commits:

- f75295224a

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-14 15:43:24 -07:00
Playwright Service
ca975a92eb
cherry-pick(#26465): docs(test-sharding): fix GitHub workflow snippets (#26468)
This PR cherry-picks the following commits:

- 373a149a23

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-14 16:11:56 +02:00
Playwright Service
35c63d9f32
cherry-pick(#26466): docs(release-notes): fix supported OSes table (#26467)
This PR cherry-picks the following commits:

- 5d875141c1

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-14 16:00:41 +02:00
Playwright Service
cdc21bbb7b
cherry-pick(#26439): docs: language release notes (#26442)
This PR cherry-picks the following commits:

- c888e299e0

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-14 11:34:33 +02:00
Playwright Service
1112e897b0
cherry-pick(#26436): docs(release-notes): add 1.37 video (#26438)
This PR cherry-picks the following commits:

- 2fa2d4756a

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-11 20:37:32 +02:00
Andrey Lushnikov
2c9e02a800
chore: mark 1.37.0 (#26410) 2023-08-10 15:35:25 -07:00
Andrey Lushnikov
37ba0b657d cherry-pick(#26411): docs: add release notes for js v1.37 2023-08-10 23:49:35 +02:00
Yury Semikhatsky
9a5172e6c1
cherry-pick(#26413): fix(merge): allow reports with same name as input (#26417) 2023-08-10 14:08:01 -07:00
Playwright Service
eed73de573
cherry-pick(#26400): feat(chromium): roll to r1076 (#26403)
This PR cherry-picks the following commits:

- 167165d179

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-10 16:18:39 +02:00
Pavel Feldman
7999841a19 cherry-pick(#26390): chore: allow merging defineConfig 2023-08-09 17:25:13 -07:00
Yury Semikhatsky
56b22fa0b1
cherry-pick(#26380): devops(merge): authorize service principal by us… (#26384)
…ing a client secret

Pass all credentials via environment variable as described on [this
page](https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-authorize-azure-active-directory#authorize-a-service-principal-by-using-a-client-secret-1)
instead of using `azcopy login`.
2023-08-09 15:31:08 -07:00
Yury Semikhatsky
421bffb7d7
cherry-pick(#26382): docs(merge): use azcopy for uploads (#26383) 2023-08-09 12:17:57 -07:00
Yury Semikhatsky
ff0aef37f8
devops: use azcopy for better upload performance (#26360)
The credentials are created with 
`az ad sp create-for-rbac --name "playwright-github-actions" --role
"Storage Blob Data Contributor" --scopes /subscriptions/<subscription
id>/resourceGroups/<resource
group>/providers/Microsoft.Storage/storageAccounts/<storage account>`

We cannot use `azure/login@v1` for login as it does not see to properly
propagate credentials to `azcopy` in the next step (there are some
reports about keyring problems on linux based actions).
2023-08-08 22:50:36 -07:00
Pavel Feldman
65ac0d5256
chore: add k8s grid deployments (#26359) 2023-08-08 18:46:32 -07:00
Andrey Lushnikov
ffd6cf60eb
fix: eliminate race in compilation cache (#26353)
Fixes https://github.com/microsoft/playwright/issues/24569
2023-08-08 15:09:20 -07:00
Yury Semikhatsky
44f9b10ff2
docs: clarify --config option (#26356) 2023-08-08 14:47:27 -07:00
Yury Semikhatsky
bc2c7946bb
fix: do not throw when merging into blob report (#26355)
We cannot import a Symbol to isomorphic code from config. Instead,
__projectId property is used.
2023-08-08 14:47:12 -07:00
Yury Semikhatsky
0f0045be94
docs: shard numbers in yaml (#26336) 2023-08-08 11:09:43 -07:00
Yury Semikhatsky
8fcb6383ce
chore(blob): store playwright user agent (#26337) 2023-08-08 10:39:48 -07:00
Yury Semikhatsky
0e20d352cf
chore(merge): read test events from one file at a time (#26333)
Reference https://github.com/microsoft/playwright/issues/24451
2023-08-07 17:39:32 -07:00
Yury Semikhatsky
7f1f62795d
chore(blob): add dash to report name (#26335)
This regressed in #25017
2023-08-07 17:22:31 -07:00
Yury Semikhatsky
7516d6a914
chore: roll stable runner to Aug 7 (#26334) 2023-08-07 16:27:08 -07:00
Dmitry Gozman
9509c300e4
fix(reuse): make sure newly created page is not "server-side-only" (#26332)
This page is going to be the "page for reuse", so it should not be
marked as "server-side-only" and should issue all required events.

Fixes #24574.
2023-08-07 16:26:30 -07:00
Dmitry Gozman
90c765d31c
chore(blob): split onBegin into multiple onProject events (#26329) 2023-08-07 14:33:18 -07:00
Dmitry Gozman
27c15b705d
fix(blob): replace projectSuffix with reportName (#25017)
Always ensure unique project/test ids across blobs.
Show `reportName` as a label in the html report.

References #24451.
2023-08-07 13:38:09 -07:00
Max Schmitt
1383844af8
docs: make --grep more clear (#26324)
Fixes https://github.com/microsoft/playwright/issues/24604
2023-08-07 17:40:30 +02:00
Playwright Service
bddd4eadad
feat(webkit): roll to r1883 (#26318)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-07 16:09:37 +02:00
Andrey Lushnikov
fa8f3f6454
fix: use snapshotPath instead of expectedPath for image diffs (#24567)
This opens a road to the "accept new screenshot" button in
Playwright tools.

References https://github.com/microsoft/playwright/issues/24310
2023-08-07 04:42:35 -07:00
Marcin Strzyz
53fd4bedb4
chore: ensure the file operations are async in the junit reporter (#24577) 2023-08-07 10:03:01 +02:00
Yury Semikhatsky
a0211924d3
devops: upload blob reports for headed and transport tests (#26313)
This will add another (3*4 + 2)*3k = 42k tests to the combined report
and should give us 100k+ tests in total per report.
2023-08-06 11:10:12 -07:00
Yury Semikhatsky
3eb59b873a
chore: roll stable test runner to Aug 6 (#26310) 2023-08-06 09:56:36 -07:00
Yury Semikhatsky
f1f43c9ad1
chore(merger): internalize json strings after parse (#25801)
Reference: https://github.com/microsoft/playwright/issues/24451
2023-08-05 13:17:39 -07:00
Pavel Feldman
414a4c3ef0
chore: pass color through in web server commands (#24619) 2023-08-05 09:01:27 -07:00
Pavel Feldman
120de62798
chore(grid): add command line options (#24802) 2023-08-04 18:08:50 -07:00
Pavel Feldman
ed83d04d3e chore: install deps for grid tests (3) 2023-08-04 18:05:32 -07:00
Pavel Feldman
1fdb8bdbe4 chore: install deps for grid tests (2) 2023-08-04 16:41:41 -07:00
Pavel Feldman
fda578c14d chore: install deps for grid tests 2023-08-04 16:22:43 -07:00
Yury Semikhatsky
6c3142959d
fix(blob): store startTime as a number (#24620)
Turns out the Date objects have noticeable footprint on large suites and
storing them as umber is much cheaper, e.g.:


![image](https://github.com/microsoft/playwright/assets/9798949/539028d0-3ef8-46f7-be2b-752f24604d18)
2023-08-04 16:06:23 -07:00
Pavel Feldman
aba6964bd1
chore: add grid tests (#24617) 2023-08-04 14:59:48 -07:00
Dmitry Gozman
1d4919cea4
docs: encourage using fill instead of type (#24616)
References #24614.
2023-08-04 14:19:57 -07:00
Yury Semikhatsky
d62493f925
chore: intern test ids and abs paths (#24618)
Created named classes for TeleTestStep and TeleTestResult which makes it
easier to analyze in heap snapshot. Also changing `titlePath` from a
closure to a method on TeleTestStep saved ~100Mb out of 2300Mb.

Intern test ids and absolute paths which showed up a lot of duplicate
strings in heap snapshot.

Clear stepMap after processing onTestEnd.
2023-08-04 14:10:06 -07:00
Ben McCann
6ebee33857
chore: prefer import over require (#24568) 2023-08-04 13:21:41 -07:00
Pavel Feldman
8fde110c61
chore: allow web server w/o waiting (#24609) 2023-08-04 12:05:16 -07:00
Pavel Feldman
b3ce913551
Revert "chore: allow calling spawnSync on Node.js file inside test" (#24611)
Reverts microsoft/playwright#24539
2023-08-04 09:01:38 -07:00
Pavel Feldman
6731f5b6d5
chore: grid placeholder (#24598) 2023-08-04 08:38:07 -07:00
Max Schmitt
1afa9d44fb
docs(debug): remove incorrect console APIs (#24602)
This got accidentally added in
54f7141877.

Fixes https://github.com/microsoft/playwright/issues/24562
2023-08-04 17:35:59 +02:00