Repo created
This commit is contained in:
parent
a629de6271
commit
3cef7c5092
2161 changed files with 246605 additions and 2 deletions
60
ui-flows/validate/compose_simple_message.yml
Normal file
60
ui-flows/validate/compose_simple_message.yml
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
appId: com.fsck.k9.debug
|
||||
---
|
||||
- runFlow: ../shared/login_demo_account.yml
|
||||
|
||||
## Start composing
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/floating_action_button"
|
||||
|
||||
## Compose email
|
||||
|
||||
## To
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/to"
|
||||
- inputText: "simple_compose@example.com"
|
||||
|
||||
## Subject
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
- inputText: "Simple compose test"
|
||||
|
||||
## Message
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/message_content"
|
||||
- inputText: "Lorem ipsum dolor sit amet."
|
||||
|
||||
## Send
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/send"
|
||||
|
||||
## Open message
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
index: 0
|
||||
text: "Simple compose test"
|
||||
|
||||
## Assert
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
text: "Simple compose test"
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/from"
|
||||
text: "Demo User"
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/recipient_names"
|
||||
text: "to simple_compose@example.com"
|
||||
- assertVisible: "Lorem ipsum dolor sit amet."
|
||||
|
||||
## Delete message
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/delete"
|
||||
- assertNotVisible:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
text: "Simple compose test"
|
||||
|
||||
## Return to inbox
|
||||
- tapOn: "Navigate up"
|
||||
- assertNotVisible:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
index: 0
|
||||
text: "Compose test"
|
||||
92
ui-flows/validate/message_details_show_contact_names.yml
Normal file
92
ui-flows/validate/message_details_show_contact_names.yml
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
appId: com.fsck.k9.debug
|
||||
---
|
||||
- runFlow: ../shared/login_demo_account.yml
|
||||
|
||||
## Open message
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
index: 0
|
||||
text: "Message details demo"
|
||||
|
||||
## Check message
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/from"
|
||||
text: "Alice"
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/recipient_names"
|
||||
text: "to User 1.*"
|
||||
|
||||
### Open message details
|
||||
- runFlow: ../shared/open_message_details.yml
|
||||
|
||||
## Check message details
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/name"
|
||||
text: "Alice"
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/name"
|
||||
text: "User 1"
|
||||
|
||||
## Add contacts
|
||||
- runFlow:
|
||||
file: ../shared/add_contact.yml
|
||||
env:
|
||||
INDEX: 0
|
||||
NAME: Alice
|
||||
FIRST_NAME: Alice
|
||||
- runFlow:
|
||||
file: ../shared/add_contact.yml
|
||||
env:
|
||||
INDEX: 4
|
||||
NAME: User 1
|
||||
FIRST_NAME: User
|
||||
|
||||
## Close message
|
||||
- tapOn:
|
||||
id: "com.android.systemui:id/back"
|
||||
- tapOn:
|
||||
id: "com.android.systemui:id/back"
|
||||
|
||||
## Change settings
|
||||
- runFlow: ../shared/change_display_settings_show_contact_names.yml
|
||||
|
||||
## Open message
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/subject"
|
||||
index: 0
|
||||
text: "Message details demo"
|
||||
|
||||
## Check message
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/from"
|
||||
text: "Alice from Contacts"
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/recipient_names"
|
||||
text: "to User from Contacts.*"
|
||||
|
||||
### Open message details
|
||||
- runFlow: ../shared/open_message_details.yml
|
||||
|
||||
## Check message details
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/name"
|
||||
text: "Alice from Contacts"
|
||||
- assertVisible:
|
||||
id: "com.fsck.k9.debug:id/name"
|
||||
text: "User from Contacts 1"
|
||||
|
||||
## Remove contacts
|
||||
- runFlow:
|
||||
file: ../shared/remove_contact.yml
|
||||
env:
|
||||
NAME: Alice from Contacts
|
||||
|
||||
- runFlow:
|
||||
file: ../shared/remove_contact.yml
|
||||
env:
|
||||
NAME: User from Contacts 1
|
||||
|
||||
## Close message
|
||||
- tapOn:
|
||||
id: "com.android.systemui:id/back"
|
||||
- tapOn: "Navigate up"
|
||||
Loading…
Add table
Add a link
Reference in a new issue