⏱️ Duration: 53.95s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f297ad85660>
login_page = <pages.login_page.LoginPage object at 0x7f2979e59fc0>
create_page = <pages.create_page.CreatePage object at 0x7f2979ec0be0>
editor_page = <pages.editor_page.EditorPage object at 0x7f2979ec0940>
publish_page = <pages.publish_page.PublishPage object at 0x7f2979ec0df0>
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)
tests/test_web_render.py:143:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:1301: in upload_logo
self._delete_uploaded_library_items()
pages/editor_page.py:1133: in _delete_uploaded_library_items
delete_icon.first.click(force=True, timeout=self.T_RETRY)
/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_
📸 Failure Screenshot:
⏱️ Duration: 53.61s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f297ad87040>
login_page = <pages.login_page.LoginPage object at 0x7f2978f8fdf0>
create_page = <pages.create_page.CreatePage object at 0x7f2979d9bcd0>
editor_page = <pages.editor_page.EditorPage object at 0x7f2979d9b880>
publish_page = <pages.publish_page.PublishPage object at 0x7f2979d9b190>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f2979d981f0>
planner_page = <pages.planner_page.PlannerPage object at 0x7f2979d9bb50>
base_url = 'https://promo.com'
def test_w24_verify_all_players(
self, login_page, create_page, editor_page, publish_page, publisher_page, planner_page, base_url
):
"""
W24 Verify all players
Creates and renders a video, verifies the player on the publish page,
schedules to Facebook via the Publisher (verifies player in composer),
publishes the post, navigates to the Planner and verifies the player there.
"""
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.edit_actions_on_timeline()
tests/test_web_render.py:287:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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()))
/
📸 Failure Screenshot: