Esempio n. 1
0
def test_inbox_page(inbound_sms, driver, login_seeded_user):
    dashboard_page = DashboardPage(driver)
    dashboard_page.go_to_dashboard_for_service(config['service']['id'])

    # go to inbox page
    dashboard_page.click_inbox_link()

    # select conversation for outbound phone number
    inbox_page = InboxPage(driver)
    assert inbox_page.is_current(config['service']['id'])

    inbox_page.go_to_conversation(config['user']['mobile'])

    conversation = ConversationPage(driver)
    assert conversation.get_message(inbound_sms) is not None