Phoenix.LiveViewTest.assert_redirected

You're seeing just the function assert_redirected, go back to Phoenix.LiveViewTest module for more information.
Link to this function

assert_redirected(view, to)

View Source

Asserts a redirect was performed.

It returns the flash messages from said redirect, if any. Note the flash will contain string keys.

Examples

render_click(view, :event_that_triggers_redirect)
flash = assert_redirected view, "/path"
assert flash["info"] == "Welcome"