Skip to content

Commit

Permalink
Upgrade patrol_finders in patrol and enable printing logs in finders
Browse files Browse the repository at this point in the history
  • Loading branch information
pdenert committed Nov 13, 2024
1 parent d681d27 commit 6808167
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/patrol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.13.0-dev.3

- Bump `patrol_finders` and enable logging.

## 3.13.0-dev.2

- Bump `patrol_log` version.
Expand Down
4 changes: 3 additions & 1 deletion packages/patrol/lib/src/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ void patrolTest(
bool semanticsEnabled = true,
TestVariant<Object?> 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,
Expand Down
4 changes: 2 additions & 2 deletions packages/patrol/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 6808167

Please sign in to comment.