Skip to content

Commit

Permalink
Merge branch 'main' into skip-remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyu-ms committed Jan 17, 2024
2 parents dce3a7d + 8f53b0d commit 7321540
Show file tree
Hide file tree
Showing 6 changed files with 1,309 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Testplan interactive UI now supplies information metadata to the info panel accessible on the toolbar. It contains runpath in addition to the ones used in the static report browser UI.
1 change: 1 addition & 0 deletions testplan/report/testing/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ class Meta:
runtime_status = fields.Function(
lambda x: x.runtime_status.to_json_compatible()
)
information = fields.List(fields.List(fields.String()))
tags_index = TagField(dump_only=True)
status_override = fields.Function(
lambda x: x.status_override.to_json_compatible(), allow_none=True
Expand Down
1 change: 1 addition & 0 deletions testplan/runnable/interactive/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def http_handler_info(self):
def setup(self):
"""Set up the task pool and HTTP handler."""
self.target.make_runpath_dirs()
self.report.information.append(("runpath", self.target.runpath))
self.target._configure_file_logger()
self.logger.info(
"Starting %s for %s",
Expand Down
1 change: 1 addition & 0 deletions testplan/web_ui/testing/src/Report/InteractiveReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ class InteractiveReportComponent extends BaseReport {
filterBoxWidth={this.state.navWidth}
filterText={this.state.filteredReport.filter.text}
status={reportStatus}
report={this.state.report}
expandStatus={this.state.assertionStatus.globalExpand.status}
updateExpandStatusFunc={this.updateGlobalExpand}
handleNavFilter={this.handleNavFilter}
Expand Down
Loading

0 comments on commit 7321540

Please sign in to comment.