@testim/testim-cli
Version:
Command line interface for running Testing on you CI
18 lines (14 loc) • 499 B
JavaScript
/*jshint expr: true*/
describe('isExisting', function() {
before(h.setup());
it('should check if an element is existing', function() {
return this.client.isExisting('div').then(function (isExisting) {
isExisting.should.be.true;
});
});
it('should check if an element is not existing', function() {
return this.client.isExisting('#notExistingElement').then(function (isExisting) {
isExisting.should.be.false;
});
});
});