playwright/packages
Nowell Strite 53ecdf7db6 cherry-pick(#21106): fix(loader): experimentalLoader with node@18
There is currently a bug when running `node@18.14.2` when running with
experimentalLoader

```
TypeError: The URL must be of scheme file
  at new NodeError (node:internal/errors:399:5)
  at Object.fileURLToPath (node:internal/url:1492:11)
  at resolve (./node_modules/@playwright/test/lib/experimentalLoader.js:39:48)
  at nextResolve (node:internal/modules/esm/loader:163:22)
  at ESMLoader.resolve (node:internal/modules/esm/loader:838:24)
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:21)
```

This came from my test `vrt.spec.ts` which had a non package import
inside of it

```ts
import fs from "node:fs/promises"
```

The test run failed due to node imports not returning fileUrls when
resolved.

---------

Co-authored-by: Nowell Strite <nstrite@nvidia.com>
2023-02-22 15:02:39 -08:00
..
html-reporter chore: revert sharded html report (#20923) 2023-02-15 12:38:03 -08:00
playwright chore: mark v1.31.0 (#20931) 2023-02-15 17:20:09 -08:00
playwright-chromium chore: mark v1.31.0 (#20931) 2023-02-15 17:20:09 -08:00
playwright-core cherry-pick(#21010): chore: align js routing logic with other langs (#21036) 2023-02-20 16:29:43 +01:00
playwright-ct-react cherry-pick(#20973): chore: fix cli executable bits 2023-02-16 19:51:45 -08:00
playwright-ct-solid cherry-pick(#20973): chore: fix cli executable bits 2023-02-16 19:51:45 -08:00
playwright-ct-svelte cherry-pick(#20973): chore: fix cli executable bits 2023-02-16 19:51:45 -08:00
playwright-ct-vue cherry-pick(#20973): chore: fix cli executable bits 2023-02-16 19:51:45 -08:00
playwright-ct-vue2 cherry-pick(#20973): chore: fix cli executable bits 2023-02-16 19:51:45 -08:00
playwright-firefox chore: mark v1.31.0 (#20931) 2023-02-15 17:20:09 -08:00
playwright-test cherry-pick(#21106): fix(loader): experimentalLoader with node@18 2023-02-22 15:02:39 -08:00
playwright-webkit chore: mark v1.31.0 (#20931) 2023-02-15 17:20:09 -08:00
protocol/src cherry-pick(#20960): fix: simplify protocol for toBeInViewport 2023-02-17 01:02:55 +06:00
recorder chore: recorder button styling (#19231) 2022-12-15 18:35:24 +01:00
trace/src chore: render typed locators in the trace viewer (#18166) 2022-10-18 19:23:40 -07:00
trace-viewer cherry-pick(#20937): chore: minor trace viewer UI tweaks 2023-02-16 08:18:29 -08:00
web cherry-pick(#20937): chore: minor trace viewer UI tweaks 2023-02-16 08:18:29 -08:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00