⏱️ Duration: 272.73s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7f9d3c406ef0>
templates_page = <pages.templates_page.TemplatesPage object at 0x7f9d3c4057e0>
editor_page = <pages.editor_page.EditorPage object at 0x7f9d3c405720>
publish_page = <pages.publish_page.PublishPage object at 0x7f9d3c406d10>
base_url = 'https://promo.com'
def test_t03_template_page_categories(
login_page, templates_page, editor_page, publish_page, base_url
) -> None:
"""T03: Logged-in user filters, searches and browses every category, then renders a template."""
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.change_ratios_and_verify()
# The ratio filter stays applied to the search, so pick the keyword afterwards
valid_keyword = templates_page.keyword_from_first_template()
templates_page.search_with_invalid_keyword(INVALID_KEYWORD)
templates_page.search_with_valid_keyword(valid_keyword)
templates_page.verify_categories_and_breadcrumbs()
templates_page.customize_template()
editor_page.verify_editor_loaded()
> editor_page.publish_video()
tests/templates/test_templates.py:97:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:550: in publish_video
self.page.locator(self.SAVE_AND_PREVIEW_BTN).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.
📸 Failure Screenshot: