Test Results (9 tests)
⏱️ Duration: 569.56s
❌ Error:
fixturefunc = <function add_drafts_youtube_linkedin_linkedin_page at 0x7f2a611d4790>
request = <FixtureRequest for <Function test_pub01_verify_publish_and_schedule_for_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="5ee3b8c98a3e806dac12a6bd688bb335")>}
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: 553.50s
❌ Error:
fixturefunc = <function add_draft_yt at 0x7f2a611d4ca0>
request = <FixtureRequest for <Function test_pub02_verify_publish_yt_longer_60_sec>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="b0b601d14e55f60fcc38d77474207a52")>}
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: 520.89s
❌ Error:
fixturefunc = <function add_draft_tiktok at 0x7f2a611d4e50>
request = <FixtureRequest for <Function test_pub03_verify_publish_tiktok>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="39e2848c93330ce69649ce44483a4d35")>}
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: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/w
📸 Failure Screenshot:
⏱️ Duration: 452.34s
❌ Error:
fixturefunc = <function add_drafts_yt_li at 0x7f2a611d4940>
request = <FixtureRequest for <Function test_pub04_verify_reschedule_yt_shorts_and_li_posts>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="bf370ffa1282083ab8aa9ac593db1b06")>}
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: 523.74s
❌ Error:
fixturefunc = <function add_draft_li at 0x7f2a611d4af0>
request = <FixtureRequest for <Function test_pub06_verify_planner_functionalities_on_mobile>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="eab4714dd30d99d9534d770b79bce5c0")>}
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:200: in do_click
WebDriverWait(browser, sec, poll_frequency=0.4).until(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="eab4714dd30d99d9534d770b79bce5c0")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7f2a5f053c70>
message = ''
def until(self, method: Callable[[Web
📸 Failure Screenshot:
⏱️ Duration: 471.28s
❌ Error:
fixturefunc = <function add_draft_li at 0x7f2a611d4af0>
request = <FixtureRequest for <Function test_pub08_verify_external_share_of_regular_scheduled_post>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="be0d2af538ed97ac7e2d9dc122aa124c")>}
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:200: in do_click
WebDriverWait(browser, sec, poll_frequency=0.4).until(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="be0d2af538ed97ac7e2d9dc122aa124c")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7f2a6023ac20>
message = ''
def until(self, method: Callab
📸 Failure Screenshot:
⏱️ Duration: 282.66s
❌ Error:
fixturefunc = <function check_user_in_publisher at 0x7f2a611d6710>
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="6c73f6e49e6a5d2e8108e59940a62480")>}
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="6c73f6e49e6a5d2e8108e59940a62480")>
@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="6c73f6e49e6a5d2e8108e59940a62480")>, ('xpath', '//BUTTON[@data
📸 Failure Screenshot:
⏱️ Duration: 91.29s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="524b205b2f6bdfc8ec03b2e5d7711cd5")>
@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="524b205b2f6bdfc8ec03b2e5d7711cd5")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7f2a5f096200>
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 0x5e49491bf0ca <unknown>
E #1 0x5e4948e8b2b0 <unknown>
E #
📸 Failure Screenshot: