Fix handling of metacharacters in unicode mode

This commit is contained in:
Isaac Murchie
2014-12-06 08:55:39 -05:00
parent 8fdcf8370d
commit 3104491809
2 changed files with 13 additions and 1 deletions
@@ -171,5 +171,17 @@ module.exports = function () {
var testText = 'тестирование';
runTextEditTest(testText, done);
});
describe('pressing device key with unicode keyboard', function () {
it('should be able to send combination keyevents', function (done) {
driver
.waitForElementByClassName('android.widget.EditText')
.clear()
.pressDeviceKey(29, 193)
.elementByClassName('android.widget.EditText')
.text().should.become('A')
.nodeify(done);
});
});
});
};