Skip to content

Commit a7d7bee

Browse files
committed
Merge branch 'dev/woopmnt-5249-e2e-ensure-version-coverage-for-woocommerce-and-php' into dev/woopmnt-5251-e2e-investigate-and-re-enable-woocommerce-blocks-e2e-tests
2 parents a40a983 + 7dce5fd commit a7d7bee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,12 @@ 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 that appears when evidence is saved
594+
await expect(
595+
merchantPage.getByText( 'Evidence saved!', { exact: true } )
596+
).toBeVisible( { timeout: 10000 } );
591597
} );
592598

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

0 commit comments

Comments
 (0)