⏱️ Duration: 421.82s
❌ Error:
self = <test_publisher.TestPublisherFacebook object at 0x7f866b3055a0>
login_page = <pages.login_page.LoginPage object at 0x7f866b2f4dc0>
create_page = <pages.create_page.CreatePage object at 0x7f866a53a200>
editor_page = <pages.editor_page.EditorPage object at 0x7f866b2dbbb0>
publish_page = <pages.publish_page.PublishPage object at 0x7f866b2f5e40>
dashboard_page = <pages.dashboard_page.DashboardPage object at 0x7f866b2f7d30>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f866a406aa0>
base_url = 'https://test03.testingpromo.com'
@pytest.mark.skip_smoke
@pytest.mark.skip_sanity
def test_pu02_publish_fb_reel(
self, login_page, create_page, editor_page, publish_page, dashboard_page, publisher_page, base_url
):
login_page.login_directly(base_url, general_mail(), get_password())
create_page.navigate_to_create(base_url)
create_page.search_for("cats")
create_page.select_videos_from_type_dropdown()
create_page.customize_first_video()
editor_page.verify_editor_loaded()
editor_page.change_ratio() # fresh video defaults to wide -> toggles to vertical
editor_page.publish_video()
> publish_page.wait_for_render_and_verify()
tests/publisher_facebook/test_publisher.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publish_page.py:32: in wait_for_render_and_verify
self.page.locator(self.PUBLISH_READY).wait_for(state="visible", timeout=max_wait_ms)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:20539: in wait_for
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:748: in wait_for
await self._frame.wait_for_selector(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:394: in wait_for_selector
await self._channel.send(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connec
📸 Failure Screenshot:
⏱️ Duration: 38.25s
❌ Error:
self = <test_publisher.TestPublisherFacebook object at 0x7f866b307af0>
login_page = <pages.login_page.LoginPage object at 0x7f8668089f60>
dashboard_page = <pages.dashboard_page.DashboardPage object at 0x7f8668088be0>
publish_page = <pages.publish_page.PublishPage object at 0x7f8668088f10>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f866808a0e0>
planner_page = <pages.planner_page.PlannerPage object at 0x7f866808a740>
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: