Test Results (13 tests)
⏱️ Duration: 500.15s
❌ Error:
fixturefunc = <function opens_planner at 0x7fc655b88dc0>
request = <FixtureRequest for <Function test_pub01_verify_publish_and_schedule_for_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="49b086e90c29c52ec77d4ab93503a3a4")>}
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="49b086e90c29c52ec77d4ab93503a3a4")>
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: 908.84s
❌ Error:
fixturefunc = <function republish_the_video at 0x7fc655f65870>
request = <FixtureRequest for <Function test_pub02_verify_publish_yt_longer_60_sec>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="c17bbdc23fcd73f1c96f6d5b533b17a4")>}
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_dashboard_page.py:72: in republish_the_video
bs_fail_with_traceback(browser, republish_the_video, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_dashboard_page.py:70: in republish_the_video
republish_the_published_video(browser, 1)
pages/dashboard_page.py:108: in republish_the_published_video
do_click(browser, published_video)
helpers/common_helpers.py:200: in do_click
WebDriverWait(browser, sec, poll_frequency=0.4).until(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="c17bbdc23fcd73f1c96f6d5b533b17a4")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7fc65528e050>
message = ''
def unt
📸 Failure Screenshot:
⏱️ Duration: 421.15s
❌ Error:
fixturefunc = <function opens_planner at 0x7fc655b88dc0>
request = <FixtureRequest for <Function test_pub03_verify_publish_tiktok>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="42ff26b6f71aa67627c2abd87697e27b")>}
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="42ff26b6f71aa67627c2abd87697e27b")>
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: 967.10s
❌ Error:
fixturefunc = <function my_cal_post_duplication at 0x7fc655b89ea0>
request = <FixtureRequest for <Function test_pub05_verify_post_duplication_and_deletion>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="f47bfd3711df427277968dee5e5d0867")>}
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:147: in my_cal_post_duplication
bs_fail_with_traceback(browser, my_cal_post_duplication, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:145: in my_cal_post_duplication
my_cal_happy_path(browser, 1)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="f47bfd3711df427277968dee5e5d0867")>
no_scheduled = 1
def my_cal_happy_path(browser, no_scheduled: int):
"""
Verifies My Calendar with scheduled posts
it should find [no_scheduled] posts
The posts are being deleted at the end
"""
time.sleep(4)
scheduled_items = browser.find_e
📸 Failure Screenshot:
⏱️ Duration: 911.41s
❌ Error:
fixturefunc = <function open_planner_mobile at 0x7fc655d84940>
request = <FixtureRequest for <Function test_pub06_verify_planner_functionalities_on_mobile>>
kwargs = {'mob_browser': <selenium.webdriver.remote.webdriver.WebDriver (session="2125044d81ae7df8cf95c616f1967225")>}
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_mobile_view.py:113: in open_planner_mobile
bs_fail_with_traceback(mob_browser, open_planner_mobile, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_mobile_view.py:111: in open_planner_mobile
open_planner_mob(mob_browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mob_browser = <selenium.webdriver.remote.webdriver.WebDriver (session="2125044d81ae7df8cf95c616f1967225")>
def open_planner_mob(mob_browser):
"""
Opens Planner directly
"""
mob_browser.get(my_calendar_url)
close_ai_onboarding(mob_browser)
time.sleep(5)
get_title = mob_browser.title
> assert get_title == planner_title
E AssertionError