Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit d70f152

Browse files
Will Jamessjelin
Will James
authored andcommitted
added test for handing errors after browser.get
1 parent 25e3b86 commit d70f152

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: spec/basic/handling_spec.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
describe('handling timeout errors', function() {
3+
4+
it('should call error handler on a timeout', function() {
5+
browser.get('dummyUrl', 1).then(function() {
6+
throw 'did not handle error';
7+
}, function(err) {
8+
expect(err).toBeDefined();
9+
});
10+
});
11+
});

0 commit comments

Comments
 (0)