@@ -579,47 +579,15 @@ test.describe( 'Disputes > Respond to a dispute', () => {
579
579
await merchantPage
580
580
. getByLabel ( 'PRODUCT DESCRIPTION' )
581
581
. fill ( 'my product description' ) ;
582
-
583
- // Verify the values were set correctly immediately after filling
584
- await expect (
585
- merchantPage . getByTestId (
586
- 'dispute-challenge-product-type-selector'
587
- )
588
- ) . toHaveValue ( 'offline_service' ) ;
589
-
590
- await expect (
591
- merchantPage . getByLabel ( 'PRODUCT DESCRIPTION' )
592
- ) . toHaveValue ( 'my product description' ) ;
593
582
}
594
583
) ;
595
584
596
- await test . step ( 'Verify form values before saving' , async ( ) => {
597
- // Double-check that the form values are still correct before saving
598
- await expect (
599
- merchantPage . getByTestId (
600
- 'dispute-challenge-product-type-selector'
601
- )
602
- ) . toHaveValue ( 'offline_service' ) ;
603
-
604
- await expect (
605
- merchantPage . getByLabel ( 'PRODUCT DESCRIPTION' )
606
- ) . toHaveValue ( 'my product description' ) ;
607
- } ) ;
608
-
609
585
await test . step ( 'Save the dispute challenge for later' , async ( ) => {
610
586
await merchantPage
611
587
. getByRole ( 'button' , {
612
588
name : 'Save for later' ,
613
589
} )
614
590
. click ( ) ;
615
-
616
- // Wait for the save operation to complete
617
- // Look for the success notification in the snackbar
618
- await expect (
619
- merchantPage
620
- . locator ( '.components-snackbar__content' )
621
- . filter ( { hasText : 'Evidence saved!' } )
622
- ) . toBeVisible ( { timeout : 10000 } ) ;
623
591
} ) ;
624
592
625
593
await test . step ( 'Go back to the payment details page' , async ( ) => {
0 commit comments