You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/6.x/docs/guides/migration.md
+55-6Lines changed: 55 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,12 +71,61 @@ You can use the component's color prop where available, or override the correspo
71
71
72
72
### Test IDs
73
73
74
-
Some hardcoded and generated test IDs have been removed for the following components:
75
-
76
-
-`Appbar.Header`: `${testID}-root-layer`
77
-
-`Surface`: `surface` and `${testID}-outer-layer`
78
-
79
-
You can specify a `testID` explicitly and use that value to query the component.
74
+
Hardcoded default test IDs have been removed for the components listed below. Many of these components also derive test IDs for their internal parts by appending a suffix to the `testID` prop (e.g. `${testID}-container`). Since `testID` is no longer defaulted to a hardcoded value, none of these derived test IDs are set either unless you pass a `testID` explicitly — so all queries by the IDs below will stop matching:
0 commit comments