Added cucumber test for skip_waypoint feature

This commit is contained in:
Denis Chaplygin
2019-09-23 11:38:33 +03:00
parent a6097cdc01
commit d25a530942
3 changed files with 32 additions and 3 deletions
+7
View File
@@ -155,6 +155,13 @@ module.exports = function () {
if (headers.has('locations')){
got.locations = (locations || '').trim();
}
if (headers.has('waypoints_count')) {
if ('waypoints' in json) {
got.waypoints_count = json.waypoints.length;
} else{
got.waypoints_count = 0;
}
}
/*
if (headers.has('approaches')){
got.approaches = (approaches || '').trim();