ScenarioStepDrift class

One step that moved between two runs of the same suite.

Constructors

ScenarioStepDrift({required String package, required String file, required String scenario, required String position, String? axes, String? name, List<String> what = const []})
const

Properties

axes → String?
The axis slug this point ran under, for a matrix run — steps are only ever compared against the same point of it.
final
file → String
final
hashCode → int
The hash code for this object.
no setterinherited
isPixelsOnly → bool
True when nothing but the captured surface moved — the case a digest comparison could already see.
no setter
label → String
How it reads in a line of output.
no setter
name → String?
The Shot's name, where it had one — what a reader recognises the step by, and what the two runs matched it on.
final
package → String
final
position → String
Where the step sat in its run — the branch path and the ordinal within it, as ScenarioRunStep.position spells it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scenario → String
final
what → List<String>
Which facets of the step differ, from ScenarioDriftFacet — pixels alone for the everyday case. Empty for a step only one of the runs captured, which did not differ so much as arrive or leave.
final

Methods

movedIn(List<String> facets) → ScenarioStepDrift
This step, saying which facets moved.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, Object?> json) → ScenarioStepDrift