エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Capybara Integration Test Debugging Tips
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Capybara Integration Test Debugging Tips
I ran into this today when writing an integration test for a JS intensive flow: 5 Capybara Debugg... I ran into this today when writing an integration test for a JS intensive flow: 5 Capybara Debugging Tips There’s a few good tips here: Five Capybara Hacks to Make Your Testing Experience Less Painful which I’ll summarize: Run a script: page.execute_script("<some js code>") Tails the test log tail -f log/test.log Use pry to get a view into the browser: puts current_url; require 'pry'; binding.pry

