Test Results (23 tests)
⏱️ Duration: 407.17s
❌ Error:
fixturefunc = <function verify_cbe_save_enabled at 0x7f8b699d97e0>
request = <FixtureRequest for <Function test_cbe01_cbe_service_chains_sanity[text_font]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="4cacfc260e67fb637c9b334fa6168921")>}
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:825: in verify_cbe_save_enabled
bs_fail_with_traceback(browser, verify_cbe_save_enabled, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="4cacfc260e67fb637c9b334fa6168921")>
@then('I verify that CBE save button is enabled')
def verify_cbe_save_enabled(browser):
try:
# Wait for CBE to process the change
time.sleep(5)
# Retry logic - backend needs time to enable button
max_attempts = 5
for attempt in range(max_attempts):
if not is_disabled(browser, AICHAT_SAVE_BUTT
📸 Failure Screenshot:
⏱️ Duration: 763.06s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="aa2191a6f1a77c901668a9dd6f9000ab")>
@then('I verify that video can be saved')
def save_video(browser):
try:
ai_chat_save_video(browser)
> assert is_invisible(browser, AICHAT_CHAT_SECTION, 15)
E assert False
E + where False = is_invisible(<selenium.webdriver.remote.webdriver.WebDriver (session="aa2191a6f1a77c901668a9dd6f9000ab")>, ('xpath', '//div[@class="chat-editor"]'), 15)
tests/test_assertion.py:418: AssertionError
During handling of the above exception, another exception occurred:
fixturefunc = <function save_video at 0x7f8b69969090>
request = <FixtureRequest for <Function test_cbe02_cbe_should_work_in_all_ratios[vertical-caption]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="aa2191a6f1a77c901668a9dd6f9000ab")>}
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:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="aa2191a6f1a77c901668a9dd6f9000ab")>
@then('I verify that video can be saved')
def
📸 Failure Screenshot:
⏱️ Duration: 670.49s
❌ Error:
fixturefunc = <function aichat_select_clip at 0x7f8b699d9cf0>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[stock_video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b7c4fd3d7ecd4074a3e2da30280e7b6c")>, '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
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="b7c4fd3d7ecd4074a3e2da30280e7b6c")>
prompt = 'stock_video'
@when(parsers.cfparse('I select "{prompt}" as a new clip'))
def aichat_select_clip(browser, prompt):
try:
ai_chat_clip_selection_window_displayed(browser)
do_hover_and_click_js(browser, AICHAT_MEDIA_RESULT_FIRST_JS, AICHAT_REPLACE_JS)
> assert is_visible(browser, AICHAT_REPLACE_CLIP_SUCCESS_MESSAGE, 15)
E
⏱️ Duration: 744.43s
❌ Error:
fixturefunc = <function upload_video_with_url at 0x7f8b699da200>
request = <FixtureRequest for <Function test_cbe04_upload_via_filestack_url[photo]>>
kwargs = {'asset': 'photo', 'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="cb3b1b9a296370bdef1f6f9fce5621b8")>}
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:880: in upload_video_with_url
bs_fail_with_traceback(browser, upload_video_with_url, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:877: in upload_video_with_url
do_send_keys(browser, AICHAT_URL_INPUT, asset_urls.get(asset))
helpers/common_helpers.py:457: in do_send_keys
WebDriverWait(browser, sec, poll_frequency=0.4).until(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="cb3b1b9a296370bdef1f6f9fce5621b8")>
method = <function visibility_of_element_located.<locals>._predicate at 0x7f8b68a16440>
message = ''
def until(self, method: Callable[[WebDriver], Uni
⏱️ Duration: 564.08s
❌ Error:
fixturefunc = <function user_redirected_after_video_generation at 0x7f8b699dcb80>
request = <FixtureRequest for <Function test_cbe07_change_the_intro_for_the_amazon_product_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="355036065484cb2b87a2fba655b1c452")>}
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="355036065484cb2b87a2fba655b1c452")>
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: