Commit Graph

9 Commits

Author SHA1 Message Date
Ivan a345321047 feat(tests): add property-based tests for hex colour parsing and repository upload filename sanitization to enhance robustness 2026-04-23 13:17:26 -05:00
Ivan 5b81f24c37 refactor(codebase): format 2026-04-23 04:56:05 -05:00
Ivan c59e50a24e feat(linkUtils): add httpUrlHrefOrNull method for safe URL normalization and update NomadNetworkPage to utilize it 2026-04-23 04:44:25 -05:00
Ivan d800352124 feat(security): implement external URL normalization to prevent unsafe outbound requests in Electron 2026-04-23 04:35:17 -05:00
Ivan 0f5034642f feat(tests): add loopback TCP fixture for integration tests and apply it to relevant test cases 2026-04-16 23:32:13 -05:00
Ivan eee4ed1ea2 feat(link-utils): update link processing with anchor protection and trailing punctuation handling 2026-04-16 21:55:38 -05:00
Sudo-Ivan 21450c69eb Add AppPropagationSync tests and enhance ConfirmDialog tests
- Introduced a new test suite for App propagation sync metrics, validating toast notifications for sync status.
- Enhanced ConfirmDialog tests to verify heading display and button attributes.
- Added additional tests for FormLabel, FormSubLabel, LanguageSelector, and other components to improve test coverage and ensure proper functionality.
2026-02-14 19:18:37 -06:00
Sudo-Ivan ee9ed05338 Add property-based tests for display name parsing and fuzzing
- Introduced new test suite for `parse_lxmf_display_name`, `parse_nomadnetwork_node_display_name`, and related functions using Hypothesis for property-based testing.
- Added various strategies to generate diverse input data, including edge cases for invalid and long names.
- Implemented tests to ensure robustness against invalid base64 inputs and to verify expected behavior with valid and corrupted data.
- Created smoke tests for frontend components including BotsPage, ForwarderPage, and others to ensure proper rendering and functionality.
2026-01-16 08:51:48 -06:00
Sudo-Ivan e2586e9052 feat(tests): add comprehensive telemetry and interface tests
- Introduced new test files for telemetry functionality, including integration, fuzzing, and extended tests to ensure robustness and performance.
- Added tests for parsing LXMF display names and telemetry data, addressing potential bugs and ensuring correct handling of various input formats.
- Implemented performance tests for the InterfacesPage component, validating rendering efficiency with a large number of discovered interfaces.
- Enhanced existing tests for markdown rendering and link utilities to cover additional edge cases and improve stability.
2026-01-07 19:22:00 -06:00