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.
| @@ -71,6 +71,10 @@ name: Native Android trail maps and sticky save | ||
| 71 | 71 | - takeScreenshot: android-native-inline-map-tilted |
| 72 | 72 | - tapOn: '^North$' |
| 73 | 73 | - takeScreenshot: android-native-inline-map-north |
| 74 | - tapOn: | |
| 75 | id: trail-map-3d | |
| 76 | - assertVisible: '^3D$' | |
| 77 | - takeScreenshot: android-native-inline-map-flat | |
| 74 | 78 | - scrollUntilVisible: |
| 75 | 79 | element: |
| 76 | 80 | id: trail-map-layer |
| @@ -80,10 +84,21 @@ name: Native Android trail maps and sticky save | ||
| 80 | 84 | - tapOn: '^Satellite$' |
| 81 | 85 | - assertVisible: 'Map layer, Satellite' |
| 82 | 86 | - takeScreenshot: android-native-inline-map-satellite |
| 87 | - tapOn: | |
| 88 | id: trail-map-layer | |
| 89 | - tapOn: '^Hybrid$' | |
| 90 | - assertVisible: 'Map layer, Hybrid' | |
| 91 | - takeScreenshot: android-native-inline-map-hybrid | |
| 92 | - tapOn: | |
| 93 | id: trail-map-layer | |
| 94 | - tapOn: '^Street$' | |
| 95 | - assertVisible: 'Map layer, Street' | |
| 96 | - takeScreenshot: android-native-inline-map-street | |
| 83 | 97 | - tapOn: |
| 84 | 98 | id: trail-map-layer |
| 85 | 99 | - tapOn: '^Outdoors$' |
| 86 | 100 | - assertVisible: 'Map layer, Outdoors' |
| 101 | - takeScreenshot: android-native-inline-map-outdoors | |
| 87 | 102 | - scrollUntilVisible: |
| 88 | 103 | element: |
| 89 | 104 | id: trail-map-fullscreen |
| @@ -113,6 +128,10 @@ name: Native Android trail maps and sticky save | ||
| 113 | 128 | - tapOn: |
| 114 | 129 | id: map-north |
| 115 | 130 | - takeScreenshot: android-native-fullscreen-map-north |
| 131 | - tapOn: | |
| 132 | id: map-3d | |
| 133 | - assertVisible: '^3D$' | |
| 134 | - takeScreenshot: android-native-fullscreen-map-flat | |
| 116 | 135 | - tapOn: |
| 117 | 136 | id: map-profile-toggle |
| 118 | 137 | - assertVisible: 'Toggle elevation profile, Elevation profile collapsed' |
| @@ -62,14 +62,20 @@ const maps:SimulatorStep[] = [ | ||
| 62 | 62 | {command:'shot',name:'native-inline-map-tilted'}, |
| 63 | 63 | {command:'tapexact',text:'North'}, |
| 64 | 64 | {command:'shot',name:'native-inline-map-north'}, |
| 65 | {command:'tapid',text:'trail-map-3d'}, | |
| 66 | {command:'expectexact',text:'3D',seconds:10}, | |
| 67 | {command:'shot',name:'native-inline-map-flat'}, | |
| 65 | 68 | {command:'scrollto',text:'Map layer'}, |
| 66 | 69 | {command:'tapid',text:'trail-map-layer'}, |
| 67 | 70 | {command:'tapexact',text:'Satellite'}, |
| 68 | 71 | {command:'expect',text:'Map layer: Satellite',seconds:10}, |
| 69 | 72 | {command:'shot',name:'native-inline-satellite'}, |
| 70 | {command:'tapid',text:'trail-map-layer'}, | |
| 71 | {command:'tapexact',text:'Outdoors'}, | |
| 72 | {command:'expect',text:'Map layer: Outdoors',seconds:10}, | |
| 73 | ...['Hybrid','Street','Outdoors'].flatMap((layer):SimulatorStep[]=>[ | |
| 74 | {command:'tapid',text:'trail-map-layer'}, | |
| 75 | {command:'tapexact',text:layer}, | |
| 76 | {command:'expect',text:`Map layer: ${layer}`,seconds:10}, | |
| 77 | {command:'shot',name:`native-inline-layer-${layer.toLowerCase()}`}, | |
| 78 | ]), | |
| 73 | 79 | {command:'scrollto',text:'Expand map'}, |
| 74 | 80 | {command:'tapid',text:'trail-map-fullscreen'}, |
| 75 | 81 | {command:'expectid',text:'trail-full-map',seconds:10}, |
| @@ -90,6 +96,9 @@ const maps:SimulatorStep[] = [ | ||
| 90 | 96 | {command:'shot',name:'native-fullscreen-map-tilted'}, |
| 91 | 97 | {command:'tapid',text:'map-north'}, |
| 92 | 98 | {command:'shot',name:'native-fullscreen-map-north'}, |
| 99 | {command:'tapid',text:'map-3d'}, | |
| 100 | {command:'expectexact',text:'3D',seconds:10}, | |
| 101 | {command:'shot',name:'native-fullscreen-map-flat'}, | |
| 93 | 102 | {command:'tapid',text:'map-profile-toggle'}, |
| 94 | 103 | {command:'expect',text:'Elevation profile collapsed',seconds:10}, |
| 95 | 104 | {command:'shot',name:'native-profile-collapsed'}, |