Phoenix.LiveViewTest.page_title
You're seeing just the function
page_title
, go back to Phoenix.LiveViewTest module for more information.
Returns the most recent title that was updated via a page_title
assign.
Examples
render_click(view, :event_that_triggers_page_title_update)
assert page_title(view) =~ "my title"