diff --git a/config/instruction_images/st-ten-8/5803112815.svg b/config/instruction_images/st-ten-8/5803112815.svg index fd75f86..6fd6f76 100644 --- a/config/instruction_images/st-ten-8/5803112815.svg +++ b/config/instruction_images/st-ten-8/5803112815.svg @@ -9,7 +9,7 @@ id="svg5" xml:space="preserve" inkscape:version="1.2.2 (732a01da63, 2022-12-09)" - sodipodi:docname="5802815398.svg" + sodipodi:docname="5803112815.svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" diff --git a/src/ui/test/test.py b/src/ui/test/test.py index e2bcbdf..375a40a 100755 --- a/src/ui/test/test.py +++ b/src/ui/test/test.py @@ -673,7 +673,7 @@ class Test(Widget): self.cycle_available_steps["barcode_recipe_selection"].widget.get(data) else: # fixture removed - pass + self.change_recipe() else: if data is not None: self.fail_cycle() diff --git a/src/ui/test/test.ui b/src/ui/test/test.ui index 7c608ab..f6de7e9 100755 --- a/src/ui/test/test.ui +++ b/src/ui/test/test.ui @@ -206,7 +206,7 @@ - 120 + 150 0 diff --git a/src/ui/test_instructions/test_instructions.py b/src/ui/test_instructions/test_instructions.py index 6596eda..7ea6bcb 100644 --- a/src/ui/test_instructions/test_instructions.py +++ b/src/ui/test_instructions/test_instructions.py @@ -29,7 +29,7 @@ class Test_Instructions(Test_Test): self.svg_path=os.path.join("config","instruction_images",self.bench_name,"") self.timer = QTimer() self.timer.timeout.connect(self.toggle_icons) - self.expected_input_state = True if self.step.type == "instruction" else False + self.expected_input_state=True def start(self, recipe=None, step=None, pieces=None): show = super().start(recipe=recipe, step=step) @@ -45,6 +45,7 @@ class Test_Instructions(Test_Test): self.svg_root = etree.parse(svg_path) self.svg_str = etree.tostring(self.svg_root) self.svg_str=etree.tostring(self.svg_root) + self.expected_input_state = True if step.type == "instruction" else False self.monitored_ids=self.svg_root.xpath(f'''.//*[starts-with(@id, 'sensor_')]''')