Alvin Crespoalvincrespo.hashnode.dev·Aug 13, 2024Testing ViewComponent w/ CapybaraToday I was writing some tests and dug into a little bit of ViewComponent and Capybara. Most of time you read a tutorial and just kind of get whatever done, here I'm going to explain in detail what my test is doing and why it's important. 💡 If you'...Discusstrix-editor
Dorian Lupudorianlupu.hashnode.dev·Nov 8, 2022Level up your Capybara acceptance tests using SitePrismTL;DR If you struggle with maintaining brittle capybara tests that mix high-level verifications with low-level CSS selectors, you should consider using SitePrism, a semantic DSL for describing your web application. You'll never have to hardcode CSS ...Discuss·112 readsSitePrism
CodeMeistercodemeister.hashnode.dev·Jun 29, 2022Capybara, Cuprite and a slow-scrolling Chrome ARMIt sounds like the start to a bad joke... Capybara, Cuprite and a slow-scrolling Chrome ARM walk into a bar.... ...but the joke was definitely on me with a bunch of randomly failing tests, all with a variation of the same message. The Error A lot o...Discuss·1 like·678 readscapybara
Andrew Fosterandrewfoster.hashnode.dev·Jun 16, 2022User Interface - Navigation and Layout Part 2Following on from the previous blog I now have a helper for displaying icons in the application. The next helper that would make life easier is one for adding a link to the side navigation. I'll call it the NavigationHelper: module NavigationHelper ...Discuss·94 readsRails 7 ApplicationRuby on Rails