⏱️ Duration: 87.28s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7f7865609960>
main_page = <pages.main_page.MainPage object at 0x7f78643a3940>
login_page = <pages.login_page.LoginPage object at 0x7f78643a0a90>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f786454e0b0>
planner_page = <pages.planner_page.PlannerPage object at 0x7f786454e1a0>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f786454e230>
base_url = 'https://promo.com'
def test_pub11_create_new_ratios_for_ai_post(
self, main_page, login_page, autopilot_page, planner_page, publisher_page, base_url
):
"""
Uses the 5th AI post (pinned by title for the rest of the test). If that post already
has a wide/vertical ratio (left over from an interrupted run) it is deleted and the new
5th post is used — the source deleted it too, but then failed and needed a manual re-run.
"""
main_page.go_to_homepage_with_tid(base_url, "200220240")
login_page.login_directly(base_url, email_ai, get_password())
planner_page.go_to_my_calendar(base_url)
planner_page.verify_on_planner()
> autopilot_page.ensure_ai_posts_exist(min_count=5)
tests/publisher_yt_linkedin/test_publisher_yt_linkedin.py:345:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:457: in ensure_ai_posts_exist
self.wait_for_posts_generated(timeout=360_000)
pages/autopilot_page.py:545: in wait_for_posts_generated
self.page.locator(self.PLANNER_AI_BADGE).first.wait_for(
/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/python
📸 Failure Screenshot: