Skip to content

Commit

Permalink
Merge branch 'main' into feature/interactive_startup_performance
Browse files Browse the repository at this point in the history
  • Loading branch information
M6AI authored Jan 17, 2024
2 parents 6e1fc9f + 8f53b0d commit 42a51f6
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 @@ -289,6 +289,7 @@ class Meta:
meta = fields.Dict()
status = fields.String(dump_only=True)
runtime_status = fields.String(dump_only=True)
information = fields.List(fields.List(fields.String()))
tags_index = TagField(dump_only=True)
status_override = fields.String(allow_none=True)
counter = fields.Dict(dump_only=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 42a51f6

Please sign in to comment.