File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,17 @@ describe('combobox-nav', function() {
114
114
press ( input , 'Enter' )
115
115
click ( document . getElementById ( 'wall-e' ) )
116
116
117
- press ( input , 'ArrowUp' )
118
- assert . equal ( options [ 2 ] . getAttribute ( 'aria-selected' ) , 'true' )
119
- assert . equal ( input . getAttribute ( 'aria-activedescendant' ) , 'r2-d2' )
117
+ press ( input , 'ArrowDown' )
118
+ press ( input , 'ArrowDown' )
119
+ assert . equal ( options [ 0 ] . getAttribute ( 'aria-selected' ) , 'true' )
120
+ assert . equal ( input . getAttribute ( 'aria-activedescendant' ) , 'baymax' )
120
121
121
122
press ( input , 'ArrowUp' )
123
+ assert . equal ( options [ 5 ] . getAttribute ( 'aria-selected' ) , 'true' )
124
+ assert . equal ( input . getAttribute ( 'aria-activedescendant' ) , 'link' )
125
+
126
+ press ( input , 'ArrowDown' )
127
+ press ( input , 'ArrowDown' )
122
128
assert . equal ( options [ 1 ] . getAttribute ( 'aria-selected' ) , 'true' )
123
129
assert . equal ( input . getAttribute ( 'aria-activedescendant' ) , 'hubot' )
124
130
You can’t perform that action at this time.
0 commit comments