browserstack-node-sdk 1.70.0 → 1.70.2
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/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x4a989e=a63_0x1a64;(function(_0xbe9215,_0x42cf14){const _0x32d1e2=a63_0x1a64,_0x408ab5=_0xbe9215();while(!![]){try{const _0x2d0b0a=parseInt(_0x32d1e2(0x173))/0x1+-parseInt(_0x32d1e2(0x17a))/0x2*(-parseInt(_0x32d1e2(0x174))/0x3)+-parseInt(_0x32d1e2(0x177))/0x4*(-parseInt(_0x32d1e2(0x16d))/0x5)+parseInt(_0x32d1e2(0x17f))/0x6*(-parseInt(_0x32d1e2(0x166))/0x7)+-parseInt(_0x32d1e2(0x178))/0x8+-parseInt(_0x32d1e2(0x160))/0x9+parseInt(_0x32d1e2(0x161))/0xa*(parseInt(_0x32d1e2(0x171))/0xb);if(_0x2d0b0a===_0x42cf14)break;else _0x408ab5['push'](_0x408ab5['shift']());}catch(_0x50de85){_0x408ab5['push'](_0x408ab5['shift']());}}}(a63_0x4168,0xd68b5));const {isTrue,isBrowserstackInfra}=require('../../helpers/helper'),setKeepAlive=require(a63_0x4a989e(0x158)),util=require(a63_0x4a989e(0x165)),logger=require(a63_0x4a989e(0x152))[a63_0x4a989e(0x170)],{shouldProcessEventForTesthub}=require(a63_0x4a989e(0x153)),{addRequestSpy}=require(a63_0x4a989e(0x175)),a63_0x1f0770={};a63_0x1f0770['workerInfo']=undefined,a63_0x1f0770[a63_0x4a989e(0x15d)]={},a63_0x1f0770[a63_0x4a989e(0x15a)]=![],a63_0x1f0770[a63_0x4a989e(0x17b)]=null,a63_0x1f0770['isPageFixture']=![],a63_0x1f0770[a63_0x4a989e(0x15d)]['id']=undefined,a63_0x1f0770[a63_0x4a989e(0x15d)][a63_0x4a989e(0x168)]=undefined;const workerDetails=a63_0x1f0770;function a63_0x1a64(_0x4f4c4c,_0x48d87b){const _0x416836=a63_0x4168();return a63_0x1a64=function(_0x1a6443,_0x51f14f){_0x1a6443=_0x1a6443-0x14f;let _0x3b7c79=_0x416836[_0x1a6443];return _0x3b7c79;},a63_0x1a64(_0x4f4c4c,_0x48d87b);}global['__workerDetails']=workerDetails;function a63_0x4168(){const _0x596e28=['env','23868rMPDIj','11462800tgdbTe','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','3059942OlkKtb','pwPage','setFrameworkDetail','format','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','5085786AHYamL','__skipSessionStatus','../v2/cliUtils','true','../../helpers/logger','../../helpers/testhub/utils','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','__skipSessionName','jestConfig','isCliEnabled','../../helpers/setKeepAlive','../utils/constants','o11ySyncDone','BROWSERSTACK_PUPPETEER','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','currentTest','getInstance','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','5327460BlLmlM','10HiFAUq','../v2/browserstackCLI','PUPPETEER','JEST','util','7MWntwD','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','testInfo','catch','getPackageVersion','debug','../../helpers/helper','105YysNIB','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','puppeteer','winstonLogger','14426203oMZsFI','../utils/puppeteer-patcher','784443twXSHl','3TyLEEO','../../helpers/test-observability/utils'];a63_0x4168=function(){return _0x596e28;};return a63_0x4168();}let puppeteerPatcher=null;setKeepAlive();if(global[a63_0x4a989e(0x156)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a63_0x4a989e(0x156)]?.['skipSessionName']),global[a63_0x4a989e(0x14f)]=isTrue(global['jestConfig']?.['skipSessionStatus'])):(global[a63_0x4a989e(0x155)]=!![],global['__skipSessionStatus']=!![]);const helper=require(a63_0x4a989e(0x16c)),puppeteerVersion=helper[a63_0x4a989e(0x16a)](a63_0x4a989e(0x16f))||helper['getPackageVersion']('puppeteer-core');if(puppeteerVersion)try{logger[a63_0x4a989e(0x16b)]('[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require(a63_0x4a989e(0x172)),puppeteerPatcher['initializePuppeteerPatching'](global[a63_0x4a989e(0x156)]),logger[a63_0x4a989e(0x16b)](a63_0x4a989e(0x16e));}catch(a63_0x503828){logger[a63_0x4a989e(0x16b)](a63_0x4a989e(0x179)+util['format'](a63_0x503828));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a63_0x4a989e(0x162)),CLIUtils=require(a63_0x4a989e(0x150)),{FRAMEWORKS}=require(a63_0x4a989e(0x159));BrowserstackCLI[a63_0x4a989e(0x15e)]()[a63_0x4a989e(0x157)]()&&(logger[a63_0x4a989e(0x16b)](a63_0x4a989e(0x15f)),process[a63_0x4a989e(0x176)][a63_0x4a989e(0x15b)]=a63_0x4a989e(0x151),CLIUtils[a63_0x4a989e(0x17c)](FRAMEWORKS[a63_0x4a989e(0x164)],FRAMEWORKS[a63_0x4a989e(0x163)]),BrowserstackCLI[a63_0x4a989e(0x15e)]()['bootstrap']()[a63_0x4a989e(0x169)](_0x2263ad=>{const _0x2e4e5f=a63_0x4a989e;logger[_0x2e4e5f(0x16b)](_0x2e4e5f(0x154)+util[_0x2e4e5f(0x17d)](_0x2263ad));}));}catch(a63_0x2c307e){logger[a63_0x4a989e(0x16b)](a63_0x4a989e(0x17e)+util['format'](a63_0x2c307e));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a63_0x5e6eef){logger[a63_0x4a989e(0x16b)](a63_0x4a989e(0x167)+util[a63_0x4a989e(0x17d)](a63_0x5e6eef));}logger[a63_0x4a989e(0x16b)](a63_0x4a989e(0x15c));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a64_0x30e7ac=a64_0x3434;(function(_0xef219e,_0x3da3c9){const _0x1ba490=a64_0x3434,_0x1fa14a=_0xef219e();while(!![]){try{const _0x29c1c8=-parseInt(_0x1ba490(0x162))/0x1+-parseInt(_0x1ba490(0x168))/0x2+parseInt(_0x1ba490(0x121))/0x3+-parseInt(_0x1ba490(0x161))/0x4*(parseInt(_0x1ba490(0x152))/0x5)+parseInt(_0x1ba490(0x102))/0x6*(-parseInt(_0x1ba490(0x100))/0x7)+parseInt(_0x1ba490(0x104))/0x8+parseInt(_0x1ba490(0x177))/0x9;if(_0x29c1c8===_0x3da3c9)break;else _0x1fa14a['push'](_0x1fa14a['shift']());}catch(_0x25c955){_0x1fa14a['push'](_0x1fa14a['shift']());}}}(a64_0x1306,0x26407));const fs=require('fs'),path=require(a64_0x30e7ac(0x12a)),util=require(a64_0x30e7ac(0x108)),spawn=require(a64_0x30e7ac(0x136))[a64_0x30e7ac(0x166)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a64_0x30e7ac(0x17d)),PerformanceEvents=require(a64_0x30e7ac(0x187))['EVENTS'],helper=require(a64_0x30e7ac(0x1a0)),utilities=require(a64_0x30e7ac(0xf7)),{default:BrowserStackSetup}=require(a64_0x30e7ac(0x156)),{FRAMEWORKS}=require(a64_0x30e7ac(0x199)),runIntegrations=require(a64_0x30e7ac(0x15d)),yargs=require('yargs'),Constants=require('./utils/constants'),BrowserstackCLI=require(a64_0x30e7ac(0x12b)),{isNewman}=require(a64_0x30e7ac(0x15c)),logger=require('../helpers/logger')[a64_0x30e7ac(0x19b)],origArgs=Object[a64_0x30e7ac(0x11e)]([],process['argv']),captureError=async(_0xe1f980,_0x31d321,_0x1db0fc,_0x4b22ca=null,_0x26baef=![])=>{const _0x4aa815=a64_0x30e7ac,_0x266b13={'VCYng':function(_0x330a76,_0x12055e,_0x3ffa31,_0x6949da){return _0x330a76(_0x12055e,_0x3ffa31,_0x6949da);},'foOKA':_0x4aa815(0x111),'trLXo':function(_0x58d824,_0x566b4a){return _0x58d824&&_0x566b4a;}};let _0x55e096=![];try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x266b13[_0x4aa815(0x144)](_0xe1f980,_0x31d321,_0x4b22ca,_0x1db0fc);}catch(_0x4547ab){process[_0x4aa815(0x106)]=0x1,logger[_0x4aa815(0x12d)](util[_0x4aa815(0xf9)](_0x4547ab));const _0x2f48d5={'globalException':util['format']('%j',_0x4547ab)};PerformanceTester[_0x4aa815(0xf6)](PerformanceEvents[_0x4aa815(0x17f)],![],util[_0x4aa815(0xf9)](_0x4547ab));if(helper[_0x4aa815(0x132)](global[_0x4aa815(0x172)])&&helper['isUndefined'](global[_0x4aa815(0x151)]))return;try{utilities['fireFunnelTestEvent'](_0x266b13['foOKA'],_0x2f48d5,global['config'],global[_0x4aa815(0x151)]);}catch(_0x2f3698){logger[_0x4aa815(0x12f)](_0x4aa815(0x16f)+_0x2f3698[_0x4aa815(0x114)]);}if(!_0x26baef)try{await BrowserstackCLI[_0x4aa815(0x143)]()[_0x4aa815(0x134)](),_0x55e096=!![];}catch(_0x246a68){logger[_0x4aa815(0x12f)]('Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20'+_0x246a68[_0x4aa815(0x114)]);}try{await helper['sendLogs'](global[_0x4aa815(0x172)]);}catch(_0x1eac1c){logger[_0x4aa815(0x12f)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x1eac1c[_0x4aa815(0x114)]);}PerformanceTester[_0x4aa815(0xf6)](PerformanceEvents[_0x4aa815(0x17f)],![],util[_0x4aa815(0xf9)](_0x4547ab));}finally{_0x266b13[_0x4aa815(0x1a1)](!_0x26baef,!_0x55e096)&&await BrowserstackCLI[_0x4aa815(0x143)]()[_0x4aa815(0x134)](),PerformanceTester['start'](PerformanceEvents[_0x4aa815(0x142)]);}};try{const browserstackFolderPath=path[a64_0x30e7ac(0x11c)](helper['homedir'](),a64_0x30e7ac(0xf5));if(fs[a64_0x30e7ac(0x119)](browserstackFolderPath)){const filePath=path[a64_0x30e7ac(0x11c)](browserstackFolderPath,a64_0x30e7ac(0x181));fs['existsSync'](filePath)&&fs[a64_0x30e7ac(0x110)](filePath);}}catch(a64_0x5548ef){logger[a64_0x30e7ac(0x12f)](a64_0x30e7ac(0x19f)+a64_0x5548ef['message']);}process['argv'][a64_0x30e7ac(0x163)](a64_0x30e7ac(0x183))&&(!process[a64_0x30e7ac(0x179)][a64_0x30e7ac(0x163)](a64_0x30e7ac(0x131))&&process[a64_0x30e7ac(0x179)][a64_0x30e7ac(0x164)](a64_0x30e7ac(0x10c)),!process[a64_0x30e7ac(0x179)][a64_0x30e7ac(0xfd)](_0x642f70=>_0x642f70[a64_0x30e7ac(0x163)](a64_0x30e7ac(0x14d)))&&process['argv'][a64_0x30e7ac(0x164)]('--no-config'),!process[a64_0x30e7ac(0x179)][a64_0x30e7ac(0x163)](a64_0x30e7ac(0x16a))&&process[a64_0x30e7ac(0x179)][a64_0x30e7ac(0x164)]('--no-package'),helper[a64_0x30e7ac(0x123)](process[a64_0x30e7ac(0x179)],a64_0x30e7ac(0x140),a64_0x30e7ac(0x15e)));PerformanceTester[a64_0x30e7ac(0x150)](PerformanceEvents[a64_0x30e7ac(0x17f)]);const a64_0x43c82c={};a64_0x43c82c[a64_0x30e7ac(0x17b)]=![];function a64_0x3434(_0x5d4f5d,_0x3bcc22){const _0x1306ee=a64_0x1306();return a64_0x3434=function(_0x343466,_0x4fbc73){_0x343466=_0x343466-0xf2;let _0x55028b=_0x1306ee[_0x343466];return _0x55028b;},a64_0x3434(_0x5d4f5d,_0x3bcc22);}function a64_0x1306(){const _0x39c730=['MyvMH','debug','getConfigPath','--opts','isUndefined','JvhYQ','stop','sEACc','child_process','WCAGN','env','jfJze','VANILLA','TESTCAFE','hnkKW','usage:\x20$0\x20<command>\x20[args]','dnsnU','QaPxm','--require','integrations','SDK_CLEANUP','getInstance','VCYng','DEBUG','sxEVJ','unSNB','mocha/lib/cli/commands.js','ZlBEY','command','giTtT','UNPbk','--config','DEBUG_FILE','ZsgCb','start','framework','1555930kHygYg','node','load\x20[subcommand]','cucumber-js','../helpers/BrowserStackSetup','./cucumber-js/command','codeceptjs','HELP','setTestObservabilityDisable','pw:channel','./newman/helper','./integrations/command','--mochaRequire','-pw:*','./nightwatch/command','4GZDIgj','123423XhuWgG','includes','push','eGKic','spawn','exitProcess','157118uezLNU','showHelpOnFail','--package','handler','parserConfiguration','wuZeQ','iIqRD','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','jest','Dcrqd','config','INTEGRATIONS','psqMc','JASMINE','qwrAl','5175990kjSdCd','-pw:channel','argv','strict','dot-notation','describe','../helpers/performance/performance-tester','mCMCm','SDK_SETUP','jQlVc','.local-not-set.json','VgbqQ','mocha','map','zocqk','alias','../helpers/performance/constants','NgWVC','ats','kNbMA','pLPkL','PzZnO','./testcafe/command','demandCommand','xWIIG','testcafe','aYTXP','bQfXk','wZDaK','./jasmine/command','../../ats/src/index','getPwChannelLogPath','tATWT','tjqah','../helpers/test-observability/constants','mocha/lib/cli/run.js','winstonLogger','filter','bXukA','jfziG','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','../helpers/helper','trLXo','playwright','vAhVC','opmvv','pw:channel\x20auto-capture\x20seed\x20failed:\x20','help','wrap','disableAutoCaptureLogs','.browserstack','end','../helpers/utilities','some','format','VERSION','boolean','INFO','find','PLAYWRIGHT','setBrowserStackAutomationDisable','52388iCwBbT','olDyf','132GZGcSZ','pnZOA','1361176ENTmim','jasmine','exitCode','mocha/lib/cli/cli.js','util','sCAoa','vanilla','CUCUMBER','--no-opts','hkbTD','./newman/command','newman','unlinkSync','SDKTestSuccessful','uCXjJ','SPaIe','stack','./playwright/command','./detox/command','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','run','existsSync','cIulw','Parsing\x20command\x20line\x20arguments','join','BEnxH','assign','lwJoR','nightwatch','267714WEFqiZ','Runs\x20the\x20binary\x20with\x20load\x20command','findAndReplace','RBFLI','detox','slice','./mocha/command','./load/index','NOJfg','path','./v2/browserstackCLI','UHEBk','error'];a64_0x1306=function(){return _0x39c730;};return a64_0x1306();}const argv=yargs[a64_0x30e7ac(0x16c)](a64_0x43c82c)['usage'](a64_0x30e7ac(0x13d))[a64_0x30e7ac(0x186)]('v','version')[a64_0x30e7ac(0x17c)]('v')['alias']('h',a64_0x30e7ac(0xf2))[a64_0x30e7ac(0xf2)](a64_0x30e7ac(0xf2))[a64_0x30e7ac(0x169)](!![],Constants[a64_0x30e7ac(0xfa)][a64_0x30e7ac(0x159)])[a64_0x30e7ac(0x14a)](a64_0x30e7ac(0x170),Constants['JEST']['INFO'],function(_0x1fd5df){const _0x46f365=a64_0x30e7ac,_0x9c31f9={'pLPkL':_0x46f365(0x170),'iIqRD':function(_0x2486aa,_0x536eae,_0x41b241,_0x101c4e,_0x46eef9,_0x6c30aa){return _0x2486aa(_0x536eae,_0x41b241,_0x101c4e,_0x46eef9,_0x6c30aa);},'mbwoL':function(_0x35bffb,_0x182651){return _0x35bffb(_0x182651);},'vAhVC':'./jest/command'},_0x1be839=process['argv'][_0x46f365(0x126)](0x2);helper[_0x46f365(0x15a)](),helper['setBrowserStackAutomationDisable'](),_0x1fd5df['strict'](![]);const _0x555380=new BrowserStackSetup(_0x1fd5df['argv'],_0x9c31f9[_0x46f365(0x18b)]);return _0x9c31f9[_0x46f365(0x16e)](captureError,_0x9c31f9['mbwoL'](require,_0x9c31f9[_0x46f365(0x1a3)]),_0x1fd5df[_0x46f365(0x179)],_0x555380,_0x1be839,!![]);})['command'](a64_0x30e7ac(0x105),Constants[a64_0x30e7ac(0x175)][a64_0x30e7ac(0xfc)],function(_0x2ddbc8){const _0x2b2f13=a64_0x30e7ac,_0x3bb794={'wZDaK':_0x2b2f13(0x105),'WCAGN':function(_0x73bcb5,_0x140706,_0x558c78,_0x44869f,_0x44aabd,_0x1cb320){return _0x73bcb5(_0x140706,_0x558c78,_0x44869f,_0x44aabd,_0x1cb320);},'JvhYQ':function(_0x4d48c4,_0x301798){return _0x4d48c4(_0x301798);},'UHEBk':_0x2b2f13(0x194)},_0x302060=process[_0x2b2f13(0x179)]['slice'](0x2);helper[_0x2b2f13(0x15a)](),helper[_0x2b2f13(0xff)](),_0x2ddbc8[_0x2b2f13(0x17a)](![]);const _0x3b5c6b=new BrowserStackSetup(_0x2ddbc8[_0x2b2f13(0x179)],_0x3bb794[_0x2b2f13(0x193)]);return _0x3bb794[_0x2b2f13(0x137)](captureError,_0x3bb794[_0x2b2f13(0x133)](require,_0x3bb794[_0x2b2f13(0x12c)]),_0x2ddbc8['argv'],_0x3b5c6b,_0x302060,!![]);})[a64_0x30e7ac(0x14a)]('mocha',Constants['MOCHA']['INFO'],_0x2f792c=>{const _0x5029de=a64_0x30e7ac,_0x73a2bc={'wuZeQ':function(_0x4051f5,_0x73dff3,_0x498098,_0x19d63f){return _0x4051f5(_0x73dff3,_0x498098,_0x19d63f);},'GOSWK':function(_0x469553,_0x265b9e){return _0x469553(_0x265b9e);},'Dcrqd':_0x5029de(0x127),'ZsgCb':_0x5029de(0x183),'MyvMH':_0x5029de(0x11b),'zocqk':function(_0x3c8643,_0x949efb,_0x354f3c){return _0x3c8643(_0x949efb,_0x354f3c);},'FIwkX':_0x5029de(0x19a),'sxEVJ':_0x5029de(0x148),'mCMCm':function(_0x5defa0,_0x2fc34b,_0xaea2d5){return _0x5defa0(_0x2fc34b,_0xaea2d5);},'hkbTD':_0x5029de(0x107),'jQlVc':function(_0x53620b){return _0x53620b();}};process[_0x5029de(0x179)]=process[_0x5029de(0x179)]['slice'](0x1),helper[_0x5029de(0x15a)](),helper['setBrowserStackAutomationDisable']();const _0x130cd7=new BrowserStackSetup(_0x2f792c['argv'],_0x73a2bc[_0x5029de(0x14f)]);logger[_0x5029de(0x12f)](_0x73a2bc[_0x5029de(0x12e)]);const _0x5a0820=_0x73a2bc[_0x5029de(0x185)](requireModule,_0x73a2bc['FIwkX'],_0x73a2bc[_0x5029de(0x14f)]),_0x2a2273=_0x73a2bc[_0x5029de(0x185)](requireModule,_0x73a2bc[_0x5029de(0x146)],_0x73a2bc[_0x5029de(0x14f)]);delete _0x5a0820[_0x5029de(0x16b)],_0x5a0820['handler']=function(_0x580fd2){const _0x468ddf=_0x5029de;return _0x73a2bc[_0x468ddf(0x16d)](captureError,_0x73a2bc['GOSWK'](require,_0x73a2bc[_0x468ddf(0x171)]),_0x580fd2,_0x130cd7);},_0x2a2273[_0x5029de(0x118)]=_0x5a0820;const {main:_0x3b2524}=_0x73a2bc[_0x5029de(0x17e)](requireModule,_0x73a2bc[_0x5029de(0x10d)],_0x73a2bc[_0x5029de(0x14f)]);_0x73a2bc[_0x5029de(0x180)](_0x3b2524);})[a64_0x30e7ac(0x14a)](a64_0x30e7ac(0x155),Constants[a64_0x30e7ac(0x10b)][a64_0x30e7ac(0xfc)],function(_0x57f876){const _0x25b00e=a64_0x30e7ac,_0x4d2151={'sEACc':_0x25b00e(0x155),'eGKic':function(_0x440655,_0xee084d,_0x7d3f4e,_0x360089,_0x20186e,_0x12baf3){return _0x440655(_0xee084d,_0x7d3f4e,_0x360089,_0x20186e,_0x12baf3);},'cIulw':function(_0x221c4c,_0x4cf447){return _0x221c4c(_0x4cf447);},'SPaIe':_0x25b00e(0x157)},_0xc8fb44=process['argv'][_0x25b00e(0x126)](0x2),_0x2e3f69=new BrowserStackSetup(_0x57f876['argv'],_0x4d2151[_0x25b00e(0x135)]);return _0x4d2151[_0x25b00e(0x165)](captureError,_0x4d2151[_0x25b00e(0x11a)](require,_0x4d2151[_0x25b00e(0x113)]),_0x57f876['argv'],_0x2e3f69,_0xc8fb44,!![]);})['command'](a64_0x30e7ac(0x153),Constants[a64_0x30e7ac(0x13a)]['INFO'],function(_0x4bbee6){const _0x353349=a64_0x30e7ac,_0x5a7298={'lLVHX':_0x353349(0x10a),'bXukA':function(_0x13e3a7,_0x5deed4){return _0x13e3a7(_0x5deed4);},'bQfXk':'newman','dnsnU':function(_0x3b5111,_0x5cfc9a,_0x56f18a,_0x606dd9,_0x1e4646){return _0x3b5111(_0x5cfc9a,_0x56f18a,_0x606dd9,_0x1e4646);},'jfziG':_0x353349(0x10e),'tjqah':function(_0x4f5b46,_0x1f2d17,_0x434651,_0x5febca,_0x310bd8){return _0x4f5b46(_0x1f2d17,_0x434651,_0x5febca,_0x310bd8);},'NgWVC':'./vanilla-js/command'},_0x5b2023=process[_0x353349(0x179)]['slice'](0x2),_0x393fe9=new BrowserStackSetup(_0x4bbee6[_0x353349(0x179)],_0x5a7298['lLVHX']),_0x5edb06=_0x393fe9?_0x393fe9[_0x353349(0x172)]:null;if(_0x5a7298[_0x353349(0x19d)](isNewman,_0x5edb06))return _0x393fe9[_0x353349(0x151)]=_0x5a7298['bQfXk'],global['framework']=_0x5a7298[_0x353349(0x192)],_0x5a7298[_0x353349(0x13e)](captureError,_0x5a7298[_0x353349(0x19d)](require,_0x5a7298[_0x353349(0x19e)]),_0x4bbee6[_0x353349(0x179)],_0x393fe9,_0x5b2023);return _0x5a7298[_0x353349(0x198)](captureError,_0x5a7298[_0x353349(0x19d)](require,_0x5a7298[_0x353349(0x188)]),_0x4bbee6[_0x353349(0x179)],_0x393fe9,_0x5b2023);})[a64_0x30e7ac(0x14a)]('nightwatch',Constants['NIGHTWATCH'][a64_0x30e7ac(0xfc)],function(_0x43d6cc){const _0x2d701c=a64_0x30e7ac,_0x23a5e0={'QHdOI':_0x2d701c(0x120),'ncRyx':function(_0x4ff0ff,_0x52a400,_0x4247bf,_0x196469,_0x31e1f5){return _0x4ff0ff(_0x52a400,_0x4247bf,_0x196469,_0x31e1f5);},'QaPxm':function(_0x400a2f,_0x4c6907){return _0x400a2f(_0x4c6907);},'uCXjJ':_0x2d701c(0x160)},_0x35f315=process[_0x2d701c(0x179)]['slice'](0x2),_0x37d197=new BrowserStackSetup(_0x43d6cc[_0x2d701c(0x179)],_0x23a5e0['QHdOI']);return _0x23a5e0['ncRyx'](captureError,_0x23a5e0[_0x2d701c(0x13f)](require,_0x23a5e0[_0x2d701c(0x112)]),_0x43d6cc[_0x2d701c(0x179)],_0x37d197,_0x35f315);})[a64_0x30e7ac(0x14a)](a64_0x30e7ac(0x158),Constants['CODECEPTJS'][a64_0x30e7ac(0xfc)],function(_0x571b59){const _0x145f21=a64_0x30e7ac,_0x5baa92={'UGFTu':_0x145f21(0x158),'RBFLI':function(_0x4673b2,_0x2da548,_0x473675,_0x4ed1ac,_0x32b976){return _0x4673b2(_0x2da548,_0x473675,_0x4ed1ac,_0x32b976);},'ZlBEY':function(_0x280646,_0x79488a){return _0x280646(_0x79488a);},'cWKCq':'./codeceptjs/command'},_0x308a7d=process['argv'][_0x145f21(0x126)](0x2),_0x24dff7=new BrowserStackSetup(_0x571b59['argv'],_0x5baa92['UGFTu']);return _0x5baa92[_0x145f21(0x124)](captureError,_0x5baa92[_0x145f21(0x149)](require,_0x5baa92['cWKCq']),_0x571b59['argv'],_0x24dff7,_0x308a7d);})['command']('detox',Constants['DETOX'][a64_0x30e7ac(0xfc)],function(_0x5d0c0d){const _0x4769ff=a64_0x30e7ac,_0x4667ff={'jfJze':_0x4769ff(0x125),'PzZnO':function(_0x294da9,_0x2d2c5c,_0x4a4164,_0x4ecd29,_0x3ac3b1,_0x52b1fc){return _0x294da9(_0x2d2c5c,_0x4a4164,_0x4ecd29,_0x3ac3b1,_0x52b1fc);},'yquGn':function(_0x937a99,_0x4ace48){return _0x937a99(_0x4ace48);},'hJZTU':_0x4769ff(0x116)},_0x47ee8b=process[_0x4769ff(0x179)][_0x4769ff(0x126)](0x2),_0x1ac137=new BrowserStackSetup(_0x5d0c0d[_0x4769ff(0x179)],_0x4667ff[_0x4769ff(0x139)]);return _0x4667ff[_0x4769ff(0x18c)](captureError,_0x4667ff['yquGn'](require,_0x4667ff['hJZTU']),_0x5d0c0d[_0x4769ff(0x179)],_0x1ac137,_0x47ee8b,!![]);})[a64_0x30e7ac(0x14a)](a64_0x30e7ac(0x189),Constants['HST'][a64_0x30e7ac(0xfc)],function(_0x31b4b1){const _0x401e1a=a64_0x30e7ac,_0x5bdfba={'SCUCU':function(_0x47fb63,_0x194692,_0x302163){return _0x47fb63(_0x194692,_0x302163);},'Cywno':function(_0x731cf2,_0x2a28f9){return _0x731cf2(_0x2a28f9);},'olDyf':_0x401e1a(0x195)},_0x41c1d4=process[_0x401e1a(0x179)][_0x401e1a(0x126)](0x2);return _0x5bdfba['SCUCU'](captureError,_0x5bdfba['Cywno'](require,_0x5bdfba[_0x401e1a(0x101)]),_0x31b4b1);})[a64_0x30e7ac(0x14a)](a64_0x30e7ac(0x141),Constants[a64_0x30e7ac(0x173)][a64_0x30e7ac(0xfc)],function(_0x478eaf){const _0x121139=a64_0x30e7ac,_0x2087f4={'aYTXP':function(_0x13ae45,_0x546bbb){return _0x13ae45(_0x546bbb);}};return _0x2087f4[_0x121139(0x191)](runIntegrations,_0x478eaf);})[a64_0x30e7ac(0x14a)](a64_0x30e7ac(0x1a2),Constants['PLAYWRIGHT'][a64_0x30e7ac(0xfc)],function(_0x36bfbd){const _0x2fcde1=a64_0x30e7ac,_0xae0082={'opmvv':_0x2fcde1(0x15b),'kNbMA':function(_0x50d71c,_0x137682){return _0x50d71c&&_0x137682;},'sCAoa':function(_0x4e7465,_0x2b1f3a,_0x1c8d8c,_0x1e2978,_0x42aa9b,_0x10ea96){return _0x4e7465(_0x2b1f3a,_0x1c8d8c,_0x1e2978,_0x42aa9b,_0x10ea96);},'VgbqQ':function(_0x198d1a,_0xa3401f){return _0x198d1a(_0xa3401f);},'UNPbk':_0x2fcde1(0x115)},_0x597998=process[_0x2fcde1(0x179)][_0x2fcde1(0x126)](0x2);helper[_0x2fcde1(0x130)](process[_0x2fcde1(0x179)])&&(process[_0x2fcde1(0x138)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x2fcde1(0x130)](process[_0x2fcde1(0x179)]));helper[_0x2fcde1(0x15a)](),helper[_0x2fcde1(0xff)]();const _0x3d92e8=new BrowserStackSetup(_0x36bfbd[_0x2fcde1(0x179)],FRAMEWORKS[_0x2fcde1(0xfe)]);try{if(!_0x3d92e8['config']||!_0x3d92e8[_0x2fcde1(0x172)][_0x2fcde1(0xf4)]){const _0x1e6aad=_0xae0082[_0x2fcde1(0x1a4)],_0x2b246d=process[_0x2fcde1(0x138)][_0x2fcde1(0x145)]||'',_0x174f3a=_0x2b246d['split'](',')[_0x2fcde1(0x184)](_0x17d0a0=>_0x17d0a0['trim']())[_0x2fcde1(0x19c)](Boolean),_0x376915=_0x174f3a[_0x2fcde1(0xf8)](_0x19850f=>_0x19850f===_0x2fcde1(0x178)||_0x19850f===_0x2fcde1(0x15f)||_0x19850f==='-*'),_0x48b9ee=_0x174f3a[_0x2fcde1(0xf8)](_0x37e11d=>_0x37e11d===_0x1e6aad||_0x37e11d==='pw:*'||_0x37e11d==='*');if(_0xae0082[_0x2fcde1(0x18a)](!_0x376915,!_0x48b9ee)){const _0x1c7e95=helper[_0x2fcde1(0x196)]();_0x1c7e95&&(process[_0x2fcde1(0x138)][_0x2fcde1(0x145)]=_0x2b246d?_0x2b246d+','+_0x1e6aad:_0x1e6aad,!process[_0x2fcde1(0x138)][_0x2fcde1(0x14e)]&&(process[_0x2fcde1(0x138)]['DEBUG_FILE']=_0x1c7e95));}}}catch(_0x30198b){logger[_0x2fcde1(0x12f)](_0x2fcde1(0x1a5)+util['format'](_0x30198b));}return _0xae0082[_0x2fcde1(0x109)](captureError,_0xae0082[_0x2fcde1(0x182)](require,_0xae0082[_0x2fcde1(0x14c)]),_0x36bfbd[_0x2fcde1(0x179)],_0x3d92e8,_0x597998,!![]);})['command'](a64_0x30e7ac(0x190),Constants[a64_0x30e7ac(0x13b)][a64_0x30e7ac(0xfc)],function(_0x4343c4){const _0x5008c9=a64_0x30e7ac,_0x37d3b5={'jUtJU':'testcafe','xWIIG':function(_0x17d04f,_0x3fe132,_0x3a0e43,_0x319f06,_0x4f2c87,_0x3cc351){return _0x17d04f(_0x3fe132,_0x3a0e43,_0x319f06,_0x4f2c87,_0x3cc351);},'pnZOA':function(_0x2e51be,_0x5ea9bb){return _0x2e51be(_0x5ea9bb);},'tATWT':_0x5008c9(0x18d)},_0x4df07e=process['argv'][_0x5008c9(0x126)](0x2),_0x47dff5=new BrowserStackSetup(_0x4343c4['argv'],_0x37d3b5['jUtJU']);return _0x37d3b5[_0x5008c9(0x18f)](captureError,_0x37d3b5[_0x5008c9(0x103)](require,_0x37d3b5[_0x5008c9(0x197)]),_0x4343c4[_0x5008c9(0x179)],_0x47dff5,_0x4df07e,!![]);})['command'](a64_0x30e7ac(0x154),a64_0x30e7ac(0x122),function(_0xd6c4e9){const _0x4bd35e=a64_0x30e7ac,_0x5644d6={};_0x5644d6[_0x4bd35e(0x13c)]=_0x4bd35e(0xf2),_0x5644d6[_0x4bd35e(0x147)]=_0x4bd35e(0xfb),_0x5644d6[_0x4bd35e(0x174)]='Show\x20help';const _0x4ada98=_0x5644d6;return _0xd6c4e9[_0x4bd35e(0xf2)](![])['option'](_0x4ada98[_0x4bd35e(0x13c)],{'alias':'h','type':_0x4ada98[_0x4bd35e(0x147)],'describe':_0x4ada98[_0x4bd35e(0x174)]})[_0x4bd35e(0x17a)](![])[_0x4bd35e(0x167)](![]);},function(_0xb52f63){const _0x1bba0a=a64_0x30e7ac,_0x319ecf={'uevTd':function(_0x2fe7af,_0x583f2c,_0x36ff14){return _0x2fe7af(_0x583f2c,_0x36ff14);},'NOJfg':function(_0x59c4e0,_0x321d29){return _0x59c4e0(_0x321d29);},'giTtT':_0x1bba0a(0x128)},_0x114a0a={};return _0x114a0a['argv']=_0xb52f63,_0x319ecf['uevTd'](captureError,_0x319ecf[_0x1bba0a(0x129)](require,_0x319ecf[_0x1bba0a(0x14b)]),_0x114a0a);})[a64_0x30e7ac(0x14a)](a64_0x30e7ac(0x10f),Constants['NEWMAN'][a64_0x30e7ac(0xfc)],function(_0x495fbe){const _0x4a6314=a64_0x30e7ac,_0x8335aa={'lwJoR':_0x4a6314(0x10f),'qwrAl':function(_0x1a8c40,_0x5e2e85,_0x5a3176,_0x639f09,_0x22acbe){return _0x1a8c40(_0x5e2e85,_0x5a3176,_0x639f09,_0x22acbe);},'lWXOV':function(_0x309a8d,_0xe4b0c2){return _0x309a8d(_0xe4b0c2);},'BEnxH':_0x4a6314(0x10e)},_0x954789=process[_0x4a6314(0x179)][_0x4a6314(0x126)](0x2);helper[_0x4a6314(0x15a)](),helper[_0x4a6314(0xff)](),_0x495fbe[_0x4a6314(0x17a)](![]);const _0x1d001c=new BrowserStackSetup(_0x495fbe[_0x4a6314(0x179)],_0x8335aa[_0x4a6314(0x11f)]);return _0x8335aa[_0x4a6314(0x176)](captureError,_0x8335aa['lWXOV'](require,_0x8335aa[_0x4a6314(0x11d)]),_0x495fbe[_0x4a6314(0x179)],_0x1d001c,_0x954789);})[a64_0x30e7ac(0x18e)](0x1,a64_0x30e7ac(0x117))[a64_0x30e7ac(0xf3)](null)[a64_0x30e7ac(0x179)];!helper[a64_0x30e7ac(0x132)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x30e7ac(0x189)&&console['error']('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a64_0x5c8ccc=a64_0x2b66;(function(_0xbb2c9d,_0x24d69b){const _0x5759a1=a64_0x2b66,_0x32f472=_0xbb2c9d();while(!![]){try{const _0x47bd18=-parseInt(_0x5759a1(0x175))/0x1+-parseInt(_0x5759a1(0x215))/0x2*(parseInt(_0x5759a1(0x173))/0x3)+parseInt(_0x5759a1(0x200))/0x4+-parseInt(_0x5759a1(0x1a8))/0x5+parseInt(_0x5759a1(0x213))/0x6+parseInt(_0x5759a1(0x1f5))/0x7*(parseInt(_0x5759a1(0x16a))/0x8)+-parseInt(_0x5759a1(0x1dd))/0x9*(-parseInt(_0x5759a1(0x1a5))/0xa);if(_0x47bd18===_0x24d69b)break;else _0x32f472['push'](_0x32f472['shift']());}catch(_0x5234f3){_0x32f472['push'](_0x32f472['shift']());}}}(a64_0xc45d,0x76206));const fs=require('fs'),path=require(a64_0x5c8ccc(0x1ae)),util=require('util'),spawn=require(a64_0x5c8ccc(0x1fa))['spawn'],{requireModule}=require(a64_0x5c8ccc(0x1eb)),PerformanceTester=require(a64_0x5c8ccc(0x1cc)),PerformanceEvents=require(a64_0x5c8ccc(0x1e4))[a64_0x5c8ccc(0x1f4)],helper=require(a64_0x5c8ccc(0x1eb)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a64_0x5c8ccc(0x1cd)),{FRAMEWORKS}=require(a64_0x5c8ccc(0x1c0)),runIntegrations=require('./integrations/command'),yargs=require('yargs'),Constants=require('./utils/constants'),BrowserstackCLI=require(a64_0x5c8ccc(0x18d)),{isNewman}=require('./newman/helper'),logger=require(a64_0x5c8ccc(0x20f))['winstonLogger'],origArgs=Object[a64_0x5c8ccc(0x1bb)]([],process[a64_0x5c8ccc(0x1f0)]),captureError=async(_0x2afe55,_0x32bdea,_0x58bd9f,_0x506367=null,_0x276e50=![])=>{const _0x3a07fc=a64_0x5c8ccc,_0x33e4e2={'WFnwI':function(_0x324b1a,_0x5d5c52,_0x74b41d,_0x2aaf97){return _0x324b1a(_0x5d5c52,_0x74b41d,_0x2aaf97);},'gYvGy':_0x3a07fc(0x1dc),'hTTrI':function(_0x3abfd3,_0x354fc2){return _0x3abfd3&&_0x354fc2;}};let _0x1ecc1e=![];try{logger[_0x3a07fc(0x17e)](_0x3a07fc(0x16e)+origArgs['join']('\x20')),await _0x33e4e2['WFnwI'](_0x2afe55,_0x32bdea,_0x506367,_0x58bd9f);}catch(_0x25eb1d){process['exitCode']=0x1,logger[_0x3a07fc(0x1c4)](util[_0x3a07fc(0x1a6)](_0x25eb1d));const _0x2f3521={'globalException':util['format']('%j',_0x25eb1d)};PerformanceTester[_0x3a07fc(0x1ab)](PerformanceEvents[_0x3a07fc(0x17a)],![],util['format'](_0x25eb1d));if(helper[_0x3a07fc(0x19f)](global[_0x3a07fc(0x179)])&&helper[_0x3a07fc(0x19f)](global[_0x3a07fc(0x206)]))return;try{utilities[_0x3a07fc(0x1fb)](_0x33e4e2[_0x3a07fc(0x1f2)],_0x2f3521,global[_0x3a07fc(0x179)],global[_0x3a07fc(0x206)]);}catch(_0x28200f){logger[_0x3a07fc(0x1e7)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x28200f[_0x3a07fc(0x201)]);}if(!_0x276e50)try{await BrowserstackCLI['getInstance']()[_0x3a07fc(0x207)](),_0x1ecc1e=!![];}catch(_0x5e3408){logger[_0x3a07fc(0x1e7)](_0x3a07fc(0x1fe)+_0x5e3408[_0x3a07fc(0x201)]);}try{await helper[_0x3a07fc(0x1d2)](global[_0x3a07fc(0x179)]);}catch(_0x226006){logger['debug'](_0x3a07fc(0x1b6)+_0x226006[_0x3a07fc(0x201)]);}PerformanceTester[_0x3a07fc(0x1ab)](PerformanceEvents[_0x3a07fc(0x17a)],![],util[_0x3a07fc(0x1a6)](_0x25eb1d));}finally{_0x33e4e2[_0x3a07fc(0x1fc)](!_0x276e50,!_0x1ecc1e)&&await BrowserstackCLI[_0x3a07fc(0x1e2)]()[_0x3a07fc(0x207)](),PerformanceTester[_0x3a07fc(0x1d0)](PerformanceEvents[_0x3a07fc(0x204)]);}};try{const browserstackFolderPath=path[a64_0x5c8ccc(0x208)](helper[a64_0x5c8ccc(0x195)](),a64_0x5c8ccc(0x1f6));if(fs[a64_0x5c8ccc(0x209)](browserstackFolderPath)){const filePath=path[a64_0x5c8ccc(0x208)](browserstackFolderPath,a64_0x5c8ccc(0x188));fs[a64_0x5c8ccc(0x209)](filePath)&&fs[a64_0x5c8ccc(0x189)](filePath);}}catch(a64_0x5b4c6d){logger[a64_0x5c8ccc(0x1e7)](a64_0x5c8ccc(0x190)+a64_0x5b4c6d[a64_0x5c8ccc(0x1ad)]);}process['argv']['includes'](a64_0x5c8ccc(0x1a2))&&(!process['argv'][a64_0x5c8ccc(0x17c)](a64_0x5c8ccc(0x1d1))&&process[a64_0x5c8ccc(0x1f0)]['push']('--no-opts'),!process[a64_0x5c8ccc(0x1f0)][a64_0x5c8ccc(0x1d5)](_0x3f498c=>_0x3f498c[a64_0x5c8ccc(0x17c)](a64_0x5c8ccc(0x182)))&&process['argv'][a64_0x5c8ccc(0x1b0)](a64_0x5c8ccc(0x18f)),!process[a64_0x5c8ccc(0x1f0)][a64_0x5c8ccc(0x17c)](a64_0x5c8ccc(0x1a7))&&process[a64_0x5c8ccc(0x1f0)][a64_0x5c8ccc(0x1b0)](a64_0x5c8ccc(0x1a0)),helper[a64_0x5c8ccc(0x177)](process[a64_0x5c8ccc(0x1f0)],a64_0x5c8ccc(0x1f8),'--mochaRequire'));function a64_0x2b66(_0xbac57,_0x3a8a8d){const _0xc45d79=a64_0xc45d();return a64_0x2b66=function(_0x2b660b,_0x18862d){_0x2b660b=_0x2b660b-0x164;let _0x4fb990=_0xc45d79[_0x2b660b];return _0x4fb990;},a64_0x2b66(_0xbac57,_0x3a8a8d);}PerformanceTester[a64_0x5c8ccc(0x1d0)](PerformanceEvents[a64_0x5c8ccc(0x17a)]);const a64_0x599593={};function a64_0xc45d(){const _0x1ccc22=['usage','testcafe','load\x20[subcommand]','nFGUZ','VERSION','tyJLS','8wdyCdv','RlQth','./jest/command','VthoI','Running\x20SDK\x20with\x20args\x20','Runs\x20the\x20binary\x20with\x20load\x20command','parserConfiguration','nyrbl','lyftG','144387mafHDX','wNXlW','507253SzGtDz','cucumber-js','findAndReplace','env','config','SDK_SETUP','yAtpM','includes','CzQAT','info','dYKLk','./testcafe/command','hhrSq','--config','pw:*','VANILLA','BhmSi','imuXL','cudEq','.local-not-set.json','unlinkSync','reIHF','KNqhi','slice','./v2/browserstackCLI','eofbC','--no-config','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','yDPif','BEsgq','JASMINE','DEBUG','homedir','playwright','kcXkt','alias','getPwChannelLogPath','bmdTH','command','HSSuO','vInae','../../ats/src/index','isUndefined','--no-package','exitProcess','mocha','onnXQ','jest','10rQWbnq','format','--package','2398280cBqGdA','handler','wrap','end','pw:channel\x20auto-capture\x20seed\x20failed:\x20','message','path','./codeceptjs/command','push','usage:\x20$0\x20<command>\x20[args]','setTestObservabilityDisable','pIKcz','GmAMN','HST','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','DEBUG_FILE','getConfigPath','./mocha/command','boolean','assign','-pw:channel','ujhJo','lfJjA','version','../helpers/test-observability/constants','PLAYWRIGHT','TESTCAFE','setBrowserStackAutomationDisable','error','some','xrPZH','NIGHTWATCH','dHTZs','./vanilla-js/command','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','split','../helpers/performance/performance-tester','../helpers/BrowserStackSetup','filter','YxKIQ','start','--opts','sendLogs','jPlBy','jasmine','find','ats','./newman/command','frsNP','FBCPO','qDHuy','Show\x20help','SDKTestSuccessful','4937643LfSgAs','PQygx','Parsing\x20command\x20line\x20arguments','Msgys','newman','getInstance','wGJVs','../helpers/performance/constants','option','./playwright/command','debug','codeceptjs','help','yBKWr','../helpers/helper','NEWMAN','disableAutoCaptureLogs','trim','INFO','argv','HELP','gYvGy','pOWdi','EVENTS','1439935pVvQEL','.browserstack','BROWSERSTACK_CONFIG_FILE_PATH','--require','lnBsQ','child_process','fireFunnelTestEvent','hTTrI','sGIsJ','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','Cvxfr','2354660zCbzfJ','stack','DETOX','./jasmine/command','SDK_CLEANUP','mocha/lib/cli/run.js','framework','stop','join','existsSync','EPOaw','dot-notation','strict','XMUzH','-pw:*','../helpers/logger','VPLyD','detox','cnsVs','4231836cMlPbX','gMQNd','24aktYDA','./detox/command'];a64_0xc45d=function(){return _0x1ccc22;};return a64_0xc45d();}a64_0x599593[a64_0x5c8ccc(0x20b)]=![];const argv=yargs[a64_0x5c8ccc(0x170)](a64_0x599593)[a64_0x5c8ccc(0x164)](a64_0x5c8ccc(0x1b1))[a64_0x5c8ccc(0x198)]('v',a64_0x5c8ccc(0x1bf))['describe']('v')[a64_0x5c8ccc(0x198)]('h',a64_0x5c8ccc(0x1e9))[a64_0x5c8ccc(0x1e9)](a64_0x5c8ccc(0x1e9))['showHelpOnFail'](!![],Constants[a64_0x5c8ccc(0x168)][a64_0x5c8ccc(0x1f1)])['command']('jest',Constants['JEST'][a64_0x5c8ccc(0x1ef)],function(_0x481ad3){const _0x38685a=a64_0x5c8ccc,_0x28f8b4={'bmdTH':_0x38685a(0x1a4),'qDHuy':function(_0x26100f,_0x1d89cb,_0x5f0a8f,_0x1cafc8,_0x5a68df,_0x1ada7a){return _0x26100f(_0x1d89cb,_0x5f0a8f,_0x1cafc8,_0x5a68df,_0x1ada7a);},'cnsVs':function(_0x4323be,_0x48db81){return _0x4323be(_0x48db81);},'pOUdd':_0x38685a(0x16c)},_0x2d89e9=process[_0x38685a(0x1f0)][_0x38685a(0x18c)](0x2);helper[_0x38685a(0x1b2)](),helper['setBrowserStackAutomationDisable'](),_0x481ad3[_0x38685a(0x20c)](![]);const _0x33fdd8=new BrowserStackSetup(_0x481ad3['argv'],_0x28f8b4[_0x38685a(0x19a)]);return _0x28f8b4[_0x38685a(0x1da)](captureError,_0x28f8b4[_0x38685a(0x212)](require,_0x28f8b4['pOUdd']),_0x481ad3[_0x38685a(0x1f0)],_0x33fdd8,_0x2d89e9,!![]);})[a64_0x5c8ccc(0x19b)](a64_0x5c8ccc(0x1d4),Constants[a64_0x5c8ccc(0x193)][a64_0x5c8ccc(0x1ef)],function(_0x5e59bc){const _0x4aaf06=a64_0x5c8ccc,_0x72825d={'GmAMN':_0x4aaf06(0x1d4),'wNXlW':function(_0x27bce0,_0x1ee6dc,_0x475b4c,_0x161730,_0x37485b,_0x39ceb1){return _0x27bce0(_0x1ee6dc,_0x475b4c,_0x161730,_0x37485b,_0x39ceb1);},'BJmUC':function(_0x4fdd7a,_0x176aa4){return _0x4fdd7a(_0x176aa4);},'vInae':_0x4aaf06(0x203)},_0x1eb67e=process[_0x4aaf06(0x1f0)]['slice'](0x2);helper[_0x4aaf06(0x1b2)](),helper[_0x4aaf06(0x1c3)](),_0x5e59bc[_0x4aaf06(0x20c)](![]);const _0x3147cd=new BrowserStackSetup(_0x5e59bc[_0x4aaf06(0x1f0)],_0x72825d[_0x4aaf06(0x1b4)]);return _0x72825d[_0x4aaf06(0x174)](captureError,_0x72825d['BJmUC'](require,_0x72825d[_0x4aaf06(0x19d)]),_0x5e59bc[_0x4aaf06(0x1f0)],_0x3147cd,_0x1eb67e,!![]);})[a64_0x5c8ccc(0x19b)](a64_0x5c8ccc(0x1a2),Constants['MOCHA'][a64_0x5c8ccc(0x1ef)],_0x14950d=>{const _0x579fca=a64_0x5c8ccc,_0x402527={'YxKIQ':function(_0x542a42,_0x3946bf,_0x4f7fa4,_0x2ed066){return _0x542a42(_0x3946bf,_0x4f7fa4,_0x2ed066);},'yAtpM':function(_0x3a3890,_0x424d86){return _0x3a3890(_0x424d86);},'lyftG':_0x579fca(0x1b9),'lnBsQ':'mocha','onnXQ':_0x579fca(0x1df),'aParr':function(_0x387a7e,_0x268a8b,_0x4c24d7){return _0x387a7e(_0x268a8b,_0x4c24d7);},'VthoI':_0x579fca(0x205),'eofbC':'mocha/lib/cli/commands.js','kcXkt':function(_0x5eaa85,_0x4b7bb4,_0x1cfb12){return _0x5eaa85(_0x4b7bb4,_0x1cfb12);},'nFGUZ':'mocha/lib/cli/cli.js','RlQth':function(_0x1cdce2){return _0x1cdce2();}};process[_0x579fca(0x1f0)]=process[_0x579fca(0x1f0)]['slice'](0x1),helper[_0x579fca(0x1b2)](),helper[_0x579fca(0x1c3)]();const _0x4c23b9=new BrowserStackSetup(_0x14950d['argv'],_0x402527['lnBsQ']);logger[_0x579fca(0x1e7)](_0x402527[_0x579fca(0x1a3)]);const _0x3ac9d0=_0x402527['aParr'](requireModule,_0x402527[_0x579fca(0x16d)],_0x402527[_0x579fca(0x1f9)]),_0x208a14=_0x402527['aParr'](requireModule,_0x402527[_0x579fca(0x18e)],_0x402527[_0x579fca(0x1f9)]);delete _0x3ac9d0[_0x579fca(0x1a9)],_0x3ac9d0[_0x579fca(0x1a9)]=function(_0x3f6fc2){const _0x4f5678=_0x579fca;return _0x402527[_0x4f5678(0x1cf)](captureError,_0x402527[_0x4f5678(0x17b)](require,_0x402527[_0x4f5678(0x172)]),_0x3f6fc2,_0x4c23b9);},_0x208a14['run']=_0x3ac9d0;const {main:_0x37c948}=_0x402527[_0x579fca(0x197)](requireModule,_0x402527[_0x579fca(0x167)],_0x402527[_0x579fca(0x1f9)]);_0x402527[_0x579fca(0x16b)](_0x37c948);})[a64_0x5c8ccc(0x19b)](a64_0x5c8ccc(0x176),Constants['CUCUMBER'][a64_0x5c8ccc(0x1ef)],function(_0x53e59a){const _0x132b02=a64_0x5c8ccc,_0x5e3e1e={'hhrSq':_0x132b02(0x176),'QlRmg':function(_0x253308,_0x298b1c,_0x8020b3,_0x142d51,_0x167d82,_0x469e10){return _0x253308(_0x298b1c,_0x8020b3,_0x142d51,_0x167d82,_0x469e10);},'imuXL':function(_0x41a946,_0x1812f4){return _0x41a946(_0x1812f4);},'dHTZs':'./cucumber-js/command'},_0x87518b=process[_0x132b02(0x1f0)][_0x132b02(0x18c)](0x2),_0xc15560=new BrowserStackSetup(_0x53e59a[_0x132b02(0x1f0)],_0x5e3e1e[_0x132b02(0x181)]);return _0x5e3e1e['QlRmg'](captureError,_0x5e3e1e[_0x132b02(0x186)](require,_0x5e3e1e[_0x132b02(0x1c8)]),_0x53e59a['argv'],_0xc15560,_0x87518b,!![]);})[a64_0x5c8ccc(0x19b)]('node',Constants[a64_0x5c8ccc(0x184)][a64_0x5c8ccc(0x1ef)],function(_0x151d85){const _0x5bd046=a64_0x5c8ccc,_0x14a608={'YbqBT':'vanilla','nyrbl':function(_0x58e9f5,_0x284c3c){return _0x58e9f5(_0x284c3c);},'qQJho':_0x5bd046(0x1e1),'XMUzH':function(_0x19571a,_0x24b3ec,_0x4ee166,_0x5eb1ed,_0x1ddd3a){return _0x19571a(_0x24b3ec,_0x4ee166,_0x5eb1ed,_0x1ddd3a);},'HSSuO':_0x5bd046(0x1d7),'YBwZm':function(_0x581354,_0xe242ed,_0x44bd9e,_0x80b90,_0x5acfdf){return _0x581354(_0xe242ed,_0x44bd9e,_0x80b90,_0x5acfdf);},'KNqhi':_0x5bd046(0x1c9)},_0x149975=process[_0x5bd046(0x1f0)][_0x5bd046(0x18c)](0x2),_0x474d6e=new BrowserStackSetup(_0x151d85[_0x5bd046(0x1f0)],_0x14a608['YbqBT']),_0x444300=_0x474d6e?_0x474d6e[_0x5bd046(0x179)]:null;if(_0x14a608[_0x5bd046(0x171)](isNewman,_0x444300))return _0x474d6e[_0x5bd046(0x206)]=_0x14a608['qQJho'],global[_0x5bd046(0x206)]=_0x14a608['qQJho'],_0x14a608[_0x5bd046(0x20d)](captureError,_0x14a608[_0x5bd046(0x171)](require,_0x14a608[_0x5bd046(0x19c)]),_0x151d85[_0x5bd046(0x1f0)],_0x474d6e,_0x149975);return _0x14a608['YBwZm'](captureError,_0x14a608[_0x5bd046(0x171)](require,_0x14a608[_0x5bd046(0x18b)]),_0x151d85[_0x5bd046(0x1f0)],_0x474d6e,_0x149975);})[a64_0x5c8ccc(0x19b)]('nightwatch',Constants[a64_0x5c8ccc(0x1c7)]['INFO'],function(_0xb05b09){const _0x556c4c=a64_0x5c8ccc,_0x212f09={'iOaHs':'nightwatch','jXgzk':function(_0x2f78f5,_0x54effe,_0x10ec72,_0x57e8f5,_0x4770c6){return _0x2f78f5(_0x54effe,_0x10ec72,_0x57e8f5,_0x4770c6);},'cudEq':function(_0x1f5193,_0x46adf2){return _0x1f5193(_0x46adf2);},'FBCPO':'./nightwatch/command'},_0x566aae=process['argv'][_0x556c4c(0x18c)](0x2),_0x17194e=new BrowserStackSetup(_0xb05b09['argv'],_0x212f09['iOaHs']);return _0x212f09['jXgzk'](captureError,_0x212f09[_0x556c4c(0x187)](require,_0x212f09[_0x556c4c(0x1d9)]),_0xb05b09[_0x556c4c(0x1f0)],_0x17194e,_0x566aae);})['command'](a64_0x5c8ccc(0x1e8),Constants['CODECEPTJS'][a64_0x5c8ccc(0x1ef)],function(_0x1d70da){const _0x44e203=a64_0x5c8ccc,_0x40f229={'yNTyN':'codeceptjs','yDPif':function(_0x376f23,_0x517e9e,_0x3b64c3,_0x4e1b9c,_0x326cbd){return _0x376f23(_0x517e9e,_0x3b64c3,_0x4e1b9c,_0x326cbd);},'yBKWr':function(_0x1cf6bd,_0x2bc6a3){return _0x1cf6bd(_0x2bc6a3);},'reIHF':_0x44e203(0x1af)},_0x509fc2=process['argv']['slice'](0x2),_0x2e9aae=new BrowserStackSetup(_0x1d70da[_0x44e203(0x1f0)],_0x40f229['yNTyN']);return _0x40f229[_0x44e203(0x191)](captureError,_0x40f229[_0x44e203(0x1ea)](require,_0x40f229[_0x44e203(0x18a)]),_0x1d70da[_0x44e203(0x1f0)],_0x2e9aae,_0x509fc2);})[a64_0x5c8ccc(0x19b)](a64_0x5c8ccc(0x211),Constants[a64_0x5c8ccc(0x202)][a64_0x5c8ccc(0x1ef)],function(_0x2c8538){const _0x2f1cdd=a64_0x5c8ccc,_0x290af4={'CagIX':_0x2f1cdd(0x211),'lfJjA':function(_0x5b7230,_0x1d33e7,_0x1d4c37,_0x9f15b7,_0x153bde,_0x505c2c){return _0x5b7230(_0x1d33e7,_0x1d4c37,_0x9f15b7,_0x153bde,_0x505c2c);},'PdZon':function(_0x4d8160,_0x13d195){return _0x4d8160(_0x13d195);},'ujhJo':_0x2f1cdd(0x216)},_0x5db80f=process[_0x2f1cdd(0x1f0)][_0x2f1cdd(0x18c)](0x2),_0x3675a2=new BrowserStackSetup(_0x2c8538[_0x2f1cdd(0x1f0)],_0x290af4['CagIX']);return _0x290af4[_0x2f1cdd(0x1be)](captureError,_0x290af4['PdZon'](require,_0x290af4[_0x2f1cdd(0x1bd)]),_0x2c8538['argv'],_0x3675a2,_0x5db80f,!![]);})[a64_0x5c8ccc(0x19b)](a64_0x5c8ccc(0x1d6),Constants[a64_0x5c8ccc(0x1b5)][a64_0x5c8ccc(0x1ef)],function(_0x29ecbe){const _0x2b4414=a64_0x5c8ccc,_0x149c32={'sGIsJ':function(_0x3e2826,_0x566d3a,_0x5d706b){return _0x3e2826(_0x566d3a,_0x5d706b);},'dYKLk':function(_0x1054bf,_0x3f7db0){return _0x1054bf(_0x3f7db0);},'EPOaw':_0x2b4414(0x19e)},_0x235925=process['argv'][_0x2b4414(0x18c)](0x2);return _0x149c32[_0x2b4414(0x1fd)](captureError,_0x149c32[_0x2b4414(0x17f)](require,_0x149c32[_0x2b4414(0x20a)]),_0x29ecbe);})[a64_0x5c8ccc(0x19b)]('integrations',Constants['INTEGRATIONS']['INFO'],function(_0x298428){const _0x1d7ca2={'afQbQ':function(_0x8bb113,_0x51063c){return _0x8bb113(_0x51063c);}};return _0x1d7ca2['afQbQ'](runIntegrations,_0x298428);})[a64_0x5c8ccc(0x19b)](a64_0x5c8ccc(0x196),Constants['PLAYWRIGHT'][a64_0x5c8ccc(0x1ef)],function(_0x39415d){const _0x57566d=a64_0x5c8ccc,_0x4bbf26={'pOWdi':'pw:channel','iySzQ':function(_0x16cf40,_0x2391cf){return _0x16cf40&&_0x2391cf;},'JNBzP':function(_0x2d855c,_0x36c29e,_0x1c57ad,_0x415e7c,_0x80174c,_0xa667ac){return _0x2d855c(_0x36c29e,_0x1c57ad,_0x415e7c,_0x80174c,_0xa667ac);},'PQygx':function(_0x170280,_0x16c9be){return _0x170280(_0x16c9be);},'frsNP':_0x57566d(0x1e6)},_0x57fa55=process[_0x57566d(0x1f0)]['slice'](0x2);helper[_0x57566d(0x1b8)](process['argv'])&&(process['env'][_0x57566d(0x1f7)]=helper[_0x57566d(0x1b8)](process['argv']));helper['setTestObservabilityDisable'](),helper[_0x57566d(0x1c3)]();const _0x35731d=new BrowserStackSetup(_0x39415d[_0x57566d(0x1f0)],FRAMEWORKS[_0x57566d(0x1c1)]);try{if(!_0x35731d[_0x57566d(0x179)]||!_0x35731d[_0x57566d(0x179)][_0x57566d(0x1ed)]){const _0x122fbc=_0x4bbf26[_0x57566d(0x1f3)],_0x112657=process[_0x57566d(0x178)]['DEBUG']||'',_0x5d3248=_0x112657[_0x57566d(0x1cb)](',')['map'](_0x5e0fe8=>_0x5e0fe8[_0x57566d(0x1ee)]())[_0x57566d(0x1ce)](Boolean),_0x3a9c3f=_0x5d3248['some'](_0x2ad8e6=>_0x2ad8e6===_0x57566d(0x1bc)||_0x2ad8e6===_0x57566d(0x20e)||_0x2ad8e6==='-*'),_0x57d469=_0x5d3248[_0x57566d(0x1c5)](_0x4bedf2=>_0x4bedf2===_0x122fbc||_0x4bedf2===_0x57566d(0x183)||_0x4bedf2==='*');if(_0x4bbf26['iySzQ'](!_0x3a9c3f,!_0x57d469)){const _0xb4acad=helper[_0x57566d(0x199)]();_0xb4acad&&(process[_0x57566d(0x178)][_0x57566d(0x194)]=_0x112657?_0x112657+','+_0x122fbc:_0x122fbc,!process[_0x57566d(0x178)][_0x57566d(0x1b7)]&&(process[_0x57566d(0x178)]['DEBUG_FILE']=_0xb4acad));}}}catch(_0x23923a){logger['debug'](_0x57566d(0x1ac)+util[_0x57566d(0x1a6)](_0x23923a));}return _0x4bbf26['JNBzP'](captureError,_0x4bbf26[_0x57566d(0x1de)](require,_0x4bbf26[_0x57566d(0x1d8)]),_0x39415d['argv'],_0x35731d,_0x57fa55,!![]);})[a64_0x5c8ccc(0x19b)](a64_0x5c8ccc(0x165),Constants[a64_0x5c8ccc(0x1c2)][a64_0x5c8ccc(0x1ef)],function(_0x4a8e9b){const _0x463139=a64_0x5c8ccc,_0xa334f={'xrPZH':_0x463139(0x165),'CzQAT':function(_0x44b8c7,_0x30d945,_0xc276dd,_0x4accc7,_0x14aed3,_0x29a2e3){return _0x44b8c7(_0x30d945,_0xc276dd,_0x4accc7,_0x14aed3,_0x29a2e3);},'jPlBy':function(_0x2a8400,_0x106d92){return _0x2a8400(_0x106d92);},'Cvxfr':_0x463139(0x180)},_0x58e4d9=process['argv']['slice'](0x2),_0x3d6c5a=new BrowserStackSetup(_0x4a8e9b['argv'],_0xa334f[_0x463139(0x1c6)]);return _0xa334f[_0x463139(0x17d)](captureError,_0xa334f[_0x463139(0x1d3)](require,_0xa334f[_0x463139(0x1ff)]),_0x4a8e9b['argv'],_0x3d6c5a,_0x58e4d9,!![]);})['command'](a64_0x5c8ccc(0x166),a64_0x5c8ccc(0x16f),function(_0x5bad4){const _0x3e0b9f=a64_0x5c8ccc,_0x502a39={};_0x502a39[_0x3e0b9f(0x185)]='help',_0x502a39[_0x3e0b9f(0x192)]=_0x3e0b9f(0x1ba),_0x502a39['JaILc']=_0x3e0b9f(0x1db);const _0x35c69a=_0x502a39;return _0x5bad4[_0x3e0b9f(0x1e9)](![])[_0x3e0b9f(0x1e5)](_0x35c69a[_0x3e0b9f(0x185)],{'alias':'h','type':_0x35c69a[_0x3e0b9f(0x192)],'describe':_0x35c69a['JaILc']})[_0x3e0b9f(0x20c)](![])[_0x3e0b9f(0x1a1)](![]);},function(_0x3ecbf6){const _0x51c62d=a64_0x5c8ccc,_0x1700a1={'tyJLS':function(_0x59cc82,_0x529541,_0x3d8fcf){return _0x59cc82(_0x529541,_0x3d8fcf);},'gMQNd':function(_0x5173c1,_0x5415fe){return _0x5173c1(_0x5415fe);},'VPLyD':'./load/index'},_0x148556={};return _0x148556[_0x51c62d(0x1f0)]=_0x3ecbf6,_0x1700a1[_0x51c62d(0x169)](captureError,_0x1700a1[_0x51c62d(0x214)](require,_0x1700a1[_0x51c62d(0x210)]),_0x148556);})[a64_0x5c8ccc(0x19b)](a64_0x5c8ccc(0x1e1),Constants[a64_0x5c8ccc(0x1ec)]['INFO'],function(_0x528b3b){const _0x4030be=a64_0x5c8ccc,_0x38e044={'pIKcz':'newman','wGJVs':function(_0x10d3f3,_0x2cfa12,_0x434d50,_0x27cad2,_0x5c4c61){return _0x10d3f3(_0x2cfa12,_0x434d50,_0x27cad2,_0x5c4c61);},'fyuKj':function(_0x207429,_0x19cf74){return _0x207429(_0x19cf74);},'Msgys':_0x4030be(0x1d7)},_0x4effca=process[_0x4030be(0x1f0)][_0x4030be(0x18c)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x528b3b[_0x4030be(0x20c)](![]);const _0x4dc351=new BrowserStackSetup(_0x528b3b[_0x4030be(0x1f0)],_0x38e044[_0x4030be(0x1b3)]);return _0x38e044[_0x4030be(0x1e3)](captureError,_0x38e044['fyuKj'](require,_0x38e044[_0x4030be(0x1e0)]),_0x528b3b[_0x4030be(0x1f0)],_0x4dc351,_0x4effca);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a64_0x5c8ccc(0x1aa)](null)[a64_0x5c8ccc(0x1f0)];!helper[a64_0x5c8ccc(0x19f)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x5c8ccc(0x1d6)&&console[a64_0x5c8ccc(0x1c4)](a64_0x5c8ccc(0x1ca));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a65_0x226477=a65_0x38bb;(function(_0x323163,_0x337b02){const _0x1c6c03=a65_0x38bb,_0x1b92df=_0x323163();while(!![]){try{const _0x261dd1=parseInt(_0x1c6c03(0x16a))/0x1+-parseInt(_0x1c6c03(0x1ac))/0x2*(parseInt(_0x1c6c03(0x16b))/0x3)+parseInt(_0x1c6c03(0x17c))/0x4*(-parseInt(_0x1c6c03(0x199))/0x5)+-parseInt(_0x1c6c03(0x19f))/0x6+parseInt(_0x1c6c03(0x187))/0x7*(-parseInt(_0x1c6c03(0x17f))/0x8)+parseInt(_0x1c6c03(0x178))/0x9+parseInt(_0x1c6c03(0x170))/0xa;if(_0x261dd1===_0x337b02)break;else _0x1b92df['push'](_0x1b92df['shift']());}catch(_0x4a10ef){_0x1b92df['push'](_0x1b92df['shift']());}}}(a65_0x39cb,0x46b95));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),yaml=require('js-yaml'),yargs=require(a65_0x226477(0x169)),logger=require(a65_0x226477(0x180))[a65_0x226477(0x183)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a65_0x226477(0x16e),configFile=process['cwd']()+a65_0x226477(0x1aa),packageFile=process[a65_0x226477(0x16d)]()+a65_0x226477(0x198),frameworks=[a65_0x226477(0x16c),a65_0x226477(0x189),'cucumber-js','node',a65_0x226477(0x1ab),a65_0x226477(0x186),a65_0x226477(0x1a7),a65_0x226477(0x19a)];let config;logger[a65_0x226477(0x191)](a65_0x226477(0x1b1)),createConfigurationFile(yargs[a65_0x226477(0x1ad)][a65_0x226477(0x171)],yargs[a65_0x226477(0x1ad)][a65_0x226477(0x190)],yargs[a65_0x226477(0x1ad)][a65_0x226477(0x1a7)]);function a65_0x38bb(_0x3c4564,_0x3c35cb){const _0x39cb77=a65_0x39cb();return a65_0x38bb=function(_0x38bbe8,_0x1647a2){_0x38bbe8=_0x38bbe8-0x169;let _0x305c7a=_0x39cb77[_0x38bbe8];return _0x305c7a;},a65_0x38bb(_0x3c4564,_0x3c35cb);}try{sdkSetup();}catch(a65_0x2a0fd6){logger['debug'](a65_0x226477(0x188)+a65_0x2a0fd6);}addScriptInPackageJson();function createConfigurationFile(_0x3aef4f,_0x2d2ff2,_0xce13c1=![]){const _0x426966=a65_0x226477,_0x296731={};_0x296731[_0x426966(0x174)]='utf8',_0x296731[_0x426966(0x182)]=_0x426966(0x18c),_0x296731[_0x426966(0x17b)]='YOUR_ACCESS_KEY';const _0x33b17d=_0x296731;try{let _0x222798=fs[_0x426966(0x177)](_0xce13c1?configFileTemplatePW:configFileTemplate,_0x33b17d[_0x426966(0x174)]);_0x3aef4f&&(_0x222798=_0x222798[_0x426966(0x173)](_0x33b17d[_0x426966(0x182)],_0x3aef4f)),_0x2d2ff2&&(_0x222798=_0x222798[_0x426966(0x173)](_0x33b17d['TiUQm'],_0x2d2ff2)),config=yaml[_0x426966(0x192)](_0x222798),fs[_0x426966(0x195)](configFile,_0x222798,_0x5a8303=>{const _0x58dfd4=_0x426966;_0x5a8303&&logger[_0x58dfd4(0x1a2)](_0x5a8303);});}catch(_0xb9f083){logger[_0x426966(0x1a2)](_0xb9f083);}}function addPostInstallScript(_0x2b4b55,_0x4b9f88){const _0x46d772=a65_0x226477,_0x1f6000={};_0x1f6000[_0x46d772(0x197)]=_0x46d772(0x1a8),_0x1f6000[_0x46d772(0x184)]='npm\x20update\x20browserstack-node-sdk',_0x1f6000['HkufA']='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x1c075f=_0x1f6000;let _0x707e2=_0x2b4b55[_0x1c075f[_0x46d772(0x197)]];if(_0x707e2&&_0x707e2['includes'](_0x1c075f[_0x46d772(0x184)]))return;!_0x707e2?_0x707e2=_0x1c075f[_0x46d772(0x184)]:_0x707e2+=_0x1c075f[_0x46d772(0x172)],_0x4b9f88[_0x46d772(0x18a)]([_0x1c075f['luNrr'],_0x707e2]);}function addScriptInPackageJson(){const _0x37c5a5=a65_0x226477,_0x4d5993={'FxVMp':_0x37c5a5(0x19d),'lHlmG':function(_0x3bf3e4,_0x7899d4){return _0x3bf3e4<_0x7899d4;},'skBTA':function(_0x44ccfb,_0x38bb64,_0x448f29){return _0x44ccfb(_0x38bb64,_0x448f29);},'utmhf':function(_0x1a1fb1,_0x2fb879,_0x224fe0){return _0x1a1fb1(_0x2fb879,_0x224fe0);},'fwkCK':function(_0x27a44a,_0x158196){return _0x27a44a!==_0x158196;},'CStBN':_0x37c5a5(0x17e)},_0x32e17e=JSON[_0x37c5a5(0x17a)](fs['readFileSync'](packageFile,_0x4d5993[_0x37c5a5(0x1a0)])),_0x43e085=[];for(let _0x196ca5=0x0;_0x4d5993['lHlmG'](_0x196ca5,frameworks[_0x37c5a5(0x16f)]);_0x196ca5+=0x1){const _0x253568=_0x4d5993[_0x37c5a5(0x19c)](findScriptsWithFramework,_0x32e17e['scripts'],frameworks[_0x196ca5]);for(let _0x2c8fe7=0x0;_0x4d5993[_0x37c5a5(0x18e)](_0x2c8fe7,_0x253568[_0x37c5a5(0x16f)]);_0x2c8fe7+=0x1){_0x43e085['push'](_0x4d5993[_0x37c5a5(0x1a9)](getUpdatedCommand,_0x32e17e[_0x37c5a5(0x18d)],_0x253568[_0x2c8fe7]));}_0x4d5993[_0x37c5a5(0x19c)](addPostInstallScript,_0x32e17e['scripts'],_0x43e085);}const _0xeaff08={..._0x32e17e[_0x37c5a5(0x18d)]},_0x5e7bf2=_0xeaff08;for(let _0x5c4a57=0x0;_0x4d5993[_0x37c5a5(0x18e)](_0x5c4a57,_0x43e085[_0x37c5a5(0x16f)]);_0x5c4a57+=0x1){_0x5e7bf2[_0x43e085[_0x5c4a57][0x0]]=_0x43e085[_0x5c4a57][0x1];}_0x4d5993['fwkCK'](JSON[_0x37c5a5(0x1a5)](_0x32e17e[_0x37c5a5(0x18d)]),JSON[_0x37c5a5(0x1a5)](_0x5e7bf2))&&(logger[_0x37c5a5(0x191)](_0x4d5993[_0x37c5a5(0x1af)]),_0x32e17e[_0x37c5a5(0x18d)]=_0x5e7bf2,fs['writeFileSync'](packageFile,JSON['stringify'](_0x32e17e,null,0x2),_0x6b8ee0=>{const _0x25af78=_0x37c5a5;_0x6b8ee0&&logger[_0x25af78(0x1a2)](_0x6b8ee0);}));};function findScriptsWithFramework(_0x43613f,_0x1df3b5){const _0x115854=a65_0x226477,_0x2a1857={};_0x2a1857[_0x115854(0x1a6)]=function(_0x55bf46,_0x3f4f64){return _0x55bf46<_0x3f4f64;},_0x2a1857[_0x115854(0x1a3)]=_0x115854(0x175);const _0x226d61=_0x2a1857,_0x469ab7=[],_0x2c57ce=Object[_0x115854(0x176)](_0x43613f);for(let _0x4d7b52=0x0;_0x226d61[_0x115854(0x1a6)](_0x4d7b52,_0x2c57ce[_0x115854(0x16f)]);_0x4d7b52+=0x1){_0x2c57ce[_0x4d7b52][0x1][_0x115854(0x193)](_0x1df3b5)&&!_0x2c57ce[_0x4d7b52][0x1][_0x115854(0x193)](_0x226d61[_0x115854(0x1a3)])&&_0x469ab7[_0x115854(0x18a)](_0x2c57ce[_0x4d7b52][0x0]);}return _0x469ab7;}function getUpdatedCommand(_0x56e2c8,_0x17da0f){const _0x44f754=a65_0x226477,_0x59c931={};_0x59c931[_0x44f754(0x19e)]=function(_0x1395a0,_0x33846f){return _0x1395a0!==_0x33846f;},_0x59c931[_0x44f754(0x1a4)]=_0x44f754(0x175),_0x59c931[_0x44f754(0x181)]=function(_0x23f346,_0x2fe646){return _0x23f346===_0x2fe646;};const _0x17ba0d=_0x59c931,_0x57737e=_0x17da0f+'-browserstack',_0x14509c=_0x56e2c8[_0x17da0f],_0x2f4a83=_0x14509c[_0x44f754(0x179)]('\x20');for(const _0x15113d of frameworks){if(_0x17ba0d[_0x44f754(0x19e)](_0x2f4a83['indexOf'](_0x15113d),-0x1)){_0x2f4a83[_0x44f754(0x18f)](_0x2f4a83['indexOf'](_0x15113d),0x0,_0x17ba0d[_0x44f754(0x1a4)]);break;}}let _0x1bd765=_0x2f4a83['join']('\x20');return _0x17ba0d[_0x44f754(0x181)](_0x1bd765,_0x14509c)&&(_0x1bd765=_0x44f754(0x17d)+_0x14509c),[_0x57737e,_0x1bd765];}function sdkSetup(){const _0x50a610=a65_0x226477,_0xbca867={};_0xbca867[_0x50a610(0x185)]=_0x50a610(0x1ae),_0xbca867[_0x50a610(0x194)]=_0x50a610(0x18b);const _0x8833b7=_0xbca867;if(helper[_0x50a610(0x1a1)](config))return;config[_0x50a610(0x19b)]=_0x8833b7[_0x50a610(0x185)];try{utilities[_0x50a610(0x196)](_0x8833b7['KaKKr'],{},config,'');}catch(_0x597338){logger['debug'](_0x50a610(0x188)+_0x597338);}}logger[a65_0x226477(0x191)](a65_0x226477(0x1b0));function a65_0x39cb(){const _0x39fa95=['scripts','lHlmG','splice','key','info','load','includes','KaKKr','writeFileSync','fireFunnelTestEvent','luNrr','/package.json','63515fVNTNK','detox','source','skBTA','utf8','QqyzP','2072448IVABCy','FxVMp','isUndefined','error','ZJaLV','AyrbR','stringify','aCYXY','playwright','postinstall','utmhf','/browserstack.yml','nightwatch','92002ssJMEn','argv','node-setup','CStBN','Setup\x20completed','Creating\x20configuration\x20file...','yargs','156069oHWrEq','9MGhqWl','mocha','cwd','/../../browserstack.pw.yml.sample','length','5270300rjSTvx','username','HkufA','replace','reITZ','browserstack-node-sdk','entries','readFileSync','4380696OijXxn','split','parse','TiUQm','68fmdTwv','browserstack-node-sdk\x20','Adding\x20new\x20script(s)\x20in\x20package.json...','51656uQCOMZ','../helpers/logger','lMqoY','WHTOz','winstonLogger','EXXLh','mqTdf','codeceptjs','196ZBVwdn','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','jest','push','SDKSetup','YOUR_USERNAME'];a65_0x39cb=function(){return _0x39fa95;};return a65_0x39cb();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a66_0x68aa0=a66_0x58ac;(function(_0x21d4e6,_0x1b1c75){const _0x43b31f=a66_0x58ac,_0x144731=_0x21d4e6();while(!![]){try{const _0x2f54c5=parseInt(_0x43b31f(0xde))/0x1*(parseInt(_0x43b31f(0xad))/0x2)+parseInt(_0x43b31f(0xd9))/0x3*(-parseInt(_0x43b31f(0xd5))/0x4)+-parseInt(_0x43b31f(0xc2))/0x5*(parseInt(_0x43b31f(0x9f))/0x6)+-parseInt(_0x43b31f(0xd7))/0x7+parseInt(_0x43b31f(0xb6))/0x8*(-parseInt(_0x43b31f(0x9b))/0x9)+parseInt(_0x43b31f(0xac))/0xa*(-parseInt(_0x43b31f(0xa0))/0xb)+-parseInt(_0x43b31f(0xe0))/0xc*(-parseInt(_0x43b31f(0xeb))/0xd);if(_0x2f54c5===_0x1b1c75)break;else _0x144731['push'](_0x144731['shift']());}catch(_0xf06e77){_0x144731['push'](_0x144731['shift']());}}}(a66_0x30f1,0xae73b));const Worker=require(a66_0x68aa0(0xc6))[a66_0x68aa0(0xe7)],Emittery=require(a66_0x68aa0(0xc1)),pLimit=require(a66_0x68aa0(0xca)),{parentPort}=require(a66_0x68aa0(0xff)),util=require(a66_0x68aa0(0xb0)),logger=require('../../helpers/logger')[a66_0x68aa0(0xbf)],PerformanceTester=require(a66_0x68aa0(0xbd)),PerformanceEvents=require(a66_0x68aa0(0xc3))[a66_0x68aa0(0xa1)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a66_0x68aa0(0xa7));function a66_0x58ac(_0x256129,_0x14038e){const _0x30f10c=a66_0x30f1();return a66_0x58ac=function(_0x58ac04,_0x435da5){_0x58ac04=_0x58ac04-0x98;let _0x3f2fca=_0x30f10c[_0x58ac04];return _0x3f2fca;},a66_0x58ac(_0x256129,_0x14038e);}function a66_0x30f1(){const _0x4b92f7=['vUDrb','Qayyb','Hphqp','worker_threads','vanillaWorker','end','platform','338913VvPDHw','parallelCucumberRun','WVKvA','stop','24vfOVwJ','22nRokWF','EVENTS','XvWOk','test-file-success','LDccx','ILItQ','yPFkw','../../helpers/testhub/testhubHandler','worker','signalCode','dIrbU','exitCode','191330ilPYqD','972996fcTqoc','nEhFg','YDdEb','util','stdout','pipe','platform-run-success','config','fGWzL','248GNiQQo','stderr','yfyZW','vMksT','file','yOTCM','error','../../helpers/performance/performance-tester','cucumberWorker','winstonLogger','yYpUK','emittery','721340ZDSzcn','../../helpers/performance/constants','lGOWm','YjAZl','jest-worker','format','all','getStdout','p-limit','platform-run-start','AwEaY','getWorkers','UNSTABLE_onCustomMessage','ihpCG','map','test-file-failure','results','eAoCO','JiUul','4ZQjEfC','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','413476uOJDGi','then','2234730dQZIxH','eTwwS','RYFtE','send','oxhIP','1eXVvJs','emit','2532zgdzXb','Running\x20','VJXei','info','platform-run-failure','_child','HJxhG','Worker','parallelVanillaRun','length','RBnkC','173420SArfiv','json','getStderr','configuration','hczmS','_workerPool','Sxtwm','./testWorker.js','qPZtv','nGsgF','resolve','Workers\x20failed\x20to\x20exit\x20gracefully','SDK_SETUP','UgMYJ','platforms','WVRKf','failureCount'];a66_0x30f1=function(){return _0x4b92f7;};return a66_0x30f1();}exports['parallelTestRun']=(_0x1b931a,_0x138adf,_0x3b5d98)=>new Promise(async _0x5d2681=>{const _0x1ddf6d=a66_0x68aa0,_0x3f6235={'Qayyb':_0x1ddf6d(0xfb),'RYFtE':function(_0x2cb2d9,_0x24dfc1){return _0x2cb2d9+_0x24dfc1;},'Sxtwm':_0x1ddf6d(0xd2),'vMksT':'Workers\x20failed\x20to\x20exit\x20gracefully','RBnkC':function(_0xabba86,_0x1866fc){return _0xabba86(_0x1866fc);},'lGOWm':function(_0xad1d47,_0x879afb){return _0xad1d47(_0x879afb);},'gKkwW':'test-file-start','oxhIP':_0x1ddf6d(0xf2),'GylXI':_0x1ddf6d(0xa8),'LDccx':'json','yYpUK':'pipe','fGWzL':function(_0x42ceca,_0x32332b){return _0x42ceca*_0x32332b;},'VJXei':_0x1ddf6d(0xa3),'yfyZW':_0x1ddf6d(0xd1),'qPZtv':function(_0x51d286,_0x143364){return _0x51d286(_0x143364);},'yOTCM':function(_0x4b11ee,_0x38ecf0){return _0x4b11ee*_0x38ecf0;}},_0x2ce388=_0x3b5d98[_0x1ddf6d(0xb4)],_0x24b2ca={},_0x78d00e=new Worker(require[_0x1ddf6d(0xf5)](_0x3f6235[_0x1ddf6d(0xdd)]),{'exposedMethods':[_0x3f6235['GylXI']],'forkOptions':{'serialization':_0x3f6235[_0x1ddf6d(0xa4)],'stdio':_0x3f6235[_0x1ddf6d(0xc0)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x3f6235[_0x1ddf6d(0xb5)](_0x138adf,0x1),'enableWorkerThreads':!![]}),_0x5f5815=new Emittery();_0x5f5815['on'](_0x3f6235[_0x1ddf6d(0xe2)],_0x467c71=>{const _0x42cf31=_0x1ddf6d;_0x24b2ca[_0x467c71[0x0]]?(_0x24b2ca[_0x467c71[0x0]][_0x3f6235[_0x42cf31(0xfd)]]=_0x3f6235[_0x42cf31(0xdb)](_0x24b2ca[_0x467c71[0x0]][_0x3f6235['Qayyb']],_0x467c71[0x1][_0x3f6235[_0x42cf31(0xfd)]]),_0x24b2ca[_0x467c71[0x0]][_0x3f6235[_0x42cf31(0xf1)]]=[..._0x24b2ca[_0x467c71[0x0]][_0x3f6235[_0x42cf31(0xf1)]],..._0x467c71[0x1][_0x3f6235['Sxtwm']]]):_0x24b2ca[_0x467c71[0x0]]={'failureCount':_0x467c71[0x1][_0x3f6235[_0x42cf31(0xfd)]],'results':[..._0x467c71[0x1][_0x3f6235['Sxtwm']]]};}),_0x5f5815['on'](_0x3f6235[_0x1ddf6d(0xb8)],_0x15bf7d=>console['log'](_0x15bf7d[0x1]));_0x78d00e[_0x1ddf6d(0xc9)]()&&_0x78d00e[_0x1ddf6d(0xc9)]()['pipe'](process[_0x1ddf6d(0xb1)]);_0x78d00e[_0x1ddf6d(0xed)]()&&_0x78d00e['getStderr']()[_0x1ddf6d(0xb2)](process[_0x1ddf6d(0xb7)]);const _0x4ec2ef=async()=>{const _0x4ed2b7=_0x1ddf6d,{forceExited:_0x40fbd6}=await _0x78d00e[_0x4ed2b7(0x99)]();_0x40fbd6&&console[_0x4ed2b7(0xbc)](_0x3f6235[_0x4ed2b7(0xb9)]);try{await TestHubHandler[_0x4ed2b7(0x9e)]();}catch(_0x410b3a){_0x3f6235[_0x4ed2b7(0xea)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x410b3a);}_0x3f6235[_0x4ed2b7(0xc4)](_0x5d2681,_0x24b2ca);},_0x4a489b=_0x3f6235[_0x1ddf6d(0xf3)](pLimit,_0x3f6235[_0x1ddf6d(0xbb)](_0x138adf,0x1)),_0x31491b=_0x58d891=>_0x4a489b(async()=>{const _0x42a6d0=_0x1ddf6d;await _0x5f5815[_0x42a6d0(0xdf)](_0x3f6235['gKkwW'],_0x58d891);const _0x279e30=_0x78d00e['worker'](_0x58d891,_0x2ce388);try{parentPort&&_0x279e30[_0x42a6d0(0xce)](_0x5d5e15=>{const _0x68fe9f=_0x42a6d0;try{parentPort['postMessage'](_0x5d5e15);}catch(_0x4f17d0){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x68fe9f(0xc7)](_0x4f17d0));}});}catch(_0x2caab3){logger['debug'](_0x42a6d0(0xd6)+util[_0x42a6d0(0xc7)](_0x2caab3));}return _0x279e30;});PerformanceTester[_0x1ddf6d(0x99)](PerformanceEvents[_0x1ddf6d(0xf7)]),Promise[_0x1ddf6d(0xc8)](_0x1b931a[_0x1ddf6d(0xd0)](_0x318a4c=>_0x31491b(_0x318a4c)[_0x1ddf6d(0xd8)](_0xad07e0=>_0x5f5815[_0x1ddf6d(0xdf)]('test-file-success',[_0x318a4c[_0x1ddf6d(0xee)]['platform'],_0xad07e0]),_0x1a955b=>_0x5f5815[_0x1ddf6d(0xdf)]('test-file-failure',[_0x318a4c,_0x1a955b]))))['then'](_0x4ec2ef,_0x4ec2ef);}),exports[a66_0x68aa0(0x9c)]=(_0x61c842,_0x20fecc,_0x4fc1e6,_0x38dde2,_0x5b7054)=>{const _0x9f1fcd=a66_0x68aa0,_0x320968={'ILItQ':_0x9f1fcd(0xcb),'hczmS':_0x9f1fcd(0xf6),'nGsgF':function(_0x37faa5,_0x5421ee){return _0x37faa5(_0x5421ee);},'aCKza':_0x9f1fcd(0xf2),'nEhFg':_0x9f1fcd(0xbe),'YjAZl':_0x9f1fcd(0xec),'UCdyR':_0x9f1fcd(0xb2),'lsshw':_0x9f1fcd(0xb3),'JiUul':'platform-run-failure','WVRKf':function(_0xc6afe4,_0x197fac){return _0xc6afe4(_0x197fac);}};return new Promise(_0x30819c=>{const _0x17c087=_0x9f1fcd,_0x583bee={'AwEaY':_0x320968[_0x17c087(0xef)],'HJxhG':function(_0x4cdd48,_0x126c2a){const _0x18a4f3=_0x17c087;return _0x320968[_0x18a4f3(0xf4)](_0x4cdd48,_0x126c2a);}},_0x4d8ee0=[],_0x51d6b0=new Worker(require[_0x17c087(0xf5)](_0x320968['aCKza']),{'exposedMethods':[_0x320968[_0x17c087(0xae)]],'forkOptions':{'serialization':_0x320968[_0x17c087(0xc5)],'stdio':_0x320968['UCdyR']},'numWorkers':_0x61c842[_0x17c087(0xe9)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x554adb=new Emittery();_0x554adb['on'](_0x320968['lsshw'],_0x223385=>{_0x4d8ee0['push']([_0x223385[0x0],_0x223385[0x1]]);}),_0x554adb['on'](_0x320968[_0x17c087(0xd4)],_0x35acd8=>console['log'](_0x35acd8[0x1]));_0x51d6b0[_0x17c087(0xc9)]()&&_0x51d6b0[_0x17c087(0xc9)]()[_0x17c087(0xb2)](process[_0x17c087(0xb1)]);_0x51d6b0[_0x17c087(0xed)]()&&_0x51d6b0['getStderr']()[_0x17c087(0xb2)](process[_0x17c087(0xb7)]);const _0x5f01c2=async()=>{const _0x1e2289=_0x17c087,{forceExited:_0x4be9e1}=await _0x51d6b0['end']();_0x4be9e1&&console[_0x1e2289(0xbc)](_0x583bee[_0x1e2289(0xcc)]),_0x583bee[_0x1e2289(0xe6)](_0x30819c,_0x4d8ee0);},_0x24ed9c=_0x320968[_0x17c087(0xfa)](pLimit,_0x61c842['length']||0x1),_0x168967=(_0xfa2335,_0x2e31f9)=>_0x24ed9c(async()=>{const _0x24182b=_0x17c087;return await _0x554adb[_0x24182b(0xdf)](_0x320968[_0x24182b(0xa5)],_0xfa2335),_0x20fecc['platformCaps']=_0x4fc1e6[_0x24182b(0xf9)][_0x2e31f9],_0x20fecc['platformIndex']=_0x2e31f9,_0x51d6b0['cucumberWorker'](_0xfa2335,_0x20fecc,_0x4fc1e6,_0x38dde2,_0x5b7054);});Promise[_0x17c087(0xc8)](_0x61c842['map']((_0x1e7286,_0x2c2e53)=>_0x168967(_0x1e7286,_0x2c2e53)[_0x17c087(0xd8)](_0x23007b=>_0x554adb[_0x17c087(0xdf)](_0x17c087(0xb3),[_0x1e7286,_0x23007b]),_0x32f8b4=>_0x554adb[_0x17c087(0xdf)](_0x17c087(0xe4),[_0x1e7286,_0x32f8b4]))))[_0x17c087(0xd8)](_0x5f01c2,_0x5f01c2);});},exports[a66_0x68aa0(0xe8)]=(_0x4f6fc9,_0xfdf746)=>new Promise(_0x4daefc=>{const _0x5909f0=a66_0x68aa0,_0x39f8ed={'Hphqp':function(_0x325b5a,_0x2b6b6){return _0x325b5a!==_0x2b6b6;},'dIrbU':function(_0x2ca985,_0x58c622){return _0x2ca985(_0x58c622);},'vUDrb':'exit','ihpCG':function(_0x4ec166,_0x24fa46){return _0x4ec166===_0x24fa46;},'pTtQP':'Workers\x20failed\x20to\x20exit\x20gracefully','XvWOk':_0x5909f0(0xf2),'WVKvA':_0x5909f0(0x98),'YDdEb':'json','yPFkw':_0x5909f0(0xb2),'UgMYJ':_0x5909f0(0xa3),'eTwwS':_0x5909f0(0xd1)},_0x325fec={},_0xf47fab=new Worker(require['resolve'](_0x39f8ed[_0x5909f0(0xa2)]),{'exposedMethods':[_0x39f8ed[_0x5909f0(0x9d)]],'forkOptions':{'serialization':_0x39f8ed[_0x5909f0(0xaf)],'stdio':_0x39f8ed[_0x5909f0(0xa6)]},'numWorkers':_0xfdf746,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x1f0b07=new Emittery();_0x1f0b07['on'](_0x39f8ed[_0x5909f0(0xf8)],_0x52bb2a=>{const _0x479b76=_0x5909f0;_0x52bb2a[0x0]&&logger[_0x479b76(0xe3)](_0x479b76(0xe1)+_0x52bb2a[0x1]+'\x20for',_0x52bb2a[0x0]);}),_0x1f0b07['on'](_0x39f8ed[_0x5909f0(0xda)],_0xc673ff=>{const _0x2c98ee=_0x5909f0;process[_0x2c98ee(0xab)]=0x1;});_0xf47fab[_0x5909f0(0xc9)]()&&_0xf47fab['getStdout']()['pipe'](process[_0x5909f0(0xb1)]);_0xf47fab[_0x5909f0(0xed)]()&&_0xf47fab[_0x5909f0(0xed)]()[_0x5909f0(0xb2)](process[_0x5909f0(0xb7)]);const _0x41022c=async()=>{const _0x1718f9=_0x5909f0;let _0x32cc3b=0x0;const _0x3a3081=_0xf47fab[_0x1718f9(0xf0)][_0x1718f9(0xcd)](),_0x525967=()=>{},_0x33ec70=_0x3a3081[_0x1718f9(0xd0)](async _0x4b2b30=>{const _0x53c6f0=_0x1718f9,_0xa91675={'eAoCO':function(_0x17838e,_0x490940){const _0x4ca45a=a66_0x58ac;return _0x39f8ed[_0x4ca45a(0xfe)](_0x17838e,_0x490940);},'RiybI':function(_0x27e043,_0x27ef17){const _0x45c004=a66_0x58ac;return _0x39f8ed[_0x45c004(0xfe)](_0x27e043,_0x27ef17);},'UATHM':function(_0x5c76ee,_0xcc4e60){const _0x4ea0c0=a66_0x58ac;return _0x39f8ed[_0x4ea0c0(0xaa)](_0x5c76ee,_0xcc4e60);},'evMTv':_0x39f8ed[_0x53c6f0(0xfc)]},_0x1920d2=_0x4b2b30[_0x53c6f0(0xe5)],_0x93159=new Promise(_0xb702c4=>{const _0x31f99f=_0x53c6f0;if(_0xa91675[_0x31f99f(0xd3)](_0x1920d2[_0x31f99f(0xab)],null)||_0xa91675['RiybI'](_0x1920d2[_0x31f99f(0xa9)],null)){_0xa91675['UATHM'](_0xb702c4,_0x1920d2[_0x31f99f(0xab)]);return;}_0x1920d2['once'](_0xa91675['evMTv'],_0xb702c4);});_0x4b2b30[_0x53c6f0(0xdc)]([0x2,![]],_0x525967,_0x525967,_0x525967);const _0x4d9220=await _0x93159;_0x39f8ed[_0x53c6f0(0xcf)](_0x32cc3b,0x0)&&_0x4d9220&&(_0x32cc3b=_0x4d9220);});await Promise[_0x1718f9(0xc8)](_0x33ec70),process['exitCode']=_0x32cc3b;const {forceExited:_0x19b931}=await _0xf47fab[_0x1718f9(0x99)]();_0x19b931&&console[_0x1718f9(0xbc)](_0x39f8ed['pTtQP']),_0x39f8ed['dIrbU'](_0x4daefc,_0x325fec);},_0x48ac6f=_0x39f8ed['dIrbU'](pLimit,_0xfdf746),_0x4d5a0c=_0x3ace9f=>_0x48ac6f(async()=>{const _0xd51df3=_0x5909f0;return _0xf47fab[_0xd51df3(0x98)](_0x3ace9f);});Promise[_0x5909f0(0xc8)](_0x4f6fc9[_0x5909f0(0xd0)](_0x42e390=>_0x4d5a0c(_0x42e390)[_0x5909f0(0xd8)](_0x36910d=>_0x1f0b07['emit']('test-file-success',[_0x42e390[_0x5909f0(0xee)][_0x5909f0(0x9a)],_0x42e390['configuration'][_0x5909f0(0xba)]]),_0x88b0=>_0x1f0b07[_0x5909f0(0xdf)](_0x5909f0(0xd1),[_0x42e390,_0x88b0]))))[_0x5909f0(0xd8)](_0x41022c,_0x41022c);});
|
|
1
|
+
function a66_0x479b(){const _0x1cf18a=['../../helpers/performance/constants','_workerPool','164286yHQkNx','TBPsC','test-file-success','worker_threads','hSCbT','DkMgP','test-file-failure','exitCode','GUACO','152745rZDFza','2886436epqNEa','platformCaps','xhzho','PVgxa','kIsOU','vanillaWorker','UqqGf','87048XKlzij','Running\x20','aSQVg','error','_child','log','exit','postMessage','push','sfjvG','MrwPn','end','getStdout','11BlpMMY','LdOCj','then','all','worker','3szrvQc','pZkUj','platform-run-start','stdout','vviTu','qGkhr','platform-run-failure','jest-worker','UNSTABLE_onCustomMessage','../../helpers/performance/performance-tester','file','resolve','parallelVanillaRun','getWorkers','send','EVENTS','format','765UGjpmc','xSqGD','eCVRw','VwFFG','8mjjyjG','results','EUqxY','ITEQu','emit','kERBZ','getStderr','gUsaU','parallelTestRun','JkSDi','../../helpers/logger','platforms','\x20for','platform-run-success','parallelCucumberRun','mKrkK','test-file-start','fjVQH','signalCode','json','327341wjBHpX','Workers\x20failed\x20to\x20exit\x20gracefully','wcjZs','stderr','pipe','Nysju','config','../../helpers/testhub/testhubHandler','IKETx','ydzgg','configuration','platformIndex','../../helpers/test-observability/utils','BCWqW','LlVJK','Worker','DNBwS','2441010ImGFme','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','3865128NJeaMZ','length','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','BKRzj','failureCount','./testWorker.js','debug','18foocBn','map','cucumberWorker','tVerM'];a66_0x479b=function(){return _0x1cf18a;};return a66_0x479b();}const a66_0x54f980=a66_0x14d2;(function(_0x2f67e8,_0x576555){const _0x1c6549=a66_0x14d2,_0x4fba78=_0x2f67e8();while(!![]){try{const _0x38e977=-parseInt(_0x1c6549(0x178))/0x1*(-parseInt(_0x1c6549(0x140))/0x2)+parseInt(_0x1c6549(0x163))/0x3*(parseInt(_0x1c6549(0x14a))/0x4)+-parseInt(_0x1c6549(0x149))/0x5+-parseInt(_0x1c6549(0x13a))/0x6*(-parseInt(_0x1c6549(0x120))/0x7)+parseInt(_0x1c6549(0x151))/0x8*(-parseInt(_0x1c6549(0x174))/0x9)+parseInt(_0x1c6549(0x131))/0xa+parseInt(_0x1c6549(0x15e))/0xb*(-parseInt(_0x1c6549(0x133))/0xc);if(_0x38e977===_0x576555)break;else _0x4fba78['push'](_0x4fba78['shift']());}catch(_0x2a1643){_0x4fba78['push'](_0x4fba78['shift']());}}}(a66_0x479b,0x768ef));function a66_0x14d2(_0x3d96cd,_0x6b742d){const _0x479bd5=a66_0x479b();return a66_0x14d2=function(_0x14d2e9,_0x460d2b){_0x14d2e9=_0x14d2e9-0x11f;let _0x549358=_0x479bd5[_0x14d2e9];return _0x549358;},a66_0x14d2(_0x3d96cd,_0x6b742d);}const Worker=require(a66_0x54f980(0x16a))[a66_0x54f980(0x12f)],Emittery=require('emittery'),pLimit=require('p-limit'),{parentPort}=require(a66_0x54f980(0x143)),util=require('util'),logger=require(a66_0x54f980(0x182))['winstonLogger'],PerformanceTester=require(a66_0x54f980(0x16c)),PerformanceEvents=require(a66_0x54f980(0x13e))[a66_0x54f980(0x172)],{debug}=require(a66_0x54f980(0x12c)),TestHubHandler=require(a66_0x54f980(0x127));exports[a66_0x54f980(0x180)]=(_0x24b861,_0x1ae360,_0x3270cc)=>new Promise(async _0x30e883=>{const _0x35db88=a66_0x54f980,_0x4b803a={'DkMgP':_0x35db88(0x137),'PVgxa':function(_0x554797,_0x5d56d1){return _0x554797+_0x5d56d1;},'IKETx':_0x35db88(0x179),'wsyil':'Workers\x20failed\x20to\x20exit\x20gracefully','GUACO':function(_0x1a465a,_0x3b70e1){return _0x1a465a(_0x3b70e1);},'wcjZs':_0x35db88(0x188),'BCWqW':'./testWorker.js','TBPsC':_0x35db88(0x162),'Nysju':_0x35db88(0x11f),'hiEYp':'pipe','tRktx':function(_0x29ce66,_0x30a17b){return _0x29ce66*_0x30a17b;},'tVerM':_0x35db88(0x142),'kERBZ':_0x35db88(0x146),'EUqxY':function(_0xc6a848,_0xfbccaf){return _0xc6a848*_0xfbccaf;}},_0x447dab=_0x3270cc[_0x35db88(0x126)],_0x43b45b={},_0x34770a=new Worker(require[_0x35db88(0x16e)](_0x4b803a[_0x35db88(0x12d)]),{'exposedMethods':[_0x4b803a[_0x35db88(0x141)]],'forkOptions':{'serialization':_0x4b803a[_0x35db88(0x125)],'stdio':_0x4b803a['hiEYp']},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x4b803a['tRktx'](_0x1ae360,0x1),'enableWorkerThreads':!![]}),_0x4351a0=new Emittery();_0x4351a0['on'](_0x4b803a[_0x35db88(0x13d)],_0x42dff2=>{const _0x52556a=_0x35db88;_0x43b45b[_0x42dff2[0x0]]?(_0x43b45b[_0x42dff2[0x0]][_0x4b803a[_0x52556a(0x145)]]=_0x4b803a[_0x52556a(0x14d)](_0x43b45b[_0x42dff2[0x0]][_0x4b803a[_0x52556a(0x145)]],_0x42dff2[0x1][_0x4b803a['DkMgP']]),_0x43b45b[_0x42dff2[0x0]][_0x4b803a[_0x52556a(0x128)]]=[..._0x43b45b[_0x42dff2[0x0]][_0x4b803a[_0x52556a(0x128)]],..._0x42dff2[0x1][_0x4b803a['IKETx']]]):_0x43b45b[_0x42dff2[0x0]]={'failureCount':_0x42dff2[0x1][_0x4b803a[_0x52556a(0x145)]],'results':[..._0x42dff2[0x1][_0x4b803a[_0x52556a(0x128)]]]};}),_0x4351a0['on'](_0x4b803a[_0x35db88(0x17d)],_0x121ef2=>console['log'](_0x121ef2[0x1]));_0x34770a[_0x35db88(0x15d)]()&&_0x34770a[_0x35db88(0x15d)]()['pipe'](process[_0x35db88(0x166)]);_0x34770a['getStderr']()&&_0x34770a[_0x35db88(0x17e)]()[_0x35db88(0x124)](process[_0x35db88(0x123)]);const _0x1a608e=async()=>{const _0x327cb4=_0x35db88,{forceExited:_0x23f309}=await _0x34770a[_0x327cb4(0x15c)]();_0x23f309&&console[_0x327cb4(0x154)](_0x4b803a['wsyil']);try{await TestHubHandler['stop']();}catch(_0x56903f){_0x4b803a['GUACO'](debug,_0x327cb4(0x135)+_0x56903f);}_0x4b803a[_0x327cb4(0x148)](_0x30e883,_0x43b45b);},_0x63eec0=_0x4b803a[_0x35db88(0x148)](pLimit,_0x4b803a[_0x35db88(0x17a)](_0x1ae360,0x1)),_0x2b11ca=_0x2266cd=>_0x63eec0(async()=>{const _0x44a1b7=_0x35db88;await _0x4351a0['emit'](_0x4b803a[_0x44a1b7(0x122)],_0x2266cd);const _0x161846=_0x34770a[_0x44a1b7(0x162)](_0x2266cd,_0x447dab);try{parentPort&&_0x161846[_0x44a1b7(0x16b)](_0x33d8d3=>{const _0x30c1b7=_0x44a1b7;try{parentPort[_0x30c1b7(0x158)](_0x33d8d3);}catch(_0x739679){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util['format'](_0x739679));}});}catch(_0x4fc9fa){logger[_0x44a1b7(0x139)](_0x44a1b7(0x132)+util[_0x44a1b7(0x173)](_0x4fc9fa));}return _0x161846;});PerformanceTester[_0x35db88(0x15c)](PerformanceEvents['SDK_SETUP']),Promise['all'](_0x24b861['map'](_0x53337e=>_0x2b11ca(_0x53337e)[_0x35db88(0x160)](_0x21df0a=>_0x4351a0[_0x35db88(0x17c)](_0x35db88(0x142),[_0x53337e[_0x35db88(0x12a)]['platform'],_0x21df0a]),_0x29a662=>_0x4351a0['emit'](_0x35db88(0x146),[_0x53337e,_0x29a662]))))[_0x35db88(0x160)](_0x1a608e,_0x1a608e);}),exports[a66_0x54f980(0x186)]=(_0x140d20,_0x9e1fee,_0x2515f5,_0x57eb09,_0x346106)=>{const _0x3b21fe=a66_0x54f980,_0xabde34={'hSCbT':_0x3b21fe(0x121),'UqqGf':function(_0x1eb636,_0x1f47b3){return _0x1eb636(_0x1f47b3);},'qhFYn':_0x3b21fe(0x165),'sfjvG':_0x3b21fe(0x138),'kaUsG':_0x3b21fe(0x13c),'KnDtY':_0x3b21fe(0x11f),'xSqGD':_0x3b21fe(0x124),'BKRzj':_0x3b21fe(0x185),'XpQRe':_0x3b21fe(0x169)};return new Promise(_0xeb988a=>{const _0x47bd3f=_0x3b21fe,_0x351448={'MrwPn':_0xabde34[_0x47bd3f(0x144)],'ydzgg':function(_0x1eff46,_0x535810){const _0x36d531=_0x47bd3f;return _0xabde34[_0x36d531(0x150)](_0x1eff46,_0x535810);},'GPSPo':_0xabde34['qhFYn']},_0x2150f9=[],_0x158992=new Worker(require[_0x47bd3f(0x16e)](_0xabde34[_0x47bd3f(0x15a)]),{'exposedMethods':[_0xabde34['kaUsG']],'forkOptions':{'serialization':_0xabde34['KnDtY'],'stdio':_0xabde34[_0x47bd3f(0x175)]},'numWorkers':_0x140d20[_0x47bd3f(0x134)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x247836=new Emittery();_0x247836['on'](_0xabde34[_0x47bd3f(0x136)],_0x3114b1=>{const _0x2da760=_0x47bd3f;_0x2150f9[_0x2da760(0x159)]([_0x3114b1[0x0],_0x3114b1[0x1]]);}),_0x247836['on'](_0xabde34['XpQRe'],_0x14fc62=>console[_0x47bd3f(0x156)](_0x14fc62[0x1]));_0x158992[_0x47bd3f(0x15d)]()&&_0x158992[_0x47bd3f(0x15d)]()[_0x47bd3f(0x124)](process[_0x47bd3f(0x166)]);_0x158992[_0x47bd3f(0x17e)]()&&_0x158992[_0x47bd3f(0x17e)]()['pipe'](process[_0x47bd3f(0x123)]);const _0x1211b7=async()=>{const _0x1e39b8=_0x47bd3f,{forceExited:_0x18daea}=await _0x158992[_0x1e39b8(0x15c)]();_0x18daea&&console[_0x1e39b8(0x154)](_0x351448[_0x1e39b8(0x15b)]),_0x351448[_0x1e39b8(0x129)](_0xeb988a,_0x2150f9);},_0x307a7d=_0xabde34[_0x47bd3f(0x150)](pLimit,_0x140d20['length']||0x1),_0xd88d76=(_0x5636e9,_0x495e3a)=>_0x307a7d(async()=>{const _0x1d8f7c=_0x47bd3f;return await _0x247836['emit'](_0x351448['GPSPo'],_0x5636e9),_0x9e1fee[_0x1d8f7c(0x14b)]=_0x2515f5[_0x1d8f7c(0x183)][_0x495e3a],_0x9e1fee[_0x1d8f7c(0x12b)]=_0x495e3a,_0x158992[_0x1d8f7c(0x13c)](_0x5636e9,_0x9e1fee,_0x2515f5,_0x57eb09,_0x346106);});Promise[_0x47bd3f(0x161)](_0x140d20[_0x47bd3f(0x13b)]((_0x53da26,_0x5ef8e7)=>_0xd88d76(_0x53da26,_0x5ef8e7)[_0x47bd3f(0x160)](_0xfd21d9=>_0x247836[_0x47bd3f(0x17c)](_0x47bd3f(0x185),[_0x53da26,_0xfd21d9]),_0x2e6b8e=>_0x247836[_0x47bd3f(0x17c)](_0x47bd3f(0x169),[_0x53da26,_0x2e6b8e]))))[_0x47bd3f(0x160)](_0x1211b7,_0x1211b7);});},exports[a66_0x54f980(0x16f)]=(_0x41d8a9,_0x4ee8fd)=>new Promise(_0x18675f=>{const _0x5cc3c9=a66_0x54f980,_0x5be652={'fjVQH':function(_0x13c5bd,_0x2cf07f){return _0x13c5bd!==_0x2cf07f;},'LdOCj':function(_0x2a6512,_0x5aa380){return _0x2a6512(_0x5aa380);},'eCVRw':_0x5cc3c9(0x157),'DNBwS':function(_0x4db5ac,_0x4bbbcc){return _0x4db5ac===_0x4bbbcc;},'LlVJK':_0x5cc3c9(0x121),'pZkUj':_0x5cc3c9(0x138),'xhzho':'vanillaWorker','mKrkK':_0x5cc3c9(0x11f),'ITEQu':_0x5cc3c9(0x124),'aPVwH':_0x5cc3c9(0x142),'JkSDi':_0x5cc3c9(0x146),'kIsOU':function(_0x2c1b5e,_0x53f8db){return _0x2c1b5e(_0x53f8db);}},_0x52f61c={},_0x27520a=new Worker(require[_0x5cc3c9(0x16e)](_0x5be652[_0x5cc3c9(0x164)]),{'exposedMethods':[_0x5be652[_0x5cc3c9(0x14c)]],'forkOptions':{'serialization':_0x5be652[_0x5cc3c9(0x187)],'stdio':_0x5be652[_0x5cc3c9(0x17b)]},'numWorkers':_0x4ee8fd,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x164a30=new Emittery();_0x164a30['on'](_0x5be652['aPVwH'],_0x54a1a7=>{const _0x3a0c10=_0x5cc3c9;_0x54a1a7[0x0]&&logger['info'](_0x3a0c10(0x152)+_0x54a1a7[0x1]+_0x3a0c10(0x184),_0x54a1a7[0x0]);}),_0x164a30['on'](_0x5be652[_0x5cc3c9(0x181)],_0x6f71ed=>{process['exitCode']=0x1;});_0x27520a['getStdout']()&&_0x27520a[_0x5cc3c9(0x15d)]()[_0x5cc3c9(0x124)](process['stdout']);_0x27520a[_0x5cc3c9(0x17e)]()&&_0x27520a[_0x5cc3c9(0x17e)]()[_0x5cc3c9(0x124)](process[_0x5cc3c9(0x123)]);const _0x51ceaf=async()=>{const _0x58bd91=_0x5cc3c9,_0x39419f={'aSQVg':function(_0x4f6502,_0x1d1844){const _0x37ee10=a66_0x14d2;return _0x5be652[_0x37ee10(0x189)](_0x4f6502,_0x1d1844);},'mUrbG':function(_0x2e113e,_0x4814b7){const _0x416799=a66_0x14d2;return _0x5be652[_0x416799(0x15f)](_0x2e113e,_0x4814b7);},'VwFFG':_0x5be652[_0x58bd91(0x176)],'qGkhr':function(_0x4bcbe8,_0x5401ef){const _0x58ddbe=_0x58bd91;return _0x5be652[_0x58ddbe(0x130)](_0x4bcbe8,_0x5401ef);}};let _0x500d3e=0x0;const _0x5e3bf2=_0x27520a[_0x58bd91(0x13f)][_0x58bd91(0x170)](),_0x6c053=()=>{},_0x578398=_0x5e3bf2[_0x58bd91(0x13b)](async _0xc8256=>{const _0x2f3916=_0x58bd91,_0x22c733={'vviTu':function(_0x35adeb,_0x54a4fe){const _0x30463b=a66_0x14d2;return _0x39419f[_0x30463b(0x153)](_0x35adeb,_0x54a4fe);},'oHWQp':function(_0x5d0c94,_0x5b5d0a){return _0x39419f['mUrbG'](_0x5d0c94,_0x5b5d0a);},'gUsaU':_0x39419f[_0x2f3916(0x177)]},_0x5956f0=_0xc8256[_0x2f3916(0x155)],_0x58789e=new Promise(_0x2b0632=>{const _0x55b1f3=_0x2f3916;if(_0x22c733[_0x55b1f3(0x167)](_0x5956f0['exitCode'],null)||_0x22c733[_0x55b1f3(0x167)](_0x5956f0[_0x55b1f3(0x18a)],null)){_0x22c733['oHWQp'](_0x2b0632,_0x5956f0[_0x55b1f3(0x147)]);return;}_0x5956f0['once'](_0x22c733[_0x55b1f3(0x17f)],_0x2b0632);});_0xc8256[_0x2f3916(0x171)]([0x2,![]],_0x6c053,_0x6c053,_0x6c053);const _0x190be7=await _0x58789e;_0x39419f[_0x2f3916(0x168)](_0x500d3e,0x0)&&_0x190be7&&(_0x500d3e=_0x190be7);});await Promise[_0x58bd91(0x161)](_0x578398),process[_0x58bd91(0x147)]=_0x500d3e;const {forceExited:_0x48c77d}=await _0x27520a[_0x58bd91(0x15c)]();_0x48c77d&&console[_0x58bd91(0x154)](_0x5be652[_0x58bd91(0x12e)]),_0x5be652['LdOCj'](_0x18675f,_0x52f61c);},_0x18a843=_0x5be652[_0x5cc3c9(0x14e)](pLimit,_0x4ee8fd),_0x13462f=_0x5497bd=>_0x18a843(async()=>{const _0xc403fc=_0x5cc3c9;return _0x27520a[_0xc403fc(0x14f)](_0x5497bd);});Promise[_0x5cc3c9(0x161)](_0x41d8a9[_0x5cc3c9(0x13b)](_0x1734ae=>_0x13462f(_0x1734ae)[_0x5cc3c9(0x160)](_0x5e68fb=>_0x164a30['emit'](_0x5cc3c9(0x142),[_0x1734ae['configuration']['platform'],_0x1734ae[_0x5cc3c9(0x12a)][_0x5cc3c9(0x16d)]]),_0x3ec638=>_0x164a30['emit'](_0x5cc3c9(0x146),[_0x1734ae,_0x3ec638]))))['then'](_0x51ceaf,_0x51ceaf);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0xac0c24=a67_0x4271;(function(_0x348c19,_0x32a262){const _0x273944=a67_0x4271,_0x171b68=_0x348c19();while(!![]){try{const _0x4360f1=parseInt(_0x273944(0x100))/0x1*(-parseInt(_0x273944(0x107))/0x2)+-parseInt(_0x273944(0xff))/0x3*(-parseInt(_0x273944(0x103))/0x4)+parseInt(_0x273944(0xf2))/0x5*(-parseInt(_0x273944(0xfe))/0x6)+parseInt(_0x273944(0x112))/0x7+-parseInt(_0x273944(0xfa))/0x8*(-parseInt(_0x273944(0xf1))/0x9)+-parseInt(_0x273944(0x108))/0xa*(parseInt(_0x273944(0x110))/0xb)+parseInt(_0x273944(0x102))/0xc;if(_0x4360f1===_0x32a262)break;else _0x171b68['push'](_0x171b68['shift']());}catch(_0x51b7b7){_0x171b68['push'](_0x171b68['shift']());}}}(a67_0x129f,0x20f27));function a67_0x4271(_0x3dbd35,_0x53d76b){const _0x129fb9=a67_0x129f();return a67_0x4271=function(_0x427108,_0x295bf6){_0x427108=_0x427108-0xf1;let _0xca4858=_0x129fb9[_0x427108];return _0xca4858;},a67_0x4271(_0x3dbd35,_0x53d76b);}function a67_0x129f(){const _0x34af4b=['startMonitoring','6YxXYsw','12TJAOls','86587gmjNvX','runCucumberTest','3311328YqHHVg','34588PLFVWb','qoHaJ','qUiMd','ayLUK','2CPWCGW','730InAydA','oWgdX','runVanillaTest','HAPCP','HEGlI','../../helpers/performance/constants','run','MhHep','23397nHyriF','../launcher/launcher','435967QBCwuY','dUSik','../../helpers/test-observability/utils','63pJWoah','939475oQixFF','end','qhPrb','formatter','NZZVY','cucumber-js','vanilla','mocha','219304jLOHsK','configuration','EVENTS'];a67_0x129f=function(){return _0x34af4b;};return a67_0x129f();}const PerformanceEvents=require(a67_0xac0c24(0x10d))[a67_0xac0c24(0xfc)],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require(a67_0xac0c24(0x114));exports['runTest']=async(_0x75ddd1,_0x1e7c7d)=>{const _0x28384d=a67_0xac0c24,_0x143396={'NZZVY':function(_0x2346fc,_0x465928){return _0x2346fc(_0x465928);},'ayLUK':_0x28384d(0x111),'HAPCP':_0x28384d(0xf9),'oWgdX':function(_0x516ebb,_0x3777e4){return _0x516ebb(_0x3777e4);}};PerformanceTester[_0x28384d(0xfd)]();const _0x829b58=_0x143396[_0x28384d(0xf6)](require,_0x143396[_0x28384d(0x106)]),_0x555fbd=new _0x829b58(_0x143396[_0x28384d(0x10b)],_0x75ddd1,_0x1e7c7d),_0x3aa3cf=await _0x555fbd[_0x28384d(0x10e)]();return PerformanceTester[_0x28384d(0xf3)](PerformanceEvents['SDK_POST_TEST']),await _0x143396[_0x28384d(0x109)](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x3aa3cf;},exports[a67_0xac0c24(0x101)]=async(_0x2966c1,_0x192545,_0x416c34,_0x162a63,_0x1e9ad2)=>{const _0x3a22ee=a67_0xac0c24,_0x188f75={'dUSik':function(_0x43a5c6,_0x52cc36){return _0x43a5c6(_0x52cc36);},'MhHep':'../launcher/launcher','HEGlI':_0x3a22ee(0xf7)},_0x1701d9={'capability':_0x2966c1,..._0x192545},_0xdfda5b={};_0xdfda5b[_0x3a22ee(0xfb)]=_0x1701d9,_0xdfda5b[_0x3a22ee(0xf5)]=_0x1e9ad2;const _0x4b7ff5=_0xdfda5b,_0x209770=_0x188f75[_0x3a22ee(0x113)](require,_0x188f75[_0x3a22ee(0x10f)]),_0x577d79=new _0x209770(_0x188f75[_0x3a22ee(0x10c)],_0x4b7ff5,_0x416c34,_0x162a63);return await _0x577d79[_0x3a22ee(0x10e)]();},exports[a67_0xac0c24(0x10a)]=async _0x1ed10b=>{const _0x1f35cc=a67_0xac0c24,_0x506212={'qhPrb':function(_0x495cd2,_0x1bef9d){return _0x495cd2(_0x1bef9d);},'qUiMd':_0x1f35cc(0x111),'qoHaJ':_0x1f35cc(0xf8)},_0x1be10d=_0x506212[_0x1f35cc(0xf4)](require,_0x506212[_0x1f35cc(0x105)]),_0x292a34=new _0x1be10d(_0x506212[_0x1f35cc(0x104)],_0x1ed10b);return await _0x292a34[_0x1f35cc(0x10e)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x3cbfc1=a68_0x3f51;function a68_0x3f51(_0x326b17,_0x2e85a0){const _0x3d8cd3=a68_0x3d8c();return a68_0x3f51=function(_0x3f51b9,_0x5d9142){_0x3f51b9=_0x3f51b9-0x104;let _0x3019b7=_0x3d8cd3[_0x3f51b9];return _0x3019b7;},a68_0x3f51(_0x326b17,_0x2e85a0);}(function(_0x1466b2,_0x564faa){const _0x33e6d5=a68_0x3f51,_0x4055e1=_0x1466b2();while(!![]){try{const _0x2d1d93=-parseInt(_0x33e6d5(0x105))/0x1*(-parseInt(_0x33e6d5(0x10d))/0x2)+-parseInt(_0x33e6d5(0x110))/0x3*(parseInt(_0x33e6d5(0x10b))/0x4)+parseInt(_0x33e6d5(0x108))/0x5+parseInt(_0x33e6d5(0x116))/0x6+-parseInt(_0x33e6d5(0x10e))/0x7*(parseInt(_0x33e6d5(0x114))/0x8)+-parseInt(_0x33e6d5(0x10a))/0x9*(-parseInt(_0x33e6d5(0x10f))/0xa)+parseInt(_0x33e6d5(0x106))/0xb;if(_0x2d1d93===_0x564faa)break;else _0x4055e1['push'](_0x4055e1['shift']());}catch(_0x1d16ca){_0x4055e1['push'](_0x4055e1['shift']());}}}(a68_0x3d8c,0x5cfba));function a68_0x3d8c(){const _0x4698ec=['3066sMybUF','58345wQVExu','240ZZADqS','7167GlDPYH','jddci','cucumberWorker','dvnzJ','680EadIFZ','./runTest','2096508cUSycH','worker','359JrBSro','6720791vrNQog','../../helpers/driverInitErrorReporter','1053675YuBsls','installAll','31707PfCkcj','1200BQFRQX','vanillaWorker'];a68_0x3d8c=function(){return _0x4698ec;};return a68_0x3d8c();}const {runTest,runCucumberTest,runVanillaTest}=require(a68_0x3cbfc1(0x115));try{require(a68_0x3cbfc1(0x107))[a68_0x3cbfc1(0x109)]();}catch(a68_0x1f21b6){}exports[a68_0x3cbfc1(0x104)]=async(_0x4d83c0,_0xba4bb1)=>{const _0x130d26=a68_0x3cbfc1,_0x370491={'jddci':function(_0x4cf8a2,_0x6b7cad,_0x1f7067){return _0x4cf8a2(_0x6b7cad,_0x1f7067);}};return await _0x370491[_0x130d26(0x111)](runTest,_0x4d83c0,_0xba4bb1);},exports[a68_0x3cbfc1(0x112)]=async(_0x6b8c25,_0x6cc524,_0xb1f9c0,_0x16b27f,_0x48f0df)=>{const _0x450ba9=a68_0x3cbfc1,_0x3ee160={'dvnzJ':function(_0x1cc02e,_0x55e1ae,_0x5cd264,_0x7c6bff,_0x13bed6,_0x23ab52){return _0x1cc02e(_0x55e1ae,_0x5cd264,_0x7c6bff,_0x13bed6,_0x23ab52);}};return await _0x3ee160[_0x450ba9(0x113)](runCucumberTest,_0x6b8c25,_0x6cc524,_0xb1f9c0,_0x16b27f,_0x48f0df);},exports[a68_0x3cbfc1(0x10c)]=async _0x4c7252=>{const _0x1adde9={'WVKQw':function(_0x2550bd,_0x2b2dae){return _0x2550bd(_0x2b2dae);}};return await _0x1adde9['WVKQw'](runVanillaTest,_0x4c7252);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a69_0x495d56=a69_0x99f7;function a69_0x5ee7(){const _0x556026=['[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','2033964wGZRBd','debug','5aZnMQS','hmLQm','getScriptByName','331708ihPMjl','NcwVo','ZUXSF','dbRMJ','getInstance','kiGXb','kiCzI','runSaveResults','116kqERVZ','265743apYFku','4069232dpToBu','format','496506QZIDWL','body','\x20result:\x20','getCapabilityValue','oIlRi','includes','YYSXT','kjNiE','getAccessibilityModule','GOWtb','util','winstonLogger','../v2/browserstackCLI','jpCzF','][\x20SDK-AUTOMATION\x20]\x20','stringify','22167Ewgovt','executeAsyncScript','../../helpers/logger','scan','kKdny','runScan','[a11y-runner]\x20%s\x20failed:\x20%O','GLHRy','function','testhub_build_uuid','BROWSERSTACK_TESTHUB_JWT','vdETF','SUtBc','[a11y-runner]\x20','toISOString','Oydap','3372768vDtoEw','saveResults','../utils/constants','RtbAd','find','isRunning','command','env'];a69_0x5ee7=function(){return _0x556026;};return a69_0x5ee7();}(function(_0x1650cf,_0x53b85a){const _0x3d6a5e=a69_0x99f7,_0x22c4e0=_0x1650cf();while(!![]){try{const _0x52319e=-parseInt(_0x3d6a5e(0xdb))/0x1+parseInt(_0x3d6a5e(0xd7))/0x2*(-parseInt(_0x3d6a5e(0xeb))/0x3)+-parseInt(_0x3d6a5e(0x109))/0x4*(parseInt(_0x3d6a5e(0x106))/0x5)+parseInt(_0x3d6a5e(0x104))/0x6+parseInt(_0x3d6a5e(0xfb))/0x7+parseInt(_0x3d6a5e(0xd9))/0x8+-parseInt(_0x3d6a5e(0xd8))/0x9;if(_0x52319e===_0x53b85a)break;else _0x22c4e0['push'](_0x22c4e0['shift']());}catch(_0x407974){_0x22c4e0['push'](_0x22c4e0['shift']());}}}(a69_0x5ee7,0x4746e));function a69_0x99f7(_0x201f05,_0x2c4764){const _0x5ee708=a69_0x5ee7();return a69_0x99f7=function(_0x99f711,_0x6e20c1){_0x99f711=_0x99f711-0xd6;let _0x189956=_0x5ee708[_0x99f711];return _0x189956;},a69_0x99f7(_0x201f05,_0x2c4764);}const util=require(a69_0x495d56(0xe5)),logger=require(a69_0x495d56(0xed))[a69_0x495d56(0xe6)],{automationLogger}=require(a69_0x495d56(0xed)),{AUTOMATION_LOG_COMMANDS}=require(a69_0x495d56(0xfd));async function _run(_0x33e624,_0x490f94,_0x72aa85,_0x4f7008){const _0x156756=a69_0x495d56,_0x685383={'kKdny':function(_0x27b3fc,_0x118dea){return _0x27b3fc(_0x118dea);},'vgYFz':_0x156756(0xe7),'GOWtb':function(_0x459b54,_0x5b86a5){return _0x459b54!==_0x5b86a5;},'Oydap':_0x156756(0xf3),'vdETF':function(_0xfeea2d,_0x54a805){return _0xfeea2d||_0x54a805;},'pCmYj':function(_0x186bde,_0x30dcb6){return _0x186bde||_0x30dcb6;},'hmLQm':_0x156756(0x103),'GLHRy':_0x156756(0xf1)};try{const _0x35bf52=_0x685383[_0x156756(0xef)](require,_0x685383['vgYFz']),_0x3792c2=_0x35bf52[_0x156756(0x10d)]();if(!_0x3792c2||!_0x3792c2[_0x156756(0x100)]())return null;const _0x42903a=_0x3792c2[_0x156756(0xe3)]&&_0x3792c2[_0x156756(0xe3)]();if(!_0x42903a)return null;if(_0x685383[_0x156756(0xe4)](typeof _0x42903a[_0x156756(0x108)],_0x685383[_0x156756(0xfa)]))return null;const _0x5524c1=_0x42903a[_0x156756(0x108)](_0x33e624);if(!_0x5524c1||!_0x5524c1[_0x156756(0x101)])return logger[_0x156756(0x105)]('[a11y-runner]\x20no\x20\x27'+_0x33e624+'\x27\x20script\x20available'),null;const _0x42d4c6=await _0x490f94[_0x156756(0xec)](_0x5524c1['command'],_0x685383[_0x156756(0xf6)](_0x4f7008,{}));logger[_0x156756(0x105)](_0x156756(0xf8)+_0x33e624+_0x156756(0xdd)+JSON['stringify'](_0x42d4c6));try{const _0x1e3324=AUTOMATION_LOG_COMMANDS[_0x156756(0xff)](_0x6c7553=>_0x5524c1[_0x156756(0x101)][_0x156756(0xe0)](_0x6c7553));if(_0x1e3324){const _0xa691f8={};_0xa691f8[_0x156756(0xdc)]=_0x42d4c6,automationLogger['silly']('['+new Date()[_0x156756(0xf9)]()+_0x156756(0xe9)+JSON[_0x156756(0xea)]({'request':{'command':_0x1e3324,'parameters':[_0x685383['pCmYj'](_0x4f7008,{})]},'response':_0xa691f8}));}}catch(_0x2d471d){logger['debug'](util[_0x156756(0xda)](_0x685383[_0x156756(0x107)],_0x33e624,_0x2d471d));}return _0x42d4c6;}catch(_0x2d246e){return logger[_0x156756(0x105)](util[_0x156756(0xda)](_0x685383[_0x156756(0xf2)],_0x33e624,_0x2d246e)),null;}}function _argsFor(_0x1d971c,_0x448711,_0x117bd1,_0x2009fc){const _0x428ad9=a69_0x495d56,_0x2f5144={'kiCzI':function(_0x1db807,_0x143675){return _0x1db807(_0x143675);},'SUtBc':_0x428ad9(0xe7),'oIlRi':function(_0x3c612d,_0x17f7c4){return _0x3c612d===_0x17f7c4;},'jpCzF':'function','NcwVo':_0x428ad9(0xf4),'ZUXSF':function(_0x283404,_0x3bc82b){return _0x283404||_0x3bc82b;}},_0x4e21ce=_0x2f5144[_0x428ad9(0x10f)](require,_0x2f5144[_0x428ad9(0xf7)]),_0x2ad6cc=_0x4e21ce['getInstance'](),_0x26b6eb=_0x2ad6cc&&_0x2ad6cc['getAccessibilityModule']&&_0x2ad6cc[_0x428ad9(0xe3)]();let _0x439762='';const _0x1d1e42=process[_0x428ad9(0x102)][_0x428ad9(0xf5)]||'';try{_0x26b6eb&&_0x2f5144[_0x428ad9(0xdf)](typeof _0x26b6eb[_0x428ad9(0xde)],_0x2f5144[_0x428ad9(0xe8)])&&(_0x439762=_0x26b6eb[_0x428ad9(0xde)](_0x2f5144[_0x428ad9(0x10a)])||'');}catch(_0x245232){}return{'thTestRunUuid':_0x2f5144['ZUXSF'](_0x448711,''),'thBuildUuid':_0x439762,'thJwtToken':_0x1d1e42,'is_mobile_session':!!_0x2009fc,'commandName':_0x2f5144[_0x428ad9(0x10b)](_0x117bd1,_0x1d971c)};}exports[a69_0x495d56(0xf0)]=async(_0x5246a5,_0xa0cb76,_0x5328e5,_0x26c8d3)=>{const _0x323e66=a69_0x495d56,_0x9bd987={'RtbAd':function(_0x37bee6,_0x302bde,_0x556ffe,_0x4c37bc,_0x4e62e7){return _0x37bee6(_0x302bde,_0x556ffe,_0x4c37bc,_0x4e62e7);},'YYSXT':_0x323e66(0xee)},_0x48b7bf=_0x9bd987[_0x323e66(0xfe)](_argsFor,_0x9bd987[_0x323e66(0xe1)],_0xa0cb76,_0x5328e5,_0x26c8d3);return _0x9bd987[_0x323e66(0xfe)](_run,_0x9bd987['YYSXT'],_0x5246a5,_0xa0cb76,_0x48b7bf);},exports[a69_0x495d56(0xd6)]=async(_0xe9190b,_0x47a55b,_0x546f96)=>{const _0x4157ce=a69_0x495d56,_0x34268a={'dbRMJ':function(_0x340217,_0x4dfa5a,_0x44e107,_0x5b6212,_0x378583){return _0x340217(_0x4dfa5a,_0x44e107,_0x5b6212,_0x378583);},'kjNiE':_0x4157ce(0xfc),'kiGXb':function(_0x143968,_0x4a652d,_0xd9c37b,_0x4b9675,_0x140370){return _0x143968(_0x4a652d,_0xd9c37b,_0x4b9675,_0x140370);}},_0x3a2454=_0x34268a[_0x4157ce(0x10c)](_argsFor,_0x34268a[_0x4157ce(0xe2)],_0x47a55b,_0x34268a['kjNiE'],_0x546f96);return _0x34268a[_0x4157ce(0x10e)](_run,_0x34268a[_0x4157ce(0xe2)],_0xe9190b,_0x47a55b,_0x3a2454);};
|