Test Results (9 tests)
⏱️ Duration: 182.56s
❌ Error:
fixturefunc = <function ai_provide_website_or_topic at 0x7fb3f647b130>
request = <FixtureRequest for <Function test_ai03_autopilot_e2e_path_with_ai_topics_post_in_planner_verification>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="c19bd4ee6baa09a72959170c0c07d7ab")>, 'input1': 'sample_ai_topic'}
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:205: in ai_provide_website_or_topic
bs_fail_with_traceback(browser, ai_provide_website_or_topic, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:203: in ai_provide_website_or_topic
provide_web_or_topic_autopilot(browser, inputs[input1])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="c19bd4ee6baa09a72959170c0c07d7ab")>
ai_input = 'funny cats video'
def provide_web_or_topic_autopilot(browser, ai_input: str):
"""
ai_input (str): chosen website or topic from testdata.py
actual: sample_ai_to
📸 Failure Screenshot:
⏱️ Duration: 332.95s
❌ Error:
fixturefunc = <function skip_the_educational_video at 0x7fb3f6491240>
request = <FixtureRequest for <Function test_ai05_video_generation_started_from_chatgpt_store>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="11b93e8e60345b02f87a9ae29cce32b7")>}
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="11b93e8e60345b02f87a9ae29cce32b7")>
@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.remote.
📸 Failure Screenshot:
⏱️ Duration: 278.72s
❌ Error:
fixturefunc = <function ai_onboarding_timer at 0x7fb3f6490ca0>
request = <FixtureRequest for <Function test_ai09p_free_user_generates_a_video_based_on_amazon_listing_that_contains_videos[amazon_product_with_videos]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="d5adcb6adaf8f95341fea996426ca9b8")>}
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:335: in ai_onboarding_timer
bs_fail_with_traceback(browser, ai_onboarding_timer, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:333: in ai_onboarding_timer
video_generation_screen_displayed(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="d5adcb6adaf8f95341fea996426ca9b8")>
def video_generation_screen_displayed(browser):
"""
Verify that the video generation screen is displayed
"""
> assert is_visible(browser, AI_GENERATOR_TIMER, 10)
E AssertionError
pages/autopilo
📸 Failure Screenshot:
⏱️ Duration: 172.46s
❌ Error:
fixturefunc = <function ai_provide_website_or_topic at 0x7fb3f647b130>
request = <FixtureRequest for <Function test_ai09p_free_user_generates_a_video_based_on_amazon_listing_that_contains_videos[amazon_product_with_videos3]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="04ee6d1d63d335e24af414cd1718958e")>, 'input1': 'amazon_product_with_videos3'}
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:205: in ai_provide_website_or_topic
bs_fail_with_traceback(browser, ai_provide_website_or_topic, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:203: in ai_provide_website_or_topic
provide_web_or_topic_autopilot(browser, inputs[input1])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="04ee6d1d63d335e24af414cd1718958e")>
ai_input = 'https://www.amazon.com/ZELUS-Weighted-Reflective-Strength-Weightlifting/dp/B07518RBH2/?_encoding=UTF8&pd_rd_w=sOKGv&c...T4C1GZ8K57TB4CM4
📸 Failure Screenshot:
⏱️ Duration: 378.46s
❌ Error:
fixturefunc = <function skip_the_educational_video at 0x7fb3f6491240>
request = <FixtureRequest for <Function test_ai13_new_user_tries_ai_generation_from_homepage_with_custom_dates__release>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="56ea990135a47fbc3a58e97c3b8fcf01")>}
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="56ea990135a47fbc3a58e97c3b8fcf01")>
@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(<
📸 Failure Screenshot:
⏱️ Duration: 485.60s
❌ Error:
fixturefunc = <function add_new_ai_post_today at 0x7f52282151b0>
request = <FixtureRequest for <Function test_ai06_free_user_can_generate_single_ai_post_from_planner>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="bf3e737968dcc094ac1a43bc11bb350c")>}
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_planner_page.py:981: in add_new_ai_post_today
bs_fail_with_traceback(browser, add_new_ai_post_today, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:979: in add_new_ai_post_today
generate_single_ai(browser, single_ai_description_input)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="bf3e737968dcc094ac1a43bc11bb350c")>
ai_input = 'Funny dogs video'
def generate_single_ai(browser, ai_input: str):
"""
Provides the description and generates a single AI video from the planner pop-up.
Single AI always generates voiceover videos
ai_input can be provide
📸 Failure Screenshot:
⏱️ Duration: 270.27s
❌ Error:
fixturefunc = <function ai_provide_website_or_topic at 0x7f5228566cb0>
request = <FixtureRequest for <Function test_ai08_free_user_generates_a_video_for_the_amazon_product_with_a_store>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="0817abf188e64c99c43396f376cca88a")>, 'input1': 'standard_amazon_product'}
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:205: in ai_provide_website_or_topic
bs_fail_with_traceback(browser, ai_provide_website_or_topic, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:203: in ai_provide_website_or_topic
provide_web_or_topic_autopilot(browser, inputs[input1])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="0817abf188e64c99c43396f376cca88a")>
ai_input = 'amazon.com/dp/B0BRH2RNHX'
def provide_web_or_topic_autopilot(browser, ai_input: str):
"""
ai_input (str): chosen website or topic from testdata.py
act
⏱️ Duration: 288.57s
❌ Error:
fixturefunc = <function ai_onboarding_timer at 0x7f52285b8820>
request = <FixtureRequest for <Function test_ai09p_free_user_generates_a_video_based_on_amazon_listing_that_contains_videos[amazon_product_with_videos2]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="07f9e4ce9fcb3f1663ae62714edc0754")>}
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:335: in ai_onboarding_timer
bs_fail_with_traceback(browser, ai_onboarding_timer, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:333: in ai_onboarding_timer
video_generation_screen_displayed(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="07f9e4ce9fcb3f1663ae62714edc0754")>
def video_generation_screen_displayed(browser):
"""
Verify that the video generation screen is displayed
"""
> assert is_visible(browser, AI_GENERATOR_TIMER, 10)
E AssertionError
pages/autopil
📸 Failure Screenshot:
⏱️ Duration: 297.64s
❌ Error:
fixturefunc = <function skip_the_educational_video at 0x7f52285b8dc0>
request = <FixtureRequest for <Function test_ai14_new_user_tries_ai_generation_from_homepage_for_amazon_product>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="e47226142b13c91d1c25f418f3256424")>}
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="e47226142b13c91d1c25f418f3256424")>
@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
📸 Failure Screenshot: