diff --git a/features/step_definitions/matching.js b/features/step_definitions/matching.js index 5ab745d6e..1b770d76e 100644 --- a/features/step_definitions/matching.js +++ b/features/step_definitions/matching.js @@ -158,7 +158,7 @@ module.exports = function () { trace.push(node); } if (row.timestamps) { - timestamps = row.timestamps.split(' ').filter(s => !!s).map(t => parseInt(t)); + timestamps = row.timestamps.split(' ').filter(s => !!s).map(t => parseInt(t, 10)); } got.trace = row.trace; this.requestMatching(trace, timestamps, params, afterRequest); diff --git a/features/support/route.js b/features/support/route.js index 5168e619d..cea93664d 100644 --- a/features/support/route.js +++ b/features/support/route.js @@ -110,7 +110,7 @@ module.exports = function () { params.coordinates = encodeWaypoints(waypoints); if (timestamps.length) { - params.timestamps = timestamps.join(','); + params.timestamps = timestamps.join(';'); } return this.requestPath('match', params, callback);