|
|
Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
|
Human-reviewed expectation metadata for important replay fixtures. More...
#include "donner/editor/repro/ReproFile.h"
Public Attributes | |
| ReproExpectationProofKind | proofKind = ReproExpectationProofKind::PresentedPixels |
| Kind of proof this fixture expectation encodes. | |
| int | leftMouseDownOrdinal = 0 |
| Left-mouse-down ordinal that identifies the representative click. | |
| int | frameOffsetAfterLeftMouseDown = 0 |
| Frame offset after the representative left-mouse-down. | |
| int | minFrameIndex = 0 |
| Inclusive accepted frame window for the representative presented frame. | |
| int | maxFrameIndex = 0 |
| Inclusive upper bound for the representative presented frame. | |
| std::string | targetSelector |
| CSS selector for the element whose interaction the fixture represents. | |
| std::string | cropMode |
| Crop mode to use when producing human-reviewable screenshots. | |
| std::optional< ReproExpectedCrop > | cropRect |
| Optional crop inside the selected crop mode. | |
| std::optional< int > | activeFrameIndex |
| Active drag frame that should be captured before mouseup. | |
| std::optional< int > | comparisonFrameIndex |
| Frame to compare against the active frame. | |
| std::optional< std::string > | expectedSelectionLabel |
| Expected final selection label for selection/liveness fixtures. | |
| std::optional< int > | statusStartFrameIndex |
| First frame in a status-liveness assertion window. | |
| std::optional< int > | statusMaxFrameIndex |
| Last frame in a status-liveness assertion window. | |
| std::optional< std::string > | forbiddenStatusSubstring |
| Status substring that must not persist through the assertion window. | |
Friends | |
| bool | operator== (const ReproExpectation &, const ReproExpectation &)=default |
Human-reviewed expectation metadata for important replay fixtures.