WIP: firing arcs algo
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user