Max Schmitt
f518684d89
chore: fix parameterized tests on the flakiness dashboard ( #27900 )
...
Abstract issue: I have parameterised tests via the titlePath (describe)
and they are not shown on the flakiness dashboard. Before #24486 only
title() was shown, after #24486 titlePath() will be displayed, but we
still did have the testId based on the test.title() and not
test.titlePath(). This ends up that they will still be treated as a
single spec.
After this change they are not treated as a single spec anymore and
treated as different ones:
<img width="891" alt="image"
src="https://github.com/microsoft/playwright/assets/17984549/f24284cd-5d94-4f7e-a45d-8c8e5eb537ef ">
Note: This is tested.
Follow-up on https://github.com/microsoft/playwright/pull/24486 .
2023-11-01 17:28:30 +01:00
Max Schmitt
5f366088be
chore: get rid of rimraf package ( #27790 )
...
This seems more reliable nowadays as rimraf.
https://github.com/microsoft/playwright/issues/27712
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-10-26 19:41:00 +02:00
Max Schmitt
841bb92049
chore: update Docker Node.js version to new LTS (20) ( #27813 )
...
Node.js 20 was promoted to LTS on 2023-10-24.
Fixes https://github.com/microsoft/playwright/issues/27812
2023-10-26 09:45:54 -07:00
Playwright Service
00d3b4bdc3
chore(driver): roll driver to recent Node.js LTS version ( #27814 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-26 10:31:29 +02:00
Pavel Feldman
7de0ccd36e
chore: support await using for close() and dispose() ( #27766 )
...
This change assumes that the user has Node 18 with Symbol.dispose
available.
Fixes https://github.com/microsoft/playwright/issues/27141
2023-10-24 12:25:53 -07:00
Dmitry Gozman
fd82b2b3fa
feat(json report): add expected/unexpected/skipped/flaky stats ( #27685 )
...
Fixes #27498 .
2023-10-18 12:55:31 -07:00
Playwright Service
86ce598dfa
chore(driver): roll driver to recent Node.js LTS version ( #27652 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-17 14:58:35 +02:00
Max Schmitt
4b771f9d4b
chore: remove /ms-playwright-agent in focal Docker image ( #27631 )
...
This was missing in focal but was there in Jammy.
6b31b30df9/utils/docker/Dockerfile.jammy (L44)
2023-10-16 18:17:21 +02:00
Max Schmitt
6b31b30df9
chore: allow a script to generate release-notes for GitHub ( #27596 )
...
`node utils/render_release_notes.mjs js 1.39`
2023-10-16 11:23:22 +02:00
Playwright Service
8595a6c25f
chore(driver): roll driver to recent Node.js LTS version ( #27565 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-12 12:16:22 +02:00
Pavel Feldman
393bd36e0a
chore: composed->merge ( #27555 )
2023-10-11 13:56:27 -07:00
Dmitry Gozman
7447761fb7
fix(build): ignore empty bundle directories ( #27491 )
...
These are often left after some file moves.
2023-10-06 12:29:01 -07:00
Max Schmitt
293c85935a
devops: publish using NPM provenance feature ( #27459 )
...
As per
https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions .
We use Node.js 18 (LTS) to get NPM 9+.
Closes https://github.com/microsoft/playwright/issues/22555
2023-10-05 20:00:18 +00:00
Jim Hays
dcc8dcca73
Fix various typos ( Fixes #27396 ) ( #27391 )
...
Fixes https://github.com/microsoft/playwright/issues/27396
2023-10-04 19:56:42 -07:00
Pavel Feldman
25f06575bf
docs: recommend using test stories in ct ( #27440 )
...
Closes https://github.com/microsoft/playwright/issues/27439
2023-10-04 19:48:26 -07:00
Dmitry Gozman
daba77644c
feat: composedExpect ( #27432 )
...
Allows to merge multiple expects with custom matchers added by
`expect.extend()`.
2023-10-04 15:01:25 -07:00
Dmitry Gozman
65ce4cd213
feat: expose composedTest()
instead of test._extendTest()
( #27414 )
2023-10-03 13:26:30 -07:00
Yury Semikhatsky
c751bf135e
devops: stop using deprecated method of installing node ( #27392 )
...
Otherwise we see a warning for 1 minute every time during the script
run:
<img width="616" alt="image"
src="https://github.com/microsoft/playwright/assets/9798949/4593048c-a901-4db5-a15e-1b6dd1970625 ">
The instructions are taken from
https://github.com/nodesource/distributions#debian-and-ubuntu-based-distributions
2023-10-02 14:24:58 -07:00
Andrey Lushnikov
471d12ac7b
chore: keep linux browser deps
script up-to-date ( #27309 )
...
References https://github.com/microsoft/playwright/issues/27255
2023-10-02 11:34:49 -07:00
Yury Semikhatsky
bb8a102164
chore(types): add blob reporter to the known reporter types ( #27371 )
...
Closes https://github.com/microsoft/playwright/issues/27357
2023-09-29 15:15:18 -07:00
Pavel Feldman
d136b0aeb6
feat(step): allow boxing steps ( #27334 )
2023-09-29 09:44:00 -07:00
Dmitry Gozman
66eb3043f5
feat(json report): expose startTime and duration ( #27290 )
...
Fixes #27183 .
2023-09-25 10:58:55 -07:00
Pavel Feldman
a6a0257c88
feat(expect): allow chaining expects ( #27248 )
2023-09-22 12:12:17 -07:00
Playwright Service
59df916b8d
chore(driver): roll driver to recent Node.js LTS version ( #27175 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-19 12:32:29 +02:00
Max Schmitt
0d44405762
fix: custom expect matchers on Locator/Page/APIResponse instance ( #27117 )
...
Fixes https://github.com/microsoft/playwright/issues/27113
2023-09-15 18:05:44 +02:00
Dmitry Gozman
603861c48d
fix: revert toMatchSnapshot deprecation ( #27089 )
...
- This reverts commit
8348f66107
landed in #26718 .
- Update docs to point towards `toHaveScreenshot`.
2023-09-14 12:52:41 -07:00
Max Schmitt
5faa66912c
docs: add types to Python run() defs ( #27044 )
...
Fixes https://github.com/microsoft/playwright-python/issues/2071
2023-09-13 15:18:15 +02:00
Yury Semikhatsky
fac4560a82
chore(types): host, port in html reporter config ( #27027 )
2023-09-12 13:38:10 -07:00
Pavel Feldman
02c72e545b
feat(onEnd): allow overriding the exit code ( #27010 )
...
Fixes: https://github.com/microsoft/playwright/issues/26858
2023-09-12 13:37:30 -07:00
Max Schmitt
466088215e
chore: clear NPM cache of Docker image ( #27000 )
2023-09-12 08:14:45 +02:00
Dmitry Gozman
186f86905c
chore: make @playwright/test
depend on playwright
( #26946 )
2023-09-08 14:23:35 -07:00
Ivo Berger
f219f9fd41
devops: fix tags on jammy stable images ( #26834 )
2023-09-03 09:57:09 +02:00
Max Schmitt
cc30d72b0b
test: roll android chromium to 1190572 ( #26807 )
2023-08-31 18:08:27 +02:00
Pavel Feldman
34c6197f9e
chore: include start/endTime and duration in onEnd report callback ( #26760 )
...
Fixes https://github.com/microsoft/playwright/issues/23637
2023-08-29 10:56:21 -07:00
Dmitry Gozman
36347e7fea
feat: make playwright
package not install browsers automatically ( #26672 )
...
Additionally introduce `@playwright/browser-<browser>` packages that
just download the respective browser, but do not export anything.
References #26614 .
2023-08-27 07:24:35 -07:00
Pavel Feldman
eb9ef64e7d
fix(android): use domain socket suffix chrome can discover ( #26724 )
...
Fixes: https://github.com/microsoft/playwright/issues/26721
2023-08-25 19:30:09 -07:00
Dmitry Gozman
8348f66107
feat: deprecate toMatchSnapshot for buffers ( #26718 )
...
These are usually used for screenshots instead of toHaveScreenshot.
String-based snapshots are left as is.
<img width="836" alt="deprecated"
src="https://github.com/microsoft/playwright/assets/9881434/d02818da-7eea-47fc-8ea8-4104b0dd49b5 ">
---
Also deemphasized toMatchSnapshot throughout all docs.
Fixes #26612 .
2023-08-25 18:20:01 -07:00
Dmitry Gozman
81cc39ea6e
feat(expect): narrow down available assertions for Page/Locator/APIResponse ( #26658 )
...
Fixes #26381 .
2023-08-23 13:14:39 -07:00
Richard Blažo
bcc30bc71e
feat: add title for before and after hooks ( #26523 )
2023-08-21 09:50:22 -07:00
Marcin Strzyz
192b697488
chore: remove old webpack folder structure ( #26560 )
2023-08-19 16:16:44 -07:00
Pavel Feldman
576608b69d
chore: revert #24598 ( #26484 )
2023-08-15 11:29:33 -07:00
Max Schmitt
2deabefa71
fix: Locator.evaluateHandle types ( #26469 )
...
Fixes https://github.com/microsoft/playwright/issues/26449
2023-08-14 18:27:25 +02:00
Dmitry Gozman
c37dfb379b
docs: make sure usage comes after description when templating ( #26420 )
2023-08-10 14:48:26 -07:00
Playwright Service
b252f8ba27
chore(driver): roll driver to recent Node.js LTS version ( #26399 )
2023-08-10 12:25:32 +02:00
Pavel Feldman
08d6abab4a
chore: allow merging defineConfig ( #26390 )
2023-08-09 17:23:34 -07:00
Pavel Feldman
65ac0d5256
chore: add k8s grid deployments ( #26359 )
2023-08-08 18:46:32 -07:00
Pavel Feldman
6731f5b6d5
chore: grid placeholder ( #24598 )
2023-08-04 08:38:07 -07:00
Max Schmitt
b0473b71cd
chore: limit docs snippet length to 100 ( #24563 )
2023-08-02 11:23:47 +02:00
Dmitry Gozman
57ab732fb8
chore: support npm run build -- --sourcemap
( #24529 )
2023-07-31 13:53:28 -07:00
Dmitry Gozman
a74101d98f
docs: document expect's asymmetric matchers ( #24498 )
...
References #24460 , #24417 .
2023-07-28 14:04:01 -07:00