mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-29 12:37:57 +01:00
test(e2e): avoid timing issues in rpc_gui_obj test
This commit is contained in:
1 parent
bd5aafc052
commit
6848a9e20b
1 file changed
+3
-1
@@ -150,7 +150,9 @@ def test_rpc_gui_obj(connected_client_gui_obj, qtbot):
|
||||
# communication should work, main dock area should have same id and be visible
|
||||
|
||||
yw = gui.new("Y")
|
||||
qtbot.waitUntil(lambda: len(gui.windows) == 2, timeout=3000)
|
||||
yw.delete_all()
|
||||
assert len(gui.windows) == 2
|
||||
yw.remove()
|
||||
assert len(gui.windows) == 1 # only bec is left
|
||||
qtbot.waitUntil(lambda: len(gui.windows) == 1, timeout=3000)
|
||||
assert len(gui.windows) == 1
|
||||
Reference in new issue
Block a user