bhougland18
How to create browser automation tests?
I am a consultant and implement software for clients. I would like to create browser automation tests for an application that isn’t mine to ensure the configuration works as expected. I like the API of Wallaby, but I am struggling to figure out how to set it up when the application isn’t my own. Most of the instructions seem to be geared toward writing test for Phoenix applications.
Do anyone have an example of a simple example of going to website such as wikipedia?
How would the test_helper.exs :base_url be configured for the above example?:
test/test_helper.exs
Application.put_env(:wallaby, :base_url, YourAppWeb.Endpoint.url)
I am sorry, I am still very new to Elixir and the ecosystem.
Thank you!
Ben
Most Liked
mhanberg
Apologies for the delay, but i answered your question on GitHub: Simple browser automation example · elixir-wallaby/wallaby · Discussion #723 · GitHub
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








