RockefellerArchiveCenter / dimes

Front-end user interface for the online archival discovery at the Rockefeller Archive Center
MIT License
0 stars 1 forks source link

BackstopJS tests not loading object data from mock requests #738

Open HaSistrunk opened 2 months ago

HaSistrunk commented 2 months ago

Describe the bug

BacktopJS tests that include mock requests to Request Broker are not functioning correctly - object data is not displayed.

To reproduce

Steps to reproduce the behavior:

  1. Run DIMES locally
  2. In another terminal, run the backstopJS tests usuing yarn backstop-test
  3. See the resulting tests on the My List page and in the request modals that show collection info, but not the associated archival objects.

Expected behavior

The test snapshots should match the DIMES UI and include the archival object data that has been added to the users list. That data is in the mock requests located in the backstop_data/request_reference directory.

Error message or screenshots

Screenshot of My List test:

image

Impact on your work

Impacts our ability to the UI for unintended changes.