From f0d704d690841c5c868553b2dfc6bbbc99e4bc35 Mon Sep 17 00:00:00 2001 From: Charlie Denton Date: Sat, 27 Oct 2018 13:02:56 +0100 Subject: [PATCH] Add second behaviour test --- features/order-list.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/features/order-list.feature b/features/order-list.feature index 90a5828..128ed7d 100644 --- a/features/order-list.feature +++ b/features/order-list.feature @@ -13,3 +13,17 @@ Feature: Ordering on the list page | 2 | | 3 | | 1 | + + Scenario: Move an item to the top of the list + Given the following items: + | pk | + | 1 | + | 2 | + | 3 | + And we are on the item list page + When item 3 is moved to position 1 + Then the items should be ordered thus: + | pk | + | 3 | + | 1 | + | 2 |