UNPKG

1.19 kBTypeScriptView Raw
1/**
2 * Protractor target options for Build Facade.
3 */
4export interface Schema {
5 /**
6 * Base URL for protractor to connect to.
7 */
8 baseUrl?: string;
9 /**
10 * A dev-server builder target to run tests against in the format of
11 * `project:target[:configuration]`. You can also pass in more than one configuration name
12 * as a comma-separated list. Example: `project:target:production,staging`.
13 */
14 devServerTarget?: string;
15 /**
16 * Execute specs whose names match the pattern, which is internally compiled to a RegExp.
17 */
18 grep?: string;
19 /**
20 * Host to listen on.
21 */
22 host?: string;
23 /**
24 * Invert the selection specified by the 'grep' option.
25 */
26 invertGrep?: boolean;
27 /**
28 * The port to use to serve the application.
29 */
30 port?: number;
31 /**
32 * The name of the Protractor configuration file.
33 */
34 protractorConfig: string;
35 /**
36 * Override specs in the protractor config.
37 */
38 specs?: string[];
39 /**
40 * Override suite in the protractor config.
41 */
42 suite?: string;
43 /**
44 * Try to update webdriver.
45 */
46 webdriverUpdate?: boolean;
47}