You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use patrol test --release command to start the integration test on real device.
Device: iPhone 11 with iOS 18.0.1
Actual results
Everything works fine until the step where the test attempts to tap the notification. The integration test tries to tap the Patrol says hello! notification, but the app does not open, causing the test to hang.
On the other hand, the integration test for the starter project works fine on the iOS simulator with patrol test command.
Logs
Logs
shanchen@Shans-Mac-mini patrol-basics-tutorial % patrol test --release
No device specified, using the first one (Shan_iPhone11)
• Building app with entrypoint test_bundle.dart for iOS device (release)...
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building com.resocoder.patrolBasicsTutorial for device (ios-release)...
✓ Completed building app with entrypoint test_bundle.dart for iOS device (52.1s)
• Running app with entrypoint test_bundle.dart for iOS device on device Shan_iPhone11...
Patrol version
patrol: ^3.13.1
Patrol Doctor output
Patrol Doctor output
shanchen@Shans-Mac-mini patrol-basics-tutorial % patrol doctor
Patrol doctor:
Patrol CLI version: 3.4.1
Flutter command: flutter
Flutter 3.24.3 • channel stable
Android:
• Program adb not found (install with `export PATH="$ANDROID_HOME/platform-tools:$PATH"`)
• Env var $ANDROID_HOME is not set. (See the link: https://developer.android.com/tools/variables#set)
iOS / macOS:
• Program xcodebuild found in /usr/bin/xcodebuild
• Program ideviceinstaller found in /opt/homebrew/bin/ideviceinstaller
Flutter Doctor output
Flutter Doctor output
shanchen@Shans-Mac-mini patrol-basics-tutorial % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64, locale en-TW)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] Connected device (4 available)
! Error: Browsing on the local area network for Shan_iPhone11. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for WinnieYC_iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for PinXuan的iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• No issues found!
The text was updated successfully, but these errors were encountered:
shanxus
changed the title
Can not finish test with example app on real device.
Can not finish test with example app on real iOS device.
Dec 19, 2024
shanxus
changed the title
Can not finish test with example app on real iOS device.
Can not finish test with starter project on real iOS device.
Dec 19, 2024
Steps to reproduce
patrol test --release
command to start the integration test on real device.Device: iPhone 11 with iOS 18.0.1
Actual results
Everything works fine until the step where the test attempts to tap the notification. The integration test tries to tap the Patrol says hello! notification, but the app does not open, causing the test to hang.
On the other hand, the integration test for the starter project works fine on the iOS simulator with
patrol test
command.Logs
Logs
Patrol version
patrol: ^3.13.1
Patrol Doctor output
Patrol Doctor output
Flutter Doctor output
Flutter Doctor output
The text was updated successfully, but these errors were encountered: