Skip to content

Handle current_path patch via LiveViewWatcher #209

@ftes

Description

@ftes

If the LiveView path is patched by an async event (e.g. pubsub) it seems that %Live{current_path: _} is not updated.
So even if one manually awaits the pubsub event that triggers the patch, a subsequent assert_path fails.

Should assert_path be wrapped with the same timeout mechanism used for assert_has and refute_has?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions