diff --git a/src/lib/db/__init__.py b/src/lib/db/__init__.py
index 0389cf8..14841e6 100644
--- a/src/lib/db/__init__.py
+++ b/src/lib/db/__init__.py
@@ -61,24 +61,24 @@ if admin is None or not admin.is_admin:
Users.register(username="USER", password="user")
-Recipes.replace(
- id=0,
- name="Ferrari 923578",
- client="Ferrari",
- part_number="923578",
- spec={"steps": []},
- description="Tubo plastica doppia biforcazione con termorestringente centrale",
- archived=False,
-).execute()
-Recipes.replace(
- id=1,
- name="BLOW-BY 5802814210",
- client="",
- part_number="5802814210",
- spec={"steps": []},
- description="Tubo blow-by",
- archived=False,
-).execute()
+# Recipes.replace(
+# id=0,
+# name="Ferrari 923578",
+# client="Ferrari",
+# part_number="923578",
+# spec={"steps": []},
+# description="Tubo plastica doppia biforcazione con termorestringente centrale",
+# archived=False,
+# ).execute()
+# Recipes.replace(
+# id=1,
+# name="BLOW-BY 5802814210",
+# client="",
+# part_number="5802814210",
+# spec={"steps": []},
+# description="Tubo blow-by",
+# archived=False,
+# ).execute()
if True:
diff --git a/src/ui/recipe_spec_and_step_editor/recipe_spec_and_step_editor.ui b/src/ui/recipe_spec_and_step_editor/recipe_spec_and_step_editor.ui
index 8a3eb6f..b19b54e 100644
--- a/src/ui/recipe_spec_and_step_editor/recipe_spec_and_step_editor.ui
+++ b/src/ui/recipe_spec_and_step_editor/recipe_spec_and_step_editor.ui
@@ -80,7 +80,7 @@ Fasi di Test
- Perdite 1
+ Test caduta pressione 1
-
@@ -123,7 +123,7 @@ Fasi di Test
- Perdite 2
+ Test caduta pressione 2
-
@@ -166,7 +166,7 @@ Fasi di Test
- Visione
+ Test telecamera
-
diff --git a/src/ui/test/test.py b/src/ui/test/test.py
index a198a23..a538442 100755
--- a/src/ui/test/test.py
+++ b/src/ui/test/test.py
@@ -39,9 +39,9 @@ class Test(Widget):
# "assembly_1": Test_Assembly(self.select_step_img("assembly_1"), u"INSERIRE SENSORE"),
"autotest": Test_Assembly(None, u"ESEGUIRE PROCEDURA DI AUTOTEST", Test_Autotest()),
"barcodes": Test_Assembly(None, u"SCANSIONARE IL SERIALE DEL PEZZO DA COLLAUDARE", Test_Barcodes()),
- "done": Test_Assembly(self.select_step_img("success"), u"COLLAUDO COMPLETATO - RIMUOVERE IL SENSORE"),
+ "done": Test_Assembly(self.select_step_img("success"), u"COLLAUDO COMPLETATO"),
"emergency": Test_Assembly(self.select_step_img("reset_emergency"), u"EMERGENZA INTERVENUTA - RIPRISTINARE PULSANTE E SELEZIONARE \"RESET EMERGENZA\" DAL MEN\u00d9 \"STRUMENTI\""),
- "fail": Test_Assembly(self.select_step_img("fail"), u"CICLO INTERROTTO - RIMUOVERE IL SENSORE"),
+ "fail": Test_Assembly(self.select_step_img("fail"), u"CICLO INTERROTTO"),
"leak": Test_Assembly(None, u"ESECUZIONE TEST IN CORSO - ATTENDERE", Test_Leak(components=self.components, recipe=self.recipe, step=self.step)),
"print": Test_Assembly(self.select_step_img("print"), u"STAMPA ETICHETTA IN CORSO"),
"select_recipe": Test_Assembly(None, u"SELEZIONARE IL CODICE DA COLLAUDARE", Recipe_Selection()),
@@ -291,8 +291,8 @@ class Test(Widget):
"TTEST": "-",
"MAXLEAK": "-",
"PTESTMIN": "-",
- "RESULT_L1": str(self.data.get("leak", [{}, {}])[0].get("results", {}).get("result", "FAIL")),
- "RESULT_L2": str(self.data.get("leak", [{}, {}])[1].get("results", {}).get("result", "FAIL")),
+ "RESULT_L1": "ESITO",
+ "RESULT_L2": "CONFORME",
}
self.components["label_printer"].print_label("EtichettaR5", context=context)
self.log.info(f"cycle printed: {context!r}")
diff --git a/src/ui/test_test/test_test.py b/src/ui/test_test/test_test.py
index 6d8ff2b..d590dda 100644
--- a/src/ui/test_test/test_test.py
+++ b/src/ui/test_test/test_test.py
@@ -61,6 +61,7 @@ class Test_Test(Widget):
self.visualize()
def start(self, recipe=None, step=None):
+ self.admin_challenged = False
self.recipe = recipe
self.step = step
self.ok_counter = 0