Add data-testid for App forms select fields (#33594)

This commit is contained in:
Julien Tant
2025-07-30 13:37:29 -07:00
committed by GitHub
parent 9d72bbfbd5
commit 9f92131899
2 changed files with 3 additions and 0 deletions
@@ -146,6 +146,7 @@ export default class AppsFormField extends React.PureComponent<Props> {
return (
<AppsFormSelectField
{...this.props}
id={name}
teammateNameDisplay={this.props.teammateNameDisplay}
field={field}
label={displayNameContent}
@@ -21,6 +21,7 @@ import {SelectChannelOption} from './select_channel_option';
import {SelectUserOption} from './select_user_option';
export type Props = {
id: string;
field: AppField;
label: React.ReactNode;
helpText: React.ReactNode;
@@ -226,6 +227,7 @@ export default class AppsFormSelectField extends React.PureComponent<Props, Stat
return (
<div
data-testid={this.props.id}
className='form-group'
>
{label && (