Test Results (23 tests)
⏱️ Duration: 231.78s
❌ Error:
fixturefunc = <function ai_verify_ai_chat at 0x7f0ff4c75240>
request = <FixtureRequest for <Function test_cbe01_cbe_service_chains_sanity[text_position]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="334b5354dbb51a5f72dc7fd614182c76")>, 'prompt': 'text_position'}
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:773: in ai_verify_ai_chat
bs_fail_with_traceback(browser, ai_verify_ai_chat, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:771: in ai_verify_ai_chat
ai_chat_verify_sending_message(browser, possible_prompts.get(prompt))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="334b5354dbb51a5f72dc7fd614182c76")>
prompt = 'I want the first caption to be in a opposite corner'
def ai_chat_verify_sending_message(browser, prompt: str):
"""
Prompt will be used as a message in chat (ai_chat_provide_prompt). All prompts are stored in testdata.p
📸 Failure Screenshot:
⏱️ Duration: 175.62s
❌ Error:
fixturefunc = <function ai_verify_ai_chat at 0x7f0ff4c75240>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[stock_photo]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="9ecc3aa14813063f264508a669f661cd")>, 'prompt': 'stock_photo'}
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:773: in ai_verify_ai_chat
bs_fail_with_traceback(browser, ai_verify_ai_chat, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:771: in ai_verify_ai_chat
ai_chat_verify_sending_message(browser, possible_prompts.get(prompt))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="9ecc3aa14813063f264508a669f661cd")>
prompt = 'Replace the first clip with a photo of a dog'
def ai_chat_verify_sending_message(browser, prompt: str):
"""
Prompt will be used as a message in chat (ai_chat_provide_prompt). All prompts are stored in testdata.py
message_numb
📸 Failure Screenshot:
⏱️ Duration: 409.90s
❌ Error:
fixturefunc = <function user_redirected_after_video_generation at 0x7f0ff4c80b80>
request = <FixtureRequest for <Function test_cbe07_change_the_intro_for_the_amazon_product_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="f9d2c441c604712e6a30d61e326feba7")>}
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:400: in user_redirected_after_video_generation
bs_fail_with_traceback(browser, user_redirected_after_video_generation, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:398: in user_redirected_after_video_generation
ai_generated_posts_in_planner(browser, 300)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="f9d2c441c604712e6a30d61e326feba7")>
waiting_time = 300
def ai_generated_posts_in_planner(browser, waiting_time: int):
"""
Verifies if AI posts are visible in Planner
waiting_time (int) = chosen value in seconds
"
📸 Failure Screenshot: