mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-12057] stabilize multibrowser e2es pt1 - add multibrowser targets for local runs (#5244)
* [ACS-12057] stabilize multibrowser e2es pt1 * [ACS-12057] copilot review fixes 1 * [ACS-12057] added headless to all
This commit is contained in:
@@ -7,25 +7,89 @@
|
||||
"e2e": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"commands": ["playwright test --config=e2e/playwright/viewer-actions/playwright.config.ts"]
|
||||
"commands": [
|
||||
"playwright test --config=e2e/playwright/viewer-actions/playwright.config.ts"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"devServerTarget": "content-ce:serve:production"
|
||||
},
|
||||
"ui": {
|
||||
"args": ["--ui"]
|
||||
"args": [
|
||||
"--ui"
|
||||
]
|
||||
},
|
||||
"debug": {
|
||||
"args": ["--debug"]
|
||||
"args": [
|
||||
"--debug"
|
||||
]
|
||||
},
|
||||
"headed": {
|
||||
"args": ["--headed"]
|
||||
"args": [
|
||||
"--headed"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@angular-eslint/builder:lint"
|
||||
},
|
||||
"e2e-multibrowser": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {},
|
||||
"configurations": {
|
||||
"webkit-headed": {
|
||||
"env": {
|
||||
"PLAYWRIGHT_BROWSER": "webkit"
|
||||
},
|
||||
"args": [
|
||||
"--headed"
|
||||
],
|
||||
"commands": [
|
||||
"playwright test --config=e2e/playwright/viewer-actions/playwright.config.ts"
|
||||
]
|
||||
},
|
||||
"firefox-headed": {
|
||||
"env": {
|
||||
"PLAYWRIGHT_BROWSER": "firefox"
|
||||
},
|
||||
"args": [
|
||||
"--headed"
|
||||
],
|
||||
"commands": [
|
||||
"playwright test --config=e2e/playwright/viewer-actions/playwright.config.ts"
|
||||
]
|
||||
},
|
||||
"chrome-headed": {
|
||||
"env": {
|
||||
"PLAYWRIGHT_BROWSER": "chrome"
|
||||
},
|
||||
"args": [
|
||||
"--headed"
|
||||
],
|
||||
"commands": [
|
||||
"playwright test --config=e2e/playwright/viewer-actions/playwright.config.ts"
|
||||
]
|
||||
},
|
||||
"msedge-headed": {
|
||||
"env": {
|
||||
"PLAYWRIGHT_BROWSER": "msedge"
|
||||
},
|
||||
"args": [
|
||||
"--headed"
|
||||
],
|
||||
"commands": [
|
||||
"playwright test --config=e2e/playwright/viewer-actions/playwright.config.ts"
|
||||
]
|
||||
},
|
||||
"all-browsers-headless": {
|
||||
"env": {
|
||||
"PLAYWRIGHT_BROWSER": "all",
|
||||
"PLAYWRIGHT_HEADLESS": "true"
|
||||
},
|
||||
"commands": [
|
||||
"playwright test --config=e2e/playwright/viewer-actions/playwright.config.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user