⏱️ Duration: 470.95s
❌ Error:
fixturefunc = <function logged_in_new_shorter_cal at 0x7fd6f22f0430>
request = <FixtureRequest for <Function test_vo99_precondition_2_generate_ai_listicle>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b3423779e9189740ed39a4dedbff3b7e")>}
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_social_calendar_page.py:15: in logged_in_new_shorter_cal
bs_fail_with_traceback(browser, logged_in_new_shorter_cal, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_social_calendar_page.py:13: in logged_in_new_shorter_cal
user_logs_in(browser, email_calendar, fullname_calendar)
pages/login_page.py:215: in user_logs_in
check_correct_username(browser, correct_username)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="b3423779e9189740ed39a4dedbff3b7e")>
correct_username = 'Social Calendar Automate'
def check_correct_username(browser, correct_username):
"""
Checks if user is logged correct
📸 Failure Screenshot: