fix freefall

This commit is contained in:
eduar 2026-02-03 10:14:00 +01:00
parent ff78e93695
commit 0c763ea98e

View File

@ -316,6 +316,15 @@ class Test_Leak(Test_Test):
else:
ok = type(result) is str and "passed" in result.lower() # NORMAL TEST, OK EXPECTED
# If freefall test is OK, autostart the next test (leak_1)
if self.step.step_type == "test_freefall_leak" and ok:
# The parent's `get` will advance to the next step.
# When the new step (leak_1) starts, we want it to auto-click.
# We can't click here because the new step widget is not yet created.
# So we set a flag on the parent.
if self.parent:
self.parent.autostart_next_step = True
# SET DIGITAL OUTPUTS
if self.parent.config["hardware_config"].get("external_flush_blow", None) == "present":