Skip to content

Commit

Permalink
Merge pull request #4206 from GSA-TTS/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm authored Aug 20, 2024
2 parents 4a2b0cd + e327e34 commit 1c37ac6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ <h3>Agree and sign to auditee statement</h3>
aria-describedby="auditee_certification_date_signed-hint"
aria-required="true"
required
data-validate-not-null="" />
data-validate-not-null=""
placeholder="[select a date]"
readonly />
</div>
</fieldset>
<button class="usa-button margin-bottom-8 margin-top-4" id="continue">Agree to auditee certification</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ <h3>Agree and sign to auditor statement</h3>
aria-describedby="auditor_certification_date_signed-hint"
aria-required="true"
required
data-validate-not-null="" />
data-validate-not-null=""
placeholder="[select a date]"
readonly/>
</div>
</fieldset>
<button class="usa-button margin-top-4" id="continue">Agree to auditor certification</button>
Expand Down
3 changes: 2 additions & 1 deletion backend/cypress/support/auditee-certification.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export function testAuditeeCertification() {
// 2. Sign and date, submit and go back to checklist
cy.get('#auditee_name').type('John Doe');
cy.get('#auditee_title').type('Auditee');
cy.get('#auditee_certification_date_signed').type("01/01/2022");
cy.get('.usa-date-picker__button').click();
cy.get('.usa-date-picker__calendar__date--today').click();
cy.get('.usa-button').contains('Agree to auditee certification').click();
};
3 changes: 2 additions & 1 deletion backend/cypress/support/auditor-certification.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export function testAuditorCertification() {
// 2. Sign and date, submit and go back to checklist
cy.get('#auditor_name').type('Jane Doe');
cy.get('#auditor_title').type('Auditor');
cy.get('#auditor_certification_date_signed').type("01/01/2022");
cy.get('.usa-date-picker__button').click();
cy.get('.usa-date-picker__calendar__date--today').click();
cy.get('.usa-button').contains('Agree to auditor certification').click();
};

0 comments on commit 1c37ac6

Please sign in to comment.