diff --git a/apps/app/src/pages/Licenses.tsx b/apps/app/src/pages/Licenses.tsx index 3b36fba..78d2276 100644 --- a/apps/app/src/pages/Licenses.tsx +++ b/apps/app/src/pages/Licenses.tsx @@ -51,7 +51,7 @@ function ClusterHalf({license, cs}: {license: License; cs: ClusterState}) { body = (
- Cluster {c.id_short} + {c.id_short}
@@ -170,7 +170,7 @@ function LicenseCard({ Pro {st.label}

- Free during early access · {license.status === 'expired' ? 'ended' : 'ends'} {fmtDate(license.expires_at)} + {license.status === 'expired' ? 'Ended' : 'Ends'} {fmtDate(license.expires_at)}

diff --git a/apps/app/src/test/licenses.test.tsx b/apps/app/src/test/licenses.test.tsx index b9dd93b..eeccf68 100644 --- a/apps/app/src/test/licenses.test.tsx +++ b/apps/app/src/test/licenses.test.tsx @@ -63,7 +63,7 @@ describe('/licenses', () => { const first = await screen.findByRole('region', {name: 'License lic_1'}); expect(within(first).getByText(/KW1-••••••f3a9Qk/)).toBeInTheDocument(); expect(within(first).getByText('active')).toBeInTheDocument(); - expect(within(first).getByText(/Free during early access · ends/)).toBeInTheDocument(); + expect(within(first).getByText(/^Ends /)).toBeInTheDocument(); expect(within(await screen.findByRole('group', {name: 'Cluster for license lic_1'})).getByText('7c1e04ab')).toBeInTheDocument(); const second = screen.getByRole('region', {name: 'License lic_2'}); expect(within(second).getByText(/Not attached yet/)).toBeInTheDocument();