Skip to main content

qaflow 0.1.0 copy "qaflow: ^0.1.0" to clipboard
qaflow: ^0.1.0 copied to clipboard

QAFlow engine and the qa CLI. Launch a Flutter app, run YAML flows, take screenshots and compare baselines.

example/README.md

qaflow example #

A QAFlow project lives in a .qa/ folder at the root of your Flutter app.

.qa/project.yaml

app:
  source: .
flows:
  folders: [.qa/flows]

.qa/flows/dialog.yaml. The ids and texts in this flow (open_dialog, Enter a value, OK) come from the repo's demo app; change them to match the widgets in your app.

name: Dialog writes its value back
tags: [dialog]
---
- launchApp
- tapOn:
    id: open_dialog
- assertVisible: Enter a value
- inputText: hello
- tapOn: OK
- assertVisible: hello
- takeScreenshot: dialog-done

Commands, run from the app's folder:

dart run qaflow:qa validate --config .qa/project.yaml
dart run qaflow:qa test --config .qa/project.yaml --out qa-out
dart run qaflow:qa ping --project .

The app needs qaflow_agent and a lib/main_qa.dart that calls QaAgent.install().

1
likes
0
points
218
downloads

Publisher

unverified uploader

Weekly Downloads

QAFlow engine and the qa CLI. Launch a Flutter app, run YAML flows, take screenshots and compare baselines.

Topics

#testing #flutter #e2e #automation

License

unknown (license)

Dependencies

args, image, path, qaflow_protocol, vm_service, yaml

More

Packages that depend on qaflow