Add tests for Search

This commit is contained in:
Justin
2022-04-06 10:10:21 -04:00
parent 35f878526f
commit f8b6f8db28
5 changed files with 33 additions and 1 deletions

View File

@@ -125,7 +125,7 @@ const Account = ({
const LinkEl: any = showProfileHoverCard ? Link : 'div';
return (
<div className='flex-shrink-0 group block w-full overflow-hidden' ref={overflowRef}>
<div data-testid='account' className='flex-shrink-0 group block w-full overflow-hidden' ref={overflowRef}>
<HStack alignItems={actionAlignment} justifyContent='between'>
<HStack alignItems='center' space={3} grow>
<ProfilePopper

View File

@@ -289,6 +289,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
aria-autocomplete='list'
id={id}
maxLength={maxLength}
data-testid='autosuggest-input'
/>
<div className={classNames({