Dmitry Gozman
32e25a252b
chore: mark v1.46.0-next ( #31324 )
2024-06-14 18:22:42 -07:00
Max Schmitt
a0938fc7a4
chore: set minimum Node.js requirement to 18 ( #30684 )
2024-05-08 17:41:27 +01:00
Yury Semikhatsky
ad0938c659
chore: mark 1.45.0-next ( #30598 )
2024-04-29 17:19:05 -07:00
Dmitry Gozman
b9b06cb010
chore: mark version 1.44.0-next ( #30129 )
2024-03-26 13:44:10 -07:00
Yury Semikhatsky
01846b954d
chore: mark 1.43.0-next ( #29670 )
2024-02-26 16:45:25 -08:00
Pavel Feldman
cec2ff1772
chore: split cli processing into cli endpoint and program ( #29131 )
2024-01-23 15:22:09 -08:00
Max Schmitt
f2ebc53f18
chore: mark version 1.42.0-next ( #28973 )
2024-01-13 00:20:27 +01:00
Dmitry Gozman
8150b27413
chore: mark version 1.41.0-next ( #28180 )
2023-11-15 20:05:36 -08:00
Dmitry Gozman
7aee202aef
chore: mark 1.40.0-next ( #27538 )
2023-10-10 16:10:28 -07:00
Max Schmitt
f856e3e4bc
chore: run 'npm pkg fix' ( #27470 )
...
As per
```
npm WARN publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm WARN publish errors corrected:
npm WARN publish Removed invalid "scripts"
npm WARN publish "bin[playwright-core]" script name was cleaned
npm WARN publish "repository.url" was normalized to "git+https://github.com/microsoft/playwright.git
```
works now as per
https://www.npmjs.com/package/@playwright/test/v/1.39.0-alpha-1696547902000
when you scroll down.
https://github.com/microsoft/playwright/issues/22555
2023-10-05 23:42:27 +00:00
Max Schmitt
10e7654fd9
chore: update repository.url in package.json ( #27469 )
...
As per
https://github.com/microsoft/playwright/actions/runs/6425074868/job/17446981722#step:7:168 .
e.g. here:
2e4b4ad8be/package.json (L28-L31)
docs:
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository
https://github.com/microsoft/playwright/issues/22555
2023-10-05 23:18:22 +00:00
Andrey Lushnikov
41cd9e183a
chore: cut 1.38.0 branch ( #27004 )
2023-09-11 18:16:16 -07:00
Dmitry Gozman
186f86905c
chore: make @playwright/test
depend on playwright
( #26946 )
2023-09-08 14:23:35 -07:00
Dmitry Gozman
cb8656f24f
chore: remove @types/node
from deps ( #26918 )
...
This effectively reverts #14230 . We will install `@types/node` in `npm
init playwright` instead.
2023-09-06 16:09:35 -07:00
Andrey Lushnikov
54e4e5caca
fix: implement atomic append for compilation cache ( #26830 )
...
Note: this reverts commit ffd6cf60eb
.
Fixes #26769
2023-08-31 17:55:13 -07:00
Pavel Feldman
4948920437
fix(ui): do not log from beforeAll twice ( #26799 )
...
Fixes https://github.com/microsoft/playwright/issues/26790
2023-08-31 17:34:15 -07:00
Dmitry Gozman
fa286de0b3
fix(test runner): extract FailureTracker helper ( #26757 )
...
This way we can reuse it for:
- tracking `maxFailures` across phases;
- tracking failures for runner;
- tracking failures for `runJob` helper class later on.
Fixes #26344 .
2023-08-31 15:32:29 -07:00
Dmitry Gozman
6d85ba1494
fix: remove connectInsteadOfLaunching ( #26828 )
2023-08-31 15:29:04 -07: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
4bbd16d316
chore(test runner): decouple runJob
from the Dispacther
( #26756 )
...
In preparation to extracting a class for it.
2023-08-28 15:41:14 -07:00
Pavel Feldman
38f1e62642
chore: use custom expect message in trace step ( #26752 )
2023-08-28 14:48:24 -07:00
Max Schmitt
1b30347ae5
fix: maxFailures reached follow-up ( #26717 )
2023-08-26 08:10:42 +02: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
Max Schmitt
9ae77a71fd
feat: print message if maxFailures has reached ( #26322 )
...
Fixes https://github.com/microsoft/playwright/issues/24239
2023-08-25 19:06:49 +02:00
Pavel Feldman
e7bd1864a8
chore: do not add plugins to config twice ( #26670 )
2023-08-24 16:19:57 -07:00
Dmitry Gozman
c970179551
fix(resolver): allow importing packages with non-index main script ( #26692 )
...
Regressed in https://github.com/microsoft/playwright/pull/23254 .
Fixes #26650 .
2023-08-24 14:09:00 -07:00
Dmitry Gozman
c90c943154
fix(test.fail): expect() failure should not skip future tests ( #26663 )
...
We used to stop the worker that would skip future tests. Regressed in
https://github.com/microsoft/playwright/pull/11850 .
Fixes #26435 .
2023-08-24 08:32:14 -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
Pavel Feldman
46e33cd384
feat: allow installing browsers from ui ( #26628 )
2023-08-23 12:26:11 -07:00
Max Schmitt
f41c862ac6
fix: process host early exit crash ( #26642 )
2023-08-23 18:03:24 +02:00
Dmitry Gozman
218955c155
fix(test runner): make sure static annotations are reported for skipped tests ( #26634 )
...
Fixes #26397 .
2023-08-23 08:40:12 -07:00
Pavel Feldman
f4f9e526a2
chore: tolerate css imports ( #26626 )
...
Fixes https://github.com/microsoft/playwright/issues/24580
2023-08-23 08:32:23 -07:00
Pavel Feldman
00e6540799
feat(ui): show test trace events live ( #26619 )
2023-08-22 15:46:41 -07:00
Pavel Feldman
afc5ebe075
chore: give more time to polling matchers to print friendly error ( #26595 )
2023-08-22 09:01:42 -07:00
Max Schmitt
e4366e59e2
chore: fix docs & lint check ( #26598 )
...
This broke after https://github.com/microsoft/playwright/pull/26594 .
2023-08-22 16:45:41 +02:00
Pavel Feldman
1ceaa923ea
chore: create artifacts dir in the test runner ( #26594 )
2023-08-21 19:41:10 -07:00
Pavel Feldman
f83d81956d
chore: make console stream live in ui mode ( #26562 )
2023-08-21 10:59:37 -07:00
Dmitry Gozman
32a309ccb8
chore: install source map support lazily ( #26445 )
...
This way we allow importing from `@playwright/test` without affecting
stack traces.
Fixes #26346 .
2023-08-21 10:54:42 -07:00
Richard Blažo
bcc30bc71e
feat: add title for before and after hooks ( #26523 )
2023-08-21 09:50:22 -07:00
Kevin Centeno
ba4c242a82
docs(assertions): remove unneeded await in generic assertions example ( #26569 )
2023-08-21 18:13:25 +02:00
Marcin Strzyz
192b697488
chore: remove old webpack folder structure ( #26560 )
2023-08-19 16:16:44 -07:00
Marcin Strzyz
6b2d93a890
chore: error on unused eslint disables ( #26510 )
2023-08-17 20:53:36 +02:00
Jean-François Greffier
dcab22c307
feat: display package manager in CLI help and tips ( #26450 )
...
Display `npx playwright`, `yarn playwright` or `pnpm exec playwright` in
CLI
Fixes #21425
2023-08-17 08:53:08 -07:00
Marcin Strzyz
0e6deb7c8d
chore: Update to latest version of TS Eslint to get TS 5.1 support. ( #26511 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-08-17 10:57:13 +02:00
Marcin Strzyz
42543a48a7
fix: fixed PW_TEST_HTML_REPORT_OPEN
+ more type safe + doc ( #24571 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-08-17 09:48:59 +02:00
ggorlen
0149c7d56c
docs: fix typo in Reporter.onEnd ( #26486 )
...
Signed-off-by: ggorlen <gsgorlen@gmail.com>
2023-08-17 00:40:14 +02:00
Pavel Feldman
929a849265
chore: fix .only in dependent tests ( #26503 )
...
Fixes https://github.com/microsoft/playwright/issues/26492
2023-08-16 13:39:08 -07:00
Max Schmitt
bd988b34a7
chore: allow calling spawnSync on Node.js file inside test ( #26429 )
...
Fixes https://github.com/microsoft/playwright/issues/24516
Relates https://github.com/microsoft/playwright/pull/16733
2023-08-11 18:37:14 +02:00
Dmitry Gozman
050f26764e
docs: explain how to reset storage state ( #26422 )
...
References #26374 .
2023-08-10 16:32:45 -07:00
Dmitry Gozman
c37dfb379b
docs: make sure usage comes after description when templating ( #26420 )
2023-08-10 14:48:26 -07:00