@tonys-software/mimic 0.0.0-stage → 0.1.0-stg.4.1
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 +30 -2
- package/dist/cli.js +1431 -0
- package/dist/inject.js +209 -0
- package/package.json +37 -4
package/README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @tonys-software/mimic
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Run your Mimic scenarios from a terminal or CI.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Requires Node.js 22 or later.
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install -g @tonys-software/mimic
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Installing also downloads the Chromium build Playwright uses. If your install skipped scripts (`--ignore-scripts`), run `npx playwright install chromium` once.
|
|
14
|
+
|
|
15
|
+
## Use
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
mimic login
|
|
19
|
+
mimic list -f scenarios
|
|
20
|
+
mimic run
|
|
21
|
+
mimic run --group smoke
|
|
22
|
+
mimic run --cloud
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
`mimic --help` lists every command, and `mimic <command> --help` shows its options.
|
|
26
|
+
|
|
27
|
+
## Update
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
npm install -g @tonys-software/mimic@latest
|
|
31
|
+
```
|