@radhya/mach 2.7.1 → 2.7.3
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 +11 -0
- package/dist/chunk-EQN4ZQMP.js +2 -2
- package/dist/chunk-QFXPWC5D.js +1 -1
- package/dist/commands/isolated-upload.js +1 -1
- package/dist/credentials-BSHP3QMW.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -218,6 +218,12 @@ in its browser cache. On short-lived Linux CI runners, cache
|
|
|
218
218
|
worker. Use `--no-setup` only in a pre-provisioned CI image to prevent any
|
|
219
219
|
dependency or browser installation.
|
|
220
220
|
|
|
221
|
+
An active Playwright run can be cancelled from its **Test Runs** detail page.
|
|
222
|
+
Mach records a cancellation request only; it never reaches into a developer
|
|
223
|
+
machine or CI worker. The running `mach web test` command checks for that
|
|
224
|
+
request every two seconds, stops its own Playwright process tree, and records
|
|
225
|
+
the final result as `cancelled`.
|
|
226
|
+
|
|
221
227
|
### Keep CI web tests fast
|
|
222
228
|
|
|
223
229
|
- Commit `package.json` and the matching npm, pnpm, or Yarn lockfile after the
|
|
@@ -259,6 +265,11 @@ Mach manages the test execution infrastructure for you, so projects do not need
|
|
|
259
265
|
Managed Android Maestro runs need an APK artifact and a `.maestro` flow file or directory. By default, `mach maestro --maestro-flows .maestro` uploads the local flow folder for that run when the path exists in the current project. If the local path is not present, Mach falls back to the build source snapshot.
|
|
260
266
|
Managed Android runners use emulators, so the tested APK must include `x86_64`. Mach automatically includes emulator ABI support when you build with `--maestro`, when the profile name looks like `maestro`/`e2e`/`test`, or when the build profile sets `"android": { "emulator": true }`.
|
|
261
267
|
Managed Maestro is billed from the Pay as you go wallet after the runner completes. Default pricing is $0.50 for the first 15 minutes, then $0.10 per additional 10-minute block; admins can change these rates from Dashboard Admin > Pricing.
|
|
268
|
+
Open an active Maestro run in **Test Runs** to cancel it. Mach terminates its
|
|
269
|
+
managed Android runner immediately. Managed iOS tests are cancelled through
|
|
270
|
+
their GitLab pipeline when Mach has a GitLab API control token; if that control
|
|
271
|
+
is unavailable, Mach leaves the test active and explains that it could not
|
|
272
|
+
verify a stop instead of reporting a false cancellation.
|
|
262
273
|
Use `mach maestro --local` to run the same flows on your connected local emulator/device. With `--build-id`, Mach downloads and installs the build artifact first; without a build or artifact flag, it runs against the app already installed locally.
|
|
263
274
|
Use `--maestro-env <name>` for local or managed runs that need test credentials or other dynamic values. The flag is repeatable and also accepts comma-separated names. Local runs forward only names that exist in the shell or loaded dotenv environment, and the startup log lists every forwarded name. Managed runs store requested values encrypted, pass them to the iOS or Android Maestro command, redact values from runner logs, and fall back to the Mach server environment when a value is not present in the CLI environment.
|
|
264
275
|
|