⏱️ Duration: 71.83s
❌ Error:
fixturefunc = <function verify_currency_pricing_page at 0x7f6f63dacee0>
request = <FixtureRequest for <Function test_p05_anonymous_user_has_a_correct_currency_in_pricing__on_the_upgrade_page>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="d662b5ec512d9733cab9fc821eddbdf2")>}
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_pricing_page.py:70: in verify_currency_pricing_page
bs_fail_with_traceback(browser, verify_currency_pricing_page, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_pricing_page.py:68: in verify_currency_pricing_page
currencies_check(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="d662b5ec512d9733cab9fc821eddbdf2")>
def currencies_check(browser):
"""
Verify that a correct currency is displayed
"""
currency_map = {
EU: EURO_CURRENCY[1],
DE: EURO_CURRENCY[1],
UK: GBP_CURRENCY[1],
PL: E
📸 Failure Screenshot: