From edb8b38253fed4e706f8128c170d6d2e089ed63f Mon Sep 17 00:00:00 2001 From: pdenert Date: Wed, 13 Nov 2024 17:53:09 +0100 Subject: [PATCH] Upgrade patrol_finders in patrol and enable printing logs in finders --- packages/patrol/CHANGELOG.md | 3 ++- packages/patrol/lib/src/common.dart | 4 +++- packages/patrol/pubspec.yaml | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/patrol/CHANGELOG.md b/packages/patrol/CHANGELOG.md index f30a01253..ff58812ed 100644 --- a/packages/patrol/CHANGELOG.md +++ b/packages/patrol/CHANGELOG.md @@ -1,6 +1,7 @@ -## Unreleased +## 3.13.0-dev.3 - Fix macos functionality. (#2408) +- Bump `patrol_finders` and enable logging. ## 3.13.0-dev.2 diff --git a/packages/patrol/lib/src/common.dart b/packages/patrol/lib/src/common.dart index 1ba923717..46d1b91ef 100644 --- a/packages/patrol/lib/src/common.dart +++ b/packages/patrol/lib/src/common.dart @@ -90,7 +90,9 @@ void patrolTest( bool semanticsEnabled = true, TestVariant variant = const DefaultTestVariant(), dynamic tags, - finders.PatrolTesterConfig config = const finders.PatrolTesterConfig(), + finders.PatrolTesterConfig config = const finders.PatrolTesterConfig( + printLogs: true, + ), NativeAutomatorConfig nativeAutomatorConfig = const NativeAutomatorConfig(), LiveTestWidgetsFlutterBindingFramePolicy framePolicy = LiveTestWidgetsFlutterBindingFramePolicy.fadePointers, diff --git a/packages/patrol/pubspec.yaml b/packages/patrol/pubspec.yaml index 81948d7d0..d61e7d032 100644 --- a/packages/patrol/pubspec.yaml +++ b/packages/patrol/pubspec.yaml @@ -2,7 +2,7 @@ name: patrol description: > Powerful Flutter-native UI testing framework overcoming limitations of existing Flutter testing tools. Ready for action! -version: 3.13.0-dev.2 +version: 3.13.0-dev.3 homepage: https://patrol.leancode.co repository: https://github.com/leancodepl/patrol/tree/master/packages/patrol issue_tracker: https://github.com/leancodepl/patrol/issues @@ -26,7 +26,7 @@ dependencies: http: '^1.1.0' json_annotation: ^4.8.1 meta: ^1.10.0 - patrol_finders: ^2.2.0+1 + patrol_finders: ^2.3.0 patrol_log: ^0.0.1+2 shelf: ^1.4.1 test_api: '^0.7.0'