⏱️ Duration: 69.36s
❌ Error:
sign_up_page = <pages.sign_up_page.SignUpPage object at 0x7f543e927520>
pricing_page = <pages.pricing_page.PricingPage object at 0x7f543e925a80>
billing_page = <pages.billing_page.BillingPage object at 0x7f543e9259f0>
base_url = 'https://test03.testingpromo.com'
@pytest.mark.skip_prod
def test_bi04_update_payment_method_and_email(
sign_up_page, pricing_page, billing_page, base_url
):
"""
Bi04 User can update his payment method and email address.
Pro Annual user opens Billing, updates the card to a different valid
test card, updates the billing email, and both changes are reflected.
"""
email = f"promo.auto.bi04.{uuid.uuid4().hex[:8]}@promo.com"
_signup_and_purchase_plan(
sign_up_page, pricing_page, base_url, email,
PricingPage.PRO_ANNUAL_CTA, monthly=False,
)
billing_page.go_to_billing_url(base_url)
billing_page.assert_on_billing_page()
billing_page.click_update_payment_method()
> billing_page.complete_new_card_checkout()
tests/billing/test_billing.py:144:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/billing_page.py:257: in complete_new_card_checkout
self.page.wait_for_url(re.compile(r"promo\.com"), timeout=self.T_NETWORK)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:10029: in wait_for_url
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:588: in wait_for_url
return await self._main_frame.wait_for_url(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:288: in wait_for_url
async with self.expect_navigation(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_event_context_manager.py:33: in __aexit__
await self._future
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
async def continuation() -> Optional[Response]:
>
📸 Failure Screenshot: