Closed mraross closed 1 year ago
Here's a test case for validating that router sets followTruckRoute=true for all truck resources. For more details, see: https://github.com/bcgov/ols-router/issues/256
Explicit setting of followTruckRoute=true https://router-dev.pathfinder.gov.bc.ca/truck/distance.html?points=-123.0739278%2C49.284965%2C-123.0692965%2C49.3049615&criteria=fastest&followTruckRoute=true
No followTruckRoute parameter on request. Expect distance to be the same as that in first request https://router-dev.pathfinder.gov.bc.ca/truck/distance.html?points=-123.0739278%2C49.284965%2C-123.0692965%2C49.3049615&criteria=fastest
Explicit setting of followTruckRoute=false. Expect distance to be different than two previous requests. https://router-dev.pathfinder.gov.bc.ca/truck/distance.html?points=-123.0739278%2C49.284965%2C-123.0692965%2C49.3049615&criteria=fastest&followTruckRoute=false
Repeated first three requests using route.html instead of distance.html
Repeated first three requests using directions.html instead of distance.html.
Verified in production
Re-closing.
Here's a test case for validating that router sets followTruckRoute=true for all truck resources. For more details, see: https://github.com/bcgov/ols-router/issues/256
Explicit setting of followTruckRoute=true https://router-dev.pathfinder.gov.bc.ca/truck/distance.html?points=-123.0739278%2C49.284965%2C-123.0692965%2C49.3049615&criteria=fastest&followTruckRoute=true
No followTruckRoute parameter on request. Expect distance to be the same as that in first request https://router-dev.pathfinder.gov.bc.ca/truck/distance.html?points=-123.0739278%2C49.284965%2C-123.0692965%2C49.3049615&criteria=fastest
Explicit setting of followTruckRoute=false. Expect distance to be different than two previous requests. https://router-dev.pathfinder.gov.bc.ca/truck/distance.html?points=-123.0739278%2C49.284965%2C-123.0692965%2C49.3049615&criteria=fastest&followTruckRoute=false
Repeated first three requests using route.html instead of distance.html
Repeated first three requests using directions.html instead of distance.html.