Skip to content

Commit

Permalink
fix(data-test-id): fix small old mistake - added data-test-id (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydrock authored Mar 31, 2020
1 parent cbd311f commit 2ce1b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/input-autocomplete/input-autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ export class InputAutocomplete extends React.Component<InputAutocompleteProps, I
return (
<div
className={ this.cn('autocomplete-case', { width: this.props.width }) }
data-test-id={ this.props['data-test-id'] }
>
<Input { ...props } />
{ this.renderPopup() }
Expand Down

1 comment on commit 2ce1b76

@Nadezzdi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Теперь data-test-id пробрасывается дважды - в div и Input span, это корректное поведение? Для cypress тестов стало неудобно пользоваться

Please sign in to comment.