⏱️ Duration: 353.92s
❌ Error:
fixturefunc = <function add_draft_tiktok at 0x7fb66a7a8c10>
request = <FixtureRequest for <Function test_pub03_verify_publish_tiktok>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="a66bae4aa532b30565c10fe7ec269f2f")>}
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:401: in add_draft_tiktok
bs_fail_with_traceback(browser, add_draft_tiktok, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:398: in add_draft_tiktok
select_social_account_for_post(browser, "tiktok")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="a66bae4aa532b30565c10fe7ec269f2f")>
social_type = 'tiktok'
def select_social_account_for_post(browser, social_type):
"""
Add a LinkedIn draft with already connected private account
(account always connected to promo.test.automation+socials@gmail.com)
LI user: promo.test.automation@gmail.com + standard pass of Automat
📸 Failure Screenshot: