Stabilise React useId values in DOM snapshots in element-web (#33579)
* Stabilise React useId values in DOM snapshots - app/web * Stabilise React useId values in DOM snapshots - shared components * Update additional snapshots * Added comments and changed replace pattern to 'react-use-id-N'
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@ exports[`<FilteredDeviceListHeader /> renders correctly when all devices are sel
|
||||
>
|
||||
<input
|
||||
aria-label="Deselect all"
|
||||
aria-labelledby="_r_9_"
|
||||
aria-labelledby="react-use-id-1"
|
||||
checked=""
|
||||
class="_input_153f2_18"
|
||||
data-testid="device-select-all-checkbox"
|
||||
@@ -89,7 +89,7 @@ exports[`<FilteredDeviceListHeader /> renders correctly when no devices are sele
|
||||
>
|
||||
<input
|
||||
aria-label="Select all"
|
||||
aria-labelledby="_r_0_"
|
||||
aria-labelledby="react-use-id-1"
|
||||
class="_input_153f2_18"
|
||||
data-testid="device-select-all-checkbox"
|
||||
id="device-select-all-checkbox"
|
||||
|
||||
Reference in New Issue
Block a user