Test workspace for FlutterProbe E2E testing.
mobile/ Flutter test app (iOS + Android) — 11 screens, 82 E2E tests
native/ios-swift/ Native SwiftUI twin of the Flutter app — same 11 screens, 1:1 accessibilityIdentifiers
native/android-kotlin/ Native Android twin (Kotlin + Jetpack Compose) — same 11 screens, for native-verb testing
Purpose-built Flutter app for exercising every FlutterProbe framework feature:
- 11 screens: Home, Login, Biometric Login (new in v0.9.7), Dashboard, Settings, Items, Gestures, API, Device, Visual, Dynamic
- 82 tests covering: navigation, forms, gestures, HTTP mocking, visual regression, hooks, data-driven tests, Face ID / Touch ID / fingerprint flows, and native UI-automation verbs (
tap native/see native/type native) - Clean Architecture: domain/data/presentation layers with Provider + get_it
The BiometricLoginPage exercises the new enroll biometric / biometric match / biometric no match ProbeScript steps. Live tests in mobile/tests/auth/:
biometric_match.probe— matching Face ID unlocks the app (smoke + cold-start variants)biometric_no_match.probe— non-matching Face ID shows an error banner; retry-after-failure path
Prerequisites:
- iOS: just a running simulator (notifyutil drives the prompt — no extra setup)
- Android: emulator with fingerprint ID
1pre-enrolled in Settings → Security - Physical devices skip these steps with a warning (
set location-style behavior)
Every keyed widget carries both ValueKey('name') (Flutter-side #name selector) and
Semantics(identifier: 'name'), which Flutter maps to Android's resource-id /
iOS accessibilityIdentifier — so the native verb family resolves the same widgets
as the Dart-agent selectors. The mobile/tests/native/ suite (Android-only, uses
uiautomator) runs against mobile/tests/probe.android.yaml, which carries the
Android package id (com.alphawavesystems.probe_test_app):
cd mobile
probe test tests/native/ --config tests/probe.android.yaml --device emulator-5554 --reconnect-delay 5s -v -ynative/ios-swift/ is a hand-built SwiftUI app that replicates all 11 mobile/ screens with real (not stubbed) behavior — same navigation shape, same state transitions, same assertable text. Every interactive/assertable view carries an .accessibilityIdentifier that mirrors the Flutter app's ValueKey 1:1 (e.g. tab_home, nav_login, sign_in_button), so the same test scenarios can eventually run against both frameworks with only the selector syntax changing.
- Bundle id
com.alphawavesystems.probeTestApp.native(distinct from the Flutter app'scom.alphawavesystems.probeTestApp, so both can be installed on one simulator at once). - Biometric Login uses real
LocalAuthentication(Face ID/Touch ID), matching the Flutter screen's enrollment/match/no-match flow. - Built via
xcodegen+xcodebuild, same pattern asflutter-probe/native-test-apps/ios/. Seenative/ios-swift/project.yml.
Not yet runnable end-to-end via ProbeScript. FlutterProbe drives apps through an embedded Flutter agent package that only exists inside Flutter apps; iOS support for driving arbitrary native UI (WebDriverAgent/XCTest-based) is tracked as proposal N-2 in the flutter-probe repo (docs/proposals/n2-ios-native-ui-bridging.md) and is not yet implemented as of this writing. native/ios-swift/probe-tests/native_suite.probe records the intended test scenarios, clearly marked pending at the top of the file, ready to run once N-2 lands. In the meantime, native/ios-swift/UITests/ProbeNativeTwinUITests.swift is a standalone XCUITest smoke suite that verifies the key accessibilityIdentifiers actually resolve at runtime.
native/android-kotlin/ is a full native Android replica of the Flutter app (Kotlin, Jetpack Compose, applicationId com.alphawavesystems.probe_test_app_native) built to exercise FlutterProbe's native verb family (tap native, type native, see native, don't see native) against a real non-Flutter app. Every interactive/assertable view carries a Compose testTag that mirrors the Flutter app's ValueKey names 1:1 and is surfaced as a uiautomator resource-id (testTagsAsResourceId), so the same element vocabulary works across both apps. The Biometric Login screen uses the real Android BiometricPrompt, driven by biometric match / biometric no match. Its native-verb suite lives in native/android-kotlin/probe-tests/ — see the suite header for the run pattern (native verbs are CLI-side; a ProbeAgent host app holds the session while this app is foregrounded).
cd native/android-kotlin
JAVA_HOME=$(/usr/libexec/java_home -v 21) ./gradlew assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apk
adb shell am start -n com.alphawavesystems.probe_test_app_native/.MainActivity# Build with ProbeAgent enabled
cd mobile
flutter build apk --debug --dart-define=PROBE_AGENT=true # Android
flutter build ios --debug --simulator --dart-define=PROBE_AGENT=true # iOS
# Run all tests
probe test mobile/tests/ --device <device-serial> --config mobile/tests/probe.yaml -v -y
# Run in parallel across iOS + Android
probe test mobile/tests/ --parallel --devices emulator-5554,<ios-udid>BSL 1.1 — same as FlutterProbe.