⏱️ Duration: 57.79s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f1c0c6424a0>
login_page = <pages.login_page.LoginPage object at 0x7f1c0c7a7be0>
create_page = <pages.create_page.CreatePage object at 0x7f1c0c7a6710>
editor_page = <pages.editor_page.EditorPage object at 0x7f1c0c7a7250>
publish_page = <pages.publish_page.PublishPage object at 0x7f1c0c7a7940>
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)
tests/test_web_render.py:142:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:1205: in upload_watermark
self._delete_uploaded_library_items()
pages/editor_page.py:1132: in _delete_uploaded_library_items
overlay.first.hover(force=True)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:19385: in hover
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:482: in hover
return await self._frame.hover(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:773: in hover
await self._channel.send("hover", self._timeout, locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
retu
📸 Failure Screenshot:
⏱️ Duration: 35.82s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f1c0c641a20>
login_page = <pages.login_page.LoginPage object at 0x7f1c0a878ee0>
create_page = <pages.create_page.CreatePage object at 0x7f1c0a878fa0>
editor_page = <pages.editor_page.EditorPage object at 0x7f1c0a879270>
publish_page = <pages.publish_page.PublishPage object at 0x7f1c0a8789d0>
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())
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.go_to_music_tab()
> editor_page.verify_audio_filters()
tests/test_web_render.py:218:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pages.editor_page.EditorPage object at 0x7f1c0a879270>
def verify_audio_filters(self):
"""
Ensure the library sub-tab is active, then test Genre, Mood, and Instrument
filters one at a time: open → pick a value → assert count dropped → clear.
"""
self.page.locator(self.MUSIC_LIBRARY_TAB).click()
# Wait for at least one track to appear before counting
self.page.locator(self.MUSIC_AUDIO_ITEM).first.wait_for(state="visible", timeout=self.T_LOAD)
for dropdown_loc, value_loc in [
(self.GENRE_DROPDOWN, self.AUDIO_CAT_BIG_BAND),
(self.MOOD_DROPDOWN, self.AUDIO_CAT_HORROR),
📸 Failure Screenshot: