Commit Graph

7 Commits

Author SHA1 Message Date
Siddharth Gelera
e6681553f5 chore: format 2025-09-25 18:17:12 +05:30
Siddharth Gelera
9d622c6ea1 tests(websocket): add websocket persistence tests 2025-09-25 18:15:24 +05:30
Siddharth Gelera
ad70c12712 chore: fix message queue flush logic
Ensure that the flushQueue method checks for the existence of the message queue before processing.

Refactor WebSocket test fixtures for better readability by correcting indentation and structure.
2025-09-25 16:01:46 +05:30
Siddharth Gelera
b61bcacabf test(websocket): update BRU_FILE_NAME to use regex
Changed BRU_FILE_NAME from a string to a regex pattern for better matching.
2025-09-18 17:42:41 +05:30
Siddharth Gelera
a99087b671 test(websocket): refactor to use constant for BRU_FILE_NAME
Updated the test cases to utilize a constant for the BRU_FILE_NAME regex pattern for better maintainability and readability.
2025-09-18 17:41:31 +05:30
Siddharth Gelera
2a674786e2 test(websocket): add headers handling in tests
- Implemented logic to send headers in websocket messages.
- Added tests for websocket connections and message handling.
- Created locators for common elements in websocket tests.
2025-09-18 17:21:53 +05:30
Siddharth Gelera
3fc2fa2d57 tests(websockets): move it a folder up 2025-09-18 14:16:53 +05:30