⏱️ Duration: 452.58s
❌ Error:
fixturefunc = <function change_plan_on_pricing_widget at 0x7f3d6817b910>
request = <FixtureRequest for <Function test_p04_user_with_b1_plan_upgrade_to_annual_b1_on_publish_page__release>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="3b0bb6e78e7e1cb2d257164f2364d347")>, 'plan': 'Annual Basic'}
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_cancellation.py:574: in change_plan_on_pricing_widget
bs_fail_with_traceback(browser, change_plan_on_pricing_widget, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_cancellation.py:572: in change_plan_on_pricing_widget
change_plan_on_publish_pricing(browser, plan)
pages/newcancellation_page.py:961: in change_plan_on_publish_pricing
currencies_check(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="3b0bb6e78e7e1cb2d257164f2364d347")>
def currencies_check(browser):
"""
Verify that a correct currency is displayed
"""
📸 Failure Screenshot:
⏱️ Duration: 56.94s
❌ Error:
fixturefunc = <function verify_currency_pricing_page at 0x7f3d68110f70>
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="0a22388760351b0f6a9e7366002a2809")>}
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="0a22388760351b0f6a9e7366002a2809")>
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: