(value: &YamlValue)
| 278 | } |
| 279 | |
| 280 | fn maestro_bundle_id(value: &YamlValue) -> anyhow::Result<String> { |
| 281 | yaml_string_or_field(value, "appId") |
| 282 | .or_else(|| yaml_string_or_field(value, "bundleId")) |
| 283 | .ok_or_else(|| anyhow::anyhow!("launchApp requires `appId` or `bundleId`.")) |
| 284 | } |
| 285 | |
| 286 | fn maestro_tap_body(value: &YamlValue) -> anyhow::Result<Value> { |
| 287 | if let Some(point) = yaml_field(value, "point") |
no test coverage detected