-
-
Notifications
You must be signed in to change notification settings - Fork 359
Expand file tree
/
Copy pathcaptureFlow-ios.yml
More file actions
61 lines (51 loc) · 1.45 KB
/
captureFlow-ios.yml
File metadata and controls
61 lines (51 loc) · 1.45 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# This is a happy path test for the feedback widget on iOS.
# 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:
id: 'sentry-feedback-button'
# Assert that the feedback form is visible
- extendedWaitUntil:
visible:
id: 'sentry-feedback-form-title'
timeout: 5_000
# Fill out name field
- tapOn:
id: 'sentry-feedback-name-input'
- inputText: 'John Doe'
# Fill out email field
- tapOn:
id: 'sentry-feedback-email-input'
- inputText: 'test@email.com'
# Fill out message field
- tapOn:
id: 'sentry-feedback-message-input'
- inputText: 'This is a test feedback message with a screenshot from CI e2e tests'
# Take screenshot
- scrollUntilVisible:
element:
id: 'sentry-feedback-take-screenshot-button'
- tapOn:
id: 'sentry-feedback-take-screenshot-button'
- scrollUntilVisible:
element:
id: 'sentry-feedback-screenshot-button'
- tapOn:
id: 'sentry-feedback-screenshot-button'
# Hide keyboard by tapping on a non-tappable element
- tapOn:
id: 'sentry-logo'
# Submit feedback
- scrollUntilVisible:
element:
id: 'sentry-feedback-submit-button'
- tapOn:
id: 'sentry-feedback-submit-button'
- assertVisible: 'Thank you for your report!'
- tapOn: 'OK'
# Verify feedback form is closed and the home screen is visible
- assertVisible: 'Welcome to React Native'