playwright/packages/playwright-test/src
Andrey Lushnikov 3b2d247c74
fix: avoid using os.userInfo() (#22826)
The `os.userInfo()` call might throw on POSIX if there is no
user info for the current `uid`. This might happen, if the docker
is launched like this:

```
docker run --rm -u 1234:1234  -it mcr.microsoft.com/playwright:v1.32.0 node -e 'console.log(os.userInfo().username)'
```

So instead of using `os.userInfo()`, rely on effective user id.

Fixes https://github.com/microsoft/playwright/issues/22721
2023-05-10 05:13:04 -07:00
..
common fix: avoid using os.userInfo() (#22826) 2023-05-10 05:13:04 -07:00
isomorphic feat: project.teardown that runs after all dependents have finished (#22696) 2023-04-28 14:27:08 -07:00
loader chore: inside out the config & project internal (#22260) 2023-04-07 09:54:01 -07:00
matchers chore: render test steps in the trace (#22837) 2023-05-05 15:12:18 -07:00
plugins chore: split InternalReporter and Multiplexer (#22671) 2023-04-26 17:55:58 -07:00
reporters chore: ensure error location is present (#22804) 2023-05-03 18:45:33 -07:00
runner chore: render parse errors in the UI mode (#22888) 2023-05-08 18:51:27 -07:00
third_party feat(test runner): support jsconfig.json's baseUrl+paths (#19219) 2022-12-01 16:42:25 -08:00
worker chore: list attachments in the trace (#22919) 2023-05-09 17:53:01 -07:00
cli.ts chore: ensure error location is present (#22804) 2023-05-03 18:45:33 -07:00
DEPS.list chore: introduce testInfo.testId (#21670) 2023-03-14 15:58:55 -07:00
experimentalLoader.ts fix(loader): experimentalLoader with node@18 (#21106) 2023-02-22 14:28:03 -08:00
index.ts chore: render test steps in the trace (#22837) 2023-05-05 15:12:18 -07:00
internalsForTest.ts chore: respect deps when watching files (#20695) 2023-02-06 17:09:16 -08:00
store.ts chore: inside out the config & project internal (#22260) 2023-04-07 09:54:01 -07:00
util.ts feat(typescript): align with --moduleResolution=bundler (#22887) 2023-05-09 16:26:29 -07:00
utilsBundle.ts chore: bundle chokidar, leave fsevents as an optional dependency (#20762) 2023-02-09 08:40:27 -08:00