Test Results (13 tests)
⏱️ Duration: 56.16s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7f41d6ab1180>
socials_publisher = <function socials_publisher.<locals>._open at 0x7f41d6017640>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f41d6d30040>
planner_page = <pages.planner_page.PlannerPage object at 0x7f41d6d51300>
base_url = 'https://promo.com'
def test_pub01_publish_and_schedule_yt_shorts_and_li(
self, socials_publisher, publisher_page, planner_page, base_url
):
socials_publisher(SHORT_VIDEO, clean_months=(2, SCHEDULE_MONTH))
pp = publisher_page
> pp.select_accounts_and_continue(pp.SLOT_YOUTUBE, pp.SLOT_LINKEDIN, pp.SLOT_LINKEDIN_PAGE)
tests/publisher_yt_linkedin/test_publisher_yt_linkedin.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publisher_page.py:551: in select_accounts_and_continue
account.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 0x7f41d6ce3f70>
cb = <function Channel.send.<locals>.<lambda> at 0x7f41d5b38af0>
📸 Failure Screenshot:
⏱️ Duration: 37.69s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7f41d6ab35e0>
socials_publisher = <function socials_publisher.<locals>._open at 0x7f41ce5328c0>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f41ce5e9fc0>
planner_page = <pages.planner_page.PlannerPage object at 0x7f41ce5e9660>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_pub04_reschedule_yt_shorts_and_li(
self, socials_publisher, publisher_page, planner_page, base_url
):
socials_publisher(SHORT_VIDEO)
pp = publisher_page
> pp.select_accounts_and_continue(pp.SLOT_YOUTUBE, pp.SLOT_LINKEDIN)
tests/publisher_yt_linkedin/test_publisher_yt_linkedin.py:160:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publisher_page.py:551: in select_accounts_and_continue
account.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 0x7f41d6ce3f70>
cb = <function Channel.send.<locals>.<lambda> at 0x7f41ce530310>
is_internal = False, title = None
📸 Failure Screenshot:
⏱️ Duration: 38.56s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7f41d6ab3940>
socials_publisher = <function socials_publisher.<locals>._open at 0x7f41d436cee0>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f41d4571ed0>
planner_page = <pages.planner_page.PlannerPage object at 0x7f41d6d50b50>
base_url = 'https://promo.com'
def test_pub05_duplicate_and_discard_post(
self, socials_publisher, publisher_page, planner_page, base_url
):
socials_publisher(LONG_VIDEO)
pp = publisher_page
> pp.select_accounts_and_continue(pp.SLOT_LINKEDIN)
tests/publisher_yt_linkedin/test_publisher_yt_linkedin.py:200:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publisher_page.py:551: in select_accounts_and_continue
account.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 0x7f41d6ce3f70>
cb = <function Channel.send.<locals>.<lambda> at 0x7f41d5b90af0>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Ca
📸 Failure Screenshot:
⏱️ Duration: 37.53s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7f41d6ab22f0>
socials_publisher = <function socials_publisher.<locals>._open at 0x7f41d5d7a0e0>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f41ce43d270>
planner_page = <pages.planner_page.PlannerPage object at 0x7f41d41cdd20>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_pub08_external_share_of_scheduled_post(
self, socials_publisher, publisher_page, planner_page, base_url
):
socials_publisher(SHORT_VIDEO)
pp = publisher_page
> pp.select_accounts_and_continue(pp.SLOT_LINKEDIN)
tests/publisher_yt_linkedin/test_publisher_yt_linkedin.py:230:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publisher_page.py:551: in select_accounts_and_continue
account.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 0x7f41d6ce3f70>
cb = <function Channel.send.<locals>.<lambda> at 0x7f41d436f130>
is_internal = False, title = None
async def
📸 Failure Screenshot:
⏱️ Duration: 54.46s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7f41d6ab2620>
socials_publisher = <function socials_publisher.<locals>._open at 0x7f41d5b93c70>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f41d5e63670>
planner_page = <pages.planner_page.PlannerPage object at 0x7f41d4ba7850>
mobile_page = <Page url='about:blank'>, base_url = 'https://promo.com'
def test_pub06_planner_preview_and_delete_on_mobile(
self, socials_publisher, publisher_page, planner_page, mobile_page, base_url
):
"""
Kept as one test (not split into web/mobile halves): the mobile part needs the exact
post the web part scheduled, and the source scenario is one BrowserStack session pair.
"""
socials_publisher(LONG_VIDEO, clean_months=(2, SCHEDULE_MONTH))
pp = publisher_page
> pp.select_accounts_and_continue(pp.SLOT_LINKEDIN)
tests/publisher_yt_linkedin/test_publisher_yt_linkedin.py:258:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publisher_page.py:551: in select_accounts_and_continue
account.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_ca
📸 Failure Screenshot:
⏱️ Duration: 87.83s
❌ Error:
self = <tests.publisher_yt_linkedin.test_publisher_yt_linkedin.TestPublisherYtLinkedin object at 0x7f41d6ab3370>
main_page = <pages.main_page.MainPage object at 0x7f41ce43d330>
login_page = <pages.login_page.LoginPage object at 0x7f41ce43cfd0>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f41ce43d540>
planner_page = <pages.planner_page.PlannerPage object at 0x7f41d4ecfd60>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f41d4571270>
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: