⏱️ Duration: 76.07s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7f72cd0f6e00>
templates_page = <pages.templates_page.TemplatesPage object at 0x7f72cd0f4100>
editor_page = <pages.editor_page.EditorPage object at 0x7f72ccea9e70>
publish_page = <pages.publish_page.PublishPage object at 0x7f72ccfc3fa0>
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()
tests/templates/test_templates.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:344: in add_caption
self.page.locator(self.DELETE_CAPTION_OPTION).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 self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7f72cdb77580>
cb = <function Channel.send.<locals>.<lambda> at 0x7f72ccff8ca
📸 Failure Screenshot: