I've been working on creating some protractor tests, but I'm facing issues getting it to function correctly.
Currently, I am following a tutorial available at: https://github.com/angular/protractor/blob/master/docs/tutorial.md
This is the content of my conf.js file:
// conf.js
exports.config = {
framework: 'jasmine',
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['spec.js'],
capabilities: {
'browserName': 'chrome' // or 'safari'
}
}
Below is the code from my spec.js file:
// spec.js
describe('Protractor Demo App', function() {
it('should have a title', function() {
browser.get('http://juliemr.github.io/protractor-demo/');
expect(browser.getTitle()).toEqual('Super Calculator');
});
});
This is how the webdriver-manager part looks like when initiated:
$ webdriver-manager start
... (output continued)
Finally, here is the command used to start the test:
$ protractor conf.js
... (output continued)