Test Results (23 tests)
⏱️ Duration: 214.41s
❌ Error:
fixturefunc = <function verify_cbe_save_enabled at 0x7f5a5c871630>
request = <FixtureRequest for <Function test_cbe01_cbe_service_chains_sanity[text_color]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="7a415e937c01ecbd4fa8e3270be19149")>}
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:789: in bs_fail_with_traceback
raise exception
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="7a415e937c01ecbd4fa8e3270be19149")>
@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_BUT
📸 Failure Screenshot:
⏱️ Duration: 217.07s
❌ Error:
fixturefunc = <function verify_cbe_save_enabled at 0x7f5a5c871630>
request = <FixtureRequest for <Function test_cbe01_cbe_service_chains_sanity[text_font]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="6ea7f77b8fdbec56a291758fb6a1a241")>}
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:789: in bs_fail_with_traceback
raise exception
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="6ea7f77b8fdbec56a291758fb6a1a241")>
@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: 201.37s
❌ Error:
fixturefunc = <function ai_verify_ai_chat at 0x7f5a5c871090>
request = <FixtureRequest for <Function test_cbe01_cbe_service_chains_sanity[text_position]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="10091e6efa209e897c4cf9f5252f7b31")>, '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:789: 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="10091e6efa209e897c4cf9f5252f7b31")>
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: 337.69s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="5b802b206874d37e1dcf9e8bdc82bf62")>
@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)
> assert is_visible(browser, PLANNER_PREVIEW_POST_DATE)
E assert False
E + where False = is_visible(<selenium.webdriver.remote.webdriver.WebDriver (session="5b802b206874d37e1dcf9e8bdc82bf62")>, ('xpath', '//*[@data-qaid="post_preview_date"]'))
tests/test_assertion.py:419: AssertionError
During handling of the above exception, another exception occurred:
fixturefunc = <function save_video at 0x7f5a5c83cee0>
request = <FixtureRequest for <Function test_cbe01_cbe_service_chains_sanity[translation]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="5b802b206874d37e1dcf9e8bdc82bf62")>}
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="5b802b206874d37e1dcf9e8bdc82bf62
📸 Failure Screenshot:
⏱️ Duration: 369.92s
❌ Error:
fixturefunc = <function user_redirected_after_video_generation at 0x7f5a5c8749d0>
request = <FixtureRequest for <Function test_cbe07_change_the_intro_for_the_amazon_product_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="175293eba193b85c0dbbfd54a1eaabc3")>}
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:789: 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="175293eba193b85c0dbbfd54a1eaabc3")>
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: