browser mode: component is not shown in browser #5370
-
I am using vitest in browser mode and would like to see my rendered component in the browser.
When I look at the document of the browser I can see the following structure:
The iframe with id "vitest-ui" has a height of 100vh, so the iFrames with the test results are actually never displayed. When I set it to 0, I can see my rendered component in one of the iframes. I was watching this video tutorial, and there you can see the rendered content: my vitest config:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The UI part still not included |
Beta Was this translation helpful? Give feedback.
Yes.
To show the test UI we need to include the logic in Vitest UI,
browser
feature only includes the logic to run the test in the browser; rn there is no Vitest version with the test UI tab, only that PR includes it, and yes, in a future the tab should be there