Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data VisualReferenceOutput Source #
If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run that is used as the baseline for screenshots, and the coordinates of any parts of those screenshots that are ignored during visual monitoring comparison.
Visual monitoring is supported only on canaries running the syn-puppeteer-node-3.2 runtime or later.
See: newVisualReferenceOutput
smart constructor.
VisualReferenceOutput' | |
|
Instances
newVisualReferenceOutput :: VisualReferenceOutput Source #
Create a value of VisualReferenceOutput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:baseCanaryRunId:VisualReferenceOutput'
, visualReferenceOutput_baseCanaryRunId
- The ID of the canary run that produced the baseline screenshots that are
used for visual monitoring comparisons by this canary.
$sel:baseScreenshots:VisualReferenceOutput'
, visualReferenceOutput_baseScreenshots
- An array of screenshots that are used as the baseline for comparisons
during visual monitoring.
visualReferenceOutput_baseCanaryRunId :: Lens' VisualReferenceOutput (Maybe Text) Source #
The ID of the canary run that produced the baseline screenshots that are used for visual monitoring comparisons by this canary.
visualReferenceOutput_baseScreenshots :: Lens' VisualReferenceOutput (Maybe [BaseScreenshot]) Source #
An array of screenshots that are used as the baseline for comparisons during visual monitoring.