⏱️ Duration: 419.93s
❌ Error:
self = <tests.test_rendering.TestRendering object at 0x7f59823f5d50>
login_page = <pages.login_page.LoginPage object at 0x7f598136ff10>
create_page = <pages.create_page.CreatePage object at 0x7f598136fe50>
editor_page = <pages.editor_page.EditorPage object at 0x7f598136fee0>
publish_page = <pages.publish_page.PublishPage object at 0x7f59813d47f0>
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)
create_page.select_videos_from_type_dropdown()
create_page.customize_first_video()
editor_page.verify_editor_loaded()
editor_page.publish_video()
> publish_page.wait_for_render_and_verify()
tests/test_rendering.py:87:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publish_page.py:32: in wait_for_render_and_verify
self.page.locator(self.PUBLISH_READY).wait_for(state="visible", timeout=max_wait_ms)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:20298: in wait_for
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:741: in wait_for
await self._frame.wait_for_selector(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:394: in wait_for_selector
await self._channel.send(
/usr/local/lib/python3.10/dist-packages/playwright/_im
📸 Failure Screenshot:
⏱️ Duration: 421.62s
❌ Error:
self = <tests.test_rendering.TestRendering object at 0x7f59823f6a40>
login_page = <pages.login_page.LoginPage object at 0x7f59802674f0>
create_page = <pages.create_page.CreatePage object at 0x7f5980267a00>
editor_page = <pages.editor_page.EditorPage object at 0x7f5980267850>
publish_page = <pages.publish_page.PublishPage object at 0x7f59802862f0>
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)
create_page.select_videos_from_type_dropdown()
create_page.customize_first_video()
editor_page.verify_editor_loaded()
editor_page.publish_video()
> publish_page.wait_for_render_and_verify()
tests/test_rendering.py:87:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publish_page.py:32: in wait_for_render_and_verify
self.page.locator(self.PUBLISH_READY).wait_for(state="visible", timeout=max_wait_ms)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:20298: in wait_for
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:741: in wait_for
await self._frame.wait_for_selector(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:394: in wait_for_selector
await self._channel.send(
/usr/local/lib/python3.10/dist-packages/playwright/_im
📸 Failure Screenshot: