-
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 branch 'staging' into 10553-bug
- Loading branch information
Showing
306 changed files
with
541,475 additions
and
5,631 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.19 | ||
efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.21.1 | ||
|
||
parameters: | ||
run_build_and_deploy: | ||
|
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 |
---|---|---|
|
@@ -84,7 +84,12 @@ export function loginAsDocketClerk() { | |
} | ||
|
||
export function loginAsDocketClerk1() { | ||
cy.login('docketclerk1'); | ||
login({ email: '[email protected]' }); | ||
cy.get('[data-testid="inbox-tab-content"]').should('exist'); | ||
} | ||
|
||
export function loginAsClerkOfCourt() { | ||
login({ email: '[email protected]' }); | ||
cy.get('[data-testid="inbox-tab-content"]').should('exist'); | ||
} | ||
|
||
|
13 changes: 13 additions & 0 deletions
13
...ess/helpers/caseDetail/docketRecord/paperFiling/create-and-save-for-later-paper-filing.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,13 @@ | ||
import { fillPaperFilingForm } from './fill-paper-filing-form'; | ||
|
||
export function createAndSaveForLaterPaperFiling({ | ||
dateReceived, | ||
documentType, | ||
}: { | ||
documentType: string; | ||
dateReceived: string; | ||
}) { | ||
fillPaperFilingForm({ dateReceived, documentType }); | ||
|
||
cy.get('[data-testid="save-for-later"]').click(); | ||
} |
35 changes: 13 additions & 22 deletions
35
cypress/helpers/caseDetail/docketRecord/paperFiling/create-and-serve-paper-filing.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,27 +1,18 @@ | ||
import { attachFile } from '../../../file/upload-file'; | ||
import { selectTypeaheadInput } from '../../../components/typeAhead/select-typeahead-input'; | ||
import { fillPaperFilingForm } from './fill-paper-filing-form'; | ||
|
||
export function createAndServePaperFiling( | ||
documentType: string, | ||
dateReceived: string, | ||
) { | ||
cy.get('[data-testid="case-detail-menu-button"]').click(); | ||
cy.get('[data-testid="menu-button-add-paper-filing"]').click(); | ||
cy.get( | ||
'.usa-date-picker__wrapper > [data-testid="date-received-picker"]', | ||
).type(dateReceived); | ||
selectTypeaheadInput('primary-document-type-search', documentType); | ||
cy.get('[data-testid="filed-by-option"]').click(); | ||
cy.get('[data-testid="objections-No"]').click(); | ||
cy.get('[data-testid="upload-pdf-button"]').click(); | ||
|
||
attachFile({ | ||
filePath: '../../helpers/file/sample.pdf', | ||
selector: 'input#primaryDocumentFile-file', | ||
selectorToAwaitOnSuccess: '[data-testid="remove-pdf"]', | ||
}); | ||
export function createAndServePaperFiling({ | ||
dateReceived, | ||
documentType, | ||
isPaperCase = true, | ||
}: { | ||
documentType: string; | ||
dateReceived: string; | ||
isPaperCase?: boolean; | ||
}) { | ||
fillPaperFilingForm({ dateReceived, documentType }); | ||
|
||
cy.get('[data-testid="save-and-serve"]').click(); | ||
cy.get('[data-testid="modal-button-confirm"]').click(); | ||
cy.get('[data-testid="print-paper-service-done-button"]').click(); | ||
if (isPaperCase) | ||
cy.get('[data-testid="print-paper-service-done-button"]').click(); | ||
} |
26 changes: 26 additions & 0 deletions
26
cypress/helpers/caseDetail/docketRecord/paperFiling/fill-paper-filing-form.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,26 @@ | ||
import { attachFile } from '../../../file/upload-file'; | ||
import { selectTypeaheadInput } from '../../../components/typeAhead/select-typeahead-input'; | ||
|
||
export function fillPaperFilingForm({ | ||
dateReceived, | ||
documentType, | ||
}: { | ||
documentType: string; | ||
dateReceived: string; | ||
}) { | ||
cy.get('[data-testid="case-detail-menu-button"]').click(); | ||
cy.get('[data-testid="menu-button-add-paper-filing"]').click(); | ||
cy.get( | ||
'.usa-date-picker__wrapper > [data-testid="date-received-picker"]', | ||
).type(dateReceived); | ||
selectTypeaheadInput('primary-document-type-search', documentType); | ||
cy.get('[data-testid="filed-by-option"]').click(); | ||
cy.get('[data-testid="objections-No"]').click(); | ||
cy.get('[data-testid="upload-pdf-button"]').click(); | ||
|
||
attachFile({ | ||
filePath: '../../helpers/file/sample.pdf', | ||
selector: 'input#primaryDocumentFile-file', | ||
selectorToAwaitOnSuccess: '[data-testid="remove-pdf"]', | ||
}); | ||
} |
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
12 changes: 12 additions & 0 deletions
12
cypress/local-only/tests/accessibility/public/trialSessions/trial-sessions-table.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,12 @@ | ||
import { checkA11y } from '../../../../support/generalCommands/checkA11y'; | ||
|
||
describe('Trial Sessions - Public Accessibility', () => { | ||
beforeEach(() => { | ||
Cypress.session.clearCurrentSessionData(); | ||
}); | ||
|
||
it('should be free of a11y issues', () => { | ||
cy.visit('/trial-sessions'); | ||
checkA11y(); | ||
}); | ||
}); |
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
Oops, something went wrong.