Created
July 12, 2022 08:01
-
-
Save AvocadoVenom/d21a5baccc50dc5089a520dc41a53bad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { devices, PlaywrightTestConfig } from '@playwright/test' | |
const config: PlaywrightTestConfig = { | |
projects: [ | |
{ | |
name: 'Desktop__Chromium', | |
use: { ...devices['Desktop Chromium'] } | |
}, | |
{ | |
name: 'Desktop__Safari', | |
use: { ...devices['Desktop Safari'] } | |
} | |
], | |
use: { | |
viewport: { width: 1440, height: 810, }, | |
// ... | |
}, | |
timeout: 5000, | |
// ... | |
} | |
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { devices, PlaywrightTestConfig } from '@playwright/test' | |
const config: PlaywrightTestConfig = { | |
projects: [ | |
{ | |
name: 'Mobile_Landscape__Android-Pixel-5', | |
use: { ...devices['Pixel 5 landscape'] } | |
}, | |
{ | |
name: 'Mobile_Portrait__iOS-iPhone-13', | |
use: { ...devices['iPhone 13'] } | |
} | |
], | |
use: { | |
// ... | |
}, | |
timeout: 5000, | |
// ... | |
} | |
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { devices, PlaywrightTestConfig } from '@playwright/test' | |
const config: PlaywrightTestConfig = { | |
projects: [ | |
{ | |
name: 'Tablet_Portrait__Galaxy-Tab-S4', | |
use: { ...devices['Galaxy Tab S4'] } | |
}, | |
{ | |
name: 'Tablet_Landscape__iPad-Pro-11', | |
use: { ...devices['iPad Pro 11 landscape'] } | |
} | |
], | |
use: { | |
// ... | |
}, | |
timeout: 5000, | |
// ... | |
} | |
export default config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment