Pick
this class was deprecated. Please use [Target.all](/modules/protractor/class/src/screenplay/questions/targets/Target.ts~Target.html) instead.
this class is experimental.
Tests:
- Pick (when no filters are applied) lets the actor interact with the list of matching elements so that it gets the number of items
- Pick (when no filters are applied) lets the actor interact with the list of matching elements so that it picks all the items
- Pick (when no filters are applied) lets the actor interact with the list of matching elements so that it picks the first item
- Pick (when no filters are applied) lets the actor interact with the list of matching elements so that it picks the last item
- Pick (when no filters are applied) lets the actor interact with the list of matching elements so that it picks the nth item
- Pick (when no filters are applied) provides a sensible description when it returns the number of items
- Pick (when no filters are applied) provides a sensible description when it picks all the items
- Pick (when no filters are applied) provides a sensible description when it picks the first item
- Pick (when no filters are applied) provides a sensible description when it picks the last item
- Pick (when no filters are applied) provides a custom description when the name of its subject is overridden and it returns the number of items
- Pick (when no filters are applied) provides a custom description when the name of its subject is overridden and it picks all the items
- Pick (when no filters are applied) provides a custom description when the name of its subject is overridden and it picks the first item
- Pick (when no filters are applied) provides a custom description when the name of its subject is overridden and it picks the last item
- Pick (when no filters are applied) provides a custom description when the name of its subject is overridden and it picks the nth item
- Pick (when a filter is applied) lets the actor filter the list of matching elements so that it gets the number of items
- Pick (when a filter is applied) lets the actor filter the list of matching elements so that it picks all the items
- Pick (when a filter is applied) lets the actor filter the list of matching elements so that it picks the first item
- Pick (when a filter is applied) lets the actor filter the list of matching elements so that it picks the last item
- Pick (when a filter is applied) lets the actor filter the list of matching elements so that it picks the nth item
- Pick (when a filter is applied) provides a sensible description when it returns the number of answers
- Pick (when a filter is applied) provides a sensible description when it picks all the items
- Pick (when a filter is applied) provides a sensible description when it picks the first item
- Pick (when a filter is applied) provides a sensible description when it picks the last item
- Pick (when multiple filters are applied) lets the actor filter the list of matching elements so that it gets the number of items
- Pick (when multiple filters are applied) lets the actor filter the list of matching elements so that it picks all the items
- Pick (when multiple filters are applied) lets the actor filter the list of matching elements so that it picks the first item
- Pick (when multiple filters are applied) lets the actor filter the list of matching elements so that it picks the last item
- Pick (when multiple filters are applied) lets the actor filter the list of matching elements so that it picks the nth item
- Pick (when multiple filters are applied) provides a sensible description when it returns the number of answers
- Pick (when multiple filters are applied) provides a sensible description when it picks all the items
- Pick (when multiple filters are applied) provides a sensible description when it picks the first item
- Pick (when multiple filters are applied) provides a sensible description when it picks the last item
- Pick (when interacting with elements on screen) makes it easy for an actor to pick the element of interest
- Pick (when interacting with elements on screen) makes it easy for an actor to pick all elements of interest
See also:
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
where(question: MetaQuestion, expectation: Expectation): Pick |
Static Public Methods
Public Constructors
public constructor() source
Public Methods
public where(question: MetaQuestion, expectation: Expectation): Pick source
Params:
Name | Type | Attribute | Description |
question | MetaQuestion | ||
expectation | Expectation |