API Reference Fluffy v#0.7.0

Copy Markdown View Source

Modules

Pipeable feature testing for Phoenix applications.

Raised internally when an element cannot receive an action. Public Phoenix actions preserve this exception in Fluffy.OperationError.cause.

ExUnit-style assertions backed by Fluffy.Expect.

The versioned support contract for Fluffy page drivers.

Raised when a driver cannot support a requested action or assertion.

A browser dialog delivered to event listeners and waits.

A download available as soon as downloading starts.

Event descriptions shared by waits and listeners.

An opaque, single-use pending event returned by Fluffy.wait_for/3.

Typed locator and active-page assertion values executed by Fluffy.Expect.expect/2.

A browser file chooser captured by Fluffy.Event.file_chooser/1.

An in-memory file selected with Fluffy.set_input_files/4.

A live browser frame returned by Fluffy.Event.frame_navigated/1.

A lazy query identifying a frame to search inside with the Playwright driver.

Normalized metadata for a browser request or response event.

A lazy, driver-independent element query.

An element operation failure with its backend's original cause.

An opaque, live handle to one page in a session.

A PhoenixTest-style facade over Fluffy's actions and assertions.

The facade session, containing the native session, locator scope, and active form.

Browser-only helpers for the active Playwright page.

Default Logger adapter for browser console messages and uncaught page errors.

Native identifiers for the active Playwright page.

Integrates Ecto SQL sandbox ownership with a Fluffy test scope.

A live session handle with a local current-page selection.

Raised internally when a single-target query resolves to zero or multiple elements. Public Phoenix actions preserve this exception in Fluffy.OperationError.cause.

ExUnit lifecycle setup for Fluffy tests.