From 5b644d14b4602da4febe2a1183a39c1e02c0497d Mon Sep 17 00:00:00 2001 From: pdenert Date: Fri, 8 Nov 2024 17:04:20 +0100 Subject: [PATCH] Log patrol test start in patrolTest --- packages/patrol/lib/src/common.dart | 3 +++ packages/patrol/lib/src/native/patrol_app_service.dart | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/patrol/lib/src/common.dart b/packages/patrol/lib/src/common.dart index 2a927a370..1ba923717 100644 --- a/packages/patrol/lib/src/common.dart +++ b/packages/patrol/lib/src/common.dart @@ -136,6 +136,9 @@ void patrolTest( // We don't have to call this line because automator.configure() does the same. // await automator2.configure(); + patrolLog.log( + TestEntry(name: description, status: TestEntryStatus.start), + ); final patrolTester = PatrolIntegrationTester( tester: widgetTester, nativeAutomator: automator, diff --git a/packages/patrol/lib/src/native/patrol_app_service.dart b/packages/patrol/lib/src/native/patrol_app_service.dart index 58dc0e582..090af209d 100644 --- a/packages/patrol/lib/src/native/patrol_app_service.dart +++ b/packages/patrol/lib/src/native/patrol_app_service.dart @@ -149,12 +149,6 @@ class PatrolAppService extends PatrolAppServiceServer { assert(_testExecutionCompleted.isCompleted == false); // patrolTest() always calls this method. - _patrolLog.log( - TestEntry( - name: request.name, - status: TestEntryStatus.start, - ), - ); print('PatrolAppService.runDartTest(${request.name}) called'); _testExecutionRequested.complete(request.name);