File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed
app/code/Magento/Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminAssignImageSmallRoleActionGroup" >
12
+ <annotations >
13
+ <description >Requires the navigation to the Product Creation page. Checks the Small Role area for image.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" image" />
17
+ </arguments >
18
+ <conditionalClick selector =" {{AdminProductImagesSection.productImagesToggle}}" dependentSelector =" {{AdminProductImagesSection.imageFile(image.fileName)}}" visible =" false" stepKey =" expandImages" />
19
+ <waitForElementVisible selector =" {{AdminProductImagesSection.imageFile(image.fileName)}}" stepKey =" seeProductImageName" />
20
+ <click selector =" {{AdminProductImagesSection.imageFile(image.fileName)}}" stepKey =" clickProductImage" />
21
+ <waitForElementVisible selector =" {{AdminProductImagesSection.altText}}" stepKey =" seeAltTextSection" />
22
+ <checkOption selector =" {{AdminProductImagesSection.roleSmall}}" stepKey =" checkRoles" />
23
+ <click selector =" {{AdminSlideOutDialogSection.closeButton}}" stepKey =" clickCloseButton" />
24
+ </actionGroup >
25
+ </actionGroups >
Original file line number Diff line number Diff line change
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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminAssignImageThumbNailRoleActionGroup" >
12
+ <annotations >
13
+ <description >Requires the navigation to the Product Creation page. Checks Thumb Base Role area for image.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" image" />
17
+ </arguments >
18
+ <conditionalClick selector =" {{AdminProductImagesSection.productImagesToggle}}" dependentSelector =" {{AdminProductImagesSection.imageFile(image.fileName)}}" visible =" false" stepKey =" expandImages" />
19
+ <waitForElementVisible selector =" {{AdminProductImagesSection.imageFile(image.fileName)}}" stepKey =" seeProductImageName" />
20
+ <click selector =" {{AdminProductImagesSection.imageFile(image.fileName)}}" stepKey =" clickProductImage" />
21
+ <waitForElementVisible selector =" {{AdminProductImagesSection.altText}}" stepKey =" seeAltTextSection" />
22
+ <checkOption selector =" {{AdminProductImagesSection.roleThumbnail}}" stepKey =" checkRoles" />
23
+ <click selector =" {{AdminSlideOutDialogSection.closeButton}}" stepKey =" clickCloseButton" />
24
+ </actionGroup >
25
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments