Test Results (7 tests)
⏱️ Duration: 313.13s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0ce36f1750>
login_page = <pages.login_page.LoginPage object at 0x7f0ce2841810>
create_page = <pages.create_page.CreatePage object at 0x7f0ce28406d0>
editor_page = <pages.editor_page.EditorPage object at 0x7f0ce2841390>
publish_page = <pages.publish_page.PublishPage object at 0x7f0ce2840eb0>
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:1236: in upload_watermark
self.page.locator(self.ADD_TO_VIDEO_BTN).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: 35.16s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0ce36f3040>
login_page = <pages.login_page.LoginPage object at 0x7f0ce0216f50>
create_page = <pages.create_page.CreatePage object at 0x7f0ce0215ff0>
editor_page = <pages.editor_page.EditorPage object at 0x7f0ce0215d20>
publish_page = <pages.publish_page.PublishPage object at 0x7f0ce0217160>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f0ce02177c0>
planner_page = <pages.planner_page.PlannerPage object at 0x7f0ce0217910>
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())
tests/test_web_render.py:279:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:12761: in wait_for_function
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:1151: 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:940: in wait_for_function
await self._channel.send("waitForFunction", self._timeout, params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7f0ce36f0be0>
cb = <func
📸 Failure Screenshot:
⏱️ Duration: 35.44s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0ce36f02e0>
login_page = <pages.login_page.LoginPage object at 0x7f0ce2725d20>
create_page = <pages.create_page.CreatePage object at 0x7f0ce1937250>
editor_page = <pages.editor_page.EditorPage object at 0x7f0ce19355a0>
publish_page = <pages.publish_page.PublishPage object at 0x7f0ce1937310>
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())
tests/test_web_render.py:334:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:12761: in wait_for_function
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:1151: 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:940: in wait_for_function
await self._channel.send("waitForFunction", self._timeout, params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7f0ce36f0be0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f0ce02e2b90>
is_internal = False, title = None
async def wrap_api_call(
📸 Failure Screenshot: