Skip to content

Commit b2fd89d

Browse files
ivy00johnstomreece
authored andcommitted
MC-4418: Convert CreateProductAttributeEntityFromProductPageTest to MFTF
- Adjusting selectors slightly to make them more stable.
1 parent 449fe34 commit b2fd89d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<element name="FirstRow" type="button" selector="//*[@id='attributeGrid_table']/tbody/tr[1]" timeout="30"/>
1818
<element name="FilterByAttributeCode" type="input" selector="#attributeGrid_filter_attribute_code"/>
1919
<element name="attributeLabelFilter" type="input" selector="//input[@name='frontend_label']"/>
20-
<element name="attributeCodeColumn" type="text" selector="//div[@id='attributeGrid']//tbody//td[contains(@class,'col-attr-code col-attribute_code')]"/>
21-
<element name="defaultLabelColumn" type="text" selector="//div[@id='attributeGrid']//tbody//td[contains(@class,'col-label col-frontend_label')]"/>
22-
<element name="isVisibleColumn" type="text" selector="//div[@id='attributeGrid']//tbody//td[contains(@class,'a-center col-is_visible')]"/>
23-
<element name="scopeColumn" type="text" selector="//div[@id='attributeGrid']//tbody/tr/td[contains(@class,'a-center col-is_global')]"/>
24-
<element name="isSearchableColumn" type="text" selector="//div[@id='attributeGrid']//tbody/tr/td[contains(@class,'a-center col-is_searchable')]"/>
25-
<element name="isComparableColumn" type="text" selector="//div[@id='attributeGrid']//tbody/tr/td[contains(@class,'a-center col-is_comparable')]"/>
20+
<element name="attributeCodeColumn" type="text" selector="//div[@id='attributeGrid']//td[contains(@class,'col-attr-code col-attribute_code')]"/>
21+
<element name="defaultLabelColumn" type="text" selector="//div[@id='attributeGrid']//td[contains(@class,'col-label col-frontend_label')]"/>
22+
<element name="isVisibleColumn" type="text" selector="//div[@id='attributeGrid']//td[contains(@class,'a-center col-is_visible')]"/>
23+
<element name="scopeColumn" type="text" selector="//div[@id='attributeGrid']//td[contains(@class,'a-center col-is_global')]"/>
24+
<element name="isSearchableColumn" type="text" selector="//div[@id='attributeGrid']//td[contains(@class,'a-center col-is_searchable')]"/>
25+
<element name="isComparableColumn" type="text" selector="//div[@id='attributeGrid']//td[contains(@class,'a-center col-is_comparable')]"/>
2626
</section>
2727
</sections>

0 commit comments

Comments
 (0)