Test Results (7 tests)
⏱️ Duration: 598.50s
❌ Error:
fixturefunc = <function verify_posts_in_planner at 0x7fed6fd949d0>
request = <FixtureRequest for <Function test_cbe01_cbe_service_chains_sanity[text_font]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="d30535f1a1e0c8e379b4e33a32e744de")>}
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:697: in verify_posts_in_planner
bs_fail_with_traceback(browser, verify_posts_in_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:695: in verify_posts_in_planner
verify_and_generate_posts(browser)
pages/autopilot_page.py:802: in verify_and_generate_posts
generate_posts_onboarding(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="d30535f1a1e0c8e379b4e33a32e744de")>
def generate_posts_onboarding(browser):
"""
Clicks on [Re]Generate Posts and waits for redirection to Planner
if is in case there were posts generated earlier
📸 Failure Screenshot:
⏱️ Duration: 385.17s
❌ Error:
fixturefunc = <function ai_open_preview at 0x7fed6fd9d240>
request = <FixtureRequest for <Function test_cbe04_upload_via_filestack_url[video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b48b24a016757e8e3b031512244dfd9c")>, 'number': '4'}
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:419: in ai_open_preview
bs_fail_with_traceback(browser, ai_open_preview, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:417: in ai_open_preview
open_ai_post_planner(browser, number)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="b48b24a016757e8e3b031512244dfd9c")>
post_number = '4'
def open_ai_post_planner(browser, post_number: int):
"""
Open a chosen AI post (preview)
post_numer: determines which post should be opened
if first AI post is outside the view, script will scroll to it
assertion added to make sure that video is l
📸 Failure Screenshot:
⏱️ Duration: 391.05s
❌ Error:
fixturefunc = <function ai_open_preview at 0x7fed6fd9d240>
request = <FixtureRequest for <Function test_cbe04_upload_via_filestack_url[photo]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="37c0b2d8b7c47c8e62d47855d5b6400c")>, 'number': '4'}
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:419: in ai_open_preview
bs_fail_with_traceback(browser, ai_open_preview, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:417: in ai_open_preview
open_ai_post_planner(browser, number)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="37c0b2d8b7c47c8e62d47855d5b6400c")>
post_number = '4'
def open_ai_post_planner(browser, post_number: int):
"""
Open a chosen AI post (preview)
post_numer: determines which post should be opened
if first AI post is outside the view, script will scroll to it
assertion added to make sure that video is l
📸 Failure Screenshot:
⏱️ Duration: 771.93s
❌ Error:
fixturefunc = <function upload_progress_bar_displayed at 0x7fed6fd96c20>
request = <FixtureRequest for <Function test_cbe06_upload_via_filestack_facebook_page>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="166dfc3e465ff1a04f32ae863c7d23db")>}
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:917: in upload_progress_bar_displayed
bs_fail_with_traceback(browser, upload_progress_bar_displayed, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="166dfc3e465ff1a04f32ae863c7d23db")>
@then('Upload progress bar is displayed')
def upload_progress_bar_displayed(browser):
try:
assert is_visible(browser, AICHAT_UPLOAD_PROGRESS_BAR, 15)
> assert is_visible(browser, AICHAT_UPLOADED_FILE, 60)
E assert False
E + where False = is_visible(<selenium.webdriver.remote.webdriver.WebDriver (session="166dfc3e
📸 Failure Screenshot:
⏱️ Duration: 274.87s
❌ Error:
fixturefunc = <function skip_the_educational_video at 0x7fed6fd9c820>
request = <FixtureRequest for <Function test_cbe07_change_the_intro_for_the_amazon_product_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="88e8b91fd3b40ff1ff6ad98a4805a5a4")>}
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="88e8b91fd3b40ff1ff6ad98a4805a5a4")>
@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: