🎯 Test: Drag and Drop Status Reordering

📋 Test Overview

This test verifies that custom task statuses can be reordered using drag-and-drop functionality.

Feature: Task 14 - Frontend drag-and-drop reordering

Requirements: 4.1, 4.2, 4.3, 4.4, 4.5

🔧 Setup

1. Start the backend server

From the backend directory:

uvicorn main:app --reload --host 0.0.0.0 --port 8000
2. Start the frontend development server

From the frontend directory:

npm run dev
3. Login as admin or coordinator

Navigate to: http://localhost:5173

Use credentials with admin or coordinator role

4. Navigate to Project Settings

Go to a project → Settings → Tasks tab

Scroll to the "Custom Task Statuses" section

✅ Test Cases

Test Case 1: Visual Elements

Test Case 2: Basic Drag and Drop

Test Case 3: Reorder Persistence

Test Case 4: Multiple Reorders

Test Case 5: Disabled State During Reorder

Test Case 6: No Change Detection

Test Case 7: Error Handling

Test Case 8: Animation and Transitions

Test Case 9: Default Status Reordering

Test Case 10: Integration with Other Features

🔍 Backend Verification

Check API Endpoint

Open browser DevTools → Network tab

When dragging and dropping, verify:

📊 Expected Results

🐛 Known Issues / Notes

✨ Implementation Details

Library: vue-draggable-next

Component: CustomTaskStatusManager.vue

Key Features: