test: mark moderator join event test as only for focused execution

testapp: ensure roomId is defined before rendering stored webhook events

testapp: correct build script to include build:client step

ci: reduce log retention days from 7 to 2 for various artifacts

test: remove 'only' from moderator join event test for full execution

testapp: correct build script order in package.json for proper execution

frontend: update openvidu-components-angular to version 3.2.0-dev17 in package.json and package-lock.json

webcomponent: remove unnecessary comment from playwright configuration file
This commit is contained in:
Carlos Santos 2025-05-14 17:06:46 +02:00
parent 835cde2dc2
commit b25b80fc6e
6 changed files with 45 additions and 45 deletions

View File

@ -67,7 +67,7 @@ jobs:
path: | path: |
backend.log backend.log
testapp.log testapp.log
retention-days: 7 retention-days: 2
- name: Upload failed test videos - name: Upload failed test videos
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -75,7 +75,7 @@ jobs:
name: test-videos name: test-videos
path: | path: |
frontend/webcomponent/test-results/*/*.webm frontend/webcomponent/test-results/*/*.webm
retention-days: 7 retention-days: 2
- name: Dump OpenVidu Local Deployment logs - name: Dump OpenVidu Local Deployment logs
if: always() if: always()
shell: bash shell: bash
@ -91,7 +91,7 @@ jobs:
path: | path: |
openvidu-server.logs openvidu-server.logs
egress.logs egress.logs
retention-days: 7 retention-days: 2
- name: Clean up - name: Clean up
if: always() if: always()
uses: ./.github/actions/cleanup uses: ./.github/actions/cleanup

View File

@ -21,7 +21,7 @@
"core-js": "^3.38.1", "core-js": "^3.38.1",
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
"livekit-server-sdk": "^2.10.2", "livekit-server-sdk": "^2.10.2",
"openvidu-components-angular": "^3.2.0-dev14", "openvidu-components-angular": "^3.2.0-dev17",
"rxjs": "7.8.1", "rxjs": "7.8.1",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"unique-names-generator": "^4.7.1", "unique-names-generator": "^4.7.1",
@ -13901,9 +13901,9 @@
} }
}, },
"node_modules/openvidu-components-angular": { "node_modules/openvidu-components-angular": {
"version": "3.2.0-dev14", "version": "3.2.0-dev17",
"resolved": "https://registry.npmjs.org/openvidu-components-angular/-/openvidu-components-angular-3.2.0-dev14.tgz", "resolved": "https://registry.npmjs.org/openvidu-components-angular/-/openvidu-components-angular-3.2.0-dev17.tgz",
"integrity": "sha512-XPe2qIl8LZJvgYY7Fp7+qLaLScEUDZej93wdMlrIP/fvFBBvztAkdhvsUjaAEmE0lujiH5ZsL10cIu5/UgkRFg==", "integrity": "sha512-IQ7wVmE8A7puJZSSj5TRqIOqIqbdYqvVCKcIlOrH6LJ4KpW6wHGs+Bjnnqeod+KE+TofyeIMt7oCItlH/uB6Rw==",
"dependencies": { "dependencies": {
"tslib": "^2.3.0" "tslib": "^2.3.0"
}, },

View File

@ -38,7 +38,7 @@
"core-js": "^3.38.1", "core-js": "^3.38.1",
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
"livekit-server-sdk": "^2.10.2", "livekit-server-sdk": "^2.10.2",
"openvidu-components-angular": "^3.2.0-dev14", "openvidu-components-angular": "^3.2.0-dev17",
"rxjs": "7.8.1", "rxjs": "7.8.1",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"unique-names-generator": "^4.7.1", "unique-names-generator": "^4.7.1",

View File

@ -1,4 +1,3 @@
// playwright.config.ts
import { defineConfig } from '@playwright/test'; import { defineConfig } from '@playwright/test';
import { RUN_MODE } from './tests/config'; import { RUN_MODE } from './tests/config';

View File

@ -4,11 +4,12 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc --rootDir ../ && cp -r public ./dist/testapp", "build": "npm run build:server && npm run build:client && cp -r public ./dist/testapp",
"build:watch": "tsc --watch", "build:watch": "tsc --watch",
"start": "node dist/testapp/src/index.js", "start": "node dist/testapp/src/index.js",
"dev:server": "ts-node-dev --respawn --watch src,public/ts,public/views src/index.ts", "dev:server": "ts-node-dev --respawn --watch src,public/ts,public/views src/index.ts",
"dev": "concurrently \"npm:watch:client\" \"npm run dev:server\" --kill-others", "dev": "concurrently \"npm:watch:client\" \"npm run dev:server\" --kill-others",
"build:server": "tsc --rootDir ../",
"build:client": "tsc -p tsconfig.client.json", "build:client": "tsc -p tsconfig.client.json",
"watch:client": "tsc -p tsconfig.client.json --watch" "watch:client": "tsc -p tsconfig.client.json --watch"
}, },

View File

@ -243,7 +243,7 @@ document.addEventListener('DOMContentLoaded', () => {
listenWebComponentEvents(); listenWebComponentEvents();
setUpWebComponentCommands(); setUpWebComponentCommands();
showAllWebhooksCheckbox?.addEventListener('change', () => showAllWebhooksCheckbox?.addEventListener('change', () => {
renderStoredWebhookEvents(roomId) if (roomId) renderStoredWebhookEvents(roomId);
); });
}); });