Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ describe('PayrollOverviewPresentation', () => {

await waitFor(() => {
expect(
screen.getByText(
/Submission failed: You have exceeded the limit at which you can process 2-day payroll/i,
),
screen.getByText(/You have exceeded the limit at which you can process 2-day payroll/i),
).toBeInTheDocument()
})
expect(
Expand All @@ -131,9 +129,7 @@ describe('PayrollOverviewPresentation', () => {

await waitFor(() => {
expect(
screen.getByText(
/Submission failed: You have exceeded the limit at which you can process 2-day payroll/i,
),
screen.getByText(/You have exceeded the limit at which you can process 2-day payroll/i),
).toBeInTheDocument()
})
expect(
Expand Down Expand Up @@ -259,9 +255,7 @@ describe('PayrollOverviewPresentation', () => {

await waitFor(() => {
expect(
screen.getByText(
/Submission failed: You have exceeded the limit at which you can process 2-day payroll/i,
),
screen.getByText(/You have exceeded the limit at which you can process 2-day payroll/i),
).toBeInTheDocument()
})
const anotherBlockerElements = screen.getAllByText('Another Blocker')
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/en/Payroll.PayrollOverview.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@
"employeePayDate": "Employee pay date: {{date}}"
},
"fast_ach_threshold_exceeded": {
"title": "Submission failed: You have exceeded the limit at which you can process 2-day payroll."
"title": "You have exceeded the limit at which you can process 2-day payroll."
},
"needs_earned_access_for_fast_ach": {
"title": "Submission failed: You have not yet earned access to faster payroll."
"title": "You have not yet earned access to faster payroll."
}
}
}