Running tests without Docker
In order to run tests, the following software must be installed first:
node.js– version 12.x:
Download it from https://nodejs.org/en/download/package-manager/.
pnpm– version 4.3.x:
npm i firstname.lastname@example.org -g
From the CKEditor Ecosystem customer dashboard, download the software ZIP package that matches the downloaded Docker image. Unzip the package and go to the package root directory.
# Running tests
These steps allow you to verify if the application works correctly after the first run or an application update:
- Go to
APPLICATION_ENDPOINT=[your_app_endpoint] ENVIRONMENTS_MANAGEMENT_SECRET_KEY=[your_env_management_secret_key] npm run test
- If there are no errors after finishing the tests, the application is ready to use.
APPLICATION_ENDPOINT– An endpoint required to communicate with Collaboration Server On-Premises.
ENVIRONMENTS_MANAGEMENT_SECRET_KEY– A variable set in the Collaboration Server On-Premises configuration.
- There is a possibility that some test will not pass. In this case please run the tests again.
- You can run the tests from the server where Collaboration Server On-Premises is installed by setting
APPLICATION_ENDPOINT=http://localhost[:application_http_port]or from a remote machine by setting