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

View File

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

View File

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

View File

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

View File

@ -1,36 +1,37 @@
{
"name": "testapp",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc --rootDir ../ && cp -r public ./dist/testapp",
"build:watch": "tsc --watch",
"start": "node dist/testapp/src/index.js",
"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",
"name": "testapp",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run build:server && npm run build:client && cp -r public ./dist/testapp",
"build:watch": "tsc --watch",
"start": "node dist/testapp/src/index.js",
"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",
"build:server": "tsc --rootDir ../",
"build:client": "tsc -p tsconfig.client.json",
"watch:client": "tsc -p tsconfig.client.json --watch"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"description": "",
"dependencies": {
"dotenv": "^16.5.0",
"express": "^5.1.0",
"mustache-express": "^1.3.2",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1"
},
"devDependencies": {
"@types/express": "^5.0.1",
"@types/mustache-express": "^1.2.5",
"@types/node": "^22.15.17",
"@types/socket.io": "^3.0.1",
"@types/socket.io-client": "^1.4.36",
"concurrently": "^9.1.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.8.3"
}
"watch:client": "tsc -p tsconfig.client.json --watch"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"description": "",
"dependencies": {
"dotenv": "^16.5.0",
"express": "^5.1.0",
"mustache-express": "^1.3.2",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1"
},
"devDependencies": {
"@types/express": "^5.0.1",
"@types/mustache-express": "^1.2.5",
"@types/node": "^22.15.17",
"@types/socket.io": "^3.0.1",
"@types/socket.io-client": "^1.4.36",
"concurrently": "^9.1.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.8.3"
}
}

View File

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