Skip to content

Commit

Permalink
feat: update scheduled pay content
Browse files Browse the repository at this point in the history
  • Loading branch information
namanaman committed Aug 13, 2024
1 parent 728107e commit 2a6d1e9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/paymentDetail.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("Payment Detail page - Leave Ended FLI", () => {
);

cy.get("#accordion0id")
.contains("Next $770.00 to issue on August 13, 2024")
.contains("Next $770.00 to issue on August 13, 2025")
.should("be.visible");
cy.get("#accordion0id")
.contains("Covers April 30, 2024 to May 5, 2024")
Expand Down Expand Up @@ -83,7 +83,7 @@ describe("Payment Detail page - Leave Ended TDI", () => {
.should("be.visible");

cy.get("#accordion0id")
.contains("Next $770.00 to issue on August 13, 2024")
.contains("Next $770.00 to issue on August 13, 2025")
.should("be.visible");
cy.get("#accordion0id")
.contains("Covers April 30, 2024 to May 5, 2024")
Expand Down Expand Up @@ -332,7 +332,7 @@ describe("Payment Detail page - Scheduled", () => {
"be.visible"
);
cy.contains(
"We're sending payment to your benefits debit card on October 13, 2024. You can access the funds about 2 business days later."
"We're sending payment to your benefits debit card on the evening of October 13, 2024. You can access the funds about 2 business days later."
).should("be.visible");

cy.get("#accordion0id")
Expand Down
2 changes: 1 addition & 1 deletion cypress/fixtures/paymentDetail/paymentDetail.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
</tr>

<tr>
<td width="8%" class="tableBA">08/13/2024</td>
<td width="8%" class="tableBA">08/13/2025</td>
<td width="8%" align="right" bgcolor="#ffffff">$770.00</td>
<td width="8%" class="tableBA">$47.74</td>
<td width="8%" class="tableBA">$11.17</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
</tr>

<tr>
<td width="8%" class="tableBA">08/13/2024</td>
<td width="8%" class="tableBA">08/13/2025</td>
<td width="8%" align="right" bgcolor="#ffffff">$770.00</td>
<td width="8%" class="tableBA">$47.74</td>
<td width="8%" class="tableBA">$11.17</td>
Expand Down
2 changes: 1 addition & 1 deletion src/paymentDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function getPaymentInfoHtml(parsedStatus, status, claimType) {
case "Next pay scheduled":
const scheduledDate = extractDateFromString(status);
body = html`<div>
We're sending payment to your benefits debit card on
We're sending payment to your benefits debit card on the evening of
${getFormattedDate(scheduledDate)}. You can access the funds about 2
business days later.<br /><br />Questions? Learn more about
<a
Expand Down

0 comments on commit 2a6d1e9

Please sign in to comment.