Use Capybara to better test panel rendering