refactor to use rootUrl method
This commit is contained in:
1 parent
966b3f1c1f
commit
4ccbef77d2
1 file changed
+1
-1
@@ -38,7 +38,7 @@ class PlaywrightService {
|
||||
const page = await browser.newPage();
|
||||
|
||||
try {
|
||||
await page.goto(this.#url);
|
||||
await page.goto(this.rootUrl());
|
||||
await injectAxe(page);
|
||||
const results = await page.evaluate(async () => {
|
||||
return await window.axe.run();
|
||||
|
||||
Reference in new issue
Block a user