⏱️ Duration: 414.23s
❌ Error:
fixturefunc = <function publish_and_schedule_yt_li at 0x7f1f8b33eb90>
request = <FixtureRequest for <Function test_pub01_verify_publish_and_schedule_for_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="9edcfdbf6de9cf6b2d00a9818534c888")>}
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:227: in publish_and_schedule_yt_li
bs_fail_with_traceback(browser, publish_and_schedule_yt_li, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:225: in publish_and_schedule_yt_li
publish_and_schedule_posts_yt_li(browser)
pages/publisher_page.py:808: in publish_and_schedule_posts_yt_li
schedule_ready_draft(browser, 1)
pages/publisher_page.py:738: in schedule_ready_draft
do_hover_offset(browser, radio_elem, 5, 5)
helpers/common_helpers.py:398: in do_hover_offset
ActionChains(browser).move_to_element_with_offset(elem, x, y).perform()
venv/lib/python3.10/site-packages/selenium/webdriver/common/action_chains.py:94: in perform
self.w3c_action
📸 Failure Screenshot:
⏱️ Duration: 377.33s
❌ Error:
fixturefunc = <function verify_ratio_exists at 0x7f1f8b346a70>
request = <FixtureRequest for <Function test_pub11_create_a_new_aspect_ratio_for_an_ai_post_in_the_publisher>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b7b856e0ceb3097e729f7b210af75444")>, 'orientation': 'wide'}
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:606: in verify_ratio_exists
bs_fail_with_traceback(browser, verify_ratio_exists, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="b7b856e0ceb3097e729f7b210af75444")>
orientation = 'wide'
@then(parsers.parse('I verify in publisher that {orientation} ratio is already added'))
def verify_ratio_exists(browser, orientation):
ratios = {
"wide": PUBLISHER_ADD_WIDE_RATIO,
"square": PUBLISHER_ADD_SQUARE_RATIO,
"vertical": PUBLISHER_ADD_VERTICAL_RATIO
}
try:
>
📸 Failure Screenshot: