mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-09 11:04:03 +01:00
fix: tests
This commit is contained in:
1 parent
fb2d8ca9d3
commit
f9cc01408d
3 files changed
+64
-2
No files matched your search
@@ -100,7 +100,7 @@ def test_device_item_expansion(device_browser, qtbot):
|
||||
form = tab_widget.widget(0).layout().itemAt(0).widget()
|
||||
assert widget.expanded
|
||||
assert (name_field := form.widget_dict.get("name")) is not None
|
||||
qtbot.waitUntil(lambda: name_field.getValue() == "samx", timeout=500)
|
||||
qtbot.waitUntil(lambda: name_field.getValue() == "aptrx", timeout=500)
|
||||
qtbot.mouseClick(widget._expansion_button, Qt.MouseButton.LeftButton)
|
||||
assert not widget.expanded
|
||||
|
||||
|
||||
Reference in new issue
Block a user