patrol_cli 0.8.2 copy "patrol_cli: ^0.8.2" to clipboard
patrol_cli: ^0.8.2 copied to clipboard

Command-line tool for Patrol, a powerful Flutter-native UI testing framework.

0.8.2 #

  • Add patrol test command, which runs tests with native automation (with Gradle on Android and xcodebuild on iOS). This command is hidden for now until we're sure it has the same features patrol drive. In the 1.0 release, patrol drive will be removed in favor of `patrol test.

    Learn more how to setup your project for patrol test.

0.8.1 #

  • Add --label/--no-label flag to patrol drive, that displays the test name over the running app, making it easier to identify which test is currently running (#701)

0.8.0 #

  • Add support for Patrol Next (#646, #671)

0.7.17 #

  • Add support for NativeAutomator.swipe() (#669)

0.7.16 #

  • Add support for --use-application-binary argument for patrol drive (#667)

0.7.15 #

  • Update bootstrap command to generate code working with patrol v0.9.0 (#665)
  • Display short name instead of UUID in test results when running on iPhone (#664)

0.7.14 #

  • AutomatorServer:
    • Add 1 second delay after performing permission action on Android (#647)

0.7.13 #

  • Improve output (#644)

0.7.12 #

  • AutomatorServer:
    • Migrate gRPC server from Netty to OkHttp (#642)

0.7.11 #

  • Print status of test runs after patrol drive finishes (#624)

0.7.10 #

  • Print error message when screenshot fails on host side (#625)
  • Perform internal refactoring to make testing the CLI easier (#626)

0.7.9 #

  • Fix running tests that failed to build (#615)
  • Fix rare crashes on slower machines caused by activity service not running on Android emulator (#615)

0.7.8 #

  • Add support for patrolIntegrationDriver (#593)
  • Remove port forwarding, which wasn't needed for some time (#597, #603)

0.7.7+1 #

  • Fix --dart-defines being malformed (#589)

0.7.7 #

  • Add support for optional .patrol.env file where --dart-defines can be stored to avoid typing them manually in patrol drive invocations (#585)

0.7.6+2 #

  • Fix crashing on Windows (#586)
  • Fix bug with tests running n^2 times instead of n times (#580)

0.7.6+1 #

  • Fix crashing on Windows (#574)

0.7.6 #

  • Add --repeat argument to patrol drive, which makes flake detection easier (#552)

0.7.5 #

  • Reenable terminal animations (#521)
  • Fix infinite wait when more than 2 Android devices are connected (#553)

0.7.4+1 #

  • Fix patrol doctor crashing on Windows (#546)

0.7.4 #

  • Print more useful info in patrol doctor (#541)
  • Accept both device name and device ID for the --device argument to patrol drive (#537)
  • Wait for the package service to become active on Android before installing apk (#539, #540)

0.7.3+1 #

  • Disable terminal animations to fix logs on the CI (#498)

0.7.3 #

  • AutomatorServer:
    • Improve reliability of native interactions on iOS (#489)
    • Set minimum iOS version to 14.0 (#496)

0.7.2+1 #

  • Fix too aggressive logging when downloading artifacts (#484)

0.7.2 #

  • Make --target flag accept directories (#473)
  • Use prebuilt artifacts when running on iOS Simulator (#465)
  • Automatically download new artifacts during patrol update (#465)

0.7.1+3 #

  • Minimize iOS artifact size (#469)

0.7.1+2 #

  • Prebuild iOS artifacts for iPhones (#454)

0.7.1+1 #

  • Add version to prebuild iOS artifacts (#460)

0.7.1 #

  • Fix occasional crashes caused by Flutter's version prompt (#456)

0.7.0+1 #

  • Build iOS artifacts on CI (#452, #452)

0.7.0 #

In this release, we've focused on stability, reliability, and reducing flakiness.

  • AutomatorServer:
    • Add timeouts when interacting with native UI (#437)
    • Implement isPermissionDialogVisible() method (#448)
    • Fix entering text into SecureTextField on iOS (#446)

0.6.15 #

  • Fix trying to run on all attached devices (instead of only the first one) when no device is specified (#442)

0.6.14 #

  • AutomatorServer:
    • Further improve error messages occuring on the native side (#429)

0.6.13 #

  • AutomatorServer:
    • Print more info about errors occuring on the native side (#414)

0.6.12 #

  • AutomatorServer:
    • Fix denyPermission() not working on iOS (#413)

0.6.11 #

  • Improve stability (#397)
  • AutomatorServer:
    • Rename getNativeWidgets() to getNativeViews() (#399)
    • Add tapOnNotificationByIndex(), tapOnNotificationBySelector(), and closeHeadsUpNotification() on iOS (#398)

0.6.10 #

  • Fix artifacts being downloaded on every run on Linux and Windows (#392)
  • Fix a small typo during patrol drive (#391)
  • AutomatorServer:
    • Fix getNativeWidgets() crashing on Android (#393)

0.6.9 #

  • AutomatorServer:
    • Fix handling permission prompts now working in some edge cases (#383)

0.6.8 #

  • Improve update prompt (#377)
  • AutomatorServer:
    • Remove remaining Objective-C code (#374)

0.6.7 #

  • AutomatorServer:
    • Implement enabling and disabling cellular on iOS (#371)
    • Fix crash with trying to use non-existent AutomatorServer.xcworkspace when running tests on iOS (#371)

0.6.6+2 #

  • Build iOS test runner artifact in GitHub Actions (#362)

0.6.6+1 #

  • Download artifacts from GitHub Releases insted of LeanCode's Azure Storage (#363)

0.6.6 #

  • Release updated AutomatorServers (#338)

0.6.5 #

  • Fix --targets argument to patrol drive (#330)

0.6.4 #

  • Add the targets alias for target option for patrol drive (#314)
  • Add the devices alias for device option for patrol drive (#314)
  • Add the dart-defines alias for dart-define option for patrol drive (#314)
  • Remove support for the patrol.toml config file (#313)

0.6.3 #

  • Don't require host and port to be defined in patrol.toml or passed in as command-line arguments (#301)
  • Print cleaner, more readable logs when native action fails (#295)

0.6.2 #

  • Restart flutter drive on connection failure (#280)
  • Rename --devices to --device to be more consistent (#280)
  • Populate homepage field in pubspec.yaml (#254)

0.6.1 #

  • Fix handling native permissions on older Android API levels (#260)

0.6.0+1 #

  • Fix URL of artifact storage (#259)

0.6.0 #

  • Rename to patrol_cli (#258)

0.5.3 #

  • Add new --wait argument which accepts the number of seconds to wait after the test finishes (#251)
  • Make maestro drive run all tests (#253)

0.5.2 #

  • Migrate iOS AutomatorServer to a more stable HTTP server, which doesn't crash randomly (#220)
  • Add new packageName and bundleId fields to maestro.toml
  • Add new arguments to the tool: --package-name and --bundle-id

0.5.1 #

  • Add support for handling native permission requests on Android (#232)
  • Fix Android AutomatorServer suppressing all accessibility services (#235)

0.5.0 #

  • Now maestro_cli will clean up after itself, either when it exits normally or is stopped by the user (#209):
    • port forwarding is automatically stopped
    • artifacts are automatically uninstalled
  • pod install is automatically run when iOS artifacts are downloaded (macOS only) (#206)

0.4.4+3 #

  • Fix not working on Windows because of flutter command not being found

0.4.4+2 #

  • Fix problem with project not building because of a breaking change in package:mason_logger dependency

0.4.4+1 #

  • Fix issue with CI

0.4.4 #

  • Add support for physical iOS devices

0.4.3 #

  • Fix bug with APKs failing to force install when certificates don't match, this time once and for all

0.4.2 #

  • Fix bug with APKs failing to force install when certificates don't match

0.4.1 #

  • Rename MAESTRO_ARTIFACT_PATH environment variable to MAESTRO_CACHE
  • Add maestro devices command
  • Some work made under the hood to enable support for iOS

0.4.0 #

0.3.5 #

  • Fix dependency resolution problem

0.3.4 #

  • Improve output of maestro drive

0.3.3 #

  • Fix a crash which occured when ADB daemon was not initialized

0.3.2 #

  • Fix a crash which occured when ADB daemon was not initialized
  • Make it possible to add --dart-defines in maestro.toml
  • Fix templates generated by maestro bootstrap

0.3.1 #

  • Automatically inform about new version when it is available
  • Add maestro update command to easily update the package

0.3.0 #

0.2.0 #

0.1.5 #

  • Allow for running on many devices simultaneously
  • A usual portion of smaller improvements and bug fixes

0.1.4 #

  • Be more noisy when an error occurs
  • Change waiting timeout for native widgets from 10s to 2s

0.1.3 #

  • Fix a bug which made flavor option required
  • Add --debug flag to maestro drive, which allows to use default, non-versioned artifacts from $MAESTRO_ARTIFACT_PATH

0.1.2 #

  • Fix typo in generated integration_test/app_test.dart
  • Depend on package:adb

0.1.1 #

  • Set minimum Dart version to 2.16.
  • Fix links to package:leancode_lint in README

0.1.0 #

  • Add --template option for maestro bootstrap
  • Add --flavor options for maestro drive
  • Rename maestro config to maestro doctor

0.0.9 #

  • Add --device option for maestro drive, which allows you to specify the device to use. Devices can be obtained using adb devices

0.0.8 #

  • Fix maestro drive on Windows crashing with ProcessException

0.0.7 #

  • Fix a few bugs

0.0.6 #

  • Fix maestro bootstrap on Windows crashing with ProcessException

0.0.5 #

  • Make versions match AutomatorServer

0.0.4 #

  • Nothing

0.0.3 #

  • Add support for maestro.toml config file

0.0.2 #

  • Split maestro and maestro_cli into separate packages
  • Add basic, working command line interface with

0.0.1 #

  • Initial version