⏱️ Duration: 30.04s
❌ Error:
self = <test_publisher.TestPublisherFacebook object at 0x7f3e112798a0>
login_page = <pages.login_page.LoginPage object at 0x7f3e11260d00>
planner_page = <pages.planner_page.PlannerPage object at 0x7f3e112619c0>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f3e11262050>
base_url = 'https://promo.com'
def test_pu06_new_post_button_today_and_tomorrow(
self, login_page, planner_page, publisher_page, base_url
):
login_page.login_directly(base_url, general_mail(), get_password())
planner_page.go_to_my_calendar(base_url)
planner_page.verify_on_planner()
> planner_page.add_new_post_today()
tests/publisher_facebook/test_publisher.py:284:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/planner_page.py:204: in add_new_post_today
new_post_link.click()
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:17876: in click
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:165: in click
return await self._frame._click(self._selector, strict=True, **params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:593: in _click
await self._channel.send("click", self._timeout, locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7f3e11279870>
cb = <function Channel.send.<locals>.<lambda> at 0x7f3e1045f6d0>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, title: str = None
) -> Any:
if self._api_zone.get():
return await cb()
task = asyncio.current_task(self._loop)
parsed_st = _attach_api_call_information(
getattr(task,
📸 Failure Screenshot: