Skip to main content

qaflow_protocol 0.1.1 copy "qaflow_protocol: ^0.1.1" to clipboard
qaflow_protocol: ^0.1.1 copied to clipboard

Wire types shared by the QAFlow in-app agent and driver, including selectors, responses and error codes for Flutter QA.

qaflow_protocol #

Pure Dart wire types shared by the QAFlow in-app agent and its driver: Selector, QaMethod, QaResponse, QaErrorCode, KeyChord and the screenshot transfer helpers. It has no Flutter dependency, so it runs in the CLI, in tools and in CI.

You usually get it transitively through qaflow_agent or qaflow. Depend on it directly only when you write your own driver or tooling.

Install #

dart pub add qaflow_protocol

Use #

import 'package:qaflow_protocol/qaflow_protocol.dart';

final json = const Selector(text: 'Sign in', enabled: true).toJson();
final response = QaResponse.fromJson({'ok': true, 'v': protocolVersion, 'result': {}});

See example/qaflow_protocol_example.dart.

More #

You don't need to add this package yourself: it comes with qaflow_agent and qaflow. Read the QAFlow docs for how to use QAFlow, and report issues on its issue tracker.

1
likes
0
points
234
downloads

Publisher

unverified uploader

Weekly Downloads

Wire types shared by the QAFlow in-app agent and driver, including selectors, responses and error codes for Flutter QA.

Repository (GitHub)
View/report issues

Topics

#testing #flutter #e2e #automation

License

unknown (license)

More

Packages that depend on qaflow_protocol