Repository navigation
Flow parity gaps: wait text predicates, press key shorthand, erase characters - #165
Merged
Merged
Conversation
bitomule
force-pushed
the
worktree-t-mav-159-parity-gaps
branch
from
December 2, 2026 23:50
2718bae to
9a26115
Compare
bitomule
force-pushed
the
worktree-t-mav-159-parity-gaps
branch
from
December 3, 2026 00:13
9a26115 to
78cdbed
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #159.
wait/assert/assertCount/scrollUntilaccepttextRegex,textStartsWith,textContainsandvalueContainsdirectly (nowaitUntil: { any }wrapper). Lint no longer flags such a wait as having no target.press: enter|return|backspace|delete|tab|escape|spacecompiles to the key command with the HID code;press: home|lock|volume_up|volume_downkeeps working as a hardware button.erase: { characters: N }sends exactly N backspaces to the focused field (1..1000). Combined with a selector it is refused with a clear error (tap first).execsection now says it needsallow_shell: trueand names the error.Left out:
scrollUntilcenter / visible-percentage option. It needs element frames, screen bounds and a corrective swipe loop in the scroll code, which is a larger change; it stays open in #159.Tests: new flow_parity_test.go; they fail without the change and pass with it.
go test ./...passes.Refs #159 (does not close it, because of the scrollUntil item).