@mablhq/mabl-cli 1.25.5 → 1.26.0
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/Globals.js +20 -0
- package/api/entities/Browser.js +1 -0
- package/api/featureSet.js +6 -2
- package/api/mablApiClient.js +10 -2
- package/browserLauncher/browserLauncherFactory.js +3 -3
- package/browserLauncher/playwrightBrowserLauncher/playwrightBrowser.js +2 -2
- package/browserLauncher/playwrightBrowserLauncher/playwrightBrowserLauncher.js +13 -1
- package/browserLauncher/playwrightBrowserLauncher/playwrightDom.js +18 -0
- package/browserLauncher/types.js +5 -1
- package/commands/browserTypes.js +19 -8
- package/commands/constants.js +6 -5
- package/commands/environments/environments_cmds/create.js +3 -0
- package/commands/tests/testsUtil.js +68 -85
- package/commands/tests/tests_cmds/run-cloud.js +2 -2
- package/commands/tests/tests_cmds/run.js +2 -0
- package/domUtil/index.js +1 -2
- package/execution/index.js +1 -1
- package/execution/index.js.LICENSE.txt +6 -0
- package/index.d.ts +2 -0
- package/mablApi/index.js +1 -1
- package/mablscript/MablAction.js +31 -1
- package/mablscript/actions/ConditionAction.js +4 -0
- package/mablscript/actions/FindAction.js +3 -0
- package/mablscript/actions/GenerateRandomStringAction.js +3 -0
- package/mablscript/actions/GetVariableValue.js +3 -0
- package/mablscript/actions/JavaScriptAction.js +7 -0
- package/mablscript/diffing/diffingUtil.js +81 -16
- package/mablscript/importer.js +10 -3
- package/mablscript/steps/AssertStep.js +10 -0
- package/mablscript/steps/ClickAndHoldStep.js +3 -0
- package/mablscript/steps/ClickStep.js +3 -0
- package/mablscript/steps/CreateVariableStep.js +6 -0
- package/mablscript/steps/DoubleClickStep.js +3 -0
- package/mablscript/steps/DownloadStep.js +4 -0
- package/mablscript/steps/EchoStep.js +3 -0
- package/mablscript/steps/EnterTextStep.js +6 -0
- package/mablscript/steps/EvaluateFlowStep.js +8 -3
- package/mablscript/steps/EvaluateJavaScriptStep.js +3 -0
- package/mablscript/steps/HoverStep.js +3 -0
- package/mablscript/steps/IfConditionStep.js +9 -0
- package/mablscript/steps/OpenEmailStep.js +3 -0
- package/mablscript/steps/ReleaseStep.js +3 -0
- package/mablscript/steps/RemoveCookieStep.js +4 -0
- package/mablscript/steps/SelectStep.js +7 -0
- package/mablscript/steps/SendHttpRequestStep.js +8 -0
- package/mablscript/steps/SendKeyStep.js +3 -0
- package/mablscript/steps/SetCookieStep.js +7 -0
- package/mablscript/steps/SetFilesStep.js +3 -0
- package/mablscript/steps/SwitchContextStep.js +4 -0
- package/mablscript/steps/VisitUrlStep.js +4 -0
- package/mablscript/steps/WaitUntilStep.js +3 -0
- package/mablscriptFind/index.js +1 -1
- package/package.json +8 -7
- package/reporters/__tests__/resources/sampleData.js +5 -0
- package/resources/mablFind.js +1 -1
- package/util/asyncUtil.js +7 -6
- package/browserLauncher/runnerType.js +0 -7
- package/domUtil/index.js.LICENSE.txt +0 -14
- package/mablscript/AttributesConstants.js +0 -115
|
@@ -167,6 +167,12 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
167
167
|
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
168
168
|
*/
|
|
169
169
|
|
|
170
|
+
/**
|
|
171
|
+
* @license Copyright 2016 The Lighthouse Authors. All Rights Reserved.
|
|
172
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
173
|
+
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
174
|
+
*/
|
|
175
|
+
|
|
170
176
|
/**
|
|
171
177
|
* @license Copyright 2017 Google Inc. All Rights Reserved.
|
|
172
178
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
package/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ declare module '@mablhq/mabl-cli' {
|
|
|
48
48
|
keepBrowserOpen?: boolean;
|
|
49
49
|
labelsExclude?: string[];
|
|
50
50
|
labelsInclude?: string[];
|
|
51
|
+
proxy?: string;
|
|
51
52
|
testId?: string;
|
|
52
53
|
runId?: string;
|
|
53
54
|
url?: string;
|
|
@@ -55,6 +56,7 @@ declare module '@mablhq/mabl-cli' {
|
|
|
55
56
|
workspaceId?: string;
|
|
56
57
|
runnerType?: RunnerType;
|
|
57
58
|
}
|
|
59
|
+
|
|
58
60
|
export interface MablApiClient {}
|
|
59
61
|
export class MablTestsRunner {
|
|
60
62
|
run(): Promise<TestResults>;
|