browserstack-node-sdk 1.70.2 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 a62_0x4baa55=a62_0x1cfb;function a62_0x22b6(){const _0x355282=['qwcng','isRunning','exports','message','1540epKtQq','agYht','bbtyQ','Error\x20in\x20setupBrowserDetails:\x20','BeCHG','bsParams','params','product','currentSessionDetails','MQYuf','PLAYWRIGHT_DISPATCH','apply','MUozq','bXUhm','version','toString','function','turboscale','_bstackPatched','connection','../utils/constants','debug','5029476hBLxJA','BSTACK_ATS_URL','browserstack','platform_version','1481XJCWKp','includes','browser','test','chrome','29868gHHSzX','platformName','Error\x20in\x20patchConnection:\x20','BSTACK_URL','4933320tvadeJ','goLhx','parse','xPPpk','onmessage','result','local_grid','11684208ZiliqE','zQnhp','path','string','768veqabr','JFtub','ezBfs','browser_version','KAfck','getAutomationFramework','caps','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','ATS_WSS_URL_REGEX','capabilities','QPYZH','getDetails','cloudProvider','bsSessionId','4079600bCokUQ','uWxEI','MoPbF','Setting\x20session\x20id\x20received\x20from\x20BS\x20','vuhVP','platformDetails','10769148eyGskE','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','setupBrowserDetails','POST','sessionError','util','GndXj','platformVersion','winstonLogger','bStackParams','automate','platform','trackEvent','patchConnection','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','stringify','assign'];a62_0x22b6=function(){return _0x355282;};return a62_0x22b6();}(function(_0x2a6e56,_0x42bbb9){const _0x2c93a5=a62_0x1cfb,_0x167e99=_0x2a6e56();while(!![]){try{const _0xcdf9b0=parseInt(_0x2c93a5(0x16b))/0x1*(parseInt(_0x2c93a5(0x17f))/0x2)+-parseInt(_0x2c93a5(0x167))/0x3+parseInt(_0x2c93a5(0x174))/0x4+-parseInt(_0x2c93a5(0x18d))/0x5+parseInt(_0x2c93a5(0x170))/0x6*(-parseInt(_0x2c93a5(0x1a8))/0x7)+parseInt(_0x2c93a5(0x17b))/0x8+parseInt(_0x2c93a5(0x193))/0x9;if(_0xcdf9b0===_0x42bbb9)break;else _0x167e99['push'](_0x167e99['shift']());}catch(_0x32a03d){_0x167e99['push'](_0x167e99['shift']());}}}(a62_0x22b6,0xd4c88));const path=require(a62_0x4baa55(0x17d)),url=require('url'),util=require(a62_0x4baa55(0x198)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require('../../helpers/logger')[a62_0x4baa55(0x19b)],constants=require(a62_0x4baa55(0x165)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require('../v2/state/hookState.js'),getBrowserFromWSEndpoint=_0x577b08=>{const _0x4d39c9=a62_0x4baa55,_0x4423cc={'KAfck':'chrome','MUozq':function(_0x461c32,_0x368282){return _0x461c32(_0x368282);}};try{const _0x1212e1=url[_0x4d39c9(0x176)](_0x577b08),_0x414089=new URLSearchParams(_0x1212e1['query']),_0x4c5b74=Object['fromEntries'](_0x414089['entries']()),_0x4c33e3=JSON[_0x4d39c9(0x176)](_0x4c5b74[_0x4d39c9(0x185)]);if(_0x4c33e3&&(_0x4c33e3['browser']||_0x4c33e3['browserName']))return _0x4c33e3['browser']||_0x4c33e3['browserName'];return _0x4423cc[_0x4d39c9(0x183)];}catch(_0x3bdbe9){_0x4423cc[_0x4d39c9(0x1b4)](debug,_0x4d39c9(0x186)+_0x3bdbe9[_0x4d39c9(0x160)]());}},getCloudProviderFromWsEndpoint=_0x45d149=>{const _0x2f67be=a62_0x4baa55,_0x10f941={};_0x10f941[_0x2f67be(0x17c)]='browserstack',_0x10f941[_0x2f67be(0x18e)]='unknown_grid';const _0x1a04e1=_0x10f941;if(_0x45d149[_0x2f67be(0x16c)](constants[_0x2f67be(0x173)])||_0x45d149[_0x2f67be(0x16c)](constants[_0x2f67be(0x168)]))return _0x1a04e1[_0x2f67be(0x17c)];return _0x1a04e1[_0x2f67be(0x18e)];},a62_0x212ff1={};a62_0x212ff1[a62_0x4baa55(0x18b)]=undefined,a62_0x212ff1[a62_0x4baa55(0x18c)]=undefined,a62_0x212ff1[a62_0x4baa55(0x16d)]=undefined,a62_0x212ff1[a62_0x4baa55(0x182)]=undefined,a62_0x212ff1[a62_0x4baa55(0x19e)]=undefined,a62_0x212ff1[a62_0x4baa55(0x16a)]=undefined,a62_0x212ff1[a62_0x4baa55(0x1af)]=undefined,a62_0x212ff1[a62_0x4baa55(0x188)]={};class PuppeteerSessionDetails{static [a62_0x4baa55(0x1b0)]=a62_0x212ff1;constructor(){const _0x5aa96b={};_0x5aa96b['gOyYJ']='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x281e16=_0x5aa96b;throw new Error(_0x281e16['gOyYJ']);}static [a62_0x4baa55(0x197)]=null;static async[a62_0x4baa55(0x195)](_0xb534a8,_0x47e38a){const _0x1016a0=a62_0x4baa55,_0x50bcf7={'ezBfs':_0x1016a0(0x16f),'bXUhm':function(_0x7cbc4e,_0x1b37b3){return _0x7cbc4e===_0x1b37b3;},'HbvtR':_0x1016a0(0x161),'QPYZH':_0x1016a0(0x17a),'JFtub':function(_0x53f137,_0x3baf4c){return _0x53f137(_0x3baf4c);},'bbtyQ':function(_0x569aa7,_0x452ccf){return _0x569aa7===_0x452ccf;},'ANEIw':_0x1016a0(0x169),'qwcng':_0x1016a0(0x162),'goLhx':_0x1016a0(0x19d),'BeCHG':function(_0x2597cf){return _0x2597cf();},'MoPbF':function(_0x59e755){return _0x59e755();},'fxcSA':function(_0x423234,_0x331b8f){return _0x423234(_0x331b8f);}};try{let _0x19b6e0=_0x50bcf7[_0x1016a0(0x181)],_0x497e01=null;_0xb534a8&&_0x50bcf7[_0x1016a0(0x15e)](typeof _0xb534a8['version'],_0x50bcf7['HbvtR'])&&(_0x497e01=await _0xb534a8[_0x1016a0(0x15f)]());let _0x19bedf=null,_0x340e5f=null,_0x4bea93=null,_0x3ad4b1=_0x50bcf7[_0x1016a0(0x189)];if(_0x47e38a){_0x3ad4b1=_0x50bcf7['JFtub'](getCloudProviderFromWsEndpoint,_0x47e38a);if(_0x50bcf7[_0x1016a0(0x1aa)](_0x3ad4b1,_0x50bcf7['ANEIw']))_0x4bea93=constants[_0x1016a0(0x187)]?constants[_0x1016a0(0x187)][_0x1016a0(0x16e)](_0x47e38a)?_0x50bcf7[_0x1016a0(0x1a4)]:_0x50bcf7[_0x1016a0(0x175)]:_0x50bcf7['goLhx'],_0x19b6e0=_0x50bcf7[_0x1016a0(0x180)](getBrowserFromWSEndpoint,_0x47e38a)||_0x19b6e0,_0x19bedf=this[_0x1016a0(0x1b0)][_0x1016a0(0x19e)],_0x340e5f=this[_0x1016a0(0x1b0)][_0x1016a0(0x16a)];else{const _0x3a7e60=await _0x50bcf7[_0x1016a0(0x1ac)](getPlatformDetails);_0x19bedf=_0x3a7e60[_0x1016a0(0x171)],_0x340e5f=_0x3a7e60['platformVersion'];}}else{const _0x58f235=await _0x50bcf7[_0x1016a0(0x18f)](getPlatformDetails);_0x19bedf=_0x58f235[_0x1016a0(0x171)],_0x340e5f=_0x58f235['platformVersion'];}const _0x23fad1={};_0x23fad1['browser']=_0x19b6e0,_0x23fad1[_0x1016a0(0x182)]=_0x497e01,_0x23fad1[_0x1016a0(0x188)]={},_0x23fad1[_0x1016a0(0x19e)]=_0x19bedf,_0x23fad1['platform_version']=_0x340e5f,_0x23fad1['product']=_0x4bea93;const _0x23e1c7=_0x23fad1,_0xe1338e={};_0xe1338e['cloudProvider']=_0x3ad4b1,this['currentSessionDetails']=Object[_0x1016a0(0x1a3)]({},this['currentSessionDetails'],_0xe1338e,_0x23e1c7);}catch(_0x5bd54e){_0x50bcf7['fxcSA'](debug,_0x1016a0(0x1ab)+util['format'](_0x5bd54e)),this['sessionError']=_0x5bd54e['toString']();}}static[a62_0x4baa55(0x1a0)](_0x3a8f08){const _0x48cd53=a62_0x4baa55,_0x3b514a={'MQYuf':function(_0x3b6d0f,_0x4da697){return _0x3b6d0f===_0x4da697;},'GndXj':_0x48cd53(0x17e),'vuhVP':function(_0x177888,_0x3ac976){return _0x177888(_0x3ac976);},'GAEar':function(_0x1122c9,_0x524f5b){return _0x1122c9(_0x524f5b);},'agYht':function(_0x262893,_0x1eb8bf){return _0x262893===_0x1eb8bf;},'xPPpk':'[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture'},_0xb8297=this;try{const _0x253018=_0x3a8f08['_connection']||_0x3a8f08[_0x48cd53(0x164)];if(!_0x253018||_0x253018[_0x48cd53(0x163)])return;const _0xd71b6a=_0x253018[_0x48cd53(0x178)];_0x253018[_0x48cd53(0x178)]=function(_0x56934f){const _0x11950e=_0x48cd53;try{const _0x3e1528=_0x3b514a[_0x11950e(0x1b1)](typeof _0x56934f,_0x3b514a[_0x11950e(0x199)])?JSON[_0x11950e(0x176)](_0x56934f):_0x56934f,_0xb53884=_0x3e1528?.[_0x11950e(0x19c)]||_0x3e1528?.['bsParams']||_0x3e1528?.[_0x11950e(0x1ae)]?.[_0x11950e(0x1ad)]||_0x3e1528?.[_0x11950e(0x1ae)]?.[_0x11950e(0x19c)]||_0x3e1528?.[_0x11950e(0x179)]?.[_0x11950e(0x1ad)]||_0x3e1528?.['result']?.['bStackParams'];if(_0xb53884){if(BrowserstackCLI['getInstance']()[_0x11950e(0x1a5)]()){const _0x101b93={};_0x101b93[_0x11950e(0x1a7)]=_0x3e1528,BrowserstackCLI['getInstance']()[_0x11950e(0x184)]()[_0x11950e(0x19f)](AutomationFrameworkState[_0x11950e(0x1b2)],HookState[_0x11950e(0x196)],_0x101b93);}else{const _0xc2cd3d=_0xb53884['sessionId'],_0x27c5fe=_0xb53884[_0x11950e(0x192)];_0x27c5fe&&(_0x3b514a[_0x11950e(0x191)](debug,_0x11950e(0x194)+JSON[_0x11950e(0x1a2)](_0x27c5fe)),_0xb8297[_0x11950e(0x1b0)][_0x11950e(0x19e)]=_0x27c5fe[_0x11950e(0x171)],_0xb8297[_0x11950e(0x1b0)]['platform_version']=_0x27c5fe[_0x11950e(0x19a)]),_0xc2cd3d&&(_0x3b514a['GAEar'](debug,_0x11950e(0x190)+_0xc2cd3d),_0xb8297[_0x11950e(0x1b0)]['bsSessionId']=_0xc2cd3d);}_0x3b514a[_0x11950e(0x1a9)](typeof _0x56934f,_0x3b514a[_0x11950e(0x199)])&&(delete _0x3e1528[_0x11950e(0x19c)],delete _0x3e1528[_0x11950e(0x1ad)],_0x3e1528[_0x11950e(0x1ae)]&&(delete _0x3e1528[_0x11950e(0x1ae)][_0x11950e(0x1ad)],delete _0x3e1528['params']['bStackParams']),_0x3e1528['result']&&(delete _0x3e1528[_0x11950e(0x179)][_0x11950e(0x1ad)],delete _0x3e1528[_0x11950e(0x179)]['bStackParams']));}}catch(_0x2e87a1){_0x3b514a['vuhVP'](debug,_0x11950e(0x1a1)+_0x2e87a1[_0x11950e(0x1a7)]);}return _0xd71b6a?.[_0x11950e(0x1b3)](this,arguments);},_0x253018[_0x48cd53(0x163)]=!![],logger[_0x48cd53(0x166)](_0x3b514a[_0x48cd53(0x177)]);}catch(_0x4dc039){_0x3b514a['GAEar'](debug,_0x48cd53(0x172)+util['format'](_0x4dc039)),_0xb8297[_0x48cd53(0x197)]=_0x4dc039['toString']();}}static[a62_0x4baa55(0x18a)](){const _0xed9ae2=a62_0x4baa55;return this[_0xed9ae2(0x1b0)];}}function a62_0x1cfb(_0x2881f4,_0x144cf0){const _0x22b617=a62_0x22b6();return a62_0x1cfb=function(_0x1cfbae,_0x735c47){_0x1cfbae=_0x1cfbae-0x15e;let _0x4cf47c=_0x22b617[_0x1cfbae];return _0x4cf47c;},a62_0x1cfb(_0x2881f4,_0x144cf0);}module[a62_0x4baa55(0x1a6)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x17713d=a63_0x2d5f;(function(_0x44215a,_0x284026){const _0x1c590e=a63_0x2d5f,_0xbc748b=_0x44215a();while(!![]){try{const _0x2c83e2=-parseInt(_0x1c590e(0x19e))/0x1*(-parseInt(_0x1c590e(0x1a5))/0x2)+parseInt(_0x1c590e(0x1a1))/0x3*(parseInt(_0x1c590e(0x185))/0x4)+-parseInt(_0x1c590e(0x190))/0x5*(parseInt(_0x1c590e(0x17c))/0x6)+parseInt(_0x1c590e(0x195))/0x7+parseInt(_0x1c590e(0x19d))/0x8*(parseInt(_0x1c590e(0x17d))/0x9)+parseInt(_0x1c590e(0x183))/0xa+-parseInt(_0x1c590e(0x19c))/0xb;if(_0x2c83e2===_0x284026)break;else _0xbc748b['push'](_0xbc748b['shift']());}catch(_0x197fd5){_0xbc748b['push'](_0xbc748b['shift']());}}}(a63_0x1c6f,0x510d6));const {isTrue,isBrowserstackInfra}=require(a63_0x17713d(0x18f)),setKeepAlive=require(a63_0x17713d(0x1a2)),util=require(a63_0x17713d(0x186)),logger=require(a63_0x17713d(0x18a))[a63_0x17713d(0x184)],{shouldProcessEventForTesthub}=require(a63_0x17713d(0x19f)),{addRequestSpy}=require(a63_0x17713d(0x1a6)),a63_0x59e7d4={};a63_0x59e7d4[a63_0x17713d(0x18c)]=undefined,a63_0x59e7d4[a63_0x17713d(0x189)]={},a63_0x59e7d4['o11ySyncDone']=![],a63_0x59e7d4['pwPage']=null,a63_0x59e7d4[a63_0x17713d(0x198)]=![],a63_0x59e7d4[a63_0x17713d(0x189)]['id']=undefined,a63_0x59e7d4[a63_0x17713d(0x189)]['testInfo']=undefined;const workerDetails=a63_0x59e7d4;global['__workerDetails']=workerDetails;function a63_0x1c6f(){const _0x1d5147=['../../helpers/helper','755245wCfNuO','JEST','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','skipSessionStatus','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','1533819ThecIP','bootstrap','skipSessionName','isPageFixture','jestConfig','initializePuppeteerPatching','format','15003538XpQVLV','1482024UrvAOj','11347pGgxRf','../../helpers/testhub/utils','__skipSessionName','3QfnAAm','../../helpers/setKeepAlive','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','setFrameworkDetail','74TyUjOk','../../helpers/test-observability/utils','6ChZaTg','27mLbVQj','env','getInstance','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','__skipSessionStatus','PUPPETEER','3916930XeESVc','winstonLogger','1042356QdrgQO','util','../utils/constants','getPackageVersion','currentTest','../../helpers/logger','../v2/browserstackCLI','workerInfo','../utils/puppeteer-patcher','debug'];a63_0x1c6f=function(){return _0x1d5147;};return a63_0x1c6f();}let puppeteerPatcher=null;function a63_0x2d5f(_0x20997f,_0x3b9844){const _0x1c6fec=a63_0x1c6f();return a63_0x2d5f=function(_0x2d5feb,_0x18ac4b){_0x2d5feb=_0x2d5feb-0x17c;let _0x41552a=_0x1c6fec[_0x2d5feb];return _0x41552a;},a63_0x2d5f(_0x20997f,_0x3b9844);}setKeepAlive();if(global[a63_0x17713d(0x199)])try{isBrowserstackInfra()?(global[a63_0x17713d(0x1a0)]=isTrue(global[a63_0x17713d(0x199)]?.[a63_0x17713d(0x197)]),global[a63_0x17713d(0x181)]=isTrue(global[a63_0x17713d(0x199)]?.[a63_0x17713d(0x193)])):(global[a63_0x17713d(0x1a0)]=!![],global[a63_0x17713d(0x181)]=!![]);const helper=require(a63_0x17713d(0x18f)),puppeteerVersion=helper[a63_0x17713d(0x188)]('puppeteer')||helper[a63_0x17713d(0x188)]('puppeteer-core');if(puppeteerVersion)try{logger['debug'](a63_0x17713d(0x194)),puppeteerPatcher=require(a63_0x17713d(0x18d)),puppeteerPatcher[a63_0x17713d(0x19a)](global[a63_0x17713d(0x199)]),logger[a63_0x17713d(0x18e)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a63_0x16cedd){logger[a63_0x17713d(0x18e)]('[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20'+util['format'](a63_0x16cedd));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a63_0x17713d(0x18b)),CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require(a63_0x17713d(0x187));BrowserstackCLI[a63_0x17713d(0x17f)]()['isCliEnabled']()&&(logger[a63_0x17713d(0x18e)](a63_0x17713d(0x1a3)),process[a63_0x17713d(0x17e)]['BROWSERSTACK_PUPPETEER']='true',CLIUtils[a63_0x17713d(0x1a4)](FRAMEWORKS[a63_0x17713d(0x191)],FRAMEWORKS[a63_0x17713d(0x182)]),BrowserstackCLI[a63_0x17713d(0x17f)]()[a63_0x17713d(0x196)]()['catch'](_0x11412f=>{const _0x48ed42=a63_0x17713d;logger['debug'](_0x48ed42(0x192)+util[_0x48ed42(0x19b)](_0x11412f));}));}catch(a63_0x43a2ef){logger['debug']('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a63_0x17713d(0x19b)](a63_0x43a2ef));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a63_0x3bdc4c){logger[a63_0x17713d(0x18e)](a63_0x17713d(0x180)+util[a63_0x17713d(0x19b)](a63_0x3bdc4c));}logger[a63_0x17713d(0x18e)]('[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed');
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
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));
|
|
2
|
+
'use strict';const a64_0x4da65d=a64_0xfa64;(function(_0x5c8cb5,_0x43cabd){const _0x1ec743=a64_0xfa64,_0x3218c2=_0x5c8cb5();while(!![]){try{const _0x3b861c=parseInt(_0x1ec743(0x115))/0x1+-parseInt(_0x1ec743(0x11f))/0x2+-parseInt(_0x1ec743(0x123))/0x3*(parseInt(_0x1ec743(0x109))/0x4)+-parseInt(_0x1ec743(0xd8))/0x5*(parseInt(_0x1ec743(0x13b))/0x6)+parseInt(_0x1ec743(0xfb))/0x7+-parseInt(_0x1ec743(0x153))/0x8*(parseInt(_0x1ec743(0x108))/0x9)+parseInt(_0x1ec743(0xec))/0xa*(parseInt(_0x1ec743(0x145))/0xb);if(_0x3b861c===_0x43cabd)break;else _0x3218c2['push'](_0x3218c2['shift']());}catch(_0x2a0aef){_0x3218c2['push'](_0x3218c2['shift']());}}}(a64_0x19e9,0xb2587));const fs=require('fs'),path=require(a64_0x4da65d(0x161)),util=require('util'),spawn=require(a64_0x4da65d(0xcd))[a64_0x4da65d(0xc3)],{requireModule}=require(a64_0x4da65d(0xc2)),PerformanceTester=require(a64_0x4da65d(0x141)),PerformanceEvents=require(a64_0x4da65d(0xbd))[a64_0x4da65d(0x12f)],helper=require(a64_0x4da65d(0xc2)),utilities=require(a64_0x4da65d(0x155)),{default:BrowserStackSetup}=require(a64_0x4da65d(0x116)),{FRAMEWORKS}=require(a64_0x4da65d(0xea)),runIntegrations=require(a64_0x4da65d(0xd5)),yargs=require(a64_0x4da65d(0xf3)),Constants=require('./utils/constants'),BrowserstackCLI=require(a64_0x4da65d(0xd3)),{isNewman}=require('./newman/helper'),logger=require(a64_0x4da65d(0x14a))['winstonLogger'],origArgs=Object[a64_0x4da65d(0xf7)]([],process[a64_0x4da65d(0xb5)]),captureError=async(_0x1dc050,_0x2571c7,_0x417216,_0x1637d2=null,_0x2980af=![])=>{const _0x2df745=a64_0x4da65d,_0x55d583={'xbHMd':function(_0x151a34,_0x47ef99,_0x51872f,_0x2df522){return _0x151a34(_0x47ef99,_0x51872f,_0x2df522);},'Nlkzz':_0x2df745(0x12e),'jIEYm':function(_0x257fd2,_0x5234bf){return _0x257fd2&&_0x5234bf;}};let _0x89ee79=![];try{logger[_0x2df745(0x148)](_0x2df745(0xd7)+origArgs[_0x2df745(0x143)]('\x20')),await _0x55d583[_0x2df745(0xff)](_0x1dc050,_0x2571c7,_0x1637d2,_0x417216);}catch(_0xb4f85f){process[_0x2df745(0xf9)]=0x1,logger['error'](util['format'](_0xb4f85f));const _0x37dfb8={'globalException':util[_0x2df745(0xac)]('%j',_0xb4f85f)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x2df745(0xac)](_0xb4f85f));if(helper[_0x2df745(0xeb)](global[_0x2df745(0x14e)])&&helper[_0x2df745(0xeb)](global[_0x2df745(0x132)]))return;try{utilities['fireFunnelTestEvent'](_0x55d583['Nlkzz'],_0x37dfb8,global[_0x2df745(0x14e)],global[_0x2df745(0x132)]);}catch(_0x555347){logger[_0x2df745(0x13c)](_0x2df745(0x125)+_0x555347[_0x2df745(0x152)]);}if(!_0x2980af)try{await BrowserstackCLI['getInstance']()[_0x2df745(0xd4)](),_0x89ee79=!![];}catch(_0x42dd50){logger[_0x2df745(0x13c)](_0x2df745(0x150)+_0x42dd50[_0x2df745(0x152)]);}try{await helper['sendLogs'](global[_0x2df745(0x14e)]);}catch(_0x3fc1f2){logger[_0x2df745(0x13c)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x3fc1f2[_0x2df745(0x152)]);}PerformanceTester[_0x2df745(0x105)](PerformanceEvents[_0x2df745(0x126)],![],util[_0x2df745(0xac)](_0xb4f85f));}finally{_0x55d583[_0x2df745(0x127)](!_0x2980af,!_0x89ee79)&&await BrowserstackCLI[_0x2df745(0x15f)]()[_0x2df745(0xd4)](),PerformanceTester[_0x2df745(0x137)](PerformanceEvents['SDK_CLEANUP']);}};function a64_0x19e9(){const _0x2a0fb1=['getInstance','iIegu','path','./vanilla-js/command','tTdAw','format','tbrdq','demandCommand','setTestObservabilityDisable','./testcafe/command','TMswm','UVvdY','YLuUx','--require','argv','dot-notation','./jasmine/command','--no-opts','-pw:channel','dsrOR','describe','./detox/command','../helpers/performance/constants','disableAutoCaptureLogs','YemWe','uhAVm','uKHCB','../helpers/helper','spawn','version','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Suylx','./nightwatch/command','./cucumber-js/command','tcoba','handler','pw:channel\x20auto-capture\x20seed\x20failed:\x20','oPGZA','child_process','ZXvbg','alias','DEBUG','jasmine','pw:*','./v2/browserstackCLI','stop','./integrations/command','UuodP','Running\x20SDK\x20with\x20args\x20','5qejQJl','Parsing\x20command\x20line\x20arguments','getPwChannelLogPath','usage','nightwatch','./mocha/command','AiptC','tTsDE','QxwIc','CUCUMBER','DETOX','env','wrap','getConfigPath','YzcDk','ntnNE','JEST','node','../helpers/test-observability/constants','isUndefined','2190TAxfbi','WjWeq','hqYXV','findAndReplace','find','PXtfK','command','yargs','mUdWt','mocha/lib/cli/run.js','nebtc','assign','PLAYWRIGHT','exitCode','tWSEp','71344YzviJS','HjeWh','detox','CODECEPTJS','xbHMd','HELP','codeceptjs','DEBUG_FILE','FqhWk','boolean','end','split','HsxyY','364815bIraMu','548524EDAyNn','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','Runs\x20the\x20binary\x20with\x20load\x20command','message','ats','kmWDd','BROWSERSTACK_CONFIG_FILE_PATH','PDdZG','cucumber-js','load\x20[subcommand]','-pw:*','NEWMAN','966260jyUCJH','../helpers/BrowserStackSetup','ujNUa','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','setBrowserStackAutomationDisable','vLXRl','./jest/command','.browserstack','fvSPN','--no-config','2733494HdsLAK','trim','./newman/command','URhnk','27rOOtgi','kvhMy','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','SDK_SETUP','jIEYm','parserConfiguration','VERSION','vsBCi','VhxIo','usage:\x20$0\x20<command>\x20[args]','newman','SDKTestSuccessful','EVENTS','NIGHTWATCH','aSrac','framework','aEYVr','testcafe','OGTUY','./load/index','start','Show\x20help','barGK','vanilla','1176198ZKrKVV','debug','./playwright/command','IdrQI','integrations','imJQk','../helpers/performance/performance-tester','mocha/lib/cli/commands.js','join','pw:channel','162745pMXuPI','HST','slice','info','some','../helpers/logger','homedir','help','strict','config','VANILLA','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','xMQoM','stack','136pbNAFd','XHOTF','../helpers/utilities','jest','includes','MOCHA','TESTCAFE','exitProcess','INTEGRATIONS','mocha','INFO','ryTyO'];a64_0x19e9=function(){return _0x2a0fb1;};return a64_0x19e9();}try{const browserstackFolderPath=path[a64_0x4da65d(0x143)](helper[a64_0x4da65d(0x14b)](),a64_0x4da65d(0x11c));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a64_0x4da65d(0x143)](browserstackFolderPath,'.local-not-set.json');fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a64_0xac2bc4){logger[a64_0x4da65d(0x13c)](a64_0x4da65d(0x10a)+a64_0xac2bc4[a64_0x4da65d(0x10c)]);}function a64_0xfa64(_0x2bc1a0,_0x3933e2){const _0x19e932=a64_0x19e9();return a64_0xfa64=function(_0xfa64b1,_0x4907f6){_0xfa64b1=_0xfa64b1-0xab;let _0x132b13=_0x19e932[_0xfa64b1];return _0x132b13;},a64_0xfa64(_0x2bc1a0,_0x3933e2);}process[a64_0x4da65d(0xb5)][a64_0x4da65d(0x157)]('mocha')&&(!process[a64_0x4da65d(0xb5)][a64_0x4da65d(0x157)]('--opts')&&process[a64_0x4da65d(0xb5)]['push'](a64_0x4da65d(0xb8)),!process[a64_0x4da65d(0xb5)][a64_0x4da65d(0xf0)](_0x2ced34=>_0x2ced34[a64_0x4da65d(0x157)]('--config'))&&process[a64_0x4da65d(0xb5)]['push'](a64_0x4da65d(0x11e)),!process[a64_0x4da65d(0xb5)][a64_0x4da65d(0x157)]('--package')&&process[a64_0x4da65d(0xb5)]['push']('--no-package'),helper[a64_0x4da65d(0xef)](process['argv'],a64_0x4da65d(0xb4),'--mochaRequire'));PerformanceTester[a64_0x4da65d(0x137)](PerformanceEvents[a64_0x4da65d(0x126)]);const a64_0x2e805a={};a64_0x2e805a[a64_0x4da65d(0xb6)]=![];const argv=yargs[a64_0x4da65d(0x128)](a64_0x2e805a)[a64_0x4da65d(0xdb)](a64_0x4da65d(0x12c))[a64_0x4da65d(0xcf)]('v',a64_0x4da65d(0xc4))[a64_0x4da65d(0xbb)]('v')[a64_0x4da65d(0xcf)]('h',a64_0x4da65d(0x14c))[a64_0x4da65d(0x14c)]('help')['showHelpOnFail'](!![],Constants[a64_0x4da65d(0x129)][a64_0x4da65d(0x100)])[a64_0x4da65d(0xf2)](a64_0x4da65d(0x156),Constants[a64_0x4da65d(0xe8)][a64_0x4da65d(0x15d)],function(_0x25d7f1){const _0x2bfbb5=a64_0x4da65d,_0x3cbbcc={'VhxIo':_0x2bfbb5(0x156),'AiptC':function(_0x254893,_0x35a413,_0x1b2972,_0x2fc4e2,_0x475990,_0x2f2534){return _0x254893(_0x35a413,_0x1b2972,_0x2fc4e2,_0x475990,_0x2f2534);},'nCRkR':function(_0x46b53c,_0x23a507){return _0x46b53c(_0x23a507);},'UuodP':_0x2bfbb5(0x11b)},_0x389853=process[_0x2bfbb5(0xb5)][_0x2bfbb5(0x147)](0x2);helper[_0x2bfbb5(0xaf)](),helper['setBrowserStackAutomationDisable'](),_0x25d7f1['strict'](![]);const _0xa6f90c=new BrowserStackSetup(_0x25d7f1[_0x2bfbb5(0xb5)],_0x3cbbcc[_0x2bfbb5(0x12b)]);return _0x3cbbcc[_0x2bfbb5(0xde)](captureError,_0x3cbbcc['nCRkR'](require,_0x3cbbcc[_0x2bfbb5(0xd6)]),_0x25d7f1['argv'],_0xa6f90c,_0x389853,!![]);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0xd1),Constants['JASMINE'][a64_0x4da65d(0x15d)],function(_0x38fb1b){const _0x28830e=a64_0x4da65d,_0x44add5={'ZGlIg':_0x28830e(0xd1),'mUdWt':function(_0x17d64e,_0x57c837,_0x128916,_0x289138,_0x3daf01,_0x21830b){return _0x17d64e(_0x57c837,_0x128916,_0x289138,_0x3daf01,_0x21830b);},'URhnk':function(_0x3f77d9,_0x44b059){return _0x3f77d9(_0x44b059);},'vLXRl':_0x28830e(0xb7)},_0x1cd6f0=process[_0x28830e(0xb5)][_0x28830e(0x147)](0x2);helper['setTestObservabilityDisable'](),helper[_0x28830e(0x119)](),_0x38fb1b[_0x28830e(0x14d)](![]);const _0x27973b=new BrowserStackSetup(_0x38fb1b[_0x28830e(0xb5)],_0x44add5['ZGlIg']);return _0x44add5[_0x28830e(0xf4)](captureError,_0x44add5[_0x28830e(0x122)](require,_0x44add5[_0x28830e(0x11a)]),_0x38fb1b['argv'],_0x27973b,_0x1cd6f0,!![]);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0x15c),Constants[a64_0x4da65d(0x158)][a64_0x4da65d(0x15d)],_0xd0f7ea=>{const _0x3b1734=a64_0x4da65d,_0x208b49={'QOjRn':function(_0x26a066,_0x18b542,_0x3da418,_0x28eadf){return _0x26a066(_0x18b542,_0x3da418,_0x28eadf);},'oAaDR':function(_0x329ee5,_0x2d37c7){return _0x329ee5(_0x2d37c7);},'HsxyY':_0x3b1734(0xdd),'aEYVr':'mocha','gRbFd':_0x3b1734(0xd9),'YzcDk':function(_0x3a20bf,_0x13ce82,_0x2bdc6d){return _0x3a20bf(_0x13ce82,_0x2bdc6d);},'iIegu':_0x3b1734(0xf5),'wxwVj':_0x3b1734(0x142),'XiUoB':function(_0x23d9ad,_0x15abbc,_0x2a1b0e){return _0x23d9ad(_0x15abbc,_0x2a1b0e);},'uhAVm':'mocha/lib/cli/cli.js','IeLZw':function(_0x1df8cb){return _0x1df8cb();}};process['argv']=process[_0x3b1734(0xb5)][_0x3b1734(0x147)](0x1),helper[_0x3b1734(0xaf)](),helper[_0x3b1734(0x119)]();const _0x181b67=new BrowserStackSetup(_0xd0f7ea['argv'],_0x208b49[_0x3b1734(0x133)]);logger[_0x3b1734(0x13c)](_0x208b49['gRbFd']);const _0xba7bf2=_0x208b49[_0x3b1734(0xe6)](requireModule,_0x208b49[_0x3b1734(0x160)],_0x208b49[_0x3b1734(0x133)]),_0x15e68a=_0x208b49[_0x3b1734(0xe6)](requireModule,_0x208b49['wxwVj'],_0x208b49[_0x3b1734(0x133)]);delete _0xba7bf2['handler'],_0xba7bf2[_0x3b1734(0xca)]=function(_0x57e69d){const _0x4e6fb9=_0x3b1734;return _0x208b49['QOjRn'](captureError,_0x208b49['oAaDR'](require,_0x208b49[_0x4e6fb9(0x107)]),_0x57e69d,_0x181b67);},_0x15e68a['run']=_0xba7bf2;const {main:_0x4a1365}=_0x208b49['XiUoB'](requireModule,_0x208b49[_0x3b1734(0xc0)],_0x208b49['aEYVr']);_0x208b49['IeLZw'](_0x4a1365);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0x111),Constants[a64_0x4da65d(0xe1)][a64_0x4da65d(0x15d)],function(_0x458e3f){const _0x15f772=a64_0x4da65d,_0x8c04a2={'axZJw':_0x15f772(0x111),'FqhWk':function(_0x312f45,_0x254ec3,_0x3be3b7,_0x5555bf,_0x5809ae,_0x149606){return _0x312f45(_0x254ec3,_0x3be3b7,_0x5555bf,_0x5809ae,_0x149606);},'barGK':function(_0x4ff5b8,_0x1aa540){return _0x4ff5b8(_0x1aa540);},'ryTyO':_0x15f772(0xc8)},_0x2886a6=process[_0x15f772(0xb5)]['slice'](0x2),_0x1ebe63=new BrowserStackSetup(_0x458e3f[_0x15f772(0xb5)],_0x8c04a2['axZJw']);return _0x8c04a2[_0x15f772(0x103)](captureError,_0x8c04a2[_0x15f772(0x139)](require,_0x8c04a2[_0x15f772(0x15e)]),_0x458e3f[_0x15f772(0xb5)],_0x1ebe63,_0x2886a6,!![]);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0xe9),Constants[a64_0x4da65d(0x14f)][a64_0x4da65d(0x15d)],function(_0x67ef18){const _0xaabc7e=a64_0x4da65d,_0x17974b={'fvSPN':_0xaabc7e(0x13a),'xMQoM':function(_0x837518,_0x1ff40c){return _0x837518(_0x1ff40c);},'nebtc':_0xaabc7e(0x12d),'IoiRP':function(_0x51c540,_0x7fe1d4,_0x1ce4fc,_0x521940,_0x494044){return _0x51c540(_0x7fe1d4,_0x1ce4fc,_0x521940,_0x494044);},'tWSEp':_0xaabc7e(0x121),'OGTUY':function(_0x4a140b,_0x3bae5c,_0x215da3,_0x48668d,_0x257ff9){return _0x4a140b(_0x3bae5c,_0x215da3,_0x48668d,_0x257ff9);},'HjeWh':_0xaabc7e(0x162)},_0x40dac0=process[_0xaabc7e(0xb5)]['slice'](0x2),_0x58ec7f=new BrowserStackSetup(_0x67ef18['argv'],_0x17974b[_0xaabc7e(0x11d)]),_0x4f1e46=_0x58ec7f?_0x58ec7f[_0xaabc7e(0x14e)]:null;if(_0x17974b[_0xaabc7e(0x151)](isNewman,_0x4f1e46))return _0x58ec7f[_0xaabc7e(0x132)]=_0x17974b[_0xaabc7e(0xf6)],global['framework']=_0x17974b[_0xaabc7e(0xf6)],_0x17974b['IoiRP'](captureError,_0x17974b['xMQoM'](require,_0x17974b[_0xaabc7e(0xfa)]),_0x67ef18[_0xaabc7e(0xb5)],_0x58ec7f,_0x40dac0);return _0x17974b[_0xaabc7e(0x135)](captureError,_0x17974b[_0xaabc7e(0x151)](require,_0x17974b[_0xaabc7e(0xfc)]),_0x67ef18['argv'],_0x58ec7f,_0x40dac0);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0xdc),Constants[a64_0x4da65d(0x130)]['INFO'],function(_0x3fe16f){const _0x587654=a64_0x4da65d,_0x3e05c0={'YemWe':_0x587654(0xdc),'TMswm':function(_0x296f28,_0x160ee8,_0x5e5abf,_0x1bf4b4,_0x351a2d){return _0x296f28(_0x160ee8,_0x5e5abf,_0x1bf4b4,_0x351a2d);},'ZXvbg':function(_0x30ffae,_0x20d447){return _0x30ffae(_0x20d447);},'imJQk':_0x587654(0xc7)},_0x1f4510=process[_0x587654(0xb5)]['slice'](0x2),_0x10c36d=new BrowserStackSetup(_0x3fe16f[_0x587654(0xb5)],_0x3e05c0[_0x587654(0xbf)]);return _0x3e05c0[_0x587654(0xb1)](captureError,_0x3e05c0[_0x587654(0xce)](require,_0x3e05c0[_0x587654(0x140)]),_0x3fe16f[_0x587654(0xb5)],_0x10c36d,_0x1f4510);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0x101),Constants[a64_0x4da65d(0xfe)][a64_0x4da65d(0x15d)],function(_0x4bc0dc){const _0x5a9460=a64_0x4da65d,_0x11a957={'hqYXV':_0x5a9460(0x101),'tcoba':function(_0x32ee19,_0x38050b,_0x241232,_0xc2222,_0x49b9a9){return _0x32ee19(_0x38050b,_0x241232,_0xc2222,_0x49b9a9);},'ntnNE':function(_0x3b89b3,_0x41438b){return _0x3b89b3(_0x41438b);},'WjWeq':'./codeceptjs/command'},_0x1aed83=process[_0x5a9460(0xb5)][_0x5a9460(0x147)](0x2),_0x3a6824=new BrowserStackSetup(_0x4bc0dc[_0x5a9460(0xb5)],_0x11a957[_0x5a9460(0xee)]);return _0x11a957[_0x5a9460(0xc9)](captureError,_0x11a957[_0x5a9460(0xe7)](require,_0x11a957[_0x5a9460(0xed)]),_0x4bc0dc[_0x5a9460(0xb5)],_0x3a6824,_0x1aed83);})[a64_0x4da65d(0xf2)]('detox',Constants[a64_0x4da65d(0xe2)]['INFO'],function(_0x3d6db5){const _0x5cfe8f=a64_0x4da65d,_0x481b7d={'aSrac':_0x5cfe8f(0xfd),'JoKly':function(_0x1a126e,_0xbafa5d,_0x3db756,_0x4fe72b,_0x45ddd0,_0x3bbe05){return _0x1a126e(_0xbafa5d,_0x3db756,_0x4fe72b,_0x45ddd0,_0x3bbe05);},'QxwIc':function(_0x2df0cf,_0x54efcc){return _0x2df0cf(_0x54efcc);},'dsrOR':_0x5cfe8f(0xbc)},_0x422e06=process['argv'][_0x5cfe8f(0x147)](0x2),_0x5c81ff=new BrowserStackSetup(_0x3d6db5[_0x5cfe8f(0xb5)],_0x481b7d[_0x5cfe8f(0x131)]);return _0x481b7d['JoKly'](captureError,_0x481b7d[_0x5cfe8f(0xe0)](require,_0x481b7d[_0x5cfe8f(0xba)]),_0x3d6db5[_0x5cfe8f(0xb5)],_0x5c81ff,_0x422e06,!![]);})[a64_0x4da65d(0xf2)]('ats',Constants[a64_0x4da65d(0x146)][a64_0x4da65d(0x15d)],function(_0x114e43){const _0x4a2a31=a64_0x4da65d,_0x3879c5={'kvhMy':function(_0x3f24f8,_0x440335,_0x4f549c){return _0x3f24f8(_0x440335,_0x4f549c);},'UVvdY':function(_0x9f57bc,_0x35b1cf){return _0x9f57bc(_0x35b1cf);},'YlevL':'../../ats/src/index'},_0x3a7c72=process[_0x4a2a31(0xb5)]['slice'](0x2);return _0x3879c5[_0x4a2a31(0x124)](captureError,_0x3879c5[_0x4a2a31(0xb2)](require,_0x3879c5['YlevL']),_0x114e43);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0x13f),Constants[a64_0x4da65d(0x15b)][a64_0x4da65d(0x15d)],function(_0x5c0ac1){const _0x1dac34={'HlCBO':function(_0x485905,_0xd0b942){return _0x485905(_0xd0b942);}};return _0x1dac34['HlCBO'](runIntegrations,_0x5c0ac1);})[a64_0x4da65d(0xf2)]('playwright',Constants[a64_0x4da65d(0xf8)]['INFO'],function(_0x6dd596){const _0x2dfbda=a64_0x4da65d,_0x3d81f1={'uKHCB':_0x2dfbda(0x144),'tTdAw':function(_0x51a48f,_0x4086c3){return _0x51a48f&&_0x4086c3;},'ujNUa':function(_0x97ed88,_0x3e311c,_0x4c6e1d,_0x2b8f9b,_0x5203df,_0x54142c){return _0x97ed88(_0x3e311c,_0x4c6e1d,_0x2b8f9b,_0x5203df,_0x54142c);},'bScva':function(_0x4ec634,_0x2fc423){return _0x4ec634(_0x2fc423);},'XHOTF':_0x2dfbda(0x13d)},_0x1f145c=process[_0x2dfbda(0xb5)][_0x2dfbda(0x147)](0x2);helper[_0x2dfbda(0xe5)](process[_0x2dfbda(0xb5)])&&(process[_0x2dfbda(0xe3)][_0x2dfbda(0x10f)]=helper[_0x2dfbda(0xe5)](process[_0x2dfbda(0xb5)]));helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x5df8b8=new BrowserStackSetup(_0x6dd596['argv'],FRAMEWORKS[_0x2dfbda(0xf8)]);try{if(!_0x5df8b8['config']||!_0x5df8b8[_0x2dfbda(0x14e)][_0x2dfbda(0xbe)]){const _0xcca120=_0x3d81f1[_0x2dfbda(0xc1)],_0x38cec6=process[_0x2dfbda(0xe3)]['DEBUG']||'',_0x24ed78=_0x38cec6[_0x2dfbda(0x106)](',')['map'](_0x565101=>_0x565101[_0x2dfbda(0x120)]())['filter'](Boolean),_0x351d68=_0x24ed78['some'](_0x16834c=>_0x16834c===_0x2dfbda(0xb9)||_0x16834c===_0x2dfbda(0x113)||_0x16834c==='-*'),_0x3fe7a1=_0x24ed78[_0x2dfbda(0x149)](_0x58ebc6=>_0x58ebc6===_0xcca120||_0x58ebc6===_0x2dfbda(0xd2)||_0x58ebc6==='*');if(_0x3d81f1[_0x2dfbda(0xab)](!_0x351d68,!_0x3fe7a1)){const _0x3ab512=helper[_0x2dfbda(0xda)]();_0x3ab512&&(process[_0x2dfbda(0xe3)][_0x2dfbda(0xd0)]=_0x38cec6?_0x38cec6+','+_0xcca120:_0xcca120,!process[_0x2dfbda(0xe3)][_0x2dfbda(0x102)]&&(process['env'][_0x2dfbda(0x102)]=_0x3ab512));}}}catch(_0x361a92){logger[_0x2dfbda(0x13c)](_0x2dfbda(0xcb)+util[_0x2dfbda(0xac)](_0x361a92));}return _0x3d81f1[_0x2dfbda(0x117)](captureError,_0x3d81f1['bScva'](require,_0x3d81f1[_0x2dfbda(0x154)]),_0x6dd596[_0x2dfbda(0xb5)],_0x5df8b8,_0x1f145c,!![]);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0x134),Constants[a64_0x4da65d(0x159)][a64_0x4da65d(0x15d)],function(_0x3dc508){const _0x56b281=a64_0x4da65d,_0x3f6e02={'PDdZG':_0x56b281(0x134),'PXtfK':function(_0x46f5fc,_0x31a88b,_0x52878e,_0xf5da42,_0x5b7e72,_0x281103){return _0x46f5fc(_0x31a88b,_0x52878e,_0xf5da42,_0x5b7e72,_0x281103);},'tbrdq':function(_0x243e02,_0x19f31b){return _0x243e02(_0x19f31b);},'IdrQI':_0x56b281(0xb0)},_0x372c25=process[_0x56b281(0xb5)][_0x56b281(0x147)](0x2),_0x28143c=new BrowserStackSetup(_0x3dc508['argv'],_0x3f6e02[_0x56b281(0x110)]);return _0x3f6e02[_0x56b281(0xf1)](captureError,_0x3f6e02[_0x56b281(0xad)](require,_0x3f6e02[_0x56b281(0x13e)]),_0x3dc508[_0x56b281(0xb5)],_0x28143c,_0x372c25,!![]);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0x112),a64_0x4da65d(0x10b),function(_0x49838a){const _0x6f4111=a64_0x4da65d,_0x21ca24={};_0x21ca24['pgzIT']=_0x6f4111(0x14c),_0x21ca24[_0x6f4111(0xb3)]=_0x6f4111(0x104),_0x21ca24[_0x6f4111(0xdf)]=_0x6f4111(0x138);const _0x58fd67=_0x21ca24;return _0x49838a[_0x6f4111(0x14c)](![])['option'](_0x58fd67['pgzIT'],{'alias':'h','type':_0x58fd67['YLuUx'],'describe':_0x58fd67[_0x6f4111(0xdf)]})[_0x6f4111(0x14d)](![])[_0x6f4111(0x15a)](![]);},function(_0x35216a){const _0x3e4fda=a64_0x4da65d,_0x152870={'kmWDd':function(_0x3908b5,_0x544166,_0x338435){return _0x3908b5(_0x544166,_0x338435);},'oPGZA':function(_0x1ffd34,_0x2cce94){return _0x1ffd34(_0x2cce94);},'wzMLx':_0x3e4fda(0x136)},_0x58429e={};return _0x58429e[_0x3e4fda(0xb5)]=_0x35216a,_0x152870[_0x3e4fda(0x10e)](captureError,_0x152870[_0x3e4fda(0xcc)](require,_0x152870['wzMLx']),_0x58429e);})[a64_0x4da65d(0xf2)](a64_0x4da65d(0x12d),Constants[a64_0x4da65d(0x114)][a64_0x4da65d(0x15d)],function(_0x5be20b){const _0x3ac426=a64_0x4da65d,_0x5a0ad2={'vsBCi':_0x3ac426(0x12d),'bWPpb':function(_0x1e8b88,_0x3a3898,_0x55157c,_0x85e7d7,_0x30c251){return _0x1e8b88(_0x3a3898,_0x55157c,_0x85e7d7,_0x30c251);},'Suylx':function(_0x1aa915,_0x1b547c){return _0x1aa915(_0x1b547c);},'eeVri':_0x3ac426(0x121)},_0x8f3437=process[_0x3ac426(0xb5)][_0x3ac426(0x147)](0x2);helper['setTestObservabilityDisable'](),helper[_0x3ac426(0x119)](),_0x5be20b['strict'](![]);const _0x199548=new BrowserStackSetup(_0x5be20b['argv'],_0x5a0ad2[_0x3ac426(0x12a)]);return _0x5a0ad2['bWPpb'](captureError,_0x5a0ad2[_0x3ac426(0xc6)](require,_0x5a0ad2['eeVri']),_0x5be20b[_0x3ac426(0xb5)],_0x199548,_0x8f3437);})[a64_0x4da65d(0xae)](0x1,a64_0x4da65d(0xc5))[a64_0x4da65d(0xe4)](null)[a64_0x4da65d(0xb5)];!helper[a64_0x4da65d(0xeb)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x4da65d(0x10d)&&console['error'](a64_0x4da65d(0x118));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a65_0x169f30=a65_0x23d3;function a65_0x23d3(_0x54e18c,_0x46f720){const _0x3687e3=a65_0x3687();return a65_0x23d3=function(_0x23d3c3,_0xd9068a){_0x23d3c3=_0x23d3c3-0x16d;let _0x58f721=_0x3687e3[_0x23d3c3];return _0x58f721;},a65_0x23d3(_0x54e18c,_0x46f720);}(function(_0x36820e,_0x11d856){const _0x21e782=a65_0x23d3,_0x1558dd=_0x36820e();while(!![]){try{const _0x43ffd5=-parseInt(_0x21e782(0x191))/0x1*(parseInt(_0x21e782(0x195))/0x2)+parseInt(_0x21e782(0x172))/0x3*(-parseInt(_0x21e782(0x16f))/0x4)+parseInt(_0x21e782(0x1b1))/0x5*(-parseInt(_0x21e782(0x17a))/0x6)+-parseInt(_0x21e782(0x1a8))/0x7*(-parseInt(_0x21e782(0x1b6))/0x8)+parseInt(_0x21e782(0x18d))/0x9*(-parseInt(_0x21e782(0x170))/0xa)+parseInt(_0x21e782(0x19f))/0xb*(parseInt(_0x21e782(0x192))/0xc)+-parseInt(_0x21e782(0x173))/0xd;if(_0x43ffd5===_0x11d856)break;else _0x1558dd['push'](_0x1558dd['shift']());}catch(_0x33733d){_0x1558dd['push'](_0x1558dd['shift']());}}}(a65_0x3687,0xe1f40));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),yaml=require(a65_0x169f30(0x1b0)),yargs=require('yargs'),logger=require('../helpers/logger')['winstonLogger'],configFileTemplate=__dirname+a65_0x169f30(0x184),configFileTemplatePW=__dirname+a65_0x169f30(0x188),configFile=process[a65_0x169f30(0x16d)]()+a65_0x169f30(0x18a),packageFile=process[a65_0x169f30(0x16d)]()+'/package.json',frameworks=[a65_0x169f30(0x19a),a65_0x169f30(0x1a0),a65_0x169f30(0x180),a65_0x169f30(0x176),'nightwatch','codeceptjs',a65_0x169f30(0x199),a65_0x169f30(0x1b2)];let config;logger[a65_0x169f30(0x17b)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a65_0x169f30(0x19e)][a65_0x169f30(0x18b)],yargs[a65_0x169f30(0x19e)]['key'],yargs[a65_0x169f30(0x19e)][a65_0x169f30(0x199)]);try{sdkSetup();}catch(a65_0x537319){logger['debug'](a65_0x169f30(0x1aa)+a65_0x537319);}addScriptInPackageJson();function a65_0x3687(){const _0x216835=['vJpgi','/browserstack.yml','username','npm\x20update\x20browserstack-node-sdk','297144buQvPB','GEkBF','EFeuT','entries','1102683gNhqiV','24JokrhU','XRItQ','YOUR_ACCESS_KEY','2XcajFI','browserstack-node-sdk','RgvkL','splice','playwright','mocha','YndZi','Zcfba','postinstall','argv','9396805GTQcRZ','jest','qztpz','SDKSetup','join','fzgSh','load','ONxBd','split','29813sakjrv','node-setup','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','UzCaM','isUndefined','source','Adding\x20new\x20script(s)\x20in\x20package.json...','YvjQt','js-yaml','235gSKGFU','detox','scripts','browserstack-node-sdk\x20','PoLrf','3040PMkCiP','writeFileSync','fireFunnelTestEvent','cwd','\x20&&\x20npm\x20update\x20browserstack-node-sdk','539684byxGXl','20EoKWto','indexOf','9gDJMTc','10105277QKRIcO','XtGjQ','push','node','Setup\x20completed','length','CTGKi','6462gDGRYL','info','GOPfk','IvDAL','stringify','includes','cucumber-js','-browserstack','parse','error','/../../browserstack.yml.sample','utf8','RCwXT','replace','/../../browserstack.pw.yml.sample'];a65_0x3687=function(){return _0x216835;};return a65_0x3687();}function createConfigurationFile(_0xdda68b,_0x3771c4,_0x191ef1=![]){const _0x131d8c=a65_0x169f30,_0x2224f8={};_0x2224f8[_0x131d8c(0x17c)]=_0x131d8c(0x185),_0x2224f8[_0x131d8c(0x189)]='YOUR_USERNAME',_0x2224f8[_0x131d8c(0x174)]=_0x131d8c(0x194);const _0x3b2229=_0x2224f8;try{let _0x228eef=fs['readFileSync'](_0x191ef1?configFileTemplatePW:configFileTemplate,_0x3b2229[_0x131d8c(0x17c)]);_0xdda68b&&(_0x228eef=_0x228eef[_0x131d8c(0x187)](_0x3b2229[_0x131d8c(0x189)],_0xdda68b)),_0x3771c4&&(_0x228eef=_0x228eef[_0x131d8c(0x187)](_0x3b2229[_0x131d8c(0x174)],_0x3771c4)),config=yaml[_0x131d8c(0x1a5)](_0x228eef),fs['writeFileSync'](configFile,_0x228eef,_0x29320c=>{const _0x2ea5cf=_0x131d8c;_0x29320c&&logger[_0x2ea5cf(0x183)](_0x29320c);});}catch(_0x1f1817){logger[_0x131d8c(0x183)](_0x1f1817);}}function addPostInstallScript(_0x1960a7,_0x372f8d){const _0x54cb6b=a65_0x169f30,_0x23e8bf={};_0x23e8bf[_0x54cb6b(0x1ab)]=_0x54cb6b(0x19d),_0x23e8bf['YndZi']=_0x54cb6b(0x18c),_0x23e8bf[_0x54cb6b(0x1a6)]=_0x54cb6b(0x16e);const _0x455842=_0x23e8bf;let _0x18f97a=_0x1960a7[_0x455842['UzCaM']];if(_0x18f97a&&_0x18f97a['includes'](_0x455842[_0x54cb6b(0x19b)]))return;!_0x18f97a?_0x18f97a=_0x455842[_0x54cb6b(0x19b)]:_0x18f97a+=_0x455842[_0x54cb6b(0x1a6)],_0x372f8d[_0x54cb6b(0x175)]([_0x455842[_0x54cb6b(0x1ab)],_0x18f97a]);}function addScriptInPackageJson(){const _0x1b9810=a65_0x169f30,_0x36b276={'EFeuT':_0x1b9810(0x185),'GEkBF':function(_0x11dfc8,_0x365374){return _0x11dfc8<_0x365374;},'RgvkL':function(_0x393b4a,_0x729bc0,_0xae0ea0){return _0x393b4a(_0x729bc0,_0xae0ea0);},'fzgSh':function(_0x12a0a6,_0x458ead){return _0x12a0a6<_0x458ead;},'qztpz':function(_0x2a4675,_0x1d00e2,_0x2b64e5){return _0x2a4675(_0x1d00e2,_0x2b64e5);},'IvDAL':function(_0xd253c8,_0x4bea33){return _0xd253c8!==_0x4bea33;},'DLkaT':_0x1b9810(0x1ae)},_0x2b2465=JSON[_0x1b9810(0x182)](fs['readFileSync'](packageFile,_0x36b276[_0x1b9810(0x18f)])),_0x11f16b=[];for(let _0x39b25c=0x0;_0x36b276[_0x1b9810(0x18e)](_0x39b25c,frameworks[_0x1b9810(0x178)]);_0x39b25c+=0x1){const _0x27aa00=_0x36b276['RgvkL'](findScriptsWithFramework,_0x2b2465[_0x1b9810(0x1b3)],frameworks[_0x39b25c]);for(let _0x253d86=0x0;_0x36b276[_0x1b9810(0x1a4)](_0x253d86,_0x27aa00[_0x1b9810(0x178)]);_0x253d86+=0x1){_0x11f16b[_0x1b9810(0x175)](_0x36b276[_0x1b9810(0x1a1)](getUpdatedCommand,_0x2b2465[_0x1b9810(0x1b3)],_0x27aa00[_0x253d86]));}_0x36b276[_0x1b9810(0x197)](addPostInstallScript,_0x2b2465[_0x1b9810(0x1b3)],_0x11f16b);}const _0x267ce5={..._0x2b2465['scripts']},_0x55cc09=_0x267ce5;for(let _0x40addd=0x0;_0x36b276[_0x1b9810(0x1a4)](_0x40addd,_0x11f16b[_0x1b9810(0x178)]);_0x40addd+=0x1){_0x55cc09[_0x11f16b[_0x40addd][0x0]]=_0x11f16b[_0x40addd][0x1];}_0x36b276[_0x1b9810(0x17d)](JSON['stringify'](_0x2b2465[_0x1b9810(0x1b3)]),JSON[_0x1b9810(0x17e)](_0x55cc09))&&(logger[_0x1b9810(0x17b)](_0x36b276['DLkaT']),_0x2b2465[_0x1b9810(0x1b3)]=_0x55cc09,fs[_0x1b9810(0x1b7)](packageFile,JSON['stringify'](_0x2b2465,null,0x2),_0x25b6f4=>{const _0x348a42=_0x1b9810;_0x25b6f4&&logger[_0x348a42(0x183)](_0x25b6f4);}));};function findScriptsWithFramework(_0x109c4a,_0x573e21){const _0x273836=a65_0x169f30,_0x1a83df={};_0x1a83df[_0x273836(0x179)]=function(_0xac57fa,_0x1c8ea6){return _0xac57fa<_0x1c8ea6;},_0x1a83df[_0x273836(0x19c)]=_0x273836(0x196);const _0x17c7c7=_0x1a83df,_0x17e77d=[],_0x407cfa=Object[_0x273836(0x190)](_0x109c4a);for(let _0x1af74f=0x0;_0x17c7c7[_0x273836(0x179)](_0x1af74f,_0x407cfa[_0x273836(0x178)]);_0x1af74f+=0x1){_0x407cfa[_0x1af74f][0x1][_0x273836(0x17f)](_0x573e21)&&!_0x407cfa[_0x1af74f][0x1][_0x273836(0x17f)](_0x17c7c7[_0x273836(0x19c)])&&_0x17e77d[_0x273836(0x175)](_0x407cfa[_0x1af74f][0x0]);}return _0x17e77d;}function getUpdatedCommand(_0x5a92d3,_0x285af6){const _0x373914=a65_0x169f30,_0x2f7d32={};_0x2f7d32['PoLrf']=function(_0x289b3e,_0x3a5b5c){return _0x289b3e!==_0x3a5b5c;},_0x2f7d32[_0x373914(0x1af)]=_0x373914(0x196),_0x2f7d32[_0x373914(0x186)]=function(_0x4d2861,_0x22ef5e){return _0x4d2861===_0x22ef5e;};const _0x3888ac=_0x2f7d32,_0x24da36=_0x285af6+_0x373914(0x181),_0x132851=_0x5a92d3[_0x285af6],_0x292991=_0x132851[_0x373914(0x1a7)]('\x20');for(const _0xded001 of frameworks){if(_0x3888ac[_0x373914(0x1b5)](_0x292991[_0x373914(0x171)](_0xded001),-0x1)){_0x292991[_0x373914(0x198)](_0x292991[_0x373914(0x171)](_0xded001),0x0,_0x3888ac['YvjQt']);break;}}let _0x2e208e=_0x292991[_0x373914(0x1a3)]('\x20');return _0x3888ac[_0x373914(0x186)](_0x2e208e,_0x132851)&&(_0x2e208e=_0x373914(0x1b4)+_0x132851),[_0x24da36,_0x2e208e];}function sdkSetup(){const _0x108e80=a65_0x169f30,_0x576a81={};_0x576a81['qrGrO']=_0x108e80(0x1a9),_0x576a81[_0x108e80(0x193)]=_0x108e80(0x1a2);const _0x593111=_0x576a81;if(helper[_0x108e80(0x1ac)](config))return;config[_0x108e80(0x1ad)]=_0x593111['qrGrO'];try{utilities[_0x108e80(0x1b8)](_0x593111['XRItQ'],{},config,'');}catch(_0x547000){logger['debug'](_0x108e80(0x1aa)+_0x547000);}}logger[a65_0x169f30(0x17b)](a65_0x169f30(0x177));
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a66_0x4c5c9a=a66_0x3be5;(function(_0x420279,_0xef1a23){const _0x448a21=a66_0x3be5,_0x23889f=_0x420279();while(!![]){try{const _0x4bfaa7=-parseInt(_0x448a21(0x116))/0x1+parseInt(_0x448a21(0x166))/0x2*(-parseInt(_0x448a21(0x15d))/0x3)+-parseInt(_0x448a21(0x154))/0x4*(parseInt(_0x448a21(0x12e))/0x5)+-parseInt(_0x448a21(0x118))/0x6*(parseInt(_0x448a21(0x102))/0x7)+-parseInt(_0x448a21(0x149))/0x8+parseInt(_0x448a21(0x152))/0x9*(parseInt(_0x448a21(0x158))/0xa)+-parseInt(_0x448a21(0x110))/0xb*(-parseInt(_0x448a21(0x138))/0xc);if(_0x4bfaa7===_0xef1a23)break;else _0x23889f['push'](_0x23889f['shift']());}catch(_0x1fa40a){_0x23889f['push'](_0x23889f['shift']());}}}(a66_0x3a2c,0x3c594));const Worker=require('jest-worker')['Worker'],Emittery=require('emittery'),pLimit=require('p-limit'),{parentPort}=require(a66_0x4c5c9a(0x14e)),util=require(a66_0x4c5c9a(0x15f)),logger=require(a66_0x4c5c9a(0x146))[a66_0x4c5c9a(0x14a)],PerformanceTester=require(a66_0x4c5c9a(0xfc)),PerformanceEvents=require(a66_0x4c5c9a(0x11b))[a66_0x4c5c9a(0x162)],{debug}=require(a66_0x4c5c9a(0x10f)),TestHubHandler=require(a66_0x4c5c9a(0x117));function a66_0x3a2c(){const _0x19ff97=['ZYaSP','failureCount','parallelTestRun','Running\x20','zpopJ','12uBoRAu','platforms','info','IbjfY','RtxTx','log','QMqLz','kxFCi','Aarxo','exit','Exception\x20in\x20sending\x20worker\x20message\x20','UNSTABLE_onCustomMessage','test-file-failure','jUTlN','../../helpers/logger','KdgUI','platform-run-success','2010248oolnhQ','winstonLogger','file','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','map','worker_threads','fiNzE','kXree','_workerPool','999STGUrE','ZFJde','4UgGYQv','format','postMessage','kJNCV','4260YGnPUn','platform-run-start','then','emit','EsHCR','157344HGpCxg','HVDHg','util','error','length','EVENTS','platformIndex','push','Workers\x20failed\x20to\x20exit\x20gracefully','2vfAISj','TKAFT','debug','vanillaWorker','RAFoq','OJttE','once','config','../../helpers/performance/performance-tester','results','getStderr','cucumberWorker','vYpYZ','exitCode','7lZBYrD','rPfgb','ukkMv','xEDKc','getWorkers','watfj','BwuFB','WuJmM','test-file-success','signalCode','all','test-file-start','hhqQO','../../helpers/test-observability/utils','13060850yUbrpT','KtQPY','worker','ERTco','pipe','platform-run-failure','243054vNTgCA','../../helpers/testhub/testhubHandler','607122XczuyA','platform','bfqed','../../helpers/performance/constants','vgQgi','dTCJc','./testWorker.js','plffD','getStdout','end','stderr','json','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','_child','FNJzS','SDK_SETUP','abCsY','configuration','QbWGu','parallelCucumberRun','resolve','stdout','1697390AMtqYR','stop','\x20for','mrnja','RBUXQ'];a66_0x3a2c=function(){return _0x19ff97;};return a66_0x3a2c();}function a66_0x3be5(_0x5f048c,_0x483988){const _0x3a2c86=a66_0x3a2c();return a66_0x3be5=function(_0x3be5e3,_0x2227f9){_0x3be5e3=_0x3be5e3-0xf8;let _0x1847b3=_0x3a2c86[_0x3be5e3];return _0x1847b3;},a66_0x3be5(_0x5f048c,_0x483988);}exports[a66_0x4c5c9a(0x135)]=(_0x5ee2ef,_0x3568bc,_0x4ba127)=>new Promise(async _0xf0cebf=>{const _0x3565d7=a66_0x4c5c9a,_0x485502={'vYpYZ':_0x3565d7(0x134),'watfj':function(_0x286620,_0x3df0ca){return _0x286620+_0x3df0ca;},'ZYaSP':_0x3565d7(0xfd),'kXree':'Workers\x20failed\x20to\x20exit\x20gracefully','IbjfY':function(_0x4f1d2f,_0x13afeb){return _0x4f1d2f(_0x13afeb);},'vgQgi':function(_0x294946,_0x43b2c0){return _0x294946(_0x43b2c0);},'Lejpl':_0x3565d7(0x10d),'KdgUI':_0x3565d7(0x11e),'iaXqN':_0x3565d7(0x112),'rPfgb':'json','QbWGu':_0x3565d7(0x114),'fiNzE':function(_0x2c0c7b,_0x557028){return _0x2c0c7b*_0x557028;},'xEDKc':_0x3565d7(0x10a),'plffD':_0x3565d7(0x144),'hhqQO':function(_0x1fbcf5,_0x30230a){return _0x1fbcf5*_0x30230a;}},_0x26123a=_0x4ba127[_0x3565d7(0xfb)],_0x391909={},_0x22af98=new Worker(require['resolve'](_0x485502[_0x3565d7(0x147)]),{'exposedMethods':[_0x485502['iaXqN']],'forkOptions':{'serialization':_0x485502[_0x3565d7(0x103)],'stdio':_0x485502[_0x3565d7(0x12a)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x485502[_0x3565d7(0x14f)](_0x3568bc,0x1),'enableWorkerThreads':!![]}),_0x115656=new Emittery();_0x115656['on'](_0x485502[_0x3565d7(0x105)],_0x3ec7f8=>{const _0x52c240=_0x3565d7;_0x391909[_0x3ec7f8[0x0]]?(_0x391909[_0x3ec7f8[0x0]][_0x485502[_0x52c240(0x100)]]=_0x485502[_0x52c240(0x107)](_0x391909[_0x3ec7f8[0x0]][_0x485502[_0x52c240(0x100)]],_0x3ec7f8[0x1][_0x485502[_0x52c240(0x100)]]),_0x391909[_0x3ec7f8[0x0]][_0x485502[_0x52c240(0x133)]]=[..._0x391909[_0x3ec7f8[0x0]][_0x485502['ZYaSP']],..._0x3ec7f8[0x1][_0x485502[_0x52c240(0x133)]]]):_0x391909[_0x3ec7f8[0x0]]={'failureCount':_0x3ec7f8[0x1][_0x485502[_0x52c240(0x100)]],'results':[..._0x3ec7f8[0x1][_0x485502[_0x52c240(0x133)]]]};}),_0x115656['on'](_0x485502[_0x3565d7(0x11f)],_0x33ee95=>console[_0x3565d7(0x13d)](_0x33ee95[0x1]));_0x22af98[_0x3565d7(0x120)]()&&_0x22af98[_0x3565d7(0x120)]()[_0x3565d7(0x114)](process['stdout']);_0x22af98[_0x3565d7(0xfe)]()&&_0x22af98[_0x3565d7(0xfe)]()[_0x3565d7(0x114)](process[_0x3565d7(0x122)]);const _0x5ba193=async()=>{const _0x97d2ee=_0x3565d7,{forceExited:_0x52c459}=await _0x22af98[_0x97d2ee(0x121)]();_0x52c459&&console['error'](_0x485502[_0x97d2ee(0x150)]);try{await TestHubHandler[_0x97d2ee(0x12f)]();}catch(_0xc41ecf){_0x485502['IbjfY'](debug,_0x97d2ee(0x14c)+_0xc41ecf);}_0x485502[_0x97d2ee(0x11c)](_0xf0cebf,_0x391909);},_0x198d14=_0x485502[_0x3565d7(0x13b)](pLimit,_0x485502[_0x3565d7(0x10e)](_0x3568bc,0x1)),_0x165147=_0x535c82=>_0x198d14(async()=>{const _0x28bec1=_0x3565d7;await _0x115656[_0x28bec1(0x15b)](_0x485502['Lejpl'],_0x535c82);const _0x6953ec=_0x22af98[_0x28bec1(0x112)](_0x535c82,_0x26123a);try{parentPort&&_0x6953ec[_0x28bec1(0x143)](_0x40310e=>{const _0x476fe2=_0x28bec1;try{parentPort[_0x476fe2(0x156)](_0x40310e);}catch(_0x76705d){logger[_0x476fe2(0x168)](_0x476fe2(0x142)+util[_0x476fe2(0x155)](_0x76705d));}});}catch(_0x56de62){logger[_0x28bec1(0x168)](_0x28bec1(0x124)+util[_0x28bec1(0x155)](_0x56de62));}return _0x6953ec;});PerformanceTester['end'](PerformanceEvents[_0x3565d7(0x127)]),Promise[_0x3565d7(0x10c)](_0x5ee2ef[_0x3565d7(0x14d)](_0xd3d53b=>_0x165147(_0xd3d53b)[_0x3565d7(0x15a)](_0xc15f0d=>_0x115656[_0x3565d7(0x15b)](_0x3565d7(0x10a),[_0xd3d53b['configuration'][_0x3565d7(0x119)],_0xc15f0d]),_0x470172=>_0x115656['emit'](_0x3565d7(0x144),[_0xd3d53b,_0x470172]))))[_0x3565d7(0x15a)](_0x5ba193,_0x5ba193);}),exports[a66_0x4c5c9a(0x12b)]=(_0x160bd6,_0x559798,_0x5c412c,_0x3a7781,_0x1b9812)=>{const _0x1c135d=a66_0x4c5c9a,_0x40c316={'mrnja':'Workers\x20failed\x20to\x20exit\x20gracefully','BwuFB':function(_0x8afb2a,_0x2d589f){return _0x8afb2a(_0x2d589f);},'jUTlN':_0x1c135d(0x159),'MAMcn':_0x1c135d(0x11e),'ERTco':_0x1c135d(0xff),'fbpEf':_0x1c135d(0x123),'hORUm':_0x1c135d(0x114),'RtxTx':_0x1c135d(0x148),'HVDHg':'platform-run-failure','EsHCR':function(_0x2f0b46,_0x2c2e9e){return _0x2f0b46(_0x2c2e9e);}};return new Promise(_0x459202=>{const _0x220506=_0x1c135d,_0x3c265d={};_0x3c265d['bfqed']=_0x40c316[_0x220506(0x145)];const _0x51a649=_0x3c265d,_0xc75da3=[],_0x59c480=new Worker(require['resolve'](_0x40c316['MAMcn']),{'exposedMethods':[_0x40c316[_0x220506(0x113)]],'forkOptions':{'serialization':_0x40c316['fbpEf'],'stdio':_0x40c316['hORUm']},'numWorkers':_0x160bd6[_0x220506(0x161)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x1fe031=new Emittery();_0x1fe031['on'](_0x40c316[_0x220506(0x13c)],_0x3b3bf9=>{const _0x2e54cc=_0x220506;_0xc75da3[_0x2e54cc(0x164)]([_0x3b3bf9[0x0],_0x3b3bf9[0x1]]);}),_0x1fe031['on'](_0x40c316[_0x220506(0x15e)],_0x101f1e=>console['log'](_0x101f1e[0x1]));_0x59c480[_0x220506(0x120)]()&&_0x59c480[_0x220506(0x120)]()['pipe'](process[_0x220506(0x12d)]);_0x59c480[_0x220506(0xfe)]()&&_0x59c480[_0x220506(0xfe)]()[_0x220506(0x114)](process['stderr']);const _0x11b751=async()=>{const _0x1300b7=_0x220506,{forceExited:_0x5427c0}=await _0x59c480[_0x1300b7(0x121)]();_0x5427c0&&console[_0x1300b7(0x160)](_0x40c316[_0x1300b7(0x131)]),_0x40c316[_0x1300b7(0x108)](_0x459202,_0xc75da3);},_0x115249=_0x40c316[_0x220506(0x15c)](pLimit,_0x160bd6['length']||0x1),_0x4bf7fe=(_0x3a024e,_0x5f3f43)=>_0x115249(async()=>{const _0xca3505=_0x220506;return await _0x1fe031[_0xca3505(0x15b)](_0x51a649[_0xca3505(0x11a)],_0x3a024e),_0x559798['platformCaps']=_0x5c412c[_0xca3505(0x139)][_0x5f3f43],_0x559798[_0xca3505(0x163)]=_0x5f3f43,_0x59c480['cucumberWorker'](_0x3a024e,_0x559798,_0x5c412c,_0x3a7781,_0x1b9812);});Promise['all'](_0x160bd6['map']((_0x584a8e,_0x231a8b)=>_0x4bf7fe(_0x584a8e,_0x231a8b)[_0x220506(0x15a)](_0x58b8cb=>_0x1fe031[_0x220506(0x15b)](_0x220506(0x148),[_0x584a8e,_0x58b8cb]),_0x5599a4=>_0x1fe031[_0x220506(0x15b)](_0x220506(0x115),[_0x584a8e,_0x5599a4]))))[_0x220506(0x15a)](_0x11b751,_0x11b751);});},exports['parallelVanillaRun']=(_0x4931e0,_0x5ceb44)=>new Promise(_0x37a509=>{const _0x297c53=a66_0x4c5c9a,_0x29f9ef={'ukkMv':function(_0x1feb9f,_0x43695a){return _0x1feb9f!==_0x43695a;},'QMqLz':function(_0x53c299,_0x454ad3){return _0x53c299(_0x454ad3);},'Aarxo':_0x297c53(0x141),'kxFCi':function(_0x28d2ae,_0x9fcddf){return _0x28d2ae===_0x9fcddf;},'WuJmM':_0x297c53(0x165),'quKQi':'./testWorker.js','kJNCV':_0x297c53(0x169),'KtQPY':_0x297c53(0x123),'TKAFT':'pipe','RBUXQ':_0x297c53(0x10a),'dTCJc':_0x297c53(0x144)},_0x1439bc={},_0x4ea51c=new Worker(require[_0x297c53(0x12c)](_0x29f9ef['quKQi']),{'exposedMethods':[_0x29f9ef[_0x297c53(0x157)]],'forkOptions':{'serialization':_0x29f9ef[_0x297c53(0x111)],'stdio':_0x29f9ef[_0x297c53(0x167)]},'numWorkers':_0x5ceb44,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x62a798=new Emittery();_0x62a798['on'](_0x29f9ef[_0x297c53(0x132)],_0x1c3fd7=>{const _0x138721=_0x297c53;_0x1c3fd7[0x0]&&logger[_0x138721(0x13a)](_0x138721(0x136)+_0x1c3fd7[0x1]+_0x138721(0x130),_0x1c3fd7[0x0]);}),_0x62a798['on'](_0x29f9ef[_0x297c53(0x11d)],_0x284068=>{const _0x310b12=_0x297c53;process[_0x310b12(0x101)]=0x1;});_0x4ea51c[_0x297c53(0x120)]()&&_0x4ea51c[_0x297c53(0x120)]()[_0x297c53(0x114)](process[_0x297c53(0x12d)]);_0x4ea51c[_0x297c53(0xfe)]()&&_0x4ea51c['getStderr']()[_0x297c53(0x114)](process[_0x297c53(0x122)]);const _0x22b4de=async()=>{const _0x25e6d4=_0x297c53,_0x202762={'abCsY':function(_0x2b0b82,_0x49d021){const _0x327145=a66_0x3be5;return _0x29f9ef[_0x327145(0x104)](_0x2b0b82,_0x49d021);},'WAHeq':function(_0x358a72,_0x909f2a){const _0x286ea9=a66_0x3be5;return _0x29f9ef[_0x286ea9(0x13e)](_0x358a72,_0x909f2a);},'OJttE':_0x29f9ef[_0x25e6d4(0x140)],'zpopJ':function(_0x2382a1,_0x43c7dc){const _0x5dae85=_0x25e6d4;return _0x29f9ef[_0x5dae85(0x13f)](_0x2382a1,_0x43c7dc);}};let _0x53f38c=0x0;const _0x58b5f1=_0x4ea51c[_0x25e6d4(0x151)][_0x25e6d4(0x106)](),_0x56d330=()=>{},_0xdab348=_0x58b5f1[_0x25e6d4(0x14d)](async _0x20a3f5=>{const _0x5bfecd=_0x25e6d4,_0x471e2e={'RAFoq':function(_0x5f5aad,_0x233c93){const _0x5862d5=a66_0x3be5;return _0x202762[_0x5862d5(0x128)](_0x5f5aad,_0x233c93);},'ZFJde':function(_0x1b8576,_0x31cd05){return _0x202762['WAHeq'](_0x1b8576,_0x31cd05);},'FNJzS':_0x202762[_0x5bfecd(0xf9)]},_0x204731=_0x20a3f5[_0x5bfecd(0x125)],_0x397111=new Promise(_0x4bebb2=>{const _0x2baac7=_0x5bfecd;if(_0x471e2e[_0x2baac7(0xf8)](_0x204731[_0x2baac7(0x101)],null)||_0x471e2e['RAFoq'](_0x204731[_0x2baac7(0x10b)],null)){_0x471e2e[_0x2baac7(0x153)](_0x4bebb2,_0x204731[_0x2baac7(0x101)]);return;}_0x204731[_0x2baac7(0xfa)](_0x471e2e[_0x2baac7(0x126)],_0x4bebb2);});_0x20a3f5['send']([0x2,![]],_0x56d330,_0x56d330,_0x56d330);const _0x41a19a=await _0x397111;_0x202762[_0x5bfecd(0x137)](_0x53f38c,0x0)&&_0x41a19a&&(_0x53f38c=_0x41a19a);});await Promise[_0x25e6d4(0x10c)](_0xdab348),process[_0x25e6d4(0x101)]=_0x53f38c;const {forceExited:_0x5e289f}=await _0x4ea51c['end']();_0x5e289f&&console[_0x25e6d4(0x160)](_0x29f9ef[_0x25e6d4(0x109)]),_0x29f9ef[_0x25e6d4(0x13e)](_0x37a509,_0x1439bc);},_0x59486e=_0x29f9ef[_0x297c53(0x13e)](pLimit,_0x5ceb44),_0x527c9b=_0x4f5799=>_0x59486e(async()=>{return _0x4ea51c['vanillaWorker'](_0x4f5799);});Promise['all'](_0x4931e0[_0x297c53(0x14d)](_0x35ebed=>_0x527c9b(_0x35ebed)['then'](_0x2a2d28=>_0x62a798[_0x297c53(0x15b)](_0x297c53(0x10a),[_0x35ebed[_0x297c53(0x129)][_0x297c53(0x119)],_0x35ebed[_0x297c53(0x129)][_0x297c53(0x14b)]]),_0x2a2035=>_0x62a798[_0x297c53(0x15b)](_0x297c53(0x144),[_0x35ebed,_0x2a2035]))))[_0x297c53(0x15a)](_0x22b4de,_0x22b4de);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x49b829=a67_0xee8d;function a67_0x2790(){const _0x862167=['10ibdyel','SQeer','runCucumberTest','40QmyRNo','519612ChQtSR','efobe','stopMonitoring','JGLfW','SDK_POST_TEST','../../helpers/performance/constants','runVanillaTest','290043xnqUdO','5682aqOvmM','vanilla','2209964irclFN','475DfSccU','startMonitoring','../../helpers/performance/performance-tester','mYrXV','187360kStpXM','../launcher/launcher','3KLFcMq','eTciH','531482oBJTmr','zSTHN','../../helpers/test-observability/utils','run','fSoQL','EVENTS','end','6445340FqGKac','mocha'];a67_0x2790=function(){return _0x862167;};return a67_0x2790();}function a67_0xee8d(_0x282f90,_0x1bde90){const _0x279041=a67_0x2790();return a67_0xee8d=function(_0xee8dd6,_0xff9091){_0xee8dd6=_0xee8dd6-0xc2;let _0x26f6bc=_0x279041[_0xee8dd6];return _0x26f6bc;},a67_0xee8d(_0x282f90,_0x1bde90);}(function(_0x98cc50,_0x5965d7){const _0x46e47b=a67_0xee8d,_0x52db03=_0x98cc50();while(!![]){try{const _0x1d3fd1=parseInt(_0x46e47b(0xd4))/0x1+-parseInt(_0x46e47b(0xc5))/0x2+parseInt(_0x46e47b(0xd6))/0x3*(parseInt(_0x46e47b(0xcf))/0x4)+-parseInt(_0x46e47b(0xd0))/0x5*(-parseInt(_0x46e47b(0xcd))/0x6)+-parseInt(_0x46e47b(0xd8))/0x7*(-parseInt(_0x46e47b(0xc4))/0x8)+-parseInt(_0x46e47b(0xcc))/0x9*(-parseInt(_0x46e47b(0xe1))/0xa)+-parseInt(_0x46e47b(0xdf))/0xb;if(_0x1d3fd1===_0x5965d7)break;else _0x52db03['push'](_0x52db03['shift']());}catch(_0x18148c){_0x52db03['push'](_0x52db03['shift']());}}}(a67_0x2790,0x60a97));const PerformanceEvents=require(a67_0x49b829(0xca))[a67_0x49b829(0xdd)],PerformanceTester=require(a67_0x49b829(0xd2)),{sleep}=require(a67_0x49b829(0xda));exports['runTest']=async(_0x177060,_0x20f9f4)=>{const _0x4ab77c=a67_0x49b829,_0x482e14={'zSTHN':function(_0x3f86ff,_0x1bf564){return _0x3f86ff(_0x1bf564);},'fSoQL':'../launcher/launcher','JGLfW':_0x4ab77c(0xe0)};PerformanceTester[_0x4ab77c(0xd1)]();const _0x2a705b=_0x482e14['zSTHN'](require,_0x482e14[_0x4ab77c(0xdc)]),_0x3c99e6=new _0x2a705b(_0x482e14[_0x4ab77c(0xc8)],_0x177060,_0x20f9f4),_0x123d6a=await _0x3c99e6[_0x4ab77c(0xdb)]();return PerformanceTester[_0x4ab77c(0xde)](PerformanceEvents[_0x4ab77c(0xc9)]),await _0x482e14[_0x4ab77c(0xd9)](sleep,0x3e8),PerformanceTester[_0x4ab77c(0xc7)](),_0x123d6a;},exports[a67_0x49b829(0xc3)]=async(_0xc8b43b,_0x1f645b,_0x2da2a2,_0xdfead4,_0xb6309f)=>{const _0x476dca=a67_0x49b829,_0x351eb9={'efobe':function(_0x4c42df,_0x46f85a){return _0x4c42df(_0x46f85a);},'SQeer':_0x476dca(0xd5),'WGbRs':'cucumber-js'},_0x273c40={'capability':_0xc8b43b,..._0x1f645b},_0x7404a7={};_0x7404a7['configuration']=_0x273c40,_0x7404a7['formatter']=_0xb6309f;const _0x4acc23=_0x7404a7,_0x2d0fe8=_0x351eb9[_0x476dca(0xc6)](require,_0x351eb9[_0x476dca(0xc2)]),_0x2868d6=new _0x2d0fe8(_0x351eb9['WGbRs'],_0x4acc23,_0x2da2a2,_0xdfead4);return await _0x2868d6['run']();},exports[a67_0x49b829(0xcb)]=async _0x1a0750=>{const _0x23aca4=a67_0x49b829,_0x58b385={'eTciH':function(_0x46f623,_0xb8a228){return _0x46f623(_0xb8a228);},'KBGIF':_0x23aca4(0xd5),'mYrXV':_0x23aca4(0xce)},_0x48246d=_0x58b385[_0x23aca4(0xd7)](require,_0x58b385['KBGIF']),_0x1d1cfe=new _0x48246d(_0x58b385[_0x23aca4(0xd3)],_0x1a0750);return await _0x1d1cfe[_0x23aca4(0xdb)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a68_0x442e(){const _0x2f3cd8=['installAll','954442fGQDGn','1489334uluFDK','cucumberWorker','7knsSCz','1511649KVjSuq','2528144RFeySX','90naiDRD','6hxQXyh','../../helpers/driverInitErrorReporter','85670KtJCCm','3018796JTLbWa','2386908NHxAkI','vanillaWorker'];a68_0x442e=function(){return _0x2f3cd8;};return a68_0x442e();}const a68_0x4fb715=a68_0x1a32;(function(_0x1cf685,_0x594b23){const _0x2e2879=a68_0x1a32,_0x38bf20=_0x1cf685();while(!![]){try{const _0x4ff844=parseInt(_0x2e2879(0x7f))/0x1+-parseInt(_0x2e2879(0x80))/0x2+-parseInt(_0x2e2879(0x7c))/0x3+-parseInt(_0x2e2879(0x7b))/0x4+parseInt(_0x2e2879(0x7a))/0x5*(parseInt(_0x2e2879(0x86))/0x6)+-parseInt(_0x2e2879(0x82))/0x7*(-parseInt(_0x2e2879(0x84))/0x8)+-parseInt(_0x2e2879(0x83))/0x9*(-parseInt(_0x2e2879(0x85))/0xa);if(_0x4ff844===_0x594b23)break;else _0x38bf20['push'](_0x38bf20['shift']());}catch(_0x543885){_0x38bf20['push'](_0x38bf20['shift']());}}}(a68_0x442e,0x7b1b1));const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');function a68_0x1a32(_0xded84c,_0x4d4a05){const _0x442e05=a68_0x442e();return a68_0x1a32=function(_0x1a3217,_0x7e35cf){_0x1a3217=_0x1a3217-0x79;let _0x1311a2=_0x442e05[_0x1a3217];return _0x1311a2;},a68_0x1a32(_0xded84c,_0x4d4a05);}try{require(a68_0x4fb715(0x79))[a68_0x4fb715(0x7e)]();}catch(a68_0x30427b){}exports['worker']=async(_0x434528,_0x20c78d)=>{const _0x1f064f={'hLdpk':function(_0x265331,_0x8fe7d0,_0x2c02a2){return _0x265331(_0x8fe7d0,_0x2c02a2);}};return await _0x1f064f['hLdpk'](runTest,_0x434528,_0x20c78d);},exports[a68_0x4fb715(0x81)]=async(_0x3acc84,_0x3052eb,_0xb0bbe8,_0x1af2b,_0x19453f)=>{const _0x183ad4={'LkfzS':function(_0x440984,_0x8c3503,_0x400968,_0x8bda8b,_0x5824b8,_0x80d14b){return _0x440984(_0x8c3503,_0x400968,_0x8bda8b,_0x5824b8,_0x80d14b);}};return await _0x183ad4['LkfzS'](runCucumberTest,_0x3acc84,_0x3052eb,_0xb0bbe8,_0x1af2b,_0x19453f);},exports[a68_0x4fb715(0x7d)]=async _0x2bd4f9=>{const _0xb9a31c={'Cxdjd':function(_0x312dbc,_0x5acce9){return _0x312dbc(_0x5acce9);}};return await _0xb9a31c['Cxdjd'](runVanillaTest,_0x2bd4f9);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a69_0x2ccc71=a69_0x2b1a;(function(_0x1e1cfc,_0x395aee){const _0x1ff556=a69_0x2b1a,_0x156ed5=_0x1e1cfc();while(!![]){try{const _0x402bc8=parseInt(_0x1ff556(0x113))/0x1+parseInt(_0x1ff556(0x118))/0x2*(-parseInt(_0x1ff556(0x127))/0x3)+-parseInt(_0x1ff556(0x138))/0x4*(-parseInt(_0x1ff556(0x13d))/0x5)+parseInt(_0x1ff556(0x134))/0x6+-parseInt(_0x1ff556(0x116))/0x7+-parseInt(_0x1ff556(0x11f))/0x8+parseInt(_0x1ff556(0x110))/0x9*(parseInt(_0x1ff556(0x11c))/0xa);if(_0x402bc8===_0x395aee)break;else _0x156ed5['push'](_0x156ed5['shift']());}catch(_0x466c09){_0x156ed5['push'](_0x156ed5['shift']());}}}(a69_0x5c63,0x2eb36));function a69_0x5c63(){const _0x4c7b46=['PTYVW','../utils/constants','command','OepaL','format','\x27\x20script\x20available','stringify','../../helpers/logger','find','executeAsyncScript','silly','cMQFO','1271136yANrjq','winstonLogger','\x20result:\x20','rsscC','141548AHrLut','TstXX','debug','jOsLE','aWOfX','40LHxvWm','env','1917PtowwP','../v2/browserstackCLI','][\x20SDK-AUTOMATION\x20]\x20','163986qiIUbo','runSaveResults','runScan','2128553GSkSfC','getAccessibilityModule','172aEymeS','util','function','[a11y-runner]\x20no\x20\x27','4490jdfIyc','getScriptByName','vTdxd','1584512GfIUwv','scan','body','HGMFY','BROWSERSTACK_TESTHUB_JWT','getInstance','getCapabilityValue','testhub_build_uuid','2133kBZQOe'];a69_0x5c63=function(){return _0x4c7b46;};return a69_0x5c63();}const util=require(a69_0x2ccc71(0x119)),logger=require(a69_0x2ccc71(0x12f))[a69_0x2ccc71(0x135)],{automationLogger}=require('../../helpers/logger'),{AUTOMATION_LOG_COMMANDS}=require(a69_0x2ccc71(0x129));async function _run(_0x41b4cc,_0x2231bb,_0x1bf1b3,_0x3e16f9){const _0x8eabe4=a69_0x2ccc71,_0x44ae1a={'vTdxd':function(_0x1b2eef,_0x1f2622){return _0x1b2eef(_0x1f2622);},'OepaL':_0x8eabe4(0x111),'YhePc':function(_0xb61b6d,_0x53d51b){return _0xb61b6d!==_0x53d51b;},'ezOId':'function','upZGI':function(_0x5efe0c,_0x27d3db){return _0x5efe0c||_0x27d3db;},'aWOfX':function(_0x301a2c,_0x47d578){return _0x301a2c||_0x47d578;},'RsTGL':'[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','cMQFO':'[a11y-runner]\x20%s\x20failed:\x20%O'};try{const _0x22334b=_0x44ae1a[_0x8eabe4(0x11e)](require,_0x44ae1a[_0x8eabe4(0x12b)]),_0x1599b7=_0x22334b[_0x8eabe4(0x124)]();if(!_0x1599b7||!_0x1599b7['isRunning']())return null;const _0x1866f8=_0x1599b7['getAccessibilityModule']&&_0x1599b7[_0x8eabe4(0x117)]();if(!_0x1866f8)return null;if(_0x44ae1a['YhePc'](typeof _0x1866f8['getScriptByName'],_0x44ae1a['ezOId']))return null;const _0x5b245f=_0x1866f8[_0x8eabe4(0x11d)](_0x41b4cc);if(!_0x5b245f||!_0x5b245f[_0x8eabe4(0x12a)])return logger['debug'](_0x8eabe4(0x11b)+_0x41b4cc+_0x8eabe4(0x12d)),null;const _0x1775f5=await _0x2231bb[_0x8eabe4(0x131)](_0x5b245f[_0x8eabe4(0x12a)],_0x44ae1a['upZGI'](_0x3e16f9,{}));logger[_0x8eabe4(0x13a)]('[a11y-runner]\x20'+_0x41b4cc+_0x8eabe4(0x136)+JSON[_0x8eabe4(0x12e)](_0x1775f5));try{const _0x49130b=AUTOMATION_LOG_COMMANDS[_0x8eabe4(0x130)](_0x1346fa=>_0x5b245f[_0x8eabe4(0x12a)]['includes'](_0x1346fa));if(_0x49130b){const _0x2a1072={};_0x2a1072[_0x8eabe4(0x121)]=_0x1775f5,automationLogger[_0x8eabe4(0x132)]('['+new Date()['toISOString']()+_0x8eabe4(0x112)+JSON[_0x8eabe4(0x12e)]({'request':{'command':_0x49130b,'parameters':[_0x44ae1a[_0x8eabe4(0x13c)](_0x3e16f9,{})]},'response':_0x2a1072}));}}catch(_0x1d2914){logger['debug'](util[_0x8eabe4(0x12c)](_0x44ae1a['RsTGL'],_0x41b4cc,_0x1d2914));}return _0x1775f5;}catch(_0x206395){return logger[_0x8eabe4(0x13a)](util[_0x8eabe4(0x12c)](_0x44ae1a[_0x8eabe4(0x133)],_0x41b4cc,_0x206395)),null;}}function _argsFor(_0x158f6f,_0x594e34,_0x2b6042,_0x21b7d5){const _0x12bc56=a69_0x2ccc71,_0x5416a2={'PTYVW':function(_0xf2d27,_0x388a0d){return _0xf2d27(_0x388a0d);},'ccwvU':_0x12bc56(0x111),'Nmfvm':function(_0x5c272d,_0xff022b){return _0x5c272d===_0xff022b;},'wKuYK':_0x12bc56(0x11a),'HTBNS':_0x12bc56(0x126),'jOsLE':function(_0x2218ef,_0x45ff00){return _0x2218ef||_0x45ff00;},'HGMFY':function(_0x4b73cf,_0x4f78e6){return _0x4b73cf||_0x4f78e6;}},_0x45b876=_0x5416a2[_0x12bc56(0x128)](require,_0x5416a2['ccwvU']),_0x17d0f2=_0x45b876[_0x12bc56(0x124)](),_0x3c110d=_0x17d0f2&&_0x17d0f2['getAccessibilityModule']&&_0x17d0f2['getAccessibilityModule']();let _0x52905d='';const _0x2f9e02=process[_0x12bc56(0x10f)][_0x12bc56(0x123)]||'';try{_0x3c110d&&_0x5416a2['Nmfvm'](typeof _0x3c110d['getCapabilityValue'],_0x5416a2['wKuYK'])&&(_0x52905d=_0x3c110d[_0x12bc56(0x125)](_0x5416a2['HTBNS'])||'');}catch(_0x3ab8dd){}return{'thTestRunUuid':_0x5416a2[_0x12bc56(0x13b)](_0x594e34,''),'thBuildUuid':_0x52905d,'thJwtToken':_0x2f9e02,'is_mobile_session':!!_0x21b7d5,'commandName':_0x5416a2[_0x12bc56(0x122)](_0x2b6042,_0x158f6f)};}function a69_0x2b1a(_0xc5b67b,_0x1fe1b5){const _0x5c6338=a69_0x5c63();return a69_0x2b1a=function(_0x2b1a9e,_0xcc77ed){_0x2b1a9e=_0x2b1a9e-0x10f;let _0x30798f=_0x5c6338[_0x2b1a9e];return _0x30798f;},a69_0x2b1a(_0xc5b67b,_0x1fe1b5);}exports[a69_0x2ccc71(0x115)]=async(_0x2788f5,_0x2944e4,_0x249538,_0x5e78de)=>{const _0x505e0b=a69_0x2ccc71,_0x41a8ae={'gSHIG':function(_0x4b1c73,_0x44dc11,_0x9c0c0e,_0x7de671,_0x46749b){return _0x4b1c73(_0x44dc11,_0x9c0c0e,_0x7de671,_0x46749b);},'xqlcp':_0x505e0b(0x120)},_0x119a89=_0x41a8ae['gSHIG'](_argsFor,_0x41a8ae['xqlcp'],_0x2944e4,_0x249538,_0x5e78de);return _0x41a8ae['gSHIG'](_run,_0x41a8ae['xqlcp'],_0x2788f5,_0x2944e4,_0x119a89);},exports[a69_0x2ccc71(0x114)]=async(_0x1e2dba,_0x230c36,_0x1efeaf)=>{const _0x4f9fa1=a69_0x2ccc71,_0x2959a={'rsscC':function(_0x2758c9,_0x553f5d,_0x117248,_0x518e9b,_0x1a3e4c){return _0x2758c9(_0x553f5d,_0x117248,_0x518e9b,_0x1a3e4c);},'TstXX':'saveResults'},_0x496093=_0x2959a[_0x4f9fa1(0x137)](_argsFor,_0x2959a[_0x4f9fa1(0x139)],_0x230c36,_0x2959a[_0x4f9fa1(0x139)],_0x1efeaf);return _0x2959a[_0x4f9fa1(0x137)](_run,_0x2959a[_0x4f9fa1(0x139)],_0x1e2dba,_0x230c36,_0x496093);};
|