Hello,
I am trying to configure my test environment. First, i configure with karma, but i found an angular documentation telling the karma will be change by protractor.
"
If you're starting a new Angular project, you may want to look into using Protractor, as it is going to replace the current method of E2E Testing in the near future."
I start selenium-server-standalone-2.37.0 at port 4444: 00:25:04.246 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
and this is my protractor configuration file:
1 exports.config = {
2 chromeDriver: './spec/selenium/chromedriver',
4 specs: [
5 './../../javascript/**/*_spec.js'
6 ],
7
8 capabilities: {
9 'browserName': 'chrome'
10 },
12
13 rootElement: 'html',
14
15 jasmineNodeOpts: {
16 onComplete: null,
17 isVerbose: true,
18 showColors: true,
19 includeStackTrace: true,
20 defaultTimeoutInterval: 30000
21 }
22 };
But, when i run my simple test which go to an url and only prints a string with console.log, i get this error in browser:
has anyone had this problem?
Sorry for my english :(.