Commit Graph

490 Commits

Author SHA1 Message Date
520f58435c Refactor tests to remove redundant settings mock data 2025-07-06 01:32:02 +02:00
e5c34c25d7 Update tests to handle asynchronous loading and initialization states across multiple components 2025-07-06 01:29:55 +02:00
7a31bd4c76 Update WorkspaceDataContext tests to handle asynchronous loading states 2025-07-06 00:51:48 +02:00
d0cdc48f3e Update AuthContext tests to handle asynchronous initialization and loading states 2025-07-06 00:47:58 +02:00
cf554fbb6e Refactor workspace settings handling in tests and components to use currentWorkspace directly 2025-07-06 00:41:30 +02:00
7368797a11 Add tests for ContentView and MarkdownPreview components 2025-07-06 00:08:42 +02:00
2747f51293 Add tests for Header, Layout, MainContent, and Sidebar components 2025-07-05 17:39:23 +02:00
7742a04d9a Add tests for FileActions and FileTree components 2025-07-05 16:54:47 +02:00
fffd93afeb Add tests for UserMenu and WorkspaceSwitcher components 2025-07-04 22:44:19 +02:00
eaa37a262e Add tests for AdminDashboard, AdminStatsTab, AdminUsersTab, and AdminWorkspacesTab components 2025-07-04 20:24:56 +02:00
5c7edf40a8 Add tests for AppearanceSettings, DangerZoneSettings, EditorSettings, GeneralSettings, GitSettings, and WorkspaceSettings components 2025-07-03 21:58:14 +02:00
f4ec3af80c Fix handleSubmit invocation in AccountSettings component 2025-07-01 21:10:03 +02:00
e4b584e440 Add tests for AccountSettings, DangerZoneSettings, ProfileSettings, and SecuritySettings components 2025-07-01 21:01:53 +02:00
15486c584a Simplify AccordionControl tests 2025-07-01 20:40:04 +02:00
1a7ddc1a97 Refactor AccordionControl tests for improved structure, clarity, and error handling 2025-06-30 21:42:44 +02:00
32d03347fc Refactor modal tests for improved clarity and consistency in content and actions 2025-06-29 16:06:35 +02:00
8d9222d084 Refactor DeleteWorkspaceModal tests for improved clarity and consistency in assertions 2025-06-29 14:56:57 +02:00
6add442e03 Simplify user modals tests 2025-06-29 14:47:34 +02:00
e40aaff905 Refactor CommitMessageModal tests to improve clarity and remove redundant cases 2025-06-29 14:21:33 +02:00
d90f9968c5 Simplify CreateFileModal and DeleteFileModal tests 2025-06-29 13:58:43 +02:00
5980c308a2 Simplify account modals tests 2025-06-29 13:17:07 +02:00
b673d2ed2d Refactor LoginPage tests 2025-06-29 12:58:51 +02:00
734b98d286 Refactor ProfileSettings and SecuritySettings components to improve code clarity and add input types 2025-06-05 21:01:06 +02:00
3276fd98c2 Refactor ModalContext tests 2025-06-04 20:48:38 +02:00
73653c4271 Remove redundant tests from contexts 2025-06-04 20:44:31 +02:00
0fd87c072d Remove duplicate error handling tests from useWorkspaceOperations test 2025-06-04 19:22:21 +02:00
07af3f6e39 Refactor ThemeContext to ensure fallback to light scheme and update color scheme logic 2025-06-04 19:17:09 +02:00
54feefcd5c Remove redundant test in useProfileSettings 2025-06-04 18:54:48 +02:00
9854deb43b Add test for handling empty file path in saveLastOpenedFile function 2025-06-04 18:46:31 +02:00
1e80edd5ca Remove unnecessary test 2025-06-04 18:41:39 +02:00
d938c3b03b Add test for handling large file lists in useFileList hook 2025-06-04 18:22:11 +02:00
6a7736ea5b Improve useFileContent hook tests 2025-06-04 18:11:37 +02:00
dfd9d5b70c Simplify useAdminData tests 2025-06-04 17:54:57 +02:00
f37c024d65 Simplify theme tests 2025-06-04 17:03:24 +02:00
3f2aaa34e5 Add CreateWorkspaceModal and DeleteWorkspaceModal tests 2025-06-01 15:19:50 +02:00
bc17005eca Add DeleteUserModal and EditUserModal tests 2025-06-01 13:58:06 +02:00
9d7f312527 Implement CreateUserModal tests 2025-06-01 11:49:05 +02:00
8deededc05 Add DeleteAccountModal and EmailPasswordModal tests 2025-05-31 21:59:00 +02:00
e642b73556 Add data-testid attributes for improved testing in modals 2025-05-31 20:23:15 +02:00
e279cd4535 Add DeleteFileModal and CommitMessageModal tests with accessibility improvements 2025-05-31 20:00:34 +02:00
2964963f98 Add tests for CreateFileModal component and improve form handling 2025-05-29 22:03:28 +02:00
e01ae5b815 Add tests for LoginPage component and improve accessibility features 2025-05-29 20:04:58 +02:00
57b9d4cc89 Add frontend tests workflow and update paths for Go and TypeScript workflows 2025-05-29 17:12:42 +02:00
37c49dc0cc Add tests for WorkspaceDataContext 2025-05-29 16:52:03 +02:00
33d45568ec Add tests for AuthContext, ModalContext and ThemeContext 2025-05-29 16:25:42 +02:00
19771dd094 Add tests for API and Models type guards 2025-05-29 13:10:20 +02:00
2211f85193 Add tests for apiCall function 2025-05-29 11:57:50 +02:00
5ed3e96350 Refactor admin API types and add validation functions for WorkspaceStats and FileCountStats 2025-05-29 11:15:53 +02:00
d814c365ea Refactor hooks and hook tests error handling and state management 2025-05-28 22:01:27 +02:00
907dffe362 Refactor tests in useGitOperations and useWorkspaceOperations to handle undefined values gracefully 2025-05-28 21:04:43 +02:00