0
0
mirror of https://github.com/thunderbird/thunderbird-android.git synced 2024-09-19 11:42:14 +02:00
thunderbird-android/ui-flows
2024-08-26 20:06:48 +02:00
..
custom Add maestro test flows to verify show contact names 2023-02-08 14:45:32 +01:00
shared Add new flow to add a second demo account 2023-02-17 15:36:44 +01:00
validate Change flows and add requirements section to README 2023-02-09 11:17:28 +01:00
README.md Fix README 2023-02-09 12:04:49 +01:00

UI flows

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

The flows are located in the ui-utils folder with this structure:

  • custom - flows that should not be committed to git
  • shared - flows usable by other flows
  • validate - flows that assert behavior of the app

Requirements

  • Android Pixel 2 emulator 5.0" screen with 1080x1920 resolution and 420dpi
  • API 31
  • English as system language

Install

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

Run

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.