Latest #liveview-test Threads 
Hello guys, i was coding my new project and something curious happened to me. Gust giving a bit of context, i’ve been using Phoenix and E...
New
I made ensemble for testing ARIA roles in Phoenix LiveView. If you’ve ever used react-testing-library or Playwright you might have come a...
New
Hello,
The problem: HTML special characters can cause =~ assertions to fail in LiveViewTest - Especially if used in conjunction with lib...
New
I have a LiveView with a fairly beefy LiveComponent that renders inside of it. From my understanding of the docs you can pass render_hoo...
New
We are trying to properly test components in isolation, even when used in hierarchies. A component using a subcomponent is like a impure ...
New
I need to test that I can create a post having one category (chosen from an async loaded list) on my admin site.
I have a LiveComponent ...
New
I sometimes have to log a user in at the top of all the tests of a describe block. Like so:
describe "some set of tests" do
test "A", ...
New
Intro
Currently when mounting a LiveView with Phoenix.LiveViewTest.live/2 you can get the full page HTML as a string, but then, after doi...
New
In a LiveView test, how can I get the full page HTML after the initial render? The Phoenix.LiveViewTest.html#live/2 function returns the ...
New
Hello I am trying to test my liveview and I want to test the editing of a resource through liveview. So I have something like this:
{:ok...
New
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
I’m trying to test a Phoenix phx-click event which, after being clicked, adds a flash message to the socket of a Live view: put_flash (),...
New
In a LiveView test, how can I get the full page HTML after the initial render? The Phoenix.LiveViewTest.html#live/2 function returns the ...
New
I need to test that I can create a post having one category (chosen from an async loaded list) on my admin site.
I have a LiveComponent ...
New
I have a LiveView with a fairly beefy LiveComponent that renders inside of it. From my understanding of the docs you can pass render_hoo...
New
I sometimes have to log a user in at the top of all the tests of a describe block. Like so:
describe "some set of tests" do
test "A", ...
New
I made ensemble for testing ARIA roles in Phoenix LiveView. If you’ve ever used react-testing-library or Playwright you might have come a...
New
We are trying to properly test components in isolation, even when used in hierarchies. A component using a subcomponent is like a impure ...
New
Hello guys, i was coding my new project and something curious happened to me. Gust giving a bit of context, i’ve been using Phoenix and E...
New
Intro
Currently when mounting a LiveView with Phoenix.LiveViewTest.live/2 you can get the full page HTML as a string, but then, after doi...
New
Hello,
The problem: HTML special characters can cause =~ assertions to fail in LiveViewTest - Especially if used in conjunction with lib...
New
Trending Over Three Years
I have a page in my Phoenix app with some LiveView code. When you click a button, it shows the Stripe credit card modal form via a Hook. ...
New
I have a form that starts like this:
When clicking “yes”, another form element appears:
The markup looks something like this:
...
New
I’m trying to test a file upload:
file =
file_input(view, "#profile_pic_upload", :profile_pic, [
%{
last_mo...
New
I am trying to write a test for a phx-change event I have on a input element inside a form. The phx-change happens only on the input elem...
New
Hello I am trying to test my liveview and I want to test the editing of a resource through liveview. So I have something like this:
{:ok...
New
render_submit() event of LiveViewComponent is not triggered during the test case, it always tries to look for the event in LiveView (pare...
New
I’m trying to write a library which provides a complex phoenix live component the the app dependant on it.
As part of that, I’m also try...
New
I am trying to show the error message and test the unique index
I create the index on the produtcs table:
create unique_index(:products...
New
Hi, there.
I have a hook that fetch select options on user input, and values are passed to an external js library.
This hook uses pushE...
New
- Follow
- Join
- Shape
the conversation
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
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
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









