mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-26 17:24:45 +00:00
* [ACS-511]-adding-library-tests * updating tests and adding before and after all * spinner timeouts update * updating import statement * update error locator * adding random method in general utils * [ACA-4715] break dependency on envsubst (#3325) * remove BPM host * break dependency on envsubst * remove prebuild script * cleanup package.json * [ACS-511]-adding-library-tests * adding lost MyLibrariesPage import * rebase page initialization merge * [ACS-511]-adding-library-tests * comma deleted * fix readability and indentation * adding id to info drawer * adding index and updating import * updating after wrong rebase * after rebase * updating tests and adding before and after all * updating import statement * update error locator * adding random method in general utils * [ACS-511]-adding-library-tests * comma deleted * fix readability and indentation * adding id to info drawer * adding index and updating import * next after rebase * update delete in folder tests * providing string as parameter * after rebase * updating tests and adding before and after all * adding random method in general utils * [ACS-511]-adding-library-tests * comma deleted * [ACS-511]-adding-library-tests * adding index and updating import * providing string as parameter * delete protractor create-library tests * update for calls in expect method * bump to 4.2.0 (#3334) * adding random method in general utils * adding index and updating import * providing string as parameter * after rebase * providing string as parameter * update for tests C280026 and C280027 * raising time for visibility check * quotes change in error strings * adding waitFor method * raising timeout in isErrorMessageDisplayed method * updating mat-error locator * adding press tab after fill * update general-utils to utils for random * updating label typo --------- Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
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.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.3%
HTML
4.4%
SCSS
2.8%
Shell
0.3%
JavaScript
0.2%