From 6743923264c57b57953404afac2d28ff65908d51 Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Fri, 4 Sep 2026 10:50:04 +0200 Subject: [PATCH] [CI] Await the example button before tapping it in Argent flows ## Description The search results may not be rendered yet when the flow taps the example button right after typing into the search field. Await the button in every flow before tapping it. ## Test plan Run the flows in `.argent/flows` and check that they pass. --- .argent/flows/basic-long-press-test.yaml | 1 + .argent/flows/basic-tap-test.yaml | 1 + .argent/flows/nested-touchables-test.yaml | 1 + .argent/flows/shared-value-test.yaml | 1 + .argent/flows/timer-test.yaml | 1 + 5 files changed, 5 insertions(+) diff --git a/.argent/flows/basic-long-press-test.yaml b/.argent/flows/basic-long-press-test.yaml index 182eb3216a..ec5311851d 100644 --- a/.argent/flows/basic-long-press-test.yaml +++ b/.argent/flows/basic-long-press-test.yaml @@ -4,6 +4,7 @@ steps: - await: { visible: { text: "Empty Example" }, timeout: 15000 } - echo: "On the Home list, search for long press example" - type: { text: "long", into: { id: "search-examples" } } + - await: { visible: { text: "Basic LongPress" } } - echo: "Tap the example to open it" - tap: "Basic LongPress" - echo: "Clear console" diff --git a/.argent/flows/basic-tap-test.yaml b/.argent/flows/basic-tap-test.yaml index 1bf752c68b..69bd5947f0 100644 --- a/.argent/flows/basic-tap-test.yaml +++ b/.argent/flows/basic-tap-test.yaml @@ -4,6 +4,7 @@ steps: - await: { visible: { text: "Empty Example" }, timeout: 15000 } - echo: "On the Home list, search for tap example" - type: { text: "tap", into: { id: "search-examples" } } + - await: { visible: { text: "Basic Tap" } } - echo: "Tap the example to open it" - tap: "Basic Tap" - echo: "Clear console" diff --git a/.argent/flows/nested-touchables-test.yaml b/.argent/flows/nested-touchables-test.yaml index 4195b3d357..6a86e687b0 100644 --- a/.argent/flows/nested-touchables-test.yaml +++ b/.argent/flows/nested-touchables-test.yaml @@ -4,6 +4,7 @@ steps: - await: { visible: { text: "Empty Example" }, timeout: 15000 } - echo: "On the Home list, search for the nested touchables example" - type: { text: "nested touchables", into: { id: "search-examples" } } + - await: { visible: { text: "Nested touchables" } } - echo: "Tap the example to open it" - tap: { text: "Nested touchables" } - await: { visible: { id: "level-4" } } diff --git a/.argent/flows/shared-value-test.yaml b/.argent/flows/shared-value-test.yaml index 91603391a9..f1bcc4ad80 100644 --- a/.argent/flows/shared-value-test.yaml +++ b/.argent/flows/shared-value-test.yaml @@ -4,6 +4,7 @@ steps: - await: { visible: { text: "Empty Example" }, timeout: 15000 } - echo: "On the Home list, search for the shared value example" - type: { text: "shared", into: { id: "search-examples" } } + - await: { visible: { text: "Shared Value" } } - echo: "Tap the example to open it" - tap: { text: "Shared Value" } - await: { visible: { id: "shared-value-box" } } diff --git a/.argent/flows/timer-test.yaml b/.argent/flows/timer-test.yaml index d9c4345345..be5f2b3eb5 100644 --- a/.argent/flows/timer-test.yaml +++ b/.argent/flows/timer-test.yaml @@ -4,6 +4,7 @@ steps: - await: { visible: { text: "Empty Example" }, timeout: 15000 } - echo: "On the Home list, search for the timer example" - type: { text: "timer", into: { id: "search-examples" } } + - await: { visible: { text: "Timer" } } - echo: "Tap the example to open it" - tap: { text: "Timer" } - await: { idle: true }