开发者

Debug output from webrat

开发者 https://www.devze.com 2023-02-12 04:59 出处:网络
Are there any ways to see debug output from webrat on failed steps? For example I get the following error:

Are there any ways to see debug output from webrat on failed steps?

For example I get the following error:

The 'Test User' option was not found in the "user_id" select box (Webrat::NotFoundError)

I want to see HT开发者_如何学编程ML output that webrat is seeing, to figure out, where is the problem.


Ok, i figured it out myself. Webrat has save_and_open_page method, it saves HTML page to tmp/ dir and opens it in browser.

0

精彩评论

暂无评论...
验证码 换一张
取 消