⏱️ Duration: 80.61s
❌ Error:
self = <test_publisher.TestPublisherFacebook object at 0x7f8b8cb9c0a0>
login_page = <pages.login_page.LoginPage object at 0x7f8b87f22950>
dashboard_page = <pages.dashboard_page.DashboardPage object at 0x7f8b87a3f0a0>
publish_page = <pages.publish_page.PublishPage object at 0x7f8b87aaa200>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f8b87aa8be0>
planner_page = <pages.planner_page.PlannerPage object at 0x7f8b87aaa290>
base_url = 'https://promo.com'
def test_pu03_schedule_fb_post_happy_path(
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.schedule_fb_post(publisher_schedule_caption)
publisher_page.click_view_planner()
planner_page.verify_on_planner()
planner_page.go_to_month(2)
scheduled_items = planner_page.page.locator(planner_page.SCHEDULED_ITEM)
expect(scheduled_items).to_have_count(1, timeout=planner_page.T_ACTION)
scheduled_items.first.click()
> planner_page.delete_open_post()
tests/publisher_facebook/test_publisher.py:147:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/planner_page.py:157: in delete_open_post
self.open_options_menu()
pages/planner_page.py:151: in open_options_menu
dots.wait_for(state="visible", timeout=self.
📸 Failure Screenshot: