Commit Graph

134 Commits

Author SHA1 Message Date
Max Schmitt 471930b1ce chore: mark v1.52.0 (#35655) 2025-04-17 18:33:33 +02:00
Dmitry Gozman 218e4e90aa chore: mark v1.52.0-next (#34974) 2025-02-28 20:38:53 +00:00
Adam Gastineau 3c160df06a chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
Bill Collins e4e562cac5 fix(types): Global JSX namespace is deprecated (#33949) 2024-12-11 17:09:19 -08:00
Max Schmitt cd41404b05 chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
Simon Knott 208a54529d fix(ct-react): support shorthand fragment notation (#32900)
Closes https://github.com/microsoft/playwright/issues/32853

Vite turns the shorthand fragment notation `<></>` into `import {
Fragment } from "react"; <Fragment></Fragment>`. On the Node.js side of
things, this `react` import resolves to our mock version of React, which
currently mocks `Fragment` as `{}`. Currently, we pass that straight to
`React.createElement`, which throws an error.

The fix is to make our `Fragment` mock detectable with a tag, and when
we render it replace it with the real `__pwReact.Fragment`.
2024-10-02 11:19:09 +02:00
Dmitry Gozman 541ce9f0bb chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
Simon Knott 0f636116e2 chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
Max Schmitt e784e2df01 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
Max Schmitt 6a9e60d6a1 fix(ct): import ct* flavour types from ct-core and then from pwt (#31642) 2024-07-16 19:32:51 +02:00
Max Schmitt b349a73645 fix(ct): export package.json (#31504) 2024-07-01 18:51:59 +02:00
Dmitry Gozman 32e25a252b chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
Sander e047c478a4 feat(ct): resolve hooksConfig import refs (#31024)
closes https://github.com/microsoft/playwright/issues/30453
2024-05-28 12:29:52 -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
Tan Li Hau 194479d90e fix: pass key attribute from jsx to component test (#30426)
When using the `key` attribute in jsx inside the test modules, it is not
serialised and passed to the browser in component test
2024-04-26 09:49:44 -07:00
Dmitry Gozman b9b06cb010 chore: mark version 1.44.0-next (#30129) 2024-03-26 13:44:10 -07:00
Pavel Feldman 989cf8f179 chore: remove pw- binaries from ct (#29754) 2024-02-29 16:50:00 -08:00
Yury Semikhatsky 01846b954d chore: mark 1.43.0-next (#29670) 2024-02-26 16:45:25 -08:00
Pavel Feldman 7eb910a652 chore: enable eslint for js (#29639) 2024-02-26 09:39:21 -08:00
Jeppe Reinhold 4d868f6ba8 fix(ct-react+ct-react17): only pass children to React.createElement when they are defined (#29592) 2024-02-23 12:30:42 -08:00
Pavel Feldman 7aef5249d8 chore: pass the private data to the runner via config (#29467) 2024-02-13 09:34:03 -08:00
Pavel Feldman 586d14f02c chore: add find-related-tests command (#29439) 2024-02-09 19:02:42 -08:00
Pavel Feldman 286adf3af3 chore(ct): export MountResult (#29375)
Fixes https://github.com/microsoft/playwright/issues/27509
2024-02-05 17:19:39 -08:00
Pavel Feldman f7fb1e4d4e chore(ct): use sticky test server if available (#29136) 2024-01-25 08:36:13 -08:00
Pavel Feldman cec2ff1772 chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
Pavel Feldman 8898a537e0 chore: extract a dev variation of the ct plugin (#29126) 2024-01-23 12:55:28 -08:00
Pavel Feldman d61f99034a fix(ct-react): do not reset mount hooks upon update (#29072)
Fixes https://github.com/microsoft/playwright/issues/29058
2024-01-19 12:55:36 -08:00
Pavel Feldman 71a48c2562 chore: migrate ct to vite5 (#29033)
Closes https://github.com/microsoft/playwright/issues/28607
2024-01-19 11:13:03 -08:00
Sander 54c57fdebe chore(ct): revert export mount result (#29070) 2024-01-19 11:11:23 -08:00
Pavel Feldman ee3960529e fix(ct): allow passing date, url, bigint as properties (#29031)
Closes: https://github.com/microsoft/playwright/issues/29028,
https://github.com/microsoft/playwright/issues/29027
2024-01-17 20:43:28 -08:00
Pavel Feldman 92ad1b385c chore: refactor import processing in ct (#28975) 2024-01-12 20:02:27 -08:00
Max Schmitt f2ebc53f18 chore: mark version 1.42.0-next (#28973) 2024-01-13 00:20:27 +01:00
Sander 28875fa608 chore(ct): dedupe types (#28816) 2024-01-07 19:45:42 -08:00
Sander 4d62784eeb feat(ct): react component as props (#28382)
closes: https://github.com/microsoft/playwright/issues/28367#issuecomment-1830298864
2023-12-22 20:51:59 -08:00
Pavel Feldman afb2582eaa chore: render only react child (#28775)
Fixes https://github.com/microsoft/playwright/issues/28410
2023-12-22 17:15:49 -08:00
Dmitry Gozman d2dc8eb1e3 fix(components): make sure defineConfig(c1, c2) works (#28608) 2023-12-12 14:01:01 -08:00
Sander f58c1f37eb fix(ct): empty slots or children (#28225)
closes: https://github.com/microsoft/playwright/issues/28212
2023-11-27 15:53:50 -08:00
Dmitry Gozman 8150b27413 chore: mark version 1.41.0-next (#28180) 2023-11-15 20:05:36 -08:00
Sander 3313381040 fix(ct): react render array as child (#27692)
Signed-off-by: Sander <info@mesander.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: mbr <mbr@mbrs-MacBook-Air.local>
2023-10-28 10:36:48 -07:00
Sander 54ebee79f7 chore(ct): resolve internal type errors (#26779) 2023-10-26 14:57:49 -07: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:
https://github.com/npm/cli/blob/2e4b4ad8bef158def1b2302846ab294fe7a83de4/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
Pavel Feldman e7bd1864a8 chore: do not add plugins to config twice (#26670) 2023-08-24 16:19:57 -07:00
Andrey Lushnikov a61431f6bb chore: cut 1.37.0 branch (#26357) 2023-08-09 01:46:29 -07:00
Andrey Lushnikov a9560253f8 chore: cut 1.36.0 (#24104) 2023-07-07 13:01:17 -07:00
Andrey Lushnikov c3bc8e0620 chore: cut 1.35.0 (#23579) 2023-06-07 12:41:56 -07:00