test-utils icon indicating copy to clipboard operation
test-utils copied to clipboard

Playwright config - Test against branded browsers

Open NicholasAntidormi opened this issue 10 months ago • 0 comments

https://github.com/nuxt/test-utils/blob/eea83976f5e2cfdc87a3e7f18edc641369f89abf/examples/app-playwright/playwright.config.ts#L14-L17

I think it should be something like

/* Test against branded browsers. */
{
  name: 'Microsoft Edge',
  use: { ...devices['Desktop Edge'], channel: 'msedge' },
},
{
  name: 'Google Chrome',
  use: { ...devices['Desktop Chrome'], channel: 'chrome' },
}

and the type should something like

satisfies (keyof typeof devices | Project)[]

NicholasAntidormi avatar Feb 24 '25 16:02 NicholasAntidormi