Skip to content

Commit 1e1a5c5

Browse files
krishagarwal278openshift-cherrypick-robot
authored andcommitted
Added unique identifier for dropdowns
1 parent 4257a32 commit 1e1a5c5

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
@@ -5,6 +5,7 @@ import {
55
parsePrometheusDuration,
66
} from './console/console-shared/src/datetime/prometheus';
77
import { SimpleSelect, SimpleSelectOption } from '@patternfly/react-templates';
8+
import { LegacyDashboardPageTestIDs } from './data-test';
89

910
type DropDownPollIntervalProps = {
1011
setInterval: (v: number) => void;
@@ -48,6 +49,7 @@ export const DropDownPollInterval: React.FunctionComponent<DropDownPollIntervalP
4849
initialOptions={initialOptions}
4950
onSelect={(_ev, selection) => onSelect(_ev, selection)}
5051
toggleWidth="150px"
52+
data-test={LegacyDashboardPageTestIDs.PollIntervalDropdownOptions}
5153
/>
5254
);
5355
};

0 commit comments

Comments
 (0)