@swmansion/argent 0.34.1-next.32 → 0.34.1-next.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.34.1-next.32",
3
+ "version": "0.34.1-next.34",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
6
6
  "license": "Apache-2.0",
@@ -36,7 +36,7 @@ Each tool's own description carries its parameters, defaults, return shape and e
36
36
  | Fold device | `fold` | Foldables only: `references/foldables.md` |
37
37
  | Shake device | `shake` | Shake handlers (sim/emu only), Undo-typing prompt, RN dev menu |
38
38
  | Wait for UI | `await-ui-element` | Block until an element is visible/hidden/exists/contains text |
39
- | Wait for idle | `await-screen-idle` | Block until a non-empty screen tree stops changing (§4) |
39
+ | Wait for idle | `await-screen-idle` | Block until a non-empty tree holds for `minStableMs` (§4) |
40
40
 
41
41
  ## 3. Finding Tap Targets
42
42
 
@@ -19,7 +19,7 @@ Do not use screenshot diffing for tap-coordinate discovery. Use `describe` to fi
19
19
  ## 3. Deterministic Flow
20
20
 
21
21
  1. Navigate to the known-good state. Capture the baseline before the relevant interaction or before editing whenever feasible.
22
- 2. Save a baseline PNG with `screenshot` using `scale: 1.0` and `includeImageInContext: false`, so the full-size image stays out of context; keep the returned `path`. Use normal downscaled screenshots for everything else.
22
+ 2. Save a baseline PNG with `screenshot` using `scale: 1.0` and `includeImageInContext: false`, so the full-size image stays out of context; keep the returned `path`. Use normal downscaled screenshots for everything else. Images of different sizes return `dimension_mismatch` and are not compared, so keep one baseline per device model.
23
23
  3. Perform the interaction, apply the code change and navigate to the state under test, after the app reloads or rebuilds.
24
24
  4. Call `screenshot-diff` with that `baselinePath`, `captureCurrent: true`, `udid`, and `outputDir`. If both images are already saved, pass `currentPath` instead of `captureCurrent`.
25
25
  5. Inspect the summary and artifact paths, then combine the diff with normal visual inspection and any structural/runtime evidence needed for the assertion.