Interface Reporting

All Superinterfaces:
org.aeonbits.owner.Config, EngineProperties<Reporting>, Serializable

@Sources({"system:properties","file:src/main/resources/properties/Reporting.properties","file:src/main/resources/properties/default/Reporting.properties","classpath:Reporting.properties"}) public interface Reporting extends EngineProperties<Reporting>
Configuration properties interface for reporting behavior in the SHAFT framework. Controls report generation options, verbosity, and output format settings.

Use set() to override values programmatically:

SHAFT.Properties.reporting.set().cleanAllureResultsDirectoryBeforeExecution(true);
  • Method Details

    • captureElementName

      @Key("captureElementName") @DefaultValue("true") boolean captureElementName()
    • captureWebDriverLogs

      @Key("captureWebDriverLogs") @DefaultValue("false") boolean captureWebDriverLogs()
    • alwaysLogDiscreetly

      @Key("alwaysLogDiscreetly") @DefaultValue("false") boolean alwaysLogDiscreetly()
    • debugMode

      @Key("debugMode") @DefaultValue("false") boolean debugMode()
    • openLighthouseReportWhileExecution

      @Key("openLighthouseReportWhileExecution") @DefaultValue("false") boolean openLighthouseReportWhileExecution()
    • cleanSummaryReportsDirectoryBeforeExecution

      @Key("cleanSummaryReportsDirectoryBeforeExecution") @DefaultValue("true") boolean cleanSummaryReportsDirectoryBeforeExecution()
    • openExecutionSummaryReportAfterExecution

      @Key("openExecutionSummaryReportAfterExecution") @DefaultValue("false") boolean openExecutionSummaryReportAfterExecution()
    • disableLogging

      @Key("disableLogging") @DefaultValue("false") boolean disableLogging()
    • attachFullLog

      @Key("attachFullLog") @DefaultValue("false") boolean attachFullLog()
    • evidenceLevel

      @Key("evidenceLevel") @DefaultValue("FAILURE_ONLY") String evidenceLevel()
    • locatorHealthReportEnabled

      @Key("locatorHealthReportEnabled") @DefaultValue("false") boolean locatorHealthReportEnabled()
    • slowLocatorThresholdMillis

      @Key("slowLocatorThresholdMillis") @DefaultValue("750") int slowLocatorThresholdMillis()
    • failOnLocatorHealthWarnings

      @Key("failOnLocatorHealthWarnings") @DefaultValue("false") boolean failOnLocatorHealthWarnings()
    • locatorHealthEnabled

      @Key("shaft.locatorHealth.enabled") @DefaultValue("false") boolean locatorHealthEnabled()
    • locatorHealthWarnBelowScore

      @Key("shaft.locatorHealth.warnBelowScore") @DefaultValue("70") int locatorHealthWarnBelowScore()
    • locatorHealthAttachDashboard

      @Key("shaft.locatorHealth.attachDashboard") @DefaultValue("true") boolean locatorHealthAttachDashboard()
    • locatorHealthFailBelowScore

      @Key("shaft.locatorHealth.failBelowScore") @DefaultValue("-1") int locatorHealthFailBelowScore()
    • diagnosticsBundleEnabled

      @Key("shaft.diagnostics.enabled") @DefaultValue("true") boolean diagnosticsBundleEnabled()
    • diagnosticsMaxArtifactMb

      @Key("shaft.diagnostics.maxArtifactMb") @DefaultValue("50") int diagnosticsMaxArtifactMb()
    • traceEnabled

      @Key("shaft.trace.enabled") @DefaultValue("true") boolean traceEnabled()
    • traceMode

      @Key("shaft.trace.mode") @DefaultValue("auto") String traceMode()
    • traceRetainFailedAttempts

      @Key("shaft.trace.retainFailedAttempts") @DefaultValue("true") boolean traceRetainFailedAttempts()
    • traceIncludeCodeContext

      @Key("shaft.trace.includeCodeContext") @DefaultValue("true") boolean traceIncludeCodeContext()
    • traceIncludeFullPageSnapshots

      @Key("shaft.trace.includeFullPageSnapshots") @DefaultValue("true") boolean traceIncludeFullPageSnapshots()
    • traceIncludeDomSnapshots

      @Key("shaft.trace.includeDomSnapshots") @DefaultValue("true") boolean traceIncludeDomSnapshots()
    • traceIncludeScreenshots

      @Key("shaft.trace.includeScreenshots") @DefaultValue("true") boolean traceIncludeScreenshots()
    • traceIncludeNativePageSource

      @Key("shaft.trace.includeNativePageSource") @DefaultValue("true") boolean traceIncludeNativePageSource()
    • traceIncludeNetwork

      @Key("shaft.trace.includeNetwork") @DefaultValue("true") boolean traceIncludeNetwork()
    • traceIncludeConsole

      @Key("shaft.trace.includeConsole") @DefaultValue("true") boolean traceIncludeConsole()
    • traceMaxArtifactMb

      @Key("shaft.trace.maxArtifactMb") @DefaultValue("50") int traceMaxArtifactMb()
    • flakeProfilerEnabled

      @Key("shaft.flakeProfiler.enabled") @DefaultValue("false") boolean flakeProfilerEnabled()
    • flakeProfilerAttachPerTest

      @Key("shaft.flakeProfiler.attachPerTest") @DefaultValue("true") boolean flakeProfilerAttachPerTest()
    • flakeProfilerFailOnSevereFlakeRisk

      @Key("shaft.flakeProfiler.failOnSevereFlakeRisk") @DefaultValue("false") boolean flakeProfilerFailOnSevereFlakeRisk()
    • flakeProfilerSlowActionThresholdMs

      @Key("shaft.flakeProfiler.slowActionThresholdMs") @DefaultValue("2000") int flakeProfilerSlowActionThresholdMs()
    • set

      default Reporting.SetProperty set()
      Description copied from interface: EngineProperties
      Returns a fluent EngineProperties.SetProperty builder that allows programmatic override of individual configuration properties at runtime.
      Specified by:
      set in interface EngineProperties<Reporting>
      Returns:
      a new EngineProperties.SetProperty instance for chaining property overrides