Change flows and add requirements section to README
This commit is contained in:
parent
68ce2e3562
commit
70994c0d0f
4 changed files with 13 additions and 14 deletions
|
@ -8,14 +8,18 @@ The flows are located in the `ui-utils` folder with this structure:
|
|||
- `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](https://maestro.mobile.dev/getting-started/installing-maestro)
|
||||
|
||||
## 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 `
|
||||
|
|
|
@ -7,11 +7,6 @@
|
|||
appId: com.fsck.k9.debug
|
||||
---
|
||||
|
||||
## Add to contact
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/name"
|
||||
text: ${NAME}
|
||||
|
||||
## Add contact
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/menu_add_contact"
|
||||
|
|
|
@ -17,10 +17,10 @@ appId: com.fsck.k9.debug
|
|||
## Account name configuration
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/account_description"
|
||||
- inputText: "demo@k9mail"
|
||||
- inputText: "Demo Account"
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/account_name"
|
||||
- inputText: "Demo Account"
|
||||
- inputText: "Demo User"
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/done"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ appId: com.fsck.k9.debug
|
|||
## Subject
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
- inputText: "Compose test"
|
||||
- inputText: "Simple compose test"
|
||||
|
||||
## Message
|
||||
- tapOn:
|
||||
|
@ -31,15 +31,15 @@ appId: com.fsck.k9.debug
|
|||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
index: 0
|
||||
text: "Compose test"
|
||||
text: "Simple compose test"
|
||||
|
||||
## Assert
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
text: "Compose test"
|
||||
text: "Simple compose test"
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/from"
|
||||
text: "Demo Account"
|
||||
text: "Demo User"
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/recipient_names"
|
||||
text: "to simple_compose@example.com"
|
||||
|
@ -50,7 +50,7 @@ appId: com.fsck.k9.debug
|
|||
id: "com.fsck.k9.debug:id/delete"
|
||||
- assertNotVisible:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
text: "Compose test"
|
||||
text: "Simple compose test"
|
||||
|
||||
## Return to inbox
|
||||
- tapOn: "Navigate up"
|
||||
|
|
Loading…
Reference in a new issue