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.
| @@ -41,20 +41,36 @@ name: Native Android trail maps and sticky save | ||
| 41 | 41 | visible: ${INLINE_PROFILE_END_TEXT} |
| 42 | 42 | timeout: 15000 |
| 43 | 43 | - takeScreenshot: android-native-inline-elevation-selection |
| 44 | - tapOn: | |
| 45 | id: trail-profile-toggle | |
| 46 | - assertVisible: 'Toggle elevation profile, Elevation profile collapsed' | |
| 47 | - takeScreenshot: android-native-inline-profile-collapsed | |
| 48 | - tapOn: | |
| 49 | id: trail-profile-toggle | |
| 50 | - assertVisible: 'Toggle elevation profile, Elevation profile expanded' | |
| 51 | - extendedWaitUntil: | |
| 52 | visible: ${INLINE_PROFILE_END_TEXT} | |
| 53 | timeout: 15000 | |
| 54 | - takeScreenshot: android-native-inline-profile-restored | |
| 44 | 55 | - scrollUntilVisible: |
| 45 | 56 | element: |
| 46 | 57 | id: trail-zoom-in |
| 47 | 58 | direction: DOWN |
| 48 | 59 | - tapOn: |
| 49 | 60 | id: trail-zoom-in |
| 61 | - takeScreenshot: android-native-inline-zoom-in | |
| 50 | 62 | - tapOn: |
| 51 | 63 | id: trail-zoom-out |
| 64 | - takeScreenshot: android-native-inline-zoom-out | |
| 52 | 65 | - tapOn: |
| 53 | 66 | id: trail-fit-route |
| 67 | - takeScreenshot: android-native-inline-fit-route | |
| 54 | 68 | - tapOn: |
| 55 | 69 | id: trail-map-3d |
| 56 | 70 | - assertVisible: '^2D$' |
| 71 | - takeScreenshot: android-native-inline-map-tilted | |
| 57 | 72 | - tapOn: '^North$' |
| 73 | - takeScreenshot: android-native-inline-map-north | |
| 58 | 74 | - scrollUntilVisible: |
| 59 | 75 | element: |
| 60 | 76 | id: trail-map-layer |
| @@ -83,15 +99,20 @@ name: Native Android trail maps and sticky save | ||
| 83 | 99 | - takeScreenshot: android-native-map-outdoors |
| 84 | 100 | - tapOn: |
| 85 | 101 | id: map-zoom-in |
| 102 | - takeScreenshot: android-native-fullscreen-zoom-in | |
| 86 | 103 | - tapOn: |
| 87 | 104 | id: map-zoom-out |
| 105 | - takeScreenshot: android-native-fullscreen-zoom-out | |
| 88 | 106 | - tapOn: |
| 89 | 107 | id: map-fit |
| 108 | - takeScreenshot: android-native-fullscreen-fit-route | |
| 90 | 109 | - tapOn: |
| 91 | 110 | id: map-3d |
| 92 | 111 | - assertVisible: '^2D$' |
| 112 | - takeScreenshot: android-native-fullscreen-map-tilted | |
| 93 | 113 | - tapOn: |
| 94 | 114 | id: map-north |
| 115 | - takeScreenshot: android-native-fullscreen-map-north | |
| 95 | 116 | - tapOn: |
| 96 | 117 | id: map-profile-toggle |
| 97 | 118 | - assertVisible: 'Toggle elevation profile, Elevation profile collapsed' |
| @@ -48,13 +48,20 @@ const maps:SimulatorStep[] = [ | ||
| 48 | 48 | {command:'shot',name:'native-profile-collapsed-inline'}, |
| 49 | 49 | {command:'tapid',text:'trail-profile-toggle'}, |
| 50 | 50 | {command:'expect',text:'Elevation profile expanded',seconds:10}, |
| 51 | {command:'expectexact',text:input.inlineProfileEndText,seconds:10}, | |
| 52 | {command:'shot',name:'native-profile-expanded-inline'}, | |
| 51 | 53 | {command:'scrollto',text:'Zoom in'}, |
| 52 | 54 | {command:'tapid',text:'trail-zoom-in'}, |
| 55 | {command:'shot',name:'native-inline-zoom-in'}, | |
| 53 | 56 | {command:'tapid',text:'trail-zoom-out'}, |
| 57 | {command:'shot',name:'native-inline-zoom-out'}, | |
| 54 | 58 | {command:'tapid',text:'trail-fit-route'}, |
| 59 | {command:'shot',name:'native-inline-fit-route'}, | |
| 55 | 60 | {command:'tapid',text:'trail-map-3d'}, |
| 56 | 61 | {command:'expectexact',text:'2D',seconds:10}, |
| 62 | {command:'shot',name:'native-inline-map-tilted'}, | |
| 57 | 63 | {command:'tapexact',text:'North'}, |
| 64 | {command:'shot',name:'native-inline-map-north'}, | |
| 58 | 65 | {command:'scrollto',text:'Map layer'}, |
| 59 | 66 | {command:'tapid',text:'trail-map-layer'}, |
| 60 | 67 | {command:'tapexact',text:'Satellite'}, |
| @@ -73,11 +80,16 @@ const maps:SimulatorStep[] = [ | ||
| 73 | 80 | {command:'shot',name:'native-elevation-endpoint'}, |
| 74 | 81 | {command:'tree',name:'native-elevation-endpoint'}, |
| 75 | 82 | {command:'tapid',text:'map-zoom-in'}, |
| 83 | {command:'shot',name:'native-fullscreen-zoom-in'}, | |
| 76 | 84 | {command:'tapid',text:'map-zoom-out'}, |
| 85 | {command:'shot',name:'native-fullscreen-zoom-out'}, | |
| 77 | 86 | {command:'tapid',text:'map-fit'}, |
| 87 | {command:'shot',name:'native-fullscreen-fit-route'}, | |
| 78 | 88 | {command:'tapid',text:'map-3d'}, |
| 79 | 89 | {command:'expectexact',text:'2D',seconds:10}, |
| 90 | {command:'shot',name:'native-fullscreen-map-tilted'}, | |
| 80 | 91 | {command:'tapid',text:'map-north'}, |
| 92 | {command:'shot',name:'native-fullscreen-map-north'}, | |
| 81 | 93 | {command:'tapid',text:'map-profile-toggle'}, |
| 82 | 94 | {command:'expect',text:'Elevation profile collapsed',seconds:10}, |
| 83 | 95 | {command:'shot',name:'native-profile-collapsed'}, |
| @@ -92,6 +104,7 @@ const maps:SimulatorStep[] = [ | ||
| 92 | 104 | {command:'tapid',text:'map-layer'}, |
| 93 | 105 | {command:'tapexact',text:layer}, |
| 94 | 106 | {command:'expect',text:`Map layer: ${layer}`,seconds:10}, |
| 107 | {command:'shot',name:`native-fullscreen-layer-${layer.toLowerCase()}`}, | |
| 95 | 108 | ]), |
| 96 | 109 | {command:'back'}, |
| 97 | 110 | {command:'scrollto',text:'Weather'}, |