openvidu/openvidu-components-angular/webcomponent-test-e2e/README.md

1.3 KiB

License badge Documentation Status Docker badge Support badge

webcomponent-e2e

How to run it (localhost)

  1. Start openvidu-server:
docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-server-kms:latest
  1. 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
  1. Install test dependencies:
npm run install --prefix webcomponent-test-e2e
  1. Opnenning a new terminal, Run the webcomponent app. By default, the app will start on http://localhost:8080.
http-server webcomponent-test-e2e/web
  1. Run the E2E test:
npm run webcomponent:e2e