onnimonni

onnimonni

Testing typical browser errors simultaneously when wallaby is running the tests?

Hey,

I’m currently building a greenfield app with Elixir. I’ve really enjoyed using GitHub - elixir-wallaby/wallaby: Concurrent browser tests for your Elixir web apps. · GitHub for tests so far.

When using claude code I’ve noticed that sometimes it makes a mistake which causes stuff like:

  • The page to overflow from the viewport
  • Certain image is broken
  • Javascript errors
  • CSS not loading
  • Syntax errors in the html (which might cause different browsers to render it bit differently than chrome)

These issues might not be so bad that the actual integration tests would fail but usually they are a signal that the user experience in the page is degrading.

I’m wondering if I could collect that kind of data while wallaby is using chromedriver and visiting the pages in the tests?

This way I would not need to run duplicate browser tests so it would be faster and I would still be able to learn about potential issues (and failing the test runs and asking claude code to fix them).

Has anyone done something similiar? What are the current best practices here?

Where Next?

Popular in Questions Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36654 110
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

We're in Beta

About us Mission Statement