⏱️ Duration: 441.42s
❌ Error:
fixturefunc = <function publish_tiktok_private at 0x7f025b2e29e0>
request = <FixtureRequest for <Function test_pub03_verify_publish_tiktok>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="768c2cc3543e535e7ae219653de6dc37")>}
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)
pages/publisher_page.py:787: in publish_tiktok_as_private
click_publish_btn(browser, publish_status, 'TikTok')
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="768c2cc3543e535e7ae219653de6dc37")>
status = 'Ready to publish', post_type = 'TikTok'
def click_publish_btn(browser, status, post_type="any"):
"""
Clicks on Publish button
status: Assertions and flow de
📸 Failure Screenshot:
⏱️ Duration: 110.54s
❌ Error:
fixturefunc = <function select_ai_post at 0x7f025b55bd90>
request = <FixtureRequest for <Function test_pub13_new_user_verifies_bulk_delete_action_in_the_planner>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="96a36eca97e315295ebc9ebffa582f3c")>}
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:1016: in select_ai_post
bs_fail_with_traceback(browser, select_ai_post, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_autopilot_page.py:1014: in select_ai_post
select_ai_posts(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="96a36eca97e315295ebc9ebffa582f3c")>
def select_ai_posts(browser):
"""
Selecting dot on first AI post and verification if the bulk panel is open
"""
do_hover(browser, PLANNER_1ST_SUGGESTED_ITEM)
> assert is_visible(browser, BULK_DOT_SELECTOR)
E AssertionError
pages/autopilot_page.py:1155: AssertionError
📸 Failure Screenshot: