Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
breakoutModewide
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 message when all the errors are mapped on the Lokalise
    Given I have all the errors mapped on the Lokalise
    |error.payment.title                            |error.payment.2.title              |error.payment.2.001.title              |error.payment.2.100.001.title            |
    |Translation for the error error.payment.title  |Translation for the error 2 Title  |Translation for the error 2.001100 Title  |Translation for the error 2.100.001 Title|
    |Translation for the error error.payment.title  |Translation for the error 2 Title  |Translation for the error 2.001100 Title  |Translation for the error 2.100.001 Title|
    |Translation for the error error.payment.title  |Translation for the error 2 Title  |Translation for the error 2.001100 Title  |Translation for the error 2.100.001 Title|
    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>
    
    Examples:
        |simulate_error |title_message                            |
        |2.100.001      |Translation for the error 2.100.001 Title|
        |2.001100          |Translation for the error 2.001100 Title    | 
        |2              |Translation for the error 2 Title        |

...

Code Block
breakoutModewide
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 message description when all the errors are mapped on the Lokalise
    Given I have all the errors mapped on the Lokalise
    |error.payment.default                            |error.payment.2              |error.payment.2.001              |error.payment.2.100.001             |
    |Translation for the error error.payment.default  |Translation for the error 2  |Translation for the error 2.001100  |Translation for the error 2.100.001 |
    |Translation for the error error.payment.default  |Translation for the error 2  |Translation for the error 2.001100  |Translation for the error 2.100.001 |
    |Translation for the error error.payment.default  |Translation for the error 2  |Translation for the error 2.001100  |Translation for the error 2.100.001 |
    And I simulate the error <simulate_error>
    When I attempt to place a new order
    Then I should be see the modal with the <message_description>
    
    Examples:
        |simulate_error |message_description                |
        |2.100.001      |Translation for the error 2.100.001|
        |2.001          |Translation for the error 2.001100    | 
        |2              |Translation for the error 2        |
        

...

Code Block
breakoutModewide
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 modal button when all the error are mapped on the Lokalise
    Given I have all the errors mapped on the Lokalise
    |error.payment.button                           |error.payment.2.button             |error.payment.2.001.button             |error.payment.2.100.001.button            |
    |Translation for the error error.payment.button |Translation for the error 2 Button |Translation for the error 2.001100 Button |Translation for the error 2.100.001 Button|
    |Translation for the error error.payment.button |Translation for the error 2 Button |Translation for the error 2.001100 Button |Translation for the error 2.100.001 Button|
    |Translation for the error error.payment.button |Translation for the error 2 Button |Translation for the error 2.001100 Button |Translation for the error 2.100.001 Button|
    And I simulate the error <simulate_error>
    When I attempt to place a new order
    Then I should be see the modal with the <modal_button>
    
    Examples:
        |simulate_error |modal_button                              |
        |2.100.001      |Translation for the error 2.100.001 Button|
        |2.001          |Translation for the error 2.001100 Button    | 
        |2              |Translation for the error 2 Button        |

...