@web/test-runner-commands
Advanced tools
Comparing version 0.6.5 to 0.6.6
@@ -27,2 +27,3 @@ "use strict"; | ||
if (payload && payload.selector) { | ||
// @ts-ignore | ||
const root = await page.$(payload.selector); | ||
@@ -33,2 +34,3 @@ if (root) { | ||
} | ||
// @ts-ignore | ||
const snapshot = await page.accessibility.snapshot(options); | ||
@@ -35,0 +37,0 @@ return snapshot; |
{ | ||
"name": "@web/test-runner-commands", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"publishConfig": { | ||
@@ -51,8 +51,8 @@ "access": "public" | ||
"dependencies": { | ||
"@web/test-runner-core": "^0.10.27", | ||
"@web/test-runner-core": "^0.10.29", | ||
"mkdirp": "^1.0.4" | ||
}, | ||
"devDependencies": { | ||
"@web/test-runner-chrome": "^0.10.2", | ||
"@web/test-runner-playwright": "^0.8.9", | ||
"@web/test-runner-chrome": "^0.12.1", | ||
"@web/test-runner-playwright": "^0.9.0", | ||
"@web/test-runner-webdriver": "^0.5.1", | ||
@@ -59,0 +59,0 @@ "mocha": "^8.2.1" |
@@ -35,2 +35,3 @@ import { TestRunnerPlugin } from '@web/test-runner-core'; | ||
if (payload && payload.selector) { | ||
// @ts-ignore | ||
const root = await page.$(payload.selector); | ||
@@ -41,2 +42,3 @@ if (root) { | ||
} | ||
// @ts-ignore | ||
const snapshot = await page.accessibility.snapshot(options); | ||
@@ -43,0 +45,0 @@ return snapshot; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
122729
2220