Skip to content

Commit

Permalink
Update page live test
Browse files Browse the repository at this point in the history
  • Loading branch information
APB9785 committed Jan 22, 2024
1 parent ee8cb6a commit a2ae44a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/beacon_web/live/page_live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ defmodule BeaconWeb.Live.PageLiveTest do

{:ok, view, _html} = live(conn, "/home")

assert view
assert has_element?(view, "#my-component-first", "first")
assert has_element?(view, "#my-component-second", "second")
assert has_element?(view, "#my-component-third", "third")
end

describe "meta tags" do
Expand Down

0 comments on commit a2ae44a

Please sign in to comment.