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

DDFHER-83 - Update Cypress fixtures to reflect the new /holdingsLogistics/v1 API #1761

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

kasperbirch1
Copy link
Contributor

@kasperbirch1 kasperbirch1 commented Nov 14, 2024

Link to issue

https://reload.atlassian.net/browse/DDFHER-83

Description

In the dpl-react project, we migrated from the /holdings/v3 endpoint to the new /holdingsLogistics/v1 API version. For more details, refer to the associated pull request: danskernesdigitalebibliotek/dpl-react#1542.

As a result of this change, the user-journey Cypress test was failing due to the outdated API endpoint being used in the test. This pull request updates the test to reflect the new /holdingsLogistics/v1 API, ensuring it works as expected with the updated backend.

@kasperbirch1 kasperbirch1 force-pushed the DDFHER-83-implementer-nyt-beholdnings-endpoint branch from c1a4bd6 to 6ac2ace Compare November 14, 2024 14:01
@kasperbirch1 kasperbirch1 changed the title DDFHER-83 - Demo DDFHER-83 - Update Cypress fixtures to reflect the new /holdingsLogistics/v1 API Nov 14, 2024
@kasperbirch1 kasperbirch1 force-pushed the DDFHER-83-implementer-nyt-beholdnings-endpoint branch from 6ac2ace to 7fba15b Compare November 15, 2024 12:58
Copy link
Contributor

@kasperg kasperg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

Remember to reset the packages.

@kasperbirch1 kasperbirch1 added the jira-testable ready for DDF test, and moved in Jira label Nov 18, 2024
@kasperbirch1 kasperbirch1 force-pushed the DDFHER-83-implementer-nyt-beholdnings-endpoint branch from 7fba15b to de27a52 Compare November 19, 2024 10:06
In the dpl-react project, we migrated from `/holdings/v3` to `/holdingsLogistics/v1`. Refer to the pull request: danskernesdigitalebibliotek/dpl-react#1443.

This change caused the `user-journey` Cypress test to fail.
The previous configuration was using release `2024.48.0`, but it must be switched back to `develop` to include the `/holdingsLogistics/v1` update.

This adjustment is essential for other developers' work until the next release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira-testable ready for DDF test, and moved in Jira
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants