Test Results (3 tests)
⏱️ Duration: 30.01s
❌ Error:
self = <tests.test_web_signup.TestWebSignup object at 0x7fe18d1555d0>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7fe18d1566b0>
create_page = <pages.create_page.CreatePage object at 0x7fe18d156620>
editor_page = <pages.editor_page.EditorPage object at 0x7fe18d156590>
pricing_page = <pages.pricing_page.PricingPage object at 0x7fe18d14c3d0>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7fe18d14c4f0>
base_url = 'https://test03.testingpromo.com'
def test_w06_signup_verify_premium_tags_and_pricing(
self, sign_up_page, create_page, editor_page, pricing_page, my_account_page, base_url
):
"""
W06 Signup verify premium tags and see pricing
Feature scenario:
Given I generate a random email for sign up
When I create a new account new auth
When I close onboarding wizard
And I go to create page from header
When I provide "summer" in the search input
And I customize the video
Then I verify navigation to editor page new user
And I am filtering premium videos
When I Publish the video
Then I verify pricing/publish navigation new user
Then I close prod pricing page
When I go to my account
Then I delete my account new
"""
random_email = f"promo.auto.w06.{uuid.uuid4().hex[:8]}@promo.com"
> sign_up_page.create_account(
base_url=base_url,
email=random_email,
full_name=fullname,
password=random_password,
)
tests/test_web_signup.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/sign_up_page.py:45: in create_account
self.page.goto(f"{base_url}/signup")
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:9875: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:560: in goto
return await self._mai
⏱️ Duration: 20.20s
❌ Error:
self = <tests.test_web_signup.TestWebSignup object at 0x7fe18d155e10>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7fe187e76e00>
create_page = <pages.create_page.CreatePage object at 0x7fe187e768f0>
editor_page = <pages.editor_page.EditorPage object at 0x7fe187e76890>
pricing_page = <pages.pricing_page.PricingPage object at 0x7fe187e75c60>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7fe187e75d20>
base_url = 'https://test03.testingpromo.com'
@pytest.mark.skip_prod
def test_w08_editorial_clip_popup_paid_user(
self, sign_up_page, create_page, editor_page, pricing_page, my_account_page, base_url
):
"""
W08 Verify Editorial clip used pop-up is displayed for a paid user
(skip_prod — Stripe Sandbox only)
Feature scenario:
Given I generate a random email for sign up
When I create a new account new auth
When I close onboarding wizard
When I go to pricing page
Then I choose a new plan and goto Create page
When I am filtering editorial videos and photos on create page
And I customize the video
Then I verify navigation to editor page new user
And I am filtering editorial videos and photos
And I upload an audio and select it
When I Publish the video
Then I verify pricing/publish navigation for editorial video
When I go to my account
Then I delete my account new
"""
random_email = f"promo.auto.w08.{uuid.uuid4().hex[:8]}@promo.com"
> sign_up_page.create_account(
base_url=base_url,
email=random_email,
full_name=fullname,
password=random_password,
)
tests/test_web_signup.py:181:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/sign_up_page.py:46: in create_account
self.page.locator(self.FULL_NAME_INPUT).wait_for(state="visible", time
📸 Failure Screenshot:
⏱️ Duration: 20.16s
❌ Error:
self = <tests.test_web_signup.TestWebSignup object at 0x7fe18d157b80>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7fe18762a950>
create_page = <pages.create_page.CreatePage object at 0x7fe187629f30>
editor_page = <pages.editor_page.EditorPage object at 0x7fe187629ed0>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7fe18762a140>
base_url = 'https://test03.testingpromo.com'
@pytest.mark.skip_prod
def test_w10_new_user_purchases_plan_after_uploading_watermark(
self, sign_up_page, create_page, editor_page, my_account_page, base_url
):
"""
W10 New user purchases plan after uploading a watermark with URL (skip_prod)
Feature scenario:
Given I generate a random email for sign up
When I create a new account new auth
When I close onboarding wizard
When I go to create page, search 'summer', customize video
Then I verify navigation to editor page new user
When I open My Brands menu → assert empty
When I open the watermark menu → assert empty
Then I check security links for upload with url (3 bad URLs → error each time)
When I upload multiple watermarks using URL (5 good URLs)
When I remove 4 watermarks (leaving 1)
When I add watermark to the video
When I Publish the video
Then I complete Stripe Sandbox purchase (test env only)
When I go to my account → delete account
Test env: Stripe Sandbox configured. Card: 4111 1111 1111 1111.
"""
_SECURITY_URLS = [
"https://mysite.com/thumb/123",
"https://something.int.promo.com/img.jpg",
"https://10.0.0.5/img.png",
]
_WATERMARK_URLS = [
"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png",
"https://promo.com/assets/admin/layout4/img/promo_logox395.png",
"https://www.google.c
📸 Failure Screenshot: