Skip to content

Conversation

@kilianpaquier
Copy link
Contributor

Fixes an issue where complex applied assertions in HTML report where shown as [Object object]. As those are complex (objects), JS handled them as it could.

Proposal is to use YAML.stringify for assertions with a little tweak (d-flex gap-2 and a pre) to show assertions in the right format side by side with status badge.

See fix screenshot:

image

…le complex assertions (and, or, etc.) - fixes #754

Signed-off-by: kilianpaquier <git@kilianpaquier.com>
@kilianpaquier kilianpaquier changed the title fix(report): print applied assertions as YAML to handle complex assertions (and, or, etc.) - fixes #754 fix(reports): print applied assertions as YAML in HTML report to handle complex assertions (and, or, etc.) - fixes #754 May 28, 2025
Copy link
Member

@yesnault yesnault left a comment

Choose a reason for hiding this comment

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

LGTM

@yesnault yesnault merged commit abf2d86 into ovh:master Jun 4, 2025
2 checks passed
ceriath pushed a commit to ceriath/venom that referenced this pull request Jul 11, 2025
…le complex assertions (and, or, etc.) - fixes ovh#754 (ovh#857)

Signed-off-by: kilianpaquier <git@kilianpaquier.com>
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.

2 participants