Skip to content

Commit 19b468f

Browse files
committed
use arrow down instead of CTRL+n to move to next item
1 parent 92df2ee commit 19b468f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,23 @@ describe('combobox-nav', function() {
7575
assert.equal(options[0].getAttribute('aria-selected'), 'true')
7676
assert.equal(input.getAttribute('aria-activedescendant'), 'baymax')
7777

78-
press(input, 'n', true)
78+
press(input, 'ArrowDown')
7979
assert.equal(options[2].getAttribute('aria-selected'), 'true')
8080
assert.equal(input.getAttribute('aria-activedescendant'), 'hubot')
8181

8282
press(input, 'Enter')
8383

84-
press(input, 'n', true)
84+
press(input, 'ArrowDown')
8585
assert.equal(options[3].getAttribute('aria-selected'), 'true')
8686
assert.equal(input.getAttribute('aria-activedescendant'), 'r2-d2')
8787

88-
press(input, 'n', true)
88+
press(input, 'ArrowDown')
8989
assert.equal(options[4].getAttribute('aria-selected'), 'true')
9090
assert.equal(input.getAttribute('aria-activedescendant'), 'wall-e')
9191
press(input, 'Enter')
9292
click(options[4])
9393

94-
press(input, 'p', true)
94+
press(input, 'ArrowUp')
9595
assert.equal(options[3].getAttribute('aria-selected'), 'true')
9696
assert.equal(input.getAttribute('aria-activedescendant'), 'r2-d2')
9797

0 commit comments

Comments
 (0)