File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 9797 with vuetify .VContainer (
9898 fluid = True , classes = "pa-0 fill-height" , style = "width: 50%;"
9999 ):
100- remote = VtkRemoteView (renWin )
100+ VtkRemoteView (renWin , ctx_name = "remote" )
101101
102102 # hide footer
103103 layout .footer .hide ()
Original file line number Diff line number Diff line change 1+ import asyncio
12from pathlib import Path
23import pytest
34from seleniumbase import SB
1112
1213
1314@pytest .mark .parametrize ("server_path" , ["examples/validation/VolumeRendering.py" ])
14- def test_rendering (server , baseline_image ):
15+ @pytest .mark .asyncio
16+ async def test_rendering (server , baseline_image ):
1517 with SB () as sb :
1618 url = f"http://127.0.0.1:{ server .port } /"
1719 sb .open (url )
1820 set_browser_size (sb , 600 , 300 )
1921 sb .assert_exact_text ("1" , ".readyCount" )
2022 sb .check_window (name = "init" , level = 3 )
23+
24+ # Try to make sure the remote rendering has the proper size
25+ await asyncio .sleep (0.1 )
26+
27+ # Grab and compare baseline
2128 baseline_comparison (sb , BASELINE_TEST , 0.1 )
You can’t perform that action at this time.
0 commit comments