Skip to content

Flow control: counted repeat and conditions on bindings #155

Done

Description

@bitomule
  • There is no repeat: { times: N, do: [...] }. Today it has to be unrolled.
  • when and whileNotVisible only test the screen. There is no way to branch on a value from exec or extract, for example "only create the item if the API said it does not exist".

Proposal:

- repeat: { times: 3, do: [ … ] }
- when: { equals: ["${exec.item.exists}", "false"] }
  do: [ … ]

Found while porting the end-to-end flows of a large UIKit + SwiftUI iOS app to mav flows.
Environment: mav 0.35.0 (darwin-arm64 release), AXe 2.0.4, baguette 0.2.12, idb_companion 1.1.8 (refused by mav doctor, floor 1.6.4), Xcode 26.4, iOS 26.4 simulator (23E244), iPhone 17 Pro, macOS 26.6.2, Apple Silicon. Debug simulator build of the app.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions