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
chore: remove test that sends SIGTERM to the browser (#21171)
Dmitry Gozmanf29d58e87fd2
diff --git a/tests/library/signals.spec.ts b/tests/library/signals.spec.tsindex 02a1a8b83d..8a684543b3 100644--- a/tests/library/signals.spec.ts+++ b/tests/library/signals.spec.ts@@ -56,18 +56,6 @@ test('should remove temp dir on process.exit', async ({ startRemoteServer, servetest.describe('signals', () => {test.skip(({ platform }) => platform === 'win32');- test('should report browser close signal', async ({ startRemoteServer, server, headless }) => {- test.skip(!headless, 'Wrong exit code in headed');-- const remoteServer = await startRemoteServer('launchServer', { url: server.EMPTY_PAGE });- const pid = await remoteServer.out('pid');- process.kill(-pid, 'SIGTERM');- expect(await remoteServer.out('exitCode')).toBe('null');- expect(await remoteServer.out('signal')).toBe('SIGTERM');- process.kill(remoteServer.child().pid);- await remoteServer.childExitCode();- });-test('should report browser close signal 2', async ({ startRemoteServer, server }) => {const remoteServer = await startRemoteServer('launchServer', { url: server.EMPTY_PAGE });const pid = await remoteServer.out('pid');