Test Results (3 tests)
⏱️ Duration: 622.37s
❌ Error:
fixturefunc = <function publish_tiktok_private at 0x7efe51966b00>
request = <FixtureRequest for <Function test_pub03_verify_publish_tiktok>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="36c9c5cbddb40425c535a2d64669053d")>}
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="36c9c5cbddb40425c535a2d64669053d")>
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: 595.44s
❌ Error:
fixturefunc = <function schedule_yt_li at 0x7efe51966e60>
request = <FixtureRequest for <Function test_pub04_verify_reschedule_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="e02fdc909cdaf5ccaa8178606654aee7")>}
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: 788.05s
❌ Error:
fixturefunc = <function open_planner_mobile at 0x7efe51954a60>
request = <FixtureRequest for <Function test_pub06_verify_planner_functionalities_on_mobile>>
kwargs = {'mob_browser': <selenium.webdriver.remote.webdriver.WebDriver (session="c02970d04e1f997d02e68b53e8bfa328")>}
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="c02970d04e1f997d02e68b53e8bfa328")>
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