Commit 89ad43d
committed
use-mocked-card-present-payment for UI tests
Despite tests passing, the contents of the pos-payment screenshot was incorrect, as lands on the failure case for `checkOrderIsStillEligibleForPayment` when attempting to retrieve the order details, hence showing a “Error: unable to process payment. we could not fetch the latest order details” rather than the payment view.
Despite passing the CPP mock in the POSTabCoordinator, we were never setting it in the test as a launch argument.1 parent e03bd88 commit 89ad43d
File tree
1 file changed
+1
-0
lines changed- WooCommerce/WooCommerceScreenshots
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments