⏱️ Duration: 308.99s
❌ Error:
self = <tests.test_autopilot.TestAutopilot object at 0x7ff34eeedc60>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7ff34eeea920>
login_page = <pages.login_page.LoginPage object at 0x7ff34eeea080>
base_url = 'https://promo.com'
@pytest.mark.skip_testenv
def test_a01p_verify_actions_on_ai_posts_in_planner(
self, autopilot_page, login_page, base_url
):
"""
A01P Verify actions on the AI posts in planner (prod only)
Same scenario as A01T — runs on prod, skipped on testenv.
"""
login_page.login_directly(base_url, email_ai, get_password())
autopilot_page.go_to_planner(base_url)
autopilot_page.ensure_ai_posts_exist()
# i-icon tooltip
autopilot_page.hover_i_icon(1)
autopilot_page.assert_i_icon_tooltip_visible(1)
autopilot_page.assert_ai_badge_tooltip_visible()
# Post 1: full preview checks + regeneration
autopilot_page.open_ai_post(1)
autopilot_page.assert_ai_post_tag_visible()
autopilot_page.assert_aspect_ratios_visible()
autopilot_page.assert_preview_dropdown_buttons_visible()
autopilot_page.assert_preview_cta_buttons_visible()
autopilot_page.assert_preview_cta_tooltips()
autopilot_page.assert_video_loaded()
autopilot_page.assert_ai_specific_buttons_visible()
> autopilot_page.check_single_post_regeneration()
tests/test_autopilot.py:165:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:714: in check_single_post_regeneration
self.wait_for_regeneration_complete(timeout)
pages/autopilot_page.py:704: in wait_for_regeneration_complete
loader.wait_for(state="hidden", timeout=timeout)
/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.w
📸 Failure Screenshot:
⏱️ Duration: 23.40s
❌ Error:
self = <tests.test_autopilot.TestAutopilot object at 0x7ff34eeec490>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7ff34d35dab0>
login_page = <pages.login_page.LoginPage object at 0x7ff34d35e650>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_a04_verify_logo_and_watermark_in_autopilot_wizard(
self, autopilot_page, login_page, base_url
):
"""
A04 Verify logo and watermark functionalities in the autopilot wizard
Feature scenario:
Given AI user is logged in
When I open Planner
And I click Generate video posts in the banner
And I select the "Promo.com" brand (has logo/watermark/colors configured)
Then Business assets logo dropdown is displayed
Then I verify dropdown if 2 options are displayed
And I verify if watermark is filled
And I verify if watermark has dropdown options
Note: the wizard defaults to whichever brand was last selected, and the
"Bed Head" scratch brand on this account has no logo/watermark/colors set.
We explicitly select "Promo.com" (the account's fully-configured brand)
so this test doesn't depend on fragile leftover UI state.
"""
login_page.login_directly(base_url, email_ai, get_password())
autopilot_page.go_to_planner(base_url)
autopilot_page.click_generate_in_banner()
> autopilot_page.select_existing_brand("Promo.com")
tests/test_autopilot.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:1950: in select_existing_brand
self.page.locator(self.AI_BUSINESS_NAME_INPUT).wait_for(state="visible", timeout=self.T_SLOW)
/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(
/
📸 Failure Screenshot: