⏱️ Duration: 35.61s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7fe7af2253c0>
login_page = <pages.login_page.LoginPage object at 0x7fe7af0efaf0>
create_page = <pages.create_page.CreatePage object at 0x7fe7af0ef820>
editor_page = <pages.editor_page.EditorPage object at 0x7fe7af0edc00>
publish_page = <pages.publish_page.PublishPage object at 0x7fe7af0ef6d0>
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())
tests/test_web_render.py:133:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 0x7fe7af226ec0>
cb = <function Channel.send.<locals>.<lambda> at 0x7fe7ae73f880>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, t
📸 Failure Screenshot:
⏱️ Duration: 128.00s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7fe7af2271c0>
login_page = <pages.login_page.LoginPage object at 0x7fe7ae0b7670>
create_page = <pages.create_page.CreatePage object at 0x7fe7accb3c40>
editor_page = <pages.editor_page.EditorPage object at 0x7fe7accb3bb0>
publish_page = <pages.publish_page.PublishPage object at 0x7fe7adb58e50>
publisher_page = <pages.publisher_page.PublisherPage object at 0x7fe7acb1efb0>
planner_page = <pages.planner_page.PlannerPage object at 0x7fe7acb1c340>
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()
editor_page.publish_video()
publish_page.wait_for_render_and_verify()
publish_page.verify_player()
publish_page.click_schedule_to_social()
> publisher_page.verify_redirected_to_publisher()
tests/test_web_render.py:294:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/publisher_page.py:85: in verify_redirected_to_publisher
self.page.locator(self.PUBLISH_BTN).wait_for(state="visible", timeout=self.T_SLOW)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:20539: in wait_for
self._sync(
/usr/local/lib/python3.10/dist-packages/playwrig
📸 Failure Screenshot: