index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'test/integration/helpers.cjs')
-rw-r--r-- | test/integration/helpers.cjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/helpers.cjs b/test/integration/helpers.cjs index 10b0dc6..dc03aba 100644 --- a/test/integration/helpers.cjs +++ b/test/integration/helpers.cjs @@ -78,8 +78,8 @@ global.createTroopCounter = function ( `); } -global.placeCounter = function (document, counter, { x, y }) { - document.querySelector(`g[data-y="${y}"] g[data-x="${x}"]`).append(counter); +global.placeCounter = function (document, counter, { q = 0, r = 0, s = 0, t = 0 } = {}) { + document.querySelector(`[data-q="${q}"][data-r="${r}"][data-s="${s}"][data-t="${t}"]`).append(counter); } global.selectCounter = function (counter) { |