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
Web: integration test failures in workspace events #102365
Comments
⬆️ that's where the |
@jrieken oh yeah, auto save is on by default in web, good catch! could that be the reason? |
idk - I would still expect a save event to be fired when calling save (as done here). Tho, it might be the wrong command 🤷. From the failure logs it seems that something gets saved but not what we are expecting... |
@jrieken this seems to be an issue with how tests are setup. If I only run the workspace tests I see none failing, via
A listener not cleaned up? |
Only in the web, unlikely. Maybe missing cleanup because of a failure... So, the second could be a false-alarm because the first failed? |
This is indeed caused by auto save being enabled by default in web, changing this line fixes the test failure:
So in theory, a test maybe leaves a model dirty, then continues to run other tests and then after 1s that previous model is being auto saved. I see two options:
|
It would be easier if somehow the name of the test could be part of the models that are being created so that we know from which test the save kicks in. |
The weird thing is that the first failing tests already calls |
I added a new command Bottom line: |
Only failing in Web and only running out of sources it seems:
The text was updated successfully, but these errors were encountered: