@web/test-runner-playwright
Advanced tools
Comparing version 0.3.1 to 0.3.2
# @web/test-runner-playwright | ||
## 0.3.2 | ||
### Patch Changes | ||
- 0f8935d: make going to a URL non-blocking | ||
- Updated dependencies [64d867c] | ||
- @web/test-runner-core@0.5.3 | ||
## 0.3.1 | ||
@@ -4,0 +12,0 @@ |
@@ -30,6 +30,10 @@ "use strict"; | ||
for (const browser of browsers.values()) { | ||
await browser.close(); | ||
if (browser.isConnected()) { | ||
await browser.close(); | ||
} | ||
} | ||
for (const browser of debugBrowsers.values()) { | ||
await browser.close(); | ||
if (browser.isConnected()) { | ||
await browser.close(); | ||
} | ||
} | ||
@@ -53,3 +57,4 @@ }, | ||
activePages.set(session.id, page); | ||
await page.goto(url); | ||
// creating a new page is blocking, but going to a URL is not | ||
page.goto(url); | ||
}, | ||
@@ -56,0 +61,0 @@ stopSession(session) { |
{ | ||
"name": "@web/test-runner-playwright", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"publishConfig": { | ||
@@ -38,3 +38,3 @@ "access": "public" | ||
"dependencies": { | ||
"@web/test-runner-core": "^0.5.1", | ||
"@web/test-runner-core": "^0.5.3", | ||
"playwright": "1.0.2" | ||
@@ -41,0 +41,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9176
88
Updated@web/test-runner-core@^0.5.3