⏱️ Duration: 38.85s
❌ Error:
self = <test_publisher.TestPublisherFacebook object at 0x7f950f6e3be0>
login_page = <pages.login_page.LoginPage object at 0x7f950f6e5300>
dashboard_page = <pages.dashboard_page.DashboardPage object at 0x7f950ec73fd0>
publish_page = <pages.publish_page.PublishPage object at 0x7f950f6e6380>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f950eaac070>
planner_page = <pages.planner_page.PlannerPage object at 0x7f950ead7760>
base_url = 'https://test03.testingpromo.com'
@pytest.mark.skip_smoke
@pytest.mark.skip_sanity
def test_pu04_publish_empty_post_shows_error(
self, login_page, dashboard_page, publish_page, publisher_page, planner_page, base_url
):
login_page.login_directly(base_url, general_mail(), get_password())
planner_page.go_to_my_calendar(base_url)
planner_page.verify_on_planner()
planner_page.clean_scheduled_posts_precondition()
dashboard_page.go_to_published(base_url)
dashboard_page.delete_first_vertical_project()
dashboard_page.republish_first_video()
publish_page.wait_for_render_and_verify()
publish_page.click_schedule_to_social()
publisher_page.verify_redirected_to_publisher()
publisher_page.select_facebook_page()
publisher_page.click_publish_header()
publisher_page.attempt_publish_without_video()
publisher_page.go_back_to_publish_page()
> assert publisher_page.page.title() == publish_page.PUBLISH_PAGE_TITLE
E AssertionError: assert '' == 'Promo - Publish Video'
E
E - Promo - Publish Video
tests/publisher_facebook/test_publisher.py:180: AssertionError
📸 Failure Screenshot: