Create a New Feature
Define a new feature to begin creating test cases.
import { useState } from 'react'; interface CreateFeaturePageProps { onCreateFeature: (name: string) => void; onNavigateBack: () => void; } function CreateFeaturePage({ onCreateFeature, onNavigateBack }: CreateFeaturePageProps) { const [featureName, setFeatureName] = useState(''); const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); if (featureName.trim()) { const sanitizedName = featureName.trim().replace(/\s+/g, '_'); onCreateFeature(sanitizedName); } }; return (
Define a new feature to begin creating test cases.