⏱️ Duration: 34.02s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7fa23c6c28c0>
login_page = <pages.login_page.LoginPage object at 0x7fa23c6c1450>
planner_page = <pages.planner_page.PlannerPage object at 0x7fa23c6c1570>
base_url = 'https://test03.testingpromo.com'
def test_pub09_download_from_planner_preview(self, login_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.open_post(post_number=1)
tests/publisher_yt_linkedin/test_publisher_yt_linkedin.py:293:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/planner_page.py:266: in open_post
item.scroll_into_view_if_needed()
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:19985: in scroll_into_view_if_needed
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:617: in scroll_into_view_if_needed
return await self._with_element(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:114: in _with_element
handle = await self.element_handle(timeout=timeout)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:325: in element_handle
handle = 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._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7fa23c6c1060>
cb = <function Channel.send.<locals>.<lambda> at 0x7fa23bb1f400>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, title:
📸 Failure Screenshot:
⏱️ Duration: 154.42s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7fa23c6c2770>
main_page = <pages.main_page.MainPage object at 0x7fa23ac83f70>
login_page = <pages.login_page.LoginPage object at 0x7fa23ac83d30>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7fa23a0f5990>
planner_page = <pages.planner_page.PlannerPage object at 0x7fa23a0f5a80>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7fa23c954e20>
base_url = 'https://test03.testingpromo.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:344:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:452: in ensure_ai_posts_exist
self.wait_for_posts_generated(timeout=360_000)
pages/autopilot_page.py:534: 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/lo
📸 Failure Screenshot: