⏱️ Duration: 383.63s
❌ Error:
fixturefunc = <function add_drafts_youtube_linkedin_linkedin_page at 0x7f9730f3db40>
request = <FixtureRequest for <Function test_pub01_verify_publish_and_schedule_for_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="d4dd3b111a68d00e7432a94333fd00c8")>}
def call_fixture_func(
fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs
) -> FixtureValue:
if is_generator(fixturefunc):
fixturefunc = cast(
Callable[..., Generator[FixtureValue, None, None]], fixturefunc
)
generator = fixturefunc(**kwargs)
try:
fixture_result = next(generator)
except StopIteration:
raise ValueError(f"{request.fixturename} did not yield a value") from None
finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)
request.addfinalizer(finalizer)
else:
fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)
> fixture_result = fixturefunc(**kwargs)
venv/lib/python3.10/site-packages/_pytest/fixtures.py:917:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_publisher_page.py:360: in add_drafts_youtube_linkedin_linkedin_page
bs_fail_with_traceback(browser, add_drafts_youtube_linkedin_linkedin_page, e)
helpers/common_helpers.py:789: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:356: in add_drafts_youtube_linkedin_linkedin_page
select_social_account_for_post(browser, "linkedin")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="d4dd3b111a68d00e7432a94333fd00c8")>
social_type = 'linkedin'
def select_social_account_for_post(browser, social_type):
"""
Add a LinkedIn draft with already connected private account
(account
📸 Failure Screenshot: