browserstack-node-sdk 1.60.0 → 1.60.1
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/ai-sdk-node/bundle.js +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/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/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/builderPatch.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/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/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/newmanTestFramework.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/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/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.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/timeoutPromise.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
|
-
function
|
|
1
|
+
function a57_0x43cf(){const _0x10dd1f=['POST','debug','../../helpers/helper','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','Setting\x20session\x20id\x20received\x20from\x20BS\x20','setupBrowserDetails','LmxKF','browserName','format','Uqroh','ERtRs','version','SPlRF','../utils/constants','Error\x20in\x20setupBrowserDetails:\x20','608155cIXcsj','onmessage','786MNFWvZ','isRunning','_connection','parse','apply','fromEntries','function','fFIZu','WDFus','giEfe','zkaBr','mWSST','unknown_grid','PLAYWRIGHT_DISPATCH','ewxAA','result','includes','local_grid','8mdTIcc','capabilities','BSTACK_URL','Error\x20in\x20patchConnection:\x20','string','message','chrome','arKdI','bsParams','platformDetails','788221FLzDXB','path','../v2/state/hookState.js','toString','getDetails','url','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','heQyo','getAutomationFramework','test','product','ZlyPb','wVRKc','platform_version','assign','bStackParams','automate','1711170pQUdVT','browserstack','platformVersion','AopzB','ATS_WSS_URL_REGEX','23464SztxxZ','connection','turboscale','query','trackEvent','../v2/browserstackCLI','currentSessionDetails','../../helpers/test-observability/utils','patchConnection','params','browser','../v2/state/automationFrameworkState.js','../../helpers/logger','platformName','2139600QFQdfc','utHko','getInstance','BSTACK_ATS_URL','browser_version','sessionError','platform','ZmTOh','2848ibEmby','exports','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','688878MSCVBS','sessionId','cloudProvider','vKWVE','_bstackPatched','winstonLogger'];a57_0x43cf=function(){return _0x10dd1f;};return a57_0x43cf();}const a57_0x1bb1bd=a57_0x56ec;(function(_0x1b025d,_0x181b0a){const _0x20f98f=a57_0x56ec,_0x166cfb=_0x1b025d();while(!![]){try{const _0x534462=-parseInt(_0x20f98f(0x8e))/0x1+-parseInt(_0x20f98f(0xa7))/0x2+parseInt(_0x20f98f(0xbe))/0x3*(parseInt(_0x20f98f(0xa4))/0x4)+parseInt(_0x20f98f(0xbc))/0x5+parseInt(_0x20f98f(0x9c))/0x6+parseInt(_0x20f98f(0x78))/0x7*(parseInt(_0x20f98f(0xd0))/0x8)+-parseInt(_0x20f98f(0x89))/0x9;if(_0x534462===_0x181b0a)break;else _0x166cfb['push'](_0x166cfb['shift']());}catch(_0x5b1e0f){_0x166cfb['push'](_0x166cfb['shift']());}}}(a57_0x43cf,0x358d1));const path=require(a57_0x1bb1bd(0x79)),url=require(a57_0x1bb1bd(0x7d)),util=require('util'),{nestedKeyValue,isFalse}=require(a57_0x1bb1bd(0xaf)),{debug,getPlatformDetails}=require(a57_0x1bb1bd(0x95)),logger=require(a57_0x1bb1bd(0x9a))[a57_0x1bb1bd(0xac)],constants=require(a57_0x1bb1bd(0xba)),BrowserstackCLI=require(a57_0x1bb1bd(0x93)),AutomationFrameworkState=require(a57_0x1bb1bd(0x99)),HookState=require(a57_0x1bb1bd(0x7a)),getBrowserFromWSEndpoint=_0x537887=>{const _0x1575f4=a57_0x1bb1bd,_0x18c934={'BllHE':_0x1575f4(0x74),'zkaBr':function(_0x4812ae,_0x151e1b){return _0x4812ae(_0x151e1b);}};try{const _0x425254=url[_0x1575f4(0xc1)](_0x537887),_0x43b57b=new URLSearchParams(_0x425254[_0x1575f4(0x91)]),_0x3e3b3d=Object[_0x1575f4(0xc3)](_0x43b57b['entries']()),_0x51bc6a=JSON[_0x1575f4(0xc1)](_0x3e3b3d['caps']);if(_0x51bc6a&&(_0x51bc6a['browser']||_0x51bc6a[_0x1575f4(0xb4)]))return _0x51bc6a[_0x1575f4(0x98)]||_0x51bc6a[_0x1575f4(0xb4)];return _0x18c934['BllHE'];}catch(_0x2d8d3f){_0x18c934[_0x1575f4(0xc8)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x2d8d3f['toString']());}},getCloudProviderFromWsEndpoint=_0x5dd100=>{const _0x327d77=a57_0x1bb1bd,_0x46e4aa={};_0x46e4aa[_0x327d77(0x84)]='browserstack',_0x46e4aa[_0x327d77(0xc9)]=_0x327d77(0xca);const _0x1327e0=_0x46e4aa;if(_0x5dd100['includes'](constants[_0x327d77(0xd2)])||_0x5dd100[_0x327d77(0xce)](constants[_0x327d77(0x9f)]))return _0x1327e0[_0x327d77(0x84)];return _0x1327e0[_0x327d77(0xc9)];},a57_0xdeff98={};a57_0xdeff98[a57_0x1bb1bd(0xa9)]=undefined,a57_0xdeff98['bsSessionId']=undefined,a57_0xdeff98[a57_0x1bb1bd(0x98)]=undefined,a57_0xdeff98[a57_0x1bb1bd(0xa0)]=undefined,a57_0xdeff98[a57_0x1bb1bd(0xa2)]=undefined,a57_0xdeff98['platform_version']=undefined,a57_0xdeff98[a57_0x1bb1bd(0x82)]=undefined,a57_0xdeff98[a57_0x1bb1bd(0xd1)]={};class PuppeteerSessionDetails{static ['currentSessionDetails']=a57_0xdeff98;constructor(){const _0x50d5bb=a57_0x1bb1bd,_0x1c8ce2={};_0x1c8ce2[_0x50d5bb(0xc7)]=_0x50d5bb(0xa6);const _0x48d1c3=_0x1c8ce2;throw new Error(_0x48d1c3['giEfe']);}static [a57_0x1bb1bd(0xa1)]=null;static async[a57_0x1bb1bd(0xb2)](_0x389117,_0x30cb85){const _0x16ead3=a57_0x1bb1bd,_0x6ab013={'SPlRF':_0x16ead3(0x74),'heQyo':function(_0x158ec0,_0x2b9d40){return _0x158ec0===_0x2b9d40;},'ddOAB':_0x16ead3(0xc4),'ZmTOh':_0x16ead3(0xcf),'arKdI':function(_0x5a7848,_0x5a7756){return _0x5a7848(_0x5a7756);},'Uqroh':_0x16ead3(0x8a),'utHko':_0x16ead3(0x90),'WDFus':_0x16ead3(0x88),'ERtRs':function(_0xe7e378,_0x3c22a1){return _0xe7e378(_0x3c22a1);},'ewxAA':function(_0x2cb592){return _0x2cb592();},'fFIZu':function(_0xb5093a){return _0xb5093a();}};try{let _0x40a679=_0x6ab013[_0x16ead3(0xb9)],_0x55ddb6=null;_0x389117&&_0x6ab013['heQyo'](typeof _0x389117[_0x16ead3(0xb8)],_0x6ab013['ddOAB'])&&(_0x55ddb6=await _0x389117[_0x16ead3(0xb8)]());let _0x45dadb=null,_0x15a3f2=null,_0x46aa4e=null,_0x3cde59=_0x6ab013[_0x16ead3(0xa3)];if(_0x30cb85){_0x3cde59=_0x6ab013['arKdI'](getCloudProviderFromWsEndpoint,_0x30cb85);if(_0x6ab013[_0x16ead3(0x7f)](_0x3cde59,_0x6ab013[_0x16ead3(0xb6)]))_0x46aa4e=constants[_0x16ead3(0x8d)]?constants[_0x16ead3(0x8d)][_0x16ead3(0x81)](_0x30cb85)?_0x6ab013[_0x16ead3(0x9d)]:_0x6ab013[_0x16ead3(0xc6)]:_0x6ab013[_0x16ead3(0xc6)],_0x40a679=_0x6ab013[_0x16ead3(0xb7)](getBrowserFromWSEndpoint,_0x30cb85)||_0x40a679,_0x45dadb=this[_0x16ead3(0x94)][_0x16ead3(0xa2)],_0x15a3f2=this['currentSessionDetails'][_0x16ead3(0x85)];else{const _0x46b05e=await _0x6ab013[_0x16ead3(0xcc)](getPlatformDetails);_0x45dadb=_0x46b05e[_0x16ead3(0x9b)],_0x15a3f2=_0x46b05e[_0x16ead3(0x8b)];}}else{const _0x56170c=await _0x6ab013[_0x16ead3(0xc5)](getPlatformDetails);_0x45dadb=_0x56170c['platformName'],_0x15a3f2=_0x56170c[_0x16ead3(0x8b)];}const _0x5b3622={};_0x5b3622[_0x16ead3(0x98)]=_0x40a679,_0x5b3622['browser_version']=_0x55ddb6,_0x5b3622[_0x16ead3(0xd1)]={},_0x5b3622[_0x16ead3(0xa2)]=_0x45dadb,_0x5b3622[_0x16ead3(0x85)]=_0x15a3f2,_0x5b3622[_0x16ead3(0x82)]=_0x46aa4e;const _0x2bb998=_0x5b3622,_0x1afdde={};_0x1afdde[_0x16ead3(0xa9)]=_0x3cde59,this[_0x16ead3(0x94)]=Object[_0x16ead3(0x86)]({},this[_0x16ead3(0x94)],_0x1afdde,_0x2bb998);}catch(_0x36aaed){_0x6ab013[_0x16ead3(0x75)](debug,_0x16ead3(0xbb)+util[_0x16ead3(0xb5)](_0x36aaed)),this['sessionError']=_0x36aaed[_0x16ead3(0x7b)]();}}static[a57_0x1bb1bd(0x96)](_0x4d0a3c){const _0x376229=a57_0x1bb1bd,_0x168cf3={'AopzB':function(_0x5413d7,_0x2842d8){return _0x5413d7===_0x2842d8;},'vKWVE':_0x376229(0xd4),'ZlyPb':function(_0x584764,_0x5418b8){return _0x584764(_0x5418b8);},'LmxKF':_0x376229(0x7e)},_0x241b63=this;try{const _0x3ff681=_0x4d0a3c[_0x376229(0xc0)]||_0x4d0a3c[_0x376229(0x8f)];if(!_0x3ff681||_0x3ff681[_0x376229(0xab)])return;const _0x29bcc0=_0x3ff681[_0x376229(0xbd)];_0x3ff681[_0x376229(0xbd)]=function(_0x39a7f0){const _0x53228f=_0x376229;try{const _0x4534a8=_0x168cf3[_0x53228f(0x8c)](typeof _0x39a7f0,_0x168cf3[_0x53228f(0xaa)])?JSON['parse'](_0x39a7f0):_0x39a7f0,_0x1a7669=_0x4534a8?.[_0x53228f(0x87)]||_0x4534a8?.[_0x53228f(0x76)]||_0x4534a8?.[_0x53228f(0x97)]?.[_0x53228f(0x76)]||_0x4534a8?.[_0x53228f(0x97)]?.['bStackParams']||_0x4534a8?.[_0x53228f(0xcd)]?.['bsParams']||_0x4534a8?.[_0x53228f(0xcd)]?.['bStackParams'];if(_0x1a7669){if(BrowserstackCLI[_0x53228f(0x9e)]()[_0x53228f(0xbf)]()){const _0x4b637c={};_0x4b637c[_0x53228f(0x73)]=_0x4534a8,BrowserstackCLI[_0x53228f(0x9e)]()[_0x53228f(0x80)]()[_0x53228f(0x92)](AutomationFrameworkState[_0x53228f(0xcb)],HookState[_0x53228f(0xad)],_0x4b637c);}else{const _0x1e847c=_0x1a7669[_0x53228f(0xa8)],_0x3a3d63=_0x1a7669[_0x53228f(0x77)];_0x3a3d63&&(_0x168cf3[_0x53228f(0x83)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+JSON['stringify'](_0x3a3d63)),_0x241b63['currentSessionDetails'][_0x53228f(0xa2)]=_0x3a3d63[_0x53228f(0x9b)],_0x241b63[_0x53228f(0x94)]['platform_version']=_0x3a3d63[_0x53228f(0x8b)]),_0x1e847c&&(_0x168cf3[_0x53228f(0x83)](debug,_0x53228f(0xb1)+_0x1e847c),_0x241b63[_0x53228f(0x94)]['bsSessionId']=_0x1e847c);}_0x168cf3[_0x53228f(0x8c)](typeof _0x39a7f0,_0x168cf3[_0x53228f(0xaa)])&&(delete _0x4534a8[_0x53228f(0x87)],delete _0x4534a8[_0x53228f(0x76)],_0x4534a8['params']&&(delete _0x4534a8[_0x53228f(0x97)][_0x53228f(0x76)],delete _0x4534a8[_0x53228f(0x97)][_0x53228f(0x87)]),_0x4534a8[_0x53228f(0xcd)]&&(delete _0x4534a8[_0x53228f(0xcd)][_0x53228f(0x76)],delete _0x4534a8[_0x53228f(0xcd)][_0x53228f(0x87)]));}}catch(_0x3f7b16){_0x168cf3[_0x53228f(0x83)](debug,_0x53228f(0xb0)+_0x3f7b16['message']);}return _0x29bcc0?.[_0x53228f(0xc2)](this,arguments);},_0x3ff681[_0x376229(0xab)]=!![],logger[_0x376229(0xae)](_0x168cf3[_0x376229(0xb3)]);}catch(_0x49169d){_0x168cf3['ZlyPb'](debug,_0x376229(0xd3)+util[_0x376229(0xb5)](_0x49169d)),_0x241b63[_0x376229(0xa1)]=_0x49169d[_0x376229(0x7b)]();}}static[a57_0x1bb1bd(0x7c)](){return this['currentSessionDetails'];}}function a57_0x56ec(_0x26de79,_0x388c43){const _0x43cf5d=a57_0x43cf();return a57_0x56ec=function(_0x56ec38,_0x276cee){_0x56ec38=_0x56ec38-0x73;let _0x399d2e=_0x43cf5d[_0x56ec38];return _0x399d2e;},a57_0x56ec(_0x26de79,_0x388c43);}module[a57_0x1bb1bd(0xa5)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0xb307b9=a58_0x5da3;(function(_0x35733e,_0x2731e5){const _0x4d70e7=a58_0x5da3,_0x58c34e=_0x35733e();while(!![]){try{const _0x2c8866=parseInt(_0x4d70e7(0x1e6))/0x1+parseInt(_0x4d70e7(0x1ce))/0x2*(-parseInt(_0x4d70e7(0x1c5))/0x3)+parseInt(_0x4d70e7(0x1d1))/0x4*(parseInt(_0x4d70e7(0x1c4))/0x5)+parseInt(_0x4d70e7(0x1be))/0x6*(-parseInt(_0x4d70e7(0x1e5))/0x7)+-parseInt(_0x4d70e7(0x1d0))/0x8+parseInt(_0x4d70e7(0x1c0))/0x9+parseInt(_0x4d70e7(0x1e2))/0xa*(parseInt(_0x4d70e7(0x1d4))/0xb);if(_0x2c8866===_0x2731e5)break;else _0x58c34e['push'](_0x58c34e['shift']());}catch(_0x598a8a){_0x58c34e['push'](_0x58c34e['shift']());}}}(a58_0x13c0,0xaa687));const {isTrue,isBrowserstackInfra}=require(a58_0xb307b9(0x1c7)),setKeepAlive=require(a58_0xb307b9(0x1cd)),util=require(a58_0xb307b9(0x1c9)),logger=require(a58_0xb307b9(0x1d7))[a58_0xb307b9(0x1bd)],{shouldProcessEventForTesthub}=require(a58_0xb307b9(0x1dd)),{addRequestSpy}=require(a58_0xb307b9(0x1ca)),a58_0x3f3054={};function a58_0x13c0(){const _0x4d7489=['569020RFelGZ','catch','winstonLogger','258bRUXfn','setFrameworkDetail','7635042lhaQCf','skipSessionName','../v2/cliUtils','format','5WdhemW','51QnLKgq','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../helpers/helper','testInfo','util','../../helpers/test-observability/utils','initializePuppeteerPatching','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','../../helpers/setKeepAlive','45804AetMep','bootstrap','5470672nfBuob','307756HCbVyv','debug','skipSessionStatus','3059573OQtsdS','o11ySyncDone','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','../../helpers/logger','../utils/constants','__skipSessionStatus','puppeteer-core','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','currentTest','../../helpers/testhub/utils','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','env','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','getPackageVersion','60dTNpmL','__skipSessionName','jestConfig','226604VTqUaB'];a58_0x13c0=function(){return _0x4d7489;};return a58_0x13c0();}a58_0x3f3054['workerInfo']=undefined,a58_0x3f3054[a58_0xb307b9(0x1dc)]={},a58_0x3f3054[a58_0xb307b9(0x1d5)]=![],a58_0x3f3054['pwPage']=null,a58_0x3f3054['isPageFixture']=![],a58_0x3f3054[a58_0xb307b9(0x1dc)]['id']=undefined,a58_0x3f3054[a58_0xb307b9(0x1dc)][a58_0xb307b9(0x1c8)]=undefined;const workerDetails=a58_0x3f3054;function a58_0x5da3(_0x560d60,_0x4630ee){const _0x13c0f9=a58_0x13c0();return a58_0x5da3=function(_0x5da376,_0x1b5c35){_0x5da376=_0x5da376-0x1bc;let _0x4c6b10=_0x13c0f9[_0x5da376];return _0x4c6b10;},a58_0x5da3(_0x560d60,_0x4630ee);}global['__workerDetails']=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a58_0xb307b9(0x1e4)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a58_0xb307b9(0x1e4)]?.[a58_0xb307b9(0x1c1)]),global[a58_0xb307b9(0x1d9)]=isTrue(global[a58_0xb307b9(0x1e4)]?.[a58_0xb307b9(0x1d3)])):(global[a58_0xb307b9(0x1e3)]=!![],global[a58_0xb307b9(0x1d9)]=!![]);const helper=require(a58_0xb307b9(0x1c7)),puppeteerVersion=helper[a58_0xb307b9(0x1e1)]('puppeteer')||helper[a58_0xb307b9(0x1e1)](a58_0xb307b9(0x1da));if(puppeteerVersion)try{logger[a58_0xb307b9(0x1d2)]('[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a58_0xb307b9(0x1cb)](global[a58_0xb307b9(0x1e4)]),logger[a58_0xb307b9(0x1d2)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a58_0x1dcefc){logger[a58_0xb307b9(0x1d2)](a58_0xb307b9(0x1de)+util[a58_0xb307b9(0x1c3)](a58_0x1dcefc));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a58_0xb307b9(0x1c2)),{FRAMEWORKS}=require(a58_0xb307b9(0x1d8));BrowserstackCLI['getInstance']()['isCliEnabled']()&&(logger['debug'](a58_0xb307b9(0x1e0)),process[a58_0xb307b9(0x1df)]['BROWSERSTACK_PUPPETEER']='true',CLIUtils[a58_0xb307b9(0x1bf)](FRAMEWORKS['JEST'],FRAMEWORKS['PUPPETEER']),BrowserstackCLI['getInstance']()[a58_0xb307b9(0x1cf)]()[a58_0xb307b9(0x1bc)](_0xfafd04=>{const _0xf934cb=a58_0xb307b9;logger[_0xf934cb(0x1d2)](_0xf934cb(0x1db)+util[_0xf934cb(0x1c3)](_0xfafd04));}));}catch(a58_0x48a4cd){logger[a58_0xb307b9(0x1d2)](a58_0xb307b9(0x1c6)+util[a58_0xb307b9(0x1c3)](a58_0x48a4cd));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a58_0x2fb34b){logger[a58_0xb307b9(0x1d2)](a58_0xb307b9(0x1d6)+util[a58_0xb307b9(0x1c3)](a58_0x2fb34b));}logger[a58_0xb307b9(0x1d2)](a58_0xb307b9(0x1cc));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a59_0x3abfcc=a59_0x5a7d;(function(_0x46b13a,_0x39e43d){const _0x244145=a59_0x5a7d,_0x44db84=_0x46b13a();while(!![]){try{const _0x555f7f=parseInt(_0x244145(0x23e))/0x1+-parseInt(_0x244145(0x242))/0x2*(parseInt(_0x244145(0x1ed))/0x3)+parseInt(_0x244145(0x1c9))/0x4*(parseInt(_0x244145(0x232))/0x5)+-parseInt(_0x244145(0x24f))/0x6*(parseInt(_0x244145(0x1e7))/0x7)+parseInt(_0x244145(0x20c))/0x8*(-parseInt(_0x244145(0x1fb))/0x9)+parseInt(_0x244145(0x240))/0xa*(parseInt(_0x244145(0x226))/0xb)+parseInt(_0x244145(0x1c7))/0xc;if(_0x555f7f===_0x39e43d)break;else _0x44db84['push'](_0x44db84['shift']());}catch(_0x1d9bf2){_0x44db84['push'](_0x44db84['shift']());}}}(a59_0x4d2a,0x4f13f));const fs=require('fs'),path=require(a59_0x3abfcc(0x1dc)),util=require(a59_0x3abfcc(0x1d0)),spawn=require(a59_0x3abfcc(0x21b))[a59_0x3abfcc(0x24d)],{requireModule}=require(a59_0x3abfcc(0x1b8)),PerformanceTester=require(a59_0x3abfcc(0x1a5)),PerformanceEvents=require(a59_0x3abfcc(0x1b1))[a59_0x3abfcc(0x222)],helper=require(a59_0x3abfcc(0x1b8)),utilities=require(a59_0x3abfcc(0x1b9)),{default:BrowserStackSetup}=require(a59_0x3abfcc(0x227)),{FRAMEWORKS}=require(a59_0x3abfcc(0x1c2)),runIntegrations=require('./integrations/command'),yargs=require(a59_0x3abfcc(0x1c5)),Constants=require(a59_0x3abfcc(0x231)),BrowserstackCLI=require(a59_0x3abfcc(0x21f)),{isNewman}=require(a59_0x3abfcc(0x225)),logger=require('../helpers/logger')[a59_0x3abfcc(0x1c1)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x2336f7,_0x50758d,_0xead32,_0x4dd66c=null,_0x4392a4=![])=>{const _0x24f8c6=a59_0x3abfcc,_0x408640={'dxzQD':function(_0x4c9a94,_0x1e39a2,_0x3fb9c5,_0x1fb442){return _0x4c9a94(_0x1e39a2,_0x3fb9c5,_0x1fb442);},'orhgR':_0x24f8c6(0x22d)};try{logger['info'](_0x24f8c6(0x1e6)+origArgs[_0x24f8c6(0x200)]('\x20')),await _0x408640[_0x24f8c6(0x24b)](_0x2336f7,_0x50758d,_0x4dd66c,_0xead32);}catch(_0x49726a){process['exitCode']=0x1,logger['error'](util[_0x24f8c6(0x1dd)](_0x49726a));const _0x35d6aa={'globalException':util[_0x24f8c6(0x1dd)]('%j',_0x49726a)};PerformanceTester[_0x24f8c6(0x1a6)](PerformanceEvents[_0x24f8c6(0x1ba)],![],util[_0x24f8c6(0x1dd)](_0x49726a));if(helper[_0x24f8c6(0x228)](global['config'])&&helper[_0x24f8c6(0x228)](global[_0x24f8c6(0x1bf)]))return;try{utilities[_0x24f8c6(0x252)](_0x408640[_0x24f8c6(0x1f2)],_0x35d6aa,global['config'],global[_0x24f8c6(0x1bf)]);}catch(_0x4cc34e){logger[_0x24f8c6(0x1e9)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x4cc34e[_0x24f8c6(0x237)]);}try{await helper['sendLogs'](global[_0x24f8c6(0x1d9)]);}catch(_0x3011fe){logger['debug'](_0x24f8c6(0x236)+_0x3011fe[_0x24f8c6(0x237)]);}PerformanceTester['end'](PerformanceEvents[_0x24f8c6(0x1ba)],![],util[_0x24f8c6(0x1dd)](_0x49726a));}finally{!_0x4392a4&&await BrowserstackCLI[_0x24f8c6(0x209)]()[_0x24f8c6(0x1bb)](),PerformanceTester['start'](PerformanceEvents[_0x24f8c6(0x202)]);}};try{const browserstackFolderPath=path[a59_0x3abfcc(0x200)](helper['homedir'](),a59_0x3abfcc(0x1b7));if(fs[a59_0x3abfcc(0x1c6)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a59_0x3abfcc(0x1c3));fs[a59_0x3abfcc(0x1c6)](filePath)&&fs[a59_0x3abfcc(0x247)](filePath);}}catch(a59_0x365172){logger[a59_0x3abfcc(0x1e9)](a59_0x3abfcc(0x1ec)+a59_0x365172[a59_0x3abfcc(0x1a9)]);}process[a59_0x3abfcc(0x1af)]['includes']('mocha')&&(!process[a59_0x3abfcc(0x1af)][a59_0x3abfcc(0x23f)]('--opts')&&process[a59_0x3abfcc(0x1af)][a59_0x3abfcc(0x1c8)]('--no-opts'),!process[a59_0x3abfcc(0x1af)]['find'](_0x5048e4=>_0x5048e4['includes']('--config'))&&process[a59_0x3abfcc(0x1af)][a59_0x3abfcc(0x1c8)]('--no-config'),!process['argv'][a59_0x3abfcc(0x23f)]('--package')&&process[a59_0x3abfcc(0x1af)]['push'](a59_0x3abfcc(0x249)),helper['findAndReplace'](process['argv'],'--require',a59_0x3abfcc(0x234)));PerformanceTester[a59_0x3abfcc(0x23c)](PerformanceEvents[a59_0x3abfcc(0x1ba)]);function a59_0x5a7d(_0x41a308,_0x59c546){const _0x4d2a2e=a59_0x4d2a();return a59_0x5a7d=function(_0x5a7d62,_0x17e8b4){_0x5a7d62=_0x5a7d62-0x1a5;let _0x2a539a=_0x4d2a2e[_0x5a7d62];return _0x2a539a;},a59_0x5a7d(_0x41a308,_0x59c546);}function a59_0x4d2a(){const _0x53733b=['testcafe','yfhSq','EVENTS','jasmine','PLAYWRIGHT','./newman/helper','3101802ivJngy','../helpers/BrowserStackSetup','isUndefined','pw:channel','env','hTZpL','vanilla','SDKTestSuccessful','disableAutoCaptureLogs','pw:*','JIcLC','./utils/constants','985sqytbS','mocha','--mochaRequire','RXRYD','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','stack','option','getConfigPath','TCcGd','jOaXf','start','IZomG','440050rbuCdv','includes','10weumSQ','NggkP','4bbSObr','pOmCg','usage','slice','demandCommand','unlinkSync','MOCHA','--no-package','MjwFg','dxzQD','qwSPg','spawn','ESrow','131142anRRFD','nightwatch','mvpQu','fireFunnelTestEvent','error','./newman/command','../helpers/performance/performance-tester','end','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','command','message','dlcOu','HELP','./jasmine/command','Parsing\x20command\x20line\x20arguments','describe','argv','GuYwK','../helpers/performance/constants','Vxgsc','dot-notation','playwright','tRnzZ','-pw:channel','.browserstack','../helpers/helper','../helpers/utilities','SDK_SETUP','stop','DEBUG','CODECEPTJS','rhLaW','framework','setBrowserStackAutomationDisable','winstonLogger','../helpers/test-observability/constants','.local-not-set.json','split','yargs','existsSync','6120564EJxYql','push','8208XulFqj','-pw:*','aXIvs','NEWMAN','Show\x20help','xxtav','some','util','WZHUh','pQWFB','./jest/command','usage:\x20$0\x20<command>\x20[args]','dcvtr','YZDQr','NETcq','../../ats/src/index','config','IOOQY','rnQDI','path','format','JASMINE','IIheq','newman','boolean','Runs\x20the\x20binary\x20with\x20load\x20command','alias','aIeSS','mocha/lib/cli/commands.js','Running\x20SDK\x20with\x20args\x20','161MoGGHH','ats','debug','cCuGk','MNlkS','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','539424RyfTDv','LQYoH','SzVdg','version','NKiaV','orhgR','FyIwT','help','integrations','./testcafe/command','CZrmX','UCcFm','strict','EZbIP','189VIovaS','uxMiI','INTEGRATIONS','jUNBu','INFO','join','XjCFD','SDK_CLEANUP','./vanilla-js/command','uFFjb','./load/index','./mocha/command','kpniV','TESTCAFE','getInstance','HwemT','exitProcess','171464OoIcRl','WxoJr','parserConfiguration','codeceptjs','agLyT','setTestObservabilityDisable','CUCUMBER','HST','VANILLA','./playwright/command','load\x20[subcommand]','jest','BROWSERSTACK_CONFIG_FILE_PATH','node','cucumber-js','child_process','NIGHTWATCH','JEST','getPwChannelLogPath','./v2/browserstackCLI'];a59_0x4d2a=function(){return _0x53733b;};return a59_0x4d2a();}const a59_0x3e1ac3={};a59_0x3e1ac3[a59_0x3abfcc(0x1b3)]=![];const argv=yargs[a59_0x3abfcc(0x20e)](a59_0x3e1ac3)[a59_0x3abfcc(0x244)](a59_0x3abfcc(0x1d4))[a59_0x3abfcc(0x1e3)]('v',a59_0x3abfcc(0x1f0))[a59_0x3abfcc(0x1ae)]('v')[a59_0x3abfcc(0x1e3)]('h',a59_0x3abfcc(0x1f4))[a59_0x3abfcc(0x1f4)]('help')['showHelpOnFail'](!![],Constants['VERSION'][a59_0x3abfcc(0x1ab)])['command'](a59_0x3abfcc(0x217),Constants[a59_0x3abfcc(0x21d)][a59_0x3abfcc(0x1ff)],function(_0x349a87){const _0x2f6136=a59_0x3abfcc,_0x4dceb3={'LIyTy':'jest','jUNBu':function(_0x2e630c,_0x158b7c,_0x2de539,_0x39e1bc,_0x26e81b,_0x2a072a){return _0x2e630c(_0x158b7c,_0x2de539,_0x39e1bc,_0x26e81b,_0x2a072a);},'MjwFg':function(_0x119452,_0x1de1a9){return _0x119452(_0x1de1a9);},'CZrmX':_0x2f6136(0x1d3)},_0x50928d=process[_0x2f6136(0x1af)][_0x2f6136(0x245)](0x2);helper[_0x2f6136(0x211)](),helper['setBrowserStackAutomationDisable'](),_0x349a87[_0x2f6136(0x1f9)](![]);const _0x49644e=new BrowserStackSetup(_0x349a87[_0x2f6136(0x1af)],_0x4dceb3['LIyTy']);return _0x4dceb3[_0x2f6136(0x1fe)](captureError,_0x4dceb3[_0x2f6136(0x24a)](require,_0x4dceb3[_0x2f6136(0x1f7)]),_0x349a87[_0x2f6136(0x1af)],_0x49644e,_0x50928d,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x223),Constants[a59_0x3abfcc(0x1de)][a59_0x3abfcc(0x1ff)],function(_0x3b95c3){const _0x588222=a59_0x3abfcc,_0x188d40={'fBFzb':_0x588222(0x223),'WxoJr':function(_0x3d099f,_0x5e0ffb,_0x220c5a,_0x7d42a3,_0x167653,_0x22801a){return _0x3d099f(_0x5e0ffb,_0x220c5a,_0x7d42a3,_0x167653,_0x22801a);},'TCcGd':function(_0x2b297f,_0x11b133){return _0x2b297f(_0x11b133);},'jOaXf':_0x588222(0x1ac)},_0x473ba8=process['argv'][_0x588222(0x245)](0x2);helper[_0x588222(0x211)](),helper[_0x588222(0x1c0)](),_0x3b95c3[_0x588222(0x1f9)](![]);const _0x2af61d=new BrowserStackSetup(_0x3b95c3[_0x588222(0x1af)],_0x188d40['fBFzb']);return _0x188d40[_0x588222(0x20d)](captureError,_0x188d40[_0x588222(0x23a)](require,_0x188d40[_0x588222(0x23b)]),_0x3b95c3[_0x588222(0x1af)],_0x2af61d,_0x473ba8,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x233),Constants[a59_0x3abfcc(0x248)][a59_0x3abfcc(0x1ff)],_0x4b8c74=>{const _0x4d4fbd=a59_0x3abfcc,_0x80c253={'NETcq':function(_0x7c97ca,_0x2f0819,_0x5ac437,_0x4edf3e){return _0x7c97ca(_0x2f0819,_0x5ac437,_0x4edf3e);},'SsFqp':function(_0x4fd803,_0x51cea2){return _0x4fd803(_0x51cea2);},'tpNfx':_0x4d4fbd(0x206),'aXIvs':_0x4d4fbd(0x233),'rhLaW':_0x4d4fbd(0x1ad),'agLyT':function(_0x40f033,_0x4d6d1e,_0x44bfc0){return _0x40f033(_0x4d6d1e,_0x44bfc0);},'WZHUh':'mocha/lib/cli/run.js','dcvtr':function(_0x4ff35b,_0x1bd372,_0x300caf){return _0x4ff35b(_0x1bd372,_0x300caf);},'NggkP':_0x4d4fbd(0x1e5),'RCCuf':function(_0x14f196,_0x49d28a,_0x4b377f){return _0x14f196(_0x49d28a,_0x4b377f);},'uxMiI':'mocha/lib/cli/cli.js','ObpPZ':function(_0x2064e4){return _0x2064e4();}};process[_0x4d4fbd(0x1af)]=process[_0x4d4fbd(0x1af)][_0x4d4fbd(0x245)](0x1),helper['setTestObservabilityDisable'](),helper[_0x4d4fbd(0x1c0)]();const _0x2f8e82=new BrowserStackSetup(_0x4b8c74[_0x4d4fbd(0x1af)],_0x80c253[_0x4d4fbd(0x1cb)]);logger[_0x4d4fbd(0x1e9)](_0x80c253[_0x4d4fbd(0x1be)]);const _0x405a3d=_0x80c253[_0x4d4fbd(0x210)](requireModule,_0x80c253[_0x4d4fbd(0x1d1)],_0x80c253[_0x4d4fbd(0x1cb)]),_0x53c731=_0x80c253[_0x4d4fbd(0x1d5)](requireModule,_0x80c253[_0x4d4fbd(0x241)],_0x80c253[_0x4d4fbd(0x1cb)]);delete _0x405a3d['handler'],_0x405a3d['handler']=function(_0xc50ba1){const _0x573c86=_0x4d4fbd;return _0x80c253[_0x573c86(0x1d7)](captureError,_0x80c253['SsFqp'](require,_0x80c253['tpNfx']),_0xc50ba1,_0x2f8e82);},_0x53c731['run']=_0x405a3d;const {main:_0x1758ef}=_0x80c253['RCCuf'](requireModule,_0x80c253[_0x4d4fbd(0x1fc)],_0x80c253[_0x4d4fbd(0x1cb)]);_0x80c253['ObpPZ'](_0x1758ef);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x21a),Constants[a59_0x3abfcc(0x212)][a59_0x3abfcc(0x1ff)],function(_0x3bd110){const _0x5e2707=a59_0x3abfcc,_0x115a12={'FyIwT':_0x5e2707(0x21a),'EtvCR':function(_0x54c6a8,_0x20bc02,_0x1f3ca1,_0xb63740,_0x4936ec,_0x3d97ce){return _0x54c6a8(_0x20bc02,_0x1f3ca1,_0xb63740,_0x4936ec,_0x3d97ce);},'IZomG':function(_0x4f81d6,_0x882dd9){return _0x4f81d6(_0x882dd9);},'RXRYD':'./cucumber-js/command'},_0x492a90=process[_0x5e2707(0x1af)][_0x5e2707(0x245)](0x2),_0x4f90d9=new BrowserStackSetup(_0x3bd110['argv'],_0x115a12[_0x5e2707(0x1f3)]);return _0x115a12['EtvCR'](captureError,_0x115a12[_0x5e2707(0x23d)](require,_0x115a12[_0x5e2707(0x235)]),_0x3bd110[_0x5e2707(0x1af)],_0x4f90d9,_0x492a90,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x219),Constants[a59_0x3abfcc(0x214)]['INFO'],function(_0x41b68c){const _0x2b7120=a59_0x3abfcc,_0x4f9ee={'wtBjK':_0x2b7120(0x22c),'dlcOu':function(_0x355165,_0x25c5b5){return _0x355165(_0x25c5b5);},'Vxgsc':_0x2b7120(0x1e0),'ZgSqi':function(_0x216b5a,_0x10a406,_0x1f6b05,_0x2f4180,_0x13b68f){return _0x216b5a(_0x10a406,_0x1f6b05,_0x2f4180,_0x13b68f);},'ESrow':_0x2b7120(0x254),'hTZpL':function(_0x22ef44,_0x293cf1){return _0x22ef44(_0x293cf1);},'yfhSq':_0x2b7120(0x203)},_0x3589ab=process[_0x2b7120(0x1af)][_0x2b7120(0x245)](0x2),_0x654c2b=new BrowserStackSetup(_0x41b68c[_0x2b7120(0x1af)],_0x4f9ee['wtBjK']),_0xc584d2=_0x654c2b?_0x654c2b[_0x2b7120(0x1d9)]:null;if(_0x4f9ee[_0x2b7120(0x1aa)](isNewman,_0xc584d2))return _0x654c2b['framework']=_0x4f9ee[_0x2b7120(0x1b2)],global['framework']=_0x4f9ee[_0x2b7120(0x1b2)],_0x4f9ee['ZgSqi'](captureError,_0x4f9ee[_0x2b7120(0x1aa)](require,_0x4f9ee[_0x2b7120(0x24e)]),_0x41b68c['argv'],_0x654c2b,_0x3589ab);return _0x4f9ee['ZgSqi'](captureError,_0x4f9ee[_0x2b7120(0x22b)](require,_0x4f9ee[_0x2b7120(0x221)]),_0x41b68c[_0x2b7120(0x1af)],_0x654c2b,_0x3589ab);})['command'](a59_0x3abfcc(0x250),Constants[a59_0x3abfcc(0x21c)][a59_0x3abfcc(0x1ff)],function(_0x63d8ff){const _0x5b3d4c=a59_0x3abfcc,_0x1281a4={'bDasi':_0x5b3d4c(0x250),'EZbIP':function(_0x2b948e,_0x4573ff,_0x55ad19,_0x16a1f6,_0x5aea33){return _0x2b948e(_0x4573ff,_0x55ad19,_0x16a1f6,_0x5aea33);},'YZDQr':function(_0x3bc020,_0x3f0c9b){return _0x3bc020(_0x3f0c9b);},'uFFjb':'./nightwatch/command'},_0x32532a=process[_0x5b3d4c(0x1af)]['slice'](0x2),_0xbee366=new BrowserStackSetup(_0x63d8ff[_0x5b3d4c(0x1af)],_0x1281a4['bDasi']);return _0x1281a4[_0x5b3d4c(0x1fa)](captureError,_0x1281a4[_0x5b3d4c(0x1d6)](require,_0x1281a4[_0x5b3d4c(0x204)]),_0x63d8ff['argv'],_0xbee366,_0x32532a);})['command'](a59_0x3abfcc(0x20f),Constants[a59_0x3abfcc(0x1bd)][a59_0x3abfcc(0x1ff)],function(_0x296de1){const _0x573ae3=a59_0x3abfcc,_0x36e71a={'MNlkS':_0x573ae3(0x20f),'rnQDI':function(_0x18a092,_0x139d0f,_0x1fba90,_0x2a0276,_0x3a80b4){return _0x18a092(_0x139d0f,_0x1fba90,_0x2a0276,_0x3a80b4);},'IIheq':function(_0x52b433,_0x2dcfcf){return _0x52b433(_0x2dcfcf);},'pOmCg':'./codeceptjs/command'},_0x501fb4=process[_0x573ae3(0x1af)][_0x573ae3(0x245)](0x2),_0x46b3ef=new BrowserStackSetup(_0x296de1['argv'],_0x36e71a[_0x573ae3(0x1eb)]);return _0x36e71a[_0x573ae3(0x1db)](captureError,_0x36e71a[_0x573ae3(0x1df)](require,_0x36e71a[_0x573ae3(0x243)]),_0x296de1[_0x573ae3(0x1af)],_0x46b3ef,_0x501fb4);})['command'](a59_0x3abfcc(0x1e8),Constants[a59_0x3abfcc(0x213)][a59_0x3abfcc(0x1ff)],function(_0x1c3193){const _0x588206=a59_0x3abfcc,_0x2c2f3e={'JIcLC':function(_0x1eacd9,_0x4230ef,_0x3728fb){return _0x1eacd9(_0x4230ef,_0x3728fb);},'puTOb':function(_0x112d60,_0x1c9eaf){return _0x112d60(_0x1c9eaf);},'QwElX':_0x588206(0x1d8)},_0x21bc08=process[_0x588206(0x1af)][_0x588206(0x245)](0x2);return _0x2c2f3e[_0x588206(0x230)](captureError,_0x2c2f3e['puTOb'](require,_0x2c2f3e['QwElX']),_0x1c3193);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x1f5),Constants[a59_0x3abfcc(0x1fd)][a59_0x3abfcc(0x1ff)],function(_0x340326){const _0xb7eb4c=a59_0x3abfcc,_0x1fd713={'HwemT':function(_0x421c7e,_0x2c5d21){return _0x421c7e(_0x2c5d21);}};return _0x1fd713[_0xb7eb4c(0x20a)](runIntegrations,_0x340326);})['command'](a59_0x3abfcc(0x1b4),Constants['PLAYWRIGHT'][a59_0x3abfcc(0x1ff)],function(_0x5dab55){const _0x473532=a59_0x3abfcc,_0x15b9e3={'UCcFm':_0x473532(0x229),'aIeSS':function(_0x562a20,_0x537e37){return _0x562a20&&_0x537e37;},'xxtav':function(_0x5083d2,_0x5e2fcb,_0xe2bd80,_0x3af194,_0x2f77dd,_0xaeab95){return _0x5083d2(_0x5e2fcb,_0xe2bd80,_0x3af194,_0x2f77dd,_0xaeab95);},'cCuGk':function(_0x1acbb5,_0x52e70f){return _0x1acbb5(_0x52e70f);},'EkVFt':_0x473532(0x215)},_0x22cc06=process[_0x473532(0x1af)][_0x473532(0x245)](0x2);helper['getConfigPath'](process[_0x473532(0x1af)])&&(process[_0x473532(0x22a)][_0x473532(0x218)]=helper[_0x473532(0x239)](process[_0x473532(0x1af)]));helper['setTestObservabilityDisable'](),helper[_0x473532(0x1c0)]();const _0xefa344=new BrowserStackSetup(_0x5dab55['argv'],FRAMEWORKS[_0x473532(0x224)]);try{if(!_0xefa344[_0x473532(0x1d9)]||!_0xefa344[_0x473532(0x1d9)][_0x473532(0x22e)]){const _0x5652aa=_0x15b9e3[_0x473532(0x1f8)],_0x56b098=process[_0x473532(0x22a)][_0x473532(0x1bc)]||'',_0x460e3b=_0x56b098[_0x473532(0x1c4)](',')['map'](_0x1f8152=>_0x1f8152['trim']())['filter'](Boolean),_0x56c865=_0x460e3b[_0x473532(0x1cf)](_0x2da97f=>_0x2da97f===_0x473532(0x1b6)||_0x2da97f===_0x473532(0x1ca)||_0x2da97f==='-*'),_0x1bffe5=_0x460e3b[_0x473532(0x1cf)](_0x4a129b=>_0x4a129b===_0x5652aa||_0x4a129b===_0x473532(0x22f)||_0x4a129b==='*');if(_0x15b9e3[_0x473532(0x1e4)](!_0x56c865,!_0x1bffe5)){const _0x9d6450=helper[_0x473532(0x21e)]();_0x9d6450&&(process[_0x473532(0x22a)]['DEBUG']=_0x56b098?_0x56b098+','+_0x5652aa:_0x5652aa,!process[_0x473532(0x22a)]['DEBUG_FILE']&&(process[_0x473532(0x22a)]['DEBUG_FILE']=_0x9d6450));}}}catch(_0x7f531f){logger['debug']('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x473532(0x1dd)](_0x7f531f));}return _0x15b9e3[_0x473532(0x1ce)](captureError,_0x15b9e3[_0x473532(0x1ea)](require,_0x15b9e3['EkVFt']),_0x5dab55[_0x473532(0x1af)],_0xefa344,_0x22cc06,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x220),Constants[a59_0x3abfcc(0x208)]['INFO'],function(_0x469681){const _0x5c587e=a59_0x3abfcc,_0x1a7c02={'pQWFB':_0x5c587e(0x220),'xEvjC':function(_0x6e8a4f,_0x334a5e,_0x5b0977,_0x3c22e4,_0x22c8f5,_0x189bee){return _0x6e8a4f(_0x334a5e,_0x5b0977,_0x3c22e4,_0x22c8f5,_0x189bee);},'NKiaV':function(_0xa0e4e7,_0x45d70d){return _0xa0e4e7(_0x45d70d);},'kpniV':_0x5c587e(0x1f6)},_0x166e23=process[_0x5c587e(0x1af)][_0x5c587e(0x245)](0x2),_0x39fa36=new BrowserStackSetup(_0x469681[_0x5c587e(0x1af)],_0x1a7c02[_0x5c587e(0x1d2)]);return _0x1a7c02['xEvjC'](captureError,_0x1a7c02[_0x5c587e(0x1f1)](require,_0x1a7c02[_0x5c587e(0x207)]),_0x469681[_0x5c587e(0x1af)],_0x39fa36,_0x166e23,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x216),a59_0x3abfcc(0x1e2),function(_0x19a36e){const _0x138db9=a59_0x3abfcc,_0x20bf1e={};_0x20bf1e[_0x138db9(0x1da)]=_0x138db9(0x1f4),_0x20bf1e['GuYwK']=_0x138db9(0x1e1),_0x20bf1e[_0x138db9(0x1b5)]=_0x138db9(0x1cd);const _0x2a7adb=_0x20bf1e;return _0x19a36e['help'](![])[_0x138db9(0x238)](_0x2a7adb[_0x138db9(0x1da)],{'alias':'h','type':_0x2a7adb[_0x138db9(0x1b0)],'describe':_0x2a7adb[_0x138db9(0x1b5)]})[_0x138db9(0x1f9)](![])[_0x138db9(0x20b)](![]);},function(_0x10c0e5){const _0xaab8c9=a59_0x3abfcc,_0x76caff={'mvpQu':function(_0x2492f3,_0x155099,_0x2775ac){return _0x2492f3(_0x155099,_0x2775ac);},'nLYys':function(_0x521bff,_0x4e49ba){return _0x521bff(_0x4e49ba);},'LQYoH':_0xaab8c9(0x205)},_0x1cccd1={};return _0x1cccd1[_0xaab8c9(0x1af)]=_0x10c0e5,_0x76caff[_0xaab8c9(0x251)](captureError,_0x76caff['nLYys'](require,_0x76caff[_0xaab8c9(0x1ee)]),_0x1cccd1);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x1e0),Constants[a59_0x3abfcc(0x1cc)][a59_0x3abfcc(0x1ff)],function(_0x2b394d){const _0x4353ee=a59_0x3abfcc,_0x3cc0b7={'XjCFD':'newman','qwSPg':function(_0x16c696,_0x40a81a,_0x2b9aaa,_0x2bef31,_0x56f5d8){return _0x16c696(_0x40a81a,_0x2b9aaa,_0x2bef31,_0x56f5d8);},'VFtdC':function(_0x5b928d,_0x104152){return _0x5b928d(_0x104152);},'SzVdg':_0x4353ee(0x254)},_0x9f7fd=process['argv'][_0x4353ee(0x245)](0x2);helper[_0x4353ee(0x211)](),helper[_0x4353ee(0x1c0)](),_0x2b394d[_0x4353ee(0x1f9)](![]);const _0x443cc0=new BrowserStackSetup(_0x2b394d[_0x4353ee(0x1af)],_0x3cc0b7[_0x4353ee(0x201)]);return _0x3cc0b7[_0x4353ee(0x24c)](captureError,_0x3cc0b7['VFtdC'](require,_0x3cc0b7[_0x4353ee(0x1ef)]),_0x2b394d[_0x4353ee(0x1af)],_0x443cc0,_0x9f7fd);})[a59_0x3abfcc(0x246)](0x1,a59_0x3abfcc(0x1a7))['wrap'](null)[a59_0x3abfcc(0x1af)];!helper[a59_0x3abfcc(0x228)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a59_0x3abfcc(0x1e8)&&console[a59_0x3abfcc(0x253)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a59_0x2e6192=a59_0x5026;function a59_0x418b(){const _0x1d048f=['../helpers/BrowserStackSetup','parserConfiguration','TEclU','version','12EdvyDY','./newman/helper','filter','SDK_SETUP','playwright','./nightwatch/command','1788076zUJiLs','.browserstack','--opts','alias','split','DipYg','Miecj','command','lWNik','PLAYWRIGHT','ZfRcQ','Ohnnh','trim','118345ScuVcw','../helpers/helper','includes','Cxfhf','ESkZj','boolean','../helpers/performance/performance-tester','--mochaRequire','ukyYD','./newman/command','format','iMssS','error','SWVKb','slice','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','existsSync','eghbw','VANILLA','option','HST','../helpers/utilities','some','node','ByUig','INFO','SaIzu','fireFunnelTestEvent','exitProcess','opZgW','demandCommand','setBrowserStackAutomationDisable','DEBUG','czFpA','newman','describe','push','sendLogs','find','jxFMq','nightwatch','mocha/lib/cli/cli.js','handler','WixfN','McaWp','load\x20[subcommand]','pw:channel','cucumber-js','mJThE','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','help','vanilla','--no-package','stack','sSMdR','qSlZj','11612152rUYfnK','pw:channel\x20auto-capture\x20seed\x20failed:\x20','asKov','PhDuy','PhSWl','--no-opts','../helpers/performance/constants','9541824OXVrjl','CUCUMBER','vMLSD','rdZLf','PSPIZ','UmqZG','VERSION','Ofxzr','wrap','jest','Runs\x20the\x20binary\x20with\x20load\x20command','NIGHTWATCH','dot-notation','bGdDZ','oDGXS','../helpers/logger','mocha/lib/cli/run.js','Show\x20help','HELP','--no-config','qFwNP','HAEwr','TESTCAFE','13235964jzyGZp','RYHBf','setTestObservabilityDisable','--package','getConfigPath','./v2/browserstackCLI','join','GbuoG','lDrWV','./load/index','yBbVb','WICqA','erEFJ','qrHIF','argv','integrations','assign','exitCode','dYuJY','lEWcC','VstoN','EVENTS','tWRoK','../helpers/test-observability/constants','env','debug','./jasmine/command','./cucumber-js/command','KactN','strict','JASMINE','./jest/command','./codeceptjs/command','jasmine','usage','enDHs','unlinkSync','VLgDT','config','REPyF','7328940VHSxWX','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getPwChannelLogPath','showHelpOnFail','DEBUG_FILE','ats','usage:\x20$0\x20<command>\x20[args]','pw:*','start','disableAutoCaptureLogs','./utils/constants','-pw:channel','yargs','framework','2989170oFSeMB','./mocha/command','.local-not-set.json','Parsing\x20command\x20line\x20arguments','testcafe','winstonLogger','NEWMAN','iOPEg','util','message','FqaPZ','gnpre','mocha','isUndefined','map','end','SDKTestSuccessful'];a59_0x418b=function(){return _0x1d048f;};return a59_0x418b();}(function(_0x8262cc,_0x42eb2a){const _0x212dd5=a59_0x5026,_0x2a900e=_0x8262cc();while(!![]){try{const _0x2f2eea=parseInt(_0x212dd5(0x17f))/0x1+-parseInt(_0x212dd5(0x157))/0x2+-parseInt(_0x212dd5(0x16c))/0x3*(-parseInt(_0x212dd5(0x172))/0x4)+-parseInt(_0x212dd5(0x149))/0x5+parseInt(_0x212dd5(0x10a))/0x6+parseInt(_0x212dd5(0x121))/0x7+-parseInt(_0x212dd5(0x103))/0x8;if(_0x2f2eea===_0x42eb2a)break;else _0x2a900e['push'](_0x2a900e['shift']());}catch(_0x190bf2){_0x2a900e['push'](_0x2a900e['shift']());}}}(a59_0x418b,0xee345));const fs=require('fs'),path=require('path'),util=require(a59_0x2e6192(0x15f)),spawn=require('child_process')['spawn'],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a59_0x2e6192(0x185)),PerformanceEvents=require(a59_0x2e6192(0x109))[a59_0x2e6192(0x136)],helper=require(a59_0x2e6192(0x180)),utilities=require(a59_0x2e6192(0x194)),{default:BrowserStackSetup}=require(a59_0x2e6192(0x168)),{FRAMEWORKS}=require(a59_0x2e6192(0x138)),runIntegrations=require('./integrations/command'),yargs=require(a59_0x2e6192(0x155)),Constants=require(a59_0x2e6192(0x153)),BrowserstackCLI=require(a59_0x2e6192(0x126)),{isNewman}=require(a59_0x2e6192(0x16d)),logger=require(a59_0x2e6192(0x119))[a59_0x2e6192(0x15c)],origArgs=Object[a59_0x2e6192(0x131)]([],process[a59_0x2e6192(0x12f)]),captureError=async(_0x47c46c,_0x5417a1,_0x236d3d,_0x4bac0c=null,_0x52c17e=![])=>{const _0x43b2c4=a59_0x2e6192,_0x227217={'McaWp':function(_0x1bd602,_0x4fd8e8,_0x1f747e,_0x2ae79d){return _0x1bd602(_0x4fd8e8,_0x1f747e,_0x2ae79d);},'iOPEg':_0x43b2c4(0x167)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x227217[_0x43b2c4(0xf7)](_0x47c46c,_0x5417a1,_0x4bac0c,_0x236d3d);}catch(_0x375dca){process[_0x43b2c4(0x132)]=0x1,logger[_0x43b2c4(0x18b)](util[_0x43b2c4(0x189)](_0x375dca));const _0x4d5039={'globalException':util[_0x43b2c4(0x189)]('%j',_0x375dca)};PerformanceTester[_0x43b2c4(0x166)](PerformanceEvents[_0x43b2c4(0x16f)],![],util[_0x43b2c4(0x189)](_0x375dca));if(helper['isUndefined'](global[_0x43b2c4(0x147)])&&helper[_0x43b2c4(0x164)](global[_0x43b2c4(0x156)]))return;try{utilities[_0x43b2c4(0x19a)](_0x227217[_0x43b2c4(0x15e)],_0x4d5039,global[_0x43b2c4(0x147)],global[_0x43b2c4(0x156)]);}catch(_0x11c9da){logger[_0x43b2c4(0x13a)](_0x43b2c4(0x14a)+_0x11c9da['stack']);}try{await helper[_0x43b2c4(0x1a4)](global['config']);}catch(_0x5ac67d){logger[_0x43b2c4(0x13a)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x5ac67d[_0x43b2c4(0x100)]);}PerformanceTester[_0x43b2c4(0x166)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x375dca));}finally{!_0x52c17e&&await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x43b2c4(0x151)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a59_0x2e6192(0x127)](helper['homedir'](),a59_0x2e6192(0x173));if(fs['existsSync'](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a59_0x2e6192(0x159));fs[a59_0x2e6192(0x18f)](filePath)&&fs[a59_0x2e6192(0x145)](filePath);}}catch(a59_0x16ad3f){logger[a59_0x2e6192(0x13a)](a59_0x2e6192(0xfc)+a59_0x16ad3f[a59_0x2e6192(0x160)]);}process[a59_0x2e6192(0x12f)][a59_0x2e6192(0x181)](a59_0x2e6192(0x163))&&(!process['argv']['includes'](a59_0x2e6192(0x174))&&process[a59_0x2e6192(0x12f)][a59_0x2e6192(0x1a3)](a59_0x2e6192(0x108)),!process['argv'][a59_0x2e6192(0x1a5)](_0x41a951=>_0x41a951[a59_0x2e6192(0x181)]('--config'))&&process['argv'][a59_0x2e6192(0x1a3)](a59_0x2e6192(0x11d)),!process['argv']['includes'](a59_0x2e6192(0x124))&&process[a59_0x2e6192(0x12f)]['push'](a59_0x2e6192(0xff)),helper['findAndReplace'](process[a59_0x2e6192(0x12f)],'--require',a59_0x2e6192(0x186)));PerformanceTester[a59_0x2e6192(0x151)](PerformanceEvents[a59_0x2e6192(0x16f)]);function a59_0x5026(_0x862375,_0x3dfb75){const _0x418b22=a59_0x418b();return a59_0x5026=function(_0x5026ff,_0x5bd968){_0x5026ff=_0x5026ff-0xf3;let _0x3b6f52=_0x418b22[_0x5026ff];return _0x3b6f52;},a59_0x5026(_0x862375,_0x3dfb75);}const a59_0xd83c98={};a59_0xd83c98[a59_0x2e6192(0x116)]=![];const argv=yargs[a59_0x2e6192(0x169)](a59_0xd83c98)[a59_0x2e6192(0x143)](a59_0x2e6192(0x14f))['alias']('v',a59_0x2e6192(0x16b))[a59_0x2e6192(0x1a2)]('v')[a59_0x2e6192(0x175)]('h','help')[a59_0x2e6192(0xfd)](a59_0x2e6192(0xfd))[a59_0x2e6192(0x14c)](!![],Constants[a59_0x2e6192(0x110)][a59_0x2e6192(0x11c)])[a59_0x2e6192(0x179)](a59_0x2e6192(0x113),Constants['JEST']['INFO'],function(_0x231261){const _0xcf7b32=a59_0x2e6192,_0x335bb0={'gxofK':_0xcf7b32(0x113),'GHghH':function(_0x1e6f08,_0x3561fd,_0x5d8657,_0x31b5eb,_0x34ce52,_0x3a3cf6){return _0x1e6f08(_0x3561fd,_0x5d8657,_0x31b5eb,_0x34ce52,_0x3a3cf6);},'QOcpx':function(_0x58ae7d,_0x21c09b){return _0x58ae7d(_0x21c09b);},'NmcRh':_0xcf7b32(0x140)},_0x5956f7=process[_0xcf7b32(0x12f)][_0xcf7b32(0x18d)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x231261[_0xcf7b32(0x13e)](![]);const _0x480fd3=new BrowserStackSetup(_0x231261['argv'],_0x335bb0['gxofK']);return _0x335bb0['GHghH'](captureError,_0x335bb0['QOcpx'](require,_0x335bb0['NmcRh']),_0x231261[_0xcf7b32(0x12f)],_0x480fd3,_0x5956f7,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x142),Constants[a59_0x2e6192(0x13f)]['INFO'],function(_0x4a96ce){const _0x2f0912=a59_0x2e6192,_0x22f8e3={'lWNik':_0x2f0912(0x142),'nXGZZ':function(_0x4a96c0,_0x182c8b,_0xe9d46,_0x174307,_0x370c69,_0x47581a){return _0x4a96c0(_0x182c8b,_0xe9d46,_0x174307,_0x370c69,_0x47581a);},'DipYg':function(_0x523bb4,_0x151c94){return _0x523bb4(_0x151c94);},'asKov':_0x2f0912(0x13b)},_0x55b430=process[_0x2f0912(0x12f)]['slice'](0x2);helper[_0x2f0912(0x123)](),helper[_0x2f0912(0x19e)](),_0x4a96ce[_0x2f0912(0x13e)](![]);const _0x3bfd64=new BrowserStackSetup(_0x4a96ce['argv'],_0x22f8e3[_0x2f0912(0x17a)]);return _0x22f8e3['nXGZZ'](captureError,_0x22f8e3[_0x2f0912(0x177)](require,_0x22f8e3[_0x2f0912(0x105)]),_0x4a96ce[_0x2f0912(0x12f)],_0x3bfd64,_0x55b430,!![]);})[a59_0x2e6192(0x179)]('mocha',Constants['MOCHA'][a59_0x2e6192(0x198)],_0x3be459=>{const _0x2f1f3a=a59_0x2e6192,_0x326359={'WICqA':function(_0x3ce3d5,_0x26a3d9,_0x439022,_0x854626){return _0x3ce3d5(_0x26a3d9,_0x439022,_0x854626);},'PhDuy':function(_0x458ee7,_0x2f64a4){return _0x458ee7(_0x2f64a4);},'Ofxzr':_0x2f1f3a(0x158),'REPyF':_0x2f1f3a(0x163),'EssEE':_0x2f1f3a(0x15a),'KactN':function(_0x51c676,_0x89c7fc,_0x76f99f){return _0x51c676(_0x89c7fc,_0x76f99f);},'PSPIZ':_0x2f1f3a(0x11a),'qrHIF':'mocha/lib/cli/commands.js','enDHs':function(_0x39a26b,_0x4f84b1,_0x178f62){return _0x39a26b(_0x4f84b1,_0x178f62);},'ByUig':_0x2f1f3a(0xf4),'Cxfhf':function(_0xa13682){return _0xa13682();}};process[_0x2f1f3a(0x12f)]=process[_0x2f1f3a(0x12f)][_0x2f1f3a(0x18d)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4b0d35=new BrowserStackSetup(_0x3be459[_0x2f1f3a(0x12f)],_0x326359[_0x2f1f3a(0x148)]);logger[_0x2f1f3a(0x13a)](_0x326359['EssEE']);const _0x418bc4=_0x326359[_0x2f1f3a(0x13d)](requireModule,_0x326359[_0x2f1f3a(0x10e)],_0x326359[_0x2f1f3a(0x148)]),_0x1e1bc4=_0x326359[_0x2f1f3a(0x13d)](requireModule,_0x326359[_0x2f1f3a(0x12e)],_0x326359['REPyF']);delete _0x418bc4[_0x2f1f3a(0xf5)],_0x418bc4['handler']=function(_0x2c2a89){const _0x43b296=_0x2f1f3a;return _0x326359[_0x43b296(0x12c)](captureError,_0x326359[_0x43b296(0x106)](require,_0x326359[_0x43b296(0x111)]),_0x2c2a89,_0x4b0d35);},_0x1e1bc4['run']=_0x418bc4;const {main:_0x26582f}=_0x326359[_0x2f1f3a(0x144)](requireModule,_0x326359[_0x2f1f3a(0x197)],_0x326359['REPyF']);_0x326359[_0x2f1f3a(0x182)](_0x26582f);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xfa),Constants[a59_0x2e6192(0x10b)][a59_0x2e6192(0x198)],function(_0x11105d){const _0x2a7fa9=a59_0x2e6192,_0x28a2e9={'HAEwr':_0x2a7fa9(0xfa),'jxFMq':function(_0x47868b,_0xd4a0ab,_0x62ee05,_0x5d8160,_0x4d3e01,_0x2413ee){return _0x47868b(_0xd4a0ab,_0x62ee05,_0x5d8160,_0x4d3e01,_0x2413ee);},'qFwNP':function(_0x62bd65,_0xc6816d){return _0x62bd65(_0xc6816d);},'ukyYD':_0x2a7fa9(0x13c)},_0x25b07e=process[_0x2a7fa9(0x12f)][_0x2a7fa9(0x18d)](0x2),_0x131747=new BrowserStackSetup(_0x11105d['argv'],_0x28a2e9[_0x2a7fa9(0x11f)]);return _0x28a2e9[_0x2a7fa9(0x1a6)](captureError,_0x28a2e9[_0x2a7fa9(0x11e)](require,_0x28a2e9[_0x2a7fa9(0x187)]),_0x11105d[_0x2a7fa9(0x12f)],_0x131747,_0x25b07e,!![]);})['command'](a59_0x2e6192(0x196),Constants[a59_0x2e6192(0x191)]['INFO'],function(_0x59bac3){const _0x23c7fe=a59_0x2e6192,_0x69afd8={'lDrWV':_0x23c7fe(0xfe),'bGdDZ':function(_0x33891e,_0x1d4f4f){return _0x33891e(_0x1d4f4f);},'WixfN':_0x23c7fe(0x1a1),'iMssS':function(_0x5c19f9,_0xead445,_0x12cf22,_0x404c0e,_0x190741){return _0x5c19f9(_0xead445,_0x12cf22,_0x404c0e,_0x190741);},'mJThE':_0x23c7fe(0x188),'VstoN':function(_0x4f18cb,_0xce6a34){return _0x4f18cb(_0xce6a34);},'lEWcC':'./vanilla-js/command'},_0x2ddaef=process['argv'][_0x23c7fe(0x18d)](0x2),_0x9ef5d7=new BrowserStackSetup(_0x59bac3[_0x23c7fe(0x12f)],_0x69afd8[_0x23c7fe(0x129)]),_0x2b1f6a=_0x9ef5d7?_0x9ef5d7['config']:null;if(_0x69afd8[_0x23c7fe(0x117)](isNewman,_0x2b1f6a))return _0x9ef5d7[_0x23c7fe(0x156)]=_0x69afd8[_0x23c7fe(0xf6)],global[_0x23c7fe(0x156)]=_0x69afd8[_0x23c7fe(0xf6)],_0x69afd8[_0x23c7fe(0x18a)](captureError,_0x69afd8[_0x23c7fe(0x117)](require,_0x69afd8[_0x23c7fe(0xfb)]),_0x59bac3[_0x23c7fe(0x12f)],_0x9ef5d7,_0x2ddaef);return _0x69afd8[_0x23c7fe(0x18a)](captureError,_0x69afd8[_0x23c7fe(0x135)](require,_0x69afd8[_0x23c7fe(0x134)]),_0x59bac3[_0x23c7fe(0x12f)],_0x9ef5d7,_0x2ddaef);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xf3),Constants[a59_0x2e6192(0x115)][a59_0x2e6192(0x198)],function(_0x177939){const _0x3b8e55=a59_0x2e6192,_0x46264f={'opZgW':'nightwatch','czFpA':function(_0x1f15fa,_0x4c4afe,_0x5e4cfc,_0x3ff9af,_0x437aa1){return _0x1f15fa(_0x4c4afe,_0x5e4cfc,_0x3ff9af,_0x437aa1);},'Ohnnh':function(_0x2b4bdf,_0x24cc8a){return _0x2b4bdf(_0x24cc8a);},'dYuJY':_0x3b8e55(0x171)},_0x143181=process['argv'][_0x3b8e55(0x18d)](0x2),_0x25d9a4=new BrowserStackSetup(_0x177939['argv'],_0x46264f[_0x3b8e55(0x19c)]);return _0x46264f[_0x3b8e55(0x1a0)](captureError,_0x46264f[_0x3b8e55(0x17d)](require,_0x46264f[_0x3b8e55(0x133)]),_0x177939[_0x3b8e55(0x12f)],_0x25d9a4,_0x143181);})['command']('codeceptjs',Constants['CODECEPTJS'][a59_0x2e6192(0x198)],function(_0x3bacb3){const _0x341de4=a59_0x2e6192,_0x5a84a4={'sSMdR':'codeceptjs','GilZm':function(_0x14137c,_0x3e4505,_0x1773b4,_0xa31fc7,_0x8a1386){return _0x14137c(_0x3e4505,_0x1773b4,_0xa31fc7,_0x8a1386);},'FqaPZ':function(_0x206351,_0x38a5a3){return _0x206351(_0x38a5a3);},'SWVKb':_0x341de4(0x141)},_0x4afd8f=process[_0x341de4(0x12f)][_0x341de4(0x18d)](0x2),_0x55677f=new BrowserStackSetup(_0x3bacb3['argv'],_0x5a84a4[_0x341de4(0x101)]);return _0x5a84a4['GilZm'](captureError,_0x5a84a4[_0x341de4(0x161)](require,_0x5a84a4[_0x341de4(0x18c)]),_0x3bacb3[_0x341de4(0x12f)],_0x55677f,_0x4afd8f);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x14e),Constants[a59_0x2e6192(0x193)][a59_0x2e6192(0x198)],function(_0x4735b3){const _0x2afdf8=a59_0x2e6192,_0x514d69={'ESkZj':function(_0x1f1b9d,_0xb7b40,_0x50f6ec){return _0x1f1b9d(_0xb7b40,_0x50f6ec);},'YLBOy':function(_0x1b9c83,_0x1fa4a6){return _0x1b9c83(_0x1fa4a6);},'BvYrn':'../../ats/src/index'},_0x22b8c4=process[_0x2afdf8(0x12f)][_0x2afdf8(0x18d)](0x2);return _0x514d69[_0x2afdf8(0x183)](captureError,_0x514d69['YLBOy'](require,_0x514d69['BvYrn']),_0x4735b3);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x130),Constants['INTEGRATIONS'][a59_0x2e6192(0x198)],function(_0x2ea00c){const _0x2daa72=a59_0x2e6192,_0x2c3c8e={'RYHBf':function(_0x78e9de,_0x15cfed){return _0x78e9de(_0x15cfed);}};return _0x2c3c8e[_0x2daa72(0x122)](runIntegrations,_0x2ea00c);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x170),Constants[a59_0x2e6192(0x17b)][a59_0x2e6192(0x198)],function(_0x2d2aab){const _0x219053=a59_0x2e6192,_0x3950ad={'CEBIJ':_0x219053(0xf9),'UmqZG':function(_0x41c2f1,_0x538580){return _0x41c2f1&&_0x538580;},'tWRoK':function(_0x4eb150,_0x6828ee,_0x150de4,_0x903618,_0x35965b,_0x46f5d1){return _0x4eb150(_0x6828ee,_0x150de4,_0x903618,_0x35965b,_0x46f5d1);},'qSlZj':function(_0x169c9b,_0x3dbb77){return _0x169c9b(_0x3dbb77);},'yBbVb':'./playwright/command'},_0x376070=process[_0x219053(0x12f)][_0x219053(0x18d)](0x2);helper[_0x219053(0x125)](process[_0x219053(0x12f)])&&(process[_0x219053(0x139)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x219053(0x125)](process[_0x219053(0x12f)]));helper[_0x219053(0x123)](),helper['setBrowserStackAutomationDisable']();const _0x1728a4=new BrowserStackSetup(_0x2d2aab[_0x219053(0x12f)],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x1728a4[_0x219053(0x147)]||!_0x1728a4[_0x219053(0x147)][_0x219053(0x152)]){const _0x45e404=_0x3950ad['CEBIJ'],_0x345aae=process[_0x219053(0x139)]['DEBUG']||'',_0x4c5ba4=_0x345aae[_0x219053(0x176)](',')[_0x219053(0x165)](_0x599510=>_0x599510[_0x219053(0x17e)]())[_0x219053(0x16e)](Boolean),_0x1dcf9f=_0x4c5ba4[_0x219053(0x195)](_0xee1983=>_0xee1983===_0x219053(0x154)||_0xee1983==='-pw:*'||_0xee1983==='-*'),_0x2f579a=_0x4c5ba4[_0x219053(0x195)](_0x256cb0=>_0x256cb0===_0x45e404||_0x256cb0===_0x219053(0x150)||_0x256cb0==='*');if(_0x3950ad[_0x219053(0x10f)](!_0x1dcf9f,!_0x2f579a)){const _0x419e3b=helper[_0x219053(0x14b)]();_0x419e3b&&(process[_0x219053(0x139)][_0x219053(0x19f)]=_0x345aae?_0x345aae+','+_0x45e404:_0x45e404,!process[_0x219053(0x139)][_0x219053(0x14d)]&&(process[_0x219053(0x139)][_0x219053(0x14d)]=_0x419e3b));}}}catch(_0x4d9dca){logger['debug'](_0x219053(0x104)+util[_0x219053(0x189)](_0x4d9dca));}return _0x3950ad[_0x219053(0x137)](captureError,_0x3950ad[_0x219053(0x102)](require,_0x3950ad[_0x219053(0x12b)]),_0x2d2aab[_0x219053(0x12f)],_0x1728a4,_0x376070,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x15b),Constants[a59_0x2e6192(0x120)][a59_0x2e6192(0x198)],function(_0x28ec36){const _0x3653bf=a59_0x2e6192,_0x4a07df={'vMLSD':_0x3653bf(0x15b),'GbuoG':function(_0x221288,_0x489de6,_0x25526a,_0x12ad0c,_0x29fcb9,_0x5da441){return _0x221288(_0x489de6,_0x25526a,_0x12ad0c,_0x29fcb9,_0x5da441);},'TEclU':function(_0x2f3e0e,_0x321907){return _0x2f3e0e(_0x321907);},'SaIzu':'./testcafe/command'},_0x5c11b2=process[_0x3653bf(0x12f)]['slice'](0x2),_0x13934d=new BrowserStackSetup(_0x28ec36['argv'],_0x4a07df[_0x3653bf(0x10c)]);return _0x4a07df[_0x3653bf(0x128)](captureError,_0x4a07df[_0x3653bf(0x16a)](require,_0x4a07df[_0x3653bf(0x199)]),_0x28ec36[_0x3653bf(0x12f)],_0x13934d,_0x5c11b2,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xf8),a59_0x2e6192(0x114),function(_0x16fa8e){const _0x3837cb=a59_0x2e6192,_0x3ce47b={};_0x3ce47b[_0x3837cb(0x17c)]=_0x3837cb(0xfd),_0x3ce47b[_0x3837cb(0x118)]=_0x3837cb(0x184),_0x3ce47b[_0x3837cb(0x190)]=_0x3837cb(0x11b);const _0x4d111=_0x3ce47b;return _0x16fa8e[_0x3837cb(0xfd)](![])[_0x3837cb(0x192)](_0x4d111[_0x3837cb(0x17c)],{'alias':'h','type':_0x4d111[_0x3837cb(0x118)],'describe':_0x4d111[_0x3837cb(0x190)]})[_0x3837cb(0x13e)](![])[_0x3837cb(0x19b)](![]);},function(_0x1140ab){const _0x552543=a59_0x2e6192,_0x2a08ec={'osrqn':function(_0x53d263,_0x5de165,_0x1a19b5){return _0x53d263(_0x5de165,_0x1a19b5);},'PhSWl':function(_0x28d786,_0x1a1e58){return _0x28d786(_0x1a1e58);},'erEFJ':_0x552543(0x12a)},_0x5cac10={};return _0x5cac10['argv']=_0x1140ab,_0x2a08ec['osrqn'](captureError,_0x2a08ec[_0x552543(0x107)](require,_0x2a08ec[_0x552543(0x12d)]),_0x5cac10);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x1a1),Constants[a59_0x2e6192(0x15d)][a59_0x2e6192(0x198)],function(_0x248e3b){const _0x2abce4=a59_0x2e6192,_0x29c55b={'gnpre':'newman','Miecj':function(_0x155031,_0x3ff9a4,_0x5b9f55,_0x2ee517,_0x388e10){return _0x155031(_0x3ff9a4,_0x5b9f55,_0x2ee517,_0x388e10);},'VLgDT':function(_0x43c6ab,_0xbb84ae){return _0x43c6ab(_0xbb84ae);},'rdZLf':_0x2abce4(0x188)},_0x54ffa2=process[_0x2abce4(0x12f)][_0x2abce4(0x18d)](0x2);helper[_0x2abce4(0x123)](),helper[_0x2abce4(0x19e)](),_0x248e3b[_0x2abce4(0x13e)](![]);const _0x5faa4b=new BrowserStackSetup(_0x248e3b[_0x2abce4(0x12f)],_0x29c55b[_0x2abce4(0x162)]);return _0x29c55b[_0x2abce4(0x178)](captureError,_0x29c55b[_0x2abce4(0x146)](require,_0x29c55b[_0x2abce4(0x10d)]),_0x248e3b[_0x2abce4(0x12f)],_0x5faa4b,_0x54ffa2);})[a59_0x2e6192(0x19d)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a59_0x2e6192(0x112)](null)[a59_0x2e6192(0x12f)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console['error'](a59_0x2e6192(0x18e));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a60_0x484d1c=a60_0x42c2;function a60_0x176e(){const _0x33b2dc=['DvlJF','entries','EgAGR','uzzEe','140uwgdbG','1015056bYwFGR','SDKSetup','stringify','559494BPDboi','TyhZw','HQhfp','isUndefined','3607902oskAtS','debug','../helpers/logger','username','246VNoRHd','node-setup','pjhTZ','HZOCm','info','izRdR','616736qDhJCJ','Ydqlz','postinstall','push','fireFunnelTestEvent','PoYVV','YOUR_ACCESS_KEY','load','npm\x20update\x20browserstack-node-sdk','readFileSync','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','browserstack-node-sdk','dlhDA','eRcDO','Creating\x20configuration\x20file...','PlRLY','utf8','Setup\x20completed','yrsHp','split','mWsJU','745552bcrDuf','NDxtU','argv','/package.json','-browserstack','nightwatch','node','511QnLhKc','winstonLogger','codeceptjs','/../../browserstack.pw.yml.sample','jest','/browserstack.yml','cwd','fWhjG','includes','js-yaml','cucumber-js','parse','playwright','splice','XbjZj','51932aAXUXv','length','indexOf','error','replace','yargs','join','cziTt','scripts'];a60_0x176e=function(){return _0x33b2dc;};return a60_0x176e();}(function(_0x4068fe,_0x2a9953){const _0x36f6d0=a60_0x42c2,_0x262dda=_0x4068fe();while(!![]){try{const _0xcd427d=-parseInt(_0x36f6d0(0x89))/0x1+-parseInt(_0x36f6d0(0x97))/0x2+parseInt(_0x36f6d0(0x86))/0x3+-parseInt(_0x36f6d0(0xc2))/0x4*(-parseInt(_0x36f6d0(0x85))/0x5)+-parseInt(_0x36f6d0(0x91))/0x6*(-parseInt(_0x36f6d0(0xb3))/0x7)+parseInt(_0x36f6d0(0xac))/0x8+parseInt(_0x36f6d0(0x8d))/0x9;if(_0xcd427d===_0x2a9953)break;else _0x262dda['push'](_0x262dda['shift']());}catch(_0x9b2279){_0x262dda['push'](_0x262dda['shift']());}}}(a60_0x176e,0x50d47));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),yaml=require(a60_0x484d1c(0xbc)),yargs=require(a60_0x484d1c(0xc7)),logger=require(a60_0x484d1c(0x8f))[a60_0x484d1c(0xb4)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a60_0x484d1c(0xb6),configFile=process[a60_0x484d1c(0xb9)]()+a60_0x484d1c(0xb8),packageFile=process[a60_0x484d1c(0xb9)]()+a60_0x484d1c(0xaf),frameworks=['mocha',a60_0x484d1c(0xb7),a60_0x484d1c(0xbd),a60_0x484d1c(0xb2),a60_0x484d1c(0xb1),a60_0x484d1c(0xb5),a60_0x484d1c(0xbf)];function a60_0x42c2(_0x30ba7e,_0x546ade){const _0x176e61=a60_0x176e();return a60_0x42c2=function(_0x42c24f,_0x22494c){_0x42c24f=_0x42c24f-0x83;let _0x4099ef=_0x176e61[_0x42c24f];return _0x4099ef;},a60_0x42c2(_0x30ba7e,_0x546ade);}let config;logger[a60_0x484d1c(0x95)](a60_0x484d1c(0xa5)),createConfigurationFile(yargs[a60_0x484d1c(0xae)][a60_0x484d1c(0x90)],yargs[a60_0x484d1c(0xae)]['key'],yargs[a60_0x484d1c(0xae)][a60_0x484d1c(0xbf)]);try{sdkSetup();}catch(a60_0x568522){logger[a60_0x484d1c(0x8e)](a60_0x484d1c(0xa1)+a60_0x568522);}addScriptInPackageJson();function createConfigurationFile(_0x5498c3,_0x5c5053,_0x16a4fd=![]){const _0x23f72f=a60_0x484d1c,_0x3a3516={};_0x3a3516[_0x23f72f(0x98)]=_0x23f72f(0xa7),_0x3a3516[_0x23f72f(0x8b)]='YOUR_USERNAME',_0x3a3516['pjhTZ']=_0x23f72f(0x9d);const _0x3e70ff=_0x3a3516;try{let _0x345031=fs[_0x23f72f(0xa0)](_0x16a4fd?configFileTemplatePW:configFileTemplate,_0x3e70ff[_0x23f72f(0x98)]);_0x5498c3&&(_0x345031=_0x345031['replace'](_0x3e70ff[_0x23f72f(0x8b)],_0x5498c3)),_0x5c5053&&(_0x345031=_0x345031[_0x23f72f(0xc6)](_0x3e70ff[_0x23f72f(0x93)],_0x5c5053)),config=yaml[_0x23f72f(0x9e)](_0x345031),fs['writeFileSync'](configFile,_0x345031,_0x2c40a8=>{const _0x3d328f=_0x23f72f;_0x2c40a8&&logger[_0x3d328f(0xc5)](_0x2c40a8);});}catch(_0xdfda7a){logger[_0x23f72f(0xc5)](_0xdfda7a);}}function addPostInstallScript(_0x432c9b,_0x2f6b10){const _0x543ed3=a60_0x484d1c,_0x21ccf0={};_0x21ccf0[_0x543ed3(0xa4)]=_0x543ed3(0x99),_0x21ccf0[_0x543ed3(0x94)]=_0x543ed3(0x9f),_0x21ccf0['EZtQZ']='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x5b91e0=_0x21ccf0;let _0x4c36ba=_0x432c9b[_0x5b91e0[_0x543ed3(0xa4)]];if(_0x4c36ba&&_0x4c36ba['includes'](_0x5b91e0['HZOCm']))return;!_0x4c36ba?_0x4c36ba=_0x5b91e0[_0x543ed3(0x94)]:_0x4c36ba+=_0x5b91e0['EZtQZ'],_0x2f6b10[_0x543ed3(0x9a)]([_0x5b91e0[_0x543ed3(0xa4)],_0x4c36ba]);}function addScriptInPackageJson(){const _0x1e6f7d=a60_0x484d1c,_0x493414={'mWsJU':_0x1e6f7d(0xa7),'cKKSJ':function(_0x3a4f38,_0x2aeb7e){return _0x3a4f38<_0x2aeb7e;},'dlhDA':function(_0x351974,_0x5cf784,_0x595717){return _0x351974(_0x5cf784,_0x595717);},'NDxtU':function(_0xd7778b,_0x1975bc){return _0xd7778b<_0x1975bc;},'izRdR':function(_0x2e6ed7,_0xe1e8bc,_0x58fb0d){return _0x2e6ed7(_0xe1e8bc,_0x58fb0d);},'uzzEe':function(_0x41f36b,_0x5569bf){return _0x41f36b<_0x5569bf;},'yrsHp':function(_0xfaeeee,_0x221dc6){return _0xfaeeee!==_0x221dc6;},'PoYVV':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x2facd8=JSON[_0x1e6f7d(0xbe)](fs[_0x1e6f7d(0xa0)](packageFile,_0x493414[_0x1e6f7d(0xab)])),_0x94cefa=[];for(let _0x3f7af3=0x0;_0x493414['cKKSJ'](_0x3f7af3,frameworks[_0x1e6f7d(0xc3)]);_0x3f7af3+=0x1){const _0x1e7091=_0x493414['dlhDA'](findScriptsWithFramework,_0x2facd8[_0x1e6f7d(0xca)],frameworks[_0x3f7af3]);for(let _0x589434=0x0;_0x493414[_0x1e6f7d(0xad)](_0x589434,_0x1e7091[_0x1e6f7d(0xc3)]);_0x589434+=0x1){_0x94cefa['push'](_0x493414[_0x1e6f7d(0xa3)](getUpdatedCommand,_0x2facd8['scripts'],_0x1e7091[_0x589434]));}_0x493414[_0x1e6f7d(0x96)](addPostInstallScript,_0x2facd8[_0x1e6f7d(0xca)],_0x94cefa);}const _0x302e14={..._0x2facd8['scripts']},_0x973124=_0x302e14;for(let _0x6d5c3b=0x0;_0x493414[_0x1e6f7d(0x84)](_0x6d5c3b,_0x94cefa[_0x1e6f7d(0xc3)]);_0x6d5c3b+=0x1){_0x973124[_0x94cefa[_0x6d5c3b][0x0]]=_0x94cefa[_0x6d5c3b][0x1];}_0x493414[_0x1e6f7d(0xa9)](JSON['stringify'](_0x2facd8[_0x1e6f7d(0xca)]),JSON[_0x1e6f7d(0x88)](_0x973124))&&(logger[_0x1e6f7d(0x95)](_0x493414[_0x1e6f7d(0x9c)]),_0x2facd8['scripts']=_0x973124,fs['writeFileSync'](packageFile,JSON['stringify'](_0x2facd8,null,0x2),_0x4d6ce2=>{_0x4d6ce2&&logger['error'](_0x4d6ce2);}));};function findScriptsWithFramework(_0x282272,_0x209aba){const _0x5fb693=a60_0x484d1c,_0xde0b43={};_0xde0b43['fWhjG']=function(_0x2d7a3c,_0x32496f){return _0x2d7a3c<_0x32496f;},_0xde0b43['cziTt']=_0x5fb693(0xa2);const _0x275ff8=_0xde0b43,_0x1ff2f1=[],_0x4674c9=Object[_0x5fb693(0xcc)](_0x282272);for(let _0x535713=0x0;_0x275ff8[_0x5fb693(0xba)](_0x535713,_0x4674c9[_0x5fb693(0xc3)]);_0x535713+=0x1){_0x4674c9[_0x535713][0x1][_0x5fb693(0xbb)](_0x209aba)&&!_0x4674c9[_0x535713][0x1]['includes'](_0x275ff8[_0x5fb693(0xc9)])&&_0x1ff2f1[_0x5fb693(0x9a)](_0x4674c9[_0x535713][0x0]);}return _0x1ff2f1;}function getUpdatedCommand(_0x32e0ab,_0xb9740d){const _0x39c112=a60_0x484d1c,_0xaec818={};_0xaec818[_0x39c112(0xcb)]=function(_0x2ab35e,_0x1fdc7e){return _0x2ab35e!==_0x1fdc7e;},_0xaec818[_0x39c112(0x83)]='browserstack-node-sdk',_0xaec818[_0x39c112(0xa6)]=function(_0x21f399,_0xa535a2){return _0x21f399===_0xa535a2;};const _0x551bf8=_0xaec818,_0x12fd11=_0xb9740d+_0x39c112(0xb0),_0x3dc901=_0x32e0ab[_0xb9740d],_0x3651f3=_0x3dc901[_0x39c112(0xaa)]('\x20');for(const _0x5db343 of frameworks){if(_0x551bf8[_0x39c112(0xcb)](_0x3651f3[_0x39c112(0xc4)](_0x5db343),-0x1)){_0x3651f3[_0x39c112(0xc0)](_0x3651f3['indexOf'](_0x5db343),0x0,_0x551bf8[_0x39c112(0x83)]);break;}}let _0x43561e=_0x3651f3[_0x39c112(0xc8)]('\x20');return _0x551bf8[_0x39c112(0xa6)](_0x43561e,_0x3dc901)&&(_0x43561e='browserstack-node-sdk\x20'+_0x3dc901),[_0x12fd11,_0x43561e];}function sdkSetup(){const _0x6fbeed=a60_0x484d1c,_0xad6ada={};_0xad6ada[_0x6fbeed(0x8a)]=_0x6fbeed(0x92),_0xad6ada[_0x6fbeed(0xc1)]=_0x6fbeed(0x87);const _0x6adde5=_0xad6ada;if(helper[_0x6fbeed(0x8c)](config))return;config['source']=_0x6adde5[_0x6fbeed(0x8a)];try{utilities[_0x6fbeed(0x9b)](_0x6adde5[_0x6fbeed(0xc1)],{},config,'');}catch(_0x5a6417){logger[_0x6fbeed(0x8e)](_0x6fbeed(0xa1)+_0x5a6417);}}logger[a60_0x484d1c(0x95)](a60_0x484d1c(0xa8));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a61_0x3d94(){const _0x406473=['p-limit','xvLGt','parallelTestRun','./testWorker.js','Exception\x20in\x20sending\x20worker\x20message\x20','platform','error','platform-run-failure','SDK_SETUP','NJZvM','njzcC','../../helpers/performance/performance-tester','eEzJI','BaxPg','IGthS','kRjSa','pipe','EVENTS','platformIndex','1UVdLsa','end','lydwv','getWorkers','all','parallelCucumberRun','util','McKZO','getStdout','results','8PXmlPt','3483531zhZQnN','push','worker_threads','emittery','mnKia','PGvTV','PvfHz','1570535yxSnKO','\x20for','qnjxw','platforms','test-file-success','HJJwP','then','getStderr','../../helpers/test-observability/utils','905252XRdstF','file','resolve','qfyhj','info','_workerPool','waitForExit','UNSTABLE_onCustomMessage','stop','winstonLogger','fcnYA','configuration','platform-run-start','tAveO','cucumberWorker','FvCFa','UrpPw','DzdkI','../../helpers/testhub/testhubHandler','Workers\x20failed\x20to\x20exit\x20gracefully','test-file-start','send','1721321KBeqAx','stderr','platformCaps','3mtVcGl','2317722tjWftp','debug','test-file-failure','toReU','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','jest-worker','eDIFf','HBDpu','kSZoJ','json','postMessage','gzxPO','vanillaWorker','WgUQi','config','emit','format','exitCode','log','ROAZG','SVIcj','length','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','worker','141082fOyibe','33ykXRjW','../../helpers/logger','map','_child','KkVUp','1595610lKcBNY','../../helpers/performance/constants','failureCount','Worker','stdout','parallelVanillaRun','exit'];a61_0x3d94=function(){return _0x406473;};return a61_0x3d94();}const a61_0x24e801=a61_0x412c;(function(_0x5aa37c,_0x2f5e5d){const _0x569fbd=a61_0x412c,_0x4e0760=_0x5aa37c();while(!![]){try{const _0x213534=-parseInt(_0x569fbd(0x19b))/0x1*(parseInt(_0x569fbd(0x17b))/0x2)+parseInt(_0x569fbd(0x162))/0x3*(-parseInt(_0x569fbd(0x149))/0x4)+parseInt(_0x569fbd(0x140))/0x5+parseInt(_0x569fbd(0x163))/0x6+parseInt(_0x569fbd(0x15f))/0x7*(-parseInt(_0x569fbd(0x138))/0x8)+-parseInt(_0x569fbd(0x139))/0x9+-parseInt(_0x569fbd(0x181))/0xa*(-parseInt(_0x569fbd(0x17c))/0xb);if(_0x213534===_0x2f5e5d)break;else _0x4e0760['push'](_0x4e0760['shift']());}catch(_0x21610a){_0x4e0760['push'](_0x4e0760['shift']());}}}(a61_0x3d94,0x3cdad));function a61_0x412c(_0x2714d5,_0x5031eb){const _0x3d940b=a61_0x3d94();return a61_0x412c=function(_0x412c2c,_0x1a01de){_0x412c2c=_0x412c2c-0x131;let _0x184ed8=_0x3d940b[_0x412c2c];return _0x184ed8;},a61_0x412c(_0x2714d5,_0x5031eb);}const Worker=require(a61_0x24e801(0x168))[a61_0x24e801(0x184)],Emittery=require(a61_0x24e801(0x13c)),pLimit=require(a61_0x24e801(0x188)),{parentPort}=require(a61_0x24e801(0x13b)),util=require(a61_0x24e801(0x134)),logger=require(a61_0x24e801(0x17d))[a61_0x24e801(0x152)],PerformanceTester=require(a61_0x24e801(0x193)),PerformanceEvents=require(a61_0x24e801(0x182))[a61_0x24e801(0x199)],{debug}=require(a61_0x24e801(0x148)),TestHubHandler=require(a61_0x24e801(0x15b));exports[a61_0x24e801(0x18a)]=(_0x24ab1c,_0x17525d,_0x5058a8)=>new Promise(async _0x129150=>{const _0x2b92ee=a61_0x24e801,_0x1ec29a={'kRjSa':_0x2b92ee(0x183),'KkVUp':function(_0x15f89e,_0x48cf4f){return _0x15f89e+_0x48cf4f;},'IGthS':_0x2b92ee(0x137),'pLrJS':'Workers\x20failed\x20to\x20exit\x20gracefully','mnKia':function(_0x2e5950,_0x18fd20){return _0x2e5950(_0x18fd20);},'qKZZa':function(_0x59f998,_0x5d6cb8){return _0x59f998(_0x5d6cb8);},'FvCFa':_0x2b92ee(0x15d),'eDIFf':_0x2b92ee(0x18b),'WgUQi':_0x2b92ee(0x17a),'wCMmj':'json','wEjIj':_0x2b92ee(0x198),'BaxPg':function(_0x2965ee,_0x49b955){return _0x2965ee*_0x49b955;},'McKZO':'test-file-success','CvnzG':_0x2b92ee(0x165),'OIcbU':function(_0x5b1da0,_0x46e6a9){return _0x5b1da0(_0x46e6a9);},'aESgQ':function(_0x25ae13,_0x545ccd){return _0x25ae13*_0x545ccd;}},_0xa02753=_0x5058a8[_0x2b92ee(0x171)],_0x51b788={},_0x47c966=new Worker(require[_0x2b92ee(0x14b)](_0x1ec29a[_0x2b92ee(0x169)]),{'exposedMethods':[_0x1ec29a[_0x2b92ee(0x170)]],'forkOptions':{'serialization':_0x1ec29a['wCMmj'],'stdio':_0x1ec29a['wEjIj']},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x1ec29a[_0x2b92ee(0x195)](_0x17525d,0x1),'enableWorkerThreads':!![]}),_0x4d55f6=new Emittery();_0x4d55f6['on'](_0x1ec29a[_0x2b92ee(0x135)],_0x573f71=>{const _0x355107=_0x2b92ee;_0x51b788[_0x573f71[0x0]]?(_0x51b788[_0x573f71[0x0]][_0x1ec29a['kRjSa']]=_0x1ec29a[_0x355107(0x180)](_0x51b788[_0x573f71[0x0]][_0x1ec29a[_0x355107(0x197)]],_0x573f71[0x1][_0x1ec29a[_0x355107(0x197)]]),_0x51b788[_0x573f71[0x0]][_0x1ec29a['IGthS']]=[..._0x51b788[_0x573f71[0x0]][_0x1ec29a[_0x355107(0x196)]],..._0x573f71[0x1][_0x1ec29a[_0x355107(0x196)]]]):_0x51b788[_0x573f71[0x0]]={'failureCount':_0x573f71[0x1][_0x1ec29a[_0x355107(0x197)]],'results':[..._0x573f71[0x1][_0x1ec29a[_0x355107(0x196)]]]};}),_0x4d55f6['on'](_0x1ec29a['CvnzG'],_0x21bc33=>console['log'](_0x21bc33[0x1]));_0x47c966[_0x2b92ee(0x136)]()&&_0x47c966[_0x2b92ee(0x136)]()[_0x2b92ee(0x198)](process['stdout']);_0x47c966[_0x2b92ee(0x147)]()&&_0x47c966[_0x2b92ee(0x147)]()[_0x2b92ee(0x198)](process['stderr']);const _0xfc621b=async()=>{const _0x16cd68=_0x2b92ee,{forceExited:_0x5778c8}=await _0x47c966[_0x16cd68(0x19c)]();_0x5778c8&&console[_0x16cd68(0x18e)](_0x1ec29a['pLrJS']);try{await TestHubHandler[_0x16cd68(0x151)]();}catch(_0xd9a4f7){_0x1ec29a[_0x16cd68(0x13d)](debug,_0x16cd68(0x179)+_0xd9a4f7);}_0x1ec29a['qKZZa'](_0x129150,_0x51b788);},_0x4df572=_0x1ec29a['OIcbU'](pLimit,_0x1ec29a['aESgQ'](_0x17525d,0x1)),_0x9bc991=_0x59ebac=>_0x4df572(async()=>{const _0x2265bf=_0x2b92ee;await _0x4d55f6[_0x2265bf(0x172)](_0x1ec29a[_0x2265bf(0x158)],_0x59ebac);const _0x282bff=_0x47c966[_0x2265bf(0x17a)](_0x59ebac,_0xa02753);try{parentPort&&_0x282bff[_0x2265bf(0x150)](_0x31fab5=>{const _0x9a9188=_0x2265bf;try{parentPort[_0x9a9188(0x16d)](_0x31fab5);}catch(_0x41632b){logger[_0x9a9188(0x164)](_0x9a9188(0x18c)+util[_0x9a9188(0x173)](_0x41632b));}});}catch(_0x28283a){logger[_0x2265bf(0x164)](_0x2265bf(0x167)+util[_0x2265bf(0x173)](_0x28283a));}return _0x282bff;});PerformanceTester['end'](PerformanceEvents[_0x2b92ee(0x190)]),Promise[_0x2b92ee(0x132)](_0x24ab1c['map'](_0x2c4fa8=>_0x9bc991(_0x2c4fa8)[_0x2b92ee(0x146)](_0x34c8bf=>_0x4d55f6['emit'](_0x2b92ee(0x144),[_0x2c4fa8[_0x2b92ee(0x154)][_0x2b92ee(0x18d)],_0x34c8bf]),_0x3c17b4=>_0x4d55f6[_0x2b92ee(0x172)](_0x2b92ee(0x165),[_0x2c4fa8,_0x3c17b4]))))[_0x2b92ee(0x146)](_0xfc621b,_0xfc621b);}),exports[a61_0x24e801(0x133)]=(_0x521555,_0x39d883,_0x577e0a,_0x2c12d2,_0x1a1d07)=>{const _0x59c263=a61_0x24e801,_0x1b09ee={'PvfHz':_0x59c263(0x15c),'qfyhj':function(_0x373af9,_0x2e59ca){return _0x373af9(_0x2e59ca);},'fcnYA':_0x59c263(0x155),'ROAZG':_0x59c263(0x18b),'toReU':_0x59c263(0x157),'lydwv':'json','gzxPO':_0x59c263(0x198),'PGvTV':'platform-run-success','fWBvT':_0x59c263(0x18f),'PmYHJ':function(_0x2677d0,_0x469cd5){return _0x2677d0(_0x469cd5);}};return new Promise(_0x4fe79c=>{const _0xbe0f89=_0x59c263,_0x1d8508=[],_0x2611fc=new Worker(require['resolve'](_0x1b09ee[_0xbe0f89(0x176)]),{'exposedMethods':[_0x1b09ee[_0xbe0f89(0x166)]],'forkOptions':{'serialization':_0x1b09ee[_0xbe0f89(0x19d)],'stdio':_0x1b09ee[_0xbe0f89(0x16e)]},'numWorkers':_0x521555[_0xbe0f89(0x178)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x375d07=new Emittery();_0x375d07['on'](_0x1b09ee[_0xbe0f89(0x13e)],_0x126e56=>{const _0x5c5e38=_0xbe0f89;_0x1d8508[_0x5c5e38(0x13a)]([_0x126e56[0x0],_0x126e56[0x1]]);}),_0x375d07['on'](_0x1b09ee['fWBvT'],_0x338793=>console[_0xbe0f89(0x175)](_0x338793[0x1]));_0x2611fc[_0xbe0f89(0x136)]()&&_0x2611fc[_0xbe0f89(0x136)]()[_0xbe0f89(0x198)](process[_0xbe0f89(0x185)]);_0x2611fc[_0xbe0f89(0x147)]()&&_0x2611fc['getStderr']()[_0xbe0f89(0x198)](process[_0xbe0f89(0x160)]);const _0x3ca4ad=async()=>{const _0x50e832=_0xbe0f89,{forceExited:_0x590444}=await _0x2611fc[_0x50e832(0x19c)]();_0x590444&&console[_0x50e832(0x18e)](_0x1b09ee[_0x50e832(0x13f)]),_0x1b09ee[_0x50e832(0x14c)](_0x4fe79c,_0x1d8508);},_0x21326f=_0x1b09ee['PmYHJ'](pLimit,_0x521555[_0xbe0f89(0x178)]||0x1),_0x10196e=(_0x5f518f,_0x2be013)=>_0x21326f(async()=>{const _0x217f5b=_0xbe0f89;return await _0x375d07['emit'](_0x1b09ee[_0x217f5b(0x153)],_0x5f518f),_0x39d883[_0x217f5b(0x161)]=_0x577e0a[_0x217f5b(0x143)][_0x2be013],_0x39d883[_0x217f5b(0x19a)]=_0x2be013,_0x2611fc[_0x217f5b(0x157)](_0x5f518f,_0x39d883,_0x577e0a,_0x2c12d2,_0x1a1d07);});Promise[_0xbe0f89(0x132)](_0x521555[_0xbe0f89(0x17e)]((_0x193824,_0x3f3d74)=>_0x10196e(_0x193824,_0x3f3d74)[_0xbe0f89(0x146)](_0x3f07eb=>_0x375d07[_0xbe0f89(0x172)]('platform-run-success',[_0x193824,_0x3f07eb]),_0x17108a=>_0x375d07[_0xbe0f89(0x172)]('platform-run-failure',[_0x193824,_0x17108a]))))[_0xbe0f89(0x146)](_0x3ca4ad,_0x3ca4ad);});},exports[a61_0x24e801(0x186)]=(_0x31b332,_0x5ae56f)=>new Promise(_0x362f4c=>{const _0x160472=a61_0x24e801,_0x41e9e4={'tAveO':function(_0x2aa5d4,_0x43ae8a){return _0x2aa5d4===_0x43ae8a;},'kSZoJ':function(_0x1567f2,_0x882bf1){return _0x1567f2!==_0x882bf1;},'NJZvM':_0x160472(0x187),'HJJwP':_0x160472(0x15c),'njzcC':function(_0x57f2c0,_0x44a053){return _0x57f2c0(_0x44a053);},'eEzJI':_0x160472(0x18b),'pEKxi':'vanillaWorker','qnjxw':_0x160472(0x16c),'xvLGt':_0x160472(0x198),'FytPK':'test-file-success','DzdkI':'test-file-failure'},_0x3d8169={},_0x98f96b=new Worker(require[_0x160472(0x14b)](_0x41e9e4[_0x160472(0x194)]),{'exposedMethods':[_0x41e9e4['pEKxi']],'forkOptions':{'serialization':_0x41e9e4[_0x160472(0x142)],'stdio':_0x41e9e4[_0x160472(0x189)]},'numWorkers':_0x5ae56f,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x590521=new Emittery();_0x590521['on'](_0x41e9e4['FytPK'],_0x5f5d78=>{const _0x3df2c0=_0x160472;_0x5f5d78[0x0]&&logger[_0x3df2c0(0x14d)]('Running\x20'+_0x5f5d78[0x1]+_0x3df2c0(0x141),_0x5f5d78[0x0]);}),_0x590521['on'](_0x41e9e4[_0x160472(0x15a)],_0x433076=>{const _0x30b566=_0x160472;process[_0x30b566(0x174)]=0x1;});_0x98f96b[_0x160472(0x136)]()&&_0x98f96b[_0x160472(0x136)]()[_0x160472(0x198)](process[_0x160472(0x185)]);_0x98f96b[_0x160472(0x147)]()&&_0x98f96b['getStderr']()['pipe'](process[_0x160472(0x160)]);const _0x55c46e=async()=>{const _0x19b2c4=_0x160472,_0x2d683d={'SVIcj':function(_0x109ffd,_0xcdc201){const _0x14fcdb=a61_0x412c;return _0x41e9e4[_0x14fcdb(0x156)](_0x109ffd,_0xcdc201);},'OnvhB':function(_0x3f799d,_0x1eb3c7){const _0x48b823=a61_0x412c;return _0x41e9e4[_0x48b823(0x16b)](_0x3f799d,_0x1eb3c7);},'UrpPw':_0x41e9e4[_0x19b2c4(0x191)]};let _0x364b7f=0x0;const _0x5ee2d2=_0x98f96b[_0x19b2c4(0x14e)][_0x19b2c4(0x131)](),_0x412852=()=>{},_0x235a36=_0x5ee2d2[_0x19b2c4(0x17e)](async _0x4504cc=>{const _0x1d3a83=_0x19b2c4,_0x4d000b={'gBdvW':function(_0x374e61,_0x1bb8b1){const _0x5af60f=a61_0x412c;return _0x2d683d[_0x5af60f(0x177)](_0x374e61,_0x1bb8b1);},'HBDpu':function(_0x1c35fd,_0x8d1df7){return _0x2d683d['OnvhB'](_0x1c35fd,_0x8d1df7);}};_0x4504cc[_0x1d3a83(0x15e)]([0x2,![]],_0x412852,_0x412852,_0x412852),_0x4504cc[_0x1d3a83(0x17f)]['on'](_0x2d683d[_0x1d3a83(0x159)],_0x1c1855=>{const _0x5d9a70=_0x1d3a83;_0x4d000b['gBdvW'](_0x364b7f,0x0)&&_0x4d000b[_0x5d9a70(0x16a)](_0x1c1855,0x0)&&(_0x364b7f=_0x1c1855);}),await _0x4504cc[_0x1d3a83(0x14f)]();});await Promise[_0x19b2c4(0x132)](_0x235a36),process[_0x19b2c4(0x174)]=_0x364b7f;const {forceExited:_0x47fc0a}=await _0x98f96b['end']();_0x47fc0a&&console[_0x19b2c4(0x18e)](_0x41e9e4[_0x19b2c4(0x145)]),_0x41e9e4['njzcC'](_0x362f4c,_0x3d8169);},_0x5b79fa=_0x41e9e4[_0x160472(0x192)](pLimit,_0x5ae56f),_0x55781a=_0xcc2865=>_0x5b79fa(async()=>{const _0x389e7e=_0x160472;return _0x98f96b[_0x389e7e(0x16f)](_0xcc2865);});Promise[_0x160472(0x132)](_0x31b332[_0x160472(0x17e)](_0x4e9e21=>_0x55781a(_0x4e9e21)[_0x160472(0x146)](_0x461dde=>_0x590521[_0x160472(0x172)](_0x160472(0x144),[_0x4e9e21[_0x160472(0x154)]['platform'],_0x4e9e21[_0x160472(0x154)][_0x160472(0x14a)]]),_0x5bda2d=>_0x590521['emit']('test-file-failure',[_0x4e9e21,_0x5bda2d]))))[_0x160472(0x146)](_0x55c46e,_0x55c46e);});
|
|
1
|
+
const a61_0x1de1e4=a61_0x369b;(function(_0x40205e,_0x545038){const _0x377fe1=a61_0x369b,_0x3f43d1=_0x40205e();while(!![]){try{const _0x8a9fab=parseInt(_0x377fe1(0x1a8))/0x1*(-parseInt(_0x377fe1(0x19e))/0x2)+parseInt(_0x377fe1(0x1a0))/0x3+-parseInt(_0x377fe1(0x19d))/0x4*(parseInt(_0x377fe1(0x16f))/0x5)+parseInt(_0x377fe1(0x180))/0x6+parseInt(_0x377fe1(0x1a3))/0x7+parseInt(_0x377fe1(0x171))/0x8*(parseInt(_0x377fe1(0x170))/0x9)+-parseInt(_0x377fe1(0x175))/0xa;if(_0x8a9fab===_0x545038)break;else _0x3f43d1['push'](_0x3f43d1['shift']());}catch(_0x33f7cf){_0x3f43d1['push'](_0x3f43d1['shift']());}}}(a61_0x10c6,0x273ad));const Worker=require(a61_0x1de1e4(0x168))[a61_0x1de1e4(0x17d)],Emittery=require(a61_0x1de1e4(0x19c)),pLimit=require(a61_0x1de1e4(0x172)),{parentPort}=require(a61_0x1de1e4(0x184)),util=require(a61_0x1de1e4(0x193)),logger=require(a61_0x1de1e4(0x185))['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a61_0x1de1e4(0x1aa))['EVENTS'],{debug}=require(a61_0x1de1e4(0x164)),TestHubHandler=require('../../helpers/testhub/testhubHandler');exports[a61_0x1de1e4(0x190)]=(_0x456635,_0x1048c8,_0x8e9df8)=>new Promise(async _0x31a05a=>{const _0x5d0177=a61_0x1de1e4,_0x5bfa93={'zpzgk':'failureCount','jggfQ':function(_0xef3766,_0x1b4160){return _0xef3766+_0x1b4160;},'tGeZc':'results','hXjZe':_0x5d0177(0x176),'CcgPk':function(_0x18992f,_0x1370da){return _0x18992f(_0x1370da);},'snFLn':function(_0xedb912,_0x176dd4){return _0xedb912(_0x176dd4);},'oifaE':'test-file-start','CtrNR':'./testWorker.js','ePJef':_0x5d0177(0x1b4),'KUbGU':_0x5d0177(0x179),'TXzvD':_0x5d0177(0x165),'aCImO':function(_0x16d1cd,_0x3425ef){return _0x16d1cd*_0x3425ef;},'mJQKn':_0x5d0177(0x1a9),'MZZvE':_0x5d0177(0x1c3)},_0x14c3db=_0x8e9df8[_0x5d0177(0x187)],_0x45a392={},_0x175186=new Worker(require['resolve'](_0x5bfa93['CtrNR']),{'exposedMethods':[_0x5bfa93[_0x5d0177(0x16e)]],'forkOptions':{'serialization':_0x5bfa93[_0x5d0177(0x174)],'stdio':_0x5bfa93[_0x5d0177(0x17c)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x5bfa93['aCImO'](_0x1048c8,0x1),'enableWorkerThreads':!![]}),_0x2e2742=new Emittery();_0x2e2742['on'](_0x5bfa93['mJQKn'],_0x3bcf97=>{const _0x51f9a6=_0x5d0177;_0x45a392[_0x3bcf97[0x0]]?(_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1b6)]]=_0x5bfa93[_0x51f9a6(0x181)](_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1b6)]],_0x3bcf97[0x1][_0x5bfa93['zpzgk']]),_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1ba)]]=[..._0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1ba)]],..._0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1ba)]]]):_0x45a392[_0x3bcf97[0x0]]={'failureCount':_0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1b6)]],'results':[..._0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1ba)]]]};}),_0x2e2742['on'](_0x5bfa93[_0x5d0177(0x17b)],_0x58fa0a=>console[_0x5d0177(0x169)](_0x58fa0a[0x1]));_0x175186[_0x5d0177(0x16a)]()&&_0x175186['getStdout']()[_0x5d0177(0x165)](process['stdout']);_0x175186[_0x5d0177(0x1b2)]()&&_0x175186['getStderr']()['pipe'](process[_0x5d0177(0x199)]);const _0x570ab8=async()=>{const _0x3e0320=_0x5d0177,{forceExited:_0x490dca}=await _0x175186[_0x3e0320(0x1c2)]();_0x490dca&&console[_0x3e0320(0x198)](_0x5bfa93[_0x3e0320(0x189)]);try{await TestHubHandler[_0x3e0320(0x1b3)]();}catch(_0x335b82){_0x5bfa93[_0x3e0320(0x167)](debug,_0x3e0320(0x1c1)+_0x335b82);}_0x5bfa93[_0x3e0320(0x1af)](_0x31a05a,_0x45a392);},_0x3bda3e=_0x5bfa93['CcgPk'](pLimit,_0x5bfa93[_0x5d0177(0x1bf)](_0x1048c8,0x1)),_0x33be14=_0xb09ed8=>_0x3bda3e(async()=>{const _0x3f0ef7=_0x5d0177;await _0x2e2742[_0x3f0ef7(0x183)](_0x5bfa93[_0x3f0ef7(0x1b1)],_0xb09ed8);const _0x3d0bd2=_0x175186[_0x3f0ef7(0x1b4)](_0xb09ed8,_0x14c3db);try{parentPort&&_0x3d0bd2[_0x3f0ef7(0x188)](_0x2d63a3=>{const _0x7b8cf3=_0x3f0ef7;try{parentPort[_0x7b8cf3(0x18a)](_0x2d63a3);}catch(_0x1fe543){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x7b8cf3(0x19a)](_0x1fe543));}});}catch(_0x25d2a9){logger[_0x3f0ef7(0x1ac)](_0x3f0ef7(0x18c)+util['format'](_0x25d2a9));}return _0x3d0bd2;});PerformanceTester[_0x5d0177(0x1c2)](PerformanceEvents[_0x5d0177(0x17a)]),Promise['all'](_0x456635[_0x5d0177(0x1a4)](_0x37799f=>_0x33be14(_0x37799f)[_0x5d0177(0x17f)](_0x302107=>_0x2e2742[_0x5d0177(0x183)](_0x5d0177(0x1a9),[_0x37799f[_0x5d0177(0x1b9)][_0x5d0177(0x1b0)],_0x302107]),_0x13d807=>_0x2e2742[_0x5d0177(0x183)](_0x5d0177(0x1c3),[_0x37799f,_0x13d807]))))[_0x5d0177(0x17f)](_0x570ab8,_0x570ab8);}),exports[a61_0x1de1e4(0x19f)]=(_0x577cd8,_0x12425b,_0x40e51,_0x42ec44,_0x24ab50)=>{const _0x6ca2d7=a61_0x1de1e4,_0x48d60d={'tLbMx':_0x6ca2d7(0x176),'gRDmq':function(_0x4e28b7,_0xd74ca8){return _0x4e28b7(_0xd74ca8);},'cnpIt':'platform-run-start','PyMjg':_0x6ca2d7(0x1be),'RLnpR':_0x6ca2d7(0x1ab),'BJOCB':_0x6ca2d7(0x179),'MjcQm':_0x6ca2d7(0x165),'QSZbf':_0x6ca2d7(0x1a7),'VxeeC':_0x6ca2d7(0x177)};return new Promise(_0x2f182a=>{const _0x106be6=_0x6ca2d7,_0x8463ac=[],_0x225aef=new Worker(require[_0x106be6(0x17e)](_0x48d60d[_0x106be6(0x16c)]),{'exposedMethods':[_0x48d60d['RLnpR']],'forkOptions':{'serialization':_0x48d60d[_0x106be6(0x18d)],'stdio':_0x48d60d[_0x106be6(0x1bb)]},'numWorkers':_0x577cd8['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x943fa5=new Emittery();_0x943fa5['on'](_0x48d60d[_0x106be6(0x195)],_0x31e974=>{const _0x34cbc5=_0x106be6;_0x8463ac[_0x34cbc5(0x1bc)]([_0x31e974[0x0],_0x31e974[0x1]]);}),_0x943fa5['on'](_0x48d60d[_0x106be6(0x1c0)],_0x987349=>console[_0x106be6(0x169)](_0x987349[0x1]));_0x225aef[_0x106be6(0x16a)]()&&_0x225aef[_0x106be6(0x16a)]()[_0x106be6(0x165)](process['stdout']);_0x225aef[_0x106be6(0x1b2)]()&&_0x225aef[_0x106be6(0x1b2)]()[_0x106be6(0x165)](process['stderr']);const _0x275c9d=async()=>{const _0x3a6c88=_0x106be6,{forceExited:_0x2aa838}=await _0x225aef[_0x3a6c88(0x1c2)]();_0x2aa838&&console[_0x3a6c88(0x198)](_0x48d60d[_0x3a6c88(0x1a6)]),_0x48d60d[_0x3a6c88(0x19b)](_0x2f182a,_0x8463ac);},_0x2f0255=_0x48d60d[_0x106be6(0x19b)](pLimit,_0x577cd8[_0x106be6(0x18e)]||0x1),_0x22ca7b=(_0x264035,_0x279ad8)=>_0x2f0255(async()=>{const _0x4f17af=_0x106be6;return await _0x943fa5['emit'](_0x48d60d[_0x4f17af(0x1c4)],_0x264035),_0x12425b[_0x4f17af(0x186)]=_0x40e51['platforms'][_0x279ad8],_0x12425b[_0x4f17af(0x1ad)]=_0x279ad8,_0x225aef[_0x4f17af(0x1ab)](_0x264035,_0x12425b,_0x40e51,_0x42ec44,_0x24ab50);});Promise[_0x106be6(0x1a5)](_0x577cd8[_0x106be6(0x1a4)]((_0x5c7efb,_0x265a0b)=>_0x22ca7b(_0x5c7efb,_0x265a0b)['then'](_0x3f36c8=>_0x943fa5[_0x106be6(0x183)]('platform-run-success',[_0x5c7efb,_0x3f36c8]),_0x45c357=>_0x943fa5[_0x106be6(0x183)](_0x106be6(0x177),[_0x5c7efb,_0x45c357]))))[_0x106be6(0x17f)](_0x275c9d,_0x275c9d);});},exports[a61_0x1de1e4(0x166)]=(_0x4669b4,_0x2ef276)=>new Promise(_0x34434d=>{const _0x1419cf=a61_0x1de1e4,_0x5f01eb={'hYFQX':function(_0xbc6e67,_0x16fce3){return _0xbc6e67===_0x16fce3;},'wUwrl':function(_0x531c68,_0x44d29c){return _0x531c68!==_0x44d29c;},'lfCDq':_0x1419cf(0x18f),'ivRkz':'Workers\x20failed\x20to\x20exit\x20gracefully','TWsMt':function(_0x1822be,_0x1b9493){return _0x1822be(_0x1b9493);},'npuHy':_0x1419cf(0x1be),'eDDMo':_0x1419cf(0x1bd),'iYhkW':_0x1419cf(0x179),'Lilzu':_0x1419cf(0x165),'BMfrD':_0x1419cf(0x1a9),'lvxcM':_0x1419cf(0x1c3)},_0x29922e={},_0x518a00=new Worker(require['resolve'](_0x5f01eb[_0x1419cf(0x194)]),{'exposedMethods':[_0x5f01eb['eDDMo']],'forkOptions':{'serialization':_0x5f01eb['iYhkW'],'stdio':_0x5f01eb['Lilzu']},'numWorkers':_0x2ef276,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x2f42df=new Emittery();_0x2f42df['on'](_0x5f01eb[_0x1419cf(0x197)],_0x3ebbef=>{const _0x364a3d=_0x1419cf;_0x3ebbef[0x0]&&logger[_0x364a3d(0x18b)]('Running\x20'+_0x3ebbef[0x1]+_0x364a3d(0x1b8),_0x3ebbef[0x0]);}),_0x2f42df['on'](_0x5f01eb[_0x1419cf(0x1a2)],_0x55e9c6=>{const _0x326a90=_0x1419cf;process[_0x326a90(0x1ae)]=0x1;});_0x518a00[_0x1419cf(0x16a)]()&&_0x518a00['getStdout']()[_0x1419cf(0x165)](process[_0x1419cf(0x1a1)]);_0x518a00[_0x1419cf(0x1b2)]()&&_0x518a00[_0x1419cf(0x1b2)]()[_0x1419cf(0x165)](process['stderr']);const _0x1f0bf0=async()=>{const _0x4c6595=_0x1419cf,_0x1c9cba={'IfLCS':function(_0x3ff535,_0x431206){return _0x5f01eb['hYFQX'](_0x3ff535,_0x431206);},'QZJMQ':function(_0x471afc,_0x360f9e){const _0x4f624e=a61_0x369b;return _0x5f01eb[_0x4f624e(0x1b7)](_0x471afc,_0x360f9e);},'lfoKL':_0x5f01eb[_0x4c6595(0x196)]};let _0x2bff88=0x0;const _0x51af7d=_0x518a00[_0x4c6595(0x1b5)][_0x4c6595(0x173)](),_0x3c117b=()=>{},_0x42cf39=_0x51af7d[_0x4c6595(0x1a4)](async _0x306f96=>{const _0x76a3c8=_0x4c6595;_0x306f96[_0x76a3c8(0x182)]([0x2,![]],_0x3c117b,_0x3c117b,_0x3c117b),_0x306f96[_0x76a3c8(0x192)]['on'](_0x1c9cba['lfoKL'],_0x1bbe09=>{const _0x22707c=_0x76a3c8;_0x1c9cba[_0x22707c(0x16d)](_0x2bff88,0x0)&&_0x1c9cba['QZJMQ'](_0x1bbe09,0x0)&&(_0x2bff88=_0x1bbe09);}),await _0x306f96[_0x76a3c8(0x191)]();});await Promise[_0x4c6595(0x1a5)](_0x42cf39),process[_0x4c6595(0x1ae)]=_0x2bff88;const {forceExited:_0x1f367a}=await _0x518a00[_0x4c6595(0x1c2)]();_0x1f367a&&console[_0x4c6595(0x198)](_0x5f01eb['ivRkz']),_0x5f01eb[_0x4c6595(0x178)](_0x34434d,_0x29922e);},_0x289b65=_0x5f01eb[_0x1419cf(0x178)](pLimit,_0x2ef276),_0x18928d=_0x2c995f=>_0x289b65(async()=>{return _0x518a00['vanillaWorker'](_0x2c995f);});Promise[_0x1419cf(0x1a5)](_0x4669b4[_0x1419cf(0x1a4)](_0x4b5e14=>_0x18928d(_0x4b5e14)[_0x1419cf(0x17f)](_0x3d701b=>_0x2f42df[_0x1419cf(0x183)]('test-file-success',[_0x4b5e14['configuration'][_0x1419cf(0x1b0)],_0x4b5e14[_0x1419cf(0x1b9)][_0x1419cf(0x16b)]]),_0x6df9f5=>_0x2f42df[_0x1419cf(0x183)](_0x1419cf(0x1c3),[_0x4b5e14,_0x6df9f5]))))[_0x1419cf(0x17f)](_0x1f0bf0,_0x1f0bf0);});function a61_0x369b(_0x6ccc31,_0x587ea9){const _0x10c6d2=a61_0x10c6();return a61_0x369b=function(_0x369b51,_0x4bcff8){_0x369b51=_0x369b51-0x164;let _0x54db3a=_0x10c6d2[_0x369b51];return _0x54db3a;},a61_0x369b(_0x6ccc31,_0x587ea9);}function a61_0x10c6(){const _0x26bc93=['\x20for','configuration','tGeZc','MjcQm','push','vanillaWorker','./testWorker.js','aCImO','VxeeC','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','end','test-file-failure','cnpIt','../../helpers/test-observability/utils','pipe','parallelVanillaRun','CcgPk','jest-worker','log','getStdout','file','PyMjg','IfLCS','ePJef','21485bHxftK','9wKjNvj','1532616XKGpqY','p-limit','getWorkers','KUbGU','2536710LEUpli','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-failure','TWsMt','json','SDK_SETUP','MZZvE','TXzvD','Worker','resolve','then','211350GxFFch','jggfQ','send','emit','worker_threads','../../helpers/logger','platformCaps','config','UNSTABLE_onCustomMessage','hXjZe','postMessage','info','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','BJOCB','length','exit','parallelTestRun','waitForExit','_child','util','npuHy','QSZbf','lfCDq','BMfrD','error','stderr','format','gRDmq','emittery','40VYiEOq','1538tZrWiC','parallelCucumberRun','454020hgmqNv','stdout','lvxcM','1399419DBgWsL','map','all','tLbMx','platform-run-success','157aVCqBG','test-file-success','../../helpers/performance/constants','cucumberWorker','debug','platformIndex','exitCode','snFLn','platform','oifaE','getStderr','stop','worker','_workerPool','zpzgk','wUwrl'];a61_0x10c6=function(){return _0x26bc93;};return a61_0x10c6();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a62_0x1bac30=a62_0x3c0f;(function(_0x1a7120,_0x15fa2e){const _0x21bc94=a62_0x3c0f,_0x3d3818=_0x1a7120();while(!![]){try{const _0x4d71c=-parseInt(_0x21bc94(0xee))/0x1+-parseInt(_0x21bc94(0xeb))/0x2+parseInt(_0x21bc94(0xe3))/0x3+-parseInt(_0x21bc94(0xec))/0x4+-parseInt(_0x21bc94(0xf3))/0x5+-parseInt(_0x21bc94(0xfe))/0x6*(-parseInt(_0x21bc94(0xf8))/0x7)+parseInt(_0x21bc94(0xe4))/0x8*(parseInt(_0x21bc94(0xef))/0x9);if(_0x4d71c===_0x15fa2e)break;else _0x3d3818['push'](_0x3d3818['shift']());}catch(_0x5b509c){_0x3d3818['push'](_0x3d3818['shift']());}}}(a62_0x4d9c,0xcb874));const PerformanceEvents=require(a62_0x1bac30(0xe9))[a62_0x1bac30(0xf2)],PerformanceTester=require(a62_0x1bac30(0xf7)),{sleep}=require(a62_0x1bac30(0xed));function a62_0x3c0f(_0x33d3f0,_0x5b9e1d){const _0x4d9c76=a62_0x4d9c();return a62_0x3c0f=function(_0x3c0f8a,_0x38a116){_0x3c0f8a=_0x3c0f8a-0xe0;let _0x1624fc=_0x4d9c76[_0x3c0f8a];return _0x1624fc;},a62_0x3c0f(_0x33d3f0,_0x5b9e1d);}exports[a62_0x1bac30(0xe1)]=async(_0x435e92,_0x1acfac)=>{const _0x8a060d=a62_0x1bac30,_0x4b85a1={'vQqRe':function(_0x4ae407,_0x1eedaa){return _0x4ae407(_0x1eedaa);},'PUGrG':'../launcher/launcher','gDQfi':_0x8a060d(0xf6)};PerformanceTester[_0x8a060d(0xe5)]();const _0x3ec9c6=_0x4b85a1[_0x8a060d(0xe6)](require,_0x4b85a1[_0x8a060d(0xe8)]),_0x3198ac=new _0x3ec9c6(_0x4b85a1[_0x8a060d(0xe2)],_0x435e92,_0x1acfac),_0x363392=await _0x3198ac[_0x8a060d(0xf1)]();return PerformanceTester[_0x8a060d(0xf0)](PerformanceEvents[_0x8a060d(0xfb)]),await _0x4b85a1['vQqRe'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x363392;},exports[a62_0x1bac30(0xe7)]=async(_0x2b72ce,_0x107616,_0x47b5a3,_0x5d6c32,_0x205f2b)=>{const _0x283cbe=a62_0x1bac30,_0xe940e={'ZYUga':function(_0x1537a8,_0x589463){return _0x1537a8(_0x589463);},'KdFZS':_0x283cbe(0xf9),'QMThh':_0x283cbe(0xff)},_0x1bfb21={'capability':_0x2b72ce,..._0x107616},_0x5b760d={};_0x5b760d['configuration']=_0x1bfb21,_0x5b760d[_0x283cbe(0xfc)]=_0x205f2b;const _0x2e1816=_0x5b760d,_0x484112=_0xe940e[_0x283cbe(0xfd)](require,_0xe940e['KdFZS']),_0x7bb5be=new _0x484112(_0xe940e[_0x283cbe(0xfa)],_0x2e1816,_0x47b5a3,_0x5d6c32);return await _0x7bb5be['run']();},exports[a62_0x1bac30(0x100)]=async _0x30d514=>{const _0x4e800f=a62_0x1bac30,_0x46d8b4={'Eqbgu':function(_0x440f6c,_0x3bc672){return _0x440f6c(_0x3bc672);},'JljaL':'../launcher/launcher','SeiQo':_0x4e800f(0xf5)},_0x2e274e=_0x46d8b4[_0x4e800f(0xf4)](require,_0x46d8b4[_0x4e800f(0xea)]),_0x7cf0e2=new _0x2e274e(_0x46d8b4[_0x4e800f(0xe0)],_0x30d514);return await _0x7cf0e2[_0x4e800f(0xf1)]();};function a62_0x4d9c(){const _0x49928a=['vanilla','mocha','../../helpers/performance/performance-tester','133mTfDUg','../launcher/launcher','QMThh','SDK_POST_TEST','formatter','ZYUga','267834fLWWQo','cucumber-js','runVanillaTest','SeiQo','runTest','gDQfi','2618400OaZWUY','8GmLgjf','startMonitoring','vQqRe','runCucumberTest','PUGrG','../../helpers/performance/constants','JljaL','1259334krTQGl','1959920VnmrfW','../../helpers/test-observability/utils','899484UpHcCl','11898666NpPTWT','end','run','EVENTS','951160WLieBf','Eqbgu'];a62_0x4d9c=function(){return _0x49928a;};return a62_0x4d9c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x492009=a63_0x5524;function a63_0x5524(_0x5476c4,_0x46683b){const _0x4cd6f6=a63_0x4cd6();return a63_0x5524=function(_0x552430,_0x37f964){_0x552430=_0x552430-0x1f0;let _0x51bbf5=_0x4cd6f6[_0x552430];return _0x51bbf5;},a63_0x5524(_0x5476c4,_0x46683b);}(function(_0x2136ef,_0x3f4cbd){const _0x3761b9=a63_0x5524,_0x4be519=_0x2136ef();while(!![]){try{const _0x5c9567=-parseInt(_0x3761b9(0x1f6))/0x1*(parseInt(_0x3761b9(0x1f9))/0x2)+parseInt(_0x3761b9(0x1f0))/0x3*(-parseInt(_0x3761b9(0x201))/0x4)+-parseInt(_0x3761b9(0x202))/0x5+parseInt(_0x3761b9(0x1fd))/0x6+parseInt(_0x3761b9(0x1f8))/0x7*(-parseInt(_0x3761b9(0x1fc))/0x8)+parseInt(_0x3761b9(0x1fb))/0x9+parseInt(_0x3761b9(0x1f4))/0xa*(parseInt(_0x3761b9(0x1f5))/0xb);if(_0x5c9567===_0x3f4cbd)break;else _0x4be519['push'](_0x4be519['shift']());}catch(_0x409a71){_0x4be519['push'](_0x4be519['shift']());}}}(a63_0x4cd6,0x28388));const {runTest,runCucumberTest,runVanillaTest}=require(a63_0x492009(0x1f2));function a63_0x4cd6(){const _0x12b8f4=['148STvYML','1069605kPFYIx','4524OohBho','fdDYl','./runTest','installAll','190JIXOcO','175989eepRAl','19SLASkO','worker','2051jkOuZP','23626aXAMXp','cucumberWorker','1761759GfcVhw','2712lwjtYd','1551018CQBWNR','../../helpers/driverInitErrorReporter','vanillaWorker','dOCWd'];a63_0x4cd6=function(){return _0x12b8f4;};return a63_0x4cd6();}try{require(a63_0x492009(0x1fe))[a63_0x492009(0x1f3)]();}catch(a63_0x25e90b){}exports[a63_0x492009(0x1f7)]=async(_0x53b54e,_0x2982e7)=>{const _0x2d6cfd=a63_0x492009,_0x5b7f94={'dOCWd':function(_0x1064c9,_0x2b3f01,_0x35a5df){return _0x1064c9(_0x2b3f01,_0x35a5df);}};return await _0x5b7f94[_0x2d6cfd(0x200)](runTest,_0x53b54e,_0x2982e7);},exports[a63_0x492009(0x1fa)]=async(_0x1b0aaa,_0x1535bc,_0x2cded2,_0x372bf9,_0x53a81c)=>{const _0x56e9ad={'RwjAU':function(_0x430905,_0x536ab1,_0xf0da41,_0xc89524,_0x56187a,_0x3706ec){return _0x430905(_0x536ab1,_0xf0da41,_0xc89524,_0x56187a,_0x3706ec);}};return await _0x56e9ad['RwjAU'](runCucumberTest,_0x1b0aaa,_0x1535bc,_0x2cded2,_0x372bf9,_0x53a81c);},exports[a63_0x492009(0x1ff)]=async _0x48d6c4=>{const _0x1a231=a63_0x492009,_0x2b2c93={'fdDYl':function(_0x142c44,_0x3fe2de){return _0x142c44(_0x3fe2de);}};return await _0x2b2c93[_0x1a231(0x1f1)](runVanillaTest,_0x48d6c4);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a64_0xfbfb57=a64_0x54dc;(function(_0x2405b7,_0x424fe3){const _0x5423bd=a64_0x54dc,_0xa950c3=_0x2405b7();while(!![]){try{const _0x2d2253=parseInt(_0x5423bd(0xdf))/0x1+-parseInt(_0x5423bd(0xc5))/0x2+parseInt(_0x5423bd(0xcc))/0x3+-parseInt(_0x5423bd(0xea))/0x4*(parseInt(_0x5423bd(0xed))/0x5)+parseInt(_0x5423bd(0xe2))/0x6+parseInt(_0x5423bd(0xd6))/0x7+-parseInt(_0x5423bd(0xc8))/0x8*(parseInt(_0x5423bd(0xef))/0x9);if(_0x2d2253===_0x424fe3)break;else _0xa950c3['push'](_0xa950c3['shift']());}catch(_0x17dcb2){_0xa950c3['push'](_0xa950c3['shift']());}}}(a64_0x1595,0x925ed));function a64_0x1595(){const _0x4b67a8=['GGgeL','eVNjF','ykZIh','debug','][\x20SDK-AUTOMATION\x20]\x20','[a11y-runner]\x20','env','\x27\x20script\x20available','1113440JTbfJH','getAccessibilityModule','[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','40OMVWqO','runScan','silly','../v2/browserstackCLI','2250312dyWkcE','scan','runSaveResults','util','XDUkn','getScriptByName','GhjfY','dcRaa','function','SKaMX','1931713tDHiWF','isRunning','bMUeZ','testhub_build_uuid','find','saveResults','BZwLq','tzJww','BROWSERSTACK_TESTHUB_JWT','904394YovlBV','getCapabilityValue','PmWTQ','5615262lMlofJ','kqFwH','command','stringify','nXOxy','[a11y-runner]\x20%s\x20failed:\x20%O','../../helpers/logger','format','416452ZIFWSQ','gpoqy','KSvvg','35VTYDYQ','yPyDn','1766322MZOjIL','[a11y-runner]\x20no\x20\x27','jXfiY','winstonLogger','zBgEd'];a64_0x1595=function(){return _0x4b67a8;};return a64_0x1595();}function a64_0x54dc(_0x3edb18,_0x196f80){const _0x159587=a64_0x1595();return a64_0x54dc=function(_0x54dcf5,_0x2a3ab0){_0x54dcf5=_0x54dcf5-0xbf;let _0x18242b=_0x159587[_0x54dcf5];return _0x18242b;},a64_0x54dc(_0x3edb18,_0x196f80);}const util=require(a64_0xfbfb57(0xcf)),logger=require(a64_0xfbfb57(0xe8))[a64_0xfbfb57(0xf2)],{automationLogger}=require(a64_0xfbfb57(0xe8)),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');async function _run(_0x327a81,_0x1df624,_0xb114d8,_0x13a59e){const _0x4a5a5c=a64_0xfbfb57,_0x1fb7b9={'bMUeZ':function(_0x44c01f,_0x1ac6b3){return _0x44c01f(_0x1ac6b3);},'BZwLq':_0x4a5a5c(0xcb),'PmWTQ':function(_0xad25f9,_0x2ab8da){return _0xad25f9!==_0x2ab8da;},'UPSMB':_0x4a5a5c(0xd4),'XDUkn':function(_0x1d2528,_0x517806){return _0x1d2528||_0x517806;},'jXfiY':function(_0x165ed5,_0x146fd8){return _0x165ed5||_0x146fd8;},'kqFwH':_0x4a5a5c(0xc7),'yPyDn':_0x4a5a5c(0xe7)};try{const _0x35fc5a=_0x1fb7b9[_0x4a5a5c(0xd8)](require,_0x1fb7b9[_0x4a5a5c(0xdc)]),_0x1c6b35=_0x35fc5a['getInstance']();if(!_0x1c6b35||!_0x1c6b35[_0x4a5a5c(0xd7)]())return null;const _0xc413a=_0x1c6b35['getAccessibilityModule']&&_0x1c6b35['getAccessibilityModule']();if(!_0xc413a)return null;if(_0x1fb7b9[_0x4a5a5c(0xe1)](typeof _0xc413a[_0x4a5a5c(0xd1)],_0x1fb7b9['UPSMB']))return null;const _0x48a7ba=_0xc413a[_0x4a5a5c(0xd1)](_0x327a81);if(!_0x48a7ba||!_0x48a7ba[_0x4a5a5c(0xe4)])return logger[_0x4a5a5c(0xc0)](_0x4a5a5c(0xf0)+_0x327a81+_0x4a5a5c(0xc4)),null;const _0x1dd8c4=await _0x1df624['executeAsyncScript'](_0x48a7ba[_0x4a5a5c(0xe4)],_0x1fb7b9[_0x4a5a5c(0xd0)](_0x13a59e,{}));logger[_0x4a5a5c(0xc0)](_0x4a5a5c(0xc2)+_0x327a81+'\x20result:\x20'+JSON[_0x4a5a5c(0xe5)](_0x1dd8c4));try{const _0x159973=AUTOMATION_LOG_COMMANDS[_0x4a5a5c(0xda)](_0x436d94=>_0x48a7ba[_0x4a5a5c(0xe4)]['includes'](_0x436d94));if(_0x159973){const _0x5df74a={};_0x5df74a['body']=_0x1dd8c4,automationLogger[_0x4a5a5c(0xca)]('['+new Date()['toISOString']()+_0x4a5a5c(0xc1)+JSON['stringify']({'request':{'command':_0x159973,'parameters':[_0x1fb7b9[_0x4a5a5c(0xf1)](_0x13a59e,{})]},'response':_0x5df74a}));}}catch(_0x5e4d6a){logger[_0x4a5a5c(0xc0)](util[_0x4a5a5c(0xe9)](_0x1fb7b9[_0x4a5a5c(0xe3)],_0x327a81,_0x5e4d6a));}return _0x1dd8c4;}catch(_0x52e351){return logger[_0x4a5a5c(0xc0)](util[_0x4a5a5c(0xe9)](_0x1fb7b9[_0x4a5a5c(0xee)],_0x327a81,_0x52e351)),null;}}function _argsFor(_0x578277,_0x10d63e,_0x480abd,_0x3b920b){const _0x58050a=a64_0xfbfb57,_0x23528f={'GhjfY':function(_0x1bcfb4,_0x46497a){return _0x1bcfb4(_0x46497a);},'rqFbn':_0x58050a(0xcb),'zBgEd':function(_0x1ad4ef,_0x41aad9){return _0x1ad4ef===_0x41aad9;},'ykZIh':_0x58050a(0xd4),'GGgeL':_0x58050a(0xd9),'tzJww':function(_0x1cdf4d,_0x2a0f29){return _0x1cdf4d||_0x2a0f29;}},_0x16b751=_0x23528f[_0x58050a(0xd2)](require,_0x23528f['rqFbn']),_0x26030b=_0x16b751['getInstance'](),_0x4b26cc=_0x26030b&&_0x26030b[_0x58050a(0xc6)]&&_0x26030b[_0x58050a(0xc6)]();let _0x5c6ade='';const _0x5bdd8f=process[_0x58050a(0xc3)][_0x58050a(0xde)]||'';try{_0x4b26cc&&_0x23528f[_0x58050a(0xf3)](typeof _0x4b26cc[_0x58050a(0xe0)],_0x23528f[_0x58050a(0xbf)])&&(_0x5c6ade=_0x4b26cc[_0x58050a(0xe0)](_0x23528f[_0x58050a(0xf4)])||'');}catch(_0x19a1a6){}return{'thTestRunUuid':_0x23528f[_0x58050a(0xdd)](_0x10d63e,''),'thBuildUuid':_0x5c6ade,'thJwtToken':_0x5bdd8f,'is_mobile_session':!!_0x3b920b,'commandName':_0x23528f[_0x58050a(0xdd)](_0x480abd,_0x578277)};}exports[a64_0xfbfb57(0xc9)]=async(_0x2cf84d,_0x4a56f1,_0x546f09,_0x2136c1)=>{const _0x1a63fe=a64_0xfbfb57,_0x27feb8={'SKaMX':function(_0xfe766f,_0x367f1c,_0x2a3802,_0x57e84c,_0x2b5cde){return _0xfe766f(_0x367f1c,_0x2a3802,_0x57e84c,_0x2b5cde);},'nXOxy':_0x1a63fe(0xcd),'dcRaa':function(_0x156b11,_0x431770,_0x2cb1cc,_0x1a7a4c,_0xbfeaf2){return _0x156b11(_0x431770,_0x2cb1cc,_0x1a7a4c,_0xbfeaf2);}},_0x21412d=_0x27feb8[_0x1a63fe(0xd5)](_argsFor,_0x27feb8[_0x1a63fe(0xe6)],_0x4a56f1,_0x546f09,_0x2136c1);return _0x27feb8[_0x1a63fe(0xd3)](_run,_0x27feb8[_0x1a63fe(0xe6)],_0x2cf84d,_0x4a56f1,_0x21412d);},exports[a64_0xfbfb57(0xce)]=async(_0x227241,_0xb6e001,_0x2cc34f)=>{const _0x61c236=a64_0xfbfb57,_0x3bc781={'KSvvg':function(_0x338bf3,_0x33d558,_0x2ebcb6,_0x4937d1,_0x50bc82){return _0x338bf3(_0x33d558,_0x2ebcb6,_0x4937d1,_0x50bc82);},'eVNjF':_0x61c236(0xdb),'gpoqy':function(_0x23a733,_0x49a004,_0x5e46bb,_0x27af63,_0x5cb1e1){return _0x23a733(_0x49a004,_0x5e46bb,_0x27af63,_0x5cb1e1);}},_0x5ab5eb=_0x3bc781[_0x61c236(0xec)](_argsFor,_0x3bc781[_0x61c236(0xf5)],_0xb6e001,_0x3bc781[_0x61c236(0xf5)],_0x2cc34f);return _0x3bc781[_0x61c236(0xeb)](_run,_0x3bc781[_0x61c236(0xf5)],_0x227241,_0xb6e001,_0x5ab5eb);};
|