Skip to content

Commit 16f7139

Browse files
committed
Working on the test
1 parent 55c4ff8 commit 16f7139

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateConfigurableProductWithDisabledChildrenProductsTest.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,15 @@
113113
</actionGroup>
114114

115115
<!-- Assert configurable product is not present in category -->
116-
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>
117-
<waitForPageLoad stepKey="waitForCategoryPageLoad"/>
118-
<see selector="{{StorefrontCategoryMainSection.emptyProductMessage}}" userInput="We can't find products matching the selection." stepKey="seeEmptyProductMessage"/>
116+
<!--<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>-->
117+
<!--<waitForPageLoad stepKey="waitForCategoryPageLoad"/>-->
118+
<!--<see selector="{{StorefrontCategoryMainSection.emptyProductMessage}}" userInput="We can't find products matching the selection." stepKey="seeEmptyProductMessage"/>-->
119+
120+
<actionGroup ref="StorefrontNavigateCategoryPageActionGroup" stepKey="amOnCategoryPage">
121+
<argument name="category" value="$createCategory$"/>
122+
</actionGroup>
123+
<actionGroup ref="AssertStorefrontNoProductsFoundActionGroup" stepKey="seeEmptyProductMessage"/>
124+
119125

120126
<!-- Assert configurable product is out of stock-->
121127
<amOnPage url="{{ApiConfigurableProduct.urlKey}}.html" stepKey="amOnProductPage"/>

0 commit comments

Comments
 (0)