⏱️ Duration: 28.33s
❌ Error:
self = <tests.test_web_general.TestWebPhase1 object at 0x7f82f2dd03a0>
login_page = <pages.login_page.LoginPage object at 0x7f82f201a830>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7f82f201b8b0>
base_url = 'https://promo.com'
def test_w22_verify_password_changes(
self, login_page, my_account_page, base_url
):
"""
W22 Verify password changes
Uses a dedicated account (email_pass_change) to avoid disrupting main
test accounts. Flow:
1. Login → change password to random_password
2. Sign out → login with random_password (should succeed)
3. Change password back to original
4. Sign out → try to login with random_password (should fail)
"""
original_password = get_password()
page = login_page.page
# Step 1: Change password to random_password
login_page.login_directly(base_url, email_pass_change, original_password)
my_account_page.go_to_my_account()
> my_account_page.change_password(
current_pass=original_password,
new_pass=random_password,
)
tests/test_web_general.py:156:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/my_account_page.py:137: in change_password
settings.locator(self.SAVE_CHANGES_BTN).nth(1).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, **params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:569: in _click
await self._channel.send("click", self._timeout, locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:69: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
📸 Failure Screenshot:
⏱️ Duration: 79.54s
❌ Error:
self = <tests.test_web_render.TestWebRender object at 0x7f82f2ca4490>
login_page = <pages.login_page.LoginPage object at 0x7f82f05af670>
create_page = <pages.create_page.CreatePage object at 0x7f82f052b5e0>
editor_page = <pages.editor_page.EditorPage object at 0x7f82f052b6d0>
publish_page = <pages.publish_page.PublishPage object at 0x7f82f0553b50>
base_url = 'https://promo.com'
def test_w04_custom_uploaded_assets_and_render(
self, login_page, create_page, editor_page, publish_page, base_url
):
"""
W04 Add custom uploaded assets to a video and render it
Uploads custom font, watermark, logo, and audio; adds a new video clip
from the media library; adds a photo; changes transitions; verifies
favourites; then publishes.
"""
login_page.login_directly(base_url, general_mail(), get_password())
create_page.navigate_to_create(base_url)
create_page.search_for("summer")
create_page.select_videos_from_type_dropdown()
create_page.customize_first_video()
editor_page.verify_editor_loaded()
editor_page.upload_font_and_add(font_file_path)
editor_page.upload_watermark(watermark_path)
editor_page.upload_logo(brand_logo_path)
> editor_page.upload_audio_and_select(upload_audio_path)
tests/test_web_render.py:117:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/editor_page.py:644: in upload_audio_and_select
del_btn.hover()
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:18910: in hover
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:477: in hover
return await self._frame.hover(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:746: in hover
await self._channel.send("hover", self._timeout, locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:69: in send
retur
📸 Failure Screenshot: