⏱️ Duration: 68.60s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7f22bbce38e0>
templates_page = <pages.templates_page.TemplatesPage object at 0x7f22b9e1e260>
editor_page = <pages.editor_page.EditorPage object at 0x7f22b9cfdf60>
publish_page = <pages.publish_page.PublishPage object at 0x7f22b9e1eb30>
base_url = 'https://promo.com'
def test_t02_template_page_after_login(
login_page, templates_page, editor_page, publish_page, base_url
) -> None:
"""T02: Logged-in user previews a template, customizes it in the editor and renders it."""
login_page.login_directly(base_url, general_mail(), get_password())
templates_page.go_to_templates(base_url)
templates_page.preview_template_and_verify_share()
templates_page.go_to_templates(base_url)
templates_page.customize_template()
editor_page.verify_editor_loaded()
editor_page.edit_actions_on_timeline()
editor_page.add_new_clip()
editor_page.add_caption()
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()
tests/templates/test_templates.py:65:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:483: in change_text_positions
pos_btn.wait_for(state="visible", timeout=self.T_DEFAULT)
/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/playwright/_impl/_locator.py:748: in wait_for
await self._frame.wait_for_selector(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:394: in wait_for_selector
await self._channel.send(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
📸 Failure Screenshot: