⏱️ Duration: 107.25s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f47f9cc6440>
login_page = <pages.login_page.LoginPage object at 0x7f47f8dbd960>
create_page = <pages.create_page.CreatePage object at 0x7f47f8e421a0>
editor_page = <pages.editor_page.EditorPage object at 0x7f47f8e42170>
publish_page = <pages.publish_page.PublishPage object at 0x7f47f8e42080>
base_url = 'https://promo.com'
def test_w04_custom_uploaded_assets_and_render(
self, login_page, create_page, editor_page, publish_page, base_url
):
"""
W04 Add custom uploaded assets to a video and render it
Uploads custom font, watermark, logo, and audio; adds a new video clip
from the media library; adds a photo; changes transitions; verifies
favourites; then publishes.
"""
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.upload_font_and_add(font_file_path)
editor_page.upload_watermark(watermark_path)
editor_page.upload_logo(brand_logo_path)
editor_page.upload_audio_and_select(upload_audio_path)
editor_page.add_new_clip()
editor_page.go_to_media_tab()
> editor_page.select_photo_and_add()
tests/test_web_render.py:149:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:987: in select_photo_and_add
self.page.locator(self.MEDIA_DROPDOWN_PHOTOS).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/playwrigh
📸 Failure Screenshot:
⏱️ Duration: 83.78s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f47f9cc5360>
login_page = <pages.login_page.LoginPage object at 0x7f47f89ed6f0>
create_page = <pages.create_page.CreatePage object at 0x7f47f9cd7520>
editor_page = <pages.editor_page.EditorPage object at 0x7f47f8172ce0>
publish_page = <pages.publish_page.PublishPage object at 0x7f47f8d0a920>
dashboard_page = <pages.dashboard_page.DashboardPage object at 0x7f47f8d0a830>
base_url = 'https://promo.com'
def test_w17_edit_published_video_from_dashboard(
self, login_page, create_page, editor_page, publish_page, dashboard_page, base_url
):
"""
W17 Edit published video starting from Dashboard
Creates and renders a video, downloads it in HD, then navigates to the
published dashboard, re-opens the video in the editor, verifies the
editor is in 'published edit' mode (Save & Publish button, no ratio toolbar),
adds a new media clip, and re-publishes.
"""
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()
publish_page.download_hd_video()
dashboard_page.go_to_published(base_url)
dashboard_page.edit_first_published_video()
editor_page.verify_editor_loaded_published()
> editor_page.add_new_clip()
tests/test_web_render.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:951: in add_new_clip
self.go_to_media_tab()
pages/editor_page.py:793: in go_to_media_tab
self.page.locator(self.MEDIA_TAB).wait_for(state="visible", timeout=self.T_ACTION)
/usr/local/lib/python3.10/dist-packages/playwright/sync_ap
📸 Failure Screenshot: