mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
f917a663b71f08269a469ce1350c6ace4b483008
* [ACS-5014] Added Playwright E2E tests for copy-move actions * [ACS-5014] Fixed missing import in tsconfig.e2e.json * [ACS-5014] Removed unneeded method from utils.ts * [ACS-5014] Updated playwright.config.ts * [ACS-5014] Copy and Move tests are now working * [ACS-5014] Removed unneeded test.only * [ACS-5014] Added test case IDs to E2E tests * [ACS-6211] Removed TODO note. Removed protractor test case files * [ACS-5014] Added E2E tests for Destination Picker in copy-move actions * [ACS-5014] Removed unneded only from test suite * [ACS-5014] Updated import of logger from @alfresco/adf-cli to @alfresco/adf-testing * [ACS-5014] Addressed code review findings. Moved objects to beforeAll/beforeEach wherever applicable. Added missing await. * [ACS-5014] Addressed code review findings. Removed unused methods/objects from content-node-selector-dialog.ts * [ACS-5014] Addressed code review findings. Removed unused methods/objects from content-node-selector-dialog.ts * [ACS-5014] SonarLint fix * [ACS-5014] Fixed breaking change for other E2Es * [ACS-5014] Updated E2Es to use correct locator for more actions button
Alfresco Content Application
Please refer to the public documentation for more details
Requirements
Name | Version |
---|---|
Node.js | 18.x |
Npm | 9.x |
Compatibility
ACA | ADF | ACS | Node | Angular |
---|---|---|---|---|
4.3 | 6.4 | 23.1 | 18.x | 14.x |
4.2 | 6.3 | 23.1.0-M4 | 18.x | 14.x |
4.1 | 6.2 | 7.4 | 18.x | 14.x |
4.0 | 6.1 | 7.4 | 14.x | 14.x |
3.1 | 5.1 | 7.3 | ||
3.0 | 5.0 | 7.3 |
See https://angular.io/guide/versions for more details on Angular and Node.js compatibility
Running
Create an .env
file in the project root folder with the following content
BASE_URL="<URL>"
Where <URL>
is the address of the ACS.
Run the following commands:
npm install
npm start
Unit Tests
Use following command to test the projects:
nx test <project>
Code Coverage
The projects are already configured to produce code coverage reports in console and HTML output.
You can view HTML reports in the ./coverage/<project>
folder.
When working with unit testing and code coverage improvement, you can run unit tests in the "live reload" mode:
nx test <project> -- --watch
Upon changing unit tests code, you can track the coverage results either in the console output, or by reloading the HTML report in the browser.
Description
Languages
TypeScript
92.2%
HTML
4.3%
SCSS
3%
Shell
0.2%
JavaScript
0.2%