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: add failing test for context menus that prevent browser close (#2811)
Andrey Lushnikovf9f3aeb0fee9
diff --git a/test/headful.spec.js b/test/headful.spec.jsindex b3b07d4b3b..f698d2d685 100644--- a/test/headful.spec.js+++ b/test/headful.spec.js@@ -79,6 +79,13 @@ describe('Headful', function() {await page.click('button');await browser.close();});+ it.fail(WEBKIT || CHROMIUM)('should close browser after context menu was triggered', async({browserType, defaultBrowserOptions, server}) => {+ const browser = await browserType.launch({...defaultBrowserOptions, headless: false });+ const page = await browser.newPage();+ await page.goto(server.PREFIX + '/grid.html');+ await page.click('body', {button: 'right'});+ await browser.close();+ });it('should(not) block third party cookies', async({browserType, defaultBrowserOptions, server}) => {const browser = await browserType.launch({...defaultBrowserOptions, headless: false });const page = await browser.newPage();