|
19 | 19 |
|
20 | 20 | <before>
|
21 | 21 | <createData entity="Simple_US_Customer" stepKey="createCustomer"/>
|
22 |
| - |
23 | 22 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
24 | 23 | </before>
|
25 | 24 | <after>
|
|
72 | 71 | <!--Go to New Product page, add check custom customer group values-->
|
73 | 72 | <amOnPage url="{{AdminProductCreatePage.url('4', 'simple')}}" stepKey="goToCreateSimpleProductPage"/>
|
74 | 73 | <click selector="{{AdminProductFormSection.advancedPricingLink}}" stepKey="clickOnAdvancedPricingButton"/>
|
75 |
| - <waitForElement selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey="waitForCustomerGroupPriceAddButton"/> |
76 |
| - <click selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey="addCustomerGroupAllGroupsQty1PriceDiscountAnd10percent"/> |
77 |
| - <waitForElement selector="{{AdminProductFormAdvancedPricingSection.productTierPriceCustGroupSelect('0')}}" stepKey="waitForSelectCustomerGroupNameAttribute2"/> |
78 |
| - <dontSee selector="{{AdminProductFormAdvancedPricingSection.productTierPriceCustGroupSelect('0')}}" userInput="{{CustomerGroupChange.code}}" stepKey="seeProductTierPriceCustomerGroupInput"/> |
| 74 | + <waitForElement selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" |
| 75 | + stepKey="waitForCustomerGroupPriceAddButton"/> |
| 76 | + <click selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" |
| 77 | + stepKey="addCustomerGroupAllGroupsQty1PriceDiscountAnd10percent"/> |
| 78 | + <waitForElement selector="{{AdminProductFormAdvancedPricingSection.productTierPriceCustGroupSelect('0')}}" |
| 79 | + stepKey="waitForSelectCustomerGroupNameAttribute2"/> |
| 80 | + <dontSee selector="{{AdminProductFormAdvancedPricingSection.productTierPriceCustGroupSelect('0')}}" |
| 81 | + userInput="{{CustomerGroupChange.code}}" |
| 82 | + stepKey="seeProductTierPriceCustomerGroupInput"/> |
| 83 | + |
| 84 | + <!--Go to Catalog price rule page, add check custom customer group values--> |
| 85 | + <amOnPage stepKey="goToPriceRulePage" url="{{CatalogRulePage.url}}"/> |
| 86 | + <waitForPageLoad stepKey="waitForPriceRulePage"/> |
| 87 | + <click stepKey="addNewRule" selector="{{AdminGridMainControls.add}}"/> |
| 88 | + <dontSee selector="{{AdminNewCatalogPriceRule.customerGroups}}" |
| 89 | + userInput="{{CustomerGroupChange.code}}" |
| 90 | + stepKey="dontSeeCatalogPriceRuleCustomerGroups"/> |
| 91 | + |
| 92 | + <!--Go to Cart price rule page, add check custom customer group values--> |
| 93 | + <amOnPage url="{{AdminCartPriceRulesPage.url}}" stepKey="amOnCartPriceList"/> |
| 94 | + <waitForPageLoad stepKey="waitForRulesPage"/> |
| 95 | + <click selector="{{AdminCartPriceRulesSection.addNewRuleButton}}" stepKey="clickAddNewRule"/> |
| 96 | + <dontSee selector="{{AdminCartPriceRulesFormSection.customerGroups}}" |
| 97 | + userInput="{{CustomerGroupChange.code}}" |
| 98 | + stepKey="dontSeeCartPriceRuleCustomerGroups"/> |
79 | 99 | </test>
|
80 | 100 | </tests>
|
0 commit comments