⏱️ Duration: 312.75s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7fb5febdd030>
login_page = <pages.login_page.LoginPage object at 0x7fb5febe56f0>
create_page = <pages.create_page.CreatePage object at 0x7fb5febe4a90>
editor_page = <pages.editor_page.EditorPage object at 0x7fb5febe4b20>
publish_page = <pages.publish_page.PublishPage object at 0x7fb5febe6410>
base_url = 'https://promo.com'
def test_w03_customize_video_and_render(
self, login_page, create_page, editor_page, publish_page, base_url
):
"""
W03 Customize a video and render it
Verifies sorting on the create page, searches for a summer template,
customises it with text/color/font/ratio/outro changes, publishes,
then returns to the editor to discard and re-publish.
"""
login_page.login_directly(base_url, general_mail(), get_password())
create_page.navigate_to_create(base_url)
create_page.verify_sorting()
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.add_caption()
editor_page.add_characters_in_text_animation()
editor_page.change_font_and_background_color()
editor_page.change_text_alignment()
editor_page.change_font()
editor_page.change_capitalization_style()
editor_page.change_text_positions()
editor_page.change_text_style()
editor_page.change_ratio()
editor_page.change_outro_background(upload_photo_path)
editor_page.publish_video()
> editor_page.go_back_to_editor_and_discard()
tests/test_web_render.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:545: in go_back_to_editor_and_discard
edit_btn.wait_for(state="visible", timeout=260_000)
/usr/local/lib/python3.10/d
📸 Failure Screenshot: