Test Results (23 tests)
⏱️ Duration: 197.44s
❌ Error:
fixturefunc = <function aichat_select_clip at 0x7fed0bb89cf0>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[stock_video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="de19dcac932e3f05bcc5f609e41f891d")>, '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:336: in do_hover_and_click_js
browser.execute_script(
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:407: in execute_script
return self.execute(command, {"script": script, "args": converted_args})["value"]
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:347: in execute
self.error_handler.check_response(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
📸 Failure Screenshot:
⏱️ Duration: 188.87s
❌ Error:
fixturefunc = <function aichat_select_clip at 0x7fed0bb89cf0>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[stock_photo]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="c59c6c102bd60aaa938d3da03c122391")>, '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:336: in do_hover_and_click_js
browser.execute_script(
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:407: in execute_script
return self.execute(command, {"script": script, "args": converted_args})["value"]
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:347: in execute
self.error_handler.check_response(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
📸 Failure Screenshot:
⏱️ Duration: 222.26s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="76a907aa935b9cb7a8ed1a5d94339762")>
@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="76a907aa935b9cb7a8ed1a5d94339762")>, ('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 0x7fed0bb55090>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[uploaded_video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="76a907aa935b9cb7a8ed1a5d94339762")>}
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="76a907aa935b9cb7a8ed1a5d94339762")>
@then('I verify that video can be saved')
def save_video(browse
📸 Failure Screenshot:
⏱️ Duration: 232.26s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="739db8e1fb6c11c0d26456f54e43b98f")>
@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="739db8e1fb6c11c0d26456f54e43b98f")>, ('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 0x7fed0bb55090>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[uploaded_photo]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="739db8e1fb6c11c0d26456f54e43b98f")>}
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="739db8e1fb6c11c0d26456f54e43b98f")>
@then('I verify that video can be saved')
def save_video(browse
📸 Failure Screenshot:
⏱️ Duration: 164.63s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="0e36db3bfc3fbfb3b113b1786c9b5d22")>
def verify_post_not_rendered_or_not_listicle(browser):
"""
Assert that video is not rendered by checking availability of Regeneration button and CBE
Delete a post if assertion failed or Advanced settings button is displayed
"""
try:
> assert is_visible(browser, AI_POST_REGENERATION_ICON, 15), "Video is already rendered"
E AssertionError: Video is already rendered
pages/autopilot_page.py:597: AssertionError
During handling of the above exception, another exception occurred:
fixturefunc = <function ai_open_preview at 0x7fed0bbccee0>
request = <FixtureRequest for <Function test_cbe04_upload_via_filestack_url[video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="0e36db3bfc3fbfb3b113b1786c9b5d22")>, '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:420: in ai_open_preview
verify_post_not_rendered_or_not_listicle(browser)
_ _ _ _ _ _ _ _ _ _
📸 Failure Screenshot:
⏱️ Duration: 398.99s
❌ Error:
fixturefunc = <function user_redirected_after_video_generation at 0x7fed0bbccb80>
request = <FixtureRequest for <Function test_cbe07_change_the_intro_for_the_amazon_product_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="3d8f99ff66e44589def6688437c1b2dd")>}
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="3d8f99ff66e44589def6688437c1b2dd")>
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: