Test Results (23 tests)
⏱️ Duration: 352.03s
❌ Error:
fixturefunc = <function verify_cbe_save_enabled at 0x7f20724597e0>
request = <FixtureRequest for <Function test_cbe01_cbe_service_chains_sanity[text_font]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="558dc1bd1b664f98aa2fc90c9eeefddf")>}
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="558dc1bd1b664f98aa2fc90c9eeefddf")>
@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: 260.25s
❌ Error:
fixturefunc = <function ai_logged_in_new_shorter at 0x7f20723efc70>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[stock_photo]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="755419e39f2b34c528b06ea047153825")>}
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:22: in ai_logged_in_new_shorter
bs_fail_with_traceback(browser, ai_logged_in_new_shorter, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:20: in ai_logged_in_new_shorter
user_logs_in(browser, email_ai, fullname)
pages/login_page.py:215: in user_logs_in
check_correct_username(browser, correct_username)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="755419e39f2b34c528b06ea047153825")>
correct_username = 'Automate Promo'
def check_correct_username(browser, correct_username):
"""
Checks if user is logged correctly - checks correct username in header.
📸 Failure Screenshot:
⏱️ Duration: 247.62s
❌ Error:
fixturefunc = <function ai_logged_in_new_shorter at 0x7f20723efc70>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[uploaded_photo]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="ffab39e4d56b1f103a3b7fdccbe1bfbb")>}
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:22: in ai_logged_in_new_shorter
bs_fail_with_traceback(browser, ai_logged_in_new_shorter, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:20: in ai_logged_in_new_shorter
user_logs_in(browser, email_ai, fullname)
pages/login_page.py:215: in user_logs_in
check_correct_username(browser, correct_username)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="ffab39e4d56b1f103a3b7fdccbe1bfbb")>
correct_username = 'Automate Promo'
def check_correct_username(browser, correct_username):
"""
Checks if user is logged correctly - checks correct username in header.
📸 Failure Screenshot:
⏱️ Duration: 318.54s
❌ Error:
fixturefunc = <function open_cbe at 0x7f2072459090>
request = <FixtureRequest for <Function test_cbe04_upload_via_filestack_url[video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="82e82d08565981571b63b7e9af94553c")>}
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:745: in open_cbe
bs_fail_with_traceback(browser, open_cbe, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:743: in open_cbe
ai_chat_open_cbe(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="82e82d08565981571b63b7e9af94553c")>
def ai_chat_open_cbe(browser):
"""
Clicks cbe button in planner preview
Verifies that icons are visible
"""
> assert is_visible(browser, AICHAT_CHAT_TO_EDIT_BUTTON)
E AssertionError
pages/autopilot_page.py:822: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 890.48s
❌ Error:
fixturefunc = <function connect_fb_pg_filestack at 0x7f207245ac20>
request = <FixtureRequest for <Function test_cbe06_upload_via_filestack_facebook_page>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="bc5ac7985637f59be9c05d99e50c2262")>}
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:933: in connect_fb_pg_filestack
bs_fail_with_traceback(browser, connect_fb_pg_filestack, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:931: in connect_fb_pg_filestack
connect_fb_page_filestack(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="bc5ac7985637f59be9c05d99e50c2262")>
def connect_fb_page_filestack(browser):
"""
Connects to Facebook Page via Filestack
It opens an additional tab
"""
> assert is_visible(browser, AICHAT_FILESTACK_FBPAGES_ICON)
E AssertionError
pages/autopilot_page.py:1069: AssertionError
⏱️ Duration: 438.31s
❌ Error:
fixturefunc = <function skip_the_educational_video at 0x7f20724604c0>
request = <FixtureRequest for <Function test_cbe07_change_the_intro_for_the_amazon_product_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="5072b56c6c49864b2b58e565a12376e2")>}
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:365: in skip_the_educational_video
bs_fail_with_traceback(browser, skip_the_educational_video, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="5072b56c6c49864b2b58e565a12376e2")>
@when('I click the skip button')
def skip_the_educational_video(browser):
try:
assert is_visible(browser, AI_GENERATOR_SKIP_VIDEO)
do_click(browser, AI_GENERATOR_SKIP_VIDEO)
> assert is_invisible(browser, AI_GENERATOR_SKIP_VIDEO)
E assert False
E + where False = is_invisible(<selenium.webdriver.remo
📸 Failure Screenshot: