Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Added test settings for e2e #459

Merged
merged 4 commits into from
Aug 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions runtime/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,16 @@ export class SkyuxPactConfig {
public pactProxyServer?: string;
}

export interface SkyuxConfigE2ETestSettings {
browserSet?: 'speedy';
}

export interface SkyuxConfigUnitTestSettings {
browserSet?: 'speedy' | 'quirky' | 'paranoid';
}

export interface SkyuxConfigTestSettings {
e2e?: SkyuxConfigE2ETestSettings;
unit?: SkyuxConfigUnitTestSettings;
}

Expand Down
13 changes: 13 additions & 0 deletions skyuxconfig-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,19 @@
"description": "Container for controlling test settings.",
"type": "object",
"properties": {
"e2e": {
"description": "Test settings specific to the skyux e2e command.",
"type": "object",
"properties": {
"browserSet": {
"description": "The named set of browsers to run against.",
"type": "string",
"enum": [
"speedy"
]
}
}
},
"unit": {
"description": "Test settings specific to the skyux test command.",
"type": "object",
Expand Down