Test Results (8 tests)
⏱️ Duration: 557.59s
❌ Error:
fixturefunc = <function add_drafts_youtube_linkedin_linkedin_page at 0x7ff5bdcd4790>
request = <FixtureRequest for <Function test_pub01_verify_publish_and_schedule_for_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="ada42ea242c5e5ff396f345905893e34")>}
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:360: in add_drafts_youtube_linkedin_linkedin_page
bs_fail_with_traceback(browser, add_drafts_youtube_linkedin_linkedin_page, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:354: in add_drafts_youtube_linkedin_linkedin_page
unselect_all_social_accounts(browser)
pages/publisher_page.py:611: in unselect_all_social_accounts
do_click(browser, account)
helpers/common_helpers.py:201: in do_click
EC.element_to_be_clickable(by_locator)).click()
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:93: in click
self._execute(Command.CLICK_ELEMENT)
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webeleme
📸 Failure Screenshot:
⏱️ Duration: 522.54s
❌ Error:
fixturefunc = <function add_draft_yt at 0x7ff5bdcd4ca0>
request = <FixtureRequest for <Function test_pub02_verify_publish_yt_longer_60_sec>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="7f6e636745fc8bc64a4047b3670f2a28")>}
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:391: in add_draft_yt
bs_fail_with_traceback(browser, add_draft_yt, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:387: in add_draft_yt
unselect_all_social_accounts(browser)
pages/publisher_page.py:611: in unselect_all_social_accounts
do_click(browser, account)
helpers/common_helpers.py:201: in do_click
EC.element_to_be_clickable(by_locator)).click()
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:93: in click
self._execute(Command.CLICK_ELEMENT)
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:394: in _execute
return self._parent.execute(command, params)
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriv
📸 Failure Screenshot:
⏱️ Duration: 561.85s
❌ Error:
fixturefunc = <function add_draft_tiktok at 0x7ff5bdcd4e50>
request = <FixtureRequest for <Function test_pub03_verify_publish_tiktok>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="a2b2ef8e0786ef5e949478a381a0e49c")>}
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:401: in add_draft_tiktok
bs_fail_with_traceback(browser, add_draft_tiktok, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:397: in add_draft_tiktok
unselect_all_social_accounts(browser)
pages/publisher_page.py:611: in unselect_all_social_accounts
do_click(browser, account)
helpers/common_helpers.py:200: in do_click
WebDriverWait(browser, sec, poll_frequency=0.4).until(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="a2b2ef8e0786ef5e949478a381a0e49c")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7ff5bc320a60>
message = ''
def until(self, method: Callable[[WebDri
📸 Failure Screenshot:
⏱️ Duration: 455.23s
❌ Error:
fixturefunc = <function add_drafts_yt_li at 0x7ff5bdcd4940>
request = <FixtureRequest for <Function test_pub04_verify_reschedule_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b4147c696487b35b48251a05a76926e7")>}
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:371: in add_drafts_yt_li
bs_fail_with_traceback(browser, add_drafts_yt_li, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:366: in add_drafts_yt_li
unselect_all_social_accounts(browser)
pages/publisher_page.py:611: in unselect_all_social_accounts
do_click(browser, account)
helpers/common_helpers.py:201: in do_click
EC.element_to_be_clickable(by_locator)).click()
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:93: in click
self._execute(Command.CLICK_ELEMENT)
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:394: in _execute
return self._parent.execute(command, params)
venv/lib/python3.10/site-packages/selenium
📸 Failure Screenshot:
⏱️ Duration: 548.19s
❌ Error:
fixturefunc = <function add_draft_li at 0x7ff5bdcd4af0>
request = <FixtureRequest for <Function test_pub06_verify_planner_functionalities_on_mobile>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="d324b131e6b77029f97347e9d013b67f")>}
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:381: in add_draft_li
bs_fail_with_traceback(browser, add_draft_li, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_publisher_page.py:377: in add_draft_li
unselect_all_social_accounts(browser)
pages/publisher_page.py:611: in unselect_all_social_accounts
do_click(browser, account)
helpers/common_helpers.py:201: in do_click
EC.element_to_be_clickable(by_locator)).click()
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:93: in click
self._execute(Command.CLICK_ELEMENT)
venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:394: in _execute
return self._parent.execute(command, params)
venv/lib/python3.10/site-packages/selenium/webdriver/remot
📸 Failure Screenshot:
⏱️ Duration: 297.13s
❌ Error:
fixturefunc = <function check_user_in_publisher at 0x7ff5bdcd6710>
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="47a7e79797353c6f5dd3a355a9ef5f94")>}
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:553: in check_user_in_publisher
bs_fail_with_traceback(browser, check_user_in_publisher, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="47a7e79797353c6f5dd3a355a9ef5f94")>
@then('I verify user is redirected to the publisher post view')
def check_user_in_publisher(browser):
try:
> assert is_visible(browser, PUBLISH_POST_BTN, 10)
E assert False
E + where False = is_visible(<selenium.webdriver.remote.webdriver.WebDriver (session="47a7e79797353c6f5dd3a355a9ef5f94")>, ('xpath', '//BUTTON[@data
📸 Failure Screenshot:
⏱️ Duration: 99.05s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="3ff23a6754a7d8599babd526163dc0b9")>
@then('I assert close the button closes the pop-up')
def close_learn_popup(browser):
try:
> do_click(browser, AI_CLOSE_CROP_MODAL)
tests/test_assertion.py:427:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helpers/common_helpers.py:200: in do_click
WebDriverWait(browser, sec, poll_frequency=0.4).until(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="3ff23a6754a7d8599babd526163dc0b9")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7ff5bc3569e0>
message = ''
def until(self, method: Callable[[WebDriver], Union[Literal[False], T]], message: str = "") -> T:
"""Calls the method provided with the driver as an argument until the \
return value does not evaluate to ``False``.
:param method: callable(WebDriver)
:param message: optional message for :exc:`TimeoutException`
:returns: the result of the last call to `method`
:raises: :exc:`selenium.common.exceptions.TimeoutException` if timeout occurs
"""
screen = None
stacktrace = None
end_time = time.monotonic() + self._timeout
while True:
try:
value = method(self._driver)
if value:
return value
except self._ignored_exceptions as exc:
screen = getattr(exc, "screen", None)
stacktrace = getattr(exc, "stacktrace", None)
time.sleep(self._poll)
if time.monotonic() > end_time:
break
> raise TimeoutException(message, screen, stacktrace)
E selenium.common.exceptions.TimeoutException: Message:
E Stacktrace:
E #0 0x5f5ee04450ca <unknown>
E #1 0x5f5ee01112b0 <unknown>
E #
📸 Failure Screenshot: