browserstack-node-sdk 1.50.10 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +12 -0
- package/generated/sdk-messages_pb.js +97 -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/puppeteer/patches.js +1 -0
- package/src/bin/puppeteer/sessionDetails.js +1 -0
- package/src/bin/puppeteer/test.setup.js +1 -0
- 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/puppeteer-patcher.js +1 -0
- 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/puppeteerAutomationFramework.js +1 -0
- 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/puppeteerDriverModule.js +1 -0
- 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/puppeteer-helper.js +1 -0
- 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_0x1c5961=a48_0x2a6d;(function(_0x1f7022,_0x53aca5){const _0x46332c=a48_0x2a6d,_0x39d190=_0x1f7022();while(!![]){try{const _0x183ac4=-parseInt(_0x46332c(0x1a6))/0x1*(parseInt(_0x46332c(0x1fb))/0x2)+parseInt(_0x46332c(0x1c2))/0x3*(parseInt(_0x46332c(0x1eb))/0x4)+-parseInt(_0x46332c(0x205))/0x5+parseInt(_0x46332c(0x17d))/0x6+parseInt(_0x46332c(0x1e5))/0x7*(parseInt(_0x46332c(0x193))/0x8)+parseInt(_0x46332c(0x179))/0x9+-parseInt(_0x46332c(0x1e3))/0xa;if(_0x183ac4===_0x53aca5)break;else _0x39d190['push'](_0x39d190['shift']());}catch(_0x1770f1){_0x39d190['push'](_0x39d190['shift']());}}}(a48_0xa1c0,0x90cf6));function a48_0xa1c0(){const _0x3def5f=['7986810BSTuoS','isUndefined','7uAtJEh','debug','ScqfC','ioKEG','../helpers/performance/performance-tester','EVENTS','4ekSkjJ','usage:\x20$0\x20<command>\x20[args]','exitCode','argv','framework','slice','--package','.browserstack','BJMKo','./codeceptjs/command','strict','OlqDn','load\x20[subcommand]','config','HELP','error','689916DvVKNL','./vanilla-js/command','SDK_SETUP','Parsing\x20command\x20line\x20arguments','--no-config','../helpers/logger','SmpPa','MOCHA','assign','WiHku','869000nAhpNp','../helpers/utilities','./load/index','duEFd','stop','DchDn','playwright','8242263eLOnMq','twAzJ','./jest/command','./integrations/command','368862gpIhtc','Jxddp','dot-notation','wrap','zZkwD','NscgO','handler','yIrHE','../helpers/helper','krSuv','SzZFw','../../ats/src/index','--no-opts','VERSION','node','parserConfiguration','OUTqa','.local-not-set.json','format','setBrowserStackAutomationDisable','BROWSERSTACK_CONFIG_FILE_PATH','join','605552jgyFvR','ssuri','./cucumber-js/command','../helpers/test-observability/constants','--no-package','cPgNi','info','includes','help','SDK_CLEANUP','./v2/browserstackCLI','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','run','integrations','INFO','winstonLogger','boolean','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','AHrSa','1PBOzRM','VANILLA','acmej','describe','homedir','INTEGRATIONS','JJLtc','tzncA','--config','jPtwd','NbkZf','exitProcess','mocha/lib/cli/run.js','../helpers/BrowserStackSetup','cucumber-js','start','igXmg','push','path','showHelpOnFail','TmnBb','command','getConfigPath','Yutew','VChGa','find','yargs','DRnrM','2572809XHUjYG','../helpers/performance/constants','BAGgG','setTestObservabilityDisable','codeceptjs','child_process','HST','usage','existsSync','getInstance','version','mocha/lib/cli/commands.js','NIGHTWATCH','zytlo','./nightwatch/command','spawn','GQQek','util','end','ddrGp','sendLogs','demandCommand','jest','Runs\x20the\x20binary\x20with\x20load\x20command','neiLX','stack','PsdAy','findAndReplace','syObW','PLAYWRIGHT','Qluiu','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha'];a48_0xa1c0=function(){return _0x3def5f;};return a48_0xa1c0();}const fs=require('fs'),path=require(a48_0x1c5961(0x1b8)),util=require(a48_0x1c5961(0x1d3)),spawn=require(a48_0x1c5961(0x1c7))[a48_0x1c5961(0x1d1)],{requireModule}=require(a48_0x1c5961(0x185)),PerformanceTester=require(a48_0x1c5961(0x1e9)),PerformanceEvents=require(a48_0x1c5961(0x1c3))[a48_0x1c5961(0x1ea)],helper=require(a48_0x1c5961(0x185)),utilities=require(a48_0x1c5961(0x206)),{default:BrowserStackSetup}=require(a48_0x1c5961(0x1b3)),{FRAMEWORKS}=require(a48_0x1c5961(0x196)),runIntegrations=require(a48_0x1c5961(0x17c)),yargs=require(a48_0x1c5961(0x1c0)),Constants=require('./utils/constants'),BrowserstackCLI=require(a48_0x1c5961(0x19d)),logger=require(a48_0x1c5961(0x200))[a48_0x1c5961(0x1a2)],origArgs=Object[a48_0x1c5961(0x203)]([],process[a48_0x1c5961(0x1ee)]),captureError=async(_0xb076ab,_0x216d01,_0xaa080,_0x4c00b1=null)=>{const _0x3589a9=a48_0x1c5961,_0x4cbffd={'pTgRj':function(_0x12857c,_0xc4e6a,_0x55c274,_0x14a54b){return _0x12857c(_0xc4e6a,_0x55c274,_0x14a54b);},'xWUlz':'SDKTestSuccessful'};try{logger[_0x3589a9(0x199)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x3589a9(0x192)]('\x20')),await _0x4cbffd['pTgRj'](_0xb076ab,_0x216d01,_0x4c00b1,_0xaa080);}catch(_0x2a872f){process[_0x3589a9(0x1ed)]=0x1,logger['error'](util[_0x3589a9(0x18f)](_0x2a872f));const _0x4d7985={'globalException':util[_0x3589a9(0x18f)]('%j',_0x2a872f)};PerformanceTester[_0x3589a9(0x1d4)](PerformanceEvents[_0x3589a9(0x1fd)],![],util['format'](_0x2a872f));if(helper[_0x3589a9(0x1e4)](global['config'])&&helper[_0x3589a9(0x1e4)](global['framework']))return;try{utilities['fireFunnelTestEvent'](_0x4cbffd['xWUlz'],_0x4d7985,global[_0x3589a9(0x1f8)],global[_0x3589a9(0x1ef)]);}catch(_0x13a582){logger[_0x3589a9(0x1e6)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x13a582[_0x3589a9(0x1db)]);}try{await helper[_0x3589a9(0x1d6)](global[_0x3589a9(0x1f8)]);}catch(_0x1b878){logger[_0x3589a9(0x1e6)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x1b878[_0x3589a9(0x1db)]);}await BrowserstackCLI[_0x3589a9(0x1cb)]()[_0x3589a9(0x209)](),PerformanceTester[_0x3589a9(0x1d4)](PerformanceEvents[_0x3589a9(0x1fd)],![],util[_0x3589a9(0x18f)](_0x2a872f));}finally{PerformanceTester[_0x3589a9(0x1b5)](PerformanceEvents[_0x3589a9(0x19c)]);}};try{const browserstackFolderPath=path[a48_0x1c5961(0x192)](helper[a48_0x1c5961(0x1aa)](),a48_0x1c5961(0x1f2));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a48_0x1c5961(0x192)](browserstackFolderPath,a48_0x1c5961(0x18e));fs[a48_0x1c5961(0x1ca)](filePath)&&fs['unlinkSync'](filePath);}}catch(a48_0x4e1fc4){logger[a48_0x1c5961(0x1e6)](a48_0x1c5961(0x1e1)+a48_0x4e1fc4['message']);}process['argv'][a48_0x1c5961(0x19a)](a48_0x1c5961(0x1e2))&&(!process['argv'][a48_0x1c5961(0x19a)]('--opts')&&process[a48_0x1c5961(0x1ee)]['push'](a48_0x1c5961(0x189)),!process['argv'][a48_0x1c5961(0x1bf)](_0x41b1df=>_0x41b1df[a48_0x1c5961(0x19a)](a48_0x1c5961(0x1ae)))&&process[a48_0x1c5961(0x1ee)][a48_0x1c5961(0x1b7)](a48_0x1c5961(0x1ff)),!process[a48_0x1c5961(0x1ee)][a48_0x1c5961(0x19a)](a48_0x1c5961(0x1f1))&&process[a48_0x1c5961(0x1ee)][a48_0x1c5961(0x1b7)](a48_0x1c5961(0x197)),helper[a48_0x1c5961(0x1dd)](process[a48_0x1c5961(0x1ee)],'--require','--mochaRequire'));PerformanceTester[a48_0x1c5961(0x1b5)](PerformanceEvents[a48_0x1c5961(0x1fd)]);function a48_0x2a6d(_0x1e914f,_0x103009){const _0xa1c013=a48_0xa1c0();return a48_0x2a6d=function(_0x2a6d5e,_0x4dab21){_0x2a6d5e=_0x2a6d5e-0x178;let _0x132ed6=_0xa1c013[_0x2a6d5e];return _0x132ed6;},a48_0x2a6d(_0x1e914f,_0x103009);}const a48_0xf942c0={};a48_0xf942c0[a48_0x1c5961(0x17f)]=![];const argv=yargs[a48_0x1c5961(0x18c)](a48_0xf942c0)[a48_0x1c5961(0x1c9)](a48_0x1c5961(0x1ec))['alias']('v',a48_0x1c5961(0x1cc))[a48_0x1c5961(0x1a9)]('v')['alias']('h',a48_0x1c5961(0x19b))[a48_0x1c5961(0x19b)](a48_0x1c5961(0x19b))[a48_0x1c5961(0x1b9)](!![],Constants[a48_0x1c5961(0x18a)][a48_0x1c5961(0x1f9)])[a48_0x1c5961(0x1bb)](a48_0x1c5961(0x1d8),Constants['JEST'][a48_0x1c5961(0x1a1)],function(_0x6048da){const _0x115237=a48_0x1c5961,_0x4981b7={'twAzJ':_0x115237(0x1d8),'neiLX':function(_0x5eccf9,_0x493baf,_0x3f934c,_0x3b0b94,_0x424c01){return _0x5eccf9(_0x493baf,_0x3f934c,_0x3b0b94,_0x424c01);},'ddrGp':function(_0x512e12,_0x595bdc){return _0x512e12(_0x595bdc);},'ScqfC':_0x115237(0x17b)},_0xf29abe=process[_0x115237(0x1ee)][_0x115237(0x1f0)](0x2);helper[_0x115237(0x1c5)](),helper[_0x115237(0x190)](),_0x6048da[_0x115237(0x1f5)](![]);const _0x1ea379=new BrowserStackSetup(_0x6048da[_0x115237(0x1ee)],_0x4981b7[_0x115237(0x17a)]);return _0x4981b7[_0x115237(0x1da)](captureError,_0x4981b7[_0x115237(0x1d5)](require,_0x4981b7[_0x115237(0x1e7)]),_0x6048da[_0x115237(0x1ee)],_0x1ea379,_0xf29abe);})[a48_0x1c5961(0x1bb)](a48_0x1c5961(0x1e2),Constants[a48_0x1c5961(0x202)][a48_0x1c5961(0x1a1)],_0x135c27=>{const _0x58a56f=a48_0x1c5961,_0x4fcfbf={'zZkwD':function(_0x3c7ca7,_0xd82989,_0x2a1659,_0x8477d2){return _0x3c7ca7(_0xd82989,_0x2a1659,_0x8477d2);},'cWJzj':function(_0x3b82c4,_0x253c7b){return _0x3b82c4(_0x253c7b);},'tzncA':'./mocha/command','igXmg':'mocha','NscgO':_0x58a56f(0x1fe),'OUTqa':function(_0x355011,_0x306909,_0x89676a){return _0x355011(_0x306909,_0x89676a);},'Jxddp':_0x58a56f(0x1b2),'WiHku':_0x58a56f(0x1cd),'Yutew':function(_0x49ba50,_0x132e45,_0x3ab7b1){return _0x49ba50(_0x132e45,_0x3ab7b1);},'DchDn':'mocha/lib/cli/cli.js','ssuri':function(_0x2e21d3){return _0x2e21d3();}};process[_0x58a56f(0x1ee)]=process[_0x58a56f(0x1ee)][_0x58a56f(0x1f0)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x143bad=new BrowserStackSetup(_0x135c27[_0x58a56f(0x1ee)],_0x4fcfbf['igXmg']);logger[_0x58a56f(0x1e6)](_0x4fcfbf[_0x58a56f(0x182)]);const _0x5163d4=_0x4fcfbf[_0x58a56f(0x18d)](requireModule,_0x4fcfbf[_0x58a56f(0x17e)],_0x4fcfbf[_0x58a56f(0x1b6)]),_0x58b2de=_0x4fcfbf[_0x58a56f(0x18d)](requireModule,_0x4fcfbf[_0x58a56f(0x204)],_0x4fcfbf[_0x58a56f(0x1b6)]);delete _0x5163d4[_0x58a56f(0x183)],_0x5163d4[_0x58a56f(0x183)]=function(_0x56d4dd){const _0x3dcb91=_0x58a56f;return _0x4fcfbf[_0x3dcb91(0x181)](captureError,_0x4fcfbf['cWJzj'](require,_0x4fcfbf[_0x3dcb91(0x1ad)]),_0x56d4dd,_0x143bad);},_0x58b2de[_0x58a56f(0x19f)]=_0x5163d4;const {main:_0xcc8325}=_0x4fcfbf[_0x58a56f(0x1bd)](requireModule,_0x4fcfbf[_0x58a56f(0x20a)],_0x4fcfbf['igXmg']);_0x4fcfbf[_0x58a56f(0x194)](_0xcc8325);})['command']('cucumber-js',Constants['CUCUMBER'][a48_0x1c5961(0x1a1)],function(_0x119e3c){const _0x1870a7=a48_0x1c5961,_0x324c7b={'vxJPe':_0x1870a7(0x1b4),'TmnBb':function(_0x21bd5f,_0x4120ab,_0x582a9d,_0x361e0d,_0x234e63){return _0x21bd5f(_0x4120ab,_0x582a9d,_0x361e0d,_0x234e63);},'VChGa':function(_0x1d9a70,_0x189f72){return _0x1d9a70(_0x189f72);},'yIrHE':_0x1870a7(0x195)},_0x3afa0d=process[_0x1870a7(0x1ee)][_0x1870a7(0x1f0)](0x2),_0x1c8f4c=new BrowserStackSetup(_0x119e3c['argv'],_0x324c7b['vxJPe']);return _0x324c7b[_0x1870a7(0x1ba)](captureError,_0x324c7b[_0x1870a7(0x1be)](require,_0x324c7b[_0x1870a7(0x184)]),_0x119e3c[_0x1870a7(0x1ee)],_0x1c8f4c,_0x3afa0d);})[a48_0x1c5961(0x1bb)](a48_0x1c5961(0x18b),Constants[a48_0x1c5961(0x1a7)][a48_0x1c5961(0x1a1)],function(_0x4c1123){const _0x516308=a48_0x1c5961,_0x3a0d11={'BAGgG':'vanilla','PsdAy':function(_0x5572da,_0x5d217b,_0x2cddb4,_0x54e4b1,_0x328a75){return _0x5572da(_0x5d217b,_0x2cddb4,_0x54e4b1,_0x328a75);},'hymtU':function(_0x3e871d,_0x4ef02c){return _0x3e871d(_0x4ef02c);},'AHrSa':_0x516308(0x1fc)},_0x3ab4af=process[_0x516308(0x1ee)][_0x516308(0x1f0)](0x2),_0x2910e5=new BrowserStackSetup(_0x4c1123[_0x516308(0x1ee)],_0x3a0d11[_0x516308(0x1c4)]);return _0x3a0d11[_0x516308(0x1dc)](captureError,_0x3a0d11['hymtU'](require,_0x3a0d11[_0x516308(0x1a5)]),_0x4c1123[_0x516308(0x1ee)],_0x2910e5,_0x3ab4af);})[a48_0x1c5961(0x1bb)]('nightwatch',Constants[a48_0x1c5961(0x1ce)][a48_0x1c5961(0x1a1)],function(_0x39b3bd){const _0x49fabb=a48_0x1c5961,_0x42bbf8={'acmej':function(_0xca7944,_0x326b55,_0x31f708,_0x51c1c3,_0x1f3918){return _0xca7944(_0x326b55,_0x31f708,_0x51c1c3,_0x1f3918);},'krSuv':function(_0x19c7ea,_0x382f26){return _0x19c7ea(_0x382f26);},'jPtwd':_0x49fabb(0x1d0)},_0x148080=process[_0x49fabb(0x1ee)][_0x49fabb(0x1f0)](0x2),_0x43ee82=new BrowserStackSetup(_0x39b3bd[_0x49fabb(0x1ee)]);return _0x42bbf8[_0x49fabb(0x1a8)](captureError,_0x42bbf8[_0x49fabb(0x186)](require,_0x42bbf8[_0x49fabb(0x1af)]),_0x39b3bd[_0x49fabb(0x1ee)],_0x43ee82,_0x148080);})[a48_0x1c5961(0x1bb)](a48_0x1c5961(0x1c6),Constants['CODECEPTJS']['INFO'],function(_0x2845a1){const _0x1e9e1e=a48_0x1c5961,_0x302f69={'zytlo':_0x1e9e1e(0x1c6),'cPgNi':function(_0x48bb9d,_0x330cc2,_0x3ee7e3,_0x3e8a6f,_0x196fac){return _0x48bb9d(_0x330cc2,_0x3ee7e3,_0x3e8a6f,_0x196fac);},'BJMKo':function(_0xc75ba4,_0x4d5b85){return _0xc75ba4(_0x4d5b85);},'syObW':_0x1e9e1e(0x1f4)},_0x5c6b63=process['argv'][_0x1e9e1e(0x1f0)](0x2),_0x626712=new BrowserStackSetup(_0x2845a1[_0x1e9e1e(0x1ee)],_0x302f69[_0x1e9e1e(0x1cf)]);return _0x302f69[_0x1e9e1e(0x198)](captureError,_0x302f69[_0x1e9e1e(0x1f3)](require,_0x302f69[_0x1e9e1e(0x1de)]),_0x2845a1[_0x1e9e1e(0x1ee)],_0x626712,_0x5c6b63);})[a48_0x1c5961(0x1bb)]('ats',Constants[a48_0x1c5961(0x1c8)][a48_0x1c5961(0x1a1)],function(_0x887583){const _0x1b084d=a48_0x1c5961,_0x551318={'SzZFw':function(_0x58c5ff,_0x5f5249,_0x2d64d8){return _0x58c5ff(_0x5f5249,_0x2d64d8);},'JJLtc':function(_0x23d6ca,_0xd9bb2){return _0x23d6ca(_0xd9bb2);},'DRnrM':_0x1b084d(0x188)},_0x1eac00=process[_0x1b084d(0x1ee)][_0x1b084d(0x1f0)](0x2);return _0x551318[_0x1b084d(0x187)](captureError,_0x551318[_0x1b084d(0x1ac)](require,_0x551318[_0x1b084d(0x1c1)]),_0x887583);})[a48_0x1c5961(0x1bb)](a48_0x1c5961(0x1a0),Constants[a48_0x1c5961(0x1ab)][a48_0x1c5961(0x1a1)],function(_0x115b98){const _0x29350f=a48_0x1c5961,_0x4666f4={'SmpPa':function(_0x18272c,_0x5469ea){return _0x18272c(_0x5469ea);}};return _0x4666f4[_0x29350f(0x201)](runIntegrations,_0x115b98);})[a48_0x1c5961(0x1bb)](a48_0x1c5961(0x178),Constants['PLAYWRIGHT'][a48_0x1c5961(0x1a1)],function(_0x93f3c1){const _0x1fd61d=a48_0x1c5961,_0xb73e34={'GQQek':function(_0x5d38e0,_0x4e0c25,_0x12c63d,_0x48858a,_0x5a7c62){return _0x5d38e0(_0x4e0c25,_0x12c63d,_0x48858a,_0x5a7c62);},'UrSkE':function(_0x21a1d0,_0x8edc66){return _0x21a1d0(_0x8edc66);},'ioKEG':'./playwright/command'},_0x2a6878=process['argv']['slice'](0x2);helper['getConfigPath'](process[_0x1fd61d(0x1ee)])&&(process['env'][_0x1fd61d(0x191)]=helper[_0x1fd61d(0x1bc)](process[_0x1fd61d(0x1ee)]));helper[_0x1fd61d(0x1c5)](),helper['setBrowserStackAutomationDisable']();const _0x1ec394=new BrowserStackSetup(_0x93f3c1[_0x1fd61d(0x1ee)],FRAMEWORKS[_0x1fd61d(0x1df)]);return _0xb73e34[_0x1fd61d(0x1d2)](captureError,_0xb73e34['UrSkE'](require,_0xb73e34[_0x1fd61d(0x1e8)]),_0x93f3c1['argv'],_0x1ec394,_0x2a6878);})[a48_0x1c5961(0x1bb)](a48_0x1c5961(0x1f7),a48_0x1c5961(0x1d9),function(_0x4bfa7b){const _0x3b8c94=a48_0x1c5961,_0x358cc0={};_0x358cc0[_0x3b8c94(0x1b0)]=_0x3b8c94(0x19b),_0x358cc0[_0x3b8c94(0x208)]=_0x3b8c94(0x1a3),_0x358cc0[_0x3b8c94(0x1f6)]='Show\x20help';const _0xa7104=_0x358cc0;return _0x4bfa7b['help'](![])['option'](_0xa7104[_0x3b8c94(0x1b0)],{'alias':'h','type':_0xa7104['duEFd'],'describe':_0xa7104['OlqDn']})[_0x3b8c94(0x1f5)](![])[_0x3b8c94(0x1b1)](![]);},function(_0x1fca1d){const _0x257a06=a48_0x1c5961,_0x412cb7={'Qluiu':function(_0x4ae633,_0x143112,_0x10fc45){return _0x4ae633(_0x143112,_0x10fc45);},'YxEyf':function(_0x2203cb,_0x5e37c0){return _0x2203cb(_0x5e37c0);},'WjUgi':_0x257a06(0x207)},_0x9a0c8d={};return _0x9a0c8d['argv']=_0x1fca1d,_0x412cb7[_0x257a06(0x1e0)](captureError,_0x412cb7['YxEyf'](require,_0x412cb7['WjUgi']),_0x9a0c8d);})[a48_0x1c5961(0x1d7)](0x1,a48_0x1c5961(0x1a4))[a48_0x1c5961(0x180)](null)[a48_0x1c5961(0x1ee)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a48_0x1c5961(0x1fa)](a48_0x1c5961(0x19e));
|
|
2
|
+
'use strict';const a51_0x35fab2=a51_0x3e0d;function a51_0x3e0d(_0x4016ff,_0x2ffbfb){const _0x485d56=a51_0x485d();return a51_0x3e0d=function(_0x3e0d0d,_0x301d31){_0x3e0d0d=_0x3e0d0d-0xd7;let _0x583c9f=_0x485d56[_0x3e0d0d];return _0x583c9f;},a51_0x3e0d(_0x4016ff,_0x2ffbfb);}(function(_0x5c8df9,_0x695fa4){const _0x4d3818=a51_0x3e0d,_0x1378f8=_0x5c8df9();while(!![]){try{const _0x1d2c20=parseInt(_0x4d3818(0x11a))/0x1+-parseInt(_0x4d3818(0x12c))/0x2+parseInt(_0x4d3818(0xed))/0x3*(-parseInt(_0x4d3818(0x14c))/0x4)+-parseInt(_0x4d3818(0x153))/0x5+-parseInt(_0x4d3818(0x141))/0x6+-parseInt(_0x4d3818(0x163))/0x7+parseInt(_0x4d3818(0x13b))/0x8*(parseInt(_0x4d3818(0xe4))/0x9);if(_0x1d2c20===_0x695fa4)break;else _0x1378f8['push'](_0x1378f8['shift']());}catch(_0x218b05){_0x1378f8['push'](_0x1378f8['shift']());}}}(a51_0x485d,0xa3dff));const fs=require('fs'),path=require(a51_0x35fab2(0x14e)),util=require('util'),spawn=require(a51_0x35fab2(0x132))['spawn'],{requireModule}=require(a51_0x35fab2(0xea)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require('../helpers/performance/constants')[a51_0x35fab2(0xf6)],helper=require('../helpers/helper'),utilities=require(a51_0x35fab2(0xe2)),{default:BrowserStackSetup}=require(a51_0x35fab2(0x131)),{FRAMEWORKS}=require(a51_0x35fab2(0x145)),runIntegrations=require(a51_0x35fab2(0xf3)),yargs=require('yargs'),Constants=require('./utils/constants'),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require(a51_0x35fab2(0xe6))[a51_0x35fab2(0x160)],origArgs=Object[a51_0x35fab2(0x139)]([],process['argv']),captureError=async(_0x421f29,_0x45f732,_0x2aff73,_0x28c62a=null)=>{const _0x283f44=a51_0x35fab2,_0x1b0141={'ImIXw':function(_0x32b1fe,_0x558e9a,_0x2e85da,_0x365038){return _0x32b1fe(_0x558e9a,_0x2e85da,_0x365038);},'QGnXN':'SDKTestSuccessful'};try{logger['info'](_0x283f44(0x105)+origArgs[_0x283f44(0xfd)]('\x20')),await _0x1b0141[_0x283f44(0x12b)](_0x421f29,_0x45f732,_0x28c62a,_0x2aff73);}catch(_0x18df79){process['exitCode']=0x1,logger[_0x283f44(0xe5)](util[_0x283f44(0x110)](_0x18df79));const _0x1bb749={'globalException':util['format']('%j',_0x18df79)};PerformanceTester[_0x283f44(0x10c)](PerformanceEvents[_0x283f44(0x150)],![],util[_0x283f44(0x110)](_0x18df79));if(helper[_0x283f44(0x134)](global['config'])&&helper[_0x283f44(0x134)](global['framework']))return;try{utilities[_0x283f44(0x115)](_0x1b0141[_0x283f44(0x114)],_0x1bb749,global['config'],global['framework']);}catch(_0xf8b4eb){logger['debug'](_0x283f44(0x157)+_0xf8b4eb['stack']);}try{await helper[_0x283f44(0x142)](global['config']);}catch(_0x5299e7){logger[_0x283f44(0xf0)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x5299e7['stack']);}await BrowserstackCLI[_0x283f44(0x107)]()[_0x283f44(0xda)](),PerformanceTester['end'](PerformanceEvents[_0x283f44(0x150)],![],util[_0x283f44(0x110)](_0x18df79));}finally{PerformanceTester[_0x283f44(0x12e)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a51_0x35fab2(0xfd)](helper[a51_0x35fab2(0x156)](),a51_0x35fab2(0x152));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a51_0x35fab2(0xfd)](browserstackFolderPath,'.local-not-set.json');fs[a51_0x35fab2(0x12f)](filePath)&&fs[a51_0x35fab2(0x135)](filePath);}}catch(a51_0x32036b){logger['debug'](a51_0x35fab2(0x112)+a51_0x32036b[a51_0x35fab2(0x109)]);}process[a51_0x35fab2(0x123)][a51_0x35fab2(0x125)]('mocha')&&(!process['argv'][a51_0x35fab2(0x125)](a51_0x35fab2(0x126))&&process['argv'][a51_0x35fab2(0x113)](a51_0x35fab2(0xee)),!process['argv'][a51_0x35fab2(0x102)](_0x23a524=>_0x23a524[a51_0x35fab2(0x125)]('--config'))&&process['argv']['push'](a51_0x35fab2(0xde)),!process[a51_0x35fab2(0x123)][a51_0x35fab2(0x125)](a51_0x35fab2(0x14d))&&process[a51_0x35fab2(0x123)][a51_0x35fab2(0x113)](a51_0x35fab2(0xe9)),helper[a51_0x35fab2(0xd9)](process[a51_0x35fab2(0x123)],a51_0x35fab2(0x122),a51_0x35fab2(0x11e)));PerformanceTester[a51_0x35fab2(0x12e)](PerformanceEvents[a51_0x35fab2(0x150)]);const a51_0x483f4d={};a51_0x483f4d[a51_0x35fab2(0xf8)]=![];function a51_0x485d(){const _0x693c04=['iRpFi','cbHmU','assign','QTiyZ','8dMiimd','cucumber-js','JEST','xBZOI','./vanilla-js/command','mocha','1327758jHghUQ','sendLogs','QqlHW','yAykF','../helpers/test-observability/constants','strict','describe','HnIrV','ats','alias','./cucumber-js/command','1066888hSIDjG','--package','path','demandCommand','SDK_SETUP','CUCUMBER','.browserstack','1481675aZxyAI','xQiQO','help','homedir','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','Parsing\x20command\x20line\x20arguments','GfNVH','LpNxO','codeceptjs','NIGHTWATCH','INTEGRATIONS','./mocha/command','option','winstonLogger','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','setBrowserStackAutomationDisable','5121193rcCNOf','NSYGY','VANILLA','command','findAndReplace','stop','WVyUx','setTestObservabilityDisable','yyQWp','--no-config','MlKum','GSstR','bAaOA','../helpers/utilities','XzWAh','17482257KydfBC','error','../helpers/logger','zwmXd','depZZ','--no-package','../helpers/helper','mocha/lib/cli/cli.js','../../ats/src/index','3WZuAIp','--no-opts','./load/index','debug','./playwright/command','nightwatch','./integrations/command','getConfigPath','usage','EVENTS','load\x20[subcommand]','dot-notation','./codeceptjs/command','oknOV','mocha/lib/cli/commands.js','boolean','join','CODECEPTJS','version','qNonC','FSYeh','find','showHelpOnFail','VERSION','Running\x20SDK\x20with\x20args\x20','HELP','getInstance','PLAYWRIGHT','message','INFO','usage:\x20$0\x20<command>\x20[args]','end','kMctI','wrap','OItVh','format','jest','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','push','QGnXN','fireFunnelTestEvent','exitProcess','./nightwatch/command','dpPtB','Show\x20help','663937tyylEU','dirIY','abVjv','HST','--mochaRequire','slice','Sssiq','node','--require','argv','niKrS','includes','--opts','./jest/command','run','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','handler','ImIXw','838460nWmwWF','gDpwD','start','existsSync','zhDgj','../helpers/BrowserStackSetup','child_process','MOCHA','isUndefined','unlinkSync','env'];a51_0x485d=function(){return _0x693c04;};return a51_0x485d();}const argv=yargs['parserConfiguration'](a51_0x483f4d)[a51_0x35fab2(0xf5)](a51_0x35fab2(0x10b))[a51_0x35fab2(0x14a)]('v',a51_0x35fab2(0xff))[a51_0x35fab2(0x147)]('v')[a51_0x35fab2(0x14a)]('h',a51_0x35fab2(0x155))[a51_0x35fab2(0x155)](a51_0x35fab2(0x155))[a51_0x35fab2(0x103)](!![],Constants[a51_0x35fab2(0x104)][a51_0x35fab2(0x106)])[a51_0x35fab2(0xd8)](a51_0x35fab2(0x111),Constants[a51_0x35fab2(0x13d)]['INFO'],function(_0x5bccf1){const _0x3f80ec=a51_0x35fab2,_0x4709d6={'qNonC':_0x3f80ec(0x111),'dpPtB':function(_0x4f5b4e,_0x407c7,_0x3d3326,_0x1cb6a3,_0x30da85){return _0x4f5b4e(_0x407c7,_0x3d3326,_0x1cb6a3,_0x30da85);},'cbHmU':function(_0x5639c3,_0x5c82c5){return _0x5639c3(_0x5c82c5);},'niKrS':_0x3f80ec(0x127)},_0x4e5dea=process[_0x3f80ec(0x123)][_0x3f80ec(0x11f)](0x2);helper[_0x3f80ec(0xdc)](),helper[_0x3f80ec(0x162)](),_0x5bccf1[_0x3f80ec(0x146)](![]);const _0x239412=new BrowserStackSetup(_0x5bccf1[_0x3f80ec(0x123)],_0x4709d6[_0x3f80ec(0x100)]);return _0x4709d6[_0x3f80ec(0x118)](captureError,_0x4709d6[_0x3f80ec(0x138)](require,_0x4709d6[_0x3f80ec(0x124)]),_0x5bccf1['argv'],_0x239412,_0x4e5dea);})[a51_0x35fab2(0xd8)](a51_0x35fab2(0x140),Constants[a51_0x35fab2(0x133)][a51_0x35fab2(0x10a)],_0x5077c3=>{const _0x462e5a=a51_0x35fab2,_0x38f7a1={'rkDEZ':function(_0x479a94,_0x319d9d,_0x28fca9,_0x2cf42b){return _0x479a94(_0x319d9d,_0x28fca9,_0x2cf42b);},'QTiyZ':function(_0x17938e,_0x4f5145){return _0x17938e(_0x4f5145);},'kKnEm':_0x462e5a(0x15e),'depZZ':'mocha','zhDgj':_0x462e5a(0x158),'oknOV':function(_0x517c1c,_0x511ba2,_0x1b4581){return _0x517c1c(_0x511ba2,_0x1b4581);},'dirIY':'mocha/lib/cli/run.js','HIMvD':function(_0x46dd90,_0x47944c,_0x3df6b0){return _0x46dd90(_0x47944c,_0x3df6b0);},'OItVh':_0x462e5a(0xfb),'XzWAh':function(_0x114bea,_0x542ea9,_0x21c934){return _0x114bea(_0x542ea9,_0x21c934);},'mGKXs':_0x462e5a(0xeb),'WVyUx':function(_0xf18abf){return _0xf18abf();}};process[_0x462e5a(0x123)]=process[_0x462e5a(0x123)][_0x462e5a(0x11f)](0x1),helper['setTestObservabilityDisable'](),helper[_0x462e5a(0x162)]();const _0x2c07b6=new BrowserStackSetup(_0x5077c3[_0x462e5a(0x123)],_0x38f7a1[_0x462e5a(0xe8)]);logger[_0x462e5a(0xf0)](_0x38f7a1[_0x462e5a(0x130)]);const _0x31236d=_0x38f7a1[_0x462e5a(0xfa)](requireModule,_0x38f7a1[_0x462e5a(0x11b)],_0x38f7a1[_0x462e5a(0xe8)]),_0x32e295=_0x38f7a1['HIMvD'](requireModule,_0x38f7a1[_0x462e5a(0x10f)],_0x38f7a1[_0x462e5a(0xe8)]);delete _0x31236d['handler'],_0x31236d[_0x462e5a(0x12a)]=function(_0x418d9e){const _0x53e6ed=_0x462e5a;return _0x38f7a1['rkDEZ'](captureError,_0x38f7a1[_0x53e6ed(0x13a)](require,_0x38f7a1['kKnEm']),_0x418d9e,_0x2c07b6);},_0x32e295[_0x462e5a(0x128)]=_0x31236d;const {main:_0x74f826}=_0x38f7a1[_0x462e5a(0xe3)](requireModule,_0x38f7a1['mGKXs'],_0x38f7a1[_0x462e5a(0xe8)]);_0x38f7a1[_0x462e5a(0xdb)](_0x74f826);})[a51_0x35fab2(0xd8)](a51_0x35fab2(0x13c),Constants[a51_0x35fab2(0x151)][a51_0x35fab2(0x10a)],function(_0x3d6faa){const _0x50db72=a51_0x35fab2,_0x1d3996={'xBZOI':_0x50db72(0x13c),'GSstR':function(_0x3eda37,_0x42d1db,_0x2ec890,_0x11248b,_0xf132a0){return _0x3eda37(_0x42d1db,_0x2ec890,_0x11248b,_0xf132a0);},'gDpwD':function(_0x2da858,_0x2e152c){return _0x2da858(_0x2e152c);},'kMctI':_0x50db72(0x14b)},_0x3ee5e5=process[_0x50db72(0x123)]['slice'](0x2),_0x19d7dd=new BrowserStackSetup(_0x3d6faa['argv'],_0x1d3996[_0x50db72(0x13e)]);return _0x1d3996[_0x50db72(0xe0)](captureError,_0x1d3996[_0x50db72(0x12d)](require,_0x1d3996[_0x50db72(0x10d)]),_0x3d6faa['argv'],_0x19d7dd,_0x3ee5e5);})[a51_0x35fab2(0xd8)](a51_0x35fab2(0x121),Constants[a51_0x35fab2(0xd7)][a51_0x35fab2(0x10a)],function(_0x44ac71){const _0xf3e9bf=a51_0x35fab2,_0x122276={'fPXvS':'vanilla','bAaOA':function(_0x1d4f8c,_0x27d3e8,_0x3c1b71,_0x4084a6,_0x2a5a64){return _0x1d4f8c(_0x27d3e8,_0x3c1b71,_0x4084a6,_0x2a5a64);},'MlKum':function(_0x2eb528,_0x3f3792){return _0x2eb528(_0x3f3792);},'Sssiq':_0xf3e9bf(0x13f)},_0x4e978b=process[_0xf3e9bf(0x123)][_0xf3e9bf(0x11f)](0x2),_0x12f8e6=new BrowserStackSetup(_0x44ac71[_0xf3e9bf(0x123)],_0x122276['fPXvS']);return _0x122276[_0xf3e9bf(0xe1)](captureError,_0x122276[_0xf3e9bf(0xdf)](require,_0x122276[_0xf3e9bf(0x120)]),_0x44ac71[_0xf3e9bf(0x123)],_0x12f8e6,_0x4e978b);})[a51_0x35fab2(0xd8)](a51_0x35fab2(0xf2),Constants[a51_0x35fab2(0x15c)][a51_0x35fab2(0x10a)],function(_0x1ff64e){const _0x167ce6=a51_0x35fab2,_0x522422={'oQCzi':function(_0x4627f5,_0x2024aa,_0x1efc3e,_0x38a8aa,_0x477d3c){return _0x4627f5(_0x2024aa,_0x1efc3e,_0x38a8aa,_0x477d3c);},'yyQWp':function(_0x1319b2,_0x457bb3){return _0x1319b2(_0x457bb3);},'yAykF':_0x167ce6(0x117)},_0x2b2337=process[_0x167ce6(0x123)]['slice'](0x2),_0x9a9344=new BrowserStackSetup(_0x1ff64e[_0x167ce6(0x123)]);return _0x522422['oQCzi'](captureError,_0x522422[_0x167ce6(0xdd)](require,_0x522422[_0x167ce6(0x144)]),_0x1ff64e['argv'],_0x9a9344,_0x2b2337);})[a51_0x35fab2(0xd8)]('codeceptjs',Constants[a51_0x35fab2(0xfe)][a51_0x35fab2(0x10a)],function(_0x489285){const _0x1dc74f=a51_0x35fab2,_0x4abb23={'gjyPo':_0x1dc74f(0x15b),'NrWEL':function(_0x3f47b3,_0x5313b3,_0x695be2,_0x3a3824,_0x4edf8c){return _0x3f47b3(_0x5313b3,_0x695be2,_0x3a3824,_0x4edf8c);},'QqlHW':function(_0x52fc3d,_0x32e07c){return _0x52fc3d(_0x32e07c);},'FSYeh':_0x1dc74f(0xf9)},_0x1c2d3b=process[_0x1dc74f(0x123)][_0x1dc74f(0x11f)](0x2),_0x389791=new BrowserStackSetup(_0x489285[_0x1dc74f(0x123)],_0x4abb23['gjyPo']);return _0x4abb23['NrWEL'](captureError,_0x4abb23[_0x1dc74f(0x143)](require,_0x4abb23[_0x1dc74f(0x101)]),_0x489285[_0x1dc74f(0x123)],_0x389791,_0x1c2d3b);})[a51_0x35fab2(0xd8)](a51_0x35fab2(0x149),Constants[a51_0x35fab2(0x11d)]['INFO'],function(_0x263528){const _0x2b15ea=a51_0x35fab2,_0x1c23cb={'abVjv':function(_0x57b53f,_0x1eeec0,_0x170fb1){return _0x57b53f(_0x1eeec0,_0x170fb1);},'GfNVH':function(_0xf5317a,_0x246d92){return _0xf5317a(_0x246d92);},'LpNxO':_0x2b15ea(0xec)},_0x39d0fb=process[_0x2b15ea(0x123)][_0x2b15ea(0x11f)](0x2);return _0x1c23cb[_0x2b15ea(0x11c)](captureError,_0x1c23cb[_0x2b15ea(0x159)](require,_0x1c23cb[_0x2b15ea(0x15a)]),_0x263528);})[a51_0x35fab2(0xd8)]('integrations',Constants[a51_0x35fab2(0x15d)][a51_0x35fab2(0x10a)],function(_0x340b9b){const _0x5a7f36=a51_0x35fab2,_0x390850={'HnIrV':function(_0xdade17,_0x502063){return _0xdade17(_0x502063);}};return _0x390850[_0x5a7f36(0x148)](runIntegrations,_0x340b9b);})['command']('playwright',Constants[a51_0x35fab2(0x108)][a51_0x35fab2(0x10a)],function(_0x4212f7){const _0x38ba98=a51_0x35fab2,_0x49c9a1={'xQiQO':function(_0xa3f216,_0xfaaa05,_0x1da8ff,_0x5ee4c6,_0x58d2fb){return _0xa3f216(_0xfaaa05,_0x1da8ff,_0x5ee4c6,_0x58d2fb);},'jqWHh':function(_0x3a682a,_0xb8fe91){return _0x3a682a(_0xb8fe91);},'sfgjo':_0x38ba98(0xf1)},_0x131e5e=process['argv'][_0x38ba98(0x11f)](0x2);helper[_0x38ba98(0xf4)](process[_0x38ba98(0x123)])&&(process[_0x38ba98(0x136)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper['getConfigPath'](process[_0x38ba98(0x123)]));helper[_0x38ba98(0xdc)](),helper[_0x38ba98(0x162)]();const _0x152675=new BrowserStackSetup(_0x4212f7[_0x38ba98(0x123)],FRAMEWORKS[_0x38ba98(0x108)]);return _0x49c9a1[_0x38ba98(0x154)](captureError,_0x49c9a1['jqWHh'](require,_0x49c9a1['sfgjo']),_0x4212f7[_0x38ba98(0x123)],_0x152675,_0x131e5e);})[a51_0x35fab2(0xd8)](a51_0x35fab2(0xf7),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0xcc68bd){const _0x84678d=a51_0x35fab2,_0x6ebd57={};_0x6ebd57[_0x84678d(0x137)]='help',_0x6ebd57['GsBKf']=_0x84678d(0xfc),_0x6ebd57['NSYGY']=_0x84678d(0x119);const _0x1ff03c=_0x6ebd57;return _0xcc68bd[_0x84678d(0x155)](![])[_0x84678d(0x15f)](_0x1ff03c[_0x84678d(0x137)],{'alias':'h','type':_0x1ff03c['GsBKf'],'describe':_0x1ff03c[_0x84678d(0x164)]})[_0x84678d(0x146)](![])[_0x84678d(0x116)](![]);},function(_0x538097){const _0x419d39=a51_0x35fab2,_0x471980={'zpJYT':function(_0x1c0253,_0x5b0b73,_0x46e949){return _0x1c0253(_0x5b0b73,_0x46e949);},'eDYlz':function(_0x1db641,_0x227d3e){return _0x1db641(_0x227d3e);},'zwmXd':_0x419d39(0xef)},_0x575aaf={};return _0x575aaf[_0x419d39(0x123)]=_0x538097,_0x471980['zpJYT'](captureError,_0x471980['eDYlz'](require,_0x471980[_0x419d39(0xe7)]),_0x575aaf);})[a51_0x35fab2(0x14f)](0x1,a51_0x35fab2(0x161))[a51_0x35fab2(0x10e)](null)[a51_0x35fab2(0x123)];!helper[a51_0x35fab2(0x134)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a51_0x35fab2(0x149)&&console[a51_0x35fab2(0xe5)](a51_0x35fab2(0x129));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
const a52_0x1944ff=a52_0x5d21;function a52_0x5d21(_0x364a4c,_0x4c704d){const _0x545195=a52_0x5451();return a52_0x5d21=function(_0x5d21ef,_0x38413e){_0x5d21ef=_0x5d21ef-0x14e;let _0x1dc72c=_0x545195[_0x5d21ef];return _0x1dc72c;},a52_0x5d21(_0x364a4c,_0x4c704d);}(function(_0x14c445,_0x2928f0){const _0x25240d=a52_0x5d21,_0x2aea0d=_0x14c445();while(!![]){try{const _0x1425eb=parseInt(_0x25240d(0x150))/0x1*(-parseInt(_0x25240d(0x16a))/0x2)+parseInt(_0x25240d(0x186))/0x3+-parseInt(_0x25240d(0x190))/0x4*(-parseInt(_0x25240d(0x153))/0x5)+parseInt(_0x25240d(0x170))/0x6*(-parseInt(_0x25240d(0x182))/0x7)+-parseInt(_0x25240d(0x159))/0x8+parseInt(_0x25240d(0x15f))/0x9*(parseInt(_0x25240d(0x16e))/0xa)+-parseInt(_0x25240d(0x193))/0xb*(-parseInt(_0x25240d(0x189))/0xc);if(_0x1425eb===_0x2928f0)break;else _0x2aea0d['push'](_0x2aea0d['shift']());}catch(_0x3c270b){_0x2aea0d['push'](_0x2aea0d['shift']());}}}(a52_0x5451,0xf1b75));const fs=require('fs'),helper=require(a52_0x1944ff(0x155)),utilities=require(a52_0x1944ff(0x17a)),yaml=require(a52_0x1944ff(0x15d)),yargs=require('yargs'),logger=require(a52_0x1944ff(0x188))[a52_0x1944ff(0x17e)],configFileTemplate=__dirname+a52_0x1944ff(0x171),configFileTemplatePW=__dirname+a52_0x1944ff(0x16d),configFile=process[a52_0x1944ff(0x19c)]()+'/browserstack.yml',packageFile=process['cwd']()+a52_0x1944ff(0x154),frameworks=[a52_0x1944ff(0x191),'jest',a52_0x1944ff(0x14f),a52_0x1944ff(0x176),a52_0x1944ff(0x187),a52_0x1944ff(0x173),'playwright'];let config;logger[a52_0x1944ff(0x168)](a52_0x1944ff(0x158)),createConfigurationFile(yargs[a52_0x1944ff(0x183)][a52_0x1944ff(0x175)],yargs[a52_0x1944ff(0x183)]['key'],yargs['argv'][a52_0x1944ff(0x156)]);try{sdkSetup();}catch(a52_0x4c5080){logger[a52_0x1944ff(0x196)](a52_0x1944ff(0x18b)+a52_0x4c5080);}addScriptInPackageJson();function createConfigurationFile(_0x292640,_0x3e1faa,_0x147bc2=![]){const _0x3e322e=a52_0x1944ff,_0xc354dd={};_0xc354dd[_0x3e322e(0x197)]=_0x3e322e(0x18a),_0xc354dd[_0x3e322e(0x17f)]=_0x3e322e(0x165),_0xc354dd[_0x3e322e(0x15a)]='YOUR_ACCESS_KEY';const _0x479544=_0xc354dd;try{let _0x1a3c14=fs[_0x3e322e(0x194)](_0x147bc2?configFileTemplatePW:configFileTemplate,_0x479544[_0x3e322e(0x197)]);_0x292640&&(_0x1a3c14=_0x1a3c14[_0x3e322e(0x184)](_0x479544[_0x3e322e(0x17f)],_0x292640)),_0x3e1faa&&(_0x1a3c14=_0x1a3c14['replace'](_0x479544[_0x3e322e(0x15a)],_0x3e1faa)),config=yaml[_0x3e322e(0x180)](_0x1a3c14),fs[_0x3e322e(0x185)](configFile,_0x1a3c14,_0x194229=>{const _0x17ff5e=_0x3e322e;_0x194229&&logger[_0x17ff5e(0x151)](_0x194229);});}catch(_0x4a5bf5){logger[_0x3e322e(0x151)](_0x4a5bf5);}}function addPostInstallScript(_0x186b6a,_0x42985d){const _0x188921=a52_0x1944ff,_0x4db02e={};_0x4db02e['OOguc']=_0x188921(0x16c),_0x4db02e[_0x188921(0x17c)]=_0x188921(0x192),_0x4db02e[_0x188921(0x198)]=_0x188921(0x16f);const _0x4d6456=_0x4db02e;let _0x4b5b2d=_0x186b6a[_0x4d6456[_0x188921(0x18f)]];if(_0x4b5b2d&&_0x4b5b2d[_0x188921(0x19b)](_0x4d6456['OUnPU']))return;!_0x4b5b2d?_0x4b5b2d=_0x4d6456[_0x188921(0x17c)]:_0x4b5b2d+=_0x4d6456['cKJtj'],_0x42985d[_0x188921(0x163)]([_0x4d6456['OOguc'],_0x4b5b2d]);}function a52_0x5451(){const _0x30f93a=['postinstall','/../../browserstack.pw.yml.sample','170ETWzLJ','\x20&&\x20npm\x20update\x20browserstack-node-sdk','12gMgFla','/../../browserstack.yml.sample','pmXMd','codeceptjs','PCCRg','username','node','indexOf','stringify','SDKSetup','../helpers/utilities','source','OUnPU','scripts','winstonLogger','AQLuS','load','RnWID','1054249adADUU','argv','replace','writeFileSync','5880267gSVLLP','nightwatch','../helpers/logger','12nhmqHy','utf8','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','isUndefined','sPSta','Utqyf','OOguc','12BiZmAg','mocha','npm\x20update\x20browserstack-node-sdk','402347xxsQCV','readFileSync','CxmXg','debug','LgOcl','cKJtj','splice','fireFunnelTestEvent','includes','cwd','parse','RRWcm','cucumber-js','83047bzGzcL','error','browserstack-node-sdk\x20','1971565lxsCIp','/package.json','../helpers/helper','playwright','browserstack-node-sdk','Creating\x20configuration\x20file...','10551224ISxlGw','tNUIZ','length','nPudw','js-yaml','-browserstack','533898JDeDQy','VuNPI','brjwt','node-setup','push','eKane','YOUR_USERNAME','join','DgQYb','info','Setup\x20completed','38aMyysp','Adding\x20new\x20script(s)\x20in\x20package.json...'];a52_0x5451=function(){return _0x30f93a;};return a52_0x5451();}function addScriptInPackageJson(){const _0x584b63=a52_0x1944ff,_0x7d3e4a={'PCCRg':'utf8','RnWID':function(_0x4d1b3d,_0x3efbdf){return _0x4d1b3d<_0x3efbdf;},'DgQYb':function(_0x372a38,_0x3806d9,_0x16ee0e){return _0x372a38(_0x3806d9,_0x16ee0e);},'nPudw':function(_0xf0bdfd,_0x4ff391){return _0xf0bdfd!==_0x4ff391;},'Utqyf':_0x584b63(0x16b)},_0x38572d=JSON[_0x584b63(0x19d)](fs[_0x584b63(0x194)](packageFile,_0x7d3e4a[_0x584b63(0x174)])),_0x56a517=[];for(let _0x4f2a4a=0x0;_0x7d3e4a[_0x584b63(0x181)](_0x4f2a4a,frameworks[_0x584b63(0x15b)]);_0x4f2a4a+=0x1){const _0x25d33e=_0x7d3e4a['DgQYb'](findScriptsWithFramework,_0x38572d[_0x584b63(0x17d)],frameworks[_0x4f2a4a]);for(let _0x3c4e3e=0x0;_0x7d3e4a[_0x584b63(0x181)](_0x3c4e3e,_0x25d33e['length']);_0x3c4e3e+=0x1){_0x56a517[_0x584b63(0x163)](_0x7d3e4a[_0x584b63(0x167)](getUpdatedCommand,_0x38572d[_0x584b63(0x17d)],_0x25d33e[_0x3c4e3e]));}_0x7d3e4a[_0x584b63(0x167)](addPostInstallScript,_0x38572d[_0x584b63(0x17d)],_0x56a517);}const _0x234c33={..._0x38572d[_0x584b63(0x17d)]},_0x59e329=_0x234c33;for(let _0x261132=0x0;_0x7d3e4a[_0x584b63(0x181)](_0x261132,_0x56a517[_0x584b63(0x15b)]);_0x261132+=0x1){_0x59e329[_0x56a517[_0x261132][0x0]]=_0x56a517[_0x261132][0x1];}_0x7d3e4a[_0x584b63(0x15c)](JSON[_0x584b63(0x178)](_0x38572d[_0x584b63(0x17d)]),JSON[_0x584b63(0x178)](_0x59e329))&&(logger['info'](_0x7d3e4a[_0x584b63(0x18e)]),_0x38572d[_0x584b63(0x17d)]=_0x59e329,fs['writeFileSync'](packageFile,JSON['stringify'](_0x38572d,null,0x2),_0x78434=>{const _0x1b92ca=_0x584b63;_0x78434&&logger[_0x1b92ca(0x151)](_0x78434);}));};function findScriptsWithFramework(_0x421226,_0xd30b7e){const _0x1a179b=a52_0x1944ff,_0x410f5c={};_0x410f5c[_0x1a179b(0x160)]=function(_0x437997,_0x354745){return _0x437997<_0x354745;},_0x410f5c[_0x1a179b(0x14e)]=_0x1a179b(0x157);const _0x523b88=_0x410f5c,_0xcfd3f1=[],_0x308c20=Object['entries'](_0x421226);for(let _0x62a498=0x0;_0x523b88['VuNPI'](_0x62a498,_0x308c20[_0x1a179b(0x15b)]);_0x62a498+=0x1){_0x308c20[_0x62a498][0x1][_0x1a179b(0x19b)](_0xd30b7e)&&!_0x308c20[_0x62a498][0x1]['includes'](_0x523b88['RRWcm'])&&_0xcfd3f1[_0x1a179b(0x163)](_0x308c20[_0x62a498][0x0]);}return _0xcfd3f1;}function getUpdatedCommand(_0x5dd351,_0x4f9912){const _0x48e3e7=a52_0x1944ff,_0x1898f4={};_0x1898f4[_0x48e3e7(0x161)]=function(_0xe9ddc2,_0x5bd590){return _0xe9ddc2!==_0x5bd590;},_0x1898f4[_0x48e3e7(0x195)]=_0x48e3e7(0x157),_0x1898f4[_0x48e3e7(0x172)]=function(_0x44bbd2,_0x3f062b){return _0x44bbd2===_0x3f062b;};const _0x5a208a=_0x1898f4,_0x5d76d8=_0x4f9912+_0x48e3e7(0x15e),_0x50126a=_0x5dd351[_0x4f9912],_0x1a74d5=_0x50126a['split']('\x20');for(const _0x32e2c6 of frameworks){if(_0x5a208a[_0x48e3e7(0x161)](_0x1a74d5[_0x48e3e7(0x177)](_0x32e2c6),-0x1)){_0x1a74d5[_0x48e3e7(0x199)](_0x1a74d5[_0x48e3e7(0x177)](_0x32e2c6),0x0,_0x5a208a[_0x48e3e7(0x195)]);break;}}let _0x1ff9a3=_0x1a74d5[_0x48e3e7(0x166)]('\x20');return _0x5a208a['pmXMd'](_0x1ff9a3,_0x50126a)&&(_0x1ff9a3=_0x48e3e7(0x152)+_0x50126a),[_0x5d76d8,_0x1ff9a3];}function sdkSetup(){const _0x22d896=a52_0x1944ff,_0x203c7a={};_0x203c7a['sPSta']=_0x22d896(0x162),_0x203c7a[_0x22d896(0x164)]=_0x22d896(0x179);const _0x24e0d1=_0x203c7a;if(helper[_0x22d896(0x18c)](config))return;config[_0x22d896(0x17b)]=_0x24e0d1[_0x22d896(0x18d)];try{utilities[_0x22d896(0x19a)](_0x24e0d1[_0x22d896(0x164)],{},config,'');}catch(_0x1fa64d){logger[_0x22d896(0x196)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x1fa64d);}}logger[a52_0x1944ff(0x168)](a52_0x1944ff(0x169));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50_0x546eb8=a50_0x363b;function a50_0x363b(_0x129816,_0x54e1c9){const _0x3da515=a50_0x3da5();return a50_0x363b=function(_0x363b97,_0x3b7266){_0x363b97=_0x363b97-0xa9;let _0x5ae9a7=_0x3da515[_0x363b97];return _0x5ae9a7;},a50_0x363b(_0x129816,_0x54e1c9);}(function(_0x343942,_0x4dff67){const _0x19bd70=a50_0x363b,_0x3d6daf=_0x343942();while(!![]){try{const _0x5dd890=-parseInt(_0x19bd70(0xfd))/0x1+-parseInt(_0x19bd70(0x103))/0x2+-parseInt(_0x19bd70(0xf1))/0x3*(parseInt(_0x19bd70(0xf3))/0x4)+-parseInt(_0x19bd70(0xeb))/0x5*(-parseInt(_0x19bd70(0xf6))/0x6)+-parseInt(_0x19bd70(0xcb))/0x7+parseInt(_0x19bd70(0x10c))/0x8*(parseInt(_0x19bd70(0x10b))/0x9)+parseInt(_0x19bd70(0xb9))/0xa;if(_0x5dd890===_0x4dff67)break;else _0x3d6daf['push'](_0x3d6daf['shift']());}catch(_0x1ad316){_0x3d6daf['push'](_0x3d6daf['shift']());}}}(a50_0x3da5,0x4c812));function a50_0x3da5(){const _0x58c7a6=['503178MNgpWr','ZEuqN','stjmZ','info','JMbpq','p-limit','762834ByEFWg','failureCount','bAwDq','end','GwtLC','all','Zbkwi','DosQq','45wBllcD','522592OzATGc','../../helpers/testhub/testhubHandler','postMessage','CAuoR','../../helpers/performance/constants','UHYmK','Workers\x20failed\x20to\x20exit\x20gracefully','SDK_SETUP','getWorkers','results','winstonLogger','./testWorker.js','JAcJn','getStdout','format','stdout','jfaRW','parallelCucumberRun','log','waitForExit','11126420zUUhYz','pShYI','../../helpers/performance/performance-tester','../../helpers/logger','vanillaWorker','error','rNnXH','jDCmm','getStderr','platform-run-start','platformCaps','SQObm','test-file-start','send','test-file-failure','platform-run-success','parallelVanillaRun','YGKut','3641960ZNIxWc','Worker','Zkhfi','DqXEv','CTsdb','AkvRk','then','pipe','platform','oHxFR','platform-run-failure','JjHDh','length','jlTuv','parallelTestRun','map','ZLNnA','push','emittery','cucumberWorker','kvNTF','_workerPool','emit','exitCode','zUvHv','config','PhyZk','worker','stderr','jest-worker','../../helpers/test-observability/utils','srDVs','44865rtdxWK','cpebo','rKfgs','platforms','resolve','configuration','159078ryrNwD','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','4xLvONz','json','test-file-success','222yREzqp','debug','parQQ','QEFzM','fnyBp','qgPKJ','exit'];a50_0x3da5=function(){return _0x58c7a6;};return a50_0x3da5();}const Worker=require(a50_0x546eb8(0xe8))[a50_0x546eb8(0xcc)],Emittery=require(a50_0x546eb8(0xdd)),pLimit=require(a50_0x546eb8(0x102)),{parentPort}=require('worker_threads'),util=require('util'),logger=require(a50_0x546eb8(0xbc))[a50_0x546eb8(0xaf)],PerformanceTester=require(a50_0x546eb8(0xbb)),PerformanceEvents=require(a50_0x546eb8(0xa9))['EVENTS'],{debug}=require(a50_0x546eb8(0xe9)),TestHubHandler=require(a50_0x546eb8(0x10d));exports[a50_0x546eb8(0xd9)]=(_0x3d31c9,_0x2f3271,_0x40d9c6)=>new Promise(async _0x40d970=>{const _0x36935a=a50_0x546eb8,_0x37a4c5={'stjmZ':_0x36935a(0x104),'PELTC':function(_0x5d3a6a,_0x2c9580){return _0x5d3a6a+_0x2c9580;},'Zkhfi':_0x36935a(0xae),'ZEuqN':_0x36935a(0xab),'fAHBF':function(_0x37c362,_0x58e021){return _0x37c362(_0x58e021);},'zUvHv':function(_0x4aedd1,_0x44b993){return _0x4aedd1(_0x44b993);},'Zbkwi':_0x36935a(0xc5),'jlTuv':_0x36935a(0xb0),'sqwPt':_0x36935a(0xe6),'srDVs':_0x36935a(0xf4),'YGKut':'pipe','CTsdb':function(_0x4ee60a,_0x296bf6){return _0x4ee60a*_0x296bf6;},'DqXEv':_0x36935a(0xf5),'JMbpq':'test-file-failure','jfaRW':function(_0x46cd52,_0x1e2c11){return _0x46cd52(_0x1e2c11);},'VWeWG':function(_0x3a7f45,_0x575687){return _0x3a7f45*_0x575687;}},_0x40f1c2=_0x40d9c6[_0x36935a(0xe4)],_0x489caa={},_0x2d4d5a=new Worker(require['resolve'](_0x37a4c5[_0x36935a(0xd8)]),{'exposedMethods':[_0x37a4c5['sqwPt']],'forkOptions':{'serialization':_0x37a4c5[_0x36935a(0xea)],'stdio':_0x37a4c5[_0x36935a(0xca)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x37a4c5[_0x36935a(0xcf)](_0x2f3271,0x1),'enableWorkerThreads':!![]}),_0x1c8526=new Emittery();_0x1c8526['on'](_0x37a4c5[_0x36935a(0xce)],_0x55014b=>{const _0x388c12=_0x36935a;_0x489caa[_0x55014b[0x0]]?(_0x489caa[_0x55014b[0x0]][_0x37a4c5[_0x388c12(0xff)]]=_0x37a4c5['PELTC'](_0x489caa[_0x55014b[0x0]][_0x37a4c5[_0x388c12(0xff)]],_0x55014b[0x1][_0x37a4c5[_0x388c12(0xff)]]),_0x489caa[_0x55014b[0x0]][_0x37a4c5[_0x388c12(0xcd)]]=[..._0x489caa[_0x55014b[0x0]][_0x37a4c5[_0x388c12(0xcd)]],..._0x55014b[0x1][_0x37a4c5[_0x388c12(0xcd)]]]):_0x489caa[_0x55014b[0x0]]={'failureCount':_0x55014b[0x1][_0x37a4c5['stjmZ']],'results':[..._0x55014b[0x1][_0x37a4c5[_0x388c12(0xcd)]]]};}),_0x1c8526['on'](_0x37a4c5[_0x36935a(0x101)],_0x397541=>console[_0x36935a(0xb7)](_0x397541[0x1]));_0x2d4d5a[_0x36935a(0xb2)]()&&_0x2d4d5a['getStdout']()['pipe'](process[_0x36935a(0xb4)]);_0x2d4d5a[_0x36935a(0xc1)]()&&_0x2d4d5a[_0x36935a(0xc1)]()[_0x36935a(0xd2)](process[_0x36935a(0xe7)]);const _0x20e3d9=async()=>{const _0x3df1e3=_0x36935a,{forceExited:_0x25c59f}=await _0x2d4d5a[_0x3df1e3(0x106)]();_0x25c59f&&console[_0x3df1e3(0xbe)](_0x37a4c5[_0x3df1e3(0xfe)]);try{await TestHubHandler['stop']();}catch(_0x5b8480){_0x37a4c5['fAHBF'](debug,_0x3df1e3(0xf2)+_0x5b8480);}_0x37a4c5[_0x3df1e3(0xe3)](_0x40d970,_0x489caa);},_0x5878bf=_0x37a4c5[_0x36935a(0xb5)](pLimit,_0x37a4c5['VWeWG'](_0x2f3271,0x1)),_0x51b05c=_0x16cbd8=>_0x5878bf(async()=>{const _0x4cbe75=_0x36935a;await _0x1c8526[_0x4cbe75(0xe1)](_0x37a4c5[_0x4cbe75(0x109)],_0x16cbd8);const _0x2c6296=_0x2d4d5a[_0x4cbe75(0xe6)](_0x16cbd8,_0x40f1c2);try{parentPort&&_0x2c6296['UNSTABLE_onCustomMessage'](_0xd2b26a=>{const _0x36096d=_0x4cbe75;try{parentPort[_0x36096d(0x10e)](_0xd2b26a);}catch(_0xbf3892){logger[_0x36096d(0xf7)]('Exception\x20in\x20sending\x20worker\x20message\x20'+util['format'](_0xbf3892));}});}catch(_0x241d6f){logger[_0x4cbe75(0xf7)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x4cbe75(0xb3)](_0x241d6f));}return _0x2c6296;});PerformanceTester[_0x36935a(0x106)](PerformanceEvents[_0x36935a(0xac)]),Promise[_0x36935a(0x108)](_0x3d31c9[_0x36935a(0xda)](_0x4b8171=>_0x51b05c(_0x4b8171)[_0x36935a(0xd1)](_0x58703d=>_0x1c8526[_0x36935a(0xe1)]('test-file-success',[_0x4b8171['configuration'][_0x36935a(0xd3)],_0x58703d]),_0x177675=>_0x1c8526[_0x36935a(0xe1)](_0x36935a(0xc7),[_0x4b8171,_0x177675]))))['then'](_0x20e3d9,_0x20e3d9);}),exports[a50_0x546eb8(0xb6)]=(_0x2626d0,_0x194c11,_0x5884bf,_0x112310,_0x4600ec)=>{const _0x145dc9=a50_0x546eb8,_0x3d5dff={'qgPKJ':'Workers\x20failed\x20to\x20exit\x20gracefully','UHYmK':function(_0x5a781a,_0x28ec0a){return _0x5a781a(_0x28ec0a);},'AkvRk':_0x145dc9(0xc2),'ldcsQ':_0x145dc9(0xb0),'jrOzi':_0x145dc9(0xde),'rNnXH':_0x145dc9(0xf4),'DosQq':_0x145dc9(0xd2),'oHxFR':'platform-run-success','parQQ':'platform-run-failure'};return new Promise(_0x41446c=>{const _0x57b848=_0x145dc9,_0x4bf74d={'ZLNnA':_0x3d5dff[_0x57b848(0xfb)],'JAcJn':function(_0x551ebf,_0x27ef8e){const _0x4108ba=_0x57b848;return _0x3d5dff[_0x4108ba(0xaa)](_0x551ebf,_0x27ef8e);},'FayDn':_0x3d5dff[_0x57b848(0xd0)]},_0x59bf69=[],_0x492a1d=new Worker(require['resolve'](_0x3d5dff['ldcsQ']),{'exposedMethods':[_0x3d5dff['jrOzi']],'forkOptions':{'serialization':_0x3d5dff[_0x57b848(0xbf)],'stdio':_0x3d5dff[_0x57b848(0x10a)]},'numWorkers':_0x2626d0[_0x57b848(0xd7)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x1c7ad0=new Emittery();_0x1c7ad0['on'](_0x3d5dff[_0x57b848(0xd4)],_0x45a232=>{const _0x5d3e96=_0x57b848;_0x59bf69[_0x5d3e96(0xdc)]([_0x45a232[0x0],_0x45a232[0x1]]);}),_0x1c7ad0['on'](_0x3d5dff[_0x57b848(0xf8)],_0x521ecc=>console[_0x57b848(0xb7)](_0x521ecc[0x1]));_0x492a1d['getStdout']()&&_0x492a1d['getStdout']()[_0x57b848(0xd2)](process[_0x57b848(0xb4)]);_0x492a1d[_0x57b848(0xc1)]()&&_0x492a1d[_0x57b848(0xc1)]()[_0x57b848(0xd2)](process[_0x57b848(0xe7)]);const _0x34c4c9=async()=>{const _0x4f7fdb=_0x57b848,{forceExited:_0xa9a885}=await _0x492a1d[_0x4f7fdb(0x106)]();_0xa9a885&&console[_0x4f7fdb(0xbe)](_0x4bf74d[_0x4f7fdb(0xdb)]),_0x4bf74d[_0x4f7fdb(0xb1)](_0x41446c,_0x59bf69);},_0x3e465e=_0x3d5dff[_0x57b848(0xaa)](pLimit,_0x2626d0['length']||0x1),_0x1e3b70=(_0x58b0d6,_0x9618c4)=>_0x3e465e(async()=>{const _0x141492=_0x57b848;return await _0x1c7ad0[_0x141492(0xe1)](_0x4bf74d['FayDn'],_0x58b0d6),_0x194c11[_0x141492(0xc3)]=_0x5884bf[_0x141492(0xee)][_0x9618c4],_0x492a1d['cucumberWorker'](_0x58b0d6,_0x194c11,_0x5884bf,_0x112310,_0x4600ec);});Promise[_0x57b848(0x108)](_0x2626d0[_0x57b848(0xda)]((_0xca01b6,_0x33187b)=>_0x1e3b70(_0xca01b6,_0x33187b)[_0x57b848(0xd1)](_0x212c85=>_0x1c7ad0[_0x57b848(0xe1)](_0x57b848(0xc8),[_0xca01b6,_0x212c85]),_0xa11efb=>_0x1c7ad0[_0x57b848(0xe1)](_0x57b848(0xd5),[_0xca01b6,_0xa11efb]))))[_0x57b848(0xd1)](_0x34c4c9,_0x34c4c9);});},exports[a50_0x546eb8(0xc9)]=(_0xc5553f,_0x1696b0)=>new Promise(_0x1d3182=>{const _0xadb957=a50_0x546eb8,_0x5ef799={'SQObm':function(_0x164686,_0x1ba3e1){return _0x164686===_0x1ba3e1;},'pShYI':function(_0x2e1595,_0xb77edc){return _0x2e1595!==_0xb77edc;},'rKfgs':_0xadb957(0xfc),'CAuoR':_0xadb957(0xab),'bAwDq':function(_0x448908,_0x1654db){return _0x448908(_0x1654db);},'JjHDh':_0xadb957(0xb0),'cpebo':'vanillaWorker','GwtLC':'json','QEFzM':'pipe','kvNTF':_0xadb957(0xf5),'fnyBp':_0xadb957(0xc7)},_0x145ead={},_0x281483=new Worker(require[_0xadb957(0xef)](_0x5ef799[_0xadb957(0xd6)]),{'exposedMethods':[_0x5ef799[_0xadb957(0xec)]],'forkOptions':{'serialization':_0x5ef799[_0xadb957(0x107)],'stdio':_0x5ef799[_0xadb957(0xf9)]},'numWorkers':_0x1696b0,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x430c54=new Emittery();_0x430c54['on'](_0x5ef799[_0xadb957(0xdf)],_0x32c4fb=>{const _0x38eded=_0xadb957;_0x32c4fb[0x0]&&logger[_0x38eded(0x100)]('Running\x20'+_0x32c4fb[0x1]+'\x20for',_0x32c4fb[0x0]);}),_0x430c54['on'](_0x5ef799[_0xadb957(0xfa)],_0x420a14=>{process['exitCode']=0x1;});_0x281483['getStdout']()&&_0x281483['getStdout']()[_0xadb957(0xd2)](process[_0xadb957(0xb4)]);_0x281483[_0xadb957(0xc1)]()&&_0x281483['getStderr']()[_0xadb957(0xd2)](process[_0xadb957(0xe7)]);const _0x466d44=async()=>{const _0x3e9590=_0xadb957,_0x1ea0c7={'csAFQ':function(_0xee189b,_0x12fbd7){const _0x45e5cb=a50_0x363b;return _0x5ef799[_0x45e5cb(0xc4)](_0xee189b,_0x12fbd7);},'PhyZk':function(_0x569c37,_0x409851){const _0x474783=a50_0x363b;return _0x5ef799[_0x474783(0xba)](_0x569c37,_0x409851);},'wEwYs':_0x5ef799[_0x3e9590(0xed)]};let _0x5b12da=0x0;const _0x361b7e=_0x281483[_0x3e9590(0xe0)][_0x3e9590(0xad)](),_0x2e4c5d=()=>{},_0x84e567=_0x361b7e[_0x3e9590(0xda)](async _0x3f463c=>{const _0x3ebb76=_0x3e9590,_0x4f60a1={'uIBjo':function(_0x143d60,_0x477a86){return _0x1ea0c7['csAFQ'](_0x143d60,_0x477a86);},'jDCmm':function(_0x43eeee,_0x5860de){const _0x54a494=a50_0x363b;return _0x1ea0c7[_0x54a494(0xe5)](_0x43eeee,_0x5860de);}};_0x3f463c[_0x3ebb76(0xc6)]([0x2,![]],_0x2e4c5d,_0x2e4c5d,_0x2e4c5d),_0x3f463c['_child']['on'](_0x1ea0c7['wEwYs'],_0x1095c2=>{const _0x345459=_0x3ebb76;_0x4f60a1['uIBjo'](_0x5b12da,0x0)&&_0x4f60a1[_0x345459(0xc0)](_0x1095c2,0x0)&&(_0x5b12da=_0x1095c2);}),await _0x3f463c[_0x3ebb76(0xb8)]();});await Promise[_0x3e9590(0x108)](_0x84e567),process[_0x3e9590(0xe2)]=_0x5b12da;const {forceExited:_0x5118f8}=await _0x281483[_0x3e9590(0x106)]();_0x5118f8&&console[_0x3e9590(0xbe)](_0x5ef799[_0x3e9590(0x10f)]),_0x5ef799[_0x3e9590(0x105)](_0x1d3182,_0x145ead);},_0x27b262=_0x5ef799[_0xadb957(0x105)](pLimit,_0x1696b0),_0x2affe9=_0x1d0b62=>_0x27b262(async()=>{const _0x574456=_0xadb957;return _0x281483[_0x574456(0xbd)](_0x1d0b62);});Promise[_0xadb957(0x108)](_0xc5553f[_0xadb957(0xda)](_0x398ae9=>_0x2affe9(_0x398ae9)['then'](_0x474e80=>_0x430c54['emit'](_0xadb957(0xf5),[_0x398ae9[_0xadb957(0xf0)][_0xadb957(0xd3)],_0x398ae9['configuration']['file']]),_0x2d70f6=>_0x430c54[_0xadb957(0xe1)](_0xadb957(0xc7),[_0x398ae9,_0x2d70f6]))))[_0xadb957(0xd1)](_0x466d44,_0x466d44);});
|
|
1
|
+
const a53_0x375da5=a53_0x47b6;function a53_0x3e6b(){const _0x4f06ca=['_workerPool','getStderr','../../helpers/logger','pipe','KkIMV','getStdout','10919620rZzylP','file','uIPrD','6922spnZgm','5085153uIMpmL','gKFHI','map','stderr','platform-run-failure','TxEMG','debug','waitForExit','Worker','sqkjK','JldUt','_child','gpfzl','20601867jHHmHX','GWUtp','emit','slsTG','stop','\x20for','ILSwW','./testWorker.js','Exception\x20in\x20sending\x20worker\x20message\x20','rwgub','Yvzrx','platformCaps','XxCOY','test-file-success','JruRo','platform-run-start','results','404496JRTOEG','worker','../../helpers/testhub/testhubHandler','configuration','UNSTABLE_onCustomMessage','json','jest-worker','stdout','end','20OwBgom','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','test-file-start','wUGuk','../../helpers/test-observability/utils','test-file-failure','../../helpers/performance/constants','EITLm','Running\x20','Workers\x20failed\x20to\x20exit\x20gracefully','platformIndex','error','push','resolve','vanillaWorker','4EnxyiL','JQHSN','vCfkX','ojLGG','platform','1604463owUfoa','EVENTS','worker_threads','24kFzjOe','41fmaENd','parallelCucumberRun','util','paiCB','lATkg','hkDjV','cucumberWorker','then','xRkvv','parallelTestRun','length','getWorkers','UCNvY','vOeNt','XHnZA','SXGVw','p-limit','log','platform-run-success','info','all','PPzYF','1300017yXwBHB','exitCode'];a53_0x3e6b=function(){return _0x4f06ca;};return a53_0x3e6b();}function a53_0x47b6(_0x5a86d2,_0x247cf3){const _0x3e6ba6=a53_0x3e6b();return a53_0x47b6=function(_0x47b685,_0x29549f){_0x47b685=_0x47b685-0x15a;let _0x2fcb15=_0x3e6ba6[_0x47b685];return _0x2fcb15;},a53_0x47b6(_0x5a86d2,_0x247cf3);}(function(_0x116c7f,_0x3c37ad){const _0x1f0f01=a53_0x47b6,_0x3ac5aa=_0x116c7f();while(!![]){try{const _0xa25a55=-parseInt(_0x1f0f01(0x1af))/0x1*(parseInt(_0x1f0f01(0x16f))/0x2)+parseInt(_0x1f0f01(0x164))/0x3*(parseInt(_0x1f0f01(0x1a6))/0x4)+-parseInt(_0x1f0f01(0x197))/0x5*(parseInt(_0x1f0f01(0x18e))/0x6)+-parseInt(_0x1f0f01(0x1ab))/0x7*(parseInt(_0x1f0f01(0x1ae))/0x8)+parseInt(_0x1f0f01(0x170))/0x9+-parseInt(_0x1f0f01(0x16c))/0xa+parseInt(_0x1f0f01(0x17d))/0xb;if(_0xa25a55===_0x3c37ad)break;else _0x3ac5aa['push'](_0x3ac5aa['shift']());}catch(_0xdf78ff){_0x3ac5aa['push'](_0x3ac5aa['shift']());}}}(a53_0x3e6b,0xa60a3));const Worker=require(a53_0x375da5(0x194))[a53_0x375da5(0x178)],Emittery=require('emittery'),pLimit=require(a53_0x375da5(0x15e)),{parentPort}=require(a53_0x375da5(0x1ad)),util=require(a53_0x375da5(0x1b1)),logger=require(a53_0x375da5(0x168))['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a53_0x375da5(0x19d))[a53_0x375da5(0x1ac)],{debug}=require(a53_0x375da5(0x19b)),TestHubHandler=require(a53_0x375da5(0x190));exports[a53_0x375da5(0x1b8)]=(_0x25e01d,_0x56d74a,_0x47344a)=>new Promise(async _0x2d0b49=>{const _0x1fb93c=a53_0x375da5,_0x358eac={'vCfkX':'failureCount','paiCB':function(_0x37d696,_0x2ab8e7){return _0x37d696+_0x2ab8e7;},'hkDjV':_0x1fb93c(0x18d),'XHnZA':_0x1fb93c(0x1a0),'KkIMV':function(_0x4f66a6,_0x296624){return _0x4f66a6(_0x296624);},'ILSwW':_0x1fb93c(0x199),'UCNvY':_0x1fb93c(0x184),'xRkvv':_0x1fb93c(0x18f),'gpfzl':_0x1fb93c(0x193),'JruRo':_0x1fb93c(0x169),'uIPrD':function(_0x133266,_0x547d40){return _0x133266*_0x547d40;},'JQHSN':_0x1fb93c(0x18a),'FVnVq':'test-file-failure','XxCOY':function(_0x509c69,_0x2f6ba4){return _0x509c69(_0x2f6ba4);},'gKFHI':function(_0x11e0e8,_0x5a248c){return _0x11e0e8*_0x5a248c;}},_0x27a3ea=_0x47344a['config'],_0x47c23a={},_0x286ad2=new Worker(require[_0x1fb93c(0x1a4)](_0x358eac[_0x1fb93c(0x15a)]),{'exposedMethods':[_0x358eac[_0x1fb93c(0x1b7)]],'forkOptions':{'serialization':_0x358eac[_0x1fb93c(0x17c)],'stdio':_0x358eac[_0x1fb93c(0x18b)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x358eac[_0x1fb93c(0x16e)](_0x56d74a,0x1),'enableWorkerThreads':!![]}),_0xaf2dfb=new Emittery();_0xaf2dfb['on'](_0x358eac[_0x1fb93c(0x1a7)],_0x12a95c=>{const _0x332dfe=_0x1fb93c;_0x47c23a[_0x12a95c[0x0]]?(_0x47c23a[_0x12a95c[0x0]][_0x358eac[_0x332dfe(0x1a8)]]=_0x358eac[_0x332dfe(0x1b2)](_0x47c23a[_0x12a95c[0x0]][_0x358eac[_0x332dfe(0x1a8)]],_0x12a95c[0x1][_0x358eac[_0x332dfe(0x1a8)]]),_0x47c23a[_0x12a95c[0x0]][_0x358eac[_0x332dfe(0x1b4)]]=[..._0x47c23a[_0x12a95c[0x0]][_0x358eac[_0x332dfe(0x1b4)]],..._0x12a95c[0x1][_0x358eac[_0x332dfe(0x1b4)]]]):_0x47c23a[_0x12a95c[0x0]]={'failureCount':_0x12a95c[0x1][_0x358eac[_0x332dfe(0x1a8)]],'results':[..._0x12a95c[0x1][_0x358eac['hkDjV']]]};}),_0xaf2dfb['on'](_0x358eac['FVnVq'],_0x212d11=>console['log'](_0x212d11[0x1]));_0x286ad2[_0x1fb93c(0x16b)]()&&_0x286ad2[_0x1fb93c(0x16b)]()[_0x1fb93c(0x169)](process[_0x1fb93c(0x195)]);_0x286ad2['getStderr']()&&_0x286ad2[_0x1fb93c(0x167)]()[_0x1fb93c(0x169)](process[_0x1fb93c(0x173)]);const _0x5082b8=async()=>{const _0x297656=_0x1fb93c,{forceExited:_0x33f821}=await _0x286ad2[_0x297656(0x196)]();_0x33f821&&console[_0x297656(0x1a2)](_0x358eac[_0x297656(0x15c)]);try{await TestHubHandler[_0x297656(0x181)]();}catch(_0x4093d4){_0x358eac['KkIMV'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x4093d4);}_0x358eac[_0x297656(0x16a)](_0x2d0b49,_0x47c23a);},_0x1b7b39=_0x358eac[_0x1fb93c(0x189)](pLimit,_0x358eac[_0x1fb93c(0x171)](_0x56d74a,0x1)),_0x111dff=_0x11d9eb=>_0x1b7b39(async()=>{const _0xa8f23f=_0x1fb93c;await _0xaf2dfb[_0xa8f23f(0x17f)](_0x358eac[_0xa8f23f(0x183)],_0x11d9eb);const _0x2edce7=_0x286ad2[_0xa8f23f(0x18f)](_0x11d9eb,_0x27a3ea);try{parentPort&&_0x2edce7[_0xa8f23f(0x192)](_0xad2510=>{const _0x17a7d0=_0xa8f23f;try{parentPort['postMessage'](_0xad2510);}catch(_0xfcf787){logger[_0x17a7d0(0x176)](_0x17a7d0(0x185)+util['format'](_0xfcf787));}});}catch(_0x1f9757){logger['debug'](_0xa8f23f(0x198)+util['format'](_0x1f9757));}return _0x2edce7;});PerformanceTester[_0x1fb93c(0x196)](PerformanceEvents['SDK_SETUP']),Promise['all'](_0x25e01d[_0x1fb93c(0x172)](_0x2164f7=>_0x111dff(_0x2164f7)[_0x1fb93c(0x1b6)](_0x20731b=>_0xaf2dfb[_0x1fb93c(0x17f)](_0x1fb93c(0x18a),[_0x2164f7[_0x1fb93c(0x191)][_0x1fb93c(0x1aa)],_0x20731b]),_0x2aebfd=>_0xaf2dfb['emit']('test-file-failure',[_0x2164f7,_0x2aebfd]))))[_0x1fb93c(0x1b6)](_0x5082b8,_0x5082b8);}),exports[a53_0x375da5(0x1b0)]=(_0x19d0be,_0x226f6d,_0x58d1d0,_0x1cc3c8,_0x176a5)=>{const _0x248377=a53_0x375da5,_0x574500={'LpmFe':_0x248377(0x18c),'ojLGG':_0x248377(0x1a0),'JldUt':function(_0x194307,_0x169909){return _0x194307(_0x169909);},'YSKXc':_0x248377(0x184),'slsTG':_0x248377(0x1b5),'lATkg':_0x248377(0x193),'DTgez':_0x248377(0x169),'wUGuk':_0x248377(0x160),'GWUtp':_0x248377(0x174),'SXGVw':function(_0x5b4fbc,_0x46c735){return _0x5b4fbc(_0x46c735);}};return new Promise(_0x1a3f31=>{const _0x49d1e4=_0x248377,_0xdf15c2={'EITLm':_0x574500[_0x49d1e4(0x1a9)],'sOUiy':function(_0x1d4b6c,_0x5b444c){const _0x3f2b6a=_0x49d1e4;return _0x574500[_0x3f2b6a(0x17a)](_0x1d4b6c,_0x5b444c);}},_0x3ee429=[],_0x167c22=new Worker(require['resolve'](_0x574500['YSKXc']),{'exposedMethods':[_0x574500[_0x49d1e4(0x180)]],'forkOptions':{'serialization':_0x574500[_0x49d1e4(0x1b3)],'stdio':_0x574500['DTgez']},'numWorkers':_0x19d0be[_0x49d1e4(0x1b9)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x4aca98=new Emittery();_0x4aca98['on'](_0x574500[_0x49d1e4(0x19a)],_0x1fdebd=>{const _0x4f44c2=_0x49d1e4;_0x3ee429[_0x4f44c2(0x1a3)]([_0x1fdebd[0x0],_0x1fdebd[0x1]]);}),_0x4aca98['on'](_0x574500[_0x49d1e4(0x17e)],_0x23c00b=>console[_0x49d1e4(0x15f)](_0x23c00b[0x1]));_0x167c22[_0x49d1e4(0x16b)]()&&_0x167c22[_0x49d1e4(0x16b)]()['pipe'](process[_0x49d1e4(0x195)]);_0x167c22[_0x49d1e4(0x167)]()&&_0x167c22[_0x49d1e4(0x167)]()[_0x49d1e4(0x169)](process[_0x49d1e4(0x173)]);const _0x559297=async()=>{const _0x201cf3=_0x49d1e4,{forceExited:_0x3c8886}=await _0x167c22[_0x201cf3(0x196)]();_0x3c8886&&console[_0x201cf3(0x1a2)](_0xdf15c2[_0x201cf3(0x19e)]),_0xdf15c2['sOUiy'](_0x1a3f31,_0x3ee429);},_0x529d06=_0x574500[_0x49d1e4(0x15d)](pLimit,_0x19d0be['length']||0x1),_0x9128df=(_0x57bb1c,_0xb31f7)=>_0x529d06(async()=>{const _0x2e9312=_0x49d1e4;return await _0x4aca98[_0x2e9312(0x17f)](_0x574500['LpmFe'],_0x57bb1c),_0x226f6d[_0x2e9312(0x188)]=_0x58d1d0['platforms'][_0xb31f7],_0x226f6d[_0x2e9312(0x1a1)]=_0xb31f7,_0x167c22[_0x2e9312(0x1b5)](_0x57bb1c,_0x226f6d,_0x58d1d0,_0x1cc3c8,_0x176a5);});Promise[_0x49d1e4(0x162)](_0x19d0be[_0x49d1e4(0x172)]((_0x30cfc7,_0x289ad3)=>_0x9128df(_0x30cfc7,_0x289ad3)['then'](_0x4dfa4f=>_0x4aca98[_0x49d1e4(0x17f)](_0x49d1e4(0x160),[_0x30cfc7,_0x4dfa4f]),_0x66c91=>_0x4aca98[_0x49d1e4(0x17f)]('platform-run-failure',[_0x30cfc7,_0x66c91]))))[_0x49d1e4(0x1b6)](_0x559297,_0x559297);});},exports['parallelVanillaRun']=(_0x29d6aa,_0x4ab2d7)=>new Promise(_0x1be123=>{const _0x5af7f8=a53_0x375da5,_0x1d4626={'PIKti':function(_0x15715f,_0x36eb1f){return _0x15715f===_0x36eb1f;},'PpONy':function(_0x3b3e6b,_0x2c5d96){return _0x3b3e6b!==_0x2c5d96;},'vOeNt':'exit','pjWjK':_0x5af7f8(0x1a0),'Yvzrx':function(_0x3baab6,_0x4ec500){return _0x3baab6(_0x4ec500);},'TxEMG':_0x5af7f8(0x184),'DpUVc':_0x5af7f8(0x1a5),'PPzYF':_0x5af7f8(0x193),'GCkll':_0x5af7f8(0x169),'mSYAm':_0x5af7f8(0x18a),'sqkjK':'test-file-failure'},_0xdd5ac4={},_0x3be694=new Worker(require[_0x5af7f8(0x1a4)](_0x1d4626[_0x5af7f8(0x175)]),{'exposedMethods':[_0x1d4626['DpUVc']],'forkOptions':{'serialization':_0x1d4626[_0x5af7f8(0x163)],'stdio':_0x1d4626['GCkll']},'numWorkers':_0x4ab2d7,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x48e3a3=new Emittery();_0x48e3a3['on'](_0x1d4626['mSYAm'],_0x4523f0=>{const _0x2100e9=_0x5af7f8;_0x4523f0[0x0]&&logger[_0x2100e9(0x161)](_0x2100e9(0x19f)+_0x4523f0[0x1]+_0x2100e9(0x182),_0x4523f0[0x0]);}),_0x48e3a3['on'](_0x1d4626[_0x5af7f8(0x179)],_0x1dc4d7=>{const _0x49220c=_0x5af7f8;process[_0x49220c(0x165)]=0x1;});_0x3be694[_0x5af7f8(0x16b)]()&&_0x3be694[_0x5af7f8(0x16b)]()[_0x5af7f8(0x169)](process[_0x5af7f8(0x195)]);_0x3be694[_0x5af7f8(0x167)]()&&_0x3be694['getStderr']()[_0x5af7f8(0x169)](process[_0x5af7f8(0x173)]);const _0x12e48f=async()=>{const _0x282141=_0x5af7f8;let _0x3c519a=0x0;const _0x7d57d9=_0x3be694[_0x282141(0x166)][_0x282141(0x1ba)](),_0x710d5a=()=>{},_0x48b10d=_0x7d57d9[_0x282141(0x172)](async _0x327cbb=>{const _0x29a5ce=_0x282141,_0x510e71={'ypmVm':function(_0x1013b0,_0x15ce3a){return _0x1d4626['PIKti'](_0x1013b0,_0x15ce3a);},'rwgub':function(_0xfd0588,_0x4abb37){return _0x1d4626['PpONy'](_0xfd0588,_0x4abb37);}};_0x327cbb['send']([0x2,![]],_0x710d5a,_0x710d5a,_0x710d5a),_0x327cbb[_0x29a5ce(0x17b)]['on'](_0x1d4626[_0x29a5ce(0x15b)],_0x58203b=>{const _0x5614b3=_0x29a5ce;_0x510e71['ypmVm'](_0x3c519a,0x0)&&_0x510e71[_0x5614b3(0x186)](_0x58203b,0x0)&&(_0x3c519a=_0x58203b);}),await _0x327cbb[_0x29a5ce(0x177)]();});await Promise['all'](_0x48b10d),process['exitCode']=_0x3c519a;const {forceExited:_0x7839db}=await _0x3be694[_0x282141(0x196)]();_0x7839db&&console[_0x282141(0x1a2)](_0x1d4626['pjWjK']),_0x1d4626[_0x282141(0x187)](_0x1be123,_0xdd5ac4);},_0x5c2a5a=_0x1d4626[_0x5af7f8(0x187)](pLimit,_0x4ab2d7),_0x5e02aa=_0x39626a=>_0x5c2a5a(async()=>{return _0x3be694['vanillaWorker'](_0x39626a);});Promise['all'](_0x29d6aa[_0x5af7f8(0x172)](_0x45e98c=>_0x5e02aa(_0x45e98c)[_0x5af7f8(0x1b6)](_0x556247=>_0x48e3a3[_0x5af7f8(0x17f)](_0x5af7f8(0x18a),[_0x45e98c[_0x5af7f8(0x191)][_0x5af7f8(0x1aa)],_0x45e98c['configuration'][_0x5af7f8(0x16d)]]),_0x196bc=>_0x48e3a3[_0x5af7f8(0x17f)](_0x5af7f8(0x19c),[_0x45e98c,_0x196bc]))))[_0x5af7f8(0x1b6)](_0x12e48f,_0x12e48f);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a54_0x7b2e3e=a54_0x2411;function a54_0x5950(){const _0x46bcb7=['SoZuu','2258858lLorpc','end','6393470ZFkTJM','runVanillaTest','SDK_POST_TEST','1126440leKVIu','run','BqCmL','1067754qgTLXB','stopMonitoring','9bcYarQ','JRNdY','formatter','5scSmDJ','runCucumberTest','configuration','IQPgL','210136sgXRpQ','mocha','../launcher/launcher','248661swSjxg','EVENTS','../../helpers/performance/performance-tester','IdNDr','2182816rOLUlO','1FPzjQI','../../helpers/test-observability/utils'];a54_0x5950=function(){return _0x46bcb7;};return a54_0x5950();}(function(_0xe6b8a4,_0x2150ae){const _0x159dbb=a54_0x2411,_0x15f41c=_0xe6b8a4();while(!![]){try{const _0x56a863=parseInt(_0x159dbb(0x1b6))/0x1*(-parseInt(_0x159dbb(0x1ae))/0x2)+parseInt(_0x159dbb(0x1b1))/0x3+-parseInt(_0x159dbb(0x1be))/0x4+-parseInt(_0x159dbb(0x1aa))/0x5*(parseInt(_0x159dbb(0x1a5))/0x6)+parseInt(_0x159dbb(0x1b9))/0x7+parseInt(_0x159dbb(0x1b5))/0x8*(-parseInt(_0x159dbb(0x1a7))/0x9)+parseInt(_0x159dbb(0x1bb))/0xa;if(_0x56a863===_0x2150ae)break;else _0x15f41c['push'](_0x15f41c['shift']());}catch(_0x4843dc){_0x15f41c['push'](_0x15f41c['shift']());}}}(a54_0x5950,0x32a4f));const PerformanceEvents=require('../../helpers/performance/constants')[a54_0x7b2e3e(0x1b2)],PerformanceTester=require(a54_0x7b2e3e(0x1b3)),{sleep}=require(a54_0x7b2e3e(0x1b7));function a54_0x2411(_0x3f1c85,_0x514008){const _0x5950e5=a54_0x5950();return a54_0x2411=function(_0x2411ac,_0x5eb7b1){_0x2411ac=_0x2411ac-0x1a5;let _0x305d66=_0x5950e5[_0x2411ac];return _0x305d66;},a54_0x2411(_0x3f1c85,_0x514008);}exports['runTest']=async(_0x408b4e,_0x35ee5a)=>{const _0x338827=a54_0x7b2e3e,_0x1c0428={'ooaXz':function(_0x44ea15,_0x4f77a2){return _0x44ea15(_0x4f77a2);},'VgyrS':_0x338827(0x1b0),'BqCmL':_0x338827(0x1af),'WpmEi':function(_0x3a3c12,_0x2c6329){return _0x3a3c12(_0x2c6329);}};PerformanceTester['startMonitoring']();const _0x168a41=_0x1c0428['ooaXz'](require,_0x1c0428['VgyrS']),_0x504937=new _0x168a41(_0x1c0428[_0x338827(0x1c0)],_0x408b4e,_0x35ee5a),_0x4c659c=await _0x504937[_0x338827(0x1bf)]();return PerformanceTester[_0x338827(0x1ba)](PerformanceEvents[_0x338827(0x1bd)]),await _0x1c0428['WpmEi'](sleep,0x3e8),PerformanceTester[_0x338827(0x1a6)](),_0x4c659c;},exports[a54_0x7b2e3e(0x1ab)]=async(_0x28f847,_0x3dfbed,_0x2e22db,_0x217004,_0xc2660a)=>{const _0xfd2e0f=a54_0x7b2e3e,_0x1eb691={'IQPgL':function(_0x74b451,_0x21c411){return _0x74b451(_0x21c411);},'IdNDr':_0xfd2e0f(0x1b0),'SoZuu':'cucumber-js'},_0x5be46a={'capability':_0x28f847,..._0x3dfbed},_0xbba727={};_0xbba727[_0xfd2e0f(0x1ac)]=_0x5be46a,_0xbba727[_0xfd2e0f(0x1a9)]=_0xc2660a;const _0x432f1b=_0xbba727,_0x3f9190=_0x1eb691[_0xfd2e0f(0x1ad)](require,_0x1eb691[_0xfd2e0f(0x1b4)]),_0x3ffba1=new _0x3f9190(_0x1eb691[_0xfd2e0f(0x1b8)],_0x432f1b,_0x2e22db,_0x217004);return await _0x3ffba1[_0xfd2e0f(0x1bf)]();},exports[a54_0x7b2e3e(0x1bc)]=async _0x68e96=>{const _0x461aa3=a54_0x7b2e3e,_0xe3733c={'DOoEh':function(_0x1931b6,_0x1b3166){return _0x1931b6(_0x1b3166);},'uouqr':_0x461aa3(0x1b0),'JRNdY':'vanilla'},_0x224666=_0xe3733c['DOoEh'](require,_0xe3733c['uouqr']),_0x1ced0b=new _0x224666(_0xe3733c[_0x461aa3(0x1a8)],_0x68e96);return await _0x1ced0b[_0x461aa3(0x1bf)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a55_0x4ffc7c=a55_0x4b14;function a55_0x1264(){const _0x1cf3c9=['vanillaWorker','cucumberWorker','XcVQt','418RTiOPu','RErtw','8bNXQVM','3RSGnvN','2445644CJcVtP','YmFmR','1262582dGzjjO','24hNcYBq','3648064XRIrev','129972cpUrDt','1887516PzSkga','510013ToPbar','270240UkIBfe','60XIihlO','./runTest'];a55_0x1264=function(){return _0x1cf3c9;};return a55_0x1264();}(function(_0x9b87d6,_0x24cb00){const _0x2389c1=a55_0x4b14,_0x52e7d5=_0x9b87d6();while(!![]){try{const _0x4d8f06=parseInt(_0x2389c1(0x88))/0x1+parseInt(_0x2389c1(0x86))/0x2*(-parseInt(_0x2389c1(0x85))/0x3)+-parseInt(_0x2389c1(0x78))/0x4+parseInt(_0x2389c1(0x7c))/0x5*(-parseInt(_0x2389c1(0x89))/0x6)+parseInt(_0x2389c1(0x7b))/0x7*(parseInt(_0x2389c1(0x84))/0x8)+parseInt(_0x2389c1(0x7a))/0x9*(parseInt(_0x2389c1(0x7d))/0xa)+-parseInt(_0x2389c1(0x82))/0xb*(-parseInt(_0x2389c1(0x79))/0xc);if(_0x4d8f06===_0x24cb00)break;else _0x52e7d5['push'](_0x52e7d5['shift']());}catch(_0x328bb7){_0x52e7d5['push'](_0x52e7d5['shift']());}}}(a55_0x1264,0x9fbfd));const {runTest,runCucumberTest,runVanillaTest}=require(a55_0x4ffc7c(0x7e));function a55_0x4b14(_0x3269a7,_0x58d006){const _0x126429=a55_0x1264();return a55_0x4b14=function(_0x4b14eb,_0x1274b0){_0x4b14eb=_0x4b14eb-0x78;let _0xfd9cb2=_0x126429[_0x4b14eb];return _0xfd9cb2;},a55_0x4b14(_0x3269a7,_0x58d006);}exports['worker']=async(_0x211585,_0x5c1c53)=>{const _0x24cf02=a55_0x4ffc7c,_0x5f1272={'XcVQt':function(_0x1b540c,_0x2bf6b0,_0x3a6423){return _0x1b540c(_0x2bf6b0,_0x3a6423);}};return await _0x5f1272[_0x24cf02(0x81)](runTest,_0x211585,_0x5c1c53);},exports[a55_0x4ffc7c(0x80)]=async(_0x1782f7,_0x21f60d,_0x131dd4,_0x119971,_0x3e22be)=>{const _0x2ba815=a55_0x4ffc7c,_0xbf5ddd={'YmFmR':function(_0x36759b,_0x19a8b2,_0xd68b2a,_0x8b8dc7,_0x98f879,_0x241a73){return _0x36759b(_0x19a8b2,_0xd68b2a,_0x8b8dc7,_0x98f879,_0x241a73);}};return await _0xbf5ddd[_0x2ba815(0x87)](runCucumberTest,_0x1782f7,_0x21f60d,_0x131dd4,_0x119971,_0x3e22be);},exports[a55_0x4ffc7c(0x7f)]=async _0x19994b=>{const _0x3da672=a55_0x4ffc7c,_0x886ffc={'RErtw':function(_0x59c068,_0x35360a){return _0x59c068(_0x35360a);}};return await _0x886ffc[_0x3da672(0x83)](runVanillaTest,_0x19994b);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a53_0x30f596=a53_0xd9a1;(function(_0x4622d1,_0x1709d5){const _0x32732a=a53_0xd9a1,_0x2bb562=_0x4622d1();while(!![]){try{const _0xcc20ee=parseInt(_0x32732a(0x1b0))/0x1*(-parseInt(_0x32732a(0x168))/0x2)+-parseInt(_0x32732a(0x1b7))/0x3+parseInt(_0x32732a(0x171))/0x4+-parseInt(_0x32732a(0x17b))/0x5+parseInt(_0x32732a(0x16b))/0x6+-parseInt(_0x32732a(0x1bb))/0x7+parseInt(_0x32732a(0x17f))/0x8*(parseInt(_0x32732a(0x1bf))/0x9);if(_0xcc20ee===_0x1709d5)break;else _0x2bb562['push'](_0x2bb562['shift']());}catch(_0x137528){_0x2bb562['push'](_0x2bb562['shift']());}}}(a53_0x2247,0x675a4));function a53_0x2247(){const _0x4fefe4=['18TUDGPt','bOtLY','EDS_URL','xjSYL','replace','appAutomate','322wTbTWl','TgOTT','bmEMZ','3778860PIiivy','uPKJD','./sharedUtils','DCBVg','OBSERVABILITY_UPLOAD_URL','gDvwN','775516FyYzEN','HSOwS','Qjczw','dezGJ','RRdqB','getConfig','getEdsInstrumentationAPIUrl','/playwright?caps=','qROlv','tlgpn','2124565wMmHHj','AfapQ','heXdY','frJKo','4219816elzwik','getAppAutomateSessionsListAPIUrl','YLupC','NCqFa','aAnkP','getAutomateSessionsListAPIUrl','KjzFA','QDtXD','GNCSK','xhvNP','oEPon','QCJFc','APjpH','Xkfog','CurOK','IcExk','oWNpq','Ciygj','XfoQs','apis','ZCGAy','oLKNx','qmbzm','UUWeb','KtQza','hMmAg','mswwb','getAutomateSessionStatusAPIUrl','BROWSERSTACK_API_URL','QDCQp','wss:','api','getBStackAPIUrl','PLAYWRIGHT_HUB_URL','exports','upload','endsWith','nNpTs','DKbeq','zwxWS','observability','msbcq','automate','atQMG','edsInstrumentation','yZQsA','IYiAf','toString','oTcUt','1237xhahaJ','getAppAutomateSessionStatusAPIUrl','LUsTV','rhjIC','VIYFT','getAutomateSessionNameAPIUrl','LLNcw','2278557agOyzJ','APP_UPLOAD_URL','FsABm','JRPvg','502054tDpVOd','JCqhN','getInstance','qNPlf'];a53_0x2247=function(){return _0x4fefe4;};return a53_0x2247();}function a53_0xd9a1(_0x3acad6,_0x526457){const _0x224721=a53_0x2247();return a53_0xd9a1=function(_0xd9a144,_0x5a4114){_0xd9a144=_0xd9a144-0x166;let _0x3c1c5f=_0x224721[_0xd9a144];return _0x3c1c5f;},a53_0xd9a1(_0x3acad6,_0x526457);}const constants=require('./constants'),{nestedKeyValue}=require(a53_0x30f596(0x16d)),getBrowserstackCLI=()=>{const _0x40afe8=a53_0x30f596,_0xaa8f11={'iqvhB':function(_0x41e10f,_0x261133){return _0x41e10f(_0x261133);},'TgOTT':'../v2/browserstackCLI'};return _0xaa8f11['iqvhB'](require,_0xaa8f11[_0x40afe8(0x169)]);};class APIUtilityMethods{static[a53_0x30f596(0x19f)](_0x51b3d6){const _0x6a3378=a53_0x30f596,_0x1b9fd3={'GNCSK':function(_0x139539){return _0x139539();},'LUsTV':function(_0x700d86,_0x488b50,_0x3751fb){return _0x700d86(_0x488b50,_0x3751fb);},'FKLju':_0x6a3378(0x192),'oTcUt':_0x6a3378(0x1a9),'dsqON':'api','qmbzm':function(_0x27cdf3,_0x324e65){return _0x27cdf3===_0x324e65;},'atQMG':function(_0xccf978,_0xd41b84){return _0xccf978+_0xd41b84;}},_0x56e84c=_0x1b9fd3[_0x6a3378(0x187)](getBrowserstackCLI),_0x107fc6=_0x1b9fd3[_0x6a3378(0x1b2)](nestedKeyValue,_0x56e84c['getInstance']()[_0x6a3378(0x176)](),[_0x1b9fd3['FKLju'],_0x1b9fd3[_0x6a3378(0x1af)],_0x1b9fd3['dsqON']])||constants['BROWSERSTACK_API_URL'];if(!_0x51b3d6||_0x1b9fd3[_0x6a3378(0x195)](_0x51b3d6,''))return _0x107fc6;const _0x4890dc=_0x107fc6[_0x6a3378(0x1a3)]('/')?_0x107fc6:_0x1b9fd3[_0x6a3378(0x1aa)](_0x107fc6,'/');return new URL(_0x51b3d6,_0x4890dc)[_0x6a3378(0x1ae)]();}static[a53_0x30f596(0x177)](_0x1a5213){const _0x219c8d=a53_0x30f596,_0x5145c3={'qROlv':function(_0x57649c){return _0x57649c();},'YLupC':function(_0x301eb0,_0x43ddd4,_0x34ca84){return _0x301eb0(_0x43ddd4,_0x34ca84);},'APjpH':_0x219c8d(0x192),'bOtLY':_0x219c8d(0x1ab),'XfoQs':_0x219c8d(0x19e),'RRdqB':function(_0x4b2fb8,_0x1aafb0){return _0x4b2fb8===_0x1aafb0;},'KtQza':function(_0x2cb15b,_0x323c93){return _0x2cb15b+_0x323c93;}},_0x5a28e0=_0x5145c3[_0x219c8d(0x179)](getBrowserstackCLI),_0x5b19b6=_0x5145c3[_0x219c8d(0x181)](nestedKeyValue,_0x5a28e0[_0x219c8d(0x1bd)]()['getConfig'](),[_0x5145c3[_0x219c8d(0x18b)],_0x5145c3[_0x219c8d(0x1c0)],_0x5145c3[_0x219c8d(0x191)]])||constants[_0x219c8d(0x1c1)];if(!_0x1a5213||_0x5145c3[_0x219c8d(0x175)](_0x1a5213,''))return _0x5b19b6;const _0x3f5c49=_0x5b19b6['endsWith']('/')?_0x5b19b6:_0x5145c3[_0x219c8d(0x197)](_0x5b19b6,'/');return new URL(_0x1a5213,_0x3f5c49)[_0x219c8d(0x1ae)]();}static[a53_0x30f596(0x19a)](_0x12c816){const _0x318b4d=a53_0x30f596,_0x402924={'bbDUR':function(_0x561f92){return _0x561f92();},'IYiAf':function(_0x599e5e,_0x21edd3,_0x202844){return _0x599e5e(_0x21edd3,_0x202844);},'QCJFc':'apis','Ciygj':_0x318b4d(0x1a9),'QDtXD':'api','crQQa':function(_0x16a06c,_0x261e1c){return _0x16a06c===_0x261e1c;},'qKxtr':function(_0xc6191b,_0x22af0e){return _0xc6191b+_0x22af0e;}},_0x1aed70=_0x402924['bbDUR'](getBrowserstackCLI),_0x4daea1=_0x402924[_0x318b4d(0x1ad)](nestedKeyValue,_0x1aed70['getInstance']()[_0x318b4d(0x176)](),[_0x402924[_0x318b4d(0x18a)],_0x402924[_0x318b4d(0x190)],_0x402924[_0x318b4d(0x186)]])||constants[_0x318b4d(0x19b)];if(!_0x12c816||_0x402924['crQQa'](_0x12c816,''))return _0x4daea1;const _0x19bda7=_0x4daea1[_0x318b4d(0x1a3)]('/')?_0x4daea1:_0x402924['qKxtr'](_0x4daea1,'/');return new URL(_0x12c816,_0x19bda7)[_0x318b4d(0x1ae)]();}static[a53_0x30f596(0x1b1)](_0x5958e2){const _0x195e3e=a53_0x30f596,_0x58bd3e={'gDvwN':function(_0x26834d){return _0x26834d();},'xjSYL':function(_0x59de7d,_0x18ea85,_0x1cc9c1){return _0x59de7d(_0x18ea85,_0x1cc9c1);},'bmEMZ':_0x195e3e(0x192),'hMmAg':_0x195e3e(0x167),'KjzFA':_0x195e3e(0x19e),'QDCQp':function(_0x3cc25b,_0x159c66){return _0x3cc25b===_0x159c66;},'FsABm':function(_0x2602f8,_0x553297){return _0x2602f8+_0x553297;}},_0x2bd095=_0x58bd3e[_0x195e3e(0x170)](getBrowserstackCLI),_0x163e66=_0x58bd3e[_0x195e3e(0x1c2)](nestedKeyValue,_0x2bd095['getInstance']()[_0x195e3e(0x176)](),[_0x58bd3e[_0x195e3e(0x16a)],_0x58bd3e[_0x195e3e(0x198)],_0x58bd3e[_0x195e3e(0x185)]])||constants[_0x195e3e(0x19b)];if(!_0x5958e2||_0x58bd3e[_0x195e3e(0x19c)](_0x5958e2,''))return _0x163e66;const _0x2d74c0=_0x163e66['endsWith']('/')?_0x163e66:_0x58bd3e[_0x195e3e(0x1b9)](_0x163e66,'/');return new URL(_0x5958e2,_0x2d74c0)[_0x195e3e(0x1ae)]();}static[a53_0x30f596(0x1b5)](_0x2b6d47){const _0x263d4b=a53_0x30f596,_0x4d1549={'UUWeb':function(_0x5a5e54){return _0x5a5e54();},'mswwb':function(_0x8325d9,_0x1c0eba,_0x59fbd7){return _0x8325d9(_0x1c0eba,_0x59fbd7);},'rhjIC':_0x263d4b(0x192),'bQeds':_0x263d4b(0x1a9),'KpTPo':'api','CWrkw':function(_0x18ba82,_0x5bd471){return _0x18ba82===_0x5bd471;},'IcExk':function(_0xed2968,_0x37a805){return _0xed2968+_0x37a805;}},_0x3c2449=_0x4d1549[_0x263d4b(0x196)](getBrowserstackCLI),_0x4c4e59=_0x4d1549[_0x263d4b(0x199)](nestedKeyValue,_0x3c2449[_0x263d4b(0x1bd)]()[_0x263d4b(0x176)](),[_0x4d1549[_0x263d4b(0x1b3)],_0x4d1549['bQeds'],_0x4d1549['KpTPo']])||constants[_0x263d4b(0x19b)];if(!_0x2b6d47||_0x4d1549['CWrkw'](_0x2b6d47,''))return _0x4c4e59;const _0x141b91=_0x4c4e59[_0x263d4b(0x1a3)]('/')?_0x4c4e59:_0x4d1549[_0x263d4b(0x18e)](_0x4c4e59,'/');return new URL(_0x2b6d47,_0x141b91)[_0x263d4b(0x1ae)]();}static['getAppAutomateSessionNameAPIUrl'](_0x2d6b23){const _0x9a1410=a53_0x30f596,_0xe96625={'DKbeq':function(_0x16af8b){return _0x16af8b();},'qNPlf':function(_0x361c67,_0x230f20,_0x226892){return _0x361c67(_0x230f20,_0x226892);},'frJKo':'apis','VIYFT':_0x9a1410(0x167),'zwxWS':_0x9a1410(0x19e),'lKXrB':function(_0xae85f0,_0x30dcf8){return _0xae85f0===_0x30dcf8;},'TVLNT':function(_0x2553f1,_0x298f63){return _0x2553f1+_0x298f63;}},_0x4e63d8=_0xe96625[_0x9a1410(0x1a5)](getBrowserstackCLI),_0x14789f=_0xe96625[_0x9a1410(0x1be)](nestedKeyValue,_0x4e63d8[_0x9a1410(0x1bd)]()[_0x9a1410(0x176)](),[_0xe96625[_0x9a1410(0x17e)],_0xe96625[_0x9a1410(0x1b4)],_0xe96625[_0x9a1410(0x1a6)]])||constants[_0x9a1410(0x19b)];if(!_0x2d6b23||_0xe96625['lKXrB'](_0x2d6b23,''))return _0x14789f;const _0xd6a2dd=_0x14789f[_0x9a1410(0x1a3)]('/')?_0x14789f:_0xe96625['TVLNT'](_0x14789f,'/');return new URL(_0x2d6b23,_0xd6a2dd)['toString']();}static[a53_0x30f596(0x184)](_0x2bae90){const _0x3483b7=a53_0x30f596,_0x5899a5={'oEPon':function(_0x2dbf1a){return _0x2dbf1a();},'Xkfog':function(_0x4e248f,_0x3c97c5,_0x341419){return _0x4e248f(_0x3c97c5,_0x341419);},'heXdY':'apis','rVkOF':_0x3483b7(0x1a9),'dezGJ':'api','JCqhN':function(_0x29e137,_0x26a758){return _0x29e137===_0x26a758;},'jMzZC':function(_0x20028f,_0x451ea8){return _0x20028f+_0x451ea8;}},_0xaeca1=_0x5899a5[_0x3483b7(0x189)](getBrowserstackCLI),_0x1eee28=_0x5899a5[_0x3483b7(0x18c)](nestedKeyValue,_0xaeca1[_0x3483b7(0x1bd)]()['getConfig'](),[_0x5899a5[_0x3483b7(0x17d)],_0x5899a5['rVkOF'],_0x5899a5[_0x3483b7(0x174)]])||constants['BROWSERSTACK_API_URL'];if(!_0x2bae90||_0x5899a5[_0x3483b7(0x1bc)](_0x2bae90,''))return _0x1eee28;const _0x61d946=_0x1eee28['endsWith']('/')?_0x1eee28:_0x5899a5['jMzZC'](_0x1eee28,'/');return new URL(_0x2bae90,_0x61d946)[_0x3483b7(0x1ae)]()[_0x3483b7(0x166)](/^https?:\/\//,'');}static[a53_0x30f596(0x180)](_0x480bf2){const _0x1cbcc3=a53_0x30f596,_0x4d3c56={'uPKJD':function(_0x3a0b10){return _0x3a0b10();},'CurOK':function(_0x7f69af,_0x53c04c,_0x1d4ca9){return _0x7f69af(_0x53c04c,_0x1d4ca9);},'aeYOy':_0x1cbcc3(0x192),'nNpTs':'appAutomate','ZCGAy':'api','HSOwS':function(_0x400914,_0x426360){return _0x400914===_0x426360;},'xhvNP':function(_0x2926d7,_0x54aa98){return _0x2926d7+_0x54aa98;}},_0xfa950a=_0x4d3c56[_0x1cbcc3(0x16c)](getBrowserstackCLI),_0x5d0fde=_0x4d3c56[_0x1cbcc3(0x18d)](nestedKeyValue,_0xfa950a['getInstance']()[_0x1cbcc3(0x176)](),[_0x4d3c56['aeYOy'],_0x4d3c56[_0x1cbcc3(0x1a4)],_0x4d3c56[_0x1cbcc3(0x193)]])||constants[_0x1cbcc3(0x1b8)];if(!_0x480bf2||_0x4d3c56[_0x1cbcc3(0x172)](_0x480bf2,''))return _0x5d0fde;const _0x39a262=_0x5d0fde['endsWith']('/')?_0x5d0fde:_0x4d3c56[_0x1cbcc3(0x188)](_0x5d0fde,'/');return new URL(_0x480bf2,_0x39a262)[_0x1cbcc3(0x1ae)]()[_0x1cbcc3(0x166)](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x5243cb){const _0x4d6a37=a53_0x30f596,_0x105b87={'oWNpq':function(_0x17142f){return _0x17142f();},'fxCOQ':function(_0x4a7cf1,_0x1235c7,_0xb5e728){return _0x4a7cf1(_0x1235c7,_0xb5e728);},'JRPvg':_0x4d6a37(0x192),'yZQsA':_0x4d6a37(0x1a7),'RwEIi':_0x4d6a37(0x1a2),'Qjczw':function(_0x1e6c36,_0x3d1676){return _0x1e6c36===_0x3d1676;},'AfapQ':function(_0x2315b7,_0x4bb3e4){return _0x2315b7+_0x4bb3e4;}},_0x3cf3da=_0x105b87[_0x4d6a37(0x18f)](getBrowserstackCLI),_0x5dcb6a=_0x105b87['fxCOQ'](nestedKeyValue,_0x3cf3da[_0x4d6a37(0x1bd)]()[_0x4d6a37(0x176)](),[_0x105b87[_0x4d6a37(0x1ba)],_0x105b87[_0x4d6a37(0x1ac)],_0x105b87['RwEIi']])||constants[_0x4d6a37(0x16f)];if(!_0x5243cb||_0x105b87[_0x4d6a37(0x173)](_0x5243cb,''))return _0x5dcb6a;const _0x1ed1d1=_0x5dcb6a['endsWith']('/')?_0x5dcb6a:_0x105b87[_0x4d6a37(0x17c)](_0x5dcb6a,'/');return new URL(_0x5243cb,_0x1ed1d1)[_0x4d6a37(0x1ae)]();}static['getPlaywrightHubUrl'](_0x25002e){const _0x9ff122=a53_0x30f596,_0x3b1c83={'Ertbx':function(_0x293a02){return _0x293a02();},'NCqFa':function(_0x270713,_0x3180f8,_0x3367b9){return _0x270713(_0x3180f8,_0x3367b9);},'tlgpn':_0x9ff122(0x192),'aAnkP':'automate','msbcq':'cdp','oLKNx':_0x9ff122(0x19d),'ybpNT':function(_0x2d4f40,_0x25c8d9){return _0x2d4f40===_0x25c8d9;},'DCBVg':function(_0x3edf44,_0x3e87c1){return _0x3edf44+_0x3e87c1;},'LLNcw':_0x9ff122(0x178)},_0x149291=_0x3b1c83['Ertbx'](getBrowserstackCLI),_0x1c18d5=_0x3b1c83[_0x9ff122(0x182)](nestedKeyValue,_0x149291[_0x9ff122(0x1bd)]()[_0x9ff122(0x176)](),[_0x3b1c83[_0x9ff122(0x17a)],_0x3b1c83[_0x9ff122(0x183)],_0x3b1c83[_0x9ff122(0x1a8)]]),_0x34df06=(_0x1c18d5?_0x1c18d5[_0x9ff122(0x166)](/^https:/,_0x3b1c83[_0x9ff122(0x194)]):null)||constants[_0x9ff122(0x1a0)];let _0x2f3bb4;if(!_0x25002e||_0x3b1c83['ybpNT'](_0x25002e,''))_0x2f3bb4=_0x34df06;else{const _0x3b2b32=_0x34df06[_0x9ff122(0x1a3)]('/')?_0x34df06:_0x3b1c83[_0x9ff122(0x16e)](_0x34df06,'/');_0x2f3bb4=new URL(_0x25002e,_0x3b2b32)[_0x9ff122(0x1ae)]();}return!_0x2f3bb4[_0x9ff122(0x1a3)](_0x3b1c83[_0x9ff122(0x1b6)])&&(_0x2f3bb4+=_0x3b1c83[_0x9ff122(0x1b6)]),_0x2f3bb4;}}module[a53_0x30f596(0x1a1)]=APIUtilityMethods;
|
|
1
|
+
const a56_0x41c62b=a56_0x54a7;function a56_0x54a7(_0x264d58,_0x3cf439){const _0x4a7dd2=a56_0x4a7d();return a56_0x54a7=function(_0x54a7a2,_0x2a5385){_0x54a7a2=_0x54a7a2-0x1c7;let _0x3a979e=_0x4a7dd2[_0x54a7a2];return _0x3a979e;},a56_0x54a7(_0x264d58,_0x3cf439);}(function(_0x24e100,_0x5c6517){const _0xc90763=a56_0x54a7,_0x3b2569=_0x24e100();while(!![]){try{const _0x3f1ec3=-parseInt(_0xc90763(0x212))/0x1*(parseInt(_0xc90763(0x1ca))/0x2)+-parseInt(_0xc90763(0x1e9))/0x3*(-parseInt(_0xc90763(0x224))/0x4)+-parseInt(_0xc90763(0x225))/0x5+parseInt(_0xc90763(0x203))/0x6+-parseInt(_0xc90763(0x213))/0x7+-parseInt(_0xc90763(0x1f7))/0x8*(-parseInt(_0xc90763(0x1fb))/0x9)+-parseInt(_0xc90763(0x1cf))/0xa;if(_0x3f1ec3===_0x5c6517)break;else _0x3b2569['push'](_0x3b2569['shift']());}catch(_0x41b137){_0x3b2569['push'](_0x3b2569['shift']());}}}(a56_0x4a7d,0x82796));function a56_0x4a7d(){const _0x2e19d3=['59318McezVW','getAutomateSessionStatusAPIUrl','LTqIU','NFyTE','./sharedUtils','PUPPETEER_HUB_URL','observability','exports','ZUkXw','yZUwO','toString','GOwRT','qxuxS','getAutoCaptureLogsAPIUrl','zqPxe','/playwright?caps=','mdNjd','2763832MbvZAE','256605dokLpQ','replace','IDWcc','IVVMy','EDS_URL','OFbGN','sLUXf','APP_UPLOAD_URL','GYgSG','NfQNE','lmYEM','qSPEz','wss:','10rTLdir','rtIvR','getAutomateSessionNameAPIUrl','hRvlV','Wsght','6337520DVaCrO','MKgMn','OARMq','ADMBT','tIebV','VfUqB','YGZXo','automate','iYIOz','CdOag','QbQsL','yCXsy','vVfLO','dGkgK','api','Xrssn','apis','nYdfm','upload','GJluF','TAeIj','jWCVe','appAutomate','getPlaywrightHubUrl','JjCUA','GDaIC','3IbEpnw','./constants','OsoLr','sywAI','VmmOb','jyBKe','OBSERVABILITY_UPLOAD_URL','nTaXT','endsWith','BROWSERSTACK_API_URL','vfzPK','dCizG','tACCV','hsLEx','8yEdveh','GmyLh','yadXx','cdp','5327037BMrgLu','tanvh','cPqGH','AGmBC','LtOnq','gCstA','getConfig','Bqhib','5752908wCMPZo','MSKcV','getPuppeteerHubUrl','vGXvk','getAutomateSessionsListAPIUrl','gpOvC','xCWLI','getAppAutomateSessionNameAPIUrl','BPAen','getInstance','PLAYWRIGHT_HUB_URL','UsDrc','RmOQK','getEdsInstrumentationAPIUrl','getAppAutomateSessionsListAPIUrl','202740DEtbsN'];a56_0x4a7d=function(){return _0x2e19d3;};return a56_0x4a7d();}const constants=require(a56_0x41c62b(0x1ea)),{nestedKeyValue}=require(a56_0x41c62b(0x217)),getBrowserstackCLI=()=>{const _0x4be137={'WvVmy':function(_0x3b937b,_0x3a0da2){return _0x3b937b(_0x3a0da2);},'yJDDs':'../v2/browserstackCLI'};return _0x4be137['WvVmy'](require,_0x4be137['yJDDs']);};class APIUtilityMethods{static['getBStackAPIUrl'](_0xa29cef){const _0x865fd5=a56_0x41c62b,_0x191c7a={'dCizG':function(_0x89628){return _0x89628();},'fLpbL':function(_0x51b6be,_0x1f1b4c,_0x5d712c){return _0x51b6be(_0x1f1b4c,_0x5d712c);},'jyBKe':_0x865fd5(0x1df),'CdOag':'automate','WfOiv':_0x865fd5(0x1dd),'mBHIx':function(_0x5c41a7,_0x227e55){return _0x5c41a7===_0x227e55;},'sywAI':function(_0x5c97fd,_0x36da40){return _0x5c97fd+_0x36da40;}},_0xc693fc=_0x191c7a[_0x865fd5(0x1f4)](getBrowserstackCLI),_0x315f5e=_0x191c7a['fLpbL'](nestedKeyValue,_0xc693fc[_0x865fd5(0x20c)]()['getConfig'](),[_0x191c7a[_0x865fd5(0x1ee)],_0x191c7a[_0x865fd5(0x1d8)],_0x191c7a['WfOiv']])||constants[_0x865fd5(0x1f2)];if(!_0xa29cef||_0x191c7a['mBHIx'](_0xa29cef,''))return _0x315f5e;const _0x12e451=_0x315f5e[_0x865fd5(0x1f1)]('/')?_0x315f5e:_0x191c7a[_0x865fd5(0x1ec)](_0x315f5e,'/');return new URL(_0xa29cef,_0x12e451)['toString']();}static[a56_0x41c62b(0x210)](_0xa9535b){const _0x18a7d4=a56_0x41c62b,_0x19c355={'IDWcc':function(_0x38b1a9){return _0x38b1a9();},'JjCUA':function(_0x31d9b6,_0x26e113,_0x120ddc){return _0x31d9b6(_0x26e113,_0x120ddc);},'QbQsL':_0x18a7d4(0x1df),'ZzTMs':'edsInstrumentation','gCstA':'api','sLUXf':function(_0x15f992,_0x2e49a1){return _0x15f992===_0x2e49a1;},'GYgSG':function(_0x20c2cc,_0x59bf1e){return _0x20c2cc+_0x59bf1e;}},_0x1c4d40=_0x19c355[_0x18a7d4(0x227)](getBrowserstackCLI),_0x52dfe2=_0x19c355[_0x18a7d4(0x1e7)](nestedKeyValue,_0x1c4d40[_0x18a7d4(0x20c)]()[_0x18a7d4(0x201)](),[_0x19c355[_0x18a7d4(0x1d9)],_0x19c355['ZzTMs'],_0x19c355[_0x18a7d4(0x200)]])||constants[_0x18a7d4(0x229)];if(!_0xa9535b||_0x19c355[_0x18a7d4(0x22b)](_0xa9535b,''))return _0x52dfe2;const _0x33ad19=_0x52dfe2[_0x18a7d4(0x1f1)]('/')?_0x52dfe2:_0x19c355[_0x18a7d4(0x22d)](_0x52dfe2,'/');return new URL(_0xa9535b,_0x33ad19)[_0x18a7d4(0x21d)]();}static[a56_0x41c62b(0x214)](_0x35106d){const _0x2db8c2=a56_0x41c62b,_0x43faa3={'iGzAh':function(_0x589756){return _0x589756();},'GDaIC':function(_0x388e5c,_0x3dc3b2,_0x24ccbc){return _0x388e5c(_0x3dc3b2,_0x24ccbc);},'GJluF':_0x2db8c2(0x1df),'RmOQK':_0x2db8c2(0x1d6),'VmmOb':_0x2db8c2(0x1dd),'rtIvR':function(_0x49bea1,_0x825c6c){return _0x49bea1===_0x825c6c;},'LtOnq':function(_0xc0af98,_0x348c39){return _0xc0af98+_0x348c39;}},_0x27cd93=_0x43faa3['iGzAh'](getBrowserstackCLI),_0x20e5ac=_0x43faa3[_0x2db8c2(0x1e8)](nestedKeyValue,_0x27cd93[_0x2db8c2(0x20c)]()[_0x2db8c2(0x201)](),[_0x43faa3[_0x2db8c2(0x1e2)],_0x43faa3[_0x2db8c2(0x20f)],_0x43faa3[_0x2db8c2(0x1ed)]])||constants[_0x2db8c2(0x1f2)];if(!_0x35106d||_0x43faa3[_0x2db8c2(0x1cb)](_0x35106d,''))return _0x20e5ac;const _0x4c6470=_0x20e5ac[_0x2db8c2(0x1f1)]('/')?_0x20e5ac:_0x43faa3[_0x2db8c2(0x1ff)](_0x20e5ac,'/');return new URL(_0x35106d,_0x4c6470)[_0x2db8c2(0x21d)]();}static['getAppAutomateSessionStatusAPIUrl'](_0x1252dd){const _0x45ae51=a56_0x41c62b,_0xba647a={'MKgMn':function(_0x13ab36){return _0x13ab36();},'WBLyP':function(_0x46c0f0,_0x1e12ed,_0x21b470){return _0x46c0f0(_0x1e12ed,_0x21b470);},'tIebV':'apis','nYdfm':_0x45ae51(0x1e5),'lmYEM':'api','UsDrc':function(_0x33fca2,_0x4c1d02){return _0x33fca2===_0x4c1d02;},'EIoXe':function(_0x24346e,_0xfc8e06){return _0x24346e+_0xfc8e06;}},_0x36404f=_0xba647a[_0x45ae51(0x1d0)](getBrowserstackCLI),_0x31a1e2=_0xba647a['WBLyP'](nestedKeyValue,_0x36404f['getInstance']()[_0x45ae51(0x201)](),[_0xba647a[_0x45ae51(0x1d3)],_0xba647a[_0x45ae51(0x1e0)],_0xba647a[_0x45ae51(0x1c7)]])||constants[_0x45ae51(0x1f2)];if(!_0x1252dd||_0xba647a[_0x45ae51(0x20e)](_0x1252dd,''))return _0x31a1e2;const _0x467af5=_0x31a1e2[_0x45ae51(0x1f1)]('/')?_0x31a1e2:_0xba647a['EIoXe'](_0x31a1e2,'/');return new URL(_0x1252dd,_0x467af5)[_0x45ae51(0x21d)]();}static[a56_0x41c62b(0x1cc)](_0x3424d1){const _0xe76623=a56_0x41c62b,_0x27e672={'HlsLC':function(_0x1d4a5b){return _0x1d4a5b();},'TAeIj':function(_0x3fc43b,_0x5b99da,_0xee0ed){return _0x3fc43b(_0x5b99da,_0xee0ed);},'tACCV':_0xe76623(0x1df),'IVVMy':'automate','cPqGH':'api','VAPXj':function(_0x4006cf,_0xb68d20){return _0x4006cf===_0xb68d20;},'vfzPK':function(_0x3d3ffc,_0x4e0009){return _0x3d3ffc+_0x4e0009;}},_0x5e039e=_0x27e672['HlsLC'](getBrowserstackCLI),_0x141200=_0x27e672[_0xe76623(0x1e3)](nestedKeyValue,_0x5e039e[_0xe76623(0x20c)]()['getConfig'](),[_0x27e672[_0xe76623(0x1f5)],_0x27e672[_0xe76623(0x228)],_0x27e672[_0xe76623(0x1fd)]])||constants[_0xe76623(0x1f2)];if(!_0x3424d1||_0x27e672['VAPXj'](_0x3424d1,''))return _0x141200;const _0x56ce4d=_0x141200[_0xe76623(0x1f1)]('/')?_0x141200:_0x27e672[_0xe76623(0x1f3)](_0x141200,'/');return new URL(_0x3424d1,_0x56ce4d)['toString']();}static[a56_0x41c62b(0x20a)](_0x32ceea){const _0x5c8d6e=a56_0x41c62b,_0x44f805={'GmyLh':function(_0x3da84b){return _0x3da84b();},'zqPxe':function(_0x370db0,_0x4989ee,_0x400994){return _0x370db0(_0x4989ee,_0x400994);},'qSPEz':'apis','gqawl':_0x5c8d6e(0x1e5),'jWCVe':_0x5c8d6e(0x1dd),'hRvlV':function(_0x51688e,_0x4a9a67){return _0x51688e===_0x4a9a67;},'BPAen':function(_0x3fed1a,_0x395acc){return _0x3fed1a+_0x395acc;}},_0x2fc3d6=_0x44f805[_0x5c8d6e(0x1f8)](getBrowserstackCLI),_0x1c7937=_0x44f805[_0x5c8d6e(0x221)](nestedKeyValue,_0x2fc3d6[_0x5c8d6e(0x20c)]()[_0x5c8d6e(0x201)](),[_0x44f805[_0x5c8d6e(0x1c8)],_0x44f805['gqawl'],_0x44f805[_0x5c8d6e(0x1e4)]])||constants['BROWSERSTACK_API_URL'];if(!_0x32ceea||_0x44f805[_0x5c8d6e(0x1cd)](_0x32ceea,''))return _0x1c7937;const _0x5e602f=_0x1c7937['endsWith']('/')?_0x1c7937:_0x44f805[_0x5c8d6e(0x20b)](_0x1c7937,'/');return new URL(_0x32ceea,_0x5e602f)[_0x5c8d6e(0x21d)]();}static[a56_0x41c62b(0x207)](_0x151827){const _0x3a1347=a56_0x41c62b,_0x142cc9={'yadXx':function(_0x4f76d5){return _0x4f76d5();},'qxuxS':function(_0x274b31,_0x4f9f87,_0x2361b5){return _0x274b31(_0x4f9f87,_0x2361b5);},'YhgFs':_0x3a1347(0x1df),'gpOvC':_0x3a1347(0x1d6),'hsLEx':_0x3a1347(0x1dd),'dGkgK':function(_0x5ade03,_0x9dd488){return _0x5ade03===_0x9dd488;},'LTqIU':function(_0x38efca,_0x49445d){return _0x38efca+_0x49445d;}},_0x3f63f2=_0x142cc9[_0x3a1347(0x1f9)](getBrowserstackCLI),_0xcda90b=_0x142cc9[_0x3a1347(0x21f)](nestedKeyValue,_0x3f63f2[_0x3a1347(0x20c)]()['getConfig'](),[_0x142cc9['YhgFs'],_0x142cc9[_0x3a1347(0x208)],_0x142cc9[_0x3a1347(0x1f6)]])||constants[_0x3a1347(0x1f2)];if(!_0x151827||_0x142cc9[_0x3a1347(0x1dc)](_0x151827,''))return _0xcda90b;const _0x2c0b12=_0xcda90b[_0x3a1347(0x1f1)]('/')?_0xcda90b:_0x142cc9[_0x3a1347(0x215)](_0xcda90b,'/');return new URL(_0x151827,_0x2c0b12)[_0x3a1347(0x21d)]()[_0x3a1347(0x226)](/^https?:\/\//,'');}static[a56_0x41c62b(0x211)](_0x490a05){const _0x1c895e=a56_0x41c62b,_0xb284a0={'RkvHv':function(_0x5c1404){return _0x5c1404();},'ADMBT':function(_0x5b548a,_0x109559,_0x48de0a){return _0x5b548a(_0x109559,_0x48de0a);},'NfQNE':_0x1c895e(0x1df),'iYIOz':'appAutomate','FaOGu':_0x1c895e(0x1dd),'yZUwO':function(_0x531957,_0x83fb4e){return _0x531957===_0x83fb4e;},'xCWLI':function(_0x57f344,_0x25627c){return _0x57f344+_0x25627c;}},_0x2b7027=_0xb284a0['RkvHv'](getBrowserstackCLI),_0x431b45=_0xb284a0[_0x1c895e(0x1d2)](nestedKeyValue,_0x2b7027[_0x1c895e(0x20c)]()['getConfig'](),[_0xb284a0[_0x1c895e(0x22e)],_0xb284a0[_0x1c895e(0x1d7)],_0xb284a0['FaOGu']])||constants[_0x1c895e(0x22c)];if(!_0x490a05||_0xb284a0[_0x1c895e(0x21c)](_0x490a05,''))return _0x431b45;const _0x2868c1=_0x431b45[_0x1c895e(0x1f1)]('/')?_0x431b45:_0xb284a0[_0x1c895e(0x209)](_0x431b45,'/');return new URL(_0x490a05,_0x2868c1)['toString']()[_0x1c895e(0x226)](/^https?:\/\//,'');}static[a56_0x41c62b(0x220)](_0x3144dd){const _0x1459d2=a56_0x41c62b,_0x28f240={'OFbGN':function(_0x2651e2){return _0x2651e2();},'AGmBC':function(_0x530f12,_0x2fb7a4,_0x9ea7df){return _0x530f12(_0x2fb7a4,_0x9ea7df);},'vVfLO':'apis','vGXvk':_0x1459d2(0x219),'ZUkXw':_0x1459d2(0x1e1),'MSKcV':function(_0xe4d507,_0x447949){return _0xe4d507===_0x447949;},'OARMq':function(_0xbb311f,_0xff6790){return _0xbb311f+_0xff6790;}},_0x4e4e9f=_0x28f240[_0x1459d2(0x22a)](getBrowserstackCLI),_0xf40e81=_0x28f240[_0x1459d2(0x1fe)](nestedKeyValue,_0x4e4e9f['getInstance']()[_0x1459d2(0x201)](),[_0x28f240[_0x1459d2(0x1db)],_0x28f240[_0x1459d2(0x206)],_0x28f240[_0x1459d2(0x21b)]])||constants[_0x1459d2(0x1ef)];if(!_0x3144dd||_0x28f240[_0x1459d2(0x204)](_0x3144dd,''))return _0xf40e81;const _0x2bae58=_0xf40e81['endsWith']('/')?_0xf40e81:_0x28f240[_0x1459d2(0x1d1)](_0xf40e81,'/');return new URL(_0x3144dd,_0x2bae58)[_0x1459d2(0x21d)]();}static[a56_0x41c62b(0x1e6)](_0x2b9991){const _0x158c7e=a56_0x41c62b,_0x1a6e15={'YGZXo':function(_0x5c05e8){return _0x5c05e8();},'whGUt':function(_0x3afe77,_0x2bb53c,_0x2d3091){return _0x3afe77(_0x2bb53c,_0x2d3091);},'tanvh':_0x158c7e(0x1df),'ntgGO':_0x158c7e(0x1d6),'JcFhE':_0x158c7e(0x1fa),'Bqhib':_0x158c7e(0x1c9),'OsoLr':function(_0xf4755b,_0x3a0097){return _0xf4755b===_0x3a0097;},'NFyTE':function(_0x4ae1a4,_0x3cdbc6){return _0x4ae1a4+_0x3cdbc6;},'GOwRT':_0x158c7e(0x222)},_0x51b502=_0x1a6e15[_0x158c7e(0x1d5)](getBrowserstackCLI),_0x1b8ad0=_0x1a6e15['whGUt'](nestedKeyValue,_0x51b502[_0x158c7e(0x20c)]()[_0x158c7e(0x201)](),[_0x1a6e15[_0x158c7e(0x1fc)],_0x1a6e15['ntgGO'],_0x1a6e15['JcFhE']]),_0x57c29f=(_0x1b8ad0?_0x1b8ad0['replace'](/^https:/,_0x1a6e15[_0x158c7e(0x202)]):null)||constants[_0x158c7e(0x20d)];let _0x5a128c;if(!_0x2b9991||_0x1a6e15[_0x158c7e(0x1eb)](_0x2b9991,''))_0x5a128c=_0x57c29f;else{const _0x1cb971=_0x57c29f[_0x158c7e(0x1f1)]('/')?_0x57c29f:_0x1a6e15[_0x158c7e(0x216)](_0x57c29f,'/');_0x5a128c=new URL(_0x2b9991,_0x1cb971)[_0x158c7e(0x21d)]();}return!_0x5a128c['endsWith'](_0x1a6e15[_0x158c7e(0x21e)])&&(_0x5a128c+=_0x1a6e15[_0x158c7e(0x21e)]),_0x5a128c;}static[a56_0x41c62b(0x205)](_0x24b165){const _0x589f6b=a56_0x41c62b,_0x2e734b={'UGOpE':function(_0x520005){return _0x520005();},'Xrssn':function(_0x36994e,_0x32beee,_0x367cc6){return _0x36994e(_0x32beee,_0x367cc6);},'nTaXT':_0x589f6b(0x1df),'VfUqB':_0x589f6b(0x1d6),'Wsght':_0x589f6b(0x1fa),'yCXsy':_0x589f6b(0x1c9),'taXlW':function(_0xb869b8,_0xed0689){return _0xb869b8===_0xed0689;},'KhSMA':function(_0x3df2e1,_0x3a3018){return _0x3df2e1+_0x3a3018;},'mdNjd':'/puppeteer?caps='},_0xb4a7c0=_0x2e734b['UGOpE'](getBrowserstackCLI),_0x18f3bf=_0x2e734b[_0x589f6b(0x1de)](nestedKeyValue,_0xb4a7c0[_0x589f6b(0x20c)]()[_0x589f6b(0x201)](),[_0x2e734b[_0x589f6b(0x1f0)],_0x2e734b[_0x589f6b(0x1d4)],_0x2e734b[_0x589f6b(0x1ce)]]),_0x185841=(_0x18f3bf?_0x18f3bf['replace'](/^https:/,_0x2e734b[_0x589f6b(0x1da)]):null)||constants[_0x589f6b(0x218)];let _0x109c5a;if(!_0x24b165||_0x2e734b['taXlW'](_0x24b165,''))_0x109c5a=_0x185841;else{const _0x2e477f=_0x185841[_0x589f6b(0x1f1)]('/')?_0x185841:_0x2e734b['KhSMA'](_0x185841,'/');_0x109c5a=new URL(_0x24b165,_0x2e477f)[_0x589f6b(0x21d)]();}return!_0x109c5a[_0x589f6b(0x1f1)](_0x2e734b[_0x589f6b(0x223)])&&(_0x109c5a+=_0x2e734b[_0x589f6b(0x223)]),_0x109c5a;}}module[a56_0x41c62b(0x21a)]=APIUtilityMethods;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x20d480=a54_0x285b;(function(_0x329a03,_0x5a0d80){const _0x156b2b=a54_0x285b,_0x4f11f9=_0x329a03();while(!![]){try{const _0x5bfc22=parseInt(_0x156b2b(0x1d6))/0x1+parseInt(_0x156b2b(0x1b6))/0x2+-parseInt(_0x156b2b(0x1da))/0x3+-parseInt(_0x156b2b(0x1aa))/0x4*(-parseInt(_0x156b2b(0x1d3))/0x5)+-parseInt(_0x156b2b(0x1d5))/0x6+parseInt(_0x156b2b(0x1ae))/0x7*(-parseInt(_0x156b2b(0x1c0))/0x8)+-parseInt(_0x156b2b(0x1a6))/0x9*(-parseInt(_0x156b2b(0x1d4))/0xa);if(_0x5bfc22===_0x5a0d80)break;else _0x4f11f9['push'](_0x4f11f9['shift']());}catch(_0x519688){_0x4f11f9['push'](_0x4f11f9['shift']());}}}(a54_0x5c1a,0xc3c5a));function a54_0x285b(_0x32041a,_0x1af7e5){const _0x5c1a2b=a54_0x5c1a();return a54_0x285b=function(_0x285b33,_0x433866){_0x285b33=_0x285b33-0x198;let _0x4167fc=_0x5c1a2b[_0x285b33];return _0x4167fc;},a54_0x285b(_0x32041a,_0x1af7e5);}const logger=require(a54_0x20d480(0x199))['winstonLogger'],BrowserstackCLI=require(a54_0x20d480(0x198)),GrpcClient=require(a54_0x20d480(0x1e4)),constants=require('./constants');class ClientTroubleShootingService{static [a54_0x20d480(0x1c5)]=null;static [a54_0x20d480(0x19f)]=new Set();static async[a54_0x20d480(0x1bb)](_0x3ddff7){const _0x253358=a54_0x20d480,_0x39ada5={};_0x39ada5[_0x253358(0x1f5)]=function(_0x5a6d12,_0x27cec0){return _0x5a6d12!==_0x27cec0;};const _0x151230=_0x39ada5;try{if(BrowserstackCLI[_0x253358(0x1ba)]()['isRunning']()){const _0x349693=await GrpcClient[_0x253358(0x1ba)]()[_0x253358(0x1e5)](_0x3ddff7);if(_0x151230[_0x253358(0x1f5)](_0x349693,null)&&_0x349693['getSuccess']())return{'errorCode':_0x349693[_0x253358(0x1cc)](),'errorMessage':_0x349693[_0x253358(0x1d7)]()};return{};}return{};}catch(_0x2baeba){return this[_0x253358(0x1e3)]('Error\x20in\x20getting\x20error\x20details\x20for\x20'+_0x3ddff7+':',_0x2baeba),{};}}static async['getAggregatedErrorCodes'](){const _0x31d9d8=a54_0x20d480,_0x52b789={};_0x52b789[_0x31d9d8(0x1fb)]=function(_0x1d5e4c,_0x510952){return _0x1d5e4c!==_0x510952;},_0x52b789['dercp']=_0x31d9d8(0x1be),_0x52b789['dQmrh']=_0x31d9d8(0x1dd);const _0xb29a40=_0x52b789;try{if(BrowserstackCLI['getInstance']()[_0x31d9d8(0x1a5)]()){const _0x3a6010=await GrpcClient['getInstance']()[_0x31d9d8(0x1a2)]();if(_0xb29a40['JQGLE'](_0x3a6010,null)&&_0x3a6010[_0x31d9d8(0x1a0)]()){const _0x1d6084=Buffer[_0x31d9d8(0x1ce)](_0x3a6010[_0x31d9d8(0x1e1)](),_0xb29a40[_0x31d9d8(0x1ed)])[_0x31d9d8(0x1a7)](),_0x275ccf=_0x1d6084?JSON[_0x31d9d8(0x1d0)](_0x1d6084):[],_0x32f3ac=_0x3a6010[_0x31d9d8(0x1b0)](),_0x1906cf=_0x3a6010[_0x31d9d8(0x19b)](),_0x4f2a97=Buffer[_0x31d9d8(0x1ce)](_0x3a6010['getErrorCodesOccurredInCli'](),_0xb29a40[_0x31d9d8(0x1ed)])[_0x31d9d8(0x1a7)](),_0x563a0a=_0x4f2a97?JSON[_0x31d9d8(0x1d0)](_0x4f2a97):[],_0xef5fbb={};return _0xef5fbb[_0x31d9d8(0x1c8)]=_0x275ccf,_0xef5fbb[_0x31d9d8(0x1a4)]=_0x32f3ac,_0xef5fbb[_0x31d9d8(0x1e2)]=_0x1906cf,_0xef5fbb[_0x31d9d8(0x1a9)]=_0x563a0a,_0xef5fbb;}const _0x5c603f={};return _0x5c603f[_0x31d9d8(0x1c8)]=[],_0x5c603f[_0x31d9d8(0x1a4)]='',_0x5c603f['finalErrorMessage']='',_0x5c603f['errorCodesOccurredInCLI']=[],_0x5c603f;}const _0x366de5={};return _0x366de5[_0x31d9d8(0x1c8)]=[],_0x366de5[_0x31d9d8(0x1a4)]='',_0x366de5[_0x31d9d8(0x1e2)]='',_0x366de5[_0x31d9d8(0x1a9)]=[],_0x366de5;}catch(_0x9a9486){this[_0x31d9d8(0x1e3)](_0xb29a40[_0x31d9d8(0x1ea)],_0x9a9486);const _0x209baa={};return _0x209baa[_0x31d9d8(0x1c8)]=[],_0x209baa['documentationLink']='',_0x209baa['finalErrorMessage']='',_0x209baa['errorCodesOccurredInCLI']=[],_0x209baa;}}static[a54_0x20d480(0x1d1)](_0x439fa2,_0x35b4c0){const _0x2c0e34=a54_0x20d480;logger[_0x2c0e34(0x1a8)](_0x439fa2+':\x20'+_0x35b4c0);}static[a54_0x20d480(0x1cb)](_0x543364){const _0xa4a254=a54_0x20d480,_0x27f5d0={};_0x27f5d0[_0xa4a254(0x1d8)]=function(_0x317a93,_0x59f6b4){return _0x317a93!=_0x59f6b4;},_0x27f5d0[_0xa4a254(0x1fa)]=function(_0x167639,_0x303f0c){return _0x167639!=_0x303f0c;},_0x27f5d0[_0xa4a254(0x1cd)]=function(_0x32858a,_0x122855){return _0x32858a>_0x122855;};const _0x328cfb=_0x27f5d0,_0x151ca7=[];if(_0x328cfb[_0xa4a254(0x1d8)](_0x543364,null)&&_0x328cfb[_0xa4a254(0x1fa)](_0x543364[_0xa4a254(0x1a9)],null)&&_0x328cfb[_0xa4a254(0x1cd)](_0x543364[_0xa4a254(0x1a9)]['length'],0x0))for(const _0x13e206 of _0x543364[_0xa4a254(0x1a9)]){_0x328cfb[_0xa4a254(0x1d8)](_0x13e206[_0xa4a254(0x1f0)],null)&&_0x328cfb['VEwgk'](_0x13e206['errorMessage'],null)&&(_0x151ca7[_0xa4a254(0x1f9)](_0x13e206[_0xa4a254(0x1f0)]),this[_0xa4a254(0x1d1)](_0x13e206['errorCode'],_0x13e206[_0xa4a254(0x1b4)]));}return _0x151ca7;}static[a54_0x20d480(0x1b9)](){const _0x28b3d8=a54_0x20d480;return this[_0x28b3d8(0x1c5)];}static[a54_0x20d480(0x1e3)](_0x539308,_0x1ab8c1){const _0x36ad50=a54_0x20d480,_0x387876={};_0x387876['HzuPb']=function(_0x11482e,_0x2aa1b2){return _0x11482e===_0x2aa1b2;},_0x387876[_0x36ad50(0x1bd)]='object';const _0x4616a4=_0x387876;if(_0x4616a4[_0x36ad50(0x1ef)](typeof _0x1ab8c1,_0x4616a4['uVtcH']))try{logger[_0x36ad50(0x1f8)](_0x36ad50(0x1b8)+_0x539308+'\x20'+JSON['stringify'](_0x1ab8c1));}catch(_0x4310d3){logger['error'](_0x36ad50(0x1b8)+_0x539308+'\x20'+_0x1ab8c1);}else logger[_0x36ad50(0x1f8)]('[ClientTroubleShootingService]\x20'+_0x539308+'\x20'+_0x1ab8c1);}static async[a54_0x20d480(0x1c1)](_0x1f6dc1){const _0x16b677=a54_0x20d480,_0x2dcc9b={};_0x2dcc9b[_0x16b677(0x1b7)]=_0x16b677(0x19c),_0x2dcc9b['AjipN']=function(_0x4bc776,_0x291a1e){return _0x4bc776===_0x291a1e;},_0x2dcc9b[_0x16b677(0x1ad)]=_0x16b677(0x1de),_0x2dcc9b[_0x16b677(0x1c2)]=_0x16b677(0x1dc);const _0x340505=_0x2dcc9b,_0xcfff3b=await this[_0x16b677(0x1bb)](_0x340505[_0x16b677(0x1b7)]);if(_0x340505['AjipN'](Object[_0x16b677(0x1c4)](_0xcfff3b)['length'],0x0)){this['logError'](_0x340505['kmmDp'],_0xcfff3b);return;}this[_0x16b677(0x1d1)](_0xcfff3b[_0x16b677(0x1f0)],_0xcfff3b[_0x16b677(0x1b4)][_0x16b677(0x1c3)](_0x340505[_0x16b677(0x1c2)],_0x1f6dc1));}static async[a54_0x20d480(0x1fc)](){const _0x989e70=a54_0x20d480,_0xf1b797={};_0xf1b797[_0x989e70(0x19e)]='Session\x20Linking\x20Issue',_0xf1b797[_0x989e70(0x1a3)]=function(_0x3e1f64,_0x479149){return _0x3e1f64===_0x479149;},_0xf1b797[_0x989e70(0x1bc)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x57a912=_0xf1b797,_0x47e3ef=await this[_0x989e70(0x1bb)](_0x57a912[_0x989e70(0x19e)]);if(_0x57a912[_0x989e70(0x1a3)](Object[_0x989e70(0x1c4)](_0x47e3ef)[_0x989e70(0x1ca)],0x0)){this[_0x989e70(0x1e3)](_0x57a912[_0x989e70(0x1bc)],_0x47e3ef);return;}this[_0x989e70(0x1d1)](_0x47e3ef[_0x989e70(0x1f0)],_0x47e3ef['errorMessage']);}static async[a54_0x20d480(0x1ab)](){const _0x10aa7e=a54_0x20d480,_0x413c62={};_0x413c62[_0x10aa7e(0x1e8)]=_0x10aa7e(0x1ee),_0x413c62[_0x10aa7e(0x1c9)]=function(_0x212b5c,_0x133c62){return _0x212b5c===_0x133c62;},_0x413c62[_0x10aa7e(0x1db)]=_0x10aa7e(0x19a);const _0x2f66ed=_0x413c62,_0xbb604f=await this[_0x10aa7e(0x1bb)](_0x2f66ed[_0x10aa7e(0x1e8)]);if(_0x2f66ed[_0x10aa7e(0x1c9)](Object[_0x10aa7e(0x1c4)](_0xbb604f)[_0x10aa7e(0x1ca)],0x0)){this[_0x10aa7e(0x1e3)](_0x2f66ed[_0x10aa7e(0x1db)],_0xbb604f);return;}this[_0x10aa7e(0x1d1)](_0xbb604f[_0x10aa7e(0x1f0)],_0xbb604f['errorMessage']);}static async['reportSSLCertIssue'](){const _0x29a98a=a54_0x20d480,_0x198836={};_0x198836[_0x29a98a(0x1e6)]=_0x29a98a(0x1c7),_0x198836[_0x29a98a(0x1bf)]=function(_0x19d665,_0x6efc68){return _0x19d665===_0x6efc68;},_0x198836[_0x29a98a(0x1c6)]=_0x29a98a(0x1df);const _0x1c8114=_0x198836,_0x4dd5aa=await this['getErrorDetails'](_0x1c8114[_0x29a98a(0x1e6)]);if(_0x1c8114[_0x29a98a(0x1bf)](Object[_0x29a98a(0x1c4)](_0x4dd5aa)[_0x29a98a(0x1ca)],0x0)){this[_0x29a98a(0x1e3)](_0x1c8114[_0x29a98a(0x1c6)],_0x4dd5aa);return;}this[_0x29a98a(0x1d1)](_0x4dd5aa['errorCode'],_0x4dd5aa[_0x29a98a(0x1b4)]);}static[a54_0x20d480(0x1ac)](){const _0x84925d=a54_0x20d480,_0x18d174={};_0x18d174[_0x84925d(0x1f2)]='.browserstack\x20folder\x20not\x20accessible',_0x18d174[_0x84925d(0x1af)]=function(_0x31448e,_0x32cfb8){return _0x31448e===_0x32cfb8;},_0x18d174[_0x84925d(0x1d2)]=_0x84925d(0x1e7);const _0x44b94b=_0x18d174,_0x90b76d=constants[_0x84925d(0x1ec)][_0x44b94b[_0x84925d(0x1f2)]];if(_0x44b94b[_0x84925d(0x1af)](Object['keys'](_0x90b76d)[_0x84925d(0x1ca)],0x0)){this[_0x84925d(0x1e3)](_0x44b94b[_0x84925d(0x1d2)],_0x90b76d);return;}this[_0x84925d(0x19f)][_0x84925d(0x1f6)](_0x90b76d[0x0]),this['logSituation'](_0x90b76d[0x0],_0x90b76d[0x1]);}static async[a54_0x20d480(0x1b3)](_0x12c7e1){const _0x4acdc1=a54_0x20d480,_0x12e030={};_0x12e030[_0x4acdc1(0x1d9)]=_0x4acdc1(0x1e0),_0x12e030[_0x4acdc1(0x1b5)]=function(_0x511fea,_0x423ebf){return _0x511fea===_0x423ebf;},_0x12e030[_0x4acdc1(0x1f7)]=_0x4acdc1(0x19d),_0x12e030[_0x4acdc1(0x1e9)]='{ENV_VAR}';const _0x1a0c64=_0x12e030,_0x113518=await this[_0x4acdc1(0x1bb)](_0x1a0c64[_0x4acdc1(0x1d9)]);if(_0x1a0c64[_0x4acdc1(0x1b5)](Object[_0x4acdc1(0x1c4)](_0x113518)[_0x4acdc1(0x1ca)],0x0)){this[_0x4acdc1(0x1e3)](_0x1a0c64[_0x4acdc1(0x1f7)],_0x113518);return;}const _0x3ac842=_0x113518['errorMessage'][_0x4acdc1(0x1c3)](_0x1a0c64[_0x4acdc1(0x1e9)],_0x12c7e1);this[_0x4acdc1(0x1d1)](_0x113518[_0x4acdc1(0x1f0)],_0x3ac842);}static async[a54_0x20d480(0x1b2)](){const _0x359218=a54_0x20d480,_0x37d3de={};_0x37d3de[_0x359218(0x1f3)]=function(_0x2969c3,_0x2dd30a){return _0x2969c3>_0x2dd30a;},_0x37d3de[_0x359218(0x1cf)]=function(_0x2119c9,_0x1580e8){return _0x2119c9>_0x1580e8;},_0x37d3de[_0x359218(0x1b1)]=_0x359218(0x1a1),_0x37d3de['LSGRP']=_0x359218(0x1f4);const _0x149468=_0x37d3de,_0x3dec27=await this['getAggregatedErrorCodes'](),_0x2e0c3e=this[_0x359218(0x1cb)](_0x3dec27),_0xe2def7=Array['isArray'](_0x3dec27[_0x359218(0x1c8)])?_0x3dec27[_0x359218(0x1c8)]:[],_0x5887b6=_0x149468[_0x359218(0x1f3)](this['errorCodesOccurredWhenCLINotRunning'][_0x359218(0x1eb)],0x0)?Array[_0x359218(0x1ce)](this[_0x359218(0x19f)]):[],_0x2bb9ca=new Set([..._0xe2def7,..._0x2e0c3e,..._0x5887b6]),_0x48e7b6=Array[_0x359218(0x1ce)](_0x2bb9ca);if(_0x149468[_0x359218(0x1cf)](_0x48e7b6['length'],0x0)){const _0x3c0ac0=_0x3dec27[_0x359218(0x1e2)][_0x359218(0x1c3)](_0x149468[_0x359218(0x1b1)],_0x48e7b6['join'](',\x20'))[_0x359218(0x1c3)](_0x149468[_0x359218(0x1f1)],_0x3dec27['documentationLink']);logger[_0x359218(0x1a8)](_0x3c0ac0),this[_0x359218(0x1c5)]=_0x48e7b6;}}}module['exports']=ClientTroubleShootingService;function a54_0x5c1a(){const _0x199411=['1656lGjvbf','reportProcessInterruptionSituation','CWArO','replace','keys','cachedErrorCodes','FLOZL','ssl\x20cert\x20issue','errorCodes','EUGel','length','checkForErrorsOccuredInCLI','getErrorCode','nqOuC','from','cYXNW','parse','logSituation','jPtBQ','55VlEwVH','1957070zPsFyS','8584764JeJnVp','1301782LWrRxo','getErrorMessage','kfqRu','AhRlA','1645053zdkeNB','FEIzd','{SIGNAL}','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','Process\x20Interruption\x20details\x20not\x20found:','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','conflicting\x20env\x20var\x20detected','getErrorCodes','finalErrorMessage','logError','../v2/grpcClient','reportClientTroubleshootingError','Xyeby','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','hzuZB','QERIb','dQmrh','size','CLIENT_TROUBLESHOOTING_HASH','dercp','browserstack\x20cloud\x20not\x20reachable','HzuPb','errorCode','LSGRP','GhaDn','Vdzim','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','sNzQW','add','ajOaH','error','push','VEwgk','JQGLE','reportSessionLinkingIssue','../v2/browserstackCLI','../../helpers/logger','Connectivity\x20Issue\x20details\x20not\x20found','getFinalErrorMessage','Process\x20Interruption','Conflicting\x20Env\x20Var\x20details\x20not\x20found','uYhnS','errorCodesOccurredWhenCLINotRunning','getSuccess','{ERROR_CODES}','getAggregatedClientTroubleshootingErrors','pNBKQ','documentationLink','isRunning','9CnepMA','toString','warn','errorCodesOccurredInCLI','582004oRVHbn','reportConnectivityIssue','reportDotBrowserStackFolderNotAccessibleIssue','kmmDp','33467izMuuC','gihqe','getDocumentationLink','lVMXm','reportFinalDetectionState','reportConflictingEnvVarIssue','errorMessage','ZciMf','1345388xNXmCu','HcJIM','[ClientTroubleShootingService]\x20','getCachedErrorCodes','getInstance','getErrorDetails','zATGT','uVtcH','base64','fgqxx'];a54_0x5c1a=function(){return _0x199411;};return a54_0x5c1a();}
|
|
1
|
+
function a57_0x4fbc(_0x3b11ee,_0x2a9d8a){const _0x18f4d5=a57_0x18f4();return a57_0x4fbc=function(_0x4fbc0a,_0x233e2f){_0x4fbc0a=_0x4fbc0a-0x10f;let _0x297820=_0x18f4d5[_0x4fbc0a];return _0x297820;},a57_0x4fbc(_0x3b11ee,_0x2a9d8a);}const a57_0x5db754=a57_0x4fbc;(function(_0x5c834c,_0x23e295){const _0x35f5a3=a57_0x4fbc,_0x435f8c=_0x5c834c();while(!![]){try{const _0x1b4923=-parseInt(_0x35f5a3(0x15e))/0x1*(-parseInt(_0x35f5a3(0x139))/0x2)+parseInt(_0x35f5a3(0x132))/0x3+-parseInt(_0x35f5a3(0x13d))/0x4+-parseInt(_0x35f5a3(0x143))/0x5*(parseInt(_0x35f5a3(0x141))/0x6)+-parseInt(_0x35f5a3(0x155))/0x7+-parseInt(_0x35f5a3(0x166))/0x8+parseInt(_0x35f5a3(0x140))/0x9*(parseInt(_0x35f5a3(0x15a))/0xa);if(_0x1b4923===_0x23e295)break;else _0x435f8c['push'](_0x435f8c['shift']());}catch(_0x1f00f2){_0x435f8c['push'](_0x435f8c['shift']());}}}(a57_0x18f4,0x3ecdb));const logger=require('../../helpers/logger')[a57_0x5db754(0x119)],BrowserstackCLI=require(a57_0x5db754(0x16f)),GrpcClient=require('../v2/grpcClient'),constants=require(a57_0x5db754(0x121));function a57_0x18f4(){const _0x55aa68=['finalErrorMessage','4170WEGuEn','errorCodesOccurredWhenCLINotRunning','Process\x20Interruption','reportConflictingEnvVarIssue','1987yhoxwZ','{ERROR_CODES}','{ENV_VAR}','LgAdI','documentationLink','ssl\x20cert\x20issue','pFyKq','kbYkz','2128816jYSnxP','TLWTs','keys','join','Process\x20Interruption\x20details\x20not\x20found:','lupsS','push','cVQgr','ldFEW','../v2/browserstackCLI','[ClientTroubleShootingService]\x20','DaFug','errorMessage','logError','BNkfn','{SIGNAL}','reportClientTroubleshootingError','XVNsw','tZYQv','browserstack\x20cloud\x20not\x20reachable','MdaAh','NuAUn','wkdRC','getCachedErrorCodes','winstonLogger','reportProcessInterruptionSituation','getErrorCode','reportFinalDetectionState','BPdqn','getFinalErrorMessage','WDcqQ','wQwed','./constants','QWbur','MDNPJ','isArray','Connectivity\x20Issue\x20details\x20not\x20found','errorCodes','exports','YJpIu','getErrorDetails','reportConnectivityIssue','dHsOV','Session\x20Linking\x20Issue\x20details\x20not\x20found','base64','reportSSLCertIssue','OFPvd','getInstance','NeKpB','668886FYeXBO','getSuccess','parse','length','CTWYz','Xskes','errorCode','108DFoHIS','getErrorMessage','jqBKc','fvtQG','1503464frXDGq','checkForErrorsOccuredInCLI','error','24849gmEYWj','403626uHDmnl','LYRif','10zaXTFa','cachedErrorCodes','nOhFz','errorCodesOccurredInCLI','logSituation','replace','zJYnB','.browserstack\x20folder\x20not\x20accessible','size','getAggregatedErrorCodes','isRunning','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','toString','from','add','KEaOe','conflicting\x20env\x20var\x20detected','getErrorCodesOccurredInCli','3134908HWSSVr','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','warn','Conflicting\x20Env\x20Var\x20details\x20not\x20found'];a57_0x18f4=function(){return _0x55aa68;};return a57_0x18f4();}class ClientTroubleShootingService{static ['cachedErrorCodes']=null;static [a57_0x5db754(0x15b)]=new Set();static async[a57_0x5db754(0x129)](_0x12c4ce){const _0x546346=a57_0x5db754,_0x58eea6={};_0x58eea6[_0x546346(0x13b)]=function(_0x3a6bb7,_0x51735a){return _0x3a6bb7!==_0x51735a;};const _0x4acdb2=_0x58eea6;try{if(BrowserstackCLI[_0x546346(0x130)]()[_0x546346(0x14d)]()){const _0x41e698=await GrpcClient[_0x546346(0x130)]()[_0x546346(0x111)](_0x12c4ce);if(_0x4acdb2['jqBKc'](_0x41e698,null)&&_0x41e698['getSuccess']())return{'errorCode':_0x41e698[_0x546346(0x11b)](),'errorMessage':_0x41e698[_0x546346(0x13a)]()};return{};}return{};}catch(_0x11ac73){return this['logError']('Error\x20in\x20getting\x20error\x20details\x20for\x20'+_0x12c4ce+':',_0x11ac73),{};}}static async[a57_0x5db754(0x14c)](){const _0x2c9756=a57_0x5db754,_0x425ef8={};_0x425ef8[_0x2c9756(0x123)]=function(_0x566f0f,_0x1942b9){return _0x566f0f!==_0x1942b9;},_0x425ef8[_0x2c9756(0x12b)]=_0x2c9756(0x12d),_0x425ef8[_0x2c9756(0x167)]=_0x2c9756(0x14e);const _0x1d3268=_0x425ef8;try{if(BrowserstackCLI[_0x2c9756(0x130)]()['isRunning']()){const _0x4b64a8=await GrpcClient['getInstance']()['getAggregatedClientTroubleshootingErrors']();if(_0x1d3268[_0x2c9756(0x123)](_0x4b64a8,null)&&_0x4b64a8[_0x2c9756(0x133)]()){const _0x140e4a=Buffer[_0x2c9756(0x150)](_0x4b64a8['getErrorCodes'](),_0x1d3268[_0x2c9756(0x12b)])['toString'](),_0x35ba55=_0x140e4a?JSON['parse'](_0x140e4a):[],_0x588068=_0x4b64a8['getDocumentationLink'](),_0x28cee2=_0x4b64a8[_0x2c9756(0x11e)](),_0x485c87=Buffer[_0x2c9756(0x150)](_0x4b64a8[_0x2c9756(0x154)](),_0x1d3268[_0x2c9756(0x12b)])[_0x2c9756(0x14f)](),_0x491aa3=_0x485c87?JSON[_0x2c9756(0x134)](_0x485c87):[],_0x31f27f={};return _0x31f27f[_0x2c9756(0x126)]=_0x35ba55,_0x31f27f[_0x2c9756(0x162)]=_0x588068,_0x31f27f[_0x2c9756(0x159)]=_0x28cee2,_0x31f27f[_0x2c9756(0x146)]=_0x491aa3,_0x31f27f;}const _0xc97d5e={};return _0xc97d5e[_0x2c9756(0x126)]=[],_0xc97d5e['documentationLink']='',_0xc97d5e[_0x2c9756(0x159)]='',_0xc97d5e[_0x2c9756(0x146)]=[],_0xc97d5e;}const _0x59bac8={};return _0x59bac8[_0x2c9756(0x126)]=[],_0x59bac8['documentationLink']='',_0x59bac8[_0x2c9756(0x159)]='',_0x59bac8['errorCodesOccurredInCLI']=[],_0x59bac8;}catch(_0x1130b9){this['logError'](_0x1d3268[_0x2c9756(0x167)],_0x1130b9);const _0x322c9b={};return _0x322c9b['errorCodes']=[],_0x322c9b[_0x2c9756(0x162)]='',_0x322c9b['finalErrorMessage']='',_0x322c9b[_0x2c9756(0x146)]=[],_0x322c9b;}}static[a57_0x5db754(0x147)](_0x2f59f5,_0x5378e3){const _0x1f717d=a57_0x5db754;logger[_0x1f717d(0x157)](_0x2f59f5+':\x20'+_0x5378e3);}static[a57_0x5db754(0x13e)](_0x5dc433){const _0x4eefe2=a57_0x5db754,_0x4cde86={};_0x4cde86['XVNsw']=function(_0x3953b9,_0x340b7c){return _0x3953b9!=_0x340b7c;},_0x4cde86[_0x4eefe2(0x171)]=function(_0x2b8163,_0x5e7814){return _0x2b8163>_0x5e7814;},_0x4cde86['zJYnB']=function(_0x270bcc,_0xf4452c){return _0x270bcc!=_0xf4452c;},_0x4cde86[_0x4eefe2(0x142)]=function(_0x21c06d,_0x35d44b){return _0x21c06d!=_0x35d44b;};const _0x6e9f9d=_0x4cde86,_0x422446=[];if(_0x6e9f9d[_0x4eefe2(0x112)](_0x5dc433,null)&&_0x6e9f9d[_0x4eefe2(0x112)](_0x5dc433[_0x4eefe2(0x146)],null)&&_0x6e9f9d[_0x4eefe2(0x171)](_0x5dc433[_0x4eefe2(0x146)][_0x4eefe2(0x135)],0x0))for(const _0x4ea96e of _0x5dc433[_0x4eefe2(0x146)]){_0x6e9f9d[_0x4eefe2(0x149)](_0x4ea96e[_0x4eefe2(0x138)],null)&&_0x6e9f9d['LYRif'](_0x4ea96e['errorMessage'],null)&&(_0x422446[_0x4eefe2(0x16c)](_0x4ea96e[_0x4eefe2(0x138)]),this[_0x4eefe2(0x147)](_0x4ea96e[_0x4eefe2(0x138)],_0x4ea96e[_0x4eefe2(0x172)]));}return _0x422446;}static[a57_0x5db754(0x118)](){const _0x4aff25=a57_0x5db754;return this[_0x4aff25(0x144)];}static[a57_0x5db754(0x173)](_0x305438,_0x21bd5c){const _0x128f51=a57_0x5db754,_0x34197c={};_0x34197c['CTWYz']=function(_0x5cec95,_0x461ec8){return _0x5cec95===_0x461ec8;},_0x34197c[_0x128f51(0x137)]='object';const _0x39aaee=_0x34197c;if(_0x39aaee[_0x128f51(0x136)](typeof _0x21bd5c,_0x39aaee[_0x128f51(0x137)]))try{logger[_0x128f51(0x13f)](_0x128f51(0x170)+_0x305438+'\x20'+JSON['stringify'](_0x21bd5c));}catch(_0x4dfe1e){logger['error'](_0x128f51(0x170)+_0x305438+'\x20'+_0x21bd5c);}else logger[_0x128f51(0x13f)]('[ClientTroubleShootingService]\x20'+_0x305438+'\x20'+_0x21bd5c);}static async[a57_0x5db754(0x11a)](_0x431dd5){const _0x52b283=a57_0x5db754,_0xfb29d2={};_0xfb29d2[_0x52b283(0x16e)]=_0x52b283(0x15c),_0xfb29d2[_0x52b283(0x165)]=function(_0x281a9c,_0x1af82f){return _0x281a9c===_0x1af82f;},_0xfb29d2['NeKpB']=_0x52b283(0x16a),_0xfb29d2[_0x52b283(0x128)]=_0x52b283(0x110);const _0xcfc813=_0xfb29d2,_0x55719a=await this[_0x52b283(0x129)](_0xcfc813[_0x52b283(0x16e)]);if(_0xcfc813[_0x52b283(0x165)](Object[_0x52b283(0x168)](_0x55719a)[_0x52b283(0x135)],0x0)){this[_0x52b283(0x173)](_0xcfc813[_0x52b283(0x131)],_0x55719a);return;}this[_0x52b283(0x147)](_0x55719a[_0x52b283(0x138)],_0x55719a['errorMessage'][_0x52b283(0x148)](_0xcfc813[_0x52b283(0x128)],_0x431dd5));}static async['reportSessionLinkingIssue'](){const _0x1c30d6=a57_0x5db754,_0x1201bc={};_0x1201bc['pxaai']='Session\x20Linking\x20Issue',_0x1201bc['tZYQv']=function(_0x232c9e,_0x483acd){return _0x232c9e===_0x483acd;},_0x1201bc[_0x1c30d6(0x117)]=_0x1c30d6(0x12c);const _0x6372f5=_0x1201bc,_0x291531=await this[_0x1c30d6(0x129)](_0x6372f5['pxaai']);if(_0x6372f5[_0x1c30d6(0x113)](Object['keys'](_0x291531)[_0x1c30d6(0x135)],0x0)){this[_0x1c30d6(0x173)](_0x6372f5['wkdRC'],_0x291531);return;}this[_0x1c30d6(0x147)](_0x291531[_0x1c30d6(0x138)],_0x291531[_0x1c30d6(0x172)]);}static async[a57_0x5db754(0x12a)](){const _0x428502=a57_0x5db754,_0x182430={};_0x182430[_0x428502(0x10f)]=_0x428502(0x114),_0x182430[_0x428502(0x116)]=function(_0x336ed6,_0x327af5){return _0x336ed6===_0x327af5;},_0x182430['OFPvd']=_0x428502(0x125);const _0x534fdf=_0x182430,_0x307d4d=await this[_0x428502(0x129)](_0x534fdf[_0x428502(0x10f)]);if(_0x534fdf[_0x428502(0x116)](Object[_0x428502(0x168)](_0x307d4d)[_0x428502(0x135)],0x0)){this[_0x428502(0x173)](_0x534fdf[_0x428502(0x12f)],_0x307d4d);return;}this['logSituation'](_0x307d4d[_0x428502(0x138)],_0x307d4d[_0x428502(0x172)]);}static async[a57_0x5db754(0x12e)](){const _0x272f9a=a57_0x5db754,_0x4c861f={};_0x4c861f[_0x272f9a(0x152)]=_0x272f9a(0x163),_0x4c861f[_0x272f9a(0x145)]=function(_0xfd7d5c,_0x358c1f){return _0xfd7d5c===_0x358c1f;},_0x4c861f[_0x272f9a(0x164)]=_0x272f9a(0x156);const _0x433acd=_0x4c861f,_0xbb2202=await this['getErrorDetails'](_0x433acd[_0x272f9a(0x152)]);if(_0x433acd[_0x272f9a(0x145)](Object[_0x272f9a(0x168)](_0xbb2202)[_0x272f9a(0x135)],0x0)){this[_0x272f9a(0x173)](_0x433acd[_0x272f9a(0x164)],_0xbb2202);return;}this[_0x272f9a(0x147)](_0xbb2202[_0x272f9a(0x138)],_0xbb2202[_0x272f9a(0x172)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x544f70=a57_0x5db754,_0x1bad70={};_0x1bad70[_0x544f70(0x120)]=_0x544f70(0x14a),_0x1bad70[_0x544f70(0x161)]=function(_0x22de01,_0x122122){return _0x22de01===_0x122122;},_0x1bad70['skdwp']='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x769a25=_0x1bad70,_0x512a3c=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x769a25[_0x544f70(0x120)]];if(_0x769a25[_0x544f70(0x161)](Object['keys'](_0x512a3c)[_0x544f70(0x135)],0x0)){this[_0x544f70(0x173)](_0x769a25['skdwp'],_0x512a3c);return;}this[_0x544f70(0x15b)][_0x544f70(0x151)](_0x512a3c[0x0]),this['logSituation'](_0x512a3c[0x0],_0x512a3c[0x1]);}static async[a57_0x5db754(0x15d)](_0x59ff32){const _0x366495=a57_0x5db754,_0xfe208a={};_0xfe208a['cVQgr']=_0x366495(0x153),_0xfe208a[_0x366495(0x16b)]=function(_0xe1ace0,_0x4f5425){return _0xe1ace0===_0x4f5425;},_0xfe208a['WDcqQ']=_0x366495(0x158),_0xfe208a[_0x366495(0x13c)]=_0x366495(0x160);const _0x4972dd=_0xfe208a,_0x31dd05=await this[_0x366495(0x129)](_0x4972dd[_0x366495(0x16d)]);if(_0x4972dd[_0x366495(0x16b)](Object['keys'](_0x31dd05)[_0x366495(0x135)],0x0)){this[_0x366495(0x173)](_0x4972dd[_0x366495(0x11f)],_0x31dd05);return;}const _0x1e458c=_0x31dd05[_0x366495(0x172)][_0x366495(0x148)](_0x4972dd[_0x366495(0x13c)],_0x59ff32);this[_0x366495(0x147)](_0x31dd05[_0x366495(0x138)],_0x1e458c);}static async[a57_0x5db754(0x11c)](){const _0x5e2bc7=a57_0x5db754,_0x149295={};_0x149295[_0x5e2bc7(0x11d)]=function(_0x891367,_0x3eace9){return _0x891367>_0x3eace9;},_0x149295[_0x5e2bc7(0x115)]=_0x5e2bc7(0x15f),_0x149295[_0x5e2bc7(0x122)]='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0x957eb4=_0x149295,_0x4315e9=await this['getAggregatedErrorCodes'](),_0x1d217e=this[_0x5e2bc7(0x13e)](_0x4315e9),_0x57cb9d=Array[_0x5e2bc7(0x124)](_0x4315e9[_0x5e2bc7(0x126)])?_0x4315e9['errorCodes']:[],_0x3fee33=_0x957eb4[_0x5e2bc7(0x11d)](this[_0x5e2bc7(0x15b)][_0x5e2bc7(0x14b)],0x0)?Array[_0x5e2bc7(0x150)](this[_0x5e2bc7(0x15b)]):[],_0x5bb591=new Set([..._0x57cb9d,..._0x1d217e,..._0x3fee33]),_0x3ffc32=Array[_0x5e2bc7(0x150)](_0x5bb591);if(_0x957eb4['BPdqn'](_0x3ffc32['length'],0x0)){const _0x68b1ab=_0x4315e9[_0x5e2bc7(0x159)][_0x5e2bc7(0x148)](_0x957eb4['MdaAh'],_0x3ffc32[_0x5e2bc7(0x169)](',\x20'))[_0x5e2bc7(0x148)](_0x957eb4['QWbur'],_0x4315e9[_0x5e2bc7(0x162)]);logger[_0x5e2bc7(0x157)](_0x68b1ab),this[_0x5e2bc7(0x144)]=_0x3ffc32;}}}module[a57_0x5db754(0x127)]=ClientTroubleShootingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x4c7fba=a55_0x5d7a;function a55_0x2edb(){const _0x529b30=['AI_INIT_FAILURE','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','BROWSERSTACK_ENV','use','browserstack.overridelocalInfo.userAuthToken','BSTACK_URL','0|1|6|3|5|12|2|8|4|9|10|7|11','VANILLA','SELF_SIGNED_CERT_IN_CHAIN','accessibilityOptions','https://apidevtestops.bsstag.com','https://edsstaging.bsstag.com','CODECEPT','ERR_BLOCKED_BY_CLIENT','browserVersion','unable\x20to\x20verify\x20the\x20first\x20certificate','ERR_PROXY_CONNECTION_FAILED','observability','22852DLJkwF','https://observability-devtestops.bsstag.com','ERR_NAME_NOT_RESOLVED','https://api-preprod.bsstag.com','browserstackLocal','percyScreenshot','https://api-cloud.browserstack.com','TCG_AUTH_FAILURE','BSTACK_DELTA','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','app-automate','wss://cdp-devtestops.bsstag.com/playwright?caps=','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','BROWSERSTACK_APP_AUTOMATE_URL','ERR_SOCKS_CONNECTION_FAILED','pageLoadStrategy','90aUkQIv','TEST_FRAMEWORK_HOOK_TIMEOUT','ObservabilitySync','playwright','CUSTOM_ID_REGEX','A11Y_SCAN','ERR_TUNNEL_CONNECTION_FAILED','ERR_TLS_CERT_ALTNAME_INVALID','toLowerCase','edgeOptions','staging','browserStackLocalOptions','.browserstack\x20folder\x20not\x20accessible','.aab','USER_CONFIG_DETAILS_PATH','browserstackAutomation','ROOT_CAPS','bsstag.com','proxyUser','accessibility','SDKTestInvalidTcgAuthResponseWithUserImpact','wss://cdp.browserstack.com/playwright?caps=','browserstack-ats.com','https://upload-observability-devtestops-ssi.bsstag.com','69oHKkCz','authToken','percy','CLI_SUPPORTED_FRAMEWORKS','strictFileInteractability','proxyPassword','APP_UPLOAD_URL','pre-prod','ERR_ADDRESS_INVALID','AUTOLOGCAPTURE_NOTIFICATION','https://app-automate.browserstack.com/dashboard/v2/builds/','ERR_CONNECTION_FAILED','jest','ERR_ADDRESS_UNREACHABLE','660863OHaDVD','A11Y_GET_RESULTS','automate','GIT_META_DATA_TRUNCATED','https://api-cloud-devtestops.bsstag.com','prod','bsstag','SDKTestInitFailedResponse','firefoxOptions','REDACTED_KEYS','mocha','INVALID_INIT_RESP_WITH_USER_IMPACT','/usage-debug.log','ROOT_REGEX','PLAYWRIGHT_TRACE_LOGS','ERR_TIMED_OUT','VALID_APP_EXTENSION','stag','customVariables','PACKAGE_TYPE','wss://cdp-preprod.bsstag.com/playwright?caps=','UPDATED_CLI_ENDPOINT','SDK-GEN-001','SDK_INSTRUMENTATION_CONFIG','Cucumber-JS','SHAREABLE_ID_REGEX','userName','ERR_CONNECTION_RESET','CODECEPTJS','.ipa','INFO','LOG_FILE_NAME','vanilla','PERCY_SUPPORTED_FRAMEWORKS','PRIVATE_DOMAIN_OR_IP_REGEX','SET_TCG_TOKEN_TIMEOUT','acceptSslCert','ERR_CONNECTION_CLOSED','Run\x20jest\x20tests\x20on\x20browserstack','httpProxy','unhandledPromptBehavior','self\x20signed\x20certificate','accessKey','mandatoryDependency','https://automate-preprod.bsstag.com/dashboard/v2/builds/','FRAMEWORKS','UNABLE_TO_VERIFY_LEAF_SIGNATURE','CUCUMBER','certificate\x20has\x20expired','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','BROWSERSTACK_AUTOMATE_URL','browserstack.userName','parallelsPerPlatform','turboScaleOptions','unable\x20to\x20get\x20local\x20issuer\x20certificate','AUTOMATE','CLIENT_TROUBLESHOOTING_HASH','SDKTestTcgProxyFailure','0|8|11|7|9|2|4|1|6|10|5|12|3','DEPTH_ZERO_SELF_SIGNED_CERT','GLOBAL_AGENT_HTTP_PROXY','117009fjZYEi','CONNECTIVITY_ISSUE_ERROR_CODES','testObservability','O11Y_URL','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','https://tcg-preprod.bsstag.com','[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.','acceptSslCerts','testOrchestrationOptions','Mocha','ATS_HUB_URL_REGEX','turboScale','BSTACK_ATS_URL','^[a-zA-Z0-9_.-]*$','framework','percyOptions','browserName','ieOptions','Playwright','Run\x20playwright\x20tests\x20on\x20Browserstack','Upgrade\x20required','PLAYWRIGHT_HUB_URL','JEST','AI_PROXY_FAILURE','SDKTestTcgDownResponse','SSL_ERROR_CODES','root','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','proxySettings','INTERNALLY_USED_ENV_VARS','OBSERVABILITY_UPLOAD_URL','hubUrl','proxyUrl','EDS_URL','testObservabilityOptions','12473593WCqaJQ','https://upload-observability-preprod.bsstag.com','BROWSERSTACK','codeceptjs-cucumber','testContextOptions','ETXTBSY','Run\x20mocha\x20tests\x20on\x20browserstack','VERSION','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','FUNNEL_INSTRUMENTATION_API_URL','chromeOptions','HEALING_FAILURE_TIMEOUT','ERR_NAME_RESOLUTION_FAILED','.apk','CODECEPT_CUCUMBER','invalidKeys','6kNwacn','PLAYWRIGHT','SDKTestTcgtInitSuccessful','755425NSYokM','preprod','MAX_GIT_META_DATA_SIZE_IN_BYTES','HUB_URL_REGEX','testReportingOptions','A11Y_GET_RESULTS_SUMMARY','exports','testReporting','10czXFdc','sdk/v1/event','cucumber','HEALING_LOG_DATA_TIMEOUT','EBUSY','BROWSERSTACK_API_URL','https://hub.browserstack.com/wd/hub','Run\x20codeceptjs\x20tests\x20on\x20browserstack','AUTOMATION_LOG_COMMANDS','MODULE','AUTOMATE_PRODUCTS','HST','CI_ARTIFACTS_PATH','ERR_CONNECTION_TIMED_OUT','TCG_URL','ERR_CONNECTION_ABORTED','3148716rNBFJE','logLevel','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','BINARY_BUSY_ERROR_CODES','browserstack.accessKey','ERR_NETWORK_CHANGED','rerunTests','UPGRADE_REQUIRED','split','percyCaptureMode','119976BONAWi','browserstack','httpsProxy','https://hub-preprod.bsstag.com/wd/hub','...[TRUNCATED]','TEST_REPORTING_ANALYTICS','automation','https://api.browserstack.com','Specify\x20--help\x20for\x20available\x20options','codeceptjs','DEBUG_LOG_FILE_NAME','disableAutoCaptureLogs'];a55_0x2edb=function(){return _0x529b30;};return a55_0x2edb();}function a55_0x5d7a(_0x97da1b,_0x5f0026){const _0x2edb9e=a55_0x2edb();return a55_0x5d7a=function(_0x5d7ac6,_0x5e5b35){_0x5d7ac6=_0x5d7ac6-0x8b;let _0x406820=_0x2edb9e[_0x5d7ac6];return _0x406820;},a55_0x5d7a(_0x97da1b,_0x5f0026);}(function(_0x5b78be,_0x5eb327){const _0x348d4b=a55_0x5d7a,_0x22f94f=_0x5b78be();while(!![]){try{const _0x388125=-parseInt(_0x348d4b(0x146))/0x1*(parseInt(_0x348d4b(0x8f))/0x2)+-parseInt(_0x348d4b(0xfb))/0x3*(-parseInt(_0x348d4b(0xd3))/0x4)+-parseInt(_0x348d4b(0x92))/0x5+-parseInt(_0x348d4b(0xaa))/0x6+-parseInt(_0x348d4b(0x109))/0x7+-parseInt(_0x348d4b(0xb5))/0x8*(-parseInt(_0x348d4b(0xe3))/0x9)+parseInt(_0x348d4b(0x9a))/0xa*(parseInt(_0x348d4b(0x16a))/0xb);if(_0x388125===_0x5eb327)break;else _0x22f94f['push'](_0x22f94f['shift']());}catch(_0x5a57b2){_0x22f94f['push'](_0x22f94f['shift']());}}}(a55_0x2edb,0x47c89));const a55_0x652519={};a55_0x652519['INFO']='shows\x20version\x20information',a55_0x652519['HELP']=a55_0x4c7fba(0xbd);const a55_0x20f827={};a55_0x20f827[a55_0x4c7fba(0x127)]=a55_0x4c7fba(0x12f);const a55_0x129e17={};a55_0x129e17[a55_0x4c7fba(0x127)]=a55_0x4c7fba(0x170);const a55_0x5a3c48={};a55_0x5a3c48[a55_0x4c7fba(0x127)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';const a55_0xbca832={};a55_0xbca832[a55_0x4c7fba(0x127)]='Run\x20js\x20tests\x20on\x20browserstack';const a55_0x591bfc={};a55_0x591bfc[a55_0x4c7fba(0x127)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';const a55_0x2631b8={};a55_0x2631b8[a55_0x4c7fba(0x127)]=a55_0x4c7fba(0x15a);const a55_0xea239e={};a55_0xea239e['INFO']=a55_0x4c7fba(0xa1);const a55_0x4e32ba={};a55_0x4e32ba[a55_0x4c7fba(0x127)]=a55_0x4c7fba(0x14a);const a55_0x5387f6={};a55_0x5387f6[a55_0x4c7fba(0x127)]='Connect\x20on\x20prem\x20instances\x20to\x20Browserstack';const a55_0x3ff7e1={};a55_0x3ff7e1[a55_0x4c7fba(0x90)]=a55_0x4c7fba(0x159),a55_0x3ff7e1['MOCHA']=a55_0x4c7fba(0x113),a55_0x3ff7e1[a55_0x4c7fba(0x15d)]=a55_0x4c7fba(0x107),a55_0x3ff7e1[a55_0x4c7fba(0xcd)]=a55_0x4c7fba(0xbe),a55_0x3ff7e1[a55_0x4c7fba(0x8d)]=a55_0x4c7fba(0x16d),a55_0x3ff7e1[a55_0x4c7fba(0x138)]=a55_0x4c7fba(0x9c),a55_0x3ff7e1['VANILLA']=a55_0x4c7fba(0x129);const a55_0x354e07={};a55_0x354e07[a55_0x4c7fba(0x8e)]=a55_0x4c7fba(0x13a),a55_0x354e07['uniqueDependency']=a55_0x4c7fba(0x172),a55_0x354e07[a55_0x4c7fba(0x134)]=a55_0x4c7fba(0x162),a55_0x354e07['invalidTestInputType']='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x512b71={};a55_0x512b71['COMMONJS']='commonjs',a55_0x512b71[a55_0x4c7fba(0xa3)]='module';const a55_0x352a94={};a55_0x352a94[a55_0x4c7fba(0x150)]=0xfde8,a55_0x352a94[a55_0x4c7fba(0x121)]=0xfde8,a55_0x352a94['Jest']=0x186a0;const a55_0x4398f6={};a55_0x4398f6[a55_0x4c7fba(0x161)]=[a55_0x4c7fba(0x123),a55_0x4c7fba(0x133),'httpProxy',a55_0x4c7fba(0xb7),a55_0x4c7fba(0x11b),a55_0x4c7fba(0x13c),a55_0x4c7fba(0xaf),a55_0x4c7fba(0x100),a55_0x4c7fba(0xfc),a55_0x4c7fba(0x167),a55_0x4c7fba(0xc5)],a55_0x4398f6[a55_0x4c7fba(0xee)]=[a55_0x4c7fba(0xf5),'proxyPass','localProxyUser','localProxyPass'];const a55_0x29066b={};a55_0x29066b['browserstackLocal']=a55_0x4c7fba(0xd7),a55_0x29066b[a55_0x4c7fba(0xee)]=a55_0x4c7fba(0xee),a55_0x29066b['localOptions']='browserStackLocalOptions',a55_0x29066b['parallelsPerPlatform']=a55_0x4c7fba(0x13d),a55_0x29066b['platforms']='platforms',a55_0x29066b[a55_0x4c7fba(0xab)]=a55_0x4c7fba(0xab),a55_0x29066b[a55_0x4c7fba(0x130)]=a55_0x4c7fba(0x130),a55_0x29066b[a55_0x4c7fba(0xb7)]=a55_0x4c7fba(0xb7),a55_0x29066b[a55_0x4c7fba(0x155)]=a55_0x4c7fba(0x155),a55_0x29066b['testContextOptions']=a55_0x4c7fba(0x16e),a55_0x29066b[a55_0x4c7fba(0x148)]=a55_0x4c7fba(0x148),a55_0x29066b[a55_0x4c7fba(0x99)]=a55_0x4c7fba(0x99),a55_0x29066b[a55_0x4c7fba(0x169)]='testObservabilityOptions',a55_0x29066b[a55_0x4c7fba(0x96)]=a55_0x4c7fba(0x96),a55_0x29066b['customVariables']=a55_0x4c7fba(0x11b),a55_0x29066b[a55_0x4c7fba(0xbb)]=a55_0x4c7fba(0xf2),a55_0x29066b[a55_0x4c7fba(0xf2)]=a55_0x4c7fba(0xf2),a55_0x29066b['rerunTests']=a55_0x4c7fba(0xb1),a55_0x29066b[a55_0x4c7fba(0xfd)]=a55_0x4c7fba(0xfd),a55_0x29066b[a55_0x4c7fba(0x156)]=a55_0x4c7fba(0x156),a55_0x29066b[a55_0x4c7fba(0xb4)]=a55_0x4c7fba(0xb4),a55_0x29066b['disableAutoCaptureLogs']=a55_0x4c7fba(0xc0),a55_0x29066b[a55_0x4c7fba(0xf6)]=a55_0x4c7fba(0xf6),a55_0x29066b[a55_0x4c7fba(0xca)]=a55_0x4c7fba(0xca),a55_0x29066b[a55_0x4c7fba(0x152)]='turboScale',a55_0x29066b[a55_0x4c7fba(0x13e)]='turboScaleOptions',a55_0x29066b[a55_0x4c7fba(0x163)]=a55_0x4c7fba(0x163),a55_0x29066b[a55_0x4c7fba(0x14f)]='testOrchestrationOptions';const a55_0x3e3c5f={};a55_0x3e3c5f[a55_0x4c7fba(0xef)]=[a55_0x4c7fba(0x11f),a55_0x4c7fba(0x14d)];const a55_0x1a1114={};a55_0x1a1114[a55_0x4c7fba(0x171)]=a55_0x652519,a55_0x1a1114['JEST']=a55_0x20f827,a55_0x1a1114['MOCHA']=a55_0x129e17,a55_0x1a1114['CUCUMBER']=a55_0x5a3c48,a55_0x1a1114[a55_0x4c7fba(0xc8)]=a55_0xbca832,a55_0x1a1114['NIGHTWATCH']=a55_0x591bfc,a55_0x1a1114[a55_0x4c7fba(0x90)]=a55_0x2631b8,a55_0x1a1114[a55_0x4c7fba(0x125)]=a55_0xea239e,a55_0x1a1114[a55_0x4c7fba(0xa5)]=a55_0x4e32ba,a55_0x1a1114['INTEGRATIONS']=a55_0x5387f6,a55_0x1a1114[a55_0x4c7fba(0xdb)]=0xf*0x3c*0x3e8,a55_0x1a1114['hubUrl']=a55_0x4c7fba(0xa0),a55_0x1a1114[a55_0x4c7fba(0xa8)]='https://tcg.browserstack.com',a55_0x1a1114['TCG_REGION']=a55_0x4c7fba(0xc4),a55_0x1a1114['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x1a1114[a55_0x4c7fba(0x151)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x1a1114['ATS_WSS_URL_REGEX']=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x1a1114[a55_0x4c7fba(0xf3)]=['acceptInsecureCerts',a55_0x4c7fba(0xe2),a55_0x4c7fba(0xff),a55_0x4c7fba(0x131),'timeouts',a55_0x4c7fba(0x157),a55_0x4c7fba(0xcf),a55_0x4c7fba(0x14e),a55_0x4c7fba(0x12d),a55_0x4c7fba(0x174),a55_0x4c7fba(0x111),a55_0x4c7fba(0xec),a55_0x4c7fba(0x158)],a55_0x1a1114[a55_0x4c7fba(0x116)]=/^[\w-]+:.*$/,a55_0x1a1114[a55_0x4c7fba(0x12b)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x1a1114[a55_0x4c7fba(0x168)]='https://eds.browserstack.com',a55_0x1a1114[a55_0x4c7fba(0x9f)]=a55_0x4c7fba(0xbc),a55_0x1a1114['APP_UPLOAD_URL']=a55_0x4c7fba(0xd9),a55_0x1a1114[a55_0x4c7fba(0x11e)]='sdk/v1/update_cli',a55_0x1a1114[a55_0x4c7fba(0x173)]=a55_0x4c7fba(0x9b),a55_0x1a1114[a55_0x4c7fba(0xa4)]=[a55_0x4c7fba(0x10b),a55_0x4c7fba(0xd2)],a55_0x1a1114['APP_AUTOMATE_PRODUCTS']=[a55_0x4c7fba(0xdd),'observability'],a55_0x1a1114[a55_0x4c7fba(0xdf)]=[a55_0x4c7fba(0xd2)],a55_0x1a1114['OBSERVABILITY_UPLOAD_URL']='https://upload-observability.browserstack.com',a55_0x1a1114['OBSERVABILITY_SUPPORTED_FWS']=[a55_0x4c7fba(0x113),a55_0x4c7fba(0x159)],a55_0x1a1114[a55_0x4c7fba(0x140)]=[a55_0x4c7fba(0x10b)],a55_0x1a1114[a55_0x4c7fba(0x13b)]='https://automate.browserstack.com/dashboard/v2/builds/',a55_0x1a1114[a55_0x4c7fba(0xe0)]=a55_0x4c7fba(0x105),a55_0x1a1114['APP_AUTOMATE']=[a55_0x4c7fba(0xdd)],a55_0x1a1114['NUDGE_LOCAL_ERRORS']=['ERR_FAILED',a55_0x4c7fba(0x118),a55_0x4c7fba(0xce),a55_0x4c7fba(0xb0),'ERR_SOCKET_NOT_CONNECTED',a55_0x4c7fba(0x12e),a55_0x4c7fba(0x124),'ERR_CONNECTION_REFUSED',a55_0x4c7fba(0xa9),a55_0x4c7fba(0x106),'ERR_NAME_NOT_RESOLVED',a55_0x4c7fba(0x103),a55_0x4c7fba(0x108),a55_0x4c7fba(0xe9),a55_0x4c7fba(0xa7),a55_0x4c7fba(0xe1),a55_0x4c7fba(0xdc),a55_0x4c7fba(0xd1),a55_0x4c7fba(0xd5),a55_0x4c7fba(0x8b),a55_0x4c7fba(0xc2)],a55_0x1a1114[a55_0x4c7fba(0x119)]=[a55_0x4c7fba(0x8c),a55_0x4c7fba(0xf0),a55_0x4c7fba(0x126)],a55_0x1a1114[a55_0x4c7fba(0xe7)]=a55_0x4c7fba(0x154),a55_0x1a1114[a55_0x4c7fba(0x122)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a55_0x1a1114[a55_0x4c7fba(0xa6)]='./browserstack-artifacts/',a55_0x1a1114[a55_0x4c7fba(0x15c)]=a55_0x4c7fba(0xf8),a55_0x1a1114[a55_0x4c7fba(0x136)]=a55_0x3ff7e1,a55_0x1a1114[a55_0x4c7fba(0x12a)]=[a55_0x4c7fba(0x107),a55_0x4c7fba(0x113)],a55_0x1a1114['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a55_0x354e07,a55_0x1a1114[a55_0x4c7fba(0x104)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a55_0x1a1114[a55_0x4c7fba(0x11c)]=a55_0x512b71,a55_0x1a1114[a55_0x4c7fba(0x94)]=0x40*0x400,a55_0x1a1114[a55_0x4c7fba(0x10c)]=a55_0x4c7fba(0xb9),a55_0x1a1114[a55_0x4c7fba(0xb2)]=a55_0x4c7fba(0x15b),a55_0x1a1114['TCG_DOWN']=a55_0x4c7fba(0x15f),a55_0x1a1114[a55_0x4c7fba(0x114)]=a55_0x4c7fba(0xf7),a55_0x1a1114[a55_0x4c7fba(0xda)]='SDKTestTcgAuthFailure',a55_0x1a1114['AI_INIT_SUCCESSFUL']=a55_0x4c7fba(0x91),a55_0x1a1114[a55_0x4c7fba(0xc1)]=a55_0x4c7fba(0x110),a55_0x1a1114[a55_0x4c7fba(0x15e)]=a55_0x4c7fba(0x142),a55_0x1a1114['TCG_AUTH_TIMEOUT']=0x1388,a55_0x1a1114[a55_0x4c7fba(0x12c)]=0x1388,a55_0x1a1114[a55_0x4c7fba(0x9d)]=0x1388,a55_0x1a1114[a55_0x4c7fba(0x175)]=0x1388,a55_0x1a1114['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a55_0x1a1114[a55_0x4c7fba(0xe4)]=a55_0x352a94,a55_0x1a1114[a55_0x4c7fba(0x112)]=a55_0x4398f6,a55_0x1a1114['AI_ENABLED_FRAMEWORK']=[a55_0x4c7fba(0x129),a55_0x4c7fba(0xbe)],a55_0x1a1114[a55_0x4c7fba(0x120)]=a55_0x29066b,a55_0x1a1114[a55_0x4c7fba(0x128)]='/usage.log',a55_0x1a1114[a55_0x4c7fba(0xbf)]=a55_0x4c7fba(0x115),a55_0x1a1114[a55_0x4c7fba(0xc6)]='browserstack.com',a55_0x1a1114[a55_0x4c7fba(0x153)]=a55_0x4c7fba(0xf9),a55_0x1a1114['O11Y_URL']='https://automation.browserstack.com',a55_0x1a1114[a55_0x4c7fba(0xba)]='TEST\x20REPORTING\x20AND\x20ANALYTICS',a55_0x1a1114[a55_0x4c7fba(0x16c)]=a55_0x4c7fba(0xb6),a55_0x1a1114[a55_0x4c7fba(0xfe)]=[a55_0x4c7fba(0xe6),a55_0x4c7fba(0x9c),a55_0x4c7fba(0x107)],a55_0x1a1114[a55_0x4c7fba(0xa2)]=[a55_0x4c7fba(0xe8),a55_0x4c7fba(0x97),a55_0x4c7fba(0x10a),'A11Y_SAVE_RESULTS',a55_0x4c7fba(0xd8),a55_0x4c7fba(0xe5)],a55_0x1a1114[a55_0x4c7fba(0x117)]=a55_0x4c7fba(0x117),a55_0x1a1114['SSL_ERROR_MESSAGES']=[a55_0x4c7fba(0x132),a55_0x4c7fba(0xd0),a55_0x4c7fba(0x139),a55_0x4c7fba(0x13f),a55_0x4c7fba(0xea),a55_0x4c7fba(0x144)],a55_0x1a1114[a55_0x4c7fba(0x160)]=[a55_0x4c7fba(0xc9),'DEPTH_ZERO_SELF_SIGNED_CERT',a55_0x4c7fba(0x137),'CERT_HAS_EXPIRED','ERR_TLS_CERT_ALTNAME_INVALID',a55_0x4c7fba(0xac)],a55_0x1a1114[a55_0x4c7fba(0x147)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x1a1114[a55_0x4c7fba(0x141)]=a55_0x3e3c5f,a55_0x1a1114[a55_0x4c7fba(0x164)]=[a55_0x4c7fba(0x145),'GLOBAL_AGENT_NO_PROXY',a55_0x4c7fba(0xf1)],a55_0x1a1114[a55_0x4c7fba(0xae)]=[a55_0x4c7fba(0x16f),a55_0x4c7fba(0x9e)],module[a55_0x4c7fba(0x98)]=a55_0x1a1114;const _env=(process['env'][a55_0x4c7fba(0xc3)]||a55_0x4c7fba(0x10e))[a55_0x4c7fba(0xeb)]();if(_env===a55_0x4c7fba(0xed)||_env===a55_0x4c7fba(0x11a)){const gZcguY=a55_0x4c7fba(0x143)[a55_0x4c7fba(0xb3)]('|');let KEFLBx=0x0;while(!![]){switch(gZcguY[KEFLBx++]){case'0':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x166)]='https://hub-devtestops.bsstag.com/wd/hub';continue;case'1':module['exports'][a55_0x4c7fba(0x15c)]=a55_0x4c7fba(0xde);continue;case'2':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0xe0)]=a55_0x4c7fba(0xad);continue;case'3':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x16c)]=a55_0x4c7fba(0x10f);continue;case'4':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x101)]=a55_0x4c7fba(0x10d);continue;case'5':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x165)]=a55_0x4c7fba(0xfa);continue;case'6':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0xc6)]=a55_0x4c7fba(0xf4);continue;case'7':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x95)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'8':module[a55_0x4c7fba(0x98)]['BROWSERSTACK_API_URL']=a55_0x4c7fba(0xcb);continue;case'9':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x13b)]=a55_0x4c7fba(0x14b);continue;case'10':module['exports'][a55_0x4c7fba(0x149)]=a55_0x4c7fba(0xd4);continue;case'11':module['exports']['TCG_URL']='https://tcg.bsstag.com';continue;case'12':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x168)]='https://edsstaging.bsstag.com';continue;}break;}}else{if(_env===a55_0x4c7fba(0x93)||_env===a55_0x4c7fba(0x102)){const oZWdWz=a55_0x4c7fba(0xc7)[a55_0x4c7fba(0xb3)]('|');let wctAjt=0x0;while(!![]){switch(oZWdWz[wctAjt++]){case'0':module['exports'][a55_0x4c7fba(0x166)]=a55_0x4c7fba(0xb8);continue;case'1':module['exports'][a55_0x4c7fba(0x9f)]=a55_0x4c7fba(0xd6);continue;case'2':module['exports'][a55_0x4c7fba(0x101)]='https://api-preprod.bsstag.com';continue;case'3':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x95)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'4':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0xc6)]='bsstag.com';continue;case'5':module[a55_0x4c7fba(0x98)]['BROWSERSTACK_AUTOMATE_URL']=a55_0x4c7fba(0x135);continue;case'6':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0xa8)]=a55_0x4c7fba(0x14c);continue;case'7':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x168)]=a55_0x4c7fba(0xcc);continue;case'8':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x15c)]=a55_0x4c7fba(0x11d);continue;case'9':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x149)]='https://automation-preprod.bsstag.com';continue;case'10':module[a55_0x4c7fba(0x98)]['OBSERVABILITY_UPLOAD_URL']=a55_0x4c7fba(0x16b);continue;case'11':module[a55_0x4c7fba(0x98)][a55_0x4c7fba(0x16c)]=a55_0x4c7fba(0x10f);continue;case'12':module['exports'][a55_0x4c7fba(0xe0)]='https://app-automate-preprod.bsstag.com/dashboard/v2/builds/';continue;}break;}}}
|
|
1
|
+
const a58_0x2bc172=a58_0x470e;(function(_0x5c5c36,_0x27a896){const _0x4cce72=a58_0x470e,_0x428ac0=_0x5c5c36();while(!![]){try{const _0x7794c0=-parseInt(_0x4cce72(0x21c))/0x1+-parseInt(_0x4cce72(0x19c))/0x2+-parseInt(_0x4cce72(0x1d9))/0x3*(-parseInt(_0x4cce72(0x18b))/0x4)+-parseInt(_0x4cce72(0x16b))/0x5+parseInt(_0x4cce72(0x210))/0x6+parseInt(_0x4cce72(0x203))/0x7*(-parseInt(_0x4cce72(0x237))/0x8)+-parseInt(_0x4cce72(0x1e7))/0x9*(-parseInt(_0x4cce72(0x149))/0xa);if(_0x7794c0===_0x27a896)break;else _0x428ac0['push'](_0x428ac0['shift']());}catch(_0xfd30e1){_0x428ac0['push'](_0x428ac0['shift']());}}}(a58_0x3ada,0x93224));const a58_0x3fca4d={};a58_0x3fca4d[a58_0x2bc172(0x193)]='shows\x20version\x20information',a58_0x3fca4d[a58_0x2bc172(0x1a2)]=a58_0x2bc172(0x1c8);const a58_0x176bf9={};a58_0x176bf9['INFO']=a58_0x2bc172(0x1da);const a58_0x3deb14={};a58_0x3deb14[a58_0x2bc172(0x193)]=a58_0x2bc172(0x1aa);const a58_0x1e120a={};a58_0x1e120a[a58_0x2bc172(0x193)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';const a58_0x4d102e={};a58_0x4d102e[a58_0x2bc172(0x193)]=a58_0x2bc172(0x1c3);const a58_0x5319e7={};a58_0x5319e7['INFO']='Run\x20nightwatch\x20tests\x20on\x20browserstack';const a58_0x5f0c8={};a58_0x5f0c8[a58_0x2bc172(0x193)]=a58_0x2bc172(0x1cf);const a58_0x354ea9={};a58_0x354ea9[a58_0x2bc172(0x193)]=a58_0x2bc172(0x1ec);const a58_0x487084={};a58_0x487084[a58_0x2bc172(0x193)]=a58_0x2bc172(0x196);const a58_0x57f431={};a58_0x57f431[a58_0x2bc172(0x193)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a58_0x53a16d={};a58_0x53a16d[a58_0x2bc172(0x193)]=a58_0x2bc172(0x147);const a58_0x567e90={};a58_0x567e90[a58_0x2bc172(0x168)]=a58_0x2bc172(0x206),a58_0x567e90['MOCHA']=a58_0x2bc172(0x22f),a58_0x567e90[a58_0x2bc172(0x1f6)]=a58_0x2bc172(0x18c),a58_0x567e90[a58_0x2bc172(0x17e)]=a58_0x2bc172(0x19b),a58_0x567e90[a58_0x2bc172(0x211)]='codeceptjs-cucumber',a58_0x567e90[a58_0x2bc172(0x1a4)]='cucumber',a58_0x567e90['VANILLA']=a58_0x2bc172(0x1ed),a58_0x567e90[a58_0x2bc172(0x1d8)]=a58_0x2bc172(0x207);const a58_0x58ee25={};function a58_0x470e(_0x24563d,_0x50e3a6){const _0x3ada00=a58_0x3ada();return a58_0x470e=function(_0x470ebb,_0x183d21){_0x470ebb=_0x470ebb-0x143;let _0x14df22=_0x3ada00[_0x470ebb];return _0x14df22;},a58_0x470e(_0x24563d,_0x50e3a6);}a58_0x58ee25['invalidKeys']='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a58_0x58ee25[a58_0x2bc172(0x200)]=a58_0x2bc172(0x230),a58_0x58ee25[a58_0x2bc172(0x1bd)]=a58_0x2bc172(0x209),a58_0x58ee25['invalidTestInputType']=a58_0x2bc172(0x175);const a58_0x5c9409={};a58_0x5c9409[a58_0x2bc172(0x1ae)]=a58_0x2bc172(0x1f0),a58_0x5c9409[a58_0x2bc172(0x1e4)]=a58_0x2bc172(0x1a7);const a58_0x1e0a75={};a58_0x1e0a75[a58_0x2bc172(0x1d3)]=0xfde8,a58_0x1e0a75[a58_0x2bc172(0x169)]=0xfde8,a58_0x1e0a75['Jest']=0x186a0;const a58_0x302085={};a58_0x302085[a58_0x2bc172(0x234)]=['userName',a58_0x2bc172(0x156),a58_0x2bc172(0x1b6),a58_0x2bc172(0x17a),a58_0x2bc172(0x183),a58_0x2bc172(0x1e1),a58_0x2bc172(0x23b),a58_0x2bc172(0x1c4),a58_0x2bc172(0x208),'proxyUrl',a58_0x2bc172(0x227)],a58_0x302085['browserStackLocalOptions']=['proxyUser','proxyPass','localProxyUser',a58_0x2bc172(0x16e)];const a58_0x9a5092={};function a58_0x3ada(){const _0x5deb10=['cucumber','HEALING_FAILURE_TIMEOUT','app-automate','AUTOMATE_PRODUCTS','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','PLAYWRIGHT_TRACE_LOGS','1508710TQGPzI','BROWSERSTACK_AUTOMATE_URL','PACKAGE_TYPE','MOCHA','OBSERVABILITY_SUPPORTED_FWS','HST','ERR_TLS_CERT_ALTNAME_INVALID','ERR_CONNECTION_RESET','EDS_URL','browserstackAutomation','BROWSERSTACK_API_URL','percy','FRAMEWORKS','accessKey','wss://cdp-preprod.bsstag.com/playwright?caps=','.aab','INTERNALLY_USED_ENV_VARS','.apk','staging','Upgrade\x20required','stag','chromeOptions','BSTACK_DELTA','VALID_APP_EXTENSION','REDACTED_KEYS','testOrchestrationOptions','acceptSslCerts','DEBUG_LOG_FILE_NAME','bsstag','UPDATED_CLI_ENDPOINT','rerunTests','PLAYWRIGHT','Cucumber-JS','A11Y_SCAN','4475345jTTQUu','preprod','SSL_ERROR_MESSAGES','localProxyPass','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','browserstack.com','platforms','/usage-debug.log','exports','ObservabilitySync','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','SDK-GEN-001','TCG_AUTH_TIMEOUT','testContextOptions','ERR_SOCKET_NOT_CONNECTED','httpsProxy','ROOT_REGEX','turboScale','MAX_GIT_META_DATA_SIZE_IN_BYTES','CODECEPT','PUPPETEER_HUB_URL','SSL_ERROR_CODES','BSTACK_URL','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','customVariables','TEST_FRAMEWORK_HOOK_TIMEOUT','proxySettings','https://hub-devtestops.bsstag.com/wd/hub','TCG_URL','ieOptions','NUDGE_LOCAL_ERRORS','testObservability','244DlRzxW','jest','ERR_ADDRESS_UNREACHABLE','testObservabilityOptions','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','ERR_NAME_RESOLUTION_FAILED','testReportingOptions','[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.','INFO','playwright','https://api-cloud-devtestops.bsstag.com','Run\x20codeceptjs\x20tests\x20on\x20browserstack','ERR_CONNECTION_REFUSED','pre-prod','PLAYWRIGHT_CONFIG_OPTION_ERRORS','ERR_NAME_NOT_RESOLVED','codeceptjs','1561104sCLtCI','GLOBAL_AGENT_HTTP_PROXY','INTEGRATIONS','CUSTOM_ID_REGEX','FUNNEL_INSTRUMENTATION_API_URL','ERR_NETWORK_CHANGED','HELP','PLAYWRIGHT_HUB_URL','CUCUMBER','wss://cdp.browserstack.com/puppeteer?caps=','CLIENT_TROUBLESHOOTING_HASH','module','ERR_CONNECTION_TIMED_OUT','ATS_HUB_URL_REGEX','Run\x20mocha\x20tests\x20on\x20browserstack','VERSION','unable\x20to\x20verify\x20the\x20first\x20certificate','/usage.log','COMMONJS','browserstackLocal','BROWSERSTACK_APP_AUTOMATE_URL','SDKTestTcgProxyFailure','browserVersion','SDKTestInitFailedResponse','HUB_URL_REGEX','pageLoadStrategy','httpProxy','localOptions','hubUrl','browserstack-ats.com','INVALID_INIT_RESP_WITH_USER_IMPACT','SDKTestInvalidTcgAuthResponseWithUserImpact','TCG_AUTH_FAILURE','mandatoryDependency','ERR_BLOCKED_BY_CLIENT','.ipa','ETXTBSY','automate','CERT_HAS_EXPIRED','Run\x20js\x20tests\x20on\x20browserstack','proxyPassword','unhandledPromptBehavior','accessibility','https://api-preprod.bsstag.com','Specify\x20--help\x20for\x20available\x20options','wss://cdp-preprod.bsstag.com/puppeteer?caps=','https://api-cloud.browserstack.com','9|4|7|5|2|13|10|1|11|0|3|6|12|8','ERR_CONNECTION_FAILED','UNABLE_TO_VERIFY_LEAF_SIGNATURE','logLevel','Run\x20playwright\x20tests\x20on\x20Browserstack','SHAREABLE_ID_REGEX','self\x20signed\x20certificate','https://automate.browserstack.com/dashboard/v2/builds/','Mocha','timeouts','BSTACK_ATS_URL','unable\x20to\x20get\x20local\x20issuer\x20certificate','sdk/v1/update_cli','PUPPETEER','18366venNVd','Run\x20jest\x20tests\x20on\x20browserstack','ERR_ADDRESS_INVALID','https://api.browserstack.com','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','USER_CONFIG_DETAILS_PATH','testReporting','https://automation-preprod.bsstag.com','browserstack.userName','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','https://tcg-preprod.bsstag.com','MODULE','EBUSY','BINARY_BUSY_ERROR_CODES','135GndnNg','https://upload-observability-devtestops-ssi.bsstag.com','automation','disableAutoCaptureLogs','SDK_INSTRUMENTATION_CONFIG','Run\x20puppeteer\x20tests\x20on\x20BrowserStack','vanilla','acceptSslCert','A11Y_SAVE_RESULTS','commonjs','https://app-automate.browserstack.com/dashboard/v2/builds/','prod','VANILLA','SELF_SIGNED_CERT_IN_CHAIN','browserStackLocalOptions','JEST','toLowerCase','AI_INIT_FAILURE','A11Y_GET_RESULTS_SUMMARY','ROOT_CAPS','browserName','turboScaleOptions','ERR_SOCKS_CONNECTION_FAILED','...[TRUNCATED]','ERR_TUNNEL_CONNECTION_FAILED','uniqueDependency','OBSERVABILITY_UPLOAD_URL','CI_ARTIFACTS_PATH','28007uqgIub','LOG_FILE_NAME','DEPTH_ZERO_SELF_SIGNED_CERT','Playwright','puppeteer','authToken','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','TCG_REGION','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','https://observability-devtestops.bsstag.com','split','APP_AUTOMATE_PRODUCTS','wss://cdp-devtestops.bsstag.com/puppeteer?caps=','3587142CvgKaH','CODECEPT_CUCUMBER','acceptInsecureCerts','use','https://upload-observability-preprod.bsstag.com','https://upload-observability.browserstack.com','https://hub.browserstack.com/wd/hub','env','TEST\x20REPORTING\x20AND\x20ANALYTICS','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','GLOBAL_AGENT_NO_PROXY','AUTOLOGCAPTURE_NOTIFICATION','263910LQBUQx','edgeOptions','TCG_DOWN','AUTOMATION_LOG_COMMANDS','accessibilityOptions','observability','APP_UPLOAD_URL','SDKTestTcgtInitSuccessful','percyCaptureMode','https://automate-preprod.bsstag.com/dashboard/v2/builds/','AUTOMATE','browserstack.overridelocalInfo.userAuthToken','ATS_WSS_URL_REGEX','https://tcg.browserstack.com','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','parallelsPerPlatform','APP_AUTOMATE','firefoxOptions','BROWSERSTACK','mocha','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','bsstag.com','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','ERR_PROXY_CONNECTION_FAILED','root','UPGRADE_REQUIRED','CONNECTIVITY_ISSUE_ERROR_CODES','1384JsjltX','HEALING_LOG_DATA_TIMEOUT','ERR_CONNECTION_ABORTED','https://edsstaging.bsstag.com','browserstack.accessKey','PERCY_SUPPORTED_FRAMEWORKS','https://hub-preprod.bsstag.com/wd/hub','ERR_FAILED','O11Y_URL','AI_ENABLED_FRAMEWORK','CODECEPTJS'];a58_0x3ada=function(){return _0x5deb10;};return a58_0x3ada();}a58_0x9a5092[a58_0x2bc172(0x1af)]=a58_0x2bc172(0x1af),a58_0x9a5092[a58_0x2bc172(0x1f5)]=a58_0x2bc172(0x1f5),a58_0x9a5092[a58_0x2bc172(0x1b7)]=a58_0x2bc172(0x1f5),a58_0x9a5092[a58_0x2bc172(0x22b)]=a58_0x2bc172(0x22b),a58_0x9a5092[a58_0x2bc172(0x171)]='platforms',a58_0x9a5092[a58_0x2bc172(0x1ce)]=a58_0x2bc172(0x1ce),a58_0x9a5092[a58_0x2bc172(0x1b6)]=a58_0x2bc172(0x1b6),a58_0x9a5092[a58_0x2bc172(0x17a)]='httpsProxy',a58_0x9a5092['framework']='framework',a58_0x9a5092[a58_0x2bc172(0x178)]=a58_0x2bc172(0x178),a58_0x9a5092[a58_0x2bc172(0x18a)]=a58_0x2bc172(0x18a),a58_0x9a5092[a58_0x2bc172(0x1df)]=a58_0x2bc172(0x1df),a58_0x9a5092[a58_0x2bc172(0x18e)]=a58_0x2bc172(0x18e),a58_0x9a5092[a58_0x2bc172(0x191)]=a58_0x2bc172(0x191),a58_0x9a5092['customVariables']=a58_0x2bc172(0x183),a58_0x9a5092[a58_0x2bc172(0x1e9)]=a58_0x2bc172(0x152),a58_0x9a5092[a58_0x2bc172(0x152)]='browserstackAutomation',a58_0x9a5092[a58_0x2bc172(0x167)]='rerunTests',a58_0x9a5092['percy']=a58_0x2bc172(0x154),a58_0x9a5092['percyOptions']='percyOptions',a58_0x9a5092['percyCaptureMode']=a58_0x2bc172(0x224),a58_0x9a5092[a58_0x2bc172(0x1ea)]=a58_0x2bc172(0x1ea),a58_0x9a5092[a58_0x2bc172(0x1c6)]=a58_0x2bc172(0x1c6),a58_0x9a5092['accessibilityOptions']=a58_0x2bc172(0x220),a58_0x9a5092[a58_0x2bc172(0x17c)]='turboScale',a58_0x9a5092[a58_0x2bc172(0x1fc)]=a58_0x2bc172(0x1fc),a58_0x9a5092[a58_0x2bc172(0x185)]=a58_0x2bc172(0x185),a58_0x9a5092['testOrchestrationOptions']=a58_0x2bc172(0x162);const a58_0x39058d={};a58_0x39058d['.browserstack\x20folder\x20not\x20accessible']=[a58_0x2bc172(0x176),a58_0x2bc172(0x192)];const a58_0x7b4c86={};a58_0x7b4c86[a58_0x2bc172(0x1ab)]=a58_0x3fca4d,a58_0x7b4c86[a58_0x2bc172(0x1f6)]=a58_0x176bf9,a58_0x7b4c86[a58_0x2bc172(0x14c)]=a58_0x3deb14,a58_0x7b4c86['CUCUMBER']=a58_0x1e120a,a58_0x7b4c86[a58_0x2bc172(0x1f3)]=a58_0x4d102e,a58_0x7b4c86['NIGHTWATCH']=a58_0x5319e7,a58_0x7b4c86[a58_0x2bc172(0x168)]=a58_0x5f0c8,a58_0x7b4c86[a58_0x2bc172(0x1d8)]=a58_0x354ea9,a58_0x7b4c86[a58_0x2bc172(0x241)]=a58_0x487084,a58_0x7b4c86[a58_0x2bc172(0x14e)]=a58_0x57f431,a58_0x7b4c86[a58_0x2bc172(0x19e)]=a58_0x53a16d,a58_0x7b4c86[a58_0x2bc172(0x15f)]=0xf*0x3c*0x3e8,a58_0x7b4c86[a58_0x2bc172(0x1b8)]=a58_0x2bc172(0x216),a58_0x7b4c86['TCG_URL']=a58_0x2bc172(0x229),a58_0x7b4c86[a58_0x2bc172(0x20a)]=a58_0x2bc172(0x213),a58_0x7b4c86['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a58_0x7b4c86[a58_0x2bc172(0x1a9)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a58_0x7b4c86[a58_0x2bc172(0x228)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a58_0x7b4c86[a58_0x2bc172(0x1fa)]=[a58_0x2bc172(0x212),a58_0x2bc172(0x1b5),'strictFileInteractability',a58_0x2bc172(0x1c5),a58_0x2bc172(0x1d4),a58_0x2bc172(0x1fb),a58_0x2bc172(0x1b2),a58_0x2bc172(0x163),a58_0x2bc172(0x1ee),a58_0x2bc172(0x15e),a58_0x2bc172(0x22d),a58_0x2bc172(0x21d),a58_0x2bc172(0x188)],a58_0x7b4c86[a58_0x2bc172(0x17b)]=/^[\w-]+:.*$/,a58_0x7b4c86['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a58_0x7b4c86[a58_0x2bc172(0x151)]='https://eds.browserstack.com',a58_0x7b4c86[a58_0x2bc172(0x153)]=a58_0x2bc172(0x1dc),a58_0x7b4c86[a58_0x2bc172(0x222)]=a58_0x2bc172(0x1ca),a58_0x7b4c86[a58_0x2bc172(0x166)]=a58_0x2bc172(0x1d7),a58_0x7b4c86[a58_0x2bc172(0x1a0)]='sdk/v1/event',a58_0x7b4c86[a58_0x2bc172(0x146)]=[a58_0x2bc172(0x1c1),a58_0x2bc172(0x221)],a58_0x7b4c86[a58_0x2bc172(0x20e)]=[a58_0x2bc172(0x145),a58_0x2bc172(0x221)],a58_0x7b4c86[a58_0x2bc172(0x1e2)]=['observability'],a58_0x7b4c86[a58_0x2bc172(0x201)]=a58_0x2bc172(0x215),a58_0x7b4c86[a58_0x2bc172(0x14d)]=['mocha','Playwright'],a58_0x7b4c86[a58_0x2bc172(0x226)]=['automate'],a58_0x7b4c86['BROWSERSTACK_AUTOMATE_URL']=a58_0x2bc172(0x1d2),a58_0x7b4c86['BROWSERSTACK_APP_AUTOMATE_URL']=a58_0x2bc172(0x1f1),a58_0x7b4c86[a58_0x2bc172(0x22c)]=[a58_0x2bc172(0x145)],a58_0x7b4c86[a58_0x2bc172(0x189)]=[a58_0x2bc172(0x23e),'ERR_TIMED_OUT',a58_0x2bc172(0x1be),a58_0x2bc172(0x1a1),a58_0x2bc172(0x179),'ERR_CONNECTION_CLOSED',a58_0x2bc172(0x150),a58_0x2bc172(0x197),a58_0x2bc172(0x239),a58_0x2bc172(0x1cc),a58_0x2bc172(0x19a),a58_0x2bc172(0x1db),a58_0x2bc172(0x18d),a58_0x2bc172(0x1ff),a58_0x2bc172(0x1a8),a58_0x2bc172(0x1fd),a58_0x2bc172(0x16f),a58_0x2bc172(0x233),a58_0x2bc172(0x19a),a58_0x2bc172(0x190),a58_0x2bc172(0x18f)],a58_0x7b4c86[a58_0x2bc172(0x160)]=[a58_0x2bc172(0x15a),a58_0x2bc172(0x158),a58_0x2bc172(0x1bf)],a58_0x7b4c86[a58_0x2bc172(0x19f)]='^[a-zA-Z0-9_.-]*$',a58_0x7b4c86[a58_0x2bc172(0x1d0)]=a58_0x2bc172(0x1dd),a58_0x7b4c86[a58_0x2bc172(0x202)]='./browserstack-artifacts/',a58_0x7b4c86[a58_0x2bc172(0x1a3)]='wss://cdp.browserstack.com/playwright?caps=',a58_0x7b4c86['PUPPETEER_HUB_URL']=a58_0x2bc172(0x1a5),a58_0x7b4c86[a58_0x2bc172(0x155)]=a58_0x567e90,a58_0x7b4c86[a58_0x2bc172(0x23c)]=[a58_0x2bc172(0x18c),a58_0x2bc172(0x22f)],a58_0x7b4c86[a58_0x2bc172(0x199)]=a58_0x58ee25,a58_0x7b4c86[a58_0x2bc172(0x21b)]=a58_0x2bc172(0x20b),a58_0x7b4c86[a58_0x2bc172(0x14b)]=a58_0x5c9409,a58_0x7b4c86[a58_0x2bc172(0x17d)]=0x40*0x400,a58_0x7b4c86['GIT_META_DATA_TRUNCATED']=a58_0x2bc172(0x1fe),a58_0x7b4c86[a58_0x2bc172(0x235)]=a58_0x2bc172(0x15c),a58_0x7b4c86[a58_0x2bc172(0x21e)]='SDKTestTcgDownResponse',a58_0x7b4c86[a58_0x2bc172(0x1ba)]=a58_0x2bc172(0x1bb),a58_0x7b4c86[a58_0x2bc172(0x1bc)]='SDKTestTcgAuthFailure',a58_0x7b4c86['AI_INIT_SUCCESSFUL']=a58_0x2bc172(0x223),a58_0x7b4c86[a58_0x2bc172(0x1f8)]=a58_0x2bc172(0x1b3),a58_0x7b4c86['AI_PROXY_FAILURE']=a58_0x2bc172(0x1b1),a58_0x7b4c86[a58_0x2bc172(0x177)]=0x1388,a58_0x7b4c86['SET_TCG_TOKEN_TIMEOUT']=0x1388,a58_0x7b4c86[a58_0x2bc172(0x238)]=0x1388,a58_0x7b4c86[a58_0x2bc172(0x144)]=0x1388,a58_0x7b4c86['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a58_0x7b4c86[a58_0x2bc172(0x184)]=a58_0x1e0a75,a58_0x7b4c86[a58_0x2bc172(0x161)]=a58_0x302085,a58_0x7b4c86[a58_0x2bc172(0x240)]=[a58_0x2bc172(0x1ed),a58_0x2bc172(0x19b)],a58_0x7b4c86[a58_0x2bc172(0x1eb)]=a58_0x9a5092,a58_0x7b4c86[a58_0x2bc172(0x204)]=a58_0x2bc172(0x1ad),a58_0x7b4c86[a58_0x2bc172(0x164)]=a58_0x2bc172(0x172),a58_0x7b4c86['BSTACK_URL']=a58_0x2bc172(0x170),a58_0x7b4c86[a58_0x2bc172(0x1d5)]=a58_0x2bc172(0x1b9),a58_0x7b4c86[a58_0x2bc172(0x23f)]='https://automation.browserstack.com',a58_0x7b4c86['TEST_REPORTING_ANALYTICS']=a58_0x2bc172(0x218),a58_0x7b4c86[a58_0x2bc172(0x22e)]='browserstack',a58_0x7b4c86['CLI_SUPPORTED_FRAMEWORKS']=[a58_0x2bc172(0x194),a58_0x2bc172(0x143),'jest',a58_0x2bc172(0x207)],a58_0x7b4c86[a58_0x2bc172(0x21f)]=[a58_0x2bc172(0x16a),a58_0x2bc172(0x1f9),'A11Y_GET_RESULTS',a58_0x2bc172(0x1ef),'percyScreenshot',a58_0x2bc172(0x174)],a58_0x7b4c86[a58_0x2bc172(0x148)]='PLAYWRIGHT_TRACE_LOGS',a58_0x7b4c86[a58_0x2bc172(0x16d)]=[a58_0x2bc172(0x1d1),a58_0x2bc172(0x1ac),'certificate\x20has\x20expired',a58_0x2bc172(0x1d6),'ERR_TLS_CERT_ALTNAME_INVALID',a58_0x2bc172(0x205)],a58_0x7b4c86[a58_0x2bc172(0x180)]=[a58_0x2bc172(0x1f4),a58_0x2bc172(0x205),a58_0x2bc172(0x1cd),a58_0x2bc172(0x1c2),a58_0x2bc172(0x14f),a58_0x2bc172(0x232)],a58_0x7b4c86[a58_0x2bc172(0x236)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a58_0x7b4c86[a58_0x2bc172(0x1a6)]=a58_0x39058d,a58_0x7b4c86[a58_0x2bc172(0x159)]=[a58_0x2bc172(0x19d),a58_0x2bc172(0x21a),a58_0x2bc172(0x1de)],a58_0x7b4c86[a58_0x2bc172(0x1e6)]=[a58_0x2bc172(0x1c0),a58_0x2bc172(0x1e5)],module[a58_0x2bc172(0x173)]=a58_0x7b4c86;const _env=(process[a58_0x2bc172(0x217)]['BROWSERSTACK_ENV']||a58_0x2bc172(0x1f2))[a58_0x2bc172(0x1f7)]();if(_env===a58_0x2bc172(0x15b)||_env===a58_0x2bc172(0x15d)){const CkWfhS='7|1|10|9|11|2|4|0|8|12|5|6|13|3'[a58_0x2bc172(0x20d)]('|');let jZpdNs=0x0;while(!![]){switch(CkWfhS[jZpdNs++]){case'0':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x1a3)]='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'1':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x153)]='https://apidevtestops.bsstag.com';continue;case'2':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x1b0)]=a58_0x2bc172(0x182);continue;case'3':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x22e)]=a58_0x2bc172(0x165);continue;case'4':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x222)]=a58_0x2bc172(0x195);continue;case'5':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x23f)]=a58_0x2bc172(0x20c);continue;case'6':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x201)]=a58_0x2bc172(0x1e8);continue;case'7':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x1b8)]=a58_0x2bc172(0x186);continue;case'8':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x17f)]=a58_0x2bc172(0x20f);continue;case'9':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x1b4)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'10':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x187)]='https://tcg.bsstag.com';continue;case'11':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x14a)]=a58_0x2bc172(0x22a);continue;case'12':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x181)]=a58_0x2bc172(0x231);continue;case'13':module[a58_0x2bc172(0x173)]['EDS_URL']=a58_0x2bc172(0x23a);continue;}break;}}else{if(_env===a58_0x2bc172(0x16c)||_env===a58_0x2bc172(0x198)){const NRoAiT=a58_0x2bc172(0x1cb)[a58_0x2bc172(0x20d)]('|');let EsGbRh=0x0;while(!![]){switch(NRoAiT[EsGbRh++]){case'0':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x181)]=a58_0x2bc172(0x231);continue;case'1':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x1a3)]=a58_0x2bc172(0x157);continue;case'2':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x14a)]=a58_0x2bc172(0x225);continue;case'3':module['exports'][a58_0x2bc172(0x23f)]=a58_0x2bc172(0x1e0);continue;case'4':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x153)]='https://api-preprod.bsstag.com';continue;case'5':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x1b4)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'6':module['exports'][a58_0x2bc172(0x201)]=a58_0x2bc172(0x214);continue;case'7':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x187)]=a58_0x2bc172(0x1e3);continue;case'8':module['exports']['BROWSERSTACK']=a58_0x2bc172(0x165);continue;case'9':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x1b8)]=a58_0x2bc172(0x23d);continue;case'10':module['exports'][a58_0x2bc172(0x222)]=a58_0x2bc172(0x1c7);continue;case'11':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x17f)]=a58_0x2bc172(0x1c9);continue;case'12':module[a58_0x2bc172(0x173)][a58_0x2bc172(0x151)]=a58_0x2bc172(0x23a);continue;case'13':module['exports'][a58_0x2bc172(0x1b0)]=a58_0x2bc172(0x219);continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a59_0x25ade6=a59_0x4cce;function a59_0x3251(){const _0x9d2661=['6Scjovd','log','./logReportingAPI','colouredLayout','8188461odTqkU','29620448kZDCQh','30HUbHzf','layout','AFFDf','1230404BnESeD','join','1zHwDNg','1635302dztJGz','212896rrjPmf','level','399MBbrto','data','14332740RfHVJJ','1278305QkGRtK','levelStr'];a59_0x3251=function(){return _0x9d2661;};return a59_0x3251();}(function(_0x14fa0a,_0x8fc483){const _0x39ebd8=a59_0x4cce,_0x4ed833=_0x14fa0a();while(!![]){try{const _0x32bec3=-parseInt(_0x39ebd8(0x1da))/0x1*(-parseInt(_0x39ebd8(0x1db))/0x2)+parseInt(_0x39ebd8(0x1e3))/0x3*(-parseInt(_0x39ebd8(0x1d8))/0x4)+-parseInt(_0x39ebd8(0x1e1))/0x5*(-parseInt(_0x39ebd8(0x1e9))/0x6)+parseInt(_0x39ebd8(0x1de))/0x7*(parseInt(_0x39ebd8(0x1dc))/0x8)+-parseInt(_0x39ebd8(0x1e7))/0x9+parseInt(_0x39ebd8(0x1e0))/0xa+-parseInt(_0x39ebd8(0x1e8))/0xb;if(_0x32bec3===_0x8fc483)break;else _0x4ed833['push'](_0x4ed833['shift']());}catch(_0x2a8668){_0x4ed833['push'](_0x4ed833['shift']());}}}(a59_0x3251,0xca39b));const logReportingAPI=require(a59_0x25ade6(0x1e5)),BSTestOpsLogger=new logReportingAPI({});function a59_0x4cce(_0x1bbfbb,_0x2fb783){const _0x325170=a59_0x3251();return a59_0x4cce=function(_0x4cceca,_0x3a3bd3){_0x4cceca=_0x4cceca-0x1d6;let _0x1b17f9=_0x325170[_0x4cceca];return _0x1b17f9;},a59_0x4cce(_0x1bbfbb,_0x2fb783);}function BSTestOpsLog4JSAppender(_0x3916b9,_0x4f94a2){return _0x25732c=>{const _0x12d479=a59_0x4cce;BSTestOpsLogger[_0x12d479(0x1e4)]({'level':_0x25732c[_0x12d479(0x1dd)]?_0x25732c[_0x12d479(0x1dd)][_0x12d479(0x1e2)]:null,'message':_0x25732c[_0x12d479(0x1df)]?_0x25732c[_0x12d479(0x1df)][_0x12d479(0x1d9)]('\x20'):null});};}exports['configure']=(_0x1b38c0,_0x565e45)=>{const _0x7a357f=a59_0x25ade6,_0x3f86a0={'AFFDf':function(_0x93e580,_0x1fb187,_0x17c95b){return _0x93e580(_0x1fb187,_0x17c95b);}};let _0x55baf6=_0x565e45[_0x7a357f(0x1e6)];return _0x1b38c0[_0x7a357f(0x1d6)]&&(_0x55baf6=_0x565e45[_0x7a357f(0x1d6)](_0x1b38c0[_0x7a357f(0x1d6)]['type'],_0x1b38c0[_0x7a357f(0x1d6)])),_0x3f86a0[_0x7a357f(0x1d7)](BSTestOpsLog4JSAppender,_0x55baf6,_0x1b38c0['timezoneOffset']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a60_0x3ed9f4=a60_0x2dab;function a60_0x2dab(_0x2dfbe6,_0x41d165){const _0x456457=a60_0x4564();return a60_0x2dab=function(_0x2dab46,_0x46cdf4){_0x2dab46=_0x2dab46-0x12d;let _0x1dc7ad=_0x456457[_0x2dab46];return _0x1dc7ad;},a60_0x2dab(_0x2dfbe6,_0x41d165);}(function(_0x543ad2,_0x298eb2){const _0x17ad42=a60_0x2dab,_0x1579f6=_0x543ad2();while(!![]){try{const _0x3843e9=-parseInt(_0x17ad42(0x142))/0x1*(parseInt(_0x17ad42(0x13c))/0x2)+parseInt(_0x17ad42(0x140))/0x3*(parseInt(_0x17ad42(0x131))/0x4)+-parseInt(_0x17ad42(0x130))/0x5+-parseInt(_0x17ad42(0x12d))/0x6*(parseInt(_0x17ad42(0x13a))/0x7)+parseInt(_0x17ad42(0x13d))/0x8+parseInt(_0x17ad42(0x139))/0x9*(-parseInt(_0x17ad42(0x137))/0xa)+parseInt(_0x17ad42(0x145))/0xb;if(_0x3843e9===_0x298eb2)break;else _0x1579f6['push'](_0x1579f6['shift']());}catch(_0x43f351){_0x1579f6['push'](_0x1579f6['shift']());}}}(a60_0x4564,0x50446));const Transport=require(a60_0x3ed9f4(0x133)),{consoleHolder}=require(a60_0x3ed9f4(0x134)),a60_0x433cfc={};a60_0x433cfc[a60_0x3ed9f4(0x148)]=a60_0x3ed9f4(0x148),a60_0x433cfc[a60_0x3ed9f4(0x149)]='ERROR',a60_0x433cfc[a60_0x3ed9f4(0x138)]=a60_0x3ed9f4(0x138),a60_0x433cfc['TRACE']=a60_0x3ed9f4(0x12f),a60_0x433cfc['WARN']=a60_0x3ed9f4(0x143);const LOG_LEVELS=a60_0x433cfc;class logPatcher extends Transport{constructor(_0x249e25){super(_0x249e25);}[a60_0x3ed9f4(0x147)]=(_0xfa828b=LOG_LEVELS[a60_0x3ed9f4(0x148)],_0x5480dc=[''])=>{const _0x1bdcdd=a60_0x3ed9f4,_0x2ddbd2={};_0x2ddbd2['WRCKq']='TEST_LOG';const _0x510212=_0x2ddbd2;consoleHolder[_0xfa828b[_0x1bdcdd(0x14a)]()](..._0x5480dc),process[_0x1bdcdd(0x132)](_0x1bdcdd(0x141)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':_0xfa828b['toUpperCase'](),'message':'\x22'+_0x5480dc[_0x1bdcdd(0x144)](',\x20')+'\x22','kind':_0x510212[_0x1bdcdd(0x13e)],'http_response':{}});};[a60_0x3ed9f4(0x13f)]=(..._0x12bf06)=>{const _0x5729e4=a60_0x3ed9f4;this[_0x5729e4(0x147)](LOG_LEVELS[_0x5729e4(0x12f)],_0x12bf06);};[a60_0x3ed9f4(0x135)]=(..._0x4d9b7f)=>{const _0x38bdf6=a60_0x3ed9f4;this['logToTestOps'](LOG_LEVELS[_0x38bdf6(0x138)],_0x4d9b7f);};[a60_0x3ed9f4(0x136)]=(..._0x459860)=>{const _0x4fcbc6=a60_0x3ed9f4;this[_0x4fcbc6(0x147)](LOG_LEVELS[_0x4fcbc6(0x148)],_0x459860);};['warn']=(..._0x2b3dc6)=>{const _0x3ab300=a60_0x3ed9f4;this[_0x3ab300(0x147)](LOG_LEVELS[_0x3ab300(0x143)],_0x2b3dc6);};[a60_0x3ed9f4(0x12e)]=(..._0x46bb6d)=>{const _0x2ea7b5=a60_0x3ed9f4;this[_0x2ea7b5(0x147)](LOG_LEVELS['ERROR'],_0x46bb6d);};[a60_0x3ed9f4(0x146)]=(..._0x1f804a)=>{const _0x1185db=a60_0x3ed9f4;this[_0x1185db(0x147)](LOG_LEVELS['INFO'],_0x1f804a);};};function a60_0x4564(){const _0x83c2a3=['toLowerCase','270wXvHWt','error','TRACE','882925BChpPO','1837428opIIAn','emit','winston-transport','../../helpers/test-observability/constants','debug','info','30790gwSUMN','DEBUG','576oSjjMc','41965MQQeHF','exports','4rrREnz','1084488rYZqkJ','WRCKq','trace','3aokVxW','bs:addLog:','135029yzEgsX','WARN','join','7120630fDfoBt','log','logToTestOps','INFO','ERROR'];a60_0x4564=function(){return _0x83c2a3;};return a60_0x4564();}module[a60_0x3ed9f4(0x13b)]=logPatcher;
|