⏱️ Duration: 34.28s
❌ Error:
self = <tests.test_web_brand_manager.TestWebBrandManager object at 0x7f2d92cd1780>
login_page = <pages.login_page.LoginPage object at 0x7f2d92cd11b0>
create_page = <pages.create_page.CreatePage object at 0x7f2d92cd1270>
editor_page = <pages.editor_page.EditorPage object at 0x7f2d92c89720>
brand_manager_page = <pages.brand_manager_page.BrandManagerPage object at 0x7f2d92c8b5e0>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_w20_verify_brand_manager_wizard(
self,
login_page: LoginPage,
create_page: CreatePage,
editor_page: EditorPage,
brand_manager_page: BrandManagerPage,
base_url,
):
"""
W20 Verify Brand Manager Functionalities through Wizard
Flow:
1. Login → search "summer" → customize first video → verify editor
2. Upload watermark and logo in the editor
3. Open Brand Manager from the editor → delete all existing brands
4. Create a new brand with logo and watermark via the wizard
5. Create a new project → search "summer" → customize first video → verify editor
6. Assert the brand watermark and logo are synced in the new project
"""
page = login_page.page
# Step 1: Login and navigate to a video in the editor
> login_page.login_directly(base_url, general_mail(), get_password())
tests/test_web_brand_manager.py:149:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:116: in login_directly
self.page.wait_for_function(
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:12761: in wait_for_function
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:1151: in wait_for_function
return await self._main_frame.wait_for_function(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:940: in wait_for_function
await self._chan
📸 Failure Screenshot: