127 Commits

Author SHA1 Message Date
Carlos Santos
a69f112006 test: reorder parameters in setupSingleRoom calls for consistency 2025-06-04 14:34:13 +02:00
Carlos Santos
da76042d07 test: reorder parameters in setupSingleRoom for consistency 2025-06-04 13:56:30 +02:00
Carlos Santos
c51ea8e18c test: update recording test for avoiding garbage recordings 2025-06-04 13:49:28 +02:00
Carlos Santos
5089df16a7 backend: implement access recording secrets management in storage service 2025-06-04 12:44:48 +02:00
Carlos Santos
cf27433e2d backend: rename buildDefaultPreferences to getDefaultPreferences for clarity 2025-06-04 11:56:02 +02:00
Carlos Santos
895c96e141 test: Refactor race conditions tests 2025-06-04 11:33:57 +02:00
Carlos Santos
8aa1bbc64b Refactor storage service and interfaces for improved separation of concerns
- Updated StorageFactory to create basic storage providers and key builders.
- Simplified StorageProvider interface to focus on basic CRUD operations.
- Enhanced MeetStorageService to handle domain-specific logic while delegating storage operations.
- Implemented Redis caching for room data to improve performance.
- Added error handling and logging improvements throughout the service.
- Removed deprecated methods and streamlined object retrieval processes.
refactor: update storage service and interfaces to include user key handling and improve initialization logic

refactor: update beforeAll hooks in recording tests to clear rooms and recordings

refactor: optimize integration recordings test command

Revert "refactor: optimize integration recordings test command"

This reverts commit d517a44fa282b91613f8c55130916c2af5f07267.

refactor: enhance Redis cache storage operations

refactor: streamline test setup and teardown for security and recordings APIs
2025-06-04 11:14:04 +02:00
juancarmore
130b84ba69 test: Refactor tests and requests helper to reflect backend changes 2025-05-31 01:38:26 +02:00
Carlos Santos
dd3a2939e4 test: add handling for recording rejection when start recording fails 2025-05-30 17:28:32 +02:00
Carlos Santos
ef45f4869c test: enhance recording tests by validating room metadata deletion and response status 2025-05-30 17:28:23 +02:00
Carlos Santos
fd4c035fc0 ci: refactor race conditions tests to improve timeout handling and system stability 2025-05-30 15:36:46 +02:00
Carlos Santos
f58e0fd111 test: refactor recording tests to improve clarity and consistency 2025-05-28 13:45:56 +02:00
juancarmore
c80b88fc67 backend: update participant permissions to disable recorder and prevent room creation for publishers 2025-05-20 16:55:19 +02:00
juancarmore
8390133a5a test: update security preferences tests to handle partial data and validation; add missing access check for recording preferences in update room preferences tests 2025-05-17 12:58:33 +02:00
juancarmore
deadd90315 test: add integration tests for deleting participants in Meetings API 2025-05-15 21:52:15 +02:00
juancarmore
1033382df7 test: add integration tests for ending meetings in Meetings API 2025-05-15 21:51:15 +02:00
juancarmore
88fa90b00d test: add disconnectFakeParticipants call in afterAll hooks for cleanup 2025-05-15 21:50:37 +02:00
juancarmore
7e0585595b test: add integration tests for refreshing participant tokens with various scenarios 2025-05-13 14:30:13 +02:00
juancarmore
26103ab52a test: add integration tests for generating participant tokens and validate responses 2025-05-13 14:23:00 +02:00
juancarmore
886fd5109b test: add integration tests for generating recording tokens and update related assertions 2025-05-13 12:52:31 +02:00
juancarmore
e45420ac0f test: add integration tests for retrieving room roles and permissions 2025-05-13 12:09:57 +02:00
juancarmore
6c9e1d9b50 tests: Add recording token functionality to recordings API tests 2025-05-11 21:00:48 +02:00
juancarmore
676b1c1fc6 tests: Add security preferences API tests 2025-05-11 20:12:12 +02:00
juancarmore
25b4ef6c1d tests: Add global preferences API security tests 2025-05-11 19:23:24 +02:00
juancarmore
cf04b4e32d tests: Update room security tests to enhance authentication scenarios and add recording token generation tests 2025-05-11 15:35:01 +02:00
juancarmore
4e16598cbe tests: Add more security tests for meeting API 2025-05-11 15:34:44 +02:00
juancarmore
a08da5dc75 tests: Enhance recording API security tests by including cases with recording token cookie 2025-05-11 14:07:21 +02:00
juancarmore
4d176600e1 tests: Refactor request helpers for improved preference management and cleanup 2025-05-11 14:06:03 +02:00
Carlos Santos
23da76806d backend: Add unit test command and update token service to use VideoGrant type 2025-05-08 12:10:59 +02:00
Carlos Santos
41f8822567 test: Add type checks for LiveKitPermissions and VideoGrant interfaces 2025-05-08 12:06:15 +02:00
Carlos Santos
185d6e9def tests: Enhance race conditions tests for recording API with additional consistency checks 2025-05-07 13:00:48 +02:00
Carlos Santos
d85bda282e tests: Add API tests for webhook preferences 2025-05-07 12:36:45 +02:00
Carlos Santos
a5024fccf2 tests: Enhance room deletion tests with custom MEETING_DEPARTURE_TIMEOUT and LiveKit room creation 2025-05-07 11:39:32 +02:00
Carlos Santos
3c4b373861 backend: Add appearance preferences API tests and helper functions 2025-05-07 10:43:44 +02:00
Carlos Santos
9d4452dddf backend: Add webhook integration tests and update CI workflow for webhooks 2025-05-06 17:20:58 +02:00
Carlos Santos
09ba892d95 backend: Remove createdBy field from rom metadata and related code 2025-05-06 17:17:22 +02:00
Carlos Santos
bcb8c82e59 backend: Add webhook integration tests; implement webhook server setup and preferences management 2025-05-06 17:14:09 +02:00
juancarmore
5671d58f1f tests: Add setupSingleRoomWithRecording function and refactor recording security tests 2025-05-05 16:39:17 +02:00
juancarmore
46bd1bcca8 tests: Refactor security tests to use setupSingleRoom for room data management 2025-05-05 14:38:56 +02:00
juancarmore
e6173e1748 tests: Refactor validation error checks in authentication tests to use expectValidationError helper 2025-05-05 14:38:21 +02:00
juancarmore
d42b9b0329 tests: Remove unnecessary parameter from setupMultiRecordingsTestContext calls in recording tests 2025-05-05 14:38:06 +02:00
juancarmore
e90fac28b5 tests: Add setupSingleRoom function in test-scenarios.ts and refactor code 2025-05-05 14:37:11 +02:00
juancarmore
78f6d7d8cc tests: Refactor expectValidationError to use consistent parameter naming 2025-05-05 14:35:58 +02:00
juancarmore
edab6bba31 tests: Simplify changeSecurityPreferences and update token generation functions to remove adminCookie parameter 2025-05-05 14:35:41 +02:00
juancarmore
ad928006d2 tests: Add generateRecordingToken function in request-helpers.ts 2025-05-05 10:47:58 +02:00
juancarmore
e5242d16b9 tests: Replace app instance checks with a centralized checkAppIsRunning function 2025-05-05 10:47:09 +02:00
juancarmore
7d75d7948e tests: Refactor authentication tests to use cookie names from internal configuration 2025-05-05 10:46:37 +02:00
juancarmore
5a66b2f623 tests: Fix broken tests by changing expected error responses and reorganize imports 2025-04-30 16:19:23 +02:00
Carlos Santos
829c7a1555 tests: Add test for room deletion upon receiving room_finished webhook 2025-04-30 14:48:59 +02:00
Carlos Santos
963db44b55 backend: Optimize cleanup process in bulk delete recording tests by using Promise.all 2025-04-29 18:18:11 +02:00