Test Results (13 tests)
⏱️ Duration: 419.96s
❌ Error:
fixturefunc = <function clean_scheduled_posts at 0x7f7d83e784c0>
request = <FixtureRequest for <Function test_pub01_verify_publish_and_schedule_for_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="46ae7bc24b4be1eb7defc91ae8521373")>}
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:19: in clean_scheduled_posts
bs_fail_with_traceback(browser, clean_scheduled_posts, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:16: in clean_scheduled_posts
clean_up_all_posts(browser, 2)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="46ae7bc24b4be1eb7defc91ae8521373")>
no_month = 2, post_type = 'all'
def clean_up_all_posts(browser, no_month: int, post_type="all"):
"""
Cleans My Calendar (Planner) based on the post_type. On default, it clears all posts.
Function fails for the current month if it has published or error posts & p
📸 Failure Screenshot:
⏱️ Duration: 498.56s
❌ Error:
fixturefunc = <function opens_planner at 0x7f7d83e78dc0>
request = <FixtureRequest for <Function test_pub02_verify_publish_yt_longer_60_sec>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="30b27098dd5f3a36dec1a8a8db93e34f")>}
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:62: in opens_planner
bs_fail_with_traceback(browser, opens_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:60: in opens_planner
verify_user_on_planner(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="30b27098dd5f3a36dec1a8a8db93e34f")>
waiting = 10
def verify_user_on_planner(browser, waiting=10):
"""
Verifies if we are on Planner page
"""
> assert is_visible(browser, MY_CAL_CURRENT_DAY, waiting)
E AssertionError
pages/planner_page.py:20: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 687.29s
❌ Error:
fixturefunc = <function opens_planner at 0x7f7d83e78dc0>
request = <FixtureRequest for <Function test_pub03_verify_publish_tiktok>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="f55c1501761d64493c1398c259dfebc0")>}
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:62: in opens_planner
bs_fail_with_traceback(browser, opens_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:60: in opens_planner
verify_user_on_planner(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="f55c1501761d64493c1398c259dfebc0")>
waiting = 10
def verify_user_on_planner(browser, waiting=10):
"""
Verifies if we are on Planner page
"""
> assert is_visible(browser, MY_CAL_CURRENT_DAY, waiting)
E AssertionError
pages/planner_page.py:20: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 565.83s
❌ Error:
fixturefunc = <function opens_planner at 0x7f7d83e78dc0>
request = <FixtureRequest for <Function test_pub04_verify_reschedule_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="84c205e5652d222d2e4cd8e133666d0f")>}
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:62: in opens_planner
bs_fail_with_traceback(browser, opens_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:60: in opens_planner
verify_user_on_planner(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="84c205e5652d222d2e4cd8e133666d0f")>
waiting = 10
def verify_user_on_planner(browser, waiting=10):
"""
Verifies if we are on Planner page
"""
> assert is_visible(browser, MY_CAL_CURRENT_DAY, waiting)
E AssertionError
pages/planner_page.py:20: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 575.65s
❌ Error:
fixturefunc = <function opens_planner at 0x7f7d83e78dc0>
request = <FixtureRequest for <Function test_pub05_verify_post_duplication_and_deletion>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="587dc4c1cc87bf09152e47201ad5090c")>}
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:62: in opens_planner
bs_fail_with_traceback(browser, opens_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:60: in opens_planner
verify_user_on_planner(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="587dc4c1cc87bf09152e47201ad5090c")>
waiting = 10
def verify_user_on_planner(browser, waiting=10):
"""
Verifies if we are on Planner page
"""
> assert is_visible(browser, MY_CAL_CURRENT_DAY, waiting)
E AssertionError
pages/planner_page.py:20: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 474.93s
❌ Error:
fixturefunc = <function opens_planner at 0x7f7d83e78dc0>
request = <FixtureRequest for <Function test_pub06_verify_planner_functionalities_on_mobile>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="7f0f11849cdea3f067c10c76f8a49139")>}
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:62: in opens_planner
bs_fail_with_traceback(browser, opens_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:60: in opens_planner
verify_user_on_planner(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="7f0f11849cdea3f067c10c76f8a49139")>
waiting = 10
def verify_user_on_planner(browser, waiting=10):
"""
Verifies if we are on Planner page
"""
> assert is_visible(browser, MY_CAL_CURRENT_DAY, waiting)
E AssertionError
pages/planner_page.py:20: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 590.77s
❌ Error:
fixturefunc = <function opens_planner at 0x7f7d83e78dc0>
request = <FixtureRequest for <Function test_pub08_verify_external_share_of_regular_scheduled_post>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="499511e29b3051d95860242c695566a3")>}
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:62: in opens_planner
bs_fail_with_traceback(browser, opens_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:60: in opens_planner
verify_user_on_planner(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="499511e29b3051d95860242c695566a3")>
waiting = 10
def verify_user_on_planner(browser, waiting=10):
"""
Verifies if we are on Planner page
"""
> assert is_visible(browser, MY_CAL_CURRENT_DAY, waiting)
E AssertionError
pages/planner_page.py:20: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 608.73s
❌ Error:
fixturefunc = <function opens_planner at 0x7f7d83e78dc0>
request = <FixtureRequest for <Function test_pub09_download_a_file_from_planner_preview>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="f8fd58ff7730339bfc0d8346fe85f8ba")>}
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:62: in opens_planner
bs_fail_with_traceback(browser, opens_planner, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:60: in opens_planner
verify_user_on_planner(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="f8fd58ff7730339bfc0d8346fe85f8ba")>
waiting = 10
def verify_user_on_planner(browser, waiting=10):
"""
Verifies if we are on Planner page
"""
> assert is_visible(browser, MY_CAL_CURRENT_DAY, waiting)
E AssertionError
pages/planner_page.py:20: AssertionError
📸 Failure Screenshot:
⏱️ Duration: 1077.63s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="48ccab9294ce1317a6a2dd7987867be0")>
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 0x7f7d842b8f70>
request = <FixtureRequest for <Function test_pub11_create_a_new_aspect_ratio_for_an_ai_post_in_the_publisher>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="48ccab9294ce1317a6a2dd7987867be0")>, 'number': '5'}
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)
v
📸 Failure Screenshot:
⏱️ Duration: 214.85s
❌ Error:
fixturefunc = <function ai_provide_website_or_topic at 0x7f7d8400a440>
request = <FixtureRequest for <Function test_pub13_new_user_verifies_bulk_delete_action_in_the_planner>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="375761d47e46f04508c470623f72fa1a")>, 'input1': 'sample_ai_website'}
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="375761d47e46f04508c470623f72fa1a")>
ai_input = 'promoai.io'
def provide_web_or_topic_autopilot(browser, ai_input: str):
"""
ai_input (str): chosen website or topic from testdata.py
actual: sample_ai_topic = 'funny c
📸 Failure Screenshot: