-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathios-flow.yaml
More file actions
52 lines (41 loc) · 1.16 KB
/
ios-flow.yaml
File metadata and controls
52 lines (41 loc) · 1.16 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
appId: org.reactjs.native.example.ReactNativeLegalBareExample
---
# Launch the app fresh to avoid cached state
- launchApp:
clearState: true
# Wait for the app to be ready
- extendedWaitUntil:
visible: "Tap to see list of OSS libraries"
timeout: 30000
# Open the OSS libraries list
- tapOn: "Tap to see list of OSS libraries"
- assertVisible: "Licences"
# Scroll to find "react-native-legal"
- scrollUntilVisible:
element:
text: "react-native-legal"
direction: DOWN
speed: 100
# Open license details
- tapOn: "react-native-legal"
# Verify MIT license text is displayed
- assertVisible: "MIT"
# Navigate back to the list
- tapOn: "Licences"
- assertVisible: "Licences"
# Test React-Core license
- scrollUntilVisible:
element: "React-Core"
direction: DOWN
speed: 100
# Open license details
- tapOn: "React-Core"
# Verify React-Core license text is displayed
- assertVisible: "Copyright (c) Meta Platforms, Inc. and affiliates."
# Navigate back to the list
- tapOn: "Licences"
- assertVisible: "Licences"
# Navigate back to home screen
- tapOn:
id: "UICloseButtonBackground"
- assertVisible: "Tap to see list of OSS libraries"