DropdownExpectation
io.github.frikit.twirlspec.expect.DropdownExpectation
final case class DropdownExpectation(name: String, label: Option[Expected] = ..., optionValues: Option[List[String]] = ..., optionCount: Option[Int] = ...) extends Expectation
A `` and its options.
Attributes
- Source
- FormExpectations.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Expectationclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Empty means satisfied.
Human description, used when listing what a page was checked against.
Human description, used when listing what a page was checked against.
Attributes
- Source
- FormExpectations.scala
The label's text, from a message key.
Exactly this many options.
These option values are present, among possibly others.
Inherited methods
Both this expectation and another, as one.
Both this expectation and another, as one.
Attributes
- Inherited from:
- Expectation
- Source
- Expectation.scala
Downgrade every violation this expectation produces to a warning.
Downgrade every violation this expectation produces to a warning.
Attributes
- Inherited from:
- Expectation
- Source
- Expectation.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Only apply this expectation when the page satisfies a predicate.
Only apply this expectation when the page satisfies a predicate.
Attributes
- Inherited from:
- Expectation
- Source
- Expectation.scala
In this article