Skip to content

The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.

Billing test: the export link points to General's Export calls line (PR 1912)

Janikf8b2f6f1ccc4
diff --git a/apps/web/src/settings/Billing.test.tsx b/apps/web/src/settings/Billing.test.tsx
index 4efdf209..9ad0655d 100644
--- a/apps/web/src/settings/Billing.test.tsx
+++ b/apps/web/src/settings/Billing.test.tsx
@@ -513,7 +513,7 @@ test('a plan that ended: since when, Start plan again with its price, the number
expect(html).toContain('k-note-warning')
expect(html).toContain('Your numbers are kept until Dec 14, 2026')
expect(html).toMatch(/href="#workspace\/phone"[^>]*>port them to another carrier/)
- expect(html).toMatch(/href="#workspace\/export"[^>]*>export your calls/)
+ expect(html).toMatch(/href="#workspace\/general\/export"[^>]*>export your calls/)
expect(html).toContain('until Feb 12, 2027')
expect(html).not.toContain('Your plan is canceled')
// No plan: no auto-recharge, no usage of a period, no calls at the same time; the balance is kept.