|
89 | 89 | <click stepKey="clickonFirstRow" selector="{{AdminProductAddAttributeModalSection.firstRowCheckBox}}"/>
|
90 | 90 | <click stepKey="clickOnAddSelected" selector="{{AdminProductAttributeGridSection.addSelected}}"/>
|
91 | 91 | <waitForPageLoad stepKey="waitForAttributeAdded2"/>
|
92 |
| - |
93 |
| - <!--<actionGroup ref="FilterProductAttributeByAttributeCodeActionGroup" stepKey="filterByAttributeCode"> |
94 |
| - <argument name="ProductAttributeCode" value="$$createAttribute.attribute_code$$"/> |
95 |
| - </actionGroup>--> |
96 | 92 | <!-- Expand 'Attributes' tab -->
|
97 | 93 | <actionGroup ref="AdminExpandProductAttributesTabActionGroup" stepKey="expandAttributesTab"/>
|
98 | 94 | <!-- Check created attribute presents in the 'Attributes' tab -->
|
99 | 95 | <seeElement selector="{{AdminProductAttributesSection.attributeDropdownByCode(multiselectProductAttribute.attribute_code)}}" stepKey="assertAttributeIsPresentInTab"/>
|
100 | 96 | <!-- Select attribute options -->
|
101 |
| - <!--<selectOption selector="{{AdminProductAttributesSection.attributeDropdownByCode(multiselectProductAttribute.attribute_code)}}" parameterArray="multiselectProductAttribute.option1_admin" stepKey="selectAttributeOptions"/>--> |
102 | 97 | <selectOption selector="{{AdminProductAttributesSection.attributeDropdownByCode(multiselectProductAttribute.attribute_code)}}" userInput="{{multiselectProductAttribute.option1_admin}}" stepKey="selectProduct1AttributeOption"/>
|
103 | 98 | <!-- Save product -->
|
104 | 99 | <actionGroup ref="SaveProductFormActionGroup" stepKey="saveProductForm"/>
|
105 |
| - |
| 100 | + <!-- Go to Storefront and search for product--> |
106 | 101 | <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToFrontPage"/>
|
107 | 102 | <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="searchStorefront">
|
108 | 103 | <argument name="phrase" value="$createSimpleProduct.name$"/>
|
109 | 104 | </actionGroup>
|
| 105 | + <!-- Assert custom Attribute in Layered Navigation--> |
110 | 106 | <waitForElementVisible selector="{{StorefrontCategorySidebarSection.filterOptionsTitle(multiselectProductAttribute.attribute_code)}}" stepKey="waitForAttributeVisible"/>
|
111 | 107 | <conditionalClick selector="{{StorefrontCategorySidebarSection.filterOptionsTitle(multiselectProductAttribute.attribute_code)}}" dependentSelector="{{StorefrontCategorySidebarSection.activeFilterOptions}}" visible="false" stepKey="clickToExpandAttribute"/>
|
112 | 108 | <waitForElementVisible selector="{{StorefrontCategorySidebarSection.activeFilterOptions}}" stepKey="waitForAttributeOptionsVisible"/>
|
113 |
| - <wait time="90" stepKey="Wait"/> |
| 109 | + <wait time="10" stepKey="Wait"/> |
114 | 110 | <see selector="{{StorefrontCategorySidebarSection.filterOption}}" userInput="{{multiselectProductAttribute.option1_frontend}}" stepKey="seeOption2"/>
|
115 | 111 | </test>
|
116 | 112 | </tests>
|
0 commit comments