-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5261 from ustaxcourt/staging
Merge `staging` into `prod`
- Loading branch information
Showing
248 changed files
with
10,843 additions
and
6,055 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ version: 2.1 | |
orbs: | ||
git-shallow-clone: guitarrapc/[email protected] | ||
|
||
efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.5 | ||
efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.6 | ||
|
||
parameters: | ||
run_build_and_deploy: | ||
|
@@ -371,7 +371,7 @@ jobs: | |
- run: | ||
name: Kill Build if Smoketests Failed | ||
command: | | ||
if [ "${READONLY_SMOKETESTS_RESULT}" -ne 0 ]; then | ||
if [ "${READONLY_SMOKETESTS_RESULT}" -ne 0 ]; then | ||
exit 1 | ||
fi | ||
- run: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
cypress/helpers/advancedSearch/external-user-searches-docket-number.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export function externalUserSearchesDocketNumber(docketNumber: string) { | ||
cy.get('[data-testid="docket-search-field"]').should('exist'); | ||
cy.get('[data-testid="docket-search-field"]').type(docketNumber); | ||
cy.get('[data-testid="search-by-docket-number"]').click(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { | ||
FORMATS, | ||
formatNow, | ||
} from '../../../shared/src/business/utilities/DateHandler'; | ||
|
||
export const docketNumber = '107-19'; | ||
export const leadCaseDocketNumber = '102-67'; | ||
export const statusReportDocketEntryId = '178af2d2-fab1-445a-a729-d3da63517a0a'; | ||
export const messages = { | ||
statusReport: { | ||
messageId: '73d4365b-8b3a-4b01-9ca3-7087f7a6d4b5', | ||
name: 'Status Report', | ||
}, | ||
testStatusReportOrderSigned: { | ||
messageId: '32484c7f-4606-49fc-89f1-27ba1d5596be', | ||
name: 'Test Status Report Order (Signed)', | ||
}, | ||
testStatusReportOrderUnsigned: { | ||
messageId: '34483b5b-29de-4ad4-8caa-59f71ad6d906', | ||
name: 'Test Status Report Order (Unsigned)', | ||
}, | ||
}; | ||
export const expectedPdfLines = [ | ||
'On June 28, 2024, a status report was filed (Index no. 5). For cause, it is', | ||
`ORDERED that the parties shall file a further status report by ${formatNow(FORMATS.MONTH_DAY_YEAR)}. It is further`, | ||
'ORDERED that this case is stricken from the trial session. It is further', | ||
'ORDERED that jurisdiction is retained by the undersigned. It is further', | ||
'ORDERED that Here is my additional order text.', | ||
]; | ||
export const selectAllOptionsInForm = () => { | ||
cy.get('#order-type-status-report').check({ force: true }); | ||
cy.get('#status-report-due-date-picker').type(formatNow(FORMATS.MMDDYYYY)); | ||
cy.get('#stricken-from-trial-sessions').check({ force: true }); | ||
cy.get('#jurisdiction-retained').check({ force: true }); | ||
cy.get('#additional-order-text').type('Here is my additional order text.'); | ||
}; | ||
|
||
export const getLastDraftOrderElementFromDrafts = () => { | ||
return cy.get('button:contains(Order)').last(); | ||
}; | ||
|
||
export const getLastDraftOrderElementIndexFromDrafts = () => { | ||
return getLastDraftOrderElementFromDrafts().then(lastOrderButton => { | ||
return lastOrderButton.index(); | ||
}); | ||
}; |
15 changes: 15 additions & 0 deletions
15
...nly/tests/accessibility/petitionGeneration/petition-generation-before-filing-a-case.cy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { checkA11y } from '../../../support/generalCommands/checkA11y'; | ||
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers'; | ||
|
||
describe('Petition generation - intro pages', () => { | ||
it('welcome to dawson: should be free of a11y issues', () => { | ||
loginAsPetitioner('petitioner7'); | ||
checkA11y(); | ||
}); | ||
|
||
it('before filing a case: should be free of a11y issues', () => { | ||
loginAsPetitioner(); | ||
cy.visit('/before-filing-a-petition'); | ||
checkA11y(); | ||
}); | ||
}); |
146 changes: 146 additions & 0 deletions
146
cypress/local-only/tests/accessibility/petitionGeneration/petition-generation-step-1.cy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
import { checkA11y } from '../../../support/generalCommands/checkA11y'; | ||
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers'; | ||
|
||
describe('Petition generation - step 1', () => { | ||
beforeEach(() => { | ||
loginAsPetitioner(); | ||
cy.visit('/file-a-petition/new'); | ||
}); | ||
|
||
describe('Myself', () => { | ||
it('Myself - domestic: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-0"').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Myself - international: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-0"').click(); | ||
cy.get('[data-testid="international-country-btn"]').click(); | ||
checkA11y(); | ||
}); | ||
}); | ||
describe('Myself and my spouse', () => { | ||
it('Myself and my spouse - deceased: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-1"').click(); | ||
cy.get('[data-testid="is-spouse-deceased-0"]').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Myself and my spouse - not deceased: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-1"').click(); | ||
cy.get('[data-testid="is-spouse-deceased-1"]').click(); | ||
cy.get('[data-testid="have-spouse-consent-label"').click(); | ||
checkA11y(); | ||
}); | ||
}); | ||
describe('Business', () => { | ||
it('Corporation: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-2"').click(); | ||
cy.get('.business-type-radio-option').eq(0).click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Partnership (as the Tax Matters Partner): should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-2"').click(); | ||
cy.get('.business-type-radio-option').eq(1).click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Partnership (as a partner other than Tax Matters Partner): should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-2"').click(); | ||
cy.get('.business-type-radio-option').eq(2).click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Partnership (as a partnership representative under BBA): should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-2"').click(); | ||
cy.get('.business-type-radio-option').eq(3).click(); | ||
checkA11y(); | ||
}); | ||
}); | ||
describe('Other', () => { | ||
describe('An estate or trust', () => { | ||
it('Estate with an executor/personal representative/fiduciary/etc.: should be free of a11y issues: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-0"]').click(); | ||
cy.get('[data-testid="estate-type-radio-option-0"]').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Estate without an executor/personal representative/fiduciary/etc.: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-0"]').click(); | ||
cy.get('[data-testid="estate-type-radio-option-1"]').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Trust: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-0"]').click(); | ||
cy.get('[data-testid="estate-type-radio-option-2"]').click(); | ||
checkA11y(); | ||
}); | ||
}); | ||
|
||
describe('A minor or legally incompetent person', () => { | ||
it('Conservator: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-1"]').click(); | ||
cy.get('[data-testid="minor-incompetent-type-radio-option-0"]').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Guardian: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-1"]').click(); | ||
cy.get('[data-testid="minor-incompetent-type-radio-option-1"]').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Custodian: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-1"]').click(); | ||
cy.get('[data-testid="minor-incompetent-type-radio-option-2"]').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Next friend for a minor (without a guardian, conservator, or other like fiduciary): should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-1"]').click(); | ||
cy.get('[data-testid="minor-incompetent-type-radio-option-3"]').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Next friend for a legally incompetent person (without a guardian, conservator, or other like fiduciary): should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-1"]').click(); | ||
cy.get('[data-testid="minor-incompetent-type-radio-option-4"]').click(); | ||
checkA11y(); | ||
}); | ||
}); | ||
|
||
describe('Donor', () => { | ||
it('Donor: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-2"]').click(); | ||
checkA11y(); | ||
}); | ||
}); | ||
|
||
describe('Transferee', () => { | ||
it('Transferee: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-3"]').click(); | ||
checkA11y(); | ||
}); | ||
}); | ||
|
||
describe('Deceased Spouse', () => { | ||
it('Deceased Spouse: should be free of a11y issues', () => { | ||
cy.get('[data-testid="filing-type-3"').click(); | ||
cy.get('[data-testid="other-type-radio-option-4"]').click(); | ||
checkA11y(); | ||
}); | ||
}); | ||
}); | ||
}); |
22 changes: 22 additions & 0 deletions
22
cypress/local-only/tests/accessibility/petitionGeneration/petition-generation-step-2.cy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { checkA11y } from '../../../support/generalCommands/checkA11y'; | ||
import { fillPetitionerInformation } from '../../integration/fileAPetitionUpdated/petition-helper'; | ||
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers'; | ||
|
||
describe('Petition generation - step 2', () => { | ||
beforeEach(() => { | ||
loginAsPetitioner(); | ||
cy.visit('/file-a-petition/new'); | ||
fillPetitionerInformation(); | ||
}); | ||
|
||
it('Auto generate Petition: should be free of a11y issues', () => { | ||
cy.get('[data-testid="add-another-reason-link-button"').click(); | ||
cy.get('[data-testid="add-another-fact-link-button"').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('Upload PDF Petition: should be free of a11y issues', () => { | ||
cy.get('[data-testid="upload-a-petition-label"').click(); | ||
checkA11y(); | ||
}); | ||
}); |
27 changes: 27 additions & 0 deletions
27
cypress/local-only/tests/accessibility/petitionGeneration/petition-generation-step-3.cy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { checkA11y } from '../../../support/generalCommands/checkA11y'; | ||
import { | ||
fillPetitionFileInformation, | ||
fillPetitionerInformation, | ||
} from '../../integration/fileAPetitionUpdated/petition-helper'; | ||
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers'; | ||
|
||
describe('Petition generation - step 3', () => { | ||
const VALID_FILE = '../../helpers/file/sample.pdf'; | ||
|
||
beforeEach(() => { | ||
loginAsPetitioner(); | ||
cy.visit('/file-a-petition/new'); | ||
fillPetitionerInformation(); | ||
fillPetitionFileInformation(VALID_FILE); | ||
}); | ||
|
||
it('IRS Notice Provided: should be free of a11y issues', () => { | ||
cy.get('[data-testid="irs-notice-Yes"]').click(); | ||
checkA11y(); | ||
}); | ||
|
||
it('IRS Notice not Provided: should be free of a11y issues', () => { | ||
cy.get('[data-testid="irs-notice-No"]').click(); | ||
checkA11y(); | ||
}); | ||
}); |
28 changes: 28 additions & 0 deletions
28
cypress/local-only/tests/accessibility/petitionGeneration/petition-generation-step-4.cy.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { checkA11y } from '../../../support/generalCommands/checkA11y'; | ||
import { | ||
fillIrsNoticeInformation, | ||
fillPetitionFileInformation, | ||
fillPetitionerInformation, | ||
} from '../../integration/fileAPetitionUpdated/petition-helper'; | ||
import { loginAsPetitioner } from '../../../../helpers/authentication/login-as-helpers'; | ||
|
||
describe('Petition generation - step 4', () => { | ||
const VALID_FILE = '../../helpers/file/sample.pdf'; | ||
|
||
beforeEach(() => { | ||
loginAsPetitioner(); | ||
cy.visit('/file-a-petition/new'); | ||
fillPetitionerInformation(); | ||
fillPetitionFileInformation(VALID_FILE); | ||
fillIrsNoticeInformation(VALID_FILE); | ||
}); | ||
|
||
it('Regular Case: should be free of a11y issues', () => { | ||
checkA11y(); | ||
}); | ||
|
||
it('Small Case: should be free of a11y issues', () => { | ||
cy.get('[data-testid="procedure-type-1"]').click(); | ||
checkA11y(); | ||
}); | ||
}); |
Oops, something went wrong.