⏱️ Duration: 20.24s
❌ Error:
self = <tests.test_rendering.TestRendering object at 0x7f10fdcde980>
login_page = <pages.login_page.LoginPage object at 0x7f10fdcdf850>
create_page = <pages.create_page.CreatePage object at 0x7f10fdcdf9d0>
editor_page = <pages.editor_page.EditorPage object at 0x7f10fdcdc280>
publish_page = <pages.publish_page.PublishPage object at 0x7f10fdf495d0>
env = 'test03'
@pytest.mark.parametrize("env", ["prod", "test03", "test05"])
def test_r01_generate_video_and_publish(
self, login_page, create_page, editor_page, publish_page, env
):
"""
R01 Generate video and publish (all envs short smoke)
Login to the specified environment, navigate to the create page,
customize the first available video, publish it, and verify the
publish page renders correctly.
Mirrors: test_rendering_scenarios.feature → 'Generate video and publish'
"""
env_url = _env_base_url(env)
email = _env_email(env)
> login_page.login_directly(env_url, email, get_password())
tests/test_rendering.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:109: in login_directly
self.enter_email(email)
pages/login_page.py:73: in enter_email
self.page.locator(self.EMAIL_INPUT).fill(email)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:18030: in fill
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:216: in fill
return await self._frame.fill(self._selector, strict=True, **params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:632: in fill
await self._fill(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:644: in _fill
await self._channel.send("fill", self._timeout, locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:69: in send
return await self._connection.wrap_api_cal
📸 Failure Screenshot: