mirror of
https://github.com/appium/appium.git
synced 2026-02-15 06:20:22 -06:00
Added swipe test for 'swipeDown' strategy
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user