-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Some browser tests do not succeed anymore #8093
Comments
The |
Could we trace back to which PR started triggering a weird state? |
I tested with the |
I identified the breaking commit as fdd7c41 using git bisect. |
I identified the commit (where the tests started to fail locally), however I was unable to determine how to fix them. I noticed that:
|
I will have a look later this week. Tests are run together in the same app. |
It is reproducible when menus and views tests are enabled. |
It is timing issue, fdd7c41 makes sure that VS Code extensions views are properly registered in the explorer (shell). It slows down the creation of the navigator. |
as well fixes some exceptions caused by disposed widgets Signed-off-by: Anton Kosyakov <[email protected]>
as well fixes some exceptions caused by disposed widgets Signed-off-by: Anton Kosyakov <[email protected]>
Bug Description:
It looks like the test don't run anymore. While publishing Theia version 1.3.0, I had to by-pass the browser test.
Note: removing the $HOME/.theia solved some errors but not all
Do we have dependencies on the home folder?
The tests have been running a few times and we get the same result
Steps to Reproduce:
-> some tests don't succeed
Additional Information
Errors:
Replace in the active editor:
TypeError: Cannot read property 'widgets' of null
at ViewContainer.../../packages/core/lib/browser/view-container.js.ViewContainer.getParts (bundle.js:128607:37)
root INFO 2) Menus
should toggle 'Explorer' view:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
root INFO 3) Menus
reveal more context menu in the explorer view container toolbar:
TypeError: Cannot read property 'widgets' of null
at ViewContainer.../../packages/core/lib/browser/view-container.js.ViewContainer.getParts (bundle.js:128607:37)
at Context. (/home/lmcbout/theia/stable/theia/examples/api-tests/src/menus.spec.js:88:42)
The text was updated successfully, but these errors were encountered: