Test Results (12 tests)
⏱️ Duration: 105.90s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0b62fed6f0>
login_page = <pages.login_page.LoginPage object at 0x7f0b620d2080>
create_page = <pages.create_page.CreatePage object at 0x7f0b621314b0>
editor_page = <pages.editor_page.EditorPage object at 0x7f0b621315a0>
publish_page = <pages.publish_page.PublishPage object at 0x7f0b62130dc0>
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)
tests/test_web_render.py:141:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:627: in upload_font_and_add
self._add_google_font(google_font_name)
pages/editor_page.py:641: in _add_google_font
self.page.locator(self.FONTS_DROPDOWN).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
📸 Failure Screenshot:
⏱️ Duration: 35.56s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0b62fed930>
login_page = <pages.login_page.LoginPage object at 0x7f0b612410f0>
create_page = <pages.create_page.CreatePage object at 0x7f0b61241e70>
editor_page = <pages.editor_page.EditorPage object at 0x7f0b61241ea0>
publish_page = <pages.publish_page.PublishPage object at 0x7f0b61241b40>
base_url = 'https://promo.com'
def test_w05_create_video_from_uploaded_video(
self, login_page, create_page, editor_page, publish_page, base_url
):
"""
W05 Create a video from uploaded video
Uploads a video file on the create page, creates a project from it,
publishes/renders, then returns to create page and deletes the upload.
"""
> login_page.login_directly(base_url, general_mail(), get_password())
tests/test_web_render.py:169:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 0x7f0b62fef1f0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f0b61246d40>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, title: str = None
) -> Any:
if self._api_zo
📸 Failure Screenshot:
⏱️ Duration: 34.04s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0b62fee7d0>
login_page = <pages.login_page.LoginPage object at 0x7f0b61e64d90>
dashboard_page = <pages.dashboard_page.DashboardPage object at 0x7f0b61e663b0>
publish_page = <pages.publish_page.PublishPage object at 0x7f0b61e66500>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_w18_aspect_ratio_functionalities(
self, login_page, dashboard_page, publish_page, base_url
):
"""
W18 Verify aspect ratio functionalities
Navigates to the Dashboard Published tab, republishes the first video,
then on the publish page renders every unrendered aspect ratio (each
"+" ratio button → editor → Save & Preview → wait for render → verify).
"""
> login_page.login_directly(base_url, general_mail(), get_password())
tests/test_web_render.py:192:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 0x7f0b62fef1f0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f0b61246e60>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, title: str = None
📸 Failure Screenshot:
⏱️ Duration: 33.87s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0b62fefca0>
login_page = <pages.login_page.LoginPage object at 0x7f0b62133be0>
create_page = <pages.create_page.CreatePage object at 0x7f0b621323e0>
editor_page = <pages.editor_page.EditorPage object at 0x7f0b62132c80>
publish_page = <pages.publish_page.PublishPage object at 0x7f0b62131870>
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: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 0x7f0b62fef1f0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f0b6109f2e0>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool =
📸 Failure Screenshot:
⏱️ Duration: 35.76s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0b62fef520>
login_page = <pages.login_page.LoginPage object at 0x7f0b603e8580>
create_page = <pages.create_page.CreatePage object at 0x7f0b603e8bb0>
editor_page = <pages.editor_page.EditorPage object at 0x7f0b603eb850>
publish_page = <pages.publish_page.PublishPage object at 0x7f0b61f9dc30>
dashboard_page = <pages.dashboard_page.DashboardPage object at 0x7f0b61f9dd80>
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())
tests/test_web_render.py:249:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 0x7f0b62fef1f0>
cb =
📸 Failure Screenshot:
⏱️ Duration: 45.53s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0b62fef040>
login_page = <pages.login_page.LoginPage object at 0x7f0b620d2500>
create_page = <pages.create_page.CreatePage object at 0x7f0b620d2da0>
editor_page = <pages.editor_page.EditorPage object at 0x7f0b620d36d0>
publish_page = <pages.publish_page.PublishPage object at 0x7f0b620d2380>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7f0b620d3520>
planner_page = <pages.planner_page.PlannerPage object at 0x7f0b620d3220>
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 0x7f0b62fef1f0>
cb = <func
📸 Failure Screenshot:
⏱️ Duration: 45.69s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f0b62fec070>
login_page = <pages.login_page.LoginPage object at 0x7f0b6056fa30>
create_page = <pages.create_page.CreatePage object at 0x7f0b6056eb00>
editor_page = <pages.editor_page.EditorPage object at 0x7f0b6056ce50>
publish_page = <pages.publish_page.PublishPage object at 0x7f0b6056c130>
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 0x7f0b62fef1f0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f0b6110e4d0>
is_internal = False, title = None
async def wrap_api_call(
📸 Failure Screenshot: