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
Max Schmitt
ec6d692e2e
docs: change :::tip to :::note ( #24610 )
...
Fixes https://github.com/microsoft/playwright/issues/24551
2023-08-04 17:35:51 +02:00
Playwright Service
dfea18b588
feat(chromium): roll to r1075 ( #24605 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-04 15:20:52 +02:00
Yury Semikhatsky
4494137814
devops: unique report names ( #24596 )
2023-08-03 15:34:40 -07:00
Yury Semikhatsky
8b18722181
chore: drop run_attempt from github artifact name ( #24594 )
2023-08-03 15:34:23 -07:00
Yury Semikhatsky
d57a3bad39
devops: blob report is already zipped ( #24595 )
2023-08-03 15:31:39 -07:00
Yury Semikhatsky
9575867f1c
fix(blob): throw if blob report has newer version than the merger ( #24593 )
2023-08-03 15:11:34 -07:00
Max Schmitt
2193903d03
chore: allow calling spawnSync on Node.js file inside test ( #24539 )
...
Fixes https://github.com/microsoft/playwright/issues/24516
Relates https://github.com/microsoft/playwright/pull/16733
2023-08-04 00:03:14 +02:00
Yury Semikhatsky
8e2f33673b
chore(blob): change file name to report{-suffix}{-shard}.zip ( #24592 )
2023-08-03 13:23:30 -07:00
Andrey Lushnikov
be1e8e061e
docs: minor changes to the merge-reports
documentation ( #24585 )
2023-08-03 10:17:01 -07:00
Playwright Service
b4c9f5ab89
feat(webkit): roll to r1882 ( #24584 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-03 17:40:54 +02:00
Yury Semikhatsky
a867e738db
chore(merge): console status updates ( #24559 )
2023-08-02 14:49:06 -07:00
Max Schmitt
b0473b71cd
chore: limit docs snippet length to 100 ( #24563 )
2023-08-02 11:23:47 +02:00
Yury Semikhatsky
f5d069541d
chore(blob): add version to metadata ( #24556 )
2023-08-01 16:06:06 -07:00
Dmitry Gozman
29e63d1deb
docs: update sharding doc ( #24558 )
2023-08-01 16:03:36 -07:00
Yury Semikhatsky
8da37b364b
chore(blob): zip output directory by default ( #24536 )
...
Changed the logic to add attachment to the zip in onEnd rather than
onTestEnd because attachment files can be deleted if e.g. preserveOutput
option is specified. Instead we add files once all workers have been
shut down. On a simple run with 1000 tests each adding 1Mb attachment
the overall time difference is 49s (streaming attachments) v 1m9s
(attachments added in the end).
2023-08-01 15:21:23 -07:00
Debbie O'Brien
f6d63f7c99
docs: update example test assertion ( #24554 )
...
uses different assertion to make test visually better when using trace
viewer etc and is more realistic example
2023-08-01 22:04:04 +02:00
Yury Semikhatsky
ce341ae5b5
docs: clarify setContent semantics ( #24553 )
...
Fixes https://github.com/microsoft/playwright/issues/24503
2023-08-01 11:45:58 -07:00
Playwright Service
9d5d2c60bb
feat(firefox-beta): roll to r1422 ( #24533 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-01 04:28:30 -07:00
Dmitry Gozman
578e8e01b7
docs: improve auto-retrying vs generic assertions ( #24528 )
...
Fixes #24460 .
2023-07-31 20:20:27 -07:00
Sander
7c5d73a3c3
feat(ct): vue type safe mount props ( #23151 )
2023-07-31 17:45:34 -07:00
Sander
98cba15938
feat(ct): vue2 type safe mount props ( #23194 )
2023-07-31 17:44:43 -07:00
Playwright Service
dc5e201611
feat(firefox): roll to r1422 ( #24531 )
...
Fixes https://github.com/microsoft/playwright/issues/24132
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-31 17:10:22 -07:00
Pavel Feldman
009f9994df
fix(html): mobile layout for filters ( #24506 )
2023-07-31 16:54:07 -07:00
Playwright Service
77b1ec4a53
feat(webkit): roll to r1881 ( #24521 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-31 23:31:35 +02:00
Dmitry Gozman
57ab732fb8
chore: support npm run build -- --sourcemap
( #24529 )
2023-07-31 13:53:28 -07:00
Yury Semikhatsky
786cb4019d
docs: sharding and merging reports ( #24338 )
2023-07-31 11:50:57 -07:00
Pavel Feldman
744eb6823f
chore: fix s2 mode ( #24525 )
2023-07-31 11:24:04 -07:00
Andrey Lushnikov
f135b5f7a8
fix: make sure monotonicTime()
value is reasonable ( #24518 )
...
https://github.com/microsoft/playwright/issues/24432
2023-07-31 09:42:08 -07:00
Dmitry Gozman
d92fe16b76
fix(blob report): default location relative to package.json ( #24481 )
...
Also:
- remove `blob-report` directory at the start;
- markdown's `report.md` next to package.json;
- use default location in playwright's workflows.
References #24451 .
2023-07-28 15:49:31 -07:00
Dmitry Gozman
a74101d98f
docs: document expect's asymmetric matchers ( #24498 )
...
References #24460 , #24417 .
2023-07-28 14:04:01 -07:00
Michael Seele
c7beebb40f
fix api-testing example ( #24407 )
2023-07-28 13:19:01 -07:00