@testim/testim-cli
Version:
Command line interface for running Testing on you CI
17 lines (13 loc) • 391 B
JavaScript
describe('clearElement', function() {
before(h.setup());
var input = 'input[name="a"]';
it('knows to clear elements', function() {
return this.client.getValue(input).then(function(res) {
assert.equal(res, 'a');
})
.clearElement(input)
.getValue(input).then(function(res) {
assert.equal(res, '');
});
});
});