Open aruniverse opened 1 month ago
A keyin to switch to a default-created view and/or a config option to use a default-created view at startup both sound fine for display-test-app. The folks who use display-test-app on a daily basis like the way it currently works though - I'd prefer if it continues to work the current way by default.
What's the use case for display-performance-test-app?
What's the use case for display-performance-test-app?
I guess the case here isnt as strong if we keep the default behavior of opening up to a specific view. The image tests were run a few times since the pr merged so we kinda expected this to have been caught through that. (assuming the app works like most of our prod apps which by default open up to the default view)
Is there a reason why default views are used in those image tests?
Is there a reason why default views are used in those image tests?
(I'm assuming you meant "aren't"). Most of the ImageTests views were created to test very specific aspects of the display system. It has an option that says "test all the views of this iModel". We could make that option also test a default-created view.
TBH though, this regression should have been caught by unit tests for ViewCreator3d
.
That can be a separate pr, just mentioning it here so this doesnt get lost.
_Originally posted by @aruniverse in https://github.com/iTwin/itwinjs-core/pull/7035#discussion_r1702025747_