File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
app/code/Magento/ConfigurableProduct/Test/Mftf Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 14
14
<argument name =" categoryName" type =" string" />
15
15
<argument name =" attributeDefaultLabel" type =" string" />
16
16
</arguments >
17
- <amOnPage url =" categoryName" stepKey =" openCategoryStoreFrontPage" />
17
+ <amOnPage url =" {{ categoryName}} " stepKey =" openCategoryStoreFrontPage" />
18
18
<waitForPageLoad stepKey =" waitForCategoryPageToLoad" />
19
19
<seeElement selector =" {{StorefrontHeaderSection.NavigationCategoryByName(categoryName)}}" stepKey =" seeCategoryInFrontPage" />
20
20
<click selector =" {{StorefrontHeaderSection.NavigationCategoryByName(categoryName)}}" stepKey =" clickOnCategory" />
23
23
<click selector =" {{StorefrontCategorySidebarSection.filterOptionsTitle(attributeDefaultLabel)}}" stepKey =" clickAttributeOptions" />
24
24
<waitForPageLoad stepKey =" waitForPageToLoad" />
25
25
</actionGroup >
26
- </actionGroups >
26
+ </actionGroups >
Original file line number Diff line number Diff line change 5
5
* See COPYING.txt for license details.
6
6
*/
7
7
-->
8
+
8
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
10
11
<test name =" StorefrontVerifyConfigurableProductLayeredNavigationTest" >
131
132
<scrollTo selector =" {{AdminProductFormSection.productQuantity}}" stepKey =" scrollToProductQuantity" />
132
133
<selectOption selector =" {{AdminProductFormSection.productStockStatus}}" userInput =" Out of Stock" stepKey =" disableProduct" />
133
134
<click selector =" {{AdminProductFormActionSection.saveButton}}" stepKey =" clickOnSaveButton" />
134
- <waitForLoadingMaskToDisappear stepKey =" waitForLoading " />
135
+ <waitForPageLoad stepKey =" waitForPageLoad1 " />
135
136
<see selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" userInput =" You saved the product." stepKey =" messageYouSavedTheProductIsShown" />
136
137
137
138
<!-- Open Category in Store Front and select product attribute option from sidebar -->
145
146
<see selector =" {{StorefrontCategorySidebarSection.filterOption}}" userInput =" $$getConfigAttributeOption2.label$$" stepKey =" seeOption2" />
146
147
<see selector =" {{StorefrontCategorySidebarSection.filterOption}}" userInput =" $$getConfigAttributeOption3.label$$" stepKey =" seeOption3" />
147
148
</test >
148
- </tests >
149
+ </tests >
You can’t perform that action at this time.
0 commit comments