Angular Never Provided resumeBootstrap
See original GitHub issueWhy am I getting the following error?
Here is my conf.js
describe('angularjs homepage', function() {
it('should have a title', function() {
browser.get('http://localdev.prereg.com/Facilities/Index');
jasmine.log(browser.getTitle());
//expect(browser.getTitle()).toEqual('View Facilities - My ASP.NET Application');
});
});
Using the selenium server at http://localhost:4444/wd/hub
Failures:
1) angularjs homepage should have a title
Message:
Error: Angular could not be found on the page http://localdev.prereg.com/Facilities/Index : angular never provided
resumeBootstrap
Stacktrace:
Error: Angular could not be found on the page http://localdev.prereg.com/Facilities/Index : angular never provided
resumeBootstrap
at C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\lib\protractor.js:1041:17
at C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\goog\base.js:1243:15
at webdriver.promise.ControlFlow.runInNewFrame_ (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modul
es\selenium-webdriver\lib\webdriver\promise.js:1539:20)
at notify (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\pr
omise.js:362:12)
at notifyAll (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver
\promise.js:331:7)
at resolve (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\p
romise.js:309:7)
at fulfill (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\p
romise.js:429:5)
at Object.webdriver.promise.asap (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-web
driver\lib\webdriver\promise.js:671:5)
at webdriver.promise.ControlFlow.runInNewFrame_ (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modul
es\selenium-webdriver\lib\webdriver\promise.js:1550:25)
at notify (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\pr
omise.js:362:12)
==== async task ====
WebDriver.executeScript()
at webdriver.WebDriver.schedule (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webd
river\lib\webdriver\webdriver.js:268:15)
at webdriver.WebDriver.executeAsyncScript (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\sel
enium-webdriver\lib\webdriver\webdriver.js:496:15)
at Protractor.get (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\lib\protractor.js:1035:15)
at null.<anonymous> (C:\_Git\protractor\MyTests\PreRegistration\spec.js:3:13)
at C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\jasminewd\index.js:94:14
at webdriver.promise.ControlFlow.runInNewFrame_ (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modul
es\selenium-webdriver\lib\webdriver\promise.js:1539:20)
at webdriver.promise.ControlFlow.runEventLoop_ (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_module
s\selenium-webdriver\lib\webdriver\promise.js:1404:8)
==== async task ====
Asynchronous test function: it()
at null.<anonymous> (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\jasminewd\index.js:93:33)
at null.<anonymous> (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\async
-callback.js:45:37)
at jasmine.Block.execute (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\
jasmine-1.3.1.js:1174:17)
at jasmine.Queue.next_ (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\ja
smine-1.3.1.js:2209:31)
at null._onTimeout (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmin
e-1.3.1.js:2199:18)
Error
at null.<anonymous> (C:\_Git\protractor\MyTests\PreRegistration\spec.js:2:3)
at jasmine.Env.describe_ (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\
jasmine-1.3.1.js:913:21)
at jasmine.Env.describe (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\j
asmine-1.3.1.js:898:15)
at describe (C:\Users\Tim\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1
.js:658:27)
at Object.<anonymous> (C:\_Git\protractor\MyTests\PreRegistration\spec.js:1:63)
Finished in 12.704 seconds
1 test, 1 assertion, 1 failure
Issue Analytics
- State:
- Created 9 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
"angular never provided resumeBootstrap" pops up #2473
Since some time we occasionally see "angular never provided resumeBootstrap" in our tests and can't figure out why.
Read more >javascript - angular never provided resumeBootstrap
Short answer: Add scrollRestoreTechnique: 'cookie' to your browsersync config. Long answer: Browsersync (>=2.7.11) restores your scroll position when it ...
Read more >angular/protractor
Has anyone on here gotten the error "angular never provided resumeBootstrap"? The login page of the app I'm testing used to be non-angular, ......
Read more >C# Protractor angular never provided resumeBootstrap
As a junior automation tester I created a sort of Automation Test Framework in C# with the Selenium Webdriver and Protractor.Net. The Framework...
Read more >waitForAngular() fails on angular-webapp ...
behind waitForAngular() in the file protractor.js is the function below, ... 'angular never provided resumeBootstrap']);\n } else {\n ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am not sure if this is the proper way to handle that error but I added this to my test and it worked.
beforeEach(function () { browser.ignoreSynchronization = true; });
Thank you anyway @zeropaper !