Latest #liveview-test Threads Top

caslu
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
BurntCaramel
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
JohnnyCurran
Hello, The problem: HTML special characters can cause =~ assertions to fail in LiveViewTest - Especially if used in conjunction with lib...
New
travisf
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
DanBunea
We are trying to properly test components in isolation, even when used in hierarchies. A component using a subcomponent is like a impure ...
New
amaterasu
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
coen.bakker
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
angelikatyborska
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
angelikatyborska
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
karang
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 Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

Euphorichuman
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
angelikatyborska
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
amaterasu
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
travisf
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
coen.bakker
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
BurntCaramel
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
DanBunea
We are trying to properly test components in isolation, even when used in hierarchies. A component using a subcomponent is like a impure ...
New
caslu
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
JohnnyCurran
Hello, The problem: HTML special characters can cause =~ assertions to fail in LiveViewTest - Especially if used in conjunction with lib...
New
angelikatyborska
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

Trending Over Three Years Top

neurodynamic
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
pwightman
I have a form that starts like this: When clicking “yes”, another form element appears: The markup looks something like this: ...
New
travisf
I’m trying to test a file upload: file = file_input(view, "#profile_pic_upload", :profile_pic, [ %{ last_mo...
New
byoungdale
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
karang
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
hackersleepyhead
render_submit() event of LiveViewComponent is not triggered during the test case, it always tries to look for the event in LiveView (pare...
New
begedin
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
sineed
Hello everyone! Currently I experience a flaky error on dedicated CI when I call Phoenix.LiveViewTest.render_upload/3 function. This fun...
New
romenigld
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
thenrio
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

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement