[Sugar-devel] Blocked on testing icon.load
Manuel Quiñones
manuq at laptop.org
Mon Jun 10 15:06:50 EDT 2013
Hello, I want to fix icon.load so it is possible to load more than once.
I have the solution already but I'm blocked with the tests. The
problem is that my unit test doesn't see the icon URL, it gives 404
"not found". Here is a branch with the changes I did:
https://github.com/manuq/sugar-web/commit/5e0f86b75929921baf781ae6eab6e3b2c1c98680
After the karma.conf.js change, I can see the icon if I point a
browser to this URL with karma running:
http://localhost:9876/base/graphics/icons/actions/dialog-ok-active.svg
But in the karma output I see:
Chrome 25.0 (Linux) LOG: 'data:image/svg+xml,NOT%20FOUND'
Chrome 25.0 (Linux): Executed 20 of 20 SUCCESS (9.27 secs / 8.504 secs)
The test succeeds but is not what I want.
Suggestions?
--
.. manuq ..
More information about the Sugar-devel
mailing list