Skip to content

Commit 953de5e

Browse files
committed
Add second behaviour test
1 parent 4cc73a0 commit 953de5e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

features/order-list.feature

+14
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,17 @@ Feature: Ordering on the list page
1313
| 2 |
1414
| 3 |
1515
| 1 |
16+
17+
Scenario: Move an item to the top of the list
18+
Given the following items:
19+
| pk |
20+
| 1 |
21+
| 2 |
22+
| 3 |
23+
And we are on the item list page
24+
When item 3 is moved to position 1
25+
Then the items should be ordered thus:
26+
| pk |
27+
| 3 |
28+
| 1 |
29+
| 2 |

0 commit comments

Comments
 (0)