mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 19:21:50 +02:00
test: add tests, including extension to end-2-end test
This commit is contained in:
@ -188,6 +188,13 @@ def test_dap_rpc(rpc_server_figure, bec_client_lib, qtbot):
|
||||
|
||||
qtbot.waitUntil(wait_for_fit, timeout=10000)
|
||||
|
||||
# Repeat fit after adding a region of interest
|
||||
plt.select_roi(region=(3, 7))
|
||||
res = scans.line_scan(dev.samx, 0, 8, steps=50, relative=False)
|
||||
res.wait()
|
||||
|
||||
qtbot.waitUntil(wait_for_fit, timeout=10000)
|
||||
|
||||
|
||||
def test_removing_subplots(rpc_server_figure, bec_client_lib):
|
||||
fig = BECFigure(rpc_server_figure)
|
||||
|
Reference in New Issue
Block a user