docs: def afterSummaryReport(self, event):
          """
          After everything is done, generate the report
          """
          logger.info('Generating HTML report...')
  
          sorted_test_results = self._sort_test_results()
  
          context = {
              'test_report_title': 'Test Report',
              'test_summary': self.summary_stats,
              'test_results': sorted_test_results,
              'autocomplete_terms': json.dumps(self._generate_search_terms()),
              'timestamp': datetime.utcnow().strftime('%Y/%m/%d %H:%M:%S UTC')
          }
          template = load_template(self._config['template'])
          rendered_template = render_template(template, context)
          with open(self._config['report_path'], 'w') as template_file:
              template_file.write(rendered_template)