Questions tagged [flutter-patrol]

Use this tag for questions about Patrol - a testing framework for Flutter apps. If your question is platform-specific, tag the platform as well (e.g., [android], [ios], etc.). You may also wish to include the [dart] and [testing] tags.

Patrol is a testing framework for Flutter. It builds on top of Flutter's testing tools.

Patrol lets you access features of the platform that the Flutter app is running on. For example, you can go to the home screen, tap on notifications, change device settings, or toggle Wi-Fi – and you can code this very easily in Dart.

Patrol also provides a new custom finder system that extends Flutter's default finders. Patrol's custom finders make writing Flutter widget tests dramatically faster and easier.

Docs: https://patrol.leancode.co

18 questions
0
votes
0 answers

Error running automated test in Flutter with Patrol

I'm trying to run a simple test with Patrol and I get the following error: Patrol (native): configure() failed: (GrpcError: configure() failed with code UNAVAILABLE (Error connecting: SocketException: The remote computer refused the network…
0
votes
1 answer

The workspace named "Runner" does not contain a scheme named "Runner". error for Flutter integration test with patrol in iOS

I try to implement integration tests in my flutter project. I found Patrol meet my requirement and it can assess native feature like openNotifications disableWifi etc. I followed the tutorial on how to integrate Patrol Native code to enable this…
0
votes
1 answer

How to test this GestureDetector in Flutter with Patrol?

In my app, the widget tree is DeleteItem GestureDetector -> InvoiceTotal Widget -> ItemListWidget -> ListView -> EditInvoiceClass I tried to use PatrolTest await $(#InvoiceTotal).$(#DeleteItem).scrollTo().tap(); $.pumpAndSettle; to test the…
1
2