Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

...

Whitelabel

Scenario 1: [Split logic][Mapped errors][Title message] Validate the

...

different levels of error messages on the title message when all the errors are mapped on the Lokalise file

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.001 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.001 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.001 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.001          |Translation for the error 2.001 Title    | 
        |2              |Translation for the error 2 Title        |

Scenario 2: [Split logic][Non-mapped errors][Title message] Validate the

...

different levels of error messages on the title message when some errors are NOT mapped on the Lokalise file

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 some errors are NOT mapped on the Lokalise
    Given I do not 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.001 Title  |null                                     |
    |Translation for the error error.payment.title  |Translation for the error 2 Title  |null                                   |null                                     |
    |Translation for the error error.payment.title  |null                               |null                                   |null                                     |
    |Translation for the error error.payment.title  |Translation for the error 2 Title  |null                                   |Translation for the error 2.100.001 Title|
    |Translation for the error error.payment.title  |null                               |null                                   |Translation for the error 2.100.001 Title|
    |Translation for the error error.payment.title  |null                               |Translation for the error 2.001 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.001 Title        |
        |2.100.001      |Translation for the error 2 Title            |
        |2.100.001      |Translation for the error error.payment.title|
        |2.001          |Translation for the error 2 Title            |
        |2.001          |Translation for the error error.payment.title|
        |2              |Translation for the error error.payment.title|

Scenario 3: [Split logic][Mapped errors][Message description] Validate the

...

different levels of error messages on the message description when all the errors are mapped on the Lokalise file

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.001  |Translation for the error 2.100.001 |
    |Translation for the error error.payment.default  |Translation for the error 2  |Translation for the error 2.001  |Translation for the error 2.100.001 |
    |Translation for the error error.payment.default  |Translation for the error 2  |Translation for the error 2.001  |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.001    | 
        |2              |Translation for the error 2        |
        

Scenario 4: [Split logic][Non-mapped errors][Message description] Validate the

...

different levels of error messages on the message description when some errors are NOT mapped on the Lokalise file

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 some errors are NOT mapped on the Lokalise
    Given I do not 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.001  |null                               |
    |Translation for the error error.payment.default  |Translation for the error 2  |null                             |null                               |
    |Translation for the error error.payment.default  |null                         |null                             |null                               |
    |Translation for the error error.payment.default  |Translation for the error 2  |null                             |Translation for the error 2.100.001|
    |Translation for the error error.payment.default  |null                         |null                             |Translation for the error 2.100.001|
    |Translation for the error error.payment.default  |null                         |Translation for the error 2.001  |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.001                |
        |2.100.001      |Translation for the error 2                    |
        |2.100.001      |Translation for the error error.payment.default|
        |2.001          |Translation for the error 2                    |
        |2.001          |Translation for the error error.payment.default|
        |2              |Translation for the error error.payment.default|

Scenario 5: [Split logic][Mapped errors][Modal button] Validate the

...

different levels of error messages on the modal button when all the errors are mapped on the Lokalise file

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.001 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.001 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.001 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.001 Button    | 
        |2              |Translation for the error 2 Button        |

Scenario 6: [Split logic][Non-mapped errors][Modal button] Validate the

...

different levels of error messages on the modal button when some errors are NOT mapped on the Lokalise

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 some errors are NOT mapped on the Lokalise
    Given I do not 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.001 Button |null                                      |
    |Translation for the error error.payment.button |Translation for the error 2 Button |null                                   |null                                      |
    |Translation for the error error.payment.button |null                               |null                                   |null                                      |
    |Translation for the error error.payment.button |Translation for the error 2 Button |null                                   |Translation for the error 2.100.001 Button|
    |Translation for the error error.payment.button |null                               |null                                   |Translation for the error 2.100.001 Button|
    |Translation for the error error.payment.button |null                               |Translation for the error 2.001 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 |title_message                                 |
        |2.100.001      |Translation for the error 2.001 Button        |
        |2.100.001      |Translation for the error 2 Button            |
        |2.100.001      |Translation for the error error.payment.button|
        |2.001          |Translation for the error 2 Button            |
        |2.001          |Translation for the error error.payment.button|
        |2              |Translation for the error error.payment.button|

...