From 0317bbb35ddb9ae89ab786d7b7717dda255114b2 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Tue, 30 May 2017 16:37:35 +0200 Subject: [PATCH] Splits via tests into car and testbot domain, resolves #4061 --- features/car/via.feature | 33 +++++++++++++++++++++++++++++++++ features/testbot/via.feature | 28 ---------------------------- 2 files changed, 33 insertions(+), 28 deletions(-) create mode 100644 features/car/via.feature diff --git a/features/car/via.feature b/features/car/via.feature new file mode 100644 index 000000000..a0986cb74 --- /dev/null +++ b/features/car/via.feature @@ -0,0 +1,33 @@ +@routing @via +Feature: Via points + + Background: + Given the profile "car" + + # See issue #1896 + Scenario: Via point at a dead end with barrier + Given the profile "car" + Given the node map + """ + a b c + 1 + d + + + f e + """ + + And the nodes + | node | barrier | + | d | bollard | + + And the ways + | nodes | + | abc | + | bd | + | afed | + + When I route I should get + | waypoints | route | + | a,1,c | abc,bd,bd,bd,bd,abc,abc | + | c,1,a | abc,bd,bd,bd,bd,abc,abc | diff --git a/features/testbot/via.feature b/features/testbot/via.feature index 2523dac6e..43da13a39 100644 --- a/features/testbot/via.feature +++ b/features/testbot/via.feature @@ -224,34 +224,6 @@ Feature: Via points | a,d,c | abc,bd,bd,bd,abc,abc | | c,d,a | abc,bd,bd,bd,abc,abc | - # See issue #1896 - Scenario: Via point at a dead end with barrier - Given the profile "car" - Given the node map - """ - a b c - 1 - d - - - f e - """ - - And the nodes - | node | barrier | - | d | bollard | - - And the ways - | nodes | - | abc | - | bd | - | afed | - - When I route I should get - | waypoints | route | - | a,1,c | abc,bd,bd,bd,bd,abc,abc | - | c,1,a | abc,bd,bd,bd,bd,abc,abc | - Scenario: Via points on ring on the same oneway, forces one of the vertices to be top node Given the node map """