@types/gulp-angular-protractor
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

Installation

npm install --save @types/gulp-angular-protractor

Summary

This package contains type definitions for gulp-angular-protractor (https://github.com/rochejul/gulp-angular-protractor).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-angular-protractor.

index.d.ts

import through = require("through");

declare function gulpProtractorAngular(options: gulpProtractorAngular.Options): through.ThroughStream;

declare namespace gulpProtractorAngular {
    // See https://github.com/rochejul/gulp-angular-protractor/blob/master/readme.md#api
    interface Options {
        /**
         * If true, the plugin will update the WebDriver, launch the WebDriver server before launching tests and stop it at the end automatically
         *
         * @default true
         */
        autoStartStopServer?: boolean;

        /**
         * The path to your protractor config
         */
        configFile: string;

        /**
         * Arguments get passed directly to the protractor call [Read the docs for more information](https://github.com/angular/protractor/blob/master/docs/getting-started.md#setup-and-config)
         *
         * @default []
         */
        args?: string[];

        /**
         * Enables Protractor's [debug mode](https://github.com/angular/protractor/blob/master/docs/debugging.md), which can be used to pause tests during execution and to view stack traces.
         *
         * @default false
         */
        debug?: boolean;

        /**
         * @default true
         */
        verbose?: boolean;

        /**
         * If you want to use another protractor version instead the default one
         */
        protractorModulePath?: string;

        webDriverUpdate?: WebDriverUpdate;

        // See https://github.com/rochejul/gulp-angular-protractor/blob/master/examples/example-05/Gulpfile.js
        webDriverStart?: WebDriverStart;
    }

    interface WebDriverUpdate {
        /**
         * @default false
         */
        skip?: boolean;

        /**
         * List of browsers to update the webdriver
         *
         * @default ['chrome']
         */
        browsers?: string[];

        /**
         * Additional arguments to pass for the update of the webdriver
         *
         * @default []
         */
        args?: string[];
    }

    interface WebDriverStart {
        /**
         * @default []
         */
        args?: string[];
    }
}

export = gulpProtractorAngular;

Additional Details

Credits

These definitions were written by Adam Kwiatek.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-angular-protractor

Weekly Downloads

1,042

Version

2.0.4

License

MIT

Unpacked Size

7.2 kB

Total Files

5

Last publish

Collaborators

  • types