relative URL isn't resolved on click
Reported by Kouhei Sutou | March 5th, 2010 @ 01:03 AM
click_link doesn't resolve relative URL. (e.g. "../../relative/path.html")
Web browsers (e.g. Firefox) resolve relative URL and request with the resolved URL. e.g.: In https://webrat.lighthouseapp.com/projects/10503-webrat/tickets, and click link that has href="../../dashboard" then a browser request with https://webrat.lighthouseapp.com/dashbord URL.
Our web application extracts search queries from PATH_INFO. Webrat behavior is different from Web browsers' behavior. So we can't test a page that expects browser behavior with Webrat.
No comments found
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.