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
@@ -704,7 +704,7 @@ exports[`<Users /> should render a user list 1`] = `
|
||||
<input
|
||||
checked=""
|
||||
class="_input_udcm8_24"
|
||||
id="_r_4_"
|
||||
id="react-use-id-1"
|
||||
role="switch"
|
||||
type="checkbox"
|
||||
/>
|
||||
@@ -718,7 +718,7 @@ exports[`<Users /> should render a user list 1`] = `
|
||||
>
|
||||
<label
|
||||
class="_label_19upo_59"
|
||||
for="_r_4_"
|
||||
for="react-use-id-1"
|
||||
>
|
||||
Only joined users
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user