From e327e34fd6ec77bd3539e11b653ea9a5bbc664a7 Mon Sep 17 00:00:00 2001
From: Bobby Novak <176936850+rnovak338@users.noreply.github.com>
Date: Mon, 19 Aug 2024 15:04:50 -0400
Subject: [PATCH] Certification Signature - read-only date input (#4196)
For the signature date fields, I made them read-only and supplied a [select a date] placeholder. This will prompt the auditor/auditee to use the datepicker component instead of attempting to type in a date and risk invalid input.
I also updated the Cypress full-submission test where the value is normally typed in for the input. Now, Cypress will select the calendar element and select today's date.
---
.../audit/templates/audit/auditee-certification-step-2.html | 4 +++-
.../audit/templates/audit/auditor-certification-step-2.html | 4 +++-
backend/cypress/support/auditee-certification.js | 3 ++-
backend/cypress/support/auditor-certification.js | 3 ++-
4 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/backend/audit/templates/audit/auditee-certification-step-2.html b/backend/audit/templates/audit/auditee-certification-step-2.html
index f462496cf2..56d326e937 100644
--- a/backend/audit/templates/audit/auditee-certification-step-2.html
+++ b/backend/audit/templates/audit/auditee-certification-step-2.html
@@ -30,7 +30,9 @@