@willbooster/wb 22.23.1 → 22.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -165,6 +165,11 @@ unfiltered `test/e2e-additional` script. Playwright-specific options still go
|
|
|
165
165
|
after `--` in `wb test`; supply the name filter only once, before `--`.
|
|
166
166
|
Use `--grep-invert` for inverse Playwright name filters across versions.
|
|
167
167
|
|
|
168
|
+
Before running Playwright against an app that wb starts itself (on CI, or without a `webServer`
|
|
169
|
+
block), wb waits until the app answers an HTTP request. The request goes to the path of the first
|
|
170
|
+
`webServer.url` in `playwright.config.ts` when that is a string or template literal ending in a
|
|
171
|
+
plain path (`/api/ping` for `` `${baseURL}/api/ping` ``), and to the root path otherwise.
|
|
172
|
+
|
|
168
173
|
When a test command of `wb test` or a phase of `wb test-on-ci` exits, wb sends `SIGTERM` to the
|
|
169
174
|
processes it started that are still running (e.g. a build that a timed-out test left behind) and
|
|
170
175
|
lists them. wb finds them by polling the process tree every second, so a process whose parent
|