@testim/testim-cli
Version:
Command line interface for running Testing on you CI
19 lines (16 loc) • 633 B
JavaScript
describe.skip('flickLeft', function() {
before(h.setup({ url: conf.testPage.gestureTest }));
it('should trigger flickLeft indicator', function(done) {
this.client
.getAttribute('//*[@id="log-gesture-dragleft"]', 'class', function(err, res) {
assert.ifError(err);
assert.equal(res, '');
})
.flickLeft('//*[@id="hitarea"]')
.getAttribute('//*[@id="log-gesture-dragleft"]', 'class', function(err, res) {
assert.ifError(err);
assert.equal(res, 'active');
})
.call(done);
});
});