settings
<TestSettings>- returns:
Declares the settings for the test, overriding settings exported at the top of the test.
_This is a secondary syntax to export const settings = {}
which functions exactly the same way.
Example:
export default () => {
setup({ waitTimeout: 60 })
}
name
Step Namefn
<StepFunction> Actual implementation of step- returns:
Declares each step in your test. This must go within your main test expression.
Example:
export default () => {
step("Step 1", async browser => {
await browser.visit("https://example.com")
})
step("Step 2", async browser => {})
step("Step 3", async browser => {})
}
name
options
<StepOptions>fn
<StepFunction>- returns: