Open Yamadetta opened 5 months ago
UPD: I managed to fix it using this before the first expect:
await new Promise((res) => {
setTimeout(() => res(''), 1)
})
I'm not sure it's very obvious. It might be worth describing this in the documentation if it can't be fixed.
I believe I can confirm this behaviour is present since 3.6.0.
Environment
Vuetify Version: 3.6.7 Vue Version: 3.4.27 Browsers: Chrome 125.0.0.0 OS: Windows 10
Steps to reproduce
Continuing from the discussion (https://github.com/vuetifyjs/vuetify/discussions/18076), components like VMain, VNavigationDrawer, VBottomNavigation, VAppBar, and VLayoutItem do not render in tests using @vue/test-utils, making it impossible to test components that contain these components.
For example, the following test:
Will have the following markup:
The following variant also does not work:
Expected Behavior
Components must rendering
Actual Behavior
Components are not rendering
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
Can’t give a link to the repository, since the work is being done in a private repository