mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 19:21:50 +02:00
refactor: move add/remove bundle to scan group box
This commit is contained in:
@ -355,14 +355,14 @@ def test_add_remove_bundle(scan_control, scan_name, qtbot):
|
||||
|
||||
assert initial_num_of_rows == expected_scan_info["arg_bundle_size"]["min"]
|
||||
|
||||
scan_control.button_add_bundle.click()
|
||||
scan_control.button_add_bundle.click()
|
||||
scan_control.arg_box.button_add_bundle.click()
|
||||
scan_control.arg_box.button_add_bundle.click()
|
||||
|
||||
if expected_scan_info["arg_bundle_size"]["max"] is None:
|
||||
assert scan_control.arg_box.count_arg_rows() == initial_num_of_rows + 2
|
||||
|
||||
# Remove one bundle
|
||||
scan_control.button_remove_bundle.click()
|
||||
scan_control.arg_box.button_remove_bundle.click()
|
||||
qtbot.wait(200)
|
||||
|
||||
assert scan_control.arg_box.count_arg_rows() == initial_num_of_rows + 1
|
||||
|
Reference in New Issue
Block a user