Skip to content

Commit 5e08fc3

Browse files
committed
Merge remote-tracking branch 'origin/AC-9141' into extjs-jira-ac-9320
2 parents 334cf10 + bba39a5 commit 5e08fc3

File tree

7 files changed

+308
-297
lines changed

7 files changed

+308
-297
lines changed

app/code/Magento/Catalog/Test/Mftf/Section/AdminProductAttributeSetEditSection.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
<section name="AdminProductAttributeSetEditSection">
1212
<!-- Groups Column -->
1313
<element name="groupTree" type="block" selector="#tree-div1"/>
14-
<element name="attributeGroup" type="text" selector="//*[@id='tree-div1']//span[text()='{{groupName}}']" parameterized="true"/>
15-
<element name="attributeGroupExtender" type="button" selector="//*[@id='tree-div1']//span[text()='{{groupName}}']" parameterized="true"/>
16-
<element name="attributeGroupCollapsed" type="button" selector="//*[@id='tree-div1']//span[text()='{{groupName}}']/parent::*/parent::*[contains(@class, 'collapsed')]" parameterized="true"/>
17-
<element name="assignedAttribute" type="text" selector="//*[@id='tree-div1']//span[text()='{{attributeName}}']" parameterized="true"/>
14+
<element name="attributeGroup" type="text" selector="//*[@id='tree-div1']//a[text()='{{groupName}}']" parameterized="true"/>
15+
<element name="attributeGroupExtender" type="button" selector="//*[@id='tree-div1']//a[text()='{{groupName}}']" parameterized="true"/>
16+
<element name="attributeGroupCollapsed" type="button" selector="//*[@id='tree-div1']//a[text()='{{groupName}}']/parent::*[contains(@class, 'jstree-closed')]" parameterized="true"/>
17+
<element name="assignedAttribute" type="text" selector="//*[@id='tree-div1']//a[text()='{{attributeName}}']" parameterized="true"/>
1818
<element name="xThLineItemYthAttributeGroup" type="text" selector="//*[@id='tree-div1']/ul/div/li[{{y}}]//li[{{x}}]" parameterized="true"/>
19-
<element name="xThLineItemAttributeGroup" type="text" selector="//*[@id='tree-div1']//span[text()='{{groupName}}']/parent::*/parent::*/parent::*//li[{{x}}]//a/span" parameterized="true"/>
19+
<element name="xThLineItemAttributeGroup" type="text" selector="//*[@id='tree-div1']//a[text()='{{groupName}}']/parent::*//li[{{x}}]//a" parameterized="true"/>
2020
<element name="attributesInGroup" type="text" selector="//span[text()='{{GroupName}}']/../../following-sibling::ul/li" parameterized="true"/>
2121
<!-- Unassigned Attributes Column -->
2222
<element name="unassignedAttributesTree" type="block" selector="#tree-div2"/>
23-
<element name="unassignedAttribute" type="text" selector="//*[@id='tree-div2']//span[text()='{{attributeName}}']" parameterized="true"/>
24-
<element name="xThLineItemUnassignedAttribute" type="text" selector="//*[@id='tree-div2']//li[{{x}}]//a/span" parameterized="true"/>
23+
<element name="unassignedAttribute" type="text" selector="//*[@id='tree-div2']//a[text()='{{attributeName}}']" parameterized="true"/>
24+
<element name="xThLineItemUnassignedAttribute" type="text" selector="//*[@id='tree-div2']//li[{{x}}]//a" parameterized="true"/>
2525
<!-- Buttons -->
2626
<element name="AddNewGroup" type="button" selector="button[data-ui-id='adminhtml-catalog-product-set-edit-add-group-button']"/>
2727
<element name="DeleteSelectedGroup" type="button" selector="button[data-ui-id='adminhtml-catalog-product-set-edit-delete-group-button']"/>

app/code/Magento/Catalog/Test/Mftf/Section/AdminProductAttributeSetSection/AdminProductAttributeSetSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<element name="basedOn" type="select" selector="#skeleton_set"/>
1313
<element name="saveBtn" type="button" selector="button.save-attribute-set" timeout="30"/>
1414
<element name="deleteBtn" type="button" selector="button[title='Delete']" timeout="30"/>
15-
<element name="attribute" type="button" selector="//span[text()='{{var1}}']" parameterized="true"/>
15+
<element name="attribute" type="button" selector="//a[text()='{{var1}}']" parameterized="true"/>
1616
<element name="addNewGroupBtn" type="button" selector="button.add" timeout="30"/>
1717
<element name="newGroupName" type="input" selector="input[name='name']"/>
1818
<element name="modalOk" type="button" selector="button.action-accept" timeout="30"/>

app/code/Magento/Catalog/Test/Mftf/Section/AdminProductAttributeSetSection/GroupSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1010
<section name="Group">
11-
<element name="FolderName" type="text" selector="//span[text()='{{var1}}']" parameterized="true"/>
11+
<element name="FolderName" type="text" selector="//a[text()='{{var1}}']" parameterized="true"/>
1212
</section>
1313
</sections>

app/code/Magento/Catalog/Test/Mftf/Section/AdminProductAttributeSetSection/UnassignedAttributesSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1010
<section name="UnassignedAttributes">
11-
<element name="ProductAttributeName" type="text" selector="//span[text()='{{var1}}']" parameterized="true"/>
11+
<element name="ProductAttributeName" type="text" selector="//a[text()='{{var1}}']" parameterized="true"/>
1212
</section>
1313
</sections>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<dragAndDrop selector1="{{UnassignedAttributes.ProductAttributeName('$$createProductAttribute.attribute_code$$')}}" selector2="{{Group.FolderName('Product Details')}}" stepKey="moveProductAttributeToGroup"/>
4848
<click selector="{{AttributeSetSection.Save}}" stepKey="saveAttributeSet"/>
4949
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear" />
50-
<seeElement selector=".message-success" stepKey="assertSuccess"/>
50+
<waitForElementVisible selector=".message-success" stepKey="assertSuccess"/>
5151
<actionGroup ref="ClearCacheActionGroup" stepKey="clearCache"/>
5252
<amOnPage url="{{StorefrontProductPage.NavigationCategoryByName($$createCategory.custom_attributes[url_key]$$)}}" stepKey="goProductPageOnStorefront1"/>
5353
<!-- View Simple Product 1 -->

0 commit comments

Comments
 (0)