Skip to content

Commit 8d68a8c

Browse files
author
Joan He
committed
MAGETWO-93979: Required Field Indicators (Asterisks) Are Gone From Magento UI
- fix function test failures
1 parent eb173dd commit 8d68a8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Edit/Section/ProductDetails/NewCategoryIds.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<selector>[name="name"]</selector>
1212
</name>
1313
<parent_category>
14-
<selector>div[data-index="parent"]>div</selector>
14+
<selector>div[data-index="parent"]>div[class="admin__field-control"]</selector>
1515
<class>Magento\Catalog\Test\Block\Adminhtml\Product\Edit\Section\ProductDetails\CategoryIds</class>
1616
</parent_category>
1717
</fields>

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/ProductForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ProductForm extends FormSections
2828
*
2929
* @var string
3030
*/
31-
protected $attribute = './/*[contains(@class,"label")]/label[text()="%s"]';
31+
protected $attribute = './/*[contains(@class,"label")]//span[text()="%s"]';
3232

3333
/**
3434
* Product new from date field on the product form

0 commit comments

Comments
 (0)