-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser mode showing blank page #5308
Comments
Did you try passing down |
I just tried and it opened the UI in my default browser (Edge), this might not be the expected behavior because in previous Vitest Previously I was using Vitest v1.0.1 and it worked fine without passing the |
Hope I will have time later to provide more information, but the current issue is that after upgrading from 1.1.3 to 1.3.1, sometimes the blank screen issue occurs. It seems there are no errors in the console, but the body is empty. |
I can reproduce this easily with the latest version, just run any browser test, with browser eg. "chrome". The cause is the Note that this (still) happens when the UI is disabled. This probably also causes #5568. |
I am guessing this might be because 4f40177 changed the position where the test container is rendered, so it is always after the UI iframe (previously it was just rendered... wherever, I suppose). cc @sheremet-va |
Describe the bug
When using browser mode, the browser window pops up with a blank page regardless of the test status.
I guess it's because the iframe's
src
assignment was removed in this PR?Reproduction
It's just a basic setup so I'm just pasting the files here:
The test passed normally.
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: