⏱️ Duration: 197.69s
❌ Error:
fixturefunc = <function add_new_ai_post_today at 0x7f873689d360>
request = <FixtureRequest for <Function test_vo99_precondition_2_generate_ai_listicle>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="484917beaf42dec71021fec1e66a18c6")>}
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_planner_page.py:981: in add_new_ai_post_today
bs_fail_with_traceback(browser, add_new_ai_post_today, e)
helpers/common_helpers.py:789: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:979: in add_new_ai_post_today
generate_single_ai(browser, single_ai_description_input)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="484917beaf42dec71021fec1e66a18c6")>
ai_input = 'Funny dogs video'
def generate_single_ai(browser, ai_input: str):
"""
Provides the description and generates a single AI video from the planner pop-up.
Single AI always generates voiceover videos
ai_input can be provided in this funct
📸 Failure Screenshot: