File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module.exports = {
8
8
. assert . containsText ( 'p' , 'Selected: 0' )
9
9
. assert . containsText ( 'span.select2' , 'Select one' )
10
10
11
- . click ( 'span.select2' )
11
+ . moveToElement ( 'span.select2' , 5 , 5 ) . mouseButtonClick ( )
12
12
. assert . count ( '.select2-results__option' , 3 )
13
13
. assert . containsText ( '.select2-results__option:nth-child(1)' , 'Select one' )
14
14
. assert . containsText ( '.select2-results__option:nth-child(2)' , 'Hello' )
@@ -24,7 +24,7 @@ module.exports = {
24
24
. execute ( function ( ) {
25
25
vm . options . push ( { id : 3 , text : 'Vue' } )
26
26
} )
27
- . click ( 'span.select2' )
27
+ . moveToElement ( 'span.select2' , 5 , 5 ) . mouseButtonClick ( )
28
28
. assert . count ( '.select2-results__option' , 4 )
29
29
. assert . containsText ( '.select2-results__option:nth-child(1)' , 'Select one' )
30
30
. assert . containsText ( '.select2-results__option:nth-child(2)' , 'Hello' )
You can’t perform that action at this time.
0 commit comments