WIP: firing arcs algo

This commit is contained in:
2024-04-25 17:21:46 -07:00
parent 7f0c19becd
commit 1833dfebf1
6 changed files with 204 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ it('loads the page', async () => {
it('selects a trooper by clicking on their counter', async () => {
await driver.switchTo().frame(driver.findElement(By.css('object')));
const selector = 'use.counter[data-allegiance="liao"][data-number="1"]',
const selector = '.counter[data-allegiance="liao"][data-number="1"]',
svg = await driver.findElement(By.css('svg')),
counter = await driver.findElement(By.css(selector), svg);