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
devops: add macOS 13 coverage (#23065)
Max Schmitt89aa02228fe7
diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.ymlindex 3945629bd5..47722a880f 100644--- a/.github/workflows/tests_secondary.yml+++ b/.github/workflows/tests_secondary.yml@@ -57,7 +57,7 @@ jobs:strategy:fail-fast: falsematrix:- os: [macos-11, macos-12]+ os: [macos-12, macos-13]browser: [chromium, firefox, webkit]runs-on: ${{ matrix.os }}steps:diff --git a/tests/library/signals.spec.ts b/tests/library/signals.spec.tsindex 8a684543b3..f4ccef8187 100644--- a/tests/library/signals.spec.ts+++ b/tests/library/signals.spec.ts@@ -18,6 +18,7 @@import { playwrightTest as test, expect } from '../config/browserTest';import { execSync } from 'child_process';import fs from 'fs';+import os from 'os';test.slow();@@ -56,7 +57,8 @@ test('should remove temp dir on process.exit', async ({ startRemoteServer, servetest.describe('signals', () => {test.skip(({ platform }) => platform === 'win32');- test('should report browser close signal 2', async ({ startRemoteServer, server }) => {+ test('should report browser close signal 2', async ({ startRemoteServer, server, isMac, browserName }) => {+ test.fixme(isMac && browserName === 'webkit' && parseInt(os.release(), 10) >= 22, 'https://github.com/microsoft/playwright/issues/22226');const remoteServer = await startRemoteServer('launchServer', { url: server.EMPTY_PAGE });const pid = await remoteServer.out('pid');process.kill(-pid, 'SIGKILL');@@ -90,7 +92,8 @@ test.describe('signals', () => {expect(await remoteServer.childExitCode()).toBe(0);});- test('should kill the browser on double SIGINT and remove temp dir', async ({ startRemoteServer, server }) => {+ test('should kill the browser on double SIGINT and remove temp dir', async ({ startRemoteServer, server, isMac, browserName }) => {+ test.fixme(isMac && browserName === 'webkit' && parseInt(os.release(), 10) >= 22, 'https://github.com/microsoft/playwright/issues/22226');const remoteServer = await startRemoteServer('launchServer', { stallOnClose: true, url: server.EMPTY_PAGE });const tempDir = await remoteServer.out('tempDir');const before = fs.existsSync(tempDir);@@ -105,7 +108,8 @@ test.describe('signals', () => {expect(after).toBe(false);});- test('should kill the browser on SIGINT + SIGTERM', async ({ startRemoteServer, server }) => {+ test('should kill the browser on SIGINT + SIGTERM', async ({ startRemoteServer, server, isMac, browserName }) => {+ test.fixme(isMac && browserName === 'webkit' && parseInt(os.release(), 10) >= 22, 'https://github.com/microsoft/playwright/issues/22226');const remoteServer = await startRemoteServer('launchServer', { stallOnClose: true, url: server.EMPTY_PAGE });process.kill(remoteServer.child().pid, 'SIGINT');await remoteServer.out('stalled');