Skip to content

Commit e4068ad

Browse files
committed
MC-6443: Product custom URL Key is preserved when assigned to a Category (without custom URL Key) alongside with another Product without custom URL Key
1 parent db8b074 commit e4068ad

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminCategoryActionGroup.xml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -405,13 +405,10 @@
405405
<argument name="productSku" type="string"/>
406406
</arguments>
407407

408-
<conditionalClick selector="{{AdminCategoryBasicFieldSection.productsInCategory}}" dependentSelector="{{CatalogProductsSection.resetFilter}}" visible="false" stepKey="clickOnProductInCategory"/>
409-
<waitForPageLoad time="30" stepKey="waitForProductsInCategoryOpened"/>
410-
<click selector="{{CatalogProductsSection.resetFilter}}" stepKey="clickOnResetFilter"/>
411-
<waitForPageLoad time="30" stepKey="waitForProductsToLoad"/>
412-
<fillField selector="{{AdminCategoryContentSection.productTableColumnSku}}" userInput="{{productSku}}" stepKey="selectProduct"/>
413-
<click selector="{{AdminCategoryContentSection.productSearch}}" stepKey="clickSearchButton"/>
414-
<waitForPageLoad time="30" stepKey="waitForSearch"/>
408+
<conditionalClick selector="{{AdminCategoryBasicFieldSection.productsInCategory}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="false" stepKey="clickOnProductInCategory"/>
409+
<click selector="{{AdminDataGridHeaderSection.clearFilters}}" stepKey="clickOnResetFilter"/>
410+
<fillField selector="{{AdminCategoryContentSection.productTableColumnSku}}" userInput="{{productSku}}" stepKey="fillSkuFilter"/>
411+
<click selector="{{AdminDataGridHeaderSection.applyFilters}}" stepKey="clickSearchButton"/>
415412
<click selector="{{AdminCategoryContentSection.productTableRow}}" stepKey="selectProductFromTableRow"/>
416413
</actionGroup>
417414
</actionGroups>

0 commit comments

Comments
 (0)