ci: add E2E UI Features Tests workflow
This commit is contained in:
parent
d770b89a71
commit
f7be31f84b
32
.github/workflows/wc-e2e-test.yaml
vendored
32
.github/workflows/wc-e2e-test.yaml
vendored
@ -45,6 +45,38 @@ jobs:
|
|||||||
uses: OpenVidu/actions/cleanup@main
|
uses: OpenVidu/actions/cleanup@main
|
||||||
|
|
||||||
|
|
||||||
|
e2e-ui-features-test:
|
||||||
|
name: E2E UI Features Tests
|
||||||
|
runs-on: ov-actions-runner
|
||||||
|
steps:
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '22.13'
|
||||||
|
- name: Setup OpenVidu Local Deployment
|
||||||
|
uses: OpenVidu/actions/start-openvidu-local-deployment@main
|
||||||
|
- name: Setup OpenVidu Meet
|
||||||
|
uses: OpenVidu/actions/start-openvidu-meet@main
|
||||||
|
env:
|
||||||
|
MEET_WEBHOOK_ENABLED: true
|
||||||
|
- name: Start OpenVidu Meet Testapp
|
||||||
|
uses: OpenVidu/actions/start-openvidu-meet-testapp@main
|
||||||
|
- name: Run tests
|
||||||
|
run: |
|
||||||
|
cd frontend/webcomponent
|
||||||
|
# Install Playwright browsers
|
||||||
|
mkdir -p /tmp/ms-playwright
|
||||||
|
PLAYWRIGHT_BROWSERS_PATH=/tmp/ms-playwright npx playwright install --with-deps chromium
|
||||||
|
npm run test:e2e-ui-features
|
||||||
|
env:
|
||||||
|
RUN_MODE: CI
|
||||||
|
PLAYWRIGHT_BROWSERS_PATH: /tmp/ms-playwright
|
||||||
|
- name: Upload failed test videos
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: test-videos
|
||||||
|
|
||||||
|
|
||||||
webcomponent-e2e-test:
|
webcomponent-e2e-test:
|
||||||
name: WebComponent E2E Tests
|
name: WebComponent E2E Tests
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user