Skip to content

Commit a3b0bd7

Browse files
author
Joan He
committed
MAGETWO-68802: Clicking on area around the label of a toggle element results in the element's state being changed
- fixed function test failures
1 parent 5756014 commit a3b0bd7

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product

1 file changed

+1
-1
lines changed

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")]/span[text()="%s"]';
31+
protected $attribute = './/*[contains(@class,"label")]/label[text()="%s"]';
3232

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

0 commit comments

Comments
 (0)