⏱️ Duration: 75.51s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7f21fe246710>
templates_page = <pages.templates_page.TemplatesPage object at 0x7f21fe246500>
editor_page = <pages.editor_page.EditorPage object at 0x7f21fd6b6d10>
publish_page = <pages.publish_page.PublishPage object at 0x7f21fe4d0520>
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()
tests/templates/test_templates.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:400: in change_font_and_background_color
bg_tab.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(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7f21fe245240>
cb = <function Channel.send.<locals>.<lambda> at 0x
📸 Failure Screenshot: