⏱️ Duration: 51.69s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f7a16b5bd30>
login_page = <pages.login_page.LoginPage object at 0x7f7a16cc7940>
create_page = <pages.create_page.CreatePage object at 0x7f7a16cc6890>
editor_page = <pages.editor_page.EditorPage object at 0x7f7a16cc6b00>
publish_page = <pages.publish_page.PublishPage object at 0x7f7a16cc7760>
base_url = 'https://promo.com'
def test_w03_customize_video_and_render(
self, login_page, create_page, editor_page, publish_page, base_url
):
"""
W03 Customize a video and render it
Verifies sorting on the create page, searches for a summer template,
customises it with text/color/font/ratio/outro changes, publishes,
then returns to the editor to discard and re-publish.
"""
login_page.login_directly(base_url, general_mail(), get_password())
create_page.navigate_to_create(base_url)
create_page.verify_sorting()
create_page.search_for("summer")
create_page.select_videos_from_type_dropdown()
create_page.customize_first_video()
editor_page.verify_editor_loaded()
> editor_page.edit_actions_on_timeline()
tests/test_web_render.py:107:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:311: in edit_actions_on_timeline
self.page.locator(self.PHOTOS_FILTER_ITEM).first.click()
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:17876: in click
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:165: in click
return await self._frame._click(self._selector, strict=True, **params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:593: in _click
await self._channel.send("click", self._timeout, locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _
📸 Failure Screenshot:
⏱️ Duration: 423.10s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f7a16b58dc0>
login_page = <pages.login_page.LoginPage object at 0x7f7a0ed407c0>
create_page = <pages.create_page.CreatePage object at 0x7f7a0ec151b0>
editor_page = <pages.editor_page.EditorPage object at 0x7f7a0ec156c0>
publish_page = <pages.publish_page.PublishPage object at 0x7f7a0ec17970>
base_url = 'https://promo.com', resolution = 'hd'
@pytest.mark.parametrize("resolution", ["hd", "full_hd", "streaming_full_hd"])
def test_w29_download_video_from_publish_page(
self, login_page, create_page, editor_page, publish_page, base_url, resolution
):
"""
W29 Download a video from the publish page
Login, create a short video from "summer" search, publish it, then download
in the specified resolution and verify the download event fires.
"""
login_page.login_directly(base_url, general_mail(), get_password())
create_page.navigate_to_create(base_url)
create_page.search_for("summer")
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_web_render.py:343:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:20539: in wait_for
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:748: 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/_impl/_connection.py:76: in send
return await self._connection.
📸 Failure Screenshot: