Skip to content

Commit 2635897

Browse files
Added unique identifier for dropdowns
1 parent 68e7788 commit 2635897

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/src/components/dropdown-poll-interval.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
parsePrometheusDuration,
77
} from './console/console-shared/src/datetime/prometheus';
88
import { SimpleSelect, SimpleSelectOption } from '@patternfly/react-templates';
9+
import { LegacyDashboardPageTestIDs } from './data-test';
910

1011
type DropDownPollIntervalProps = {
1112
setInterval: (v: number) => void;
@@ -49,6 +50,7 @@ export const DropDownPollInterval: FunctionComponent<DropDownPollIntervalProps>
4950
initialOptions={initialOptions}
5051
onSelect={(_ev, selection) => onSelect(_ev, selection)}
5152
toggleWidth="150px"
53+
data-test={LegacyDashboardPageTestIDs.PollIntervalDropdownOptions}
5254
/>
5355
);
5456
};

0 commit comments

Comments
 (0)