Skip to content

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

test: skip 'should play audio' on webkit macOS 15 (#40913)

Yury Semikhatsky2817e7f5b8e6
diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts
index 84d061fadf..b7b2407bbc 100644
--- a/tests/library/capabilities.spec.ts
+++ b/tests/library/capabilities.spec.ts
@@ -92,8 +92,9 @@ it('should play webm video @smoke', async ({ page, asset, browserName, platform,
await page.$eval('video', v => v.pause());
});
-it('should play audio @smoke', async ({ page, server, browserName, platform }) => {
+it('should play audio @smoke', async ({ page, server, browserName, platform, macVersion }) => {
it.fixme(browserName === 'webkit' && platform === 'win32', 'https://github.com/microsoft/playwright/issues/10892');
+ it.fixme(browserName === 'webkit' && platform === 'darwin' && macVersion === 15, 'audio output is unreliable on hosted macOS 15 runners');
await page.goto(server.EMPTY_PAGE);
await page.setContent(`<audio src="${server.PREFIX}/example.mp3"></audio>`);
await page.$eval('audio', e => e.play());