Phoenix.LiveViewTest.assert_redirect

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

assert_redirect(view, to, timeout \\ 100)

View Source

Asserts a redirect will happen within timeout.

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_redirect view, "/path"
assert flash["info"] == "Welcome"