⏱️ Duration: 30.01s
❌ Error:
self = <tests.test_active_cast.TestActiveCast object at 0x7f965c08e1d0>
page = <Page url='about:blank'>, base_url = 'https://promo.com'
def test_as01_smoke_logged_in_create_page(self, page: Page, base_url: str) -> None:
"""Logged-in user on /active-cast sees header nav, curated catalog preview with category tags, recreate-btn on hover, and lands on /generate-from/."""
login_page = LoginPage(page)
> login_page.login_directly(base_url, general_mail(), get_password())
tests/test_active_cast.py:26:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:107: in login_directly
self.go_to_login_page(base_url)
pages/login_page.py:43: in go_to_login_page
self.page.goto(f"{base_url}/login", wait_until="domcontentloaded")
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:9875: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:560: in goto
return await self._main_frame.goto(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:156: in goto
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 0x7f965c08cb20>
cb = <function Channel.send.<locals>.<lambda> at 0x7f965b5cb400>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, title: str = None
) -> Any:
if self._api_zone.get():
return await cb()
task = asyncio.current_task(self._loop)
parsed_st = _attach_api_call_information(
getattr(task, "__pw_stack__", None) or _capture_stack_trace(),
is_internal,
title,
)
self._api_zone.set(par
⏱️ Duration: 42.07s
❌ Error:
self = <tests.test_active_cast.TestActiveCast object at 0x7f965c08cdc0>
page = <Page url='https://promo.com/activecast/generate?imageId=1531327&imageSource=storyblocks&imageTitle=Stylish+urban+self...2.0%26stockItemId%3D1531327%26resolution%3D&term=discounted&searchType=category&searchTerm=discounted&searchRatio=all'>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_as05_full_generation_flow(self, page: Page, base_url: str) -> None:
"""Logged-in user activates an image, configures Kling 3 Standard generation, and waits for video result."""
login_page = LoginPage(page)
login_page.login_directly(base_url, general_mail(), get_password())
login_page.assert_logged_in_as(fullname)
active_cast = ActiveCastPage(page)
active_cast.navigate_to_active_cast(base_url)
active_cast.click_create_in_nav()
active_cast.assert_grid_has_at_least_20_items()
active_cast.hover_first_item_and_click_activate()
active_cast.select_second_action_template()
active_cast.fill_scene_action(
"The person is indoors, wearing the same pink polo shirt. "
"Preserve their identity, hairstyle, outfit. The person is terrified and shouts."
)
active_cast.assert_speaker_chip_avatar_visible()
active_cast.fill_scene_text(
"Hi, I'm your ActiveStock Terrified Avatar. "
"I can help you create inspiring content with real footage from places all over the world."
)
active_cast.select_model("Kling 3 Standard")
duration_before_sync = active_cast.get_duration_label()
active_cast.enable_smart_sync()
active_cast.assert_duration_auto_synced_and_locked(duration_before_sync)
active_cast.click_generate_video()
> active_cast.assert_generating_in_progress()
tests/test_active_cast.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/active
📸 Failure Screenshot: