⏱️ Duration: 37.80s
❌ Error:
self = <tests.test_chat_based_editor.TestChatBasedEditor object at 0x7f760d7a5780>
login_page = <pages.login_page.LoginPage object at 0x7f760d7562f0>
autopilot_page = <pages.autopilot_page.AutopilotPage object at 0x7f760d756d10>
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 AI post → 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_ai_post(1)
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:199:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/autopilot_page.py:1704: in upload_via_filestack_facebook
self._find_filestack_locator(self.AICHAT_FILESTACK_1ST_FB_ALBUM, timeout=self.T_SLOW).click()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pages.autopilot_page.AutopilotPage object at 0x7f760d756d10>
selector = '[data-qaid="facebook-album-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 configurations).
"""
import time as _time
deadline =
📸 Failure Screenshot: