EffectStep

com.github.agourlay.cornichon.steps.cats.EffectStep
See theEffectStep companion object
case class EffectStep(title: String, effect: ScenarioContext => IO[Either[CornichonError, Session]], show: Boolean) extends SessionValueStep

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Step
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def logOnSuccess(result: Session, runState: RunState, executionTime: Duration): LogInstruction

Attributes

Definition Classes
override def onError(errors: NonEmptyList[CornichonError], runState: RunState, executionTime: Duration): (LogInstruction, FailedStep)

Attributes

Definition Classes

Attributes

Definition Classes
def setTitle(newTitle: String): Step

Inherited methods

def andThen(other: Step): Step

Attributes

Inherited from:
Step
def andThen(others: List[Step]): Step

Attributes

Inherited from:
Step
def chain(others: Session => List[Step]): Step

Attributes

Inherited from:
Step

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def runStep(runState: RunState): StepResult

Attributes

Inherited from:
Step

Inherited fields

override val stateUpdate: StepState

Attributes

Inherited from:
SessionValueStep