Skip to content

Commit 3984299

Browse files
committed
ACQE-5377: [Stabilithon] Review and deliver submitted Pull Requests
- create Suite for Staging tests
1 parent f61573c commit 3984299

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
<pressKey selector="{{AdminProductImagesSection.altText}}" parameterArray="[\Facebook\WebDriver\WebDriverKeys::ESCAPE]" stepKey="pressEsc31"/>
181181
<actionGroup ref="AdminProductFormSaveActionGroup" stepKey="saveProduct31"/>
182182
<waitForPageLoad stepKey="wait7"/>
183-
<actionGroup ref="GoToProductPage" stepKey="goToProductPage32"/>
183+
<amOnPage url="{{ProductCatalogPage.url}}" stepKey="goToProductPage32" />
184184
<actionGroup ref="FilterProductGridByNameActionGroup" stepKey="filterProduct1">
185185
<argument name="product" value="$$SimpleProduct3$$"/>
186186
</actionGroup>
@@ -235,7 +235,7 @@
235235
<actionGroup ref="AdminProductFormSaveActionGroup" stepKey="saveProduct41"/>
236236
<waitForPageLoad stepKey="wait9"/>
237237
<!-- Go to product page and filter product-->
238-
<actionGroup ref="GoToProductPage" stepKey="goToProductPage42"/>
238+
<amOnPage url="{{ProductCatalogPage.url}}" stepKey="goToProductPage42" />
239239
<actionGroup ref="FilterProductGridByNameActionGroup" stepKey="filterProduct2">
240240
<argument name="product" value="$$SimpleProduct4$$"/>
241241
</actionGroup>
@@ -278,10 +278,9 @@
278278
<amOnPage url="{{StorefrontProductPage.url($SimpleProduct4.custom_attributes[url_key]$)}}" stepKey="goToProductPage423"/>
279279
<waitForPageLoad time="60" stepKey="waitForPageLoadContentSection43"/>
280280
<seeElement selector="{{StorefrontProductMediaSection.imageFile('/adobe-base')}}" stepKey="seebaseimage43"/>
281-
<!--Go to Storefront Cstegory-->
281+
<!--Go to Storefront Category-->
282282
<amOnPage url="{{StorefrontCategoryPage.url($createCategory.custom_attributes[url_key]$)}}" stepKey="goToCategoryPage43"/>
283283
<waitForPageLoad stepKey="wait11"/>
284284
<seeElement selector="{{StorefrontCategoryProductSection.ProductImageBySrc('/adobe-small')}}" stepKey="seePlaceholderSmall43"/>
285-
286285
</test>
287286
</tests>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
10+
<section name="CmsNewPageSection">
11+
<element name="content" type="button" selector="#menu-magento-backend-content"/>
12+
<element name="blocks" type="button" selector="//span[text()='Blocks']"/>
13+
<element name="create" type="button" selector="#add"/>
14+
<element name="block" type="input" selector="//input[@name='title']"/>
15+
<element name="id" type="button" selector="//input[@name='identifier']"/>
16+
<element name="storeView" type="button" selector="//select[@name='store_id']//*[contains(text(), '{{arg}}')]" parameterized="true"/>
17+
<element name="frame" type="iframe" selector="cms_block_form_content_ifr"/>
18+
<element name="description" type="input" selector="//body[@id='tinymce']"/>
19+
<element name="save" type="button" selector="#save-button"/>
20+
</section>
21+
</sections>

0 commit comments

Comments
 (0)