Skip to content

Tap e2e test#4318

Draft
j-piasecki wants to merge 4 commits into
mainfrom
@jpiasecki/tap-e2e
Draft

Tap e2e test#4318
j-piasecki wants to merge 4 commits into
mainfrom
@jpiasecki/tap-e2e

Conversation

@j-piasecki

Copy link
Copy Markdown
Member

Description

Test plan

Copilot AI review requested due to automatic review settings July 16, 2026 07:37

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.

Pull request overview

Adds an Argent-driven “Basic Tap” end-to-end test flow and CI workflows to run it on Android and iOS, plus small UI/test hooks in the example app so the flow can reliably locate elements and assert gesture callback ordering.

Changes:

  • Add Android and iOS GitHub Actions workflows to build the Expo example app and run the simple-tap-test Argent flow.
  • Update the “Tap” example to expose a deterministic tap counter, log ordered gesture lifecycle events, and add a testID for the tappable box.
  • Add missing testIDs for console modal buttons and rename “Simple Gestures” entries to “Basic …” to match the test flow.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
apps/common-app/src/new_api/simple/tap/index.tsx Adds tap counter UI, ordered logging, and testID for E2E automation.
apps/common-app/src/new_api/index.tsx Renames “Simple Gestures” examples to “Basic …” for discoverability/E2E selection.
apps/common-app/src/console/ConsoleModal.tsx Adds testIDs needed for console interactions in the E2E flow.
.github/workflows/ios-e2e.yml New CI workflow to build iOS simulator app and run Argent tap flow.
.github/workflows/android-e2e.yml New CI workflow to build Android app, boot emulator, and run Argent tap flow.
.argent/flows/simple-tap-test.yaml Defines the Argent flow steps/assertions for the “Basic Tap” E2E test.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 47 to +57
const tapGesture = useTapGesture({
onBegin: () => {
log('onBegin');
colorProgress.value = withTiming(1, {
duration: 100,
});
},
onActivate: () => {
log('onActivate');
scheduleOnRN(setCount, count + 1);
},
@j-piasecki
j-piasecki force-pushed the @jpiasecki/tap-e2e branch from 958acd2 to 085d4c1 Compare July 16, 2026 08:07
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.

2 participants