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

Fix/certain assertions in wrong place in split-exported JSON #1085

Merged
merged 2 commits into from
May 23, 2024

Conversation

zhenyu-ms
Copy link
Contributor

@zhenyu-ms zhenyu-ms commented May 22, 2024

Bug / Requirement Description

Clearly and concisely describe the problem.

Solution description

Describe your code changes in detail for reviewers.

Checklist:

  • Test
  • Example (both test_plan.py and .rst)
  • Documentation (API)
  • News fragment present for release notes
  • MS info leakage check
  • For new driver: driver index page
  • For new assertion: ui/pdf/std renderers, documentation
  • For new cmdline arg: documentation

@zhenyu-ms zhenyu-ms requested a review from a team as a code owner May 22, 2024 06:52
@@ -0,0 +1 @@
Fix an issue in JSON exporter which puts assertions from synthesized cases in the wrong data structure.
Copy link
Contributor

Choose a reason for hiding this comment

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

Fix the issue that assertions in synthesized testcase (setup/teardown etc.) are not rendered on UI report.

# FIXME:
# with ReportCategories.SYNTHESIZED being added, following line is no longer
# able to tell testcase entries from assertion entries; while filtering has
# been properly done in frontend code, it should just work in production
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems frontend sends testcase report with entries (and garbage data) when filter is applied.

So you may go recursive into the garbage data when entry is a synthesized testcase level report.

@zhenyu-ms zhenyu-ms merged commit fe16fa4 into morganstanley:main May 23, 2024
15 checks passed
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.

None yet

2 participants