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: test gardening (#28001)
Max Schmitt07d5093583f8
diff --git a/tests/page/page-set-input-files.spec.ts b/tests/page/page-set-input-files.spec.tsindex 93d223a88c..19869e9139 100644--- a/tests/page/page-set-input-files.spec.ts+++ b/tests/page/page-set-input-files.spec.ts@@ -37,9 +37,10 @@ it('should upload the file', async ({ page, server, asset }) => {}, input)).toBe('contents of the file');});-it('should upload large file', async ({ page, server, browserName, isMac, isAndroid, mode }, testInfo) => {+it('should upload large file', async ({ page, server, browserName, isMac, isAndroid, isWebView2, mode }, testInfo) => {it.skip(browserName === 'webkit' && isMac && parseInt(os.release(), 10) < 20, 'WebKit for macOS 10.15 is frozen and does not have corresponding protocol features.');it.skip(isAndroid);+ it.skip(isWebView2);it.skip(mode.startsWith('service'));it.slow();@@ -87,9 +88,10 @@ it('should upload large file', async ({ page, server, browserName, isMac, isAndrawait Promise.all([uploadFile, file1.filepath].map(fs.promises.unlink));});-it('should upload multiple large files', async ({ page, server, browserName, isMac, isAndroid, mode }, testInfo) => {+it('should upload multiple large files', async ({ page, server, browserName, isMac, isAndroid, isWebView2, mode }, testInfo) => {it.skip(browserName === 'webkit' && isMac && parseInt(os.release(), 10) < 20, 'WebKit for macOS 10.15 is frozen and does not have corresponding protocol features.');it.skip(isAndroid);+ it.skip(isWebView2);it.skip(mode.startsWith('service'));it.slow();@@ -127,9 +129,10 @@ it('should upload multiple large files', async ({ page, server, browserName, isMawait Promise.all(uploadFiles.map(path => fs.promises.unlink(path)));});-it('should upload large file with relative path', async ({ page, server, browserName, isMac, isAndroid, mode }, testInfo) => {+it('should upload large file with relative path', async ({ page, server, browserName, isMac, isAndroid, isWebView2, mode }, testInfo) => {it.skip(browserName === 'webkit' && isMac && parseInt(os.release(), 10) < 20, 'WebKit for macOS 10.15 is frozen and does not have corresponding protocol features.');it.skip(isAndroid);+ it.skip(isWebView2);it.skip(mode.startsWith('service'));it.slow();diff --git a/tests/page/selectors-css.spec.ts b/tests/page/selectors-css.spec.tsindex 5ce11f11ba..172493dbea 100644--- a/tests/page/selectors-css.spec.ts+++ b/tests/page/selectors-css.spec.ts@@ -274,8 +274,9 @@ it('should work with :nth-child', async ({ page, server }) => {expect(await page.$$eval(`css=span:nth-child(23n+2)`, els => els.length)).toBe(1);});-it('should work with :nth-child(of) notation with nested functions', async ({ page, browserName }) => {+it('should work with :nth-child(of) notation with nested functions', async ({ page, browserName, browserMajorVersion }) => {it.fixme(browserName === 'firefox', 'Should enable once Firefox supports this syntax');+ it.skip(browserName === 'chromium' && browserMajorVersion < 111, 'https://caniuse.com/css-nth-child-of');await page.setContent(`<div>