Added swipe test for 'swipeDown' strategy

This commit is contained in:
Eric Millin
2014-09-29 16:07:29 -04:00
parent d892a74a14
commit 2f400f2a5f

View File

@@ -47,6 +47,13 @@ describe('testapp - clear', function () {
.elementByClassName('UIASwitch').isDisplayed()
.should.become(true)
.elementByClassName('UIATextField').sendKeys("1")
.elementByClassName('UIASwitch').isDisplayed()
.should.become(false)
.hideKeyboard({strategy: 'swipeDown'} )
.elementByClassName('UIASwitch').isDisplayed()
.should.become(true)
.nodeify(done);
});