⏱️ Duration: 37.83s
❌ Error:
fixturefunc = <function ai_logged_in_new_shorter at 0x7f456dd27d00>
request = <FixtureRequest for <Function test_a01p_autopilot_verify_actions_on_the_ai_posts_in_planner>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="1c4625d78d9b95b56553e4786d71d0d5")>}
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_autopilot_page.py:22: in ai_logged_in_new_shorter
bs_fail_with_traceback(browser, ai_logged_in_new_shorter, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:20: in ai_logged_in_new_shorter
user_logs_in(browser, email_ai, fullname)
pages/login_page.py:201: in user_logs_in
click_login_new(browser)
pages/login_page.py:107: in click_login_new
do_click(browser, LOGIN_NEW_BTN)
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:
📸 Failure Screenshot: