e2e: Wait for main viewer to have an src

This commit is contained in:
ochafik 2024-12-23 12:26:59 +00:00 • committed by Olivier Chafik
commit c155c156cb
2 changed files with 6 additions and 0 deletions

View file

@ -47,6 +47,7 @@ export default function ViewerPanel({className, style}: {className?: string, sty
}}>
<model-viewer
orientation="0deg -90deg 0deg"
class="main-viewer"
src={state.output?.displayFileURL ?? state.output?.outFileURL ?? ''}
style={{
width: '100%',