ariawalk 0.2.0 → 0.3.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 +13 -1
- package/dist/ariawalk.js +45 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,18 @@ The checklist is line-based (type `2 4-6` to toggle, `a` for all, Enter to run),
|
|
|
27
27
|
- `--base-url` moves the test's start URL to another origin. Localhost and private hosts need no domain verification; public hosts must be verified in Ariawalk.
|
|
28
28
|
- Secret test data values are never sent to the CLI. Pass them with `--data password=…` or `ARIAWALK_DATA_PASSWORD`.
|
|
29
29
|
- Runs from your machine land in your own "local" environment, and runs in CI (GitHub Actions, GitLab, Buildkite) land in `ci:<branch>`. They never become the baseline for production runs.
|
|
30
|
-
- Exit codes: `0`
|
|
30
|
+
- Exit codes: `0` passed, `1` an accessibility check failed, `2` a run couldn't finish (setup, quota, key, network).
|
|
31
|
+
|
|
32
|
+
## CI
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
npx ariawalk install --with-deps
|
|
36
|
+
npx ariawalk run --app "My shop" --base-url "$PREVIEW_URL" --concurrency 3 \
|
|
37
|
+
--fail-on blocked,regression --min-score 80 --junit ariawalk.xml
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
- `--fail-on`: `blocked` (default), `regression` (worse than the last run on the branch, else the default branch), `new-serious` (new serious or blocker issues), or `none`.
|
|
41
|
+
- `--junit`, `--markdown` and `--json-file` write results; on GitHub Actions a summary is added to the step summary automatically.
|
|
42
|
+
- Set `ARIAWALK_API_KEY` (a key with "Read and run" access) instead of logging in. CI metadata from GitHub Actions, GitLab and Buildkite puts runs in `ci:<branch>`.
|
|
31
43
|
|
|
32
44
|
Every run counts toward your monthly runs. Screenshots stay on your machine; step transcripts, findings and page snapshots are uploaded for the report.
|