File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
app/code/Magento/Multishipping/Test/Mftf Expand file tree Collapse file tree 2 files changed +44
-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 =" AdminDeleteCreatedColorSpecificAttributeActionGroup" >
12
+ <annotations >
13
+ <description >Delete the created new colors in color attribute</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" Color" type =" string" />
17
+ </arguments >
18
+ <amOnPage url =" {{AdminProductAttributeGridPage.url}}" stepKey =" navigateToProductAttributeGrid" />
19
+ <conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" clearExistingFilters" />
20
+ <fillField selector =" {{AdminProductAttributeGridSection.FilterByAttributeCode}}" userInput =" Color" stepKey =" setAttributeCode" />
21
+ <click selector =" {{AdminProductAttributeGridSection.Search}}" stepKey =" searchForAttributeFromTheGrid" />
22
+ <click selector =" {{AdminProductAttributeGridSection.FirstRow}}" stepKey =" clickOnAttributeRow" />
23
+ <waitForPageLoad stepKey =" waitForPageLoad2" />
24
+ <click selector =" {{AdminColorGridBodySection.deleteSpecificColorAttribute(Color)}}" stepKey =" deleteColor" />
25
+ <waitForPageLoad stepKey =" waitForPageLoad3" />
26
+ <click selector =" {{AttributePropertiesSection.Save}}" stepKey =" saveTheDeletedColor" />
27
+ <see userInput =" You saved the product attribute." stepKey =" seeSuccessMessage" />
28
+ </actionGroup >
29
+ </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
+ <sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
+ <section name =" AdminColorGridBodySection" >
12
+ <element name =" deleteColor" type =" button" selector =" //td//button[@class='action- scalable delete delete-option']/../..//td//input[@value='{{var}}']" parameterized =" true" />
13
+ <element name =" deleteSpecificColorAttribute" type =" button" selector =" //input[@value='{{var}}']/../..//button[@class='action- scalable delete delete-option']" parameterized =" true" />
14
+ </section >
15
+ </sections >
You can’t perform that action at this time.
0 commit comments