Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade patrol_finders in patrol and enable printing logs in finders #2412

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/patrol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

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
Loading