Angular could not be found on the page #3118
Description
Bug report
Running the most basic of protractor tests and getting;
Angular could not be found on the page http://localhost:63342/protractor_basic/index.html : angular never provided resumeBootstrap
- Node Version:
5.1.0
- Angularjs Version: '1.2.29'
- Protractor Version:
3.2.2
- Browser(s):
Chrome 49.0.2623.110
- Operating System and Version
OSX El Capitan
protractor conf.js
exports.config = { framework: 'jasmine', seleniumAddress: 'http://localhost:4444/wd/hub', specs: ['*spec.js'] }
spec.js
`describe('foo page', function() {
it('Should find foo on page', function() {
browser.get('http://localhost:63342/protractor_basic/index.html');
expect(element(by.id('foo')).getText())
.toContain('foo');
});
});
`
Output from running the test
Using the selenium server at http://localhost:4444/wd/hub
[launcher] Running 1 instances of WebDriver
Started
F
Failures:
- foo page Should find foo on page
Message:
Failed: Angular could not be found on the page http://localhost:63342/protractor_basic/index.html : angular never provided resumeBootstrap
Stack:
Error: Angular could not be found on the page http://localhost:63342/protractor_basic/index.html : angular never provided resumeBootstrap
at /usr/local/lib/node_modules/protractor/built/protractor.js:680:17
at Promise.invokeCallback_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1329:14)
at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2790:14)
at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2773:21)
at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2652:27
at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:639:7
at process._tickCallback (node.js:379:9)
From: Task: Run it("Should find foo on page") in control flow
at Object. (/usr/local/lib/node_modules/protractor/node_modules/jasminewd2/index.js:81:14)
From asynchronous test:
Error
at Suite. (/Users/stephen/Development/playtime/protractor_basic/spec.js:3:5)
at Object. (/Users/stephen/Development/playtime/protractor_basic/spec.js:1:1)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
1 spec, 1 failure
Finished in 10.368 seconds
[launcher] 0 instance(s) of WebDriver still running
[launcher] chrome #1 failed 1 test(s)
[launcher] overall: 1 failed spec(s)
[launcher] Process exited with error code 1
[EDIT]
If I upgrade angularjs to 1.3.x it works fine. Do I then need to downgrade something else to get this to work?