Vous êtes sur la page 1sur 3

#-----------------------------------------

# Author: Prashanth K
# Date Created: July 8, 2016
# Last Updated:
# Updated by:
#-----------------------------------------

#This is MEW specific


Feature: Verify the new promo code highlight exclusions link and the overlay
exclusions message display on the shopping bag page.

@release_16H @feature_promo_code_highlight_exclusions @artifact_ui @priority_high


@project_cart_abandonment_optimization @domain_purchase_and_delivery @mode_domestic
Scenario: Verify the promo text highlighted on the promo exclusions overlay in
the shopping bag page for the registered user when on treatment1 group of lean bag
experiment

Given I visit the web site as a registered user


And I am on treatment1 lean bag experiment
When I add normal product to the bag in site mode
Then I should see coremetrics tags:
|Tag Type (tid) |1|
|Attribute 3 (Explore) (pv_a3)|CAO:16H:HIGH:TEST1|
And I apply incorrect promocode
Then I should see promo error message with exclusions link
When I click on exclusions link
Then it should display legal disclaimer
And I should see "EXCLUDES" text highlighted
And I should see brands highlighted

@release_16H @feature_promo_code_highlight_exclusions @artifact_ui @priority_high


@project_cart_abandonment_optimization @domain_purchase_and_delivery @mode_domestic
Scenario: Verify the promo text highlighted on the promo exclusions overlay in
the shopping bag page for the guest user when on treatment1 group of lean bag
experiment

Given I visit the web site as a guest user


And I am on treatment1 lean bag experiment
When I add normal product to the bag in site mode
And I apply incorrect promocode
Then I should see promo error message with exclusions link
When I click on exclusions link
Then it should display legal disclaimer
And I should see "EXCLUDES" text highlighted
And I should see brands highlighted

@release_16H @feature_promo_code_highlight_exclusions @artifact_ui @priority_high


@project_cart_abandonment_optimization @domain_purchase_and_delivery @mode_domestic
Scenario: Verify the promo text highlighted on the promo exclusions overlay in
the shopping bag page for the registered user when on treatment1 group of lean bag
experiment and there are no brand names mentioned in legal disclaimer

Given I visit the web site as a registered user


And I am on treatment1 lean bag experiment
When I add normal product to the bag in site mode
And I apply incorrect promocode
Then I should see promo error message with exclusions link
When I click on exclusions link
Then it should display legal disclaimer
And I should see "EXCLUDES" text highlighted

@release_16H @feature_promo_code_highlight_exclusions @artifact_ui @priority_high


@project_cart_abandonment_optimization @domain_purchase_and_delivery @mode_domestic
Scenario: Verify the promo text highlighted on the promo exclusions overlay in
the shopping bag page for the guest user when on treatment1 group of lean bag
experiment and there are no brand names mentioned in legal disclaimer

Given I visit the web site as a guest user


And I am on treatment1 lean bag experiment
When I add normal product to the bag in site mode
And I apply incorrect promocode
Then I should see promo error message with exclusions link
When I click on exclusions link
Then it should display legal disclaimer
And I should see "EXCLUDES" text highlighted

@release_16H @feature_promo_code_highlight_exclusions @artifact_ui @priority_high


@project_cart_abandonment_optimization @domain_purchase_and_delivery @mode_domestic
Scenario: Verify the promo text highlighted on the promo exclusions overlay in
the shopping bag page for the registered user when on treatment1 group of lean bag
experiment and there are no brand names & EXCLUDES text mentioned in legal
disclaimer

Given I visit the web site as a registered user


And I am on treatment1 lean bag experiment
When I add normal product to the bag in site mode
And I apply incorrect promocode
Then I should see promo error message with exclusions link
When I click on exclusions link
Then it should display legal disclaimer
And I should not see text highlighted

@release_16H @feature_promo_code_highlight_exclusions @artifact_ui @priority_high


@project_cart_abandonment_optimization @domain_purchase_and_delivery @mode_domestic
Scenario: Verify the promo text highlighted on the promo exclusions overlay in
the shopping bag page for the guest user when on treatment1 group of lean bag
experiment and there are no brand names & EXCLUDES text mentioned in legal
disclaimer

Given I visit the web site as a guest user


And I am on treatment1 lean bag experiment
When I add normal product to the bag in site mode
And I apply incorrect promocode
Then I should see promo error message with exclusions link
When I click on exclusions link
Then it should display legal disclaimer
And I should not see text highlighted

@release_16H @feature_promo_code_highlight_exclusions @artifact_ui


@artifact_order @priority_high @project_cart_abandonment_optimization
@domain_purchase_and_delivery @mode_domestic
Scenario: Verify the promo text should be highlighted on the promo exclsuions
overlay in shopping bag page for the registered user when on segment control or
hold out or no segment or kill switch turned on for lean bag experiment and
incorrect promocode is applied

Given I visit the web site as a registered user


And I am on control|hold out|No Segment|KS turned on lean bag experiment
When I add normal product to the bag in site mode
And I apply incorrect promocode
Then I should see promo error message without exclusions link
When I click on exclusions link
Then it should display legal disclaimer
And I should not see text highlighted

@release_16H @feature_promo_code_highlight_exclusions @artifact_ui


@artifact_order @priority_high @project_cart_abandonment_optimization
@domain_purchase_and_delivery @mode_domestic
Scenario: Verify the promo text should be highlighted on the promo exclsuions
overlay in shopping bag page for the guest user when on segment control or hold out
or no segment or kill switch turned on for lean bag experiment and incorrect
promocode is applied

Given I visit the web site as a guest user


And I am on control|hold out|No Segment|KS turned on lean bag experiment
When I add normal product to the bag in site mode
Then I should see coremetrics tags:
|Tag Type (tid) |1|
|Attribute 3 (Explore) (pv_a3)|CAO:16H:HIGH:CTRL|CAO:16H:HIGH:HO|
CAO:16H:HIGH:NONE|
And I apply incorrect promocode
Then I should promo error message without exclusions link
When I click on exclusions link
Then it should display legal disclaimer
And I should not see text highlighted

Vous aimerez peut-être aussi