Test Results (15 tests)
⏱️ Duration: 18.41s
❌ Error:
self = <tests.test_autopilot.TestAutopilot object at 0x7f7e7104dbd0>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f7e71049ed0>
login_page = <pages.login_page.LoginPage object at 0x7f7e71049d80>
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_ai_specific_buttons_visible()
tests/test_autopilot.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:653: in assert_ai_specific_buttons_visible
self.page.locator(selector).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/
📸 Failure Screenshot:
⏱️ Duration: 14.02s
❌ Error:
self = <tests.test_autopilot.TestAutopilot object at 0x7f7e7104d2a0>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f7e6b46b1f0>
login_page = <pages.login_page.LoginPage object at 0x7f7e6b46a560>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
@pytest.mark.skip_sanity
def test_a05_replace_brand_colors_in_autopilot_wizard(
self, autopilot_page, login_page, base_url
):
"""
A05 Replace brand colors 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
When I try to replace colors → Brand colors are being replaced
When I try to delete a color → Brand color has been deleted
"""
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.replace_first_brand_color()
tests/test_autopilot.py:282:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:1091: in replace_first_brand_color
first_color.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 0x7f7e71048bb0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f7e6b447a30>
is_internal = False, title = None
📸 Failure Screenshot:
⏱️ Duration: 22.16s
❌ Error:
self = <tests.test_autopilot.TestAutopilot object at 0x7f7e7104ee90>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f7e6b59d0c0>
login_page = <pages.login_page.LoginPage object at 0x7f7e6b59cd60>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_a11_create_new_with_website(
self, autopilot_page, login_page, base_url
):
"""
A11 User provides a website in the Create new input
Feature scenario:
Given AI user is logged in
When User clicks the Create new button in header
Then Create new dropdown is displayed
When I provide website in the create new input
And I click the Generate button in the create new header
Then Business assets are fetched from the website
"""
login_page.login_directly(base_url, email_ai, get_password())
autopilot_page.go_to_planner(base_url)
autopilot_page.click_create_new_button()
autopilot_page.assert_create_new_dropdown_visible()
autopilot_page.provide_website_in_create_new(sample_ai_website)
autopilot_page.click_generate_in_create_new()
> autopilot_page.assert_business_assets_fetched()
tests/test_autopilot.py:448:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:1227: in assert_business_assets_fetched
self.page.locator(self.PROMO_BUSINESS_NAME_FETCHED).wait_for(
/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(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
📸 Failure Screenshot: