thunderbird-android/ui-flows
2023-02-08 15:03:11 +01:00
..
custom Add maestro test flows to verify show contact names 2023-02-08 14:45:32 +01:00
shared Add maestro test flows to verify show contact names 2023-02-08 14:45:32 +01:00
login_demo_account.yml Add maestro test flows to verify show contact names 2023-02-08 14:45:32 +01:00
README.md Add readme 2023-02-08 15:03:11 +01:00
validate_compose_simple_message.yml Add maestro test flows to verify show contact names 2023-02-08 14:45:32 +01:00
validate_message_details_show_contact_names.yml Add maestro test flows to verify show contact names 2023-02-08 14:45:32 +01:00

UI flows

Ui flows are using Maestro, that allows to write UI E2E tests for Android.

Install

To be able to run the flows, you need to install the CLI tools

Run

The current flows run best with a Pixel 2 emulator having a 5.0" screen with 1080x1920 resolution and 420dpi.

Ensure a device or emulator is running and execute:

  • maestro test ui-flows/validate_compose_simple_message.yml
  • maestro test ui-flows/validate_message_details_show_contact_names.yml

Write

Have a look at the documentation on how to write flows.

The flows are located in the ui-utils folder:

  • 'shared' folder - for reusable flows usable by other flows
  • 'custom' folder - for custom flows that should not be committed to git

Flows that assert behavior of the app should start with validate.