This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('should hide keyboard using bad key', function (done) { | |
driver | |
.elementByClassName('UIATextField').sendKeys("1") | |
.elementByClassName('UIASwitch').isDisplayed() | |
.should.become(false) | |
.hideKeyboard("f") | |
.elementByClassName('UIASwitch').isDisplayed() | |
.should.become(true) | |
.nodeify(done); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The files will make the most sense if you read them in this order: | |
device.js | |
android-base-device.js | |
android-uiautomator.js | |
others.js | |
I hate how gist doesn't give you the ability to keep the files in the original order. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Eric Millin (c) 2014 | |
// MIT X11 license (http://opensource.org/licenses/MIT) | |
// | |
// C# and Python inspired string templating. Target tokens must be numbered with the index of the | |
// replacement string and surrounded by curly brackets; e.g: | |
// | |
// "{0} {1} {0}".format("foo", "bar"); // "foo bar foo" | |
// |
NewerOlder