diff --git a/e2e/playwright/authentication/project.json b/e2e/playwright/authentication/project.json index 6a3e4890f..718f01cc0 100644 --- a/e2e/playwright/authentication/project.json +++ b/e2e/playwright/authentication/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/authentication/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/authentication/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/authentication/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/authentication/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/authentication/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/authentication/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/authentication/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/copy-move-actions/project.json b/e2e/playwright/copy-move-actions/project.json index 1f71c7120..f8da97707 100644 --- a/e2e/playwright/copy-move-actions/project.json +++ b/e2e/playwright/copy-move-actions/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/copy-move-actions/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/copy-move-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/copy-move-actions/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/copy-move-actions/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/copy-move-actions/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/copy-move-actions/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/copy-move-actions/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/create-actions/project.json b/e2e/playwright/create-actions/project.json index efb27e798..9918234d8 100644 --- a/e2e/playwright/create-actions/project.json +++ b/e2e/playwright/create-actions/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/create-actions/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/create-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/create-actions/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/create-actions/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/create-actions/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/create-actions/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/create-actions/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/delete-actions/project.json b/e2e/playwright/delete-actions/project.json index 2275554bc..14a7c52eb 100644 --- a/e2e/playwright/delete-actions/project.json +++ b/e2e/playwright/delete-actions/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/delete-actions/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/delete-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/delete-actions/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/delete-actions/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/delete-actions/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/delete-actions/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/delete-actions/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/edit-actions/project.json b/e2e/playwright/edit-actions/project.json index 056c0c22a..73a8e5b7f 100644 --- a/e2e/playwright/edit-actions/project.json +++ b/e2e/playwright/edit-actions/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/edit-actions/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/edit-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/edit-actions/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/edit-actions/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/edit-actions/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/edit-actions/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/edit-actions/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/favorite-actions/project.json b/e2e/playwright/favorite-actions/project.json index 1df224726..9c8742e02 100644 --- a/e2e/playwright/favorite-actions/project.json +++ b/e2e/playwright/favorite-actions/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/favorite-actions/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/favorite-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/favorite-actions/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/favorite-actions/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/favorite-actions/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/favorite-actions/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/favorite-actions/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/folder-information-actions/project.json b/e2e/playwright/folder-information-actions/project.json index cf70c9e1a..465444ff9 100644 --- a/e2e/playwright/folder-information-actions/project.json +++ b/e2e/playwright/folder-information-actions/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/folder-information-actions/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/folder-information-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/folder-information-actions/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/folder-information-actions/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/folder-information-actions/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/folder-information-actions/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/folder-information-actions/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/folder-rules/project.json b/e2e/playwright/folder-rules/project.json index 044cbc53d..e2d709b4f 100644 --- a/e2e/playwright/folder-rules/project.json +++ b/e2e/playwright/folder-rules/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/folder-rules/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/folder-rules/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/folder-rules/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/folder-rules/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/folder-rules/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/folder-rules/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/folder-rules/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/info-drawer/project.json b/e2e/playwright/info-drawer/project.json index 8a80f1410..4e1579585 100644 --- a/e2e/playwright/info-drawer/project.json +++ b/e2e/playwright/info-drawer/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/info-drawer/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/info-drawer/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/info-drawer/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/info-drawer/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/info-drawer/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/info-drawer/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/info-drawer/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/library-actions/project.json b/e2e/playwright/library-actions/project.json index bc766d15b..c66adc6db 100644 --- a/e2e/playwright/library-actions/project.json +++ b/e2e/playwright/library-actions/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/library-actions/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/library-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/library-actions/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/library-actions/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/library-actions/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/library-actions/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/library-actions/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/list-views/project.json b/e2e/playwright/list-views/project.json index 3a15442de..e3fb15076 100644 --- a/e2e/playwright/list-views/project.json +++ b/e2e/playwright/list-views/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/list-views/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/list-views/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/list-views/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/list-views/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/list-views/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/list-views/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/list-views/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/navigation/project.json b/e2e/playwright/navigation/project.json index c52ca8830..ff15c5bb7 100644 --- a/e2e/playwright/navigation/project.json +++ b/e2e/playwright/navigation/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/navigation/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/navigation/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/navigation/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/navigation/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/navigation/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/navigation/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/navigation/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/pagination/project.json b/e2e/playwright/pagination/project.json index 15883ce84..6e06b1a1d 100644 --- a/e2e/playwright/pagination/project.json +++ b/e2e/playwright/pagination/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/pagination/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/pagination/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/pagination/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/pagination/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/pagination/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/pagination/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/pagination/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/search/project.json b/e2e/playwright/search/project.json index 2ce28af45..08465a275 100644 --- a/e2e/playwright/search/project.json +++ b/e2e/playwright/search/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/search/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/search/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/search/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/search/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/search/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/search/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/search/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/share-action/project.json b/e2e/playwright/share-action/project.json index d1498fcde..a9292e616 100644 --- a/e2e/playwright/share-action/project.json +++ b/e2e/playwright/share-action/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/share-action/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/share-action/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/share-action/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/share-action/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/share-action/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/share-action/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/share-action/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/smoke-test/project.json b/e2e/playwright/smoke-test/project.json index eee7c5094..f277cc18a 100644 --- a/e2e/playwright/smoke-test/project.json +++ b/e2e/playwright/smoke-test/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/smoke-test/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/smoke-test/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/smoke-test/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/smoke-test/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/smoke-test/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/smoke-test/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/smoke-test/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/special-permissions-actions-available/project.json b/e2e/playwright/special-permissions-actions-available/project.json index 579e6da16..fb3b9a3b4 100644 --- a/e2e/playwright/special-permissions-actions-available/project.json +++ b/e2e/playwright/special-permissions-actions-available/project.json @@ -7,27 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": [ - "playwright test --config=e2e/playwright/special-permissions-actions-available/playwright.config.ts" - ] + "commands": [ + "playwright test --config=e2e/playwright/special-permissions-actions-available/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/special-permissions-actions-available/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/special-permissions-actions-available/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/special-permissions-actions-available/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/special-permissions-actions-available/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/special-permissions-actions-available/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/upload-download-actions/project.json b/e2e/playwright/upload-download-actions/project.json index 98b52978a..a35897976 100644 --- a/e2e/playwright/upload-download-actions/project.json +++ b/e2e/playwright/upload-download-actions/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/upload-download-actions/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/upload-download-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/upload-download-actions/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/upload-download-actions/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/upload-download-actions/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/upload-download-actions/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/upload-download-actions/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/viewer-actions/project.json b/e2e/playwright/viewer-actions/project.json index 1ac220974..ff84088cd 100644 --- a/e2e/playwright/viewer-actions/project.json +++ b/e2e/playwright/viewer-actions/project.json @@ -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" + ] + } + } } } } diff --git a/e2e/playwright/viewer/project.json b/e2e/playwright/viewer/project.json index e7b3ee051..2d8136742 100644 --- a/e2e/playwright/viewer/project.json +++ b/e2e/playwright/viewer/project.json @@ -7,25 +7,89 @@ "e2e": { "executor": "nx:run-commands", "options": { - "commands": ["playwright test --config=e2e/playwright/viewer/playwright.config.ts"] + "commands": [ + "playwright test --config=e2e/playwright/viewer/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/playwright.config.ts" + ] + }, + "firefox-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "firefox" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/viewer/playwright.config.ts" + ] + }, + "chrome-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "chrome" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/viewer/playwright.config.ts" + ] + }, + "msedge-headed": { + "env": { + "PLAYWRIGHT_BROWSER": "msedge" + }, + "args": [ + "--headed" + ], + "commands": [ + "playwright test --config=e2e/playwright/viewer/playwright.config.ts" + ] + }, + "all-browsers-headless": { + "env": { + "PLAYWRIGHT_BROWSER": "all", + "PLAYWRIGHT_HEADLESS": "true" + }, + "commands": [ + "playwright test --config=e2e/playwright/viewer/playwright.config.ts" + ] + } + } } } } diff --git a/e2e/playwright/viewer/src/tests/viewer-file-types.e2e.ts b/e2e/playwright/viewer/src/tests/viewer-file-types.e2e.ts index e44516a59..3e479cc06 100644 --- a/e2e/playwright/viewer/src/tests/viewer-file-types.e2e.ts +++ b/e2e/playwright/viewer/src/tests/viewer-file-types.e2e.ts @@ -35,8 +35,6 @@ import { logger } from '@alfresco/aca-playwright-shared'; -test.use({ channel: 'chrome' }); - test.describe('viewer file types', () => { const randomString = Utils.random(); const username = `user-${randomString}`;