91 Commits

Author SHA1 Message Date
Yury Semikhatsky
d8193ca947
devops: consolidate build.js files (#35935) 2025-05-12 19:22:14 -07:00
Yury Semikhatsky
a48a3ad6fa
devops: run npm ci steps in parallel (#35915) 2025-05-12 09:40:16 -07:00
Yury Semikhatsky
4166fd2bbd
devops: preserve output in watch mode (#35916) 2025-05-09 14:40:02 -07:00
Yury Semikhatsky
c5c9cca5ef
devops: custom watch for bundle esbuild steps (#35914) 2025-05-09 12:19:44 -07:00
Max Schmitt
dee0535480
chore: fix SIGINT handling in watch mode (#35910) 2025-05-09 18:06:00 +02:00
Max Schmitt
64c553bb71
chore(build): fix MaxListenersExceededWarning during build (#35905) 2025-05-09 17:01:03 +02:00
Max Schmitt
d178b4dbaf
devops: fix crash in build.js watch mode with SyntaxError (#35904) 2025-05-09 14:08:50 +02:00
Yury Semikhatsky
6c4e9fba9d
devops: update build.js to have single run method for all kinds of steps (#35886) 2025-05-08 08:29:01 -07:00
Yury Semikhatsky
bd76f7b1a0
devops: save battery by using chokidar instead of esbuild watch (#35867) 2025-05-07 14:33:50 -07:00
Yury Semikhatsky
01136634c1
chore(build): move command step logic into its own class (#35868) 2025-05-07 09:54:26 -07:00
Dmitry Gozman
67d7bde959
chore: minor cleanups after builtins rework (#35809) 2025-05-01 08:57:06 +01:00
Dmitry Gozman
3b0135411e
chore: inject builtins through esbuild (#35800) 2025-04-29 20:07:06 +01:00
Dmitry Gozman
4c796a3b12
chore: compile storage script (#35753) 2025-04-25 16:23:04 +01:00
Adam Gastineau
2ece112cb3
chore(build): add --install watch flag for automatic browser install (#35639) 2025-04-17 05:19:48 -07:00
Max Schmitt
b7799f3293
chore: fix 'npm run watch' memory leak in esbuild (#35547) 2025-04-08 23:16:42 +02:00
Yury Semikhatsky
1e04b697ab
devops: use esbuild instead of babel (#35467) 2025-04-03 22:40:35 -07:00
Yury Semikhatsky
b8a0d5f6cd
chore: move injected scripts into packages/injected (#35483) 2025-04-03 16:09:03 -07:00
Max Schmitt
788067bec7
chore: do not build playwright-client twice (#35454) 2025-04-02 12:31:15 +02:00
Pavel Feldman
d5adeb3cf4
chore: build a client bundle (#34847) 2025-02-19 15:27:00 -08:00
Simon Knott
e047f6bc07
chore(build): typo in trace-viewer output dir (#33661) 2024-11-19 10:02:41 +01:00
Max Schmitt
150092438f
chore(recorder): support HMR (#33637) 2024-11-18 18:23:29 +01:00
Simon Knott
3fa33ca81f
chore(build): fix bug where sw changes aren't copied in watch mode (#33579) 2024-11-18 16:04:12 +01:00
Simon Knott
114884335d
chore(html): support HMR for local dev (#33511) 2024-11-12 11:11:50 +01:00
Simon Knott
f7a388dcb4
chore: HMR for Trace Viewer build script changes (#33291) 2024-11-08 15:08:58 +01:00
Pavel Feldman
9707e97867
chore: revert #33228 - it needs a proper review (#33284) 2024-10-25 09:36:03 +02:00
Simon Knott
3641e5984f
chore: HMR for Trace Viewer (#33228) 2024-10-24 14:34:59 +02:00
Pavel Feldman
6bfdad068c
chore: introduce accessibility tab in recorder (#33235) 2024-10-22 16:36:03 -07:00
Pavel Feldman
384eed65ea
chore: organize fake timers (#31156) 2024-06-05 09:25:12 -07:00
Dmitry Gozman
a5d384c1f6
docs: add section explaining scrolling (#30719)
Fixes #30643.
2024-05-08 21:04:05 -07:00
Rui Figueira
c80b851422
fix(codegen): prevent csp directive violations (#30366) 2024-04-23 07:33:12 -07: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
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
Marcin Strzyz
192b697488
chore: remove old webpack folder structure (#26560) 2023-08-19 16:16:44 -07:00
Dmitry Gozman
57ab732fb8
chore: support npm run build -- --sourcemap (#24529) 2023-07-31 13:53:28 -07:00
Dmitry Gozman
46f9fa005e
fix(tracing): do not double-zip entries in remote mode (#21579)
Fixes #21435.
2023-03-10 14:54:32 -08:00
Pavel Feldman
cffb6ac269
chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
Dmitry Gozman
b735e136fe
chore: run non-concurrent steps in watch before everything else (#21164)
This prevents initial errors.
2023-02-23 11:46:20 -08:00
Andrey Lushnikov
bcb2d67c5d
chore: remove experimental dockerfile.remote (#20790)
We didn't find a compelling-enough use case to release this.
2023-02-09 12:18:02 -08:00
Dmitry Gozman
190c121e66
chore: bundle chokidar, leave fsevents as an optional dependency (#20762) 2023-02-09 08:40:27 -08:00
Andrey Lushnikov
b67cef2c4d
feat: introduce Dockerfile.remote image (#20691)
When this image is launched, it exposes a single endpoint
that can be used to connect to and to launch browsers.
2023-02-07 10:50:44 -08:00
Dmitry Gozman
9a5df720ff
chore: fix build/watch script for bundles and vite-powered packages (#20055) 2023-01-11 18:36:04 -08:00
Pavel Feldman
2183d9e9a2
chore: use codemirror for editor (#18482) 2022-11-01 15:04:30 -07:00
Max Schmitt
cf75f8ca20
chore: custom error if HTML report gets uploaded in Trace Viewer (#17558)
Fixes https://github.com/microsoft/playwright/issues/17309
2022-09-26 20:57:05 +02:00
Andrey Lushnikov
4cd2176155
feat(containers): introduce separate container commands (#17541)
This patch introduces hidden commands to control container
lifecycle:
- `npx playwright docker install-server-deps` to install fluxbox,
  vnc, novnc & to configure them.
- `npx playwright docker run-server` to run a server inside the
  container.

Drive-by: remove old version of container image when building a new
version with the same name. This way we won't pile up untagged
container images.
2022-09-22 13:38:54 -07:00
Andrey Lushnikov
d431958603
chore: move container integration back to playwright-core (#17487) 2022-09-21 12:45:43 -07:00
Pavel Feldman
53ab3d19e8
fix(protocol): update build tools (#17515) 2022-09-21 12:43:18 -07:00
Andrey Lushnikov
af042beb13
feat: introduce docker integration (#16382)
This patch introduces the following commands:
- `npx playwright docker build` that builds a VRT docker image
  locally that is based off the `mcr.microsoft.com/playwright:jammy`
- `npx playwright docker start` that launches a docker container with
  browsers.
- `npx playwright docker stop` that stops given docker container.
- `npx playwright docker test` that runs all the tests inside a
  launched docker container.
2022-09-09 15:25:42 -07:00
Pavel Feldman
cf89a36181
chore: serialize circular objects (#14045) 2022-05-09 18:51:53 -07:00
Pavel Feldman
58d79e5e4d
chore: add core utils bundle (#13615) 2022-04-18 13:47:23 -07:00
Pavel Feldman
4f0103fef0
chore: babel, expect, zip bundles (#13588) 2022-04-18 11:31:58 -07:00