-
-
Notifications
You must be signed in to change notification settings - Fork 359
Expand file tree
/
Copy pathhappyFlow-android.yml
More file actions
39 lines (31 loc) · 972 Bytes
/
happyFlow-android.yml
File metadata and controls
39 lines (31 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This is a happy path test for the feedback widget on Android.
# It verifies that the feedback form can be opened, filled out, and submitted successfully
appId: ${APP_ID}
jsEngine: graaljs
---
# Show feedback button
- tapOn: 'Feedback'
# Open feedback widget
- tapOn: 'Report a Bug'
# Assert that the feedback form is visible
- extendedWaitUntil:
visible: 'Report a Bug'
timeout: 5_000
# Fill out name field
- tapOn: 'Your Name'
- inputText: 'John Doe'
# Fill out email field
- tapOn: 'your.email@example.org'
- inputText: 'test@email.com'
# Fill out message field
- tapOn: "What's the bug? What did you expect?"
- inputText: 'This is a test feedback message from CI e2e tests'
# Submit feedback
- scrollUntilVisible:
element:
text: 'Send Bug Report'
- tapOn: 'Send Bug Report'
- assertVisible: 'Thank you for your report!'
- tapOn: 'OK'
# Verify feedback form is closed and the home screen is visible
- assertVisible: 'Welcome to React Native'