Skip to content

Commit

Permalink
Fix Cypress UI Snapshot Issue After Initial Run
Browse files Browse the repository at this point in the history
  • Loading branch information
pixiwyn committed Mar 25, 2024
1 parent 178c8ae commit 1f7d2a1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions docs/dependency-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ Below is a list of dependencies that are locked down due to known issues with se
### s3-files (3.0.1)
- (10/20/2023) Upgrading from 3.0.0 -> 3.0.1 for s3 files breaks the batch download for batchDownloadTrialSessionInteractor. The api will start emitting ```self.s3.send is not a function``` error from the s3-files directory. Locking the s3-files version to 3.0.0 so that application does not break. To test if an upgrade to s3-files is working run the integration test: web-client/integration-tests/judgeDownloadsAllCasesFromTrialSession.test.ts

### @uswds/uswds
- Keep pinned on 3.7.1, upgrading to 3.8.0+ will cause DAWSON UI issues with icon spacing and break Cypress Snapshots in the Cypress UI (as you hover over each step after initial run, it loses styles, making it harder to debug issues).

## Incrementing the Node Cache Key Version

It's rare to need modify cache key. One reason you may want to do so is if a package fails to install properly, and CircleCI, unaware of the failed installation, stores the corrupted cache. In this case, we will need to increment the cache key version so that CircleCI is forced to reinstall the node dependencies and save them using the new key. To update the cache key, locate `vX-npm` and `vX-cypress` (where X represents the current cache key version) in the config.yml file, and then increment the identified version.
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@joi/date": "2.1.0",
"@opensearch-project/opensearch": "2.6.0",
"@sparticuz/chromium": "123.0.0",
"@uswds/uswds": "3.8.0",
"@uswds/uswds": "3.7.1",
"archiver": "7.0.1",
"aws-lambda": "1.0.7",
"aws-sdk": "2.1581.0",
Expand Down

0 comments on commit 1f7d2a1

Please sign in to comment.