mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 14:40:48 +00:00
Add projects to local config and comment out ipad (#4727)
Co-authored-by: unlikelyzero <jchill2@gmail.com> Co-authored-by: Nikhil <nikhil.k.mandlik@nasa.gov>
This commit is contained in:
parent
4a9744e916
commit
6aaf4a2c06
@ -41,14 +41,14 @@ const config = {
|
|||||||
height: 1440
|
height: 1440
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
{
|
/*{
|
||||||
name: 'ipad',
|
name: 'ipad',
|
||||||
use: {
|
use: {
|
||||||
browserName: 'webkit',
|
browserName: 'webkit',
|
||||||
...devices['iPad (gen 7) landscape'] // Complete List https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json
|
...devices['iPad (gen 7) landscape'] // Complete List https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
],
|
],
|
||||||
reporter: [
|
reporter: [
|
||||||
['list'],
|
['list'],
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
// playwright.config.js
|
// playwright.config.js
|
||||||
// @ts-check
|
// @ts-check
|
||||||
|
|
||||||
|
const { devices } = require('@playwright/test');
|
||||||
|
|
||||||
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
retries: 0,
|
retries: 0,
|
||||||
@ -23,6 +25,32 @@ const config = {
|
|||||||
trace: 'on',
|
trace: 'on',
|
||||||
video: 'on'
|
video: 'on'
|
||||||
},
|
},
|
||||||
|
projects: [
|
||||||
|
{
|
||||||
|
name: 'chrome',
|
||||||
|
use: {
|
||||||
|
browserName: 'chromium',
|
||||||
|
...devices['Desktop Chrome']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'MMOC',
|
||||||
|
use: {
|
||||||
|
browserName: 'chromium',
|
||||||
|
viewport: {
|
||||||
|
width: 2560,
|
||||||
|
height: 1440
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*{
|
||||||
|
name: 'ipad',
|
||||||
|
use: {
|
||||||
|
browserName: 'webkit',
|
||||||
|
...devices['iPad (gen 7) landscape'] // Complete List https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
],
|
||||||
reporter: [
|
reporter: [
|
||||||
['list'],
|
['list'],
|
||||||
['allure-playwright']
|
['allure-playwright']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user