Test Results (23 tests)
⏱️ Duration: 198.46s
❌ Error:
fixturefunc = <function aichat_select_clip at 0x7f9240785bd0>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[stock_video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="38054b8485c31d0ecb7bd4ca2b9ee761")>, 'prompt': 'stock_video'}
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:851: in aichat_select_clip
bs_fail_with_traceback(browser, aichat_select_clip, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:848: in aichat_select_clip
do_hover_and_click_js(browser, AICHAT_MEDIA_RESULT_FIRST_JS, AICHAT_REPLACE_JS)
helpers/common_helpers.py:344: in do_hover_and_click_js
click_el = wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR, by_locator2)))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="38054b8485c31d0ecb7bd4ca2b9ee761")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7f92403055a0>
message = ''
def until(s
📸 Failure Screenshot:
⏱️ Duration: 203.70s
❌ Error:
fixturefunc = <function aichat_select_clip at 0x7f9240785bd0>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[stock_photo]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b049668f53a550e4dc48e1a254b5c89d")>, '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:851: in aichat_select_clip
bs_fail_with_traceback(browser, aichat_select_clip, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:848: in aichat_select_clip
do_hover_and_click_js(browser, AICHAT_MEDIA_RESULT_FIRST_JS, AICHAT_REPLACE_JS)
helpers/common_helpers.py:344: in do_hover_and_click_js
click_el = wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR, by_locator2)))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="b049668f53a550e4dc48e1a254b5c89d")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7f92403053f0>
message = ''
def until(s
📸 Failure Screenshot:
⏱️ Duration: 199.63s
❌ Error:
fixturefunc = <function aichat_select_clip at 0x7f9240785bd0>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[uploaded_video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="59a3cd3f2b0c1e0d9baed02040cc7a38")>, 'prompt': 'uploaded_video'}
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:851: in aichat_select_clip
bs_fail_with_traceback(browser, aichat_select_clip, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:848: in aichat_select_clip
do_hover_and_click_js(browser, AICHAT_MEDIA_RESULT_FIRST_JS, AICHAT_REPLACE_JS)
helpers/common_helpers.py:344: in do_hover_and_click_js
click_el = wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR, by_locator2)))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="59a3cd3f2b0c1e0d9baed02040cc7a38")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7f923f915b40>
message = ''
def u
📸 Failure Screenshot:
⏱️ Duration: 200.44s
❌ Error:
fixturefunc = <function aichat_select_clip at 0x7f9240785bd0>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[uploaded_photo]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="ed603fd6013bc8cbe19ad7bb96149a0f")>, 'prompt': 'uploaded_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:851: in aichat_select_clip
bs_fail_with_traceback(browser, aichat_select_clip, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:848: in aichat_select_clip
do_hover_and_click_js(browser, AICHAT_MEDIA_RESULT_FIRST_JS, AICHAT_REPLACE_JS)
helpers/common_helpers.py:344: in do_hover_and_click_js
click_el = wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR, by_locator2)))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="ed603fd6013bc8cbe19ad7bb96149a0f")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7f923e43e8c0>
message = ''
def u
📸 Failure Screenshot:
⏱️ Duration: 358.05s
❌ Error:
fixturefunc = <function user_redirected_after_video_generation at 0x7f92407c8a60>
request = <FixtureRequest for <Function test_cbe07_change_the_intro_for_the_amazon_product_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="333fc66ef79ac55b17acce5c815257c8")>}
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="333fc66ef79ac55b17acce5c815257c8")>
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: