From 217b6634ba4c1c1b8cc3e2b8362e3bc997353a1e Mon Sep 17 00:00:00 2001 From: eromano Date: Mon, 31 Jul 2023 17:44:49 +0200 Subject: [PATCH] Revert "Temporary skip unit tests to check e2es" This reverts commit a0adc7e58a001a54442c82952761bff891caa5cd. --- angular.json | 61 ++++++++++--------- .../actions/upload.actions.ts | 2 +- 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/angular.json b/angular.json index 25bb2e0e02..e75de7b52e 100644 --- a/angular.json +++ b/angular.json @@ -275,12 +275,15 @@ "defaultConfiguration": "production" }, "test": { - "executor": "nx:run-commands", + "builder": "@angular-devkit/build-angular:karma", "options": { - "commands": [ - { - "command": "echo temporary skip unit tests to check e2es" - } + "main": "lib/core/test.ts", + "tsConfig": "lib/core/tsconfig.spec.json", + "karmaConfig": "lib/core/karma.conf.js", + "sourceMap": true, + "codeCoverage": true, + "styles": [ + "demo-shell/src/styles.scss" ] } }, @@ -421,13 +424,13 @@ "defaultConfiguration": "production" }, "test": { - "executor": "nx:run-commands", + "builder": "@angular-devkit/build-angular:karma", "options": { - "commands": [ - { - "command": "echo temporary skip unit tests to check e2es" - } - ] + "main": "lib/content-services/src/test.ts", + "tsConfig": "lib/content-services/tsconfig.spec.json", + "karmaConfig": "lib/content-services/karma.conf.js", + "sourceMap": true, + "codeCoverage": true } }, "lint": { @@ -539,13 +542,13 @@ "defaultConfiguration": "production" }, "test": { - "executor": "nx:run-commands", + "builder": "@angular-devkit/build-angular:karma", "options": { - "commands": [ - { - "command": "echo temporary skip unit tests to check e2es" - } - ] + "main": "lib/process-services/src/test.ts", + "tsConfig": "lib/process-services/tsconfig.spec.json", + "karmaConfig": "lib/process-services/karma.conf.js", + "sourceMap": true, + "codeCoverage": true } }, "lint": { @@ -625,13 +628,13 @@ "defaultConfiguration": "production" }, "test": { - "executor": "nx:run-commands", + "builder": "@angular-devkit/build-angular:karma", "options": { - "commands": [ - { - "command": "echo temporary skip unit tests to check e2es" - } - ] + "main": "lib/process-services-cloud/src/test.ts", + "tsConfig": "lib/process-services-cloud/tsconfig.spec.json", + "karmaConfig": "lib/process-services-cloud/karma.conf.js", + "sourceMap": true, + "codeCoverage": true } }, "lint": { @@ -754,13 +757,13 @@ "defaultConfiguration": "production" }, "test": { - "executor": "nx:run-commands", + "builder": "@angular-devkit/build-angular:karma", "options": { - "commands": [ - { - "command": "echo temporary skip unit tests to check e2es" - } - ] + "main": "lib/insights/src/test.ts", + "tsConfig": "lib/insights/tsconfig.spec.json", + "karmaConfig": "lib/insights/karma.conf.js", + "sourceMap": true, + "codeCoverage": true } }, "lint": { diff --git a/lib/testing/src/lib/protractor/content-services/actions/upload.actions.ts b/lib/testing/src/lib/protractor/content-services/actions/upload.actions.ts index f1f428810c..efeb43648b 100644 --- a/lib/testing/src/lib/protractor/content-services/actions/upload.actions.ts +++ b/lib/testing/src/lib/protractor/content-services/actions/upload.actions.ts @@ -80,7 +80,7 @@ export class UploadActions { async deleteFileOrFolder(nodeId: string) { const apiCall = async () => { try { - Logger.error(`Deleting ${nodeId}`); + Logger.info(`Deleting ${nodeId}`); return this.nodesApi.deleteNode(nodeId, { permanent: true }); } catch (error) { Logger.error('Error delete file or folder');