Skip to content

FOLLOW-UP: Replace external API dependency in E2E REST test (from PR #207) #210

@adnaan

Description

@adnaan

Context

This follow-up task was identified during the review of PR #207.

Source PR: #207
PR Title: feat: auto-tables — infer interactive UI from markdown tables + YAML sources
Suggested by: @claude[bot], @Copilot

Task Description

createAutoTablesRESTExample in auto_tables_e2e_test.go hardcodes https://jsonplaceholder.typicode.com/users as the REST source URL. If that service is down or rate-limits CI, TestAutoTables_RESTReadonly fails for non-code reasons.

Fix: Replace with an httptest.NewServer mock that returns a static JSON response, isolating the test from network availability.


This issue was automatically created by prmonitor from PR review comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-mediumMedium: quality, platform coverage, CIfollow-upFollow-up task from PR reviewfrom-reviewIssue originated from PR review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions