A normalized browser dialog and the action Fluffy took to unblock it.
Assertion constructors accept the capture key and return a Fluffy.Expect
value for Fluffy.expect/2. Capture waits for the event; assertions inspect
the retained result. Options follow Fluffy.Expect.
Summary
Assertions
Expects the captured dialog's action to equal the supplied value.
Expects the captured dialog's default value to equal the supplied value.
Expects the captured dialog's message to equal the supplied value.
Expects the captured dialog's prompt text to equal the supplied value.
Expects the captured dialog's type to equal the supplied value.
Types
Assertions
@spec to_have_action(term(), term(), [Fluffy.Expect.option()]) :: Fluffy.Expect.t()
Expects the captured dialog's action to equal the supplied value.
@spec to_have_default_value(term(), String.t(), [Fluffy.Expect.option()]) :: Fluffy.Expect.t()
Expects the captured dialog's default value to equal the supplied value.
@spec to_have_message(term(), String.t(), [Fluffy.Expect.option()]) :: Fluffy.Expect.t()
Expects the captured dialog's message to equal the supplied value.
@spec to_have_prompt_text(term(), term(), [Fluffy.Expect.option()]) :: Fluffy.Expect.t()
Expects the captured dialog's prompt text to equal the supplied value.
@spec to_have_type(term(), term(), [Fluffy.Expect.option()]) :: Fluffy.Expect.t()
Expects the captured dialog's type to equal the supplied value.