You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item
Version
generator-angular-fullstack
4.1.2
Node
6.9.5
npm
3.10.10
Operating System
OS X 10.12
gulp-protractor
^4.0.0
chrome
66.0.3359.117
chromedriver
2.38.552518
webdriver-manager
global installed version 12.0.6
Item
Answer
Transpiler
Babel
Markup
HTML
CSS
SCSS
Router
ui-router
Client Tests
Jasmine
DB
MongoDB
Auth
N
Error that is displayed in the console when running gulp test:e2e
[10:39:39] E/launcher - invalid argument: missing 'name'
(Session info: chrome=66.0.3359.117)
(Driver info: chromedriver=2.38.552518 (183d19265345f54ce39cbb94cf81ba5f15905011),platform=Mac OS X 10.12.6 x86_64)
[10:39:39] E/launcher - WebDriverError: invalid argument: missing 'name'
(Session info: chrome=66.0.3359.117)
(Driver info: chromedriver=2.38.552518 (183d19265345f54ce39cbb94cf81ba5f15905011),platform=Mac OS X 10.12.6 x86_64)
at WebDriverError (/Users/username/Dropbox/git/DataTools/ssfdata/node_modules/selenium-webdriver/lib/error.js:27:5)
at Object.checkLegacyResponse (/Users/username/Dropbox/git/DataTools/ssfdata/node_modules/selenium-webdriver/lib/error.js:546:15)
Received an error running gulp test:e2e today. Which led me to digging through the selenium-webdriver module, and found that line 95 & 97 of protractor.conf was causing this error. Commenting out these two lines allows gulp test:e2e to run.
line 93 browser.get('http://localhost:9000/');
line 94 browser.manage().addCookie('token', token);
line 95 // browser.manage().getCookie('token').then(function(cookie) {
line 96 defer.fulfill();
line 97 // });
Any idea why? Is this line necessary? I am concerned I will run into problems when testing the browser back button functionality and this cookie/token is missing.
The problem is that getCookie produces an http response LEGACY status code of 14, which is then thrown by the selenium-webdriver.
node_modules/selenium-webdriver/lib/http.js
The invalid arguments (command and http response) that is parsed by the function parseHttpResponse in node_modules/selenium-webdriver/lib/http.js (line 441) produces the legacy status code of 14.
Error that is displayed in the console when running
gulp test:e2e
Received an error running
gulp test:e2e
today. Which led me to digging through the selenium-webdriver module, and found that line 95 & 97 ofprotractor.conf
was causing this error. Commenting out these two lines allowsgulp test:e2e
to run.Any idea why? Is this line necessary? I am concerned I will run into problems when testing the browser back button functionality and this cookie/token is missing.
The problem is that getCookie produces an http response LEGACY status code of 14, which is then thrown by the selenium-webdriver.
node_modules/selenium-webdriver/lib/http.js
The invalid arguments (command and http response) that is parsed by the function
parseHttpResponse
in node_modules/selenium-webdriver/lib/http.js (line 441) produces the legacy status code of 14.Package.json
The text was updated successfully, but these errors were encountered: