Skip to content

Commit bc21a2b

Browse files
author
Stas Puga
committed
MAGETWO-95171: Filtering Category Products using scope selector
1 parent b6dd9b3 commit bc21a2b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
<argument name="website" type="string"/>
259259
</arguments>
260260
<scrollTo selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="scrollToWebsites"/>
261-
<click selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="clickTpOpenProductInWebsite"/>
261+
<click selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="clickToOpenProductInWebsite"/>
262262
<waitForPageLoad stepKey="waitForPageOpened"/>
263263
<checkOption selector="{{ProductInWebsitesSection.website(website)}}" stepKey="selectWebsite"/>
264264
</actionGroup>

app/code/Magento/Catalog/Test/Mftf/Test/AdminFilteringCategoryProductsUsingScopeSelectorTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<uncheckOption selector="{{ProductInWebsitesSection.website('Main Website')}}" stepKey="uncheckWebsite"/>
6565
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveProduct"/>
6666
<see selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product."
67-
stepKey="seeAssertSuccessMessage"/>
67+
stepKey="seeSuccessMessage"/>
6868

6969
<!-- Set filter to product name and product2 in website 2 only -->
7070
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex"/>
@@ -79,7 +79,7 @@
7979
<uncheckOption selector="{{ProductInWebsitesSection.website('Main Website')}}" stepKey="uncheckWebsite1"/>
8080
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveProduct1"/>
8181
<see selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product."
82-
stepKey="seeAssertSuccessMessage1"/>
82+
stepKey="seeSuccessMessage1"/>
8383

8484
<!-- Set filter to product name and product12 assigned to both websites 1 and 2 -->
8585
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex1"/>
@@ -93,7 +93,7 @@
9393
</actionGroup>
9494
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveProduct2"/>
9595
<see selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product."
96-
stepKey="seeAssertSuccessMessage2"/>
96+
stepKey="seeSuccessMessage2"/>
9797
</before>
9898
<after>
9999
<actionGroup ref="AdminDeleteWebsiteActionGroup" stepKey="deleteWebsite">

0 commit comments

Comments
 (0)