⏱️ Duration: 45.06s
❌ Error:
self = <tests.test_active_stock.TestActiveStock object at 0x7fbdf9fe58d0>
page = <Page url='https://promo.com/login'>, base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_as04_generate_page_controls_after_image_activation(self, page: Page, base_url: str) -> None:
"""Logged-in user activates an image from the create grid and verifies all generator controls are visible."""
login_page = LoginPage(page)
> login_page.login_directly(base_url, general_mail(), get_password())
tests/test_active_stock.py:72:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:116: in login_directly
self.page.wait_for_function(
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:12761: in wait_for_function
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:1151: in wait_for_function
return await self._main_frame.wait_for_function(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:940: in wait_for_function
await self._channel.send("waitForFunction", self._timeout, params)
/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 0x7fbdf9fe7d90>
cb = <function Channel.send.<locals>.<lambda> at 0x7fbdf9560820>
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(parsed
📸 Failure Screenshot:
⏱️ Duration: 34.24s
❌ Error:
self = <tests.test_active_stock.TestActiveStock object at 0x7fbdf9fe6200>
page = <Page url='https://promo.com/login'>, base_url = 'https://promo.com'
@pytest.mark.skip_smoke
@pytest.mark.skipif(
_UPLOAD_PHOTO_NOT_ON_TEST03,
reason="Upload Photo not yet deployed to test03 (present on test05 and prod)",
)
def test_as06_upload_own_photo(self, page: Page, base_url: str) -> None:
"""Logged-in user uploads their own photo on the create page and lands on the generate page with it as the source image.
Upload Photo has an asymmetric rollout: present on prod and test05, absent
on test03 (its build's i18n bundle has no upload-photo-* keys, and
upload-photo-btn/upload-photo-input are absent from the DOM there). Skipped
only on test03 until the rollout catches up there.
"""
login_page = LoginPage(page)
> login_page.login_directly(base_url, general_mail(), get_password())
tests/test_active_stock.py:127:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:116: in login_directly
self.page.wait_for_function(
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:12761: in wait_for_function
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:1151: in wait_for_function
return await self._main_frame.wait_for_function(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:940: in wait_for_function
await self._channel.send("waitForFunction", self._timeout, params)
/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 0x7fbdf9fe7d90>
cb = <function Channel.send.<locals>.<lambda> at 0x7fbdf819b370>
is_internal = False, title
📸 Failure Screenshot: