Skip to content

Commit ed01969

Browse files
committed
Merge remote-tracking branch 'origin/MC-14943' into 2.3-develop-pr43
2 parents b5ba5b9 + bb5a507 commit ed01969

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,14 @@
180180
<arguments>
181181
<argument name="website" type="string"/>
182182
</arguments>
183-
<scrollTo selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="ScrollToWebsites"/>
184-
<click selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="ClickTpOpenProductInWebsite"/>
183+
<scrollTo selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="scrollToWebsites"/>
184+
<conditionalClick selector="{{ProductInWebsitesSection.sectionHeader}}" dependentSelector="{{ProductInWebsitesSection.website(website)}}" visible="false" stepKey="clickToOpenProductInWebsite"/>
185185
<waitForPageLoad stepKey="waitForPageOpened"/>
186-
<click selector="{{ProductInWebsitesSection.website(website)}}" stepKey="SelectWebsite"/>
186+
<click selector="{{ProductInWebsitesSection.website(website)}}" stepKey="selectWebsite"/>
187187
<click selector="{{AdminProductFormAdvancedPricingSection.save}}" stepKey="clickSaveProduct"/>
188-
<waitForPageLoad time='60' stepKey="waitForPageOpened1"/>
188+
<waitForPageLoad time='60' stepKey="waitForProducrSaved"/>
189+
<waitForElementVisible selector="{{AdminMessagesSection.success}}" stepKey="waitForSaveSuccessMessage"/>
190+
<see selector="{{AdminMessagesSection.success}}" userInput="You saved the product." stepKey="seeSaveSuccessMessage"/>
189191
</actionGroup>
190192

191193
<actionGroup name="ProductSetAdvancedPricing">

app/code/Magento/Store/Test/Mftf/ActionGroup/AdminSwitchWebsiteActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<arguments>
1212
<argument name="website"/>
1313
</arguments>
14+
<scrollToTopOfPage stepKey="scrollToTop"/>
1415
<click selector="{{AdminMainActionsSection.storeViewDropdown}}" stepKey="clickWebsiteSwitchDropdown"/>
1516
<waitForElementVisible selector="{{AdminMainActionsSection.websiteByName('Main Website')}}" stepKey="waitForWebsiteAreVisible"/>
1617
<click selector="{{AdminMainActionsSection.websiteByName(website.name)}}" stepKey="clickWebsiteByName"/>

0 commit comments

Comments
 (0)