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: skip failing interception tests in Electron (#8836)
Yury Semikhatsky3c5d8ff18d5b
diff --git a/tests/page/page-request-fulfill.spec.ts b/tests/page/page-request-fulfill.spec.tsindex 5de4cf8106..85f4cad829 100644--- a/tests/page/page-request-fulfill.spec.ts+++ b/tests/page/page-request-fulfill.spec.ts@@ -194,7 +194,8 @@ it('should include the origin header', async ({page, server, isAndroid}) => {expect(interceptedRequest.headers()['origin']).toEqual(server.PREFIX);});-it('should fulfill with fetch result', async ({page, server}) => {+it('should fulfill with fetch result', async ({page, server, isElectron}) => {+ it.fixme(isElectron, 'error: Browser context management is not supported.');await page.route('**/*', async route => {// @ts-expect-errorconst response = await page._fetch(server.PREFIX + '/simple.json');@@ -206,7 +207,8 @@ it('should fulfill with fetch result', async ({page, server}) => {expect(await response.json()).toEqual({'foo': 'bar'});});-it('should fulfill with fetch result and overrides', async ({page, server}) => {+it('should fulfill with fetch result and overrides', async ({page, server, isElectron}) => {+ it.fixme(isElectron, 'error: Browser context management is not supported.');await page.route('**/*', async route => {// @ts-expect-errorconst response = await page._fetch(server.PREFIX + '/simple.json');@@ -225,7 +227,8 @@ it('should fulfill with fetch result and overrides', async ({page, server}) => {expect(await response.json()).toEqual({'foo': 'bar'});});-it('should fetch original request and fulfill', async ({page, server}) => {+it('should fetch original request and fulfill', async ({page, server, isElectron}) => {+ it.fixme(isElectron, 'error: Browser context management is not supported.');await page.route('**/*', async route => {// @ts-expect-errorconst response = await page._fetch(route.request());