Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integration/page.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/page.test.js b/test/integration/page.test.js
index 452d542..003f9db 100644
--- a/test/integration/page.test.js
+++ b/test/integration/page.test.js
@@ -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);