Created
October 28, 2022 16:19
-
-
Save gasparnagy/5c3db9b6276cf3db1900cea3a6105dd8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
When the user attempts to register with user name {string:userName} and password {string:password} | |
* Navigate to /Register | |
* Fill in #UserName with <userName> | |
* Fill in #Password with <password> | |
* Fill in #PasswordReEnter with <password> | |
* Click #RegisterButton | |
* Remember <userName> as "Registration UserName" | |
Then the registration should be successful | |
* Should not be on page /Register | |
* Should see "Welcome <Registration UserName>" | |
When the user asks a question as | |
| title | body | tags | | |
| | some body text | bdd, gherkin | # default??? | |
* Navigate to /Ask | |
* Fill in #Title with <DataTable title> | |
* Fill in #Body with <DataTable body> | |
* Fill in #Tags with <DataTable tags> | |
* Click #AskButton | |
Given there are questions asked as | |
| title | body | tags | | |
| | some body text | bdd, gherkin | # default??? | |
Each Row: {DataRow:question} | |
* Navigate to /Ask | |
* Fill in #Title with <question title> | |
* Fill in #Body with <question body> | |
* Fill in #Tags with <question tags> | |
* Click #AskButton | |
# alternative with calling out to other | |
Each Row: {DataRow:question} | |
* the user asks a question as | |
| title | body | tags | | |
| <question title> | <question body> | <question tags> | | |
#alternative with ALWAYS looping if there is a table | |
* the user asks a question as | |
| title | body | tags | | |
| <row title> | <row body> | <row tags> | | |
Then the answer should be listed among the answers with | |
| votes | answered at | answered by | | |
| 0 | now | Marvin | | |
* Should see a table row with ".Title" as <CurrentQuestion Title> with | |
| selector | value | | |
| .Votes | <row votes> | | |
| .AnsweredAt | <row answered at> | | |
| .AnsweredBy | <row answered by> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment