feat: Pruefdialog nennt Regelwerk und Elementanzahl
- Katalog und Level-Regeln mit Saison und Quelle im Dialogkopf - Zusammenfassung zaehlt die geprueften Elemente - Tooltip am Pruefen-Button nennt die Saisons - Whiteboard-Tests auf 237 Assertions erweitert (870 gesamt)
This commit is contained in:
parent
223a072f5d
commit
b788c1be04
5 changed files with 96 additions and 14 deletions
|
|
@ -1125,6 +1125,20 @@ func _run() -> void:
|
|||
controller.validation_text.text.contains("nicht im Katalog"),
|
||||
"validation dialog shows the catalog finding"
|
||||
)
|
||||
_check(
|
||||
controller.validation_text.text.contains("Katalog 2025/26")
|
||||
and controller.validation_text.text.contains("2707"),
|
||||
"validation dialog names the catalog and its source"
|
||||
)
|
||||
_check(
|
||||
controller.validation_text.text.contains("Level-Regeln 2025/26")
|
||||
and controller.validation_text.text.contains("2701"),
|
||||
"validation dialog names the level rules and their source"
|
||||
)
|
||||
_check(
|
||||
controller.validation_text.text.contains("1 Element geprüft"),
|
||||
"validation dialog reports how many elements were checked"
|
||||
)
|
||||
controller.validation_dialog.hide()
|
||||
|
||||
controller.new_routine()
|
||||
|
|
@ -1139,6 +1153,13 @@ func _run() -> void:
|
|||
clean_issues.is_empty(),
|
||||
"a consistent routine has no validation findings"
|
||||
)
|
||||
controller.open_validation_dialog()
|
||||
_check(
|
||||
controller.validation_text.text.contains("Keine Befunde")
|
||||
and controller.validation_text.text.contains("Das Element passt"),
|
||||
"clean validation names the rule set and the checked element count"
|
||||
)
|
||||
controller.validation_dialog.hide()
|
||||
|
||||
scene.queue_free()
|
||||
await process_frame
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue