-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(acceptance): wild child acceptance tests (#409)
- Loading branch information
1 parent
4b5cb79
commit 73801b4
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
tests/acceptance/features/game/features/role/wild-child.feature
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Feature: 馃悞 Wild Child role | ||
|
||
Scenario: 馃悞 Wild Child changes his side when his model dies | ||
|
||
When a created game with options described in file no-sheriff-option.json and with the following players | ||
| name | role | | ||
| Antoine | wild-child | | ||
| Olivia | werewolf | | ||
| JB | villager | | ||
| Maxime | villager | | ||
Then the game's current play should be wild-child to choose-model | ||
And the player named Antoine should be on villagers current side and originally be on villagers side | ||
|
||
When the wild child chooses the player named Olivia as a model | ||
Then the player named Olivia should have the worshiped from wild-child attribute | ||
And the game's current play should be werewolves to eat | ||
|
||
When the werewolves eat the player named JB | ||
Then the player named JB should be murdered by werewolves from eaten | ||
And the game's current play should be all to vote | ||
|
||
When all vote with the following votes | ||
| voter | target | | ||
| Maxime | Olivia | | ||
Then the player named Olivia should be murdered by all from vote | ||
And the player named Antoine should be on werewolves current side and originally be on villagers side | ||
And the game's current play should be werewolves to eat |
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