# WallabyFillForm

`WallabyFillForm` allows you to specify a keyword list of attributes to be input
rather than procedurally calling Wallaby's DSL methods.

## Usage

|> visit("/sign_up")
|> WallabyFillForm.fill_form(%{
  :email => "",
  :password => "password",
  "First Name" => "Name",
  :subscribe => true,

# It also works with keyword lists

|> visit("/sign_up")
|> WallabyFillForm.fill_form([email: ""])

## Installation

Add `wallaby_fill_form` to your list of dependencies in `mix.exs`:

def deps do
    {:wallaby_fill_form, "~> 0.1.0"},

## Supported Types

| Type of Value                  | Action                                 |
| `is_boolean/1`                 | Sets a checkbox                        |
| `is_binary/1` or `is_number/1` | `fill_in/3` or selects from a dropdown |

## Contributing

See the [CONTRIBUTING] document.
Thank you, [contributors]!


## License

WallabyFillForm is Copyright (c) 2017 thoughtbot, inc.
It is free software, and may be redistributed
under the terms specified in the [LICENSE] file.


## About


WallabyFillForm is maintained and funded by [thoughtbot], inc.
The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software, Elixir, and Phoenix. See [our other Elixir
projects][elixir-phoenix], or [hire our Elixir/Phoenix development team][hire]
to design, develop, and grow your product.