|
12 | 12 | <features value="Apply tier price"/>
|
13 | 13 | <title value="Apply Tier Price with empty discount value"/>
|
14 | 14 | <description value="Validate applying tier price to product"/>
|
| 15 | + <stories value="Apply Tier Price with empty discount value" /> |
15 | 16 | <severity value="CRITICAL"/>
|
16 | 17 | <testCaseId value="MAGETWO-96484"/>
|
17 | 18 | <group value="product"/>
|
|
20 | 21 | <createData entity="_defaultCategory" stepKey="createCategory"/>
|
21 | 22 | <createData entity="SimpleProduct" stepKey="createSimpleProduct">
|
22 | 23 | <requiredEntity createDataKey="createCategory"/>
|
23 |
| - <field key="price">100</field> |
24 | 24 | </createData>
|
25 | 25 | </before>
|
26 | 26 | <after>
|
27 | 27 | <deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
|
28 | 28 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
|
29 | 29 | <amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex"/>
|
30 |
| - <waitForPageLoad time="30" stepKey="waitForProductIndexPageLoad"/> |
31 | 30 | <actionGroup ref="AdminResetProductGridToDefaultViewActionGroup" stepKey="resetGridToDefaultKeywordSearch"/>
|
32 | 31 | <actionGroup ref="logout" stepKey="logoutFromAdmin"/>
|
33 | 32 | </after>
|
|
39 | 38 | <actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="openEditProductPage">
|
40 | 39 | <argument name="product" value="$$createSimpleProduct$$"/>
|
41 | 40 | </actionGroup>
|
42 |
| - <waitForPageLoad stepKey="waitForProductPage"/> |
43 | 41 | <click selector="{{AdminProductFormSection.advancedPricingLink}}" stepKey="clickOnAdvancedPricingButton"/>
|
44 | 42 | <waitForElement selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey="waitForCustomerGroupPriceAddButton"/>
|
45 | 43 | <click selector="{{AdminProductFormAdvancedPricingSection.customerGroupPriceAddButton}}" stepKey="addCustomerGroupPrice"/>
|
|
49 | 47 | <click selector="{{AdminProductFormAdvancedPricingSection.doneButton}}" stepKey="clickDoneButton"/>
|
50 | 48 | <see selector="{{AdminProductFormAdvancedPricingSection.productTierPricePercentageError}}" userInput="This is a required field." stepKey="assertPercentageError"/>
|
51 | 49 | <fillField selector="{{AdminProductFormAdvancedPricingSection.productTierPricePercentageValuePriceInput('0')}}" userInput="10" stepKey="setPercentageValue"/>
|
52 |
| - <click selector="{{AdminProductFormAdvancedPricingSection.doneButton}}" stepKey="clickDoneButton2"/> |
| 50 | + <click selector="{{AdminProductFormAdvancedPricingSection.doneButton}}" stepKey="clickDoneButton1"/> |
53 | 51 | <dontSee selector="{{AdminProductFormAdvancedPricingSection.productTierPricePercentageError}}" userInput="This is a required field." stepKey="assertNoPercentageError"/>
|
54 | 52 | <actionGroup ref="SaveProductOnProductPageOnAdmin" stepKey="saveProduct"/>
|
55 | 53 | </test>
|
|
0 commit comments