dox Executable Documentation

List users

Zero users

Given I am logged in as admin
When I access the user list
Then the user list should be empty

Three users

Given I am logged in as admin
Given the user 'Bart Simpson'
Given the user 'Lisa Simpson'
Given the user 'Homer Simpson'
When I access the user list
Then there should be 3 users

Not admin

When I access the user list
Then I should be redirected to '../order/list.html'

Avatars

Given I am logged in as admin
Given the user 'Bart Simpson'
Given 'Bart Simpson' has an avatar
When I access the user list
Then the avatar of user at position 1 should be 'http://lacarte/user/avatars/1.jpg'