elixir-wallaby / wallaby

Concurrent browser tests for your Elixir web apps.
https://twitter.com/elixir_wallaby
MIT License
1.68k stars 198 forks source link

Chrome headless and binary opts can be passed in @sessions #736

Closed dvic closed 1 year ago

dvic commented 1 year ago

This makes it possible to override headless and binary for a particular test, e.g.,

@sessions [[headless: false]]
feature "my feature", %{session: session} do 
  ...
end
mhanberg commented 1 year ago

Can you edit the Wallaby.Feature docs to mention you can pass these options?

dvic commented 1 year ago

Can you edit the Wallaby.Feature docs to mention you can pass these options?

Done!

mhanberg commented 1 year ago

Have you tested this locally with a real project?

dvic commented 1 year ago

Have you tested this locally with a real project?

Yup

mhanberg commented 1 year ago

Thanks!