File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
functional/tests/app/Magento/Catalog/Test/Block/Product/View
js/jasmine/tests/app/code/Magento/Catalog/frontend/js/product Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class CustomOptions extends Form
58
58
*
59
59
* @var string
60
60
*/
61
- protected $ maxCharacters = './/div[@class="control"]/p[@class= "note"]/strong ' ;
61
+ protected $ maxCharacters = './/div[@class="control"]/p[contains( @class, "note") ]/strong ' ;
62
62
63
63
/**
64
64
* Selector for label of option value element
@@ -72,7 +72,7 @@ class CustomOptions extends Form
72
72
*
73
73
* @var string
74
74
*/
75
- protected $ noteByNumber = './/*[@class= "note"][%d]/strong ' ;
75
+ protected $ noteByNumber = './/*[contains( @class, "note") ][%d]/strong ' ;
76
76
77
77
/**
78
78
* Selector for select element of option
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ define([
47
47
it ( 'check input length less than character limit' , function ( ) {
48
48
var testData = {
49
49
input : 'abc' ,
50
- action : 'keyup ' ,
50
+ action : 'change ' ,
51
51
expectedText : '(7 remaining)'
52
52
} ;
53
53
@@ -71,7 +71,7 @@ define([
71
71
it ( 'check input length greater than character limit' , function ( ) {
72
72
var testData = {
73
73
input : 'abcdefghijkl' ,
74
- action : 'keyup ' ,
74
+ action : 'change ' ,
75
75
expectedText : '(2 too many)'
76
76
} ;
77
77
You can’t perform that action at this time.
0 commit comments