WebdriverIOFrameworkAdapterFactory
|
- |
when initialising WebdriverIOFrameworkAdapter
|
- |
loads specs using @serenity-js/mocha adapter by default
|
- |
loads specs using @serenity-js/mocha when configured to do so
|
- |
loads specs using @serenity-js/jasmine when configured to do so
|
- |
loads specs using @serenity-js/cucumber when configured to do so
|
- |
complains when configured with an invalid runner
|
- |
WebdriverIONotifier
|
- |
failureCount()
|
- |
does not count retried scenarios
|
- |
notifications
|
- |
emits events when a test suite starts and is finished
|
- |
emits events when a nested test suite starts and is finished
|
- |
emits events when a nested test starts and is finished
|
- |
BrowserCapabilitiesReporter
|
- |
when working with a single browser/device
|
- |
records browser and platform tags when the test run starts and emits them upon start of the scenario
|
- |
emits the recorded tags whenever a new test scenario starts
|
- |
when working with multiple browsers/devices
|
- |
emits only unique browser and platform tags
|
- |
OutputStreamBuffer
|
- |
spec/adapter/reporter/OutputStreamBuffer.spec.ts |
- |
spec/adapter/reporter/OutputStreamBuffer.spec.ts |
- |
spec/adapter/reporter/OutputStreamBuffer.spec.ts |
- |
spec/adapter/reporter/OutputStreamBuffer.spec.ts |
- |
TagPrinter
|
- |
when working with a mobile device
|
- |
should tag browser and platform for mobile web browser
|
- |
should mark browser as "unknown" when information is missing
|
- |
should tag the native app as "browser"
|
- |
should tag a simulator
|
- |
when working with a single browser
|
- |
should tag "platform" as unknown where the information is missing
|
- |
should tag both browser and platform, where platformVersion is not available
|
- |
should tag both browser and platform, where platformVersion is available
|
- |
running on BrowserStack
|
- |
should correctly describe desired capabilities when "os" is given
|
- |
should tag "platform" as unknown where "os" is missing
|
- |
should tag "platform" even when "os_version" is missing
|
- |
isActive
|
- |
allows the actor flow to continue when the element is active
|
isActive |
breaks the actor flow when element is inactive
|
isActive |
contributes to a human-readable description of an assertion
|
isActive |
contributes to a human-readable description of a wait
|
isActive |
isClickable
|
- |
allows the actor flow to continue when the element is clickable
|
isClickable |
breaks the actor flow when element is disabled
|
isClickable |
breaks the actor flow when element is not visible
|
isClickable |
contributes to a human-readable description of an assertion
|
isClickable |
contributes to a human-readable description of a wait
|
isClickable |
isEnabled
|
- |
allows the actor flow to continue when the element is enabled
|
isEnabled |
breaks the actor flow when element is disabled
|
isEnabled |
contributes to a human-readable description of an assertion
|
isEnabled |
contributes to a human-readable description of a wait
|
isEnabled |
isPresent
|
- |
allows the actor flow to continue when the element is present in the DOM
|
isPresent |
breaks the actor flow when element does not become present in the DOM
|
isPresent |
breaks the actor flow when element is not present in the DOM
|
isPresent |
spec/expectations/isPresent.spec.ts |
isPresent |
contributes to a human-readable description of an assertion
|
isPresent |
contributes to a human-readable description of a wait
|
isPresent |
isSelected
|
- |
allows the actor flow to continue when the element is selected
|
isSelected |
breaks the actor flow when element is not selected
|
isSelected |
breaks the actor flow when element is not present
|
isSelected |
contributes to a human-readable description of an assertion
|
isSelected |
contributes to a human-readable description of a wait
|
isSelected |
isVisible
|
- |
allows the actor flow to continue when the element is visible
|
isVisible |
breaks the actor flow when element is not visible
|
isVisible |
breaks the actor flow when element does not exist
|
isVisible |
contributes to a human-readable description of an assertion
|
isVisible |
contributes to a human-readable description of a wait
|
isVisible |
Clear
|
Clear |
allows the actor to clear the value of an empty input
|
Clear.theValueOf |
does not affect elements with no "value" attribute
|
Clear.theValueOf |
allows the actor to clear the value of an input field
|
Clear.theValueOf |
allows the actor to clear the value of an number field
|
Clear.theValueOf |
allows the actor to clear the value of a date field
|
Clear.theValueOf |
allows the actor to clear the value of an RTL input field
|
Clear.theValueOf |
complains if the element cannot be cleared
|
Clear.theValueOf |
provides a sensible description of the interaction being performed
|
Clear#toString |
Click
|
Click |
allows the actor to click on an element
|
Click.on |
provides a sensible description of the interaction being performed
|
Click#toString |
DoubleClick
|
- |
allows the actor to clear the value of a field
|
DoubleClick.on |
provides a sensible description of the interaction being performed
|
DoubleClick#toString |
Enter
|
Enter |
allows the actor to enter the value into an input field
|
Enter.theValue |
allows the actor to enter a sequence of keys into a number field
|
Enter.theValue |
provides a sensible description of the interaction being performed
|
Enter#toString |
Hover
|
Hover |
allows the actor to position the mouse cursor over a given target
|
Hover.over |
provides a sensible description of the interaction being performed
|
Hover#toString |
Navigate
|
Navigate |
to(url)
|
- |
allows the actor to navigate to a desired destination
|
Navigate.to |
spec/screenplay/interactions/Navigate.spec.ts |
Navigate.to |
provides a sensible description of the interaction being performed
|
Navigate#toString |
back
|
- |
allows the actor to navigate back in the browser history
|
Navigate.back |
provides a sensible description of the interaction being performed
|
Navigate#toString |
forward
|
- |
allows the actor to navigate forward in the browser history
|
Navigate.forward |
provides a sensible description of the interaction being performed
|
Navigate#toString |
reloadPage
|
- |
allows the actor to navigate to a desired destination
|
Navigate.reloadPage |
provides a sensible description of the interaction being performed
|
Navigate#toString |
Press
|
Press |
single keys
|
- |
allows the actor to enter keys individually into a field
|
Press.the |
key chords
|
- |
allows the actor to use modifier keys
|
Press.the |
allows the actor to use keyboard shortcuts outside the context of any specific input box
|
Press.the |
allows the actor to use keyboard shortcuts in the context of a specific input box
|
Press.the |
RightClick
|
RightClick |
allows the actor to click on an element
|
RightClick.on |
provides a sensible description of the interaction being performed
|
RightClick#toString |
Scroll
|
Scroll |
allows the actor to scroll to a given target so that it appears in the viewport
|
Scroll.to |
provides a sensible description of the interaction being performed
|
Scroll#toString |
Wait
|
Wait |
for
|
- |
pauses the actor flow for the length of an explicitly-set duration
|
Wait.for |
provides a sensible description of the interaction being performed
|
Wait#toString |
until
|
- |
pauses the actor flow until the expectation is met
|
Wait.until |
fails the actor flow when the timeout expires
|
Wait.until |
provides a sensible description of the interaction being performed
|
Wait#toString |
ExecuteAsynchronousScript
|
ExecuteScript |
allows the actor to execute an asynchronous script
|
ExecuteAsynchronousScript |
allows the actor to execute an asynchronous script with a static argument
|
ExecuteAsynchronousScript |
allows the actor to execute an asynchronous script with a promised argument
|
ExecuteAsynchronousScript |
allows the actor to execute an asynchronous script with a Target argument
|
ExecuteAsynchronousScript |
provides a sensible description of the interaction being performed when invoked without arguments
|
ExecuteAsynchronousScript#toString |
provides a sensible description of the interaction being performed when invoked with arguments
|
ExecuteAsynchronousScript#toString |
complains if the script has failed
|
ExecuteAsynchronousScript |
emits the events so that the details of the script being executed can be reported
|
ExecuteAsynchronousScript |
ExecuteScriptFromUrl
|
ExecuteScript |
allows the actor to execute a script stored at a specific location
|
ExecuteScriptFromUrl |
complains if the script could not be loaded
|
ExecuteScriptFromUrl |
complains if the script has already been loaded
|
ExecuteScriptFromUrl |
provides a sensible description of the interaction being performed
|
ExecuteScriptFromUrl#toString |
ExecuteSynchronousScript
|
ExecuteScript |
allows the actor to execute a synchronous script
|
ExecuteSynchronousScript |
allows the actor to retrieve the value returned by the script
|
LastScriptExecution.result |
allows the actor to execute a synchronous script with a static argument
|
ExecuteSynchronousScript |
allows the actor to execute a synchronous script with a promised argument
|
ExecuteSynchronousScript |
allows the actor to execute a synchronous script with a Target argument
|
ExecuteSynchronousScript |
provides a sensible description of the interaction being performed when invoked without arguments
|
ExecuteSynchronousScript#toString |
provides a sensible description of the interaction being performed when invoked with arguments
|
ExecuteSynchronousScript#toString |
complains if the script has failed
|
LastScriptExecution |
emits the events so that the details of the script being executed can be reported
|
ExecuteSynchronousScript |
Attribute
|
- |
called
|
- |
allows the actor to read an attribute of a DOM element matching the locator
|
Attribute.called |
produces a sensible description of the question being asked
|
Attribute#toString |
complains if the target is not specified
|
Attribute.called |
can be used to filter a list of elements
|
Target.all |
Text
|
- |
of
|
- |
allows the actor to read the text of the DOM element matching the locator
|
Text.of |
produces a sensible description of the question being asked
|
Text#toString |
when mapping
|
- |
allows for the answer to be mapped to another type
|
Text#map |
allows for the transformations to be chained
|
Text#map |
ofAll
|
- |
allows the actor to read the text of all DOM elements matching the locator
|
Text.ofAll |
allows for a question relative to another target to be asked
|
Text.ofAll |
produces sensible description of the question being asked
|
Text#toString |
allows for the answer to be mapped
|
Text#map |
Value
|
- |
of
|
- |
allows the actor to read the "value" attribute of a DOM element matching the locator
|
Value.of |
allows the actor to read the "value" attribute of a DOM element matching the locator
|
Value#of |
allows for a question relative to another target to be asked
|
Value#of |
by
|
- |
id
|
- |
should retrieve a matching element
|
- |
should retrieve all matching elements
|
- |
css
|
- |
should retrieve a matching element
|
- |
should retrieve all matching elements
|
- |
tagName
|
- |
should retrieve a matching element
|
- |
should retrieve all matching elements
|
- |
linkText
|
- |
should retrieve a matching element
|
- |
should retrieve all matching elements
|
- |
partialLinkText
|
- |
should retrieve a matching element
|
- |
should retrieve all matching elements
|
- |
xpath
|
- |
should retrieve a matching element
|
- |
should retrieve all matching elements
|
- |
Target
|
Target |
allows the actor to locate
|
- |
a single web element matching the selector
|
Target
TargetElement |
all web elements matching the selector
|
Target
TargetElements |
an element relative to another target
|
Target
Target.the
TargetNestedElement
TargetNestedElement#of |
all elements relative to another target
|
Target
Target.all
TargetNestedElements
TargetNestedElements#of |
provides a sensible description of
|
- |
an element that
|
- |
is being targeted
|
Target
Target.the
TargetElement |
is nested
|
Target
Target.the
TargetNestedElement
TargetNestedElement#of |
elements that
|
- |
are being targeted
|
Target
Target.all
TargetElements |
are nested
|
Target
Target.all
TargetElements#of
TargetNestedElements |
when filtering a list of targets
|
- |
and no filters are applied
|
- |
lets the actor interact with the list of matching elements so that it
|
- |
gets the number of items
|
Target
Target.all
TargetElements#count |
picks all the items
|
Target
Target.all
TargetElements |
picks the first item
|
Target
Target.all
TargetElements
TargetElements#first |
picks the last item
|
Target
Target.all
TargetElements
TargetElements#last |
picks the nth item
|
Target
Target.all
TargetElements
TargetElements#get |
provides a sensible description when it
|
- |
returns the number of items
|
Target
Target.all
TargetElements#count
TargetElements#toString |
picks all the items
|
Target
Target.all
TargetElements#toString |
picks the first item
|
Target
Target.all
TargetElements#first
TargetElements#toString |
picks the last item
|
Target
Target.all
TargetElements#last
TargetElements#toString |
and a filter is applied
|
- |
lets the actor filter the list of matching elements so that it
|
- |
gets the number of items
|
Target
Target.all
TargetElements |
picks all the items
|
Target
Target.all
TargetElements |
picks the first item
|
Target
Target.all
TargetElements |
picks the last item
|
Target
Target.all
TargetElements |
picks the nth item
|
Target
Target.all
TargetElements |
provides a sensible description when it
|
- |
returns the number of items
|
Target
Target.all |
picks all the items
|
Target
Target.all |
picks the first item
|
Target
Target.all |
picks the last item
|
Target
Target.all |
and multiple filters are applied
|
- |
lets the actor filter the list of matching elements so that it
|
- |
gets the number of items
|
Target
Target.all |
picks all the items
|
Target
Target.all |
picks the first item
|
Target
Target.all |
picks the last item
|
Target
Target.all |
picks the nth item
|
Target
Target.all |
provides a sensible description when it
|
- |
returns the number of answers
|
Target
Target.all |
picks all the items
|
Target
Target.all |
picks the first item
|
Target
Target.all |
picks the last item
|
Target
Target.all |
and interacting with elements on screen
|
- |
makes it easy for an actor to pick the element of interest
|
Target
Target.all |
makes it easy for an actor to pick all elements of interest
|
Target
Target.all |
Photographer
|
- |
complains when sent DomainEvents before getting assigned to a Stage
|
- |
spec/stage/crew/photographer/Photographer.spec.ts |
- |
Photographer
|
- |
when instructed to take photos before and after all interactions
|
- |
takes a before and after photo when the interaction goes well
|
- |
takes a photo when a problem occurs
|
- |
takes a photo before and after Interaction, even though nested tasks might all be marked as failing
|
- |
takes two photos per interaction
|
- |
includes the browser context in the name of the emitted artifact
|
- |
Photographer
|
- |
when instructed to take a photo of failed interactions,
|
- |
does nothing if everything goes well
|
- |
takes a photo when a problem occurs
|
- |
spec/stage/crew/photographer/strategies/TakePhotosOfFailures.spec.ts |
- |
takes only one picture, even though nested tasks might all be marked as failing
|
- |
spec/stage/crew/photographer/strategies/TakePhotosOfFailures.spec.ts |
- |
Photographer
|
- |
when instructed to take a photo of all interactions
|
- |
takes a photo when the interaction goes well
|
- |
takes a photo when a problem occurs
|
- |
spec/stage/crew/photographer/strategies/TakePhotosOfInteractions.spec.ts |
- |
takes only one photo, even though nested tasks might all be marked as failing
|
- |
takes one photo per interaction
|
- |
includes the browser context in the name of the emitted artifact
|
- |
spec/stage/crew/photographer/strategies/TakePhotosOfInteractions.spec.ts |
- |