Auth.story
Scenario: Login into Application.
Meta:
@id1 Login
Given initialised for <BaseMarker>
When user with username <email> and password <password> logs in
Then user is logged in as <username>
Scenario: Logout from the Application.
Meta:
@id2 Logout
When user logs out
Then user is logged out
Test.story
GivenStories: authentication.story#{id1:Login}
When ....
Then ....
Examples:
|BaseMarker|email|password|username|
|xxxxxxxxxxx|yyyyy|zzzzzzzz|++++++++|
Here I've no idea how to pass the Examples to Scenario Login into Application (@id1 Login) from the Test.story.
Please help me to sort it out.
Thanks in advance!!!
Aucun commentaire:
Enregistrer un commentaire