index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-06-02 15:11:02 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-06-02 15:11:02 -0700 |
commit | 7df1eef344de1cb8e66191e59291dd26dc9d7f6b (patch) | |
tree | 55dffcf8f9d66e7f13c3e131026c408b61911b51 /test | |
parent | 1360a4b944c4c2f0fcdf4bcf2aaaaaac204bb532 (diff) |
Rename some tests
Diffstat (limited to 'test')
-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(); }); |