index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
-rw-r--r-- | test/integration/select.test.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test/integration/select.test.js b/test/integration/select.test.js index 588876b..e16ad4d 100644 --- a/test/integration/select.test.js +++ b/test/integration/select.test.js @@ -31,7 +31,7 @@ describe('a trooper', () => { }); }); - it('is selected by clicking on its counter', async () => { + it('is selected when its counter is clicked', async () => { await driver.get(url('/')); await page.waitUntilMapLoaded(driver); @@ -49,7 +49,7 @@ describe('a trooper', () => { await page.expectSelected(await record); }); - it('is selected by clicking on its record', async () => { + it('is selected when its record is clicked', async () => { await driver.get(url('/')); await page.waitUntilMapLoaded(driver); @@ -67,6 +67,8 @@ describe('a trooper', () => { await driver.switchTo().frame(await mapResource); await page.expectSelected(counter); }); + + it.todo('is selected when its off-board counter is clicked'); }); describe('a selected trooper', () => { @@ -77,7 +79,7 @@ describe('a selected trooper', () => { }); }); - it('is deselected by clicking on its counter', async () => { + it('is deselected when its counter is clicked', async () => { await driver.get(url('/')); await page.waitUntilMapLoaded(driver); @@ -95,7 +97,7 @@ describe('a selected trooper', () => { await page.expectNotSelected(await record); }); - it('is deselected by clicking on its record', async () => { + it('is deselected when its record is clicked', async () => { await driver.get(url('/')); await page.waitUntilMapLoaded(driver); @@ -117,10 +119,6 @@ describe('a selected trooper', () => { it.todo('is deselected when another trooper is selected'); }); -describe('an off-board trooper', () => { - it.todo('is selected by clicking on its counter'); -}); - afterEach(async () => { await driver.quit(); }); |