Created
April 22, 2009 01:16
-
-
Save NigelThorne/99516 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given I am a <role> | |
And I am on the entity list screen | |
When I <action> an <state> entity | |
Then control1 is <control1> | |
And control2 is <control2> | |
And control3 is <control3> | |
Examples: | |
| role | action | state | control1 | control2 | control3 | | |
| Admin | Edit | new | Enabled | Enabled | Disabled | | |
| Admin | View | new | Enabled | Enabled | Disabled | | |
| Admin | Edit | expired | Enabled | Enabled | Disabled | | |
| Admin | View | expired | Enabled | Enabled | Disabled | | |
| User | Edit | new | Hidden | Enabled | Enabled | | |
| User | View | new | Hidden | Disabled | Disabled | | |
| User | Edit | expired | Hidden | Enabled | Enabled | | |
| User | View | expired | Hidden | Disabled | Disabled | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given I am a <role> | |
And I am on the entity list screen | |
When I <action> an <state> entity | |
Then control1 is <control1> | |
And control2 is <control2> | |
And control3 is <control3> | |
Examples: | |
| role | action | state | control1 | control2 | control3 | | |
| Admin | [Edit|View] | [new|expired] | Enabled | Enabled | Disabled | | |
| User | Edit | [new|expired] | Hidden | Enabled | Enabled | | |
| User | View | [new|expired] | Hidden | Disabled | Disabled | | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment