Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: tree gardening (#28676)

Max Schmitt576b3406e3bb
diff --git a/tests/library/signals.spec.ts b/tests/library/signals.spec.ts
index c41df7b1e7..6ae54cfd3c 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 && os.arch() === 'arm64') {
+ if (isMac && browserName === 'webkit' && parseInt(os.release(), 10) > 22 && os.arch() === 'arm64') {
// WebKit on newer macOS exits differently.
expect(await remoteServer.out('exitCode')).toBe('137');
expect(await remoteServer.out('signal')).toBe('null');
diff --git a/tests/page/page-screenshot.spec.ts b/tests/page/page-screenshot.spec.ts
index fd7b8e91a4..47188f52a4 100644
--- a/tests/page/page-screenshot.spec.ts
+++ b/tests/page/page-screenshot.spec.ts
@@ -857,8 +857,9 @@ it.describe('page screenshot animations', () => {
]);
});
- it('should wait for fonts to load', async ({ page, server, isWindows, browserName, isLinux }) => {
+ it('should wait for fonts to load', async ({ page, server, isWindows, isAndroid }) => {
it.fixme(isWindows, 'This requires a windows-specific test expectations. https://github.com/microsoft/playwright/issues/12707');
+ it.skip(isAndroid, 'Different viewport');
await page.setViewportSize({ width: 500, height: 500 });
const fontRequestPromise = new Promise<any>(resolve => {
// Stall font loading.