Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test(webkit): unskip one more navigation test (#534)
Yury Semikhatsky879ce66f5ee7
diff --git a/test/navigation.spec.js b/test/navigation.spec.jsindex 69c07126e4..c61c63e309 100644--- a/test/navigation.spec.js+++ b/test/navigation.spec.js@@ -125,7 +125,7 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMIconst response = await page.goto(server.EMPTY_PAGE, {waitUntil: 'domcontentloaded'});expect(response.status()).toBe(200);});- it.skip(WEBKIT)('should work when page calls history API in beforeunload', async({page, server}) => {+ it('should work when page calls history API in beforeunload', async({page, server}) => {await page.goto(server.EMPTY_PAGE);await page.evaluate(() => {window.addEventListener('beforeunload', () => history.replaceState(null, 'initial', window.location.href), false);