Skip to content
Merged
55 changes: 55 additions & 0 deletions .maestro/US4/AT2shortestRouteToRoom.yaml
Comment thread
SaraH6734 marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
appId: host.exp.exponent
---
- runFlow:
when:
notVisible:
id: "building-selection"
file: ../openLink.yaml
- tapOn: "Search building"
- inputText: "Hall"
- tapOn:
id: "end-result-H"
- assertVisible:
id: "rooms-action-button"
- tapOn:
id: "rooms-action-button"
- assertVisible:
text: "Floor 1"
- tapOn:
id: "indoor-start-room-input"
- inputText: "H110"
- tapOn:
id: "indoor-end-room-input"
- inputText: "H116"
- assertVisible:
id: "indoor-create-path-button"
- tapOn:
id: "indoor-create-path-button"
- assertVisible:
id: "active-outline-H_110_4-Hall_F1_hallway_waypoint_31"
- tapOn:
id: "indoor-clear-end-room"
- tapOn:
id: "indoor-end-room-input"
- inputText: "H118"
- assertVisible:
id: "indoor-create-path-button"
- tapOn:
id: "indoor-create-path-button"
- assertVisible:
id: "active-outline-H_110_4-Hall_F1_hallway_waypoint_31"
- tapOn:
id: "next-button"
- assertVisible:
id: "active-outline-Hall_F1_hallway_waypoint_31-Hall_F1_hallway_waypoint_25"
- tapOn:
id: "indoor-clear-start-room"
- tapOn:
id: "indoor-start-room-input"
- inputText: "H103"
- assertVisible:
id: "indoor-create-path-button"
- tapOn:
id: "indoor-create-path-button"
- assertVisible:
Comment thread
SaraH6734 marked this conversation as resolved.
id: "active-outline-H_102_N2-Hall_F1_hallway_waypoint_29"
5 changes: 5 additions & 0 deletions .maestro/automated/suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ appId: com.anonymous.client
file: launchApp.yaml
- runFlow:
file: ../US2/AT3.1routeBetweenCampus.yaml

- runFlow:
file: launchApp.yaml
- runFlow:
file: ../US4/AT2shortestRouteToRoom.yaml
1 change: 1 addition & 0 deletions components/map/building-floor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function renderActiveEdgeOutline({
return (
<Line
key={`active-outline-${current.id}-${next.id}-${floor}`}
testID={`active-outline-${current.id}-${next.id}`}
x1={current.x}
y1={current.y}
x2={next.x}
Expand Down
1 change: 1 addition & 0 deletions components/map/indoor-navigation-controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default function IndoorNavigationControls({

<TouchableOpacity
style={[styles.sideButton, !canGoNext && styles.disabled]}
testID="next-button"
onPress={onNext}
disabled={!canGoNext}
>
Expand Down
Loading