-
-
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): acceptance tests for vile father of wolves (#526)
- Loading branch information
1 parent
f1d8bdc
commit f8e9520
Showing
7 changed files
with
17,312 additions
and
17,113 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
49 changes: 49 additions & 0 deletions
49
tests/acceptance/features/game/features/role/vile-father-of-wolves.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,49 @@ | ||
@vile-father-of-wolves-role | ||
|
||
Feature: 🐺 Vile Father of Wolves role | ||
|
||
Scenario: 🐺 Vile Father of Wolves infects a player instead of eating it | ||
Given a created game with options described in files no-sheriff-option.json and with the following players | ||
| name | role | | ||
| Antoine | vile-father-of-wolves | | ||
| Olivia | seer | | ||
| JB | villager | | ||
| Thomas | villager | | ||
Then the game's current play should be seer to look | ||
|
||
When the seer looks at the player named Antoine | ||
Then the game's current play should be werewolves to eat | ||
|
||
When the vile father of wolves infects the player named Olivia | ||
Then the player named Olivia should be on werewolves current side and originally be on villagers side | ||
And the player named Olivia should be alive | ||
And the game's current play should be survivors to vote | ||
|
||
When the player or group skips his turn | ||
Then the game's current play should be seer to look | ||
|
||
Scenario: 🐺 Vile Father of Wolves doesn't infect the ancient if he still have lives | ||
Given a created game with options described in files no-sheriff-option.json and with the following players | ||
| name | role | | ||
| Antoine | vile-father-of-wolves | | ||
| Olivia | ancient | | ||
| JB | villager | | ||
| Thomas | villager | | ||
Then the game's current play should be werewolves to eat | ||
|
||
When the vile father of wolves infects the player named Olivia | ||
Then the player named Olivia should be on villagers current side and originally be on villagers side | ||
And the player named Olivia should be alive | ||
|
||
Scenario: 🐺 Vile Father of Wolves infects the ancient if he only has one life left | ||
Given a created game with options described in files no-sheriff-option.json, ancient-one-life-against-werewolves-option.json and with the following players | ||
| name | role | | ||
| Antoine | vile-father-of-wolves | | ||
| Olivia | ancient | | ||
| JB | villager | | ||
| Thomas | villager | | ||
Then the game's current play should be werewolves to eat | ||
|
||
When the vile father of wolves infects the player named Olivia | ||
Then the player named Olivia should be on werewolves current side and originally be on villagers side | ||
And the player named Olivia should be alive |
Oops, something went wrong.