예제 #1
0
def test_request_fails_when_missing_required_fields(base_url, selenium):
    page = PartnershipsPage(base_url, selenium).open()
    with pytest.raises(TimeoutException):
        page.submit_request()
예제 #2
0
def test_request_partnership(base_url, selenium):
    page = PartnershipsPage(base_url, selenium).open()
    page.type_first_name('Automated')
    page.type_last_name('Test')
    page.type_company('Mozilla')
    page.type_email('*****@*****.**')
    page.submit_request()
    assert page.request_successful