⏱️ Duration: 188.47s
❌ Error:
fixturefunc = <function check_footer_links at 0x7f822b2756c0>
request = <FixtureRequest for <Function test_l1_check_menu_and_footer_links>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="3d2370cdc780794b0b06a6e176341b81")>}
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_links_page.py:69: in check_footer_links
bs_fail_with_traceback(browser, check_footer_links, e)
helpers/common_helpers.py:789: in bs_fail_with_traceback
raise exception
tests/test_links_page.py:67: in check_footer_links
open_and_test_footer_products_and_menu_tabs(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="3d2370cdc780794b0b06a6e176341b81")>
def open_and_test_footer_products_and_menu_tabs(browser):
"""
Checks every main footer product item by opening it in a new tab and checking the title
Checks every main menu item which opens in a new tab
"""
# Initial page load with timeout protection
try:
📸 Failure Screenshot: