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 headful test (#2013)
Pavel Feldman2b5ff83eafa6
diff --git a/test/headful.spec.js b/test/headful.spec.jsindex 5de81b66fa..1116447106 100644--- a/test/headful.spec.js+++ b/test/headful.spec.js@@ -57,4 +57,12 @@ describe('Headful', function() {await browserContext.close();await removeUserDataDir(userDataDir);});+ it.fail(CHROMIUM)('should click background tab', async({browserType, defaultBrowserOptions, server}) => {+ const browser = await browserType.launch({...defaultBrowserOptions, headless: false });+ const page = await browser.newPage();+ await page.setContent(`<button>Hello</button><a target=_blank href="${server.EMPTY_PAGE}">empty.html</a>`);+ await page.click('a');+ await page.click('button');+ await browser.close();+ });});