fix: address CI failures for form validation tests

- Add tests/ui_tests/*password*.js to whitelist safe filename patterns
- Add blur() call before checking pattern validity to ensure browser
  updates validation state properly
This commit is contained in:
LearningCircuit
2025-12-24 11:05:11 +01:00
parent 9d19329876
commit b5b56d1b60
2 changed files with 5 additions and 0 deletions

View File

@@ -151,6 +151,7 @@ SAFE_FILENAME_PATTERNS=(
"\.secrets\.baseline$"
".*session_passwords\.py$"
".*change_password\.html$"
"tests/ui_tests/.*password.*\.js$"
)
# Check if filename looks suspicious