2.0.4 • Published 2 years ago

@types/gulp-angular-protractor v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for gulp-angular-protractor 2.0
// Project: https://github.com/rochejul/gulp-angular-protractor
// Definitions by: Adam Kwiatek <https://github.com/akwiatek>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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

  • Last updated: Thu, 31 Mar 2022 20:01:45 GMT
  • Dependencies: @types/through
  • Global values: none

Credits

These definitions were written by Adam Kwiatek.

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

3 years ago