use the same testid for the placeholder

Signed-off-by: Wiktor Czajkowski <wiktor.czajkowski@allegro.pl>
This commit is contained in:
Wiktor Czajkowski
2024-11-19 12:26:38 +01:00
parent 0e97bd22a0
commit 0d020e0539
@@ -36,6 +36,6 @@ export function Progress(props: PropsWithChildren<LinearProgressProps>) {
return isVisible ? (
<LinearProgress {...props} data-testid="progress" />
) : (
<Box display="none" data-testid="progress-placeholder" />
<Box display="none" data-testid="progress" />
);
}