149 Commits

Author SHA1 Message Date
juancarmore
b44e7e2b6a test: add sleep to ensure proper timing for room deletion in participant and end meeting tests 2025-06-20 16:57:13 +02:00
juancarmore
fd7260863f backend: enhance bulk room deletion logic to ensure proper handling of active meetings and update tests for consistency 2025-06-20 15:00:05 +02:00
juancarmore
3ef546488f test: refactor setupSingleRoom function to join participant after generating participant token
This fix the bug that causes LiveKit webhook events to not have property 'metadata' defined because the room was being created when joining participant instead of when generating token
2025-06-20 14:59:38 +02:00
Carlos Santos
1825936a04 WIP test: add webhook test for meeting_ended event on forceful room deletion 2025-06-19 18:34:45 +02:00
juancarmore
f28ea2bc56 test: implement API keys management tests including creation, retrieval and deletion 2025-06-19 13:37:18 +02:00
juancarmore
13e651cf8d test: streamline password reset logic in user security tests and update change password method to use MEET_ADMIN_SECRET 2025-06-19 12:20:49 +02:00
juancarmore
4053cfd572 test: update recordingId validation error codes and remove public access tests 2025-06-13 18:07:52 +02:00
juancarmore
eb8ed528b6 test: remove public access tests and add new scenarios for recording access using secrets 2025-06-13 17:19:38 +02:00
Carlos Santos
d06747eb5c backend: enhance bulk delete recording tests with cleanup validation 2025-06-11 14:28:04 +02:00
Carlos Santos
12c4813264 backend: migrate Redlock dependency to @sesamecare-oss/redlock
- Updated package.json to replace the Redlock dependency with @sesamecare-oss/redlock version 1.4.0.
- Modified imports in mutex.service.ts, redis.service.ts, and garbage-collector.test.ts to reflect the new Redlock package.
2025-06-11 10:45:10 +02:00
Carlos Santos
17788f3a27 backend(test): add LiveKit CLI installation check before joining fake participant 2025-06-11 10:24:43 +02:00
juancarmore
e039e48e06 test: update getRecordingUrl tests to use new URL format 2025-06-10 16:27:03 +02:00
juancarmore
082bea9b5e test: add validation checks for recording URL responses and refactor related tests 2025-06-10 12:49:19 +02:00
juancarmore
3a28936ca3 test: add security tests for Get Room Preferences endpoint 2025-06-10 12:48:07 +02:00
Carlos Santos
eb6427eb99 backend: add internal API endpoint and functionality to retrieve room preferences 2025-06-10 12:09:50 +02:00
Carlos Santos
66d63378fb backend: update recording location header to use API_BASE_PATH_V1 and update test for validating location header 2025-06-10 11:15:42 +02:00
juancarmore
cdcafd22d0 test: fix recording URL tests to use parsed path 2025-06-10 11:03:13 +02:00
juancarmore
b24a38ef55 test: fix indentation in change password tests and ensure server starts in get profile tests 2025-06-09 23:46:35 +02:00
juancarmore
129be42152 test: add integration tests for change password and get profile functionalities 2025-06-09 22:35:44 +02:00
juancarmore
287148e8fc test: add user API security tests for profile and change password functionality 2025-06-09 22:35:22 +02:00
juancarmore
927035c1ea test: add integration tests for getRecordingUrl endpoint 2025-06-09 21:05:51 +02:00
juancarmore
979396aedd test: add new security test cases for getRecordingMedia endpoint and implement security tests for getRecordingUrl endpoint 2025-06-09 21:05:30 +02:00
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