Skip to content

Instantly share code, notes, and snippets.

@ckelner
Created November 26, 2013 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckelner/7663589 to your computer and use it in GitHub Desktop.
Save ckelner/7663589 to your computer and use it in GitHub Desktop.
phantomjs direct
phantomjs test/run-jasmine.js http://localhost:7357?testing=true
TypeError: 'undefined' is not an object (evaluating 'document.body.querySelectorAll('#TrivialReporter span.finished-at')[0].innerText')
phantomjs://webpage.evaluate():2
phantomjs://webpage.evaluate():3
phantomjs://webpage.evaluate():3
GET https://test.grid.weather.com/providers//regions/false/zones
GET https://test.grid.weather.com/?_providerId=&_regionId=false
GET https://test.grid.weather.com/providers//regions/false/zones
------------------START--------------------
Queried for provider id combobox button, found [1] results
Dispatching click event on ext-gen2844
GET https://test.grid.weather.com/providers
GET https://test.grid.weather.com/providers
Clicked the provider id combobox button
TypeError: 'undefined' is not an object (evaluating 'store.data.items[0].data')
http://localhost:7357/compiled/store/dashboard/Dashboard.js?_dc=1385491304264:19
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
http://localhost:7357/extjs/ext-all.js:21
Found 2 possible combobox dropdown DOM elements
Found combobox store class : Grid.store.provider.AvailabilityZone
Found combobox store class : Grid.store.provider.Provider
Found a match
Provider store length: 0
Provider store did not load; exiting.
-------------------END-------------------
------------------START--------------------
Dependency error: AWS provider test did not pass.
-------------------END-------------------
'waitFor()' finished in 5810ms.
2 specs, 2 failures in 5.05s
2 test(s) FAILED:
Click provider combobox should produce list and load store
Expected 0 to be greater than 0.
Select AWS as provider then click region combobox which should produce list and load store.
Expected false to be truthy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment