We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a15f47 commit 29be6a0Copy full SHA for 29be6a0
test/keyboard.spec.js
@@ -14,6 +14,14 @@ describe('keyboard', function() {
14
select.selectric();
15
});
16
17
+ it('should open if has focus', function() {
18
+ $('.selectric-input').focus();
19
+ $('.selectric-items').find('li').click();
20
+ var inputElm = document.activeElement;
21
+ keyvent.on(inputElm).down('down');
22
+ expect($('.selectric-items').is(':visible')).toBe(true);
23
+ });
24
+
25
it('should close on tab keypress', function() {
26
$('.selectric').click();
27
var inputElm = document.activeElement;
0 commit comments