Repo created
This commit is contained in:
parent
a629de6271
commit
3cef7c5092
2161 changed files with 246605 additions and 2 deletions
23
ui-flows/shared/add_contact.yml
Normal file
23
ui-flows/shared/add_contact.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# use env to provide properties:
|
||||
# env:
|
||||
# INDEX: 0
|
||||
# NAME: Alice
|
||||
# FIRST_NAME: Alice
|
||||
|
||||
appId: com.fsck.k9.debug
|
||||
---
|
||||
|
||||
## Add contact
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/menu_add_contact"
|
||||
index: ${INDEX}
|
||||
- tapOn: ${FIRST_NAME}
|
||||
- inputText: " from Contacts"
|
||||
|
||||
### Save
|
||||
- tapOn:
|
||||
id: "com.android.contacts:id/editor_menu_save_button"
|
||||
|
||||
### Exit
|
||||
- tapOn:
|
||||
id: "com.android.systemui:id/back"
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
appId: com.fsck.k9.debug
|
||||
---
|
||||
|
||||
## Open settings
|
||||
- runFlow: open_display_settings.yml
|
||||
|
||||
### Scroll to "Show contact names"
|
||||
- scrollUntilVisible:
|
||||
element:
|
||||
id: "android:id/title"
|
||||
text: "Show contact names"
|
||||
direction: DOWN
|
||||
timeout: 10000
|
||||
|
||||
### Enable "Show contact names"
|
||||
- tapOn:
|
||||
id: "android:id/title"
|
||||
text: "Show contact names"
|
||||
|
||||
### Close settings
|
||||
- runFlow: close_display_settings.yml
|
||||
9
ui-flows/shared/close_display_settings.yml
Normal file
9
ui-flows/shared/close_display_settings.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
appId: com.fsck.k9.debug
|
||||
---
|
||||
|
||||
- tapOn: "Navigate up"
|
||||
- tapOn: "Navigate up"
|
||||
- tapOn: "Navigate up"
|
||||
- swipe:
|
||||
direction: LEFT
|
||||
duration: 200
|
||||
29
ui-flows/shared/login_demo_account.yml
Normal file
29
ui-flows/shared/login_demo_account.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
appId: com.fsck.k9.debug
|
||||
---
|
||||
- launchApp:
|
||||
clearState: true
|
||||
|
||||
# Welcome
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/next"
|
||||
|
||||
## Setup new account
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/account_email"
|
||||
- inputText: "demo@k9mail.example"
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/next"
|
||||
|
||||
## Account name configuration
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/account_description"
|
||||
- inputText: "Demo Account"
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/account_name"
|
||||
- inputText: "Demo User"
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/done"
|
||||
|
||||
## Grant access to contacts
|
||||
- tapOn:
|
||||
id: "com.android.permissioncontroller:id/permission_allow_button"
|
||||
22
ui-flows/shared/open_display_settings.yml
Normal file
22
ui-flows/shared/open_display_settings.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
appId: com.fsck.k9.debug
|
||||
---
|
||||
|
||||
## Open drawer
|
||||
- tapOn: "Navigate up"
|
||||
|
||||
### Open settings
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/material_drawer_name"
|
||||
index: 9
|
||||
|
||||
### Open general settings
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/text"
|
||||
index: 0
|
||||
text: "General settings"
|
||||
|
||||
### Open display settings
|
||||
- tapOn:
|
||||
id: "android:id/title"
|
||||
index: 0
|
||||
text: "Display"
|
||||
14
ui-flows/shared/open_message_details.yml
Normal file
14
ui-flows/shared/open_message_details.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
appId: com.fsck.k9.debug
|
||||
---
|
||||
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/participants_container"
|
||||
- swipe:
|
||||
from:
|
||||
id: "com.fsck.k9.debug:id/message_details_list"
|
||||
direction: UP
|
||||
- swipe:
|
||||
from:
|
||||
id: "com.fsck.k9.debug:id/message_details_list"
|
||||
direction: DOWN
|
||||
duration: 200
|
||||
20
ui-flows/shared/remove_contact.yml
Normal file
20
ui-flows/shared/remove_contact.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# use env to provide properties:
|
||||
# env:
|
||||
# NAME: Alice
|
||||
|
||||
appId: com.fsck.k9.debug
|
||||
---
|
||||
|
||||
## Open contact
|
||||
- tapOn:
|
||||
id: "com.fsck.k9.debug:id/name"
|
||||
text: ${NAME}
|
||||
|
||||
## Delete contact
|
||||
- tapOn: "More options"
|
||||
- tapOn:
|
||||
id: "android:id/title"
|
||||
index: 1
|
||||
- tapOn:
|
||||
id: "android:id/button1"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue