Interface DeviceProvider

interface DeviceProvider {
    sessionId?: string;
    syncTestDetails?: ((details: {
        name?: string;
        reason?: string;
        status?: string;
    }) => Promise<void>);
    getDevice(): Promise<Device>;
    globalSetup?(): Promise<void>;
}

Properties

sessionId?: string

Identifier for the Appium session. Can be undefined if the session was not created.

syncTestDetails?: ((details: {
    name?: string;
    reason?: string;
    status?: string;
}) => Promise<void>)

Updates test details and test status.

Methods

  • Global setup validates the configuration.

    Returns Promise<void>