Replies: 3 comments 6 replies
-
Hi, can you show me the code of these two tests? |
Beta Was this translation helpful? Give feedback.
-
@fylyppo I've created a public repo with Counter App as a minimal reproducible example (I'm using Flutter 3.7.12). The "integration_test/example_test.dart" has 2 same tests but only one is getting run during the "patrol test ..." command execution. PatrolOnlyOneTestsGetsRun.23-07-30.at.14.39.mov |
Beta Was this translation helpful? Give feedback.
-
Oh, now I see the problem. Inside |
Beta Was this translation helpful? Give feedback.
-
Hi, guys! I'm migrating our Flutter integration tests to the Patrol framework & currently facing an issue - "patrol test ..." isn't running 2nd test after 1st, while via "patrol develop ..." it is Ok. Maybe someone already had something similar? TY in advance!
Flutter: 3.7.12
Patrol: 2.1.0
Patrol CLI version: 2.0.4
flutter logs
Showing sdk gphone64 arm64 logs:
I/flutter (10423): The Dart VM service is listening on http://127.0.0.1:39731/9HNwZGzoENA=/
D/FlutterBranchSDK(10423): onAttachedToEngine call
D/FlutterBranchSDK(10423): setupChannels call
D/FlutterBranchSDK(10423): Branch SDK with log enable
D/FlutterBranchSDK(10423): onAttachedToActivity call
D/FlutterBranchSDK(10423): setActivity call
D/FlutterBranchSDK(10423): BranchReferralInitListener - params: {"+clicked_branch_link":false,"+is_first_session":false}
I/flutter (10423): Patrol (native): initialize() started
I/flutter (10423): Patrol (native): initialize() succeeded
I/flutter (10423): 00:00 +0: patrol_test_explorer
I/flutter (10423): PatrolAppService started on port 8082
I/flutter (10423): Patrol (native): markPatrolAppServiceReady() started
I/flutter (10423): 00:00 +1: patrol_ci_smoke_test Sign-up Only With Required Fields e2e
I/flutter (10423): Patrol (native): markPatrolAppServiceReady() succeeded
I/flutter (10423): PatrolAppService: registered "patrol_ci_smoke_test"
I/flutter (10423): PatrolAppService.listDartTests() called
I/flutter (10697): The Dart VM service is listening on http://127.0.0.1:41481/hjPGWN452UY=/
D/FlutterBranchSDK(10697): onAttachedToEngine call
D/FlutterBranchSDK(10697): setupChannels call
D/FlutterBranchSDK(10697): Branch SDK with log enable
D/FlutterBranchSDK(10697): onAttachedToActivity call
D/FlutterBranchSDK(10697): setActivity call
D/FlutterBranchSDK(10697): BranchReferralInitListener - params: {"+clicked_branch_link":false,"+is_first_session":false}
I/flutter (10697): Patrol (native): initialize() started
I/flutter (10697): Patrol (native): initialize() succeeded
I/flutter (10697): 00:00 +0: patrol_test_explorer
I/flutter (10697): PatrolAppService started on port 8082
I/flutter (10697): Patrol (native): markPatrolAppServiceReady() started
I/flutter (10697): 00:00 +1: patrol_ci_smoke_test Sign-up Only With Required Fields e2e
I/flutter (10697): Patrol (native): markPatrolAppServiceReady() succeeded
I/flutter (10697): PatrolAppService: registered "patrol_ci_smoke_test"
I/flutter (10697): PatrolAppService.listDartTests() called
I/flutter (10697): PatrolAppService.runDartTest(patrol_ci_smoke_test) called
I/flutter (10697): PatrolAppService: requested execution of test "patrol_ci_smoke_test"
I/flutter (10697): Patrol (native): configure() started
I/flutter (10697): Patrol (native): configure() succeeded
I/flutter (10697): Braze content card subscription not present. Removing any queued cards and adding only the recent refresh.
D/FlutterBranchSDK(10697): setRequestMetadata call
D/FlutterBranchSDK(10697): onListen call
I/flutter (10697): Patrol (native): isPermissionDialogVisible() started
I/flutter (10697): Patrol (native): isPermissionDialogVisible() succeeded
I/flutter (10697): Patrol (native): tap() started
I/flutter (10697): Patrol (native): tap() succeeded
I/flutter (10697): version = "Android 12"
I/flutter (10697): Init with applicationId=""
I/flutter (10697): Init result ="false"
D/FlutterBranchSDK(10697): onCancel call
I/flutter (10697): PatrolBinding: tearDown(): count: 1, results: {Sign-up Only With Required Fields e2e: success}
I/flutter (10697): PatrolBinding: tearDown(): test "Sign-up Only With Required Fields e2e" in group "patrol_ci_smoke_test", passed: true
I/flutter (10697): PatrolAppService.markDartTestAsCompleted(): patrol_ci_smoke_test
I/flutter (10697): 00:41 +2: patrol_ci_smoke_test Delete Account w/o reason e2e
I/flutter (10697): PatrolAppService: registered "patrol_ci_smoke_test"
I/flutter (10697): PatrolAppService: requested execution of test "patrol_ci_smoke_test"
I/flutter (10697): Patrol (native): configure() started
I/flutter (10697): Patrol (native): configure() succeeded
Beta Was this translation helpful? Give feedback.
All reactions