also looking at this
feat: native trail maps and complete native mobile screens
#1017
60 files
+2505
-823
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -9,6 +9,14 @@ name: Native location, route customization and GPX sharing | ||
| 9 | 9 | timeout: 30000 |
| 10 | 10 | - assertNotVisible: |
| 11 | 11 | id: '.*permission_allow_foreground_only_button' |
| 12 | - tapOn: | |
| 13 | id: map-zoom-in | |
| 14 | - tapOn: | |
| 15 | id: map-3d | |
| 16 | - assertVisible: | |
| 17 | id: map-3d | |
| 18 | text: '^2D$' | |
| 19 | - takeScreenshot: android-native-camera-before-location | |
| 12 | 20 | - tapOn: |
| 13 | 21 | id: map-locate |
| 14 | 22 | - extendedWaitUntil: |
| @@ -20,6 +28,9 @@ name: Native location, route customization and GPX sharing | ||
| 20 | 28 | - extendedWaitUntil: |
| 21 | 29 | visible: 'My location, Your location is shown' |
| 22 | 30 | timeout: 30000 |
| 31 | - assertVisible: | |
| 32 | id: map-3d | |
| 33 | text: '^2D$' | |
| 23 | 34 | - takeScreenshot: android-native-map-location |
| 24 | 35 | - tapOn: |
| 25 | 36 | id: map-customize |
| @@ -48,8 +59,20 @@ name: Native location, route customization and GPX sharing | ||
| 48 | 59 | timeout: 30000 |
| 49 | 60 | - scrollUntilVisible: |
| 50 | 61 | element: |
| 51 | id: trail-map-locate | |
| 62 | id: trail-zoom-in | |
| 52 | 63 | direction: DOWN |
| 64 | - tapOn: | |
| 65 | id: trail-zoom-in | |
| 66 | - scrollUntilVisible: | |
| 67 | element: | |
| 68 | id: trail-map-3d | |
| 69 | direction: DOWN | |
| 70 | - tapOn: | |
| 71 | id: trail-map-3d | |
| 72 | - assertVisible: | |
| 73 | id: trail-map-3d | |
| 74 | text: '^2D$' | |
| 75 | - takeScreenshot: android-native-inline-camera-before-location | |
| 53 | 76 | - tapOn: |
| 54 | 77 | id: trail-map-locate |
| 55 | 78 | - extendedWaitUntil: |
| @@ -57,6 +80,9 @@ name: Native location, route customization and GPX sharing | ||
| 57 | 80 | timeout: 30000 |
| 58 | 81 | - assertNotVisible: |
| 59 | 82 | id: '.*permission_allow_foreground_only_button' |
| 83 | - assertVisible: | |
| 84 | id: trail-map-3d | |
| 85 | text: '^2D$' | |
| 60 | 86 | - takeScreenshot: android-native-inline-map-location |
| 61 | 87 | - scrollUntilVisible: |
| 62 | 88 | element: |
| @@ -180,18 +180,29 @@ const planner:SimulatorStep[] = [ | ||
| 180 | 180 | ] |
| 181 | 181 | const location:SimulatorStep[] = [ |
| 182 | 182 | ...fullMap, |
| 183 | {command:'tapid',text:'map-zoom-in'}, | |
| 184 | {command:'tapid',text:'map-3d'}, | |
| 185 | {command:'labelid',id:'map-3d',text:'2D'}, | |
| 186 | {command:'shot',name:'native-camera-before-location'}, | |
| 183 | 187 | {command:'exec',name:'seed-location'}, |
| 184 | 188 | {command:'tapid',text:'map-locate'}, |
| 185 | 189 | {command:'systemexpect',text:'Allow Once',seconds:10}, |
| 186 | 190 | {command:'systemtap',text:'Allow Once'}, |
| 187 | 191 | {command:'expect',text:'Your location is shown',seconds:20}, |
| 192 | {command:'labelid',id:'map-3d',text:'2D'}, | |
| 188 | 193 | {command:'tree',name:'native-location'}, |
| 189 | 194 | {command:'shot',name:'native-location'}, |
| 190 | 195 | {command:'openurl',url:`wildloop://trail/${input.trailId}`}, |
| 191 | 196 | {command:'expectid',text:'trail-sticky-actions',seconds:15}, |
| 197 | {command:'scrollto',text:'Zoom in'}, | |
| 198 | {command:'tapid',text:'trail-zoom-in'}, | |
| 199 | {command:'tapid',text:'trail-map-3d'}, | |
| 200 | {command:'labelid',id:'trail-map-3d',text:'2D'}, | |
| 201 | {command:'shot',name:'native-inline-camera-before-location'}, | |
| 192 | 202 | {command:'scrollto',text:'My location'}, |
| 193 | 203 | {command:'tapid',text:'trail-map-locate'}, |
| 194 | 204 | {command:'expect',text:'Your location is shown',seconds:20}, |
| 205 | {command:'labelid',id:'trail-map-3d',text:'2D'}, | |
| 195 | 206 | {command:'shot',name:'native-inline-location'}, |
| 196 | 207 | {command:'tree',name:'native-inline-location'}, |
| 197 | 208 | ] |