test(id: string, options?: TestOptions)

Parameters

id: string - Descriptive identifier for the test case.

options: TestOptions - Configure options for this test case

TestOptions {
    url?: string;
}

Methods

Returns: TestCase, which has chainable methods:

  • .step(description: string) -> TestStep

Usage

test('can add todo')
    .step('Add a todo item')