⏱️ Duration: 67.14s
❌ Error:
self = <tests.test_web_brand_manager.TestWebBrandManager object at 0x7f2bfea86bc0>
login_page = <pages.login_page.LoginPage object at 0x7f2bfea862c0>
create_page = <pages.create_page.CreatePage object at 0x7f2bfea7d990>
editor_page = <pages.editor_page.EditorPage object at 0x7f2bfea7e4d0>
publish_page = <pages.publish_page.PublishPage object at 0x7f2bfea7fa30>
brand_manager_page = <pages.brand_manager_page.BrandManagerPage object at 0x7f2bfea7dc00>
base_url = 'https://test03.testingpromo.com'
def test_w19_brand_manager_basic(
self,
login_page: LoginPage,
create_page: CreatePage,
editor_page: EditorPage,
publish_page: PublishPage,
brand_manager_page: BrandManagerPage,
base_url,
):
"""
W19 Verify Brand Manager Functionalities Basic
Flow:
1. Login → go to Brand Manager → clean up any existing brands
2. Create a brand with name only via wizard
3. Add brand components: logo, color, Google font, business info → save
4. Create a new video project → search 'summer' → customize → verify editor
5. Apply the saved brand in the editor
6. Publish and verify render
7. Return to Brand Manager → clean up the test brand
"""
brand_name = brand_name_generate()
full_brand_info = {**brand_info_data, "color": green_color}
login_page.login_directly(base_url, general_mail(), get_password())
brand_manager_page.navigate_to_brand_manager(base_url)
brand_manager_page.delete_all_brands()
brand_manager_page.create_brand_name_only(brand_name)
> brand_manager_page.add_brand_components(brand_logo_path, brand_name, full_brand_info)
tests/test_web_brand_manager.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pages.brand_manager_page.BrandManagerPage object at 0x7f2bfea7dc00>
logo_path = '/builds/easyhi/playwright-auto
📸 Failure Screenshot:
⏱️ Duration: 30.10s
❌ Error:
self = <tests.test_web_brand_manager.TestWebBrandManager object at 0x7f2bfea87820>
login_page = <pages.login_page.LoginPage object at 0x7f2bfc4c9840>
create_page = <pages.create_page.CreatePage object at 0x7f2bfc4c8e80>
editor_page = <pages.editor_page.EditorPage object at 0x7f2bfc4cbd60>
brand_manager_page = <pages.brand_manager_page.BrandManagerPage object at 0x7f2bfc528ac0>
base_url = 'https://test03.testingpromo.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())
create_page.navigate_to_create(base_url)
create_page.search_for("summer")
> create_page.customize_first_video()
tests/test_web_brand_manager.py:151:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/create_page.py:96: in customize_first_video
videos_opt.click()
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:17422: in click
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:163: in click
return await self._frame._click(self._selector, strict=True, **param
📸 Failure Screenshot: