mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
feat(kube): add a11y props for smoke tests [EE-6747] (#11263)
This commit is contained in:
parent
42c2a52a6b
commit
6c70049ecc
26 changed files with 143 additions and 62 deletions
|
@ -10,6 +10,7 @@ export function SliderWithInput({
|
|||
step = 1,
|
||||
dataCy,
|
||||
visibleTooltip = false,
|
||||
inputId,
|
||||
}: {
|
||||
value: number;
|
||||
onChange: (value: number) => void;
|
||||
|
@ -18,6 +19,7 @@ export function SliderWithInput({
|
|||
dataCy: string;
|
||||
step?: number;
|
||||
visibleTooltip?: boolean;
|
||||
inputId?: string;
|
||||
}) {
|
||||
return (
|
||||
<div className="flex items-center gap-6">
|
||||
|
@ -44,6 +46,7 @@ export function SliderWithInput({
|
|||
onChange={(e) => onChange(e.target.valueAsNumber)}
|
||||
className="w-32"
|
||||
data-cy={`${dataCy}Input`}
|
||||
id={inputId}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue