browserstack-node-sdk 1.50.2 → 1.50.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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_0x4bc677=a48_0x16bf;function a48_0x16bf(_0x20bb0c,_0x10562a){const _0x3b16f2=a48_0x3b16();return a48_0x16bf=function(_0x16bf84,_0x1123c3){_0x16bf84=_0x16bf84-0x1e1;let _0x280579=_0x3b16f2[_0x16bf84];return _0x280579;},a48_0x16bf(_0x20bb0c,_0x10562a);}(function(_0x423e5b,_0x49c2b1){const _0x5b656d=a48_0x16bf,_0x5606cc=_0x423e5b();while(!![]){try{const _0x4dc60c=parseInt(_0x5b656d(0x250))/0x1*(parseInt(_0x5b656d(0x213))/0x2)+parseInt(_0x5b656d(0x253))/0x3*(-parseInt(_0x5b656d(0x239))/0x4)+parseInt(_0x5b656d(0x22e))/0x5*(-parseInt(_0x5b656d(0x1fc))/0x6)+-parseInt(_0x5b656d(0x205))/0x7*(parseInt(_0x5b656d(0x1ef))/0x8)+-parseInt(_0x5b656d(0x1f4))/0x9+-parseInt(_0x5b656d(0x251))/0xa+parseInt(_0x5b656d(0x1ec))/0xb*(parseInt(_0x5b656d(0x21e))/0xc);if(_0x4dc60c===_0x49c2b1)break;else _0x5606cc['push'](_0x5606cc['shift']());}catch(_0x145ba1){_0x5606cc['push'](_0x5606cc['shift']());}}}(a48_0x3b16,0xe1016));function a48_0x3b16(){const _0x4971fe=['JqmWi','jZElm','assign','pufIk','parserConfiguration','boolean','Ceirq','isUndefined','vanilla','SDK_SETUP','swzVP','util','Running\x20SDK\x20with\x20args\x20','iKQNi','push','kqEbD','./codeceptjs/command','201FDkDKN','16507090SsprZP','run','1601763bMWqaV','pjPKx','--opts','SDK_CLEANUP','./v2/browserstackCLI','unlinkSync','XbFBa','integrations','help','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','strict','describe','cbHGm','ZMErB','HELP','findAndReplace','UNtZX','INFO','ats','error','GJdxA','config','join','EVENTS','demandCommand','drQJb','wXTtZ','mocha/lib/cli/run.js','find','fireFunnelTestEvent','xYYsy','VANILLA','--no-package','end','./nightwatch/command','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','homedir','framework','includes','--mochaRequire','yargs','stop','slice','397661LHjdzH','command','setTestObservabilityDisable','280DCCtQb','sendLogs','../helpers/utilities','env','rYFev','5087664JwgggC','../helpers/test-observability/constants','NIGHTWATCH','ZmWvD','MOCHA','cucumber-js','qSuEK','./load/index','3784302WboAqD','stack','mocha','Parsing\x20command\x20line\x20arguments','pvydX','debug','../../ats/src/index','CODECEPTJS','mocha/lib/cli/commands.js','358575DnliqC','BxuvJ','./jest/command','codeceptjs','playwright','TNkAi','node','LBWts','nightwatch','XKgjk','GMUde','CUCUMBER','.local-not-set.json','--config','8490eKkUFm','../helpers/performance/performance-tester','VsRvA','existsSync','getConfigPath','version','jQIOg','../helpers/performance/constants','../helpers/helper','SDKTestSuccessful','load\x20[subcommand]','1740yRwhzt','message','jest','option','usage','mocha/lib/cli/cli.js','DdOXC','--no-config','--no-opts','./utils/constants','start','vQXit','FkNQi','alias','getInstance','../helpers/BrowserStackSetup','5JcfOwo','puvZi','JEST','argv','dot-notation','mxLGD','./vanilla-js/command','setBrowserStackAutomationDisable','usage:\x20$0\x20<command>\x20[args]','exitCode','INTEGRATIONS','4uOlXnj','handler','.browserstack','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','HJrRq'];a48_0x3b16=function(){return _0x4971fe;};return a48_0x3b16();}const fs=require('fs'),path=require('path'),util=require(a48_0x4bc677(0x24a)),spawn=require('child_process')['spawn'],{requireModule}=require(a48_0x4bc677(0x21b)),PerformanceTester=require(a48_0x4bc677(0x214)),PerformanceEvents=require(a48_0x4bc677(0x21a))[a48_0x4bc677(0x26a)],helper=require(a48_0x4bc677(0x21b)),utilities=require(a48_0x4bc677(0x1f1)),{default:BrowserStackSetup}=require(a48_0x4bc677(0x22d)),{FRAMEWORKS}=require(a48_0x4bc677(0x1f5)),runIntegrations=require('./integrations/command'),yargs=require(a48_0x4bc677(0x1e9)),Constants=require(a48_0x4bc677(0x227)),BrowserstackCLI=require(a48_0x4bc677(0x257)),logger=require('../helpers/logger')['winstonLogger'],origArgs=Object[a48_0x4bc677(0x241)]([],process[a48_0x4bc677(0x231)]),captureError=async(_0x28e84f,_0x93460,_0x1ef794,_0xc8e70d=null)=>{const _0x28573d=a48_0x4bc677,_0x1e248d={'mJkrm':function(_0x2b8ca2,_0xc861dd,_0x2bce1c,_0x3f59e6){return _0x2b8ca2(_0xc861dd,_0x2bce1c,_0x3f59e6);},'pufIk':_0x28573d(0x21c)};try{logger['info'](_0x28573d(0x24b)+origArgs[_0x28573d(0x269)]('\x20')),await _0x1e248d['mJkrm'](_0x28e84f,_0x93460,_0xc8e70d,_0x1ef794);}catch(_0x4fca29){process[_0x28573d(0x237)]=0x1,logger['error'](util['format'](_0x4fca29));const _0x26fd3e={'globalException':util['format']('%j',_0x4fca29)};PerformanceTester['end'](PerformanceEvents[_0x28573d(0x248)],![],util['format'](_0x4fca29));if(helper[_0x28573d(0x246)](global[_0x28573d(0x268)])&&helper[_0x28573d(0x246)](global[_0x28573d(0x1e6)]))return;try{utilities[_0x28573d(0x270)](_0x1e248d[_0x28573d(0x242)],_0x26fd3e,global[_0x28573d(0x268)],global[_0x28573d(0x1e6)]);}catch(_0x4a07a9){logger[_0x28573d(0x201)](_0x28573d(0x23d)+_0x4a07a9['stack']);}try{await helper[_0x28573d(0x1f0)](global[_0x28573d(0x268)]);}catch(_0x1a895a){logger[_0x28573d(0x201)](_0x28573d(0x1e4)+_0x1a895a[_0x28573d(0x1fd)]);}await BrowserstackCLI[_0x28573d(0x22c)]()[_0x28573d(0x1ea)](),PerformanceTester[_0x28573d(0x1e2)](PerformanceEvents[_0x28573d(0x248)],![],util['format'](_0x4fca29));}finally{PerformanceTester[_0x28573d(0x228)](PerformanceEvents[_0x28573d(0x256)]);}};try{const browserstackFolderPath=path[a48_0x4bc677(0x269)](helper[a48_0x4bc677(0x1e5)](),a48_0x4bc677(0x23b));if(fs[a48_0x4bc677(0x216)](browserstackFolderPath)){const filePath=path[a48_0x4bc677(0x269)](browserstackFolderPath,a48_0x4bc677(0x211));fs[a48_0x4bc677(0x216)](filePath)&&fs[a48_0x4bc677(0x258)](filePath);}}catch(a48_0x4c14f2){logger[a48_0x4bc677(0x201)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a48_0x4c14f2[a48_0x4bc677(0x21f)]);}process[a48_0x4bc677(0x231)][a48_0x4bc677(0x1e7)]('mocha')&&(!process['argv'][a48_0x4bc677(0x1e7)](a48_0x4bc677(0x255))&&process[a48_0x4bc677(0x231)][a48_0x4bc677(0x24d)](a48_0x4bc677(0x226)),!process[a48_0x4bc677(0x231)][a48_0x4bc677(0x26f)](_0x18bdd6=>_0x18bdd6[a48_0x4bc677(0x1e7)](a48_0x4bc677(0x212)))&&process[a48_0x4bc677(0x231)][a48_0x4bc677(0x24d)](a48_0x4bc677(0x225)),!process[a48_0x4bc677(0x231)]['includes']('--package')&&process[a48_0x4bc677(0x231)][a48_0x4bc677(0x24d)](a48_0x4bc677(0x1e1)),helper[a48_0x4bc677(0x262)](process['argv'],'--require',a48_0x4bc677(0x1e8)));PerformanceTester[a48_0x4bc677(0x228)](PerformanceEvents['SDK_SETUP']);const a48_0x293744={};a48_0x293744[a48_0x4bc677(0x232)]=![];const argv=yargs[a48_0x4bc677(0x243)](a48_0x293744)[a48_0x4bc677(0x222)](a48_0x4bc677(0x236))[a48_0x4bc677(0x22b)]('v',a48_0x4bc677(0x218))[a48_0x4bc677(0x25e)]('v')['alias']('h',a48_0x4bc677(0x25b))['help'](a48_0x4bc677(0x25b))['showHelpOnFail'](!![],Constants['VERSION'][a48_0x4bc677(0x261)])[a48_0x4bc677(0x1ed)]('jest',Constants[a48_0x4bc677(0x230)]['INFO'],function(_0x2a0c0b){const _0x37cc64=a48_0x4bc677,_0x55ef88={'LBWts':_0x37cc64(0x220),'swzVP':function(_0x4d42b4,_0x1ec479,_0x4b2e18,_0x510f53,_0x3804af){return _0x4d42b4(_0x1ec479,_0x4b2e18,_0x510f53,_0x3804af);},'ZmWvD':function(_0x435785,_0x3055eb){return _0x435785(_0x3055eb);},'KVATp':_0x37cc64(0x207)},_0x3245a7=process[_0x37cc64(0x231)][_0x37cc64(0x1eb)](0x2);helper[_0x37cc64(0x1ee)](),helper['setBrowserStackAutomationDisable']();const _0x59e335=new BrowserStackSetup(_0x2a0c0b[_0x37cc64(0x231)],_0x55ef88[_0x37cc64(0x20c)]);return _0x55ef88[_0x37cc64(0x249)](captureError,_0x55ef88[_0x37cc64(0x1f7)](require,_0x55ef88['KVATp']),_0x2a0c0b[_0x37cc64(0x231)],_0x59e335,_0x3245a7);})['command'](a48_0x4bc677(0x1fe),Constants[a48_0x4bc677(0x1f8)][a48_0x4bc677(0x264)],_0x5542e9=>{const _0x397cc5=a48_0x4bc677,_0x48cd30={'DYVpT':function(_0x4257ff,_0x8b5ea3,_0x5c69b7,_0x4c4764){return _0x4257ff(_0x8b5ea3,_0x5c69b7,_0x4c4764);},'xYYsy':function(_0x5359b3,_0x18106f){return _0x5359b3(_0x18106f);},'WbAYx':'./mocha/command','jQIOg':_0x397cc5(0x1fe),'GMUde':_0x397cc5(0x1ff),'BxuvJ':function(_0x4da917,_0x23212d,_0x2ac936){return _0x4da917(_0x23212d,_0x2ac936);},'cbHGm':_0x397cc5(0x26e),'vanSi':function(_0x2e92c6,_0x4436eb,_0x361f61){return _0x2e92c6(_0x4436eb,_0x361f61);},'XbFBa':_0x397cc5(0x204),'rYFev':function(_0xe03cae,_0x1171b7,_0x336857){return _0xe03cae(_0x1171b7,_0x336857);},'fTKqf':_0x397cc5(0x223),'YXFbv':function(_0x472a87){return _0x472a87();}};process[_0x397cc5(0x231)]=process[_0x397cc5(0x231)][_0x397cc5(0x1eb)](0x1),helper[_0x397cc5(0x1ee)](),helper[_0x397cc5(0x235)]();const _0x1bae72=new BrowserStackSetup(_0x5542e9[_0x397cc5(0x231)],_0x48cd30[_0x397cc5(0x219)]);logger[_0x397cc5(0x201)](_0x48cd30[_0x397cc5(0x20f)]);const _0x4c17e2=_0x48cd30[_0x397cc5(0x206)](requireModule,_0x48cd30[_0x397cc5(0x25f)],_0x48cd30[_0x397cc5(0x219)]),_0x43f674=_0x48cd30['vanSi'](requireModule,_0x48cd30[_0x397cc5(0x259)],_0x48cd30[_0x397cc5(0x219)]);delete _0x4c17e2[_0x397cc5(0x23a)],_0x4c17e2[_0x397cc5(0x23a)]=function(_0x524a97){const _0x36ecde=_0x397cc5;return _0x48cd30['DYVpT'](captureError,_0x48cd30[_0x36ecde(0x271)](require,_0x48cd30['WbAYx']),_0x524a97,_0x1bae72);},_0x43f674[_0x397cc5(0x252)]=_0x4c17e2;const {main:_0x5d7a38}=_0x48cd30[_0x397cc5(0x1f3)](requireModule,_0x48cd30['fTKqf'],_0x48cd30[_0x397cc5(0x219)]);_0x48cd30['YXFbv'](_0x5d7a38);})[a48_0x4bc677(0x1ed)](a48_0x4bc677(0x1f9),Constants[a48_0x4bc677(0x210)][a48_0x4bc677(0x264)],function(_0x338b1d){const _0x341e82=a48_0x4bc677,_0x31e192={'DdmgF':'cucumber-js','ZMErB':function(_0x130dc4,_0x5a8c94,_0x40046f,_0x597159,_0xbe80c6){return _0x130dc4(_0x5a8c94,_0x40046f,_0x597159,_0xbe80c6);},'dnhPS':function(_0x2e1e87,_0x2a7bc2){return _0x2e1e87(_0x2a7bc2);},'wXTtZ':'./cucumber-js/command'},_0x41dc1a=process['argv'][_0x341e82(0x1eb)](0x2),_0x34db37=new BrowserStackSetup(_0x338b1d[_0x341e82(0x231)],_0x31e192['DdmgF']);return _0x31e192[_0x341e82(0x260)](captureError,_0x31e192['dnhPS'](require,_0x31e192[_0x341e82(0x26d)]),_0x338b1d[_0x341e82(0x231)],_0x34db37,_0x41dc1a);})[a48_0x4bc677(0x1ed)](a48_0x4bc677(0x20b),Constants[a48_0x4bc677(0x272)][a48_0x4bc677(0x264)],function(_0x207c6f){const _0x1a49d1=a48_0x4bc677,_0x53b0f3={'kqEbD':_0x1a49d1(0x247),'pvydX':function(_0x364b3b,_0x32e107,_0xe2a085,_0x43b83a,_0x21113c){return _0x364b3b(_0x32e107,_0xe2a085,_0x43b83a,_0x21113c);},'nryWT':function(_0x464329,_0x2adc9b){return _0x464329(_0x2adc9b);},'rztiM':_0x1a49d1(0x234)},_0x54a57d=process[_0x1a49d1(0x231)][_0x1a49d1(0x1eb)](0x2),_0x22eadb=new BrowserStackSetup(_0x207c6f[_0x1a49d1(0x231)],_0x53b0f3[_0x1a49d1(0x24e)]);return _0x53b0f3[_0x1a49d1(0x200)](captureError,_0x53b0f3['nryWT'](require,_0x53b0f3['rztiM']),_0x207c6f[_0x1a49d1(0x231)],_0x22eadb,_0x54a57d);})[a48_0x4bc677(0x1ed)](a48_0x4bc677(0x20d),Constants[a48_0x4bc677(0x1f6)]['INFO'],function(_0x76e22e){const _0x27eff3=a48_0x4bc677,_0x2454c4={'TNkAi':function(_0x3220b6,_0x5c557f,_0x3d5bff,_0x28ae30,_0x152f28){return _0x3220b6(_0x5c557f,_0x3d5bff,_0x28ae30,_0x152f28);},'jZElm':function(_0x4b5064,_0xd1d142){return _0x4b5064(_0xd1d142);},'FkNQi':_0x27eff3(0x1e3)},_0x15650b=process[_0x27eff3(0x231)][_0x27eff3(0x1eb)](0x2),_0x2f5a76=new BrowserStackSetup(_0x76e22e[_0x27eff3(0x231)]);return _0x2454c4[_0x27eff3(0x20a)](captureError,_0x2454c4[_0x27eff3(0x240)](require,_0x2454c4[_0x27eff3(0x22a)]),_0x76e22e[_0x27eff3(0x231)],_0x2f5a76,_0x15650b);})[a48_0x4bc677(0x1ed)](a48_0x4bc677(0x208),Constants[a48_0x4bc677(0x203)]['INFO'],function(_0x1d3d31){const _0x10c2eb=a48_0x4bc677,_0x24e0f8={'VsRvA':'codeceptjs','drQJb':function(_0x4da016,_0x3703fa,_0x2d4eb7,_0x124428,_0x3e4dd0){return _0x4da016(_0x3703fa,_0x2d4eb7,_0x124428,_0x3e4dd0);},'iKQNi':function(_0x523250,_0x1bc3fb){return _0x523250(_0x1bc3fb);},'qkgts':_0x10c2eb(0x24f)},_0x5315e9=process['argv']['slice'](0x2),_0x383416=new BrowserStackSetup(_0x1d3d31[_0x10c2eb(0x231)],_0x24e0f8[_0x10c2eb(0x215)]);return _0x24e0f8[_0x10c2eb(0x26c)](captureError,_0x24e0f8[_0x10c2eb(0x24c)](require,_0x24e0f8['qkgts']),_0x1d3d31['argv'],_0x383416,_0x5315e9);})[a48_0x4bc677(0x1ed)](a48_0x4bc677(0x265),Constants['HST'][a48_0x4bc677(0x264)],function(_0x5445f1){const _0x4c83af=a48_0x4bc677,_0x42f712={'qSuEK':function(_0x3f5981,_0x2a1a04,_0x4fb4ce){return _0x3f5981(_0x2a1a04,_0x4fb4ce);},'Ceirq':function(_0x2eac6f,_0x52996a){return _0x2eac6f(_0x52996a);},'BYANU':_0x4c83af(0x202)},_0x4c930c=process[_0x4c83af(0x231)][_0x4c83af(0x1eb)](0x2);return _0x42f712[_0x4c83af(0x1fa)](captureError,_0x42f712[_0x4c83af(0x245)](require,_0x42f712['BYANU']),_0x5445f1);})[a48_0x4bc677(0x1ed)](a48_0x4bc677(0x25a),Constants[a48_0x4bc677(0x238)][a48_0x4bc677(0x264)],function(_0x333477){const _0x44ca38=a48_0x4bc677,_0x1d184d={'vQXit':function(_0x47b883,_0x24580d){return _0x47b883(_0x24580d);}};return _0x1d184d[_0x44ca38(0x229)](runIntegrations,_0x333477);})[a48_0x4bc677(0x1ed)](a48_0x4bc677(0x209),Constants['PLAYWRIGHT'][a48_0x4bc677(0x264)],function(_0x418529){const _0x468d52=a48_0x4bc677,_0x3f479e={'UNtZX':function(_0x1385c0,_0x375a41,_0x115a26,_0x1b2924,_0x11ff4b){return _0x1385c0(_0x375a41,_0x115a26,_0x1b2924,_0x11ff4b);},'mxLGD':function(_0x313794,_0x5a4791){return _0x313794(_0x5a4791);},'DdOXC':'./playwright/command'},_0x133ae3=process[_0x468d52(0x231)][_0x468d52(0x1eb)](0x2);helper[_0x468d52(0x217)](process[_0x468d52(0x231)])&&(process[_0x468d52(0x1f2)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x468d52(0x217)](process[_0x468d52(0x231)]));helper['setTestObservabilityDisable'](),helper[_0x468d52(0x235)]();const _0xa56ce7=new BrowserStackSetup(_0x418529[_0x468d52(0x231)],FRAMEWORKS['PLAYWRIGHT']);return _0x3f479e[_0x468d52(0x263)](captureError,_0x3f479e[_0x468d52(0x233)](require,_0x3f479e[_0x468d52(0x224)]),_0x418529[_0x468d52(0x231)],_0xa56ce7,_0x133ae3);})[a48_0x4bc677(0x1ed)](a48_0x4bc677(0x21d),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x5b3859){const _0x1a3ad2=a48_0x4bc677,_0x5e89d5={};_0x5e89d5[_0x1a3ad2(0x20e)]='help',_0x5e89d5[_0x1a3ad2(0x22f)]=_0x1a3ad2(0x244),_0x5e89d5[_0x1a3ad2(0x23f)]='Show\x20help';const _0x2cabb6=_0x5e89d5;return _0x5b3859[_0x1a3ad2(0x25b)](![])[_0x1a3ad2(0x221)](_0x2cabb6['XKgjk'],{'alias':'h','type':_0x2cabb6['puvZi'],'describe':_0x2cabb6[_0x1a3ad2(0x23f)]})[_0x1a3ad2(0x25d)](![])['exitProcess'](![]);},function(_0x32231c){const _0xf34b=a48_0x4bc677,_0x4b2082={'HJrRq':function(_0x2795a5,_0x1b1747,_0x592592){return _0x2795a5(_0x1b1747,_0x592592);},'GJdxA':function(_0x20a17e,_0x54b5c4){return _0x20a17e(_0x54b5c4);},'pjPKx':_0xf34b(0x1fb)},_0x4a0c25={};return _0x4a0c25['argv']=_0x32231c,_0x4b2082[_0xf34b(0x23e)](captureError,_0x4b2082[_0xf34b(0x267)](require,_0x4b2082[_0xf34b(0x254)]),_0x4a0c25);})[a48_0x4bc677(0x26b)](0x1,a48_0x4bc677(0x25c))['wrap'](null)[a48_0x4bc677(0x231)];!helper[a48_0x4bc677(0x246)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x4bc677(0x265)&&console[a48_0x4bc677(0x266)](a48_0x4bc677(0x23c));
|
|
2
|
+
'use strict';function a48_0x4745(_0x15c97a,_0x8130fc){const _0x2946e7=a48_0x2946();return a48_0x4745=function(_0x474522,_0x1355f8){_0x474522=_0x474522-0xb3;let _0x370210=_0x2946e7[_0x474522];return _0x370210;},a48_0x4745(_0x15c97a,_0x8130fc);}const a48_0x5eb507=a48_0x4745;(function(_0x2b3afd,_0x2a4bb5){const _0x93e1a3=a48_0x4745,_0x565f7f=_0x2b3afd();while(!![]){try{const _0x19d617=-parseInt(_0x93e1a3(0xbb))/0x1*(-parseInt(_0x93e1a3(0x125))/0x2)+parseInt(_0x93e1a3(0xcc))/0x3*(parseInt(_0x93e1a3(0x102))/0x4)+parseInt(_0x93e1a3(0x11e))/0x5+parseInt(_0x93e1a3(0x11f))/0x6+-parseInt(_0x93e1a3(0xfc))/0x7*(-parseInt(_0x93e1a3(0x116))/0x8)+-parseInt(_0x93e1a3(0xe2))/0x9+-parseInt(_0x93e1a3(0xf0))/0xa;if(_0x19d617===_0x2a4bb5)break;else _0x565f7f['push'](_0x565f7f['shift']());}catch(_0x13baba){_0x565f7f['push'](_0x565f7f['shift']());}}}(a48_0x2946,0xc6629));const fs=require('fs'),path=require('path'),util=require(a48_0x5eb507(0xba)),spawn=require(a48_0x5eb507(0x109))[a48_0x5eb507(0xd1)],{requireModule}=require(a48_0x5eb507(0x112)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a48_0x5eb507(0xd6))[a48_0x5eb507(0xc7)],helper=require(a48_0x5eb507(0x112)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a48_0x5eb507(0xfe)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a48_0x5eb507(0xce)),yargs=require(a48_0x5eb507(0xf2)),Constants=require('./utils/constants'),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require(a48_0x5eb507(0xb4))[a48_0x5eb507(0x115)],origArgs=Object[a48_0x5eb507(0xda)]([],process['argv']),captureError=async(_0x310445,_0x8844fc,_0x3d4ec9,_0x86c004=null)=>{const _0x214e6=a48_0x5eb507,_0x3e7591={'lznQC':function(_0x367f3b,_0x309411,_0x312091,_0x5ad5e3){return _0x367f3b(_0x309411,_0x312091,_0x5ad5e3);},'tdLSy':_0x214e6(0xc0)};try{logger[_0x214e6(0x117)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x214e6(0xe0)]('\x20')),await _0x3e7591[_0x214e6(0x135)](_0x310445,_0x8844fc,_0x86c004,_0x3d4ec9);}catch(_0x2399bc){process['exitCode']=0x1,logger[_0x214e6(0xd9)](util[_0x214e6(0xed)](_0x2399bc));const _0x5c162a={'globalException':util['format']('%j',_0x2399bc)};PerformanceTester[_0x214e6(0x111)](PerformanceEvents['SDK_SETUP'],![],util[_0x214e6(0xed)](_0x2399bc));if(helper['isUndefined'](global[_0x214e6(0xdb)])&&helper['isUndefined'](global[_0x214e6(0x126)]))return;try{utilities[_0x214e6(0x10b)](_0x3e7591[_0x214e6(0xe6)],_0x5c162a,global[_0x214e6(0xdb)],global[_0x214e6(0x126)]);}catch(_0x50388d){logger[_0x214e6(0x11b)](_0x214e6(0xbf)+_0x50388d[_0x214e6(0x141)]);}try{await helper[_0x214e6(0xc6)](global[_0x214e6(0xdb)]);}catch(_0x3af571){logger[_0x214e6(0x11b)](_0x214e6(0xe9)+_0x3af571[_0x214e6(0x141)]);}await BrowserstackCLI[_0x214e6(0xc1)]()[_0x214e6(0xf8)](),PerformanceTester[_0x214e6(0x111)](PerformanceEvents[_0x214e6(0xc9)],![],util[_0x214e6(0xed)](_0x2399bc));}finally{PerformanceTester[_0x214e6(0x127)](PerformanceEvents[_0x214e6(0xc8)]);}};try{const browserstackFolderPath=path[a48_0x5eb507(0xe0)](helper['homedir'](),'.browserstack');if(fs[a48_0x5eb507(0xb8)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a48_0x5eb507(0xd7));fs['existsSync'](filePath)&&fs[a48_0x5eb507(0x10d)](filePath);}}catch(a48_0x177ab9){logger[a48_0x5eb507(0x11b)](a48_0x5eb507(0x132)+a48_0x177ab9[a48_0x5eb507(0x123)]);}process[a48_0x5eb507(0xf4)][a48_0x5eb507(0xca)]('mocha')&&(!process['argv'][a48_0x5eb507(0xca)]('--opts')&&process[a48_0x5eb507(0xf4)][a48_0x5eb507(0x108)](a48_0x5eb507(0x107)),!process[a48_0x5eb507(0xf4)][a48_0x5eb507(0x136)](_0x58156e=>_0x58156e[a48_0x5eb507(0xca)]('--config'))&&process[a48_0x5eb507(0xf4)][a48_0x5eb507(0x108)](a48_0x5eb507(0xdc)),!process[a48_0x5eb507(0xf4)][a48_0x5eb507(0xca)](a48_0x5eb507(0x110))&&process[a48_0x5eb507(0xf4)][a48_0x5eb507(0x108)](a48_0x5eb507(0xd3)),helper[a48_0x5eb507(0xee)](process[a48_0x5eb507(0xf4)],a48_0x5eb507(0xde),a48_0x5eb507(0xc5)));PerformanceTester['start'](PerformanceEvents[a48_0x5eb507(0xc9)]);const a48_0x57a6dc={};a48_0x57a6dc[a48_0x5eb507(0x12a)]=![];const argv=yargs['parserConfiguration'](a48_0x57a6dc)['usage'](a48_0x5eb507(0x128))[a48_0x5eb507(0x13b)]('v','version')[a48_0x5eb507(0xb5)]('v')[a48_0x5eb507(0x13b)]('h',a48_0x5eb507(0x10c))[a48_0x5eb507(0x10c)](a48_0x5eb507(0x10c))[a48_0x5eb507(0x12d)](!![],Constants[a48_0x5eb507(0xbd)]['HELP'])[a48_0x5eb507(0x12f)](a48_0x5eb507(0x114),Constants['JEST'][a48_0x5eb507(0x113)],function(_0x1e073a){const _0x1cf8f3=a48_0x5eb507,_0x93fd57={'uiWLv':_0x1cf8f3(0x114),'JIXYq':function(_0x20ec46,_0x12d77a,_0x296ea0,_0xbf1d9,_0x4ea135){return _0x20ec46(_0x12d77a,_0x296ea0,_0xbf1d9,_0x4ea135);},'feFzv':function(_0x5ab5d5,_0x34d1c5){return _0x5ab5d5(_0x34d1c5);},'LjccP':_0x1cf8f3(0x11a)},_0x3b048a=process[_0x1cf8f3(0xf4)][_0x1cf8f3(0xd4)](0x2);helper[_0x1cf8f3(0xe4)](),helper[_0x1cf8f3(0x134)]();const _0x260b54=new BrowserStackSetup(_0x1e073a[_0x1cf8f3(0xf4)],_0x93fd57[_0x1cf8f3(0xdd)]);return _0x93fd57[_0x1cf8f3(0xdf)](captureError,_0x93fd57[_0x1cf8f3(0x118)](require,_0x93fd57['LjccP']),_0x1e073a[_0x1cf8f3(0xf4)],_0x260b54,_0x3b048a);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0xcf),Constants['MOCHA']['INFO'],_0x467e80=>{const _0x3caef2=a48_0x5eb507,_0x4fa4f7={'OmiOC':function(_0x45fc5a,_0x3658c8,_0x3f0af5,_0x2069e7){return _0x45fc5a(_0x3658c8,_0x3f0af5,_0x2069e7);},'Hwizf':function(_0x1ce00e,_0x150106){return _0x1ce00e(_0x150106);},'uNhhj':_0x3caef2(0x122),'xohSA':_0x3caef2(0xcf),'GkZMK':'Parsing\x20command\x20line\x20arguments','CFuzX':function(_0x1690ed,_0x3ac540,_0x236e68){return _0x1690ed(_0x3ac540,_0x236e68);},'SAvft':'mocha/lib/cli/run.js','EYRpp':function(_0xf3fa5f,_0x34e67a,_0x4ba723){return _0xf3fa5f(_0x34e67a,_0x4ba723);},'eIzJk':'mocha/lib/cli/commands.js','MfXlL':_0x3caef2(0xf9),'MeaTy':function(_0x479a60){return _0x479a60();}};process[_0x3caef2(0xf4)]=process[_0x3caef2(0xf4)]['slice'](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x547230=new BrowserStackSetup(_0x467e80[_0x3caef2(0xf4)],_0x4fa4f7[_0x3caef2(0x140)]);logger[_0x3caef2(0x11b)](_0x4fa4f7[_0x3caef2(0x12b)]);const _0x63cdc7=_0x4fa4f7[_0x3caef2(0xb6)](requireModule,_0x4fa4f7[_0x3caef2(0x101)],_0x4fa4f7[_0x3caef2(0x140)]),_0x345bb4=_0x4fa4f7[_0x3caef2(0x119)](requireModule,_0x4fa4f7[_0x3caef2(0x129)],_0x4fa4f7['xohSA']);delete _0x63cdc7[_0x3caef2(0x11d)],_0x63cdc7[_0x3caef2(0x11d)]=function(_0x2e6af4){const _0x5a59f6=_0x3caef2;return _0x4fa4f7[_0x5a59f6(0xb9)](captureError,_0x4fa4f7[_0x5a59f6(0xc3)](require,_0x4fa4f7[_0x5a59f6(0x105)]),_0x2e6af4,_0x547230);},_0x345bb4[_0x3caef2(0xfd)]=_0x63cdc7;const {main:_0x126095}=_0x4fa4f7[_0x3caef2(0x119)](requireModule,_0x4fa4f7['MfXlL'],_0x4fa4f7[_0x3caef2(0x140)]);_0x4fa4f7[_0x3caef2(0x12e)](_0x126095);})[a48_0x5eb507(0x12f)]('cucumber-js',Constants[a48_0x5eb507(0xb7)][a48_0x5eb507(0x113)],function(_0x594f32){const _0x35f3d2=a48_0x5eb507,_0x677f5c={'JPUaJ':_0x35f3d2(0xea),'dyIwK':function(_0x71112b,_0xb68ac2,_0x4d193d,_0x1c641f,_0x5841a9){return _0x71112b(_0xb68ac2,_0x4d193d,_0x1c641f,_0x5841a9);},'fhOon':function(_0x31e070,_0x5c0705){return _0x31e070(_0x5c0705);},'ggsAH':_0x35f3d2(0xf5)},_0x1723a7=process[_0x35f3d2(0xf4)][_0x35f3d2(0xd4)](0x2),_0x145b71=new BrowserStackSetup(_0x594f32[_0x35f3d2(0xf4)],_0x677f5c[_0x35f3d2(0xbc)]);return _0x677f5c['dyIwK'](captureError,_0x677f5c['fhOon'](require,_0x677f5c[_0x35f3d2(0xc4)]),_0x594f32[_0x35f3d2(0xf4)],_0x145b71,_0x1723a7);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0x133),Constants[a48_0x5eb507(0xeb)][a48_0x5eb507(0x113)],function(_0x34086d){const _0x1b874e=a48_0x5eb507,_0x2d7561={'GTxzG':_0x1b874e(0x100),'gXtoG':function(_0x494aa3,_0x291de9,_0x30c6dc,_0x1ae379,_0x36ebbb){return _0x494aa3(_0x291de9,_0x30c6dc,_0x1ae379,_0x36ebbb);},'syzGl':function(_0x1006db,_0xf54e30){return _0x1006db(_0xf54e30);},'DyeBB':'./vanilla-js/command'},_0xf58100=process['argv'][_0x1b874e(0xd4)](0x2),_0x197aa5=new BrowserStackSetup(_0x34086d['argv'],_0x2d7561[_0x1b874e(0xd8)]);return _0x2d7561['gXtoG'](captureError,_0x2d7561[_0x1b874e(0xf1)](require,_0x2d7561[_0x1b874e(0x12c)]),_0x34086d[_0x1b874e(0xf4)],_0x197aa5,_0xf58100);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0xe7),Constants[a48_0x5eb507(0xd0)][a48_0x5eb507(0x113)],function(_0xd5cb26){const _0xfeb9a0=a48_0x5eb507,_0x20d30a={'OMUmq':function(_0x8a9702,_0x209252,_0x258cdb,_0x350fe8,_0x1cd58e){return _0x8a9702(_0x209252,_0x258cdb,_0x350fe8,_0x1cd58e);},'pLiWI':function(_0x4c989c,_0x461624){return _0x4c989c(_0x461624);},'ASCUd':_0xfeb9a0(0x10e)},_0x918359=process[_0xfeb9a0(0xf4)][_0xfeb9a0(0xd4)](0x2),_0x5ee226=new BrowserStackSetup(_0xd5cb26['argv']);return _0x20d30a[_0xfeb9a0(0x10a)](captureError,_0x20d30a['pLiWI'](require,_0x20d30a[_0xfeb9a0(0x10f)]),_0xd5cb26[_0xfeb9a0(0xf4)],_0x5ee226,_0x918359);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0x137),Constants[a48_0x5eb507(0x131)]['INFO'],function(_0x5c8b1c){const _0x3f6932=a48_0x5eb507,_0x3e1b3a={'iHRjy':_0x3f6932(0x137),'BvLra':function(_0x457b5e,_0x26e36f,_0x3c5220,_0x5ba692,_0x2baa1e){return _0x457b5e(_0x26e36f,_0x3c5220,_0x5ba692,_0x2baa1e);},'pbbsO':function(_0x1411b6,_0x4a1887){return _0x1411b6(_0x4a1887);},'hizWs':_0x3f6932(0xd5)},_0x21185f=process[_0x3f6932(0xf4)][_0x3f6932(0xd4)](0x2),_0x4c718a=new BrowserStackSetup(_0x5c8b1c[_0x3f6932(0xf4)],_0x3e1b3a['iHRjy']);return _0x3e1b3a[_0x3f6932(0x139)](captureError,_0x3e1b3a[_0x3f6932(0xb3)](require,_0x3e1b3a['hizWs']),_0x5c8b1c[_0x3f6932(0xf4)],_0x4c718a,_0x21185f);})['command']('ats',Constants['HST'][a48_0x5eb507(0x113)],function(_0x1dc997){const _0x4caeb2=a48_0x5eb507,_0xb05ef7={'zcAWd':function(_0x4c2046,_0x3391d0,_0x10cf7f){return _0x4c2046(_0x3391d0,_0x10cf7f);},'VoVqM':function(_0x3f4378,_0x43d0cf){return _0x3f4378(_0x43d0cf);},'BYiuV':_0x4caeb2(0xcb)},_0x39215a=process['argv'][_0x4caeb2(0xd4)](0x2);return _0xb05ef7['zcAWd'](captureError,_0xb05ef7[_0x4caeb2(0xef)](require,_0xb05ef7[_0x4caeb2(0x121)]),_0x1dc997);})['command']('integrations',Constants[a48_0x5eb507(0x13f)]['INFO'],function(_0x12764b){const _0x33369f=a48_0x5eb507,_0x1fef3b={'LKXRw':function(_0x271759,_0x1a8ac1){return _0x271759(_0x1a8ac1);}};return _0x1fef3b[_0x33369f(0x120)](runIntegrations,_0x12764b);})[a48_0x5eb507(0x12f)](a48_0x5eb507(0x104),Constants[a48_0x5eb507(0xec)][a48_0x5eb507(0x113)],function(_0x45a125){const _0x2a3e08=a48_0x5eb507,_0x56cd9f={'vVOeY':function(_0x2600fb,_0x2fbe85,_0x191efe,_0x168381,_0xc9a542){return _0x2600fb(_0x2fbe85,_0x191efe,_0x168381,_0xc9a542);},'RZCnN':function(_0x34c356,_0xa3cbe6){return _0x34c356(_0xa3cbe6);},'unGFx':_0x2a3e08(0xcd)},_0x58bf76=process['argv'][_0x2a3e08(0xd4)](0x2);helper[_0x2a3e08(0xfa)](process[_0x2a3e08(0xf4)])&&(process[_0x2a3e08(0x103)][_0x2a3e08(0xd2)]=helper[_0x2a3e08(0xfa)](process[_0x2a3e08(0xf4)]));helper[_0x2a3e08(0xe4)](),helper[_0x2a3e08(0x134)]();const _0x132678=new BrowserStackSetup(_0x45a125[_0x2a3e08(0xf4)],FRAMEWORKS[_0x2a3e08(0xec)]);return _0x56cd9f[_0x2a3e08(0xff)](captureError,_0x56cd9f[_0x2a3e08(0x13d)](require,_0x56cd9f[_0x2a3e08(0xf3)]),_0x45a125[_0x2a3e08(0xf4)],_0x132678,_0x58bf76);})[a48_0x5eb507(0x12f)]('load\x20[subcommand]',a48_0x5eb507(0x11c),function(_0xa1bbc6){const _0x76e27c=a48_0x5eb507,_0x59e80b={};_0x59e80b['IZULa']=_0x76e27c(0x10c),_0x59e80b[_0x76e27c(0xe8)]=_0x76e27c(0x130),_0x59e80b[_0x76e27c(0xbe)]=_0x76e27c(0xf6);const _0x27660a=_0x59e80b;return _0xa1bbc6[_0x76e27c(0x10c)](![])[_0x76e27c(0x13a)](_0x27660a['IZULa'],{'alias':'h','type':_0x27660a[_0x76e27c(0xe8)],'describe':_0x27660a['ygwNH']})[_0x76e27c(0x13c)](![])[_0x76e27c(0x13e)](![]);},function(_0xc33fca){const _0x1b342=a48_0x5eb507,_0xdd5b4={'hipMz':function(_0x342d51,_0x38c7b4,_0x51f4ce){return _0x342d51(_0x38c7b4,_0x51f4ce);},'EToYs':function(_0x3c44b0,_0x2d3c42){return _0x3c44b0(_0x2d3c42);},'LpgAD':_0x1b342(0xe1)},_0x46cd5f={};return _0x46cd5f['argv']=_0xc33fca,_0xdd5b4[_0x1b342(0xfb)](captureError,_0xdd5b4[_0x1b342(0x106)](require,_0xdd5b4[_0x1b342(0xc2)]),_0x46cd5f);})[a48_0x5eb507(0xe5)](0x1,a48_0x5eb507(0xe3))['wrap'](null)[a48_0x5eb507(0xf4)];function a48_0x2946(){const _0xd16f8d=['GkZMK','DyeBB','showHelpOnFail','MeaTy','command','boolean','CODECEPTJS','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','node','setBrowserStackAutomationDisable','lznQC','find','codeceptjs','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','BvLra','option','alias','strict','RZCnN','exitProcess','INTEGRATIONS','xohSA','stack','pbbsO','../helpers/logger','describe','CFuzX','CUCUMBER','existsSync','OmiOC','util','128WLcliU','JPUaJ','VERSION','ygwNH','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','SDKTestSuccessful','getInstance','LpgAD','Hwizf','ggsAH','--mochaRequire','sendLogs','EVENTS','SDK_CLEANUP','SDK_SETUP','includes','../../ats/src/index','1271508bIlcdX','./playwright/command','./integrations/command','mocha','NIGHTWATCH','spawn','BROWSERSTACK_CONFIG_FILE_PATH','--no-package','slice','./codeceptjs/command','../helpers/performance/constants','.local-not-set.json','GTxzG','error','assign','config','--no-config','uiWLv','--require','JIXYq','join','./load/index','10438056yQwJSz','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','setTestObservabilityDisable','demandCommand','tdLSy','nightwatch','BjkmN','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','cucumber-js','VANILLA','PLAYWRIGHT','format','findAndReplace','VoVqM','32413150ebpsVF','syzGl','yargs','unGFx','argv','./cucumber-js/command','Show\x20help','ats','stop','mocha/lib/cli/cli.js','getConfigPath','hipMz','57561NHRzuo','run','../helpers/BrowserStackSetup','vVOeY','vanilla','SAvft','12twBsKm','env','playwright','uNhhj','EToYs','--no-opts','push','child_process','OMUmq','fireFunnelTestEvent','help','unlinkSync','./nightwatch/command','ASCUd','--package','end','../helpers/helper','INFO','jest','winstonLogger','248YbVrJF','info','feFzv','EYRpp','./jest/command','debug','Runs\x20the\x20binary\x20with\x20load\x20command','handler','4513640skpPNW','9548682ckeErp','LKXRw','BYiuV','./mocha/command','message','isUndefined','18642pQumrH','framework','start','usage:\x20$0\x20<command>\x20[args]','eIzJk','dot-notation'];a48_0x2946=function(){return _0xd16f8d;};return a48_0x2946();}!helper[a48_0x5eb507(0x124)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x5eb507(0xf7)&&console[a48_0x5eb507(0xd9)](a48_0x5eb507(0x138));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a49_0x2798a3=a49_0x29b8;function a49_0x291b(){const _0x4b4f48=['SDKSetup','90Tvbxrc','jest','isUndefined','Fkfwk','214841fZjKFu','Creating\x20configuration\x20file...','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','yargs','uDxrj','8UCdfoe','/../../browserstack.yml.sample','YOUR_USERNAME','stringify','2295680OHzTGA','includes','REaLX','browserstack-node-sdk\x20','browserstack-node-sdk','AZqAG','/package.json','UHBry','indexOf','Setup\x20completed','AkRel','cwd','parse','../helpers/logger','SDrvC','ZwPQR','source','QJreY','AnZhn','53031MdUvTS','bSfNf','winstonLogger','dJTPc','username','6779199mxqKCu','GvZYB','playwright','mocha','1769624vhWAjj','readFileSync','MIHDZ','js-yaml','ykbmA','fireFunnelTestEvent','IHiXP','jcYVy','-browserstack','scripts','argv','join','897597HGvtSQ','error','splice','nightwatch','key','cucumber-js','Adding\x20new\x20script(s)\x20in\x20package.json...','length','push','codeceptjs','\x20&&\x20npm\x20update\x20browserstack-node-sdk','node','/browserstack.yml','sQoVO','writeFileSync','utf8','info','node-setup','5846202vBPZBI','gupdD','4rNJPjp','replace','vZVMB'];a49_0x291b=function(){return _0x4b4f48;};return a49_0x291b();}(function(_0x22e917,_0x28b105){const _0x1fe673=a49_0x29b8,_0x390eaa=_0x22e917();while(!![]){try{const _0x153058=-parseInt(_0x1fe673(0x20c))/0x1*(-parseInt(_0x1fe673(0x204))/0x2)+parseInt(_0x1fe673(0x1db))/0x3+parseInt(_0x1fe673(0x211))/0x4*(parseInt(_0x1fe673(0x215))/0x5)+-parseInt(_0x1fe673(0x202))/0x6+-parseInt(_0x1fe673(0x1e0))/0x7+parseInt(_0x1fe673(0x1e4))/0x8+parseInt(_0x1fe673(0x1f0))/0x9*(parseInt(_0x1fe673(0x208))/0xa);if(_0x153058===_0x28b105)break;else _0x390eaa['push'](_0x390eaa['shift']());}catch(_0x3761cf){_0x390eaa['push'](_0x390eaa['shift']());}}}(a49_0x291b,0x843a7));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),yaml=require(a49_0x2798a3(0x1e7)),yargs=require(a49_0x2798a3(0x20f)),logger=require(a49_0x2798a3(0x1d5))[a49_0x2798a3(0x1dd)],configFileTemplate=__dirname+a49_0x2798a3(0x212),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a49_0x2798a3(0x1d3)]()+a49_0x2798a3(0x1fc),packageFile=process[a49_0x2798a3(0x1d3)]()+a49_0x2798a3(0x1ce),frameworks=[a49_0x2798a3(0x1e3),a49_0x2798a3(0x209),a49_0x2798a3(0x1f5),a49_0x2798a3(0x1fb),a49_0x2798a3(0x1f3),a49_0x2798a3(0x1f9),a49_0x2798a3(0x1e2)];let config;logger[a49_0x2798a3(0x200)](a49_0x2798a3(0x20d)),createConfigurationFile(yargs['argv'][a49_0x2798a3(0x1df)],yargs[a49_0x2798a3(0x1ee)][a49_0x2798a3(0x1f4)],yargs[a49_0x2798a3(0x1ee)][a49_0x2798a3(0x1e2)]);try{sdkSetup();}catch(a49_0xd1cfaf){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a49_0xd1cfaf);}addScriptInPackageJson();function createConfigurationFile(_0x406ee8,_0x3df865,_0x4c8abb=![]){const _0xfcba78=a49_0x2798a3,_0x10f0fc={};_0x10f0fc[_0xfcba78(0x1da)]='utf8',_0x10f0fc[_0xfcba78(0x217)]=_0xfcba78(0x213),_0x10f0fc['ZwPQR']='YOUR_ACCESS_KEY';const _0x4eb910=_0x10f0fc;try{let _0x1afc36=fs[_0xfcba78(0x1e5)](_0x4c8abb?configFileTemplatePW:configFileTemplate,_0x4eb910[_0xfcba78(0x1da)]);_0x406ee8&&(_0x1afc36=_0x1afc36[_0xfcba78(0x205)](_0x4eb910['REaLX'],_0x406ee8)),_0x3df865&&(_0x1afc36=_0x1afc36['replace'](_0x4eb910[_0xfcba78(0x1d7)],_0x3df865)),config=yaml['load'](_0x1afc36),fs[_0xfcba78(0x1fe)](configFile,_0x1afc36,_0x2051fc=>{_0x2051fc&&logger['error'](_0x2051fc);});}catch(_0x5cb5a5){logger[_0xfcba78(0x1f1)](_0x5cb5a5);}}function addPostInstallScript(_0x5258b4,_0x2bc8a5){const _0x2db8c4=a49_0x2798a3,_0x3c988d={};_0x3c988d[_0x2db8c4(0x1fd)]='postinstall',_0x3c988d[_0x2db8c4(0x1d6)]='npm\x20update\x20browserstack-node-sdk',_0x3c988d[_0x2db8c4(0x206)]=_0x2db8c4(0x1fa);const _0x24e2c6=_0x3c988d;let _0x39e7ff=_0x5258b4[_0x24e2c6[_0x2db8c4(0x1fd)]];if(_0x39e7ff&&_0x39e7ff['includes'](_0x24e2c6['SDrvC']))return;!_0x39e7ff?_0x39e7ff=_0x24e2c6['SDrvC']:_0x39e7ff+=_0x24e2c6[_0x2db8c4(0x206)],_0x2bc8a5[_0x2db8c4(0x1f8)]([_0x24e2c6['sQoVO'],_0x39e7ff]);}function addScriptInPackageJson(){const _0x154689=a49_0x2798a3,_0x442b65={'dJTPc':_0x154689(0x1ff),'ZHwON':function(_0x2b1641,_0x46bf30){return _0x2b1641<_0x46bf30;},'MIHDZ':function(_0x15c38a,_0x3d64b5,_0x4222b6){return _0x15c38a(_0x3d64b5,_0x4222b6);},'GvZYB':function(_0x56b211,_0x3d85cc){return _0x56b211<_0x3d85cc;},'UHBry':function(_0x1654af,_0x2870d5,_0x3d70b1){return _0x1654af(_0x2870d5,_0x3d70b1);},'gupdD':function(_0x3c81b9,_0x49262e){return _0x3c81b9<_0x49262e;},'uDxrj':function(_0x406c55,_0xc939f5){return _0x406c55!==_0xc939f5;},'bSfNf':_0x154689(0x1f6)},_0x18f62d=JSON[_0x154689(0x1d4)](fs[_0x154689(0x1e5)](packageFile,_0x442b65[_0x154689(0x1de)])),_0x48bdae=[];for(let _0x4855fe=0x0;_0x442b65['ZHwON'](_0x4855fe,frameworks[_0x154689(0x1f7)]);_0x4855fe+=0x1){const _0x39476e=_0x442b65['MIHDZ'](findScriptsWithFramework,_0x18f62d[_0x154689(0x1ed)],frameworks[_0x4855fe]);for(let _0x2ae492=0x0;_0x442b65[_0x154689(0x1e1)](_0x2ae492,_0x39476e[_0x154689(0x1f7)]);_0x2ae492+=0x1){_0x48bdae[_0x154689(0x1f8)](_0x442b65[_0x154689(0x1cf)](getUpdatedCommand,_0x18f62d['scripts'],_0x39476e[_0x2ae492]));}_0x442b65[_0x154689(0x1e6)](addPostInstallScript,_0x18f62d[_0x154689(0x1ed)],_0x48bdae);}const _0x51234e={..._0x18f62d[_0x154689(0x1ed)]},_0x4f5ac5=_0x51234e;for(let _0x4c134e=0x0;_0x442b65[_0x154689(0x203)](_0x4c134e,_0x48bdae['length']);_0x4c134e+=0x1){_0x4f5ac5[_0x48bdae[_0x4c134e][0x0]]=_0x48bdae[_0x4c134e][0x1];}_0x442b65[_0x154689(0x210)](JSON[_0x154689(0x214)](_0x18f62d[_0x154689(0x1ed)]),JSON['stringify'](_0x4f5ac5))&&(logger[_0x154689(0x200)](_0x442b65[_0x154689(0x1dc)]),_0x18f62d[_0x154689(0x1ed)]=_0x4f5ac5,fs[_0x154689(0x1fe)](packageFile,JSON[_0x154689(0x214)](_0x18f62d,null,0x2),_0x482f9b=>{const _0x30d824=_0x154689;_0x482f9b&&logger[_0x30d824(0x1f1)](_0x482f9b);}));};function findScriptsWithFramework(_0x2db8ac,_0x3a1b20){const _0x1c981f=a49_0x2798a3,_0x1678c6={};_0x1678c6[_0x1c981f(0x1d9)]=function(_0xe62157,_0x2dde24){return _0xe62157<_0x2dde24;},_0x1678c6[_0x1c981f(0x1eb)]=_0x1c981f(0x219);const _0x359ad2=_0x1678c6,_0x49178c=[],_0xff401=Object['entries'](_0x2db8ac);for(let _0x1c0dde=0x0;_0x359ad2[_0x1c981f(0x1d9)](_0x1c0dde,_0xff401[_0x1c981f(0x1f7)]);_0x1c0dde+=0x1){_0xff401[_0x1c0dde][0x1][_0x1c981f(0x216)](_0x3a1b20)&&!_0xff401[_0x1c0dde][0x1]['includes'](_0x359ad2[_0x1c981f(0x1eb)])&&_0x49178c[_0x1c981f(0x1f8)](_0xff401[_0x1c0dde][0x0]);}return _0x49178c;}function getUpdatedCommand(_0x3a8afe,_0xc7a81a){const _0x2ee7ac=a49_0x2798a3,_0xede3ac={};_0xede3ac[_0x2ee7ac(0x1ea)]=function(_0x82ac36,_0x32cbd6){return _0x82ac36!==_0x32cbd6;},_0xede3ac[_0x2ee7ac(0x20b)]=_0x2ee7ac(0x219),_0xede3ac['AkRel']=function(_0x3b2b8f,_0x162396){return _0x3b2b8f===_0x162396;};const _0x171fd8=_0xede3ac,_0x4f0c4f=_0xc7a81a+_0x2ee7ac(0x1ec),_0x392487=_0x3a8afe[_0xc7a81a],_0x5ebaae=_0x392487['split']('\x20');for(const _0x4d3f4f of frameworks){if(_0x171fd8['IHiXP'](_0x5ebaae[_0x2ee7ac(0x1d0)](_0x4d3f4f),-0x1)){_0x5ebaae[_0x2ee7ac(0x1f2)](_0x5ebaae[_0x2ee7ac(0x1d0)](_0x4d3f4f),0x0,_0x171fd8[_0x2ee7ac(0x20b)]);break;}}let _0x51d577=_0x5ebaae[_0x2ee7ac(0x1ef)]('\x20');return _0x171fd8[_0x2ee7ac(0x1d2)](_0x51d577,_0x392487)&&(_0x51d577=_0x2ee7ac(0x218)+_0x392487),[_0x4f0c4f,_0x51d577];}function a49_0x29b8(_0x2cb1a7,_0x49a364){const _0x291bf2=a49_0x291b();return a49_0x29b8=function(_0x29b873,_0x33404b){_0x29b873=_0x29b873-0x1ce;let _0x517d8b=_0x291bf2[_0x29b873];return _0x517d8b;},a49_0x29b8(_0x2cb1a7,_0x49a364);}function sdkSetup(){const _0x12b637=a49_0x2798a3,_0x3f93e4={};_0x3f93e4[_0x12b637(0x1e8)]=_0x12b637(0x201),_0x3f93e4[_0x12b637(0x21a)]=_0x12b637(0x207);const _0x1f5ea0=_0x3f93e4;if(helper[_0x12b637(0x20a)](config))return;config[_0x12b637(0x1d8)]=_0x1f5ea0['ykbmA'];try{utilities[_0x12b637(0x1e9)](_0x1f5ea0[_0x12b637(0x21a)],{},config,'');}catch(_0x14ed7a){logger['debug'](_0x12b637(0x20e)+_0x14ed7a);}}logger['info'](a49_0x2798a3(0x1d1));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50_0x4578e1=a50_0xd097;function a50_0x273d(){const _0x196ec8=['25gKxnTn','postMessage','AhjyN','72KxmeGs','xdiKj','stdout','_workerPool','LJmss','end','vanillaWorker','test-file-failure','stop','then','jest-worker','WcSHK','json','results','length','platform-run-success','winstonLogger','6649908qOvRyN','QTnyS','UhFGF','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','HFUoZ','dFlks','../../helpers/performance/performance-tester','pipe','cwvPT','cYmnz','Workers\x20failed\x20to\x20exit\x20gracefully','YWEYz','ZyXjZ','_child','./testWorker.js','\x20for','VsRqW','resolve','LKmda','../../helpers/performance/constants','getStdout','config','../../helpers/logger','1622224dzvtnv','platform','parallelVanillaRun','UNSTABLE_onCustomMessage','Exception\x20in\x20sending\x20worker\x20message\x20','iACfW','78730HeEQYZ','6847158AkHBeG','ffwUp','10XoPXmw','KixhE','worker_threads','platform-run-failure','SDK_SETUP','debug','exitCode','yWyYe','cucumberWorker','NREuz','4651563lKNNDy','exit','send','xbrnP','p-limit','test-file-success','jwGhX','getStderr','hThNb','FeTCT','error','IxXFq','qnxLQ','emit','all','log','util','Worker','waitForExit','3qyDbVL','platforms','parallelTestRun','56992958VJzQEM','ZBmdc','configuration','9005085fSgtLD','lZOaW','getWorkers','test-file-start','worker','yHZZa','emittery','platformCaps','map','stderr','FHXlv','format'];a50_0x273d=function(){return _0x196ec8;};return a50_0x273d();}(function(_0x4ca7c9,_0x869872){const _0x88f38f=a50_0xd097,_0xe84a99=_0x4ca7c9();while(!![]){try{const _0x30f09b=parseInt(_0x88f38f(0x1ed))/0x1*(-parseInt(_0x88f38f(0x21e))/0x2)+-parseInt(_0x88f38f(0x1db))/0x3*(parseInt(_0x88f38f(0x201))/0x4)+-parseInt(_0x88f38f(0x1e1))/0x5+parseInt(_0x88f38f(0x21f))/0x6+parseInt(_0x88f38f(0x1c8))/0x7+-parseInt(_0x88f38f(0x218))/0x8*(parseInt(_0x88f38f(0x1f0))/0x9)+-parseInt(_0x88f38f(0x221))/0xa*(-parseInt(_0x88f38f(0x1de))/0xb);if(_0x30f09b===_0x869872)break;else _0xe84a99['push'](_0xe84a99['shift']());}catch(_0x1a2936){_0xe84a99['push'](_0xe84a99['shift']());}}}(a50_0x273d,0xdfe2d));const Worker=require(a50_0x4578e1(0x1fa))[a50_0x4578e1(0x1d9)],Emittery=require(a50_0x4578e1(0x1e7)),pLimit=require(a50_0x4578e1(0x1cc)),{parentPort}=require(a50_0x4578e1(0x223)),util=require(a50_0x4578e1(0x1d8)),logger=require(a50_0x4578e1(0x217))[a50_0x4578e1(0x200)],PerformanceTester=require(a50_0x4578e1(0x207)),PerformanceEvents=require(a50_0x4578e1(0x214))['EVENTS'],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a50_0xd097(_0x4fa577,_0x217c52){const _0x273dbc=a50_0x273d();return a50_0xd097=function(_0xd09744,_0x2963f9){_0xd09744=_0xd09744-0x1c2;let _0x5d9346=_0x273dbc[_0xd09744];return _0x5d9346;},a50_0xd097(_0x4fa577,_0x217c52);}exports[a50_0x4578e1(0x1dd)]=(_0x14ec87,_0x1f5707,_0x2af36d)=>new Promise(async _0x5ebf8c=>{const _0x380278=a50_0x4578e1,_0x2032a9={'AhjyN':'failureCount','jwGhX':function(_0x582f77,_0x22d6d8){return _0x582f77+_0x22d6d8;},'cwvPT':_0x380278(0x1fd),'xdiKj':_0x380278(0x20b),'HFUoZ':function(_0x1e99a1,_0x3ef1b4){return _0x1e99a1(_0x3ef1b4);},'VBVqi':function(_0x2c84c5,_0x20e5b9){return _0x2c84c5(_0x20e5b9);},'iACfW':_0x380278(0x1e4),'lZOaW':_0x380278(0x20f),'YWEYz':_0x380278(0x1e5),'fzgDo':_0x380278(0x1fc),'JKiHr':_0x380278(0x208),'LJmss':function(_0x2239c0,_0x45b313){return _0x2239c0*_0x45b313;},'cYmnz':_0x380278(0x1cd),'hThNb':'test-file-failure','yHZZa':function(_0x4f550b,_0x3c3417){return _0x4f550b(_0x3c3417);},'sNYBc':function(_0x39a5a1,_0x54fb82){return _0x39a5a1*_0x54fb82;}},_0x5c7517=_0x2af36d[_0x380278(0x216)],_0x1b0300={},_0x4c0db3=new Worker(require[_0x380278(0x212)](_0x2032a9[_0x380278(0x1e2)]),{'exposedMethods':[_0x2032a9[_0x380278(0x20c)]],'forkOptions':{'serialization':_0x2032a9['fzgDo'],'stdio':_0x2032a9['JKiHr']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x2032a9[_0x380278(0x1f4)](_0x1f5707,0x1),'enableWorkerThreads':!![]}),_0x5cc35f=new Emittery();_0x5cc35f['on'](_0x2032a9[_0x380278(0x20a)],_0x1fbdce=>{const _0x5bbc26=_0x380278;_0x1b0300[_0x1fbdce[0x0]]?(_0x1b0300[_0x1fbdce[0x0]][_0x2032a9[_0x5bbc26(0x1ef)]]=_0x2032a9[_0x5bbc26(0x1ce)](_0x1b0300[_0x1fbdce[0x0]][_0x2032a9['AhjyN']],_0x1fbdce[0x1][_0x2032a9['AhjyN']]),_0x1b0300[_0x1fbdce[0x0]][_0x2032a9[_0x5bbc26(0x209)]]=[..._0x1b0300[_0x1fbdce[0x0]][_0x2032a9[_0x5bbc26(0x209)]],..._0x1fbdce[0x1][_0x2032a9[_0x5bbc26(0x209)]]]):_0x1b0300[_0x1fbdce[0x0]]={'failureCount':_0x1fbdce[0x1][_0x2032a9['AhjyN']],'results':[..._0x1fbdce[0x1][_0x2032a9[_0x5bbc26(0x209)]]]};}),_0x5cc35f['on'](_0x2032a9[_0x380278(0x1d0)],_0x4edbe7=>console[_0x380278(0x1d7)](_0x4edbe7[0x1]));_0x4c0db3['getStdout']()&&_0x4c0db3[_0x380278(0x215)]()[_0x380278(0x208)](process['stdout']);_0x4c0db3[_0x380278(0x1cf)]()&&_0x4c0db3[_0x380278(0x1cf)]()[_0x380278(0x208)](process[_0x380278(0x1ea)]);const _0x2e93b3=async()=>{const _0xc3a2f0=_0x380278,{forceExited:_0x15991e}=await _0x4c0db3[_0xc3a2f0(0x1f5)]();_0x15991e&&console['error'](_0x2032a9[_0xc3a2f0(0x1f1)]);try{await TestHubHandler[_0xc3a2f0(0x1f8)]();}catch(_0x32333c){_0x2032a9[_0xc3a2f0(0x205)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x32333c);}_0x2032a9['VBVqi'](_0x5ebf8c,_0x1b0300);},_0x4d3c68=_0x2032a9[_0x380278(0x1e6)](pLimit,_0x2032a9['sNYBc'](_0x1f5707,0x1)),_0x25bde1=_0x2769ff=>_0x4d3c68(async()=>{const _0x1198e8=_0x380278;await _0x5cc35f['emit'](_0x2032a9[_0x1198e8(0x21d)],_0x2769ff);const _0x25ecfa=_0x4c0db3[_0x1198e8(0x1e5)](_0x2769ff,_0x5c7517);try{parentPort&&_0x25ecfa[_0x1198e8(0x21b)](_0xf64b6d=>{const _0x18fdf7=_0x1198e8;try{parentPort[_0x18fdf7(0x1ee)](_0xf64b6d);}catch(_0x254ddb){logger[_0x18fdf7(0x1c3)](_0x18fdf7(0x21c)+util[_0x18fdf7(0x1ec)](_0x254ddb));}});}catch(_0x2b89c1){logger[_0x1198e8(0x1c3)](_0x1198e8(0x204)+util[_0x1198e8(0x1ec)](_0x2b89c1));}return _0x25ecfa;});PerformanceTester[_0x380278(0x1f5)](PerformanceEvents[_0x380278(0x1c2)]),Promise[_0x380278(0x1d6)](_0x14ec87[_0x380278(0x1e9)](_0xc180dd=>_0x25bde1(_0xc180dd)[_0x380278(0x1f9)](_0x20c2df=>_0x5cc35f[_0x380278(0x1d5)](_0x380278(0x1cd),[_0xc180dd[_0x380278(0x1e0)]['platform'],_0x20c2df]),_0x1c4429=>_0x5cc35f['emit'](_0x380278(0x1f7),[_0xc180dd,_0x1c4429]))))[_0x380278(0x1f9)](_0x2e93b3,_0x2e93b3);}),exports['parallelCucumberRun']=(_0x54566e,_0x39d484,_0x248b48,_0x21a54d,_0x530bbd)=>{const _0x38a26e=a50_0x4578e1,_0x535838={'dFlks':'Workers\x20failed\x20to\x20exit\x20gracefully','IxXFq':function(_0x5d1001,_0xad3d88){return _0x5d1001(_0xad3d88);},'xbrnP':'platform-run-start','QTnyS':_0x38a26e(0x20f),'ZBmdc':_0x38a26e(0x1c6),'VYhbH':_0x38a26e(0x1fc),'VsRqW':_0x38a26e(0x208),'ZWIYr':_0x38a26e(0x1ff),'aDzst':_0x38a26e(0x224)};return new Promise(_0x25011b=>{const _0x18aca4=_0x38a26e,_0x30146a=[],_0x232e53=new Worker(require['resolve'](_0x535838[_0x18aca4(0x202)]),{'exposedMethods':[_0x535838[_0x18aca4(0x1df)]],'forkOptions':{'serialization':_0x535838['VYhbH'],'stdio':_0x535838[_0x18aca4(0x211)]},'numWorkers':_0x54566e['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x27972d=new Emittery();_0x27972d['on'](_0x535838['ZWIYr'],_0x5d8738=>{_0x30146a['push']([_0x5d8738[0x0],_0x5d8738[0x1]]);}),_0x27972d['on'](_0x535838['aDzst'],_0x5c7745=>console[_0x18aca4(0x1d7)](_0x5c7745[0x1]));_0x232e53[_0x18aca4(0x215)]()&&_0x232e53[_0x18aca4(0x215)]()[_0x18aca4(0x208)](process[_0x18aca4(0x1f2)]);_0x232e53[_0x18aca4(0x1cf)]()&&_0x232e53[_0x18aca4(0x1cf)]()[_0x18aca4(0x208)](process[_0x18aca4(0x1ea)]);const _0x10317d=async()=>{const _0x5014fe=_0x18aca4,{forceExited:_0x4880ab}=await _0x232e53[_0x5014fe(0x1f5)]();_0x4880ab&&console[_0x5014fe(0x1d2)](_0x535838[_0x5014fe(0x206)]),_0x535838[_0x5014fe(0x1d3)](_0x25011b,_0x30146a);},_0x11703f=_0x535838[_0x18aca4(0x1d3)](pLimit,_0x54566e[_0x18aca4(0x1fe)]||0x1),_0x59a398=(_0x11b4a3,_0x5acb2e)=>_0x11703f(async()=>{const _0x373569=_0x18aca4;return await _0x27972d[_0x373569(0x1d5)](_0x535838[_0x373569(0x1cb)],_0x11b4a3),_0x39d484[_0x373569(0x1e8)]=_0x248b48[_0x373569(0x1dc)][_0x5acb2e],_0x232e53[_0x373569(0x1c6)](_0x11b4a3,_0x39d484,_0x248b48,_0x21a54d,_0x530bbd);});Promise[_0x18aca4(0x1d6)](_0x54566e[_0x18aca4(0x1e9)]((_0x8b1875,_0x223d3a)=>_0x59a398(_0x8b1875,_0x223d3a)[_0x18aca4(0x1f9)](_0x3fc055=>_0x27972d[_0x18aca4(0x1d5)](_0x18aca4(0x1ff),[_0x8b1875,_0x3fc055]),_0x4274cc=>_0x27972d[_0x18aca4(0x1d5)](_0x18aca4(0x224),[_0x8b1875,_0x4274cc]))))[_0x18aca4(0x1f9)](_0x10317d,_0x10317d);});},exports[a50_0x4578e1(0x21a)]=(_0x1647e1,_0x271251)=>new Promise(_0xe5e6b6=>{const _0x1c4760=a50_0x4578e1,_0x1f7e3d={'SytNi':function(_0x41fef9,_0xbeedb6){return _0x41fef9===_0xbeedb6;},'ffwUp':function(_0x8a8beb,_0x294518){return _0x8a8beb!==_0x294518;},'ubcCi':_0x1c4760(0x1c9),'LKmda':_0x1c4760(0x20b),'UhFGF':function(_0x5472ba,_0x43a550){return _0x5472ba(_0x43a550);},'ZyXjZ':_0x1c4760(0x20f),'NREuz':'vanillaWorker','qnxLQ':_0x1c4760(0x1fc),'FHXlv':_0x1c4760(0x208),'yWyYe':_0x1c4760(0x1cd),'FeTCT':_0x1c4760(0x1f7)},_0x1b194b={},_0x34550d=new Worker(require[_0x1c4760(0x212)](_0x1f7e3d[_0x1c4760(0x20d)]),{'exposedMethods':[_0x1f7e3d[_0x1c4760(0x1c7)]],'forkOptions':{'serialization':_0x1f7e3d[_0x1c4760(0x1d4)],'stdio':_0x1f7e3d[_0x1c4760(0x1eb)]},'numWorkers':_0x271251,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1afd0a=new Emittery();_0x1afd0a['on'](_0x1f7e3d[_0x1c4760(0x1c5)],_0x304a6a=>{const _0x369d28=_0x1c4760;_0x304a6a[0x0]&&logger['info']('Running\x20'+_0x304a6a[0x1]+_0x369d28(0x210),_0x304a6a[0x0]);}),_0x1afd0a['on'](_0x1f7e3d[_0x1c4760(0x1d1)],_0x460c67=>{const _0x3de8bb=_0x1c4760;process[_0x3de8bb(0x1c4)]=0x1;});_0x34550d[_0x1c4760(0x215)]()&&_0x34550d[_0x1c4760(0x215)]()[_0x1c4760(0x208)](process['stdout']);_0x34550d[_0x1c4760(0x1cf)]()&&_0x34550d[_0x1c4760(0x1cf)]()[_0x1c4760(0x208)](process['stderr']);const _0x3a2533=async()=>{const _0x2f232e=_0x1c4760;let _0x50f14b=0x0;const _0x175a13=_0x34550d[_0x2f232e(0x1f3)][_0x2f232e(0x1e3)](),_0x5c0969=()=>{},_0x5d28b1=_0x175a13[_0x2f232e(0x1e9)](async _0x2b7afc=>{const _0xd51b65=_0x2f232e,_0x39535b={'WcSHK':function(_0x5d0f07,_0xf8a832){return _0x1f7e3d['SytNi'](_0x5d0f07,_0xf8a832);},'KixhE':function(_0x10552b,_0x51c23b){const _0x3f88d1=a50_0xd097;return _0x1f7e3d[_0x3f88d1(0x220)](_0x10552b,_0x51c23b);}};_0x2b7afc[_0xd51b65(0x1ca)]([0x2,![]],_0x5c0969,_0x5c0969,_0x5c0969),_0x2b7afc[_0xd51b65(0x20e)]['on'](_0x1f7e3d['ubcCi'],_0xa55b14=>{const _0x5a5592=_0xd51b65;_0x39535b[_0x5a5592(0x1fb)](_0x50f14b,0x0)&&_0x39535b[_0x5a5592(0x222)](_0xa55b14,0x0)&&(_0x50f14b=_0xa55b14);}),await _0x2b7afc[_0xd51b65(0x1da)]();});await Promise[_0x2f232e(0x1d6)](_0x5d28b1),process[_0x2f232e(0x1c4)]=_0x50f14b;const {forceExited:_0x463113}=await _0x34550d[_0x2f232e(0x1f5)]();_0x463113&&console[_0x2f232e(0x1d2)](_0x1f7e3d[_0x2f232e(0x213)]),_0x1f7e3d[_0x2f232e(0x203)](_0xe5e6b6,_0x1b194b);},_0x2d38cc=_0x1f7e3d[_0x1c4760(0x203)](pLimit,_0x271251),_0x2e78ac=_0x1b9509=>_0x2d38cc(async()=>{const _0x1c7b3e=_0x1c4760;return _0x34550d[_0x1c7b3e(0x1f6)](_0x1b9509);});Promise[_0x1c4760(0x1d6)](_0x1647e1['map'](_0x1ff63c=>_0x2e78ac(_0x1ff63c)[_0x1c4760(0x1f9)](_0xcd3332=>_0x1afd0a[_0x1c4760(0x1d5)](_0x1c4760(0x1cd),[_0x1ff63c[_0x1c4760(0x1e0)][_0x1c4760(0x219)],_0x1ff63c[_0x1c4760(0x1e0)]['file']]),_0x8b86ab=>_0x1afd0a[_0x1c4760(0x1d5)](_0x1c4760(0x1f7),[_0x1ff63c,_0x8b86ab]))))[_0x1c4760(0x1f9)](_0x3a2533,_0x3a2533);});
|
|
1
|
+
const a50_0xadbe8d=a50_0x5bb1;(function(_0x400989,_0x317092){const _0x5ae3f2=a50_0x5bb1,_0x214026=_0x400989();while(!![]){try{const _0x13aa9f=-parseInt(_0x5ae3f2(0x152))/0x1*(parseInt(_0x5ae3f2(0x157))/0x2)+parseInt(_0x5ae3f2(0x13a))/0x3+parseInt(_0x5ae3f2(0x12c))/0x4+parseInt(_0x5ae3f2(0x125))/0x5+parseInt(_0x5ae3f2(0x115))/0x6*(parseInt(_0x5ae3f2(0x130))/0x7)+parseInt(_0x5ae3f2(0x156))/0x8*(parseInt(_0x5ae3f2(0x139))/0x9)+parseInt(_0x5ae3f2(0x10b))/0xa*(-parseInt(_0x5ae3f2(0x15b))/0xb);if(_0x13aa9f===_0x317092)break;else _0x214026['push'](_0x214026['shift']());}catch(_0x9a3d7){_0x214026['push'](_0x214026['shift']());}}}(a50_0x3b8f,0x6bc25));const Worker=require(a50_0xadbe8d(0x119))[a50_0xadbe8d(0x136)],Emittery=require('emittery'),pLimit=require(a50_0xadbe8d(0x154)),{parentPort}=require('worker_threads'),util=require(a50_0xadbe8d(0x124)),logger=require('../../helpers/logger')['winstonLogger'],PerformanceTester=require(a50_0xadbe8d(0x109)),PerformanceEvents=require('../../helpers/performance/constants')[a50_0xadbe8d(0x11e)],{debug}=require(a50_0xadbe8d(0x14f)),TestHubHandler=require(a50_0xadbe8d(0x113));function a50_0x3b8f(){const _0x2d83c3=['\x20for','Dlwho','resolve','vtVmP','QgngC','eeNuX','Nncej','SDK_SETUP','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','aQnhY','cXAYU','test-file-success','../../helpers/test-observability/utils','iumdG','cucumberWorker','3848FdQpOV','Exception\x20in\x20sending\x20worker\x20message\x20','p-limit','RGtsE','30344cwOVci','26TwwQaO','length','pNmaY','xZjng','81301pDoZDI','PxakJ','EFGCq','info','AigZH','platform-run-failure','dGvsX','ZfeEL','exitCode','map','emit','parallelVanillaRun','EQZCP','getStdout','../../helpers/performance/performance-tester','stderr','4010XXjBDF','worker','all','test-file-start','failureCount','json','cNQtv','slXcw','../../helpers/testhub/testhubHandler','end','198liSDKi','format','vanillaWorker','platform-run-start','jest-worker','stop','getStderr','getWorkers','configuration','EVENTS','WUHcS','send','EWrpc','parallelTestRun','Workers\x20failed\x20to\x20exit\x20gracefully','util','3257880fIZDKU','_child','tirtb','vOCNs','AkEcW','stdout','./testWorker.js','3157588wdMEer','then','platform','Running\x20','164073TAsdOB','exit','error','test-file-failure','file','pipe','Worker','FSYRT','VgJGu','1359ovMHbJ','2003979pYoXJA','platforms','gqPwz','platformCaps','log','push','BLfxD','WgnVQ','BJNUx'];a50_0x3b8f=function(){return _0x2d83c3;};return a50_0x3b8f();}function a50_0x5bb1(_0x4b26db,_0x3c88a4){const _0x3b8f73=a50_0x3b8f();return a50_0x5bb1=function(_0x5bb18b,_0x248873){_0x5bb18b=_0x5bb18b-0x101;let _0x479880=_0x3b8f73[_0x5bb18b];return _0x479880;},a50_0x5bb1(_0x4b26db,_0x3c88a4);}exports[a50_0xadbe8d(0x122)]=(_0x49ce53,_0x201af6,_0x44cc79)=>new Promise(async _0x58ff1b=>{const _0x3ad74e=a50_0xadbe8d,_0x5e2263={'cXAYU':_0x3ad74e(0x10f),'FSYRT':function(_0x49fb2b,_0x4c1c53){return _0x49fb2b+_0x4c1c53;},'iumdG':'results','QgngC':'Workers\x20failed\x20to\x20exit\x20gracefully','vOCNs':function(_0x4423be,_0x4b5adc){return _0x4423be(_0x4b5adc);},'EQZCP':_0x3ad74e(0x10e),'LbwtS':_0x3ad74e(0x12b),'ZfeEL':_0x3ad74e(0x10c),'vqgBX':_0x3ad74e(0x110),'EWrpc':_0x3ad74e(0x135),'pNmaY':function(_0x4fb23c,_0x583f97){return _0x4fb23c*_0x583f97;},'BLfxD':'test-file-success','Nncej':_0x3ad74e(0x133)},_0x13b88c=_0x44cc79['config'],_0x4afa2b={},_0x194a03=new Worker(require[_0x3ad74e(0x145)](_0x5e2263['LbwtS']),{'exposedMethods':[_0x5e2263[_0x3ad74e(0x102)]],'forkOptions':{'serialization':_0x5e2263['vqgBX'],'stdio':_0x5e2263[_0x3ad74e(0x121)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x5e2263[_0x3ad74e(0x159)](_0x201af6,0x1),'enableWorkerThreads':!![]}),_0x3015c5=new Emittery();_0x3015c5['on'](_0x5e2263[_0x3ad74e(0x140)],_0x5e33fc=>{const _0x56a2b3=_0x3ad74e;_0x4afa2b[_0x5e33fc[0x0]]?(_0x4afa2b[_0x5e33fc[0x0]][_0x5e2263[_0x56a2b3(0x14d)]]=_0x5e2263[_0x56a2b3(0x137)](_0x4afa2b[_0x5e33fc[0x0]][_0x5e2263[_0x56a2b3(0x14d)]],_0x5e33fc[0x1][_0x5e2263['cXAYU']]),_0x4afa2b[_0x5e33fc[0x0]][_0x5e2263[_0x56a2b3(0x150)]]=[..._0x4afa2b[_0x5e33fc[0x0]][_0x5e2263[_0x56a2b3(0x150)]],..._0x5e33fc[0x1][_0x5e2263['iumdG']]]):_0x4afa2b[_0x5e33fc[0x0]]={'failureCount':_0x5e33fc[0x1][_0x5e2263['cXAYU']],'results':[..._0x5e33fc[0x1][_0x5e2263[_0x56a2b3(0x150)]]]};}),_0x3015c5['on'](_0x5e2263[_0x3ad74e(0x149)],_0xfc6a22=>console[_0x3ad74e(0x13e)](_0xfc6a22[0x1]));_0x194a03[_0x3ad74e(0x108)]()&&_0x194a03[_0x3ad74e(0x108)]()[_0x3ad74e(0x135)](process[_0x3ad74e(0x12a)]);_0x194a03[_0x3ad74e(0x11b)]()&&_0x194a03[_0x3ad74e(0x11b)]()[_0x3ad74e(0x135)](process[_0x3ad74e(0x10a)]);const _0x2ba935=async()=>{const _0x154d88=_0x3ad74e,{forceExited:_0x5941e7}=await _0x194a03[_0x154d88(0x114)]();_0x5941e7&&console[_0x154d88(0x132)](_0x5e2263[_0x154d88(0x147)]);try{await TestHubHandler[_0x154d88(0x11a)]();}catch(_0x11edbe){_0x5e2263[_0x154d88(0x128)](debug,_0x154d88(0x14b)+_0x11edbe);}_0x5e2263[_0x154d88(0x128)](_0x58ff1b,_0x4afa2b);},_0x30ecc5=_0x5e2263[_0x3ad74e(0x128)](pLimit,_0x5e2263[_0x3ad74e(0x159)](_0x201af6,0x1)),_0x4f2ab5=_0x409899=>_0x30ecc5(async()=>{const _0x5276d2=_0x3ad74e;await _0x3015c5[_0x5276d2(0x105)](_0x5e2263[_0x5276d2(0x107)],_0x409899);const _0x2e544f=_0x194a03[_0x5276d2(0x10c)](_0x409899,_0x13b88c);try{parentPort&&_0x2e544f['UNSTABLE_onCustomMessage'](_0x15471b=>{const _0x16be0c=_0x5276d2;try{parentPort['postMessage'](_0x15471b);}catch(_0x39c981){logger['debug'](_0x16be0c(0x153)+util['format'](_0x39c981));}});}catch(_0x3d2215){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x5276d2(0x116)](_0x3d2215));}return _0x2e544f;});PerformanceTester[_0x3ad74e(0x114)](PerformanceEvents[_0x3ad74e(0x14a)]),Promise[_0x3ad74e(0x10d)](_0x49ce53[_0x3ad74e(0x104)](_0x11efb9=>_0x4f2ab5(_0x11efb9)['then'](_0x2c1c19=>_0x3015c5[_0x3ad74e(0x105)]('test-file-success',[_0x11efb9['configuration'][_0x3ad74e(0x12e)],_0x2c1c19]),_0x48da0c=>_0x3015c5[_0x3ad74e(0x105)]('test-file-failure',[_0x11efb9,_0x48da0c]))))[_0x3ad74e(0x12d)](_0x2ba935,_0x2ba935);}),exports['parallelCucumberRun']=(_0x5ccacf,_0x1068c3,_0x347536,_0x1bd4a9,_0x14155d)=>{const _0x4c56ee=a50_0xadbe8d,_0x1b9814={'slXcw':_0x4c56ee(0x123),'VgJGu':function(_0x332c6a,_0x410243){return _0x332c6a(_0x410243);},'gqPwz':_0x4c56ee(0x118),'jsbnY':'./testWorker.js','AigZH':'cucumberWorker','vtVmP':_0x4c56ee(0x110),'NWzqT':'pipe','dGvsX':'platform-run-success','BJNUx':'platform-run-failure'};return new Promise(_0x430a35=>{const _0x56b981=_0x4c56ee,_0x3c0279=[],_0xb13f03=new Worker(require[_0x56b981(0x145)](_0x1b9814['jsbnY']),{'exposedMethods':[_0x1b9814[_0x56b981(0x15f)]],'forkOptions':{'serialization':_0x1b9814[_0x56b981(0x146)],'stdio':_0x1b9814['NWzqT']},'numWorkers':_0x5ccacf[_0x56b981(0x158)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2ec2ea=new Emittery();_0x2ec2ea['on'](_0x1b9814[_0x56b981(0x101)],_0x5d23ce=>{const _0x188c1c=_0x56b981;_0x3c0279[_0x188c1c(0x13f)]([_0x5d23ce[0x0],_0x5d23ce[0x1]]);}),_0x2ec2ea['on'](_0x1b9814[_0x56b981(0x142)],_0x3b2da5=>console['log'](_0x3b2da5[0x1]));_0xb13f03[_0x56b981(0x108)]()&&_0xb13f03[_0x56b981(0x108)]()['pipe'](process[_0x56b981(0x12a)]);_0xb13f03[_0x56b981(0x11b)]()&&_0xb13f03[_0x56b981(0x11b)]()['pipe'](process['stderr']);const _0x13c928=async()=>{const _0x3d81c1=_0x56b981,{forceExited:_0x1dfa56}=await _0xb13f03[_0x3d81c1(0x114)]();_0x1dfa56&&console[_0x3d81c1(0x132)](_0x1b9814[_0x3d81c1(0x112)]),_0x1b9814['VgJGu'](_0x430a35,_0x3c0279);},_0x279ed5=_0x1b9814[_0x56b981(0x138)](pLimit,_0x5ccacf[_0x56b981(0x158)]||0x1),_0xb5be4f=(_0x2b78bd,_0x2cb363)=>_0x279ed5(async()=>{const _0x26d796=_0x56b981;return await _0x2ec2ea[_0x26d796(0x105)](_0x1b9814[_0x26d796(0x13c)],_0x2b78bd),_0x1068c3[_0x26d796(0x13d)]=_0x347536[_0x26d796(0x13b)][_0x2cb363],_0xb13f03[_0x26d796(0x151)](_0x2b78bd,_0x1068c3,_0x347536,_0x1bd4a9,_0x14155d);});Promise[_0x56b981(0x10d)](_0x5ccacf['map']((_0x28376a,_0x52c633)=>_0xb5be4f(_0x28376a,_0x52c633)['then'](_0x1e7dbe=>_0x2ec2ea[_0x56b981(0x105)]('platform-run-success',[_0x28376a,_0x1e7dbe]),_0x185dc5=>_0x2ec2ea[_0x56b981(0x105)](_0x56b981(0x160),[_0x28376a,_0x185dc5]))))[_0x56b981(0x12d)](_0x13c928,_0x13c928);});},exports[a50_0xadbe8d(0x106)]=(_0x409351,_0xd9a26e)=>new Promise(_0x5600ca=>{const _0x37ab0d=a50_0xadbe8d,_0x54a65e={'EFGCq':function(_0x5aeb77,_0x3cb070){return _0x5aeb77===_0x3cb070;},'aQnhY':function(_0x593789,_0x4bb3c9){return _0x593789!==_0x4bb3c9;},'xZjng':_0x37ab0d(0x131),'WUHcS':_0x37ab0d(0x123),'WgnVQ':function(_0x5e07dc,_0x16dbd9){return _0x5e07dc(_0x16dbd9);},'eeNuX':_0x37ab0d(0x12b),'tirtb':_0x37ab0d(0x117),'Dlwho':'json','AkEcW':'pipe','aEjZO':_0x37ab0d(0x14e),'PxakJ':_0x37ab0d(0x133),'cNQtv':function(_0xf757ef,_0x32a1cd){return _0xf757ef(_0x32a1cd);}},_0x3d3286={},_0x327627=new Worker(require[_0x37ab0d(0x145)](_0x54a65e[_0x37ab0d(0x148)]),{'exposedMethods':[_0x54a65e[_0x37ab0d(0x127)]],'forkOptions':{'serialization':_0x54a65e[_0x37ab0d(0x144)],'stdio':_0x54a65e[_0x37ab0d(0x129)]},'numWorkers':_0xd9a26e,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3414b1=new Emittery();_0x3414b1['on'](_0x54a65e['aEjZO'],_0x39403d=>{const _0x322469=_0x37ab0d;_0x39403d[0x0]&&logger[_0x322469(0x15e)](_0x322469(0x12f)+_0x39403d[0x1]+_0x322469(0x143),_0x39403d[0x0]);}),_0x3414b1['on'](_0x54a65e[_0x37ab0d(0x15c)],_0x4b5aca=>{const _0x287442=_0x37ab0d;process[_0x287442(0x103)]=0x1;});_0x327627[_0x37ab0d(0x108)]()&&_0x327627[_0x37ab0d(0x108)]()['pipe'](process[_0x37ab0d(0x12a)]);_0x327627[_0x37ab0d(0x11b)]()&&_0x327627['getStderr']()[_0x37ab0d(0x135)](process[_0x37ab0d(0x10a)]);const _0x5a97aa=async()=>{const _0x43ea48=_0x37ab0d;let _0xdaead7=0x0;const _0xce962a=_0x327627['_workerPool'][_0x43ea48(0x11c)](),_0x54c708=()=>{},_0x8e72b9=_0xce962a[_0x43ea48(0x104)](async _0x55d57e=>{const _0x1b8347=_0x43ea48,_0x3431d3={'Haknm':function(_0x515c9a,_0x10f91f){const _0x45675b=a50_0x5bb1;return _0x54a65e[_0x45675b(0x15d)](_0x515c9a,_0x10f91f);},'RGtsE':function(_0xfa9b8e,_0x340583){const _0x71b523=a50_0x5bb1;return _0x54a65e[_0x71b523(0x14c)](_0xfa9b8e,_0x340583);}};_0x55d57e[_0x1b8347(0x120)]([0x2,![]],_0x54c708,_0x54c708,_0x54c708),_0x55d57e[_0x1b8347(0x126)]['on'](_0x54a65e[_0x1b8347(0x15a)],_0x472008=>{const _0x232274=_0x1b8347;_0x3431d3['Haknm'](_0xdaead7,0x0)&&_0x3431d3[_0x232274(0x155)](_0x472008,0x0)&&(_0xdaead7=_0x472008);}),await _0x55d57e['waitForExit']();});await Promise[_0x43ea48(0x10d)](_0x8e72b9),process[_0x43ea48(0x103)]=_0xdaead7;const {forceExited:_0x1cd4cf}=await _0x327627['end']();_0x1cd4cf&&console[_0x43ea48(0x132)](_0x54a65e[_0x43ea48(0x11f)]),_0x54a65e[_0x43ea48(0x141)](_0x5600ca,_0x3d3286);},_0x1edba1=_0x54a65e[_0x37ab0d(0x111)](pLimit,_0xd9a26e),_0x53a5dd=_0x28aa43=>_0x1edba1(async()=>{return _0x327627['vanillaWorker'](_0x28aa43);});Promise[_0x37ab0d(0x10d)](_0x409351[_0x37ab0d(0x104)](_0x5e3738=>_0x53a5dd(_0x5e3738)[_0x37ab0d(0x12d)](_0x1d40c6=>_0x3414b1[_0x37ab0d(0x105)]('test-file-success',[_0x5e3738[_0x37ab0d(0x11d)][_0x37ab0d(0x12e)],_0x5e3738['configuration'][_0x37ab0d(0x134)]]),_0x2985b6=>_0x3414b1['emit'](_0x37ab0d(0x133),[_0x5e3738,_0x2985b6]))))['then'](_0x5a97aa,_0x5a97aa);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a51_0x148146=a51_0x5962;(function(_0x4a8e97,_0x592b26){const _0x2858d8=a51_0x5962,_0x279e19=_0x4a8e97();while(!![]){try{const _0x59611e=-parseInt(_0x2858d8(0x1e9))/0x1+-parseInt(_0x2858d8(0x1e7))/0x2+-parseInt(_0x2858d8(0x1d6))/0x3+-parseInt(_0x2858d8(0x1ec))/0x4+-parseInt(_0x2858d8(0x1ed))/0x5+-parseInt(_0x2858d8(0x1e8))/0x6+parseInt(_0x2858d8(0x1d5))/0x7;if(_0x59611e===_0x592b26)break;else _0x279e19['push'](_0x279e19['shift']());}catch(_0x350c01){_0x279e19['push'](_0x279e19['shift']());}}}(a51_0x27ae,0x8e4b4));const PerformanceEvents=require(a51_0x148146(0x1d4))['EVENTS'],PerformanceTester=require(a51_0x148146(0x1ef)),{sleep}=require(a51_0x148146(0x1da));exports['runTest']=async(_0x2a74ed,_0xa4350)=>{const _0x3d3fe3=a51_0x148146,_0x1dc4b5={'cczJN':function(_0x59ae14,_0x2e4a29){return _0x59ae14(_0x2e4a29);},'GwAnZ':_0x3d3fe3(0x1de),'dXkWv':_0x3d3fe3(0x1e4)};PerformanceTester[_0x3d3fe3(0x1dc)]();const _0x537bb3=_0x1dc4b5['cczJN'](require,_0x1dc4b5[_0x3d3fe3(0x1e1)]),_0x4766da=new _0x537bb3(_0x1dc4b5[_0x3d3fe3(0x1e2)],_0x2a74ed,_0xa4350),_0x50fae8=await _0x4766da['run']();return PerformanceTester[_0x3d3fe3(0x1ee)](PerformanceEvents[_0x3d3fe3(0x1d7)]),await _0x1dc4b5[_0x3d3fe3(0x1e0)](sleep,0x3e8),PerformanceTester[_0x3d3fe3(0x1d8)](),_0x50fae8;},exports['runCucumberTest']=async(_0x5e8be9,_0x4239d0,_0x2272b9,_0x53157e,_0x5e7f96)=>{const _0x219a91=a51_0x148146,_0x5b46f8={'VHzcF':function(_0x46eff5,_0x390b61){return _0x46eff5(_0x390b61);},'MeCzF':_0x219a91(0x1de),'feSrq':_0x219a91(0x1d3)},_0x336d40={'capability':_0x5e8be9,..._0x4239d0},_0x2cb488={};_0x2cb488[_0x219a91(0x1d9)]=_0x336d40,_0x2cb488['formatter']=_0x5e7f96;const _0x100c51=_0x2cb488,_0x3c55f4=_0x5b46f8[_0x219a91(0x1db)](require,_0x5b46f8[_0x219a91(0x1d2)]),_0x3c97ce=new _0x3c55f4(_0x5b46f8[_0x219a91(0x1e5)],_0x100c51,_0x2272b9,_0x53157e);return await _0x3c97ce[_0x219a91(0x1e6)]();},exports[a51_0x148146(0x1df)]=async _0x51cc97=>{const _0x19df2f=a51_0x148146,_0x111746={'BocsH':function(_0x47ed2f,_0x3841bc){return _0x47ed2f(_0x3841bc);},'atUpg':_0x19df2f(0x1de),'wDEqo':_0x19df2f(0x1dd)},_0x29faba=_0x111746[_0x19df2f(0x1eb)](require,_0x111746[_0x19df2f(0x1e3)]),_0x44148b=new _0x29faba(_0x111746[_0x19df2f(0x1ea)],_0x51cc97);return await _0x44148b[_0x19df2f(0x1e6)]();};function a51_0x5962(_0x31b234,_0x55f5ac){const _0x27ae07=a51_0x27ae();return a51_0x5962=function(_0x596282,_0x1b0de4){_0x596282=_0x596282-0x1d2;let _0x391d5d=_0x27ae07[_0x596282];return _0x391d5d;},a51_0x5962(_0x31b234,_0x55f5ac);}function a51_0x27ae(){const _0x5082ba=['mocha','feSrq','run','1156074rUnLFp','5887092vMVEwH','440816uKKJCf','wDEqo','BocsH','2587808OeaAqF','3450530EJqmFl','end','../../helpers/performance/performance-tester','MeCzF','cucumber-js','../../helpers/performance/constants','28377615WCuDgP','402048eBNCfg','SDK_POST_TEST','stopMonitoring','configuration','../../helpers/test-observability/utils','VHzcF','startMonitoring','vanilla','../launcher/launcher','runVanillaTest','cczJN','GwAnZ','dXkWv','atUpg'];a51_0x27ae=function(){return _0x5082ba;};return a51_0x27ae();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x167ada=a52_0x3160;function a52_0x3160(_0x48e35e,_0x41f926){const _0x36436b=a52_0x3643();return a52_0x3160=function(_0x3160c3,_0x354d6d){_0x3160c3=_0x3160c3-0x1c2;let _0x1e3df5=_0x36436b[_0x3160c3];return _0x1e3df5;},a52_0x3160(_0x48e35e,_0x41f926);}(function(_0x5c17b9,_0x203207){const _0x3a5f6d=a52_0x3160,_0x27de13=_0x5c17b9();while(!![]){try{const _0x4e6636=-parseInt(_0x3a5f6d(0x1c4))/0x1*(parseInt(_0x3a5f6d(0x1ca))/0x2)+parseInt(_0x3a5f6d(0x1cb))/0x3+parseInt(_0x3a5f6d(0x1cf))/0x4*(parseInt(_0x3a5f6d(0x1ce))/0x5)+-parseInt(_0x3a5f6d(0x1c8))/0x6+-parseInt(_0x3a5f6d(0x1cc))/0x7*(parseInt(_0x3a5f6d(0x1d0))/0x8)+-parseInt(_0x3a5f6d(0x1c3))/0x9*(parseInt(_0x3a5f6d(0x1c9))/0xa)+parseInt(_0x3a5f6d(0x1c5))/0xb*(parseInt(_0x3a5f6d(0x1cd))/0xc);if(_0x4e6636===_0x203207)break;else _0x27de13['push'](_0x27de13['shift']());}catch(_0xb530af){_0x27de13['push'](_0x27de13['shift']());}}}(a52_0x3643,0xa3ac0));const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');function a52_0x3643(){const _0x9b4f4c=['3481709avvfFR','vanillaWorker','OlmLL','2082648emOzXQ','32330oqMgSD','8wfjgTF','23883DjwVBH','409339YBWWNn','84lUHSOl','1358805idVTbK','8jYbIZX','80KmISBN','worker','630zoraJw','234632iMtcaG'];a52_0x3643=function(){return _0x9b4f4c;};return a52_0x3643();}exports[a52_0x167ada(0x1c2)]=async(_0x457751,_0x2a1301)=>{const _0x59dd98=a52_0x167ada,_0x40cd9a={'OlmLL':function(_0x4675ed,_0x26783c,_0x3b3210){return _0x4675ed(_0x26783c,_0x3b3210);}};return await _0x40cd9a[_0x59dd98(0x1c7)](runTest,_0x457751,_0x2a1301);},exports['cucumberWorker']=async(_0x221621,_0xe1759d,_0x56386b,_0x56ca13,_0x5d59bd)=>{const _0x325a68={'aQGmb':function(_0x4a44d1,_0x4e2ea3,_0x15f166,_0x324fd1,_0x5f17e7,_0x5de558){return _0x4a44d1(_0x4e2ea3,_0x15f166,_0x324fd1,_0x5f17e7,_0x5de558);}};return await _0x325a68['aQGmb'](runCucumberTest,_0x221621,_0xe1759d,_0x56386b,_0x56ca13,_0x5d59bd);},exports[a52_0x167ada(0x1c6)]=async _0x4b800b=>{const _0x1f328f={'KsYoT':function(_0x48c0c7,_0x2b9c9f){return _0x48c0c7(_0x2b9c9f);}};return await _0x1f328f['KsYoT'](runVanillaTest,_0x4b800b);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a53_0x145929=a53_0x468c;(function(_0x1f92d9,_0x3b1c9f){const _0x123462=a53_0x468c,_0x349bf7=_0x1f92d9();while(!![]){try{const _0x5142ad=parseInt(_0x123462(0x19c))/0x1*(-parseInt(_0x123462(0x1b2))/0x2)+-parseInt(_0x123462(0x18e))/0x3+-parseInt(_0x123462(0x1af))/0x4*(parseInt(_0x123462(0x176))/0x5)+-parseInt(_0x123462(0x168))/0x6+parseInt(_0x123462(0x16f))/0x7+parseInt(_0x123462(0x16e))/0x8+parseInt(_0x123462(0x15b))/0x9;if(_0x5142ad===_0x3b1c9f)break;else _0x349bf7['push'](_0x349bf7['shift']());}catch(_0x4570f4){_0x349bf7['push'](_0x349bf7['shift']());}}}(a53_0x88ea,0xf11c0));const constants=require(a53_0x145929(0x18b)),{nestedKeyValue}=require(a53_0x145929(0x19e)),getBrowserstackCLI=()=>{const _0x2e24d1=a53_0x145929,_0xca1a45={'vOJXw':function(_0x412d4a,_0x1cab9a){return _0x412d4a(_0x1cab9a);},'UFHtZ':_0x2e24d1(0x15e)};return _0xca1a45[_0x2e24d1(0x166)](require,_0xca1a45[_0x2e24d1(0x1ae)]);};class APIUtilityMethods{static[a53_0x145929(0x17f)](_0x4fb18f){const _0x67d192=a53_0x145929,_0x51ce0a={'SLFHf':function(_0x55d8d5){return _0x55d8d5();},'fujDQ':function(_0x508ef5,_0x563303,_0x465450){return _0x508ef5(_0x563303,_0x465450);},'JYYfQ':_0x67d192(0x1b7),'gbslb':_0x67d192(0x17e),'XjcQH':'api','KFKGB':function(_0x399aaf,_0x51d6b9){return _0x399aaf===_0x51d6b9;},'sWjFE':function(_0x2cf2de,_0x32a92d){return _0x2cf2de+_0x32a92d;}},_0x19280f=_0x51ce0a[_0x67d192(0x194)](getBrowserstackCLI),_0x439861=_0x51ce0a[_0x67d192(0x18d)](nestedKeyValue,_0x19280f[_0x67d192(0x1a9)]()[_0x67d192(0x189)](),[_0x51ce0a['JYYfQ'],_0x51ce0a['gbslb'],_0x51ce0a['XjcQH']])||constants[_0x67d192(0x17a)];if(!_0x4fb18f||_0x51ce0a[_0x67d192(0x180)](_0x4fb18f,''))return _0x439861;const _0xabbe12=_0x439861[_0x67d192(0x17c)]('/')?_0x439861:_0x51ce0a['sWjFE'](_0x439861,'/');return new URL(_0x4fb18f,_0xabbe12)[_0x67d192(0x1a7)]();}static['getEdsInstrumentationAPIUrl'](_0x1a37a8){const _0x2d9514=a53_0x145929,_0x4c575f={'XruPd':function(_0x3cda48){return _0x3cda48();},'uuqLl':function(_0x5ab16d,_0x13a09d,_0x2371f4){return _0x5ab16d(_0x13a09d,_0x2371f4);},'TVcuc':'apis','eyxdb':_0x2d9514(0x1ab),'iCuVu':_0x2d9514(0x175),'cyIPY':function(_0x507ea6,_0x190377){return _0x507ea6===_0x190377;},'ZAqce':function(_0x36ab60,_0x1e9314){return _0x36ab60+_0x1e9314;}},_0x159a04=_0x4c575f['XruPd'](getBrowserstackCLI),_0x37d741=_0x4c575f[_0x2d9514(0x182)](nestedKeyValue,_0x159a04['getInstance']()[_0x2d9514(0x189)](),[_0x4c575f[_0x2d9514(0x19b)],_0x4c575f[_0x2d9514(0x167)],_0x4c575f[_0x2d9514(0x159)]])||constants[_0x2d9514(0x198)];if(!_0x1a37a8||_0x4c575f[_0x2d9514(0x157)](_0x1a37a8,''))return _0x37d741;const _0x5ab8af=_0x37d741[_0x2d9514(0x17c)]('/')?_0x37d741:_0x4c575f[_0x2d9514(0x1b4)](_0x37d741,'/');return new URL(_0x1a37a8,_0x5ab8af)[_0x2d9514(0x1a7)]();}static[a53_0x145929(0x1b6)](_0x1819be){const _0x36ce1d=a53_0x145929,_0x1d75be={'vHydl':function(_0x4443eb){return _0x4443eb();},'XdMGK':function(_0x51b548,_0x3281eb,_0x26dadc){return _0x51b548(_0x3281eb,_0x26dadc);},'rfyEm':_0x36ce1d(0x1b7),'BBMlk':_0x36ce1d(0x17e),'NnmnC':_0x36ce1d(0x175),'CvvUv':function(_0x39c0bc,_0x177b99){return _0x39c0bc===_0x177b99;},'WsRon':function(_0x169bd2,_0x293d1b){return _0x169bd2+_0x293d1b;}},_0x1a5ec5=_0x1d75be[_0x36ce1d(0x163)](getBrowserstackCLI),_0x3b74a5=_0x1d75be[_0x36ce1d(0x15d)](nestedKeyValue,_0x1a5ec5[_0x36ce1d(0x1a9)]()[_0x36ce1d(0x189)](),[_0x1d75be[_0x36ce1d(0x185)],_0x1d75be[_0x36ce1d(0x195)],_0x1d75be['NnmnC']])||constants[_0x36ce1d(0x17a)];if(!_0x1819be||_0x1d75be[_0x36ce1d(0x183)](_0x1819be,''))return _0x3b74a5;const _0x53b5a3=_0x3b74a5['endsWith']('/')?_0x3b74a5:_0x1d75be[_0x36ce1d(0x1b0)](_0x3b74a5,'/');return new URL(_0x1819be,_0x53b5a3)[_0x36ce1d(0x1a7)]();}static[a53_0x145929(0x1ac)](_0x2d4365){const _0x44dde5=a53_0x145929,_0x455f30={'TQGMU':function(_0x5c6e7d){return _0x5c6e7d();},'psUfU':function(_0x51ee9e,_0x54e844,_0x5b4792){return _0x51ee9e(_0x54e844,_0x5b4792);},'duqWq':'apis','EJnmJ':_0x44dde5(0x1a1),'dAtpS':_0x44dde5(0x175),'vyncw':function(_0x52c1c0,_0x44e22f){return _0x52c1c0===_0x44e22f;},'vLoPb':function(_0x228848,_0x43d070){return _0x228848+_0x43d070;}},_0x6d1245=_0x455f30[_0x44dde5(0x160)](getBrowserstackCLI),_0x47a77d=_0x455f30['psUfU'](nestedKeyValue,_0x6d1245[_0x44dde5(0x1a9)]()['getConfig'](),[_0x455f30[_0x44dde5(0x1ad)],_0x455f30[_0x44dde5(0x17b)],_0x455f30[_0x44dde5(0x172)]])||constants[_0x44dde5(0x17a)];if(!_0x2d4365||_0x455f30[_0x44dde5(0x16d)](_0x2d4365,''))return _0x47a77d;const _0x4a32cb=_0x47a77d[_0x44dde5(0x17c)]('/')?_0x47a77d:_0x455f30[_0x44dde5(0x173)](_0x47a77d,'/');return new URL(_0x2d4365,_0x4a32cb)[_0x44dde5(0x1a7)]();}static[a53_0x145929(0x1a8)](_0x4ea389){const _0x3a01d0=a53_0x145929,_0x272624={'kNFJd':function(_0x2c8429){return _0x2c8429();},'YJtJB':function(_0x4d6691,_0x28a349,_0x4195f7){return _0x4d6691(_0x28a349,_0x4195f7);},'rhIno':_0x3a01d0(0x1b7),'gtgNz':'automate','hBiVL':_0x3a01d0(0x175),'bequp':function(_0x586bdc,_0x578d87){return _0x586bdc===_0x578d87;},'pQjSL':function(_0x446ae8,_0x43864a){return _0x446ae8+_0x43864a;}},_0x44399f=_0x272624[_0x3a01d0(0x158)](getBrowserstackCLI),_0x54f14c=_0x272624[_0x3a01d0(0x178)](nestedKeyValue,_0x44399f[_0x3a01d0(0x1a9)]()[_0x3a01d0(0x189)](),[_0x272624[_0x3a01d0(0x161)],_0x272624['gtgNz'],_0x272624[_0x3a01d0(0x17d)]])||constants[_0x3a01d0(0x17a)];if(!_0x4ea389||_0x272624[_0x3a01d0(0x165)](_0x4ea389,''))return _0x54f14c;const _0x1734c5=_0x54f14c[_0x3a01d0(0x17c)]('/')?_0x54f14c:_0x272624['pQjSL'](_0x54f14c,'/');return new URL(_0x4ea389,_0x1734c5)[_0x3a01d0(0x1a7)]();}static[a53_0x145929(0x190)](_0x3d5b66){const _0x331591=a53_0x145929,_0x3a2b8c={'hMANT':function(_0x4c2648){return _0x4c2648();},'EGtaA':function(_0x3c4e4d,_0x410957,_0x490b22){return _0x3c4e4d(_0x410957,_0x490b22);},'zjpHJ':_0x331591(0x1b7),'ayGHb':_0x331591(0x1a1),'pbDSD':_0x331591(0x175),'WPzPj':function(_0x376f92,_0x5943f0){return _0x376f92===_0x5943f0;},'aaXAg':function(_0x4ba3b3,_0x3ed83c){return _0x4ba3b3+_0x3ed83c;}},_0x46c6ee=_0x3a2b8c[_0x331591(0x19d)](getBrowserstackCLI),_0x49dd0b=_0x3a2b8c['EGtaA'](nestedKeyValue,_0x46c6ee['getInstance']()['getConfig'](),[_0x3a2b8c[_0x331591(0x181)],_0x3a2b8c['ayGHb'],_0x3a2b8c[_0x331591(0x19f)]])||constants[_0x331591(0x17a)];if(!_0x3d5b66||_0x3a2b8c[_0x331591(0x170)](_0x3d5b66,''))return _0x49dd0b;const _0x486375=_0x49dd0b[_0x331591(0x17c)]('/')?_0x49dd0b:_0x3a2b8c[_0x331591(0x1a4)](_0x49dd0b,'/');return new URL(_0x3d5b66,_0x486375)[_0x331591(0x1a7)]();}static['getAutomateSessionsListAPIUrl'](_0x362d91){const _0x614285=a53_0x145929,_0x394fb6={'ZjBHd':function(_0x1b361c){return _0x1b361c();},'NEsVV':function(_0x28ffda,_0x1235e8,_0x258335){return _0x28ffda(_0x1235e8,_0x258335);},'FkYXR':'apis','RBXvP':_0x614285(0x17e),'qNGyn':_0x614285(0x175),'JkuQV':function(_0x252fdd,_0x4fa66d){return _0x252fdd===_0x4fa66d;},'hBzdk':function(_0x53b1b8,_0x30c345){return _0x53b1b8+_0x30c345;}},_0x48f3ef=_0x394fb6[_0x614285(0x162)](getBrowserstackCLI),_0x4a581c=_0x394fb6[_0x614285(0x164)](nestedKeyValue,_0x48f3ef[_0x614285(0x1a9)]()[_0x614285(0x189)](),[_0x394fb6['FkYXR'],_0x394fb6[_0x614285(0x199)],_0x394fb6['qNGyn']])||constants[_0x614285(0x17a)];if(!_0x362d91||_0x394fb6[_0x614285(0x1a5)](_0x362d91,''))return _0x4a581c;const _0x37d746=_0x4a581c['endsWith']('/')?_0x4a581c:_0x394fb6['hBzdk'](_0x4a581c,'/');return new URL(_0x362d91,_0x37d746)[_0x614285(0x1a7)]()['replace'](/^https?:\/\//,'');}static[a53_0x145929(0x1a0)](_0x2b84a5){const _0x2dbdfa=a53_0x145929,_0x29e3d7={'naJlo':function(_0xdb94da){return _0xdb94da();},'yUnjh':function(_0x220bdf,_0xdb554d,_0xa497aa){return _0x220bdf(_0xdb554d,_0xa497aa);},'hsVFF':'apis','gXGKc':_0x2dbdfa(0x1a1),'gelCD':_0x2dbdfa(0x175),'OJesl':function(_0x1d9354,_0x209e66){return _0x1d9354===_0x209e66;},'IOVQQ':function(_0x3b16a7,_0x5aa3f8){return _0x3b16a7+_0x5aa3f8;}},_0x4b4f85=_0x29e3d7[_0x2dbdfa(0x187)](getBrowserstackCLI),_0x43f305=_0x29e3d7[_0x2dbdfa(0x174)](nestedKeyValue,_0x4b4f85[_0x2dbdfa(0x1a9)]()[_0x2dbdfa(0x189)](),[_0x29e3d7[_0x2dbdfa(0x1a6)],_0x29e3d7[_0x2dbdfa(0x1a3)],_0x29e3d7[_0x2dbdfa(0x177)]])||constants[_0x2dbdfa(0x192)];if(!_0x2b84a5||_0x29e3d7[_0x2dbdfa(0x1aa)](_0x2b84a5,''))return _0x43f305;const _0x148133=_0x43f305[_0x2dbdfa(0x17c)]('/')?_0x43f305:_0x29e3d7[_0x2dbdfa(0x16a)](_0x43f305,'/');return new URL(_0x2b84a5,_0x148133)[_0x2dbdfa(0x1a7)]()[_0x2dbdfa(0x15a)](/^https?:\/\//,'');}static[a53_0x145929(0x15c)](_0x977f9d){const _0x9d5290=a53_0x145929,_0x22ccf9={'fFxyX':function(_0x3ce999){return _0x3ce999();},'TsAuF':function(_0x220a2b,_0x1187a5,_0x568050){return _0x220a2b(_0x1187a5,_0x568050);},'Qikde':_0x9d5290(0x1b7),'eiiqz':_0x9d5290(0x16b),'UCNPX':_0x9d5290(0x18f),'AlcZD':function(_0x35fcd2,_0x1d4e80){return _0x35fcd2===_0x1d4e80;},'WhTmB':function(_0x468932,_0x2c6b4e){return _0x468932+_0x2c6b4e;}},_0x58bc4b=_0x22ccf9[_0x9d5290(0x193)](getBrowserstackCLI),_0x490cea=_0x22ccf9[_0x9d5290(0x1b1)](nestedKeyValue,_0x58bc4b[_0x9d5290(0x1a9)]()[_0x9d5290(0x189)](),[_0x22ccf9[_0x9d5290(0x179)],_0x22ccf9[_0x9d5290(0x1b5)],_0x22ccf9[_0x9d5290(0x15f)]])||constants[_0x9d5290(0x1b3)];if(!_0x977f9d||_0x22ccf9[_0x9d5290(0x19a)](_0x977f9d,''))return _0x490cea;const _0xcbca69=_0x490cea[_0x9d5290(0x17c)]('/')?_0x490cea:_0x22ccf9[_0x9d5290(0x1a2)](_0x490cea,'/');return new URL(_0x977f9d,_0xcbca69)[_0x9d5290(0x1a7)]();}static[a53_0x145929(0x18a)](_0x50d2db){const _0x454119=a53_0x145929,_0x28a6f1={'sZBBV':function(_0x1c1fc1){return _0x1c1fc1();},'PtPsP':function(_0x68696c,_0x18d932,_0x115c32){return _0x68696c(_0x18d932,_0x115c32);},'PImYi':_0x454119(0x1b7),'oTKnF':'automate','GDGRd':_0x454119(0x188),'isBgQ':_0x454119(0x18c),'hxFyg':function(_0x160e40,_0x368f1f){return _0x160e40===_0x368f1f;},'LkzCk':function(_0x56310e,_0x3d20d5){return _0x56310e+_0x3d20d5;},'DNtCp':'/playwright?caps='},_0xaefe9f=_0x28a6f1[_0x454119(0x197)](getBrowserstackCLI),_0x278423=_0x28a6f1['PtPsP'](nestedKeyValue,_0xaefe9f[_0x454119(0x1a9)]()[_0x454119(0x189)](),[_0x28a6f1[_0x454119(0x169)],_0x28a6f1[_0x454119(0x16c)],_0x28a6f1['GDGRd']]),_0x5cbe94=(_0x278423?_0x278423['replace'](/^https:/,_0x28a6f1[_0x454119(0x184)]):null)||constants[_0x454119(0x171)];let _0x5f346a;if(!_0x50d2db||_0x28a6f1[_0x454119(0x186)](_0x50d2db,''))_0x5f346a=_0x5cbe94;else{const _0x41f9c6=_0x5cbe94['endsWith']('/')?_0x5cbe94:_0x28a6f1[_0x454119(0x196)](_0x5cbe94,'/');_0x5f346a=new URL(_0x50d2db,_0x41f9c6)[_0x454119(0x1a7)]();}return!_0x5f346a[_0x454119(0x17c)](_0x28a6f1[_0x454119(0x191)])&&(_0x5f346a+=_0x28a6f1[_0x454119(0x191)]),_0x5f346a;}}function a53_0x468c(_0x409e35,_0x35cbb4){const _0x88ea8e=a53_0x88ea();return a53_0x468c=function(_0x468c87,_0x14ea51){_0x468c87=_0x468c87-0x157;let _0x2b0c1f=_0x88ea8e[_0x468c87];return _0x2b0c1f;},a53_0x468c(_0x409e35,_0x35cbb4);}function a53_0x88ea(){const _0x4f5f02=['fujDQ','840891HzkpRS','upload','getAppAutomateSessionNameAPIUrl','DNtCp','APP_UPLOAD_URL','fFxyX','SLFHf','BBMlk','LkzCk','sZBBV','EDS_URL','RBXvP','AlcZD','TVcuc','38873hPzpUS','hMANT','./sharedUtils','pbDSD','getAppAutomateSessionsListAPIUrl','appAutomate','WhTmB','gXGKc','aaXAg','JkuQV','hsVFF','toString','getAutomateSessionNameAPIUrl','getInstance','OJesl','edsInstrumentation','getAppAutomateSessionStatusAPIUrl','duqWq','UFHtZ','1652SZnKUJ','WsRon','TsAuF','14UFEJZm','OBSERVABILITY_UPLOAD_URL','ZAqce','eiiqz','getAutomateSessionStatusAPIUrl','apis','cyIPY','kNFJd','iCuVu','replace','25130529xTpCGO','getAutoCaptureLogsAPIUrl','XdMGK','../v2/browserstackCLI','UCNPX','TQGMU','rhIno','ZjBHd','vHydl','NEsVV','bequp','vOJXw','eyxdb','4934934dxQVtW','PImYi','IOVQQ','observability','oTKnF','vyncw','2973640axZmhr','6095124YpEvZH','WPzPj','PLAYWRIGHT_HUB_URL','dAtpS','vLoPb','yUnjh','api','20245FKsnar','gelCD','YJtJB','Qikde','BROWSERSTACK_API_URL','EJnmJ','endsWith','hBiVL','automate','getBStackAPIUrl','KFKGB','zjpHJ','uuqLl','CvvUv','isBgQ','rfyEm','hxFyg','naJlo','cdp','getConfig','getPlaywrightHubUrl','./constants','wss:'];a53_0x88ea=function(){return _0x4f5f02;};return a53_0x88ea();}module['exports']=APIUtilityMethods;
|
|
1
|
+
function a53_0x46e1(_0x3ec1ca,_0x2184d2){const _0x2fbffa=a53_0x2fbf();return a53_0x46e1=function(_0x46e144,_0x42cd5a){_0x46e144=_0x46e144-0x9c;let _0x3d1214=_0x2fbffa[_0x46e144];return _0x3d1214;},a53_0x46e1(_0x3ec1ca,_0x2184d2);}const a53_0x120e10=a53_0x46e1;(function(_0x29643d,_0x48ff31){const _0x5dbf94=a53_0x46e1,_0x5480a8=_0x29643d();while(!![]){try{const _0x6884b2=parseInt(_0x5dbf94(0xbe))/0x1*(parseInt(_0x5dbf94(0xe9))/0x2)+parseInt(_0x5dbf94(0xc6))/0x3*(-parseInt(_0x5dbf94(0xec))/0x4)+parseInt(_0x5dbf94(0xa6))/0x5*(parseInt(_0x5dbf94(0xf2))/0x6)+parseInt(_0x5dbf94(0xd4))/0x7*(parseInt(_0x5dbf94(0xab))/0x8)+parseInt(_0x5dbf94(0xca))/0x9+parseInt(_0x5dbf94(0xa7))/0xa+parseInt(_0x5dbf94(0xb6))/0xb;if(_0x6884b2===_0x48ff31)break;else _0x5480a8['push'](_0x5480a8['shift']());}catch(_0x4715b1){_0x5480a8['push'](_0x5480a8['shift']());}}}(a53_0x2fbf,0x71192));const constants=require(a53_0x120e10(0xbd)),{nestedKeyValue}=require(a53_0x120e10(0xc9)),getBrowserstackCLI=()=>{const _0x17e7a8=a53_0x120e10,_0x207492={'puQvg':function(_0x1e6642,_0x168f46){return _0x1e6642(_0x168f46);},'zkbNJ':'../v2/browserstackCLI'};return _0x207492[_0x17e7a8(0xa0)](require,_0x207492[_0x17e7a8(0xa1)]);};class APIUtilityMethods{static[a53_0x120e10(0xdb)](_0x130ada){const _0x75f4b1=a53_0x120e10,_0x56723f={'lTBcA':function(_0x399901){return _0x399901();},'WiOFv':function(_0x17456a,_0x4641e9,_0x5e7289){return _0x17456a(_0x4641e9,_0x5e7289);},'GOJEd':_0x75f4b1(0xf4),'UahpT':_0x75f4b1(0xd6),'AHRgY':'api','CgHKg':function(_0x4f00ba,_0x44457d){return _0x4f00ba===_0x44457d;},'waXIV':function(_0x4463c0,_0x2b71fa){return _0x4463c0+_0x2b71fa;}},_0x2f16c3=_0x56723f['lTBcA'](getBrowserstackCLI),_0x188ecb=_0x56723f[_0x75f4b1(0xdc)](nestedKeyValue,_0x2f16c3[_0x75f4b1(0xc2)]()[_0x75f4b1(0xe8)](),[_0x56723f[_0x75f4b1(0xf6)],_0x56723f[_0x75f4b1(0xa8)],_0x56723f[_0x75f4b1(0x9f)]])||constants[_0x75f4b1(0xc4)];if(!_0x130ada||_0x56723f[_0x75f4b1(0xe6)](_0x130ada,''))return _0x188ecb;const _0x5159bf=_0x188ecb[_0x75f4b1(0xb0)]('/')?_0x188ecb:_0x56723f[_0x75f4b1(0xf3)](_0x188ecb,'/');return new URL(_0x130ada,_0x5159bf)[_0x75f4b1(0xce)]();}static[a53_0x120e10(0xcd)](_0x3cd5f8){const _0x16d58d=a53_0x120e10,_0x5a6250={'cQjwH':function(_0x1dc767){return _0x1dc767();},'gBzUN':function(_0x55a79b,_0x2f2ca4,_0x1f09cb){return _0x55a79b(_0x2f2ca4,_0x1f09cb);},'LDGfJ':_0x16d58d(0xf4),'nqomR':_0x16d58d(0xcc),'QWigt':'api','UrMiN':function(_0x16fdd2,_0x306f61){return _0x16fdd2===_0x306f61;},'dOuRD':function(_0x1bef73,_0x9a4f92){return _0x1bef73+_0x9a4f92;}},_0x33b8c0=_0x5a6250[_0x16d58d(0xc1)](getBrowserstackCLI),_0x44bd05=_0x5a6250[_0x16d58d(0xd7)](nestedKeyValue,_0x33b8c0[_0x16d58d(0xc2)]()[_0x16d58d(0xe8)](),[_0x5a6250[_0x16d58d(0xb9)],_0x5a6250[_0x16d58d(0xbf)],_0x5a6250['QWigt']])||constants[_0x16d58d(0xb3)];if(!_0x3cd5f8||_0x5a6250[_0x16d58d(0xf7)](_0x3cd5f8,''))return _0x44bd05;const _0x5aa27e=_0x44bd05[_0x16d58d(0xb0)]('/')?_0x44bd05:_0x5a6250['dOuRD'](_0x44bd05,'/');return new URL(_0x3cd5f8,_0x5aa27e)[_0x16d58d(0xce)]();}static[a53_0x120e10(0xa4)](_0x43f210){const _0x1c04e3=a53_0x120e10,_0x4c7de9={'iSkTq':function(_0x9f2641){return _0x9f2641();},'lvwuU':function(_0x1bae6e,_0x3bce78,_0x4defaf){return _0x1bae6e(_0x3bce78,_0x4defaf);},'DgXjo':'apis','tRILQ':_0x1c04e3(0xd6),'iXkcz':_0x1c04e3(0xdf),'guvtv':function(_0x5379e1,_0x3fc657){return _0x5379e1===_0x3fc657;},'oUmQn':function(_0xeaaf0d,_0x553952){return _0xeaaf0d+_0x553952;}},_0x1d3b2e=_0x4c7de9[_0x1c04e3(0xd5)](getBrowserstackCLI),_0x5ec260=_0x4c7de9['lvwuU'](nestedKeyValue,_0x1d3b2e[_0x1c04e3(0xc2)]()[_0x1c04e3(0xe8)](),[_0x4c7de9[_0x1c04e3(0x9e)],_0x4c7de9[_0x1c04e3(0xe4)],_0x4c7de9[_0x1c04e3(0xe2)]])||constants[_0x1c04e3(0xc4)];if(!_0x43f210||_0x4c7de9['guvtv'](_0x43f210,''))return _0x5ec260;const _0x3d782c=_0x5ec260['endsWith']('/')?_0x5ec260:_0x4c7de9[_0x1c04e3(0xe7)](_0x5ec260,'/');return new URL(_0x43f210,_0x3d782c)['toString']();}static['getAppAutomateSessionStatusAPIUrl'](_0x499093){const _0x2f8499=a53_0x120e10,_0x2bdc5d={'VpvHA':function(_0x2759f8){return _0x2759f8();},'GGfsZ':function(_0x2a5569,_0x22194e,_0x45364a){return _0x2a5569(_0x22194e,_0x45364a);},'dFlOT':'apis','nPsAj':'appAutomate','kxgTx':_0x2f8499(0xdf),'vabSz':function(_0x414cb6,_0x3b135f){return _0x414cb6===_0x3b135f;},'vtQQp':function(_0x52aa2e,_0x48394b){return _0x52aa2e+_0x48394b;}},_0x492b0c=_0x2bdc5d['VpvHA'](getBrowserstackCLI),_0x2016dc=_0x2bdc5d[_0x2f8499(0xb2)](nestedKeyValue,_0x492b0c['getInstance']()[_0x2f8499(0xe8)](),[_0x2bdc5d[_0x2f8499(0xe5)],_0x2bdc5d[_0x2f8499(0xb8)],_0x2bdc5d[_0x2f8499(0xb1)]])||constants['BROWSERSTACK_API_URL'];if(!_0x499093||_0x2bdc5d[_0x2f8499(0xd0)](_0x499093,''))return _0x2016dc;const _0x2d24fc=_0x2016dc['endsWith']('/')?_0x2016dc:_0x2bdc5d['vtQQp'](_0x2016dc,'/');return new URL(_0x499093,_0x2d24fc)[_0x2f8499(0xce)]();}static[a53_0x120e10(0xe1)](_0x13d82d){const _0x38408e=a53_0x120e10,_0x45384e={'kkSNR':function(_0x564f8a){return _0x564f8a();},'LZlPD':function(_0x58a774,_0xb60a3f,_0x373f09){return _0x58a774(_0xb60a3f,_0x373f09);},'Fiiqr':_0x38408e(0xf4),'fbJDz':_0x38408e(0xd6),'YjJIk':_0x38408e(0xdf),'fvbbf':function(_0x2dc343,_0x39a72d){return _0x2dc343===_0x39a72d;},'gNwvG':function(_0x201d06,_0x57f6b3){return _0x201d06+_0x57f6b3;}},_0x221dc0=_0x45384e['kkSNR'](getBrowserstackCLI),_0x420166=_0x45384e[_0x38408e(0xea)](nestedKeyValue,_0x221dc0[_0x38408e(0xc2)]()[_0x38408e(0xe8)](),[_0x45384e[_0x38408e(0xeb)],_0x45384e['fbJDz'],_0x45384e['YjJIk']])||constants[_0x38408e(0xc4)];if(!_0x13d82d||_0x45384e['fvbbf'](_0x13d82d,''))return _0x420166;const _0x11a17a=_0x420166[_0x38408e(0xb0)]('/')?_0x420166:_0x45384e[_0x38408e(0x9d)](_0x420166,'/');return new URL(_0x13d82d,_0x11a17a)['toString']();}static[a53_0x120e10(0xae)](_0x1c36e2){const _0x24b500=a53_0x120e10,_0xb4b036={'iwILw':function(_0xe00889){return _0xe00889();},'NuJuz':function(_0x2b326f,_0x599347,_0x540831){return _0x2b326f(_0x599347,_0x540831);},'heHUK':_0x24b500(0xf4),'ZttuI':_0x24b500(0xcb),'BUJso':'api','aGhoZ':function(_0x3c84d1,_0x31bd85){return _0x3c84d1===_0x31bd85;},'Kxbpc':function(_0x498773,_0x44b2b2){return _0x498773+_0x44b2b2;}},_0x1bf46d=_0xb4b036[_0x24b500(0xee)](getBrowserstackCLI),_0x24670e=_0xb4b036[_0x24b500(0xc8)](nestedKeyValue,_0x1bf46d[_0x24b500(0xc2)]()[_0x24b500(0xe8)](),[_0xb4b036[_0x24b500(0xaf)],_0xb4b036[_0x24b500(0xde)],_0xb4b036[_0x24b500(0x9c)]])||constants['BROWSERSTACK_API_URL'];if(!_0x1c36e2||_0xb4b036[_0x24b500(0xad)](_0x1c36e2,''))return _0x24670e;const _0x5f4c3f=_0x24670e[_0x24b500(0xb0)]('/')?_0x24670e:_0xb4b036[_0x24b500(0xda)](_0x24670e,'/');return new URL(_0x1c36e2,_0x5f4c3f)[_0x24b500(0xce)]();}static[a53_0x120e10(0xa5)](_0x19488c){const _0x26c590=a53_0x120e10,_0x138403={'VaPsH':function(_0x5f2dca){return _0x5f2dca();},'FkAXl':function(_0x39ed,_0x312400,_0x2f40f6){return _0x39ed(_0x312400,_0x2f40f6);},'LkdLU':_0x26c590(0xf4),'RmYOX':_0x26c590(0xd6),'EtYyA':_0x26c590(0xdf),'xBpkX':function(_0x314d90,_0x40cfba){return _0x314d90===_0x40cfba;},'srFHG':function(_0x51c57b,_0x978f1c){return _0x51c57b+_0x978f1c;}},_0x35ef6a=_0x138403[_0x26c590(0xf0)](getBrowserstackCLI),_0x3be728=_0x138403[_0x26c590(0xc5)](nestedKeyValue,_0x35ef6a[_0x26c590(0xc2)]()['getConfig'](),[_0x138403[_0x26c590(0xf5)],_0x138403[_0x26c590(0xc3)],_0x138403[_0x26c590(0xb4)]])||constants['BROWSERSTACK_API_URL'];if(!_0x19488c||_0x138403[_0x26c590(0xac)](_0x19488c,''))return _0x3be728;const _0x54c345=_0x3be728[_0x26c590(0xb0)]('/')?_0x3be728:_0x138403[_0x26c590(0xd3)](_0x3be728,'/');return new URL(_0x19488c,_0x54c345)['toString']()['replace'](/^https?:\/\//,'');}static[a53_0x120e10(0xdd)](_0x26b129){const _0x45973e=a53_0x120e10,_0x1c6f7a={'aYaks':function(_0x280c5a){return _0x280c5a();},'OvgVu':function(_0x4ab70a,_0x2e80ba,_0x2c18bf){return _0x4ab70a(_0x2e80ba,_0x2c18bf);},'WhIVB':_0x45973e(0xf4),'Vubqc':_0x45973e(0xcb),'caEYl':_0x45973e(0xdf),'txoXq':function(_0x3d0370,_0x3b83e5){return _0x3d0370===_0x3b83e5;},'ICgnk':function(_0x5c300f,_0x746e81){return _0x5c300f+_0x746e81;}},_0x176589=_0x1c6f7a[_0x45973e(0xe0)](getBrowserstackCLI),_0xad61e8=_0x1c6f7a[_0x45973e(0xbb)](nestedKeyValue,_0x176589[_0x45973e(0xc2)]()[_0x45973e(0xe8)](),[_0x1c6f7a[_0x45973e(0xb5)],_0x1c6f7a[_0x45973e(0xa3)],_0x1c6f7a[_0x45973e(0xd2)]])||constants['APP_UPLOAD_URL'];if(!_0x26b129||_0x1c6f7a[_0x45973e(0xbc)](_0x26b129,''))return _0xad61e8;const _0x1491e5=_0xad61e8[_0x45973e(0xb0)]('/')?_0xad61e8:_0x1c6f7a[_0x45973e(0xef)](_0xad61e8,'/');return new URL(_0x26b129,_0x1491e5)[_0x45973e(0xce)]()[_0x45973e(0xd8)](/^https?:\/\//,'');}static[a53_0x120e10(0xd9)](_0x350ade){const _0x48c2ae=a53_0x120e10,_0x4cf2e9={'LujEl':function(_0x4495de){return _0x4495de();},'WQKpv':function(_0x3c860b,_0x118360,_0x453fa9){return _0x3c860b(_0x118360,_0x453fa9);},'PbCFG':'apis','QByFk':_0x48c2ae(0xed),'rXkLk':'upload','TLoJD':function(_0x1bc440,_0x33a032){return _0x1bc440===_0x33a032;},'JvnRs':function(_0x3bb648,_0x268a5c){return _0x3bb648+_0x268a5c;}},_0x16c23f=_0x4cf2e9['LujEl'](getBrowserstackCLI),_0x1905e6=_0x4cf2e9['WQKpv'](nestedKeyValue,_0x16c23f['getInstance']()[_0x48c2ae(0xe8)](),[_0x4cf2e9[_0x48c2ae(0xb7)],_0x4cf2e9['QByFk'],_0x4cf2e9[_0x48c2ae(0xd1)]])||constants['OBSERVABILITY_UPLOAD_URL'];if(!_0x350ade||_0x4cf2e9[_0x48c2ae(0xba)](_0x350ade,''))return _0x1905e6;const _0x20b08e=_0x1905e6[_0x48c2ae(0xb0)]('/')?_0x1905e6:_0x4cf2e9[_0x48c2ae(0xaa)](_0x1905e6,'/');return new URL(_0x350ade,_0x20b08e)[_0x48c2ae(0xce)]();}static['getPlaywrightHubUrl'](_0x40ca0a){const _0x5bed6e=a53_0x120e10,_0x3faab6={'mGWwQ':function(_0x165e79){return _0x165e79();},'fZVIo':function(_0x24cee3,_0x2fbdfb,_0x4c2123){return _0x24cee3(_0x2fbdfb,_0x4c2123);},'AgEuO':_0x5bed6e(0xf4),'cOaPo':_0x5bed6e(0xd6),'MXpCn':_0x5bed6e(0xa9),'SHzlQ':'wss:','UwlMD':function(_0x3517aa,_0x2cf582){return _0x3517aa===_0x2cf582;},'upfVP':function(_0x7bcca,_0x331d11){return _0x7bcca+_0x331d11;},'Hjmjt':'/playwright?caps='},_0x23312b=_0x3faab6['mGWwQ'](getBrowserstackCLI),_0x490d6d=_0x3faab6[_0x5bed6e(0xa2)](nestedKeyValue,_0x23312b[_0x5bed6e(0xc2)]()[_0x5bed6e(0xe8)](),[_0x3faab6[_0x5bed6e(0xcf)],_0x3faab6['cOaPo'],_0x3faab6['MXpCn']]),_0x1075dc=(_0x490d6d?_0x490d6d[_0x5bed6e(0xd8)](/^https:/,_0x3faab6[_0x5bed6e(0xc0)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x4675e8;if(!_0x40ca0a||_0x3faab6[_0x5bed6e(0xf1)](_0x40ca0a,''))_0x4675e8=_0x1075dc;else{const _0x3403f5=_0x1075dc[_0x5bed6e(0xb0)]('/')?_0x1075dc:_0x3faab6['upfVP'](_0x1075dc,'/');_0x4675e8=new URL(_0x40ca0a,_0x3403f5)[_0x5bed6e(0xce)]();}return!_0x4675e8[_0x5bed6e(0xb0)](_0x3faab6['Hjmjt'])&&(_0x4675e8+=_0x3faab6[_0x5bed6e(0xe3)]),_0x4675e8;}}function a53_0x2fbf(){const _0x5b3ed6=['DgXjo','AHRgY','puQvg','zkbNJ','fZVIo','Vubqc','getAutomateSessionStatusAPIUrl','getAutomateSessionsListAPIUrl','124530JlBesL','495440aBmczW','UahpT','cdp','JvnRs','40WXLRat','xBpkX','aGhoZ','getAppAutomateSessionNameAPIUrl','heHUK','endsWith','kxgTx','GGfsZ','EDS_URL','EtYyA','WhIVB','5601695wJoyDo','PbCFG','nPsAj','LDGfJ','TLoJD','OvgVu','txoXq','./constants','2974kUhGWB','nqomR','SHzlQ','cQjwH','getInstance','RmYOX','BROWSERSTACK_API_URL','FkAXl','36042ZbzSFa','exports','NuJuz','./sharedUtils','17388qAngmR','appAutomate','edsInstrumentation','getEdsInstrumentationAPIUrl','toString','AgEuO','vabSz','rXkLk','caEYl','srFHG','758317LUxORZ','iSkTq','automate','gBzUN','replace','getAutoCaptureLogsAPIUrl','Kxbpc','getBStackAPIUrl','WiOFv','getAppAutomateSessionsListAPIUrl','ZttuI','api','aYaks','getAutomateSessionNameAPIUrl','iXkcz','Hjmjt','tRILQ','dFlOT','CgHKg','oUmQn','getConfig','52lhznBj','LZlPD','Fiiqr','280hACZEI','observability','iwILw','ICgnk','VaPsH','UwlMD','30qWlawx','waXIV','apis','LkdLU','GOJEd','UrMiN','BUJso','gNwvG'];a53_0x2fbf=function(){return _0x5b3ed6;};return a53_0x2fbf();}module[a53_0x120e10(0xc7)]=APIUtilityMethods;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x40faf5=a54_0x689e;(function(_0x571dba,_0x2dac4e){const _0x4a6684=a54_0x689e,_0x5c6d97=_0x571dba();while(!![]){try{const _0x3fdd05=-parseInt(_0x4a6684(0x112))/0x1+-parseInt(_0x4a6684(0x14b))/0x2*(parseInt(_0x4a6684(0x110))/0x3)+-parseInt(_0x4a6684(0x10b))/0x4+parseInt(_0x4a6684(0x12e))/0x5*(-parseInt(_0x4a6684(0x14a))/0x6)+-parseInt(_0x4a6684(0x126))/0x7*(-parseInt(_0x4a6684(0x146))/0x8)+-parseInt(_0x4a6684(0x144))/0x9+parseInt(_0x4a6684(0x15b))/0xa;if(_0x3fdd05===_0x2dac4e)break;else _0x5c6d97['push'](_0x5c6d97['shift']());}catch(_0x2c0d92){_0x5c6d97['push'](_0x5c6d97['shift']());}}}(a54_0x3814,0xede48));const logger=require('../../helpers/logger')[a54_0x40faf5(0x13d)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a54_0x40faf5(0x15c)),constants=require(a54_0x40faf5(0x14d));class ClientTroubleShootingService{static [a54_0x40faf5(0x13f)]=null;static [a54_0x40faf5(0x120)]=new Set();static async[a54_0x40faf5(0x13b)](_0x10b976){const _0x48e313=a54_0x40faf5,_0x469004={};_0x469004['vQdVj']=function(_0x308862,_0x3d195c){return _0x308862!==_0x3d195c;};const _0x58b5cd=_0x469004;try{if(BrowserstackCLI[_0x48e313(0x14c)]()['isRunning']()){const _0xcb9895=await GrpcClient[_0x48e313(0x14c)]()[_0x48e313(0x145)](_0x10b976);if(_0x58b5cd[_0x48e313(0xfd)](_0xcb9895,null)&&_0xcb9895[_0x48e313(0x154)]())return{'errorCode':_0xcb9895[_0x48e313(0xfb)](),'errorMessage':_0xcb9895[_0x48e313(0x138)]()};return{};}return{};}catch(_0x293368){return this[_0x48e313(0x152)]('Error\x20in\x20getting\x20error\x20details\x20for\x20'+_0x10b976+':',_0x293368),{};}}static async[a54_0x40faf5(0x11e)](){const _0x4c777e=a54_0x40faf5,_0xaf9b99={};_0xaf9b99[_0x4c777e(0x11b)]=function(_0x87e81d,_0x383e48){return _0x87e81d!==_0x383e48;},_0xaf9b99[_0x4c777e(0x135)]=_0x4c777e(0x107),_0xaf9b99[_0x4c777e(0x131)]=_0x4c777e(0x15f);const _0x2b4eb7=_0xaf9b99;try{if(BrowserstackCLI[_0x4c777e(0x14c)]()['isRunning']()){const _0x113dfe=await GrpcClient[_0x4c777e(0x14c)]()[_0x4c777e(0x137)]();if(_0x2b4eb7[_0x4c777e(0x11b)](_0x113dfe,null)&&_0x113dfe[_0x4c777e(0x154)]()){const _0x5bcff4=Buffer[_0x4c777e(0x10e)](_0x113dfe[_0x4c777e(0x109)](),_0x2b4eb7[_0x4c777e(0x135)])[_0x4c777e(0x124)](),_0x1df355=_0x5bcff4?JSON[_0x4c777e(0x159)](_0x5bcff4):[],_0x142b8c=_0x113dfe[_0x4c777e(0x133)](),_0x1734c5=_0x113dfe[_0x4c777e(0x158)](),_0x32fb6e=Buffer[_0x4c777e(0x10e)](_0x113dfe[_0x4c777e(0x14e)](),_0x2b4eb7[_0x4c777e(0x135)])[_0x4c777e(0x124)](),_0x22c253=_0x32fb6e?JSON[_0x4c777e(0x159)](_0x32fb6e):[],_0x92efd8={};return _0x92efd8[_0x4c777e(0x127)]=_0x1df355,_0x92efd8[_0x4c777e(0x122)]=_0x142b8c,_0x92efd8[_0x4c777e(0xfa)]=_0x1734c5,_0x92efd8['errorCodesOccurredInCLI']=_0x22c253,_0x92efd8;}const _0x2ec1ed={};return _0x2ec1ed[_0x4c777e(0x127)]=[],_0x2ec1ed[_0x4c777e(0x122)]='',_0x2ec1ed[_0x4c777e(0xfa)]='',_0x2ec1ed[_0x4c777e(0x10c)]=[],_0x2ec1ed;}const _0x2e8e7a={};return _0x2e8e7a[_0x4c777e(0x127)]=[],_0x2e8e7a['documentationLink']='',_0x2e8e7a[_0x4c777e(0xfa)]='',_0x2e8e7a[_0x4c777e(0x10c)]=[],_0x2e8e7a;}catch(_0x4efd3a){this[_0x4c777e(0x152)](_0x2b4eb7['zPJRt'],_0x4efd3a);const _0x3d72ba={};return _0x3d72ba['errorCodes']=[],_0x3d72ba['documentationLink']='',_0x3d72ba[_0x4c777e(0xfa)]='',_0x3d72ba[_0x4c777e(0x10c)]=[],_0x3d72ba;}}static['logSituation'](_0x39c703,_0x4ba481){const _0x330474=a54_0x40faf5;logger[_0x330474(0x12a)](_0x39c703+':\x20'+_0x4ba481);}static[a54_0x40faf5(0x150)](_0x42a268){const _0x5eb817=a54_0x40faf5,_0xf58574={};_0xf58574['fwyeu']=function(_0x51bf44,_0x10c527){return _0x51bf44!=_0x10c527;},_0xf58574[_0x5eb817(0x14f)]=function(_0x563b0f,_0xc3078){return _0x563b0f>_0xc3078;},_0xf58574[_0x5eb817(0x11f)]=function(_0x15e219,_0x8c22d1){return _0x15e219!=_0x8c22d1;};const _0x57c80a=_0xf58574,_0x46fbfc=[];if(_0x57c80a[_0x5eb817(0x11d)](_0x42a268,null)&&_0x57c80a['fwyeu'](_0x42a268[_0x5eb817(0x10c)],null)&&_0x57c80a['kCbCX'](_0x42a268[_0x5eb817(0x10c)][_0x5eb817(0x113)],0x0))for(const _0xa9ae40 of _0x42a268[_0x5eb817(0x10c)]){_0x57c80a['euguv'](_0xa9ae40['errorCode'],null)&&_0x57c80a[_0x5eb817(0x11d)](_0xa9ae40[_0x5eb817(0x11c)],null)&&(_0x46fbfc['push'](_0xa9ae40['errorCode']),this[_0x5eb817(0x156)](_0xa9ae40['errorCode'],_0xa9ae40['errorMessage']));}return _0x46fbfc;}static[a54_0x40faf5(0x153)](){const _0x4f3649=a54_0x40faf5;return this[_0x4f3649(0x13f)];}static[a54_0x40faf5(0x152)](_0x353386,_0x324768){const _0x3b2160=a54_0x40faf5,_0x1ae74b={};_0x1ae74b[_0x3b2160(0x10d)]=function(_0x377ae0,_0x33e92b){return _0x377ae0===_0x33e92b;},_0x1ae74b['EfpIe']=_0x3b2160(0x10a);const _0x2a00c1=_0x1ae74b;if(_0x2a00c1[_0x3b2160(0x10d)](typeof _0x324768,_0x2a00c1[_0x3b2160(0x103)]))try{logger[_0x3b2160(0x142)]('[ClientTroubleShootingService]\x20'+_0x353386+'\x20'+JSON[_0x3b2160(0x157)](_0x324768));}catch(_0x791af4){logger[_0x3b2160(0x142)](_0x3b2160(0x125)+_0x353386+'\x20'+_0x324768);}else logger[_0x3b2160(0x142)]('[ClientTroubleShootingService]\x20'+_0x353386+'\x20'+_0x324768);}static async['reportProcessInterruptionSituation'](_0x19dc74){const _0x121371=a54_0x40faf5,_0x339cb0={};_0x339cb0[_0x121371(0x10f)]=_0x121371(0x105),_0x339cb0[_0x121371(0x101)]=function(_0x283f0f,_0x25444a){return _0x283f0f===_0x25444a;},_0x339cb0[_0x121371(0x108)]=_0x121371(0x129),_0x339cb0[_0x121371(0x15e)]=_0x121371(0x130);const _0x532d45=_0x339cb0,_0x15bd9a=await this[_0x121371(0x13b)](_0x532d45['anGMK']);if(_0x532d45[_0x121371(0x101)](Object[_0x121371(0x106)](_0x15bd9a)[_0x121371(0x113)],0x0)){this[_0x121371(0x152)](_0x532d45[_0x121371(0x108)],_0x15bd9a);return;}this[_0x121371(0x156)](_0x15bd9a[_0x121371(0x100)],_0x15bd9a['errorMessage'][_0x121371(0x136)](_0x532d45[_0x121371(0x15e)],_0x19dc74));}static async['reportSessionLinkingIssue'](){const _0x5eef4b=a54_0x40faf5,_0x4e4e30={};_0x4e4e30[_0x5eef4b(0x114)]=_0x5eef4b(0x117),_0x4e4e30[_0x5eef4b(0x12d)]=function(_0x5d6751,_0xb946cb){return _0x5d6751===_0xb946cb;},_0x4e4e30[_0x5eef4b(0x116)]=_0x5eef4b(0x121);const _0x18b37a=_0x4e4e30,_0x4a7bc0=await this[_0x5eef4b(0x13b)](_0x18b37a[_0x5eef4b(0x114)]);if(_0x18b37a[_0x5eef4b(0x12d)](Object[_0x5eef4b(0x106)](_0x4a7bc0)['length'],0x0)){this[_0x5eef4b(0x152)](_0x18b37a[_0x5eef4b(0x116)],_0x4a7bc0);return;}this[_0x5eef4b(0x156)](_0x4a7bc0[_0x5eef4b(0x100)],_0x4a7bc0[_0x5eef4b(0x11c)]);}static async['reportConnectivityIssue'](){const _0x106eea=a54_0x40faf5,_0x5513d9={};_0x5513d9['POQqz']=_0x106eea(0x102),_0x5513d9['CPcgk']=function(_0x3b11e7,_0x350044){return _0x3b11e7===_0x350044;},_0x5513d9['DFmoq']=_0x106eea(0x118);const _0x3dcad7=_0x5513d9,_0x41dcd6=await this[_0x106eea(0x13b)](_0x3dcad7[_0x106eea(0x141)]);if(_0x3dcad7[_0x106eea(0x15d)](Object[_0x106eea(0x106)](_0x41dcd6)[_0x106eea(0x113)],0x0)){this['logError'](_0x3dcad7[_0x106eea(0x155)],_0x41dcd6);return;}this['logSituation'](_0x41dcd6[_0x106eea(0x100)],_0x41dcd6[_0x106eea(0x11c)]);}static async[a54_0x40faf5(0x104)](){const _0x4eed5a=a54_0x40faf5,_0x4410be={};_0x4410be[_0x4eed5a(0x13e)]=_0x4eed5a(0x13a),_0x4410be[_0x4eed5a(0x134)]=function(_0x3d729d,_0x24dcb2){return _0x3d729d===_0x24dcb2;},_0x4410be['ToTZQ']='SSL\x20Certificate\x20Issue\x20details\x20not\x20found';const _0x4355f8=_0x4410be,_0x543e3f=await this[_0x4eed5a(0x13b)](_0x4355f8['iNXJq']);if(_0x4355f8[_0x4eed5a(0x134)](Object[_0x4eed5a(0x106)](_0x543e3f)[_0x4eed5a(0x113)],0x0)){this[_0x4eed5a(0x152)](_0x4355f8[_0x4eed5a(0x151)],_0x543e3f);return;}this[_0x4eed5a(0x156)](_0x543e3f[_0x4eed5a(0x100)],_0x543e3f['errorMessage']);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x43ed28=a54_0x40faf5,_0x4d325={};_0x4d325[_0x43ed28(0x12f)]=_0x43ed28(0x111),_0x4d325['vtYBK']=function(_0x5dc9d0,_0x211fcc){return _0x5dc9d0===_0x211fcc;},_0x4d325[_0x43ed28(0x12b)]=_0x43ed28(0x143);const _0x567056=_0x4d325,_0x494273=constants[_0x43ed28(0x149)][_0x567056['IKFNw']];if(_0x567056[_0x43ed28(0x15a)](Object[_0x43ed28(0x106)](_0x494273)['length'],0x0)){this[_0x43ed28(0x152)](_0x567056[_0x43ed28(0x12b)],_0x494273);return;}this[_0x43ed28(0x120)][_0x43ed28(0x115)](_0x494273[0x0]),this['logSituation'](_0x494273[0x0],_0x494273[0x1]);}static async['reportConflictingEnvVarIssue'](_0x38ac5b){const _0x2d2e79=a54_0x40faf5,_0x3002a3={};_0x3002a3[_0x2d2e79(0x12c)]='conflicting\x20env\x20var\x20detected',_0x3002a3[_0x2d2e79(0xfc)]=function(_0xb3445e,_0x103b71){return _0xb3445e===_0x103b71;},_0x3002a3[_0x2d2e79(0xfe)]=_0x2d2e79(0x13c),_0x3002a3['Dlblw']='{ENV_VAR}';const _0x366070=_0x3002a3,_0x600122=await this[_0x2d2e79(0x13b)](_0x366070[_0x2d2e79(0x12c)]);if(_0x366070[_0x2d2e79(0xfc)](Object[_0x2d2e79(0x106)](_0x600122)[_0x2d2e79(0x113)],0x0)){this[_0x2d2e79(0x152)](_0x366070[_0x2d2e79(0xfe)],_0x600122);return;}const _0x13692c=_0x600122[_0x2d2e79(0x11c)]['replace'](_0x366070[_0x2d2e79(0x132)],_0x38ac5b);this['logSituation'](_0x600122[_0x2d2e79(0x100)],_0x13692c);}static async[a54_0x40faf5(0xff)](){const _0x45f979=a54_0x40faf5,_0xca30d6={};_0xca30d6['vRoNS']=function(_0xfa4212,_0x1a215f){return _0xfa4212>_0x1a215f;},_0xca30d6[_0x45f979(0x123)]='{ERROR_CODES}',_0xca30d6[_0x45f979(0x128)]=_0x45f979(0x148);const _0x373038=_0xca30d6,_0x389835=await this[_0x45f979(0x11e)](),_0x2d0462=this[_0x45f979(0x150)](_0x389835),_0x39fbf7=Array[_0x45f979(0x140)](_0x389835[_0x45f979(0x127)])?_0x389835[_0x45f979(0x127)]:[],_0x3dc8c3=_0x373038[_0x45f979(0x147)](this[_0x45f979(0x120)][_0x45f979(0x119)],0x0)?Array[_0x45f979(0x10e)](this[_0x45f979(0x120)]):[],_0x4b9bf7=new Set([..._0x39fbf7,..._0x2d0462,..._0x3dc8c3]),_0x981f85=Array[_0x45f979(0x10e)](_0x4b9bf7);if(_0x373038[_0x45f979(0x147)](_0x981f85['length'],0x0)){const _0x4a2a50=_0x389835[_0x45f979(0xfa)][_0x45f979(0x136)](_0x373038['vHbqF'],_0x981f85[_0x45f979(0x11a)](',\x20'))[_0x45f979(0x136)](_0x373038[_0x45f979(0x128)],_0x389835[_0x45f979(0x122)]);logger['warn'](_0x4a2a50),this['cachedErrorCodes']=_0x981f85;}}}function a54_0x689e(_0x214bf8,_0x234880){const _0x3814de=a54_0x3814();return a54_0x689e=function(_0x689ec4,_0x546f50){_0x689ec4=_0x689ec4-0xfa;let _0x1588cd=_0x3814de[_0x689ec4];return _0x1588cd;},a54_0x689e(_0x214bf8,_0x234880);}module[a54_0x40faf5(0x139)]=ClientTroubleShootingService;function a54_0x3814(){const _0x24a881=['UMxou','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','finalErrorMessage','getErrorCode','wKPvR','vQdVj','RPIjM','reportFinalDetectionState','errorCode','ifuxF','browserstack\x20cloud\x20not\x20reachable','EfpIe','reportSSLCertIssue','Process\x20Interruption','keys','base64','BsmUx','getErrorCodes','object','978124BHsUMW','errorCodesOccurredInCLI','tenKg','from','anGMK','3rrxoFK','.browserstack\x20folder\x20not\x20accessible','636594NmgHvu','length','tUeNX','add','JHQFi','Session\x20Linking\x20Issue','Connectivity\x20Issue\x20details\x20not\x20found','size','join','QlBqK','errorMessage','fwyeu','getAggregatedErrorCodes','euguv','errorCodesOccurredWhenCLINotRunning','Session\x20Linking\x20Issue\x20details\x20not\x20found','documentationLink','vHbqF','toString','[ClientTroubleShootingService]\x20','287CGsqKP','errorCodes','CVodP','Process\x20Interruption\x20details\x20not\x20found:','warn','sWIPF','NTjKV','IRvnC','5jqUZLp','IKFNw','{SIGNAL}','zPJRt','Dlblw','getDocumentationLink','WCHsB','oznsg','replace','getAggregatedClientTroubleshootingErrors','getErrorMessage','exports','ssl\x20cert\x20issue','getErrorDetails','Conflicting\x20Env\x20Var\x20details\x20not\x20found','winstonLogger','iNXJq','cachedErrorCodes','isArray','POQqz','error','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','12262635PcpwkD','reportClientTroubleshootingError','244776zgUBPQ','vRoNS','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','CLIENT_TROUBLESHOOTING_HASH','2977602WeAodW','2939430IGZuNm','getInstance','./constants','getErrorCodesOccurredInCli','kCbCX','checkForErrorsOccuredInCLI','ToTZQ','logError','getCachedErrorCodes','getSuccess','DFmoq','logSituation','stringify','getFinalErrorMessage','parse','vtYBK','39295530mNqviu','../v2/grpcClient','CPcgk'];a54_0x3814=function(){return _0x24a881;};return a54_0x3814();}
|
|
1
|
+
const a54_0xdc8f90=a54_0x1573;(function(_0x24bb64,_0x4e269b){const _0x526a0a=a54_0x1573,_0x41c414=_0x24bb64();while(!![]){try{const _0x1d16d1=-parseInt(_0x526a0a(0x1cd))/0x1+-parseInt(_0x526a0a(0x1f9))/0x2*(-parseInt(_0x526a0a(0x1e4))/0x3)+-parseInt(_0x526a0a(0x1f6))/0x4+parseInt(_0x526a0a(0x21e))/0x5*(parseInt(_0x526a0a(0x1f3))/0x6)+parseInt(_0x526a0a(0x1fa))/0x7+-parseInt(_0x526a0a(0x213))/0x8+parseInt(_0x526a0a(0x1ec))/0x9;if(_0x1d16d1===_0x4e269b)break;else _0x41c414['push'](_0x41c414['shift']());}catch(_0x434615){_0x41c414['push'](_0x41c414['shift']());}}}(a54_0x116e,0x895a0));const logger=require(a54_0xdc8f90(0x1c3))[a54_0xdc8f90(0x1e6)],BrowserstackCLI=require(a54_0xdc8f90(0x1da)),GrpcClient=require('../v2/grpcClient'),constants=require(a54_0xdc8f90(0x1dc));class ClientTroubleShootingService{static [a54_0xdc8f90(0x216)]=null;static [a54_0xdc8f90(0x1ca)]=new Set();static async['getErrorDetails'](_0x3adf04){const _0x2fdd29=a54_0xdc8f90,_0x254d5c={};_0x254d5c[_0x2fdd29(0x1db)]=function(_0x356a9b,_0x2933c9){return _0x356a9b!==_0x2933c9;};const _0x6c57a=_0x254d5c;try{if(BrowserstackCLI['getInstance']()[_0x2fdd29(0x1ed)]()){const _0x5570e8=await GrpcClient[_0x2fdd29(0x206)]()[_0x2fdd29(0x203)](_0x3adf04);if(_0x6c57a[_0x2fdd29(0x1db)](_0x5570e8,null)&&_0x5570e8[_0x2fdd29(0x210)]())return{'errorCode':_0x5570e8['getErrorCode'](),'errorMessage':_0x5570e8[_0x2fdd29(0x1cb)]()};return{};}return{};}catch(_0x4feaeb){return this['logError'](_0x2fdd29(0x222)+_0x3adf04+':',_0x4feaeb),{};}}static async[a54_0xdc8f90(0x223)](){const _0x381ff8=a54_0xdc8f90,_0x34917a={};_0x34917a[_0x381ff8(0x218)]=function(_0x1a9237,_0x2382f8){return _0x1a9237!==_0x2382f8;},_0x34917a[_0x381ff8(0x1fc)]='base64',_0x34917a[_0x381ff8(0x1d9)]='Error\x20in\x20getting\x20aggregated\x20error\x20codes:';const _0x6a33a2=_0x34917a;try{if(BrowserstackCLI['getInstance']()[_0x381ff8(0x1ed)]()){const _0x4db630=await GrpcClient[_0x381ff8(0x206)]()[_0x381ff8(0x1d7)]();if(_0x6a33a2[_0x381ff8(0x218)](_0x4db630,null)&&_0x4db630[_0x381ff8(0x210)]()){const _0x235de5=Buffer['from'](_0x4db630[_0x381ff8(0x1ef)](),_0x6a33a2[_0x381ff8(0x1fc)])[_0x381ff8(0x1f2)](),_0x545303=_0x235de5?JSON['parse'](_0x235de5):[],_0x526f76=_0x4db630[_0x381ff8(0x1f7)](),_0x6bb0fa=_0x4db630['getFinalErrorMessage'](),_0x562e14=Buffer[_0x381ff8(0x202)](_0x4db630[_0x381ff8(0x1f1)](),_0x6a33a2['nNcZs'])[_0x381ff8(0x1f2)](),_0xec636f=_0x562e14?JSON['parse'](_0x562e14):[],_0x16abc4={};return _0x16abc4['errorCodes']=_0x545303,_0x16abc4[_0x381ff8(0x211)]=_0x526f76,_0x16abc4[_0x381ff8(0x1e1)]=_0x6bb0fa,_0x16abc4[_0x381ff8(0x220)]=_0xec636f,_0x16abc4;}const _0x51fb4f={};return _0x51fb4f[_0x381ff8(0x20d)]=[],_0x51fb4f[_0x381ff8(0x211)]='',_0x51fb4f[_0x381ff8(0x1e1)]='',_0x51fb4f['errorCodesOccurredInCLI']=[],_0x51fb4f;}const _0x5dfd16={};return _0x5dfd16[_0x381ff8(0x20d)]=[],_0x5dfd16['documentationLink']='',_0x5dfd16[_0x381ff8(0x1e1)]='',_0x5dfd16['errorCodesOccurredInCLI']=[],_0x5dfd16;}catch(_0x296e74){this[_0x381ff8(0x1f5)](_0x6a33a2[_0x381ff8(0x1d9)],_0x296e74);const _0x5666d3={};return _0x5666d3[_0x381ff8(0x20d)]=[],_0x5666d3[_0x381ff8(0x211)]='',_0x5666d3[_0x381ff8(0x1e1)]='',_0x5666d3[_0x381ff8(0x220)]=[],_0x5666d3;}}static['logSituation'](_0x403945,_0x311c0a){const _0x399f05=a54_0xdc8f90;logger[_0x399f05(0x200)](_0x403945+':\x20'+_0x311c0a);}static['checkForErrorsOccuredInCLI'](_0x4d4d97){const _0x27ec39=a54_0xdc8f90,_0x556e14={};_0x556e14['Vrewr']=function(_0x2371b4,_0x6513b5){return _0x2371b4!=_0x6513b5;},_0x556e14[_0x27ec39(0x207)]=function(_0x315cec,_0x5efd6c){return _0x315cec!=_0x5efd6c;},_0x556e14['nLXIP']=function(_0x4f1f0f,_0x40ae58){return _0x4f1f0f>_0x40ae58;},_0x556e14[_0x27ec39(0x1e2)]=function(_0x2f9f76,_0x3253a5){return _0x2f9f76!=_0x3253a5;},_0x556e14[_0x27ec39(0x1e8)]=function(_0x515c0a,_0x1105f0){return _0x515c0a!=_0x1105f0;};const _0x4dc40f=_0x556e14,_0x31f620=[];if(_0x4dc40f['Vrewr'](_0x4d4d97,null)&&_0x4dc40f[_0x27ec39(0x207)](_0x4d4d97[_0x27ec39(0x220)],null)&&_0x4dc40f[_0x27ec39(0x1f4)](_0x4d4d97['errorCodesOccurredInCLI'][_0x27ec39(0x217)],0x0))for(const _0x3d7021 of _0x4d4d97[_0x27ec39(0x220)]){_0x4dc40f[_0x27ec39(0x1e2)](_0x3d7021[_0x27ec39(0x204)],null)&&_0x4dc40f[_0x27ec39(0x1e8)](_0x3d7021['errorMessage'],null)&&(_0x31f620[_0x27ec39(0x1e5)](_0x3d7021[_0x27ec39(0x204)]),this[_0x27ec39(0x1cf)](_0x3d7021[_0x27ec39(0x204)],_0x3d7021[_0x27ec39(0x20c)]));}return _0x31f620;}static['getCachedErrorCodes'](){const _0x9e66c8=a54_0xdc8f90;return this[_0x9e66c8(0x216)];}static['logError'](_0x201dcc,_0x265281){const _0x55ac49=a54_0xdc8f90,_0x525153={};_0x525153[_0x55ac49(0x1c7)]=function(_0x334dfe,_0x13b2b5){return _0x334dfe===_0x13b2b5;},_0x525153[_0x55ac49(0x20a)]=_0x55ac49(0x1f0);const _0x16b661=_0x525153;if(_0x16b661[_0x55ac49(0x1c7)](typeof _0x265281,_0x16b661['NQAaZ']))try{logger[_0x55ac49(0x201)](_0x55ac49(0x1ce)+_0x201dcc+'\x20'+JSON['stringify'](_0x265281));}catch(_0x76d39f){logger[_0x55ac49(0x201)](_0x55ac49(0x1ce)+_0x201dcc+'\x20'+_0x265281);}else logger['error'](_0x55ac49(0x1ce)+_0x201dcc+'\x20'+_0x265281);}static async[a54_0xdc8f90(0x1d3)](_0x45d4c1){const _0x1bc2f2=a54_0xdc8f90,_0x48365c={};_0x48365c['kxwwN']=_0x1bc2f2(0x1fb),_0x48365c[_0x1bc2f2(0x21b)]=function(_0x1b992a,_0x4fb541){return _0x1b992a===_0x4fb541;},_0x48365c[_0x1bc2f2(0x20f)]=_0x1bc2f2(0x1fe),_0x48365c[_0x1bc2f2(0x1d4)]=_0x1bc2f2(0x1ea);const _0x6898f5=_0x48365c,_0x31a66b=await this['getErrorDetails'](_0x6898f5['kxwwN']);if(_0x6898f5[_0x1bc2f2(0x21b)](Object[_0x1bc2f2(0x1d5)](_0x31a66b)[_0x1bc2f2(0x217)],0x0)){this[_0x1bc2f2(0x1f5)](_0x6898f5[_0x1bc2f2(0x20f)],_0x31a66b);return;}this[_0x1bc2f2(0x1cf)](_0x31a66b[_0x1bc2f2(0x204)],_0x31a66b['errorMessage'][_0x1bc2f2(0x1cc)](_0x6898f5['kxGwo'],_0x45d4c1));}static async['reportSessionLinkingIssue'](){const _0x39683c=a54_0xdc8f90,_0x4ad8ac={};_0x4ad8ac[_0x39683c(0x214)]=_0x39683c(0x1d0),_0x4ad8ac[_0x39683c(0x215)]=function(_0x13ee53,_0x56b1bc){return _0x13ee53===_0x56b1bc;},_0x4ad8ac[_0x39683c(0x1ee)]=_0x39683c(0x1dd);const _0x5d448b=_0x4ad8ac,_0x333658=await this[_0x39683c(0x1d1)](_0x5d448b[_0x39683c(0x214)]);if(_0x5d448b[_0x39683c(0x215)](Object[_0x39683c(0x1d5)](_0x333658)[_0x39683c(0x217)],0x0)){this[_0x39683c(0x1f5)](_0x5d448b[_0x39683c(0x1ee)],_0x333658);return;}this[_0x39683c(0x1cf)](_0x333658['errorCode'],_0x333658['errorMessage']);}static async['reportConnectivityIssue'](){const _0x44c026=a54_0xdc8f90,_0x181eff={};_0x181eff['eGiGp']=_0x44c026(0x1fd),_0x181eff[_0x44c026(0x221)]=function(_0xd91c3b,_0x548502){return _0xd91c3b===_0x548502;},_0x181eff[_0x44c026(0x1c5)]='Connectivity\x20Issue\x20details\x20not\x20found';const _0x6658f6=_0x181eff,_0x5c04b8=await this[_0x44c026(0x1d1)](_0x6658f6[_0x44c026(0x21c)]);if(_0x6658f6[_0x44c026(0x221)](Object[_0x44c026(0x1d5)](_0x5c04b8)['length'],0x0)){this[_0x44c026(0x1f5)](_0x6658f6[_0x44c026(0x1c5)],_0x5c04b8);return;}this[_0x44c026(0x1cf)](_0x5c04b8[_0x44c026(0x204)],_0x5c04b8[_0x44c026(0x20c)]);}static async[a54_0xdc8f90(0x209)](){const _0x97d66c=a54_0xdc8f90,_0x1a0cd9={};_0x1a0cd9[_0x97d66c(0x20e)]=_0x97d66c(0x1ff),_0x1a0cd9[_0x97d66c(0x1c1)]=function(_0x1637b7,_0xdb8bc7){return _0x1637b7===_0xdb8bc7;},_0x1a0cd9[_0x97d66c(0x1c8)]=_0x97d66c(0x1d6);const _0x5e11be=_0x1a0cd9,_0x4b0d9a=await this[_0x97d66c(0x1d1)](_0x5e11be[_0x97d66c(0x20e)]);if(_0x5e11be['zismy'](Object[_0x97d66c(0x1d5)](_0x4b0d9a)['length'],0x0)){this['logError'](_0x5e11be[_0x97d66c(0x1c8)],_0x4b0d9a);return;}this[_0x97d66c(0x1cf)](_0x4b0d9a[_0x97d66c(0x204)],_0x4b0d9a[_0x97d66c(0x20c)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x17ad0b=a54_0xdc8f90,_0x56487d={};_0x56487d['JagPJ']='.browserstack\x20folder\x20not\x20accessible',_0x56487d[_0x17ad0b(0x21d)]=function(_0x55cefb,_0x459c3f){return _0x55cefb===_0x459c3f;},_0x56487d[_0x17ad0b(0x1c9)]=_0x17ad0b(0x1d8);const _0x277ed4=_0x56487d,_0x4576ac=constants[_0x17ad0b(0x224)][_0x277ed4[_0x17ad0b(0x219)]];if(_0x277ed4['JEBnd'](Object[_0x17ad0b(0x1d5)](_0x4576ac)[_0x17ad0b(0x217)],0x0)){this[_0x17ad0b(0x1f5)](_0x277ed4[_0x17ad0b(0x1c9)],_0x4576ac);return;}this['errorCodesOccurredWhenCLINotRunning'][_0x17ad0b(0x208)](_0x4576ac[0x0]),this[_0x17ad0b(0x1cf)](_0x4576ac[0x0],_0x4576ac[0x1]);}static async[a54_0xdc8f90(0x1de)](_0xc2da42){const _0x37749c=a54_0xdc8f90,_0x442e9d={};_0x442e9d[_0x37749c(0x21a)]=_0x37749c(0x1d2),_0x442e9d[_0x37749c(0x1e0)]=function(_0x3ba80e,_0x24822d){return _0x3ba80e===_0x24822d;},_0x442e9d['MZHvp']=_0x37749c(0x212),_0x442e9d[_0x37749c(0x1e3)]=_0x37749c(0x1e7);const _0x2bd191=_0x442e9d,_0x166ace=await this['getErrorDetails'](_0x2bd191['akPHa']);if(_0x2bd191[_0x37749c(0x1e0)](Object[_0x37749c(0x1d5)](_0x166ace)[_0x37749c(0x217)],0x0)){this[_0x37749c(0x1f5)](_0x2bd191[_0x37749c(0x1c2)],_0x166ace);return;}const _0xbf7129=_0x166ace[_0x37749c(0x20c)]['replace'](_0x2bd191[_0x37749c(0x1e3)],_0xc2da42);this['logSituation'](_0x166ace[_0x37749c(0x204)],_0xbf7129);}static async[a54_0xdc8f90(0x1df)](){const _0x342e18=a54_0xdc8f90,_0x2ddd21={};_0x2ddd21[_0x342e18(0x1e9)]=function(_0x538374,_0x564ab8){return _0x538374>_0x564ab8;},_0x2ddd21['KHOfs']=_0x342e18(0x21f),_0x2ddd21['ToGUq']='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0xaa541e=_0x2ddd21,_0x20bf12=await this[_0x342e18(0x223)](),_0x5dc1ad=this['checkForErrorsOccuredInCLI'](_0x20bf12),_0xfb0db7=Array[_0x342e18(0x20b)](_0x20bf12[_0x342e18(0x20d)])?_0x20bf12[_0x342e18(0x20d)]:[],_0x21f8d5=_0xaa541e[_0x342e18(0x1e9)](this[_0x342e18(0x1ca)][_0x342e18(0x1c6)],0x0)?Array['from'](this[_0x342e18(0x1ca)]):[],_0x33e527=new Set([..._0xfb0db7,..._0x5dc1ad,..._0x21f8d5]),_0xfc5a27=Array[_0x342e18(0x202)](_0x33e527);if(_0xaa541e[_0x342e18(0x1e9)](_0xfc5a27[_0x342e18(0x217)],0x0)){const _0x4f8eb8=_0x20bf12[_0x342e18(0x1e1)]['replace'](_0xaa541e[_0x342e18(0x205)],_0xfc5a27[_0x342e18(0x1f8)](',\x20'))[_0x342e18(0x1cc)](_0xaa541e[_0x342e18(0x1c4)],_0x20bf12[_0x342e18(0x211)]);logger[_0x342e18(0x200)](_0x4f8eb8),this[_0x342e18(0x216)]=_0xfc5a27;}}}function a54_0x116e(){const _0x27fee9=['oeeQH','LNomh','{SIGNAL}','exports','12940731VehKpC','isRunning','bfwsK','getErrorCodes','object','getErrorCodesOccurredInCli','toString','5285778ECzrka','nLXIP','logError','4363268DdBDss','getDocumentationLink','join','28326wKfjOi','255017dJSQBa','Process\x20Interruption','nNcZs','browserstack\x20cloud\x20not\x20reachable','Process\x20Interruption\x20details\x20not\x20found:','ssl\x20cert\x20issue','warn','error','from','reportClientTroubleshootingError','errorCode','KHOfs','getInstance','vCgSM','add','reportSSLCertIssue','NQAaZ','isArray','errorMessage','errorCodes','sjlUX','wZiUd','getSuccess','documentationLink','Conflicting\x20Env\x20Var\x20details\x20not\x20found','4690720NITGKI','ZIHuV','CWRlb','cachedErrorCodes','length','XHrEi','JagPJ','akPHa','reSQA','eGiGp','JEBnd','5uTbkhD','{ERROR_CODES}','errorCodesOccurredInCLI','hzjmA','Error\x20in\x20getting\x20error\x20details\x20for\x20','getAggregatedErrorCodes','CLIENT_TROUBLESHOOTING_HASH','zismy','MZHvp','../../helpers/logger','ToGUq','fLurM','size','QdiKI','EsNBa','dAMpD','errorCodesOccurredWhenCLINotRunning','getErrorMessage','replace','172156FklYBU','[ClientTroubleShootingService]\x20','logSituation','Session\x20Linking\x20Issue','getErrorDetails','conflicting\x20env\x20var\x20detected','reportProcessInterruptionSituation','kxGwo','keys','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','getAggregatedClientTroubleshootingErrors','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','NfqVd','../v2/browserstackCLI','fprAf','./constants','Session\x20Linking\x20Issue\x20details\x20not\x20found','reportConflictingEnvVarIssue','reportFinalDetectionState','YNcIr','finalErrorMessage','UIgsY','gLpYH','12YRshWr','push','winstonLogger','{ENV_VAR}'];a54_0x116e=function(){return _0x27fee9;};return a54_0x116e();}function a54_0x1573(_0x236030,_0xd39932){const _0x116e53=a54_0x116e();return a54_0x1573=function(_0x157386,_0x32e24e){_0x157386=_0x157386-0x1c1;let _0x2e7646=_0x116e53[_0x157386];return _0x2e7646;},a54_0x1573(_0x236030,_0xd39932);}module[a54_0xdc8f90(0x1eb)]=ClientTroubleShootingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x2b5290=a55_0x2ab6;(function(_0x41d337,_0xb6391f){const _0x5172d8=a55_0x2ab6,_0x542987=_0x41d337();while(!![]){try{const _0x1e2254=-parseInt(_0x5172d8(0x253))/0x1+parseInt(_0x5172d8(0x278))/0x2*(-parseInt(_0x5172d8(0x22d))/0x3)+parseInt(_0x5172d8(0x1ac))/0x4*(-parseInt(_0x5172d8(0x1ea))/0x5)+-parseInt(_0x5172d8(0x1ed))/0x6*(-parseInt(_0x5172d8(0x1df))/0x7)+-parseInt(_0x5172d8(0x1e8))/0x8+parseInt(_0x5172d8(0x1e7))/0x9+-parseInt(_0x5172d8(0x213))/0xa*(-parseInt(_0x5172d8(0x279))/0xb);if(_0x1e2254===_0xb6391f)break;else _0x542987['push'](_0x542987['shift']());}catch(_0x48460f){_0x542987['push'](_0x542987['shift']());}}}(a55_0x22c8,0xbc320));const a55_0x1c1d98={};a55_0x1c1d98[a55_0x2b5290(0x225)]=a55_0x2b5290(0x231),a55_0x1c1d98[a55_0x2b5290(0x203)]=a55_0x2b5290(0x1b7);const a55_0x96b72b={};a55_0x96b72b['INFO']=a55_0x2b5290(0x222);const a55_0x5e8791={};a55_0x5e8791[a55_0x2b5290(0x225)]=a55_0x2b5290(0x1e1);const a55_0x17a49a={};a55_0x17a49a[a55_0x2b5290(0x225)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';const a55_0xa18f8={};a55_0xa18f8[a55_0x2b5290(0x225)]='Run\x20js\x20tests\x20on\x20browserstack';const a55_0x1fafa1={};a55_0x1fafa1[a55_0x2b5290(0x225)]=a55_0x2b5290(0x216);const a55_0x5051a2={};a55_0x5051a2[a55_0x2b5290(0x225)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a55_0x33bbc3={};a55_0x33bbc3['INFO']=a55_0x2b5290(0x1a4);const a55_0x4980be={};a55_0x4980be[a55_0x2b5290(0x225)]=a55_0x2b5290(0x237);const a55_0x5b0434={};a55_0x5b0434[a55_0x2b5290(0x225)]=a55_0x2b5290(0x1dc);const a55_0x285adc={};a55_0x285adc['PLAYWRIGHT']=a55_0x2b5290(0x254),a55_0x285adc[a55_0x2b5290(0x230)]=a55_0x2b5290(0x1bb),a55_0x285adc[a55_0x2b5290(0x246)]=a55_0x2b5290(0x23b),a55_0x285adc[a55_0x2b5290(0x1ca)]=a55_0x2b5290(0x202),a55_0x285adc[a55_0x2b5290(0x1f8)]=a55_0x2b5290(0x1eb),a55_0x285adc[a55_0x2b5290(0x1e5)]='cucumber',a55_0x285adc[a55_0x2b5290(0x250)]='vanilla';const a55_0xb11747={};a55_0xb11747[a55_0x2b5290(0x1b4)]=a55_0x2b5290(0x249),a55_0xb11747['uniqueDependency']=a55_0x2b5290(0x209),a55_0xb11747['mandatoryDependency']='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a55_0xb11747[a55_0x2b5290(0x1a6)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x4fa299={};a55_0x4fa299['COMMONJS']=a55_0x2b5290(0x26a),a55_0x4fa299['MODULE']=a55_0x2b5290(0x23d);const a55_0xad19b1={};function a55_0x22c8(){const _0xdf1c06=['A11Y_SCAN','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','unhandledPromptBehavior','disableAutoCaptureLogs','logLevel','app-automate','codeceptjs','HELP','NIGHTWATCH','browserstackLocal','SDKTestInitFailedResponse','CLI_SUPPORTED_FRAMEWORKS','bsstag.com','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','ERR_CONNECTION_FAILED','VERSION','[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.','env','NUDGE_LOCAL_ERRORS','GLOBAL_AGENT_HTTP_PROXY','AUTOMATE','Upgrade\x20required','20MhCcrv','browserStackLocalOptions','https://api-preprod.bsstag.com','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','https://tcg-preprod.bsstag.com','ERR_PROXY_CONNECTION_FAILED','ERR_TIMED_OUT','testOrchestrationOptions','sdk/v1/event','SDKTestTcgAuthFailure','.aab','PLAYWRIGHT_TRACE_LOGS','3|0|5|4|2|11|6|10|9|12|8|7|1','proxyUrl','Run\x20jest\x20tests\x20on\x20browserstack','PRIVATE_DOMAIN_OR_IP_REGEX','ERR_ADDRESS_INVALID','INFO','acceptInsecureCerts','Cucumber-JS','ROOT_CAPS','CLIENT_TROUBLESHOOTING_HASH','browserName','unable\x20to\x20get\x20local\x20issuer\x20certificate','localProxyPass','2562093MKMptp','localProxyUser','BINARY_BUSY_ERROR_CODES','MOCHA','shows\x20version\x20information','AI_INIT_FAILURE','https://upload-observability.browserstack.com','AI_PROXY_FAILURE','httpsProxy','userName','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','staging','https://edsstaging.bsstag.com','ERR_ADDRESS_UNREACHABLE','jest','EBUSY','module','https://automate-preprod.bsstag.com/dashboard/v2/builds/','ERR_TLS_CERT_ALTNAME_INVALID','SDKTestTcgDownResponse','UPGRADE_REQUIRED','https://tcg.bsstag.com','SHAREABLE_ID_REGEX','pageLoadStrategy','localOptions','JEST','BROWSERSTACK_AUTOMATE_URL','browserstack.com','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','timeouts','ERR_SOCKS_CONNECTION_FAILED','./browserstack-artifacts/','ERR_FAILED','AI_INIT_SUCCESSFUL','strictFileInteractability','VANILLA','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','BROWSERSTACK','1273773WJlgYj','Playwright','HUB_URL_REGEX','https://hub-preprod.bsstag.com/wd/hub','https://eds.browserstack.com','UPDATED_CLI_ENDPOINT','...[TRUNCATED]','wss://cdp-preprod.bsstag.com/playwright?caps=','authToken','HEALING_FAILURE_TIMEOUT','ERR_CONNECTION_RESET','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','SDK_INSTRUMENTATION_CONFIG','toLowerCase','rerunTests','ERR_NETWORK_CHANGED','BSTACK_URL','wss://cdp.browserstack.com/playwright?caps=','SET_TCG_TOKEN_TIMEOUT','percyOptions','proxyUser','HST','root','commonjs','acceptSslCert','customVariables','FUNNEL_INSTRUMENTATION_API_URL','SDK-GEN-001','^[a-zA-Z0-9_.-]*$','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','ERR_NAME_RESOLUTION_FAILED','stag','browserstack.accessKey','ERR_SOCKET_NOT_CONNECTED','ERR_BLOCKED_BY_CLIENT','BROWSERSTACK_API_URL','prod','2gsjFzX','13415677iKoMyd','bsstag','proxySettings','turboScaleOptions','cucumber','TCG_AUTH_TIMEOUT','testObservability','BROWSERSTACK_APP_AUTOMATE_URL','PLAYWRIGHT_HUB_URL','chromeOptions','exports','TEST_FRAMEWORK_HOOK_TIMEOUT','.browserstack\x20folder\x20not\x20accessible','testContextOptions','Jest','POLL_HEALING_RESULT_TIMEOUT','framework','Run\x20codeceptjs\x20tests\x20on\x20browserstack','ROOT_REGEX','invalidTestInputType','ERR_CONNECTION_TIMED_OUT','A11Y_GET_RESULTS','CODECEPTJS','accessibilityOptions','A11Y_SAVE_RESULTS','30196avUECH','CERT_HAS_EXPIRED','EDS_URL','automation','.apk','SELF_SIGNED_CERT_IN_CHAIN','FRAMEWORKS','https://observability-devtestops.bsstag.com','invalidKeys','preprod','TCG_AUTH_FAILURE','Specify\x20--help\x20for\x20available\x20options','TCG_URL','browserstack.overridelocalInfo.userAuthToken','accessKey','mocha','testReporting','TEST\x20REPORTING\x20AND\x20ANALYTICS','https://apidevtestops.bsstag.com','TCG_REGION','percy','APP_AUTOMATE_PRODUCTS','split','OBSERVABILITY_UPLOAD_URL','SSL_ERROR_CODES','AUTOLOGCAPTURE_NOTIFICATION','https://upload-observability-preprod.bsstag.com','https://automation-preprod.bsstag.com','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','acceptSslCerts','CODECEPT','browserVersion','DEBUG_LOG_FILE_NAME','12|11|3|1|4|9|5|2|10|8|6|0|7','Mocha','certificate\x20has\x20expired','https://api-cloud.browserstack.com','PLAYWRIGHT','O11Y_URL','DEPTH_ZERO_SELF_SIGNED_CERT','ERR_CONNECTION_ABORTED','APP_UPLOAD_URL','browserstack-ats.com','percyCaptureMode','MAX_GIT_META_DATA_SIZE_IN_BYTES','AI_ENABLED_FRAMEWORK','BROWSERSTACK_ENV','TEST_REPORTING_ANALYTICS','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','httpProxy','OBSERVABILITY_SUPPORTED_FWS','7Ycaaen','USER_CONFIG_DETAILS_PATH','Run\x20mocha\x20tests\x20on\x20browserstack','.ipa','ERR_CONNECTION_REFUSED','INTERNALLY_USED_ENV_VARS','CUCUMBER','/usage.log','12709152TvethX','11458256PRQWMc','pre-prod','595TQBPRq','codeceptjs-cucumber','CUSTOM_ID_REGEX','8267538XWjXPV','GIT_META_DATA_TRUNCATED','testObservabilityOptions','ObservabilitySync','observability','https://app-automate.browserstack.com/dashboard/v2/builds/','BSTACK_DELTA','sdk/v1/update_cli','browserstackAutomation','hubUrl','CONNECTIVITY_ISSUE_ERROR_CODES','CODECEPT_CUCUMBER','HEALING_LOG_DATA_TIMEOUT','TCG_DOWN','SSL_ERROR_MESSAGES'];a55_0x22c8=function(){return _0xdf1c06;};return a55_0x22c8();}a55_0xad19b1[a55_0x2b5290(0x1ce)]=0xfde8,a55_0xad19b1[a55_0x2b5290(0x227)]=0xfde8,a55_0xad19b1[a55_0x2b5290(0x1a1)]=0x186a0;const a55_0x5953fc={};a55_0x5953fc[a55_0x2b5290(0x269)]=[a55_0x2b5290(0x236),a55_0x2b5290(0x1ba),a55_0x2b5290(0x1dd),a55_0x2b5290(0x235),a55_0x2b5290(0x26c),'browserstack.userName',a55_0x2b5290(0x273),'proxyPassword',a55_0x2b5290(0x25b),a55_0x2b5290(0x221),a55_0x2b5290(0x1b9)],a55_0x5953fc[a55_0x2b5290(0x214)]=[a55_0x2b5290(0x267),'proxyPass',a55_0x2b5290(0x22e),a55_0x2b5290(0x22c)];function a55_0x2ab6(_0x2ce8ae,_0x36dffe){const _0x22c8f4=a55_0x22c8();return a55_0x2ab6=function(_0x2ab6ae,_0x377bdf){_0x2ab6ae=_0x2ab6ae-0x19c;let _0x6e4e9c=_0x22c8f4[_0x2ab6ae];return _0x6e4e9c;},a55_0x2ab6(_0x2ce8ae,_0x36dffe);}const a55_0x1edd6f={};a55_0x1edd6f[a55_0x2b5290(0x205)]=a55_0x2b5290(0x205),a55_0x1edd6f[a55_0x2b5290(0x214)]=a55_0x2b5290(0x214),a55_0x1edd6f[a55_0x2b5290(0x245)]=a55_0x2b5290(0x214),a55_0x1edd6f['parallelsPerPlatform']='parallelsPerPlatform',a55_0x1edd6f['platforms']='platforms',a55_0x1edd6f[a55_0x2b5290(0x200)]=a55_0x2b5290(0x200),a55_0x1edd6f[a55_0x2b5290(0x1dd)]=a55_0x2b5290(0x1dd),a55_0x1edd6f[a55_0x2b5290(0x235)]=a55_0x2b5290(0x235),a55_0x1edd6f[a55_0x2b5290(0x1a3)]=a55_0x2b5290(0x1a3),a55_0x1edd6f[a55_0x2b5290(0x1a0)]=a55_0x2b5290(0x1a0),a55_0x1edd6f[a55_0x2b5290(0x27f)]=a55_0x2b5290(0x27f),a55_0x1edd6f['testReporting']=a55_0x2b5290(0x1bc),a55_0x1edd6f[a55_0x2b5290(0x1ef)]=a55_0x2b5290(0x1ef),a55_0x1edd6f['testReportingOptions']='testReportingOptions',a55_0x1edd6f[a55_0x2b5290(0x26c)]='customVariables',a55_0x1edd6f[a55_0x2b5290(0x1af)]='browserstackAutomation',a55_0x1edd6f['browserstackAutomation']=a55_0x2b5290(0x1f5),a55_0x1edd6f[a55_0x2b5290(0x261)]=a55_0x2b5290(0x261),a55_0x1edd6f[a55_0x2b5290(0x1c0)]=a55_0x2b5290(0x1c0),a55_0x1edd6f[a55_0x2b5290(0x266)]=a55_0x2b5290(0x266),a55_0x1edd6f['percyCaptureMode']=a55_0x2b5290(0x1d7),a55_0x1edd6f[a55_0x2b5290(0x1ff)]='disableAutoCaptureLogs',a55_0x1edd6f['accessibility']='accessibility',a55_0x1edd6f['accessibilityOptions']=a55_0x2b5290(0x1aa),a55_0x1edd6f['turboScale']='turboScale',a55_0x1edd6f[a55_0x2b5290(0x27c)]=a55_0x2b5290(0x27c),a55_0x1edd6f[a55_0x2b5290(0x27b)]=a55_0x2b5290(0x27b),a55_0x1edd6f[a55_0x2b5290(0x21b)]=a55_0x2b5290(0x21b);const a55_0x23c5b8={};a55_0x23c5b8[a55_0x2b5290(0x19f)]=[a55_0x2b5290(0x26e),a55_0x2b5290(0x20d)];const a55_0x1a0c79={};a55_0x1a0c79[a55_0x2b5290(0x20c)]=a55_0x1c1d98,a55_0x1a0c79[a55_0x2b5290(0x246)]=a55_0x96b72b,a55_0x1a0c79[a55_0x2b5290(0x230)]=a55_0x5e8791,a55_0x1a0c79[a55_0x2b5290(0x1e5)]=a55_0x17a49a,a55_0x1a0c79[a55_0x2b5290(0x250)]=a55_0xa18f8,a55_0x1a0c79[a55_0x2b5290(0x204)]=a55_0x1fafa1,a55_0x1a0c79[a55_0x2b5290(0x1d1)]=a55_0x5051a2,a55_0x1a0c79[a55_0x2b5290(0x1a9)]=a55_0x33bbc3,a55_0x1a0c79[a55_0x2b5290(0x268)]=a55_0x4980be,a55_0x1a0c79['INTEGRATIONS']=a55_0x5b0434,a55_0x1a0c79[a55_0x2b5290(0x1f3)]=0xf*0x3c*0x3e8,a55_0x1a0c79[a55_0x2b5290(0x1f6)]='https://hub.browserstack.com/wd/hub',a55_0x1a0c79['TCG_URL']='https://tcg.browserstack.com',a55_0x1a0c79[a55_0x2b5290(0x1bf)]='use',a55_0x1a0c79['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x1a0c79['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x1a0c79['ATS_WSS_URL_REGEX']=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x1a0c79[a55_0x2b5290(0x228)]=[a55_0x2b5290(0x226),a55_0x2b5290(0x244),a55_0x2b5290(0x24f),a55_0x2b5290(0x1fe),a55_0x2b5290(0x24a),a55_0x2b5290(0x22a),a55_0x2b5290(0x1cb),a55_0x2b5290(0x1c9),a55_0x2b5290(0x26b),a55_0x2b5290(0x19c),'firefoxOptions','edgeOptions','ieOptions'],a55_0x1a0c79[a55_0x2b5290(0x1a5)]=/^[\w-]+:.*$/,a55_0x1a0c79[a55_0x2b5290(0x223)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x1a0c79[a55_0x2b5290(0x1ae)]=a55_0x2b5290(0x257),a55_0x1a0c79[a55_0x2b5290(0x276)]='https://api.browserstack.com',a55_0x1a0c79[a55_0x2b5290(0x1d5)]=a55_0x2b5290(0x1d0),a55_0x1a0c79[a55_0x2b5290(0x258)]=a55_0x2b5290(0x1f4),a55_0x1a0c79[a55_0x2b5290(0x26d)]=a55_0x2b5290(0x21c),a55_0x1a0c79['AUTOMATE_PRODUCTS']=['automate',a55_0x2b5290(0x1f1)],a55_0x1a0c79[a55_0x2b5290(0x1c1)]=[a55_0x2b5290(0x201),'observability'],a55_0x1a0c79[a55_0x2b5290(0x1fd)]=[a55_0x2b5290(0x1f1)],a55_0x1a0c79['OBSERVABILITY_UPLOAD_URL']=a55_0x2b5290(0x233),a55_0x1a0c79[a55_0x2b5290(0x1de)]=[a55_0x2b5290(0x1bb),a55_0x2b5290(0x254)],a55_0x1a0c79[a55_0x2b5290(0x211)]=['automate'],a55_0x1a0c79[a55_0x2b5290(0x247)]='https://automate.browserstack.com/dashboard/v2/builds/',a55_0x1a0c79[a55_0x2b5290(0x280)]=a55_0x2b5290(0x1f2),a55_0x1a0c79['APP_AUTOMATE']=['app-automate'],a55_0x1a0c79[a55_0x2b5290(0x20f)]=[a55_0x2b5290(0x24d),a55_0x2b5290(0x21a),a55_0x2b5290(0x275),a55_0x2b5290(0x262),a55_0x2b5290(0x274),'ERR_CONNECTION_CLOSED',a55_0x2b5290(0x25d),a55_0x2b5290(0x1e3),a55_0x2b5290(0x1d4),a55_0x2b5290(0x20b),'ERR_NAME_NOT_RESOLVED',a55_0x2b5290(0x224),a55_0x2b5290(0x23a),'ERR_TUNNEL_CONNECTION_FAILED',a55_0x2b5290(0x1a7),a55_0x2b5290(0x24b),a55_0x2b5290(0x217),a55_0x2b5290(0x219),'ERR_NAME_NOT_RESOLVED',a55_0x2b5290(0x271),a55_0x2b5290(0x270)],a55_0x1a0c79['VALID_APP_EXTENSION']=[a55_0x2b5290(0x1b0),a55_0x2b5290(0x21e),a55_0x2b5290(0x1e2)],a55_0x1a0c79[a55_0x2b5290(0x1ec)]=a55_0x2b5290(0x26f),a55_0x1a0c79[a55_0x2b5290(0x243)]=a55_0x2b5290(0x25e),a55_0x1a0c79['CI_ARTIFACTS_PATH']=a55_0x2b5290(0x24c),a55_0x1a0c79['PLAYWRIGHT_HUB_URL']=a55_0x2b5290(0x264),a55_0x1a0c79[a55_0x2b5290(0x1b2)]=a55_0x285adc,a55_0x1a0c79['PERCY_SUPPORTED_FRAMEWORKS']=[a55_0x2b5290(0x23b),a55_0x2b5290(0x1bb)],a55_0x1a0c79['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a55_0xb11747,a55_0x1a0c79[a55_0x2b5290(0x1c5)]=a55_0x2b5290(0x251),a55_0x1a0c79['PACKAGE_TYPE']=a55_0x4fa299,a55_0x1a0c79[a55_0x2b5290(0x1d8)]=0x40*0x400,a55_0x1a0c79[a55_0x2b5290(0x1ee)]=a55_0x2b5290(0x259),a55_0x1a0c79[a55_0x2b5290(0x241)]=a55_0x2b5290(0x212),a55_0x1a0c79[a55_0x2b5290(0x1fa)]=a55_0x2b5290(0x240),a55_0x1a0c79['INVALID_INIT_RESP_WITH_USER_IMPACT']='SDKTestInvalidTcgAuthResponseWithUserImpact',a55_0x1a0c79[a55_0x2b5290(0x1b6)]=a55_0x2b5290(0x21d),a55_0x1a0c79[a55_0x2b5290(0x24e)]='SDKTestTcgtInitSuccessful',a55_0x1a0c79[a55_0x2b5290(0x232)]=a55_0x2b5290(0x206),a55_0x1a0c79[a55_0x2b5290(0x234)]='SDKTestTcgProxyFailure',a55_0x1a0c79[a55_0x2b5290(0x27e)]=0x1388,a55_0x1a0c79[a55_0x2b5290(0x265)]=0x1388,a55_0x1a0c79[a55_0x2b5290(0x1f9)]=0x1388,a55_0x1a0c79[a55_0x2b5290(0x25c)]=0x1388,a55_0x1a0c79[a55_0x2b5290(0x1a2)]=0xc350,a55_0x1a0c79[a55_0x2b5290(0x19e)]=a55_0xad19b1,a55_0x1a0c79['REDACTED_KEYS']=a55_0x5953fc,a55_0x1a0c79[a55_0x2b5290(0x1d9)]=['vanilla',a55_0x2b5290(0x202)],a55_0x1a0c79[a55_0x2b5290(0x25f)]=a55_0x1edd6f,a55_0x1a0c79['LOG_FILE_NAME']=a55_0x2b5290(0x1e6),a55_0x1a0c79[a55_0x2b5290(0x1cc)]='/usage-debug.log',a55_0x1a0c79[a55_0x2b5290(0x263)]=a55_0x2b5290(0x248),a55_0x1a0c79['BSTACK_ATS_URL']=a55_0x2b5290(0x1d6),a55_0x1a0c79[a55_0x2b5290(0x1d2)]='https://automation.browserstack.com',a55_0x1a0c79[a55_0x2b5290(0x1db)]=a55_0x2b5290(0x1bd),a55_0x1a0c79[a55_0x2b5290(0x252)]='browserstack',a55_0x1a0c79[a55_0x2b5290(0x207)]=['playwright',a55_0x2b5290(0x27d),'jest'],a55_0x1a0c79['AUTOMATION_LOG_COMMANDS']=[a55_0x2b5290(0x1fc),'A11Y_GET_RESULTS_SUMMARY',a55_0x2b5290(0x1a8),a55_0x2b5290(0x1ab),'percyScreenshot',a55_0x2b5290(0x1f0)],a55_0x1a0c79[a55_0x2b5290(0x21f)]=a55_0x2b5290(0x21f),a55_0x1a0c79[a55_0x2b5290(0x1fb)]=['self\x20signed\x20certificate','unable\x20to\x20verify\x20the\x20first\x20certificate',a55_0x2b5290(0x1cf),a55_0x2b5290(0x22b),a55_0x2b5290(0x23f),a55_0x2b5290(0x1d3)],a55_0x1a0c79[a55_0x2b5290(0x1c4)]=[a55_0x2b5290(0x1b1),'DEPTH_ZERO_SELF_SIGNED_CERT','UNABLE_TO_VERIFY_LEAF_SIGNATURE',a55_0x2b5290(0x1ad),a55_0x2b5290(0x23f),'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'],a55_0x1a0c79[a55_0x2b5290(0x1f7)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x1a0c79[a55_0x2b5290(0x229)]=a55_0x23c5b8,a55_0x1a0c79[a55_0x2b5290(0x1e4)]=[a55_0x2b5290(0x210),'GLOBAL_AGENT_NO_PROXY',a55_0x2b5290(0x1e0)],a55_0x1a0c79[a55_0x2b5290(0x22f)]=['ETXTBSY',a55_0x2b5290(0x23c)],module[a55_0x2b5290(0x19d)]=a55_0x1a0c79;const _env=(process[a55_0x2b5290(0x20e)][a55_0x2b5290(0x1da)]||a55_0x2b5290(0x277))[a55_0x2b5290(0x260)]();if(_env===a55_0x2b5290(0x238)||_env===a55_0x2b5290(0x272)){const GEHKaN=a55_0x2b5290(0x220)[a55_0x2b5290(0x1c2)]('|');let FeJbSt=0x0;while(!![]){switch(GEHKaN[FeJbSt++]){case'0':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x276)]=a55_0x2b5290(0x1be);continue;case'1':module['exports'][a55_0x2b5290(0x252)]=a55_0x2b5290(0x27a);continue;case'2':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x247)]=a55_0x2b5290(0x20a);continue;case'3':module['exports'][a55_0x2b5290(0x1f6)]='https://hub-devtestops.bsstag.com/wd/hub';continue;case'4':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x255)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'5':module['exports']['TCG_URL']=a55_0x2b5290(0x242);continue;case'6':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x1d5)]='https://api-cloud-devtestops.bsstag.com';continue;case'7':module[a55_0x2b5290(0x19d)]['EDS_URL']=a55_0x2b5290(0x239);continue;case'8':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x1c3)]='https://upload-observability-devtestops-ssi.bsstag.com';continue;case'9':module[a55_0x2b5290(0x19d)]['BSTACK_URL']=a55_0x2b5290(0x208);continue;case'10':module['exports'][a55_0x2b5290(0x281)]='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'11':module[a55_0x2b5290(0x19d)]['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x2b5290(0x1c8);continue;case'12':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x1d2)]=a55_0x2b5290(0x1b3);continue;}break;}}else{if(_env===a55_0x2b5290(0x1b5)||_env===a55_0x2b5290(0x1e9)){const uwLbbJ=a55_0x2b5290(0x1cd)['split']('|');let paSGBO=0x0;while(!![]){switch(uwLbbJ[paSGBO++]){case'0':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x1ae)]=a55_0x2b5290(0x239);continue;case'1':module['exports']['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'2':module[a55_0x2b5290(0x19d)]['PLAYWRIGHT_HUB_URL']=a55_0x2b5290(0x25a);continue;case'3':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x1b8)]=a55_0x2b5290(0x218);continue;case'4':module[a55_0x2b5290(0x19d)]['BROWSERSTACK_AUTOMATE_URL']=a55_0x2b5290(0x23e);continue;case'5':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x1d5)]=a55_0x2b5290(0x215);continue;case'6':module['exports'][a55_0x2b5290(0x1c3)]=a55_0x2b5290(0x1c6);continue;case'7':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x252)]=a55_0x2b5290(0x27a);continue;case'8':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x1d2)]=a55_0x2b5290(0x1c7);continue;case'9':module[a55_0x2b5290(0x19d)]['BROWSERSTACK_APP_AUTOMATE_URL']='https://app-automate-preprod.bsstag.com/dashboard/v2/builds/';continue;case'10':module[a55_0x2b5290(0x19d)]['BSTACK_URL']=a55_0x2b5290(0x208);continue;case'11':module[a55_0x2b5290(0x19d)][a55_0x2b5290(0x276)]=a55_0x2b5290(0x215);continue;case'12':module[a55_0x2b5290(0x19d)]['hubUrl']=a55_0x2b5290(0x256);continue;}break;}}}
|
|
1
|
+
const a55_0x3226f8=a55_0x44fb;(function(_0x4be598,_0x26db30){const _0x4b3477=a55_0x44fb,_0x39fffb=_0x4be598();while(!![]){try{const _0x5a1d3b=parseInt(_0x4b3477(0x2af))/0x1+-parseInt(_0x4b3477(0x1fd))/0x2*(-parseInt(_0x4b3477(0x232))/0x3)+-parseInt(_0x4b3477(0x1e2))/0x4+parseInt(_0x4b3477(0x23f))/0x5+-parseInt(_0x4b3477(0x1f0))/0x6*(-parseInt(_0x4b3477(0x1de))/0x7)+-parseInt(_0x4b3477(0x22a))/0x8+-parseInt(_0x4b3477(0x227))/0x9*(-parseInt(_0x4b3477(0x24e))/0xa);if(_0x5a1d3b===_0x26db30)break;else _0x39fffb['push'](_0x39fffb['shift']());}catch(_0x193dc8){_0x39fffb['push'](_0x39fffb['shift']());}}}(a55_0x38ed,0x8b56f));const a55_0x1f9a4e={};a55_0x1f9a4e[a55_0x3226f8(0x223)]=a55_0x3226f8(0x234),a55_0x1f9a4e[a55_0x3226f8(0x1fc)]=a55_0x3226f8(0x1ea);const a55_0x5c30b6={};a55_0x5c30b6['INFO']=a55_0x3226f8(0x2aa);const a55_0x3cfb9f={};a55_0x3cfb9f['INFO']=a55_0x3226f8(0x1ec);const a55_0x2fd904={};a55_0x2fd904[a55_0x3226f8(0x223)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';const a55_0x192aec={};a55_0x192aec[a55_0x3226f8(0x223)]=a55_0x3226f8(0x20a);const a55_0x234635={};a55_0x234635[a55_0x3226f8(0x223)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';const a55_0x326c45={};a55_0x326c45['INFO']=a55_0x3226f8(0x283);const a55_0x486889={};function a55_0x44fb(_0x385196,_0x266688){const _0x38ed37=a55_0x38ed();return a55_0x44fb=function(_0x44fbab,_0xeaf5dc){_0x44fbab=_0x44fbab-0x1d7;let _0x11cb67=_0x38ed37[_0x44fbab];return _0x11cb67;},a55_0x44fb(_0x385196,_0x266688);}a55_0x486889['INFO']=a55_0x3226f8(0x280);const a55_0xa2c971={};a55_0xa2c971[a55_0x3226f8(0x223)]=a55_0x3226f8(0x27c);const a55_0x269153={};a55_0x269153[a55_0x3226f8(0x223)]=a55_0x3226f8(0x2ad);const a55_0x52d51e={};a55_0x52d51e[a55_0x3226f8(0x24d)]=a55_0x3226f8(0x2a6),a55_0x52d51e[a55_0x3226f8(0x202)]=a55_0x3226f8(0x1ff),a55_0x52d51e['JEST']='jest',a55_0x52d51e[a55_0x3226f8(0x247)]=a55_0x3226f8(0x263),a55_0x52d51e[a55_0x3226f8(0x241)]=a55_0x3226f8(0x22d),a55_0x52d51e['CUCUMBER']='cucumber',a55_0x52d51e[a55_0x3226f8(0x239)]=a55_0x3226f8(0x24c);const a55_0x160019={};a55_0x160019[a55_0x3226f8(0x252)]=a55_0x3226f8(0x27d),a55_0x160019['uniqueDependency']=a55_0x3226f8(0x236),a55_0x160019[a55_0x3226f8(0x243)]=a55_0x3226f8(0x296),a55_0x160019[a55_0x3226f8(0x284)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x546a5f={};a55_0x546a5f[a55_0x3226f8(0x255)]=a55_0x3226f8(0x217),a55_0x546a5f[a55_0x3226f8(0x2a0)]=a55_0x3226f8(0x2b1);const a55_0x8fce3={};a55_0x8fce3[a55_0x3226f8(0x28b)]=0xfde8,a55_0x8fce3['Cucumber-JS']=0xfde8,a55_0x8fce3[a55_0x3226f8(0x2a3)]=0x186a0;const a55_0x11ad86={};a55_0x11ad86['root']=['userName','accessKey','httpProxy','httpsProxy',a55_0x3226f8(0x1e0),'browserstack.userName','browserstack.accessKey',a55_0x3226f8(0x298),a55_0x3226f8(0x2b3),a55_0x3226f8(0x233),a55_0x3226f8(0x20e)],a55_0x11ad86['browserStackLocalOptions']=[a55_0x3226f8(0x2be),a55_0x3226f8(0x268),a55_0x3226f8(0x220),a55_0x3226f8(0x1d9)];const a55_0x510574={};a55_0x510574[a55_0x3226f8(0x25f)]=a55_0x3226f8(0x25f),a55_0x510574['browserStackLocalOptions']='browserStackLocalOptions',a55_0x510574['localOptions']='browserStackLocalOptions',a55_0x510574[a55_0x3226f8(0x20f)]=a55_0x3226f8(0x20f),a55_0x510574[a55_0x3226f8(0x1e4)]=a55_0x3226f8(0x1e4),a55_0x510574[a55_0x3226f8(0x1ef)]=a55_0x3226f8(0x1ef),a55_0x510574[a55_0x3226f8(0x1e5)]=a55_0x3226f8(0x1e5),a55_0x510574['httpsProxy']=a55_0x3226f8(0x23c),a55_0x510574['framework']=a55_0x3226f8(0x25b),a55_0x510574[a55_0x3226f8(0x2b2)]='testContextOptions',a55_0x510574['testObservability']=a55_0x3226f8(0x278),a55_0x510574[a55_0x3226f8(0x22f)]=a55_0x3226f8(0x22f),a55_0x510574[a55_0x3226f8(0x2b4)]=a55_0x3226f8(0x2b4),a55_0x510574[a55_0x3226f8(0x228)]=a55_0x3226f8(0x228),a55_0x510574[a55_0x3226f8(0x1e0)]='customVariables',a55_0x510574['automation']=a55_0x3226f8(0x27a),a55_0x510574[a55_0x3226f8(0x27a)]=a55_0x3226f8(0x27a),a55_0x510574[a55_0x3226f8(0x274)]=a55_0x3226f8(0x274),a55_0x510574[a55_0x3226f8(0x1f4)]='percy',a55_0x510574[a55_0x3226f8(0x2bb)]=a55_0x3226f8(0x2bb),a55_0x510574[a55_0x3226f8(0x29c)]=a55_0x3226f8(0x29c),a55_0x510574[a55_0x3226f8(0x1eb)]=a55_0x3226f8(0x1eb),a55_0x510574[a55_0x3226f8(0x211)]=a55_0x3226f8(0x211),a55_0x510574['accessibilityOptions']=a55_0x3226f8(0x291),a55_0x510574[a55_0x3226f8(0x253)]=a55_0x3226f8(0x253),a55_0x510574[a55_0x3226f8(0x207)]='turboScaleOptions',a55_0x510574[a55_0x3226f8(0x2ba)]=a55_0x3226f8(0x2ba),a55_0x510574[a55_0x3226f8(0x1dc)]=a55_0x3226f8(0x1dc);const a55_0x2c4d3d={};function a55_0x38ed(){const _0x30abf0=['14YSMzAh','FRAMEWORKS','customVariables','4|8|12|11|6|7|10|5|3|0|9|1|2','4131952yARMAf','BROWSERSTACK_API_URL','platforms','httpProxy','VERSION','OBSERVABILITY_SUPPORTED_FWS','O11Y_URL','.apk','Specify\x20--help\x20for\x20available\x20options','disableAutoCaptureLogs','Run\x20mocha\x20tests\x20on\x20browserstack','EDS_URL','ROOT_CAPS','logLevel','2522052yUVVDS','https://api.browserstack.com','https://app-automate.browserstack.com/dashboard/v2/builds/','ERR_TIMED_OUT','percy','ERR_NETWORK_CHANGED','BSTACK_URL','ERR_CONNECTION_FAILED','GIT_META_DATA_TRUNCATED','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','JEST','ERR_CONNECTION_TIMED_OUT','HELP','24868qskqLf','UPDATED_CLI_ENDPOINT','mocha','HEALING_LOG_DATA_TIMEOUT','A11Y_SAVE_RESULTS','MOCHA','POLL_HEALING_RESULT_TIMEOUT','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','BSTACK_DELTA','A11Y_GET_RESULTS_SUMMARY','turboScaleOptions','acceptSslCert','bsstag','Run\x20js\x20tests\x20on\x20browserstack','https://tcg.browserstack.com','toLowerCase','https://automate.browserstack.com/dashboard/v2/builds/','browserstack.overridelocalInfo.userAuthToken','parallelsPerPlatform','timeouts','accessibility','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','pageLoadStrategy','ERR_CONNECTION_ABORTED','SSL_ERROR_MESSAGES','https://automation.browserstack.com','commonjs','ERR_SOCKS_CONNECTION_FAILED','https://hub-preprod.bsstag.com/wd/hub','https://observability-devtestops.bsstag.com','https://edsstaging.bsstag.com','sdk/v1/update_cli','acceptInsecureCerts','/usage-debug.log','cucumber','localProxyUser','TCG_DOWN','AI_INIT_FAILURE','INFO','https://api-cloud-devtestops.bsstag.com','CUCUMBER','LOG_FILE_NAME','153NjhHpd','testReportingOptions','SELF_SIGNED_CERT_IN_CHAIN','3524336liTKlx','sdk/v1/event','https://tcg-preprod.bsstag.com','codeceptjs-cucumber','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','testReporting','PRIVATE_DOMAIN_OR_IP_REGEX','BROWSERSTACK_ENV','6gtlDol','proxyUrl','shows\x20version\x20information','OBSERVABILITY_UPLOAD_URL','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','browserName','jest','VANILLA','ERR_SOCKET_NOT_CONNECTED','SDKTestTcgtInitSuccessful','httpsProxy','https://hub.browserstack.com/wd/hub','unable\x20to\x20verify\x20the\x20first\x20certificate','3525705CDwbJL','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','CODECEPT_CUCUMBER','pre-prod','mandatoryDependency','ERR_BLOCKED_BY_CLIENT','observability','BROWSERSTACK_AUTOMATE_URL','CODECEPT','REDACTED_KEYS','ERR_NAME_RESOLUTION_FAILED','stag','SDKTestTcgAuthFailure','vanilla','PLAYWRIGHT','11410ynpuDw','prod','ERR_CONNECTION_CLOSED','...[TRUNCATED]','invalidKeys','turboScale','ROOT_REGEX','COMMONJS','HUB_URL_REGEX','preprod','APP_AUTOMATE','^[a-zA-Z0-9_.-]*$','APP_UPLOAD_URL','framework','AI_ENABLED_FRAMEWORK','ETXTBSY','HEALING_FAILURE_TIMEOUT','browserstackLocal','https://upload-observability-devtestops-ssi.bsstag.com','unhandledPromptBehavior','ATS_WSS_URL_REGEX','codeceptjs','VALID_APP_EXTENSION','SDKTestTcgProxyFailure','GLOBAL_AGENT_HTTP_PROXY','BROWSERSTACK_APP_AUTOMATE_URL','proxyPass','BINARY_BUSY_ERROR_CODES','https://eds.browserstack.com','TEST_FRAMEWORK_HOOK_TIMEOUT','edgeOptions','SDKTestInvalidTcgAuthResponseWithUserImpact','UNABLE_TO_VERIFY_LEAF_SIGNATURE','https://automate-preprod.bsstag.com/dashboard/v2/builds/','unable\x20to\x20get\x20local\x20issuer\x20certificate','NIGHTWATCH','INVALID_INIT_RESP_WITH_USER_IMPACT','.browserstack\x20folder\x20not\x20accessible','rerunTests','ERR_ADDRESS_UNREACHABLE','DEBUG_LOG_FILE_NAME','TCG_REGION','testObservability','SHAREABLE_ID_REGEX','browserstackAutomation','ERR_FAILED','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','CONNECTIVITY_ISSUE_ERROR_CODES','https://api-preprod.bsstag.com','Run\x20codeceptjs\x20tests\x20on\x20browserstack','bsstag.com','AUTOMATION_LOG_COMMANDS','Run\x20playwright\x20tests\x20on\x20Browserstack','invalidTestInputType','MAX_GIT_META_DATA_SIZE_IN_BYTES','.aab','acceptSslCerts','PLAYWRIGHT_TRACE_LOGS','INTEGRATIONS','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','Mocha','ERR_TLS_CERT_ALTNAME_INVALID','use','ieOptions','app-automate','TCG_URL','accessibilityOptions','ERR_CONNECTION_REFUSED','certificate\x20has\x20expired','SSL_ERROR_CODES','ERR_CONNECTION_RESET','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','browserVersion','proxyPassword','ERR_NAME_NOT_RESOLVED','GLOBAL_AGENT_NO_PROXY','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','percyCaptureMode','SDK_INSTRUMENTATION_CONFIG','TCG_AUTH_FAILURE','Upgrade\x20required','MODULE','BROWSERSTACK','3|0|5|6|2|8|12|10|9|11|1|4|7','Jest','AUTOLOGCAPTURE_NOTIFICATION','A11Y_GET_RESULTS','Playwright','FUNNEL_INSTRUMENTATION_API_URL','UPGRADE_REQUIRED','https://apidevtestops.bsstag.com','Run\x20jest\x20tests\x20on\x20browserstack','ERR_PROXY_CONNECTION_FAILED','split','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','CODECEPTJS','454175HxUhMF','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','module','testContextOptions','authToken','testObservabilityOptions','PERCY_SUPPORTED_FRAMEWORKS','CLIENT_TROUBLESHOOTING_HASH','/usage.log','AUTOMATE_PRODUCTS','exports','proxySettings','percyOptions','PLAYWRIGHT_CONFIG_OPTION_ERRORS','PLAYWRIGHT_HUB_URL','proxyUser','TCG_AUTH_TIMEOUT','CERT_HAS_EXPIRED','https://upload-observability.browserstack.com','https://hub-devtestops.bsstag.com/wd/hub','ObservabilitySync','hubUrl','staging','localProxyPass','./browserstack-artifacts/','env','testOrchestrationOptions','https://tcg.bsstag.com'];a55_0x38ed=function(){return _0x30abf0;};return a55_0x38ed();}a55_0x2c4d3d[a55_0x3226f8(0x273)]=['SDK-GEN-001','[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.'];const a55_0x47f327={};a55_0x47f327[a55_0x3226f8(0x1e6)]=a55_0x1f9a4e,a55_0x47f327[a55_0x3226f8(0x1fa)]=a55_0x5c30b6,a55_0x47f327[a55_0x3226f8(0x202)]=a55_0x3cfb9f,a55_0x47f327[a55_0x3226f8(0x225)]=a55_0x2fd904,a55_0x47f327[a55_0x3226f8(0x239)]=a55_0x192aec,a55_0x47f327[a55_0x3226f8(0x271)]=a55_0x234635,a55_0x47f327[a55_0x3226f8(0x24d)]=a55_0x326c45,a55_0x47f327[a55_0x3226f8(0x2ae)]=a55_0x486889,a55_0x47f327['HST']=a55_0xa2c971,a55_0x47f327[a55_0x3226f8(0x289)]=a55_0x269153,a55_0x47f327[a55_0x3226f8(0x205)]=0xf*0x3c*0x3e8,a55_0x47f327[a55_0x3226f8(0x1d7)]=a55_0x3226f8(0x23d),a55_0x47f327[a55_0x3226f8(0x290)]=a55_0x3226f8(0x20b),a55_0x47f327[a55_0x3226f8(0x277)]=a55_0x3226f8(0x28d),a55_0x47f327[a55_0x3226f8(0x256)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x47f327['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x47f327[a55_0x3226f8(0x262)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x47f327[a55_0x3226f8(0x1ee)]=[a55_0x3226f8(0x21d),a55_0x3226f8(0x213),'strictFileInteractability',a55_0x3226f8(0x261),a55_0x3226f8(0x210),a55_0x3226f8(0x237),a55_0x3226f8(0x297),a55_0x3226f8(0x287),a55_0x3226f8(0x208),'chromeOptions','firefoxOptions',a55_0x3226f8(0x26c),a55_0x3226f8(0x28e)],a55_0x47f327[a55_0x3226f8(0x254)]=/^[\w-]+:.*$/,a55_0x47f327[a55_0x3226f8(0x230)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x47f327[a55_0x3226f8(0x1ed)]=a55_0x3226f8(0x26a),a55_0x47f327[a55_0x3226f8(0x1e3)]=a55_0x3226f8(0x1f1),a55_0x47f327[a55_0x3226f8(0x25a)]='https://api-cloud.browserstack.com',a55_0x47f327[a55_0x3226f8(0x1fe)]=a55_0x3226f8(0x21c),a55_0x47f327[a55_0x3226f8(0x2a7)]=a55_0x3226f8(0x22b),a55_0x47f327[a55_0x3226f8(0x2b8)]=['automate',a55_0x3226f8(0x245)],a55_0x47f327['APP_AUTOMATE_PRODUCTS']=[a55_0x3226f8(0x28f),a55_0x3226f8(0x245)],a55_0x47f327[a55_0x3226f8(0x2b0)]=['observability'],a55_0x47f327[a55_0x3226f8(0x235)]=a55_0x3226f8(0x2c1),a55_0x47f327[a55_0x3226f8(0x1e7)]=[a55_0x3226f8(0x1ff),a55_0x3226f8(0x2a6)],a55_0x47f327['AUTOMATE']=['automate'],a55_0x47f327['BROWSERSTACK_AUTOMATE_URL']=a55_0x3226f8(0x20d),a55_0x47f327[a55_0x3226f8(0x267)]=a55_0x3226f8(0x1f2),a55_0x47f327[a55_0x3226f8(0x258)]=[a55_0x3226f8(0x28f)],a55_0x47f327['NUDGE_LOCAL_ERRORS']=[a55_0x3226f8(0x27b),a55_0x3226f8(0x1f3),a55_0x3226f8(0x244),a55_0x3226f8(0x1f5),a55_0x3226f8(0x23a),a55_0x3226f8(0x250),a55_0x3226f8(0x295),a55_0x3226f8(0x292),a55_0x3226f8(0x214),a55_0x3226f8(0x1f7),a55_0x3226f8(0x299),'ERR_ADDRESS_INVALID',a55_0x3226f8(0x275),'ERR_TUNNEL_CONNECTION_FAILED',a55_0x3226f8(0x1fb),a55_0x3226f8(0x218),a55_0x3226f8(0x28a),a55_0x3226f8(0x2ab),a55_0x3226f8(0x299),a55_0x3226f8(0x249),a55_0x3226f8(0x204)],a55_0x47f327[a55_0x3226f8(0x264)]=[a55_0x3226f8(0x1e9),a55_0x3226f8(0x286),'.ipa'],a55_0x47f327['CUSTOM_ID_REGEX']=a55_0x3226f8(0x259),a55_0x47f327[a55_0x3226f8(0x279)]=a55_0x3226f8(0x212),a55_0x47f327['CI_ARTIFACTS_PATH']=a55_0x3226f8(0x1da),a55_0x47f327[a55_0x3226f8(0x2bd)]='wss://cdp.browserstack.com/playwright?caps=',a55_0x47f327[a55_0x3226f8(0x1df)]=a55_0x52d51e,a55_0x47f327[a55_0x3226f8(0x2b5)]=[a55_0x3226f8(0x238),a55_0x3226f8(0x1ff)],a55_0x47f327[a55_0x3226f8(0x2bc)]=a55_0x160019,a55_0x47f327[a55_0x3226f8(0x2a4)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a55_0x47f327['PACKAGE_TYPE']=a55_0x546a5f,a55_0x47f327[a55_0x3226f8(0x285)]=0x40*0x400,a55_0x47f327[a55_0x3226f8(0x1f8)]=a55_0x3226f8(0x251),a55_0x47f327[a55_0x3226f8(0x2a8)]=a55_0x3226f8(0x29f),a55_0x47f327[a55_0x3226f8(0x221)]='SDKTestTcgDownResponse',a55_0x47f327[a55_0x3226f8(0x272)]=a55_0x3226f8(0x26d),a55_0x47f327[a55_0x3226f8(0x29e)]=a55_0x3226f8(0x24b),a55_0x47f327['AI_INIT_SUCCESSFUL']=a55_0x3226f8(0x23b),a55_0x47f327[a55_0x3226f8(0x222)]='SDKTestInitFailedResponse',a55_0x47f327['AI_PROXY_FAILURE']=a55_0x3226f8(0x265),a55_0x47f327[a55_0x3226f8(0x2bf)]=0x1388,a55_0x47f327['SET_TCG_TOKEN_TIMEOUT']=0x1388,a55_0x47f327[a55_0x3226f8(0x200)]=0x1388,a55_0x47f327[a55_0x3226f8(0x25e)]=0x1388,a55_0x47f327[a55_0x3226f8(0x203)]=0xc350,a55_0x47f327[a55_0x3226f8(0x26b)]=a55_0x8fce3,a55_0x47f327[a55_0x3226f8(0x248)]=a55_0x11ad86,a55_0x47f327[a55_0x3226f8(0x25c)]=[a55_0x3226f8(0x24c),'codeceptjs'],a55_0x47f327[a55_0x3226f8(0x29d)]=a55_0x510574,a55_0x47f327[a55_0x3226f8(0x226)]=a55_0x3226f8(0x2b7),a55_0x47f327[a55_0x3226f8(0x276)]=a55_0x3226f8(0x21e),a55_0x47f327['BSTACK_URL']='browserstack.com',a55_0x47f327['BSTACK_ATS_URL']='browserstack-ats.com',a55_0x47f327[a55_0x3226f8(0x1e8)]=a55_0x3226f8(0x216),a55_0x47f327['TEST_REPORTING_ANALYTICS']='TEST\x20REPORTING\x20AND\x20ANALYTICS',a55_0x47f327[a55_0x3226f8(0x2a1)]='browserstack',a55_0x47f327['CLI_SUPPORTED_FRAMEWORKS']=['playwright',a55_0x3226f8(0x21f),'jest'],a55_0x47f327[a55_0x3226f8(0x282)]=['A11Y_SCAN',a55_0x3226f8(0x206),a55_0x3226f8(0x2a5),a55_0x3226f8(0x201),'percyScreenshot',a55_0x3226f8(0x2c3)],a55_0x47f327[a55_0x3226f8(0x288)]=a55_0x3226f8(0x288),a55_0x47f327[a55_0x3226f8(0x215)]=['self\x20signed\x20certificate',a55_0x3226f8(0x23e),a55_0x3226f8(0x293),a55_0x3226f8(0x270),a55_0x3226f8(0x28c),'DEPTH_ZERO_SELF_SIGNED_CERT'],a55_0x47f327[a55_0x3226f8(0x294)]=[a55_0x3226f8(0x229),'DEPTH_ZERO_SELF_SIGNED_CERT',a55_0x3226f8(0x26e),a55_0x3226f8(0x2c0),a55_0x3226f8(0x28c),a55_0x3226f8(0x22e)],a55_0x47f327[a55_0x3226f8(0x27e)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x47f327[a55_0x3226f8(0x2b6)]=a55_0x2c4d3d,a55_0x47f327['INTERNALLY_USED_ENV_VARS']=[a55_0x3226f8(0x266),a55_0x3226f8(0x29a),'USER_CONFIG_DETAILS_PATH'],a55_0x47f327[a55_0x3226f8(0x269)]=[a55_0x3226f8(0x25d),'EBUSY'],module[a55_0x3226f8(0x2b9)]=a55_0x47f327;const _env=(process[a55_0x3226f8(0x1db)][a55_0x3226f8(0x231)]||a55_0x3226f8(0x24f))[a55_0x3226f8(0x20c)]();if(_env===a55_0x3226f8(0x1d8)||_env===a55_0x3226f8(0x24a)){const utJbsv=a55_0x3226f8(0x2a2)[a55_0x3226f8(0x2ac)]('|');let nlcJin=0x0;while(!![]){switch(utJbsv[nlcJin++]){case'0':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1e3)]=a55_0x3226f8(0x2a9);continue;case'1':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x235)]=a55_0x3226f8(0x260);continue;case'2':module[a55_0x3226f8(0x2b9)]['BROWSERSTACK_AUTOMATE_URL']=a55_0x3226f8(0x1f9);continue;case'3':module['exports']['hubUrl']=a55_0x3226f8(0x2c2);continue;case'4':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1ed)]=a55_0x3226f8(0x21b);continue;case'5':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x290)]=a55_0x3226f8(0x1dd);continue;case'6':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x256)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'7':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x2a1)]=a55_0x3226f8(0x209);continue;case'8':module[a55_0x3226f8(0x2b9)]['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x3226f8(0x29b);continue;case'9':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1f6)]='bsstag.com';continue;case'10':module[a55_0x3226f8(0x2b9)]['PLAYWRIGHT_HUB_URL']='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'11':module[a55_0x3226f8(0x2b9)]['O11Y_URL']=a55_0x3226f8(0x21a);continue;case'12':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x25a)]=a55_0x3226f8(0x224);continue;}break;}}else{if(_env===a55_0x3226f8(0x257)||_env===a55_0x3226f8(0x242)){const ekFMRk=a55_0x3226f8(0x1e1)[a55_0x3226f8(0x2ac)]('|');let DfdfYN=0x0;while(!![]){switch(ekFMRk[DfdfYN++]){case'0':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1e8)]='https://automation-preprod.bsstag.com';continue;case'1':module['exports']['EDS_URL']=a55_0x3226f8(0x21b);continue;case'2':module['exports'][a55_0x3226f8(0x2a1)]='bsstag';continue;case'3':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1f6)]=a55_0x3226f8(0x281);continue;case'4':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x1d7)]=a55_0x3226f8(0x219);continue;case'5':module[a55_0x3226f8(0x2b9)]['PLAYWRIGHT_HUB_URL']='wss://cdp-preprod.bsstag.com/playwright?caps=';continue;case'6':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x246)]=a55_0x3226f8(0x26f);continue;case'7':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x267)]=a55_0x3226f8(0x240);continue;case'8':module[a55_0x3226f8(0x2b9)]['BROWSERSTACK_API_URL']=a55_0x3226f8(0x27f);continue;case'9':module['exports']['OBSERVABILITY_UPLOAD_URL']='https://upload-observability-preprod.bsstag.com';continue;case'10':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x25a)]=a55_0x3226f8(0x27f);continue;case'11':module['exports'][a55_0x3226f8(0x256)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a55_0x3226f8(0x2b9)][a55_0x3226f8(0x290)]=a55_0x3226f8(0x22c);continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a56_0x2206(_0x564835,_0xb515e){const _0x14f437=a56_0x14f4();return a56_0x2206=function(_0x220678,_0x159a1c){_0x220678=_0x220678-0x1af;let _0x2386a1=_0x14f437[_0x220678];return _0x2386a1;},a56_0x2206(_0x564835,_0xb515e);}const a56_0x27c61c=a56_0x2206;(function(_0x599261,_0xe93b78){const _0x672fe=a56_0x2206,_0x52b0e7=_0x599261();while(!![]){try{const _0x3999ed=-parseInt(_0x672fe(0x1b5))/0x1+-parseInt(_0x672fe(0x1b1))/0x2*(-parseInt(_0x672fe(0x1b4))/0x3)+parseInt(_0x672fe(0x1b3))/0x4+-parseInt(_0x672fe(0x1bf))/0x5+parseInt(_0x672fe(0x1b6))/0x6+-parseInt(_0x672fe(0x1bc))/0x7+-parseInt(_0x672fe(0x1af))/0x8*(-parseInt(_0x672fe(0x1b2))/0x9);if(_0x3999ed===_0xe93b78)break;else _0x52b0e7['push'](_0x52b0e7['shift']());}catch(_0x345884){_0x52b0e7['push'](_0x52b0e7['shift']());}}}(a56_0x14f4,0x5ae40));const logReportingAPI=require(a56_0x27c61c(0x1b9)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0xd6718d,_0x5f1ef5){return _0x52e1a5=>{const _0x282cc7=a56_0x2206;BSTestOpsLogger[_0x282cc7(0x1ba)]({'level':_0x52e1a5[_0x282cc7(0x1b7)]?_0x52e1a5[_0x282cc7(0x1b7)][_0x282cc7(0x1b0)]:null,'message':_0x52e1a5[_0x282cc7(0x1be)]?_0x52e1a5[_0x282cc7(0x1be)][_0x282cc7(0x1b8)]('\x20'):null});};}exports[a56_0x27c61c(0x1bb)]=(_0x1e2361,_0x58b230)=>{const _0x38fa5a=a56_0x27c61c,_0x4c6e1c={'smmpR':function(_0x4fb97b,_0x540851,_0x11d9e6){return _0x4fb97b(_0x540851,_0x11d9e6);}};let _0x13061f=_0x58b230['colouredLayout'];return _0x1e2361[_0x38fa5a(0x1c0)]&&(_0x13061f=_0x58b230[_0x38fa5a(0x1c0)](_0x1e2361[_0x38fa5a(0x1c0)]['type'],_0x1e2361['layout'])),_0x4c6e1c[_0x38fa5a(0x1bd)](BSTestOpsLog4JSAppender,_0x13061f,_0x1e2361['timezoneOffset']);};function a56_0x14f4(){const _0x4f9cc6=['6eWSkMq','484008fnNTwD','4210062fMfGeF','level','join','./logReportingAPI','log','configure','4122846YXQuQj','smmpR','data','2563555vdInsw','layout','180888KeXBTI','levelStr','515390BwAUgG','117PiagNC','1787900jNDoUv'];a56_0x14f4=function(){return _0x4f9cc6;};return a56_0x14f4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a57_0x9603(){const _0x6f3198=['toLowerCase','emit','ERROR','warn','TRACE','winston-transport','5384285CNzkvw','trace','8206092BnMdNX','exports','toISOString','3544EjzwnM','WARN','9156uHnGTe','debug','../../helpers/test-observability/constants','2735376PvBKcC','toUpperCase','6836850SFrdSw','8324TRxCDK','INFO','logToTestOps','726LGcFxk','pid','TEST_LOG','701mcbwSi','tkPNV','info','error','520rqHXtz','DEBUG'];a57_0x9603=function(){return _0x6f3198;};return a57_0x9603();}function a57_0x581f(_0xe146f8,_0x5499da){const _0x96036f=a57_0x9603();return a57_0x581f=function(_0x581f53,_0x456278){_0x581f53=_0x581f53-0x1a9;let _0x3b911c=_0x96036f[_0x581f53];return _0x3b911c;},a57_0x581f(_0xe146f8,_0x5499da);}const a57_0x4bfb96=a57_0x581f;(function(_0x198e1f,_0x276836){const _0x129e77=a57_0x581f,_0x3826ff=_0x198e1f();while(!![]){try{const _0x56f2fd=parseInt(_0x129e77(0x1b5))/0x1*(parseInt(_0x129e77(0x1b9))/0x2)+parseInt(_0x129e77(0x1b2))/0x3*(-parseInt(_0x129e77(0x1af))/0x4)+parseInt(_0x129e77(0x1c1))/0x5+-parseInt(_0x129e77(0x1ac))/0x6+-parseInt(_0x129e77(0x1a9))/0x7*(-parseInt(_0x129e77(0x1c6))/0x8)+-parseInt(_0x129e77(0x1c3))/0x9+parseInt(_0x129e77(0x1ae))/0xa;if(_0x56f2fd===_0x276836)break;else _0x3826ff['push'](_0x3826ff['shift']());}catch(_0x5eef93){_0x3826ff['push'](_0x3826ff['shift']());}}}(a57_0x9603,0x9eed0));const Transport=require(a57_0x4bfb96(0x1c0)),{consoleHolder}=require(a57_0x4bfb96(0x1ab)),a57_0xc0ce52={};a57_0xc0ce52[a57_0x4bfb96(0x1b0)]=a57_0x4bfb96(0x1b0),a57_0xc0ce52['ERROR']=a57_0x4bfb96(0x1bd),a57_0xc0ce52['DEBUG']=a57_0x4bfb96(0x1ba),a57_0xc0ce52[a57_0x4bfb96(0x1bf)]=a57_0x4bfb96(0x1bf),a57_0xc0ce52[a57_0x4bfb96(0x1c7)]=a57_0x4bfb96(0x1c7);const LOG_LEVELS=a57_0xc0ce52;class logPatcher extends Transport{constructor(_0x29b898){super(_0x29b898);}[a57_0x4bfb96(0x1b1)]=(_0x424fd5=LOG_LEVELS['INFO'],_0x292682=[''])=>{const _0x1e7a14=a57_0x4bfb96,_0x6491fd={};_0x6491fd[_0x1e7a14(0x1b6)]=_0x1e7a14(0x1b4);const _0x16d5b2=_0x6491fd;consoleHolder[_0x424fd5[_0x1e7a14(0x1bb)]()](..._0x292682),process[_0x1e7a14(0x1bc)]('bs:addLog:'+process[_0x1e7a14(0x1b3)],{'timestamp':new Date()[_0x1e7a14(0x1c5)](),'level':_0x424fd5[_0x1e7a14(0x1ad)](),'message':'\x22'+_0x292682['join'](',\x20')+'\x22','kind':_0x16d5b2['tkPNV'],'http_response':{}});};[a57_0x4bfb96(0x1c2)]=(..._0x29872e)=>{const _0x160889=a57_0x4bfb96;this[_0x160889(0x1b1)](LOG_LEVELS[_0x160889(0x1bf)],_0x29872e);};[a57_0x4bfb96(0x1aa)]=(..._0x2d1f26)=>{const _0x32d7f9=a57_0x4bfb96;this[_0x32d7f9(0x1b1)](LOG_LEVELS[_0x32d7f9(0x1ba)],_0x2d1f26);};[a57_0x4bfb96(0x1b7)]=(..._0x40bf7b)=>{const _0x1f14a1=a57_0x4bfb96;this['logToTestOps'](LOG_LEVELS[_0x1f14a1(0x1b0)],_0x40bf7b);};[a57_0x4bfb96(0x1be)]=(..._0x4b28eb)=>{const _0x142424=a57_0x4bfb96;this[_0x142424(0x1b1)](LOG_LEVELS[_0x142424(0x1c7)],_0x4b28eb);};[a57_0x4bfb96(0x1b8)]=(..._0x1f597d)=>{const _0x38a21f=a57_0x4bfb96;this['logToTestOps'](LOG_LEVELS[_0x38a21f(0x1bd)],_0x1f597d);};['log']=(..._0x2f0c03)=>{const _0x5edd64=a57_0x4bfb96;this[_0x5edd64(0x1b1)](LOG_LEVELS['INFO'],_0x2f0c03);};};module[a57_0x4bfb96(0x1c4)]=logPatcher;
|