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);
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.aeonbits.owner.Config
org.aeonbits.owner.Config.ConverterClass, org.aeonbits.owner.Config.DecryptorClass, org.aeonbits.owner.Config.DefaultValue, org.aeonbits.owner.Config.DisableableFeature, org.aeonbits.owner.Config.DisableFeature, org.aeonbits.owner.Config.EncryptedValue, org.aeonbits.owner.Config.HotReload, org.aeonbits.owner.Config.HotReloadType, org.aeonbits.owner.Config.Key, org.aeonbits.owner.Config.LoadPolicy, org.aeonbits.owner.Config.LoadType, org.aeonbits.owner.Config.PreprocessorClasses, org.aeonbits.owner.Config.Separator, org.aeonbits.owner.Config.Sources, org.aeonbits.owner.Config.TokenizerClass -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanintbooleanbooleanbooleanbooleanbooleanintbooleanbooleanintbooleanintbooleanbooleandefault Reporting.SetPropertyset()Returns a fluentEngineProperties.SetPropertybuilder that allows programmatic override of individual configuration properties at runtime.intbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintboolean
-
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
-
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
-
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
Description copied from interface:EnginePropertiesReturns a fluentEngineProperties.SetPropertybuilder that allows programmatic override of individual configuration properties at runtime.- Specified by:
setin interfaceEngineProperties<Reporting>- Returns:
- a new
EngineProperties.SetPropertyinstance for chaining property overrides
-