feat: add context view tests and enhance context drop zone

- Introduced a new test suite for the Context View, covering file management, editing, and edge cases.
- Added a data-testid attribute to the context drop zone for improved testability.
- Implemented various tests for creating, editing, deleting, and uploading context files, ensuring robust functionality and user experience.
This commit is contained in:
Kacper
2025-12-15 02:39:56 +01:00
parent f6c50ce336
commit a412f5d0fb
4 changed files with 2428 additions and 0 deletions

View File

@@ -393,6 +393,7 @@ export function ContextView() {
className="flex-1 flex overflow-hidden"
onDrop={handleDrop}
onDragOver={handleDragOver}
data-testid="context-drop-zone"
>
{/* Left Panel - File List */}
<div className="w-64 border-r border-border flex flex-col overflow-hidden">