Fluffy.Session (Fluffy v0.3.1)

Copy Markdown View Source

The session state threaded through Fluffy test pipelines.

Sessions are created and operated through the functions in Fluffy and backend-specific public helpers such as Fluffy.Playwright. Their fields and state-transition functions are internal implementation details.

Summary

Types

t()

A Fluffy session handle. Its fields are internal implementation details.

Types

t()

@type t() :: %Fluffy.Session{
  active_page: term(),
  backend: Fluffy.Backend.Phoenix | Fluffy.Backend.Playwright,
  context: map(),
  pages: %{required(term()) => Fluffy.Page.t()},
  pending_event: map() | nil,
  results: map()
}

A Fluffy session handle. Its fields are internal implementation details.