⏱️ Duration: 376.85s
❌ Error:
fixturefunc = <function my_calen_yt_li at 0x7fee58015a20>
request = <FixtureRequest for <Function test_pub01_verify_publish_and_schedule_for_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="9a3e35c6d3913faf6139d73ee4bd5597")>}
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_planner_page.py:130: in my_calen_yt_li
bs_fail_with_traceback(browser, my_calen_yt_li, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:128: in my_calen_yt_li
my_cal_yt_li(browser, 1)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="9a3e35c6d3913faf6139d73ee4bd5597")>
no_scheduled = 1
def my_cal_yt_li(browser, no_scheduled: int):
"""
Verifies My Calendar with scheduled YT and LI posts (no_scheduled)
At the end deletes it
"""
for i in range(3):
do_click(browser, MY_CAL_NEXT_MONTH_ARROW)
time.sleep(2)
scheduled_item
📸 Failure Screenshot:
⏱️ Duration: 170.91s
❌ Error:
fixturefunc = <function clean_scheduled_posts_yt at 0x7fee58014790>
request = <FixtureRequest for <Function test_pub04_verify_reschedule_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="bc1ce82ffa076159ee13a3da68218fe4")>}
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_planner_page.py:35: in clean_scheduled_posts_yt
bs_fail_with_traceback(browser, clean_scheduled_posts_yt, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:33: in clean_scheduled_posts_yt
clean_up_all_posts(browser, 3)
pages/planner_page.py:181: in clean_up_all_posts
delete_post_item_helper(browser)
pages/planner_page.py:146: in delete_post_item_helper
bs_fail_with_traceback(browser, delete_post_item_helper, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
pages/planner_page.py:140: in delete_post_item_helper
open_planner_dropdown_menu(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.w
📸 Failure Screenshot: