Test Results (5 tests)
⏱️ Duration: 608.10s
❌ Error:
fixturefunc = <function publish_tiktok_private at 0x7fa743e8eb00>
request = <FixtureRequest for <Function test_pub03_verify_publish_tiktok>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="95cef7a0a354811bb4f584e32a4f0f3f")>}
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_publisher_page.py:219: in publish_tiktok_private
bs_fail_with_traceback(browser, publish_tiktok_private, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:217: in publish_tiktok_private
publish_tiktok_as_private(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="95cef7a0a354811bb4f584e32a4f0f3f")>
def publish_tiktok_as_private(browser):
"""
Publishes one private post to TikTok
Social accounts are always connected, this test doesn't cover the connection flow
"""
time.sleep(2)
add_video_to_post(browser)
do_send_keys(browser, ADD_TEXT_TO_TIKTOK_
📸 Failure Screenshot:
⏱️ Duration: 531.12s
❌ Error:
fixturefunc = <function schedule_yt_li at 0x7fa743e8ee60>
request = <FixtureRequest for <Function test_pub04_verify_reschedule_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="3f78f9ee41c495d0edd85f7c272a25d7")>}
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_publisher_page.py:235: in schedule_yt_li
bs_fail_with_traceback(browser, schedule_yt_li, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:233: in schedule_yt_li
schedule_posts_yt_and_li(browser)
pages/publisher_page.py:826: in schedule_posts_yt_and_li
schedule_ready_draft(browser, 2)
pages/publisher_page.py:739: in schedule_ready_draft
do_click(browser, radio_elem, 10)
helpers/common_helpers.py:200: in do_click
WebDriverWait(browser, sec, poll_frequency=0.4).until(
venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py:92: in until
value = method(self._driver)
venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py:356: in _predicate
📸 Failure Screenshot:
⏱️ Duration: 742.13s
❌ Error:
fixturefunc = <function open_planner_mobile at 0x7fa743ed4a60>
request = <FixtureRequest for <Function test_pub06_verify_planner_functionalities_on_mobile>>
kwargs = {'mob_browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b17664de58ebd1da36aabd421c51a5bb")>}
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="b17664de58ebd1da36aabd421c51a5bb")>
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