message: AppRoot: add tests for keyboard input tracker
diff: -import { render } from '@testing-library/react';
  +import { render, screen } from '@testing-library/react';
  +import userEvent from '@testing-library/user-event';
  import { baselineComponent } from '../../testing/utils';
  import { AppRootContext } from './AppRootContext';
  import AppRoot from './AppRoot';
  @@ -66,4 +67,16 @@ describe('AppRoot', () => {
  expect(document.body).toContainElement(portalRoot1);
  });
  });
  + it('has class .AppRoot--keyboard-input on keyboard navigation and no class on mouse click', () => {
  + render(<AppRoot data-testid="root" mode="embedded" />);
  + const root = screen.getByTestId('root');
  +
  + // test keyboard nav and outline
  + userEvent.tab();
  + expect(root).toHaveClass('AppRoot--keyboard-input');
  +
  + // test click and no outline
  + userEvent.click(root);
  + expect(root).not.toHaveClass('AppRoot--keyboard-input');
  + });
  });
  