⏱️ Duration: 35.31s
❌ Error:
self = <tests.test_rendering.TestRendering object at 0x7fbed843b640>
login_page = <pages.login_page.LoginPage object at 0x7fbed8694670>
create_page = <pages.create_page.CreatePage object at 0x7fbed84397b0>
editor_page = <pages.editor_page.EditorPage object at 0x7fbed843b2e0>
publish_page = <pages.publish_page.PublishPage object at 0x7fbed843bac0>
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())
> create_page.navigate_to_create(env_url)
tests/test_rendering.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/create_page.py:64: in navigate_to_create
self.page.goto(f"{base_url}/create?mode=search&keyword=summer")
/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 0x7fbed8438250>
cb = <function Channel.se
📸 Failure Screenshot:
⏱️ Duration: 35.39s
❌ Error:
self = <tests.test_rendering.TestRendering object at 0x7fbed843b940>
login_page = <pages.login_page.LoginPage object at 0x7fbed5d47580>
create_page = <pages.create_page.CreatePage object at 0x7fbed5d46da0>
editor_page = <pages.editor_page.EditorPage object at 0x7fbed5d47490>
publish_page = <pages.publish_page.PublishPage object at 0x7fbed5d477c0>
env = 'test05'
@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())
> create_page.navigate_to_create(env_url)
tests/test_rendering.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/create_page.py:64: in navigate_to_create
self.page.goto(f"{base_url}/create?mode=search&keyword=summer")
/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 0x7fbed8438250>
cb = <function Channel.se
📸 Failure Screenshot: