⏱️ Duration: 110.42s
❌ Error:
self = <tests.test_chat_based_editor.TestChatBasedEditor object at 0x7f87f24c5d50>
login_page = <pages.login_page.LoginPage object at 0x7f87f249f5e0>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f87f249f610>
base_url = 'https://promo.com', prompt_key = 'caption'
@pytest.mark.skip_smoke
@pytest.mark.parametrize("prompt_key", [
"caption",
"linebreak",
"music",
"outro_values",
"remove_scene",
"text_color",
"text_font",
"logo",
"text_position",
"translation",
"add_scene",
"change_watermark",
])
def test_cbe01_cbe_service_chains_sanity(
self, login_page, autopilot_page, base_url, prompt_key
):
"""
CBE01 CBE service chains sanity
Login as AI user → open Planner → ensure AI posts exist → open 1st
non-voice-over AI post that offers CBE
→ open CBE → send prompt → verify AI response → verify save enabled
→ verify discard popup → save video.
"""
login_page.login_directly(base_url, email_ai, get_password())
autopilot_page.go_to_planner(base_url)
> autopilot_page.ensure_ai_posts_exist()
tests/test_chat_based_editor.py:77:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:457: in ensure_ai_posts_exist
self.wait_for_posts_generated(timeout=360_000)
pages/autopilot_page.py:545: in wait_for_posts_generated
self.page.locator(self.PLANNER_AI_BADGE).first.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 se
📸 Failure Screenshot:
⏱️ Duration: 69.41s
❌ Error:
self = <tests.test_chat_based_editor.TestChatBasedEditor object at 0x7f87f24c6350>
login_page = <pages.login_page.LoginPage object at 0x7f87f027b6d0>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f87f0c4f0a0>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_cbe06_upload_via_filestack_facebook_page(
self, login_page, autopilot_page, base_url
):
"""
CBE06 Upload via Filestack Facebook Page @skip_smoke
Login as AI user → go to planner → open 1st non-voice-over AI post
with CBE → open CBE
→ send 'uploaded_video' prompt → open Filestack FB Pages source
→ authenticate with FB test account → select first page/album/asset
→ upload and verify progress bar.
"""
login_page.login_directly(base_url, email_ai, get_password())
autopilot_page.go_to_planner(base_url)
autopilot_page.ensure_ai_posts_exist(min_count=1)
autopilot_page.open_first_ai_post_with_cbe(start=1, skip_voice_over=True)
autopilot_page.open_cbe()
autopilot_page.send_cbe_prompt_and_wait(CBE_PROMPTS["uploaded_video"])
> autopilot_page.upload_via_filestack_facebook(base_url)
tests/test_chat_based_editor.py:211:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:1856: in upload_via_filestack_facebook
self._find_filestack_locator(self.AICHAT_FILESTACK_1ST_FB_PAGE, timeout=self.T_SLOW).click()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pages.autopilot_page.AutopilotPage object at 0x7f87f0c4f0a0>
selector = '[data-qaid="facebook-page-item-0"]', timeout = 20000
def _find_filestack_locator(self, selector: str, timeout: int = 15_000):
"""
Returns a locator for `selector` that is actually visible — checking the
main page first, then all child frames (Filestack renders its picker in
an iframe on some con
📸 Failure Screenshot: