I have a rails application and am using Gmaps4rails-1.3.0 to render a map. I am providing users some options to choose which markers will be displayed. All this functionality is working fine across all browsers.
However, when I'm testing this through capybara with selenium driver, no markers are getting hidden. After running the debugger, I found the following error in the error console:
console is not defined
http://127.0.0.1:51643/javascripts/gmaps4rails/gmaps4rails.googlemaps.js?1323052026 Line 196
Opening line 196 in this file, I find a call to console.log in the clearMarkers method call:
I then noticed that during normal operation, a no. of such log messages are displayed in the firebug console. Should the console.log() call be there? If yes, what's the way to test it with a rendering engine?
Hi
I have a rails application and am using Gmaps4rails-1.3.0 to render a map. I am providing users some options to choose which markers will be displayed. All this functionality is working fine across all browsers.
However, when I'm testing this through capybara with selenium driver, no markers are getting hidden. After running the debugger, I found the following error in the error console:
Opening line 196 in this file, I find a call to console.log in the clearMarkers method call:
I then noticed that during normal operation, a no. of such log messages are displayed in the firebug console. Should the console.log() call be there? If yes, what's the way to test it with a rendering engine?