diff --git a/components/admins/components/__tests__/validatorList.test.tsx b/components/admins/components/__tests__/validatorList.test.tsx index 747171c6..d1b80fa6 100644 --- a/components/admins/components/__tests__/validatorList.test.tsx +++ b/components/admins/components/__tests__/validatorList.test.tsx @@ -23,7 +23,7 @@ describe('ValidatorList', () => { test('renders correctly', () => { renderWithProps(); - expect(screen.getByText('Active Validators')).toBeInTheDocument(); + expect(screen.getByText('Active')).toBeInTheDocument(); expect(screen.getByText('Validator One')).toBeInTheDocument(); expect(screen.getByText('Validator Two')).toBeInTheDocument(); }); @@ -40,7 +40,7 @@ describe('ValidatorList', () => { test('active/pending toggle works', () => { renderWithProps(); fireEvent.click(screen.getByText('Pending')); - expect(screen.getByText('Pending Validators')).toBeInTheDocument(); + expect(screen.getByText('Pending')).toBeInTheDocument(); expect(screen.getByText('Validator Three')).toBeInTheDocument(); }); diff --git a/components/admins/modals/validatorModal.tsx b/components/admins/modals/validatorModal.tsx index 2f55fc57..19507cfd 100644 --- a/components/admins/modals/validatorModal.tsx +++ b/components/admins/modals/validatorModal.tsx @@ -208,9 +208,9 @@ export function ValidatorDetailsModal({ OPERATOR ADDRESS -
+