⏱️ Duration: 71.36s
❌ Error:
fixturefunc = <function ai_fetched_assets at 0x7f09ec08f7f0>
request = <FixtureRequest for <Function test_w10_new_user_purchases_plan_after_uploading_a_watermark_with_url__release>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="fde451c24dc2def66884e2a139fe293b")>}
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:238: in ai_fetched_assets
bs_fail_with_traceback(browser, ai_fetched_assets, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:236: in ai_fetched_assets
assets_fetched_ai(browser, PROMO_BUSINESS_NAME_FETCHED, 3)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="fde451c24dc2def66884e2a139fe293b")>
business_name = ('xpath', '//input[contains(@value, "Promo.com")]')
number_colors = 3
def assets_fetched_ai(browser, business_name: tuple, number_colors: int):
"""
First verifies that used is redirected to the 2nd step of the onboarding
📸 Failure Screenshot: