⏱️ Duration: 132.60s
❌ Error:
page = <Page url='https://promo.com/planner/my-calendar#closed-ai-video-preview'>
base_url = 'https://promo.com'
def test_ai06_single_ai_post_today_and_tomorrow(page: Page, base_url: str) -> None:
"""AI06: Logged-in user adds a single AI post for today and tomorrow from the planner."""
login_page = LoginPage(page)
autopilot_page = AutopilotPage(page)
login_page.login_directly(base_url, email_ai, get_password())
autopilot_page.go_to_planner(base_url)
autopilot_page.skip_cookies()
# Dismiss onboarding if present
try:
page.locator('[data-qaid="onboarding-close"]').click(timeout=5_000)
except PlaywrightTimeoutError:
pass
autopilot_page.add_single_ai_post_today(single_ai_description_input)
> autopilot_page.add_single_ai_post_tomorrow(single_ai_description_input)
tests/ai_generation/test_ai_generation.py:117:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:2383: in add_single_ai_post_tomorrow
self.open_single_ai_post_popup_tomorrow()
pages/autopilot_page.py:2342: in open_single_ai_post_popup_tomorrow
plus_btn.wait_for(state="visible", timeout=self.T_ACTION)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:20539: in wait_for
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:748: in wait_for
await self._frame.wait_for_selector(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:394: in wait_for_selector
await self._channel.send(
/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 0x7f427dd4ef80>
cb = <function Channel.send.<locals>.<lambda> at 0x7f427d24b010>
is_internal = False, t
📸 Failure Screenshot: