Skip to content

Commit

Permalink
Merge branch 'staging' into 10549-design-debt
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlerza authored Dec 24, 2024
2 parents a7af941 + 20200b6 commit 5eded88
Show file tree
Hide file tree
Showing 44 changed files with 2,827 additions and 3,484 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1
orbs:
git-shallow-clone: guitarrapc/git-shallow-clone@2.8.0

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
efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.24

parameters:
run_build_and_deploy:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ RUN apt-get install -y build-essential
RUN apt-get install -y libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.6.zip" -o "awscliv2.zip" && \
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.20.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf awscliv2.zip

RUN wget -q -O terraform.zip https://releases.hashicorp.com/terraform/1.9.8/terraform_1.9.8_linux_amd64.zip && \
RUN wget -q -O terraform.zip https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip && \
unzip -o terraform.zip terraform && \
rm terraform.zip && \
cp terraform /usr/local/bin/
Expand Down
11 changes: 5 additions & 6 deletions aws/lambdas/RotateInfoIndices/src/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const { DateTime } = require('luxon');
const { defaultProvider } = require('@aws-sdk/credential-provider-node');
const { HttpRequest } = require('@aws-sdk/protocol-http');
const { NodeHttpHandler } = require('@aws-sdk/node-http-handler');
const { HttpRequest } = require('@smithy/protocol-http');
const { NodeHttpHandler } = require('@smithy/node-http-handler');
const { Sha256 } = require('@aws-crypto/sha256-browser');
const { SignatureV4 } = require('@aws-sdk/signature-v4');
const { SignatureV4 } = require('@smithy/signature-v4');

const EXPIRATION = process.env.expiration; // days

Expand Down Expand Up @@ -31,9 +31,8 @@ exports.handler = async (input, context) => {
}
} else {
// snapshot does not exist, let's create one
const { responseBody, statusCode } = await exports.snapshotForIndexName(
ei,
);
const { responseBody, statusCode } =
await exports.snapshotForIndexName(ei);
responses.createSnapshot.push({
indexName: ei,
responseBody,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ import { unchecksOrdersAndNoticesBoxesInCase } from '../../../support/pages/unch

describe('Petition clerk creates a paper filing', function () {
describe('Create and submit a paper petition', () => {
beforeEach(() => {
cy.window().then(win => {
cy.stub(win, 'open').as('windowOpen');
});
});
it('should create a paper petition', () => {
navigateToDocumentQC('petitionsclerk');

Expand All @@ -43,23 +48,17 @@ describe('Petition clerk creates a paper filing', function () {
it('should display attachment links in the attachment section', () => {
cy.get('[data-testid="petitionFileButton"]').should('be.visible');
cy.get('[data-testid="petitionFileButton"]').click();
cy.get('[data-testid="modal-dialog-header"]').should('be.visible');
cy.get('[data-testid="close-modal-button"]').click();
cy.get('[data-testid="stinFileDisplay"]').should('be.visible');
cy.get('[data-testid="stinFileDisplay"]').should('not.be.enabled');

cy.get('[data-testid="requestForPlaceOfTrialFileButton"]').should(
'be.visible',
);
cy.get('[data-testid="requestForPlaceOfTrialFileButton"]').click();
cy.get('[data-testid="modal-dialog-header"]').should('be.visible');
cy.get('[data-testid="close-modal-button"]').click();
cy.get('[data-testid="attachmentToPetitionFileButton"]').should(
'be.visible',
);
cy.get('[data-testid="attachmentToPetitionFileButton"]').click();
cy.get('[data-testid="modal-dialog-header"]').should('be.visible');
cy.get('[data-testid="close-modal-button"]').click();
});

it('should display Orders/Notices Automatically Created notification', () => {
Expand Down
4 changes: 4 additions & 0 deletions docs/dependency-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ regex search the entire project for `aws = "\d+.\d+.\d+"` and make sure it's to

## Do Not Upgrade

### React and ReactDOM

- cerebral version 5.2.1 and @cerebral/react version 4.2.1 are not compatible with React and ReactDOM version 19. Keep these pinned at version 18 for the time being. See https://github.com/cerebral/cerebral/pull/1441.

### @fortawesome

- fortawesome packages are locked down to pre-6.x.x to maintain consistency of icon styling until there is usability feedback and research that determines we should change them. This includes `@fortawesome/free-solid-svg-icons`, `@fortawesome/free-regular-svg-icons`, and `@fortawesome/fontawesome-svg-core`.
Expand Down
Loading

0 comments on commit 5eded88

Please sign in to comment.