Epimetheus icon indicating copy to clipboard operation
Epimetheus copied to clipboard

Metadata not displaying in frontend

Open lvoegl opened this issue 2 years ago • 0 comments

Describe the bug The metadata section displays "no metadata" even though metadata is set. https://localhost:5000/data/series/${branch_id}/builds/${buildId}/metadata does include the metadata.

To Reproduce

  • Archive a Robot Framework test with TestArchiver into PostgreSQL with additional metadata set
  • confirm that metadata endpoint above includes metadata
  • head to latest test via Teams -> My Team -> All builds, click last build in series
  • metadata section is empty

Expected behavior The metadata added with TestArchiver and retrieved from https://localhost:5000/data/series/${branch_id}/builds/${buildId}/metadata should display in the corresponding test overview.

Screenshots

Desktop (please complete the following information):

  • OS: Linux (debian)
  • Browser: Firefox and Chrome
  • Version: Mozilla Firefox 91.6.0esr, Chrome 98.0.4758.102

Additional context According to my research the problem is using destructuring assignment parameter in the useMetadata function, but passing data over as normal arguments here and here.

lvoegl avatar Feb 23 '22 15:02 lvoegl