Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

tests(webkit): reenable should await promise from popup (#1447)

Yury Semikhatsky34cc358ad35b
diff --git a/test/evaluation.spec.js b/test/evaluation.spec.js
index dc2c28113e..1fb60a11c4 100644
--- a/test/evaluation.spec.js
+++ b/test/evaluation.spec.js
@@ -276,7 +276,7 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
const result = await page.evaluate(() => ({abc: 123}));
expect(result).toEqual({abc: 123});
});
- it.fail(WEBKIT)('should await promise from popup', async function({page, server}) {
+ it('should await promise from popup', async function({page, server}) {
await page.goto(server.EMPTY_PAGE);
const result = await page.evaluate(() => {
const win = window.open('about:blank');