Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .maestro/US2/AT1selectStartDestinationBuilding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
appId: host.exp.Exponent
---
- runFlow:
when:
notVisible:
id: "building-selection"
file: ../openLink.yaml

# Select start location: Henry F. Hall Building
- assertVisible: "Search building"
Comment thread
CanadianMaple-Syrup marked this conversation as resolved.
- tapOn: "Search building"
- inputText: "Henry"
- assertVisible: "H – Henry F. Hall Building"
- tapOn: "H – Henry F. Hall Building"

# Open directions panel
- assertVisible:
id: "directions-action-button"
- tapOn:
id: "directions-action-button"

# Select intermediate location: Faubourg Ste-Catherine
- assertVisible: "Current Location"
- tapOn: "Current Location"
- eraseText
- inputText: "FG"
- assertVisible: "FG – Faubourg Ste-Catherine Building"
- tapOn: "FG – Faubourg Ste-Catherine Building"

# Clear and select final destination: Hingston Hall
- assertVisible:
id: "clear-end"
- tapOn:
id: "clear-end"
- assertVisible: "Destination"
- tapOn: "Destination"
- inputText: "HA"
- assertVisible: "HA – Hingston Hall, wing HA"
- tapOn: "HA – Hingston Hall, wing HA"
Comment thread
SacciadisG marked this conversation as resolved.
71 changes: 71 additions & 0 deletions .maestro/US2/AT4chooseBetweenTransportationModes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
appId: host.exp.Exponent
---
- runFlow:
when:
notVisible:
id: "building-selection"
file: ../openLink.yaml

# Select start and destination buildings
- assertVisible: "Search building"
- tapOn: "Search building"
- inputText: "Hall"
- assertVisible: "H – Henry F. Hall Building"
- tapOn: "H – Henry F. Hall Building"

# Open directions panel
- assertVisible:
id: "directions-action-button"
- tapOn:
id: "directions-action-button"

# Select destination
- assertVisible: "Your location"
- tapOn: "Your location"
- inputText: "Grey Nuns"
- assertVisible: "GN – Grey Nuns Building"
- tapOn: "GN – Grey Nuns Building"

# Test Walking Mode
- assertVisible:
id: "walking-selector"
- tapOn:
id: "walking-selector"
- swipe:
start: 45%, 74%
end: 45%, 40%
Comment thread
SacciadisG marked this conversation as resolved.
Comment thread
CanadianMaple-Syrup marked this conversation as resolved.
- assertVisible:
id: "walking-route-0"
- tapOn:
id: "walking-route-0"

# Test Transit Mode
- assertVisible:
id: "transit-selector"
- tapOn:
id: "transit-selector"
- assertVisible:
id: "transit-route-0"
- tapOn:
id: "transit-route-0"

# Test Driving Mode
- assertVisible:
id: "driving-selector"
- tapOn:
id: "driving-selector"
- assertVisible:
id: "driving-route-0"
- tapOn:
id: "driving-route-0"

# Test Bicycling Mode
- assertVisible:
id: "bicycling-selector"
- tapOn:
id: "bicycling-selector"
- assertVisible:
id: "bicycling-route-0"
- tapOn:
id: "bicycling-route-0"
# No shuttle test implemented
10 changes: 10 additions & 0 deletions .maestro/automated/suite.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
appId: com.anonymous.client
---
# E1 E2E TESTS
- runFlow:
file: launchApp.yaml
- runFlow:
Expand All @@ -11,6 +12,11 @@ appId: com.anonymous.client
- runFlow:
file: ../US1/AT4buildingPopup.yaml

# E2 E2E TESTS
- runFlow:
file: launchApp.yaml
- runFlow:
file: ../US2/AT1selectStartDestinationBuilding.yaml
- runFlow:
file: launchApp.yaml
- runFlow:
Expand All @@ -23,3 +29,7 @@ appId: com.anonymous.client
file: launchApp.yaml
- runFlow:
file: ../US2/AT3.1routeBetweenCampus.yaml
- runFlow:
file: launchApp.yaml
- runFlow:
file: ../US2/AT4chooseBetweenTransportationModes.yaml
Loading