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: fix macOS WebKit signals test (#26603)
Max Schmittbb3152738d02
diff --git a/tests/library/signals.spec.ts b/tests/library/signals.spec.tsindex 067097ac79..5f0777e229 100644--- a/tests/library/signals.spec.ts+++ b/tests/library/signals.spec.ts@@ -63,7 +63,7 @@ test.describe('signals', () => {const remoteServer = await startRemoteServer('launchServer', { url: server.EMPTY_PAGE });const pid = await remoteServer.out('pid');process.kill(-pid, 'SIGKILL');- if (isMac && browserName === 'webkit' && parseInt(os.release(), 10) === 22) {+ if (isMac && browserName === 'webkit' && parseInt(os.release(), 10) === 22 && os.arch() === 'arm64') {// WebKit on mac13 exits differently.expect(await remoteServer.out('exitCode')).toBe('137');expect(await remoteServer.out('signal')).toBe('null');