@davoodmehraban89 / Aram-2 Mirror · read-only / commits / 03ad269
Fork 0

Mirrored from https://github.com/davoodmehraban89/Aram.git

Synced Dec 3, 22:00 UTC

test(desktop): assert financial figures in frozen Windows EXE success smoke

davoodmehraban89 committed Oct 31, 2026 at 20:26 UTC 03ad26975155649157f881e51640841d5f0bb1f4
1 file changed +11
backend/src/aram_backend/desktop_five_statement.py
+11
@@ -558,6 +558,17 @@ def ui_valid_smoke_test() -> int:
558 rows = window.outcome_tree.get_children()
559 if len(rows) != 5:
560 return 24
561 + amount_rows = [
562 + window.figures_tree.item(row, "values")
563 + for row in window.figures_tree.get_children()
564 + ]
565 + if len(amount_rows) != 28:
566 + return 28
567 + if not any(
568 + row[0] == "سود و زیان" and row[1] == "سود خالص"
569 + and row[2] == "20" for row in amount_rows
570 + ):
571 + return 29
572 if any(
573 window.outcome_tree.item(row, "values")[1] != "قابل بررسی"
574 for row in rows