Skip to content

[CI] Await the example button before tapping it in Argent flows - #4482

Open
j-piasecki wants to merge 1 commit into
push-uplzounpwmlpfrom
push-rnqlolrvlkrs
Open

[CI] Await the example button before tapping it in Argent flows#4482
j-piasecki wants to merge 1 commit into
push-uplzounpwmlpfrom
push-rnqlolrvlkrs

Conversation

@j-piasecki

Copy link
Copy Markdown
Member

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.

@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: c4a48e19-bf41-4250-aa04-0a0b6daff8de

📥 Commits

Reviewing files that changed from the base of the PR and between 3ede23e and 6743923.

📒 Files selected for processing (5)
  • .argent/flows/basic-long-press-test.yaml
  • .argent/flows/basic-tap-test.yaml
  • .argent/flows/nested-touchables-test.yaml
  • .argent/flows/shared-value-test.yaml
  • .argent/flows/timer-test.yaml

Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review.


📝 Summary

Summary by CodeRabbit

  • Tests
    • Improved example navigation test reliability by waiting for search results to appear before opening:
      • Basic LongPress
      • Basic Tap
      • Nested Touchables
      • Shared Value
      • Timer

Walkthrough

Five Argent test flows now wait for their searched example to become visible before tapping it.

Changes

Example search flow synchronization

Layer / File(s) Summary
Wait for searched examples before tapping
.argent/flows/basic-long-press-test.yaml, .argent/flows/basic-tap-test.yaml, .argent/flows/nested-touchables-test.yaml, .argent/flows/shared-value-test.yaml, .argent/flows/timer-test.yaml
Each flow waits for the matching example text after entering the search query and before tapping the result.

Merge Risk: ⚪ Minimal · up to 97a8e

The updated CI flows wait for searched examples to render before opening them, reducing timing-related test failures. No current merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: adding waits before tapping example buttons in Argent flows.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

## 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.
Copilot AI lite review requested due to automatic review settings September 7, 2026 12:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is low-risk and directly addresses a known timing race in the E2E flows by adding appropriate visibility awaits before taps.

Pull request overview

This PR improves the stability of the Argent E2E flows by ensuring the searched example entry is visible before attempting to tap it, preventing races where the list hasn’t re-rendered after typing into the search field.

Changes:

  • Added an await: { visible: { text: "<Example Name>" } } step after typing into the search input in each affected flow.
  • Ensured the await targets match the example names used by the app (e.g., Nested touchables, Basic LongPress).
File summaries
File Description
.argent/flows/timer-test.yaml Waits for “Timer” to appear after searching before tapping it.
.argent/flows/shared-value-test.yaml Waits for “Shared Value” to appear after searching before tapping it.
.argent/flows/nested-touchables-test.yaml Waits for “Nested touchables” to appear after searching before tapping it.
.argent/flows/basic-tap-test.yaml Waits for “Basic Tap” to appear after searching before tapping it.
.argent/flows/basic-long-press-test.yaml Waits for “Basic LongPress” to appear after searching before tapping it.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants