@@ -74,7 +74,7 @@ describe('Sample Metadata Modification Workflow', () => {
7474 * - YAML is parsed correctly
7575 * - Form fields are populated with sample data
7676 */
77- it ( 'imports sample metadata through file upload' , async ( ) => {
77+ it ( 'imports sample metadata through file upload' , { timeout : 30000 } , async ( ) => {
7878 // ARRANGE
7979 const user = userEvent . setup ( ) ;
8080 const { container } = render ( < App /> ) ;
@@ -123,7 +123,7 @@ describe('Sample Metadata Modification Workflow', () => {
123123 * - User can modify existing experimenter names
124124 * - New values are stored in form state
125125 */
126- it ( 'modifies experimenter name after import' , async ( ) => {
126+ it ( 'modifies experimenter name after import' , { timeout : 30000 } , async ( ) => {
127127 // ARRANGE
128128 const user = userEvent . setup ( ) ;
129129 const { container } = render ( < App /> ) ;
@@ -151,7 +151,7 @@ describe('Sample Metadata Modification Workflow', () => {
151151 * Note: This test types long strings and may take 8-10 seconds
152152 * Timeout increased to 15s to prevent flakes when running with full suite
153153 */
154- it ( 'modifies subject information after import' , async ( ) => {
154+ it ( 'modifies subject information after import' , { timeout : 30000 } , async ( ) => {
155155 // ARRANGE
156156 const user = userEvent . setup ( ) ;
157157 const { container } = render ( < App /> ) ;
@@ -193,7 +193,7 @@ describe('Sample Metadata Modification Workflow', () => {
193193 * - Camera IDs auto-increment correctly
194194 * - New camera appears in form
195195 */
196- it ( 'adds new camera to imported metadata' , async ( ) => {
196+ it ( 'adds new camera to imported metadata' , { timeout : 30000 } , async ( ) => {
197197 // ARRANGE
198198 const user = userEvent . setup ( ) ;
199199 const { container } = render ( < App /> ) ;
@@ -227,7 +227,7 @@ describe('Sample Metadata Modification Workflow', () => {
227227 * - New task appears in form
228228 * - Task can reference existing cameras
229229 */
230- it ( 'adds new task to imported metadata' , async ( ) => {
230+ it ( 'adds new task to imported metadata' , { timeout : 30000 } , async ( ) => {
231231 // ARRANGE
232232 const user = userEvent . setup ( ) ;
233233 const { container } = render ( < App /> ) ;
@@ -260,7 +260,7 @@ describe('Sample Metadata Modification Workflow', () => {
260260 * - Electrode group ID auto-increments
261261 * - New electrode group appears in form
262262 */
263- it ( 'adds new electrode group to imported metadata' , async ( ) => {
263+ it ( 'adds new electrode group to imported metadata' , { timeout : 30000 } , async ( ) => {
264264 // ARRANGE
265265 const user = userEvent . setup ( ) ;
266266 const { container } = render ( < App /> ) ;
@@ -290,7 +290,7 @@ describe('Sample Metadata Modification Workflow', () => {
290290 * - Export functionality works after import
291291 * - Blob contains YAML content
292292 */
293- it ( 're-exports metadata with modifications preserved' , async ( ) => {
293+ it ( 're-exports metadata with modifications preserved' , { timeout : 30000 } , async ( ) => {
294294 // ARRANGE
295295 const user = userEvent . setup ( ) ;
296296 const { container } = render ( < App /> ) ;
@@ -341,7 +341,7 @@ describe('Sample Metadata Modification Workflow', () => {
341341 * - All modifications are preserved through round-trip
342342 * - No data loss during import/export cycle
343343 */
344- it ( 'preserves all modifications through import-modify-export-import round-trip' , async ( ) => {
344+ it ( 'preserves all modifications through import-modify-export-import round-trip' , { timeout : 30000 } , async ( ) => {
345345 // ARRANGE
346346 const user = userEvent . setup ( ) ;
347347 const { container } = render ( < App /> ) ;
0 commit comments