patrol_cli 1.0.0
patrol_cli: ^1.0.0 copied to clipboard
Command-line tool for Patrol, a powerful Flutter-native UI testing framework.
1.0.0 #
0.9.4 #
patrol test: Improve how external tool invocations are logged when running with--verbose(#906)patrol test:Fix.xctrunnerapp not being uninstalled after tests finish on iOS Simulator (#907)
0.9.3 #
- Add support for
flavorin Patrol configuration block inpubspec.yaml(#892) - Fix
patrol testnot propagatingPATROL_VERBOSE(activated with--verboseflag) to the Flutter side (#892)
0.9.2 #
- Fix
patrol testbroken on Windows when running tests on Android (#889)
0.9.1 #
- Improve error message of
patrol testwhen theintegration_testdirectory doesn't exist (#876) - Make
patrol testrun tests in a more predictable,ls-like order (#882) - Fix
patrol testincorrectly encoding--dart-definewhen running on Android (#885) - Display name of currently running test file in top-left corner (#885)
0.9.0 #
-
Enable
patrol testfor physical iOS devices (#863) -
Make it possible to specify
package_nameandbundle_idinpubspec.yaml(#868)If these values are set, the tool automatically uninstalls the app after every test. It's recommended to set them.
Example:
dependencies: # ... dev_dependencies: # ... patrol: android: package_name: pl.leancode.awesomeapp app_name: Awesome App ios: bundle_id: pl.leancode.AwesomeApp app_name: Awesome App
0.8.6 #
-
Uninstall app under test after
patrol test(#848)This currently requires package name (on Android) and bundle identifier (on iOS) to be passed through respective arguments to
patrol test. Soon it'll also be possible to define these values in `pubspec.yaml. -
Print helpful links when called without arguments (#865)
-
Fix verbose output from Gradle having garbled newlines (#858)
0.8.5 #
-
Add a deprecation warning to
patrol drivecommand (#833)Use the new
patrol testcommand. See setup instructions.
0.8.4 #
-
When using
patrol test, infer--configurationfrom--flavorwhen possible (#796) -
Fix
patrol teston Windows (#805)
0.8.3 #
- Make
patrol testmore configurable (#791)
0.8.2+1 #
- Fix typo in changelog (#783)
0.8.2 #
-
Add
patrol testcommand (#731)patrol testruns tests natively (using Gradle on Android andxcodebuildon iOS). This command is hidden frompatrol --helpfor now until we're sure it has the same featurespatrol drive, but you can already use it. In a future release,patrol drivewill be deprecated, and in 1.0,patrol drivewill be removed in favor ofpatrol test.Learn more here about why we're deprecating
patrol drive.Learn more here about how to setup your project to use
patrol test.
0.8.1 #
- Add
--label/--no-labelflag topatrol 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-binaryargument forpatrol drive(#667)
0.7.15 #
- Update
bootstrapcommand to generate code working withpatrolv0.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 drivefinishes (#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
activityservice 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.envfile where--dart-defines can be stored to avoid typing them manually inpatrol driveinvocations (#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
--repeatargument topatrol 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 doctorcrashing on Windows (#546)
0.7.4 #
- Print more useful info in
patrol doctor(#541) - Accept both device name and device ID for the
--deviceargument topatrol drive(#537) - Wait for the
packageservice 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
--targetflag 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)
- Fix
0.6.11 #
- Improve stability (#397)
- AutomatorServer:
- Rename
getNativeWidgets()togetNativeViews()(#399) - Add
tapOnNotificationByIndex(),tapOnNotificationBySelector(), andcloseHeadsUpNotification()on iOS (#398)
- Rename
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)
- Fix
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.xcworkspacewhen 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
--targetsargument topatrol drive(#330)
0.6.4 #
- Add the
targetsalias fortargetoption forpatrol drive(#314) - Add the
devicesalias fordeviceoption forpatrol drive(#314) - Add the
dart-definesalias fordart-defineoption forpatrol drive(#314) - Remove support for the
patrol.tomlconfig file (#313)
0.6.3 #
- Don't require
hostandportto be defined inpatrol.tomlor passed in as command-line arguments (#301) - Print cleaner, more readable logs when native action fails (#295)
0.6.2 #
- Restart
flutter driveon connection failure (#280) - Rename
--devicesto--deviceto be more consistent (#280) - Populate
homepagefield inpubspec.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
--waitargument which accepts the number of seconds to wait after the test finishes (#251) - Make
maestro driverun all tests (#253)
0.5.2 #
- Migrate iOS AutomatorServer to a more stable HTTP server, which doesn't crash randomly (#220)
- Add new
packageNameandbundleIdfields tomaestro.toml - Add new arguments to the tool:
--package-nameand--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_cliwill 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 installis automatically run when iOS artifacts are downloaded (macOS only) (#206)
0.4.4+3 #
- Fix not working on Windows because of
fluttercommand not being found
0.4.4+2 #
- Fix problem with project not building because of a breaking change in
package:mason_loggerdependency
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_PATHenvironment variable toMAESTRO_CACHE - Add
maestro devicescommand - Some work made under the hood to enable support for iOS
0.4.0 #
- Support maestro_test 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 inmaestro.toml - Fix templates generated by
maestro bootstrap
0.3.1 #
- Automatically inform about new version when it is available
- Add
maestro updatecommand to easily update the package
0.3.0 #
- Add support for new features in maestro_test 0.3.0
0.2.0 #
- Add support for new features in maestro_test 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
flavoroption required - Add
--debugflag tomaestro 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_lintin README
0.1.0 #
- Add
--templateoption formaestro bootstrap - Add
--flavoroptions formaestro drive - Rename
maestro configtomaestro doctor
0.0.9 #
- Add
--deviceoption formaestro drive, which allows you to specify the device to use. Devices can be obtained usingadb devices
0.0.8 #
- Fix
maestro driveon Windows crashing with ProcessException
0.0.7 #
- Fix a few bugs
0.0.6 #
- Fix
maestro bootstrapon Windows crashing with ProcessException
0.0.5 #
- Make versions match AutomatorServer
0.0.4 #
- Nothing
0.0.3 #
- Add support for
maestro.tomlconfig file
0.0.2 #
- Split
maestroandmaestro_cliinto separate packages - Add basic, working command line interface with
0.0.1 #
- Initial version