playwright/packages/playwright-test
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
..
bundles chore: use custom JSX runtime to stub-out erroneous JSX usage (#22827) 2023-05-04 11:44:59 -07:00
src fix: avoid using os.userInfo() (#22826) 2023-05-10 05:13:04 -07:00
types feat: project.teardown that runs after all dependents have finished (#22696) 2023-04-28 14:27:08 -07:00
.npmignore chore: babel, expect, zip bundles (#13588) 2022-04-18 11:31:58 -07:00
cli.js chore: remove cli from playwright-core (#22612) 2023-04-25 11:19:37 -07:00
index.d.ts feat: support experimental doc entries (#13446) 2022-04-13 16:13:30 -07:00
index.js chore: have pretty error if CT config has no defineConfig (#21318) 2023-03-02 00:47:05 +01:00
index.mjs chore: introduce defineConfig for easier JS typing (#20061) 2023-01-12 13:12:02 -08:00
jsx-runtime.js chore: use custom JSX runtime to stub-out erroneous JSX usage (#22827) 2023-05-04 11:44:59 -07:00
package.json chore: use custom JSX runtime to stub-out erroneous JSX usage (#22827) 2023-05-04 11:44:59 -07:00
README.md chore: add README's for packages (#9432) 2021-10-11 19:28:10 +02:00
reporter.d.ts chore: move test runner types into the playwright test package (#9472) 2021-10-14 11:55:08 +02:00
reporter.js feat(test-runner): export reporter api as @playwright/test/reporter (#7692) 2021-07-16 21:15:03 -07:00
reporter.mjs feat(test-runner): export reporter api as @playwright/test/reporter (#7692) 2021-07-16 21:15:03 -07:00
ThirdPartyNotices.txt chore: allow ts decorators (#22080) 2023-03-29 20:43:08 -07:00

@playwright/test

This package contains Playwright Test. A test-runner for writing idiomatic and reliable end-to-end tests with Playwright.