Skip to content

Commit 5a33de1

Browse files
ACQE-8538: [MFTF TESTS] StorefrontProductImageSlideTest
- Updated wait element to scroll to image section.
1 parent 0a8c9a9 commit 5a33de1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
<arguments>
1616
<argument name="image" defaultValue="ProductImage"/>
1717
</arguments>
18-
19-
<waitForElementVisible selector="{{AdminProductImagesSection.productImagesToggle}}" stepKey="waitForImagesSection"/>
18+
<scrollTo selector="{{AdminProductImagesSection.productImagesToggle}}" x="0" y="-100" stepKey="waitForImagesSection"/>
2019
<conditionalClick selector="{{AdminProductImagesSection.productImagesToggle}}" dependentSelector="{{AdminProductImagesSection.imageUploadButton}}" visible="false" stepKey="openProductImagesSection"/>
2120
<waitForPageLoad stepKey="waitForPageRefresh"/>
2221
<waitForElementVisible selector="{{AdminProductImagesSection.imageUploadButton}}" stepKey="seeImageSectionIsReady"/>

0 commit comments

Comments
 (0)