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

TTK UI - Stored test reports should be available in TTK UI #3060

Closed
23 of 24 tasks
vijayg10 opened this issue Dec 8, 2022 · 1 comment
Closed
23 of 24 tasks

TTK UI - Stored test reports should be available in TTK UI #3060

vijayg10 opened this issue Dec 8, 2022 · 1 comment
Assignees
Labels
core-dev-squad oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it oss-ttk Related to the Mojaloop testing toolkit story

Comments

@vijayg10
Copy link

vijayg10 commented Dec 8, 2022

Goal:

As a Hub Operator

I want to have the TTK Test Reports produced by executing the helm test on a Mojaloop deployment accessible with a self-hosted solution (i.e. not requiring AWS)

so that reports can be used for QA and debugging

Acceptance Criteria:

  • An API endpoint to serve the reports from database / file system based on the configuration is made available
  • Pagination options on the reports to include sorting based on
    • Test execution time (sorted order) with most recent result on top
    • Failed reports

Complexity: <High|Medium|Low> > A short comment to remind the reason for the rating

Uncertainty: <High|Medium|Low> > A short comment to remind the reason for the rating


Tasks:

  • Expose an API endpoint to serve the reports from database / file system based on the configuration
    • List reports including these possible details
      • File name, size, date...etc
      • total/passed/failed assertion count if possible
      • The list should be paginated using query param / path param
    • Download reports in various formats (JSON, HTML, Printer friendly HTML)
  • Implement a new page in TTK UI to show the report history with pagination and date selection(if possible). (There should be a page for this already implemented for HOSTED_MODE, we can use that as reference)
  • Pagination sorting based on Start time
  • Filter based on the following fields
    • Start time
    • Failed reports

Done

  • Acceptance Criteria pass
  • Designs are up-to date
  • Unit Tests pass
  • Integration Tests pass
  • Code Style & Coverage meets standards
  • Changes made to config (default.json) are broadcast to team and follow-up tasks added to update helm charts and other deployment config.
  • TBD

Pull Requests:

Follow-up:

  • N/A

Dependencies:

  • N/A

Accountability:

  • Owner: TBC
  • QA/Review: TBC
@vijayg10 vijayg10 added story oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it oss-ttk Related to the Mojaloop testing toolkit core-dev-squad to-be-refined This story is ready to be groomed labels Dec 8, 2022
@vijayg10 vijayg10 changed the title TTK UI - Test Reports should be available in TTK UI TTK UI - Stored test reports should be available in TTK UI Dec 8, 2022
@elnyry-sam-k
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-dev-squad oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it oss-ttk Related to the Mojaloop testing toolkit story
Projects
None yet
Development

No branches or pull requests

2 participants