Skip to content

Commit 7140523

Browse files
committed
Attempt to fix the save dispute for later failure
1 parent 135e506 commit 7140523

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/e2e/specs/wcpay/merchant/merchant-disputes-respond.spec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,14 @@ test.describe( 'Disputes > Respond to a dispute', () => {
588588
name: 'Save for later',
589589
} )
590590
.click();
591+
592+
// Wait for the save operation to complete
593+
// Look for the success notification in the snackbar
594+
await expect(
595+
merchantPage
596+
.locator( '.components-snackbar__content' )
597+
.filter( { hasText: 'Evidence saved!' } )
598+
).toBeVisible( { timeout: 10000 } );
591599
} );
592600

593601
await test.step( 'Go back to the payment details page', async () => {

0 commit comments

Comments
 (0)