-
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 remote-tracking branch 'taxCourt/test' into 10426-test
- Loading branch information
Showing
474 changed files
with
33,605 additions
and
3,577 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
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
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
49 changes: 49 additions & 0 deletions
49
cypress/helpers/fileAPetition/petitioner-creates-electronic-case-updated.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,49 @@ | ||
import { uploadFile } from '../file/upload-file'; | ||
|
||
export function petitionerCreatesElectronicCaseUpdated( | ||
primaryFilerName = 'John', | ||
) { | ||
cy.get('[data-testid="file-a-petition"]').click(); | ||
cy.get('[data-testid="go-to-step-1"]').click(); | ||
|
||
cy.get('[data-testid="filing-type-0"]').click(); | ||
cy.get('[data-testid="contact-primary-name"]').type(primaryFilerName); | ||
cy.get('[data-testid="contactPrimary.address1"]').type('111 South West St.'); | ||
cy.get('[data-testid="contactPrimary.city"]').type('Orlando'); | ||
cy.get('[data-testid="contactPrimary.state"]').select('AL'); | ||
cy.get('[data-testid="contactPrimary.postalCode"]').type('12345'); | ||
cy.get('[data-testid="contactPrimary.placeOfLegalResidence"]').select('AL'); | ||
cy.get('[data-testid="contact-primary-phone"]').type('1111111111'); | ||
cy.get('[data-testid="step-1-next-button"]').click(); | ||
|
||
cy.get('[data-testid="petition-reason--1"]').type('First reason goes here'); | ||
cy.get('[data-testid="petition-fact--1"]').type('First fact goes here'); | ||
cy.get('[data-testid="step-2-next-button"]').click(); | ||
|
||
cy.get('[data-testid="irs-notice-Yes"]').click(); | ||
cy.get('[data-testid="case-type-select"]').select('Notice of Deficiency'); | ||
uploadFile('irs-notice-upload-0'); | ||
cy.get('[data-testid="redaction-acknowledgement-label"]').click(); | ||
cy.get('[data-testid="step-3-next-button"]').click(); | ||
|
||
cy.get('[data-testid="procedure-type-1"]').click(); | ||
cy.get('[data-testid="procedure-type-0"]').click(); | ||
cy.get('[data-testid="preferred-trial-city"]').select('Mobile, Alabama'); | ||
cy.get('[data-testid="step-4-next-button"]').click(); | ||
|
||
uploadFile('stin-file'); | ||
cy.get('[data-testid="step-5-next-button"]').click(); | ||
|
||
cy.get('[data-testid="atp-preview-button"]').should('exist'); | ||
cy.get('[data-testid="stin-preview-button"]').should('exist'); | ||
|
||
cy.get('[data-testid="step-6-next-button"]').click(); | ||
|
||
return cy | ||
.get('[data-testid="case-link-docket-number"]') | ||
.invoke('text') | ||
.then(docketNumberWithSuffix => { | ||
cy.get('[data-testid="case-link"]').click(); | ||
return cy.wrap<string>(docketNumberWithSuffix); | ||
}); | ||
} |
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
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,42 @@ | ||
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', | ||
}, | ||
testOrderResponseSigned: { | ||
messageId: '32484c7f-4606-49fc-89f1-27ba1d5596be', | ||
name: 'Test Order Response (Signed)', | ||
}, | ||
testOrderResponseUnsigned: { | ||
messageId: '34483b5b-29de-4ad4-8caa-59f71ad6d906', | ||
name: 'Test Order Response (Unsigned)', | ||
}, | ||
}; | ||
export const expectedPdfLines = [ | ||
'On June 28, 2024, a status report was filed in this case (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 = ({ | ||
orderName, | ||
}: { | ||
orderName: string; | ||
}) => { | ||
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.'); | ||
cy.get('#docket-entry-description').clear(); | ||
cy.get('#docket-entry-description').type(orderName); | ||
}; |
18 changes: 18 additions & 0 deletions
18
cypress/local-only/tests/accessibility/statusReportOrderResponse/judge.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,18 @@ | ||
import { checkA11y } from '../../../support/generalCommands/checkA11y'; | ||
import { loginAsColvin } from '../../../../helpers/authentication/login-as-helpers'; | ||
|
||
describe('Status Report Order Response - Judge Accessibility', () => { | ||
beforeEach(() => { | ||
Cypress.session.clearCurrentSessionData(); | ||
}); | ||
|
||
it('should be free of a11y issues', () => { | ||
loginAsColvin(); | ||
cy.visit( | ||
'/case-detail/102-67/documents/7be2dea1-4428-4917-a66d-0d474e57ee02/order-response-create?statusReportFilingDate=2024-06-28&statusReportIndex=1', | ||
); | ||
cy.get('[data-testid="save-draft-button"]').should('exist'); | ||
|
||
checkA11y(); | ||
}); | ||
}); |
Oops, something went wrong.