@ -58,7 +58,7 @@ describe('ConfirmApproveContent Component', () => {
const editButtons = getAllByText ( 'Edit' ) ;
expect ( queryByText ( 'Transaction F ee' ) ) . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Transaction f ee' ) ) . toBeInTheDocument ( ) ;
expect (
queryByText ( 'A fee is associated with this request.' ) ,
) . toBeInTheDocument ( ) ;
@ -72,13 +72,13 @@ describe('ConfirmApproveContent Component', () => {
expect ( props . showCustomizeNonceModal ) . toHaveBeenCalledTimes ( 1 ) ;
const showHideTxDetails = getByText ( 'View full transaction details' ) ;
expect ( queryByText ( 'Permission R equest' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Approved A mount:' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Granted T o:' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Permission r equest' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Approved a mount:' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Granted t o:' ) ) . not . toBeInTheDocument ( ) ;
fireEvent . click ( showHideTxDetails ) ;
expect ( getByText ( 'Permission R equest' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Approved A mount:' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Granted T o:' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Permission r equest' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Approved a mount:' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Granted t o:' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( '0x9bc5...fef4' ) ) . toBeInTheDocument ( ) ;
} ) ;
} ) ;