use the same testid for the placeholder
Signed-off-by: Wiktor Czajkowski <wiktor.czajkowski@allegro.pl>
This commit is contained in:
@@ -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" />
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user