⏱️ Duration: 534.36s
❌ Error:
fixturefunc = <function mob_purchase_plan at 0x7f6c71048940>
request = <FixtureRequest for <Function test_m02_basic_actions_for_a_mobile_user>>
kwargs = {'mob_browser': <selenium.webdriver.remote.webdriver.WebDriver (session="514315100b1904c1042e1e8ca3900974")>}
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_mobile_view.py:383: in mob_purchase_plan
bs_fail_with_traceback(mob_browser, mob_purchase_plan, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_mobile_view.py:381: in mob_purchase_plan
purchase_a_plan_on_mobile(mob_browser)
pages/mob_purchase_page.py:13: in purchase_a_plan_on_mobile
do_click(mob_browser, BASIC_ANNUAL)
helpers/common_helpers.py:201: in do_click
EC.element_to_be_clickable(by_locator)).click()
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:93: in click
self._execute(Command.CLICK_ELEMENT)
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:394: in _execute
return self._parent.execute(command, params)
venv/lib/python3.10/site-packages/sele
📸 Failure Screenshot:
⏱️ Duration: 186.03s
❌ Error:
fixturefunc = <function verify_single_ai_post_button at 0x7f6c70ff96c0>
request = <FixtureRequest for <Function test_m05_generate_single_ai_post>>
kwargs = {'mob_browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b119a978a44233b2289bda662b73d039")>}
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_mobile_view.py:125: in verify_single_ai_post_button
bs_fail_with_traceback(mob_browser, verify_single_ai_post_button, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_mobile_view.py:123: in verify_single_ai_post_button
single_ai_post_mob(mob_browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mob_browser = <selenium.webdriver.remote.webdriver.WebDriver (session="b119a978a44233b2289bda662b73d039")>
def single_ai_post_mob(mob_browser):
"""
Verify that generate single AI post button exist on mobile view in planner and click on it
"""
> assert is_visible(mob_browser, MOB_PLANNER_SINGLE_AI_BUTTON)
E AssertionError
pages/mob_planner_page.py
📸 Failure Screenshot: