⏱️ Duration: 41.99s
❌ Error:
self = <tests.test_active_cast.TestActiveCast object at 0x7f8300e823e0>
page = <Page url='https://promo.com/activecast/my-videos'>
base_url = 'https://promo.com'
@pytest.mark.skip_smoke
def test_as07_my_videos_duplicate_share_delete(self, page: Page, base_url: str) -> None:
"""Logged-in user duplicates the newest completed project via the kebab menu, shares the duplicate (copy link, open in new tab), then deletes it.
Duplicate only opens the source project's editor pre-filled; the copy is
created by clicking Regenerate (uses credits, waits for generation). The
duplicate is identified by diffing My Videos project ids before/after, and
is the only project this test deletes — the account stays balanced.
"""
login_page = LoginPage(page)
login_page.login_directly(base_url, general_mail(), get_password())
login_page.assert_logged_in_as(fullname)
active_cast = ActiveCastPage(page)
active_cast.navigate_to_active_cast(base_url)
active_cast.go_to_my_videos()
active_cast.assert_has_at_least_one_video()
ids_before = active_cast.get_loaded_project_ids()
source_id, _ = active_cast.get_first_completed_project()
active_cast.duplicate_project_and_assert_editor_prefilled(source_id)
deleted = False
try:
active_cast.click_regenerate_video()
> active_cast.assert_generating_in_progress()
tests/test_active_cast.py:148:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/active_cast_page.py:573: in assert_generating_in_progress
self.raise_if_subscription_paywall(self.PAYWALL_VIEW_PLANS_BTN)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pages.active_cast_page.ActiveCastPage object at 0x7f8300e6fa60>
view_plans_btn_selector = '[data-qaid="paywall-view-plans-btn"]'
def raise_if_subscription_paywall(self, view_plans_bt
📸 Failure Screenshot: