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
We are now using playwright to run a subset of our VSCode unit tests inside different browser types. The "steps" are this
clone vscode from https://github.com/microsoft/vscode and run yarn
run node test/browser/index.js --browser chromium and see how tests success and fail
run node test/browser/index.js --browser firefox and nothing happens...
At the heard of this we load mocha inside a webpage which gets our AMD loader and other things ready (this page loads without issues inside firefox). Then we use page.evaluate to tell the page what modules to load and to start tests. Tests communicate back to the node-process via page.exposeFunction-ed function using a special mocha reporter implementation.
Describe the bug
All of the above works fine in webkit and chromium but does seemingly nothing in firefox...
The text was updated successfully, but these errors were encountered:
Also seeing Firefox just freezing here. However I also get a yellow notification on the top saying that Firefox is installing components to play audio and video. (Widevine)
We assume tests are serving from the localhost to use fetch and other web features. We'll be addressing #822, but for now if you have a way to serve your test, it would mitigate it.
Context:
Code Snippet
We are now using playwright to run a subset of our VSCode unit tests inside different browser types. The "steps" are this
https://github.com/microsoft/vscode
and runyarn
node test/browser/index.js --browser chromium
and see how tests success and failnode test/browser/index.js --browser firefox
and nothing happens...At the heard of this we load mocha inside a webpage which gets our AMD loader and other things ready (this page loads without issues inside firefox). Then we use
page.evaluate
to tell the page what modules to load and to start tests. Tests communicate back to the node-process viapage.exposeFunction
-ed function using a special mocha reporter implementation.Describe the bug
All of the above works fine in webkit and chromium but does seemingly nothing in firefox...
The text was updated successfully, but these errors were encountered: