The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

414898 (1) [Avatar] Offline
#1
When I run spec/ features/creating_tickets_spec.rb by the end of the chapter, it still fails:
 Capybara::ElementNotFound:
       Unable to find file field "File #2"


I can see that when scenario runs in browser(tried chrome and firefox drivers), then clicking on "add another file" does nothing.
But when I run the app in development mode, everything seems to work. Moreover, when scenario is being executed, it seems like no styles are applied.
How do I make sure that JS is indeed executed in the scenario?

Also, no CSS is loaded. See http://stackoverflow.com/questions/38028995/javascript-not-working-with-capybara-and-selenium