Skip to content

Commit

Permalink
reset onemac test pages
Browse files Browse the repository at this point in the history
  • Loading branch information
andieswift committed Aug 30, 2024
1 parent 8cd1aad commit 4f0cbfc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/cypress/support/pages/oneMacFormPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const subsequentDocumentsHeader = (type) =>
`//h3[contains(text(),'Subsequent ${type} Documents')]`;
const labelElementFromLabel = {
"Additional Information": "#additional-information-label",
"Reason for subsequent submission": "#additional-information-label",
};
const elementFromLabel = {
// Different forms may have different labels for the ID field
Expand All @@ -40,6 +41,7 @@ const elementFromLabel = {
"Existing Waiver Number to Renew": parentIdElement,
"Existing Waiver Number to Amend": parentIdElement,
"Additional Information": "#additional-information",
"Reason for subsequent submission": "#additional-information",
};
const errorMessageLine1FromLabel = {
"SPA ID": "#componentIdStatusMsg0",
Expand Down Expand Up @@ -80,6 +82,7 @@ const dateElementsFromLabel = {
};
const yesSubmitBtn = "//button[text()='Yes, Submit']";
const coverLetterAttachment = "//div[contains(text(),'Cover Letter')]";
const reasonForSubsequentSubmission = "";

//internal function for proposed effective date
function caculateMonthsInFuture(numMonths) {
Expand Down

0 comments on commit 4f0cbfc

Please sign in to comment.