Test Results (23 tests)
⏱️ Duration: 576.68s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="8eff83774b93443636641bd60589c2ce")>
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"
assert is_visible(browser, AICHAT_CHAT_TO_EDIT_BUTTON) # CBE button should be available
if is_visible(browser, VOICE_OVER_ADV_SETTINGS_BTN):
> raise Exception('AI post is rendered or VO listicle.')
E Exception: AI post is rendered or VO listicle.
pages/autopilot_page.py:600: Exception
During handling of the above exception, another exception occurred:
fixturefunc = <function ai_open_preview at 0x7fe021b24ee0>
request = <FixtureRequest for <Function test_cbe02_cbe_should_work_in_all_ratios[wide-caption]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="8eff83774b93443636641bd60589c2ce")>, 'number': '2'}
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/python
📸 Failure Screenshot:
⏱️ Duration: 645.37s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="3a6601a2689197efedac337b90bd9571")>
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 0x7fe021b24ee0>
request = <FixtureRequest for <Function test_cbe03_replace_a_clip[stock_video]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="3a6601a2689197efedac337b90bd9571")>, 'number': '3'}
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: 503.90s
❌ Error:
fixturefunc = <function upload_video_with_url at 0x7fe021b1e200>
request = <FixtureRequest for <Function test_cbe04_upload_via_filestack_url[photo]>>
kwargs = {'asset': 'photo', 'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="13d3e71ba4f94710259a91bbd3bf9c01")>}
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="13d3e71ba4f94710259a91bbd3bf9c01")>
method = <function visibility_of_element_located.<locals>._predicate at 0x7fe021685090>
message = ''
def until(self, method: Callable[[WebDriver], Uni
📸 Failure Screenshot:
⏱️ Duration: 158.18s
❌ Error:
fixturefunc = <function skip_the_educational_video at 0x7fe021b244c0>
request = <FixtureRequest for <Function test_cbe07_change_the_intro_for_the_amazon_product_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="3b5405585c6ea9e6775642db0463bc24")>}
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="3b5405585c6ea9e6775642db0463bc24")>
@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: