From f782dfbfd90ddb5f449987dcc9d696117423f57e Mon Sep 17 00:00:00 2001 From: FILLAU Jean-Maxime Date: Mon, 22 May 2017 11:20:36 +0200 Subject: [PATCH] Add uturn test case in cucumber for sides param. Signed-off-by: FILLAU Jean-Maxime --- features/testbot/side_param.feature | 40 ++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/features/testbot/side_param.feature b/features/testbot/side_param.feature index 82c07f83d..a4ef8793b 100644 --- a/features/testbot/side_param.feature +++ b/features/testbot/side_param.feature @@ -204,4 +204,42 @@ Feature: Side parameter When I route I should get | from | to | sides | route | - | s | e | b o | ab,bc | \ No newline at end of file + | s | e | b o | ab,bc | + + + + + Scenario: Testbot - UTurn test, router can't found a route because uturn unauthorized on the segment selected + Given the node map + """ + s e + a------b------c + """ + + And the ways + | nodes | + | ab | + | bc | + + + And the relations + | type | way:from | way:to | node:via | restriction | + | restriction | bc | bc | c | no_u_turn | + + When I route I should get + | from | to | sides | route | + | s | e | b d | | + + + + + + + + + + + + + + \ No newline at end of file