diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts index 58bb215a6a..bc7415fa48 100644 --- a/tests/library/capabilities.spec.ts +++ b/tests/library/capabilities.spec.ts @@ -32,9 +32,7 @@ it('SharedArrayBuffer should work @smoke', async function({ contextFactory, http expect(await page.evaluate(() => typeof SharedArrayBuffer)).toBe('function'); }); -it('Web Assembly should work @smoke', async function({ page, server, browserName, platform }) { - it.fail(browserName === 'webkit' && platform === 'win32'); - +it('Web Assembly should work @smoke', async function({ page, server }) { await page.goto(server.PREFIX + '/wasm/table2.html'); expect(await page.evaluate('loadTable()')).toBe('42, 83'); }); diff --git a/tests/library/channels.spec.ts b/tests/library/channels.spec.ts index dc3ec1b5f5..44ad5e0943 100644 --- a/tests/library/channels.spec.ts +++ b/tests/library/channels.spec.ts @@ -35,6 +35,7 @@ const it = playwrightTest.extend<{}, { expectScopeState: (object: any, golden: a }); it.skip(({ mode }) => mode !== 'default'); +it.skip(({ video }) => video === 'on', 'Extra video artifacts in the objects list'); it('should scope context handles', async ({ browserType, server, expectScopeState }) => { const browser = await browserType.launch(); @@ -184,7 +185,7 @@ it('should scope browser handles', async ({ browserType, expectScopeState }) => expectScopeState(browserType, GOLDEN_PRECONDITION); }); -it('should not generate dispatchers for subresources w/o listeners', async ({ page, server, browserType, expectScopeState, video }) => { +it('should not generate dispatchers for subresources w/o listeners', async ({ page, server, browserType, expectScopeState }) => { server.setRedirect('/one-style.css', '/two-style.css'); server.setRedirect('/two-style.css', '/three-style.css'); server.setRedirect('/three-style.css', '/four-style.css'); @@ -201,7 +202,6 @@ it('should not generate dispatchers for subresources w/o listeners', async ({ pa { _guid: 'browser-type', objects: [ { _guid: 'browser', objects: [ - ...(video === 'on' ? [{ _guid: 'artifact', objects: [] }] : []), { _guid: 'browser-context', objects: [ { _guid: 'page', objects: [ @@ -256,7 +256,7 @@ it('should work with the domain module', async ({ browserType, server, browserNa throw err; }); -it('exposeFunction should not leak', async ({ page, expectScopeState, server, video }) => { +it('exposeFunction should not leak', async ({ page, expectScopeState, server }) => { await page.goto(server.EMPTY_PAGE); let called = 0; await page.exposeFunction('myFunction', () => ++called); @@ -284,7 +284,6 @@ it('exposeFunction should not leak', async ({ page, expectScopeState, server, vi { '_guid': 'browser', 'objects': [ - ...(video === 'on' ? [{ _guid: 'artifact', objects: [] }] : []), { '_guid': 'browser-context', 'objects': [ diff --git a/tests/stress/frames.spec.ts b/tests/stress/frames.spec.ts index 11005369c3..48489e7262 100644 --- a/tests/stress/frames.spec.ts +++ b/tests/stress/frames.spec.ts @@ -16,6 +16,8 @@ import { contextTest as test } from '../config/browserTest'; +test.slow(); + test('cycle frames', async ({ page, server }) => { const kFrameCount = 1200;