diff --git a/playwright.config.ts b/playwright.config.ts index 0d8c2beda1..e990c35586 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -4,7 +4,7 @@ const config: PlaywrightTestConfig = { timeout: 120000, reportSlowTests: null, reporter: [['html', { open: 'never' }]], - retries: 1, + retries: 3, use: { baseURL: 'http://localhost:4173/console/', trace: 'on-first-retry' diff --git a/src/lib/components/billing/estimatedTotalBox.svelte b/src/lib/components/billing/estimatedTotalBox.svelte index 4945598e1d..b7ab73af7d 100644 --- a/src/lib/components/billing/estimatedTotalBox.svelte +++ b/src/lib/components/billing/estimatedTotalBox.svelte @@ -52,17 +52,28 @@ {/if}
-Estimated total
+
+ Upcoming charge
Due on {!currentPlan.trialDays
+ ? toLocaleDate(billingPayDate.toString())
+ : toLocaleDate(trialEndDate.toString())}
+
{formatCurrency(estimatedTotal)}
- Your payment method will be charged this amount plus usage fees every 30 days {!currentPlan.trialDays - ? `starting ${toLocaleDate(billingPayDate.toString())}` - : ` after your trial period ends on ${toLocaleDate(trialEndDate.toString())}`}. + You'll pay {formatCurrency(estimatedTotal)} now, with our first + billing cycle starting on + {!currentPlan.trialDays + ? toLocaleDate(billingPayDate.toString()) + : toLocaleDate(trialEndDate.toString())}. Once your credits run out, you'll be charged + {formatCurrency(currentPlan.price)} plus usage fees every 30 days.
+