browserstack-node-sdk 1.50.5 → 1.50.6
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 +2 -2
- 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/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/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/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/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.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/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/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/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/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.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
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a48_0x1dd747=a48_0x2fea;(function(_0x4dba92,_0x18d0fd){const _0x2e7e68=a48_0x2fea,_0x50d815=_0x4dba92();while(!![]){try{const _0x17eeab=parseInt(_0x2e7e68(0x1ae))/0x1*(parseInt(_0x2e7e68(0x1a5))/0x2)+parseInt(_0x2e7e68(0x134))/0x3+parseInt(_0x2e7e68(0x1ab))/0x4+-parseInt(_0x2e7e68(0x13f))/0x5*(-parseInt(_0x2e7e68(0x14a))/0x6)+parseInt(_0x2e7e68(0x18b))/0x7+parseInt(_0x2e7e68(0x139))/0x8*(parseInt(_0x2e7e68(0x19c))/0x9)+-parseInt(_0x2e7e68(0x14f))/0xa;if(_0x17eeab===_0x18d0fd)break;else _0x50d815['push'](_0x50d815['shift']());}catch(_0x17e5db){_0x50d815['push'](_0x50d815['shift']());}}}(a48_0x32a4,0xd3d3d));const fs=require('fs'),path=require(a48_0x1dd747(0x13b)),util=require(a48_0x1dd747(0x172)),spawn=require(a48_0x1dd747(0x1af))[a48_0x1dd747(0x15d)],{requireModule}=require(a48_0x1dd747(0x170)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a48_0x1dd747(0x18a))[a48_0x1dd747(0x19f)],helper=require(a48_0x1dd747(0x170)),utilities=require(a48_0x1dd747(0x153)),{default:BrowserStackSetup}=require(a48_0x1dd747(0x1a7)),{FRAMEWORKS}=require(a48_0x1dd747(0x19e)),runIntegrations=require(a48_0x1dd747(0x130)),yargs=require(a48_0x1dd747(0x174)),Constants=require(a48_0x1dd747(0x141)),BrowserstackCLI=require(a48_0x1dd747(0x12a)),logger=require('../helpers/logger')[a48_0x1dd747(0x14d)],origArgs=Object[a48_0x1dd747(0x189)]([],process['argv']),captureError=async(_0x4fe490,_0x2b5986,_0x1e5f9d,_0x1d67bb=null)=>{const _0x546385=a48_0x1dd747,_0xfdb4f2={'qVAZN':function(_0x4c340c,_0x201f1c,_0x52c6e0,_0x403905){return _0x4c340c(_0x201f1c,_0x52c6e0,_0x403905);},'XRwEa':_0x546385(0x191)};try{logger[_0x546385(0x143)](_0x546385(0x192)+origArgs[_0x546385(0x175)]('\x20')),await _0xfdb4f2[_0x546385(0x1b1)](_0x4fe490,_0x2b5986,_0x1d67bb,_0x1e5f9d);}catch(_0x458710){process['exitCode']=0x1,logger[_0x546385(0x149)](util[_0x546385(0x12f)](_0x458710));const _0x480498={'globalException':util['format']('%j',_0x458710)};PerformanceTester[_0x546385(0x168)](PerformanceEvents[_0x546385(0x17b)],![],util[_0x546385(0x12f)](_0x458710));if(helper['isUndefined'](global[_0x546385(0x179)])&&helper['isUndefined'](global[_0x546385(0x186)]))return;try{utilities[_0x546385(0x14b)](_0xfdb4f2[_0x546385(0x136)],_0x480498,global['config'],global[_0x546385(0x186)]);}catch(_0x480278){logger[_0x546385(0x1a6)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x480278[_0x546385(0x183)]);}try{await helper[_0x546385(0x187)](global[_0x546385(0x179)]);}catch(_0x32bea2){logger[_0x546385(0x1a6)](_0x546385(0x1b3)+_0x32bea2[_0x546385(0x183)]);}await BrowserstackCLI['getInstance']()[_0x546385(0x145)](),PerformanceTester[_0x546385(0x168)](PerformanceEvents[_0x546385(0x17b)],![],util['format'](_0x458710));}finally{PerformanceTester[_0x546385(0x1b2)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a48_0x1dd747(0x175)](helper[a48_0x1dd747(0x196)](),a48_0x1dd747(0x1ad));if(fs[a48_0x1dd747(0x16c)](browserstackFolderPath)){const filePath=path[a48_0x1dd747(0x175)](browserstackFolderPath,a48_0x1dd747(0x17f));fs[a48_0x1dd747(0x16c)](filePath)&&fs[a48_0x1dd747(0x12c)](filePath);}}catch(a48_0x1ed88d){logger['debug'](a48_0x1dd747(0x140)+a48_0x1ed88d[a48_0x1dd747(0x17e)]);}process[a48_0x1dd747(0x19b)]['includes']('mocha')&&(!process['argv'][a48_0x1dd747(0x180)]('--opts')&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x12b)),!process['argv'][a48_0x1dd747(0x182)](_0x264cc7=>_0x264cc7[a48_0x1dd747(0x180)](a48_0x1dd747(0x16f)))&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x164)),!process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x180)](a48_0x1dd747(0x16e))&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x1a1)),helper[a48_0x1dd747(0x181)](process[a48_0x1dd747(0x19b)],a48_0x1dd747(0x142),a48_0x1dd747(0x18e)));PerformanceTester[a48_0x1dd747(0x1b2)](PerformanceEvents[a48_0x1dd747(0x17b)]);const a48_0x5b9f42={};a48_0x5b9f42[a48_0x1dd747(0x15f)]=![];function a48_0x2fea(_0x33e087,_0x454c6b){const _0x32a471=a48_0x32a4();return a48_0x2fea=function(_0x2feaba,_0xd1e7df){_0x2feaba=_0x2feaba-0x127;let _0x570ffb=_0x32a471[_0x2feaba];return _0x570ffb;},a48_0x2fea(_0x33e087,_0x454c6b);}const argv=yargs['parserConfiguration'](a48_0x5b9f42)[a48_0x1dd747(0x15a)](a48_0x1dd747(0x17d))['alias']('v',a48_0x1dd747(0x167))[a48_0x1dd747(0x1b7)]('v')['alias']('h',a48_0x1dd747(0x157))['help'](a48_0x1dd747(0x157))[a48_0x1dd747(0x1b6)](!![],Constants[a48_0x1dd747(0x131)][a48_0x1dd747(0x199)])[a48_0x1dd747(0x129)](a48_0x1dd747(0x177),Constants[a48_0x1dd747(0x137)]['INFO'],function(_0x31cbc3){const _0x20a106=a48_0x1dd747,_0x1c4c02={'zdigV':_0x20a106(0x177),'OafIY':function(_0x2a95c8,_0x2de36e,_0x5c6d5d,_0x2f6e65,_0x11ed07){return _0x2a95c8(_0x2de36e,_0x5c6d5d,_0x2f6e65,_0x11ed07);},'MEwDo':function(_0x1ea03c,_0x2143b8){return _0x1ea03c(_0x2143b8);},'vrDUK':'./jest/command'},_0x2321c6=process['argv'][_0x20a106(0x1a4)](0x2);helper[_0x20a106(0x198)](),helper['setBrowserStackAutomationDisable']();const _0x7d83f6=new BrowserStackSetup(_0x31cbc3[_0x20a106(0x19b)],_0x1c4c02['zdigV']);return _0x1c4c02['OafIY'](captureError,_0x1c4c02[_0x20a106(0x12e)](require,_0x1c4c02[_0x20a106(0x1a0)]),_0x31cbc3['argv'],_0x7d83f6,_0x2321c6);})['command'](a48_0x1dd747(0x132),Constants[a48_0x1dd747(0x197)][a48_0x1dd747(0x156)],_0x27155b=>{const _0x7f195a=a48_0x1dd747,_0xf11859={'DzEEf':function(_0x2ff690,_0x3f3ba5,_0x378ba4,_0x23cf26){return _0x2ff690(_0x3f3ba5,_0x378ba4,_0x23cf26);},'WFyoI':function(_0x47bcbb,_0x138ea7){return _0x47bcbb(_0x138ea7);},'AkWmG':'./mocha/command','bCAMk':'mocha','alBTP':_0x7f195a(0x16b),'SCLYV':function(_0x17a0b8,_0x51ef84,_0x40354a){return _0x17a0b8(_0x51ef84,_0x40354a);},'CebIt':_0x7f195a(0x169),'EDbyB':function(_0x3e10de,_0x5b5954,_0x1b8fc2){return _0x3e10de(_0x5b5954,_0x1b8fc2);},'zeAPS':_0x7f195a(0x190),'eTxvT':function(_0x4bf357,_0x4779ab,_0x13a33f){return _0x4bf357(_0x4779ab,_0x13a33f);},'ifbDG':_0x7f195a(0x159),'nUuxb':function(_0x1a738e){return _0x1a738e();}};process[_0x7f195a(0x19b)]=process['argv'][_0x7f195a(0x1a4)](0x1),helper['setTestObservabilityDisable'](),helper[_0x7f195a(0x1b4)]();const _0x4e655d=new BrowserStackSetup(_0x27155b[_0x7f195a(0x19b)],_0xf11859[_0x7f195a(0x195)]);logger[_0x7f195a(0x1a6)](_0xf11859['alBTP']);const _0x3e0794=_0xf11859[_0x7f195a(0x152)](requireModule,_0xf11859[_0x7f195a(0x176)],_0xf11859[_0x7f195a(0x195)]),_0x40bbd2=_0xf11859[_0x7f195a(0x1a2)](requireModule,_0xf11859['zeAPS'],_0xf11859[_0x7f195a(0x195)]);delete _0x3e0794[_0x7f195a(0x185)],_0x3e0794[_0x7f195a(0x185)]=function(_0x4ee156){const _0x1b35ce=_0x7f195a;return _0xf11859[_0x1b35ce(0x151)](captureError,_0xf11859[_0x1b35ce(0x155)](require,_0xf11859[_0x1b35ce(0x16d)]),_0x4ee156,_0x4e655d);},_0x40bbd2[_0x7f195a(0x144)]=_0x3e0794;const {main:_0x5c4ebe}=_0xf11859['eTxvT'](requireModule,_0xf11859[_0x7f195a(0x128)],_0xf11859[_0x7f195a(0x195)]);_0xf11859[_0x7f195a(0x1ac)](_0x5c4ebe);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x15c),Constants['CUCUMBER'][a48_0x1dd747(0x156)],function(_0x338066){const _0x5dbbb9=a48_0x1dd747,_0x494cfa={'bcGsI':'cucumber-js','VlfPK':function(_0xe6daea,_0x8c2560,_0x9cccf3,_0xffaeed,_0x3b4468){return _0xe6daea(_0x8c2560,_0x9cccf3,_0xffaeed,_0x3b4468);},'lBVlr':function(_0x2c6650,_0x1fee05){return _0x2c6650(_0x1fee05);},'YkWbd':_0x5dbbb9(0x194)},_0x50b18a=process[_0x5dbbb9(0x19b)][_0x5dbbb9(0x1a4)](0x2),_0x27efb6=new BrowserStackSetup(_0x338066['argv'],_0x494cfa[_0x5dbbb9(0x173)]);return _0x494cfa[_0x5dbbb9(0x135)](captureError,_0x494cfa[_0x5dbbb9(0x1b5)](require,_0x494cfa[_0x5dbbb9(0x158)]),_0x338066[_0x5dbbb9(0x19b)],_0x27efb6,_0x50b18a);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x138),Constants['VANILLA']['INFO'],function(_0x5eb1c4){const _0x1589dc=a48_0x1dd747,_0x38291b={'kNJOP':_0x1589dc(0x1aa),'BWOoJ':function(_0x186a0d,_0x390171,_0x58294d,_0x5eda7f,_0x703e3f){return _0x186a0d(_0x390171,_0x58294d,_0x5eda7f,_0x703e3f);},'ZrfMP':function(_0x6b5a25,_0x253047){return _0x6b5a25(_0x253047);},'rxuie':'./vanilla-js/command'},_0x3be3b7=process[_0x1589dc(0x19b)][_0x1589dc(0x1a4)](0x2),_0x406969=new BrowserStackSetup(_0x5eb1c4[_0x1589dc(0x19b)],_0x38291b[_0x1589dc(0x160)]);return _0x38291b[_0x1589dc(0x17a)](captureError,_0x38291b['ZrfMP'](require,_0x38291b['rxuie']),_0x5eb1c4[_0x1589dc(0x19b)],_0x406969,_0x3be3b7);})[a48_0x1dd747(0x129)]('nightwatch',Constants['NIGHTWATCH']['INFO'],function(_0x34618d){const _0x511f3f=a48_0x1dd747,_0x2ad0d1={'ZHqFQ':function(_0x1db577,_0x7cb9b5,_0x2e9fbd,_0x3cd292,_0x206ffa){return _0x1db577(_0x7cb9b5,_0x2e9fbd,_0x3cd292,_0x206ffa);},'PKOcL':function(_0x5b16ba,_0x2a5bb0){return _0x5b16ba(_0x2a5bb0);},'MBqgE':'./nightwatch/command'},_0x42ac81=process[_0x511f3f(0x19b)]['slice'](0x2),_0x451b3e=new BrowserStackSetup(_0x34618d[_0x511f3f(0x19b)]);return _0x2ad0d1[_0x511f3f(0x18f)](captureError,_0x2ad0d1[_0x511f3f(0x154)](require,_0x2ad0d1[_0x511f3f(0x16a)]),_0x34618d['argv'],_0x451b3e,_0x42ac81);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x17c),Constants[a48_0x1dd747(0x161)][a48_0x1dd747(0x156)],function(_0xb9bfb9){const _0x4e68e2=a48_0x1dd747,_0x478891={'Zvqar':_0x4e68e2(0x17c),'Whxda':function(_0x5a5744,_0x349712,_0x1bb567,_0x28d6a0,_0x37affd){return _0x5a5744(_0x349712,_0x1bb567,_0x28d6a0,_0x37affd);},'PxPEu':function(_0x4f5f5f,_0x1eb3f4){return _0x4f5f5f(_0x1eb3f4);},'xxvHk':_0x4e68e2(0x193)},_0x3b957d=process['argv']['slice'](0x2),_0x36ae7a=new BrowserStackSetup(_0xb9bfb9[_0x4e68e2(0x19b)],_0x478891['Zvqar']);return _0x478891[_0x4e68e2(0x18c)](captureError,_0x478891['PxPEu'](require,_0x478891[_0x4e68e2(0x133)]),_0xb9bfb9[_0x4e68e2(0x19b)],_0x36ae7a,_0x3b957d);})[a48_0x1dd747(0x129)]('ats',Constants['HST'][a48_0x1dd747(0x156)],function(_0x40e410){const _0x45bff5=a48_0x1dd747,_0x182638={'dYokD':function(_0x21881c,_0x5703ea,_0x18c37a){return _0x21881c(_0x5703ea,_0x18c37a);},'axGeY':function(_0x3f566d,_0x57d586){return _0x3f566d(_0x57d586);},'XwGsM':_0x45bff5(0x166)},_0x4e0115=process[_0x45bff5(0x19b)][_0x45bff5(0x1a4)](0x2);return _0x182638[_0x45bff5(0x1a8)](captureError,_0x182638[_0x45bff5(0x13a)](require,_0x182638['XwGsM']),_0x40e410);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x150),Constants[a48_0x1dd747(0x178)][a48_0x1dd747(0x156)],function(_0xbc7b8c){const _0x5e77f4=a48_0x1dd747,_0x530998={'QEuue':function(_0xd3438e,_0x5d82a6){return _0xd3438e(_0x5d82a6);}};return _0x530998[_0x5e77f4(0x147)](runIntegrations,_0xbc7b8c);})['command'](a48_0x1dd747(0x13d),Constants[a48_0x1dd747(0x146)][a48_0x1dd747(0x156)],function(_0x1274d5){const _0x454afb=a48_0x1dd747,_0x5b520d={'gkziy':function(_0x21ecdc,_0x59d7ce,_0x42a6ce,_0x1f60ae,_0x5eb40c){return _0x21ecdc(_0x59d7ce,_0x42a6ce,_0x1f60ae,_0x5eb40c);},'GrxVF':function(_0x1007a4,_0x693d76){return _0x1007a4(_0x693d76);},'uQtUT':_0x454afb(0x1b0)},_0x10e50b=process['argv']['slice'](0x2);helper[_0x454afb(0x15e)](process['argv'])&&(process[_0x454afb(0x127)][_0x454afb(0x13c)]=helper['getConfigPath'](process[_0x454afb(0x19b)]));helper[_0x454afb(0x198)](),helper[_0x454afb(0x1b4)]();const _0x160210=new BrowserStackSetup(_0x1274d5[_0x454afb(0x19b)],FRAMEWORKS['PLAYWRIGHT']);return _0x5b520d['gkziy'](captureError,_0x5b520d[_0x454afb(0x1b8)](require,_0x5b520d['uQtUT']),_0x1274d5[_0x454afb(0x19b)],_0x160210,_0x10e50b);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x13e),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x2b17ef){const _0x24c504=a48_0x1dd747,_0x407d7b={};_0x407d7b[_0x24c504(0x163)]=_0x24c504(0x157),_0x407d7b[_0x24c504(0x19d)]=_0x24c504(0x12d),_0x407d7b[_0x24c504(0x1a3)]=_0x24c504(0x19a);const _0x239bb4=_0x407d7b;return _0x2b17ef[_0x24c504(0x157)](![])['option'](_0x239bb4['XHDfP'],{'alias':'h','type':_0x239bb4[_0x24c504(0x19d)],'describe':_0x239bb4[_0x24c504(0x1a3)]})[_0x24c504(0x14e)](![])[_0x24c504(0x18d)](![]);},function(_0x1e6d48){const _0x340ad9=a48_0x1dd747,_0x42d6a7={'IHBHS':function(_0x460066,_0x256c15,_0x3f5fa4){return _0x460066(_0x256c15,_0x3f5fa4);},'lzzLb':function(_0x427f4c,_0x49045b){return _0x427f4c(_0x49045b);},'jtlil':_0x340ad9(0x1a9)},_0x2ccb47={};return _0x2ccb47[_0x340ad9(0x19b)]=_0x1e6d48,_0x42d6a7[_0x340ad9(0x188)](captureError,_0x42d6a7[_0x340ad9(0x184)](require,_0x42d6a7[_0x340ad9(0x162)]),_0x2ccb47);})[a48_0x1dd747(0x165)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x1dd747(0x171)](null)[a48_0x1dd747(0x19b)];function a48_0x32a4(){const _0x6cf58c=['nUuxb','.browserstack','1LjzrzO','child_process','./playwright/command','qVAZN','start','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','setBrowserStackAutomationDisable','lBVlr','showHelpOnFail','describe','GrxVF','env','ifbDG','command','./v2/browserstackCLI','--no-opts','unlinkSync','boolean','MEwDo','format','./integrations/command','VERSION','mocha','xxvHk','3955344jsjTEO','VlfPK','XRwEa','JEST','node','4616louCEk','axGeY','path','BROWSERSTACK_CONFIG_FILE_PATH','playwright','load\x20[subcommand]','310asVIyt','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./utils/constants','--require','info','run','stop','PLAYWRIGHT','QEuue','ats','error','115530LGesXQ','fireFunnelTestEvent','push','winstonLogger','strict','54677190UkHTBn','integrations','DzEEf','SCLYV','../helpers/utilities','PKOcL','WFyoI','INFO','help','YkWbd','mocha/lib/cli/cli.js','usage','isUndefined','cucumber-js','spawn','getConfigPath','dot-notation','kNJOP','CODECEPTJS','jtlil','XHDfP','--no-config','demandCommand','../../ats/src/index','version','end','mocha/lib/cli/run.js','MBqgE','Parsing\x20command\x20line\x20arguments','existsSync','AkWmG','--package','--config','../helpers/helper','wrap','util','bcGsI','yargs','join','CebIt','jest','INTEGRATIONS','config','BWOoJ','SDK_SETUP','codeceptjs','usage:\x20$0\x20<command>\x20[args]','message','.local-not-set.json','includes','findAndReplace','find','stack','lzzLb','handler','framework','sendLogs','IHBHS','assign','../helpers/performance/constants','10862964JGxAtm','Whxda','exitProcess','--mochaRequire','ZHqFQ','mocha/lib/cli/commands.js','SDKTestSuccessful','Running\x20SDK\x20with\x20args\x20','./codeceptjs/command','./cucumber-js/command','bCAMk','homedir','MOCHA','setTestObservabilityDisable','HELP','Show\x20help','argv','7335Ckbpdi','BrIcz','../helpers/test-observability/constants','EVENTS','vrDUK','--no-package','EDbyB','wOygb','slice','2896958UptOKf','debug','../helpers/BrowserStackSetup','dYokD','./load/index','vanilla','1410080ebvDos'];a48_0x32a4=function(){return _0x6cf58c;};return a48_0x32a4();}!helper[a48_0x1dd747(0x15b)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x1dd747(0x148)&&console[a48_0x1dd747(0x149)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a48_0x138b0d=a48_0x2107;(function(_0x1835d8,_0x39dba9){const _0x410e70=a48_0x2107,_0x359a95=_0x1835d8();while(!![]){try{const _0x377806=parseInt(_0x410e70(0xca))/0x1+parseInt(_0x410e70(0x114))/0x2+parseInt(_0x410e70(0x10e))/0x3+parseInt(_0x410e70(0xeb))/0x4*(parseInt(_0x410e70(0xef))/0x5)+-parseInt(_0x410e70(0xe7))/0x6+parseInt(_0x410e70(0x138))/0x7*(-parseInt(_0x410e70(0x11b))/0x8)+-parseInt(_0x410e70(0x130))/0x9;if(_0x377806===_0x39dba9)break;else _0x359a95['push'](_0x359a95['shift']());}catch(_0x1e2543){_0x359a95['push'](_0x359a95['shift']());}}}(a48_0x2c33,0x52cee));function a48_0x2c33(){const _0x542819=['command','cucumber-js','PCZDr','rJUyD','demandCommand','mocha','2060121mQfvaX','ZjvkK','DmrTr','tSUPL','EQLxy','jlUUo','jest','dot-notation','debug','./utils/constants','OTQeu','alias','vanilla','yargs','handler','../helpers/logger','--opts','VANILLA','jvYmo','info','HST','mocha/lib/cli/run.js','usage','Parsing\x20command\x20line\x20arguments','end','SDK_CLEANUP','510904ftBrvS','INTEGRATIONS','push','Running\x20SDK\x20with\x20args\x20','message','env','OLCRH','help','INFO','../helpers/helper','setBrowserStackAutomationDisable','../helpers/performance/performance-tester','./codeceptjs/command','format','CUCUMBER','mocha/lib/cli/cli.js','sendLogs','dAdSh','parserConfiguration','QcjqF','stack','Show\x20help','xGXYM','version','run','exitProcess','../helpers/utilities','./load/index','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','1311972ivFMSo','yFZsj','isUndefined','wrap','6800ncEYaN','MOCHA','ZKOip','UKlUm','1750fAzdGl','Yfdqi','PLAYWRIGHT','OKUSG','SDKTestSuccessful','fObDc','RIULd','./v2/browserstackCLI','util','child_process','assign','error','zWQrf','includes','strict','codeceptjs','playwright','UdSYs','Runs\x20the\x20binary\x20with\x20load\x20command','integrations','../helpers/performance/constants','config','./vanilla-js/command','SLodU','NHKfN','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','.browserstack','JEST','homedir','--require','XGrJk','1219611FvQTnj','./playwright/command','spawn','slice','./nightwatch/command','HELP','1252646XGxkuQ','describe','UnNOX','vhKoE','boolean','argv','showHelpOnFail','16pnSeHw','yhUQm','exitCode','usage:\x20$0\x20<command>\x20[args]','setTestObservabilityDisable','mocha/lib/cli/commands.js','.local-not-set.json','--no-config','existsSync','CODECEPTJS','NkqvD','hMxJx','ats','join','xrSoa','getConfigPath','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./jest/command','framework','CSTNj','--no-opts','8930826hBBAop','node'];a48_0x2c33=function(){return _0x542819;};return a48_0x2c33();}const fs=require('fs'),path=require('path'),util=require(a48_0x138b0d(0xf7)),spawn=require(a48_0x138b0d(0xf8))[a48_0x138b0d(0x110)],{requireModule}=require(a48_0x138b0d(0xd3)),PerformanceTester=require(a48_0x138b0d(0xd5)),PerformanceEvents=require(a48_0x138b0d(0x103))['EVENTS'],helper=require(a48_0x138b0d(0xd3)),utilities=require(a48_0x138b0d(0xe4)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require('./integrations/command'),yargs=require(a48_0x138b0d(0xbd)),Constants=require(a48_0x138b0d(0x141)),BrowserstackCLI=require(a48_0x138b0d(0xf6)),logger=require(a48_0x138b0d(0xbf))['winstonLogger'],origArgs=Object[a48_0x138b0d(0xf9)]([],process[a48_0x138b0d(0x119)]),captureError=async(_0x311989,_0x42c25f,_0xcf9fba,_0x2b2cdf=null)=>{const _0x15f2c=a48_0x138b0d,_0x43cf82={'lpckY':function(_0xb025b8,_0x1db227,_0x591665,_0x5189de){return _0xb025b8(_0x1db227,_0x591665,_0x5189de);},'fObDc':_0x15f2c(0xf3)};try{logger[_0x15f2c(0xc3)](_0x15f2c(0xcd)+origArgs[_0x15f2c(0x128)]('\x20')),await _0x43cf82['lpckY'](_0x311989,_0x42c25f,_0x2b2cdf,_0xcf9fba);}catch(_0x359382){process[_0x15f2c(0x11d)]=0x1,logger[_0x15f2c(0xfa)](util['format'](_0x359382));const _0x3236e8={'globalException':util[_0x15f2c(0xd7)]('%j',_0x359382)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x15f2c(0xd7)](_0x359382));if(helper[_0x15f2c(0xe9)](global[_0x15f2c(0x104)])&&helper[_0x15f2c(0xe9)](global[_0x15f2c(0x12d)]))return;try{utilities['fireFunnelTestEvent'](_0x43cf82[_0x15f2c(0xf4)],_0x3236e8,global[_0x15f2c(0x104)],global[_0x15f2c(0x12d)]);}catch(_0x345af9){logger[_0x15f2c(0x140)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x345af9[_0x15f2c(0xde)]);}try{await helper[_0x15f2c(0xda)](global['config']);}catch(_0x349a26){logger['debug'](_0x15f2c(0x108)+_0x349a26[_0x15f2c(0xde)]);}await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x15f2c(0xc8)](PerformanceEvents['SDK_SETUP'],![],util[_0x15f2c(0xd7)](_0x359382));}finally{PerformanceTester['start'](PerformanceEvents[_0x15f2c(0xc9)]);}};try{const browserstackFolderPath=path['join'](helper[a48_0x138b0d(0x10b)](),a48_0x138b0d(0x109));if(fs[a48_0x138b0d(0x123)](browserstackFolderPath)){const filePath=path[a48_0x138b0d(0x128)](browserstackFolderPath,a48_0x138b0d(0x121));fs[a48_0x138b0d(0x123)](filePath)&&fs['unlinkSync'](filePath);}}catch(a48_0x3a3519){logger[a48_0x138b0d(0x140)](a48_0x138b0d(0xe6)+a48_0x3a3519[a48_0x138b0d(0xce)]);}process[a48_0x138b0d(0x119)][a48_0x138b0d(0xfc)](a48_0x138b0d(0x137))&&(!process['argv'][a48_0x138b0d(0xfc)](a48_0x138b0d(0xc0))&&process['argv']['push'](a48_0x138b0d(0x12f)),!process[a48_0x138b0d(0x119)]['find'](_0x2063c3=>_0x2063c3[a48_0x138b0d(0xfc)]('--config'))&&process[a48_0x138b0d(0x119)]['push'](a48_0x138b0d(0x122)),!process[a48_0x138b0d(0x119)][a48_0x138b0d(0xfc)]('--package')&&process['argv'][a48_0x138b0d(0xcc)]('--no-package'),helper['findAndReplace'](process['argv'],a48_0x138b0d(0x10c),'--mochaRequire'));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a48_0x1c30d3={};function a48_0x2107(_0x398b1d,_0x3c1b06){const _0x2c332d=a48_0x2c33();return a48_0x2107=function(_0x210705,_0x455f76){_0x210705=_0x210705-0xba;let _0x284006=_0x2c332d[_0x210705];return _0x284006;},a48_0x2107(_0x398b1d,_0x3c1b06);}a48_0x1c30d3[a48_0x138b0d(0x13f)]=![];const argv=yargs[a48_0x138b0d(0xdc)](a48_0x1c30d3)[a48_0x138b0d(0xc6)](a48_0x138b0d(0x11e))[a48_0x138b0d(0xbb)]('v',a48_0x138b0d(0xe1))[a48_0x138b0d(0x115)]('v')['alias']('h',a48_0x138b0d(0xd1))['help'](a48_0x138b0d(0xd1))[a48_0x138b0d(0x11a)](!![],Constants['VERSION'][a48_0x138b0d(0x113)])[a48_0x138b0d(0x132)](a48_0x138b0d(0x13e),Constants[a48_0x138b0d(0x10a)][a48_0x138b0d(0xd2)],function(_0x164654){const _0x4f911e=a48_0x138b0d,_0x19b922={'BuSCm':_0x4f911e(0x13e),'SLodU':function(_0x3ca1d3,_0x1d9acc,_0x15a071,_0x14bbcb,_0x5c5d60){return _0x3ca1d3(_0x1d9acc,_0x15a071,_0x14bbcb,_0x5c5d60);},'OKUSG':function(_0x201fd6,_0x22da32){return _0x201fd6(_0x22da32);},'jvYmo':_0x4f911e(0x12c)},_0x23cb4a=process[_0x4f911e(0x119)][_0x4f911e(0x111)](0x2);helper[_0x4f911e(0x11f)](),helper['setBrowserStackAutomationDisable'](),_0x164654[_0x4f911e(0xfd)](![]);const _0x1301c3=new BrowserStackSetup(_0x164654[_0x4f911e(0x119)],_0x19b922['BuSCm']);return _0x19b922[_0x4f911e(0x106)](captureError,_0x19b922[_0x4f911e(0xf2)](require,_0x19b922[_0x4f911e(0xc2)]),_0x164654[_0x4f911e(0x119)],_0x1301c3,_0x23cb4a);})[a48_0x138b0d(0x132)](a48_0x138b0d(0x137),Constants[a48_0x138b0d(0xec)]['INFO'],_0x246552=>{const _0x397150=a48_0x138b0d,_0x5cd6f3={'NHKfN':function(_0x46cdfa,_0x50c96b,_0x491357,_0xed0a10){return _0x46cdfa(_0x50c96b,_0x491357,_0xed0a10);},'rJUyD':function(_0x517c70,_0x3bc6e0){return _0x517c70(_0x3bc6e0);},'OLCRH':'./mocha/command','QcjqF':_0x397150(0x137),'qAnsd':_0x397150(0xc7),'NkqvD':function(_0x53eca0,_0x363558,_0x48952c){return _0x53eca0(_0x363558,_0x48952c);},'tSUPL':_0x397150(0xc5),'RIULd':_0x397150(0x120),'dAdSh':_0x397150(0xd9),'ZKOip':function(_0x2db517){return _0x2db517();}};process[_0x397150(0x119)]=process[_0x397150(0x119)][_0x397150(0x111)](0x1),helper[_0x397150(0x11f)](),helper[_0x397150(0xd4)]();const _0x4b1b88=new BrowserStackSetup(_0x246552[_0x397150(0x119)],_0x5cd6f3[_0x397150(0xdd)]);logger[_0x397150(0x140)](_0x5cd6f3['qAnsd']);const _0x4c0ce2=_0x5cd6f3[_0x397150(0x125)](requireModule,_0x5cd6f3[_0x397150(0x13b)],_0x5cd6f3[_0x397150(0xdd)]),_0x5b566f=_0x5cd6f3[_0x397150(0x125)](requireModule,_0x5cd6f3[_0x397150(0xf5)],_0x5cd6f3[_0x397150(0xdd)]);delete _0x4c0ce2[_0x397150(0xbe)],_0x4c0ce2[_0x397150(0xbe)]=function(_0xe89b78){const _0x2bb423=_0x397150;return _0x5cd6f3[_0x2bb423(0x107)](captureError,_0x5cd6f3[_0x2bb423(0x135)](require,_0x5cd6f3[_0x2bb423(0xd0)]),_0xe89b78,_0x4b1b88);},_0x5b566f[_0x397150(0xe2)]=_0x4c0ce2;const {main:_0x341ebc}=_0x5cd6f3[_0x397150(0x125)](requireModule,_0x5cd6f3[_0x397150(0xdb)],_0x5cd6f3['QcjqF']);_0x5cd6f3[_0x397150(0xed)](_0x341ebc);})[a48_0x138b0d(0x132)](a48_0x138b0d(0x133),Constants[a48_0x138b0d(0xd8)][a48_0x138b0d(0xd2)],function(_0x5b9040){const _0x56bee8=a48_0x138b0d,_0x395a1f={'JrCDZ':_0x56bee8(0x133),'xrSoa':function(_0x2de75c,_0x15bf8f,_0x3395bf,_0x30b497,_0xc7e7b9){return _0x2de75c(_0x15bf8f,_0x3395bf,_0x30b497,_0xc7e7b9);},'hBmSb':function(_0x338f78,_0x4a3713){return _0x338f78(_0x4a3713);},'ZjvkK':'./cucumber-js/command'},_0x307143=process[_0x56bee8(0x119)][_0x56bee8(0x111)](0x2),_0x478ff5=new BrowserStackSetup(_0x5b9040[_0x56bee8(0x119)],_0x395a1f['JrCDZ']);return _0x395a1f[_0x56bee8(0x129)](captureError,_0x395a1f['hBmSb'](require,_0x395a1f[_0x56bee8(0x139)]),_0x5b9040[_0x56bee8(0x119)],_0x478ff5,_0x307143);})[a48_0x138b0d(0x132)](a48_0x138b0d(0x131),Constants[a48_0x138b0d(0xc1)][a48_0x138b0d(0xd2)],function(_0xa42def){const _0x37ec52=a48_0x138b0d,_0x596cbd={'UnNOX':_0x37ec52(0xbc),'gvYli':function(_0xe3473,_0x5925a3,_0x250607,_0x2af0d0,_0x8ad173){return _0xe3473(_0x5925a3,_0x250607,_0x2af0d0,_0x8ad173);},'vqPuo':function(_0x14c2f,_0x44ffd2){return _0x14c2f(_0x44ffd2);},'IScYa':_0x37ec52(0x105)},_0xb2f5c4=process[_0x37ec52(0x119)]['slice'](0x2),_0x250777=new BrowserStackSetup(_0xa42def['argv'],_0x596cbd[_0x37ec52(0x116)]);return _0x596cbd['gvYli'](captureError,_0x596cbd['vqPuo'](require,_0x596cbd['IScYa']),_0xa42def['argv'],_0x250777,_0xb2f5c4);})[a48_0x138b0d(0x132)]('nightwatch',Constants['NIGHTWATCH']['INFO'],function(_0x7ad813){const _0x1d68a1=a48_0x138b0d,_0x4b661c={'yFZsj':function(_0x147ef2,_0x23e2c3,_0xe41c94,_0x5b7f9b,_0x578466){return _0x147ef2(_0x23e2c3,_0xe41c94,_0x5b7f9b,_0x578466);},'hMxJx':function(_0x486e68,_0x4c0731){return _0x486e68(_0x4c0731);},'DmrTr':_0x1d68a1(0x112)},_0xf7184f=process['argv'][_0x1d68a1(0x111)](0x2),_0x2af7a6=new BrowserStackSetup(_0x7ad813[_0x1d68a1(0x119)]);return _0x4b661c[_0x1d68a1(0xe8)](captureError,_0x4b661c[_0x1d68a1(0x126)](require,_0x4b661c[_0x1d68a1(0x13a)]),_0x7ad813[_0x1d68a1(0x119)],_0x2af7a6,_0xf7184f);})[a48_0x138b0d(0x132)](a48_0x138b0d(0xfe),Constants[a48_0x138b0d(0x124)][a48_0x138b0d(0xd2)],function(_0x38b741){const _0x1c7de1=a48_0x138b0d,_0x41323c={'OTQeu':_0x1c7de1(0xfe),'jlUUo':function(_0x39793f,_0x50d52e,_0x4dd2dd,_0x4b7c58,_0x554de8){return _0x39793f(_0x50d52e,_0x4dd2dd,_0x4b7c58,_0x554de8);},'xLALY':function(_0x2b43b5,_0x53ee63){return _0x2b43b5(_0x53ee63);},'Yfdqi':_0x1c7de1(0xd6)},_0x54ac37=process[_0x1c7de1(0x119)][_0x1c7de1(0x111)](0x2),_0x422ea3=new BrowserStackSetup(_0x38b741[_0x1c7de1(0x119)],_0x41323c[_0x1c7de1(0xba)]);return _0x41323c[_0x1c7de1(0x13d)](captureError,_0x41323c['xLALY'](require,_0x41323c[_0x1c7de1(0xf0)]),_0x38b741[_0x1c7de1(0x119)],_0x422ea3,_0x54ac37);})['command'](a48_0x138b0d(0x127),Constants[a48_0x138b0d(0xc4)][a48_0x138b0d(0xd2)],function(_0x58481d){const _0x136939=a48_0x138b0d,_0x3f9043={'zWQrf':function(_0x13e17c,_0x5e2e0a,_0x2d528f){return _0x13e17c(_0x5e2e0a,_0x2d528f);},'mgXqU':function(_0x587050,_0x3b306f){return _0x587050(_0x3b306f);},'EQLxy':'../../ats/src/index'},_0x243a21=process[_0x136939(0x119)][_0x136939(0x111)](0x2);return _0x3f9043[_0x136939(0xfb)](captureError,_0x3f9043['mgXqU'](require,_0x3f9043[_0x136939(0x13c)]),_0x58481d);})['command'](a48_0x138b0d(0x102),Constants[a48_0x138b0d(0xcb)][a48_0x138b0d(0xd2)],function(_0x4fc1b4){const _0x19a38c=a48_0x138b0d,_0x21d4d1={'UdSYs':function(_0x3eee09,_0x11d30f){return _0x3eee09(_0x11d30f);}};return _0x21d4d1[_0x19a38c(0x100)](runIntegrations,_0x4fc1b4);})[a48_0x138b0d(0x132)](a48_0x138b0d(0xff),Constants[a48_0x138b0d(0xf1)]['INFO'],function(_0x4c3565){const _0x18ca28=a48_0x138b0d,_0xa4bd5={'yhUQm':function(_0x3cc91c,_0x4de4a8,_0x4ee28a,_0xe050a6,_0xf0a8dd){return _0x3cc91c(_0x4de4a8,_0x4ee28a,_0xe050a6,_0xf0a8dd);},'XGrJk':function(_0x25cd0,_0x227ee0){return _0x25cd0(_0x227ee0);},'mlxQH':_0x18ca28(0x10f)},_0x2a71a0=process['argv'][_0x18ca28(0x111)](0x2);helper['getConfigPath'](process[_0x18ca28(0x119)])&&(process[_0x18ca28(0xcf)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x18ca28(0x12a)](process[_0x18ca28(0x119)]));helper['setTestObservabilityDisable'](),helper[_0x18ca28(0xd4)]();const _0x39b7fb=new BrowserStackSetup(_0x4c3565[_0x18ca28(0x119)],FRAMEWORKS[_0x18ca28(0xf1)]);return _0xa4bd5[_0x18ca28(0x11c)](captureError,_0xa4bd5[_0x18ca28(0x10d)](require,_0xa4bd5['mlxQH']),_0x4c3565['argv'],_0x39b7fb,_0x2a71a0);})[a48_0x138b0d(0x132)]('load\x20[subcommand]',a48_0x138b0d(0x101),function(_0x32c90d){const _0x467184=a48_0x138b0d,_0x54977e={};_0x54977e[_0x467184(0x12e)]='help',_0x54977e[_0x467184(0x134)]=_0x467184(0x118),_0x54977e['OPfqq']=_0x467184(0xdf);const _0x556b91=_0x54977e;return _0x32c90d[_0x467184(0xd1)](![])['option'](_0x556b91[_0x467184(0x12e)],{'alias':'h','type':_0x556b91[_0x467184(0x134)],'describe':_0x556b91['OPfqq']})[_0x467184(0xfd)](![])[_0x467184(0xe3)](![]);},function(_0x4439e8){const _0x488cff=a48_0x138b0d,_0x401a23={'xGXYM':function(_0x58a2e,_0x205464,_0x5d899f){return _0x58a2e(_0x205464,_0x5d899f);},'UKlUm':function(_0x2531f9,_0x119288){return _0x2531f9(_0x119288);},'vhKoE':_0x488cff(0xe5)},_0x54bed3={};return _0x54bed3[_0x488cff(0x119)]=_0x4439e8,_0x401a23[_0x488cff(0xe0)](captureError,_0x401a23[_0x488cff(0xee)](require,_0x401a23[_0x488cff(0x117)]),_0x54bed3);})[a48_0x138b0d(0x136)](0x1,a48_0x138b0d(0x12b))[a48_0x138b0d(0xea)](null)[a48_0x138b0d(0x119)];!helper[a48_0x138b0d(0xe9)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x138b0d(0x127)&&console[a48_0x138b0d(0xfa)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a49_0xfeda9a=a49_0x52d6;function a49_0x52d6(_0x58c368,_0x1f52a1){const _0xf76385=a49_0xf763();return a49_0x52d6=function(_0x52d642,_0x32fbf5){_0x52d642=_0x52d642-0x1f2;let _0x2028e3=_0xf76385[_0x52d642];return _0x2028e3;},a49_0x52d6(_0x58c368,_0x1f52a1);}(function(_0x77129a,_0x3202e0){const _0x4d0794=a49_0x52d6,_0x5c6dd9=_0x77129a();while(!![]){try{const _0x23e495=-parseInt(_0x4d0794(0x232))/0x1+parseInt(_0x4d0794(0x23c))/0x2+parseInt(_0x4d0794(0x240))/0x3*(parseInt(_0x4d0794(0x20f))/0x4)+-parseInt(_0x4d0794(0x20a))/0x5+-parseInt(_0x4d0794(0x226))/0x6*(parseInt(_0x4d0794(0x215))/0x7)+parseInt(_0x4d0794(0x234))/0x8+parseInt(_0x4d0794(0x217))/0x9;if(_0x23e495===_0x3202e0)break;else _0x5c6dd9['push'](_0x5c6dd9['shift']());}catch(_0x4f06b9){_0x5c6dd9['push'](_0x5c6dd9['shift']());}}}(a49_0xf763,0xbbb14));const fs=require('fs'),helper=require(a49_0xfeda9a(0x22e)),utilities=require(a49_0xfeda9a(0x233)),yaml=require(a49_0xfeda9a(0x204)),yargs=require(a49_0xfeda9a(0x1fe)),logger=require(a49_0xfeda9a(0x236))[a49_0xfeda9a(0x238)],configFileTemplate=__dirname+a49_0xfeda9a(0x205),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a49_0xfeda9a(0x225)]()+a49_0xfeda9a(0x206),packageFile=process[a49_0xfeda9a(0x225)]()+'/package.json',frameworks=[a49_0xfeda9a(0x239),a49_0xfeda9a(0x1f9),a49_0xfeda9a(0x22d),'node',a49_0xfeda9a(0x20e),a49_0xfeda9a(0x21e),'playwright'];let config;logger['info'](a49_0xfeda9a(0x201)),createConfigurationFile(yargs[a49_0xfeda9a(0x230)][a49_0xfeda9a(0x203)],yargs[a49_0xfeda9a(0x230)]['key'],yargs[a49_0xfeda9a(0x230)][a49_0xfeda9a(0x1f5)]);try{sdkSetup();}catch(a49_0x35a749){logger['debug'](a49_0xfeda9a(0x224)+a49_0x35a749);}addScriptInPackageJson();function createConfigurationFile(_0x159f94,_0x111c2d,_0x35ba8e=![]){const _0x362a0b=a49_0xfeda9a,_0x40ca70={};_0x40ca70[_0x362a0b(0x21d)]=_0x362a0b(0x212),_0x40ca70[_0x362a0b(0x1f7)]=_0x362a0b(0x228),_0x40ca70[_0x362a0b(0x1f2)]=_0x362a0b(0x1fc);const _0x2105fd=_0x40ca70;try{let _0x5c6978=fs['readFileSync'](_0x35ba8e?configFileTemplatePW:configFileTemplate,_0x2105fd[_0x362a0b(0x21d)]);_0x159f94&&(_0x5c6978=_0x5c6978[_0x362a0b(0x227)](_0x2105fd[_0x362a0b(0x1f7)],_0x159f94)),_0x111c2d&&(_0x5c6978=_0x5c6978[_0x362a0b(0x227)](_0x2105fd[_0x362a0b(0x1f2)],_0x111c2d)),config=yaml[_0x362a0b(0x202)](_0x5c6978),fs[_0x362a0b(0x214)](configFile,_0x5c6978,_0x461e60=>{const _0x27d82a=_0x362a0b;_0x461e60&&logger[_0x27d82a(0x213)](_0x461e60);});}catch(_0x1f95ab){logger[_0x362a0b(0x213)](_0x1f95ab);}}function addPostInstallScript(_0x17cdb6,_0x458310){const _0x25bf23=a49_0xfeda9a,_0x470862={};_0x470862[_0x25bf23(0x22c)]='postinstall',_0x470862[_0x25bf23(0x1fa)]=_0x25bf23(0x23d),_0x470862[_0x25bf23(0x23e)]=_0x25bf23(0x1f4);const _0x57ba67=_0x470862;let _0x4087bd=_0x17cdb6[_0x57ba67['zZdgc']];if(_0x4087bd&&_0x4087bd['includes'](_0x57ba67['ecLLu']))return;!_0x4087bd?_0x4087bd=_0x57ba67[_0x25bf23(0x1fa)]:_0x4087bd+=_0x57ba67[_0x25bf23(0x23e)],_0x458310[_0x25bf23(0x223)]([_0x57ba67[_0x25bf23(0x22c)],_0x4087bd]);}function addScriptInPackageJson(){const _0xbfaa28=a49_0xfeda9a,_0x5963d7={'eCBev':_0xbfaa28(0x212),'RCaTG':function(_0x11ac8b,_0x2da284){return _0x11ac8b<_0x2da284;},'pooVf':function(_0x2448e2,_0x15fd39,_0xf8abeb){return _0x2448e2(_0x15fd39,_0xf8abeb);},'FfPin':function(_0x56efbc,_0x51ad72){return _0x56efbc<_0x51ad72;},'fVnyC':function(_0xb32d52,_0x198247,_0x4eab81){return _0xb32d52(_0x198247,_0x4eab81);},'GvJJZ':function(_0x53a1e7,_0x663e9a,_0x1623c8){return _0x53a1e7(_0x663e9a,_0x1623c8);},'UJLdn':function(_0x19de0a,_0x191c2f){return _0x19de0a<_0x191c2f;},'oXVzH':function(_0x3d0934,_0x329ffb){return _0x3d0934!==_0x329ffb;},'WrVNL':_0xbfaa28(0x208)},_0x102afb=JSON[_0xbfaa28(0x23f)](fs[_0xbfaa28(0x1f8)](packageFile,_0x5963d7['eCBev'])),_0x4646b5=[];for(let _0x5cea43=0x0;_0x5963d7[_0xbfaa28(0x211)](_0x5cea43,frameworks['length']);_0x5cea43+=0x1){const _0x5efe97=_0x5963d7[_0xbfaa28(0x1f6)](findScriptsWithFramework,_0x102afb[_0xbfaa28(0x218)],frameworks[_0x5cea43]);for(let _0x36df72=0x0;_0x5963d7[_0xbfaa28(0x210)](_0x36df72,_0x5efe97[_0xbfaa28(0x200)]);_0x36df72+=0x1){_0x4646b5[_0xbfaa28(0x223)](_0x5963d7[_0xbfaa28(0x216)](getUpdatedCommand,_0x102afb['scripts'],_0x5efe97[_0x36df72]));}_0x5963d7['GvJJZ'](addPostInstallScript,_0x102afb[_0xbfaa28(0x218)],_0x4646b5);}const _0x253593={..._0x102afb['scripts']},_0x5545ff=_0x253593;for(let _0x1510fc=0x0;_0x5963d7[_0xbfaa28(0x237)](_0x1510fc,_0x4646b5[_0xbfaa28(0x200)]);_0x1510fc+=0x1){_0x5545ff[_0x4646b5[_0x1510fc][0x0]]=_0x4646b5[_0x1510fc][0x1];}_0x5963d7[_0xbfaa28(0x20c)](JSON[_0xbfaa28(0x22b)](_0x102afb[_0xbfaa28(0x218)]),JSON['stringify'](_0x5545ff))&&(logger['info'](_0x5963d7[_0xbfaa28(0x222)]),_0x102afb[_0xbfaa28(0x218)]=_0x5545ff,fs[_0xbfaa28(0x214)](packageFile,JSON['stringify'](_0x102afb,null,0x2),_0x4358eb=>{const _0x2c29d1=_0xbfaa28;_0x4358eb&&logger[_0x2c29d1(0x213)](_0x4358eb);}));};function findScriptsWithFramework(_0x4b8de7,_0xec8251){const _0x1704ca=a49_0xfeda9a,_0x51694d={};_0x51694d[_0x1704ca(0x1ff)]=function(_0x5595f0,_0x510e57){return _0x5595f0<_0x510e57;},_0x51694d[_0x1704ca(0x220)]=_0x1704ca(0x21a);const _0x3261ef=_0x51694d,_0x362812=[],_0x4a8815=Object[_0x1704ca(0x20b)](_0x4b8de7);for(let _0x18166b=0x0;_0x3261ef[_0x1704ca(0x1ff)](_0x18166b,_0x4a8815[_0x1704ca(0x200)]);_0x18166b+=0x1){_0x4a8815[_0x18166b][0x1][_0x1704ca(0x231)](_0xec8251)&&!_0x4a8815[_0x18166b][0x1][_0x1704ca(0x231)](_0x3261ef[_0x1704ca(0x220)])&&_0x362812[_0x1704ca(0x223)](_0x4a8815[_0x18166b][0x0]);}return _0x362812;}function getUpdatedCommand(_0x17dfc,_0x2d48a2){const _0x5189de=a49_0xfeda9a,_0x22fb50={};_0x22fb50['UlAhc']=function(_0x310a40,_0x41a819){return _0x310a40!==_0x41a819;},_0x22fb50['yZIKf']='browserstack-node-sdk',_0x22fb50[_0x5189de(0x23b)]=function(_0x4add07,_0x4bf922){return _0x4add07===_0x4bf922;};const _0x5368eb=_0x22fb50,_0x26ddac=_0x2d48a2+_0x5189de(0x23a),_0x45eddb=_0x17dfc[_0x2d48a2],_0x415d8e=_0x45eddb[_0x5189de(0x235)]('\x20');for(const _0x41feaf of frameworks){if(_0x5368eb[_0x5189de(0x22f)](_0x415d8e[_0x5189de(0x207)](_0x41feaf),-0x1)){_0x415d8e[_0x5189de(0x21b)](_0x415d8e[_0x5189de(0x207)](_0x41feaf),0x0,_0x5368eb[_0x5189de(0x21c)]);break;}}let _0x309be9=_0x415d8e[_0x5189de(0x209)]('\x20');return _0x5368eb[_0x5189de(0x23b)](_0x309be9,_0x45eddb)&&(_0x309be9='browserstack-node-sdk\x20'+_0x45eddb),[_0x26ddac,_0x309be9];}function sdkSetup(){const _0x296796=a49_0xfeda9a,_0x2c8e31={};_0x2c8e31[_0x296796(0x1f3)]=_0x296796(0x1fb),_0x2c8e31['xOqar']=_0x296796(0x1fd);const _0xd9c1da=_0x2c8e31;if(helper[_0x296796(0x229)](config))return;config[_0x296796(0x221)]=_0xd9c1da[_0x296796(0x1f3)];try{utilities['fireFunnelTestEvent'](_0xd9c1da[_0x296796(0x21f)],{},config,'');}catch(_0x2004ab){logger[_0x296796(0x219)](_0x296796(0x224)+_0x2004ab);}}function a49_0xf763(){const _0x432f04=['argv','includes','1280310EZleEJ','../helpers/utilities','1045992qipqTm','split','../helpers/logger','UJLdn','winstonLogger','mocha','-browserstack','cAmoq','2941460IbdLkM','npm\x20update\x20browserstack-node-sdk','BRFXC','parse','48jEYBkq','LGoBj','ZGDVi','\x20&&\x20npm\x20update\x20browserstack-node-sdk','playwright','pooVf','CJCAi','readFileSync','jest','ecLLu','node-setup','YOUR_ACCESS_KEY','SDKSetup','yargs','HiHQX','length','Creating\x20configuration\x20file...','load','username','js-yaml','/../../browserstack.yml.sample','/browserstack.yml','indexOf','Adding\x20new\x20script(s)\x20in\x20package.json...','join','6786890AaJQKn','entries','oXVzH','Setup\x20completed','nightwatch','120296KlVBoU','FfPin','RCaTG','utf8','error','writeFileSync','14PhDdFH','fVnyC','13625163OmZXUl','scripts','debug','browserstack-node-sdk','splice','yZIKf','lpsOg','codeceptjs','xOqar','fDfGF','source','WrVNL','push','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','cwd','570282TLXtxk','replace','YOUR_USERNAME','isUndefined','info','stringify','zZdgc','cucumber-js','../helpers/helper','UlAhc'];a49_0xf763=function(){return _0x432f04;};return a49_0xf763();}logger[a49_0xfeda9a(0x22a)](a49_0xfeda9a(0x20d));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a50_0x26ec(_0x118c74,_0xaab940){const _0x52a4a9=a50_0x52a4();return a50_0x26ec=function(_0x26ecf5,_0x909b1b){_0x26ecf5=_0x26ecf5-0x117;let _0x4d9571=_0x52a4a9[_0x26ecf5];return _0x4d9571;},a50_0x26ec(_0x118c74,_0xaab940);}const a50_0x5c86ea=a50_0x26ec;(function(_0x5488bd,_0xcc3ea3){const _0xa0a575=a50_0x26ec,_0x30177d=_0x5488bd();while(!![]){try{const _0xba04c8=-parseInt(_0xa0a575(0x168))/0x1*(parseInt(_0xa0a575(0x153))/0x2)+-parseInt(_0xa0a575(0x149))/0x3*(-parseInt(_0xa0a575(0x178))/0x4)+parseInt(_0xa0a575(0x11f))/0x5*(parseInt(_0xa0a575(0x15e))/0x6)+-parseInt(_0xa0a575(0x12c))/0x7*(-parseInt(_0xa0a575(0x133))/0x8)+-parseInt(_0xa0a575(0x14d))/0x9*(-parseInt(_0xa0a575(0x151))/0xa)+parseInt(_0xa0a575(0x13c))/0xb*(-parseInt(_0xa0a575(0x167))/0xc)+-parseInt(_0xa0a575(0x16a))/0xd;if(_0xba04c8===_0xcc3ea3)break;else _0x30177d['push'](_0x30177d['shift']());}catch(_0x4e396a){_0x30177d['push'](_0x30177d['shift']());}}}(a50_0x52a4,0xcdc2b));const Worker=require(a50_0x5c86ea(0x14f))['Worker'],Emittery=require(a50_0x5c86ea(0x135)),pLimit=require(a50_0x5c86ea(0x15b)),{parentPort}=require(a50_0x5c86ea(0x16c)),util=require(a50_0x5c86ea(0x17c)),logger=require(a50_0x5c86ea(0x163))[a50_0x5c86ea(0x13a)],PerformanceTester=require(a50_0x5c86ea(0x136)),PerformanceEvents=require(a50_0x5c86ea(0x143))[a50_0x5c86ea(0x12d)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a50_0x5c86ea(0x16b));function a50_0x52a4(){const _0x5c349b=['OFoxh','waitForExit','QZLmn','27MnoFVY','kNcqP','jest-worker','DgtjN','231320zKOiMs','UNSTABLE_onCustomMessage','890178NDnwoo','parallelCucumberRun','xqyzg','./testWorker.js','getWorkers','LHANR','format','FKNHv','p-limit','\x20for','platform-run-success','1806726ecVPOd','_child','test-file-failure','pipe','configuration','../../helpers/logger','debug','sEvSz','getStdout','4920828tgzTlH','1cQvNzo','platformCaps','10556650vnFsrV','../../helpers/testhub/testhubHandler','worker_threads','WEGCW','exit','exitCode','getStderr','error','json','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','emit','all','dBZFI','test-file-success','4olgrEu','parallelTestRun','platform-run-failure','map','util','Running\x20','cucumberWorker','gqlmM','HWxyg','XYrau','push','stdout','platform','cEnmj','length','aFEZE','AQuQA','QUswM','failureCount','config','5AaRgdI','results','EVgrk','Exception\x20in\x20sending\x20worker\x20message\x20','leYWw','vxxQt','worker','info','stderr','Workers\x20failed\x20to\x20exit\x20gracefully','resolve','fdOwV','ntkoy','322MYWCBA','EVENTS','lXqAh','SDK_SETUP','Fqwwe','then','log','244376MkRjFy','parallelVanillaRun','emittery','../../helpers/performance/performance-tester','ijegc','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','platforms','winstonLogger','HsnUZ','22BGmgMB','postMessage','end','platform-run-start','etcmI','test-file-start','DrFAM','../../helpers/performance/constants','vanillaWorker','HKOQi','IdigQ','QCspU','ieCOI','3433179xOwnnf'];a50_0x52a4=function(){return _0x5c349b;};return a50_0x52a4();}exports[a50_0x5c86ea(0x179)]=(_0x34e4f6,_0xae2d4f,_0x16f3a8)=>new Promise(async _0x5678ab=>{const _0x3515fb=a50_0x5c86ea,_0x578f9d={'cEnmj':_0x3515fb(0x11d),'HWxyg':function(_0x2357bb,_0x5034fd){return _0x2357bb+_0x5034fd;},'OFoxh':_0x3515fb(0x120),'kNcqP':_0x3515fb(0x128),'DrFAM':function(_0x3d42a2,_0xdc9f8e){return _0x3d42a2(_0xdc9f8e);},'HKOQi':function(_0x44bd7f,_0x2547d0){return _0x44bd7f(_0x2547d0);},'QZLmn':_0x3515fb(0x141),'NKIbg':'./testWorker.js','dGKZJ':_0x3515fb(0x125),'AQuQA':_0x3515fb(0x172),'LHANR':_0x3515fb(0x161),'sEvSz':function(_0x3ee976,_0x1b797c){return _0x3ee976*_0x1b797c;},'xqyzg':_0x3515fb(0x177),'ijegc':_0x3515fb(0x160),'DLYkQ':function(_0x24de7a,_0x240249){return _0x24de7a*_0x240249;}},_0x116ad2=_0x16f3a8[_0x3515fb(0x11e)],_0x34d37e={},_0x2e174b=new Worker(require[_0x3515fb(0x129)](_0x578f9d['NKIbg']),{'exposedMethods':[_0x578f9d['dGKZJ']],'forkOptions':{'serialization':_0x578f9d[_0x3515fb(0x11b)],'stdio':_0x578f9d[_0x3515fb(0x158)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x578f9d[_0x3515fb(0x165)](_0xae2d4f,0x1),'enableWorkerThreads':!![]}),_0x24a214=new Emittery();_0x24a214['on'](_0x578f9d[_0x3515fb(0x155)],_0x5d784e=>{const _0x2a0e3f=_0x3515fb;_0x34d37e[_0x5d784e[0x0]]?(_0x34d37e[_0x5d784e[0x0]][_0x578f9d['cEnmj']]=_0x578f9d[_0x2a0e3f(0x180)](_0x34d37e[_0x5d784e[0x0]][_0x578f9d[_0x2a0e3f(0x118)]],_0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x118)]]),_0x34d37e[_0x5d784e[0x0]][_0x578f9d[_0x2a0e3f(0x14a)]]=[..._0x34d37e[_0x5d784e[0x0]][_0x578f9d['OFoxh']],..._0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x14a)]]]):_0x34d37e[_0x5d784e[0x0]]={'failureCount':_0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x118)]],'results':[..._0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x14a)]]]};}),_0x24a214['on'](_0x578f9d[_0x3515fb(0x137)],_0x43aa39=>console['log'](_0x43aa39[0x1]));_0x2e174b[_0x3515fb(0x166)]()&&_0x2e174b[_0x3515fb(0x166)]()[_0x3515fb(0x161)](process[_0x3515fb(0x183)]);_0x2e174b[_0x3515fb(0x170)]()&&_0x2e174b[_0x3515fb(0x170)]()[_0x3515fb(0x161)](process[_0x3515fb(0x127)]);const _0x28cd3c=async()=>{const _0x37d5b5=_0x3515fb,{forceExited:_0x21605e}=await _0x2e174b[_0x37d5b5(0x13e)]();_0x21605e&&console[_0x37d5b5(0x171)](_0x578f9d[_0x37d5b5(0x14e)]);try{await TestHubHandler['stop']();}catch(_0x18b940){_0x578f9d[_0x37d5b5(0x142)](debug,_0x37d5b5(0x173)+_0x18b940);}_0x578f9d[_0x37d5b5(0x145)](_0x5678ab,_0x34d37e);},_0x1ccdf4=_0x578f9d[_0x3515fb(0x142)](pLimit,_0x578f9d['DLYkQ'](_0xae2d4f,0x1)),_0x472292=_0x3f50fc=>_0x1ccdf4(async()=>{const _0x3d94b4=_0x3515fb;await _0x24a214['emit'](_0x578f9d[_0x3d94b4(0x14c)],_0x3f50fc);const _0x539974=_0x2e174b['worker'](_0x3f50fc,_0x116ad2);try{parentPort&&_0x539974[_0x3d94b4(0x152)](_0xf2eaed=>{const _0x351c0a=_0x3d94b4;try{parentPort[_0x351c0a(0x13d)](_0xf2eaed);}catch(_0x572eff){logger['debug'](_0x351c0a(0x122)+util[_0x351c0a(0x159)](_0x572eff));}});}catch(_0x57965c){logger[_0x3d94b4(0x164)](_0x3d94b4(0x138)+util[_0x3d94b4(0x159)](_0x57965c));}return _0x539974;});PerformanceTester[_0x3515fb(0x13e)](PerformanceEvents[_0x3515fb(0x12f)]),Promise['all'](_0x34e4f6[_0x3515fb(0x17b)](_0x40d386=>_0x472292(_0x40d386)[_0x3515fb(0x131)](_0x38be73=>_0x24a214[_0x3515fb(0x174)](_0x3515fb(0x177),[_0x40d386[_0x3515fb(0x162)]['platform'],_0x38be73]),_0x1d6a34=>_0x24a214[_0x3515fb(0x174)](_0x3515fb(0x160),[_0x40d386,_0x1d6a34]))))[_0x3515fb(0x131)](_0x28cd3c,_0x28cd3c);}),exports[a50_0x5c86ea(0x154)]=(_0x3cc7a6,_0x51fb23,_0x12f500,_0xd26adf,_0x26e79b)=>{const _0x112391=a50_0x5c86ea,_0x211568={'vxxQt':'Workers\x20failed\x20to\x20exit\x20gracefully','Fqwwe':function(_0x4f1644,_0x258868){return _0x4f1644(_0x258868);},'gqlmM':_0x112391(0x13f),'AICrs':'./testWorker.js','fdOwV':_0x112391(0x17e),'FTMzk':'json','gQYCl':_0x112391(0x161),'IdigQ':'platform-run-success','dBZFI':_0x112391(0x17a)};return new Promise(_0x2a443c=>{const _0x2e63d0=_0x112391,_0x3febf1={};_0x3febf1[_0x2e63d0(0x150)]=_0x211568[_0x2e63d0(0x17f)];const _0x21c15e=_0x3febf1,_0x454e1d=[],_0x39f9e4=new Worker(require[_0x2e63d0(0x129)](_0x211568['AICrs']),{'exposedMethods':[_0x211568[_0x2e63d0(0x12a)]],'forkOptions':{'serialization':_0x211568['FTMzk'],'stdio':_0x211568['gQYCl']},'numWorkers':_0x3cc7a6['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2b9f79=new Emittery();_0x2b9f79['on'](_0x211568[_0x2e63d0(0x146)],_0x1a0224=>{const _0x4c9d51=_0x2e63d0;_0x454e1d[_0x4c9d51(0x182)]([_0x1a0224[0x0],_0x1a0224[0x1]]);}),_0x2b9f79['on'](_0x211568[_0x2e63d0(0x176)],_0x521c07=>console[_0x2e63d0(0x132)](_0x521c07[0x1]));_0x39f9e4[_0x2e63d0(0x166)]()&&_0x39f9e4[_0x2e63d0(0x166)]()[_0x2e63d0(0x161)](process['stdout']);_0x39f9e4['getStderr']()&&_0x39f9e4[_0x2e63d0(0x170)]()[_0x2e63d0(0x161)](process[_0x2e63d0(0x127)]);const _0x3d736e=async()=>{const _0x1cbf57=_0x2e63d0,{forceExited:_0x33fa2f}=await _0x39f9e4[_0x1cbf57(0x13e)]();_0x33fa2f&&console[_0x1cbf57(0x171)](_0x211568[_0x1cbf57(0x124)]),_0x211568[_0x1cbf57(0x130)](_0x2a443c,_0x454e1d);},_0x3d565a=_0x211568['Fqwwe'](pLimit,_0x3cc7a6[_0x2e63d0(0x119)]||0x1),_0x115f84=(_0x3a88ba,_0x303f20)=>_0x3d565a(async()=>{const _0x1d5490=_0x2e63d0;return await _0x2b9f79['emit'](_0x21c15e['DgtjN'],_0x3a88ba),_0x51fb23[_0x1d5490(0x169)]=_0x12f500[_0x1d5490(0x139)][_0x303f20],_0x39f9e4[_0x1d5490(0x17e)](_0x3a88ba,_0x51fb23,_0x12f500,_0xd26adf,_0x26e79b);});Promise[_0x2e63d0(0x175)](_0x3cc7a6[_0x2e63d0(0x17b)]((_0x11705a,_0x19acef)=>_0x115f84(_0x11705a,_0x19acef)[_0x2e63d0(0x131)](_0x3d8206=>_0x2b9f79[_0x2e63d0(0x174)](_0x2e63d0(0x15d),[_0x11705a,_0x3d8206]),_0x33740c=>_0x2b9f79[_0x2e63d0(0x174)](_0x2e63d0(0x17a),[_0x11705a,_0x33740c]))))['then'](_0x3d736e,_0x3d736e);});},exports[a50_0x5c86ea(0x134)]=(_0x5f2484,_0x182713)=>new Promise(_0x46dddc=>{const _0x59fa90=a50_0x5c86ea,_0x11629c={'QUswM':function(_0x137456,_0x2ea167){return _0x137456===_0x2ea167;},'vTXAY':function(_0x4afc1a,_0x55e766){return _0x4afc1a!==_0x55e766;},'QCspU':_0x59fa90(0x16e),'EVgrk':_0x59fa90(0x128),'ieCOI':function(_0x13b669,_0x2ad832){return _0x13b669(_0x2ad832);},'ntkoy':_0x59fa90(0x156),'FKNHv':_0x59fa90(0x144),'aFEZE':_0x59fa90(0x172),'aZwMr':_0x59fa90(0x161),'XYrau':'test-file-success','DkdVD':_0x59fa90(0x160),'IbncG':function(_0x467ccb,_0x44743c){return _0x467ccb(_0x44743c);}},_0x4911e9={},_0x1dd882=new Worker(require[_0x59fa90(0x129)](_0x11629c[_0x59fa90(0x12b)]),{'exposedMethods':[_0x11629c[_0x59fa90(0x15a)]],'forkOptions':{'serialization':_0x11629c[_0x59fa90(0x11a)],'stdio':_0x11629c['aZwMr']},'numWorkers':_0x182713,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x50b3dc=new Emittery();_0x50b3dc['on'](_0x11629c[_0x59fa90(0x181)],_0x273d77=>{const _0x1c6d97=_0x59fa90;_0x273d77[0x0]&&logger[_0x1c6d97(0x126)](_0x1c6d97(0x17d)+_0x273d77[0x1]+_0x1c6d97(0x15c),_0x273d77[0x0]);}),_0x50b3dc['on'](_0x11629c['DkdVD'],_0xcbb17=>{const _0x4cc883=_0x59fa90;process[_0x4cc883(0x16f)]=0x1;});_0x1dd882[_0x59fa90(0x166)]()&&_0x1dd882[_0x59fa90(0x166)]()[_0x59fa90(0x161)](process[_0x59fa90(0x183)]);_0x1dd882[_0x59fa90(0x170)]()&&_0x1dd882[_0x59fa90(0x170)]()['pipe'](process['stderr']);const _0x355eb3=async()=>{const _0x559e19=_0x59fa90,_0x115007={'leYWw':function(_0x50e987,_0x5a229a){const _0x19706d=a50_0x26ec;return _0x11629c[_0x19706d(0x11c)](_0x50e987,_0x5a229a);},'lXqAh':function(_0x4224c4,_0x3147c0){return _0x11629c['vTXAY'](_0x4224c4,_0x3147c0);},'HsnUZ':_0x11629c[_0x559e19(0x147)]};let _0x3b84f2=0x0;const _0x13feda=_0x1dd882['_workerPool'][_0x559e19(0x157)](),_0x2b6cfc=()=>{},_0x156764=_0x13feda['map'](async _0x52ac44=>{const _0x45cdff=_0x559e19,_0x44bb62={'etcmI':function(_0x5be33d,_0x9ad54a){const _0x4984ae=a50_0x26ec;return _0x115007[_0x4984ae(0x123)](_0x5be33d,_0x9ad54a);},'WEGCW':function(_0x1b49cb,_0x4b963c){const _0x44ecc7=a50_0x26ec;return _0x115007[_0x44ecc7(0x12e)](_0x1b49cb,_0x4b963c);}};_0x52ac44['send']([0x2,![]],_0x2b6cfc,_0x2b6cfc,_0x2b6cfc),_0x52ac44[_0x45cdff(0x15f)]['on'](_0x115007[_0x45cdff(0x13b)],_0x189ea8=>{const _0x118098=_0x45cdff;_0x44bb62[_0x118098(0x140)](_0x3b84f2,0x0)&&_0x44bb62[_0x118098(0x16d)](_0x189ea8,0x0)&&(_0x3b84f2=_0x189ea8);}),await _0x52ac44[_0x45cdff(0x14b)]();});await Promise[_0x559e19(0x175)](_0x156764),process[_0x559e19(0x16f)]=_0x3b84f2;const {forceExited:_0x2ff8fd}=await _0x1dd882[_0x559e19(0x13e)]();_0x2ff8fd&&console[_0x559e19(0x171)](_0x11629c[_0x559e19(0x121)]),_0x11629c[_0x559e19(0x148)](_0x46dddc,_0x4911e9);},_0x1b4cb6=_0x11629c['IbncG'](pLimit,_0x182713),_0x294a25=_0x162f57=>_0x1b4cb6(async()=>{return _0x1dd882['vanillaWorker'](_0x162f57);});Promise[_0x59fa90(0x175)](_0x5f2484[_0x59fa90(0x17b)](_0x1f5acf=>_0x294a25(_0x1f5acf)[_0x59fa90(0x131)](_0x2b6c76=>_0x50b3dc[_0x59fa90(0x174)](_0x59fa90(0x177),[_0x1f5acf[_0x59fa90(0x162)][_0x59fa90(0x117)],_0x1f5acf[_0x59fa90(0x162)]['file']]),_0x5791c3=>_0x50b3dc[_0x59fa90(0x174)](_0x59fa90(0x160),[_0x1f5acf,_0x5791c3]))))[_0x59fa90(0x131)](_0x355eb3,_0x355eb3);});
|
|
1
|
+
const a50_0x3b78ae=a50_0x383a;(function(_0x285f2d,_0x3a570a){const _0x41f7f2=a50_0x383a,_0x4be014=_0x285f2d();while(!![]){try{const _0x146df7=-parseInt(_0x41f7f2(0x11c))/0x1+-parseInt(_0x41f7f2(0xdd))/0x2+parseInt(_0x41f7f2(0xd8))/0x3*(-parseInt(_0x41f7f2(0xbf))/0x4)+parseInt(_0x41f7f2(0x110))/0x5*(parseInt(_0x41f7f2(0xc7))/0x6)+-parseInt(_0x41f7f2(0xed))/0x7+-parseInt(_0x41f7f2(0xc1))/0x8*(-parseInt(_0x41f7f2(0x119))/0x9)+-parseInt(_0x41f7f2(0xf2))/0xa*(-parseInt(_0x41f7f2(0x10d))/0xb);if(_0x146df7===_0x3a570a)break;else _0x4be014['push'](_0x4be014['shift']());}catch(_0x405867){_0x4be014['push'](_0x4be014['shift']());}}}(a50_0x3362,0xf3277));function a50_0x383a(_0x4d6abc,_0x893e6f){const _0x336233=a50_0x3362();return a50_0x383a=function(_0x383a7b,_0x57aa2f){_0x383a7b=_0x383a7b-0xbe;let _0xc35b=_0x336233[_0x383a7b];return _0xc35b;},a50_0x383a(_0x4d6abc,_0x893e6f);}const Worker=require('jest-worker')[a50_0x3b78ae(0xd6)],Emittery=require('emittery'),pLimit=require('p-limit'),{parentPort}=require(a50_0x3b78ae(0x121)),util=require(a50_0x3b78ae(0xc8)),logger=require('../../helpers/logger')[a50_0x3b78ae(0x113)],PerformanceTester=require(a50_0x3b78ae(0xfb)),PerformanceEvents=require(a50_0x3b78ae(0xef))[a50_0x3b78ae(0xd5)],{debug}=require(a50_0x3b78ae(0x100)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a50_0x3362(){const _0x2168c5=['aMbdt','../../helpers/performance/constants','cucumberWorker','cQedX','2390JdEpCt','length','exitCode','stop','LnQHm','platform-run-success','vzADm','test-file-start','pkSUW','../../helpers/performance/performance-tester','mwfxa','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','getStdout','./testWorker.js','../../helpers/test-observability/utils','SXQyV','Workers\x20failed\x20to\x20exit\x20gracefully','results','parallelVanillaRun','pipe','all','then','dqESo','bkfNN','failureCount','kyuVA','getWorkers','212003McXHVt','rvEPO','_child','5TVLBev','Running\x20','rvcaL','winstonLogger','gUVPr','resolve','KqbNV','platform','yjmrM','162IyMToX','end','error','841633rUjaOr','log','debug','file','zydaz','worker_threads','parallelCucumberRun','YSavp','configuration','platformCaps','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','postMessage','4ZqeZJc','platform-run-start','210768hLrYFL','MulRH','NMSxi','config','PQDGQ','exit','1457448BWPUZm','util','json','platform-run-failure','jHTMj','xpTQO','getStderr','format','RGDIf','pUgul','vanillaWorker','\x20for','NYHWU','YnwBu','EVENTS','Worker','aoJzF','2456553PUpqlw','emit','nwVZi','send','Exception\x20in\x20sending\x20worker\x20message\x20','1746450DGjupl','FpWzw','RujSv','MDAnx','stdout','test-file-failure','XmYyb','test-file-success','lgdfl','TcMQV','MXWtt','map','stderr','UNSTABLE_onCustomMessage','worker','SDK_SETUP','12556005msyHFM'];a50_0x3362=function(){return _0x2168c5;};return a50_0x3362();}exports['parallelTestRun']=(_0x3d2588,_0x2d85bc,_0x22b6dc)=>new Promise(async _0x52f410=>{const _0x2fec50=a50_0x3b78ae,_0x180dcc={'MDAnx':_0x2fec50(0x10a),'dqESo':function(_0x370976,_0x4bce0a){return _0x370976+_0x4bce0a;},'aoJzF':_0x2fec50(0x103),'NYHWU':_0x2fec50(0x102),'MulRH':function(_0x5a9cb8,_0x4183d8){return _0x5a9cb8(_0x4183d8);},'rvEPO':_0x2fec50(0xf9),'pkSUW':'./testWorker.js','rvcaL':_0x2fec50(0xeb),'qcgvd':_0x2fec50(0xc9),'vzADm':'pipe','YSavp':function(_0x152056,_0x513660){return _0x152056*_0x513660;},'NMSxi':'test-file-success','LnQHm':'test-file-failure','pUgul':function(_0xba161,_0x57c32b){return _0xba161(_0x57c32b);},'KqbNV':function(_0xc8031,_0x21af61){return _0xc8031*_0x21af61;}},_0x8144b5=_0x22b6dc[_0x2fec50(0xc4)],_0x103a20={},_0xd67a15=new Worker(require[_0x2fec50(0x115)](_0x180dcc[_0x2fec50(0xfa)]),{'exposedMethods':[_0x180dcc[_0x2fec50(0x112)]],'forkOptions':{'serialization':_0x180dcc['qcgvd'],'stdio':_0x180dcc[_0x2fec50(0xf8)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x180dcc[_0x2fec50(0x123)](_0x2d85bc,0x1),'enableWorkerThreads':!![]}),_0x5624a7=new Emittery();_0x5624a7['on'](_0x180dcc[_0x2fec50(0xc3)],_0x715c46=>{const _0x2c85bb=_0x2fec50;_0x103a20[_0x715c46[0x0]]?(_0x103a20[_0x715c46[0x0]][_0x180dcc[_0x2c85bb(0xe0)]]=_0x180dcc[_0x2c85bb(0x108)](_0x103a20[_0x715c46[0x0]][_0x180dcc[_0x2c85bb(0xe0)]],_0x715c46[0x1][_0x180dcc[_0x2c85bb(0xe0)]]),_0x103a20[_0x715c46[0x0]][_0x180dcc[_0x2c85bb(0xd7)]]=[..._0x103a20[_0x715c46[0x0]][_0x180dcc[_0x2c85bb(0xd7)]],..._0x715c46[0x1][_0x180dcc[_0x2c85bb(0xd7)]]]):_0x103a20[_0x715c46[0x0]]={'failureCount':_0x715c46[0x1][_0x180dcc[_0x2c85bb(0xe0)]],'results':[..._0x715c46[0x1][_0x180dcc['aoJzF']]]};}),_0x5624a7['on'](_0x180dcc[_0x2fec50(0xf6)],_0x3f5ac4=>console[_0x2fec50(0x11d)](_0x3f5ac4[0x1]));_0xd67a15['getStdout']()&&_0xd67a15['getStdout']()['pipe'](process[_0x2fec50(0xe1)]);_0xd67a15[_0x2fec50(0xcd)]()&&_0xd67a15[_0x2fec50(0xcd)]()[_0x2fec50(0x105)](process[_0x2fec50(0xe9)]);const _0x47e7a2=async()=>{const _0x52e24f=_0x2fec50,{forceExited:_0x446d45}=await _0xd67a15[_0x52e24f(0x11a)]();_0x446d45&&console['error'](_0x180dcc[_0x52e24f(0xd3)]);try{await TestHubHandler[_0x52e24f(0xf5)]();}catch(_0x10250b){_0x180dcc[_0x52e24f(0xc2)](debug,_0x52e24f(0xfd)+_0x10250b);}_0x180dcc[_0x52e24f(0xc2)](_0x52f410,_0x103a20);},_0x53471b=_0x180dcc[_0x2fec50(0xd0)](pLimit,_0x180dcc[_0x2fec50(0x116)](_0x2d85bc,0x1)),_0x316d21=_0x525368=>_0x53471b(async()=>{const _0x2a32d2=_0x2fec50;await _0x5624a7[_0x2a32d2(0xd9)](_0x180dcc[_0x2a32d2(0x10e)],_0x525368);const _0x54c6d6=_0xd67a15[_0x2a32d2(0xeb)](_0x525368,_0x8144b5);try{parentPort&&_0x54c6d6[_0x2a32d2(0xea)](_0x43b6d6=>{const _0x271b8d=_0x2a32d2;try{parentPort[_0x271b8d(0xbe)](_0x43b6d6);}catch(_0x5af599){logger[_0x271b8d(0x11e)](_0x271b8d(0xdc)+util[_0x271b8d(0xce)](_0x5af599));}});}catch(_0x5a0f3a){logger[_0x2a32d2(0x11e)](_0x2a32d2(0x126)+util[_0x2a32d2(0xce)](_0x5a0f3a));}return _0x54c6d6;});PerformanceTester[_0x2fec50(0x11a)](PerformanceEvents[_0x2fec50(0xec)]),Promise[_0x2fec50(0x106)](_0x3d2588[_0x2fec50(0xe8)](_0x2eeaee=>_0x316d21(_0x2eeaee)['then'](_0x5147b3=>_0x5624a7[_0x2fec50(0xd9)](_0x2fec50(0xe4),[_0x2eeaee[_0x2fec50(0x124)][_0x2fec50(0x117)],_0x5147b3]),_0x10a104=>_0x5624a7[_0x2fec50(0xd9)](_0x2fec50(0xe2),[_0x2eeaee,_0x10a104]))))[_0x2fec50(0x107)](_0x47e7a2,_0x47e7a2);}),exports[a50_0x3b78ae(0x122)]=(_0x3f81f6,_0x2baca2,_0x137dd2,_0x13e736,_0x30db6a)=>{const _0x3fbf59=a50_0x3b78ae,_0xafaa4={'VGLJq':_0x3fbf59(0x102),'DxStu':function(_0x657205,_0x36d60a){return _0x657205(_0x36d60a);},'bkfNN':_0x3fbf59(0xc0),'nwVZi':'./testWorker.js','FpWzw':_0x3fbf59(0xf0),'mwfxa':'json','yjmrM':_0x3fbf59(0x105),'PQDGQ':_0x3fbf59(0xf7),'RujSv':_0x3fbf59(0xca),'YnwBu':function(_0x2b430e,_0x2f16ce){return _0x2b430e(_0x2f16ce);}};return new Promise(_0xd1b3d=>{const _0x53a118=_0x3fbf59,_0x1b7396={};_0x1b7396['jHTMj']=_0xafaa4[_0x53a118(0x109)];const _0x9db2b9=_0x1b7396,_0x341f4d=[],_0x2ab25a=new Worker(require[_0x53a118(0x115)](_0xafaa4[_0x53a118(0xda)]),{'exposedMethods':[_0xafaa4[_0x53a118(0xde)]],'forkOptions':{'serialization':_0xafaa4[_0x53a118(0xfc)],'stdio':_0xafaa4[_0x53a118(0x118)]},'numWorkers':_0x3f81f6[_0x53a118(0xf3)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x956dad=new Emittery();_0x956dad['on'](_0xafaa4[_0x53a118(0xc5)],_0x120727=>{_0x341f4d['push']([_0x120727[0x0],_0x120727[0x1]]);}),_0x956dad['on'](_0xafaa4[_0x53a118(0xdf)],_0x45e0f9=>console[_0x53a118(0x11d)](_0x45e0f9[0x1]));_0x2ab25a['getStdout']()&&_0x2ab25a[_0x53a118(0xfe)]()[_0x53a118(0x105)](process[_0x53a118(0xe1)]);_0x2ab25a[_0x53a118(0xcd)]()&&_0x2ab25a[_0x53a118(0xcd)]()[_0x53a118(0x105)](process[_0x53a118(0xe9)]);const _0x2b131f=async()=>{const _0x3e9287=_0x53a118,{forceExited:_0x5a3022}=await _0x2ab25a[_0x3e9287(0x11a)]();_0x5a3022&&console[_0x3e9287(0x11b)](_0xafaa4['VGLJq']),_0xafaa4['DxStu'](_0xd1b3d,_0x341f4d);},_0x31af3d=_0xafaa4[_0x53a118(0xd4)](pLimit,_0x3f81f6[_0x53a118(0xf3)]||0x1),_0x1cf1b5=(_0x1368c2,_0xe3ecc4)=>_0x31af3d(async()=>{const _0x120820=_0x53a118;return await _0x956dad['emit'](_0x9db2b9[_0x120820(0xcb)],_0x1368c2),_0x2baca2[_0x120820(0x125)]=_0x137dd2['platforms'][_0xe3ecc4],_0x2ab25a[_0x120820(0xf0)](_0x1368c2,_0x2baca2,_0x137dd2,_0x13e736,_0x30db6a);});Promise[_0x53a118(0x106)](_0x3f81f6['map']((_0x593066,_0x1771b3)=>_0x1cf1b5(_0x593066,_0x1771b3)['then'](_0x2ebb06=>_0x956dad['emit']('platform-run-success',[_0x593066,_0x2ebb06]),_0x3e3449=>_0x956dad[_0x53a118(0xd9)](_0x53a118(0xca),[_0x593066,_0x3e3449]))))[_0x53a118(0x107)](_0x2b131f,_0x2b131f);});},exports[a50_0x3b78ae(0x104)]=(_0x211f97,_0xbbd156)=>new Promise(_0x3459f0=>{const _0x389ebf=a50_0x3b78ae,_0xbd4982={'MXWtt':function(_0x25795b,_0x1bcdf8){return _0x25795b===_0x1bcdf8;},'TcMQV':function(_0x3c1f96,_0x4ff537){return _0x3c1f96!==_0x4ff537;},'gUVPr':_0x389ebf(0xc6),'XmYyb':_0x389ebf(0x102),'cQedX':function(_0x171365,_0x5e2e79){return _0x171365(_0x5e2e79);},'SXQyV':_0x389ebf(0xff),'kyuVA':_0x389ebf(0xd1),'RGDIf':'json','lgdfl':_0x389ebf(0x105),'vpZyl':_0x389ebf(0xe4),'aMbdt':_0x389ebf(0xe2),'zydaz':function(_0x44d835,_0x1f7a07){return _0x44d835(_0x1f7a07);}},_0x19f3d6={},_0xca0b25=new Worker(require[_0x389ebf(0x115)](_0xbd4982[_0x389ebf(0x101)]),{'exposedMethods':[_0xbd4982[_0x389ebf(0x10b)]],'forkOptions':{'serialization':_0xbd4982[_0x389ebf(0xcf)],'stdio':_0xbd4982[_0x389ebf(0xe5)]},'numWorkers':_0xbbd156,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x148fc7=new Emittery();_0x148fc7['on'](_0xbd4982['vpZyl'],_0x4548ea=>{const _0x53bc3f=_0x389ebf;_0x4548ea[0x0]&&logger['info'](_0x53bc3f(0x111)+_0x4548ea[0x1]+_0x53bc3f(0xd2),_0x4548ea[0x0]);}),_0x148fc7['on'](_0xbd4982[_0x389ebf(0xee)],_0x5784c7=>{const _0xf691fe=_0x389ebf;process[_0xf691fe(0xf4)]=0x1;});_0xca0b25[_0x389ebf(0xfe)]()&&_0xca0b25[_0x389ebf(0xfe)]()[_0x389ebf(0x105)](process[_0x389ebf(0xe1)]);_0xca0b25['getStderr']()&&_0xca0b25['getStderr']()[_0x389ebf(0x105)](process['stderr']);const _0x436085=async()=>{const _0x51af08=_0x389ebf;let _0x425b98=0x0;const _0xe5a288=_0xca0b25['_workerPool'][_0x51af08(0x10c)](),_0x7f3872=()=>{},_0x3a621f=_0xe5a288[_0x51af08(0xe8)](async _0x48daf9=>{const _0x1abc1c=_0x51af08,_0x240a31={'xpTQO':function(_0x58ce94,_0x425913){const _0x18c4ef=a50_0x383a;return _0xbd4982[_0x18c4ef(0xe7)](_0x58ce94,_0x425913);},'ZaEXx':function(_0x13ef4f,_0x472bde){const _0x370e10=a50_0x383a;return _0xbd4982[_0x370e10(0xe6)](_0x13ef4f,_0x472bde);}};_0x48daf9[_0x1abc1c(0xdb)]([0x2,![]],_0x7f3872,_0x7f3872,_0x7f3872),_0x48daf9[_0x1abc1c(0x10f)]['on'](_0xbd4982[_0x1abc1c(0x114)],_0x177f07=>{const _0xbd15a6=_0x1abc1c;_0x240a31[_0xbd15a6(0xcc)](_0x425b98,0x0)&&_0x240a31['ZaEXx'](_0x177f07,0x0)&&(_0x425b98=_0x177f07);}),await _0x48daf9['waitForExit']();});await Promise[_0x51af08(0x106)](_0x3a621f),process[_0x51af08(0xf4)]=_0x425b98;const {forceExited:_0x437f29}=await _0xca0b25[_0x51af08(0x11a)]();_0x437f29&&console[_0x51af08(0x11b)](_0xbd4982[_0x51af08(0xe3)]),_0xbd4982[_0x51af08(0xf1)](_0x3459f0,_0x19f3d6);},_0x282bfd=_0xbd4982[_0x389ebf(0x120)](pLimit,_0xbbd156),_0x30cbca=_0x23798b=>_0x282bfd(async()=>{return _0xca0b25['vanillaWorker'](_0x23798b);});Promise['all'](_0x211f97[_0x389ebf(0xe8)](_0x2bb182=>_0x30cbca(_0x2bb182)[_0x389ebf(0x107)](_0x5d795e=>_0x148fc7[_0x389ebf(0xd9)](_0x389ebf(0xe4),[_0x2bb182['configuration'][_0x389ebf(0x117)],_0x2bb182[_0x389ebf(0x124)][_0x389ebf(0x11f)]]),_0x273fbd=>_0x148fc7[_0x389ebf(0xd9)](_0x389ebf(0xe2),[_0x2bb182,_0x273fbd]))))['then'](_0x436085,_0x436085);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a51_0x4d23(_0xb359e4,_0xf2f0e5){const _0x1184da=a51_0x1184();return a51_0x4d23=function(_0x4d238c,_0x3fa7d4){_0x4d238c=_0x4d238c-0x1db;let _0x2c1e22=_0x1184da[_0x4d238c];return _0x2c1e22;},a51_0x4d23(_0xb359e4,_0xf2f0e5);}function a51_0x1184(){const _0x4d583f=['2164136LEzzoK','SDK_POST_TEST','104990JTXDZU','bWrTL','startMonitoring','runCucumberTest','poBAn','run','380792QgACOk','mocha','end','EVENTS','ELZum','../../helpers/performance/constants','6817635MAbUpa','125McrdqQ','runTest','fmLYy','configuration','1287195wKIVaj','QEcbw','wCBjQ','347246LgvQDi','../../helpers/performance/performance-tester','../launcher/launcher','TNDoF','51642pAPPbU','6VGedjj','runVanillaTest'];a51_0x1184=function(){return _0x4d583f;};return a51_0x1184();}const a51_0x7fc10=a51_0x4d23;(function(_0x43137d,_0x1df164){const _0x12cae0=a51_0x4d23,_0x3d60fb=_0x43137d();while(!![]){try{const _0x432156=parseInt(_0x12cae0(0x1f7))/0x1+-parseInt(_0x12cae0(0x1ee))/0x2*(parseInt(_0x12cae0(0x1f3))/0x3)+-parseInt(_0x12cae0(0x1e0))/0x4+-parseInt(_0x12cae0(0x1e7))/0x5*(-parseInt(_0x12cae0(0x1f2))/0x6)+-parseInt(_0x12cae0(0x1eb))/0x7+-parseInt(_0x12cae0(0x1f5))/0x8+parseInt(_0x12cae0(0x1e6))/0x9;if(_0x432156===_0x1df164)break;else _0x3d60fb['push'](_0x3d60fb['shift']());}catch(_0x5ee379){_0x3d60fb['push'](_0x3d60fb['shift']());}}}(a51_0x1184,0x2c262));const PerformanceEvents=require(a51_0x7fc10(0x1e5))[a51_0x7fc10(0x1e3)],PerformanceTester=require(a51_0x7fc10(0x1ef)),{sleep}=require('../../helpers/test-observability/utils');exports[a51_0x7fc10(0x1e8)]=async(_0x3e34a1,_0x370bfe)=>{const _0x3487a9=a51_0x7fc10,_0x20a78b={'wCBjQ':function(_0x1c4790,_0x5a264a){return _0x1c4790(_0x5a264a);},'bWrTL':_0x3487a9(0x1f0),'poBAn':_0x3487a9(0x1e1)};PerformanceTester[_0x3487a9(0x1dc)]();const _0x50a681=_0x20a78b[_0x3487a9(0x1ed)](require,_0x20a78b[_0x3487a9(0x1db)]),_0x3093d2=new _0x50a681(_0x20a78b[_0x3487a9(0x1de)],_0x3e34a1,_0x370bfe),_0x528c43=await _0x3093d2[_0x3487a9(0x1df)]();return PerformanceTester[_0x3487a9(0x1e2)](PerformanceEvents[_0x3487a9(0x1f6)]),await _0x20a78b['wCBjQ'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x528c43;},exports[a51_0x7fc10(0x1dd)]=async(_0x144edf,_0x245943,_0x2c190d,_0x1009c1,_0x3775bc)=>{const _0x2d2178=a51_0x7fc10,_0x59cef2={'TNDoF':function(_0x4d69bb,_0x4799d6){return _0x4d69bb(_0x4799d6);},'ZVetq':_0x2d2178(0x1f0),'QEcbw':'cucumber-js'},_0x35a8d2={'capability':_0x144edf,..._0x245943},_0x2cc18c={};_0x2cc18c[_0x2d2178(0x1ea)]=_0x35a8d2,_0x2cc18c['formatter']=_0x3775bc;const _0x465faf=_0x2cc18c,_0x3e6510=_0x59cef2[_0x2d2178(0x1f1)](require,_0x59cef2['ZVetq']),_0x2c0802=new _0x3e6510(_0x59cef2[_0x2d2178(0x1ec)],_0x465faf,_0x2c190d,_0x1009c1);return await _0x2c0802[_0x2d2178(0x1df)]();},exports[a51_0x7fc10(0x1f4)]=async _0x5a9fa5=>{const _0x36ea5a=a51_0x7fc10,_0x18914a={'jQuac':function(_0x2a1fd7,_0x599ec3){return _0x2a1fd7(_0x599ec3);},'fmLYy':_0x36ea5a(0x1f0),'ELZum':'vanilla'},_0x146170=_0x18914a['jQuac'](require,_0x18914a[_0x36ea5a(0x1e9)]),_0x5d5638=new _0x146170(_0x18914a[_0x36ea5a(0x1e4)],_0x5a9fa5);return await _0x5d5638[_0x36ea5a(0x1df)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x59038e=a52_0x27e9;(function(_0x9ec4db,_0x4e12a6){const _0x3408a0=a52_0x27e9,_0x3def79=_0x9ec4db();while(!![]){try{const _0x370c75=-parseInt(_0x3408a0(0x19d))/0x1+parseInt(_0x3408a0(0x199))/0x2+parseInt(_0x3408a0(0x19c))/0x3+parseInt(_0x3408a0(0x196))/0x4*(-parseInt(_0x3408a0(0x19a))/0x5)+-parseInt(_0x3408a0(0x19f))/0x6*(-parseInt(_0x3408a0(0x1a0))/0x7)+parseInt(_0x3408a0(0x193))/0x8*(-parseInt(_0x3408a0(0x197))/0x9)+-parseInt(_0x3408a0(0x194))/0xa*(-parseInt(_0x3408a0(0x19b))/0xb);if(_0x370c75===_0x4e12a6)break;else _0x3def79['push'](_0x3def79['shift']());}catch(_0x1a4823){_0x3def79['push'](_0x3def79['shift']());}}}(a52_0x584b,0xd91df));function a52_0x27e9(_0x132adf,_0x595449){const _0x584bd8=a52_0x584b();return a52_0x27e9=function(_0x27e99a,_0x417afe){_0x27e99a=_0x27e99a-0x193;let _0x163080=_0x584bd8[_0x27e99a];return _0x163080;},a52_0x27e9(_0x132adf,_0x595449);}function a52_0x584b(){const _0x37eeb1=['vanillaWorker','8171142OCyaCa','7YFPdHb','jfCzI','13147608NOzQpx','488010BCDvyk','./runTest','281300qpxcxP','9dCcaQl','CrkbZ','3360566QubqWl','125LtvYlx','297NluXYr','2308707CZSTpv','838449GGoYaC'];a52_0x584b=function(){return _0x37eeb1;};return a52_0x584b();}const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x59038e(0x195));exports['worker']=async(_0x5d6b24,_0x430d36)=>{const _0x427b8a=a52_0x59038e,_0x1e44b5={'jfCzI':function(_0x47f589,_0x487739,_0xbc3868){return _0x47f589(_0x487739,_0xbc3868);}};return await _0x1e44b5[_0x427b8a(0x1a1)](runTest,_0x5d6b24,_0x430d36);},exports['cucumberWorker']=async(_0x3fbc54,_0x4cecb9,_0x1404e1,_0x485f77,_0x68c4a2)=>{const _0xf99ec4={'Rtonf':function(_0x8113e0,_0x43b28c,_0x1fc954,_0x267410,_0x4e582d,_0x5df656){return _0x8113e0(_0x43b28c,_0x1fc954,_0x267410,_0x4e582d,_0x5df656);}};return await _0xf99ec4['Rtonf'](runCucumberTest,_0x3fbc54,_0x4cecb9,_0x1404e1,_0x485f77,_0x68c4a2);},exports[a52_0x59038e(0x19e)]=async _0x55f1ad=>{const _0x529b74=a52_0x59038e,_0x49ba88={'CrkbZ':function(_0x4044e6,_0x35499b){return _0x4044e6(_0x35499b);}};return await _0x49ba88[_0x529b74(0x198)](runVanillaTest,_0x55f1ad);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a53_0x2b89(){const _0x851c25=['jnkwU','fsHNk','qUiIg','yxtMm','kITCn','fWtPn','PApMu','QVkdN','GZUif','api','automate','drmnd','296HcexPF','JOuqV','upload','appAutomate','99080tJesDe','JJZdz','EDS_URL','OXpgp','rflLX','qnyWA','Ndnid','CAqAn','replace','vnRvl','OHxLS','VGeUa','YEAIh','wss:','getInstance','BcEqS','getAppAutomateSessionNameAPIUrl','AXEHx','getAutomateSessionNameAPIUrl','iQFxG','kSKPn','PAeyy','cdp','UbpwK','exports','5061YaIbTm','nsbYj','WZfsJ','LEwdc','toString','4951OjETzk','qzYYc','endsWith','OBSERVABILITY_UPLOAD_URL','APP_UPLOAD_URL','SvRYF','99wJUyEl','cBHiU','fYayE','BROWSERSTACK_API_URL','AtIEp','psQlx','apis','observability','getConfig','GevRG','PLAYWRIGHT_HUB_URL','sWgHK','35MaktPE','6773vVReoV','ZHFNw','66sFeFnl','./constants','AlXri','10572ukvKhZ','GKWSx','SZkZA','getAppAutomateSessionsListAPIUrl','snsir','5990kFdVNA','3047MaYPhN','AeMEY','kGUEE','mJcQJ','bECmC','1686JKCPtu','55480XPvXIR','TKwki','sgVmN','EjRFT','YhciW','zDvOh','getAppAutomateSessionStatusAPIUrl','buTzL','acRYA'];a53_0x2b89=function(){return _0x851c25;};return a53_0x2b89();}const a53_0x2af812=a53_0x3c88;function a53_0x3c88(_0x4eba0d,_0x4c0d9a){const _0x2b893f=a53_0x2b89();return a53_0x3c88=function(_0x3c8810,_0x98ef81){_0x3c8810=_0x3c8810-0x66;let _0xb728a9=_0x2b893f[_0x3c8810];return _0xb728a9;},a53_0x3c88(_0x4eba0d,_0x4c0d9a);}(function(_0x4892f5,_0x2fcd36){const _0x477917=a53_0x3c88,_0x1d2020=_0x4892f5();while(!![]){try{const _0x47fe4c=parseInt(_0x477917(0xc0))/0x1*(-parseInt(_0x477917(0x7a))/0x2)+parseInt(_0x477917(0xbb))/0x3*(-parseInt(_0x477917(0x9e))/0x4)+parseInt(_0x477917(0xa2))/0x5+parseInt(_0x477917(0x88))/0x6*(parseInt(_0x477917(0x77))/0x7)+parseInt(_0x477917(0x89))/0x8*(parseInt(_0x477917(0x6b))/0x9)+-parseInt(_0x477917(0x82))/0xa*(parseInt(_0x477917(0x83))/0xb)+parseInt(_0x477917(0x7d))/0xc*(parseInt(_0x477917(0x78))/0xd);if(_0x47fe4c===_0x2fcd36)break;else _0x1d2020['push'](_0x1d2020['shift']());}catch(_0x16c040){_0x1d2020['push'](_0x1d2020['shift']());}}}(a53_0x2b89,0x18fdb));const constants=require(a53_0x2af812(0x7b)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x16348e=a53_0x2af812,_0x2115a8={'LEwdc':function(_0x4727a1,_0x4bcbfd){return _0x4727a1(_0x4bcbfd);},'Ndnid':'../v2/browserstackCLI'};return _0x2115a8[_0x16348e(0xbe)](require,_0x2115a8[_0x16348e(0xa8)]);};class APIUtilityMethods{static['getBStackAPIUrl'](_0x299d0b){const _0x2141d8=a53_0x2af812,_0x8d56be={'YhciW':function(_0x341105){return _0x341105();},'OXpgp':function(_0x3d1a0e,_0x501a25,_0x5e59eb){return _0x3d1a0e(_0x501a25,_0x5e59eb);},'GKWSx':_0x2141d8(0x71),'uKuag':'automate','vnRvl':_0x2141d8(0x9b),'sWgHK':function(_0x3395b7,_0x21ece4){return _0x3395b7===_0x21ece4;},'LIrBe':function(_0x25245c,_0x1080b5){return _0x25245c+_0x1080b5;}},_0x5aba3d=_0x8d56be[_0x2141d8(0x8d)](getBrowserstackCLI),_0x17a64e=_0x8d56be[_0x2141d8(0xa5)](nestedKeyValue,_0x5aba3d[_0x2141d8(0xb0)]()['getConfig'](),[_0x8d56be[_0x2141d8(0x7e)],_0x8d56be['uKuag'],_0x8d56be[_0x2141d8(0xab)]])||constants['BROWSERSTACK_API_URL'];if(!_0x299d0b||_0x8d56be[_0x2141d8(0x76)](_0x299d0b,''))return _0x17a64e;const _0x29acc4=_0x17a64e[_0x2141d8(0x67)]('/')?_0x17a64e:_0x8d56be['LIrBe'](_0x17a64e,'/');return new URL(_0x299d0b,_0x29acc4)[_0x2141d8(0xbf)]();}static['getEdsInstrumentationAPIUrl'](_0x1ea1c4){const _0x3ea53f=a53_0x2af812,_0xb4042d={'JJZdz':function(_0x3dd485){return _0x3dd485();},'acRYA':function(_0x38aff5,_0x435e6a,_0x3df1b2){return _0x38aff5(_0x435e6a,_0x3df1b2);},'gFgLC':_0x3ea53f(0x71),'zDvOh':'edsInstrumentation','fWtPn':'api','buTzL':function(_0xff1a14,_0x296688){return _0xff1a14===_0x296688;},'TKwki':function(_0x1ec98c,_0xef8a4d){return _0x1ec98c+_0xef8a4d;}},_0x35fcf8=_0xb4042d[_0x3ea53f(0xa3)](getBrowserstackCLI),_0x296da7=_0xb4042d[_0x3ea53f(0x91)](nestedKeyValue,_0x35fcf8[_0x3ea53f(0xb0)]()[_0x3ea53f(0x73)](),[_0xb4042d['gFgLC'],_0xb4042d[_0x3ea53f(0x8e)],_0xb4042d[_0x3ea53f(0x97)]])||constants[_0x3ea53f(0xa4)];if(!_0x1ea1c4||_0xb4042d[_0x3ea53f(0x90)](_0x1ea1c4,''))return _0x296da7;const _0x11ab66=_0x296da7[_0x3ea53f(0x67)]('/')?_0x296da7:_0xb4042d[_0x3ea53f(0x8a)](_0x296da7,'/');return new URL(_0x1ea1c4,_0x11ab66)[_0x3ea53f(0xbf)]();}static['getAutomateSessionStatusAPIUrl'](_0x519ab9){const _0x4e2829=a53_0x2af812,_0x1b7bc5={'kGUEE':function(_0x4a29e4){return _0x4a29e4();},'BcEqS':function(_0x597cec,_0x55a708,_0x1c3c38){return _0x597cec(_0x55a708,_0x1c3c38);},'lAFQG':_0x4e2829(0x71),'DEzBS':_0x4e2829(0x9c),'CUfFg':_0x4e2829(0x9b),'AXEHx':function(_0x1a9c71,_0x2f57d4){return _0x1a9c71===_0x2f57d4;},'CAqAn':function(_0x42e4d9,_0x256ecd){return _0x42e4d9+_0x256ecd;}},_0x10b8ba=_0x1b7bc5[_0x4e2829(0x85)](getBrowserstackCLI),_0x2f62ac=_0x1b7bc5[_0x4e2829(0xb1)](nestedKeyValue,_0x10b8ba[_0x4e2829(0xb0)]()[_0x4e2829(0x73)](),[_0x1b7bc5['lAFQG'],_0x1b7bc5['DEzBS'],_0x1b7bc5['CUfFg']])||constants['BROWSERSTACK_API_URL'];if(!_0x519ab9||_0x1b7bc5[_0x4e2829(0xb3)](_0x519ab9,''))return _0x2f62ac;const _0x480074=_0x2f62ac['endsWith']('/')?_0x2f62ac:_0x1b7bc5[_0x4e2829(0xa9)](_0x2f62ac,'/');return new URL(_0x519ab9,_0x480074)[_0x4e2829(0xbf)]();}static[a53_0x2af812(0x8f)](_0x356a86){const _0x45411f=a53_0x2af812,_0x2a6d6a={'iQFxG':function(_0x4bf77f){return _0x4bf77f();},'qUiIg':function(_0x4fab5f,_0x1a9109,_0x71ed37){return _0x4fab5f(_0x1a9109,_0x71ed37);},'vRGWv':_0x45411f(0x71),'GevRG':_0x45411f(0xa1),'eFLNe':_0x45411f(0x9b),'fYayE':function(_0x9459a4,_0x2c73b8){return _0x9459a4===_0x2c73b8;},'MZpzb':function(_0x332ebd,_0x206cbd){return _0x332ebd+_0x206cbd;}},_0x3bcaab=_0x2a6d6a[_0x45411f(0xb5)](getBrowserstackCLI),_0x4e13cb=_0x2a6d6a[_0x45411f(0x94)](nestedKeyValue,_0x3bcaab[_0x45411f(0xb0)]()[_0x45411f(0x73)](),[_0x2a6d6a['vRGWv'],_0x2a6d6a[_0x45411f(0x74)],_0x2a6d6a['eFLNe']])||constants[_0x45411f(0x6e)];if(!_0x356a86||_0x2a6d6a[_0x45411f(0x6d)](_0x356a86,''))return _0x4e13cb;const _0x3fd8ef=_0x4e13cb[_0x45411f(0x67)]('/')?_0x4e13cb:_0x2a6d6a['MZpzb'](_0x4e13cb,'/');return new URL(_0x356a86,_0x3fd8ef)[_0x45411f(0xbf)]();}static[a53_0x2af812(0xb4)](_0x1b7450){const _0x2a7a9b=a53_0x2af812,_0x49f1c0={'YEAIh':function(_0x1cfa69){return _0x1cfa69();},'iNTrF':function(_0x551d8c,_0x48e333,_0x22abf4){return _0x551d8c(_0x48e333,_0x22abf4);},'AlXri':_0x2a7a9b(0x71),'SvRYF':_0x2a7a9b(0x9c),'UlYer':'api','SZkZA':function(_0x1ff2c0,_0x334675){return _0x1ff2c0===_0x334675;},'RFTPW':function(_0x22d0c2,_0x234f1b){return _0x22d0c2+_0x234f1b;}},_0x1cc8ae=_0x49f1c0[_0x2a7a9b(0xae)](getBrowserstackCLI),_0x1c0582=_0x49f1c0['iNTrF'](nestedKeyValue,_0x1cc8ae[_0x2a7a9b(0xb0)]()[_0x2a7a9b(0x73)](),[_0x49f1c0[_0x2a7a9b(0x7c)],_0x49f1c0[_0x2a7a9b(0x6a)],_0x49f1c0['UlYer']])||constants[_0x2a7a9b(0x6e)];if(!_0x1b7450||_0x49f1c0[_0x2a7a9b(0x7f)](_0x1b7450,''))return _0x1c0582;const _0x25778d=_0x1c0582[_0x2a7a9b(0x67)]('/')?_0x1c0582:_0x49f1c0['RFTPW'](_0x1c0582,'/');return new URL(_0x1b7450,_0x25778d)[_0x2a7a9b(0xbf)]();}static[a53_0x2af812(0xb2)](_0x4f52b0){const _0x5d71be=a53_0x2af812,_0x5c7088={'OHxLS':function(_0x19988c){return _0x19988c();},'jnkwU':function(_0x169f22,_0x51da1f,_0x275f5a){return _0x169f22(_0x51da1f,_0x275f5a);},'PAeyy':_0x5d71be(0x71),'yxtMm':_0x5d71be(0xa1),'AeMEY':_0x5d71be(0x9b),'sgVmN':function(_0x406a48,_0x30461){return _0x406a48===_0x30461;},'VGeUa':function(_0x1e8eed,_0x52e48a){return _0x1e8eed+_0x52e48a;}},_0x522f6f=_0x5c7088[_0x5d71be(0xac)](getBrowserstackCLI),_0x29a088=_0x5c7088[_0x5d71be(0x92)](nestedKeyValue,_0x522f6f['getInstance']()['getConfig'](),[_0x5c7088[_0x5d71be(0xb7)],_0x5c7088[_0x5d71be(0x95)],_0x5c7088[_0x5d71be(0x84)]])||constants[_0x5d71be(0x6e)];if(!_0x4f52b0||_0x5c7088[_0x5d71be(0x8b)](_0x4f52b0,''))return _0x29a088;const _0x28e318=_0x29a088['endsWith']('/')?_0x29a088:_0x5c7088[_0x5d71be(0xad)](_0x29a088,'/');return new URL(_0x4f52b0,_0x28e318)[_0x5d71be(0xbf)]();}static['getAutomateSessionsListAPIUrl'](_0x1f0d96){const _0x5d9a53=a53_0x2af812,_0x24b527={'UbpwK':function(_0x1b8816){return _0x1b8816();},'jwqcB':function(_0x2267b5,_0x37eac8,_0x5805fc){return _0x2267b5(_0x37eac8,_0x5805fc);},'JotAI':_0x5d9a53(0x71),'Jmumb':_0x5d9a53(0x9c),'JOuqV':_0x5d9a53(0x9b),'fsHNk':function(_0x55ae20,_0x4e9b6a){return _0x55ae20===_0x4e9b6a;},'cBHiU':function(_0x40e9cf,_0x26e8ec){return _0x40e9cf+_0x26e8ec;}},_0x22c2cb=_0x24b527[_0x5d9a53(0xb9)](getBrowserstackCLI),_0x2acb82=_0x24b527['jwqcB'](nestedKeyValue,_0x22c2cb[_0x5d9a53(0xb0)]()[_0x5d9a53(0x73)](),[_0x24b527['JotAI'],_0x24b527['Jmumb'],_0x24b527[_0x5d9a53(0x9f)]])||constants['BROWSERSTACK_API_URL'];if(!_0x1f0d96||_0x24b527[_0x5d9a53(0x93)](_0x1f0d96,''))return _0x2acb82;const _0x183faf=_0x2acb82[_0x5d9a53(0x67)]('/')?_0x2acb82:_0x24b527[_0x5d9a53(0x6c)](_0x2acb82,'/');return new URL(_0x1f0d96,_0x183faf)[_0x5d9a53(0xbf)]()[_0x5d9a53(0xaa)](/^https?:\/\//,'');}static[a53_0x2af812(0x80)](_0x3545c2){const _0x48a4bb=a53_0x2af812,_0x4ddac3={'MCHZD':function(_0x2fce7d){return _0x2fce7d();},'EjRFT':function(_0x31668d,_0x1bbc7d,_0x4d56db){return _0x31668d(_0x1bbc7d,_0x4d56db);},'rflLX':'apis','mJcQJ':_0x48a4bb(0xa1),'PApMu':_0x48a4bb(0x9b),'DRPUe':function(_0x32b5c8,_0x322511){return _0x32b5c8===_0x322511;},'AtIEp':function(_0x46dadb,_0x69a1c){return _0x46dadb+_0x69a1c;}},_0x386988=_0x4ddac3['MCHZD'](getBrowserstackCLI),_0x263429=_0x4ddac3[_0x48a4bb(0x8c)](nestedKeyValue,_0x386988[_0x48a4bb(0xb0)]()['getConfig'](),[_0x4ddac3[_0x48a4bb(0xa6)],_0x4ddac3[_0x48a4bb(0x86)],_0x4ddac3[_0x48a4bb(0x98)]])||constants[_0x48a4bb(0x69)];if(!_0x3545c2||_0x4ddac3['DRPUe'](_0x3545c2,''))return _0x263429;const _0x16c133=_0x263429[_0x48a4bb(0x67)]('/')?_0x263429:_0x4ddac3[_0x48a4bb(0x6f)](_0x263429,'/');return new URL(_0x3545c2,_0x16c133)[_0x48a4bb(0xbf)]()['replace'](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x4397de){const _0x481f53=a53_0x2af812,_0x4a9aad={'QVkdN':function(_0x4d0535){return _0x4d0535();},'bECmC':function(_0x3b4624,_0x571fe9,_0x278523){return _0x3b4624(_0x571fe9,_0x278523);},'GZUif':_0x481f53(0x71),'nsbYj':_0x481f53(0x72),'WZfsJ':_0x481f53(0xa0),'ZHFNw':function(_0x55e304,_0x48ac23){return _0x55e304===_0x48ac23;},'kSKPn':function(_0x4514e0,_0x211c3f){return _0x4514e0+_0x211c3f;}},_0x54e295=_0x4a9aad[_0x481f53(0x99)](getBrowserstackCLI),_0xd398da=_0x4a9aad[_0x481f53(0x87)](nestedKeyValue,_0x54e295['getInstance']()[_0x481f53(0x73)](),[_0x4a9aad[_0x481f53(0x9a)],_0x4a9aad[_0x481f53(0xbc)],_0x4a9aad[_0x481f53(0xbd)]])||constants[_0x481f53(0x68)];if(!_0x4397de||_0x4a9aad[_0x481f53(0x79)](_0x4397de,''))return _0xd398da;const _0x236950=_0xd398da['endsWith']('/')?_0xd398da:_0x4a9aad[_0x481f53(0xb6)](_0xd398da,'/');return new URL(_0x4397de,_0x236950)[_0x481f53(0xbf)]();}static['getPlaywrightHubUrl'](_0xa02b69){const _0x1edecc=a53_0x2af812,_0x250bf5={'BURro':function(_0x4057a1){return _0x4057a1();},'drmnd':function(_0x56341d,_0x170c2d,_0x5ec198){return _0x56341d(_0x170c2d,_0x5ec198);},'xVqVU':_0x1edecc(0x71),'qzYYc':_0x1edecc(0x9c),'psQlx':_0x1edecc(0xb8),'kITCn':_0x1edecc(0xaf),'vHHHl':function(_0x3afaef,_0x3d0445){return _0x3afaef===_0x3d0445;},'qnyWA':function(_0x296677,_0x2c48fa){return _0x296677+_0x2c48fa;},'snsir':'/playwright?caps='},_0x231876=_0x250bf5['BURro'](getBrowserstackCLI),_0x18d09d=_0x250bf5[_0x1edecc(0x9d)](nestedKeyValue,_0x231876[_0x1edecc(0xb0)]()[_0x1edecc(0x73)](),[_0x250bf5['xVqVU'],_0x250bf5[_0x1edecc(0x66)],_0x250bf5[_0x1edecc(0x70)]]),_0x2d3052=(_0x18d09d?_0x18d09d[_0x1edecc(0xaa)](/^https:/,_0x250bf5[_0x1edecc(0x96)]):null)||constants[_0x1edecc(0x75)];let _0x52dfc3;if(!_0xa02b69||_0x250bf5['vHHHl'](_0xa02b69,''))_0x52dfc3=_0x2d3052;else{const _0x541bd5=_0x2d3052[_0x1edecc(0x67)]('/')?_0x2d3052:_0x250bf5[_0x1edecc(0xa7)](_0x2d3052,'/');_0x52dfc3=new URL(_0xa02b69,_0x541bd5)[_0x1edecc(0xbf)]();}return!_0x52dfc3[_0x1edecc(0x67)](_0x250bf5['snsir'])&&(_0x52dfc3+=_0x250bf5[_0x1edecc(0x81)]),_0x52dfc3;}}module[a53_0x2af812(0xba)]=APIUtilityMethods;
|
|
1
|
+
const a53_0x31a2ee=a53_0x22eb;(function(_0xccac9e,_0x509c6d){const _0x3624fa=a53_0x22eb,_0x5adc73=_0xccac9e();while(!![]){try{const _0x5766bf=-parseInt(_0x3624fa(0x1c1))/0x1+-parseInt(_0x3624fa(0x1bc))/0x2+parseInt(_0x3624fa(0x1b3))/0x3+-parseInt(_0x3624fa(0x1ae))/0x4+parseInt(_0x3624fa(0x18f))/0x5+parseInt(_0x3624fa(0x1a0))/0x6*(parseInt(_0x3624fa(0x17d))/0x7)+-parseInt(_0x3624fa(0x1a5))/0x8;if(_0x5766bf===_0x509c6d)break;else _0x5adc73['push'](_0x5adc73['shift']());}catch(_0x4d2965){_0x5adc73['push'](_0x5adc73['shift']());}}}(a53_0x45b1,0x687a7));const constants=require('./constants'),{nestedKeyValue}=require(a53_0x31a2ee(0x1c3)),getBrowserstackCLI=()=>{const _0xf4f8f9=a53_0x31a2ee,_0x336bd9={'qCOsO':function(_0x1c5f6c,_0x2d8910){return _0x1c5f6c(_0x2d8910);},'wICvs':_0xf4f8f9(0x17c)};return _0x336bd9[_0xf4f8f9(0x190)](require,_0x336bd9[_0xf4f8f9(0x16f)]);};class APIUtilityMethods{static[a53_0x31a2ee(0x189)](_0x1264aa){const _0x4be7c7=a53_0x31a2ee,_0x19228c={'KkikB':function(_0x1ffe6c){return _0x1ffe6c();},'yOuGN':function(_0xf66e95,_0xaafc0a,_0x575392){return _0xf66e95(_0xaafc0a,_0x575392);},'iYCyJ':_0x4be7c7(0x195),'JTzqS':_0x4be7c7(0x1b2),'RpXeF':'api','Hypdr':function(_0x388794,_0x1ca49f){return _0x388794===_0x1ca49f;},'OafTK':function(_0x3a830a,_0x209f9e){return _0x3a830a+_0x209f9e;}},_0x2804df=_0x19228c[_0x4be7c7(0x197)](getBrowserstackCLI),_0x54a179=_0x19228c[_0x4be7c7(0x198)](nestedKeyValue,_0x2804df[_0x4be7c7(0x1b4)]()[_0x4be7c7(0x199)](),[_0x19228c['iYCyJ'],_0x19228c['JTzqS'],_0x19228c[_0x4be7c7(0x1b8)]])||constants[_0x4be7c7(0x185)];if(!_0x1264aa||_0x19228c['Hypdr'](_0x1264aa,''))return _0x54a179;const _0x31f3ab=_0x54a179['endsWith']('/')?_0x54a179:_0x19228c[_0x4be7c7(0x18a)](_0x54a179,'/');return new URL(_0x1264aa,_0x31f3ab)['toString']();}static[a53_0x31a2ee(0x172)](_0x1845ad){const _0x18d5b4=a53_0x31a2ee,_0x5d0d63={'ZqhBv':function(_0x28cbe4){return _0x28cbe4();},'HuEFW':function(_0x10b469,_0x3c5a08,_0x17b9f1){return _0x10b469(_0x3c5a08,_0x17b9f1);},'vIDTQ':_0x18d5b4(0x195),'Nweoy':'edsInstrumentation','Qgewi':'api','FoCWU':function(_0x3364a5,_0x31b577){return _0x3364a5===_0x31b577;},'kGyjD':function(_0x2ac4e3,_0x3f4a17){return _0x2ac4e3+_0x3f4a17;}},_0x571fb9=_0x5d0d63[_0x18d5b4(0x1c2)](getBrowserstackCLI),_0x42b833=_0x5d0d63[_0x18d5b4(0x178)](nestedKeyValue,_0x571fb9[_0x18d5b4(0x1b4)]()[_0x18d5b4(0x199)](),[_0x5d0d63[_0x18d5b4(0x1a7)],_0x5d0d63[_0x18d5b4(0x1aa)],_0x5d0d63[_0x18d5b4(0x18b)]])||constants['EDS_URL'];if(!_0x1845ad||_0x5d0d63[_0x18d5b4(0x1be)](_0x1845ad,''))return _0x42b833;const _0x3a6ca3=_0x42b833[_0x18d5b4(0x19c)]('/')?_0x42b833:_0x5d0d63[_0x18d5b4(0x191)](_0x42b833,'/');return new URL(_0x1845ad,_0x3a6ca3)[_0x18d5b4(0x192)]();}static[a53_0x31a2ee(0x1bd)](_0x334864){const _0xd2e916=a53_0x31a2ee,_0x37aed1={'NIgnT':function(_0x1f1860){return _0x1f1860();},'JgNva':function(_0x450c61,_0x4807d7,_0x436441){return _0x450c61(_0x4807d7,_0x436441);},'dhsRm':'apis','dwPKU':_0xd2e916(0x1b2),'gBFEP':'api','cKCTY':function(_0x435716,_0x3f84ce){return _0x435716===_0x3f84ce;},'POIrJ':function(_0x4e1059,_0x3ba4a9){return _0x4e1059+_0x3ba4a9;}},_0x4e431d=_0x37aed1[_0xd2e916(0x17f)](getBrowserstackCLI),_0x5309cf=_0x37aed1['JgNva'](nestedKeyValue,_0x4e431d['getInstance']()[_0xd2e916(0x199)](),[_0x37aed1[_0xd2e916(0x171)],_0x37aed1[_0xd2e916(0x188)],_0x37aed1[_0xd2e916(0x181)]])||constants[_0xd2e916(0x185)];if(!_0x334864||_0x37aed1['cKCTY'](_0x334864,''))return _0x5309cf;const _0x15c9b6=_0x5309cf[_0xd2e916(0x19c)]('/')?_0x5309cf:_0x37aed1['POIrJ'](_0x5309cf,'/');return new URL(_0x334864,_0x15c9b6)[_0xd2e916(0x192)]();}static[a53_0x31a2ee(0x19e)](_0x1c1fac){const _0x47e78f=a53_0x31a2ee,_0x5c4989={'BfWPv':function(_0x3089ed){return _0x3089ed();},'DVoZk':function(_0x2552da,_0x75064b,_0x23fffb){return _0x2552da(_0x75064b,_0x23fffb);},'DBGfE':_0x47e78f(0x195),'kzczp':'appAutomate','MEpmH':'api','gJIwS':function(_0x14b642,_0x15c256){return _0x14b642===_0x15c256;},'xoLkT':function(_0x5811df,_0x29facd){return _0x5811df+_0x29facd;}},_0x2300d5=_0x5c4989[_0x47e78f(0x1b7)](getBrowserstackCLI),_0x3ae5cc=_0x5c4989[_0x47e78f(0x17a)](nestedKeyValue,_0x2300d5['getInstance']()['getConfig'](),[_0x5c4989['DBGfE'],_0x5c4989['kzczp'],_0x5c4989[_0x47e78f(0x1b9)]])||constants[_0x47e78f(0x185)];if(!_0x1c1fac||_0x5c4989[_0x47e78f(0x1bf)](_0x1c1fac,''))return _0x3ae5cc;const _0x292136=_0x3ae5cc[_0x47e78f(0x19c)]('/')?_0x3ae5cc:_0x5c4989[_0x47e78f(0x1af)](_0x3ae5cc,'/');return new URL(_0x1c1fac,_0x292136)[_0x47e78f(0x192)]();}static[a53_0x31a2ee(0x184)](_0x47416b){const _0x2f7add=a53_0x31a2ee,_0x196a59={'VtcNi':function(_0x44dc98){return _0x44dc98();},'Icrhh':function(_0x38f605,_0x1641ca,_0x4d3130){return _0x38f605(_0x1641ca,_0x4d3130);},'cQfUK':_0x2f7add(0x195),'TNFzB':'automate','BkVAi':'api','LtZOs':function(_0x15546b,_0x251ffe){return _0x15546b===_0x251ffe;},'uGvBl':function(_0x1f48c9,_0x57276c){return _0x1f48c9+_0x57276c;}},_0x4b6f67=_0x196a59[_0x2f7add(0x1a2)](getBrowserstackCLI),_0xcb88ea=_0x196a59[_0x2f7add(0x174)](nestedKeyValue,_0x4b6f67['getInstance']()[_0x2f7add(0x199)](),[_0x196a59['cQfUK'],_0x196a59[_0x2f7add(0x17b)],_0x196a59['BkVAi']])||constants[_0x2f7add(0x185)];if(!_0x47416b||_0x196a59[_0x2f7add(0x18c)](_0x47416b,''))return _0xcb88ea;const _0x18774d=_0xcb88ea['endsWith']('/')?_0xcb88ea:_0x196a59['uGvBl'](_0xcb88ea,'/');return new URL(_0x47416b,_0x18774d)[_0x2f7add(0x192)]();}static[a53_0x31a2ee(0x1ad)](_0x31a655){const _0x301dd4=a53_0x31a2ee,_0xa5b8a4={'LhuyL':function(_0x360806){return _0x360806();},'NYBiQ':function(_0x162332,_0x4a8804,_0x4a2243){return _0x162332(_0x4a8804,_0x4a2243);},'ZfRxb':_0x301dd4(0x195),'HrneH':_0x301dd4(0x19a),'FdcHp':_0x301dd4(0x18e),'wVgEi':function(_0x2428e6,_0x4bfc54){return _0x2428e6===_0x4bfc54;},'HjJVt':function(_0x720a4e,_0x2d78c1){return _0x720a4e+_0x2d78c1;}},_0x1c0f63=_0xa5b8a4[_0x301dd4(0x17e)](getBrowserstackCLI),_0x32e917=_0xa5b8a4['NYBiQ'](nestedKeyValue,_0x1c0f63[_0x301dd4(0x1b4)]()[_0x301dd4(0x199)](),[_0xa5b8a4[_0x301dd4(0x179)],_0xa5b8a4['HrneH'],_0xa5b8a4['FdcHp']])||constants['BROWSERSTACK_API_URL'];if(!_0x31a655||_0xa5b8a4[_0x301dd4(0x180)](_0x31a655,''))return _0x32e917;const _0x11fa87=_0x32e917[_0x301dd4(0x19c)]('/')?_0x32e917:_0xa5b8a4[_0x301dd4(0x1bb)](_0x32e917,'/');return new URL(_0x31a655,_0x11fa87)[_0x301dd4(0x192)]();}static[a53_0x31a2ee(0x186)](_0x3f9dad){const _0xec7439=a53_0x31a2ee,_0x5ec186={'RtQtj':function(_0x1d5709){return _0x1d5709();},'kgacd':function(_0x55e36b,_0x1c8b70,_0x5bdecd){return _0x55e36b(_0x1c8b70,_0x5bdecd);},'gbBTX':'apis','uKjHF':_0xec7439(0x1b2),'wrSxk':_0xec7439(0x18e),'ByOAD':function(_0x1cf788,_0x1a18ed){return _0x1cf788===_0x1a18ed;},'BZAUr':function(_0x34d1ef,_0x244f65){return _0x34d1ef+_0x244f65;}},_0x318e40=_0x5ec186[_0xec7439(0x1a6)](getBrowserstackCLI),_0x438b59=_0x5ec186[_0xec7439(0x176)](nestedKeyValue,_0x318e40[_0xec7439(0x1b4)]()[_0xec7439(0x199)](),[_0x5ec186['gbBTX'],_0x5ec186['uKjHF'],_0x5ec186[_0xec7439(0x193)]])||constants[_0xec7439(0x185)];if(!_0x3f9dad||_0x5ec186[_0xec7439(0x1ba)](_0x3f9dad,''))return _0x438b59;const _0x132628=_0x438b59[_0xec7439(0x19c)]('/')?_0x438b59:_0x5ec186[_0xec7439(0x194)](_0x438b59,'/');return new URL(_0x3f9dad,_0x132628)[_0xec7439(0x192)]()[_0xec7439(0x1a3)](/^https?:\/\//,'');}static[a53_0x31a2ee(0x18d)](_0x41f373){const _0x469cbf=a53_0x31a2ee,_0x30c9a8={'jILbj':function(_0x282fc){return _0x282fc();},'GXAaM':function(_0x25fa63,_0x2c81f4,_0x38a4be){return _0x25fa63(_0x2c81f4,_0x38a4be);},'uwYDh':_0x469cbf(0x195),'wnNiY':'appAutomate','tvndu':'api','gjSfg':function(_0x2f04ed,_0x59c64b){return _0x2f04ed===_0x59c64b;},'XECOg':function(_0x4c3634,_0xd76be6){return _0x4c3634+_0xd76be6;}},_0x39a4b1=_0x30c9a8[_0x469cbf(0x1a1)](getBrowserstackCLI),_0x480e03=_0x30c9a8['GXAaM'](nestedKeyValue,_0x39a4b1[_0x469cbf(0x1b4)]()[_0x469cbf(0x199)](),[_0x30c9a8[_0x469cbf(0x1ab)],_0x30c9a8['wnNiY'],_0x30c9a8[_0x469cbf(0x187)]])||constants[_0x469cbf(0x1a8)];if(!_0x41f373||_0x30c9a8[_0x469cbf(0x1a9)](_0x41f373,''))return _0x480e03;const _0x4e599f=_0x480e03[_0x469cbf(0x19c)]('/')?_0x480e03:_0x30c9a8[_0x469cbf(0x183)](_0x480e03,'/');return new URL(_0x41f373,_0x4e599f)[_0x469cbf(0x192)]()[_0x469cbf(0x1a3)](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x3f6445){const _0x1341c3=a53_0x31a2ee,_0x1e498a={'dAzxS':function(_0xa5e58f){return _0xa5e58f();},'UUDGp':function(_0x4c8aef,_0x3359fa,_0x14326e){return _0x4c8aef(_0x3359fa,_0x14326e);},'LJhRz':'apis','KjiFR':_0x1341c3(0x1b0),'jZJtk':_0x1341c3(0x1c4),'lesBc':function(_0x10c4d5,_0x93e1){return _0x10c4d5===_0x93e1;},'IiUvY':function(_0x3637dc,_0x5f39ed){return _0x3637dc+_0x5f39ed;}},_0x46869d=_0x1e498a[_0x1341c3(0x1b5)](getBrowserstackCLI),_0x411b96=_0x1e498a[_0x1341c3(0x173)](nestedKeyValue,_0x46869d[_0x1341c3(0x1b4)]()['getConfig'](),[_0x1e498a[_0x1341c3(0x177)],_0x1e498a[_0x1341c3(0x19b)],_0x1e498a[_0x1341c3(0x1ac)]])||constants['OBSERVABILITY_UPLOAD_URL'];if(!_0x3f6445||_0x1e498a[_0x1341c3(0x1b6)](_0x3f6445,''))return _0x411b96;const _0x3b005f=_0x411b96['endsWith']('/')?_0x411b96:_0x1e498a[_0x1341c3(0x1a4)](_0x411b96,'/');return new URL(_0x3f6445,_0x3b005f)[_0x1341c3(0x192)]();}static[a53_0x31a2ee(0x19d)](_0x4e815c){const _0x51058d=a53_0x31a2ee,_0x41e6b2={'jKCPB':function(_0xfca7cf){return _0xfca7cf();},'VxHfC':function(_0x1fc45e,_0x5be08a,_0x18fc1d){return _0x1fc45e(_0x5be08a,_0x18fc1d);},'iCmxl':_0x51058d(0x195),'OCawL':_0x51058d(0x1b2),'ZrudP':_0x51058d(0x175),'pFSLT':_0x51058d(0x1c0),'VPQry':function(_0x2a04f7,_0x90dc9e){return _0x2a04f7===_0x90dc9e;},'MgHRZ':function(_0x5962fd,_0x26a0cf){return _0x5962fd+_0x26a0cf;},'xTwpk':'/playwright?caps='},_0x27aa15=_0x41e6b2[_0x51058d(0x170)](getBrowserstackCLI),_0x44fc09=_0x41e6b2[_0x51058d(0x16e)](nestedKeyValue,_0x27aa15[_0x51058d(0x1b4)]()[_0x51058d(0x199)](),[_0x41e6b2[_0x51058d(0x1b1)],_0x41e6b2['OCawL'],_0x41e6b2[_0x51058d(0x182)]]),_0x1693b7=(_0x44fc09?_0x44fc09[_0x51058d(0x1a3)](/^https:/,_0x41e6b2[_0x51058d(0x196)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x1917cd;if(!_0x4e815c||_0x41e6b2['VPQry'](_0x4e815c,''))_0x1917cd=_0x1693b7;else{const _0x721b52=_0x1693b7[_0x51058d(0x19c)]('/')?_0x1693b7:_0x41e6b2[_0x51058d(0x19f)](_0x1693b7,'/');_0x1917cd=new URL(_0x4e815c,_0x721b52)[_0x51058d(0x192)]();}return!_0x1917cd[_0x51058d(0x19c)](_0x41e6b2['xTwpk'])&&(_0x1917cd+=_0x41e6b2['xTwpk']),_0x1917cd;}}module['exports']=APIUtilityMethods;function a53_0x22eb(_0xffa818,_0x25dd11){const _0x45b19=a53_0x45b1();return a53_0x22eb=function(_0x22eb3d,_0xe09e26){_0x22eb3d=_0x22eb3d-0x16e;let _0x8bb53c=_0x45b19[_0x22eb3d];return _0x8bb53c;},a53_0x22eb(_0xffa818,_0x25dd11);}function a53_0x45b1(){const _0x3dcf7b=['observability','iCmxl','automate','1091190rUFTeh','getInstance','dAzxS','lesBc','BfWPv','RpXeF','MEpmH','ByOAD','HjJVt','53318CsaoPv','getAutomateSessionStatusAPIUrl','FoCWU','gJIwS','wss:','28609crCdZQ','ZqhBv','./sharedUtils','upload','VxHfC','wICvs','jKCPB','dhsRm','getEdsInstrumentationAPIUrl','UUDGp','Icrhh','cdp','kgacd','LJhRz','HuEFW','ZfRxb','DVoZk','TNFzB','../v2/browserstackCLI','70eSdjDM','LhuyL','NIgnT','wVgEi','gBFEP','ZrudP','XECOg','getAutomateSessionNameAPIUrl','BROWSERSTACK_API_URL','getAutomateSessionsListAPIUrl','tvndu','dwPKU','getBStackAPIUrl','OafTK','Qgewi','LtZOs','getAppAutomateSessionsListAPIUrl','api','2139215aKoFZF','qCOsO','kGyjD','toString','wrSxk','BZAUr','apis','pFSLT','KkikB','yOuGN','getConfig','appAutomate','KjiFR','endsWith','getPlaywrightHubUrl','getAppAutomateSessionStatusAPIUrl','MgHRZ','1770fRiqAX','jILbj','VtcNi','replace','IiUvY','564168qixIkS','RtQtj','vIDTQ','APP_UPLOAD_URL','gjSfg','Nweoy','uwYDh','jZJtk','getAppAutomateSessionNameAPIUrl','963164zLKwBE','xoLkT'];a53_0x45b1=function(){return _0x3dcf7b;};return a53_0x45b1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a54_0x4fbb(_0xc01bf5,_0x2e79c9){const _0x8772d9=a54_0x8772();return a54_0x4fbb=function(_0x4fbbd9,_0x27ce7e){_0x4fbbd9=_0x4fbbd9-0x1d3;let _0x54b99a=_0x8772d9[_0x4fbbd9];return _0x54b99a;},a54_0x4fbb(_0xc01bf5,_0x2e79c9);}function a54_0x8772(){const _0x38d3b5=['16677nzpOKc','Process\x20Interruption\x20details\x20not\x20found:','./constants','size','UMwfd','Vwply','883572BHniNQ','replace','Quoua','.browserstack\x20folder\x20not\x20accessible','errorCode','oYvbW','../v2/grpcClient','1lWesOb','VFhCv','uZdjg','getAggregatedErrorCodes','object','getErrorDetails','GbQCT','reportFinalDetectionState','sTSSx','1012364StnkHj','1882195ehhzrr','jNkme','VZars','errorCodesOccurredWhenCLINotRunning','join','jtmrz','getErrorCodesOccurredInCli','VylDk','ssl\x20cert\x20issue','1088630wEHShr','nsetR','Error\x20in\x20getting\x20error\x20details\x20for\x20','{ERROR_CODES}','logError','documentationLink','finalErrorMessage','cHQMB','OevTE','IFMII','yNYNV','getAggregatedClientTroubleshootingErrors','reportSSLCertIssue','errorMessage','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','xgLAM','cachedErrorCodes','../v2/browserstackCLI','jlQfi','[ClientTroubleShootingService]\x20','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','tYPen','Session\x20Linking\x20Issue\x20details\x20not\x20found','errorCodesOccurredInCLI','2396610bmzZnP','dLVei','getErrorCodes','QeJwq','error','reportDotBrowserStackFolderNotAccessibleIssue','from','4992GspNJl','{SIGNAL}','conflicting\x20env\x20var\x20detected','stringify','length','Qiuvj','{ENV_VAR}','2182005aaBrkt','reportSessionLinkingIssue','CLIENT_TROUBLESHOOTING_HASH','isRunning','winstonLogger','reportConnectivityIssue','reportClientTroubleshootingError','getSuccess','getErrorMessage','../../helpers/logger','getDocumentationLink','checkForErrorsOccuredInCLI','getInstance','base64','warn','keys','getFinalErrorMessage','errorCodes','logSituation','RqMNO','toString','ZSjda','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','getErrorCode','fquyz','bZNvQ','xKsJX','parse','tmBDK','push','aKOCi','EfeEU','AzOzC'];a54_0x8772=function(){return _0x38d3b5;};return a54_0x8772();}const a54_0x9ef1f=a54_0x4fbb;(function(_0x6793f0,_0x4feca3){const _0x432994=a54_0x4fbb,_0x393594=_0x6793f0();while(!![]){try{const _0x590be3=parseInt(_0x432994(0x21c))/0x1*(-parseInt(_0x432994(0x22f))/0x2)+parseInt(_0x432994(0x215))/0x3+-parseInt(_0x432994(0x225))/0x4+parseInt(_0x432994(0x226))/0x5+-parseInt(_0x432994(0x1e0))/0x6+-parseInt(_0x432994(0x1ee))/0x7+-parseInt(_0x432994(0x1e7))/0x8*(-parseInt(_0x432994(0x20f))/0x9);if(_0x590be3===_0x4feca3)break;else _0x393594['push'](_0x393594['shift']());}catch(_0xff735e){_0x393594['push'](_0x393594['shift']());}}}(a54_0x8772,0x4dcd7));const logger=require(a54_0x9ef1f(0x1f7))[a54_0x9ef1f(0x1f2)],BrowserstackCLI=require(a54_0x9ef1f(0x1d9)),GrpcClient=require(a54_0x9ef1f(0x21b)),constants=require(a54_0x9ef1f(0x211));class ClientTroubleShootingService{static [a54_0x9ef1f(0x1d8)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a54_0x9ef1f(0x221)](_0x358f6d){const _0x42df6d=a54_0x9ef1f,_0x5a07b5={};_0x5a07b5[_0x42df6d(0x21e)]=function(_0x5472bf,_0x3f0941){return _0x5472bf!==_0x3f0941;};const _0x2d0b37=_0x5a07b5;try{if(BrowserstackCLI[_0x42df6d(0x1fa)]()[_0x42df6d(0x1f1)]()){const _0x1d9569=await GrpcClient[_0x42df6d(0x1fa)]()[_0x42df6d(0x1f4)](_0x358f6d);if(_0x2d0b37[_0x42df6d(0x21e)](_0x1d9569,null)&&_0x1d9569[_0x42df6d(0x1f5)]())return{'errorCode':_0x1d9569[_0x42df6d(0x205)](),'errorMessage':_0x1d9569[_0x42df6d(0x1f6)]()};return{};}return{};}catch(_0x85d9ab){return this['logError'](_0x42df6d(0x231)+_0x358f6d+':',_0x85d9ab),{};}}static async[a54_0x9ef1f(0x21f)](){const _0x33b4ce=a54_0x9ef1f,_0x5b650e={};_0x5b650e['Vwply']=function(_0x598daa,_0x48332d){return _0x598daa!==_0x48332d;},_0x5b650e[_0x33b4ce(0x237)]=_0x33b4ce(0x1fb),_0x5b650e[_0x33b4ce(0x222)]=_0x33b4ce(0x1dc);const _0x4a19db=_0x5b650e;try{if(BrowserstackCLI[_0x33b4ce(0x1fa)]()[_0x33b4ce(0x1f1)]()){const _0x247a9c=await GrpcClient[_0x33b4ce(0x1fa)]()[_0x33b4ce(0x1d3)]();if(_0x4a19db[_0x33b4ce(0x214)](_0x247a9c,null)&&_0x247a9c[_0x33b4ce(0x1f5)]()){const _0x4c4036=Buffer['from'](_0x247a9c[_0x33b4ce(0x1e2)](),_0x4a19db[_0x33b4ce(0x237)])[_0x33b4ce(0x202)](),_0x591534=_0x4c4036?JSON['parse'](_0x4c4036):[],_0x376193=_0x247a9c[_0x33b4ce(0x1f8)](),_0x583009=_0x247a9c[_0x33b4ce(0x1fe)](),_0x47c4a8=Buffer['from'](_0x247a9c[_0x33b4ce(0x22c)](),_0x4a19db[_0x33b4ce(0x237)])[_0x33b4ce(0x202)](),_0xd296d2=_0x47c4a8?JSON[_0x33b4ce(0x209)](_0x47c4a8):[],_0x1d6cc1={};return _0x1d6cc1[_0x33b4ce(0x1ff)]=_0x591534,_0x1d6cc1[_0x33b4ce(0x234)]=_0x376193,_0x1d6cc1[_0x33b4ce(0x235)]=_0x583009,_0x1d6cc1[_0x33b4ce(0x1df)]=_0xd296d2,_0x1d6cc1;}const _0x49760b={};return _0x49760b[_0x33b4ce(0x1ff)]=[],_0x49760b[_0x33b4ce(0x234)]='',_0x49760b['finalErrorMessage']='',_0x49760b[_0x33b4ce(0x1df)]=[],_0x49760b;}const _0x232b9f={};return _0x232b9f[_0x33b4ce(0x1ff)]=[],_0x232b9f[_0x33b4ce(0x234)]='',_0x232b9f[_0x33b4ce(0x235)]='',_0x232b9f['errorCodesOccurredInCLI']=[],_0x232b9f;}catch(_0x26f3ae){this[_0x33b4ce(0x233)](_0x4a19db[_0x33b4ce(0x222)],_0x26f3ae);const _0x9b9095={};return _0x9b9095[_0x33b4ce(0x1ff)]=[],_0x9b9095[_0x33b4ce(0x234)]='',_0x9b9095[_0x33b4ce(0x235)]='',_0x9b9095['errorCodesOccurredInCLI']=[],_0x9b9095;}}static[a54_0x9ef1f(0x200)](_0x59af11,_0x334e8e){logger['warn'](_0x59af11+':\x20'+_0x334e8e);}static['checkForErrorsOccuredInCLI'](_0x1e4a13){const _0x103db8=a54_0x9ef1f,_0x90d10b={};_0x90d10b['nsetR']=function(_0x46364a,_0x53c8d3){return _0x46364a!=_0x53c8d3;},_0x90d10b[_0x103db8(0x20d)]=function(_0x51c0b0,_0x72ec3a){return _0x51c0b0!=_0x72ec3a;},_0x90d10b[_0x103db8(0x1d7)]=function(_0x1e2df2,_0x570f5e){return _0x1e2df2>_0x570f5e;},_0x90d10b['aKOCi']=function(_0x56a6f5,_0x12c2a9){return _0x56a6f5!=_0x12c2a9;};const _0x210ad7=_0x90d10b,_0x40d858=[];if(_0x210ad7[_0x103db8(0x230)](_0x1e4a13,null)&&_0x210ad7[_0x103db8(0x20d)](_0x1e4a13[_0x103db8(0x1df)],null)&&_0x210ad7[_0x103db8(0x1d7)](_0x1e4a13[_0x103db8(0x1df)][_0x103db8(0x1eb)],0x0))for(const _0x4f7199 of _0x1e4a13[_0x103db8(0x1df)]){_0x210ad7[_0x103db8(0x20c)](_0x4f7199[_0x103db8(0x219)],null)&&_0x210ad7['nsetR'](_0x4f7199[_0x103db8(0x1d5)],null)&&(_0x40d858[_0x103db8(0x20b)](_0x4f7199[_0x103db8(0x219)]),this[_0x103db8(0x200)](_0x4f7199['errorCode'],_0x4f7199[_0x103db8(0x1d5)]));}return _0x40d858;}static['getCachedErrorCodes'](){const _0x4bc455=a54_0x9ef1f;return this[_0x4bc455(0x1d8)];}static['logError'](_0xd835c2,_0x1a9202){const _0x48e7ec=a54_0x9ef1f,_0x1776b2={};_0x1776b2[_0x48e7ec(0x22b)]=function(_0x1ba249,_0x30867b){return _0x1ba249===_0x30867b;},_0x1776b2[_0x48e7ec(0x21a)]=_0x48e7ec(0x220);const _0x588e15=_0x1776b2;if(_0x588e15[_0x48e7ec(0x22b)](typeof _0x1a9202,_0x588e15[_0x48e7ec(0x21a)]))try{logger['error'](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+JSON[_0x48e7ec(0x1ea)](_0x1a9202));}catch(_0x2fc4d2){logger[_0x48e7ec(0x1e4)](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+_0x1a9202);}else logger['error'](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+_0x1a9202);}static async['reportProcessInterruptionSituation'](_0x303667){const _0x1f32ce=a54_0x9ef1f,_0x4e6136={};_0x4e6136[_0x1f32ce(0x239)]='Process\x20Interruption',_0x4e6136['tYPen']=function(_0x198a02,_0x4fb5fb){return _0x198a02===_0x4fb5fb;},_0x4e6136[_0x1f32ce(0x1e3)]=_0x1f32ce(0x210),_0x4e6136['ZSjda']=_0x1f32ce(0x1e8);const _0x32af99=_0x4e6136,_0x3d3884=await this['getErrorDetails'](_0x32af99[_0x1f32ce(0x239)]);if(_0x32af99[_0x1f32ce(0x1dd)](Object[_0x1f32ce(0x1fd)](_0x3d3884)[_0x1f32ce(0x1eb)],0x0)){this[_0x1f32ce(0x233)](_0x32af99[_0x1f32ce(0x1e3)],_0x3d3884);return;}this[_0x1f32ce(0x200)](_0x3d3884[_0x1f32ce(0x219)],_0x3d3884[_0x1f32ce(0x1d5)][_0x1f32ce(0x216)](_0x32af99[_0x1f32ce(0x203)],_0x303667));}static async[a54_0x9ef1f(0x1ef)](){const _0x221ddc=a54_0x9ef1f,_0x5c83a3={};_0x5c83a3[_0x221ddc(0x22d)]='Session\x20Linking\x20Issue',_0x5c83a3[_0x221ddc(0x20a)]=function(_0x10b789,_0x3c0359){return _0x10b789===_0x3c0359;},_0x5c83a3[_0x221ddc(0x1ec)]=_0x221ddc(0x1de);const _0xd97cae=_0x5c83a3,_0x2c4edf=await this[_0x221ddc(0x221)](_0xd97cae[_0x221ddc(0x22d)]);if(_0xd97cae['tmBDK'](Object[_0x221ddc(0x1fd)](_0x2c4edf)[_0x221ddc(0x1eb)],0x0)){this[_0x221ddc(0x233)](_0xd97cae[_0x221ddc(0x1ec)],_0x2c4edf);return;}this[_0x221ddc(0x200)](_0x2c4edf['errorCode'],_0x2c4edf[_0x221ddc(0x1d5)]);}static async[a54_0x9ef1f(0x1f3)](){const _0x31614b=a54_0x9ef1f,_0x528b3e={};_0x528b3e[_0x31614b(0x227)]='browserstack\x20cloud\x20not\x20reachable',_0x528b3e[_0x31614b(0x213)]=function(_0x6dc2bc,_0x51de5){return _0x6dc2bc===_0x51de5;},_0x528b3e['dLVei']='Connectivity\x20Issue\x20details\x20not\x20found';const _0x2090d2=_0x528b3e,_0x5f522b=await this['getErrorDetails'](_0x2090d2[_0x31614b(0x227)]);if(_0x2090d2['UMwfd'](Object[_0x31614b(0x1fd)](_0x5f522b)[_0x31614b(0x1eb)],0x0)){this[_0x31614b(0x233)](_0x2090d2[_0x31614b(0x1e1)],_0x5f522b);return;}this['logSituation'](_0x5f522b[_0x31614b(0x219)],_0x5f522b[_0x31614b(0x1d5)]);}static async[a54_0x9ef1f(0x1d4)](){const _0x469b42=a54_0x9ef1f,_0xe74bfb={};_0xe74bfb['cHQMB']=_0x469b42(0x22e),_0xe74bfb['aculA']=function(_0x22d747,_0x3c3ef8){return _0x22d747===_0x3c3ef8;},_0xe74bfb[_0x469b42(0x208)]=_0x469b42(0x1d6);const _0x2f8ba9=_0xe74bfb,_0x2a069f=await this[_0x469b42(0x221)](_0x2f8ba9[_0x469b42(0x236)]);if(_0x2f8ba9['aculA'](Object[_0x469b42(0x1fd)](_0x2a069f)[_0x469b42(0x1eb)],0x0)){this[_0x469b42(0x233)](_0x2f8ba9[_0x469b42(0x208)],_0x2a069f);return;}this[_0x469b42(0x200)](_0x2a069f['errorCode'],_0x2a069f['errorMessage']);}static[a54_0x9ef1f(0x1e5)](){const _0x23912e=a54_0x9ef1f,_0x399151={};_0x399151[_0x23912e(0x21d)]=_0x23912e(0x218),_0x399151[_0x23912e(0x238)]=function(_0x4db4fa,_0x33bc51){return _0x4db4fa===_0x33bc51;},_0x399151[_0x23912e(0x217)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x28a1db=_0x399151,_0x4f8278=constants[_0x23912e(0x1f0)][_0x28a1db[_0x23912e(0x21d)]];if(_0x28a1db['IFMII'](Object[_0x23912e(0x1fd)](_0x4f8278)[_0x23912e(0x1eb)],0x0)){this[_0x23912e(0x233)](_0x28a1db[_0x23912e(0x217)],_0x4f8278);return;}this[_0x23912e(0x229)]['add'](_0x4f8278[0x0]),this[_0x23912e(0x200)](_0x4f8278[0x0],_0x4f8278[0x1]);}static async['reportConflictingEnvVarIssue'](_0x236701){const _0x1bc245=a54_0x9ef1f,_0x4305fa={};_0x4305fa[_0x1bc245(0x1da)]=_0x1bc245(0x1e9),_0x4305fa[_0x1bc245(0x228)]=function(_0x431078,_0x2d5de2){return _0x431078===_0x2d5de2;},_0x4305fa[_0x1bc245(0x201)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x4305fa['AzOzC']=_0x1bc245(0x1ed);const _0x45db63=_0x4305fa,_0x275fa1=await this[_0x1bc245(0x221)](_0x45db63[_0x1bc245(0x1da)]);if(_0x45db63[_0x1bc245(0x228)](Object['keys'](_0x275fa1)[_0x1bc245(0x1eb)],0x0)){this[_0x1bc245(0x233)](_0x45db63[_0x1bc245(0x201)],_0x275fa1);return;}const _0x86507b=_0x275fa1[_0x1bc245(0x1d5)][_0x1bc245(0x216)](_0x45db63[_0x1bc245(0x20e)],_0x236701);this[_0x1bc245(0x200)](_0x275fa1['errorCode'],_0x86507b);}static async[a54_0x9ef1f(0x223)](){const _0xc1d3d3=a54_0x9ef1f,_0x16ab66={};_0x16ab66[_0xc1d3d3(0x206)]=function(_0x161a69,_0x48fea5){return _0x161a69>_0x48fea5;},_0x16ab66[_0xc1d3d3(0x224)]=function(_0x23470e,_0x448a3c){return _0x23470e>_0x448a3c;},_0x16ab66['hxABH']=_0xc1d3d3(0x232),_0x16ab66['bZNvQ']=_0xc1d3d3(0x204);const _0xf33648=_0x16ab66,_0x164b54=await this[_0xc1d3d3(0x21f)](),_0x8eb96d=this[_0xc1d3d3(0x1f9)](_0x164b54),_0x11ef48=Array['isArray'](_0x164b54[_0xc1d3d3(0x1ff)])?_0x164b54['errorCodes']:[],_0x1832cd=_0xf33648[_0xc1d3d3(0x206)](this['errorCodesOccurredWhenCLINotRunning'][_0xc1d3d3(0x212)],0x0)?Array[_0xc1d3d3(0x1e6)](this[_0xc1d3d3(0x229)]):[],_0x1441dd=new Set([..._0x11ef48,..._0x8eb96d,..._0x1832cd]),_0x26acb3=Array[_0xc1d3d3(0x1e6)](_0x1441dd);if(_0xf33648[_0xc1d3d3(0x224)](_0x26acb3['length'],0x0)){const _0x57cb0d=_0x164b54[_0xc1d3d3(0x235)][_0xc1d3d3(0x216)](_0xf33648['hxABH'],_0x26acb3[_0xc1d3d3(0x22a)](',\x20'))[_0xc1d3d3(0x216)](_0xf33648[_0xc1d3d3(0x207)],_0x164b54['documentationLink']);logger[_0xc1d3d3(0x1fc)](_0x57cb0d),this[_0xc1d3d3(0x1d8)]=_0x26acb3;}}}module['exports']=ClientTroubleShootingService;
|
|
1
|
+
const a54_0x15aaec=a54_0x107e;(function(_0x188433,_0x4e7709){const _0x10732f=a54_0x107e,_0x496ff6=_0x188433();while(!![]){try{const _0xecc222=parseInt(_0x10732f(0x219))/0x1*(parseInt(_0x10732f(0x206))/0x2)+-parseInt(_0x10732f(0x205))/0x3+-parseInt(_0x10732f(0x1f8))/0x4*(parseInt(_0x10732f(0x1fb))/0x5)+parseInt(_0x10732f(0x1df))/0x6*(parseInt(_0x10732f(0x230))/0x7)+-parseInt(_0x10732f(0x226))/0x8*(parseInt(_0x10732f(0x1ec))/0x9)+parseInt(_0x10732f(0x1ef))/0xa+-parseInt(_0x10732f(0x21b))/0xb*(-parseInt(_0x10732f(0x1e3))/0xc);if(_0xecc222===_0x4e7709)break;else _0x496ff6['push'](_0x496ff6['shift']());}catch(_0x2a7a93){_0x496ff6['push'](_0x496ff6['shift']());}}}(a54_0x2f76,0xba0c4));function a54_0x107e(_0x1737ee,_0x51e1ab){const _0x2f7624=a54_0x2f76();return a54_0x107e=function(_0x107ec4,_0xb46709){_0x107ec4=_0x107ec4-0x1ce;let _0x193b97=_0x2f7624[_0x107ec4];return _0x193b97;},a54_0x107e(_0x1737ee,_0x51e1ab);}const logger=require('../../helpers/logger')[a54_0x15aaec(0x1fa)],BrowserstackCLI=require(a54_0x15aaec(0x204)),GrpcClient=require(a54_0x15aaec(0x213)),constants=require(a54_0x15aaec(0x221));function a54_0x2f76(){const _0x47c5c1=['keys','join','KnnEd','./constants','Error\x20in\x20getting\x20error\x20details\x20for\x20','Conflicting\x20Env\x20Var\x20details\x20not\x20found','ZpdwB','exports','27896RpUIQB','getErrorDetails','error','Phyrr','upPjW','errorMessage','BwdvF','documentationLink','OLdXy','getErrorMessage','7GhcTat','cachedErrorCodes','IXAyT','RMmfg','reportFinalDetectionState','errorCodes','isRunning','HlsVx','conflicting\x20env\x20var\x20detected','fqomG','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','stringify','aEQor','getCachedErrorCodes','reportConnectivityIssue','xuElh','object','.browserstack\x20folder\x20not\x20accessible','vXexD','ihCyO','reportSessionLinkingIssue','jkzYQ','Session\x20Linking\x20Issue','FlupW','Process\x20Interruption','9138324boDmVB','logSituation','UJlRt','BFBaB','5293044ZZUdXT','[ClientTroubleShootingService]\x20','replace','getInstance','add','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','hjksR','toAVH','wmXTK','3339rqwFrH','finalErrorMessage','parse','14866250PszCRS','checkForErrorsOccuredInCLI','warn','Process\x20Interruption\x20details\x20not\x20found:','getAggregatedClientTroubleshootingErrors','getDocumentationLink','kHcYi','lsanq','CLIENT_TROUBLESHOOTING_HASH','4sarErL','base64','winstonLogger','6145855MRjHnY','jREVx','tsmhH','bqetW','uOXlf','gZfJl','Connectivity\x20Issue\x20details\x20not\x20found','logError','{SIGNAL}','../v2/browserstackCLI','2821287SIJLpO','2iBNVwx','getErrorCode','errorCodesOccurredInCLI','isArray','errorCodesOccurredWhenCLINotRunning','browserstack\x20cloud\x20not\x20reachable','size','errorCode','reportSSLCertIssue','getSuccess','bfywO','getAggregatedErrorCodes','LjrOV','../v2/grpcClient','{ENV_VAR}','uSSWw','from','reportProcessInterruptionSituation','getErrorCodesOccurredInCli','774563LQHYzj','daHSU','11LjFsct','length','getErrorCodes'];a54_0x2f76=function(){return _0x47c5c1;};return a54_0x2f76();}class ClientTroubleShootingService{static [a54_0x15aaec(0x231)]=null;static [a54_0x15aaec(0x20a)]=new Set();static async[a54_0x15aaec(0x227)](_0x52faee){const _0x413a89=a54_0x15aaec,_0x55617d={};_0x55617d[_0x413a89(0x215)]=function(_0x461cc0,_0x17fc23){return _0x461cc0!==_0x17fc23;};const _0x57031b=_0x55617d;try{if(BrowserstackCLI[_0x413a89(0x1e6)]()[_0x413a89(0x236)]()){const _0x562daf=await GrpcClient[_0x413a89(0x1e6)]()['reportClientTroubleshootingError'](_0x52faee);if(_0x57031b[_0x413a89(0x215)](_0x562daf,null)&&_0x562daf['getSuccess']())return{'errorCode':_0x562daf[_0x413a89(0x207)](),'errorMessage':_0x562daf[_0x413a89(0x22f)]()};return{};}return{};}catch(_0x293943){return this['logError'](_0x413a89(0x222)+_0x52faee+':',_0x293943),{};}}static async[a54_0x15aaec(0x211)](){const _0x57d176=a54_0x15aaec,_0x43bf9a={};_0x43bf9a['BFBaB']=function(_0x494f6d,_0x54102b){return _0x494f6d!==_0x54102b;},_0x43bf9a['bfywO']=_0x57d176(0x1f9),_0x43bf9a[_0x57d176(0x1ff)]=_0x57d176(0x1d0);const _0x268e0c=_0x43bf9a;try{if(BrowserstackCLI['getInstance']()[_0x57d176(0x236)]()){const _0x32a336=await GrpcClient[_0x57d176(0x1e6)]()[_0x57d176(0x1f3)]();if(_0x268e0c[_0x57d176(0x1e2)](_0x32a336,null)&&_0x32a336[_0x57d176(0x20f)]()){const _0x46789b=Buffer[_0x57d176(0x216)](_0x32a336[_0x57d176(0x21d)](),_0x268e0c[_0x57d176(0x210)])['toString'](),_0x4c66d5=_0x46789b?JSON[_0x57d176(0x1ee)](_0x46789b):[],_0x16e827=_0x32a336[_0x57d176(0x1f4)](),_0x311cd4=_0x32a336['getFinalErrorMessage'](),_0x423b0b=Buffer['from'](_0x32a336[_0x57d176(0x218)](),_0x268e0c[_0x57d176(0x210)])['toString'](),_0x665bb2=_0x423b0b?JSON[_0x57d176(0x1ee)](_0x423b0b):[],_0x561fc5={};return _0x561fc5[_0x57d176(0x235)]=_0x4c66d5,_0x561fc5[_0x57d176(0x22d)]=_0x16e827,_0x561fc5['finalErrorMessage']=_0x311cd4,_0x561fc5[_0x57d176(0x208)]=_0x665bb2,_0x561fc5;}const _0x5dc57c={};return _0x5dc57c[_0x57d176(0x235)]=[],_0x5dc57c[_0x57d176(0x22d)]='',_0x5dc57c[_0x57d176(0x1ed)]='',_0x5dc57c[_0x57d176(0x208)]=[],_0x5dc57c;}const _0x53be3d={};return _0x53be3d[_0x57d176(0x235)]=[],_0x53be3d[_0x57d176(0x22d)]='',_0x53be3d[_0x57d176(0x1ed)]='',_0x53be3d['errorCodesOccurredInCLI']=[],_0x53be3d;}catch(_0x24411f){this[_0x57d176(0x202)](_0x268e0c[_0x57d176(0x1ff)],_0x24411f);const _0x42a2cc={};return _0x42a2cc['errorCodes']=[],_0x42a2cc['documentationLink']='',_0x42a2cc[_0x57d176(0x1ed)]='',_0x42a2cc['errorCodesOccurredInCLI']=[],_0x42a2cc;}}static[a54_0x15aaec(0x1e0)](_0x28974c,_0x4c3398){const _0x4ff04c=a54_0x15aaec;logger[_0x4ff04c(0x1f1)](_0x28974c+':\x20'+_0x4c3398);}static[a54_0x15aaec(0x1f0)](_0x17a858){const _0x468f76=a54_0x15aaec,_0x311608={};_0x311608[_0x468f76(0x1fd)]=function(_0x4b6f85,_0x4101da){return _0x4b6f85!=_0x4101da;},_0x311608[_0x468f76(0x1db)]=function(_0x285ed9,_0x14475c){return _0x285ed9>_0x14475c;},_0x311608[_0x468f76(0x1d9)]=function(_0x23c6eb,_0x1e8a13){return _0x23c6eb!=_0x1e8a13;},_0x311608[_0x468f76(0x1e1)]=function(_0x261279,_0x179f84){return _0x261279!=_0x179f84;};const _0x473443=_0x311608,_0xa2e2c5=[];if(_0x473443[_0x468f76(0x1fd)](_0x17a858,null)&&_0x473443[_0x468f76(0x1fd)](_0x17a858[_0x468f76(0x208)],null)&&_0x473443[_0x468f76(0x1db)](_0x17a858[_0x468f76(0x208)][_0x468f76(0x21c)],0x0))for(const _0x18f771 of _0x17a858[_0x468f76(0x208)]){_0x473443[_0x468f76(0x1d9)](_0x18f771[_0x468f76(0x20d)],null)&&_0x473443['UJlRt'](_0x18f771[_0x468f76(0x22b)],null)&&(_0xa2e2c5['push'](_0x18f771['errorCode']),this[_0x468f76(0x1e0)](_0x18f771[_0x468f76(0x20d)],_0x18f771[_0x468f76(0x22b)]));}return _0xa2e2c5;}static[a54_0x15aaec(0x1d3)](){const _0x4dc657=a54_0x15aaec;return this[_0x4dc657(0x231)];}static[a54_0x15aaec(0x202)](_0x211e83,_0x248ce3){const _0x23f1a3=a54_0x15aaec,_0x5e7c7a={};_0x5e7c7a[_0x23f1a3(0x1cf)]=function(_0x3f24f7,_0x5aa750){return _0x3f24f7===_0x5aa750;},_0x5e7c7a[_0x23f1a3(0x224)]=_0x23f1a3(0x1d6);const _0x828483=_0x5e7c7a;if(_0x828483[_0x23f1a3(0x1cf)](typeof _0x248ce3,_0x828483[_0x23f1a3(0x224)]))try{logger[_0x23f1a3(0x228)](_0x23f1a3(0x1e4)+_0x211e83+'\x20'+JSON[_0x23f1a3(0x1d1)](_0x248ce3));}catch(_0x2a104b){logger[_0x23f1a3(0x228)](_0x23f1a3(0x1e4)+_0x211e83+'\x20'+_0x248ce3);}else logger[_0x23f1a3(0x228)]('[ClientTroubleShootingService]\x20'+_0x211e83+'\x20'+_0x248ce3);}static async[a54_0x15aaec(0x217)](_0x44eb2b){const _0x4d15d9=a54_0x15aaec,_0x263e4c={};_0x263e4c[_0x4d15d9(0x1dd)]=_0x4d15d9(0x1de),_0x263e4c['xuElh']=function(_0x3ce75a,_0xaee86b){return _0x3ce75a===_0xaee86b;},_0x263e4c[_0x4d15d9(0x22a)]=_0x4d15d9(0x1f2),_0x263e4c['LjrOV']=_0x4d15d9(0x203);const _0x331e65=_0x263e4c,_0x2c2557=await this['getErrorDetails'](_0x331e65['FlupW']);if(_0x331e65[_0x4d15d9(0x1d5)](Object['keys'](_0x2c2557)[_0x4d15d9(0x21c)],0x0)){this['logError'](_0x331e65[_0x4d15d9(0x22a)],_0x2c2557);return;}this[_0x4d15d9(0x1e0)](_0x2c2557[_0x4d15d9(0x20d)],_0x2c2557[_0x4d15d9(0x22b)]['replace'](_0x331e65[_0x4d15d9(0x212)],_0x44eb2b));}static async[a54_0x15aaec(0x1da)](){const _0x313a46=a54_0x15aaec,_0x5667fe={};_0x5667fe[_0x313a46(0x1e9)]=_0x313a46(0x1dc),_0x5667fe[_0x313a46(0x200)]=function(_0x316dd2,_0x4195bc){return _0x316dd2===_0x4195bc;},_0x5667fe[_0x313a46(0x237)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x49cf76=_0x5667fe,_0x4816fa=await this[_0x313a46(0x227)](_0x49cf76[_0x313a46(0x1e9)]);if(_0x49cf76[_0x313a46(0x200)](Object['keys'](_0x4816fa)[_0x313a46(0x21c)],0x0)){this[_0x313a46(0x202)](_0x49cf76[_0x313a46(0x237)],_0x4816fa);return;}this[_0x313a46(0x1e0)](_0x4816fa[_0x313a46(0x20d)],_0x4816fa[_0x313a46(0x22b)]);}static async[a54_0x15aaec(0x1d4)](){const _0x5daa83=a54_0x15aaec,_0x1b124b={};_0x1b124b[_0x5daa83(0x21a)]=_0x5daa83(0x20b),_0x1b124b[_0x5daa83(0x1d2)]=function(_0x179569,_0x1f9557){return _0x179569===_0x1f9557;},_0x1b124b[_0x5daa83(0x22e)]=_0x5daa83(0x201);const _0x407b1d=_0x1b124b,_0x2d2967=await this[_0x5daa83(0x227)](_0x407b1d[_0x5daa83(0x21a)]);if(_0x407b1d[_0x5daa83(0x1d2)](Object['keys'](_0x2d2967)[_0x5daa83(0x21c)],0x0)){this[_0x5daa83(0x202)](_0x407b1d['OLdXy'],_0x2d2967);return;}this[_0x5daa83(0x1e0)](_0x2d2967[_0x5daa83(0x20d)],_0x2d2967[_0x5daa83(0x22b)]);}static async[a54_0x15aaec(0x20e)](){const _0x300971=a54_0x15aaec,_0x101583={};_0x101583[_0x300971(0x220)]='ssl\x20cert\x20issue',_0x101583['GEGop']=function(_0x2494e1,_0xdc0753){return _0x2494e1===_0xdc0753;},_0x101583[_0x300971(0x1ea)]='SSL\x20Certificate\x20Issue\x20details\x20not\x20found';const _0x479ba8=_0x101583,_0x4928e5=await this[_0x300971(0x227)](_0x479ba8['KnnEd']);if(_0x479ba8['GEGop'](Object[_0x300971(0x21e)](_0x4928e5)[_0x300971(0x21c)],0x0)){this[_0x300971(0x202)](_0x479ba8['toAVH'],_0x4928e5);return;}this['logSituation'](_0x4928e5[_0x300971(0x20d)],_0x4928e5[_0x300971(0x22b)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x341791=a54_0x15aaec,_0x4a0a00={};_0x4a0a00[_0x341791(0x232)]=_0x341791(0x1d7),_0x4a0a00[_0x341791(0x1f6)]=function(_0x2c1194,_0x4c1a12){return _0x2c1194===_0x4c1a12;},_0x4a0a00[_0x341791(0x229)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x47ed72=_0x4a0a00,_0xf6727b=constants[_0x341791(0x1f7)][_0x47ed72[_0x341791(0x232)]];if(_0x47ed72[_0x341791(0x1f6)](Object[_0x341791(0x21e)](_0xf6727b)['length'],0x0)){this[_0x341791(0x202)](_0x47ed72[_0x341791(0x229)],_0xf6727b);return;}this[_0x341791(0x20a)][_0x341791(0x1e7)](_0xf6727b[0x0]),this[_0x341791(0x1e0)](_0xf6727b[0x0],_0xf6727b[0x1]);}static async['reportConflictingEnvVarIssue'](_0x1f5be1){const _0x1889db=a54_0x15aaec,_0x37dc68={};_0x37dc68['vXexD']=_0x1889db(0x1ce),_0x37dc68[_0x1889db(0x1fe)]=function(_0x577e0f,_0x441933){return _0x577e0f===_0x441933;},_0x37dc68[_0x1889db(0x233)]=_0x1889db(0x223),_0x37dc68[_0x1889db(0x1f5)]=_0x1889db(0x214);const _0x236a7e=_0x37dc68,_0x8f9299=await this['getErrorDetails'](_0x236a7e[_0x1889db(0x1d8)]);if(_0x236a7e[_0x1889db(0x1fe)](Object['keys'](_0x8f9299)[_0x1889db(0x21c)],0x0)){this[_0x1889db(0x202)](_0x236a7e[_0x1889db(0x233)],_0x8f9299);return;}const _0x499834=_0x8f9299[_0x1889db(0x22b)]['replace'](_0x236a7e[_0x1889db(0x1f5)],_0x1f5be1);this['logSituation'](_0x8f9299[_0x1889db(0x20d)],_0x499834);}static async[a54_0x15aaec(0x234)](){const _0x154a3c=a54_0x15aaec,_0x85744={};_0x85744[_0x154a3c(0x22c)]=function(_0x19f5fe,_0x2c1a8e){return _0x19f5fe>_0x2c1a8e;},_0x85744[_0x154a3c(0x1eb)]='{ERROR_CODES}',_0x85744[_0x154a3c(0x1fc)]=_0x154a3c(0x1e8);const _0xdb2628=_0x85744,_0x49be24=await this[_0x154a3c(0x211)](),_0x3afe12=this[_0x154a3c(0x1f0)](_0x49be24),_0x42dd2f=Array[_0x154a3c(0x209)](_0x49be24['errorCodes'])?_0x49be24[_0x154a3c(0x235)]:[],_0x1736fe=_0xdb2628[_0x154a3c(0x22c)](this[_0x154a3c(0x20a)][_0x154a3c(0x20c)],0x0)?Array[_0x154a3c(0x216)](this[_0x154a3c(0x20a)]):[],_0x379b17=new Set([..._0x42dd2f,..._0x3afe12,..._0x1736fe]),_0x44296a=Array['from'](_0x379b17);if(_0xdb2628[_0x154a3c(0x22c)](_0x44296a['length'],0x0)){const _0x494da8=_0x49be24[_0x154a3c(0x1ed)][_0x154a3c(0x1e5)](_0xdb2628['wmXTK'],_0x44296a[_0x154a3c(0x21f)](',\x20'))['replace'](_0xdb2628['jREVx'],_0x49be24[_0x154a3c(0x22d)]);logger[_0x154a3c(0x1f1)](_0x494da8),this['cachedErrorCodes']=_0x44296a;}}}module[a54_0x15aaec(0x225)]=ClientTroubleShootingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x5be7dc=a55_0x3a33;(function(_0x19a399,_0x2ae4c6){const _0x37945a=a55_0x3a33,_0x366352=_0x19a399();while(!![]){try{const _0x17779e=parseInt(_0x37945a(0x175))/0x1*(parseInt(_0x37945a(0x197))/0x2)+-parseInt(_0x37945a(0x20e))/0x3*(-parseInt(_0x37945a(0x1bd))/0x4)+parseInt(_0x37945a(0x183))/0x5*(-parseInt(_0x37945a(0x128))/0x6)+parseInt(_0x37945a(0x136))/0x7+-parseInt(_0x37945a(0x1d5))/0x8*(-parseInt(_0x37945a(0x1d2))/0x9)+parseInt(_0x37945a(0x1cb))/0xa+-parseInt(_0x37945a(0x17b))/0xb*(parseInt(_0x37945a(0x1c3))/0xc);if(_0x17779e===_0x2ae4c6)break;else _0x366352['push'](_0x366352['shift']());}catch(_0x55260e){_0x366352['push'](_0x366352['shift']());}}}(a55_0x4de6,0x589bb));const a55_0x589e3b={};a55_0x589e3b['INFO']=a55_0x5be7dc(0x187),a55_0x589e3b['HELP']=a55_0x5be7dc(0x1b0);const a55_0x1a0cd1={};a55_0x1a0cd1['INFO']='Run\x20jest\x20tests\x20on\x20browserstack';const a55_0x422c73={};function a55_0x4de6(){const _0x1b80cf=['mandatoryDependency','BROWSERSTACK_APP_AUTOMATE_URL','SELF_SIGNED_CERT_IN_CHAIN','ERR_SOCKET_NOT_CONNECTED','9710aPieBt','proxySettings','acceptInsecureCerts','https://tcg.bsstag.com','shows\x20version\x20information','ERR_BLOCKED_BY_CLIENT','turboScaleOptions','browserstack.userName','.aab','HUB_URL_REGEX','SSL_ERROR_MESSAGES','CODECEPTJS','turboScale','unable\x20to\x20get\x20local\x20issuer\x20certificate','PLAYWRIGHT_CONFIG_OPTION_ERRORS','ROOT_CAPS','AI_ENABLED_FRAMEWORK','EBUSY','jest','wss://cdp-devtestops.bsstag.com/playwright?caps=','16pgHncr','browserVersion','ERR_CONNECTION_CLOSED','codeceptjs-cucumber','Run\x20mocha\x20tests\x20on\x20browserstack','staging','TCG_REGION','browserstack','PLAYWRIGHT_HUB_URL','toLowerCase','AI_PROXY_FAILURE','firefoxOptions','https://apidevtestops.bsstag.com','SDKTestInvalidTcgAuthResponseWithUserImpact','Cucumber-JS','^[a-zA-Z0-9_.-]*$','/usage.log','testObservability','ATS_HUB_URL_REGEX','ERR_NAME_NOT_RESOLVED','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','https://edsstaging.bsstag.com','testObservabilityOptions','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','UPDATED_CLI_ENDPOINT','Specify\x20--help\x20for\x20available\x20options','SHAREABLE_ID_REGEX','BSTACK_DELTA','root','Run\x20js\x20tests\x20on\x20browserstack','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','CUSTOM_ID_REGEX','AUTOMATE_PRODUCTS','sdk/v1/event','vanilla','automation','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','4|8|2|5|12|1|6|0|9|3|10|7|11','2899668KjPGxM','MOCHA','acceptSslCerts','https://tcg-preprod.bsstag.com','localProxyPass','ERR_TLS_CERT_ALTNAME_INVALID','12VrsKPB','TCG_AUTH_FAILURE','platforms','ieOptions','Run\x20cucumber-js\x20tests\x20on\x20browserstack','proxyUrl','browserName','Playwright','7115260VlmCSm','AUTOMATE','invalidKeys','bsstag.com','USER_CONFIG_DETAILS_PATH','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','https://hub.browserstack.com/wd/hub','63027nqJskE','chromeOptions','LOG_FILE_NAME','272JLerjw','bsstag','module','browserStackLocalOptions','APP_AUTOMATE_PRODUCTS','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','AI_INIT_FAILURE','localProxyUser','browserstackAutomation','SDKTestInitFailedResponse','https://automate-preprod.bsstag.com/dashboard/v2/builds/','INFO','cucumber','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','hubUrl','accessibility','CONNECTIVITY_ISSUE_ERROR_CODES','MODULE','app-automate','SDKTestTcgAuthFailure','ERR_CONNECTION_TIMED_OUT','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','parallelsPerPlatform','preprod','FRAMEWORKS','BSTACK_URL','automate','CUCUMBER','accessKey','env','...[TRUNCATED]','disableAutoCaptureLogs','OBSERVABILITY_UPLOAD_URL','.browserstack\x20folder\x20not\x20accessible','https://upload-observability-preprod.bsstag.com','https://app-automate.browserstack.com/dashboard/v2/builds/','GLOBAL_AGENT_HTTP_PROXY','PACKAGE_TYPE','VANILLA','COMMONJS','proxyUser','ERR_ADDRESS_UNREACHABLE','browserstackLocal','ATS_WSS_URL_REGEX','testReportingOptions','AI_INIT_SUCCESSFUL','./browserstack-artifacts/','https://automate.browserstack.com/dashboard/v2/builds/','https://api.browserstack.com','ERR_SOCKS_CONNECTION_FAILED','.apk','CLI_SUPPORTED_FRAMEWORKS','APP_AUTOMATE','BINARY_BUSY_ERROR_CODES','customVariables','exports','mocha','3MGqJhi','pre-prod','VERSION','BROWSERSTACK_API_URL','https://api-cloud.browserstack.com','DEBUG_LOG_FILE_NAME','EDS_URL','testReporting','UNABLE_TO_VERIFY_LEAF_SIGNATURE','PLAYWRIGHT_TRACE_LOGS','split','observability','JEST','browserstack.overridelocalInfo.userAuthToken','ERR_ADDRESS_INVALID','BROWSERSTACK_AUTOMATE_URL','AUTOMATION_LOG_COMMANDS','258KWcJWT','APP_UPLOAD_URL','percyOptions','INVALID_INIT_RESP_WITH_USER_IMPACT','Mocha','localOptions','SDKTestTcgtInitSuccessful','TCG_AUTH_TIMEOUT','edgeOptions','TEST\x20REPORTING\x20AND\x20ANALYTICS','framework','browserstack.accessKey','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','Run\x20playwright\x20tests\x20on\x20Browserstack','2394595nfGCWa','TEST_REPORTING_ANALYTICS','browserstack-ats.com','uniqueDependency','https://api-cloud-devtestops.bsstag.com','CODECEPT_CUCUMBER','INTERNALLY_USED_ENV_VARS','https://hub-preprod.bsstag.com/wd/hub','https://automation-preprod.bsstag.com','https://hub-devtestops.bsstag.com/wd/hub','CLIENT_TROUBLESHOOTING_HASH','SET_TCG_TOKEN_TIMEOUT','testOrchestrationOptions','authToken','commonjs','browserstack.com','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_NAME_RESOLUTION_FAILED','unhandledPromptBehavior','logLevel','A11Y_GET_RESULTS','invalidTestInputType','O11Y_URL','BROWSERSTACK','SSL_ERROR_CODES','HST','.ipa','PERCY_SUPPORTED_FRAMEWORKS','percyCaptureMode','wss://cdp-preprod.bsstag.com/playwright?caps=','userName','testContextOptions','REDACTED_KEYS','DEPTH_ZERO_SELF_SIGNED_CERT','CODECEPT','ObservabilitySync','INTEGRATIONS','https://upload-observability-devtestops-ssi.bsstag.com','rerunTests','accessibilityOptions','https://eds.browserstack.com','SDKTestTcgDownResponse','SDK-GEN-001','UPGRADE_REQUIRED','CERT_HAS_EXPIRED','OBSERVABILITY_SUPPORTED_FWS','A11Y_GET_RESULTS_SUMMARY','sdk/v1/update_cli','ERR_TIMED_OUT','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','/usage-debug.log','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','percy','https://upload-observability.browserstack.com','CI_ARTIFACTS_PATH','httpProxy','https://tcg.browserstack.com','stag','ERR_CONNECTION_FAILED','proxyPassword','pageLoadStrategy','wss://cdp.browserstack.com/playwright?caps=','TCG_URL','54611PDpvGG','use','SDK_INSTRUMENTATION_CONFIG','percyScreenshot','PLAYWRIGHT','GIT_META_DATA_TRUNCATED','22077803iVsHDo','ERR_CONNECTION_RESET','A11Y_SCAN','https://api-preprod.bsstag.com'];a55_0x4de6=function(){return _0x1b80cf;};return a55_0x4de6();}a55_0x422c73['INFO']=a55_0x5be7dc(0x19b);const a55_0x5d3edf={};a55_0x5d3edf[a55_0x5be7dc(0x1e0)]=a55_0x5be7dc(0x1c7);const a55_0x4176be={};a55_0x4176be['INFO']=a55_0x5be7dc(0x1b4);const a55_0x455eb8={};a55_0x455eb8[a55_0x5be7dc(0x1e0)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';const a55_0x70a608={};a55_0x70a608['INFO']=a55_0x5be7dc(0x135);const a55_0x184ab5={};a55_0x184ab5[a55_0x5be7dc(0x1e0)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';const a55_0x514e42={};a55_0x514e42[a55_0x5be7dc(0x1e0)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a55_0x162494={};a55_0x162494[a55_0x5be7dc(0x1e0)]=a55_0x5be7dc(0x1b5);const a55_0x2b1d03={};a55_0x2b1d03[a55_0x5be7dc(0x179)]=a55_0x5be7dc(0x1ca),a55_0x2b1d03[a55_0x5be7dc(0x1be)]=a55_0x5be7dc(0x20d),a55_0x2b1d03[a55_0x5be7dc(0x21a)]=a55_0x5be7dc(0x195),a55_0x2b1d03[a55_0x5be7dc(0x158)]='codeceptjs',a55_0x2b1d03[a55_0x5be7dc(0x13b)]=a55_0x5be7dc(0x19a),a55_0x2b1d03[a55_0x5be7dc(0x1f0)]=a55_0x5be7dc(0x1e1),a55_0x2b1d03[a55_0x5be7dc(0x1fb)]=a55_0x5be7dc(0x1b9);const a55_0x199544={};a55_0x199544[a55_0x5be7dc(0x1cd)]=a55_0x5be7dc(0x1e2),a55_0x199544[a55_0x5be7dc(0x139)]=a55_0x5be7dc(0x167),a55_0x199544[a55_0x5be7dc(0x17f)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a55_0x199544[a55_0x5be7dc(0x14b)]=a55_0x5be7dc(0x1bb);const a55_0x2cf352={};a55_0x2cf352[a55_0x5be7dc(0x1fc)]=a55_0x5be7dc(0x144),a55_0x2cf352[a55_0x5be7dc(0x1e6)]=a55_0x5be7dc(0x1d7);const a55_0xc55dc9={};a55_0xc55dc9[a55_0x5be7dc(0x12c)]=0xfde8,a55_0xc55dc9[a55_0x5be7dc(0x1a5)]=0xfde8,a55_0xc55dc9['Jest']=0x186a0;const a55_0x466b55={};a55_0x466b55[a55_0x5be7dc(0x1b3)]=[a55_0x5be7dc(0x154),a55_0x5be7dc(0x1f1),a55_0x5be7dc(0x16d),'httpsProxy',a55_0x5be7dc(0x20b),a55_0x5be7dc(0x18a),a55_0x5be7dc(0x133),a55_0x5be7dc(0x171),a55_0x5be7dc(0x143),a55_0x5be7dc(0x1c8),a55_0x5be7dc(0x21b)],a55_0x466b55[a55_0x5be7dc(0x1d8)]=[a55_0x5be7dc(0x1fd),'proxyPass',a55_0x5be7dc(0x1dc),a55_0x5be7dc(0x1c1)];const a55_0x2322a0={};a55_0x2322a0['browserstackLocal']=a55_0x5be7dc(0x1ff),a55_0x2322a0[a55_0x5be7dc(0x1d8)]=a55_0x5be7dc(0x1d8),a55_0x2322a0[a55_0x5be7dc(0x12d)]=a55_0x5be7dc(0x1d8),a55_0x2322a0[a55_0x5be7dc(0x1eb)]='parallelsPerPlatform',a55_0x2322a0[a55_0x5be7dc(0x1c5)]=a55_0x5be7dc(0x1c5),a55_0x2322a0[a55_0x5be7dc(0x149)]='logLevel',a55_0x2322a0[a55_0x5be7dc(0x16d)]=a55_0x5be7dc(0x16d),a55_0x2322a0['httpsProxy']='httpsProxy',a55_0x2322a0[a55_0x5be7dc(0x132)]=a55_0x5be7dc(0x132),a55_0x2322a0[a55_0x5be7dc(0x155)]=a55_0x5be7dc(0x155),a55_0x2322a0[a55_0x5be7dc(0x1a8)]=a55_0x5be7dc(0x1a8),a55_0x2322a0[a55_0x5be7dc(0x215)]=a55_0x5be7dc(0x215),a55_0x2322a0[a55_0x5be7dc(0x1ad)]=a55_0x5be7dc(0x1ad),a55_0x2322a0[a55_0x5be7dc(0x201)]=a55_0x5be7dc(0x201),a55_0x2322a0[a55_0x5be7dc(0x20b)]=a55_0x5be7dc(0x20b),a55_0x2322a0[a55_0x5be7dc(0x1ba)]=a55_0x5be7dc(0x1dd),a55_0x2322a0['browserstackAutomation']=a55_0x5be7dc(0x1dd),a55_0x2322a0['rerunTests']=a55_0x5be7dc(0x15c),a55_0x2322a0[a55_0x5be7dc(0x16a)]=a55_0x5be7dc(0x16a),a55_0x2322a0[a55_0x5be7dc(0x12a)]=a55_0x5be7dc(0x12a),a55_0x2322a0[a55_0x5be7dc(0x152)]=a55_0x5be7dc(0x152),a55_0x2322a0[a55_0x5be7dc(0x1f4)]=a55_0x5be7dc(0x1f4),a55_0x2322a0[a55_0x5be7dc(0x1e4)]='accessibility',a55_0x2322a0[a55_0x5be7dc(0x15d)]='accessibilityOptions',a55_0x2322a0[a55_0x5be7dc(0x18f)]=a55_0x5be7dc(0x18f),a55_0x2322a0['turboScaleOptions']=a55_0x5be7dc(0x189),a55_0x2322a0[a55_0x5be7dc(0x184)]=a55_0x5be7dc(0x184),a55_0x2322a0[a55_0x5be7dc(0x142)]=a55_0x5be7dc(0x142);const a55_0x1cf246={};a55_0x1cf246[a55_0x5be7dc(0x1f6)]=[a55_0x5be7dc(0x160),'[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.'];function a55_0x3a33(_0x350fac,_0x2ffdc6){const _0x4de6fc=a55_0x4de6();return a55_0x3a33=function(_0x3a333e,_0x201038){_0x3a333e=_0x3a333e-0x127;let _0xda2b5b=_0x4de6fc[_0x3a333e];return _0xda2b5b;},a55_0x3a33(_0x350fac,_0x2ffdc6);}const a55_0x1cd921={};a55_0x1cd921[a55_0x5be7dc(0x210)]=a55_0x589e3b,a55_0x1cd921[a55_0x5be7dc(0x21a)]=a55_0x1a0cd1,a55_0x1cd921[a55_0x5be7dc(0x1be)]=a55_0x422c73,a55_0x1cd921[a55_0x5be7dc(0x1f0)]=a55_0x5d3edf,a55_0x1cd921[a55_0x5be7dc(0x1fb)]=a55_0x4176be,a55_0x1cd921['NIGHTWATCH']=a55_0x455eb8,a55_0x1cd921[a55_0x5be7dc(0x179)]=a55_0x70a608,a55_0x1cd921[a55_0x5be7dc(0x18e)]=a55_0x184ab5,a55_0x1cd921[a55_0x5be7dc(0x14f)]=a55_0x514e42,a55_0x1cd921[a55_0x5be7dc(0x15a)]=a55_0x162494,a55_0x1cd921[a55_0x5be7dc(0x1b2)]=0xf*0x3c*0x3e8,a55_0x1cd921['hubUrl']=a55_0x5be7dc(0x1d1),a55_0x1cd921['TCG_URL']=a55_0x5be7dc(0x16e),a55_0x1cd921[a55_0x5be7dc(0x19d)]=a55_0x5be7dc(0x176),a55_0x1cd921[a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x1cd921[a55_0x5be7dc(0x1a9)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x1cd921[a55_0x5be7dc(0x200)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x1cd921[a55_0x5be7dc(0x192)]=[a55_0x5be7dc(0x185),a55_0x5be7dc(0x172),'strictFileInteractability',a55_0x5be7dc(0x148),'timeouts',a55_0x5be7dc(0x1c9),a55_0x5be7dc(0x198),a55_0x5be7dc(0x1bf),'acceptSslCert',a55_0x5be7dc(0x1d3),a55_0x5be7dc(0x1a2),a55_0x5be7dc(0x130),a55_0x5be7dc(0x1c6)],a55_0x1cd921['ROOT_REGEX']=/^[\w-]+:.*$/,a55_0x1cd921['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x1cd921[a55_0x5be7dc(0x214)]=a55_0x5be7dc(0x15e),a55_0x1cd921['BROWSERSTACK_API_URL']=a55_0x5be7dc(0x205),a55_0x1cd921[a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x212),a55_0x1cd921[a55_0x5be7dc(0x1af)]=a55_0x5be7dc(0x165),a55_0x1cd921['FUNNEL_INSTRUMENTATION_API_URL']=a55_0x5be7dc(0x1b8),a55_0x1cd921[a55_0x5be7dc(0x1b7)]=[a55_0x5be7dc(0x1ef),a55_0x5be7dc(0x219)],a55_0x1cd921[a55_0x5be7dc(0x1d9)]=[a55_0x5be7dc(0x1e7),a55_0x5be7dc(0x219)],a55_0x1cd921[a55_0x5be7dc(0x1ab)]=[a55_0x5be7dc(0x219)],a55_0x1cd921['OBSERVABILITY_UPLOAD_URL']=a55_0x5be7dc(0x16b),a55_0x1cd921[a55_0x5be7dc(0x163)]=[a55_0x5be7dc(0x20d),a55_0x5be7dc(0x1ca)],a55_0x1cd921[a55_0x5be7dc(0x1cc)]=[a55_0x5be7dc(0x1ef)],a55_0x1cd921[a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x204),a55_0x1cd921['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x5be7dc(0x1f8),a55_0x1cd921[a55_0x5be7dc(0x209)]=[a55_0x5be7dc(0x1e7)],a55_0x1cd921['NUDGE_LOCAL_ERRORS']=['ERR_FAILED',a55_0x5be7dc(0x166),a55_0x5be7dc(0x188),'ERR_NETWORK_CHANGED',a55_0x5be7dc(0x182),a55_0x5be7dc(0x199),a55_0x5be7dc(0x17c),'ERR_CONNECTION_REFUSED','ERR_CONNECTION_ABORTED',a55_0x5be7dc(0x170),a55_0x5be7dc(0x1aa),a55_0x5be7dc(0x21c),a55_0x5be7dc(0x1fe),'ERR_TUNNEL_CONNECTION_FAILED',a55_0x5be7dc(0x1e9),a55_0x5be7dc(0x206),a55_0x5be7dc(0x146),'ERR_PROXY_CONNECTION_FAILED',a55_0x5be7dc(0x1aa),a55_0x5be7dc(0x147),a55_0x5be7dc(0x1d0)],a55_0x1cd921['VALID_APP_EXTENSION']=[a55_0x5be7dc(0x207),a55_0x5be7dc(0x18b),a55_0x5be7dc(0x150)],a55_0x1cd921[a55_0x5be7dc(0x1b6)]=a55_0x5be7dc(0x1a6),a55_0x1cd921[a55_0x5be7dc(0x1b1)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a55_0x1cd921[a55_0x5be7dc(0x16c)]=a55_0x5be7dc(0x203),a55_0x1cd921['PLAYWRIGHT_HUB_URL']=a55_0x5be7dc(0x173),a55_0x1cd921[a55_0x5be7dc(0x1ed)]=a55_0x2b1d03,a55_0x1cd921[a55_0x5be7dc(0x151)]=[a55_0x5be7dc(0x195),'mocha'],a55_0x1cd921[a55_0x5be7dc(0x191)]=a55_0x199544,a55_0x1cd921['AUTOLOGCAPTURE_NOTIFICATION']=a55_0x5be7dc(0x134),a55_0x1cd921[a55_0x5be7dc(0x1fa)]=a55_0x2cf352,a55_0x1cd921['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a55_0x1cd921[a55_0x5be7dc(0x17a)]=a55_0x5be7dc(0x1f3),a55_0x1cd921[a55_0x5be7dc(0x161)]='Upgrade\x20required',a55_0x1cd921['TCG_DOWN']=a55_0x5be7dc(0x15f),a55_0x1cd921[a55_0x5be7dc(0x12b)]=a55_0x5be7dc(0x1a4),a55_0x1cd921[a55_0x5be7dc(0x1c4)]=a55_0x5be7dc(0x1e8),a55_0x1cd921[a55_0x5be7dc(0x202)]=a55_0x5be7dc(0x12e),a55_0x1cd921[a55_0x5be7dc(0x1db)]=a55_0x5be7dc(0x1de),a55_0x1cd921[a55_0x5be7dc(0x1a1)]='SDKTestTcgProxyFailure',a55_0x1cd921[a55_0x5be7dc(0x12f)]=0x1388,a55_0x1cd921[a55_0x5be7dc(0x141)]=0x1388,a55_0x1cd921['HEALING_LOG_DATA_TIMEOUT']=0x1388,a55_0x1cd921['HEALING_FAILURE_TIMEOUT']=0x1388,a55_0x1cd921['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a55_0x1cd921['TEST_FRAMEWORK_HOOK_TIMEOUT']=a55_0xc55dc9,a55_0x1cd921[a55_0x5be7dc(0x156)]=a55_0x466b55,a55_0x1cd921[a55_0x5be7dc(0x193)]=[a55_0x5be7dc(0x1b9),'codeceptjs'],a55_0x1cd921[a55_0x5be7dc(0x177)]=a55_0x2322a0,a55_0x1cd921[a55_0x5be7dc(0x1d4)]=a55_0x5be7dc(0x1a7),a55_0x1cd921[a55_0x5be7dc(0x213)]=a55_0x5be7dc(0x168),a55_0x1cd921[a55_0x5be7dc(0x1ee)]=a55_0x5be7dc(0x145),a55_0x1cd921['BSTACK_ATS_URL']=a55_0x5be7dc(0x138),a55_0x1cd921['O11Y_URL']='https://automation.browserstack.com',a55_0x1cd921[a55_0x5be7dc(0x137)]=a55_0x5be7dc(0x131),a55_0x1cd921[a55_0x5be7dc(0x14d)]=a55_0x5be7dc(0x19e),a55_0x1cd921[a55_0x5be7dc(0x208)]=['playwright',a55_0x5be7dc(0x1e1),a55_0x5be7dc(0x195)],a55_0x1cd921[a55_0x5be7dc(0x127)]=[a55_0x5be7dc(0x17d),a55_0x5be7dc(0x164),a55_0x5be7dc(0x14a),'A11Y_SAVE_RESULTS',a55_0x5be7dc(0x178),a55_0x5be7dc(0x159)],a55_0x1cd921[a55_0x5be7dc(0x217)]=a55_0x5be7dc(0x217),a55_0x1cd921[a55_0x5be7dc(0x18d)]=['self\x20signed\x20certificate','unable\x20to\x20verify\x20the\x20first\x20certificate','certificate\x20has\x20expired',a55_0x5be7dc(0x190),a55_0x5be7dc(0x1c2),a55_0x5be7dc(0x157)],a55_0x1cd921[a55_0x5be7dc(0x14e)]=[a55_0x5be7dc(0x181),a55_0x5be7dc(0x157),a55_0x5be7dc(0x216),a55_0x5be7dc(0x162),a55_0x5be7dc(0x1c2),a55_0x5be7dc(0x1ae)],a55_0x1cd921[a55_0x5be7dc(0x1e5)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x1cd921[a55_0x5be7dc(0x140)]=a55_0x1cf246,a55_0x1cd921[a55_0x5be7dc(0x13c)]=[a55_0x5be7dc(0x1f9),'GLOBAL_AGENT_NO_PROXY',a55_0x5be7dc(0x1cf)],a55_0x1cd921[a55_0x5be7dc(0x20a)]=['ETXTBSY',a55_0x5be7dc(0x194)],module[a55_0x5be7dc(0x20c)]=a55_0x1cd921;const _env=(process[a55_0x5be7dc(0x1f2)]['BROWSERSTACK_ENV']||'prod')[a55_0x5be7dc(0x1a0)]();if(_env===a55_0x5be7dc(0x19c)||_env===a55_0x5be7dc(0x16f)){const sEvzKD=a55_0x5be7dc(0x1bc)[a55_0x5be7dc(0x218)]('|');let SuqggG=0x0;while(!![]){switch(sEvzKD[SuqggG++]){case'0':module[a55_0x5be7dc(0x20c)]['PLAYWRIGHT_HUB_URL']=a55_0x5be7dc(0x196);continue;case'1':module['exports']['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x5be7dc(0x169);continue;case'2':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x174)]=a55_0x5be7dc(0x186);continue;case'3':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x14c)]='https://observability-devtestops.bsstag.com';continue;case'4':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1e3)]=a55_0x5be7dc(0x13f);continue;case'5':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'6':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x13a);continue;case'7':module[a55_0x5be7dc(0x20c)]['EDS_URL']=a55_0x5be7dc(0x1ac);continue;case'8':module[a55_0x5be7dc(0x20c)]['BROWSERSTACK_API_URL']=a55_0x5be7dc(0x1a3);continue;case'9':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1ee)]='bsstag.com';continue;case'10':module['exports'][a55_0x5be7dc(0x1f5)]=a55_0x5be7dc(0x15b);continue;case'11':module[a55_0x5be7dc(0x20c)]['BROWSERSTACK']='bsstag';continue;case'12':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x1da);continue;}break;}}else{if(_env===a55_0x5be7dc(0x1ec)||_env===a55_0x5be7dc(0x20f)){const ohAxOG='8|1|12|11|4|6|10|3|9|5|0|7|2'[a55_0x5be7dc(0x218)]('|');let jAZVqz=0x0;while(!![]){switch(ohAxOG[jAZVqz++]){case'0':module[a55_0x5be7dc(0x20c)]['OBSERVABILITY_UPLOAD_URL']=a55_0x5be7dc(0x1f7);continue;case'1':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x211)]=a55_0x5be7dc(0x17e);continue;case'2':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x14d)]=a55_0x5be7dc(0x1d6);continue;case'3':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x19f)]=a55_0x5be7dc(0x153);continue;case'4':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x1df);continue;case'5':module[a55_0x5be7dc(0x20c)]['O11Y_URL']=a55_0x5be7dc(0x13e);continue;case'6':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x180)]=a55_0x5be7dc(0x1ea);continue;case'7':module[a55_0x5be7dc(0x20c)]['EDS_URL']='https://edsstaging.bsstag.com';continue;case'8':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1e3)]=a55_0x5be7dc(0x13d);continue;case'9':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1ee)]=a55_0x5be7dc(0x1ce);continue;case'10':module['exports'][a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x17e);continue;case'11':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x174)]=a55_0x5be7dc(0x1c0);continue;}break;}}}
|
|
1
|
+
const a55_0xe784e9=a55_0x5077;(function(_0xbc4fab,_0x3175b3){const _0x1a8b55=a55_0x5077,_0x4241a9=_0xbc4fab();while(!![]){try{const _0x319bd5=-parseInt(_0x1a8b55(0x1b7))/0x1*(-parseInt(_0x1a8b55(0x211))/0x2)+-parseInt(_0x1a8b55(0x1ab))/0x3+-parseInt(_0x1a8b55(0x1f9))/0x4*(parseInt(_0x1a8b55(0x160))/0x5)+parseInt(_0x1a8b55(0x1f1))/0x6+-parseInt(_0x1a8b55(0x1d0))/0x7+-parseInt(_0x1a8b55(0x185))/0x8+-parseInt(_0x1a8b55(0x23b))/0x9*(-parseInt(_0x1a8b55(0x17b))/0xa);if(_0x319bd5===_0x3175b3)break;else _0x4241a9['push'](_0x4241a9['shift']());}catch(_0x3a7764){_0x4241a9['push'](_0x4241a9['shift']());}}}(a55_0x52fc,0xe209f));const a55_0x4295b2={};a55_0x4295b2[a55_0xe784e9(0x1fd)]=a55_0xe784e9(0x1c4),a55_0x4295b2[a55_0xe784e9(0x186)]=a55_0xe784e9(0x1c5);const a55_0x39f29b={};a55_0x39f29b[a55_0xe784e9(0x1fd)]=a55_0xe784e9(0x1b1);const a55_0x548e90={};a55_0x548e90[a55_0xe784e9(0x1fd)]='Run\x20mocha\x20tests\x20on\x20browserstack';const a55_0x59c63c={};a55_0x59c63c[a55_0xe784e9(0x1fd)]=a55_0xe784e9(0x213);const a55_0x590c69={};a55_0x590c69[a55_0xe784e9(0x1fd)]=a55_0xe784e9(0x214);const a55_0x17aa7c={};a55_0x17aa7c[a55_0xe784e9(0x1fd)]=a55_0xe784e9(0x1c7);const a55_0x12a72e={};a55_0x12a72e[a55_0xe784e9(0x1fd)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a55_0x4d363c={};a55_0x4d363c[a55_0xe784e9(0x1fd)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';const a55_0x1ab9a7={};a55_0x1ab9a7[a55_0xe784e9(0x1fd)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a55_0x1d3995={};a55_0x1d3995['INFO']=a55_0xe784e9(0x19e);const a55_0x410684={};a55_0x410684[a55_0xe784e9(0x1fc)]=a55_0xe784e9(0x18b),a55_0x410684[a55_0xe784e9(0x225)]=a55_0xe784e9(0x22d),a55_0x410684[a55_0xe784e9(0x205)]=a55_0xe784e9(0x1eb),a55_0x410684[a55_0xe784e9(0x1bf)]='codeceptjs',a55_0x410684['CODECEPT_CUCUMBER']=a55_0xe784e9(0x1ca),a55_0x410684[a55_0xe784e9(0x15a)]='cucumber',a55_0x410684[a55_0xe784e9(0x235)]=a55_0xe784e9(0x1a6);const a55_0x20bf8d={};a55_0x20bf8d[a55_0xe784e9(0x1e4)]=a55_0xe784e9(0x159),a55_0x20bf8d[a55_0xe784e9(0x200)]=a55_0xe784e9(0x238),a55_0x20bf8d[a55_0xe784e9(0x16c)]=a55_0xe784e9(0x237),a55_0x20bf8d[a55_0xe784e9(0x1a5)]=a55_0xe784e9(0x1c3);function a55_0x52fc(){const _0x35fa16=['SDKTestTcgtInitSuccessful','TCG_URL','TEST\x20REPORTING\x20AND\x20ANALYTICS','.aab','1099200DXrSdd','parallelsPerPlatform','CODECEPTJS','SDKTestInitFailedResponse','browserstackAutomation','wss://cdp.browserstack.com/playwright?caps=','ObservabilitySync','self\x20signed\x20certificate','https://api-preprod.bsstag.com','turboScaleOptions','3924600hzKnOO','HELP','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','firefoxOptions','browserstack','ERR_NAME_RESOLUTION_FAILED','Playwright','httpsProxy','TCG_AUTH_TIMEOUT','LOG_FILE_NAME','https://automation-preprod.bsstag.com','OBSERVABILITY_UPLOAD_URL','localProxyUser','https://hub-devtestops.bsstag.com/wd/hub','staging','CLI_SUPPORTED_FRAMEWORKS','exports','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','ERR_TLS_CERT_ALTNAME_INVALID','FRAMEWORKS','POLL_HEALING_RESULT_TIMEOUT','unable\x20to\x20verify\x20the\x20first\x20certificate','HST','APP_UPLOAD_URL','CUSTOM_ID_REGEX','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','BROWSERSTACK_AUTOMATE_URL','logLevel','TEST_REPORTING_ANALYTICS','ERR_ADDRESS_UNREACHABLE','module','percyOptions','invalidTestInputType','vanilla','bsstag.com','automation','testReportingOptions','https://tcg.browserstack.com','1777341sbTClF','ERR_BLOCKED_BY_CLIENT','split','.apk','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_NETWORK_CHANGED','Run\x20jest\x20tests\x20on\x20browserstack','authToken','SDKTestTcgAuthFailure','ERR_CONNECTION_RESET','ERR_ADDRESS_INVALID','A11Y_GET_RESULTS_SUMMARY','10EcvXvH','percyScreenshot','https://tcg-preprod.bsstag.com','https://api.browserstack.com','HEALING_LOG_DATA_TIMEOUT','SET_TCG_TOKEN_TIMEOUT','GIT_META_DATA_TRUNCATED','EDS_URL','CODECEPT','DEBUG_LOG_FILE_NAME','https://app-automate.browserstack.com/dashboard/v2/builds/','ERR_NAME_NOT_RESOLVED','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','shows\x20version\x20information','Specify\x20--help\x20for\x20available\x20options','localOptions','Run\x20nightwatch\x20tests\x20on\x20browserstack','edgeOptions','TCG_DOWN','codeceptjs-cucumber','testReporting','[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.','accessibilityOptions','6|8|3|7|1|9|11|4|0|12|2|5|10','sdk/v1/update_cli','9372286pPcZzC','SDKTestInvalidTcgAuthResponseWithUserImpact','AI_ENABLED_FRAMEWORK','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','cucumber','UNABLE_TO_VERIFY_LEAF_SIGNATURE','UPGRADE_REQUIRED','SDK-GEN-001','timeouts','APP_AUTOMATE_PRODUCTS','HUB_URL_REGEX','unable\x20to\x20get\x20local\x20issuer\x20certificate','INVALID_INIT_RESP_WITH_USER_IMPACT','proxyUrl','browserVersion','env','PLAYWRIGHT_HUB_URL','proxyPassword','codeceptjs','percy','invalidKeys','AUTOMATION_LOG_COMMANDS','DEPTH_ZERO_SELF_SIGNED_CERT','platforms','MODULE','ERR_SOCKET_NOT_CONNECTED','browserstack.accessKey','jest','certificate\x20has\x20expired','ROOT_REGEX','turboScale','Upgrade\x20required','https://upload-observability-devtestops-ssi.bsstag.com','10423872keTOWV','ERR_CONNECTION_CLOSED','./browserstack-artifacts/','CLIENT_TROUBLESHOOTING_HASH','AUTOMATE_PRODUCTS','BROWSERSTACK','https://upload-observability-preprod.bsstag.com','PERCY_SUPPORTED_FRAMEWORKS','4ORZnHS','automate','INTEGRATIONS','PLAYWRIGHT','INFO','wss://cdp-preprod.bsstag.com/playwright?caps=','Cucumber-JS','uniqueDependency','proxyPass','BROWSERSTACK_APP_AUTOMATE_URL','PLAYWRIGHT_CONFIG_OPTION_ERRORS','APP_AUTOMATE','JEST','pre-prod','playwright','bsstag','localProxyPass','SSL_ERROR_CODES','A11Y_SCAN','disableAutoCaptureLogs','framework','AI_PROXY_FAILURE','browserStackLocalOptions','REDACTED_KEYS','351412jjzDjD','chromeOptions','Run\x20cucumber-js\x20tests\x20on\x20browserstack','Run\x20js\x20tests\x20on\x20browserstack','customVariables','GLOBAL_AGENT_NO_PROXY','CONNECTIVITY_ISSUE_ERROR_CODES','NUDGE_LOCAL_ERRORS','ERR_CONNECTION_ABORTED','BSTACK_ATS_URL','.browserstack\x20folder\x20not\x20accessible','https://upload-observability.browserstack.com','https://api-cloud.browserstack.com','MAX_GIT_META_DATA_SIZE_IN_BYTES','COMMONJS','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','ERR_FAILED','AI_INIT_FAILURE','GLOBAL_AGENT_HTTP_PROXY','browserstackLocal','MOCHA','A11Y_GET_RESULTS','SDK_INSTRUMENTATION_CONFIG','PLAYWRIGHT_TRACE_LOGS','BSTACK_URL','VALID_APP_EXTENSION','preprod','browserstack-ats.com','mocha','https://hub-preprod.bsstag.com/wd/hub','rerunTests','/usage.log','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','sdk/v1/event','use','VANILLA','PRIVATE_DOMAIN_OR_IP_REGEX','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','https://apidevtestops.bsstag.com','AI_INIT_SUCCESSFUL','36WfjmVr','https://automate-preprod.bsstag.com/dashboard/v2/builds/','userName','hubUrl','testOrchestrationOptions','ERR_CONNECTION_REFUSED','browserName','AUTOMATE','FUNNEL_INSTRUMENTATION_API_URL','browserstack.overridelocalInfo.userAuthToken','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','CUCUMBER','browserstack.com','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','stag','acceptSslCert','proxyUser','2931385RytTYb','httpProxy','pageLoadStrategy','testObservability','...[TRUNCATED]','BINARY_BUSY_ERROR_CODES','observability','ERR_TUNNEL_CONNECTION_FAILED','BROWSERSTACK_API_URL','toLowerCase','https://edsstaging.bsstag.com','1|7|8|11|2|0|6|10|12|4|3|5|9','mandatoryDependency','testContextOptions','prod','SSL_ERROR_MESSAGES','app-automate','SELF_SIGNED_CERT_IN_CHAIN','percyCaptureMode','ieOptions','https://tcg.bsstag.com','O11Y_URL','ERR_PROXY_CONNECTION_FAILED'];a55_0x52fc=function(){return _0x35fa16;};return a55_0x52fc();}const a55_0x310e59={};a55_0x310e59[a55_0xe784e9(0x21f)]='commonjs',a55_0x310e59[a55_0xe784e9(0x1e8)]=a55_0xe784e9(0x1a3);function a55_0x5077(_0x58742a,_0x2669bf){const _0x52fcb5=a55_0x52fc();return a55_0x5077=function(_0x507737,_0x256c33){_0x507737=_0x507737-0x156;let _0x535c5a=_0x52fcb5[_0x507737];return _0x535c5a;},a55_0x5077(_0x58742a,_0x2669bf);}const a55_0x373a42={};a55_0x373a42['Mocha']=0xfde8,a55_0x373a42[a55_0xe784e9(0x1ff)]=0xfde8,a55_0x373a42['Jest']=0x186a0;const a55_0x2ba8c0={};a55_0x2ba8c0['root']=[a55_0xe784e9(0x23d),'accessKey',a55_0xe784e9(0x161),a55_0xe784e9(0x18c),a55_0xe784e9(0x215),'browserstack.userName',a55_0xe784e9(0x1ea),a55_0xe784e9(0x1e1),a55_0xe784e9(0x1b2),a55_0xe784e9(0x1dd),a55_0xe784e9(0x158)],a55_0x2ba8c0['browserStackLocalOptions']=[a55_0xe784e9(0x15f),a55_0xe784e9(0x201),a55_0xe784e9(0x191),a55_0xe784e9(0x209)];const a55_0x18dcb3={};a55_0x18dcb3[a55_0xe784e9(0x224)]=a55_0xe784e9(0x224),a55_0x18dcb3[a55_0xe784e9(0x20f)]=a55_0xe784e9(0x20f),a55_0x18dcb3[a55_0xe784e9(0x1c6)]=a55_0xe784e9(0x20f),a55_0x18dcb3[a55_0xe784e9(0x17c)]='parallelsPerPlatform',a55_0x18dcb3['platforms']=a55_0xe784e9(0x1e7),a55_0x18dcb3['logLevel']=a55_0xe784e9(0x1a0),a55_0x18dcb3[a55_0xe784e9(0x161)]=a55_0xe784e9(0x161),a55_0x18dcb3[a55_0xe784e9(0x18c)]=a55_0xe784e9(0x18c),a55_0x18dcb3['framework']=a55_0xe784e9(0x20d),a55_0x18dcb3[a55_0xe784e9(0x16d)]=a55_0xe784e9(0x16d),a55_0x18dcb3[a55_0xe784e9(0x163)]='testObservability',a55_0x18dcb3[a55_0xe784e9(0x1cb)]=a55_0xe784e9(0x1cb),a55_0x18dcb3['testObservabilityOptions']='testObservabilityOptions',a55_0x18dcb3[a55_0xe784e9(0x1a9)]=a55_0xe784e9(0x1a9),a55_0x18dcb3[a55_0xe784e9(0x215)]=a55_0xe784e9(0x215),a55_0x18dcb3[a55_0xe784e9(0x1a8)]=a55_0xe784e9(0x17f),a55_0x18dcb3[a55_0xe784e9(0x17f)]=a55_0xe784e9(0x17f),a55_0x18dcb3[a55_0xe784e9(0x22f)]=a55_0xe784e9(0x22f),a55_0x18dcb3[a55_0xe784e9(0x1e3)]=a55_0xe784e9(0x1e3),a55_0x18dcb3[a55_0xe784e9(0x1a4)]='percyOptions',a55_0x18dcb3[a55_0xe784e9(0x172)]=a55_0xe784e9(0x172),a55_0x18dcb3[a55_0xe784e9(0x20c)]=a55_0xe784e9(0x20c),a55_0x18dcb3['accessibility']='accessibility',a55_0x18dcb3[a55_0xe784e9(0x1cd)]=a55_0xe784e9(0x1cd),a55_0x18dcb3[a55_0xe784e9(0x1ee)]=a55_0xe784e9(0x1ee),a55_0x18dcb3[a55_0xe784e9(0x184)]='turboScaleOptions',a55_0x18dcb3['proxySettings']='proxySettings',a55_0x18dcb3[a55_0xe784e9(0x23f)]=a55_0xe784e9(0x23f);const a55_0x358b3a={};a55_0x358b3a[a55_0xe784e9(0x21b)]=[a55_0xe784e9(0x1d7),a55_0xe784e9(0x1cc)];const a55_0xdd3852={};a55_0xdd3852['VERSION']=a55_0x4295b2,a55_0xdd3852['JEST']=a55_0x39f29b,a55_0xdd3852[a55_0xe784e9(0x225)]=a55_0x548e90,a55_0xdd3852[a55_0xe784e9(0x15a)]=a55_0x59c63c,a55_0xdd3852[a55_0xe784e9(0x235)]=a55_0x590c69,a55_0xdd3852['NIGHTWATCH']=a55_0x17aa7c,a55_0xdd3852['PLAYWRIGHT']=a55_0x12a72e,a55_0xdd3852[a55_0xe784e9(0x17d)]=a55_0x4d363c,a55_0xdd3852[a55_0xe784e9(0x19b)]=a55_0x1ab9a7,a55_0xdd3852[a55_0xe784e9(0x1fb)]=a55_0x1d3995,a55_0xdd3852['BSTACK_DELTA']=0xf*0x3c*0x3e8,a55_0xdd3852['hubUrl']='https://hub.browserstack.com/wd/hub',a55_0xdd3852[a55_0xe784e9(0x178)]=a55_0xe784e9(0x1aa),a55_0xdd3852['TCG_REGION']=a55_0xe784e9(0x234),a55_0xdd3852[a55_0xe784e9(0x1da)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0xdd3852['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0xdd3852['ATS_WSS_URL_REGEX']=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0xdd3852['ROOT_CAPS']=['acceptInsecureCerts',a55_0xe784e9(0x162),'strictFileInteractability','unhandledPromptBehavior',a55_0xe784e9(0x1d8),a55_0xe784e9(0x241),a55_0xe784e9(0x1de),'acceptSslCerts',a55_0xe784e9(0x15e),a55_0xe784e9(0x212),a55_0xe784e9(0x188),a55_0xe784e9(0x1c8),a55_0xe784e9(0x173)],a55_0xdd3852[a55_0xe784e9(0x1ed)]=/^[\w-]+:.*$/,a55_0xdd3852[a55_0xe784e9(0x236)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0xdd3852[a55_0xe784e9(0x1be)]='https://eds.browserstack.com',a55_0xdd3852[a55_0xe784e9(0x168)]=a55_0xe784e9(0x1ba),a55_0xdd3852[a55_0xe784e9(0x19c)]=a55_0xe784e9(0x21d),a55_0xdd3852['UPDATED_CLI_ENDPOINT']=a55_0xe784e9(0x1cf),a55_0xdd3852[a55_0xe784e9(0x157)]=a55_0xe784e9(0x233),a55_0xdd3852[a55_0xe784e9(0x1f5)]=[a55_0xe784e9(0x1fa),'observability'],a55_0xdd3852[a55_0xe784e9(0x1d9)]=[a55_0xe784e9(0x170),a55_0xe784e9(0x166)],a55_0xdd3852[a55_0xe784e9(0x187)]=[a55_0xe784e9(0x166)],a55_0xdd3852[a55_0xe784e9(0x190)]=a55_0xe784e9(0x21c),a55_0xdd3852['OBSERVABILITY_SUPPORTED_FWS']=[a55_0xe784e9(0x22d),a55_0xe784e9(0x18b)],a55_0xdd3852[a55_0xe784e9(0x156)]=[a55_0xe784e9(0x1fa)],a55_0xdd3852[a55_0xe784e9(0x19f)]='https://automate.browserstack.com/dashboard/v2/builds/',a55_0xdd3852[a55_0xe784e9(0x202)]=a55_0xe784e9(0x1c1),a55_0xdd3852[a55_0xe784e9(0x204)]=[a55_0xe784e9(0x170)],a55_0xdd3852[a55_0xe784e9(0x218)]=[a55_0xe784e9(0x221),'ERR_TIMED_OUT',a55_0xe784e9(0x1ac),a55_0xe784e9(0x1b0),a55_0xe784e9(0x1e9),a55_0xe784e9(0x1f2),a55_0xe784e9(0x1b4),a55_0xe784e9(0x240),a55_0xe784e9(0x219),'ERR_CONNECTION_FAILED',a55_0xe784e9(0x1c2),a55_0xe784e9(0x1b5),a55_0xe784e9(0x1a2),a55_0xe784e9(0x167),'ERR_CONNECTION_TIMED_OUT','ERR_SOCKS_CONNECTION_FAILED',a55_0xe784e9(0x1af),a55_0xe784e9(0x176),a55_0xe784e9(0x1c2),a55_0xe784e9(0x18a),a55_0xe784e9(0x231)],a55_0xdd3852[a55_0xe784e9(0x22a)]=[a55_0xe784e9(0x1ae),a55_0xe784e9(0x17a),'.ipa'],a55_0xdd3852[a55_0xe784e9(0x19d)]='^[a-zA-Z0-9_.-]*$',a55_0xdd3852['SHAREABLE_ID_REGEX']=a55_0xe784e9(0x15c),a55_0xdd3852['CI_ARTIFACTS_PATH']=a55_0xe784e9(0x1f3),a55_0xdd3852[a55_0xe784e9(0x1e0)]=a55_0xe784e9(0x180),a55_0xdd3852[a55_0xe784e9(0x198)]=a55_0x410684,a55_0xdd3852[a55_0xe784e9(0x1f8)]=['jest',a55_0xe784e9(0x22d)],a55_0xdd3852[a55_0xe784e9(0x203)]=a55_0x20bf8d,a55_0xdd3852['AUTOLOGCAPTURE_NOTIFICATION']='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a55_0xdd3852['PACKAGE_TYPE']=a55_0x310e59,a55_0xdd3852[a55_0xe784e9(0x21e)]=0x40*0x400,a55_0xdd3852[a55_0xe784e9(0x1bd)]=a55_0xe784e9(0x164),a55_0xdd3852[a55_0xe784e9(0x1d6)]=a55_0xe784e9(0x1ef),a55_0xdd3852[a55_0xe784e9(0x1c9)]='SDKTestTcgDownResponse',a55_0xdd3852[a55_0xe784e9(0x1dc)]=a55_0xe784e9(0x1d1),a55_0xdd3852['TCG_AUTH_FAILURE']=a55_0xe784e9(0x1b3),a55_0xdd3852[a55_0xe784e9(0x23a)]=a55_0xe784e9(0x177),a55_0xdd3852[a55_0xe784e9(0x222)]=a55_0xe784e9(0x17e),a55_0xdd3852[a55_0xe784e9(0x20e)]='SDKTestTcgProxyFailure',a55_0xdd3852[a55_0xe784e9(0x18d)]=0x1388,a55_0xdd3852[a55_0xe784e9(0x1bc)]=0x1388,a55_0xdd3852[a55_0xe784e9(0x1bb)]=0x1388,a55_0xdd3852['HEALING_FAILURE_TIMEOUT']=0x1388,a55_0xdd3852[a55_0xe784e9(0x199)]=0xc350,a55_0xdd3852['TEST_FRAMEWORK_HOOK_TIMEOUT']=a55_0x373a42,a55_0xdd3852[a55_0xe784e9(0x210)]=a55_0x2ba8c0,a55_0xdd3852[a55_0xe784e9(0x1d2)]=[a55_0xe784e9(0x1a6),a55_0xe784e9(0x1e2)],a55_0xdd3852[a55_0xe784e9(0x227)]=a55_0x18dcb3,a55_0xdd3852[a55_0xe784e9(0x18e)]=a55_0xe784e9(0x230),a55_0xdd3852[a55_0xe784e9(0x1c0)]='/usage-debug.log',a55_0xdd3852['BSTACK_URL']=a55_0xe784e9(0x15b),a55_0xdd3852[a55_0xe784e9(0x21a)]=a55_0xe784e9(0x22c),a55_0xdd3852['O11Y_URL']='https://automation.browserstack.com',a55_0xdd3852[a55_0xe784e9(0x1a1)]=a55_0xe784e9(0x179),a55_0xdd3852['BROWSERSTACK']=a55_0xe784e9(0x189),a55_0xdd3852[a55_0xe784e9(0x194)]=[a55_0xe784e9(0x207),a55_0xe784e9(0x1d4),'jest'],a55_0xdd3852[a55_0xe784e9(0x1e5)]=[a55_0xe784e9(0x20b),a55_0xe784e9(0x1b6),a55_0xe784e9(0x226),'A11Y_SAVE_RESULTS',a55_0xe784e9(0x1b8),a55_0xe784e9(0x181)],a55_0xdd3852[a55_0xe784e9(0x228)]=a55_0xe784e9(0x228),a55_0xdd3852[a55_0xe784e9(0x16f)]=[a55_0xe784e9(0x182),a55_0xe784e9(0x19a),a55_0xe784e9(0x1ec),a55_0xe784e9(0x1db),a55_0xe784e9(0x197),a55_0xe784e9(0x1e6)],a55_0xdd3852[a55_0xe784e9(0x20a)]=[a55_0xe784e9(0x171),a55_0xe784e9(0x1e6),a55_0xe784e9(0x1d5),'CERT_HAS_EXPIRED',a55_0xe784e9(0x197),a55_0xe784e9(0x220)],a55_0xdd3852[a55_0xe784e9(0x217)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0xdd3852[a55_0xe784e9(0x1f4)]=a55_0x358b3a,a55_0xdd3852['INTERNALLY_USED_ENV_VARS']=[a55_0xe784e9(0x223),a55_0xe784e9(0x216),'USER_CONFIG_DETAILS_PATH'],a55_0xdd3852[a55_0xe784e9(0x165)]=['ETXTBSY','EBUSY'],module[a55_0xe784e9(0x195)]=a55_0xdd3852;const _env=(process[a55_0xe784e9(0x1df)]['BROWSERSTACK_ENV']||a55_0xe784e9(0x16e))[a55_0xe784e9(0x169)]();if(_env===a55_0xe784e9(0x193)||_env===a55_0xe784e9(0x15d)){const qXDPDg=a55_0xe784e9(0x16b)['split']('|');let UaplbT=0x0;while(!![]){switch(qXDPDg[UaplbT++]){case'0':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x202)]=a55_0xe784e9(0x196);continue;case'1':module[a55_0xe784e9(0x195)]['hubUrl']=a55_0xe784e9(0x192);continue;case'2':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x19f)]=a55_0xe784e9(0x232);continue;case'3':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x190)]=a55_0xe784e9(0x1f0);continue;case'4':module['exports'][a55_0xe784e9(0x175)]='https://observability-devtestops.bsstag.com';continue;case'5':module['exports'][a55_0xe784e9(0x1be)]=a55_0xe784e9(0x16a);continue;case'6':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x19c)]='https://api-cloud-devtestops.bsstag.com';continue;case'7':module[a55_0xe784e9(0x195)]['BROWSERSTACK_API_URL']=a55_0xe784e9(0x239);continue;case'8':module['exports']['TCG_URL']=a55_0xe784e9(0x174);continue;case'9':module[a55_0xe784e9(0x195)]['BROWSERSTACK']=a55_0xe784e9(0x208);continue;case'10':module[a55_0xe784e9(0x195)]['PLAYWRIGHT_HUB_URL']='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'11':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x1da)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a55_0xe784e9(0x195)]['BSTACK_URL']='bsstag.com';continue;}break;}}else{if(_env===a55_0xe784e9(0x22b)||_env===a55_0xe784e9(0x206)){const mqBHqL=a55_0xe784e9(0x1ce)[a55_0xe784e9(0x1ad)]('|');let iwQaRg=0x0;while(!![]){switch(mqBHqL[iwQaRg++]){case'0':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x229)]=a55_0xe784e9(0x1a7);continue;case'1':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x19f)]=a55_0xe784e9(0x23c);continue;case'2':module['exports']['OBSERVABILITY_UPLOAD_URL']=a55_0xe784e9(0x1f7);continue;case'3':module[a55_0xe784e9(0x195)]['TCG_URL']=a55_0xe784e9(0x1b9);continue;case'4':module['exports']['PLAYWRIGHT_HUB_URL']=a55_0xe784e9(0x1fe);continue;case'5':module['exports']['EDS_URL']=a55_0xe784e9(0x16a);continue;case'6':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x23e)]=a55_0xe784e9(0x22e);continue;case'7':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x1da)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'8':module[a55_0xe784e9(0x195)]['BROWSERSTACK_API_URL']=a55_0xe784e9(0x183);continue;case'9':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x202)]=a55_0xe784e9(0x1d3);continue;case'10':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x1f6)]='bsstag';continue;case'11':module[a55_0xe784e9(0x195)][a55_0xe784e9(0x19c)]=a55_0xe784e9(0x183);continue;case'12':module[a55_0xe784e9(0x195)]['O11Y_URL']=a55_0xe784e9(0x18f);continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a56_0x3c78(_0x3db7ea,_0x509d0e){const _0x479809=a56_0x4798();return a56_0x3c78=function(_0x3c782c,_0x2f0e28){_0x3c782c=_0x3c782c-0xc3;let _0x1a9838=_0x479809[_0x3c782c];return _0x1a9838;},a56_0x3c78(_0x3db7ea,_0x509d0e);}const a56_0x11d39d=a56_0x3c78;(function(_0xd2f996,_0x1d1b86){const _0x6f9e4f=a56_0x3c78,_0xe03617=_0xd2f996();while(!![]){try{const _0x268aa6=parseInt(_0x6f9e4f(0xd4))/0x1*(-parseInt(_0x6f9e4f(0xcd))/0x2)+parseInt(_0x6f9e4f(0xd7))/0x3+-parseInt(_0x6f9e4f(0xcf))/0x4+parseInt(_0x6f9e4f(0xc3))/0x5+parseInt(_0x6f9e4f(0xd1))/0x6*(-parseInt(_0x6f9e4f(0xd6))/0x7)+parseInt(_0x6f9e4f(0xcb))/0x8+parseInt(_0x6f9e4f(0xd5))/0x9;if(_0x268aa6===_0x1d1b86)break;else _0xe03617['push'](_0xe03617['shift']());}catch(_0x15cb92){_0xe03617['push'](_0xe03617['shift']());}}}(a56_0x4798,0x1d021));const logReportingAPI=require(a56_0x11d39d(0xd3)),BSTestOpsLogger=new logReportingAPI({});function a56_0x4798(){const _0x2adc7b=['type','766XYXDQC','data','329460rUmIGw','layout','375924CtMMBd','log','./logReportingAPI','365sFVQnW','1285389dYznYC','7vFvdDw','418434agzCud','39330SMKfKX','timezoneOffset','level','colouredLayout','levelStr','configure','join','SnoPP','907728XaHVRZ'];a56_0x4798=function(){return _0x2adc7b;};return a56_0x4798();}function BSTestOpsLog4JSAppender(_0x582051,_0x1d3cc1){return _0x164e0a=>{const _0x3d18ca=a56_0x3c78;BSTestOpsLogger[_0x3d18ca(0xd2)]({'level':_0x164e0a[_0x3d18ca(0xc5)]?_0x164e0a[_0x3d18ca(0xc5)][_0x3d18ca(0xc7)]:null,'message':_0x164e0a[_0x3d18ca(0xce)]?_0x164e0a[_0x3d18ca(0xce)][_0x3d18ca(0xc9)]('\x20'):null});};}exports[a56_0x11d39d(0xc8)]=(_0x12058a,_0x4e7879)=>{const _0x21b51d=a56_0x11d39d,_0x87f1bc={'SnoPP':function(_0x3f0be7,_0x40463c,_0x5be387){return _0x3f0be7(_0x40463c,_0x5be387);}};let _0x2d98e3=_0x4e7879[_0x21b51d(0xc6)];return _0x12058a['layout']&&(_0x2d98e3=_0x4e7879[_0x21b51d(0xd0)](_0x12058a[_0x21b51d(0xd0)][_0x21b51d(0xcc)],_0x12058a[_0x21b51d(0xd0)])),_0x87f1bc[_0x21b51d(0xca)](BSTestOpsLog4JSAppender,_0x2d98e3,_0x12058a[_0x21b51d(0xc4)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a57_0x9bc89=a57_0x4456;(function(_0x4252f1,_0xf7a814){const _0xc1a320=a57_0x4456,_0x15d9da=_0x4252f1();while(!![]){try{const _0x2b01cb=-parseInt(_0xc1a320(0x85))/0x1+-parseInt(_0xc1a320(0x82))/0x2+-parseInt(_0xc1a320(0x83))/0x3*(parseInt(_0xc1a320(0x92))/0x4)+parseInt(_0xc1a320(0x8e))/0x5+-parseInt(_0xc1a320(0x80))/0x6+-parseInt(_0xc1a320(0x94))/0x7+parseInt(_0xc1a320(0x8a))/0x8;if(_0x2b01cb===_0xf7a814)break;else _0x15d9da['push'](_0x15d9da['shift']());}catch(_0x28a13a){_0x15d9da['push'](_0x15d9da['shift']());}}}(a57_0x1bf8,0x33d06));const Transport=require(a57_0x9bc89(0x84)),{consoleHolder}=require('../../helpers/test-observability/constants'),a57_0x5c04ac={};function a57_0x1bf8(){const _0x413124=['bs:addLog:','TEST_LOG','DEBUG','ERROR','log','emit','2026338JRvVHr','toUpperCase','110846qDohAs','29619SRwyfO','winston-transport','126497iQXsaL','logToTestOps','exports','WARN','join','7269824MfgJuy','trace','toISOString','info','758405sMhOsJ','warn','toLowerCase','INFO','132FJnKta','TRACE','19089mcoLZy','pid'];a57_0x1bf8=function(){return _0x413124;};return a57_0x1bf8();}function a57_0x4456(_0x3415b3,_0x3f82){const _0x1bf8fb=a57_0x1bf8();return a57_0x4456=function(_0x44560a,_0xf760d6){_0x44560a=_0x44560a-0x7f;let _0x247d62=_0x1bf8fb[_0x44560a];return _0x247d62;},a57_0x4456(_0x3415b3,_0x3f82);}a57_0x5c04ac[a57_0x9bc89(0x91)]=a57_0x9bc89(0x91),a57_0x5c04ac[a57_0x9bc89(0x99)]=a57_0x9bc89(0x99),a57_0x5c04ac[a57_0x9bc89(0x98)]='DEBUG',a57_0x5c04ac['TRACE']='TRACE',a57_0x5c04ac[a57_0x9bc89(0x88)]=a57_0x9bc89(0x88);const LOG_LEVELS=a57_0x5c04ac;class logPatcher extends Transport{constructor(_0x2d0dbf){super(_0x2d0dbf);}[a57_0x9bc89(0x86)]=(_0x5b46b6=LOG_LEVELS[a57_0x9bc89(0x91)],_0x56da3a=[''])=>{const _0x5986ca=a57_0x9bc89,_0x49b2fa={};_0x49b2fa['pDUAF']=_0x5986ca(0x97);const _0x33049b=_0x49b2fa;consoleHolder[_0x5b46b6[_0x5986ca(0x90)]()](..._0x56da3a),process[_0x5986ca(0x7f)](_0x5986ca(0x96)+process[_0x5986ca(0x95)],{'timestamp':new Date()[_0x5986ca(0x8c)](),'level':_0x5b46b6[_0x5986ca(0x81)](),'message':'\x22'+_0x56da3a[_0x5986ca(0x89)](',\x20')+'\x22','kind':_0x33049b['pDUAF'],'http_response':{}});};[a57_0x9bc89(0x8b)]=(..._0xf970ad)=>{const _0x1d5d7f=a57_0x9bc89;this['logToTestOps'](LOG_LEVELS[_0x1d5d7f(0x93)],_0xf970ad);};['debug']=(..._0xd739ff)=>{const _0x3fd586=a57_0x9bc89;this[_0x3fd586(0x86)](LOG_LEVELS[_0x3fd586(0x98)],_0xd739ff);};[a57_0x9bc89(0x8d)]=(..._0x7fd7c5)=>{const _0x11f310=a57_0x9bc89;this['logToTestOps'](LOG_LEVELS[_0x11f310(0x91)],_0x7fd7c5);};[a57_0x9bc89(0x8f)]=(..._0x24ff66)=>{const _0x56a759=a57_0x9bc89;this[_0x56a759(0x86)](LOG_LEVELS['WARN'],_0x24ff66);};['error']=(..._0x6b514)=>{const _0x284d69=a57_0x9bc89;this[_0x284d69(0x86)](LOG_LEVELS[_0x284d69(0x99)],_0x6b514);};[a57_0x9bc89(0x9a)]=(..._0x44aead)=>{const _0x36de04=a57_0x9bc89;this[_0x36de04(0x86)](LOG_LEVELS[_0x36de04(0x91)],_0x44aead);};};module[a57_0x9bc89(0x87)]=logPatcher;
|