Skip to content

Commit 1756192

Browse files
MAGETWO-58226: Calendar Custom Options are displayed broken on Storefront if JS validation is performed
- Fix functional test
1 parent a28eeeb commit 1756192

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/View/CustomOptions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ class CustomOptions extends Form
128128
*
129129
* @var string
130130
*/
131-
private $validationErrorMessage = '//div[@class="mage-error"][contains(text(), "required field")]';
131+
private $validationErrorMessage = '//div[@class="mage-error"][contains(text(), "required field")' .
132+
'and not(contains(@style,\'display\'))]';
132133

133134
/**
134135
* Get product options

0 commit comments

Comments
 (0)