diff --git a/test/chromium-css-coverage.spec.ts b/test/chromium-css-coverage.spec.ts index d976266128..65605abb8e 100644 --- a/test/chromium-css-coverage.spec.ts +++ b/test/chromium-css-coverage.spec.ts @@ -16,7 +16,7 @@ import { it, expect, describe } from './fixtures'; -describe('oopif', (suite, { browserName }) => { +describe('CSS Coverage', (suite, { browserName }) => { suite.skip(browserName !== 'chromium'); }, () => { it('should work', async function({browserType, page, server}) { diff --git a/test/chromium-js-coverage.spec.ts b/test/chromium-js-coverage.spec.ts index d7c83789bf..f2a8912d61 100644 --- a/test/chromium-js-coverage.spec.ts +++ b/test/chromium-js-coverage.spec.ts @@ -23,7 +23,7 @@ async function({page}) { expect(page.coverage).toBe(null); }); -describe('oopif', (suite, { browserName }) => { +describe('JS Coverage', (suite, { browserName }) => { suite.skip(browserName !== 'chromium'); }, () => { it('should work', async function({page, server}) { @@ -92,4 +92,4 @@ describe('oopif', (suite, { browserName }) => { }); await page.coverage.stopJSCoverage(); }); -}); \ No newline at end of file +}); diff --git a/test/chromium/session.spec.ts b/test/chromium/session.spec.ts index 1fa0b90984..61881ae3fd 100644 --- a/test/chromium/session.spec.ts +++ b/test/chromium/session.spec.ts @@ -110,7 +110,7 @@ describe('session', (suite, { browserName }) => { await context.close(); }); - it('should work', async function({browser}) { + it('should work with newBrowserCDPSession', async function({browser}) { const session = await (browser as ChromiumBrowser).newBrowserCDPSession(); const version = await session.send('Browser.getVersion'); diff --git a/test/chromium/tracing.spec.ts b/test/chromium/tracing.spec.ts index b61f67aa71..d4b6299f8d 100644 --- a/test/chromium/tracing.spec.ts +++ b/test/chromium/tracing.spec.ts @@ -28,7 +28,7 @@ fixtures.outputTraceFile.init(async ({ testInfo }, run) => { }); const { it, expect, describe } = fixtures.build(); -describe('oopif', (suite, { browserName }) => { +describe('tracing', (suite, { browserName }) => { suite.skip(browserName !== 'chromium'); }, () => { it('should output a trace', async ({browser, page, server, outputTraceFile}) => { diff --git a/test/page-emulate-media.spec.ts b/test/page-emulate-media.spec.ts index 3a1ad62608..be9fbe1f72 100644 --- a/test/page-emulate-media.spec.ts +++ b/test/page-emulate-media.spec.ts @@ -32,7 +32,7 @@ it('should emulate type', async ({page, server}) => { expect(await page.evaluate(() => matchMedia('print').matches)).toBe(false); }); -it('should throw in case of bad type argument', async ({page, server}) => { +it('should throw in case of bad media argument', async ({page, server}) => { let error = null; // @ts-expect-error 'bad' is not a valid media type await page.emulateMedia({ media: 'bad'}).catch(e => error = e); @@ -61,7 +61,7 @@ it('should default to light', async ({page, server}) => { expect(await page.evaluate(() => matchMedia('(prefers-color-scheme: light)').matches)).toBe(true); }); -it('should throw in case of bad argument', async ({page, server}) => { +it('should throw in case of bad colorScheme argument', async ({page, server}) => { let error = null; // @ts-expect-error 'bad' is not a valid media type await page.emulateMedia({ colorScheme: 'bad' }).catch(e => error = e); diff --git a/test/popup.spec.ts b/test/popup.spec.ts index e647b843b6..7c1a248a13 100644 --- a/test/popup.spec.ts +++ b/test/popup.spec.ts @@ -146,7 +146,7 @@ it('should use viewport size from window features', async function({browser, ser expect(resized).toEqual({width: 500, height: 400}); }); -it('should respect routes from browser context', async function({browser, server}) { +it('should respect routes from browser context when using window.open', async function({browser, server}) { const context = await browser.newContext(); const page = await context.newPage(); await page.goto(server.EMPTY_PAGE);