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

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
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
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
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 36820 110
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49266 226
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement