diff --git a/test/keyboard.js b/test/keyboard.js index ec576648..4531b9fc 100644 --- a/test/keyboard.js +++ b/test/keyboard.js @@ -21,7 +21,7 @@ test('Tap a key.', function(t) }); // This test won't fail if there's an issue, but it will help you identify an issue if ran locally. -test('Tap all keys', function(t) +test('Tap all keys.', function(t) { var chars = 'abcdefghijklmnopqrstuvwxyz1234567890,./;\'[]\\'.split(''); @@ -30,5 +30,18 @@ test('Tap all keys', function(t) t.ok(robot.keyTap(chars[x]), 'tap ' + chars[x] + '.'); } + t.end(); +}); + +// This test won't fail if there's an issue, but it will help you identify an issue if ran locally. +test('Tap all numpad keys.', function(t) +{ + var nums = '0123456789'.split(''); + + for (var x in nums) + { + t.ok(robot.keyTap('numpad_' + nums[x]), 'tap ' + 'numpad_' + nums[x] + '.'); + } + t.end(); }); \ No newline at end of file