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

Commit c4b79d5

Browse files
chore(*): update protractor to latest version
1 parent 43c3e5b commit c4b79d5

File tree

3 files changed

+330
-191
lines changed

3 files changed

+330
-191
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"npm-run": "^4.1.0",
8484
"open-sans-fontface": "^1.4.0",
8585
"promises-aplus-tests": "~2.1.0",
86-
"protractor": "^5.4.1",
86+
"protractor": "^7.0.0",
8787
"q": "~1.0.0",
8888
"q-io": "^1.10.9",
8989
"qq": "^0.3.5",
@@ -103,7 +103,7 @@
103103
"//1": "`[email protected]` does not work with Node.js 10.x on Windows 10",
104104
"//2": "(E.g. see https://github.com/gulpjs/gulp/issues/2162 and https://github.com/nodejs/node/issues/25132.)",
105105
"natives": "1.1.6",
106-
"//3": "`graceful-fs` needs to be pinned to support gulp 3, on Node v12+",
106+
"//3": "`graceful-fs` needs to be pinned to support gulp 3, on Node v12+",
107107
"graceful-fs": "^4.2.3"
108108
},
109109
"commitplease": {

Diff for: test/e2e/tests/ng-route-promise.spec.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ describe('ngRoute promises', function() {
99
expect(element.all(by.tagName('li')).count()).toBe(5);
1010
});
1111

12-
it('should time out if the promise takes long enough', function() {
12+
it('should time out if the promise takes long enough', function(done) {
1313
// Don't try this at home kids, I'm a protractor dev
1414
browser.manage().timeouts().setScriptTimeout(1000);
1515
browser.waitForAngular().then(function() {
1616
fail('waitForAngular() should have timed out, but didn\'t');
17-
}, function(error) {
18-
expect(error.message).toContain('Timed out waiting for asynchronous Angular tasks to finish');
19-
});
17+
}, done);
2018
});
2119

2220
it('should wait for route promises when navigating to another route', function() {

0 commit comments

Comments
 (0)