⏱️ Duration: 19.68s
❌ Error:
self = <tests.test_web_signup.TestWebSignup object at 0x7f147122feb0>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7f147122e410>
create_page = <pages.create_page.CreatePage object at 0x7f147122e380>
editor_page = <pages.editor_page.EditorPage object at 0x7f147122e2f0>
pricing_page = <pages.pricing_page.PricingPage object at 0x7f147122cca0>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7f1471225a50>
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,
)
sign_up_page.close_onboarding()
pricing_page.go_to_pricing_via_header()
> pricing_page.choose_pro_plan_and_purchase()
E AttributeError: 'PricingPage' object has no attribute 'choose_pro_plan_and_pur
📸 Failure Screenshot:
⏱️ Duration: 449.87s
❌ Error:
self = <tests.test_web_signup.TestWebSignup object at 0x7f147122f7f0>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7f146aec77f0>
create_page = <pages.create_page.CreatePage object at 0x7f146aec7220>
editor_page = <pages.editor_page.EditorPage object at 0x7f146aec7a90>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7f146aec7970>
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: