@testim/testim-cli
Version:
Command line interface for running Testing on you CI
25 lines (22 loc) • 578 B
JavaScript
describe('back', function() {
before(h.setup());
it('should be able to go backward in history', function(){
return this.client
/**
* first create a history
*/
.click('=two')
.pause(3000)
/**
* go back in history
*/
.back()
.pause(3000)
/**
* did it work?
*/
.getTitle().then(function(title) {
title.should.be.exactly('WebdriverJS Testpage');
});
});
});