k9-mail/ui-flows/validate/emulator_message_details_show_contact_names.yml
2025-11-22 13:56:56 +01:00

96 lines
2.1 KiB
YAML

appId: net.thunderbird.android.debug
---
- runFlow:
file: ../shared/onboard_with_demo_account.yml
when:
visible:
id: "onboarding_welcome_start_button"
## Open message
- tapOn:
id: "net.thunderbird.android.debug:id/subject"
index: 0
text: "Message details demo"
## Check message
- assertVisible:
id: "net.thunderbird.android.debug:id/from"
text: "Alice"
- assertVisible:
id: "net.thunderbird.android.debug:id/recipient_names"
text: "to User 1.*"
### Open message details
- runFlow: ../shared/open_message_details.yml
## Check message details
- assertVisible:
id: "net.thunderbird.android.debug:id/name"
text: "Alice"
- assertVisible:
id: "net.thunderbird.android.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: "net.thunderbird.android.debug:id/subject"
index: 0
text: "Message details demo"
## Check message
- assertVisible:
id: "net.thunderbird.android.debug:id/from"
text: "Alice from Contacts"
- assertVisible:
id: "net.thunderbird.android.debug:id/recipient_names"
text: "to User from Contacts.*"
### Open message details
- runFlow: ../shared/open_message_details.yml
## Check message details
- assertVisible:
id: "net.thunderbird.android.debug:id/name"
text: "Alice from Contacts"
- assertVisible:
id: "net.thunderbird.android.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"