mirror of https://github.com/OpenVidu/openvidu.git
|
|
||
|---|---|---|
| .. | ||
| web | ||
| LICENSE | ||
| README.md | ||
| config.ts | ||
| package-lock.json | ||
| package.json | ||
| test.ts | ||
| tsconfig.json | ||
README.md
webcomponent-e2e
How to run it (localhost)
- Start openvidu-server:
docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-server-kms:latest
- Opnenning a new terminal, prepare webcomponent test.
Run the following command under the root directory (openvidu/openvidu-webcomponent-angular/)
npm run install
npm run webcomponent:prepare-test-e2e
- Install test dependencies:
npm run install --prefix webcomponent-test-e2e
- Opnenning a new terminal, Run the webcomponent app. By default, the app will start on
http://localhost:8080.
http-server webcomponent-test-e2e/web
- Run the E2E test:
npm run webcomponent:e2e