Skip to content
Snippets Groups Projects
Commit 14b4ca3d authored by Harry Jeffery's avatar Harry Jeffery
Browse files

Revert "Revert "Fix squish tests""

parent d86a8299
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ def do_test_minimal(test_harness):
column_index = 0
# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")
# Set the run number
tbl.item(row_index, column_index).setText(str(run_number))
......@@ -102,7 +102,7 @@ def do_test_transmission(test_harness):
row_index = 0
# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")
# Set the run number
tbl.item(row_index, 0).setText(str(run_number))
......@@ -131,7 +131,7 @@ def do_test_reuse_transmission(test_harness):
row_index = 0
# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")
# Set the first run number
tbl.item(row_index, 0).setText(str(run_number1))
......@@ -166,7 +166,7 @@ def do_test_stitch_output(test_harness):
row_index = 0
# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")
# Set the stitched state
ck_stitched = waitForObject(':tableMain_QCheckBox')
......@@ -207,7 +207,7 @@ def do_test_three_runs(test_harness):
row_index = 0
# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")
# Set the first run number
tbl.item(row_index, 0).setText(str(run_number1))
......
......@@ -32,7 +32,7 @@ except ImportError:
class ReflGui(QtGui.QMainWindow, refl_window.Ui_windowRefl):
class ReflGui(QtGui.QMainWindow, ui_refl_window.Ui_windowRefl):
current_instrument = None
current_table = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment