Human-reviewed expectation metadata for important replay fixtures.
More...
#include "donner/editor/repro/ReproFile.h"
|
|
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.
|
Human-reviewed expectation metadata for important replay fixtures.
◆ operator==
Compare two curated replay expectations.
- Parameters
-
| lhs | First expectation. |
| rhs | Second expectation. |
- Returns
- True when every expected field matches.
The documentation for this struct was generated from the following file: