fix: tests

This commit is contained in:
2025-09-15 14:10:25 +02:00
committed by Jan Wyzula
parent fb2d8ca9d3
commit f9cc01408d
3 changed files with 64 additions and 2 deletions
+1 -1
View File
@@ -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