Test Results (4 tests)
⏱️ Duration: 436.01s
❌ Error:
self = <tests.test_web_signup.TestWebSignup object at 0x7f8b4d9e55d0>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7f8b4d9e6710>
create_page = <pages.create_page.CreatePage object at 0x7f8b4d9e6680>
editor_page = <pages.editor_page.EditorPage object at 0x7f8b4d9e65f0>
pricing_page = <pages.pricing_page.PricingPage object at 0x7f8b4d9dc1f0>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7f8b4d9dc310>
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,
)
sign_up_page.close_onboarding()
create_page.click_create_new_with_footage()
create_page.search_for("summer")
create_page.select_videos_from_type_dropdown()
create_page.customize_first_video()
editor_page.verify_editor_loaded()
editor_page.filter_premium_media_and_verify_badges()
editor_page.publish_video()
> editor_page
📸 Failure Screenshot:
⏱️ Duration: 18.82s
❌ Error:
self = <tests.test_web_signup.TestWebSignup object at 0x7f8b4d9e5e10>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7f8b45f70790>
create_page = <pages.create_page.CreatePage object at 0x7f8b45f72ef0>
editor_page = <pages.editor_page.EditorPage object at 0x7f8b45f73fa0>
pricing_page = <pages.pricing_page.PricingPage object at 0x7f8b47cfc130>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7f8b45fd8640>
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: 452.97s
❌ Error:
self = <tests.test_web_signup.TestWebSignup object at 0x7f8b4d9e7ac0>
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7f8b45e65ae0>
create_page = <pages.create_page.CreatePage object at 0x7f8b45e66110>
editor_page = <pages.editor_page.EditorPage object at 0x7f8b45e656c0>
my_account_page = <pages.my_account_page.MyAccountPage object at 0x7f8b45e660e0>
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: