⏱️ Duration: 306.79s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7fa168359510>
login_page = <pages.login_page.LoginPage object at 0x7fa16731eb60>
create_page = <pages.create_page.CreatePage object at 0x7fa16731cf10>
editor_page = <pages.editor_page.EditorPage object at 0x7fa16731e350>
publish_page = <pages.publish_page.PublishPage object at 0x7fa16731e290>
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()
editor_page.preview_photo_and_close()
editor_page.add_new_clip()
editor_page.upload_photo_and_replace(upload_photo_path)
editor_page.change_transitions()
> editor_page.verify_favourites_media()
tests/test_web_render.py:156:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:1082: in verify_favourites_media
self.page.locator(self.MEDIA_DROPDOWN_VIDEOS).first.click()
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_genera
📸 Failure Screenshot:
⏱️ Duration: 30.34s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7fa168359e10>
login_page = <pages.login_page.LoginPage object at 0x7fa1649a1960>
create_page = <pages.create_page.CreatePage object at 0x7fa1649a14e0>
editor_page = <pages.editor_page.EditorPage object at 0x7fa1649a2320>
publish_page = <pages.publish_page.PublishPage object at 0x7fa1647b93f0>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_w16_audio_filters_and_render_with_changed_music(
self, login_page, create_page, editor_page, publish_page, base_url
):
"""
W16 Verify audio filters and render a video with changed music
Opens the music library in the editor, tests Genre/Mood/Instrument
filters, selects a track from the library, then publishes and renders.
"""
> login_page.login_directly(base_url, general_mail(), get_password())
tests/test_web_render.py:209:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:116: in login_directly
self.page.wait_for_function(
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:12594: in wait_for_function
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:1144: in wait_for_function
return await self._main_frame.wait_for_function(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:932: in wait_for_function
await self._channel.send("waitForFunction", self._timeout, params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:69: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7fa168358b20>
cb = <function Channel.send.<locals>.<lambda> at 0x7fa164a5f9a0>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool =
📸 Failure Screenshot: