<filename>test/test_add_contact.py
# -*- coding: utf-8 -*-
from model.contact import Contact


def test_add_contact(app):
    app.session.login(username="admin", password="<PASSWORD>")
    app.contact.fill_data(Contact(firstname="Aleh", lastname="Shybaila", title="QA", company="BBB",
                                  address="123 Main Str, Cupertino, CA 95014", hometel="(408)111-2222",
                                  mobile="(408)111-3333", worktel="(408)111-4444", fax="(408)111-5555",
                                  email="<EMAIL>", email2="<EMAIL>", email3="<EMAIL>",
                                  address2="N/A", phone2="N/A", notes="Some notes."))
    app.contact.open_details_page()
    app.session.logout()


<filename>test/test_add_contact.py
# -*- coding: utf-8 -*-
from model.contact import Contact


def test_add_contact(app):
    app.session.login(username="admin", password="<PASSWORD>")
    app.contact.fill_data(Contact(firstname="Aleh", lastname="Shybaila", title="QA", company="BBB",
                                  address="123 Main Str, Cupertino, CA 95014", hometel="(408)111-2222",
                                  mobile="(408)111-3333", worktel="(408)111-4444", fax="(408)111-5555",
                                  email="<EMAIL>", email2="<EMAIL>", email3="<EMAIL>",
                                  address2="N/A", phone2="N/A", notes="Some notes."))
    app.contact.open_details_page()
    app.session.logout()


# -*- coding: utf-8 -*-