dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
802 stars 460 forks source link

Write Postman Tests for Search AI Endpoints #28720

Open victoralfaro-dotcms opened 4 weeks ago

victoralfaro-dotcms commented 4 weeks ago

Parent Issue

https://github.com/dotCMS/core/issues/27973

Parent Issue

To be defined

User Story

As a Java developer, I want to write Postman tests for the following Search AI Endpoints:

Acceptance Criteria

dotCMS Version

master

Proposed Objective

Quality Assurance

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Assumptions & Initiation Needs

Quality Assurance Notes & Workarounds

Sub-Tasks & Estimates

  1. Review API documentation for Search AI endpoints (2 hours)
  2. Set up Postman environment and variables (2 hours)
  3. Write tests for /api/v1/ai/search (GET) (3 hours)
  4. Write tests for /api/v1/ai/search (POST) (3 hours)
  5. Write tests for /api/v1/ai/search/related (GET) (3 hours)
  6. Write tests for /api/v1/ai/search/related (POST) (3 hours)
  7. Validate tests with various scenarios and inputs (4 hours)
  8. Document test results and share with the team (2 hours)
  9. Update documentation to reflect the new tests (1 hour)

Total Estimate: 23 hours

victoralfaro-dotcms commented 3 days ago

PR: https://github.com/dotCMS/core/pull/28999