...
Code Block | ||
---|---|---|
| ||
Feature: Detailed payment error messages feature Background: Whitelabel Homepage Given I have accessed Whitelabel's Home Page Scenario Outline: As an user I should see the correct title error, modal description and modal cta according to the mapped errors on the Lokalise Given I have all the errors mapped on the Lokalise And I simulate the error <simulate_error> When I attempt to place a new order Then I should be see the modal with the <title_message>, the <message_description> and the <modal_cta> Examples: |simulate_error |title_message |message_description |modal_cta | |2.100 |Card type invalid |Your card is not enabled to allow this payment at the moment. Please, contact your bank or try another payment method. |Pay another way | |2.100.002001 |Validation error |Something went wrong |WeThe hadpayment atransaction problem processing this paymentwas declined. Please trycheck anotherthe paymentcard method.name, card number, CVV, expire date and try again. |Review Informations | |2.101.001 |Identity error |Sorry, we were unable to verify the cardholder's identity. Please authorize payment and try again. |Pay another way |Go back |2.003 | |2.101.002 |Something went wrong |Sorry, |Wewe hadare aunable problemto processingprocess this payment. withPlease use thisanother payment method. Please contact your bank support or try another payment method.|Pay another way | |2.100 |CardGo typeback invalid |Your card is not enabled to allow this payment at the moment. Please, contact your bank or try another payment method. |Go back | |2.102.002 |Location Invalid |Sorry, we had a problem related to your location and this store. Please choose a nearest store and try again. |Choose another Store| |2.100102.001003 |Validation error |The payment transaction was declined. Please check the Card information, number, CVV, expire date and try again.Order limit exceeded |You have exceeded the number of attempts to place an order. Please try again later. |Check the informationGo back | |
Scenario 8: [Regression testing] Validate if the layout and responsive were kept on the existing error modal
...