@testim/testim-cli 3.289.0 → 3.290.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +22390 -122
- package/cli.js.map +1 -0
- package/npm-shrinkwrap.json +8 -29129
- package/package.json +16 -10
- package/OverrideTestDataBuilder.js +0 -117
- package/agent/routers/cliJsCode/index.js +0 -13
- package/agent/routers/cliJsCode/router.js +0 -63
- package/agent/routers/cliJsCode/service.js +0 -705
- package/agent/routers/codim/router.js +0 -69
- package/agent/routers/codim/router.test.js +0 -60
- package/agent/routers/codim/service.js +0 -193
- package/agent/routers/general/index.js +0 -36
- package/agent/routers/hybrid/registerRoutes.js +0 -81
- package/agent/routers/index.js +0 -56
- package/agent/routers/playground/router.js +0 -77
- package/agent/routers/playground/service.js +0 -96
- package/agent/routers/standalone-browser/registerRoutes.js +0 -47
- package/agent/server.js +0 -150
- package/cdpTestRunner.js +0 -86
- package/chromiumInstaller.js +0 -91
- package/cli/isCiRun.js +0 -10
- package/cli/onExit.js +0 -65
- package/cli/writeStackTrace.js +0 -27
- package/cliAgentMode.js +0 -384
- package/codim/codim-cli.js +0 -91
- package/codim/codim-npm-package/index.ts +0 -427
- package/codim/codim-npm-package/package-lock.json +0 -14
- package/codim/codim-npm-package/package.json +0 -14
- package/codim/hybrid-utils.js +0 -28
- package/codim/measure-perf.js +0 -41
- package/codim/template.js/.idea/workspace.xml +0 -57
- package/codim/template.js/.vscode/launch.json +0 -53
- package/codim/template.ts/.idea/workspace.xml +0 -57
- package/codim/template.ts/.vscode/launch.json +0 -55
- package/commons/AbortError.js +0 -12
- package/commons/SeleniumPerfStats.js +0 -58
- package/commons/chrome-launcher.js +0 -15
- package/commons/chromedriverWrapper.js +0 -70
- package/commons/config.js +0 -39
- package/commons/constants.js +0 -67
- package/commons/detectDebugger.js +0 -19
- package/commons/featureAvailabilityService.js +0 -26
- package/commons/featureFlags.js +0 -132
- package/commons/getSessionPlayerRequire.js +0 -28
- package/commons/httpRequest.js +0 -261
- package/commons/httpRequestCounters.js +0 -98
- package/commons/httpRequestCounters.test.js +0 -38
- package/commons/initializeUserWithAuth.js +0 -55
- package/commons/lazyRequire.js +0 -105
- package/commons/logUtils.js +0 -15
- package/commons/logUtils.test.js +0 -21
- package/commons/logger.js +0 -178
- package/commons/mockNetworkRuleFileSchema.json +0 -140
- package/commons/npmWrapper.js +0 -174
- package/commons/npmWrapper.test.js +0 -374
- package/commons/performance-logger.js +0 -71
- package/commons/preloadTests.js +0 -29
- package/commons/prepareRunner.js +0 -85
- package/commons/prepareRunner.test.js +0 -144
- package/commons/prepareRunnerAndTestimStartUtils.js +0 -198
- package/commons/prepareRunnerAndTestimStartUtils.test.js +0 -73
- package/commons/requireWithFallback.js +0 -25
- package/commons/runnerFileCache.js +0 -204
- package/commons/socket/baseSocketServiceSocketIO.js +0 -197
- package/commons/socket/realDataService.js +0 -59
- package/commons/socket/realDataServiceSocketIO.js +0 -33
- package/commons/socket/remoteStepService.js +0 -55
- package/commons/socket/remoteStepServiceSocketIO.js +0 -61
- package/commons/socket/socketService.js +0 -175
- package/commons/socket/testResultService.js +0 -62
- package/commons/socket/testResultServiceSocketIO.js +0 -64
- package/commons/testimAnalytics.js +0 -40
- package/commons/testimCloudflare.js +0 -83
- package/commons/testimCloudflare.test.js +0 -185
- package/commons/testimCustomToken.js +0 -124
- package/commons/testimDesiredCapabilitiesBuilder.js +0 -647
- package/commons/testimNgrok.js +0 -90
- package/commons/testimNgrok.test.js +0 -140
- package/commons/testimServicesApi.js +0 -631
- package/commons/testimTunnel.js +0 -73
- package/commons/testimTunnel.test.js +0 -172
- package/commons/xhr2.js +0 -897
- package/coverage/SummaryToObjectReport.js +0 -19
- package/coverage/jsCoverage.js +0 -252
- package/credentialsManager.js +0 -142
- package/errors.js +0 -161
- package/executionQueue.js +0 -37
- package/fixLocalBuild.js +0 -24
- package/inputFileUtils.js +0 -103
- package/lib/coralogix-winston.transport.js +0 -99
- package/player/SeleniumProtocolError.js +0 -100
- package/player/WebDriverHttpRequest.js +0 -177
- package/player/WebdriverioWebDriverApi.js +0 -671
- package/player/appiumTestPlayer.js +0 -90
- package/player/chromeLauncherTestPlayer.js +0 -67
- package/player/constants.js +0 -332
- package/player/extensionTestPlayer.js +0 -32
- package/player/findElementStrategy.js +0 -154
- package/player/scripts/isElementDisplayed.js +0 -252
- package/player/seleniumTestPlayer.js +0 -140
- package/player/services/frameLocator.js +0 -170
- package/player/services/mobileFrameLocatorMock.js +0 -32
- package/player/services/playbackTimeoutCalculator.js +0 -175
- package/player/services/portSelector.js +0 -19
- package/player/services/tabService.js +0 -551
- package/player/services/tabServiceMock.js +0 -167
- package/player/services/windowCreationListener.js +0 -8
- package/player/stepActions/RefreshStepAction.js +0 -16
- package/player/stepActions/apiStepAction.js +0 -89
- package/player/stepActions/baseCliJsStepAction.js +0 -51
- package/player/stepActions/baseJsStepAction.js +0 -277
- package/player/stepActions/cliConditionStepAction.js +0 -11
- package/player/stepActions/cliJsStepAction.js +0 -11
- package/player/stepActions/dropFileStepAction.js +0 -34
- package/player/stepActions/evaluateExpressionStepAction.js +0 -52
- package/player/stepActions/extensionOnlyStepAction.js +0 -12
- package/player/stepActions/extractTextStepAction.js +0 -19
- package/player/stepActions/hoverStepAction.js +0 -55
- package/player/stepActions/inputFileStepAction.js +0 -199
- package/player/stepActions/jsCodeStepAction.js +0 -11
- package/player/stepActions/jsConditionStepAction.js +0 -11
- package/player/stepActions/locateStepAction.js +0 -159
- package/player/stepActions/mouseStepAction.js +0 -370
- package/player/stepActions/navigationStepAction.js +0 -29
- package/player/stepActions/nodePackageStepAction.js +0 -47
- package/player/stepActions/pixelValidationStepAction.js +0 -39
- package/player/stepActions/scripts/dispatchEvents.js +0 -282
- package/player/stepActions/scripts/doClick.js +0 -221
- package/player/stepActions/scripts/doDragPath.js +0 -225
- package/player/stepActions/scripts/doubleClick.js +0 -119
- package/player/stepActions/scripts/dropEvent.js +0 -63
- package/player/stepActions/scripts/focusElement.js +0 -46
- package/player/stepActions/scripts/html5dragAction.js +0 -56
- package/player/stepActions/scripts/html5dragActionV2.js +0 -312
- package/player/stepActions/scripts/runCode.js +0 -147
- package/player/stepActions/scripts/scroll.js +0 -90
- package/player/stepActions/scripts/selectOption.js +0 -51
- package/player/stepActions/scripts/setText.js +0 -415
- package/player/stepActions/scripts/wheel.js +0 -61
- package/player/stepActions/scrollStepAction.js +0 -96
- package/player/stepActions/selectOptionStepAction.js +0 -49
- package/player/stepActions/sfdcRecordedStepAction.js +0 -24
- package/player/stepActions/sfdcStepAction.js +0 -28
- package/player/stepActions/sleepStepAction.js +0 -12
- package/player/stepActions/specialKeyStepAction.js +0 -52
- package/player/stepActions/stepAction.js +0 -73
- package/player/stepActions/stepActionRegistrar.js +0 -111
- package/player/stepActions/submitStepAction.js +0 -12
- package/player/stepActions/tdkHybridStepAction.js +0 -18
- package/player/stepActions/textStepAction.js +0 -110
- package/player/stepActions/textValidationStepAction.js +0 -64
- package/player/stepActions/wheelStepAction.js +0 -41
- package/player/utils/cookieUtils.js +0 -39
- package/player/utils/eyeSdkService.js +0 -250
- package/player/utils/imageCaptureUtils.js +0 -267
- package/player/utils/screenshotUtils.js +0 -68
- package/player/utils/stepActionUtils.js +0 -90
- package/player/utils/windowUtils.js +0 -195
- package/player/webDriverUtils.js +0 -40
- package/player/webDriverUtils.test.js +0 -116
- package/player/webdriver.js +0 -976
- package/polyfills/Array.prototype.at.js +0 -13
- package/polyfills/index.js +0 -13
- package/processHandler.js +0 -79
- package/processHandler.test.js +0 -55
- package/reports/chromeReporter.js +0 -17
- package/reports/consoleReporter.js +0 -190
- package/reports/debugReporter.js +0 -82
- package/reports/jsonReporter.js +0 -55
- package/reports/junitReporter.js +0 -183
- package/reports/reporter.js +0 -166
- package/reports/reporterUtils.js +0 -54
- package/reports/teamCityReporter.js +0 -73
- package/runOptions.d.ts +0 -305
- package/runOptions.js +0 -1288
- package/runOptionsAgentFlow.js +0 -87
- package/runOptionsUtils.js +0 -60
- package/runner.js +0 -355
- package/runners/ParallelWorkerManager.js +0 -284
- package/runners/TestPlanRunner.js +0 -419
- package/runners/buildCodeTests.js +0 -159
- package/runners/runnerUtils.js +0 -81
- package/services/analyticsService.js +0 -96
- package/services/branchService.js +0 -29
- package/services/gridService.js +0 -357
- package/services/gridService.test.js +0 -357
- package/services/labFeaturesService.js +0 -64
- package/services/lambdatestService.js +0 -227
- package/services/lambdatestService.test.js +0 -353
- package/services/localRCASaver.js +0 -124
- package/stepPlayers/cliJsStepPlayback.js +0 -40
- package/stepPlayers/hybridStepPlayback.js +0 -140
- package/stepPlayers/nodePackageStepPlayback.js +0 -28
- package/stepPlayers/playwrightHybridStepPlayback.js +0 -61
- package/stepPlayers/puppeteerHybridStepPlayback.js +0 -76
- package/stepPlayers/remoteStepPlayback.js +0 -80
- package/stepPlayers/seleniumHybridStepPlayback.js +0 -84
- package/stepPlayers/tdkHybridStepPlayback.js +0 -112
- package/testRunHandler.js +0 -603
- package/testRunStatus.js +0 -567
- package/testimNpmDriver.js +0 -52
- package/utils/argsUtils.js +0 -91
- package/utils/argsUtils.test.js +0 -32
- package/utils/fsUtils.js +0 -174
- package/utils/index.js +0 -197
- package/utils/promiseUtils.js +0 -85
- package/utils/stringUtils.js +0 -98
- package/utils/stringUtils.test.js +0 -22
- package/utils/timeUtils.js +0 -25
- package/utils/utils.test.js +0 -27
- package/workers/BaseWorker.js +0 -498
- package/workers/BaseWorker.test.js +0 -186
- package/workers/WorkerAppium.js +0 -180
- package/workers/WorkerExtension.js +0 -192
- package/workers/WorkerExtensionSingleBrowser.js +0 -77
- package/workers/WorkerSelenium.js +0 -253
- package/workers/workerUtils.js +0 -20
package/runOptions.d.ts
DELETED
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
interface InstallLazyDepsOptions {
|
|
2
|
-
installLazyDepsMode: true;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
interface LoginModeOptions {
|
|
6
|
-
loginMode: true;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
interface InitModeOptions {
|
|
10
|
-
initCodimMode: true;
|
|
11
|
-
initTestProject: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface AgentModeOptions {
|
|
15
|
-
agentMode: true;
|
|
16
|
-
project?: string;
|
|
17
|
-
token?: string;
|
|
18
|
-
agentPort: number;
|
|
19
|
-
agentBind?: string;
|
|
20
|
-
openEditor?: boolean;
|
|
21
|
-
installPlaygroundPlaywrightDeps: boolean;
|
|
22
|
-
installPlaygroundPuppeteerDeps: boolean;
|
|
23
|
-
installPlaygroundSeleniumDeps: boolean;
|
|
24
|
-
startTestimBrowser: boolean;
|
|
25
|
-
ext?: string;
|
|
26
|
-
extensionPath?: string;
|
|
27
|
-
playerLocation: string;
|
|
28
|
-
canary?: boolean;
|
|
29
|
-
playerPath?: string;
|
|
30
|
-
playerRequirePath?: string;
|
|
31
|
-
downloadBrowser: boolean;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
interface TunnelDaemonOptions {
|
|
35
|
-
tunnelOnlyMode: true;
|
|
36
|
-
tunnelRoutes: string[];
|
|
37
|
-
tunnelRoutesOutput: string;
|
|
38
|
-
tunnelHostHeader?: string;
|
|
39
|
-
tunnelRegion?: string;
|
|
40
|
-
}
|
|
41
|
-
interface NgrokTunnelOptions {
|
|
42
|
-
tunnelPort: number;
|
|
43
|
-
tunnelDiagnostics?: boolean;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
type TunnelOptions = (TunnelDaemonOptions | NgrokTunnelOptions) & {
|
|
47
|
-
tunnel: true;
|
|
48
|
-
tunnelUseHttpAddress?: boolean;
|
|
49
|
-
token: string;
|
|
50
|
-
project: string;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
type CodeCoverageReporter = 'clover' | 'html' | 'json-summary' | 'json' | 'lcov' | 'lcovonly' | 'teamcity' | 'text-lcov' | 'text-summary' | 'text';
|
|
54
|
-
|
|
55
|
-
type AppiumLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent';
|
|
56
|
-
interface LightweightSettings {
|
|
57
|
-
type: 'lightweight' | 'turboMode';
|
|
58
|
-
general: boolean;
|
|
59
|
-
disableLabs: boolean;
|
|
60
|
-
disableFeatureFlags: boolean;
|
|
61
|
-
disableAssets: boolean;
|
|
62
|
-
disablePixelValidation: boolean;
|
|
63
|
-
disableResults: boolean;
|
|
64
|
-
disableStepDelay: boolean;
|
|
65
|
-
disableRemoteStep: boolean;
|
|
66
|
-
assumePreloadedSharedSteps: boolean;
|
|
67
|
-
disableVisibilityCheck: boolean;
|
|
68
|
-
disableLocators: boolean;
|
|
69
|
-
bypassSetup: boolean;
|
|
70
|
-
disableAutoImprove: boolean;
|
|
71
|
-
disableQuotaBlocking: boolean;
|
|
72
|
-
onlyTestIdsNoSuite: boolean;
|
|
73
|
-
uploadAssetsAndResultsOnFailure: boolean;
|
|
74
|
-
preloadTests: boolean;
|
|
75
|
-
disableProjectDefaults: boolean;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
type InitUserWithAuth = Awaited<ReturnType<typeof import('./commons/testimServicesApi')['initializeUserWithAuth']>>;
|
|
79
|
-
interface ProjectData extends Pick<InitUserWithAuth['projectById'], 'type' | 'name' | 'defaults'> {
|
|
80
|
-
projectId: string;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// TODO: consider typing better, based on the validations we do (example: must have one of grid/grid-id/host&port/test plan)
|
|
84
|
-
interface RunnerOptions extends Partial<Omit<TunnelOptions, 'tunnelOnlyMode' | 'tunnel'>> {
|
|
85
|
-
token: string;
|
|
86
|
-
project: string;
|
|
87
|
-
user?: string;
|
|
88
|
-
webpackConfig?: string;
|
|
89
|
-
headless?: boolean;
|
|
90
|
-
disableNativeEvents?: boolean;
|
|
91
|
-
baseUrl?: string;
|
|
92
|
-
branch: string;
|
|
93
|
-
autoDetect: boolean;
|
|
94
|
-
userParamsData: object;
|
|
95
|
-
mode: 'selenium' | 'extension' | 'appium';
|
|
96
|
-
isRegressionBaselineRun?: boolean;
|
|
97
|
-
canary?: boolean;
|
|
98
|
-
rerunFailedByRunId?: string;
|
|
99
|
-
disableTimeoutRetry?: boolean;
|
|
100
|
-
resultLabels: string[];
|
|
101
|
-
path?: string;
|
|
102
|
-
protocol?: string;
|
|
103
|
-
testobjectSauce: { testobjectApiKey?: string };
|
|
104
|
-
overrideExecutionName?: string;
|
|
105
|
-
passZeroTests: boolean;
|
|
106
|
-
runQuarantinedTests: boolean;
|
|
107
|
-
downloadBrowser: boolean;
|
|
108
|
-
disableSockets: boolean;
|
|
109
|
-
disableCookiesSameSiteNoneRequiresSecure: boolean;
|
|
110
|
-
shouldMonitorPerformance?: boolean;
|
|
111
|
-
exitCodeIgnoreFailingTests?: boolean;
|
|
112
|
-
seleniumCapsFileContent: object;
|
|
113
|
-
retentionDays?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
114
|
-
retries?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;
|
|
115
|
-
|
|
116
|
-
//# region mobile flags
|
|
117
|
-
deviceModel?: string;
|
|
118
|
-
deviceUdid?: string;
|
|
119
|
-
osVersion?: string;
|
|
120
|
-
appId?: string;
|
|
121
|
-
appiumLogLevel: AppiumLogLevel;
|
|
122
|
-
// #endregion
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
// #region Data set based on values from server
|
|
126
|
-
company: {
|
|
127
|
-
companyId: string;
|
|
128
|
-
onprem: boolean;
|
|
129
|
-
storageBaseUrl: string;
|
|
130
|
-
storageType: string;
|
|
131
|
-
name: string;
|
|
132
|
-
planType: 'pro' | 'free' | 'trial';
|
|
133
|
-
isPOC: boolean;
|
|
134
|
-
isStartUp: boolean;
|
|
135
|
-
activePlan: import('services/src/commons/mongo/db-dto-definitions/DbCompanyProjects').Plan;
|
|
136
|
-
};
|
|
137
|
-
gridData?: Awaited<ReturnType<typeof import('./services/gridService')['getGridData']>>;
|
|
138
|
-
sfdcCredential?: string;
|
|
139
|
-
editorUrl?: string;
|
|
140
|
-
allGrids?: InitUserWithAuth['allGrids'];
|
|
141
|
-
authData?: InitUserWithAuth['authData'];
|
|
142
|
-
projectData?: ProjectData;
|
|
143
|
-
// #endregion
|
|
144
|
-
|
|
145
|
-
// #region What to execute
|
|
146
|
-
testId: string[];
|
|
147
|
-
name: string[];
|
|
148
|
-
label: string[];
|
|
149
|
-
suites: string[];
|
|
150
|
-
suiteIds: string[];
|
|
151
|
-
testPlan: string[];
|
|
152
|
-
testPlanIds: string[];
|
|
153
|
-
files: string[];
|
|
154
|
-
// #endregion
|
|
155
|
-
|
|
156
|
-
// #region Test config to use
|
|
157
|
-
testConfigNames?: string[];
|
|
158
|
-
testConfigIds?: string[];
|
|
159
|
-
// #endregion
|
|
160
|
-
|
|
161
|
-
// #region Grid details
|
|
162
|
-
grid?: string;
|
|
163
|
-
gridId?: string;
|
|
164
|
-
host?: string;
|
|
165
|
-
port?: number;
|
|
166
|
-
gridUsername?: string;
|
|
167
|
-
gridPassword?: string;
|
|
168
|
-
useLocalChromeDriver?: boolean;
|
|
169
|
-
chromeBinaryLocation?: string;
|
|
170
|
-
useChromeLauncher?: boolean;
|
|
171
|
-
|
|
172
|
-
disableGridCheck: boolean;
|
|
173
|
-
browser?: 'edge-chromium' | 'firefox' | 'safari' | 'chrome';
|
|
174
|
-
|
|
175
|
-
proxyForGrid: string;
|
|
176
|
-
|
|
177
|
-
experitestToken?: string;
|
|
178
|
-
saucelabs: { username: string; accessKey: string };
|
|
179
|
-
perfecto: { securityToken?: string; location?: string };
|
|
180
|
-
browserstack: { 'browserstack.user': string; 'browserstack.key': string };
|
|
181
|
-
// #endregion
|
|
182
|
-
|
|
183
|
-
// #region Report settings
|
|
184
|
-
reportFile?: string;
|
|
185
|
-
reportFileClassname?: string;
|
|
186
|
-
reporters?: string[];
|
|
187
|
-
// #endregion
|
|
188
|
-
|
|
189
|
-
// #region Parallel settings
|
|
190
|
-
beforeParallel: number;
|
|
191
|
-
parallel: number;
|
|
192
|
-
afterParallel: number;
|
|
193
|
-
//#endregion
|
|
194
|
-
|
|
195
|
-
// #region TMS
|
|
196
|
-
tmsSuppressReporting: boolean;
|
|
197
|
-
tmsRunId?: string;
|
|
198
|
-
tmsCustomFields?: string;
|
|
199
|
-
// #endregion
|
|
200
|
-
|
|
201
|
-
// #region Extension debugging
|
|
202
|
-
ext?: string;
|
|
203
|
-
extensionLocation: string[];
|
|
204
|
-
extensionPath?: string;
|
|
205
|
-
// #endregion
|
|
206
|
-
|
|
207
|
-
// #region Session Player debugging
|
|
208
|
-
playerLocation: string;
|
|
209
|
-
playerPath?: string;
|
|
210
|
-
playerRequirePath?: string;
|
|
211
|
-
// #endregion
|
|
212
|
-
|
|
213
|
-
// #region Tunnel
|
|
214
|
-
tunnel?: boolean;
|
|
215
|
-
externalLambdatestTunnelId?: string;
|
|
216
|
-
externalLambdatestUseWss?: string;
|
|
217
|
-
externalLambdatestDisableAutomationTunneling: boolean;
|
|
218
|
-
externalLambdatestMitm: boolean;
|
|
219
|
-
// #endregion
|
|
220
|
-
|
|
221
|
-
// #region Hooks
|
|
222
|
-
beforeTest?: Function;
|
|
223
|
-
afterTest?: Function;
|
|
224
|
-
beforeSuite?: Function;
|
|
225
|
-
afterSuite?: Function;
|
|
226
|
-
// #endregion
|
|
227
|
-
|
|
228
|
-
// #region Timeouts
|
|
229
|
-
testStartTimeout: number;
|
|
230
|
-
timeout: number;
|
|
231
|
-
timeoutWasGiven: boolean;
|
|
232
|
-
browserTimeout: number;
|
|
233
|
-
newBrowserWaitTimeout: number;
|
|
234
|
-
getBrowserTimeout: number;
|
|
235
|
-
getBrowserRetries: number;
|
|
236
|
-
getSessionTimeout: number;
|
|
237
|
-
getSessionRetries: number;
|
|
238
|
-
driverRequestTimeout: number;
|
|
239
|
-
driverRequestRetries: number;
|
|
240
|
-
// #endregion
|
|
241
|
-
|
|
242
|
-
// #region Mock network
|
|
243
|
-
overrideMappingFile?: string;
|
|
244
|
-
mockNetworkRules?: object;
|
|
245
|
-
disableMockNetwork?: boolean;
|
|
246
|
-
// #endregion
|
|
247
|
-
|
|
248
|
-
// #region Code coverage
|
|
249
|
-
codeCoverageUrlFilter?: string;
|
|
250
|
-
collectCodeCoverage?: boolean;
|
|
251
|
-
codeCoverageReportPath?: string;
|
|
252
|
-
codeCoverageSourceMapPath?: string;
|
|
253
|
-
codeCoverageReporter: CodeCoverageReporter[];
|
|
254
|
-
codeCoverageInclude: string[];
|
|
255
|
-
// #endregion
|
|
256
|
-
|
|
257
|
-
// #region Remote run options
|
|
258
|
-
executionId?: string;
|
|
259
|
-
remoteRunId?: string;
|
|
260
|
-
schedulerId?: string;
|
|
261
|
-
source?: string;
|
|
262
|
-
resultId?: string;
|
|
263
|
-
// #endregion
|
|
264
|
-
|
|
265
|
-
// #region Customer Extension
|
|
266
|
-
installCustomExtension?: string;
|
|
267
|
-
// #endregion
|
|
268
|
-
|
|
269
|
-
// #region Capabilities format
|
|
270
|
-
w3cCapabilities: boolean;
|
|
271
|
-
oldCapabilities: boolean;
|
|
272
|
-
// #endregion
|
|
273
|
-
|
|
274
|
-
// #region Chrome specific settings
|
|
275
|
-
chromeBlockLocation: boolean;
|
|
276
|
-
chromeUserDataDir: false | string;
|
|
277
|
-
chromeExtraPrefs: object;
|
|
278
|
-
chromeExtraArgs: string[];
|
|
279
|
-
// #endregion
|
|
280
|
-
|
|
281
|
-
// #region Lightweight / Turbo Mode
|
|
282
|
-
lightweightMode?: LightweightSettings;
|
|
283
|
-
createPrefechedData?: boolean;
|
|
284
|
-
saveRCALocally?: boolean | string;
|
|
285
|
-
localRCASaver?: string;
|
|
286
|
-
// #endregion
|
|
287
|
-
|
|
288
|
-
// #region intersections
|
|
289
|
-
intersections: { labels?: string[]; suiteNames?: string[]; suiteIds?: string[] };
|
|
290
|
-
// #endregion
|
|
291
|
-
|
|
292
|
-
// #region visited URLs
|
|
293
|
-
urls?: string;
|
|
294
|
-
// #endregion
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
type Options = |
|
|
298
|
-
InstallLazyDepsOptions |
|
|
299
|
-
LoginModeOptions |
|
|
300
|
-
InitModeOptions |
|
|
301
|
-
AgentModeOptions |
|
|
302
|
-
TunnelOptions |
|
|
303
|
-
RunnerOptions;
|
|
304
|
-
|
|
305
|
-
export function process(): Promise<Options>;
|