Skip to content

fix: skip extended API contract tests when endpoints unavailable#398

Open
hsteude wants to merge 1 commit into
mainfrom
issue-396
Open

fix: skip extended API contract tests when endpoints unavailable#398
hsteude wants to merge 1 commit into
mainfrom
issue-396

Conversation

@hsteude
Copy link
Copy Markdown
Contributor

@hsteude hsteude commented May 4, 2026

Summary

  • Adds a beforeAll check in the "Extended API" describe block that probes /api/ext/saved-prompts for JSON response
  • If the extended endpoints aren't available (backend returns HTML/404), all extended API tests skip gracefully
  • Tests still validate fully when run against the dev/production server

Closes #396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix saved-prompts API contract tests failing against backend

1 participant