|
18 | 18 | <testCaseId value="AC-5328"/>
|
19 | 19 | </annotations>
|
20 | 20 | <before>
|
| 21 | + <!-- create category --> |
21 | 22 | <createData entity="ApiCategory" stepKey="createCategory"/>
|
| 23 | + <!-- Login to Admin Portal --> |
22 | 24 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
|
23 | 25 | </before>
|
24 | 26 | <after>
|
|
30 | 32 | <argument name="filterInputName" value="sku"/>
|
31 | 33 | <argument name="filterValue" value="{{_defaultProduct.sku}}"/>
|
32 | 34 | </actionGroup>
|
33 |
| - |
| 35 | + <!--Delete created configurable product--> |
34 | 36 | <actionGroup ref="AdminGridFilterFillSelectFieldActionGroup" stepKey="addTypeFilterConfigurable">
|
35 | 37 | <argument name="filterName" value="type_id"/>
|
36 | 38 | <argument name="filterValue" value="Configurable Product"/>
|
|
49 | 51 | <argument name="sku" value="{{_defaultProduct.sku}}"/>
|
50 | 52 | </actionGroup>
|
51 | 53 | <actionGroup ref="ResetProductGridToDefaultViewActionGroup" stepKey="resetProductGrid"/>
|
| 54 | + <!-- Delete created product attribute --> |
52 | 55 | <actionGroup ref="AdminDeleteProductAttributeByLabelActionGroup" stepKey="deleteProductAttribute">
|
53 | 56 | <argument name="productAttributeLabel" value="{{colorProductAttribute.default_label}}"/>
|
54 | 57 | </actionGroup>
|
|
72 | 75 | <fillField selector="{{AdminDataGridHeaderSection.attributeCodeFilterInput}}" userInput="{{colorProductAttribute.default_label}}" stepKey="fillFilterAttributeCodeField"/>
|
73 | 76 | <click selector="{{AdminDataGridHeaderSection.applyFilters}}" stepKey="clickApplyFiltersButton"/>
|
74 | 77 | <click selector="{{AdminDataGridTableSection.rowCheckbox('1')}}" stepKey="clickOnFirstCheckbox"/>
|
75 |
| - |
| 78 | + <!-- click on Next button --> |
76 | 79 | <click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickNextStep1"/>
|
77 |
| - |
| 80 | + <!-- Select the created attribute --> |
78 | 81 | <click selector="{{AdminCreateProductConfigurationsPanel.selectAllByAttribute(colorProductAttribute.default_label)}}" stepKey="clickSelectAll"/>
|
79 | 82 | <click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickNextStep2"/>
|
80 |
| - |
| 83 | + <!-- Add the quantities to each SKU's --> |
81 | 84 | <click selector="{{AdminCreateProductConfigurationsPanel.applySingleQuantityToEachSkus}}" stepKey="clickOnApplySingleQuantityToEachSku"/>
|
82 | 85 | <fillField selector="{{AdminCreateProductConfigurationsPanel.quantity}}" userInput="100" stepKey="enterAttributeQuantity"/>
|
83 | 86 | <click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="clickOnNextStep3"/>
|
|
0 commit comments