You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Akephalos with Cucumber and Capybara. Some of my cucumber scenarios involve user authentication: these scenarios normally pass but when they're tagged @akephalos they fail -- the app responds with 401 Unauthorised and HTML Unit raises an error (com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException).
Here's the issue: it looks like Akephalos starts a separate Webrick server to handle @akephalos scenarios; where are the log files for this server? Is it possible to read the logs? I don't see anything in log/. Normally when a cucumber scenario is failing, my first step would be to check the logs, but in this case I'm stuck.
I'm using akephalos 0.2.4 (b2f056d), capybara 0.3.9, cucumber 0.10.0, cucumber-rails 0.3.2, and rails 3.0.1. I'm new to Akephalos so sorry if I've missed something obvious here :)
The text was updated successfully, but these errors were encountered:
What happens if you tag the scenario @javascript @akephalos instead of just @akephalos? I got the same 401 error and this worked for me (although it may be specific to my setup).
Hey Elliot: did using the @javascript tag show logs for those scenarios like I described? That's the main issue, the 401 was just an example of the kind of situation where I wanted log access.
I'm using Akephalos with Cucumber and Capybara. Some of my cucumber scenarios involve user authentication: these scenarios normally pass but when they're tagged @akephalos they fail -- the app responds with 401 Unauthorised and HTML Unit raises an error (com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException).
Here's the issue: it looks like Akephalos starts a separate Webrick server to handle @akephalos scenarios; where are the log files for this server? Is it possible to read the logs? I don't see anything in log/. Normally when a cucumber scenario is failing, my first step would be to check the logs, but in this case I'm stuck.
I'm using akephalos 0.2.4 (b2f056d), capybara 0.3.9, cucumber 0.10.0, cucumber-rails 0.3.2, and rails 3.0.1. I'm new to Akephalos so sorry if I've missed something obvious here :)
The text was updated successfully, but these errors were encountered: