Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BackstopJS tests not loading object data from mock requests #738

Open
HaSistrunk opened this issue Sep 9, 2024 · 0 comments
Open

BackstopJS tests not loading object data from mock requests #738

HaSistrunk opened this issue Sep 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HaSistrunk
Copy link
Member

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.

@HaSistrunk HaSistrunk added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant