-
Notifications
You must be signed in to change notification settings - Fork 1
Available steps
pieterbos edited this page Sep 13, 2010
·
12 revisions
(1) The following steps refer to an earlier defined object, they fail if they can’t find it
Note: a space was left inside the quotes for readability. This needs to be removed.
- Then show the page
- Then show the users
- Then show the user with username ’ Foeken ’
- Given the user ’ Andre ’ logs in with password ’ 123 ’
- Then the user ’ Andre ’ should not be able to log in with password ’ 123 ’
- Given he/she logs in with password ’ 123 ’ (1)
- Given he/she is logged in (1)
- Given he/she logs out (1)
- When he/she logs out (1)
- When he/she clicks the ’ Employees ’ link
- When he/she clicks the second ’ Employees ’ link
- When he/she clicks the show link for the user with name ’ Foeken ’
- When he/she clicks the edit link for the user with name ’ Foeken ’
- When he/she clicks the destroy link for the user with name ’ Foeken ’
- When he/she clicks ‘Part of my unit’ for the employee with name ’ Foeken ’
- When he/she clicks the destroy link
- When he/she confirms the popup
- When he/she cancels the popup
- Then he/she should see errors
- Then he/she should see a popup with the message ’ Are you sure? ’
- Then he/she should (not) see the words ’ Monkey ’, ’ Cart ’ or/and ’ Ant ’
- Then he/she should (not) see the word ’ Monkey ’
- Then he/she should (not) see the words " This person doesn’t have any notes "
- Then he/she should (not) see the long date ’ tomorrow ’
- Then he/she should (not) see the short dates ’ tomorrow ’ and ’ next week ’
- Then he/she should (not) see the regex ’
[0-9]+
’ - Then he/she should be redirected by javascript
- Then he/she should (not) see a table
- And the first row should contain the word ‘first row’
- And the next row should contain the word ‘second row’
If your table looks like a table, but is actually a div with multiple divs inside:
- Then he/she should see the box with id ‘box’
- And the third row should contain the word ‘third row’
- And the next row should not contain the word ‘fifth row’
- When he/she selects ’ Partner name ’
- When he/she chooses ’ Partner name ’
- When he/she picks ’ Yes ’ (works on both radio and select fields)
- When he/she (un)checks ’ Active ’
- When he/she clicks the button
- When he/she fills the ’ End of care ’ date field with ’ tomorrow ’
- When he/she fills the ’ End of care ’ date field with ’ next week ’
- When he/she fills the ’ End of care ’ date field with ’ 2008-01-01 ’
- When he/she fills the third ’ Date ’ date field with ’ 2008-01-01 ’
- When he/she fills the ’ Name ’ field with ’ Nedap ’
- When he/she fills the second ’ Name ’ field with ’ Nedap ’
- Given there are no units in the system
- Given there are no units, periods and employees in the system
- Given a user with username ’ Dummy ’ exists
- Given a client with birth name ’ Hiah ’ exists
- Then a user with username ’ Dummy ’ should exist
- Then the user with username ’ Dummy ’ should (not) be planner
- Then it should (not) be planner
- Then the role with name ’ Tester ’ should (not) belong to a right with controller ’ Employees ’
- Then it should (not) belong to a right with controller ’ Employees ’
- Then the role with name ’ Tester ’ should (not) have a right with controller ’ Employees ’
- Then it should (not) have a right with controller ’ Employees ’
- Given the user with username ’ Dummy ’ has password ’ 123 ’
- Given the user with username ’ Dummy ’ is valid from ’ last monday ’
- Given it has password ’ 123 ’ (1)
- Given it is valid to ’ next week ’ (1)
- Given the user with username ’ Dummy ’ has a responsibility for the role with name ’ Planner ’
- Given it has a responsibility for the role with name ’ Planner ’ (1)
- Given the user with name ’ Andre ’ belongs to a person with last name ’ Foeken ’
- Given it belongs to a person with last name ’ Foeken ’ (1)