Skip to main content

Interface: WebdriverContractTest

@mugshot/contracts.WebdriverContractTest

Properties#

name#

name: string

Defined in: packages/contracts/src/webdriver-spec.ts:23


run#

run: (client: WebdriverTestSetup, adapter: Webdriver) => Promise<void>

Run the test which will throw an AssertionError on failure.

param The client you're adapting. It will be used to navigate to a test fixture.

param The client adapter.

Type declaration:#

▸ (client: WebdriverTestSetup, adapter: Webdriver): Promise<void>

Parameters:#

NameType
clientWebdriverTestSetup
adapterWebdriver

Returns: Promise<void>

Defined in: packages/contracts/src/webdriver-spec.ts:32

Defined in: packages/contracts/src/webdriver-spec.ts:32