Skip to content

Commit

Permalink
refactor(docs-e2e): move parameterized mobile, tablet, and desktop te…
Browse files Browse the repository at this point in the history
…sts into separate projects
  • Loading branch information
JeremyFriesenGitHub committed Sep 4, 2024
1 parent b5e660b commit a8f26b1
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 214 deletions.
30 changes: 10 additions & 20 deletions apps/docs-e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,38 +37,28 @@ export default defineConfig({
},
projects: [
{
name: 'chromium',
name: 'chromium (desktop)',
use: { ...devices['Desktop Chrome'] },
},

{
name: 'firefox',
name: 'firefox (desktop)',
use: { ...devices['Desktop Firefox'] },
},

{
name: 'webkit',
name: 'webkit (desktop)',
use: { ...devices['Desktop Safari'] },
},

// Uncomment for mobile browsers support
/* {
name: 'Mobile Chrome',
{
name: 'webkit (tablet)',
use: { ...devices['iPad Mini'] },
},
{
name: 'chromium (mobile)',
use: { ...devices['Pixel 5'] },
},
{
name: 'Mobile Safari',
name: 'webkit (mobile)',
use: { ...devices['iPhone 12'] },
}, */

// Uncomment for branded browsers
/* {
name: 'Microsoft Edge',
use: { ...devices['Desktop Edge'], channel: 'msedge' },
},
{
name: 'Google Chrome',
use: { ...devices['Desktop Chrome'], channel: 'chrome' },
} */
],
})
Loading

0 comments on commit a8f26b1

Please sign in to comment.