@@ -103,7 +103,7 @@ describe('SubscriptionDetails', () => {
103103 await userEvent . click ( menuButton ) ;
104104
105105 await waitFor ( ( ) => {
106- expect ( getByText ( 'Switch to annual $100.00 per year' ) ) . toBeVisible ( ) ;
106+ expect ( getByText ( 'Switch to annual $100.00 / year' ) ) . toBeVisible ( ) ;
107107 expect ( getByText ( 'Cancel subscription' ) ) . toBeVisible ( ) ;
108108 } ) ;
109109 } ) ;
@@ -183,7 +183,7 @@ describe('SubscriptionDetails', () => {
183183 await userEvent . click ( menuButton ) ;
184184
185185 await waitFor ( ( ) => {
186- expect ( getByText ( 'Switch to monthly $10.00 per month' ) ) . toBeVisible ( ) ;
186+ expect ( getByText ( 'Switch to monthly $10.00 / month' ) ) . toBeVisible ( ) ;
187187 expect ( getByText ( 'Cancel subscription' ) ) . toBeVisible ( ) ;
188188 } ) ;
189189 } ) ;
@@ -245,7 +245,7 @@ describe('SubscriptionDetails', () => {
245245 expect ( getByText ( 'Subscribed on' ) ) . toBeVisible ( ) ;
246246 expect ( getByText ( 'January 1, 2021' ) ) . toBeVisible ( ) ;
247247
248- expect ( queryByText ( 'Renews at' ) ) . toBeNull ( ) ;
248+ expect ( getByText ( 'Renews at' ) ) . toBeVisible ( ) ;
249249 expect ( queryByText ( 'Ends on' ) ) . toBeNull ( ) ;
250250 expect ( queryByText ( 'Current billing cycle' ) ) . toBeNull ( ) ;
251251 expect ( queryByText ( 'Monthly' ) ) . toBeNull ( ) ;
@@ -368,15 +368,15 @@ describe('SubscriptionDetails', () => {
368368 await userEvent . click ( menuButton ) ;
369369
370370 await waitFor ( ( ) => {
371- expect ( getByText ( 'Switch to monthly $13.00 per month' ) ) . toBeVisible ( ) ;
371+ expect ( getByText ( 'Switch to monthly $13.00 / month' ) ) . toBeVisible ( ) ;
372372 expect ( getByText ( 'Resubscribe' ) ) . toBeVisible ( ) ;
373373 expect ( queryByText ( 'Cancel subscription' ) ) . toBeNull ( ) ;
374374 } ) ;
375375
376376 await userEvent . click ( upcomingMenuButton ) ;
377377
378378 await waitFor ( ( ) => {
379- expect ( getByText ( 'Switch to annual $90.00 per year' ) ) . toBeVisible ( ) ;
379+ expect ( getByText ( 'Switch to annual $90.00 / year' ) ) . toBeVisible ( ) ;
380380 expect ( getByText ( 'Cancel subscription' ) ) . toBeVisible ( ) ;
381381 } ) ;
382382 } ) ;
@@ -491,7 +491,7 @@ describe('SubscriptionDetails', () => {
491491 } ) ;
492492 } ) ;
493493
494- it . only ( 'allows cancelling a subscription of a monthly plan' , async ( ) => {
494+ it ( 'allows cancelling a subscription of a monthly plan' , async ( ) => {
495495 const { wrapper, fixtures } = await createFixtures ( f => {
496496 f . withUser ( { email_addresses : [ 'test@clerk.com' ] } ) ;
497497 } ) ;
0 commit comments