diff --git a/packages/mui-joy/src/CircularProgress/CircularProgress.test.tsx b/packages/mui-joy/src/CircularProgress/CircularProgress.test.tsx
index ca12d541725a09..99422dcd1fb5e1 100644
--- a/packages/mui-joy/src/CircularProgress/CircularProgress.test.tsx
+++ b/packages/mui-joy/src/CircularProgress/CircularProgress.test.tsx
@@ -19,8 +19,10 @@ describe('', () => {
testCustomVariant: true,
slots: {
root: { expectedClassName: classes.root },
- svg: { expectedClassName: classes.svg },
- track: { expectedClassName: classes.track },
+ svg: { expectedClassName: classes.svg, testWithElement: 'svg' },
+ track: {
+ expectedClassName: classes.track,
+ },
progress: { expectedClassName: classes.progress },
},
skip: ['classesRoot', 'componentsProp'],
diff --git a/packages/mui-joy/src/Menu/Menu.test.js b/packages/mui-joy/src/Menu/Menu.test.js
index a4b4fe709d4f14..02e21a47f956ab 100644
--- a/packages/mui-joy/src/Menu/Menu.test.js
+++ b/packages/mui-joy/src/Menu/Menu.test.js
@@ -21,7 +21,7 @@ describe('Joy
', () => {
testVariantProps: { variant: 'soft' },
testCustomVariant: true,
slots: {
- root: { expectedClassName: classes.root },
+ root: { expectedClassName: classes.root, testWithComponent: 'ul' },
},
skip: [
'rootClass', // portal, can't determin the root
diff --git a/packages/mui-joy/src/SvgIcon/SvgIcon.test.js b/packages/mui-joy/src/SvgIcon/SvgIcon.test.js
index 01456e20c63ec1..93d22fe172045b 100644
--- a/packages/mui-joy/src/SvgIcon/SvgIcon.test.js
+++ b/packages/mui-joy/src/SvgIcon/SvgIcon.test.js
@@ -37,7 +37,7 @@ describe('', () => {
),
slots: {
- root: { expectedClassName: classes.root },
+ root: { expectedClassName: classes.root, testWithComponent: 'svg' },
},
skip: ['themeVariants', 'classesRoot', 'componentsProp'],
}),