Skip to content

Feature/cb2 21631 - Add fail reasons for defect media to NOP test result defects schema#136

Open
meys-bjss wants to merge 2 commits into
developfrom
feature/CB2-21631
Open

Feature/cb2 21631 - Add fail reasons for defect media to NOP test result defects schema#136
meys-bjss wants to merge 2 commits into
developfrom
feature/CB2-21631

Conversation

@meys-bjss
Copy link
Copy Markdown

@meys-bjss meys-bjss commented May 28, 2026

Description

There is a requirement for reasons a VSA/SVSA has been unable to upload media for a defect on an applicable test result to be passed to NOP so the data can easily be reported on.

This data is present in a new media object which is either present on the defects section of a test result for dangerous defects.

Include a summary of the change here.

Added functions and tests to handle the "media" array in test-result and defects

Related issue:

Jira ticket: CB2-21631

Before submitting (or marking as "ready for review")

  • Does the pull request title follow the conventional commit specification?
  • Have you performed a self-review of the code
  • Have you have added tests that prove the fix or feature is effective and working
  • Did you make sure to update any documentation relating to this change?

Copy link
Copy Markdown
Contributor

@jackanderson02 jackanderson02 left a comment

Choose a reason for hiding this comment

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

Nice work :)

Comment thread src/services/test-result-record-conversion.ts
Comment thread src/services/test-result-record-conversion.ts
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.

3 participants