Test Results (15 tests)
⏱️ Duration: 207.13s
❌ Error:
fixturefunc = <function ai_video_posts_planner at 0x7f4322f81360>
request = <FixtureRequest for <Function test_ai01_free_user_can_generate_30_ai_posts_and_cant_render_a_video>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="5d33ae451cb0549e93cb41e58e241495")>, 'number_of_batch': '1', 'posts_amount': '30'}
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:411: in ai_video_posts_planner
bs_fail_with_traceback(browser, ai_video_posts_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:409: in ai_video_posts_planner
calculate_ai_generated_posts(browser, int(posts_amount), int(number_of_batch), GlobalVars.first_batch_posts["value"])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="5d33ae451cb0549e93cb41e58e241495")>
expected_posts_number = 30, number_of_batch = 1, posts_in_batch = 30
def calculate_ai_generated_posts(browser, expected_posts_number: int, n
📸 Failure Screenshot:
⏱️ Duration: 138.87s
❌ Error:
fixturefunc = <function ai_video_posts_planner at 0x7f4322f81360>
request = <FixtureRequest for <Function test_ai05_video_generation_started_from_chatgpt_store>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="ee2854e24386c2d40bcf492acd192c8c")>, 'number_of_batch': '1', 'posts_amount': '7'}
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:411: in ai_video_posts_planner
bs_fail_with_traceback(browser, ai_video_posts_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:409: in ai_video_posts_planner
calculate_ai_generated_posts(browser, int(posts_amount), int(number_of_batch), GlobalVars.first_batch_posts["value"])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="ee2854e24386c2d40bcf492acd192c8c")>
expected_posts_number = 7, number_of_batch = 1, posts_in_batch = 7
def calculate_ai_generated_posts(browser, expected_posts_number: int, number_of_batch=1,
📸 Failure Screenshot:
⏱️ Duration: 73.49s
❌ Error:
fixturefunc = <function ai_onboarding_timer at 0x7f4322f80550>
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="631d562ca70da843950493735354f46e")>}
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="631d562ca70da843950493735354f46e")>
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: 72.41s
❌ Error:
fixturefunc = <function ai_onboarding_timer at 0x7f40073c60e0>
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="4ed8b396469f34569124faae2a861d11")>}
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="4ed8b396469f34569124faae2a861d11")>
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/autopilot_page.py:524: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 63.59s
❌ Error:
fixturefunc = <function ai_onboarding_timer at 0x7f40073c60e0>
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="9187243cf20bde45e3f4db71eac245eb")>}
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="9187243cf20bde45e3f4db71eac245eb")>
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: 71.89s
❌ Error:
fixturefunc = <function ai_onboarding_timer at 0x7f40073c60e0>
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="23fe3160c69e398676a146d28915b107")>}
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="23fe3160c69e398676a146d28915b107")>
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: 475.12s
❌ Error:
fixturefunc = <function user_redirected_after_video_generation at 0x7f40073c6d40>
request = <FixtureRequest for <Function test_ai14_new_user_tries_ai_generation_from_homepage_for_amazon_product>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="3435b5155647fde60b463d10051f5624")>}
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="3435b5155647fde60b463d10051f5624")>
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 se
📸 Failure Screenshot: