mirror of
https://github.com/appium/appium.git
synced 2026-05-23 04:18:53 -05:00
make this test more robust
This commit is contained in:
@@ -105,12 +105,12 @@ describeWd('gestures', function(h) {
|
||||
});
|
||||
});
|
||||
it('should flick screen by speed', function(done) {
|
||||
h.driver.elementByName("Views", function(err) {
|
||||
h.driver.elementByName("Peer Activities", function(err) {
|
||||
// shouldn't be visible
|
||||
should.exist(err);
|
||||
h.driver.flick(0, -100, function(err) {
|
||||
should.not.exist(err);
|
||||
h.driver.elementByName("Views", function(err, el) {
|
||||
h.driver.elementByName("Peer Activities", function(err, el) {
|
||||
should.not.exist(err);
|
||||
should.exist(el.value);
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user