def test_can_fill_more_than_one_field_in_form(browser, app_url):
    "should provide a away to change field value"
    browser.visit(app_url)
    browser.find_by_name("query").fill("my name")
    assert not browser.find_by_id("gender-m").checked
    assert not browser.find_option_by_value("rj").selected
    assert not browser.find_by_name("some-check").checked
    assert browser.find_by_name("checked-checkbox").checked
    browser.fill_form(
        {
            "query": "another new query",
            "description": "Just another description value in the textarea",
            "gender": "M",
            "uf": "rj",
            "some-check": True,
            "checked-checkbox": False,
        },
    )
    query_value = browser.find_by_name("query").value
    assert "another new query" == query_value
    desc_value = browser.find_by_name("description").value
    assert "Just another description value in the textarea" == desc_value
    assert browser.find_by_id("gender-m").checked
    assert browser.find_option_by_value("rj").selected
    assert browser.find_by_name("some-check").checked
    assert not browser.find_by_name("checked-checkbox").checked
should provide a away to change field value
tests/test_all_drivers/test_form_elements.py