browserstack-node-sdk 1.58.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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
|
-
const
|
|
1
|
+
const a57_0x1d4123=a57_0x4e49;function a57_0x4e49(_0x5f1e52,_0xf50068){const _0x475f4c=a57_0x475f();return a57_0x4e49=function(_0x4e4989,_0x3431c7){_0x4e4989=_0x4e4989-0x1c7;let _0x32ab43=_0x475f4c[_0x4e4989];return _0x32ab43;},a57_0x4e49(_0x5f1e52,_0xf50068);}(function(_0x53996a,_0x3ae42a){const _0x35083e=a57_0x4e49,_0x462610=_0x53996a();while(!![]){try{const _0x156956=parseInt(_0x35083e(0x1e7))/0x1*(-parseInt(_0x35083e(0x202))/0x2)+-parseInt(_0x35083e(0x21c))/0x3*(-parseInt(_0x35083e(0x1ff))/0x4)+parseInt(_0x35083e(0x1f5))/0x5*(-parseInt(_0x35083e(0x1ce))/0x6)+parseInt(_0x35083e(0x208))/0x7*(parseInt(_0x35083e(0x21a))/0x8)+-parseInt(_0x35083e(0x216))/0x9*(parseInt(_0x35083e(0x1d6))/0xa)+-parseInt(_0x35083e(0x1d7))/0xb+-parseInt(_0x35083e(0x211))/0xc*(-parseInt(_0x35083e(0x221))/0xd);if(_0x156956===_0x3ae42a)break;else _0x462610['push'](_0x462610['shift']());}catch(_0x3e7b35){_0x462610['push'](_0x462610['shift']());}}}(a57_0x475f,0x44a4f));const path=require(a57_0x1d4123(0x1eb)),url=require(a57_0x1d4123(0x21b)),util=require(a57_0x1d4123(0x205)),{nestedKeyValue,isFalse}=require(a57_0x1d4123(0x1fb)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a57_0x1d4123(0x207))['winstonLogger'],constants=require(a57_0x1d4123(0x21d)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require('../v2/state/hookState.js'),getBrowserFromWSEndpoint=_0x5d00ee=>{const _0x297c4a=a57_0x1d4123,_0xb02174={'TEVpY':_0x297c4a(0x1e3),'QCKOk':function(_0x39d309,_0x477af2){return _0x39d309(_0x477af2);}};try{const _0x2d5da8=url[_0x297c4a(0x1f3)](_0x5d00ee),_0x1d2751=new URLSearchParams(_0x2d5da8[_0x297c4a(0x1df)]),_0x2fbf16=Object[_0x297c4a(0x1f9)](_0x1d2751[_0x297c4a(0x1cf)]()),_0x388ba7=JSON[_0x297c4a(0x1f3)](_0x2fbf16[_0x297c4a(0x1cd)]);if(_0x388ba7&&(_0x388ba7[_0x297c4a(0x1e5)]||_0x388ba7[_0x297c4a(0x1db)]))return _0x388ba7[_0x297c4a(0x1e5)]||_0x388ba7['browserName'];return _0xb02174[_0x297c4a(0x1e9)];}catch(_0x5238bc){_0xb02174[_0x297c4a(0x20f)](debug,_0x297c4a(0x213)+_0x5238bc[_0x297c4a(0x1d4)]());}},getCloudProviderFromWsEndpoint=_0x3616f3=>{const _0x5f59c0=a57_0x1d4123,_0x258c98={};_0x258c98[_0x5f59c0(0x1ca)]='browserstack',_0x258c98[_0x5f59c0(0x206)]='unknown_grid';const _0x29ef56=_0x258c98;if(_0x3616f3[_0x5f59c0(0x1f1)](constants['BSTACK_URL'])||_0x3616f3[_0x5f59c0(0x1f1)](constants['BSTACK_ATS_URL']))return _0x29ef56[_0x5f59c0(0x1ca)];return _0x29ef56[_0x5f59c0(0x206)];},a57_0x4817fc={};a57_0x4817fc[a57_0x1d4123(0x1d3)]=undefined,a57_0x4817fc[a57_0x1d4123(0x220)]=undefined,a57_0x4817fc[a57_0x1d4123(0x1e5)]=undefined,a57_0x4817fc['browser_version']=undefined,a57_0x4817fc[a57_0x1d4123(0x1f7)]=undefined,a57_0x4817fc[a57_0x1d4123(0x1f4)]=undefined,a57_0x4817fc[a57_0x1d4123(0x1cb)]=undefined,a57_0x4817fc['capabilities']={};class PuppeteerSessionDetails{static [a57_0x1d4123(0x21f)]=a57_0x4817fc;constructor(){const _0x38b849=a57_0x1d4123,_0x1a7af5={};_0x1a7af5[_0x38b849(0x1e8)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x294db3=_0x1a7af5;throw new Error(_0x294db3['ieEPw']);}static [a57_0x1d4123(0x1fd)]=null;static async[a57_0x1d4123(0x1ef)](_0x21d717,_0x2fa3f7){const _0x2ed7f4=a57_0x1d4123,_0x29ee47={'WTYOo':_0x2ed7f4(0x1e3),'RRYbS':function(_0x4e4ffb,_0x3ae861){return _0x4e4ffb===_0x3ae861;},'ULnKy':_0x2ed7f4(0x219),'XIQDN':'local_grid','EGGKa':function(_0xcfee21,_0xe6219c){return _0xcfee21(_0xe6219c);},'mEUgX':function(_0x5808c8,_0x5a6605){return _0x5808c8===_0x5a6605;},'xkMLj':_0x2ed7f4(0x1fe),'dTcGH':'turboscale','vLmwO':_0x2ed7f4(0x1e2),'VsiAd':function(_0x3fa869,_0x530f37){return _0x3fa869(_0x530f37);},'NfbYp':function(_0x198ea8){return _0x198ea8();},'pZHUS':function(_0x13b731){return _0x13b731();},'TqKMv':function(_0xae34d8,_0x5d1e9e){return _0xae34d8(_0x5d1e9e);}};try{let _0x2deefb=_0x29ee47['WTYOo'],_0x170895=null;_0x21d717&&_0x29ee47[_0x2ed7f4(0x1f6)](typeof _0x21d717[_0x2ed7f4(0x1fc)],_0x29ee47[_0x2ed7f4(0x1d1)])&&(_0x170895=await _0x21d717[_0x2ed7f4(0x1fc)]());let _0xb4fb06=null,_0x56df95=null,_0x564939=null,_0x344390=_0x29ee47['XIQDN'];if(_0x2fa3f7){_0x344390=_0x29ee47['EGGKa'](getCloudProviderFromWsEndpoint,_0x2fa3f7);if(_0x29ee47['mEUgX'](_0x344390,_0x29ee47[_0x2ed7f4(0x1ee)]))_0x564939=constants['ATS_WSS_URL_REGEX']?constants[_0x2ed7f4(0x200)]['test'](_0x2fa3f7)?_0x29ee47[_0x2ed7f4(0x1ec)]:_0x29ee47[_0x2ed7f4(0x1f8)]:_0x29ee47[_0x2ed7f4(0x1f8)],_0x2deefb=_0x29ee47[_0x2ed7f4(0x218)](getBrowserFromWSEndpoint,_0x2fa3f7)||_0x2deefb,_0xb4fb06=this[_0x2ed7f4(0x21f)][_0x2ed7f4(0x1f7)],_0x56df95=this['currentSessionDetails'][_0x2ed7f4(0x1f4)];else{const _0x1ff5c4=await _0x29ee47[_0x2ed7f4(0x1e0)](getPlatformDetails);_0xb4fb06=_0x1ff5c4[_0x2ed7f4(0x1c9)],_0x56df95=_0x1ff5c4[_0x2ed7f4(0x20d)];}}else{const _0x35627a=await _0x29ee47[_0x2ed7f4(0x1de)](getPlatformDetails);_0xb4fb06=_0x35627a[_0x2ed7f4(0x1c9)],_0x56df95=_0x35627a[_0x2ed7f4(0x20d)];}const _0x5ad6a7={};_0x5ad6a7[_0x2ed7f4(0x1e5)]=_0x2deefb,_0x5ad6a7['browser_version']=_0x170895,_0x5ad6a7['capabilities']={},_0x5ad6a7[_0x2ed7f4(0x1f7)]=_0xb4fb06,_0x5ad6a7[_0x2ed7f4(0x1f4)]=_0x56df95,_0x5ad6a7['product']=_0x564939;const _0x30b10f=_0x5ad6a7,_0x469dcd={};_0x469dcd[_0x2ed7f4(0x1d3)]=_0x344390,this[_0x2ed7f4(0x21f)]=Object[_0x2ed7f4(0x20e)]({},this[_0x2ed7f4(0x21f)],_0x469dcd,_0x30b10f);}catch(_0x253335){_0x29ee47[_0x2ed7f4(0x1fa)](debug,_0x2ed7f4(0x1da)+util[_0x2ed7f4(0x1e1)](_0x253335)),this[_0x2ed7f4(0x1fd)]=_0x253335['toString']();}}static[a57_0x1d4123(0x1dd)](_0x363e52){const _0x1decc0=a57_0x1d4123,_0xb66d44={'JmNdG':function(_0x49541c,_0xded829){return _0x49541c===_0xded829;},'DrMfO':_0x1decc0(0x210),'aYAwI':function(_0x4292c7,_0x1f410b){return _0x4292c7(_0x1f410b);},'EllvF':_0x1decc0(0x209)},_0x4a618b=this;try{const _0x2fe79f=_0x363e52[_0x1decc0(0x203)]||_0x363e52[_0x1decc0(0x1dc)];if(!_0x2fe79f||_0x2fe79f[_0x1decc0(0x1e4)])return;const _0x17e244=_0x2fe79f['onmessage'];_0x2fe79f['onmessage']=function(_0x47b641){const _0x4ff781=_0x1decc0;try{const _0x1b4ade=_0xb66d44[_0x4ff781(0x1e6)](typeof _0x47b641,_0xb66d44['DrMfO'])?JSON[_0x4ff781(0x1f3)](_0x47b641):_0x47b641,_0x566d31=_0x1b4ade?.[_0x4ff781(0x1cc)]||_0x1b4ade?.['bsParams']||_0x1b4ade?.[_0x4ff781(0x1d2)]?.[_0x4ff781(0x1c8)]||_0x1b4ade?.[_0x4ff781(0x1d2)]?.[_0x4ff781(0x1cc)]||_0x1b4ade?.[_0x4ff781(0x201)]?.['bsParams']||_0x1b4ade?.[_0x4ff781(0x201)]?.[_0x4ff781(0x1cc)];if(_0x566d31){if(BrowserstackCLI[_0x4ff781(0x1ea)]()[_0x4ff781(0x215)]()){const _0x474ae5={};_0x474ae5[_0x4ff781(0x20c)]=_0x1b4ade,BrowserstackCLI[_0x4ff781(0x1ea)]()[_0x4ff781(0x1c7)]()[_0x4ff781(0x204)](AutomationFrameworkState[_0x4ff781(0x1d5)],HookState['POST'],_0x474ae5);}else{const _0x24c467=_0x566d31[_0x4ff781(0x212)],_0x4d9caa=_0x566d31[_0x4ff781(0x1f0)];_0x4d9caa&&(_0xb66d44[_0x4ff781(0x1d8)](debug,_0x4ff781(0x214)+JSON[_0x4ff781(0x1d9)](_0x4d9caa)),_0x4a618b[_0x4ff781(0x21f)][_0x4ff781(0x1f7)]=_0x4d9caa[_0x4ff781(0x1c9)],_0x4a618b[_0x4ff781(0x21f)]['platform_version']=_0x4d9caa['platformVersion']),_0x24c467&&(_0xb66d44[_0x4ff781(0x1d8)](debug,_0x4ff781(0x20a)+_0x24c467),_0x4a618b[_0x4ff781(0x21f)][_0x4ff781(0x220)]=_0x24c467);}_0xb66d44[_0x4ff781(0x1e6)](typeof _0x47b641,_0xb66d44['DrMfO'])&&(delete _0x1b4ade[_0x4ff781(0x1cc)],delete _0x1b4ade[_0x4ff781(0x1c8)],_0x1b4ade['params']&&(delete _0x1b4ade[_0x4ff781(0x1d2)][_0x4ff781(0x1c8)],delete _0x1b4ade[_0x4ff781(0x1d2)][_0x4ff781(0x1cc)]),_0x1b4ade[_0x4ff781(0x201)]&&(delete _0x1b4ade[_0x4ff781(0x201)][_0x4ff781(0x1c8)],delete _0x1b4ade[_0x4ff781(0x201)][_0x4ff781(0x1cc)]));}}catch(_0x513091){_0xb66d44[_0x4ff781(0x1d8)](debug,_0x4ff781(0x217)+_0x513091['message']);}return _0x17e244?.[_0x4ff781(0x1f2)](this,arguments);},_0x2fe79f['_bstackPatched']=!![],logger[_0x1decc0(0x20b)](_0xb66d44[_0x1decc0(0x21e)]);}catch(_0x461c26){_0xb66d44[_0x1decc0(0x1d8)](debug,_0x1decc0(0x1ed)+util[_0x1decc0(0x1e1)](_0x461c26)),_0x4a618b[_0x1decc0(0x1fd)]=_0x461c26[_0x1decc0(0x1d4)]();}}static[a57_0x1d4123(0x1d0)](){return this['currentSessionDetails'];}}module['exports']=PuppeteerSessionDetails;function a57_0x475f(){const _0x59b166=['platformName','KlnVf','product','bStackParams','caps','12NJXEUg','entries','getDetails','ULnKy','params','cloudProvider','toString','PLAYWRIGHT_DISPATCH','32770WnlDfB','5863891UoepQM','aYAwI','stringify','Error\x20in\x20setupBrowserDetails:\x20','browserName','connection','patchConnection','pZHUS','query','NfbYp','format','automate','chrome','_bstackPatched','browser','JmNdG','17ZxLfbJ','ieEPw','TEVpY','getInstance','path','dTcGH','Error\x20in\x20patchConnection:\x20','xkMLj','setupBrowserDetails','platformDetails','includes','apply','parse','platform_version','621350fXhazq','RRYbS','platform','vLmwO','fromEntries','TqKMv','../../helpers/helper','version','sessionError','browserstack','4244TfUjOf','ATS_WSS_URL_REGEX','result','41690IxgTTU','_connection','trackEvent','util','buZjX','../../helpers/logger','1501717sALubE','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','Setting\x20session\x20id\x20received\x20from\x20BS\x20','debug','message','platformVersion','assign','QCKOk','string','992388cLXaaR','sessionId','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','isRunning','81MkqQpD','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','VsiAd','function','8BABkEq','url','444ONziBB','../utils/constants','EllvF','currentSessionDetails','bsSessionId','169uKWijF','getAutomationFramework','bsParams'];a57_0x475f=function(){return _0x59b166;};return a57_0x475f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0xa8bdc3=a58_0xce6c;(function(_0x359aca,_0x584e26){const _0x185343=a58_0xce6c,_0x2e4b58=_0x359aca();while(!![]){try{const _0x540df1=-parseInt(_0x185343(0x8c))/0x1+parseInt(_0x185343(0xac))/0x2+-parseInt(_0x185343(0x8a))/0x3*(parseInt(_0x185343(0xaf))/0x4)+parseInt(_0x185343(0xab))/0x5*(-parseInt(_0x185343(0x99))/0x6)+parseInt(_0x185343(0x96))/0x7+-parseInt(_0x185343(0x8d))/0x8+parseInt(_0x185343(0xa8))/0x9;if(_0x540df1===_0x584e26)break;else _0x2e4b58['push'](_0x2e4b58['shift']());}catch(_0x1cba1b){_0x2e4b58['push'](_0x2e4b58['shift']());}}}(a58_0x5027,0x2af28));const {isTrue,isBrowserstackInfra}=require('../../helpers/helper'),setKeepAlive=require(a58_0xa8bdc3(0x83)),util=require(a58_0xa8bdc3(0x9d)),logger=require(a58_0xa8bdc3(0x8e))[a58_0xa8bdc3(0xa3)],{shouldProcessEventForTesthub}=require(a58_0xa8bdc3(0x85)),{addRequestSpy}=require(a58_0xa8bdc3(0x87)),a58_0x509fcb={};a58_0x509fcb[a58_0xa8bdc3(0xaa)]=undefined,a58_0x509fcb[a58_0xa8bdc3(0x92)]={},a58_0x509fcb[a58_0xa8bdc3(0x9b)]=![],a58_0x509fcb[a58_0xa8bdc3(0xb2)]=null,a58_0x509fcb['isPageFixture']=![],a58_0x509fcb[a58_0xa8bdc3(0x92)]['id']=undefined,a58_0x509fcb[a58_0xa8bdc3(0x92)][a58_0xa8bdc3(0xa6)]=undefined;function a58_0x5027(){const _0xa96402=['1251936RXkSpN','../../helpers/logger','../v2/browserstackCLI','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','skipSessionName','currentTest','catch','PUPPETEER','JEST','1428826fACMOz','__skipSessionStatus','__skipSessionName','1542AvwbnZ','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','o11ySyncDone','isCliEnabled','util','../../helpers/helper','setFrameworkDetail','puppeteer-core','../utils/constants','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','winstonLogger','env','getInstance','testInfo','initializePuppeteerPatching','3727278iWoZfu','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','workerInfo','515CvnsHv','356018hJvQKh','jestConfig','puppeteer','4604sqEPMY','skipSessionStatus','format','pwPage','true','../../helpers/setKeepAlive','bootstrap','../../helpers/testhub/utils','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','../../helpers/test-observability/utils','__workerDetails','getPackageVersion','402DQhOhs','debug','283160HzYjDz'];a58_0x5027=function(){return _0xa96402;};return a58_0x5027();}function a58_0xce6c(_0x292c2e,_0x1629ef){const _0x50273c=a58_0x5027();return a58_0xce6c=function(_0xce6c9,_0x4f7957){_0xce6c9=_0xce6c9-0x83;let _0x5d4ac1=_0x50273c[_0xce6c9];return _0x5d4ac1;},a58_0xce6c(_0x292c2e,_0x1629ef);}const workerDetails=a58_0x509fcb;global[a58_0xa8bdc3(0x88)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a58_0xa8bdc3(0xad)])try{isBrowserstackInfra()?(global[a58_0xa8bdc3(0x98)]=isTrue(global[a58_0xa8bdc3(0xad)]?.[a58_0xa8bdc3(0x91)]),global[a58_0xa8bdc3(0x97)]=isTrue(global[a58_0xa8bdc3(0xad)]?.[a58_0xa8bdc3(0xb0)])):(global[a58_0xa8bdc3(0x98)]=!![],global[a58_0xa8bdc3(0x97)]=!![]);const helper=require(a58_0xa8bdc3(0x9e)),puppeteerVersion=helper[a58_0xa8bdc3(0x89)](a58_0xa8bdc3(0xae))||helper[a58_0xa8bdc3(0x89)](a58_0xa8bdc3(0xa0));if(puppeteerVersion)try{logger[a58_0xa8bdc3(0x8b)](a58_0xa8bdc3(0x86)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a58_0xa8bdc3(0xa7)](global[a58_0xa8bdc3(0xad)]),logger[a58_0xa8bdc3(0x8b)](a58_0xa8bdc3(0x9a));}catch(a58_0x3a9a98){logger['debug'](a58_0xa8bdc3(0xa2)+util[a58_0xa8bdc3(0xb1)](a58_0x3a9a98));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a58_0xa8bdc3(0x8f)),CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require(a58_0xa8bdc3(0xa1));BrowserstackCLI[a58_0xa8bdc3(0xa5)]()[a58_0xa8bdc3(0x9c)]()&&(logger[a58_0xa8bdc3(0x8b)](a58_0xa8bdc3(0xa9)),process[a58_0xa8bdc3(0xa4)]['BROWSERSTACK_PUPPETEER']=a58_0xa8bdc3(0xb3),CLIUtils[a58_0xa8bdc3(0x9f)](FRAMEWORKS[a58_0xa8bdc3(0x95)],FRAMEWORKS[a58_0xa8bdc3(0x94)]),BrowserstackCLI['getInstance']()[a58_0xa8bdc3(0x84)]()[a58_0xa8bdc3(0x93)](_0x2e6b17=>{const _0x2c7727=a58_0xa8bdc3;logger[_0x2c7727(0x8b)](_0x2c7727(0x90)+util[_0x2c7727(0xb1)](_0x2e6b17));}));}catch(a58_0x578e38){logger[a58_0xa8bdc3(0x8b)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a58_0xa8bdc3(0xb1)](a58_0x578e38));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a58_0x2141a7){logger['debug']('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a58_0xa8bdc3(0xb1)](a58_0x2141a7));}logger[a58_0xa8bdc3(0x8b)]('[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed');
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a59_0x510ff8=a59_0x4ac0;function a59_0x4ac0(_0x384704,_0x2a1741){const _0x51a216=a59_0x51a2();return a59_0x4ac0=function(_0x4ac004,_0x23ab41){_0x4ac004=_0x4ac004-0x9d;let _0x3271ce=_0x51a216[_0x4ac004];return _0x3271ce;},a59_0x4ac0(_0x384704,_0x2a1741);}(function(_0x296717,_0x10bde3){const _0x1a2faa=a59_0x4ac0,_0x218856=_0x296717();while(!![]){try{const _0x2f5822=parseInt(_0x1a2faa(0x117))/0x1+parseInt(_0x1a2faa(0x13c))/0x2+parseInt(_0x1a2faa(0x129))/0x3*(-parseInt(_0x1a2faa(0x113))/0x4)+parseInt(_0x1a2faa(0xba))/0x5*(parseInt(_0x1a2faa(0x11c))/0x6)+parseInt(_0x1a2faa(0xcc))/0x7+parseInt(_0x1a2faa(0x11f))/0x8+-parseInt(_0x1a2faa(0x138))/0x9*(parseInt(_0x1a2faa(0xec))/0xa);if(_0x2f5822===_0x10bde3)break;else _0x218856['push'](_0x218856['shift']());}catch(_0x452c9c){_0x218856['push'](_0x218856['shift']());}}}(a59_0x51a2,0x8ec39));const fs=require('fs'),path=require('path'),util=require(a59_0x510ff8(0x103)),spawn=require(a59_0x510ff8(0xb5))['spawn'],{requireModule}=require(a59_0x510ff8(0x118)),PerformanceTester=require(a59_0x510ff8(0xb4)),PerformanceEvents=require(a59_0x510ff8(0xd9))['EVENTS'],helper=require(a59_0x510ff8(0x118)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a59_0x510ff8(0xfa)),runIntegrations=require(a59_0x510ff8(0x137)),yargs=require(a59_0x510ff8(0x9e)),Constants=require(a59_0x510ff8(0xb9)),BrowserstackCLI=require(a59_0x510ff8(0xed)),{isNewman}=require('./newman/helper'),logger=require(a59_0x510ff8(0x13a))[a59_0x510ff8(0xa4)],origArgs=Object[a59_0x510ff8(0x11d)]([],process[a59_0x510ff8(0xbb)]),captureError=async(_0x1fd27e,_0x5186be,_0x1e0b51,_0x345de0=null,_0x545304=![])=>{const _0x2b367e=a59_0x510ff8,_0x561c80={'nfzXu':function(_0xd3fee1,_0x18e724,_0x2d7708,_0x1cc151){return _0xd3fee1(_0x18e724,_0x2d7708,_0x1cc151);},'SDBRm':_0x2b367e(0xe8)};try{logger[_0x2b367e(0xe5)](_0x2b367e(0xc2)+origArgs[_0x2b367e(0x126)]('\x20')),await _0x561c80['nfzXu'](_0x1fd27e,_0x5186be,_0x345de0,_0x1e0b51);}catch(_0x255896){process['exitCode']=0x1,logger[_0x2b367e(0x11a)](util[_0x2b367e(0x142)](_0x255896));const _0x5b33aa={'globalException':util[_0x2b367e(0x142)]('%j',_0x255896)};PerformanceTester['end'](PerformanceEvents[_0x2b367e(0x105)],![],util[_0x2b367e(0x142)](_0x255896));if(helper['isUndefined'](global['config'])&&helper[_0x2b367e(0x109)](global['framework']))return;try{utilities[_0x2b367e(0xd3)](_0x561c80[_0x2b367e(0x146)],_0x5b33aa,global[_0x2b367e(0xaa)],global[_0x2b367e(0xcd)]);}catch(_0x795e9b){logger[_0x2b367e(0xc6)](_0x2b367e(0xd6)+_0x795e9b[_0x2b367e(0x12a)]);}try{await helper[_0x2b367e(0x12d)](global[_0x2b367e(0xaa)]);}catch(_0x436b90){logger[_0x2b367e(0xc6)](_0x2b367e(0xf3)+_0x436b90[_0x2b367e(0x12a)]);}PerformanceTester[_0x2b367e(0x145)](PerformanceEvents[_0x2b367e(0x105)],![],util[_0x2b367e(0x142)](_0x255896));}finally{!_0x545304&&await BrowserstackCLI['getInstance']()[_0x2b367e(0xe4)](),PerformanceTester['start'](PerformanceEvents[_0x2b367e(0x10e)]);}};try{const browserstackFolderPath=path[a59_0x510ff8(0x126)](helper[a59_0x510ff8(0xd8)](),a59_0x510ff8(0xc8));if(fs[a59_0x510ff8(0x10c)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,'.local-not-set.json');fs[a59_0x510ff8(0x10c)](filePath)&&fs[a59_0x510ff8(0xc1)](filePath);}}catch(a59_0x5bff82){logger[a59_0x510ff8(0xc6)](a59_0x510ff8(0xf0)+a59_0x5bff82[a59_0x510ff8(0x127)]);}process['argv'][a59_0x510ff8(0xc0)](a59_0x510ff8(0xc7))&&(!process[a59_0x510ff8(0xbb)][a59_0x510ff8(0xc0)]('--opts')&&process['argv'][a59_0x510ff8(0xab)](a59_0x510ff8(0x9f)),!process[a59_0x510ff8(0xbb)][a59_0x510ff8(0xf9)](_0x45edca=>_0x45edca['includes']('--config'))&&process['argv'][a59_0x510ff8(0xab)]('--no-config'),!process[a59_0x510ff8(0xbb)][a59_0x510ff8(0xc0)](a59_0x510ff8(0xcb))&&process[a59_0x510ff8(0xbb)]['push'](a59_0x510ff8(0xa3)),helper[a59_0x510ff8(0xbe)](process['argv'],a59_0x510ff8(0x111),'--mochaRequire'));PerformanceTester[a59_0x510ff8(0xa7)](PerformanceEvents[a59_0x510ff8(0x105)]);const a59_0x59494c={};function a59_0x51a2(){const _0x422c6a=['5008493bOxexf','framework','qZGLI','LbxmH','xHHjY','split','DEBUG_FILE','fireFunnelTestEvent','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./jest/command','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','ujTaV','homedir','../helpers/performance/constants','env','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','MiXXJ','PLAYWRIGHT','./codeceptjs/command','lVJyu','RSrkR','gUBSX','wrap','CODECEPTJS','stop','info','pw:channel\x20auto-capture\x20seed\x20failed:\x20','fAIvr','SDKTestSuccessful','trim','uoeRI','boolean','226910WHSMaP','./v2/browserstackCLI','getConfigPath','-pw:*','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','some','pw:channel','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','KGbia','getPwChannelLogPath','showHelpOnFail','HELP','testcafe','find','../helpers/test-observability/constants','integrations','jlFnq','filter','./newman/command','pw:*','newman','dot-notation','handler','util','./playwright/command','SDK_SETUP','SxCYK','yITWD','NIGHTWATCH','isUndefined','Parsing\x20command\x20line\x20arguments','cbPgb','existsSync','EiwOJ','SDK_CLEANUP','sOXbL','nightwatch','--require','setTestObservabilityDisable','1304wHKOCv','eerXp','node','CZkGo','201838rxkdLM','../helpers/helper','VANILLA','error','-pw:channel','3364428DRVZzB','assign','codeceptjs','3186736lIegql','mJvIQ','JEST','JVRuQ','vWaLJ','help','qkTqW','join','message','pAMfC','3702qzaQMp','stack','version','FWKoy','sendLogs','./cucumber-js/command','qzmns','OPEbo','VERSION','TKQQP','SpPVR','bpwvz','cucumber-js','setBrowserStackAutomationDisable','./integrations/command','450KnlgOi','ByVpe','../helpers/logger','ats','490356qlWFDv','nktcr','../../ats/src/index','ZjgXl','BROWSERSTACK_CONFIG_FILE_PATH','pxGxQ','format','DEBUG','HHnCr','end','SDBRm','exitProcess','yargs','--no-opts','dtyFM','lEAnr','demandCommand','--no-package','winstonLogger','disableAutoCaptureLogs','parserConfiguration','start','map','idLNX','config','push','vanilla','INFO','UocMm','IRjLS','Show\x20help','jest','mocha/lib/cli/commands.js','./load/index','../helpers/performance/performance-tester','child_process','zvxiK','strict','./nightwatch/command','./utils/constants','5NAXSLY','argv','alias','wsdNp','findAndReplace','slice','includes','unlinkSync','Running\x20SDK\x20with\x20args\x20','dFaJq','command','./mocha/command','debug','mocha','.browserstack','djKXo','TESTCAFE','--package'];a59_0x51a2=function(){return _0x422c6a;};return a59_0x51a2();}a59_0x59494c[a59_0x510ff8(0x101)]=![];const argv=yargs[a59_0x510ff8(0xa6)](a59_0x59494c)['usage']('usage:\x20$0\x20<command>\x20[args]')[a59_0x510ff8(0xbc)]('v',a59_0x510ff8(0x12b))['describe']('v')[a59_0x510ff8(0xbc)]('h','help')['help'](a59_0x510ff8(0x124))[a59_0x510ff8(0xf6)](!![],Constants[a59_0x510ff8(0x131)][a59_0x510ff8(0xf7)])[a59_0x510ff8(0xc4)](a59_0x510ff8(0xb1),Constants[a59_0x510ff8(0x121)][a59_0x510ff8(0xad)],function(_0x2c9cda){const _0x9db0b=a59_0x510ff8,_0x4f0d4a={'jMJSP':_0x9db0b(0xb1),'KGJwj':function(_0x1b24a9,_0xebec60,_0xd6b46,_0x4da2cd,_0x4c0c90,_0x2321c3){return _0x1b24a9(_0xebec60,_0xd6b46,_0x4da2cd,_0x4c0c90,_0x2321c3);},'jlFnq':function(_0x16fb08,_0x53310e){return _0x16fb08(_0x53310e);},'pxGxQ':_0x9db0b(0xd5)},_0x281546=process[_0x9db0b(0xbb)][_0x9db0b(0xbf)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x2c9cda[_0x9db0b(0xb7)](![]);const _0x22ffb2=new BrowserStackSetup(_0x2c9cda[_0x9db0b(0xbb)],_0x4f0d4a['jMJSP']);return _0x4f0d4a['KGJwj'](captureError,_0x4f0d4a[_0x9db0b(0xfc)](require,_0x4f0d4a[_0x9db0b(0x141)]),_0x2c9cda[_0x9db0b(0xbb)],_0x22ffb2,_0x281546,!![]);})[a59_0x510ff8(0xc4)]('jasmine',Constants['JASMINE'][a59_0x510ff8(0xad)],function(_0x2b186e){const _0x1cb11e=a59_0x510ff8,_0x102bdb={'IRjLS':'jasmine','dFaJq':function(_0x193ecf,_0x1e1001,_0x20e68b,_0x4c5f17,_0x46445c,_0x585088){return _0x193ecf(_0x1e1001,_0x20e68b,_0x4c5f17,_0x46445c,_0x585088);},'ujTaV':function(_0x291935,_0x2b4f14){return _0x291935(_0x2b4f14);},'SpPVR':'./jasmine/command'},_0x50a9aa=process['argv'][_0x1cb11e(0xbf)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x2b186e[_0x1cb11e(0xb7)](![]);const _0xe51ec1=new BrowserStackSetup(_0x2b186e[_0x1cb11e(0xbb)],_0x102bdb[_0x1cb11e(0xaf)]);return _0x102bdb[_0x1cb11e(0xc3)](captureError,_0x102bdb[_0x1cb11e(0xd7)](require,_0x102bdb[_0x1cb11e(0x133)]),_0x2b186e['argv'],_0xe51ec1,_0x50a9aa,!![]);})['command'](a59_0x510ff8(0xc7),Constants['MOCHA'][a59_0x510ff8(0xad)],_0x2ce048=>{const _0x5c7b45=a59_0x510ff8,_0x61f315={'uoeRI':function(_0x1bd629,_0x3dac5e,_0x449b5a,_0x469b25){return _0x1bd629(_0x3dac5e,_0x449b5a,_0x469b25);},'dcGcK':function(_0x3b0642,_0x22d5aa){return _0x3b0642(_0x22d5aa);},'zvxiK':_0x5c7b45(0xc5),'yITWD':_0x5c7b45(0xc7),'qzmns':_0x5c7b45(0x10a),'AaXlY':function(_0x47c29e,_0x37403c,_0x24ed95){return _0x47c29e(_0x37403c,_0x24ed95);},'LbxmH':'mocha/lib/cli/run.js','wsdNp':function(_0x38f4df,_0xa47a03,_0x5b9a5f){return _0x38f4df(_0xa47a03,_0x5b9a5f);},'OPEbo':_0x5c7b45(0xb2),'vWaLJ':function(_0x52076c,_0x169a0e,_0x1e6160){return _0x52076c(_0x169a0e,_0x1e6160);},'sOXbL':'mocha/lib/cli/cli.js','cXysG':function(_0x3e9c35){return _0x3e9c35();}};process[_0x5c7b45(0xbb)]=process[_0x5c7b45(0xbb)][_0x5c7b45(0xbf)](0x1),helper[_0x5c7b45(0x112)](),helper['setBrowserStackAutomationDisable']();const _0x520a1a=new BrowserStackSetup(_0x2ce048[_0x5c7b45(0xbb)],_0x61f315[_0x5c7b45(0x107)]);logger[_0x5c7b45(0xc6)](_0x61f315[_0x5c7b45(0x12f)]);const _0x3d00a8=_0x61f315['AaXlY'](requireModule,_0x61f315[_0x5c7b45(0xcf)],_0x61f315[_0x5c7b45(0x107)]),_0x204313=_0x61f315[_0x5c7b45(0xbd)](requireModule,_0x61f315[_0x5c7b45(0x130)],_0x61f315[_0x5c7b45(0x107)]);delete _0x3d00a8[_0x5c7b45(0x102)],_0x3d00a8[_0x5c7b45(0x102)]=function(_0x5b9c84){const _0x2e8507=_0x5c7b45;return _0x61f315[_0x2e8507(0xea)](captureError,_0x61f315['dcGcK'](require,_0x61f315[_0x2e8507(0xb6)]),_0x5b9c84,_0x520a1a);},_0x204313['run']=_0x3d00a8;const {main:_0x4c6209}=_0x61f315[_0x5c7b45(0x123)](requireModule,_0x61f315[_0x5c7b45(0x10f)],_0x61f315[_0x5c7b45(0x107)]);_0x61f315['cXysG'](_0x4c6209);})[a59_0x510ff8(0xc4)]('cucumber-js',Constants['CUCUMBER']['INFO'],function(_0x311085){const _0xdfc2ed=a59_0x510ff8,_0xb99d21={'FWKoy':_0xdfc2ed(0x135),'WmvbC':function(_0x2ef298,_0x3dc076,_0x265fb9,_0x12af93,_0x40bf74,_0x4012b5){return _0x2ef298(_0x3dc076,_0x265fb9,_0x12af93,_0x40bf74,_0x4012b5);},'UocMm':function(_0x86d4a8,_0x24fdaa){return _0x86d4a8(_0x24fdaa);},'uVwMK':_0xdfc2ed(0x12e)},_0x2cfea8=process[_0xdfc2ed(0xbb)][_0xdfc2ed(0xbf)](0x2),_0x3898d7=new BrowserStackSetup(_0x311085[_0xdfc2ed(0xbb)],_0xb99d21[_0xdfc2ed(0x12c)]);return _0xb99d21['WmvbC'](captureError,_0xb99d21[_0xdfc2ed(0xae)](require,_0xb99d21['uVwMK']),_0x311085['argv'],_0x3898d7,_0x2cfea8,!![]);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0x115),Constants[a59_0x510ff8(0x119)][a59_0x510ff8(0xad)],function(_0x273dcf){const _0xe32310=a59_0x510ff8,_0xae8a10={'MrDMm':_0xe32310(0xac),'qkTqW':function(_0x3ce3ae,_0x1f990b){return _0x3ce3ae(_0x1f990b);},'nktcr':_0xe32310(0x100),'pAMfC':function(_0x447c71,_0x339072,_0x4a8114,_0x514d5c,_0x4b0db7){return _0x447c71(_0x339072,_0x4a8114,_0x514d5c,_0x4b0db7);},'eerXp':function(_0x4aa00a,_0x2f4ce4){return _0x4aa00a(_0x2f4ce4);},'KGbia':_0xe32310(0xfe),'qZGLI':function(_0x5e0af4,_0x16971c,_0x1faa65,_0x3cd84f,_0x794570){return _0x5e0af4(_0x16971c,_0x1faa65,_0x3cd84f,_0x794570);},'ByVpe':'./vanilla-js/command'},_0x343c0c=process[_0xe32310(0xbb)]['slice'](0x2),_0x3b4768=new BrowserStackSetup(_0x273dcf['argv'],_0xae8a10['MrDMm']),_0x218802=_0x3b4768?_0x3b4768[_0xe32310(0xaa)]:null;if(_0xae8a10[_0xe32310(0x125)](isNewman,_0x218802))return _0x3b4768['framework']=_0xae8a10['nktcr'],global[_0xe32310(0xcd)]=_0xae8a10[_0xe32310(0x13d)],_0xae8a10[_0xe32310(0x128)](captureError,_0xae8a10[_0xe32310(0x114)](require,_0xae8a10[_0xe32310(0xf4)]),_0x273dcf[_0xe32310(0xbb)],_0x3b4768,_0x343c0c);return _0xae8a10[_0xe32310(0xce)](captureError,_0xae8a10[_0xe32310(0x125)](require,_0xae8a10[_0xe32310(0x139)]),_0x273dcf['argv'],_0x3b4768,_0x343c0c);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0x110),Constants[a59_0x510ff8(0x108)][a59_0x510ff8(0xad)],function(_0x2083aa){const _0x28bec5=a59_0x510ff8,_0x26e141={'lVJyu':function(_0x1d42f7,_0x37ef71,_0x3f7c4e,_0x34b843,_0x16a3d0){return _0x1d42f7(_0x37ef71,_0x3f7c4e,_0x34b843,_0x16a3d0);},'SxCYK':function(_0x249e74,_0x1d68da){return _0x249e74(_0x1d68da);},'dChvw':_0x28bec5(0xb8)},_0x29237d=process['argv'][_0x28bec5(0xbf)](0x2),_0x36c587=new BrowserStackSetup(_0x2083aa[_0x28bec5(0xbb)]);return _0x26e141[_0x28bec5(0xdf)](captureError,_0x26e141[_0x28bec5(0x106)](require,_0x26e141['dChvw']),_0x2083aa['argv'],_0x36c587,_0x29237d);})[a59_0x510ff8(0xc4)]('codeceptjs',Constants[a59_0x510ff8(0xe3)][a59_0x510ff8(0xad)],function(_0xc25315){const _0x23eae4=a59_0x510ff8,_0x1c3ed6={'ppsjb':_0x23eae4(0x11e),'djKXo':function(_0x5e3f78,_0x3e7be1,_0x298e0c,_0x4bcd2b,_0x14d088){return _0x5e3f78(_0x3e7be1,_0x298e0c,_0x4bcd2b,_0x14d088);},'OtRje':function(_0x19e636,_0x50510d){return _0x19e636(_0x50510d);},'mJvIQ':_0x23eae4(0xde)},_0x59563f=process[_0x23eae4(0xbb)][_0x23eae4(0xbf)](0x2),_0x555321=new BrowserStackSetup(_0xc25315[_0x23eae4(0xbb)],_0x1c3ed6['ppsjb']);return _0x1c3ed6[_0x23eae4(0xc9)](captureError,_0x1c3ed6['OtRje'](require,_0x1c3ed6[_0x23eae4(0x120)]),_0xc25315[_0x23eae4(0xbb)],_0x555321,_0x59563f);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0x13b),Constants['HST'][a59_0x510ff8(0xad)],function(_0xa3ffe2){const _0x457209=a59_0x510ff8,_0x44aef8={'bpwvz':function(_0x2054ec,_0x54701f,_0x23c14a){return _0x2054ec(_0x54701f,_0x23c14a);},'lEAnr':function(_0x329490,_0x46d566){return _0x329490(_0x46d566);},'idLNX':_0x457209(0x13e)},_0x2b329c=process[_0x457209(0xbb)][_0x457209(0xbf)](0x2);return _0x44aef8[_0x457209(0x134)](captureError,_0x44aef8[_0x457209(0xa1)](require,_0x44aef8[_0x457209(0xa9)]),_0xa3ffe2);})['command'](a59_0x510ff8(0xfb),Constants['INTEGRATIONS']['INFO'],function(_0x12ca3e){const _0x29ef4a=a59_0x510ff8,_0x1d8ee3={'JVRuQ':function(_0x3553ec,_0x4b9d72){return _0x3553ec(_0x4b9d72);}};return _0x1d8ee3[_0x29ef4a(0x122)](runIntegrations,_0x12ca3e);})['command']('playwright',Constants[a59_0x510ff8(0xdd)][a59_0x510ff8(0xad)],function(_0x44f938){const _0x1e7be4=a59_0x510ff8,_0x4c76df={'HHnCr':_0x1e7be4(0xf2),'MiXXJ':function(_0x18dca8,_0x4964db){return _0x18dca8&&_0x4964db;},'RSrkR':function(_0xbe9cc9,_0x1a63b5,_0x3ec447,_0x8f5c1f,_0x30388e,_0x28a34e){return _0xbe9cc9(_0x1a63b5,_0x3ec447,_0x8f5c1f,_0x30388e,_0x28a34e);},'ZFJLl':function(_0x12032d,_0x2c84d5){return _0x12032d(_0x2c84d5);},'ifFYQ':_0x1e7be4(0x104)},_0x1563e0=process[_0x1e7be4(0xbb)]['slice'](0x2);helper[_0x1e7be4(0xee)](process[_0x1e7be4(0xbb)])&&(process['env'][_0x1e7be4(0x140)]=helper[_0x1e7be4(0xee)](process[_0x1e7be4(0xbb)]));helper['setTestObservabilityDisable'](),helper[_0x1e7be4(0x136)]();const _0xdcc0c9=new BrowserStackSetup(_0x44f938[_0x1e7be4(0xbb)],FRAMEWORKS[_0x1e7be4(0xdd)]);try{if(!_0xdcc0c9[_0x1e7be4(0xaa)]||!_0xdcc0c9['config'][_0x1e7be4(0xa5)]){const _0x41f26d=_0x4c76df[_0x1e7be4(0x144)],_0x13af91=process[_0x1e7be4(0xda)][_0x1e7be4(0x143)]||'',_0x37d305=_0x13af91[_0x1e7be4(0xd1)](',')[_0x1e7be4(0xa8)](_0x139800=>_0x139800[_0x1e7be4(0xe9)]())[_0x1e7be4(0xfd)](Boolean),_0x5bde56=_0x37d305[_0x1e7be4(0xf1)](_0x5c068b=>_0x5c068b===_0x1e7be4(0x11b)||_0x5c068b===_0x1e7be4(0xef)||_0x5c068b==='-*'),_0xf2aff4=_0x37d305[_0x1e7be4(0xf1)](_0x16ecea=>_0x16ecea===_0x41f26d||_0x16ecea===_0x1e7be4(0xff)||_0x16ecea==='*');if(_0x4c76df[_0x1e7be4(0xdc)](!_0x5bde56,!_0xf2aff4)){const _0x143cbb=helper[_0x1e7be4(0xf5)]();_0x143cbb&&(process[_0x1e7be4(0xda)][_0x1e7be4(0x143)]=_0x13af91?_0x13af91+','+_0x41f26d:_0x41f26d,!process[_0x1e7be4(0xda)]['DEBUG_FILE']&&(process['env'][_0x1e7be4(0xd2)]=_0x143cbb));}}}catch(_0x37943d){logger[_0x1e7be4(0xc6)](_0x1e7be4(0xe6)+util['format'](_0x37943d));}return _0x4c76df[_0x1e7be4(0xe0)](captureError,_0x4c76df['ZFJLl'](require,_0x4c76df['ifFYQ']),_0x44f938['argv'],_0xdcc0c9,_0x1563e0,!![]);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0xf8),Constants[a59_0x510ff8(0xca)][a59_0x510ff8(0xad)],function(_0x4c207d){const _0xa5cffc=a59_0x510ff8,_0xa118ca={'dtyFM':_0xa5cffc(0xf8),'CZkGo':function(_0x268a21,_0x4426a0,_0x1e926c,_0x4d2e11,_0x3a9aac,_0x2a638e){return _0x268a21(_0x4426a0,_0x1e926c,_0x4d2e11,_0x3a9aac,_0x2a638e);},'GRZVR':function(_0x1fd3dd,_0x3d4368){return _0x1fd3dd(_0x3d4368);},'bqBLa':'./testcafe/command'},_0x4bc7c3=process[_0xa5cffc(0xbb)][_0xa5cffc(0xbf)](0x2),_0x2b40ef=new BrowserStackSetup(_0x4c207d['argv'],_0xa118ca[_0xa5cffc(0xa0)]);return _0xa118ca[_0xa5cffc(0x116)](captureError,_0xa118ca['GRZVR'](require,_0xa118ca['bqBLa']),_0x4c207d[_0xa5cffc(0xbb)],_0x2b40ef,_0x4bc7c3,!![]);})['command']('load\x20[subcommand]','Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x322c5f){const _0x4c0185=a59_0x510ff8,_0x1c1f65={};_0x1c1f65['DubYn']=_0x4c0185(0x124),_0x1c1f65[_0x4c0185(0xe7)]=_0x4c0185(0xeb),_0x1c1f65[_0x4c0185(0xe1)]=_0x4c0185(0xb0);const _0x36bbc3=_0x1c1f65;return _0x322c5f[_0x4c0185(0x124)](![])['option'](_0x36bbc3['DubYn'],{'alias':'h','type':_0x36bbc3['fAIvr'],'describe':_0x36bbc3[_0x4c0185(0xe1)]})['strict'](![])[_0x4c0185(0x9d)](![]);},function(_0x338c5f){const _0x2c0033=a59_0x510ff8,_0x1f7486={'EiwOJ':function(_0x4070ee,_0x1b3123,_0x1bd10a){return _0x4070ee(_0x1b3123,_0x1bd10a);},'ZjgXl':function(_0x56aac4,_0x2c84d8){return _0x56aac4(_0x2c84d8);},'CzWci':_0x2c0033(0xb3)},_0x8c3378={};return _0x8c3378[_0x2c0033(0xbb)]=_0x338c5f,_0x1f7486[_0x2c0033(0x10d)](captureError,_0x1f7486[_0x2c0033(0x13f)](require,_0x1f7486['CzWci']),_0x8c3378);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0x100),Constants['NEWMAN']['INFO'],function(_0x23bb07){const _0xacda=a59_0x510ff8,_0x352fba={'xHHjY':_0xacda(0x100),'TKQQP':function(_0x2e8034,_0xd761b2,_0x5e58ec,_0x2020e6,_0x3e810e){return _0x2e8034(_0xd761b2,_0x5e58ec,_0x2020e6,_0x3e810e);},'cbPgb':function(_0x1ea705,_0xbb9fc){return _0x1ea705(_0xbb9fc);},'oGHNa':'./newman/command'},_0x5f4f39=process[_0xacda(0xbb)][_0xacda(0xbf)](0x2);helper[_0xacda(0x112)](),helper[_0xacda(0x136)](),_0x23bb07[_0xacda(0xb7)](![]);const _0xea5562=new BrowserStackSetup(_0x23bb07['argv'],_0x352fba[_0xacda(0xd0)]);return _0x352fba[_0xacda(0x132)](captureError,_0x352fba[_0xacda(0x10b)](require,_0x352fba['oGHNa']),_0x23bb07[_0xacda(0xbb)],_0xea5562,_0x5f4f39);})[a59_0x510ff8(0xa2)](0x1,a59_0x510ff8(0xdb))[a59_0x510ff8(0xe2)](null)['argv'];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a59_0x510ff8(0x11a)](a59_0x510ff8(0xd4));
|
|
2
|
+
'use strict';const a59_0x5052ed=a59_0x1900;(function(_0x3e3416,_0x1adc6d){const _0x5b5e66=a59_0x1900,_0x7a407f=_0x3e3416();while(!![]){try{const _0xdb4781=parseInt(_0x5b5e66(0x140))/0x1+parseInt(_0x5b5e66(0x133))/0x2*(parseInt(_0x5b5e66(0xf4))/0x3)+parseInt(_0x5b5e66(0x12c))/0x4*(parseInt(_0x5b5e66(0x15b))/0x5)+-parseInt(_0x5b5e66(0x164))/0x6+parseInt(_0x5b5e66(0x130))/0x7+parseInt(_0x5b5e66(0xdc))/0x8+-parseInt(_0x5b5e66(0x106))/0x9*(parseInt(_0x5b5e66(0x11f))/0xa);if(_0xdb4781===_0x1adc6d)break;else _0x7a407f['push'](_0x7a407f['shift']());}catch(_0x13edd6){_0x7a407f['push'](_0x7a407f['shift']());}}}(a59_0x1669,0x50e7c));const fs=require('fs'),path=require(a59_0x5052ed(0x126)),util=require(a59_0x5052ed(0x101)),spawn=require(a59_0x5052ed(0x114))[a59_0x5052ed(0xea)],{requireModule}=require(a59_0x5052ed(0x113)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require('../helpers/performance/constants')[a59_0x5052ed(0x173)],helper=require(a59_0x5052ed(0x113)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a59_0x5052ed(0xf5)),{FRAMEWORKS}=require(a59_0x5052ed(0x154)),runIntegrations=require(a59_0x5052ed(0x16a)),yargs=require('yargs'),Constants=require(a59_0x5052ed(0x13d)),BrowserstackCLI=require(a59_0x5052ed(0x119)),{isNewman}=require(a59_0x5052ed(0x12e)),logger=require(a59_0x5052ed(0x17a))[a59_0x5052ed(0x141)],origArgs=Object['assign']([],process[a59_0x5052ed(0xee)]),captureError=async(_0x40403d,_0x1d9981,_0x579472,_0x5971af=null,_0x5dd8cf=![])=>{const _0x1656b8=a59_0x5052ed,_0x1248e8={'sEhDO':function(_0x1a816f,_0x1e1645,_0x30f802,_0x21252c){return _0x1a816f(_0x1e1645,_0x30f802,_0x21252c);},'HIQnd':'SDKTestSuccessful'};try{logger[_0x1656b8(0x16c)](_0x1656b8(0x169)+origArgs['join']('\x20')),await _0x1248e8[_0x1656b8(0xef)](_0x40403d,_0x1d9981,_0x5971af,_0x579472);}catch(_0x544c28){process[_0x1656b8(0xe7)]=0x1,logger['error'](util[_0x1656b8(0x11b)](_0x544c28));const _0x314880={'globalException':util[_0x1656b8(0x11b)]('%j',_0x544c28)};PerformanceTester['end'](PerformanceEvents[_0x1656b8(0x14d)],![],util[_0x1656b8(0x11b)](_0x544c28));if(helper[_0x1656b8(0xeb)](global[_0x1656b8(0xfa)])&&helper[_0x1656b8(0xeb)](global[_0x1656b8(0xe0)]))return;try{utilities['fireFunnelTestEvent'](_0x1248e8['HIQnd'],_0x314880,global[_0x1656b8(0xfa)],global[_0x1656b8(0xe0)]);}catch(_0x50aa04){logger['debug'](_0x1656b8(0x147)+_0x50aa04[_0x1656b8(0x172)]);}try{await helper['sendLogs'](global['config']);}catch(_0x577a60){logger[_0x1656b8(0x143)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x577a60[_0x1656b8(0x172)]);}PerformanceTester[_0x1656b8(0x12a)](PerformanceEvents['SDK_SETUP'],![],util[_0x1656b8(0x11b)](_0x544c28));}finally{!_0x5dd8cf&&await BrowserstackCLI[_0x1656b8(0x137)]()[_0x1656b8(0x150)](),PerformanceTester['start'](PerformanceEvents[_0x1656b8(0x11c)]);}};try{const browserstackFolderPath=path[a59_0x5052ed(0x138)](helper[a59_0x5052ed(0x175)](),a59_0x5052ed(0x179));if(fs[a59_0x5052ed(0x10f)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a59_0x5052ed(0x16f));fs[a59_0x5052ed(0x10f)](filePath)&&fs[a59_0x5052ed(0x17e)](filePath);}}catch(a59_0x3d3594){logger['debug'](a59_0x5052ed(0x112)+a59_0x3d3594[a59_0x5052ed(0x146)]);}function a59_0x1669(){const _0x324562=['192554Dvgccr','zcjGO','exitProcess','EyvRJ','getInstance','join','zktIh','./mocha/command','EMACE','./codeceptjs/command','./utils/constants','nPTOG','getConfigPath','86429TDYcop','winstonLogger','push','debug','CODECEPTJS','HST','message','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','newman','./testcafe/command','playwright','jWAOR','VANILLA','SDK_SETUP','--package','FGxSV','stop','CUCUMBER','pw:channel','Runs\x20the\x20binary\x20with\x20load\x20command','../helpers/test-observability/constants','./newman/command','ZonGi','pHMyB','PLAYWRIGHT','BKweE','zhxVB','10cUJhEV','some','rFBMd','INFO','nightwatch','VERSION','--no-config','Show\x20help','HywSJ','2367666vOTFhD','EWQDT','usage','GTaaA','NEWMAN','Running\x20SDK\x20with\x20args\x20','./integrations/command','pw:channel\x20auto-capture\x20seed\x20failed:\x20','info','DEBUG','showHelpOnFail','.local-not-set.json','INTEGRATIONS','TUlNZ','stack','EVENTS','VZOTi','homedir','getPwChannelLogPath','strict','wsTqF','.browserstack','../helpers/logger','parserConfiguration','jasmine','mocha','unlinkSync','URLXa','JASMINE','includes','jest','urAgV','codeceptjs','alias','demandCommand','4576520AjiWvG','./cucumber-js/command','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','CDzfm','framework','env','iVmGN','eabuj','kgHvP','mxiSf','wliBs','exitCode','trim','YytyR','spawn','isUndefined','QWKiv','--config','argv','sEhDO','error','node','PuSJh','deyKN','15TxAHLO','../helpers/BrowserStackSetup','FxQeJ','./jasmine/command','wrap','JEST','config','vanilla','--no-opts','GgDYZ','MOCHA','./jest/command','setTestObservabilityDisable','util','--opts','load\x20[subcommand]','QalYv','hqyip','58959bpbaXm','mocha/lib/cli/commands.js','YVqkv','PCUvs','-pw:channel','handler','help','cucumber-js','HELP','existsSync','findAndReplace','ZHhYq','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','../helpers/helper','child_process','ats','split','PjGCk','jNrhh','./v2/browserstackCLI','command','format','SDK_CLEANUP','mocha/lib/cli/cli.js','./playwright/command','1630CUxbno','njLPa','OTcNx','CCSUI','setBrowserStackAutomationDisable','./load/index','slice','path','integrations','oskFK','DEBUG_FILE','end','disableAutoCaptureLogs','976elxfoC','--mochaRequire','./newman/helper','filter','4574115WtkSsp','OUUzY','rRpiG'];a59_0x1669=function(){return _0x324562;};return a59_0x1669();}process[a59_0x5052ed(0xee)][a59_0x5052ed(0xd6)]('mocha')&&(!process[a59_0x5052ed(0xee)]['includes'](a59_0x5052ed(0x102))&&process[a59_0x5052ed(0xee)][a59_0x5052ed(0x142)](a59_0x5052ed(0xfc)),!process['argv']['find'](_0x54a1b1=>_0x54a1b1[a59_0x5052ed(0xd6)](a59_0x5052ed(0xed)))&&process[a59_0x5052ed(0xee)]['push'](a59_0x5052ed(0x161)),!process['argv'][a59_0x5052ed(0xd6)](a59_0x5052ed(0x14e))&&process[a59_0x5052ed(0xee)][a59_0x5052ed(0x142)]('--no-package'),helper[a59_0x5052ed(0x110)](process[a59_0x5052ed(0xee)],'--require',a59_0x5052ed(0x12d)));PerformanceTester['start'](PerformanceEvents[a59_0x5052ed(0x14d)]);const a59_0x307a5e={};function a59_0x1900(_0x416a61,_0xd9c1d3){const _0x16692f=a59_0x1669();return a59_0x1900=function(_0x190045,_0xf6480e){_0x190045=_0x190045-0xd5;let _0x30744c=_0x16692f[_0x190045];return _0x30744c;},a59_0x1900(_0x416a61,_0xd9c1d3);}a59_0x307a5e['dot-notation']=![];const argv=yargs[a59_0x5052ed(0x17b)](a59_0x307a5e)[a59_0x5052ed(0x166)]('usage:\x20$0\x20<command>\x20[args]')[a59_0x5052ed(0xda)]('v','version')['describe']('v')[a59_0x5052ed(0xda)]('h',a59_0x5052ed(0x10c))[a59_0x5052ed(0x10c)](a59_0x5052ed(0x10c))[a59_0x5052ed(0x16e)](!![],Constants[a59_0x5052ed(0x160)][a59_0x5052ed(0x10e)])[a59_0x5052ed(0x11a)](a59_0x5052ed(0xd7),Constants[a59_0x5052ed(0xf9)][a59_0x5052ed(0x15e)],function(_0x2097d4){const _0x383b19=a59_0x5052ed,_0x57d266={'tCbXj':_0x383b19(0xd7),'nzGki':function(_0x18f795,_0x56bf40,_0x4e2cc5,_0x4c3007,_0x338592,_0x598599){return _0x18f795(_0x56bf40,_0x4e2cc5,_0x4c3007,_0x338592,_0x598599);},'hOwAt':function(_0x582b1f,_0x4e2404){return _0x582b1f(_0x4e2404);},'FbaMF':_0x383b19(0xff)},_0x29436e=process[_0x383b19(0xee)][_0x383b19(0x125)](0x2);helper[_0x383b19(0x100)](),helper['setBrowserStackAutomationDisable'](),_0x2097d4[_0x383b19(0x177)](![]);const _0x30dc11=new BrowserStackSetup(_0x2097d4[_0x383b19(0xee)],_0x57d266['tCbXj']);return _0x57d266['nzGki'](captureError,_0x57d266['hOwAt'](require,_0x57d266['FbaMF']),_0x2097d4[_0x383b19(0xee)],_0x30dc11,_0x29436e,!![]);})['command']('jasmine',Constants[a59_0x5052ed(0xd5)][a59_0x5052ed(0x15e)],function(_0x934b94){const _0x43308d=a59_0x5052ed,_0x116d43={'jWAOR':_0x43308d(0x17c),'eabuj':function(_0x2b716e,_0x61c64,_0x110b1e,_0x5e5c76,_0x43219b,_0x5df669){return _0x2b716e(_0x61c64,_0x110b1e,_0x5e5c76,_0x43219b,_0x5df669);},'jNrhh':function(_0x37082e,_0x2a2984){return _0x37082e(_0x2a2984);},'pHMyB':_0x43308d(0xf7)},_0x2c17fd=process['argv'][_0x43308d(0x125)](0x2);helper[_0x43308d(0x100)](),helper['setBrowserStackAutomationDisable'](),_0x934b94['strict'](![]);const _0x366d93=new BrowserStackSetup(_0x934b94[_0x43308d(0xee)],_0x116d43[_0x43308d(0x14b)]);return _0x116d43[_0x43308d(0xe3)](captureError,_0x116d43[_0x43308d(0x118)](require,_0x116d43[_0x43308d(0x157)]),_0x934b94[_0x43308d(0xee)],_0x366d93,_0x2c17fd,!![]);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x17d),Constants[a59_0x5052ed(0xfe)]['INFO'],_0x31b55f=>{const _0x350e3f=a59_0x5052ed,_0x2b7825={'mxiSf':function(_0x5a4942,_0xc6f00d,_0x486f97,_0x2c3619){return _0x5a4942(_0xc6f00d,_0x486f97,_0x2c3619);},'BnMMA':function(_0x455ed4,_0x14a3ac){return _0x455ed4(_0x14a3ac);},'wsTqF':_0x350e3f(0x13a),'GTaaA':'mocha','ZHhYq':'Parsing\x20command\x20line\x20arguments','PuSJh':function(_0x3e1910,_0x49e97f,_0xfe3983){return _0x3e1910(_0x49e97f,_0xfe3983);},'jncOS':'mocha/lib/cli/run.js','wliBs':function(_0x239f71,_0x354264,_0x579a45){return _0x239f71(_0x354264,_0x579a45);},'oskFK':_0x350e3f(0x107),'PCUvs':function(_0x56f4e8,_0x44436b,_0xc9fcee){return _0x56f4e8(_0x44436b,_0xc9fcee);},'QQxdG':_0x350e3f(0x11d),'EWQDT':function(_0x5296dd){return _0x5296dd();}};process[_0x350e3f(0xee)]=process[_0x350e3f(0xee)][_0x350e3f(0x125)](0x1),helper[_0x350e3f(0x100)](),helper[_0x350e3f(0x123)]();const _0x2f7478=new BrowserStackSetup(_0x31b55f['argv'],_0x2b7825[_0x350e3f(0x167)]);logger[_0x350e3f(0x143)](_0x2b7825[_0x350e3f(0x111)]);const _0x38da45=_0x2b7825[_0x350e3f(0xf2)](requireModule,_0x2b7825['jncOS'],_0x2b7825[_0x350e3f(0x167)]),_0x336530=_0x2b7825[_0x350e3f(0xe6)](requireModule,_0x2b7825[_0x350e3f(0x128)],_0x2b7825[_0x350e3f(0x167)]);delete _0x38da45['handler'],_0x38da45[_0x350e3f(0x10b)]=function(_0x4728b2){const _0x2ca3b1=_0x350e3f;return _0x2b7825[_0x2ca3b1(0xe5)](captureError,_0x2b7825['BnMMA'](require,_0x2b7825[_0x2ca3b1(0x178)]),_0x4728b2,_0x2f7478);},_0x336530['run']=_0x38da45;const {main:_0x5f519b}=_0x2b7825[_0x350e3f(0x109)](requireModule,_0x2b7825['QQxdG'],_0x2b7825[_0x350e3f(0x167)]);_0x2b7825[_0x350e3f(0x165)](_0x5f519b);})[a59_0x5052ed(0x11a)]('cucumber-js',Constants[a59_0x5052ed(0x151)][a59_0x5052ed(0x15e)],function(_0x554c9c){const _0x3ce21c=a59_0x5052ed,_0x5dd534={'IHdTT':_0x3ce21c(0x10d),'hqyip':function(_0x47183c,_0x5f1199,_0x5c9cdd,_0x547603,_0x2c4307,_0x239953){return _0x47183c(_0x5f1199,_0x5c9cdd,_0x547603,_0x2c4307,_0x239953);},'GgDYZ':function(_0x2e0954,_0x37ef1c){return _0x2e0954(_0x37ef1c);},'MwEBi':_0x3ce21c(0xdd)},_0x4f2d55=process[_0x3ce21c(0xee)][_0x3ce21c(0x125)](0x2),_0xaaf999=new BrowserStackSetup(_0x554c9c[_0x3ce21c(0xee)],_0x5dd534['IHdTT']);return _0x5dd534[_0x3ce21c(0x105)](captureError,_0x5dd534[_0x3ce21c(0xfd)](require,_0x5dd534['MwEBi']),_0x554c9c[_0x3ce21c(0xee)],_0xaaf999,_0x4f2d55,!![]);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0xf1),Constants[a59_0x5052ed(0x14c)][a59_0x5052ed(0x15e)],function(_0xc00321){const _0x1ea8a4=a59_0x5052ed,_0x2cd848={'FGxSV':_0x1ea8a4(0xfb),'HhNnb':function(_0x48a9af,_0x5d0d7d){return _0x48a9af(_0x5d0d7d);},'kgHvP':_0x1ea8a4(0x148),'EMACE':function(_0x5309d7,_0x2bec70,_0x53e361,_0x1b455b,_0x5b8575){return _0x5309d7(_0x2bec70,_0x53e361,_0x1b455b,_0x5b8575);},'FxQeJ':function(_0x556e1f,_0x7b5321){return _0x556e1f(_0x7b5321);},'QWKiv':_0x1ea8a4(0x155),'TLnpx':function(_0x41c178,_0x8ea739){return _0x41c178(_0x8ea739);},'DvRDg':'./vanilla-js/command'},_0x361d46=process[_0x1ea8a4(0xee)]['slice'](0x2),_0x385213=new BrowserStackSetup(_0xc00321[_0x1ea8a4(0xee)],_0x2cd848[_0x1ea8a4(0x14f)]),_0x328ab2=_0x385213?_0x385213[_0x1ea8a4(0xfa)]:null;if(_0x2cd848['HhNnb'](isNewman,_0x328ab2))return _0x385213[_0x1ea8a4(0xe0)]=_0x2cd848[_0x1ea8a4(0xe4)],global[_0x1ea8a4(0xe0)]=_0x2cd848['kgHvP'],_0x2cd848[_0x1ea8a4(0x13b)](captureError,_0x2cd848[_0x1ea8a4(0xf6)](require,_0x2cd848[_0x1ea8a4(0xec)]),_0xc00321['argv'],_0x385213,_0x361d46);return _0x2cd848['EMACE'](captureError,_0x2cd848['TLnpx'](require,_0x2cd848['DvRDg']),_0xc00321[_0x1ea8a4(0xee)],_0x385213,_0x361d46);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x15f),Constants['NIGHTWATCH'][a59_0x5052ed(0x15e)],function(_0x3a2347){const _0x42644a=a59_0x5052ed,_0xf37796={'YVqkv':function(_0x4e4437,_0x20cbea,_0x516c47,_0x24f230,_0x5e09bf){return _0x4e4437(_0x20cbea,_0x516c47,_0x24f230,_0x5e09bf);},'TUlNZ':function(_0x1b55a2,_0x12a843){return _0x1b55a2(_0x12a843);},'CCSUI':'./nightwatch/command'},_0x4837f6=process[_0x42644a(0xee)]['slice'](0x2),_0x1781fc=new BrowserStackSetup(_0x3a2347['argv']);return _0xf37796[_0x42644a(0x108)](captureError,_0xf37796[_0x42644a(0x171)](require,_0xf37796[_0x42644a(0x122)]),_0x3a2347['argv'],_0x1781fc,_0x4837f6);})['command'](a59_0x5052ed(0xd9),Constants[a59_0x5052ed(0x144)][a59_0x5052ed(0x15e)],function(_0x32ee8c){const _0x3118c5=a59_0x5052ed,_0xd123f0={'EyvRJ':'codeceptjs','BKweE':function(_0x476141,_0x54acca,_0x28fcc1,_0x8c8e3d,_0x337ec5){return _0x476141(_0x54acca,_0x28fcc1,_0x8c8e3d,_0x337ec5);},'OTcNx':function(_0x472df5,_0x243b34){return _0x472df5(_0x243b34);},'PjGCk':_0x3118c5(0x13c)},_0x116f27=process[_0x3118c5(0xee)][_0x3118c5(0x125)](0x2),_0x3062d3=new BrowserStackSetup(_0x32ee8c['argv'],_0xd123f0[_0x3118c5(0x136)]);return _0xd123f0[_0x3118c5(0x159)](captureError,_0xd123f0[_0x3118c5(0x121)](require,_0xd123f0[_0x3118c5(0x117)]),_0x32ee8c[_0x3118c5(0xee)],_0x3062d3,_0x116f27);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x115),Constants[a59_0x5052ed(0x145)][a59_0x5052ed(0x15e)],function(_0x5696e6){const _0x3187dd=a59_0x5052ed,_0x489ff8={'deyKN':function(_0x5a49bf,_0x2dd76a,_0x51ac27){return _0x5a49bf(_0x2dd76a,_0x51ac27);},'rFBMd':function(_0x54f2a3,_0x5ed013){return _0x54f2a3(_0x5ed013);},'BDhiL':'../../ats/src/index'},_0x531ba1=process[_0x3187dd(0xee)][_0x3187dd(0x125)](0x2);return _0x489ff8[_0x3187dd(0xf3)](captureError,_0x489ff8[_0x3187dd(0x15d)](require,_0x489ff8['BDhiL']),_0x5696e6);})['command'](a59_0x5052ed(0x127),Constants[a59_0x5052ed(0x170)][a59_0x5052ed(0x15e)],function(_0x2985c4){const _0x3defe6=a59_0x5052ed,_0xf77d06={'iVmGN':function(_0x29ae2d,_0x11b786){return _0x29ae2d(_0x11b786);}};return _0xf77d06[_0x3defe6(0xe2)](runIntegrations,_0x2985c4);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x14a),Constants[a59_0x5052ed(0x158)][a59_0x5052ed(0x15e)],function(_0x4bef00){const _0x50ce2b=a59_0x5052ed,_0x2f4b58={'nPTOG':_0x50ce2b(0x152),'DrmJl':function(_0x25089c,_0x2b0258){return _0x25089c&&_0x2b0258;},'zktIh':function(_0x24f950,_0x4384ed,_0x5cf874,_0x3f290f,_0x21fc54,_0x1874ec){return _0x24f950(_0x4384ed,_0x5cf874,_0x3f290f,_0x21fc54,_0x1874ec);},'VZOTi':function(_0x8e9a62,_0x2ea024){return _0x8e9a62(_0x2ea024);},'HywSJ':_0x50ce2b(0x11e)},_0x339892=process[_0x50ce2b(0xee)][_0x50ce2b(0x125)](0x2);helper[_0x50ce2b(0x13f)](process[_0x50ce2b(0xee)])&&(process[_0x50ce2b(0xe1)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x50ce2b(0x13f)](process[_0x50ce2b(0xee)]));helper[_0x50ce2b(0x100)](),helper[_0x50ce2b(0x123)]();const _0x1059b0=new BrowserStackSetup(_0x4bef00['argv'],FRAMEWORKS[_0x50ce2b(0x158)]);try{if(!_0x1059b0[_0x50ce2b(0xfa)]||!_0x1059b0[_0x50ce2b(0xfa)][_0x50ce2b(0x12b)]){const _0x2ae5b6=_0x2f4b58[_0x50ce2b(0x13e)],_0x3fba79=process['env'][_0x50ce2b(0x16d)]||'',_0x1dd382=_0x3fba79[_0x50ce2b(0x116)](',')['map'](_0x833ea6=>_0x833ea6[_0x50ce2b(0xe8)]())[_0x50ce2b(0x12f)](Boolean),_0x139263=_0x1dd382[_0x50ce2b(0x15c)](_0x527edf=>_0x527edf===_0x50ce2b(0x10a)||_0x527edf==='-pw:*'||_0x527edf==='-*'),_0x4651eb=_0x1dd382[_0x50ce2b(0x15c)](_0x25ec03=>_0x25ec03===_0x2ae5b6||_0x25ec03==='pw:*'||_0x25ec03==='*');if(_0x2f4b58['DrmJl'](!_0x139263,!_0x4651eb)){const _0x1857ba=helper[_0x50ce2b(0x176)]();_0x1857ba&&(process['env']['DEBUG']=_0x3fba79?_0x3fba79+','+_0x2ae5b6:_0x2ae5b6,!process['env'][_0x50ce2b(0x129)]&&(process['env'][_0x50ce2b(0x129)]=_0x1857ba));}}}catch(_0x16d9ce){logger[_0x50ce2b(0x143)](_0x50ce2b(0x16b)+util[_0x50ce2b(0x11b)](_0x16d9ce));}return _0x2f4b58[_0x50ce2b(0x139)](captureError,_0x2f4b58[_0x50ce2b(0x174)](require,_0x2f4b58[_0x50ce2b(0x163)]),_0x4bef00['argv'],_0x1059b0,_0x339892,!![]);})['command']('testcafe',Constants['TESTCAFE']['INFO'],function(_0x2a0f43){const _0x3e4eda=a59_0x5052ed,_0x4e65dc={'CDzfm':'testcafe','UGLZP':function(_0x175519,_0x278acd,_0xab2f2,_0x373735,_0x3eb247,_0x4e2145){return _0x175519(_0x278acd,_0xab2f2,_0x373735,_0x3eb247,_0x4e2145);},'rRpiG':function(_0x3f9f1a,_0x5206d1){return _0x3f9f1a(_0x5206d1);},'QalYv':_0x3e4eda(0x149)},_0x17b636=process[_0x3e4eda(0xee)][_0x3e4eda(0x125)](0x2),_0x3bb7cb=new BrowserStackSetup(_0x2a0f43[_0x3e4eda(0xee)],_0x4e65dc[_0x3e4eda(0xdf)]);return _0x4e65dc['UGLZP'](captureError,_0x4e65dc[_0x3e4eda(0x132)](require,_0x4e65dc[_0x3e4eda(0x104)]),_0x2a0f43['argv'],_0x3bb7cb,_0x17b636,!![]);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x103),a59_0x5052ed(0x153),function(_0x2a83ab){const _0x45c5da=a59_0x5052ed,_0x4a4dd1={};_0x4a4dd1[_0x45c5da(0xd8)]=_0x45c5da(0x10c),_0x4a4dd1['OeDZG']='boolean',_0x4a4dd1[_0x45c5da(0x17f)]=_0x45c5da(0x162);const _0x26b16d=_0x4a4dd1;return _0x2a83ab[_0x45c5da(0x10c)](![])['option'](_0x26b16d['urAgV'],{'alias':'h','type':_0x26b16d['OeDZG'],'describe':_0x26b16d['URLXa']})['strict'](![])[_0x45c5da(0x135)](![]);},function(_0x20a002){const _0x1451d0=a59_0x5052ed,_0x33efc9={'njLPa':function(_0x4527a0,_0x2d345,_0x384ddd){return _0x4527a0(_0x2d345,_0x384ddd);},'zcjGO':function(_0x30e172,_0x5dd3a7){return _0x30e172(_0x5dd3a7);},'OUUzY':_0x1451d0(0x124)},_0x5f53ae={};return _0x5f53ae[_0x1451d0(0xee)]=_0x20a002,_0x33efc9[_0x1451d0(0x120)](captureError,_0x33efc9[_0x1451d0(0x134)](require,_0x33efc9[_0x1451d0(0x131)]),_0x5f53ae);})[a59_0x5052ed(0x11a)](a59_0x5052ed(0x148),Constants[a59_0x5052ed(0x168)][a59_0x5052ed(0x15e)],function(_0x25a3d0){const _0x19585b=a59_0x5052ed,_0x2da40b={'oRTBT':_0x19585b(0x148),'zhxVB':function(_0x369922,_0x3eb8b6,_0x43adba,_0x57ea68,_0x4bcc0c){return _0x369922(_0x3eb8b6,_0x43adba,_0x57ea68,_0x4bcc0c);},'YytyR':function(_0x2a5ec8,_0x5f53a8){return _0x2a5ec8(_0x5f53a8);},'ZonGi':_0x19585b(0x155)},_0xcc89bb=process[_0x19585b(0xee)][_0x19585b(0x125)](0x2);helper[_0x19585b(0x100)](),helper[_0x19585b(0x123)](),_0x25a3d0[_0x19585b(0x177)](![]);const _0x50cb75=new BrowserStackSetup(_0x25a3d0[_0x19585b(0xee)],_0x2da40b['oRTBT']);return _0x2da40b[_0x19585b(0x15a)](captureError,_0x2da40b[_0x19585b(0xe9)](require,_0x2da40b[_0x19585b(0x156)]),_0x25a3d0['argv'],_0x50cb75,_0xcc89bb);})[a59_0x5052ed(0xdb)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a59_0x5052ed(0xf8)](null)[a59_0x5052ed(0xee)];!helper[a59_0x5052ed(0xeb)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a59_0x5052ed(0x115)&&console[a59_0x5052ed(0xf0)](a59_0x5052ed(0xde));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a60_0x98b4dd=a60_0x157a;(function(_0x1f6f66,_0x175dc8){const _0x3be458=a60_0x157a,_0x1c8d96=_0x1f6f66();while(!![]){try{const _0x4d2960=-parseInt(_0x3be458(0xce))/0x1*(parseInt(_0x3be458(0xb7))/0x2)+-parseInt(_0x3be458(0xf5))/0x3*(-parseInt(_0x3be458(0xc1))/0x4)+parseInt(_0x3be458(0xd0))/0x5*(parseInt(_0x3be458(0xf8))/0x6)+parseInt(_0x3be458(0xf9))/0x7*(parseInt(_0x3be458(0xcf))/0x8)+parseInt(_0x3be458(0xc4))/0x9+parseInt(_0x3be458(0xe9))/0xa*(parseInt(_0x3be458(0xdb))/0xb)+parseInt(_0x3be458(0xc5))/0xc*(-parseInt(_0x3be458(0xbe))/0xd);if(_0x4d2960===_0x175dc8)break;else _0x1c8d96['push'](_0x1c8d96['shift']());}catch(_0x521db1){_0x1c8d96['push'](_0x1c8d96['shift']());}}}(a60_0x4647,0x70a4a));const fs=require('fs'),helper=require(a60_0x98b4dd(0xda)),utilities=require(a60_0x98b4dd(0xab)),yaml=require(a60_0x98b4dd(0xbd)),yargs=require(a60_0x98b4dd(0xec)),logger=require(a60_0x98b4dd(0xc7))[a60_0x98b4dd(0xe7)],configFileTemplate=__dirname+a60_0x98b4dd(0xb1),configFileTemplatePW=__dirname+a60_0x98b4dd(0xc2),configFile=process[a60_0x98b4dd(0xea)]()+a60_0x98b4dd(0xde),packageFile=process[a60_0x98b4dd(0xea)]()+a60_0x98b4dd(0xb3),frameworks=[a60_0x98b4dd(0xe2),a60_0x98b4dd(0xaa),a60_0x98b4dd(0xad),a60_0x98b4dd(0xeb),a60_0x98b4dd(0xba),'codeceptjs',a60_0x98b4dd(0xe4)];let config;function a60_0x157a(_0xd981a1,_0x26d675){const _0x46475c=a60_0x4647();return a60_0x157a=function(_0x157ab8,_0x4df063){_0x157ab8=_0x157ab8-0xaa;let _0xef5680=_0x46475c[_0x157ab8];return _0xef5680;},a60_0x157a(_0xd981a1,_0x26d675);}logger['info'](a60_0x98b4dd(0xca)),createConfigurationFile(yargs[a60_0x98b4dd(0xb5)][a60_0x98b4dd(0xac)],yargs[a60_0x98b4dd(0xb5)]['key'],yargs[a60_0x98b4dd(0xb5)]['playwright']);function a60_0x4647(){const _0x45647a=['cucumber-js','Oesgw','postinstall','JHbof','/../../browserstack.yml.sample','includes','/package.json','indexOf','argv','length','22uFidqD','FSIAR','source','nightwatch','readFileSync','stringify','js-yaml','13SIitwW','VJJBY','XskqU','28xcljqD','/../../browserstack.pw.yml.sample','node-setup','6471819oakbvH','24020868aGviWO','utf8','../helpers/logger','jROOb','xgKZj','Creating\x20configuration\x20file...','info','vzPJj','GqOvi','8997grWIFI','119832yOvkSL','929815WfDuft','aHNlS','isUndefined','\x20&&\x20npm\x20update\x20browserstack-node-sdk','error','replace','join','parse','entries','LoTeo','../helpers/helper','110oAwZYs','splice','load','/browserstack.yml','YOUR_ACCESS_KEY','writeFileSync','split','mocha','debug','playwright','push','YOUR_USERNAME','winstonLogger','scripts','481690YTqgPt','cwd','node','yargs','browserstack-node-sdk\x20','OqBBP','VRELW','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','-browserstack','browserstack-node-sdk','fireFunnelTestEvent','paPAx','51687LxCUbB','IoMNb','bNYaV','12dTTfnJ','406jLqaXV','SDKSetup','PpAyA','jest','../helpers/utilities','username'];a60_0x4647=function(){return _0x45647a;};return a60_0x4647();}try{sdkSetup();}catch(a60_0x3fef33){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a60_0x3fef33);}addScriptInPackageJson();function createConfigurationFile(_0x986ede,_0x44253e,_0x48ebe7=![]){const _0x2081a1=a60_0x98b4dd,_0x5463c8={};_0x5463c8['bNYaV']=_0x2081a1(0xc6),_0x5463c8[_0x2081a1(0xf4)]=_0x2081a1(0xe6),_0x5463c8[_0x2081a1(0xc0)]=_0x2081a1(0xdf);const _0x51612a=_0x5463c8;try{let _0x587cae=fs['readFileSync'](_0x48ebe7?configFileTemplatePW:configFileTemplate,_0x51612a[_0x2081a1(0xf7)]);_0x986ede&&(_0x587cae=_0x587cae[_0x2081a1(0xd5)](_0x51612a[_0x2081a1(0xf4)],_0x986ede)),_0x44253e&&(_0x587cae=_0x587cae[_0x2081a1(0xd5)](_0x51612a['XskqU'],_0x44253e)),config=yaml[_0x2081a1(0xdd)](_0x587cae),fs[_0x2081a1(0xe0)](configFile,_0x587cae,_0x2285e3=>{const _0x3e2013=_0x2081a1;_0x2285e3&&logger[_0x3e2013(0xd4)](_0x2285e3);});}catch(_0x6b9c94){logger['error'](_0x6b9c94);}}function addPostInstallScript(_0x3b0ace,_0x28bb93){const _0x571a5c=a60_0x98b4dd,_0x2d484b={};_0x2d484b[_0x571a5c(0xcd)]=_0x571a5c(0xaf),_0x2d484b[_0x571a5c(0xae)]='npm\x20update\x20browserstack-node-sdk',_0x2d484b[_0x571a5c(0xb0)]=_0x571a5c(0xd3);const _0x9803af=_0x2d484b;let _0x4f0fc7=_0x3b0ace[_0x9803af[_0x571a5c(0xcd)]];if(_0x4f0fc7&&_0x4f0fc7[_0x571a5c(0xb2)](_0x9803af[_0x571a5c(0xae)]))return;!_0x4f0fc7?_0x4f0fc7=_0x9803af[_0x571a5c(0xae)]:_0x4f0fc7+=_0x9803af['JHbof'],_0x28bb93['push']([_0x9803af[_0x571a5c(0xcd)],_0x4f0fc7]);}function addScriptInPackageJson(){const _0xa1cf64=a60_0x98b4dd,_0x2e806b={'VJJBY':_0xa1cf64(0xc6),'ZmdGQ':function(_0x43e2ea,_0x420133){return _0x43e2ea<_0x420133;},'PpAyA':function(_0x5595a1,_0x533057,_0x2f237e){return _0x5595a1(_0x533057,_0x2f237e);},'zgIky':function(_0x371ac7,_0x4d8d64,_0x15b7b6){return _0x371ac7(_0x4d8d64,_0x15b7b6);},'LoTeo':function(_0x340e51,_0x49d077){return _0x340e51<_0x49d077;},'muGzh':function(_0x33a73e,_0xf1e743){return _0x33a73e!==_0xf1e743;},'vzPJj':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x56c69a=JSON[_0xa1cf64(0xd7)](fs[_0xa1cf64(0xbb)](packageFile,_0x2e806b[_0xa1cf64(0xbf)])),_0x4d69ab=[];for(let _0x440e9b=0x0;_0x2e806b['ZmdGQ'](_0x440e9b,frameworks[_0xa1cf64(0xb6)]);_0x440e9b+=0x1){const _0x29066a=_0x2e806b[_0xa1cf64(0xfb)](findScriptsWithFramework,_0x56c69a[_0xa1cf64(0xe8)],frameworks[_0x440e9b]);for(let _0x44c73d=0x0;_0x2e806b['ZmdGQ'](_0x44c73d,_0x29066a[_0xa1cf64(0xb6)]);_0x44c73d+=0x1){_0x4d69ab['push'](_0x2e806b[_0xa1cf64(0xfb)](getUpdatedCommand,_0x56c69a[_0xa1cf64(0xe8)],_0x29066a[_0x44c73d]));}_0x2e806b['zgIky'](addPostInstallScript,_0x56c69a[_0xa1cf64(0xe8)],_0x4d69ab);}const _0x36e467={..._0x56c69a[_0xa1cf64(0xe8)]},_0xf9c410=_0x36e467;for(let _0xee4cb0=0x0;_0x2e806b[_0xa1cf64(0xd9)](_0xee4cb0,_0x4d69ab[_0xa1cf64(0xb6)]);_0xee4cb0+=0x1){_0xf9c410[_0x4d69ab[_0xee4cb0][0x0]]=_0x4d69ab[_0xee4cb0][0x1];}_0x2e806b['muGzh'](JSON[_0xa1cf64(0xbc)](_0x56c69a[_0xa1cf64(0xe8)]),JSON[_0xa1cf64(0xbc)](_0xf9c410))&&(logger[_0xa1cf64(0xcb)](_0x2e806b[_0xa1cf64(0xcc)]),_0x56c69a[_0xa1cf64(0xe8)]=_0xf9c410,fs[_0xa1cf64(0xe0)](packageFile,JSON[_0xa1cf64(0xbc)](_0x56c69a,null,0x2),_0x192860=>{const _0xc96bb9=_0xa1cf64;_0x192860&&logger[_0xc96bb9(0xd4)](_0x192860);}));};function findScriptsWithFramework(_0x40fd4e,_0x36e64d){const _0x4e5aac=a60_0x98b4dd,_0x32c78c={};_0x32c78c[_0x4e5aac(0xb8)]=function(_0x4e84cb,_0x218a67){return _0x4e84cb<_0x218a67;},_0x32c78c[_0x4e5aac(0xee)]=_0x4e5aac(0xf2);const _0x1dd8e7=_0x32c78c,_0x4ca45c=[],_0x7f2c67=Object[_0x4e5aac(0xd8)](_0x40fd4e);for(let _0x392d05=0x0;_0x1dd8e7[_0x4e5aac(0xb8)](_0x392d05,_0x7f2c67[_0x4e5aac(0xb6)]);_0x392d05+=0x1){_0x7f2c67[_0x392d05][0x1][_0x4e5aac(0xb2)](_0x36e64d)&&!_0x7f2c67[_0x392d05][0x1]['includes'](_0x1dd8e7['OqBBP'])&&_0x4ca45c[_0x4e5aac(0xe5)](_0x7f2c67[_0x392d05][0x0]);}return _0x4ca45c;}function getUpdatedCommand(_0x325720,_0x1d0ecc){const _0x5adb0b=a60_0x98b4dd,_0x25c136={};_0x25c136[_0x5adb0b(0xf6)]=function(_0x3921f5,_0x43088c){return _0x3921f5!==_0x43088c;},_0x25c136['VRELW']=_0x5adb0b(0xf2),_0x25c136[_0x5adb0b(0xc8)]=function(_0x514ed9,_0x14a66f){return _0x514ed9===_0x14a66f;};const _0x506cc4=_0x25c136,_0x364ff1=_0x1d0ecc+_0x5adb0b(0xf1),_0x5c92a1=_0x325720[_0x1d0ecc],_0xdef656=_0x5c92a1[_0x5adb0b(0xe1)]('\x20');for(const _0x258345 of frameworks){if(_0x506cc4['IoMNb'](_0xdef656[_0x5adb0b(0xb4)](_0x258345),-0x1)){_0xdef656[_0x5adb0b(0xdc)](_0xdef656[_0x5adb0b(0xb4)](_0x258345),0x0,_0x506cc4[_0x5adb0b(0xef)]);break;}}let _0x59d5d7=_0xdef656[_0x5adb0b(0xd6)]('\x20');return _0x506cc4[_0x5adb0b(0xc8)](_0x59d5d7,_0x5c92a1)&&(_0x59d5d7=_0x5adb0b(0xed)+_0x5c92a1),[_0x364ff1,_0x59d5d7];}function sdkSetup(){const _0x4b3af1=a60_0x98b4dd,_0x27dd3a={};_0x27dd3a[_0x4b3af1(0xd1)]=_0x4b3af1(0xc3),_0x27dd3a[_0x4b3af1(0xc9)]=_0x4b3af1(0xfa);const _0x179e3d=_0x27dd3a;if(helper[_0x4b3af1(0xd2)](config))return;config[_0x4b3af1(0xb9)]=_0x179e3d[_0x4b3af1(0xd1)];try{utilities[_0x4b3af1(0xf3)](_0x179e3d[_0x4b3af1(0xc9)],{},config,'');}catch(_0x588d31){logger[_0x4b3af1(0xe3)](_0x4b3af1(0xf0)+_0x588d31);}}logger[a60_0x98b4dd(0xcb)]('Setup\x20completed');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a61_0x3eb1ad=a61_0xcc82;(function(_0x2a1ed8,_0x52d97f){const _0x37cf99=a61_0xcc82,_0x267b21=_0x2a1ed8();while(!![]){try{const _0xefe4a7=parseInt(_0x37cf99(0xc5))/0x1+parseInt(_0x37cf99(0xd3))/0x2+-parseInt(_0x37cf99(0xe8))/0x3*(-parseInt(_0x37cf99(0xd7))/0x4)+-parseInt(_0x37cf99(0xf4))/0x5+parseInt(_0x37cf99(0xdc))/0x6*(-parseInt(_0x37cf99(0xe2))/0x7)+-parseInt(_0x37cf99(0x109))/0x8+parseInt(_0x37cf99(0xbf))/0x9;if(_0xefe4a7===_0x52d97f)break;else _0x267b21['push'](_0x267b21['shift']());}catch(_0x13830c){_0x267b21['push'](_0x267b21['shift']());}}}(a61_0x1eeb,0x99914));const Worker=require(a61_0x3eb1ad(0x10d))[a61_0x3eb1ad(0xda)],Emittery=require('emittery'),pLimit=require(a61_0x3eb1ad(0xef)),{parentPort}=require(a61_0x3eb1ad(0xfe)),util=require(a61_0x3eb1ad(0x112)),logger=require(a61_0x3eb1ad(0xbd))[a61_0x3eb1ad(0xc4)],PerformanceTester=require(a61_0x3eb1ad(0xd0)),PerformanceEvents=require(a61_0x3eb1ad(0xbc))['EVENTS'],{debug}=require(a61_0x3eb1ad(0x10f)),TestHubHandler=require(a61_0x3eb1ad(0xec));exports[a61_0x3eb1ad(0x110)]=(_0x55bcd7,_0x5c7f7a,_0x19ce12)=>new Promise(async _0x4f9ffa=>{const _0x5c6c24=a61_0x3eb1ad,_0x4ea2d7={'YprmX':'failureCount','IzpnJ':function(_0x2531e7,_0x2a394b){return _0x2531e7+_0x2a394b;},'UAumT':_0x5c6c24(0xb0),'EJiAO':_0x5c6c24(0x105),'ITpbF':function(_0x5422c9,_0x1e6f52){return _0x5422c9(_0x1e6f52);},'ZjOiw':function(_0x4b6b2d,_0x3026f8){return _0x4b6b2d(_0x3026f8);},'YXrns':'test-file-start','utjhq':_0x5c6c24(0x104),'ASNtp':'worker','OvThq':'json','zXjXD':_0x5c6c24(0x10a),'NAtxD':function(_0x5d4c7a,_0x502c97){return _0x5d4c7a*_0x502c97;},'aQhqh':'test-file-success','OhsaC':_0x5c6c24(0xf2),'kLjhu':function(_0x340744,_0x1dcab1){return _0x340744*_0x1dcab1;}},_0x48552c=_0x19ce12['config'],_0x3ea6c7={},_0x37ddf0=new Worker(require['resolve'](_0x4ea2d7['utjhq']),{'exposedMethods':[_0x4ea2d7['ASNtp']],'forkOptions':{'serialization':_0x4ea2d7[_0x5c6c24(0xdd)],'stdio':_0x4ea2d7[_0x5c6c24(0x108)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x4ea2d7[_0x5c6c24(0x113)](_0x5c7f7a,0x1),'enableWorkerThreads':!![]}),_0x3cf5c7=new Emittery();_0x3cf5c7['on'](_0x4ea2d7['aQhqh'],_0x23058d=>{const _0x57d729=_0x5c6c24;_0x3ea6c7[_0x23058d[0x0]]?(_0x3ea6c7[_0x23058d[0x0]][_0x4ea2d7['YprmX']]=_0x4ea2d7[_0x57d729(0xad)](_0x3ea6c7[_0x23058d[0x0]][_0x4ea2d7[_0x57d729(0xe5)]],_0x23058d[0x1][_0x4ea2d7['YprmX']]),_0x3ea6c7[_0x23058d[0x0]][_0x4ea2d7['UAumT']]=[..._0x3ea6c7[_0x23058d[0x0]][_0x4ea2d7[_0x57d729(0xd4)]],..._0x23058d[0x1][_0x4ea2d7[_0x57d729(0xd4)]]]):_0x3ea6c7[_0x23058d[0x0]]={'failureCount':_0x23058d[0x1][_0x4ea2d7[_0x57d729(0xe5)]],'results':[..._0x23058d[0x1][_0x4ea2d7[_0x57d729(0xd4)]]]};}),_0x3cf5c7['on'](_0x4ea2d7[_0x5c6c24(0xdf)],_0x130b8d=>console[_0x5c6c24(0xd2)](_0x130b8d[0x1]));_0x37ddf0[_0x5c6c24(0xe3)]()&&_0x37ddf0[_0x5c6c24(0xe3)]()[_0x5c6c24(0x10a)](process['stdout']);_0x37ddf0[_0x5c6c24(0xc1)]()&&_0x37ddf0[_0x5c6c24(0xc1)]()[_0x5c6c24(0x10a)](process[_0x5c6c24(0xcd)]);const _0x96d167=async()=>{const _0x4a5b98=_0x5c6c24,{forceExited:_0x1863ff}=await _0x37ddf0['end']();_0x1863ff&&console[_0x4a5b98(0xc0)](_0x4ea2d7[_0x4a5b98(0xe7)]);try{await TestHubHandler['stop']();}catch(_0x446e8b){_0x4ea2d7[_0x4a5b98(0xc8)](debug,_0x4a5b98(0xca)+_0x446e8b);}_0x4ea2d7[_0x4a5b98(0xf7)](_0x4f9ffa,_0x3ea6c7);},_0x396f35=_0x4ea2d7['ITpbF'](pLimit,_0x4ea2d7[_0x5c6c24(0xdb)](_0x5c7f7a,0x1)),_0x191cfa=_0x34b235=>_0x396f35(async()=>{const _0xce7ee6=_0x5c6c24;await _0x3cf5c7[_0xce7ee6(0x107)](_0x4ea2d7[_0xce7ee6(0xee)],_0x34b235);const _0x56140e=_0x37ddf0['worker'](_0x34b235,_0x48552c);try{parentPort&&_0x56140e[_0xce7ee6(0xed)](_0x5784bc=>{const _0x40059b=_0xce7ee6;try{parentPort[_0x40059b(0xf6)](_0x5784bc);}catch(_0x1559fa){logger['debug'](_0x40059b(0x10b)+util['format'](_0x1559fa));}});}catch(_0x273dc3){logger[_0xce7ee6(0xaf)](_0xce7ee6(0xc3)+util[_0xce7ee6(0xb9)](_0x273dc3));}return _0x56140e;});PerformanceTester[_0x5c6c24(0xd6)](PerformanceEvents[_0x5c6c24(0xae)]),Promise['all'](_0x55bcd7[_0x5c6c24(0x114)](_0x2c1bc6=>_0x191cfa(_0x2c1bc6)[_0x5c6c24(0x103)](_0x37f575=>_0x3cf5c7['emit'](_0x5c6c24(0xd9),[_0x2c1bc6[_0x5c6c24(0xbe)][_0x5c6c24(0xfb)],_0x37f575]),_0x1c98db=>_0x3cf5c7['emit'](_0x5c6c24(0xf2),[_0x2c1bc6,_0x1c98db]))))[_0x5c6c24(0x103)](_0x96d167,_0x96d167);}),exports[a61_0x3eb1ad(0x10c)]=(_0x250787,_0xa60bbb,_0x2d9cf6,_0x559126,_0x20363b)=>{const _0x3eef5d=a61_0x3eb1ad,_0x100002={'ccBvf':_0x3eef5d(0xf5),'RrWtR':_0x3eef5d(0x105),'tjuwZ':function(_0xcac7c4,_0x4817f6){return _0xcac7c4(_0x4817f6);},'kYhzn':_0x3eef5d(0x104),'xBHTR':_0x3eef5d(0xfa),'vzBDp':'json','GyDER':'pipe','cVVRi':_0x3eef5d(0xff),'tRbAa':_0x3eef5d(0xf8)};return new Promise(_0xe28a18=>{const _0x9a95cd=_0x3eef5d,_0x47fd89={'JCbTe':_0x100002['RrWtR'],'NuNGQ':function(_0x7a0b19,_0x20be05){return _0x100002['tjuwZ'](_0x7a0b19,_0x20be05);}},_0x2cfbaa=[],_0x4e743b=new Worker(require[_0x9a95cd(0x106)](_0x100002[_0x9a95cd(0xf1)]),{'exposedMethods':[_0x100002[_0x9a95cd(0xeb)]],'forkOptions':{'serialization':_0x100002[_0x9a95cd(0xf3)],'stdio':_0x100002[_0x9a95cd(0xcf)]},'numWorkers':_0x250787[_0x9a95cd(0xd5)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x4e8079=new Emittery();_0x4e8079['on'](_0x100002[_0x9a95cd(0xb4)],_0x160c4f=>{_0x2cfbaa['push']([_0x160c4f[0x0],_0x160c4f[0x1]]);}),_0x4e8079['on'](_0x100002[_0x9a95cd(0x100)],_0x3f5b7f=>console[_0x9a95cd(0xd2)](_0x3f5b7f[0x1]));_0x4e743b[_0x9a95cd(0xe3)]()&&_0x4e743b[_0x9a95cd(0xe3)]()[_0x9a95cd(0x10a)](process[_0x9a95cd(0xd8)]);_0x4e743b[_0x9a95cd(0xc1)]()&&_0x4e743b[_0x9a95cd(0xc1)]()[_0x9a95cd(0x10a)](process[_0x9a95cd(0xcd)]);const _0x3c3813=async()=>{const _0x415ebc=_0x9a95cd,{forceExited:_0x4f5373}=await _0x4e743b[_0x415ebc(0xd6)]();_0x4f5373&&console['error'](_0x47fd89[_0x415ebc(0xe0)]),_0x47fd89[_0x415ebc(0xbb)](_0xe28a18,_0x2cfbaa);},_0xb3ce9=_0x100002['tjuwZ'](pLimit,_0x250787[_0x9a95cd(0xd5)]||0x1),_0x12fe9e=(_0x599f07,_0x469e1b)=>_0xb3ce9(async()=>{const _0x240677=_0x9a95cd;return await _0x4e8079[_0x240677(0x107)](_0x100002[_0x240677(0xe4)],_0x599f07),_0xa60bbb[_0x240677(0xcb)]=_0x2d9cf6[_0x240677(0xba)][_0x469e1b],_0xa60bbb[_0x240677(0xe9)]=_0x469e1b,_0x4e743b[_0x240677(0xfa)](_0x599f07,_0xa60bbb,_0x2d9cf6,_0x559126,_0x20363b);});Promise[_0x9a95cd(0xfc)](_0x250787[_0x9a95cd(0x114)]((_0x4d50c8,_0x47d3a9)=>_0x12fe9e(_0x4d50c8,_0x47d3a9)['then'](_0x3751f1=>_0x4e8079['emit'](_0x9a95cd(0xff),[_0x4d50c8,_0x3751f1]),_0x2457f2=>_0x4e8079[_0x9a95cd(0x107)]('platform-run-failure',[_0x4d50c8,_0x2457f2]))))[_0x9a95cd(0x103)](_0x3c3813,_0x3c3813);});},exports['parallelVanillaRun']=(_0x345702,_0x217163)=>new Promise(_0x2ee791=>{const _0x3e90f8=a61_0x3eb1ad,_0xe4e3fe={'spywu':function(_0x203d7f,_0x45d1cd){return _0x203d7f===_0x45d1cd;},'oQeFa':function(_0x164215,_0x3fa9bd){return _0x164215!==_0x3fa9bd;},'dyFHQ':_0x3e90f8(0xf0),'UUKmk':_0x3e90f8(0x105),'jzHaZ':function(_0x2e7b89,_0x5b74de){return _0x2e7b89(_0x5b74de);},'FAvlI':_0x3e90f8(0x104),'ZeZmr':'vanillaWorker','wQEAi':_0x3e90f8(0xb8),'VuMOV':_0x3e90f8(0x10a),'DAHOs':_0x3e90f8(0xd9),'QKNpK':_0x3e90f8(0xf2)},_0x12ec1b={},_0x1af29a=new Worker(require[_0x3e90f8(0x106)](_0xe4e3fe['FAvlI']),{'exposedMethods':[_0xe4e3fe[_0x3e90f8(0xb5)]],'forkOptions':{'serialization':_0xe4e3fe[_0x3e90f8(0xc7)],'stdio':_0xe4e3fe[_0x3e90f8(0xb3)]},'numWorkers':_0x217163,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x114af3=new Emittery();_0x114af3['on'](_0xe4e3fe[_0x3e90f8(0xc2)],_0x481b99=>{const _0x32286b=_0x3e90f8;_0x481b99[0x0]&&logger[_0x32286b(0xc6)](_0x32286b(0xb2)+_0x481b99[0x1]+'\x20for',_0x481b99[0x0]);}),_0x114af3['on'](_0xe4e3fe['QKNpK'],_0x17aa6d=>{const _0x579ee5=_0x3e90f8;process[_0x579ee5(0xce)]=0x1;});_0x1af29a['getStdout']()&&_0x1af29a[_0x3e90f8(0xe3)]()[_0x3e90f8(0x10a)](process[_0x3e90f8(0xd8)]);_0x1af29a['getStderr']()&&_0x1af29a[_0x3e90f8(0xc1)]()[_0x3e90f8(0x10a)](process[_0x3e90f8(0xcd)]);const _0x512e36=async()=>{const _0x223f54=_0x3e90f8,_0x20774a={'pbAHi':function(_0x3776e6,_0x57a075){const _0x209f7b=a61_0xcc82;return _0xe4e3fe[_0x209f7b(0xfd)](_0x3776e6,_0x57a075);},'bdxub':function(_0x52515f,_0x52a150){const _0x33e02b=a61_0xcc82;return _0xe4e3fe[_0x33e02b(0xe1)](_0x52515f,_0x52a150);},'DJTZa':_0xe4e3fe[_0x223f54(0xb7)]};let _0x4a874f=0x0;const _0x53463e=_0x1af29a['_workerPool'][_0x223f54(0xb6)](),_0xe41c56=()=>{},_0x41dd2f=_0x53463e[_0x223f54(0x114)](async _0x243573=>{const _0x1b56f2=_0x223f54,_0x3eb50c={'lVPpi':function(_0xd142e5,_0x1cf756){const _0x2e6abb=a61_0xcc82;return _0x20774a[_0x2e6abb(0xe6)](_0xd142e5,_0x1cf756);},'zhFzp':function(_0x10e4ae,_0x2a7212){const _0x35078c=a61_0xcc82;return _0x20774a[_0x35078c(0xd1)](_0x10e4ae,_0x2a7212);}};_0x243573[_0x1b56f2(0x101)]([0x2,![]],_0xe41c56,_0xe41c56,_0xe41c56),_0x243573[_0x1b56f2(0xb1)]['on'](_0x20774a[_0x1b56f2(0xcc)],_0x16cd59=>{const _0x5af1b3=_0x1b56f2;_0x3eb50c[_0x5af1b3(0x111)](_0x4a874f,0x0)&&_0x3eb50c[_0x5af1b3(0xde)](_0x16cd59,0x0)&&(_0x4a874f=_0x16cd59);}),await _0x243573[_0x1b56f2(0xf9)]();});await Promise[_0x223f54(0xfc)](_0x41dd2f),process[_0x223f54(0xce)]=_0x4a874f;const {forceExited:_0x4c7785}=await _0x1af29a[_0x223f54(0xd6)]();_0x4c7785&&console[_0x223f54(0xc0)](_0xe4e3fe[_0x223f54(0x102)]),_0xe4e3fe[_0x223f54(0xea)](_0x2ee791,_0x12ec1b);},_0x144df8=_0xe4e3fe[_0x3e90f8(0xea)](pLimit,_0x217163),_0x2bcc8c=_0x322b8a=>_0x144df8(async()=>{const _0x417519=_0x3e90f8;return _0x1af29a[_0x417519(0x10e)](_0x322b8a);});Promise['all'](_0x345702[_0x3e90f8(0x114)](_0x2e2d8f=>_0x2bcc8c(_0x2e2d8f)[_0x3e90f8(0x103)](_0x540758=>_0x114af3[_0x3e90f8(0x107)]('test-file-success',[_0x2e2d8f['configuration']['platform'],_0x2e2d8f['configuration'][_0x3e90f8(0xc9)]]),_0x1a9ef1=>_0x114af3[_0x3e90f8(0x107)]('test-file-failure',[_0x2e2d8f,_0x1a9ef1]))))[_0x3e90f8(0x103)](_0x512e36,_0x512e36);});function a61_0xcc82(_0x4d777c,_0x1897bb){const _0x1eebff=a61_0x1eeb();return a61_0xcc82=function(_0xcc825,_0x23514d){_0xcc825=_0xcc825-0xad;let _0x1628d9=_0x1eebff[_0xcc825];return _0x1628d9;},a61_0xcc82(_0x4d777c,_0x1897bb);}function a61_0x1eeb(){const _0x253c35=['getStderr','DAHOs','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','winstonLogger','360324fIBlJn','info','wQEAi','ITpbF','file','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','platformCaps','DJTZa','stderr','exitCode','GyDER','../../helpers/performance/performance-tester','bdxub','log','1332790gkuqyG','UAumT','length','end','186124AgZdXv','stdout','test-file-success','Worker','kLjhu','7926QGtJBo','OvThq','zhFzp','OhsaC','JCbTe','oQeFa','749YxBnvl','getStdout','ccBvf','YprmX','pbAHi','EJiAO','54dXHGTb','platformIndex','jzHaZ','xBHTR','../../helpers/testhub/testhubHandler','UNSTABLE_onCustomMessage','YXrns','p-limit','exit','kYhzn','test-file-failure','vzBDp','5470595HEaJaU','platform-run-start','postMessage','ZjOiw','platform-run-failure','waitForExit','cucumberWorker','platform','all','spywu','worker_threads','platform-run-success','tRbAa','send','UUKmk','then','./testWorker.js','Workers\x20failed\x20to\x20exit\x20gracefully','resolve','emit','zXjXD','3995208fnTCnB','pipe','Exception\x20in\x20sending\x20worker\x20message\x20','parallelCucumberRun','jest-worker','vanillaWorker','../../helpers/test-observability/utils','parallelTestRun','lVPpi','util','NAtxD','map','IzpnJ','SDK_SETUP','debug','results','_child','Running\x20','VuMOV','cVVRi','ZeZmr','getWorkers','dyFHQ','json','format','platforms','NuNGQ','../../helpers/performance/constants','../../helpers/logger','configuration','4496418YxvdwG','error'];a61_0x1eeb=function(){return _0x253c35;};return a61_0x1eeb();}
|
|
1
|
+
function a61_0x1e26(_0x41a3a8,_0x547ea8){const _0x4f3ead=a61_0x4f3e();return a61_0x1e26=function(_0x1e2661,_0x171937){_0x1e2661=_0x1e2661-0x1c4;let _0x29fa75=_0x4f3ead[_0x1e2661];return _0x29fa75;},a61_0x1e26(_0x41a3a8,_0x547ea8);}const a61_0x51533b=a61_0x1e26;(function(_0x45fb46,_0x3e979e){const _0x27243c=a61_0x1e26,_0x437780=_0x45fb46();while(!![]){try{const _0x1f2f11=parseInt(_0x27243c(0x1e2))/0x1+parseInt(_0x27243c(0x1d7))/0x2*(-parseInt(_0x27243c(0x1d6))/0x3)+parseInt(_0x27243c(0x223))/0x4*(parseInt(_0x27243c(0x21a))/0x5)+parseInt(_0x27243c(0x1f5))/0x6+parseInt(_0x27243c(0x1fc))/0x7+parseInt(_0x27243c(0x1cb))/0x8+parseInt(_0x27243c(0x1e1))/0x9*(-parseInt(_0x27243c(0x227))/0xa);if(_0x1f2f11===_0x3e979e)break;else _0x437780['push'](_0x437780['shift']());}catch(_0x3428ae){_0x437780['push'](_0x437780['shift']());}}}(a61_0x4f3e,0xdb544));const Worker=require(a61_0x51533b(0x205))[a61_0x51533b(0x1fd)],Emittery=require(a61_0x51533b(0x1f2)),pLimit=require(a61_0x51533b(0x228)),{parentPort}=require('worker_threads'),util=require(a61_0x51533b(0x210)),logger=require(a61_0x51533b(0x1dc))[a61_0x51533b(0x1fb)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a61_0x51533b(0x1e8)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler');exports[a61_0x51533b(0x214)]=(_0x22df69,_0x1c84d2,_0x19abf9)=>new Promise(async _0x53ce7a=>{const _0x397a79=a61_0x51533b,_0xb6bcf0={'nMoXW':'failureCount','wrlqg':function(_0x18b8c8,_0x18e573){return _0x18b8c8+_0x18e573;},'qEbbi':_0x397a79(0x1c8),'jOOff':_0x397a79(0x225),'qPYuK':function(_0x4e4fa3,_0x1e8bad){return _0x4e4fa3(_0x1e8bad);},'TeCft':'test-file-start','TTXlX':'./testWorker.js','PMxci':_0x397a79(0x1f7),'rXBTv':'json','FxsOV':_0x397a79(0x1e3),'hurIG':function(_0x150266,_0x6e9671){return _0x150266*_0x6e9671;},'kqJay':_0x397a79(0x1e9),'qxMHI':_0x397a79(0x1d5),'bCzrp':function(_0x2f5ed5,_0x5c69cd){return _0x2f5ed5*_0x5c69cd;}},_0x19900e=_0x19abf9[_0x397a79(0x1ed)],_0x145124={},_0x45872f=new Worker(require[_0x397a79(0x1f6)](_0xb6bcf0[_0x397a79(0x20a)]),{'exposedMethods':[_0xb6bcf0[_0x397a79(0x20e)]],'forkOptions':{'serialization':_0xb6bcf0[_0x397a79(0x207)],'stdio':_0xb6bcf0[_0x397a79(0x216)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0xb6bcf0['hurIG'](_0x1c84d2,0x1),'enableWorkerThreads':!![]}),_0x1608da=new Emittery();_0x1608da['on'](_0xb6bcf0[_0x397a79(0x1e0)],_0x2cf4f5=>{const _0x34c5a1=_0x397a79;_0x145124[_0x2cf4f5[0x0]]?(_0x145124[_0x2cf4f5[0x0]][_0xb6bcf0['nMoXW']]=_0xb6bcf0[_0x34c5a1(0x1de)](_0x145124[_0x2cf4f5[0x0]][_0xb6bcf0[_0x34c5a1(0x226)]],_0x2cf4f5[0x1][_0xb6bcf0[_0x34c5a1(0x226)]]),_0x145124[_0x2cf4f5[0x0]][_0xb6bcf0[_0x34c5a1(0x1c9)]]=[..._0x145124[_0x2cf4f5[0x0]][_0xb6bcf0[_0x34c5a1(0x1c9)]],..._0x2cf4f5[0x1][_0xb6bcf0[_0x34c5a1(0x1c9)]]]):_0x145124[_0x2cf4f5[0x0]]={'failureCount':_0x2cf4f5[0x1][_0xb6bcf0[_0x34c5a1(0x226)]],'results':[..._0x2cf4f5[0x1][_0xb6bcf0[_0x34c5a1(0x1c9)]]]};}),_0x1608da['on'](_0xb6bcf0[_0x397a79(0x1db)],_0x9dde86=>console[_0x397a79(0x1ef)](_0x9dde86[0x1]));_0x45872f['getStdout']()&&_0x45872f['getStdout']()[_0x397a79(0x1e3)](process[_0x397a79(0x1df)]);_0x45872f['getStderr']()&&_0x45872f[_0x397a79(0x200)]()['pipe'](process[_0x397a79(0x213)]);const _0x4e5dd7=async()=>{const _0xda6b03=_0x397a79,{forceExited:_0x30d245}=await _0x45872f[_0xda6b03(0x218)]();_0x30d245&&console[_0xda6b03(0x1e4)](_0xb6bcf0[_0xda6b03(0x211)]);try{await TestHubHandler[_0xda6b03(0x1cc)]();}catch(_0x54eecd){_0xb6bcf0[_0xda6b03(0x1f0)](debug,_0xda6b03(0x215)+_0x54eecd);}_0xb6bcf0[_0xda6b03(0x1f0)](_0x53ce7a,_0x145124);},_0x2b2fe3=_0xb6bcf0[_0x397a79(0x1f0)](pLimit,_0xb6bcf0[_0x397a79(0x20f)](_0x1c84d2,0x1)),_0x4dce1d=_0xd4216e=>_0x2b2fe3(async()=>{const _0x1d5cb1=_0x397a79;await _0x1608da[_0x1d5cb1(0x1d0)](_0xb6bcf0['TeCft'],_0xd4216e);const _0x1a9337=_0x45872f['worker'](_0xd4216e,_0x19900e);try{parentPort&&_0x1a9337['UNSTABLE_onCustomMessage'](_0x41a85e=>{const _0x4989d2=_0x1d5cb1;try{parentPort[_0x4989d2(0x22b)](_0x41a85e);}catch(_0x59d350){logger['debug'](_0x4989d2(0x20d)+util[_0x4989d2(0x206)](_0x59d350));}});}catch(_0x300823){logger['debug'](_0x1d5cb1(0x21d)+util['format'](_0x300823));}return _0x1a9337;});PerformanceTester[_0x397a79(0x218)](PerformanceEvents[_0x397a79(0x220)]),Promise[_0x397a79(0x1ff)](_0x22df69[_0x397a79(0x201)](_0x18f2ba=>_0x4dce1d(_0x18f2ba)[_0x397a79(0x204)](_0x331391=>_0x1608da[_0x397a79(0x1d0)]('test-file-success',[_0x18f2ba[_0x397a79(0x1eb)][_0x397a79(0x1d4)],_0x331391]),_0xc3d257=>_0x1608da['emit'](_0x397a79(0x1d5),[_0x18f2ba,_0xc3d257]))))[_0x397a79(0x204)](_0x4e5dd7,_0x4e5dd7);}),exports[a61_0x51533b(0x221)]=(_0x5b7724,_0x441b98,_0x3cad0f,_0x48388c,_0x167188)=>{const _0xec5d41=a61_0x51533b,_0x4e9f9b={'pDStA':_0xec5d41(0x225),'GgzqL':function(_0x28afc1,_0x107b40){return _0x28afc1(_0x107b40);},'Fjowa':'platform-run-start','BmDRf':_0xec5d41(0x1d2),'femaU':_0xec5d41(0x1cf),'fghIo':_0xec5d41(0x1e6),'uhRTg':'pipe','CGocU':'platform-run-success','oCPDk':'platform-run-failure','HWDsq':function(_0x4f0775,_0x2b97e1){return _0x4f0775(_0x2b97e1);}};return new Promise(_0x1700ad=>{const _0x5afc26=_0xec5d41,_0x39e6c2={'yRzUd':_0x4e9f9b['pDStA'],'NQYta':function(_0x295359,_0xe4db27){const _0x585d34=a61_0x1e26;return _0x4e9f9b[_0x585d34(0x1cd)](_0x295359,_0xe4db27);},'jYTcD':_0x4e9f9b[_0x5afc26(0x1f4)]},_0x2ea57e=[],_0x507a09=new Worker(require['resolve'](_0x4e9f9b[_0x5afc26(0x1ec)]),{'exposedMethods':[_0x4e9f9b[_0x5afc26(0x203)]],'forkOptions':{'serialization':_0x4e9f9b[_0x5afc26(0x1ea)],'stdio':_0x4e9f9b[_0x5afc26(0x212)]},'numWorkers':_0x5b7724[_0x5afc26(0x20b)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x1bf482=new Emittery();_0x1bf482['on'](_0x4e9f9b[_0x5afc26(0x208)],_0x3ae14b=>{const _0x38f7d9=_0x5afc26;_0x2ea57e[_0x38f7d9(0x1d8)]([_0x3ae14b[0x0],_0x3ae14b[0x1]]);}),_0x1bf482['on'](_0x4e9f9b['oCPDk'],_0x2f846f=>console[_0x5afc26(0x1ef)](_0x2f846f[0x1]));_0x507a09[_0x5afc26(0x1d1)]()&&_0x507a09[_0x5afc26(0x1d1)]()[_0x5afc26(0x1e3)](process[_0x5afc26(0x1df)]);_0x507a09[_0x5afc26(0x200)]()&&_0x507a09[_0x5afc26(0x200)]()[_0x5afc26(0x1e3)](process[_0x5afc26(0x213)]);const _0x578132=async()=>{const _0xe6d1ed=_0x5afc26,{forceExited:_0x6f7df2}=await _0x507a09[_0xe6d1ed(0x218)]();_0x6f7df2&&console['error'](_0x39e6c2['yRzUd']),_0x39e6c2[_0xe6d1ed(0x1ee)](_0x1700ad,_0x2ea57e);},_0x167b92=_0x4e9f9b[_0x5afc26(0x1e7)](pLimit,_0x5b7724[_0x5afc26(0x20b)]||0x1),_0x2674f3=(_0x25ff8f,_0x416f75)=>_0x167b92(async()=>{const _0x4d0973=_0x5afc26;return await _0x1bf482['emit'](_0x39e6c2[_0x4d0973(0x21c)],_0x25ff8f),_0x441b98[_0x4d0973(0x1f9)]=_0x3cad0f[_0x4d0973(0x217)][_0x416f75],_0x441b98[_0x4d0973(0x1c5)]=_0x416f75,_0x507a09[_0x4d0973(0x1cf)](_0x25ff8f,_0x441b98,_0x3cad0f,_0x48388c,_0x167188);});Promise[_0x5afc26(0x1ff)](_0x5b7724[_0x5afc26(0x201)]((_0x1ad499,_0x41b2a1)=>_0x2674f3(_0x1ad499,_0x41b2a1)[_0x5afc26(0x204)](_0x235785=>_0x1bf482[_0x5afc26(0x1d0)](_0x5afc26(0x20c),[_0x1ad499,_0x235785]),_0x1da5d0=>_0x1bf482[_0x5afc26(0x1d0)](_0x5afc26(0x1d3),[_0x1ad499,_0x1da5d0]))))['then'](_0x578132,_0x578132);});},exports[a61_0x51533b(0x1dd)]=(_0x26c3c0,_0xdda2a8)=>new Promise(_0x271adb=>{const _0x83b459=a61_0x51533b,_0xef3d0={'VGFvk':function(_0x27249c,_0x4c2c20){return _0x27249c===_0x4c2c20;},'TmmId':function(_0x122a42,_0x5c57f8){return _0x122a42!==_0x5c57f8;},'jYrlE':'exit','wJmTp':_0x83b459(0x225),'gNKZm':function(_0x8f3413,_0x4009c9){return _0x8f3413(_0x4009c9);},'SFQuW':_0x83b459(0x1d2),'IYHDk':_0x83b459(0x1f1),'EuMSE':_0x83b459(0x1e6),'jyOXA':'pipe','KWmRK':'test-file-success','HZDcX':_0x83b459(0x1d5),'cBzsY':function(_0x512e39,_0x4b9d2e){return _0x512e39(_0x4b9d2e);}},_0x1d64f1={},_0x1a0dc8=new Worker(require[_0x83b459(0x1f6)](_0xef3d0[_0x83b459(0x1d9)]),{'exposedMethods':[_0xef3d0[_0x83b459(0x1fe)]],'forkOptions':{'serialization':_0xef3d0[_0x83b459(0x1da)],'stdio':_0xef3d0[_0x83b459(0x22a)]},'numWorkers':_0xdda2a8,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x3b8cc9=new Emittery();_0x3b8cc9['on'](_0xef3d0[_0x83b459(0x209)],_0x152509=>{const _0x2dd32b=_0x83b459;_0x152509[0x0]&&logger[_0x2dd32b(0x1c6)]('Running\x20'+_0x152509[0x1]+_0x2dd32b(0x224),_0x152509[0x0]);}),_0x3b8cc9['on'](_0xef3d0[_0x83b459(0x1c4)],_0x5175c5=>{const _0x36c54f=_0x83b459;process[_0x36c54f(0x21f)]=0x1;});_0x1a0dc8[_0x83b459(0x1d1)]()&&_0x1a0dc8['getStdout']()[_0x83b459(0x1e3)](process[_0x83b459(0x1df)]);_0x1a0dc8[_0x83b459(0x200)]()&&_0x1a0dc8[_0x83b459(0x200)]()[_0x83b459(0x1e3)](process['stderr']);const _0x51c310=async()=>{const _0x344673=_0x83b459,_0x17547f={'FlfSL':function(_0x53e751,_0x2f84b8){const _0x46f589=a61_0x1e26;return _0xef3d0[_0x46f589(0x1ca)](_0x53e751,_0x2f84b8);},'LggnH':function(_0x183e3d,_0x25be57){const _0x46cfa3=a61_0x1e26;return _0xef3d0[_0x46cfa3(0x21e)](_0x183e3d,_0x25be57);},'nymzT':_0xef3d0['jYrlE']};let _0x47d718=0x0;const _0x3ea8c1=_0x1a0dc8['_workerPool'][_0x344673(0x21b)](),_0x4bc7b1=()=>{},_0x92c197=_0x3ea8c1[_0x344673(0x201)](async _0x3e70d9=>{const _0x1f4f49=_0x344673;_0x3e70d9[_0x1f4f49(0x222)]([0x2,![]],_0x4bc7b1,_0x4bc7b1,_0x4bc7b1),_0x3e70d9[_0x1f4f49(0x1f8)]['on'](_0x17547f[_0x1f4f49(0x1fa)],_0x3cb4ef=>{const _0x41909e=_0x1f4f49;_0x17547f[_0x41909e(0x229)](_0x47d718,0x0)&&_0x17547f[_0x41909e(0x1f3)](_0x3cb4ef,0x0)&&(_0x47d718=_0x3cb4ef);}),await _0x3e70d9[_0x1f4f49(0x202)]();});await Promise[_0x344673(0x1ff)](_0x92c197),process[_0x344673(0x21f)]=_0x47d718;const {forceExited:_0x10fd19}=await _0x1a0dc8[_0x344673(0x218)]();_0x10fd19&&console['error'](_0xef3d0[_0x344673(0x219)]),_0xef3d0[_0x344673(0x1e5)](_0x271adb,_0x1d64f1);},_0x34309a=_0xef3d0[_0x83b459(0x1c7)](pLimit,_0xdda2a8),_0x913b03=_0x43fea1=>_0x34309a(async()=>{return _0x1a0dc8['vanillaWorker'](_0x43fea1);});Promise['all'](_0x26c3c0['map'](_0x30196d=>_0x913b03(_0x30196d)[_0x83b459(0x204)](_0x427b1e=>_0x3b8cc9['emit'](_0x83b459(0x1e9),[_0x30196d['configuration'][_0x83b459(0x1d4)],_0x30196d['configuration'][_0x83b459(0x1ce)]]),_0x2d1a3e=>_0x3b8cc9['emit'](_0x83b459(0x1d5),[_0x30196d,_0x2d1a3e]))))[_0x83b459(0x204)](_0x51c310,_0x51c310);});function a61_0x4f3e(){const _0x27fe74=['getStderr','map','waitForExit','femaU','then','jest-worker','format','rXBTv','CGocU','KWmRK','TTXlX','length','platform-run-success','Exception\x20in\x20sending\x20worker\x20message\x20','PMxci','bCzrp','util','jOOff','uhRTg','stderr','parallelTestRun','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','FxsOV','platforms','end','wJmTp','55ZpUGJb','getWorkers','jYTcD','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','TmmId','exitCode','SDK_SETUP','parallelCucumberRun','send','419264lGlzKk','\x20for','Workers\x20failed\x20to\x20exit\x20gracefully','nMoXW','6442560RhFIpb','p-limit','FlfSL','jyOXA','postMessage','HZDcX','platformIndex','info','cBzsY','results','qEbbi','VGFvk','5869288weiEbC','stop','GgzqL','file','cucumberWorker','emit','getStdout','./testWorker.js','platform-run-failure','platform','test-file-failure','6JkmTwL','893814bKlOxg','push','SFQuW','EuMSE','qxMHI','../../helpers/logger','parallelVanillaRun','wrlqg','stdout','kqJay','63twgrQt','1430494JdkYUe','pipe','error','gNKZm','json','HWDsq','EVENTS','test-file-success','fghIo','configuration','BmDRf','config','NQYta','log','qPYuK','vanillaWorker','emittery','LggnH','Fjowa','7574772MXmdik','resolve','worker','_child','platformCaps','nymzT','winstonLogger','12056695rovnUW','Worker','IYHDk','all'];a61_0x4f3e=function(){return _0x27fe74;};return a61_0x4f3e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a62_0xf62704=a62_0x5098;function a62_0x5098(_0x171729,_0x316d97){const _0x12d184=a62_0x12d1();return a62_0x5098=function(_0x5098dc,_0x21cdcc){_0x5098dc=_0x5098dc-0x1cd;let _0x11ec96=_0x12d184[_0x5098dc];return _0x11ec96;},a62_0x5098(_0x171729,_0x316d97);}(function(_0x1922fb,_0x292afa){const _0x535845=a62_0x5098,_0x589a99=_0x1922fb();while(!![]){try{const _0x1d7118=-parseInt(_0x535845(0x1e6))/0x1*(-parseInt(_0x535845(0x1ce))/0x2)+parseInt(_0x535845(0x1d2))/0x3+-parseInt(_0x535845(0x1d3))/0x4*(parseInt(_0x535845(0x1da))/0x5)+parseInt(_0x535845(0x1db))/0x6*(-parseInt(_0x535845(0x1df))/0x7)+parseInt(_0x535845(0x1ea))/0x8+parseInt(_0x535845(0x1e9))/0x9+parseInt(_0x535845(0x1d1))/0xa;if(_0x1d7118===_0x292afa)break;else _0x589a99['push'](_0x589a99['shift']());}catch(_0x5a0455){_0x589a99['push'](_0x589a99['shift']());}}}(a62_0x12d1,0x19fd1));function a62_0x12d1(){const _0xe5de56=['../../helpers/performance/constants','2DLrlRD','QmtfG','kRdVP','1244600lHFEAS','541002ZGxcUq','4zTAEHq','jrRna','../launcher/launcher','CsVxX','muVoj','configuration','ZiWQR','772755ebHYoT','30zDwNGA','EVENTS','../../helpers/performance/performance-tester','run','262703uAEgQp','stopMonitoring','NgTaj','startMonitoring','runCucumberTest','ynfSJ','mocha','53241tzgtXS','runTest','../../helpers/test-observability/utils','129204qzxFLZ','610032hVGNxB','qrJJi'];a62_0x12d1=function(){return _0xe5de56;};return a62_0x12d1();}const PerformanceEvents=require(a62_0xf62704(0x1cd))[a62_0xf62704(0x1dc)],PerformanceTester=require(a62_0xf62704(0x1dd)),{sleep}=require(a62_0xf62704(0x1e8));exports[a62_0xf62704(0x1e7)]=async(_0x1445c7,_0x15aa2d)=>{const _0x46af43=a62_0xf62704,_0xdac6f2={'QmtfG':function(_0x5a00f5,_0xeb160d){return _0x5a00f5(_0xeb160d);},'GnMtP':_0x46af43(0x1d5),'jrRna':_0x46af43(0x1e5),'ZiWQR':function(_0x4f6b49,_0x29944e){return _0x4f6b49(_0x29944e);}};PerformanceTester[_0x46af43(0x1e2)]();const _0x367b16=_0xdac6f2[_0x46af43(0x1cf)](require,_0xdac6f2['GnMtP']),_0x9b1f41=new _0x367b16(_0xdac6f2[_0x46af43(0x1d4)],_0x1445c7,_0x15aa2d),_0x1cf0a7=await _0x9b1f41['run']();return PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']),await _0xdac6f2[_0x46af43(0x1d9)](sleep,0x3e8),PerformanceTester[_0x46af43(0x1e0)](),_0x1cf0a7;},exports[a62_0xf62704(0x1e3)]=async(_0x4a6c41,_0x4b3d42,_0x4f4374,_0x384115,_0x27472f)=>{const _0xdf4902=a62_0xf62704,_0xa4f2cb={'kRdVP':function(_0x19a5d4,_0x1ce57a){return _0x19a5d4(_0x1ce57a);},'muVoj':_0xdf4902(0x1d5),'CsVxX':'cucumber-js'},_0x2c77b4={'capability':_0x4a6c41,..._0x4b3d42},_0x133411={};_0x133411[_0xdf4902(0x1d8)]=_0x2c77b4,_0x133411['formatter']=_0x27472f;const _0x3ad465=_0x133411,_0x2e48eb=_0xa4f2cb[_0xdf4902(0x1d0)](require,_0xa4f2cb[_0xdf4902(0x1d7)]),_0x28e4dc=new _0x2e48eb(_0xa4f2cb[_0xdf4902(0x1d6)],_0x3ad465,_0x4f4374,_0x384115);return await _0x28e4dc[_0xdf4902(0x1de)]();},exports['runVanillaTest']=async _0x234a26=>{const _0x2d46f9=a62_0xf62704,_0x55aa98={'qrJJi':function(_0x177dee,_0x118cfe){return _0x177dee(_0x118cfe);},'ynfSJ':_0x2d46f9(0x1d5),'NgTaj':'vanilla'},_0x2dc406=_0x55aa98[_0x2d46f9(0x1eb)](require,_0x55aa98[_0x2d46f9(0x1e4)]),_0x20d502=new _0x2dc406(_0x55aa98[_0x2d46f9(0x1e1)],_0x234a26);return await _0x20d502[_0x2d46f9(0x1de)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a63_0x283f(_0x3dff18,_0x29398f){const _0x544921=a63_0x5449();return a63_0x283f=function(_0x283ffd,_0x8ebc75){_0x283ffd=_0x283ffd-0x65;let _0x16676a=_0x544921[_0x283ffd];return _0x16676a;},a63_0x283f(_0x3dff18,_0x29398f);}const a63_0x454d7b=a63_0x283f;(function(_0x18a8be,_0x459a27){const _0x120ae1=a63_0x283f,_0x2f2212=_0x18a8be();while(!![]){try{const _0xa9c215=-parseInt(_0x120ae1(0x6c))/0x1+parseInt(_0x120ae1(0x66))/0x2*(parseInt(_0x120ae1(0x6a))/0x3)+-parseInt(_0x120ae1(0x6d))/0x4*(parseInt(_0x120ae1(0x6e))/0x5)+-parseInt(_0x120ae1(0x6f))/0x6*(-parseInt(_0x120ae1(0x70))/0x7)+-parseInt(_0x120ae1(0x72))/0x8+parseInt(_0x120ae1(0x67))/0x9+-parseInt(_0x120ae1(0x6b))/0xa;if(_0xa9c215===_0x459a27)break;else _0x2f2212['push'](_0x2f2212['shift']());}catch(_0x4537d3){_0x2f2212['push'](_0x2f2212['shift']());}}}(a63_0x5449,0x5f367));function a63_0x5449(){const _0x403b17=['../../helpers/driverInitErrorReporter','vanillaWorker','531ZrNusZ','3415570HhUTUo','378309tLppwk','4ZgDmDb','575695TMlVMU','810696xdEGiF','35kGvich','PWSZT','436232JBCqQL','installAll','cucumberWorker','4604tBsVPj','1768419jbCANs'];a63_0x5449=function(){return _0x403b17;};return a63_0x5449();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');try{require(a63_0x454d7b(0x68))[a63_0x454d7b(0x73)]();}catch(a63_0x4e5d4f){}exports['worker']=async(_0x230258,_0xfb7d33)=>{const _0xf78e85={'TNNIc':function(_0x33cba5,_0x264a1f,_0xa86aca){return _0x33cba5(_0x264a1f,_0xa86aca);}};return await _0xf78e85['TNNIc'](runTest,_0x230258,_0xfb7d33);},exports[a63_0x454d7b(0x65)]=async(_0x467ad9,_0x17bd24,_0x131b42,_0x38b0cd,_0x3f2370)=>{const _0x1a8c28={'ddwQf':function(_0x5012d6,_0x1a4538,_0x23b65d,_0x26bb59,_0x4e1355,_0xf894f7){return _0x5012d6(_0x1a4538,_0x23b65d,_0x26bb59,_0x4e1355,_0xf894f7);}};return await _0x1a8c28['ddwQf'](runCucumberTest,_0x467ad9,_0x17bd24,_0x131b42,_0x38b0cd,_0x3f2370);},exports[a63_0x454d7b(0x69)]=async _0x20181a=>{const _0x44cd5f=a63_0x454d7b,_0x4f2757={'PWSZT':function(_0x352a9b,_0x40a425){return _0x352a9b(_0x40a425);}};return await _0x4f2757[_0x44cd5f(0x71)](runVanillaTest,_0x20181a);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a64_0x3338(_0x39c031,_0x3b0045){const _0x184f61=a64_0x184f();return a64_0x3338=function(_0x33381f,_0x60b2ed){_0x33381f=_0x33381f-0x15b;let _0x1853e5=_0x184f61[_0x33381f];return _0x1853e5;},a64_0x3338(_0x39c031,_0x3b0045);}const a64_0x2940e5=a64_0x3338;(function(_0x1f5005,_0x251312){const _0x289f03=a64_0x3338,_0x5d250a=_0x1f5005();while(!![]){try{const _0x337351=-parseInt(_0x289f03(0x168))/0x1*(-parseInt(_0x289f03(0x18b))/0x2)+-parseInt(_0x289f03(0x188))/0x3*(-parseInt(_0x289f03(0x182))/0x4)+parseInt(_0x289f03(0x16e))/0x5*(-parseInt(_0x289f03(0x176))/0x6)+parseInt(_0x289f03(0x186))/0x7+parseInt(_0x289f03(0x172))/0x8+-parseInt(_0x289f03(0x183))/0x9*(-parseInt(_0x289f03(0x165))/0xa)+-parseInt(_0x289f03(0x170))/0xb*(parseInt(_0x289f03(0x16b))/0xc);if(_0x337351===_0x251312)break;else _0x5d250a['push'](_0x5d250a['shift']());}catch(_0x364423){_0x5d250a['push'](_0x5d250a['shift']());}}}(a64_0x184f,0x8466b));const util=require(a64_0x2940e5(0x18f)),logger=require('../../helpers/logger')[a64_0x2940e5(0x17c)],{automationLogger}=require('../../helpers/logger'),{AUTOMATION_LOG_COMMANDS}=require(a64_0x2940e5(0x167));async function _run(_0x46005a,_0x40af5d,_0x46b2d2,_0x4d07f8){const _0x15211a=a64_0x2940e5,_0x347804={'xNKXO':function(_0x41714b,_0x3c5593){return _0x41714b(_0x3c5593);},'kWJYX':'../v2/browserstackCLI','WMeXu':function(_0x3c437a,_0x336e13){return _0x3c437a!==_0x336e13;},'TRhxz':_0x15211a(0x164),'hurzu':function(_0x472750,_0x5d6397){return _0x472750||_0x5d6397;},'zLzBk':_0x15211a(0x184),'ZeevP':'[a11y-runner]\x20%s\x20failed:\x20%O'};try{const _0x51bc17=_0x347804[_0x15211a(0x15d)](require,_0x347804['kWJYX']),_0x46bce3=_0x51bc17[_0x15211a(0x18e)]();if(!_0x46bce3||!_0x46bce3['isRunning']())return null;const _0x5f5bca=_0x46bce3[_0x15211a(0x18d)]&&_0x46bce3['getAccessibilityModule']();if(!_0x5f5bca)return null;if(_0x347804[_0x15211a(0x15b)](typeof _0x5f5bca['getScriptByName'],_0x347804[_0x15211a(0x17a)]))return null;const _0x16d913=_0x5f5bca[_0x15211a(0x189)](_0x46005a);if(!_0x16d913||!_0x16d913['command'])return logger[_0x15211a(0x180)](_0x15211a(0x15c)+_0x46005a+_0x15211a(0x175)),null;const _0x504a9c=await _0x40af5d[_0x15211a(0x161)](_0x16d913['command'],_0x347804[_0x15211a(0x163)](_0x4d07f8,{}));logger[_0x15211a(0x180)](_0x15211a(0x190)+_0x46005a+'\x20result:\x20'+JSON[_0x15211a(0x162)](_0x504a9c));try{const _0x56eb53=AUTOMATION_LOG_COMMANDS[_0x15211a(0x181)](_0x2f9fdf=>_0x16d913[_0x15211a(0x16c)][_0x15211a(0x16a)](_0x2f9fdf));if(_0x56eb53){const _0xe28445={};_0xe28445[_0x15211a(0x17e)]=_0x504a9c,automationLogger[_0x15211a(0x177)]('['+new Date()[_0x15211a(0x173)]()+_0x15211a(0x17b)+JSON[_0x15211a(0x162)]({'request':{'command':_0x56eb53,'parameters':[_0x347804['hurzu'](_0x4d07f8,{})]},'response':_0xe28445}));}}catch(_0x2778ab){logger[_0x15211a(0x180)](util[_0x15211a(0x160)](_0x347804[_0x15211a(0x166)],_0x46005a,_0x2778ab));}return _0x504a9c;}catch(_0x5deb36){return logger['debug'](util[_0x15211a(0x160)](_0x347804[_0x15211a(0x174)],_0x46005a,_0x5deb36)),null;}}function _argsFor(_0x3aeb00,_0x557818,_0x2f6947,_0x3334bc){const _0x240f53=a64_0x2940e5,_0x5dc2a2={'eMEQR':function(_0x36d5f4,_0x4dace9){return _0x36d5f4(_0x4dace9);},'DqLGr':'../v2/browserstackCLI','FHpQN':function(_0x5d10bb,_0x531e21){return _0x5d10bb===_0x531e21;},'kqOHY':_0x240f53(0x164),'Kojfv':'testhub_build_uuid','JDOpx':function(_0x2d157a,_0x2d0505){return _0x2d157a||_0x2d0505;},'OgGCQ':function(_0x38c5dc,_0x31f662){return _0x38c5dc||_0x31f662;}},_0x3e2de1=_0x5dc2a2[_0x240f53(0x179)](require,_0x5dc2a2[_0x240f53(0x191)]),_0x545345=_0x3e2de1[_0x240f53(0x18e)](),_0x2d135e=_0x545345&&_0x545345[_0x240f53(0x18d)]&&_0x545345['getAccessibilityModule']();let _0x56ef6d='';const _0x569c71=process['env'][_0x240f53(0x192)]||'';try{_0x2d135e&&_0x5dc2a2[_0x240f53(0x16f)](typeof _0x2d135e[_0x240f53(0x15f)],_0x5dc2a2[_0x240f53(0x185)])&&(_0x56ef6d=_0x2d135e['getCapabilityValue'](_0x5dc2a2[_0x240f53(0x171)])||'');}catch(_0x354b53){}return{'thTestRunUuid':_0x5dc2a2[_0x240f53(0x187)](_0x557818,''),'thBuildUuid':_0x56ef6d,'thJwtToken':_0x569c71,'is_mobile_session':!!_0x3334bc,'commandName':_0x5dc2a2['OgGCQ'](_0x2f6947,_0x3aeb00)};}exports[a64_0x2940e5(0x15e)]=async(_0x24f786,_0x51268e,_0x13f05b,_0x58660e)=>{const _0x51168e=a64_0x2940e5,_0x5dfa5a={'mndQP':function(_0x5d6d78,_0x11b476,_0x56fae9,_0x17f2c2,_0x440f80){return _0x5d6d78(_0x11b476,_0x56fae9,_0x17f2c2,_0x440f80);},'KDkLl':_0x51168e(0x18c),'NQqRS':function(_0xca3453,_0x1eb401,_0x5310aa,_0x5a865a,_0x21f258){return _0xca3453(_0x1eb401,_0x5310aa,_0x5a865a,_0x21f258);}},_0x49721c=_0x5dfa5a[_0x51168e(0x178)](_argsFor,_0x5dfa5a[_0x51168e(0x17f)],_0x51268e,_0x13f05b,_0x58660e);return _0x5dfa5a[_0x51168e(0x16d)](_run,_0x5dfa5a[_0x51168e(0x17f)],_0x24f786,_0x51268e,_0x49721c);},exports[a64_0x2940e5(0x18a)]=async(_0x42e570,_0x38f5a1,_0x532441)=>{const _0x40eceb=a64_0x2940e5,_0x168fa6={'VmWyI':function(_0x64b6cd,_0x372da2,_0x94b80,_0x33f553,_0x43137f){return _0x64b6cd(_0x372da2,_0x94b80,_0x33f553,_0x43137f);},'yETND':'saveResults','JAhiE':function(_0x1eb005,_0x3b287a,_0x49fe5f,_0x6f3124,_0xd87b46){return _0x1eb005(_0x3b287a,_0x49fe5f,_0x6f3124,_0xd87b46);}},_0x8b6151=_0x168fa6['VmWyI'](_argsFor,_0x168fa6[_0x40eceb(0x169)],_0x38f5a1,_0x168fa6[_0x40eceb(0x169)],_0x532441);return _0x168fa6[_0x40eceb(0x17d)](_run,_0x168fa6[_0x40eceb(0x169)],_0x42e570,_0x38f5a1,_0x8b6151);};function a64_0x184f(){const _0x5cb1e7=['kqOHY','368753gROrvJ','JDOpx','651957HmsWvr','getScriptByName','runSaveResults','116TCaMQk','scan','getAccessibilityModule','getInstance','util','[a11y-runner]\x20','DqLGr','BROWSERSTACK_TESTHUB_JWT','WMeXu','[a11y-runner]\x20no\x20\x27','xNKXO','runScan','getCapabilityValue','format','executeAsyncScript','stringify','hurzu','function','8790MGlBtk','zLzBk','../utils/constants','3631evJrNB','yETND','includes','5556ujQxEi','command','NQqRS','5fEOKts','FHpQN','2453XSCmwW','Kojfv','1371472QpfvwY','toISOString','ZeevP','\x27\x20script\x20available','6457254jqnGsc','silly','mndQP','eMEQR','TRhxz','][\x20SDK-AUTOMATION\x20]\x20','winstonLogger','JAhiE','body','KDkLl','debug','find','4ZSqWdo','10953zsjGuS','[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O'];a64_0x184f=function(){return _0x5cb1e7;};return a64_0x184f();}
|