browserstack-node-sdk 1.42.0 → 1.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/cucumber-sessionDetails.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/playwright-patcher.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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a127_0x2102(_0xfb8e5f,_0x2948e7){const _0x2fd6f8=a127_0x2fd6();return a127_0x2102=function(_0x210219,_0x2ba561){_0x210219=_0x210219-0x88;let _0x4f92e8=_0x2fd6f8[_0x210219];return _0x4f92e8;},a127_0x2102(_0xfb8e5f,_0x2948e7);}const a127_0x3105fb=a127_0x2102;(function(_0x4ef665,_0x32f02f){const _0x219e03=a127_0x2102,_0x5de8f9=_0x4ef665();while(!![]){try{const _0x3b6684=-parseInt(_0x219e03(0xab))/0x1*(-parseInt(_0x219e03(0x96))/0x2)+-parseInt(_0x219e03(0xc6))/0x3*(parseInt(_0x219e03(0xa4))/0x4)+parseInt(_0x219e03(0x8e))/0x5*(-parseInt(_0x219e03(0xb0))/0x6)+parseInt(_0x219e03(0xa6))/0x7+-parseInt(_0x219e03(0xa9))/0x8*(parseInt(_0x219e03(0xaf))/0x9)+-parseInt(_0x219e03(0xb6))/0xa*(parseInt(_0x219e03(0x9d))/0xb)+parseInt(_0x219e03(0x9b))/0xc;if(_0x3b6684===_0x32f02f)break;else _0x5de8f9['push'](_0x5de8f9['shift']());}catch(_0x4543fd){_0x5de8f9['push'](_0x5de8f9['shift']());}}}(a127_0x2fd6,0xe9e7c));const logger=require(a127_0x3105fb(0x92))['winstonLogger'],RequestUtils=require(a127_0x3105fb(0xaa));function a127_0x2fd6(){const _0x5c5fec=[',\x20resultUrl:\x20','debug','217881qSmKyi','6zxNSCc','totalmem','nyYid','timeout','BROWSERSTACK_TOTAL_NODE_COUNT','wkBsp','20xgLtiX','SFbdx','resultUrl','lDmsk','processSplitTestsResponse','[processSplitTestsResponse]\x20Processing\x20response:\x20','splitTestsAPICallCount','\x20seconds.','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL\x20after\x20waiting\x20for\x20','BROWSERSTACK_BUILD_RUN_IDENTIFIER','config','stack',',\x20timeoutUrl:\x20','[getOrderedTestFiles]\x20Fetching\x20ordered\x20test\x20files','tests','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20timeout\x20URL','426iCnkTp','length','defaultTimeout','defaultTimeoutInterval','postSplitFiles','arch','body','XIqsP','timeoutInterval','stringify',',\x20timeoutInterval:\x20','5037545MOnWmB','[getOrderedTestFiles]\x20Response\x20from\x20result\x20URL:\x20','XrBcw','[processSplitTestsResponse]\x20Received\x20null\x20value(s)\x20for\x20some\x20attributes\x20in\x20split\x20tests\x20API\x20response','../logger','[splitTests]\x20Exception\x20in\x20sending\x20test\x20files:\x20','getSplitTestsAPICallCount','[processSplitTestsResponse]\x20timeout:\x20','420346sCXMQr','now','env','timeoutUrl','projectName','47517816TXRtIc','HJNGH','2211231BCUJny','exports','hostname','buildName','getSplitFiles','MbwDW','_getHostInfo','26476MtqfPl','getOrderedTestFiles','3845548MkEPIv','map','splitTests','536RRjBoY','./requestUtils','2PhCMAN','freemem'];a127_0x2fd6=function(){return _0x5c5fec;};return a127_0x2fd6();}class TestOrderingServerHandler{constructor(_0x371c93){const _0x548097=a127_0x3105fb;this['config']=_0x371c93,this[_0x548097(0xbc)]=0x0,this['defaultTimeout']=0x3c,this[_0x548097(0xc9)]=0x5;}[a127_0x3105fb(0x94)](){return this['splitTestsAPICallCount'];}[a127_0x3105fb(0xba)](_0xdc4ad0){const _0x35353f=a127_0x3105fb,_0xb99cd0={};_0xb99cd0[_0x35353f(0xb9)]=_0x35353f(0x91);const _0x3460ee=_0xb99cd0;if(!_0xdc4ad0)return null;const _0x273003={};return _0x273003[_0x35353f(0xb3)]=_0xdc4ad0[_0x35353f(0xb3)]||this[_0x35353f(0xc8)],_0x273003[_0x35353f(0x8b)]=_0xdc4ad0[_0x35353f(0x8b)]||this[_0x35353f(0xc9)],_0x273003[_0x35353f(0xb8)]=_0xdc4ad0[_0x35353f(0xb8)],_0x273003[_0x35353f(0x99)]=_0xdc4ad0[_0x35353f(0x99)],logger[_0x35353f(0xae)](_0x35353f(0xbb)+JSON[_0x35353f(0x8c)](_0xdc4ad0)),logger[_0x35353f(0xae)](_0x35353f(0x95)+_0xdc4ad0['timeout']+_0x35353f(0x8d)+_0xdc4ad0[_0x35353f(0x8b)]+_0x35353f(0xad)+_0xdc4ad0['resultUrl']+_0x35353f(0xc2)+_0xdc4ad0[_0x35353f(0x99)]),(!_0xdc4ad0[_0x35353f(0xb3)]||!_0xdc4ad0[_0x35353f(0x8b)]||!_0xdc4ad0[_0x35353f(0x99)]||!_0xdc4ad0[_0x35353f(0xb8)])&&logger['debug'](_0x3460ee[_0x35353f(0xb9)]),_0x273003;}async[a127_0x3105fb(0xa8)](_0xc0c990,_0x38eac3){const _0x10e36e=a127_0x3105fb,_0x2a6d36={'fdBqm':function(_0x2773df,_0x421517){return _0x2773df(_0x421517);},'MbwDW':function(_0x58ada4,_0x24e5b0){return _0x58ada4(_0x24e5b0);}};try{const _0x4f06ac=_0x2a6d36['fdBqm'](parseInt,process['env']['BROWSERSTACK_NODE_INDEX']||'0'),_0x83c29e=_0x2a6d36[_0x10e36e(0xa2)](parseInt,process['env'][_0x10e36e(0xb4)]||'1'),_0x2bc026=process[_0x10e36e(0x98)][_0x10e36e(0xbf)],_0x1799c6={'nodeIndex':_0x4f06ac,'totalNodes':_0x83c29e,'projectName':this[_0x10e36e(0xc0)][_0x10e36e(0x9a)],'buildName':this[_0x10e36e(0xc0)][_0x10e36e(0xa0)],'buildRunIdentifier':_0x2bc026,'orchestrationStrategy':_0x38eac3,'hostInfo':this[_0x10e36e(0xa3)](),'tests':_0xc0c990[_0x10e36e(0xa7)](_0x2c9a04=>({'filePath':_0x2c9a04}))},_0x44cdf6=await RequestUtils[_0x10e36e(0xca)](_0x1799c6);return logger[_0x10e36e(0xae)]('[splitTests]\x20Response\x20from\x20split\x20tests\x20API:\x20'+JSON[_0x10e36e(0x8c)](_0x44cdf6)),this[_0x10e36e(0xbc)]+=0x1,this[_0x10e36e(0xba)](_0x44cdf6[_0x10e36e(0x89)]||{});}catch(_0x5151f2){return logger[_0x10e36e(0xae)](_0x10e36e(0x93)+(_0x5151f2[_0x10e36e(0xc1)]||_0x5151f2['toString']())),null;}}async[a127_0x3105fb(0xa5)](_0x2414e7){const _0x575dbd=a127_0x3105fb,_0xc474e5={};_0xc474e5[_0x575dbd(0x90)]=_0x575dbd(0xc3),_0xc474e5['XumQg']=function(_0x153432,_0x97e5d1){return _0x153432*_0x97e5d1;},_0xc474e5[_0x575dbd(0xb2)]=function(_0x56fea1,_0x2b63e8){return _0x56fea1&&_0x2b63e8;},_0xc474e5[_0x575dbd(0xb7)]=function(_0x59bb4c,_0x55852b){return _0x59bb4c<_0x55852b;},_0xc474e5[_0x575dbd(0xb5)]=function(_0x3be459,_0x5ee6c3){return _0x3be459-_0x5ee6c3;},_0xc474e5[_0x575dbd(0x9c)]=_0x575dbd(0xc5),_0xc474e5['CUdmg']=function(_0x2524e0,_0x46075a){return _0x2524e0>_0x46075a;};const _0x5a58c3=_0xc474e5;if(!_0x2414e7)return null;try{logger[_0x575dbd(0xae)](_0x5a58c3['XrBcw']);const _0x3bbeb9=_0x2414e7[_0x575dbd(0x8b)]||this[_0x575dbd(0xc9)],_0x40392e=_0x5a58c3['XumQg'](_0x2414e7[_0x575dbd(0xb3)]||this[_0x575dbd(0xc8)],0x3e8),_0x4aa7ab=_0x2414e7[_0x575dbd(0x99)],_0x1c11a1=_0x2414e7[_0x575dbd(0xb8)];if(_0x5a58c3[_0x575dbd(0xb2)](!_0x1c11a1,!_0x4aa7ab))return null;let _0x422df4=null;const _0x5f4e13=Date['now']();while(_0x1c11a1&&_0x5a58c3['SFbdx'](_0x5a58c3['wkBsp'](Date[_0x575dbd(0x97)](),_0x5f4e13),_0x40392e)){logger['debug']('[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL:\x20'+_0x1c11a1);const _0x20793f=await RequestUtils[_0x575dbd(0xa1)](_0x1c11a1);logger[_0x575dbd(0xae)](_0x575dbd(0x8f)+JSON[_0x575dbd(0x8c)](_0x20793f)),this['splitTestsAPICallCount']+=0x1;if(_0x20793f&&_0x20793f['tests']){_0x422df4=_0x20793f[_0x575dbd(0xc4)];break;}await new Promise(_0x135267=>setTimeout(_0x135267,_0x3bbeb9*0x3e8)),logger[_0x575dbd(0xae)](_0x575dbd(0xbe)+_0x3bbeb9+_0x575dbd(0xbd));}if(_0x5a58c3[_0x575dbd(0xb2)](!_0x422df4,_0x4aa7ab)){logger[_0x575dbd(0xae)](_0x5a58c3[_0x575dbd(0x9c)]);const _0x260f0d=await RequestUtils[_0x575dbd(0xa1)](_0x4aa7ab);_0x260f0d&&_0x260f0d[_0x575dbd(0xc4)]&&(_0x422df4=_0x260f0d['tests']);}if(_0x422df4&&_0x5a58c3['CUdmg'](_0x422df4[_0x575dbd(0xc7)],0x0))return _0x422df4[_0x575dbd(0xa7)](_0x4ad427=>_0x4ad427['filePath']);return null;}catch(_0xd16cdb){return logger[_0x575dbd(0xae)]('[getOrderedTestFiles]\x20Exception\x20in\x20fetching\x20ordered\x20test\x20files:\x20'+(_0xd16cdb[_0x575dbd(0xc1)]||_0xd16cdb['toString']())),null;}}[a127_0x3105fb(0xa3)](){const _0x191c9e=a127_0x3105fb,_0x4fb3e7={'XIqsP':function(_0x299591,_0xbab890){return _0x299591(_0xbab890);}},_0xbddc1d=_0x4fb3e7[_0x191c9e(0x8a)](require,'os');try{return{'hostname':_0xbddc1d[_0x191c9e(0x9f)](),'platform':_0xbddc1d['platform'](),'release':_0xbddc1d['release'](),'arch':_0xbddc1d[_0x191c9e(0x88)](),'totalmem':_0xbddc1d[_0x191c9e(0xb1)](),'freemem':_0xbddc1d[_0x191c9e(0xac)]()};}catch(_0x66c044){return{};}}}module[a127_0x3105fb(0x9e)]=TestOrderingServerHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a128_0x2f4d72=a128_0x53f6;(function(_0x58a755,_0x4565a2){var _0x4ba02b=a128_0x53f6,_0x25ff20=_0x58a755();while(!![]){try{var _0xd4751f=-parseInt(_0x4ba02b(0x10d))/0x1+parseInt(_0x4ba02b(0x111))/0x2*(-parseInt(_0x4ba02b(0x115))/0x3)+parseInt(_0x4ba02b(0x10e))/0x4+-parseInt(_0x4ba02b(0x10f))/0x5+-parseInt(_0x4ba02b(0x11d))/0x6+parseInt(_0x4ba02b(0x119))/0x7*(parseInt(_0x4ba02b(0x10b))/0x8)+parseInt(_0x4ba02b(0x107))/0x9*(parseInt(_0x4ba02b(0x11f))/0xa);if(_0xd4751f===_0x4565a2)break;else _0x25ff20['push'](_0x25ff20['shift']());}catch(_0x244f02){_0x25ff20['push'](_0x25ff20['shift']());}}}(a128_0x5832,0x50c7d));var a128_0x4a489b={};a128_0x4a489b[a128_0x2f4d72(0x11a)]=a128_0x2f4d72(0x118),a128_0x4a489b['DEPRECATED']='ERROR_SDK_DEPRECATED',a128_0x4a489b[a128_0x2f4d72(0x122)]=a128_0x2f4d72(0x109);var a128_0x6d3c55={};a128_0x6d3c55[a128_0x2f4d72(0x113)]=a128_0x2f4d72(0x103),a128_0x6d3c55[a128_0x2f4d72(0x120)]=a128_0x2f4d72(0x112),a128_0x6d3c55[a128_0x2f4d72(0x10a)]='TestRunSkipped',a128_0x6d3c55[a128_0x2f4d72(0x11b)]='LogCreated',a128_0x6d3c55[a128_0x2f4d72(0x105)]=a128_0x2f4d72(0x102),a128_0x6d3c55[a128_0x2f4d72(0x11e)]=a128_0x2f4d72(0x10c),a128_0x6d3c55[a128_0x2f4d72(0x106)]=a128_0x2f4d72(0x106);function a128_0x5832(){var _0x3f8d54=['ACCESS_DENIED','HookRunStarted','TestRunStarted','BROWSERSTACK_TESTHUB_UUID','HookStarted','CBTSessionCreated','3613689FoHVCe','exports','ERROR_ACCESS_DENIED','TestSkipped','672yGhBiq','HookRunFinished','216915qLQAlw','2066308rRRJsG','1846435YDNOCM','observability','4OUBeif','TestRunFinished','TestStarted','OBSERVABILITY','669618MWIOuw','api/v2/builds','ENV_VAR','ERROR_INVALID_CREDENTIALS','50638YVBLGM','INVALID_CREDENTIALS','LogCreated','accessibility','3382704jPqRve','HookFinished','20KLkghB','TestFinished','EVENT'];a128_0x5832=function(){return _0x3f8d54;};return a128_0x5832();}function a128_0x53f6(_0x9b64ac,_0x1c22f8){var _0x5832e8=a128_0x5832();return a128_0x53f6=function(_0x53f669,_0xc0bdac){_0x53f669=_0x53f669-0x102;var _0x229c79=_0x5832e8[_0x53f669];return _0x229c79;},a128_0x53f6(_0x9b64ac,_0x1c22f8);}var a128_0x42fd08={};a128_0x42fd08[a128_0x2f4d72(0x104)]='BROWSERSTACK_TESTHUB_UUID',a128_0x42fd08['BROWSERSTACK_TESTHUB_JWT']='BROWSERSTACK_TESTHUB_JWT';var a128_0x17eb52={};a128_0x17eb52['TESTHUB_BUILD_API']=a128_0x2f4d72(0x116),a128_0x17eb52['ACCESSIBILITY']=a128_0x2f4d72(0x11c),a128_0x17eb52[a128_0x2f4d72(0x114)]=a128_0x2f4d72(0x110),a128_0x17eb52['ERROR']=a128_0x4a489b,a128_0x17eb52[a128_0x2f4d72(0x121)]=a128_0x6d3c55,a128_0x17eb52[a128_0x2f4d72(0x117)]=a128_0x42fd08,module[a128_0x2f4d72(0x108)]=a128_0x17eb52;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129_0x39a458=a129_0x5214;(function(_0x23e674,_0x4ba8a9){const _0x5c9482=a129_0x5214,_0x2e0291=_0x23e674();while(!![]){try{const _0xfc6510=parseInt(_0x5c9482(0x1c3))/0x1+parseInt(_0x5c9482(0x17d))/0x2+-parseInt(_0x5c9482(0x178))/0x3+parseInt(_0x5c9482(0x184))/0x4+parseInt(_0x5c9482(0x147))/0x5*(-parseInt(_0x5c9482(0x171))/0x6)+parseInt(_0x5c9482(0x181))/0x7*(-parseInt(_0x5c9482(0x170))/0x8)+-parseInt(_0x5c9482(0x193))/0x9;if(_0xfc6510===_0x4ba8a9)break;else _0x2e0291['push'](_0x2e0291['shift']());}catch(_0x3f0e72){_0x2e0291['push'](_0x2e0291['shift']());}}}(a129_0x5c78,0xa6770));function a129_0x5214(_0x3ec90a,_0x40cf71){const _0x5c78cc=a129_0x5c78();return a129_0x5214=function(_0x52140b,_0x326889){_0x52140b=_0x52140b-0x134;let _0x2f31f3=_0x5c78cc[_0x52140b];return _0x2f31f3;},a129_0x5214(_0x3ec90a,_0x40cf71);}const bsSetupHelper=require(a129_0x39a458(0x16a)),path=require(a129_0x39a458(0x159)),util=require('util'),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require(a129_0x39a458(0x164)),testhubUtils=require(a129_0x39a458(0x13c)),testHubConstants=require(a129_0x39a458(0x13f)),constants=require('../../bin/utils/constants.js'),RequestQueueHandler=require('../test-observability/requestQueueHandler.js'),logger=require('../logger')[a129_0x39a458(0x157)],SessionHandler=require(a129_0x39a458(0x17c)),PerformanceTester=require(a129_0x39a458(0x163)),{TESTHUB_EVENTS:PerformanceEvents}=require(a129_0x39a458(0x1a5)),TestDetails=require('../../bin/playwright/reporter/test-details.js'),{uploadTraceZip}=require(a129_0x39a458(0x199)),{isTurboScaleSession}=require(a129_0x39a458(0x1a6)),BrowserstackCLI=require(a129_0x39a458(0x1bd)),OngoingEvents=new Set();let processedTraceZips=![];const addEvent=_0x28920c=>{const _0x510694=a129_0x39a458;OngoingEvents[_0x510694(0x1c2)](_0x28920c);},awaitAllEvents=async()=>{const _0x58d7d6=a129_0x39a458;return Promise[_0x58d7d6(0x187)](OngoingEvents);};class TestHubHandler{static [a129_0x39a458(0x19a)]=![];static async['launchBuild'](_0x4b3e10,_0x39b8a8){const _0x46ca50=a129_0x39a458,_0x27c79e={'YsrXG':function(_0x3869c0,_0x586d94){return _0x3869c0||_0x586d94;},'gAmdt':function(_0x1eb2e7,_0x59df36){return _0x1eb2e7===_0x59df36;},'whTcY':function(_0x33d38f){return _0x33d38f();},'swFtR':_0x46ca50(0x16f),'SRKDk':'false','XgSZW':_0x46ca50(0x19b),'tPbtQ':function(_0x4a4528,_0x2cc53f,_0x1e5fd3,_0x349955,_0x467087){return _0x4a4528(_0x2cc53f,_0x1e5fd3,_0x349955,_0x467087);},'QUziK':_0x46ca50(0x194),'NvKNa':function(_0x1e008a,_0x2417f1){return _0x1e008a===_0x2417f1;},'bzZzO':_0x46ca50(0x158),'lYXaq':'true','jlTdy':function(_0xd9b027,_0x4f1d54){return _0xd9b027===_0x4f1d54;}};await PerformanceTester[_0x46ca50(0x1a3)](PerformanceEvents['START'],async()=>{const _0x4c0672=_0x46ca50,_0x526484=Object[_0x4c0672(0x13e)]({},_0x39b8a8[_0x4c0672(0x1b6)],{'root_dir_path':'','framework':_0x39b8a8[_0x4c0672(0x1af)]}),_0x171e96=bsSetupHelper[_0x4c0672(0x1b8)](_0x526484),_0x2737f5=bsSetupHelper['getAccessKey'](_0x526484),_0x67ee1f=_0x27c79e[_0x4c0672(0x15b)](_0x171e96,'')+':'+_0x27c79e[_0x4c0672(0x15b)](_0x2737f5,''),_0x50e914=testhubUtils[_0x4c0672(0x17a)](_0x526484);process[_0x4c0672(0x16e)][_0x4c0672(0x1c4)]=JSON[_0x4c0672(0x151)](_0x50e914);if(_0x27c79e['gAmdt'](_0x67ee1f,':'))return _0x27c79e[_0x4c0672(0x1ab)](isTestObservabilitySession)&&(logger[_0x4c0672(0x1b1)](_0x27c79e[_0x4c0672(0x146)]),process['env'][_0x4c0672(0x148)]=_0x27c79e[_0x4c0672(0x13b)]),testhubUtils[_0x4c0672(0x182)](_0x526484)&&logger[_0x4c0672(0x1b1)](_0x27c79e['XgSZW']),[null,null];try{const _0x39c972=await this[_0x4c0672(0x1c5)](_0x526484,_0x4b3e10),_0x46f8d2=this[_0x4c0672(0x1b4)](_0x171e96,_0x2737f5),_0x54095d=await _0x27c79e['tPbtQ'](nodeRequest,_0x27c79e[_0x4c0672(0x14a)],testHubConstants[_0x4c0672(0x1bf)],_0x39c972,_0x46f8d2),_0x5ba443=this['extractDataFromResponse'](_0x526484,_0x54095d,_0x46f8d2);await this[_0x4c0672(0x1b5)](_0x39b8a8,_0x4b3e10);if(_0x27c79e[_0x4c0672(0x150)](testhubUtils['getAccessibilityValueFromYml'](_0x39b8a8['config']),null)){const _0x323a9b=_0x5ba443[_0x27c79e[_0x4c0672(0x1be)]];_0x323a9b&&_0x323a9b[_0x4c0672(0x154)]&&_0x323a9b[_0x4c0672(0x167)]&&(_0x39b8a8[_0x4c0672(0x1b6)]['accessibility']=!![],process[_0x4c0672(0x16e)][_0x4c0672(0x137)]=_0x27c79e['lYXaq']);}return _0x5ba443;}catch(_0x3051d0){if(_0x27c79e[_0x4c0672(0x165)](_0x3051d0[_0x4c0672(0x1aa)],![])){testhubUtils[_0x4c0672(0x1c1)](_0x3051d0);return;}}})();}static async[a129_0x39a458(0x1c7)](){const _0x25ca17=a129_0x39a458,_0x3863d7={'GKcoU':function(_0x2f26cb,_0x239790,_0x375c15){return _0x2f26cb(_0x239790,_0x375c15);},'HmiIS':function(_0x2cf6f6,_0x298de8){return _0x2cf6f6(_0x298de8);},'GYyFi':function(_0x424e38){return _0x424e38();},'JMOfs':_0x25ca17(0x192)};if(processedTraceZips)return;const _0x3491ef=TestDetails[_0x25ca17(0x18f)]();_0x3491ef['forEach'](({testUId:_0x37f330,filePath:_0x57dd60})=>{var _0x22e0fc=_0x3863d7['GKcoU'](uploadTraceZip,_0x57dd60,_0x37f330);_0x3863d7['HmiIS'](addEvent,_0x22e0fc);});try{await _0x3863d7[_0x25ca17(0x155)](awaitAllEvents),logger[_0x25ca17(0x1b1)](_0x3863d7[_0x25ca17(0x16c)]),processedTraceZips=!![];}catch(_0x3be71e){logger[_0x25ca17(0x161)](_0x25ca17(0x19f)+util['format'](_0x3be71e));}}static async[a129_0x39a458(0x1b5)](_0xf6463,_0x4142ba){const _0x418a15=a129_0x39a458;if(constants['PERCY_SUPPORTED_FRAMEWORKS'][_0x418a15(0x177)](_0x4142ba)){await _0xf6463[_0x418a15(0x144)]();return;}_0xf6463[_0x418a15(0x1b6)][_0x418a15(0x156)]&&logger[_0x418a15(0x1b1)](_0x418a15(0x18c)+_0x4142ba+_0x418a15(0x19e));}static[a129_0x39a458(0x1b3)](_0x11006a){const _0x18ca5a=a129_0x39a458,_0x1d1904={'KGnbr':function(_0x4df037,_0x43f788){return _0x4df037(_0x43f788);},'qhXwP':_0x18ca5a(0x16b)};let _0x3a8564;if(_0x11006a[_0x18ca5a(0x18e)]){const _0x4d0df2={};_0x4d0df2['settings']=_0x11006a[_0x18ca5a(0x18e)],_0x3a8564=_0x4d0df2;}else{const _0x1231c7={};_0x1231c7[_0x18ca5a(0x1a8)]={},_0x3a8564=_0x1231c7;}if((!bsSetupHelper['isBrowserstackInfra']()||_0x1d1904[_0x18ca5a(0x14d)](isTurboScaleSession,_0x11006a))&&testhubUtils['isAccessibilityEnabled'](_0x11006a)){const _0xc8fa3f={};_0xc8fa3f[_0x18ca5a(0x176)]=_0x1d1904[_0x18ca5a(0x191)],Object[_0x18ca5a(0x13e)](_0x3a8564[_0x18ca5a(0x1a8)],_0xc8fa3f);}return _0x3a8564;}static['getConfig'](_0x454303,_0x4e666c){const _0x15d914=a129_0x39a458,_0x3218f8={'rDdFh':function(_0xcf02d8,_0x1178bf){return _0xcf02d8(_0x1178bf);}},_0x3db2e7={};return _0x3db2e7[_0x15d914(0x19d)]=_0x454303,_0x3db2e7['password']=_0x4e666c,{'auth':_0x3db2e7,'headers':_0x3218f8[_0x15d914(0x18a)](getDefaultHeaders,![])};}static async[a129_0x39a458(0x1c5)](_0x226bf3,_0x11e606){const _0x495e65=a129_0x39a458,_0x2cd9ad={'KPORZ':'Generating\x20build\x20upstream\x20data\x20for\x20TestHub','xjqzU':function(_0x1888ef,_0xc86a62){return _0x1888ef(_0xc86a62);}};logger['debug'](_0x2cd9ad['KPORZ']);const _0x3f6275={'project_name':_0x226bf3['projectName']||'','name':_0x226bf3[_0x495e65(0x152)]||path['basename'](path['resolve'](process[_0x495e65(0x142)]())),'build_identifier':_0x226bf3[_0x495e65(0x1b7)],'description':_0x226bf3[_0x495e65(0x175)]||'','started_at':new Date()[_0x495e65(0x173)](),'tags':_0x2cd9ad[_0x495e65(0x186)](getCustomTags,_0x226bf3),'host_info':bsSetupHelper[_0x495e65(0x13a)](),'ci_info':bsSetupHelper[_0x495e65(0x1b9)](),'build_run_identifier':process[_0x495e65(0x16e)][_0x495e65(0x135)],'failed_tests_rerun':process[_0x495e65(0x16e)][_0x495e65(0x15c)]||![],'linked_build_uuid':process[_0x495e65(0x16e)][_0x495e65(0x14b)]||'','version_control':await bsSetupHelper[_0x495e65(0x15f)](),'accessibility':this[_0x495e65(0x1b3)](_0x226bf3),'framework_details':testhubUtils[_0x495e65(0x153)](_0x226bf3,_0x11e606),'product_map':testhubUtils[_0x495e65(0x1c6)](_0x226bf3),'browserstackAutomation':bsSetupHelper[_0x495e65(0x1c8)](),'grouping_identifier':process[_0x495e65(0x16e)][_0x495e65(0x138)],'test_orchestration':testhubUtils[_0x495e65(0x15a)](_0x226bf3)};if(bsSetupHelper['getCentralUser']()[_0x495e65(0x13d)]||bsSetupHelper[_0x495e65(0x197)]()[_0x495e65(0x196)]){const _0x1c6239={};_0x1c6239[_0x495e65(0x1a9)]=process[_0x495e65(0x16e)][_0x495e65(0x162)],_0x1c6239['token']=process[_0x495e65(0x16e)]['BROWSERSTACK_CENTRAL_SCANNER_JWT'],_0x3f6275[_0x495e65(0x13d)]=_0x1c6239;}return _0x3f6275;}static[a129_0x39a458(0x179)](_0x52b6ac,_0x54ef59,_0x4ef27e){const _0x2487e4=a129_0x39a458,_0x48110b={'HLdZp':function(_0x2f59e0){return _0x2f59e0();},'CMxRk':function(_0x1d31e3,_0x37bd9c){return _0x1d31e3&&_0x37bd9c;},'vpRWY':'true','PABQw':'false','vVKuz':function(_0xe5fc7d,_0x2efbf0){return _0xe5fc7d&&_0x2efbf0;}},_0x469ec7={};if(_0x48110b[_0x2487e4(0x1a0)](isTestObservabilitySession)){const [_0x41044b,_0x23d628,_0x5e486d]=testhubUtils[_0x2487e4(0x1b2)](_0x54ef59[_0x2487e4(0x190)],_0x4ef27e[_0x2487e4(0x149)]);if(_0x48110b[_0x2487e4(0x139)](_0x41044b,_0x23d628)){const _0x4d7ed4={};_0x4d7ed4[_0x2487e4(0x180)]=_0x41044b,_0x4d7ed4[_0x2487e4(0x167)]=_0x23d628,_0x4d7ed4[_0x2487e4(0x15d)]=_0x5e486d,_0x469ec7[testHubConstants[_0x2487e4(0x1ae)]]=_0x4d7ed4,process[_0x2487e4(0x16e)][_0x2487e4(0x166)]=_0x48110b[_0x2487e4(0x172)];}else _0x469ec7[testHubConstants[_0x2487e4(0x1ae)]]={},process['env'][_0x2487e4(0x166)]=_0x48110b[_0x2487e4(0x141)];}else process['env'][_0x2487e4(0x166)]=_0x48110b['PABQw'];const [_0x3cbe35,_0x579daf]=testhubUtils['setAccessibilityVariables'](_0x54ef59[_0x2487e4(0x190)]);if(_0x48110b[_0x2487e4(0x174)](_0x3cbe35,_0x579daf)){const _0x4f67ca={};_0x4f67ca[_0x2487e4(0x154)]=_0x3cbe35,_0x4f67ca[_0x2487e4(0x167)]=_0x579daf,_0x469ec7[testHubConstants[_0x2487e4(0x183)]]=_0x4f67ca,process[_0x2487e4(0x16e)]['BROWSERSTACK_ACCESSIBILITY']=_0x48110b[_0x2487e4(0x172)];}else _0x469ec7[testHubConstants[_0x2487e4(0x183)]]={},process[_0x2487e4(0x16e)][_0x2487e4(0x18d)]=_0x48110b[_0x2487e4(0x141)];return testhubUtils[_0x2487e4(0x169)](_0x54ef59[_0x2487e4(0x190)]),logger[_0x2487e4(0x136)](_0x2487e4(0x1ac)+process[_0x2487e4(0x16e)][_0x2487e4(0x17b)]),_0x469ec7;}static async['stop'](_0x697989){const _0x39d4fa=a129_0x39a458,_0x3fecf8={'QUamr':function(_0x12c71f,_0x100f11){return _0x12c71f===_0x100f11;},'hKCig':_0x39d4fa(0x14f),'URZvb':function(_0x15e95a,_0x2700d3){return _0x15e95a===_0x2700d3;},'pjIzF':_0x39d4fa(0x195),'cVaOI':function(_0x1c06d2,_0x128301){return _0x1c06d2===_0x128301;},'wBByP':_0x39d4fa(0x143),'ASakh':_0x39d4fa(0x161),'gXVIu':_0x39d4fa(0x16d),'ATcoi':'finished_metadata','xUKZB':'user_killed','cghOR':function(_0x92b095){return _0x92b095();},'SvmoQ':function(_0x36d6d1,_0x5a7549,_0x274ea0,_0x105953,_0xc49cb7,_0x197678){return _0x36d6d1(_0x5a7549,_0x274ea0,_0x105953,_0xc49cb7,_0x197678);},'ZzVZs':_0x39d4fa(0x1a4),'mxgUa':_0x39d4fa(0x15e),'GuLiF':_0x39d4fa(0x1aa)};await PerformanceTester['measureWrapper'](PerformanceEvents[_0x39d4fa(0x185)],async()=>{const _0x16ae5a=_0x39d4fa;if(_0x3fecf8['QUamr'](process[_0x16ae5a(0x16e)][_0x16ae5a(0x148)],_0x3fecf8[_0x16ae5a(0x189)])||TestHubHandler[_0x16ae5a(0x19a)]||bsSetupHelper['isUndefined'](process[_0x16ae5a(0x16e)][testHubConstants[_0x16ae5a(0x145)][_0x16ae5a(0x19c)]]))return;TestHubHandler[_0x16ae5a(0x19a)]=!![];if(BrowserstackCLI[_0x16ae5a(0x1a2)]()['isRunning']())return;await this['processTraceZips'](),await RequestQueueHandler['getInstance']()[_0x16ae5a(0x134)](),await SessionHandler[_0x16ae5a(0x17f)]();if(_0x3fecf8[_0x16ae5a(0x17e)](process[_0x16ae5a(0x16e)][testHubConstants['ENV_VAR'][_0x16ae5a(0x19c)]],_0x3fecf8[_0x16ae5a(0x168)])||_0x3fecf8['cVaOI'](process['env'][testHubConstants[_0x16ae5a(0x145)][_0x16ae5a(0x17b)]],_0x3fecf8[_0x16ae5a(0x168)])){logger[_0x16ae5a(0x1b1)](_0x3fecf8[_0x16ae5a(0x14e)]);const _0x15b3d9={};return _0x15b3d9[_0x16ae5a(0x140)]=_0x3fecf8[_0x16ae5a(0x1b0)],_0x15b3d9['message']=_0x3fecf8[_0x16ae5a(0x1ba)],_0x15b3d9;}const _0x158d03={'finished_at':new Date()[_0x16ae5a(0x173)](),'finished_metadata':[]};!!_0x697989&&_0x158d03[_0x3fecf8[_0x16ae5a(0x188)]]['push']({'reason':_0x3fecf8[_0x16ae5a(0x1bc)],'signal':_0x697989,'failure_data':''});const _0x507fe3={'headers':_0x3fecf8[_0x16ae5a(0x1a7)](getDefaultHeaders)};try{const _0x535020=await _0x3fecf8[_0x16ae5a(0x1c0)](nodeRequest,_0x3fecf8['ZzVZs'],_0x16ae5a(0x14c)+process[_0x16ae5a(0x16e)][testHubConstants[_0x16ae5a(0x145)][_0x16ae5a(0x17b)]]+_0x16ae5a(0x18b),_0x158d03,_0x507fe3,![]);if(_0x535020['data']&&_0x535020[_0x16ae5a(0x190)][_0x16ae5a(0x161)]){const _0x528c09={};_0x528c09['message']=_0x535020[_0x16ae5a(0x190)][_0x16ae5a(0x161)];throw _0x528c09;}else{logger[_0x16ae5a(0x1b1)](_0x3fecf8[_0x16ae5a(0x198)]);const _0x172209={};return _0x172209['status']=_0x3fecf8['GuLiF'],_0x172209[_0x16ae5a(0x1a1)]='',_0x172209;}}catch(_0x3e371b){_0x3e371b['response']?logger[_0x16ae5a(0x1b1)](_0x16ae5a(0x160)+_0x3e371b[_0x16ae5a(0x1bb)]['status']+'\x20'+_0x3e371b[_0x16ae5a(0x1bb)][_0x16ae5a(0x1ad)]+'\x20'+JSON['stringify'](_0x3e371b[_0x16ae5a(0x1bb)][_0x16ae5a(0x190)])):logger[_0x16ae5a(0x1b1)](_0x16ae5a(0x160)+(_0x3e371b['message']||_0x3e371b));const _0x203866={};return _0x203866[_0x16ae5a(0x140)]=_0x3fecf8[_0x16ae5a(0x1b0)],_0x203866[_0x16ae5a(0x1a1)]=_0x3e371b['message']||_0x3e371b[_0x16ae5a(0x1bb)]?_0x3e371b[_0x16ae5a(0x1bb)][_0x16ae5a(0x140)]+':'+_0x3e371b[_0x16ae5a(0x1bb)][_0x16ae5a(0x1ad)]:_0x3e371b,_0x203866;}})();}}function a129_0x5c78(){const _0x179b52=['lcnc','getCentralUser','mxgUa','../../bin/playwright/reporter/pwUtils.js','buildStopSent','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','BROWSERSTACK_TESTHUB_JWT','username','\x20framework','Error\x20while\x20waiting\x20for\x20events:\x20','HLdZp','message','getInstance','measureWrapper','PUT','../performance/constants','../helper.js','cghOR','settings','job_id','success','whTcY','Testhub\x20started\x20with\x20id:\x20','statusText','OBSERVABILITY','framework','ASakh','debug','setTestObservabilityVariables','getAccessibilityOptions','getConfig','checkAndSetupPercy','config','buildIdentifier','getUserName','getCiInfo','gXVIu','response','xUKZB','../../bin/v2/browserstackCLI','bzZzO','TESTHUB_BUILD_API','SvmoQ','logBuildError','add','1208446HbytfB','BROWSERSTACK_PRODUCT_MAP','generateBuildUpstreamData','getProductMapForBuildStartCall','processTraceZips','isBrowserstackInfra','uploadPending','BROWSERSTACK_BUILD_RUN_IDENTIFIER','info','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','BROWSERSTACK_BUILD_GROUPING_IDENTIFIER','CMxRk','getHostInfo','SRKDk','./utils.js','central_scanner','assign','./constants.js','status','PABQw','cwd','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','setupPercy','ENV_VAR','swFtR','845nGBUNq','BS_TESTOPS_BUILD_COMPLETED','auth','QUziK','BROWSERSTACK_LINKED_BUILD_UUID','api/v1/builds/','KGnbr','wBByP','false','NvKNa','stringify','buildName','getFrameworkDetails','authToken','GYyFi','percy','winstonLogger','accessibility','path','getTestOrchestrationBuildStartData','YsrXG','BROWSERSTACK_RERUN','allowScreenshot','stopBuildUpstream\x20event\x20successful!','getGitMetaData','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','error','BROWSERSTACK_CENTRAL_SCANNER_JOBID','../performance/performance-tester.js','../test-observability/utils','jlTdy','BROWSERSTACK_TEST_OBSERVABILITY','buildHashedId','pjIzF','setTestHubCommonMetaInfo','../helper','true','JMOfs','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','env','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','7096tyGKjF','9030zcTgLs','vpRWY','toISOString','vVKuz','buildDescription','includeEncodedExtension','includes','537129qwBWIj','extractDataFromResponse','getProductMap','BROWSERSTACK_TESTHUB_UUID','../test-observability/sessionHandler.js','1618552XgfUfi','URZvb','waitForBuildStatus','jwt','8708CoVHpU','isAccessibilityEnabled','ACCESSIBILITY','4928216JIdjEx','STOP','xjqzU','allSettled','ATcoi','hKCig','rDdFh','/stop','Percy\x20is\x20not\x20supported\x20for\x20','BROWSERSTACK_ACCESSIBILITY','accessibilityOptions','getTraceFilePaths','data','qhXwP','All\x20trace\x20zip\x20send\x20events\x20complete','9280080jmsARv','POST','null'];a129_0x5c78=function(){return _0x179b52;};return a129_0x5c78();}module['exports']=TestHubHandler;
|
|
1
|
+
const a129_0x27d548=a129_0x5165;(function(_0x527303,_0x29c325){const _0xffce67=a129_0x5165,_0x2057dd=_0x527303();while(!![]){try{const _0x417f68=-parseInt(_0xffce67(0x226))/0x1*(parseInt(_0xffce67(0x1aa))/0x2)+-parseInt(_0xffce67(0x232))/0x3*(parseInt(_0xffce67(0x1f0))/0x4)+-parseInt(_0xffce67(0x206))/0x5+-parseInt(_0xffce67(0x1c6))/0x6*(-parseInt(_0xffce67(0x1ed))/0x7)+parseInt(_0xffce67(0x1d6))/0x8*(-parseInt(_0xffce67(0x20c))/0x9)+-parseInt(_0xffce67(0x1b2))/0xa*(parseInt(_0xffce67(0x22e))/0xb)+parseInt(_0xffce67(0x1f5))/0xc;if(_0x417f68===_0x29c325)break;else _0x2057dd['push'](_0x2057dd['shift']());}catch(_0x163760){_0x2057dd['push'](_0x2057dd['shift']());}}}(a129_0x2b60,0x9e924));const bsSetupHelper=require(a129_0x27d548(0x229)),path=require(a129_0x27d548(0x1dc)),util=require('util'),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require('../test-observability/utils'),testhubUtils=require(a129_0x27d548(0x23d)),testHubConstants=require(a129_0x27d548(0x21e)),constants=require(a129_0x27d548(0x1c2)),RequestQueueHandler=require(a129_0x27d548(0x1cb)),logger=require('../logger')[a129_0x27d548(0x1d7)],SessionHandler=require(a129_0x27d548(0x20e)),PerformanceTester=require(a129_0x27d548(0x220)),{TESTHUB_EVENTS:PerformanceEvents}=require(a129_0x27d548(0x1ac)),TestDetails=require(a129_0x27d548(0x239)),{uploadTraceZip}=require('../../bin/playwright/reporter/pwUtils.js'),{isTurboScaleSession}=require('../helper.js'),BrowserstackCLI=require('../../bin/v2/browserstackCLI'),OngoingEvents=new Set();let processedTraceZips=![];const addEvent=_0x40ed1b=>{OngoingEvents['add'](_0x40ed1b);},awaitAllEvents=async()=>{const _0x93ae23=a129_0x27d548;return Promise[_0x93ae23(0x217)](OngoingEvents);};function a129_0x5165(_0x3866c4,_0x53cea0){const _0x2b6023=a129_0x2b60();return a129_0x5165=function(_0x51652a,_0x4e3cc9){_0x51652a=_0x51652a-0x1a7;let _0x12469d=_0x2b6023[_0x51652a];return _0x12469d;},a129_0x5165(_0x3866c4,_0x53cea0);}class TestHubHandler{static [a129_0x27d548(0x1be)]=![];static async[a129_0x27d548(0x21f)](_0x4a95b9,_0x58b7fd){const _0x4ba591=a129_0x27d548,_0x207ec0={'gLhAI':function(_0x386d04,_0x455931){return _0x386d04||_0x455931;},'NLSqr':function(_0xa2a34a,_0x4914b2){return _0xa2a34a||_0x4914b2;},'ZitRY':function(_0x12ceb4,_0xbe099f){return _0x12ceb4===_0xbe099f;},'TysXz':function(_0x3b1df5){return _0x3b1df5();},'IaWQN':_0x4ba591(0x1ff),'mrXDX':_0x4ba591(0x224),'mgQOy':_0x4ba591(0x207),'BDgbD':function(_0x43b437,_0x520b1b,_0x310074,_0x2dbf9f,_0x201907){return _0x43b437(_0x520b1b,_0x310074,_0x2dbf9f,_0x201907);},'GGQpj':_0x4ba591(0x241),'mlLny':function(_0x780473,_0x1025ed){return _0x780473===_0x1025ed;},'Tkmem':_0x4ba591(0x1a9),'cHiWs':_0x4ba591(0x1ab),'CYMWh':function(_0x22d3a9,_0x4501c8){return _0x22d3a9===_0x4501c8;}};await PerformanceTester['measureWrapper'](PerformanceEvents[_0x4ba591(0x1d5)],async()=>{const _0x3facb6=_0x4ba591,_0x4f55f8=Object[_0x3facb6(0x222)]({},_0x58b7fd['config'],{'root_dir_path':'','framework':_0x58b7fd['framework']}),_0x419ebd=bsSetupHelper[_0x3facb6(0x1df)](_0x4f55f8),_0x1bc7d2=bsSetupHelper[_0x3facb6(0x1d4)](_0x4f55f8),_0x3eefe1=_0x207ec0[_0x3facb6(0x1af)](_0x419ebd,'')+':'+_0x207ec0[_0x3facb6(0x1e0)](_0x1bc7d2,''),_0x5a5c98=testhubUtils[_0x3facb6(0x1f2)](_0x4f55f8);process[_0x3facb6(0x23e)][_0x3facb6(0x213)]=JSON[_0x3facb6(0x1f6)](_0x5a5c98);if(_0x207ec0[_0x3facb6(0x1d3)](_0x3eefe1,':'))return _0x207ec0[_0x3facb6(0x1da)](isTestObservabilitySession)&&(logger[_0x3facb6(0x1d0)](_0x207ec0['IaWQN']),process['env'][_0x3facb6(0x221)]=_0x207ec0['mrXDX']),testhubUtils[_0x3facb6(0x210)](_0x4f55f8)&&logger['debug'](_0x207ec0['mgQOy']),[null,null];try{const _0x41b920=await this[_0x3facb6(0x1b9)](_0x4f55f8,_0x4a95b9),_0x33b9d6=this[_0x3facb6(0x1f8)](_0x419ebd,_0x1bc7d2),_0x5c0967=await _0x207ec0['BDgbD'](nodeRequest,_0x207ec0[_0x3facb6(0x1ea)],testHubConstants[_0x3facb6(0x1b5)],_0x41b920,_0x33b9d6),_0x456576=this['extractDataFromResponse'](_0x4f55f8,_0x5c0967,_0x33b9d6);await this[_0x3facb6(0x1fe)](_0x58b7fd,_0x4a95b9);if(_0x207ec0[_0x3facb6(0x1a7)](testhubUtils[_0x3facb6(0x225)](_0x58b7fd[_0x3facb6(0x22b)]),null)){const _0x2762e7=_0x456576[_0x207ec0['Tkmem']];_0x2762e7&&_0x2762e7[_0x3facb6(0x1cd)]&&_0x2762e7['buildHashedId']&&(_0x58b7fd[_0x3facb6(0x22b)][_0x3facb6(0x1a9)]=!![],process[_0x3facb6(0x23e)][_0x3facb6(0x223)]=_0x207ec0[_0x3facb6(0x1fb)]);}return _0x456576;}catch(_0x1adc37){if(_0x207ec0['CYMWh'](_0x1adc37[_0x3facb6(0x219)],![])){testhubUtils[_0x3facb6(0x1c5)](_0x1adc37);return;}}})();}static async[a129_0x27d548(0x23b)](){const _0x1ba017=a129_0x27d548,_0x36a3be={'gsXNY':function(_0x23ace4,_0x46f9eb,_0x3c0cd1){return _0x23ace4(_0x46f9eb,_0x3c0cd1);},'OtjaK':function(_0x4a5a69,_0x41c144){return _0x4a5a69(_0x41c144);},'AGNQB':function(_0x2bf18b){return _0x2bf18b();},'lYCrr':_0x1ba017(0x1b6)};if(processedTraceZips)return;const _0x440d90=TestDetails['getTraceFilePaths']();_0x440d90[_0x1ba017(0x1b0)](({testUId:_0x34830f,filePath:_0x46f81d})=>{const _0x4f39c3=_0x1ba017;var _0xcc81b7=_0x36a3be[_0x4f39c3(0x1ef)](uploadTraceZip,_0x46f81d,_0x34830f);_0x36a3be['OtjaK'](addEvent,_0xcc81b7);});try{await _0x36a3be[_0x1ba017(0x1e9)](awaitAllEvents),logger[_0x1ba017(0x1d0)](_0x36a3be[_0x1ba017(0x1fa)]),processedTraceZips=!![];}catch(_0x482be5){logger[_0x1ba017(0x1b1)](_0x1ba017(0x23a)+util[_0x1ba017(0x215)](_0x482be5));}}static async[a129_0x27d548(0x1fe)](_0x2fbf8f,_0x59ad17){const _0x9844d1=a129_0x27d548;if(constants[_0x9844d1(0x21c)]['includes'](_0x59ad17)){await _0x2fbf8f[_0x9844d1(0x22d)]();return;}_0x2fbf8f[_0x9844d1(0x22b)][_0x9844d1(0x1b8)]&&logger[_0x9844d1(0x1d0)](_0x9844d1(0x1cf)+_0x59ad17+_0x9844d1(0x208));}static[a129_0x27d548(0x240)](_0x27c66f){const _0x5e3404=a129_0x27d548,_0x1605a3={'uwvfb':function(_0x5b00b6,_0x1a69a7){return _0x5b00b6(_0x1a69a7);},'RewWf':_0x5e3404(0x1ab)};let _0x24789f;if(_0x27c66f[_0x5e3404(0x20b)]){const _0x39995b={};_0x39995b[_0x5e3404(0x1f4)]=_0x27c66f[_0x5e3404(0x20b)],_0x24789f=_0x39995b;}else{const _0x58ef21={};_0x58ef21[_0x5e3404(0x1f4)]={},_0x24789f=_0x58ef21;}if((!bsSetupHelper[_0x5e3404(0x1c9)]()||_0x1605a3[_0x5e3404(0x1bd)](isTurboScaleSession,_0x27c66f))&&testhubUtils[_0x5e3404(0x210)](_0x27c66f)){const _0x20fd90={};_0x20fd90[_0x5e3404(0x1de)]=_0x1605a3['RewWf'],Object['assign'](_0x24789f[_0x5e3404(0x1f4)],_0x20fd90);}return _0x24789f;}static['getConfig'](_0x45d170,_0x545d22){const _0x30bcaa=a129_0x27d548,_0x54d6ac={'kKNmk':function(_0x1fced6,_0x148de8){return _0x1fced6(_0x148de8);}},_0x537e2c={};return _0x537e2c[_0x30bcaa(0x1fd)]=_0x45d170,_0x537e2c[_0x30bcaa(0x1ca)]=_0x545d22,{'auth':_0x537e2c,'headers':_0x54d6ac['kKNmk'](getDefaultHeaders,![])};}static async['generateBuildUpstreamData'](_0x59b7de,_0x1e0a41){const _0x2447d9=a129_0x27d548,_0x293b18={'DlHmM':_0x2447d9(0x204),'DqKNH':function(_0x4d441f,_0xdb589c){return _0x4d441f(_0xdb589c);}};logger[_0x2447d9(0x1d0)](_0x293b18[_0x2447d9(0x1ce)]);const _0x34f030={'project_name':_0x59b7de['projectName']||'','name':_0x59b7de[_0x2447d9(0x1c8)]||path[_0x2447d9(0x236)](path[_0x2447d9(0x230)](process['cwd']())),'build_identifier':_0x59b7de[_0x2447d9(0x1ec)],'description':_0x59b7de[_0x2447d9(0x1b7)]||'','started_at':new Date()['toISOString'](),'tags':_0x293b18[_0x2447d9(0x238)](getCustomTags,_0x59b7de),'host_info':bsSetupHelper[_0x2447d9(0x1e5)](),'ci_info':bsSetupHelper[_0x2447d9(0x200)](),'build_run_identifier':process[_0x2447d9(0x23e)]['BROWSERSTACK_BUILD_RUN_IDENTIFIER'],'failed_tests_rerun':process['env'][_0x2447d9(0x1e8)]||![],'linked_build_uuid':process['env'][_0x2447d9(0x1c3)]||'','version_control':await bsSetupHelper[_0x2447d9(0x21d)](),'accessibility':this[_0x2447d9(0x240)](_0x59b7de),'framework_details':testhubUtils[_0x2447d9(0x1e4)](_0x59b7de,_0x1e0a41),'product_map':testhubUtils[_0x2447d9(0x1e3)](_0x59b7de),'browserstackAutomation':bsSetupHelper[_0x2447d9(0x1c9)](),'grouping_identifier':process[_0x2447d9(0x23e)][_0x2447d9(0x1bf)],'test_orchestration':testhubUtils[_0x2447d9(0x22a)](_0x59b7de)};if(bsSetupHelper[_0x2447d9(0x1f3)]()[_0x2447d9(0x1e6)]||bsSetupHelper[_0x2447d9(0x1f3)]()[_0x2447d9(0x237)]){const _0x1432f={};_0x1432f[_0x2447d9(0x212)]=process[_0x2447d9(0x23e)]['BROWSERSTACK_CENTRAL_SCANNER_JOBID'],_0x1432f[_0x2447d9(0x1e7)]=process[_0x2447d9(0x23e)]['BROWSERSTACK_CENTRAL_SCANNER_JWT'],_0x34f030[_0x2447d9(0x1e6)]=_0x1432f;}return _0x34f030;}static['extractDataFromResponse'](_0x5c4692,_0x51a5de,_0x1b0dba){const _0x43daa4=a129_0x27d548,_0x2da949={'cmEUI':function(_0x21a3b7){return _0x21a3b7();},'raVdi':function(_0x211548,_0x509053){return _0x211548&&_0x509053;},'EEqhQ':_0x43daa4(0x1ab),'AzDaH':'false','ZaUqB':function(_0x461d3e,_0x1f552e){return _0x461d3e&&_0x1f552e;}},_0x1f46a8={};if(_0x2da949[_0x43daa4(0x1ad)](isTestObservabilitySession)){const [_0x451f8f,_0x248bfc,_0x4aaa30]=testhubUtils['setTestObservabilityVariables'](_0x51a5de[_0x43daa4(0x202)],_0x1b0dba['auth']);if(_0x2da949['raVdi'](_0x451f8f,_0x248bfc)){const _0x21b8aa={};_0x21b8aa['jwt']=_0x451f8f,_0x21b8aa[_0x43daa4(0x21a)]=_0x248bfc,_0x21b8aa[_0x43daa4(0x23c)]=_0x4aaa30,_0x1f46a8[testHubConstants[_0x43daa4(0x1e2)]]=_0x21b8aa,process[_0x43daa4(0x23e)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x2da949[_0x43daa4(0x1c4)];}else _0x1f46a8[testHubConstants['OBSERVABILITY']]={},process[_0x43daa4(0x23e)][_0x43daa4(0x1ee)]=_0x2da949[_0x43daa4(0x1f9)];}else process[_0x43daa4(0x23e)][_0x43daa4(0x1ee)]=_0x2da949[_0x43daa4(0x1f9)];const [_0x1b9cbf,_0x3c618f]=testhubUtils[_0x43daa4(0x205)](_0x51a5de['data']);if(_0x2da949[_0x43daa4(0x218)](_0x1b9cbf,_0x3c618f)){const _0x122d3a={};_0x122d3a[_0x43daa4(0x1cd)]=_0x1b9cbf,_0x122d3a[_0x43daa4(0x21a)]=_0x3c618f,_0x1f46a8[testHubConstants['ACCESSIBILITY']]=_0x122d3a,process['env'][_0x43daa4(0x203)]=_0x2da949[_0x43daa4(0x1c4)];}else _0x1f46a8[testHubConstants[_0x43daa4(0x22f)]]={},process[_0x43daa4(0x23e)]['BROWSERSTACK_ACCESSIBILITY']=_0x2da949[_0x43daa4(0x1f9)];return testhubUtils[_0x43daa4(0x1b3)](_0x51a5de[_0x43daa4(0x202)]),logger[_0x43daa4(0x1c7)](_0x43daa4(0x1d1)+process['env'][_0x43daa4(0x235)]),_0x1f46a8;}static async[a129_0x27d548(0x1a8)](_0x2101fc){const _0x1c9227=a129_0x27d548,_0x1d5824={'QHktV':function(_0x38b072,_0x12ccad){return _0x38b072===_0x12ccad;},'mVQIn':_0x1c9227(0x224),'mssTq':'null','RiXtB':_0x1c9227(0x211),'tZswO':_0x1c9227(0x1b1),'aiWku':'Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','Oueua':_0x1c9227(0x1fc),'VXIrw':_0x1c9227(0x201),'kysMA':function(_0x37da19){return _0x37da19();},'VAHex':function(_0x2d6387,_0x415743,_0x4d4091,_0x5072db,_0x55c5a6,_0x34302b){return _0x2d6387(_0x415743,_0x4d4091,_0x5072db,_0x55c5a6,_0x34302b);},'VsQcm':_0x1c9227(0x1f1),'Xoame':_0x1c9227(0x1d9),'udnAe':_0x1c9227(0x219)};await PerformanceTester['measureWrapper'](PerformanceEvents[_0x1c9227(0x1e1)],async()=>{const _0x5013ac=_0x1c9227;if(_0x1d5824[_0x5013ac(0x1ae)](process[_0x5013ac(0x23e)][_0x5013ac(0x221)],_0x1d5824[_0x5013ac(0x1c0)])||TestHubHandler['buildStopSent']||bsSetupHelper[_0x5013ac(0x1db)](process[_0x5013ac(0x23e)][testHubConstants[_0x5013ac(0x1b4)][_0x5013ac(0x216)]]))return;TestHubHandler[_0x5013ac(0x1be)]=!![];if(BrowserstackCLI[_0x5013ac(0x1f7)]()['isRunning']())return;await this[_0x5013ac(0x23b)](),await RequestQueueHandler[_0x5013ac(0x1f7)]()[_0x5013ac(0x1ba)](),await SessionHandler[_0x5013ac(0x1bb)]();if(_0x1d5824[_0x5013ac(0x1ae)](process[_0x5013ac(0x23e)][testHubConstants[_0x5013ac(0x1b4)][_0x5013ac(0x216)]],_0x1d5824[_0x5013ac(0x22c)])||_0x1d5824[_0x5013ac(0x1ae)](process[_0x5013ac(0x23e)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x1d5824[_0x5013ac(0x22c)])){logger['debug'](_0x1d5824[_0x5013ac(0x20d)]);const _0x4bd3a9={};return _0x4bd3a9[_0x5013ac(0x1dd)]=_0x1d5824['tZswO'],_0x4bd3a9[_0x5013ac(0x228)]=_0x1d5824[_0x5013ac(0x209)],_0x4bd3a9;}const _0xe53624={'finished_at':new Date()[_0x5013ac(0x1c1)](),'finished_metadata':[]};!!_0x2101fc&&_0xe53624[_0x1d5824[_0x5013ac(0x233)]][_0x5013ac(0x20a)]({'reason':_0x1d5824[_0x5013ac(0x1d8)],'signal':_0x2101fc,'failure_data':''});const _0x31096a={'headers':_0x1d5824[_0x5013ac(0x1bc)](getDefaultHeaders)};try{const _0x423725=await _0x1d5824[_0x5013ac(0x1d2)](nodeRequest,_0x1d5824[_0x5013ac(0x231)],_0x5013ac(0x21b)+process[_0x5013ac(0x23e)][testHubConstants[_0x5013ac(0x1b4)][_0x5013ac(0x235)]]+_0x5013ac(0x214),_0xe53624,_0x31096a,![]);if(_0x423725[_0x5013ac(0x202)]&&_0x423725[_0x5013ac(0x202)][_0x5013ac(0x1b1)]){const _0x327b97={};_0x327b97[_0x5013ac(0x228)]=_0x423725[_0x5013ac(0x202)][_0x5013ac(0x1b1)];throw _0x327b97;}else{logger[_0x5013ac(0x1d0)](_0x1d5824[_0x5013ac(0x1cc)]);const _0x37172d={};return _0x37172d['status']=_0x1d5824[_0x5013ac(0x227)],_0x37172d[_0x5013ac(0x228)]='',_0x37172d;}}catch(_0x4f034d){_0x4f034d[_0x5013ac(0x23f)]?logger[_0x5013ac(0x1d0)](_0x5013ac(0x20f)+_0x4f034d[_0x5013ac(0x23f)][_0x5013ac(0x1dd)]+'\x20'+_0x4f034d['response'][_0x5013ac(0x234)]+'\x20'+JSON[_0x5013ac(0x1f6)](_0x4f034d[_0x5013ac(0x23f)][_0x5013ac(0x202)])):logger[_0x5013ac(0x1d0)](_0x5013ac(0x20f)+(_0x4f034d[_0x5013ac(0x228)]||_0x4f034d));const _0x1f4c20={};return _0x1f4c20[_0x5013ac(0x1dd)]=_0x1d5824['tZswO'],_0x1f4c20[_0x5013ac(0x228)]=_0x4f034d[_0x5013ac(0x228)]||_0x4f034d[_0x5013ac(0x23f)]?_0x4f034d[_0x5013ac(0x23f)][_0x5013ac(0x1dd)]+':'+_0x4f034d['response'][_0x5013ac(0x234)]:_0x4f034d,_0x1f4c20;}})();}}module[a129_0x27d548(0x1eb)]=TestHubHandler;function a129_0x2b60(){const _0x35b548=['AGNQB','GGQpj','exports','buildIdentifier','7LVbjsB','BROWSERSTACK_TEST_OBSERVABILITY','gsXNY','820YvNrZO','PUT','getProductMap','getCentralUser','settings','28774356fnNypg','stringify','getInstance','getConfig','AzDaH','lYCrr','cHiWs','finished_metadata','username','checkAndSetupPercy','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','getCiInfo','user_killed','data','BROWSERSTACK_ACCESSIBILITY','Generating\x20build\x20upstream\x20data\x20for\x20TestHub','setAccessibilityVariables','4144185zlkevb','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','\x20framework','aiWku','push','accessibilityOptions','1276263FHpupH','RiXtB','../test-observability/sessionHandler.js','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','isAccessibilityEnabled','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','job_id','BROWSERSTACK_PRODUCT_MAP','/stop','format','BROWSERSTACK_TESTHUB_JWT','allSettled','ZaUqB','success','buildHashedId','api/v1/builds/','PERCY_SUPPORTED_FRAMEWORKS','getGitMetaData','./constants.js','launchBuild','../performance/performance-tester.js','BS_TESTOPS_BUILD_COMPLETED','assign','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','false','getAccessibilityValueFromYml','2237BfdBxJ','udnAe','message','../helper','getTestOrchestrationBuildStartData','config','mssTq','setupPercy','11pdYnOu','ACCESSIBILITY','resolve','VsQcm','12513Nzjzzd','Oueua','statusText','BROWSERSTACK_TESTHUB_UUID','basename','lcnc','DqKNH','../../bin/playwright/reporter/test-details.js','Error\x20while\x20waiting\x20for\x20events:\x20','processTraceZips','allowScreenshot','./utils.js','env','response','getAccessibilityOptions','POST','mlLny','stop','accessibility','456wiptNd','true','../performance/constants','cmEUI','QHktV','gLhAI','forEach','error','17310pQupkp','setTestHubCommonMetaInfo','ENV_VAR','TESTHUB_BUILD_API','All\x20trace\x20zip\x20send\x20events\x20complete','buildDescription','percy','generateBuildUpstreamData','uploadPending','waitForBuildStatus','kysMA','uwvfb','buildStopSent','BROWSERSTACK_BUILD_GROUPING_IDENTIFIER','mVQIn','toISOString','../../bin/utils/constants.js','BROWSERSTACK_LINKED_BUILD_UUID','EEqhQ','logBuildError','3534666TIVGRY','info','buildName','isBrowserstackInfra','password','../test-observability/requestQueueHandler.js','Xoame','authToken','DlHmM','Percy\x20is\x20not\x20supported\x20for\x20','debug','Testhub\x20started\x20with\x20id:\x20','VAHex','ZitRY','getAccessKey','START','8uMowUE','winstonLogger','VXIrw','stopBuildUpstream\x20event\x20successful!','TysXz','isUndefined','path','status','includeEncodedExtension','getUserName','NLSqr','STOP','OBSERVABILITY','getProductMapForBuildStartCall','getFrameworkDetails','getHostInfo','central_scanner','token','BROWSERSTACK_RERUN'];a129_0x2b60=function(){return _0x35b548;};return a129_0x2b60();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a130_0x3a5a(_0x27e827,_0x9dc5d4){const _0x288fe7=a130_0x288f();return a130_0x3a5a=function(_0x3a5a8f,_0x39e605){_0x3a5a8f=_0x3a5a8f-0x1c8;let _0x2af89f=_0x288fe7[_0x3a5a8f];return _0x2af89f;},a130_0x3a5a(_0x27e827,_0x9dc5d4);}const a130_0x486643=a130_0x3a5a;function a130_0x288f(){const _0x22500c=['./constants.js','0|2|1|4|3|5','WZbLQ','capabilities','MiSMU','unaEO','isAccessibilityEnabled','../globals.js','winstonLogger','../logger','observability','getFrameworkDetails','build_hashed_id','isTrue','WVyID','getCentralUser','RfzFh','JEnkW','247746xqQhKc','BROWSERSTACK_TESTHUB_JWT','getProductMapForBuildStartCall','mvbHO','ZDdYO','wuKrr','ERROR','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','toString','hefvY','ACCESS_DENIED','ACCESSIBILITY','kjPVQ','PFrLm','value','platforms','allow_screenshots','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PLAYWRIGHT','OWUGD','toJson','xxOzQ','HookRunStarted','BS_TESTOPS_BUILD_COMPLETED','parse','ViBzH','oyWxh','handleErrorForAccessibility','YWYwR','debug','LogCreated','setTestObservabilityVariables','oXdTX','percy','accessibilityPlatform','setTestData','2335124HsCCJw','CpePJ','key','success','handleErrorForObservability','iLsil','getTestData','BROWSERSTACK_PERCY','\x20Build\x20creation\x20failed','BROWSERSTACK_TESTHUB_UUID:\x20','getCurrentTestData','mAeeA','name','mjsCc','setPercyFlag','../accessibility-automation/scripts.js','SwyBM','setAccessibilityVariables','true','goog:chromeOptions','logBuildError','crCpV','config','wHPCm','TifCL','titlePath','7794853LBKvGo','product_map','uuid','BROWSERSTACK_ACCESSIBILITY','BS_TESTOPS_ALLOW_SCREENSHOTS','HookRunFinished','1386386UqBlPW','getGlobal','JEST','ZGljI','BS_TESTOPS_JWT','getTestOrchestrationBuildStartData','MOCHA','CODECEPT','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','getProductMap','../helper.js','getAccessibilityPlatformValidation','accessibility','scopes','pohTu','../../bin/jest/test-observability/test-details.js','65PlaWKn','isTurboScaleSession','DEPRECATED','PMAXN','jwt','CUCUMBER','error','UEelD','options','null','BS_TESTOPS_BUILD_HASHED_ID','isUndefined','getTestFrameworkDetails','isRunning','IfcjD','getAgentVersion','iVcuu','app','20ZVghov','length','info','xcVNb','tags','tfgiB','ZqXhU','TEST_REPORTING_ANALYTICS','XFCur','command','3040380LTGXui','test_run','XyugR','bstackA11yShouldScan','913252kIAWdY','isPercyBuild','commands','lwTIe','3xLZrpA','BS_A11Y_JWT','112ALhdoI','ZyWal','env','scripts','GgWhx','UrYKO','stringify','CREDENTIALS_FOR_CRASH_REPORTING','shouldScanTestForAccessibility','bSRKF','parseFromJson','keys','BROWSERSTACK_TEST_ACCESSIBILITY_YML','VDpJc','ixjxZ','586485fdKtIG','nonBStackInfraA11yChromeOptions','lhCAP','nyMWW','0|3|4|1|2','2|4|5|6|3|0|1','split','../../bin/playwright/reporter/test-details.js','MAzBc','includes','false','getAccessibilityValueFromYml','join','../helper','commandsToWrap','BROWSERSTACK_TESTHUB_UUID','../ats/helper','CeQar','appendTesthubParams','jowpl','pdQTH','../accessibility-automation/helper','isBrowserstackInfra','password','setCurrentTestData','GSLhl'];a130_0x288f=function(){return _0x22500c;};return a130_0x288f();}(function(_0x48ddbd,_0xa04b92){const _0x3fe088=a130_0x3a5a,_0x3c5558=_0x48ddbd();while(!![]){try{const _0x10b5d6=parseInt(_0x3fe088(0x258))/0x1+parseInt(_0x3fe088(0x228))/0x2+parseInt(_0x3fe088(0x25c))/0x3*(parseInt(_0x3fe088(0x208))/0x4)+parseInt(_0x3fe088(0x238))/0x5*(-parseInt(_0x3fe088(0x1e4))/0x6)+-parseInt(_0x3fe088(0x254))/0x7+parseInt(_0x3fe088(0x25e))/0x8*(parseInt(_0x3fe088(0x26d))/0x9)+parseInt(_0x3fe088(0x24a))/0xa*(-parseInt(_0x3fe088(0x222))/0xb);if(_0x10b5d6===_0xa04b92)break;else _0x3c5558['push'](_0x3c5558['shift']());}catch(_0x28dc0b){_0x3c5558['push'](_0x3c5558['shift']());}}}(a130_0x288f,0xae5b7));const bsSetupHelper=require(a130_0x486643(0x27a)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a130_0x486643(0x1cd)),logger=require(a130_0x486643(0x1db))[a130_0x486643(0x1da)],{nestedKeyValue}=require(a130_0x486643(0x232)),scripts=require(a130_0x486643(0x217)),globals=require(a130_0x486643(0x1d9)),testHubConstants=require(a130_0x486643(0x1d2)),PWTestDetails=require(a130_0x486643(0x274)),JestTestDetails=require(a130_0x486643(0x237)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a130_0x486643(0x1c8)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require('../../bin/utils/constants.js');let testData={};exports[a130_0x486643(0x231)]=_0x1cdf56=>{const _0x49d013=a130_0x486643,_0x1a12ed={'GgWhx':function(_0x180381){return _0x180381();}};let _0x4b23f9=![],_0x57b581=![];if(bsSetupHelper[_0x49d013(0x1ce)]()&&_0x1cdf56[_0x49d013(0x249)])_0x57b581=!![];else bsSetupHelper[_0x49d013(0x1ce)]()&&(_0x4b23f9=!![]);return Object['assign']({'observability':_0x1a12ed[_0x49d013(0x262)](isTestObservabilitySession),'accessibility':exports[_0x49d013(0x1d8)](_0x1cdf56),'percy':_0x1cdf56[_0x49d013(0x205)]||![],'automate':_0x4b23f9,'app_automate':_0x57b581,'turboscale':bsSetupHelper[_0x49d013(0x239)](_0x1cdf56)},bsSetupHelper['getCentralUser']());},exports[a130_0x486643(0x1dd)]=(_0x47ec96,_0xd56c2)=>{const _0x4ad55f=a130_0x486643,_0x322970={'tfgiB':function(_0xf14681,_0x484a61){return _0xf14681(_0x484a61);},'uVKEh':'javascript'};return{'frameworkName':_0xd56c2,'frameworkVersion':_0x322970[_0x4ad55f(0x24f)](getFrameworkVersion,_0xd56c2),'sdkVersion':bsSetupHelper[_0x4ad55f(0x247)](),'language':_0x322970['uVKEh'],'testFramework':bsSetupHelper[_0x4ad55f(0x244)](_0x47ec96,_0xd56c2)};},exports[a130_0x486643(0x216)]=_0x33e1b9=>{const _0x4f4eea=a130_0x486643,_0x314a75={};_0x314a75['XFCur']='false',_0x314a75[_0x4f4eea(0x25f)]=_0x4f4eea(0x21a);const _0x1279f9=_0x314a75;process[_0x4f4eea(0x260)][_0x4f4eea(0x20f)]=_0x1279f9[_0x4f4eea(0x252)],bsSetupHelper[_0x4f4eea(0x1df)](_0x33e1b9[_0x4f4eea(0x21e)]['percy'])&&(!_0x33e1b9[_0x4f4eea(0x205)]||!_0x33e1b9[_0x4f4eea(0x205)][_0x4f4eea(0x245)]())&&(process['env']['BROWSERSTACK_PERCY']=_0x1279f9['ZyWal']);},exports['isPercyBuild']=()=>{const _0x59de08=a130_0x486643;return bsSetupHelper[_0x59de08(0x1df)](process[_0x59de08(0x260)][_0x59de08(0x20f)]);},exports[a130_0x486643(0x1d8)]=(_0x38dc72={})=>{const _0x2f7bd2=a130_0x486643,_0x233edf={};_0x233edf['VNgjs']=function(_0x6ce4a7,_0x45228b){return _0x6ce4a7!==_0x45228b;},_0x233edf['bSRKF']=function(_0x1eacf3,_0x3561d0){return _0x1eacf3===_0x3561d0;},_0x233edf['wuKrr']=_0x2f7bd2(0x21a),_0x233edf[_0x2f7bd2(0x22b)]=function(_0x488ade,_0x18e7c2){return _0x488ade>_0x18e7c2;};const _0x5a2c81=_0x233edf;if(_0x5a2c81['VNgjs'](process[_0x2f7bd2(0x260)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x2f7bd2(0x1df)](process[_0x2f7bd2(0x260)][_0x2f7bd2(0x225)]);let _0x2164d8=_0x5a2c81[_0x2f7bd2(0x267)](process[_0x2f7bd2(0x260)][_0x2f7bd2(0x26a)],_0x5a2c81[_0x2f7bd2(0x1e9)]);return _0x5a2c81[_0x2f7bd2(0x22b)](Object[_0x2f7bd2(0x269)](_0x38dc72)[_0x2f7bd2(0x24b)],0x0)&&(process[_0x2f7bd2(0x260)][_0x2f7bd2(0x1eb)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x38dc72)),_0x2164d8=_0x2164d8||_0x5a2c81[_0x2f7bd2(0x267)](process[_0x2f7bd2(0x260)][_0x2f7bd2(0x1eb)],_0x5a2c81[_0x2f7bd2(0x1e9)]),_0x2164d8;},exports[a130_0x486643(0x203)]=(_0x3d0772,_0x511837)=>{const _0x15e798=a130_0x486643,_0xfb977f={'xFpXd':function(_0x2156c6){return _0x2156c6();},'HGfnt':_0x15e798(0x1d3),'KrIYd':'true','ZDdYO':function(_0x333453,_0x120248,_0x315b2b){return _0x333453(_0x120248,_0x315b2b);},'pohTu':_0x15e798(0x1dc),'wHPCm':_0x15e798(0x240)};if(!_0x3d0772||!_0x3d0772[_0x15e798(0x1dc)])return exports[_0x15e798(0x20c)](),[null,null,null];if(!_0x3d0772[_0x15e798(0x1dc)]['success'])return exports[_0x15e798(0x20c)](_0x3d0772['observability']),[null,null,null];if(_0xfb977f['xFpXd'](isTestObservabilitySession)){const _0x3e9218=_0xfb977f['HGfnt'][_0x15e798(0x273)]('|');let _0x340b4d=0x0;while(!![]){switch(_0x3e9218[_0x340b4d++]){case'0':process[_0x15e798(0x260)][_0x15e798(0x1fb)]=_0xfb977f['KrIYd'];continue;case'1':_0x3d0772['build_hashed_id']&&(process[_0x15e798(0x260)][_0x15e798(0x242)]=_0x3d0772[_0x15e798(0x1de)]);continue;case'2':if(_0x3d0772['jwt']){process[_0x15e798(0x260)][_0x15e798(0x22c)]=_0x3d0772[_0x15e798(0x23c)];const _0x1330ba={};_0x1330ba['username']=_0x511837['username'],_0x1330ba[_0x15e798(0x1cf)]=_0x511837[_0x15e798(0x1cf)],process['env'][_0x15e798(0x265)]=JSON[_0x15e798(0x264)](_0x1330ba);}continue;case'3':logger[_0x15e798(0x201)]('['+constants[_0x15e798(0x251)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x3d0772[_0x15e798(0x1de)]);continue;case'4':_0xfb977f[_0x15e798(0x1e8)](nestedKeyValue,_0x3d0772,[_0xfb977f[_0x15e798(0x236)],_0xfb977f[_0x15e798(0x21f)]])&&(process['env'][_0x15e798(0x226)]=_0x3d0772[_0x15e798(0x1dc)][_0x15e798(0x240)][_0x15e798(0x1f4)][_0x15e798(0x1ec)]());continue;case'5':return[_0x3d0772[_0x15e798(0x23c)],_0x3d0772['build_hashed_id'],process[_0x15e798(0x260)][_0x15e798(0x226)]];}break;}}return[null,null,null];},exports[a130_0x486643(0x219)]=_0x348e32=>{const _0x57ec53=a130_0x486643,_0x16c68d={'ixjxZ':function(_0x2dd4b2,_0x22bb8f,_0x114e76){return _0x2dd4b2(_0x22bb8f,_0x114e76);},'QmNUg':_0x57ec53(0x234),'ZqXhU':'options','yOriW':function(_0x54cc45,_0x466d35,_0x534b40,_0x362d5d){return _0x54cc45(_0x466d35,_0x534b40,_0x362d5d);},'MiSMU':'name','jowpl':_0x57ec53(0x1f2),'unaEO':function(_0x239740,_0x54d1dd,_0xcbefce,_0x276f6a){return _0x239740(_0x54d1dd,_0xcbefce,_0x276f6a);},'FkBAq':_0x57ec53(0x253),'eJOLz':_0x57ec53(0x25a),'mAeeA':function(_0x461d46,_0x1d0132,_0x3f0c69,_0xd39f18){return _0x461d46(_0x1d0132,_0x3f0c69,_0xd39f18);},'WZbLQ':_0x57ec53(0x26e),'crCpV':_0x57ec53(0x21b)};if(!_0x348e32[_0x57ec53(0x234)])return exports[_0x57ec53(0x1ff)](),[null,null];if(!_0x348e32[_0x57ec53(0x234)][_0x57ec53(0x20b)])return exports['handleErrorForAccessibility'](_0x348e32['accessibility']),[null,null];if(_0x16c68d[_0x57ec53(0x26c)](nestedKeyValue,_0x348e32,[_0x16c68d['QmNUg'],_0x16c68d[_0x57ec53(0x250)]])){const {accessibilityToken:_0x33c908,scannerVersion:_0x385e3d}=_0x16c68d['yOriW'](jsonifyAccessibilityArray,_0x348e32[_0x57ec53(0x234)]['options'][_0x57ec53(0x1d5)],_0x16c68d[_0x57ec53(0x1d6)],_0x16c68d['jowpl']),_0x33c693={'scripts':_0x16c68d[_0x57ec53(0x1d7)](jsonifyAccessibilityArray,_0x348e32[_0x57ec53(0x234)][_0x57ec53(0x240)][_0x57ec53(0x261)],_0x16c68d[_0x57ec53(0x1d6)],_0x16c68d['FkBAq'])};_0x33c693[_0x16c68d['eJOLz']]=_0x348e32[_0x57ec53(0x234)][_0x57ec53(0x240)][_0x57ec53(0x27b)][_0x57ec53(0x25a)];const _0x35a4ec=_0x16c68d[_0x57ec53(0x213)](jsonifyAccessibilityArray,_0x348e32[_0x57ec53(0x234)][_0x57ec53(0x240)][_0x57ec53(0x1d5)],_0x16c68d[_0x57ec53(0x1d6)],_0x16c68d[_0x57ec53(0x1cb)]);_0x33c693[_0x16c68d[_0x57ec53(0x1d4)]]=_0x35a4ec[_0x16c68d[_0x57ec53(0x21d)]],scripts[_0x57ec53(0x268)](_0x33c693),scripts[_0x57ec53(0x1f8)]();let _0x2b7fda=process['env'][_0x57ec53(0x1f5)];return _0x2b7fda=!!_0x2b7fda?JSON[_0x57ec53(0x1fc)](_0x2b7fda):{},_0x2b7fda['scannerVersion']=_0x385e3d,process['env'][_0x57ec53(0x1f5)]=JSON['stringify'](_0x2b7fda),process['env'][_0x57ec53(0x25d)]=_0x33c908,logger[_0x57ec53(0x201)](_0x57ec53(0x230)+_0x348e32[_0x57ec53(0x1de)]),[_0x33c908,_0x348e32[_0x57ec53(0x1de)]];}return[null,null];},exports[a130_0x486643(0x20c)]=_0x2bb08=>{const _0x22bb44=a130_0x486643,_0x37f7f1={};_0x37f7f1[_0x22bb44(0x1d1)]=_0x22bb44(0x272),_0x37f7f1[_0x22bb44(0x24d)]=_0x22bb44(0x241),_0x37f7f1[_0x22bb44(0x220)]='false';const _0x3544d1=_0x37f7f1,_0xe4c67d=_0x3544d1['GSLhl'][_0x22bb44(0x273)]('|');let _0x553e4b=0x0;while(!![]){switch(_0xe4c67d[_0x553e4b++]){case'0':process[_0x22bb44(0x260)][_0x22bb44(0x226)]=_0x3544d1[_0x22bb44(0x24d)];continue;case'1':exports[_0x22bb44(0x21c)](_0x2bb08,testHubConstants['OBSERVABILITY']);continue;case'2':process[_0x22bb44(0x260)]['BROWSERSTACK_TESTHUB_UUID']=_0x3544d1[_0x22bb44(0x24d)];continue;case'3':process[_0x22bb44(0x260)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x3544d1[_0x22bb44(0x24d)];continue;case'4':process[_0x22bb44(0x260)][_0x22bb44(0x1e5)]=_0x3544d1[_0x22bb44(0x24d)];continue;case'5':process[_0x22bb44(0x260)][_0x22bb44(0x1fb)]=_0x3544d1[_0x22bb44(0x220)];continue;case'6':process[_0x22bb44(0x260)][_0x22bb44(0x22c)]=_0x3544d1[_0x22bb44(0x24d)];continue;}break;}},exports['handleErrorForAccessibility']=_0x2704c6=>{const _0x282369=a130_0x486643,_0x3d901f={};_0x3d901f[_0x282369(0x263)]=_0x282369(0x271),_0x3d901f[_0x282369(0x23f)]=_0x282369(0x241),_0x3d901f[_0x282369(0x270)]=_0x282369(0x277);const _0x831960=_0x3d901f,_0x128024=_0x831960[_0x282369(0x263)]['split']('|');let _0x2c06ef=0x0;while(!![]){switch(_0x128024[_0x2c06ef++]){case'0':process[_0x282369(0x260)][_0x282369(0x27c)]=_0x831960[_0x282369(0x23f)];continue;case'1':process[_0x282369(0x260)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x831960['nyMWW'];continue;case'2':exports[_0x282369(0x21c)](_0x2704c6,testHubConstants[_0x282369(0x1ef)]);continue;case'3':process[_0x282369(0x260)][_0x282369(0x1e5)]=_0x831960[_0x282369(0x23f)];continue;case'4':process[_0x282369(0x260)][_0x282369(0x26a)]=_0x831960[_0x282369(0x270)];continue;}break;}},exports[a130_0x486643(0x21c)]=(_0x4dace8,_0x10f419='')=>{const _0xf3522d=a130_0x486643,_0x4fad8f={};_0x4fad8f['JTpJv']=function(_0x4907eb,_0x41708c){return _0x4907eb===_0x41708c;};const _0x392fff=_0x4fad8f;if(_0x392fff['JTpJv'](_0x4dace8,undefined)){logger[_0xf3522d(0x23e)](_0x10f419['toUpperCase']()+_0xf3522d(0x210));return;}for(const _0xe37c of _0x4dace8['errors']){const _0x3156e1=_0xe37c[_0xf3522d(0x20a)],_0x2fb4a9=_0xe37c['message'];if(_0x2fb4a9)switch(_0x3156e1){case testHubConstants[_0xf3522d(0x1ea)]['INVALID_CREDENTIALS']:logger['error'](_0x2fb4a9);break;case testHubConstants[_0xf3522d(0x1ea)][_0xf3522d(0x1ee)]:logger[_0xf3522d(0x24c)](_0x2fb4a9);break;case testHubConstants[_0xf3522d(0x1ea)][_0xf3522d(0x23a)]:logger[_0xf3522d(0x23e)](_0x2fb4a9);break;default:logger[_0xf3522d(0x23e)](_0x2fb4a9);}}};const jsonifyAccessibilityArray=(_0x10dae2,_0x4d3763,_0x40d0c6)=>{const _0x14d093={};return _0x10dae2['forEach'](_0x1e3af2=>{_0x14d093[_0x1e3af2[_0x4d3763]]=_0x1e3af2[_0x40d0c6];}),_0x14d093;};exports['setTestHubCommonMetaInfo']=_0x37c1cf=>{const _0x219500=a130_0x486643;_0x37c1cf[_0x219500(0x23c)]&&(process[_0x219500(0x260)][_0x219500(0x1e5)]=_0x37c1cf[_0x219500(0x23c)]);_0x37c1cf[_0x219500(0x1de)]&&(process[_0x219500(0x260)]['BROWSERSTACK_TESTHUB_UUID']=_0x37c1cf['build_hashed_id'],logger['debug'](_0x219500(0x211)+_0x37c1cf[_0x219500(0x1de)]));;},exports['shouldProcessEventForTesthub']=(_0x34a8da='',_0x37708f='')=>{const _0xeff291=a130_0x486643,_0x1c6095={'mvbHO':function(_0x23f1ee){return _0x23f1ee();},'OWUGD':function(_0x3019fa,_0x2683b5){return _0x3019fa===_0x2683b5;},'lwTIe':'uploadEventData','oXdTX':_0xeff291(0x202),'iLsil':'CBTSessionCreated','VDpJc':_0xeff291(0x1fa),'mjsCc':_0xeff291(0x227),'JEnkW':function(_0x1b3c57){return _0x1b3c57();}};if(exports[_0xeff291(0x259)]()&&!exports[_0xeff291(0x1d8)]()&&!_0x1c6095[_0xeff291(0x1e7)](isTestObservabilitySession)){if(_0x1c6095[_0xeff291(0x1f7)](_0x37708f,_0x1c6095[_0xeff291(0x25b)]))return![];if([_0x1c6095[_0xeff291(0x204)],_0x1c6095[_0xeff291(0x20d)]]['includes'](_0x34a8da))return![];return!![];}if(exports[_0xeff291(0x1d8)]()&&!_0x1c6095['mvbHO'](isTestObservabilitySession)){if([_0x1c6095[_0xeff291(0x26b)],_0x1c6095[_0xeff291(0x215)],_0x1c6095['oXdTX']][_0xeff291(0x276)](_0x34a8da))return![];return!![];}return exports[_0xeff291(0x1d8)]()||_0x1c6095[_0xeff291(0x1e3)](isTestObservabilitySession)||exports[_0xeff291(0x259)]();},exports[a130_0x486643(0x1ca)]=(_0x4f1be0,_0x3b933e,_0x4f2c0b='',_0x110254)=>{const _0x1e81b5=a130_0x486643,_0x2bc03c={};_0x2bc03c['SwyBM']=_0x1e81b5(0x1fa),_0x2bc03c['CpePJ']=_0x1e81b5(0x227),_0x2bc03c['PFrLm']=function(_0x3bb3bb,_0x1bf6cf){return _0x3bb3bb===_0x1bf6cf;},_0x2bc03c[_0x1e81b5(0x1cc)]=_0x1e81b5(0x257),_0x2bc03c[_0x1e81b5(0x256)]='isAccessibilityPlatform',_0x2bc03c['YWYwR']=_0x1e81b5(0x234),_0x2bc03c[_0x1e81b5(0x246)]=function(_0x5783e3,_0x360b00){return _0x5783e3&&_0x360b00;},_0x2bc03c[_0x1e81b5(0x1fe)]=function(_0x46f2d3,_0x3dee63){return _0x46f2d3===_0x3dee63;},_0x2bc03c[_0x1e81b5(0x275)]=function(_0x439ea6,_0x89e523){return _0x439ea6+_0x89e523;},_0x2bc03c[_0x1e81b5(0x1c9)]=function(_0x2f2d2c,_0x564ec0){return _0x2f2d2c===_0x564ec0;},_0x2bc03c['ruJHr']='TestRunStarted',_0x2bc03c[_0x1e81b5(0x1f9)]=function(_0x14025c,_0x553701){return _0x14025c===_0x553701;},_0x2bc03c[_0x1e81b5(0x1e0)]=function(_0x139891,_0x284712){return _0x139891&&_0x284712;},_0x2bc03c[_0x1e81b5(0x248)]=function(_0x318510,_0x72430f){return _0x318510===_0x72430f;},_0x2bc03c[_0x1e81b5(0x23b)]=_0x1e81b5(0x223);const _0x4a5723=_0x2bc03c;if(![_0x4a5723[_0x1e81b5(0x218)],_0x4a5723[_0x1e81b5(0x209)]][_0x1e81b5(0x276)](_0x3b933e)&&exports[_0x1e81b5(0x1d8)]()){const _0x47f6a2={};if(_0x4a5723[_0x1e81b5(0x1f1)](_0x110254,FRAMEWORKS[_0x1e81b5(0x22e)])){const _0x5f341c=globals['getGlobal'](_0x4a5723[_0x1e81b5(0x1cc)])||accessibilityHelper[_0x1e81b5(0x266)](_0x4f2c0b['titlePath'](),!![]),_0x19bd05=globals[_0x1e81b5(0x229)](_0x4a5723[_0x1e81b5(0x256)]);_0x47f6a2[_0x4a5723[_0x1e81b5(0x200)]]=_0x4a5723[_0x1e81b5(0x246)](_0x19bd05,_0x5f341c);}if(_0x4a5723[_0x1e81b5(0x1fe)](_0x110254,FRAMEWORKS['JEST'])){const _0x24849b=_0x4a5723[_0x1e81b5(0x275)](_0x4a5723[_0x1e81b5(0x275)](_0x4f1be0[_0x1e81b5(0x235)][_0x1e81b5(0x279)]('\x20'),'\x20'),_0x4f2c0b[_0x1e81b5(0x214)]),_0x514455=globals[_0x1e81b5(0x229)](_0x4a5723['pdQTH'])||accessibilityHelper[_0x1e81b5(0x266)](_0x24849b,![]),_0x4f99bb=browserStackGlobals['isAccessibilityPlatform'];_0x47f6a2[_0x4a5723[_0x1e81b5(0x200)]]=_0x4a5723[_0x1e81b5(0x246)](_0x4f99bb,_0x514455);}if(_0x4a5723['CeQar'](_0x110254,FRAMEWORKS[_0x1e81b5(0x1f6)])){if(_0x4a5723[_0x1e81b5(0x1fe)](_0x3b933e,_0x4a5723['ruJHr']))return;_0x47f6a2[_0x4a5723[_0x1e81b5(0x200)]]=PWTestDetails[_0x1e81b5(0x233)](_0x4f1be0[_0x1e81b5(0x224)]);}if(_0x4a5723[_0x1e81b5(0x1f9)](_0x110254,FRAMEWORKS[_0x1e81b5(0x22f)])){const _0x3c9aec=accessibilityHelper[_0x1e81b5(0x266)](_0x4f2c0b[_0x1e81b5(0x221)](),!![]),_0x3cd1bd=global[_0x1e81b5(0x206)];_0x47f6a2[_0x4a5723['YWYwR']]=_0x4a5723[_0x1e81b5(0x1e0)](_0x3cd1bd,_0x3c9aec);}if(_0x4a5723['iVcuu'](_0x110254,FRAMEWORKS[_0x1e81b5(0x23d)])){const _0xd95d4c=accessibilityHelper[_0x1e81b5(0x266)](null,![],_0x4f1be0[_0x1e81b5(0x24e)]),_0x1e1a3c=globals['getGlobal'](_0x4a5723[_0x1e81b5(0x256)]);_0x47f6a2[_0x4a5723[_0x1e81b5(0x200)]]=_0x4a5723[_0x1e81b5(0x1e0)](_0x1e1a3c,_0xd95d4c);}_0x4f1be0[_0x4a5723[_0x1e81b5(0x23b)]]=_0x47f6a2;}},exports[a130_0x486643(0x212)]=_0x48bf3b=>{const _0x124c83=a130_0x486643,_0x1cd4b8={};_0x1cd4b8['ViBzH']=function(_0x26c415,_0x11dff4){return _0x26c415>_0x11dff4;};const _0x495926=_0x1cd4b8;let _0x290d31={};if(_0x495926[_0x124c83(0x1fd)](Object[_0x124c83(0x269)](testData)[_0x124c83(0x24b)],0x0))return testData;_0x290d31=JestTestDetails[_0x124c83(0x20e)]();if(_0x495926[_0x124c83(0x1fd)](Object['keys'](_0x290d31)[_0x124c83(0x24b)],0x0))return _0x290d31;return _0x290d31;},exports[a130_0x486643(0x1d0)]=(_0x1b504f,_0x459977={})=>{const _0x116915=a130_0x486643;if(bsSetupHelper[_0x116915(0x243)](_0x459977[_0x116915(0x255)]))return;switch(_0x1b504f){case FRAMEWORKS['MOCHA']:testData=_0x459977[_0x116915(0x255)];break;case FRAMEWORKS[_0x116915(0x22a)]:JestTestDetails[_0x116915(0x207)](_0x459977[_0x116915(0x255)]);break;default:break;}},exports[a130_0x486643(0x278)]=_0x50cc78=>{const _0x31efe4=a130_0x486643,_0x6de656={};_0x6de656[_0x31efe4(0x1f0)]=function(_0x472aea,_0x58ea3d){return _0x472aea!==_0x58ea3d;},_0x6de656[_0x31efe4(0x1e2)]=function(_0x3166cd,_0x1f266e){return _0x3166cd!==_0x1f266e;},_0x6de656[_0x31efe4(0x1ed)]=function(_0x567d07,_0x186739){return _0x567d07!==_0x186739;};const _0x39f633=_0x6de656;if(_0x39f633[_0x31efe4(0x1f0)](_0x50cc78['accessibility'],null)&&_0x39f633[_0x31efe4(0x1f0)](_0x50cc78[_0x31efe4(0x234)],undefined))return _0x50cc78[_0x31efe4(0x234)];let _0x1cd1a0=![],_0x567ae2=![];if(_0x50cc78[_0x31efe4(0x1f3)])for(const _0x4d18ea of _0x50cc78[_0x31efe4(0x1f3)]){_0x39f633[_0x31efe4(0x1e2)](_0x4d18ea[_0x31efe4(0x234)],null)&&_0x39f633[_0x31efe4(0x1ed)](_0x4d18ea[_0x31efe4(0x234)],undefined)&&(_0x1cd1a0=_0x1cd1a0||bsSetupHelper[_0x31efe4(0x1df)](_0x4d18ea[_0x31efe4(0x234)]),_0x567ae2=!![]);}if(_0x567ae2)return _0x1cd1a0;return null;},exports[a130_0x486643(0x22d)]=_0x201003=>{const _0x119222=new OrchestrationUtils(_0x201003);return _0x119222['getBuildStartData']();},exports[a130_0x486643(0x1e6)]=_0x5b43d3=>{const _0x5b914f=a130_0x486643,_0x59d400={'lhCAP':function(_0x296f5e){return _0x296f5e();}};let _0x361e6b=![],_0x4de6da=![];if(bsSetupHelper[_0x5b914f(0x1ce)]()&&_0x5b43d3[_0x5b914f(0x249)])_0x4de6da=!![];else bsSetupHelper[_0x5b914f(0x1ce)]()&&(_0x361e6b=!![]);return Object['assign']({'observability':_0x59d400[_0x5b914f(0x26f)](isTestObservabilitySession),'accessibility':exports[_0x5b914f(0x278)](_0x5b43d3),'percy':_0x5b43d3['percy']||![],'automate':_0x361e6b,'app_automate':_0x4de6da,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x5b43d3)},bsSetupHelper[_0x5b914f(0x1e1)]());};
|
|
1
|
+
function a130_0x4986(_0x59500c,_0x1448ce){const _0x44853f=a130_0x4485();return a130_0x4986=function(_0x49861f,_0x117049){_0x49861f=_0x49861f-0xf9;let _0x1749c8=_0x44853f[_0x49861f];return _0x1749c8;},a130_0x4986(_0x59500c,_0x1448ce);}const a130_0x1a4fe0=a130_0x4986;(function(_0xd3f91d,_0x16c865){const _0x572a35=a130_0x4986,_0x337aba=_0xd3f91d();while(!![]){try{const _0x1d9403=parseInt(_0x572a35(0x161))/0x1+-parseInt(_0x572a35(0x125))/0x2*(-parseInt(_0x572a35(0x14b))/0x3)+-parseInt(_0x572a35(0x1ac))/0x4*(parseInt(_0x572a35(0x1a4))/0x5)+parseInt(_0x572a35(0xfb))/0x6*(-parseInt(_0x572a35(0x119))/0x7)+-parseInt(_0x572a35(0x17c))/0x8+-parseInt(_0x572a35(0x111))/0x9*(-parseInt(_0x572a35(0xfa))/0xa)+-parseInt(_0x572a35(0x1a8))/0xb*(-parseInt(_0x572a35(0x14d))/0xc);if(_0x1d9403===_0x16c865)break;else _0x337aba['push'](_0x337aba['shift']());}catch(_0xb32025){_0x337aba['push'](_0x337aba['shift']());}}}(a130_0x4485,0x9b3a8));const bsSetupHelper=require('../helper'),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a130_0x1a4fe0(0x137)),logger=require('../logger')[a130_0x1a4fe0(0x144)],{nestedKeyValue}=require('../helper.js'),scripts=require(a130_0x1a4fe0(0x140)),globals=require(a130_0x1a4fe0(0x198)),testHubConstants=require(a130_0x1a4fe0(0xfd)),PWTestDetails=require(a130_0x1a4fe0(0x104)),JestTestDetails=require(a130_0x1a4fe0(0x194)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a130_0x1a4fe0(0x19a)),constants=require(a130_0x1a4fe0(0x106));let testData={};function a130_0x4485(){const _0x43446c=['product_map','\x20Build\x20creation\x20failed','command','sVyvI','capabilities','RFlzR','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_YML','TestRunStarted','../../bin/jest/test-observability/test-details.js','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','CODECEPT','CSzcM','../globals.js','BS_A11Y_JWT','../test-orchestration/orchestrationUtils.js','HookRunFinished','getCurrentTestData','uuid','RViyo','zvwNv','scannerVersion','build_hashed_id','BS_TESTOPS_BUILD_HASHED_ID','CUCUMBER','5xZQQOC','tags','YigaA','CBTSessionCreated','11iHbkhU','false','password','isUndefined','3033904VRuIAu','eskRj','hrTpZ','CRAzu','1210xlgiVl','6gnxTpt','setTestHubCommonMetaInfo','./constants.js','MOCHA','javascript','isAccessibilityEnabled','JRcca','logBuildError','zkOxY','../../bin/playwright/reporter/test-details.js','XPmkx','../../bin/utils/constants.js','BROWSERSTACK_PERCY','isPercyBuild','setTestObservabilityVariables','titlePath','debug','ERROR','ZnvBV','setAccessibilityVariables','aIGjb','accessibilityPlatform','13545LHKHhm','yqXTw','getTestOrchestrationBuildStartData','nonBStackInfraA11yChromeOptions','qNAda','error','getAgentVersion','czEwp','4913671rMIazJ','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','jwt','bgorK','isRunning','parse','MpyiW','NlzRB','SmMLC','JLBWm','4|3|2|1|0','bstackA11yShouldScan','632102sttRck','qGRvj','EgIRZ','BROWSERSTACK_TESTHUB_JWT','username','ygvHp','BROWSERSTACK_TESTHUB_UUID','scopes','config','feWke','MlcWX','LogCreated','true','allow_screenshots','name','ACCESSIBILITY','key','getAccessibilityPlatformValidation','../accessibility-automation/helper','handleErrorForAccessibility','BS_TESTOPS_JWT','raxhE','goog:chromeOptions','dDTkP','tdoUn','setCurrentTestData','info','../accessibility-automation/scripts.js','isAccessibilityPlatform','getProductMapForBuildStartCall','TEST_REPORTING_ANALYTICS','winstonLogger','lXttK','XkvsN','MCbbb','ciEWF','FkVEc','getGlobal','3ligtRc','setPercyFlag','26401272tfnDmc','length','BROWSERSTACK_TESTHUB_UUID:\x20','FzsWN','ACCESS_DENIED','SlvPK','isTrue','commandsToWrap','BROWSERSTACK_ACCESSIBILITY','isTurboScaleSession','bEtsq','bUCeC','MENtR','accessibility','OBSERVABILITY','sBmHN','fBzVJ','toUpperCase','wtrlK','handleErrorForObservability','112363GnIsyD','options','success','observability','vdaWw','hIncG','JEST','getAccessibilityValueFromYml','Ipldz','includes','YvOGL','getCentralUser','krvgp','RiZre','checkAccessibilityPlatformConfig','qUPOm','toString','app','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','assign','shouldScanTestForAccessibility','keys','njNFX','appendTesthubParams','join','2|4|0|5|1|3|6','5715040KcioPS','EqvJG','BS_TESTOPS_ALLOW_SCREENSHOTS','setTestData','xZIgI','platforms','percy','shouldProcessEventForTesthub','INVALID_CREDENTIALS','test_run','forEach','LyVkg','split','BS_TESTOPS_BUILD_COMPLETED','HookRunStarted'];a130_0x4485=function(){return _0x43446c;};return a130_0x4485();}exports['getProductMap']=_0x49af11=>{const _0x10c2c7=a130_0x1a4fe0,_0x40288d={'MENtR':function(_0x5990e6){return _0x5990e6();}};let _0x24276b=![],_0x4c79b2=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x49af11[_0x10c2c7(0x172)])_0x4c79b2=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x24276b=!![]);return Object[_0x10c2c7(0x175)]({'observability':_0x40288d[_0x10c2c7(0x159)](isTestObservabilitySession),'accessibility':exports[_0x10c2c7(0x100)](_0x49af11),'percy':_0x49af11[_0x10c2c7(0x182)]||![],'automate':_0x24276b,'app_automate':_0x4c79b2,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x49af11)},bsSetupHelper['getCentralUser']());},exports['getFrameworkDetails']=(_0x597117,_0x25718e)=>{const _0xefd724=a130_0x1a4fe0,_0x637ffb={'sVyvI':function(_0x152bb1,_0x503557){return _0x152bb1(_0x503557);},'wtrlK':_0xefd724(0xff)};return{'frameworkName':_0x25718e,'frameworkVersion':_0x637ffb[_0xefd724(0x18e)](getFrameworkVersion,_0x25718e),'sdkVersion':bsSetupHelper[_0xefd724(0x117)](),'language':_0x637ffb[_0xefd724(0x15f)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x597117,_0x25718e)};},exports[a130_0x1a4fe0(0x14c)]=_0x467cb1=>{const _0x413d78=a130_0x1a4fe0,_0x5d746b={};_0x5d746b[_0x413d78(0x101)]=_0x413d78(0x1a9),_0x5d746b['iJRwS']=_0x413d78(0x131);const _0x5ed2dd=_0x5d746b;process[_0x413d78(0x174)][_0x413d78(0x107)]=_0x5ed2dd[_0x413d78(0x101)],bsSetupHelper[_0x413d78(0x153)](_0x467cb1[_0x413d78(0x12d)][_0x413d78(0x182)])&&(!_0x467cb1[_0x413d78(0x182)]||!_0x467cb1[_0x413d78(0x182)][_0x413d78(0x11d)]())&&(process[_0x413d78(0x174)][_0x413d78(0x107)]=_0x5ed2dd['iJRwS']);},exports[a130_0x1a4fe0(0x108)]=()=>{const _0x179dfe=a130_0x1a4fe0;return bsSetupHelper[_0x179dfe(0x153)](process[_0x179dfe(0x174)][_0x179dfe(0x107)]);},exports['isAccessibilityEnabled']=(_0x824482={})=>{const _0x74de6f=a130_0x1a4fe0,_0x33f57d={};_0x33f57d['SGwVh']=function(_0x1b9020,_0xdc33a7){return _0x1b9020!==_0xdc33a7;},_0x33f57d[_0x74de6f(0x170)]=function(_0x53184b,_0x68d260){return _0x53184b===_0x68d260;},_0x33f57d['yqXTw']='true',_0x33f57d[_0x74de6f(0x12a)]=function(_0x25356c,_0x3113cb){return _0x25356c>_0x3113cb;};const _0x5138ca=_0x33f57d;if(_0x5138ca['SGwVh'](process[_0x74de6f(0x174)][_0x74de6f(0x155)],undefined))return bsSetupHelper['isTrue'](process[_0x74de6f(0x174)][_0x74de6f(0x155)]);let _0xb507c0=_0x5138ca[_0x74de6f(0x170)](process[_0x74de6f(0x174)][_0x74de6f(0x192)],_0x5138ca[_0x74de6f(0x112)]);return _0x5138ca[_0x74de6f(0x12a)](Object['keys'](_0x824482)[_0x74de6f(0x14e)],0x0)&&(process[_0x74de6f(0x174)][_0x74de6f(0x11a)]=accessibilityHelper[_0x74de6f(0x16f)](_0x824482)),_0xb507c0=_0xb507c0||_0x5138ca[_0x74de6f(0x170)](process[_0x74de6f(0x174)][_0x74de6f(0x11a)],_0x5138ca['yqXTw']),_0xb507c0;},exports[a130_0x1a4fe0(0x109)]=(_0x42cffd,_0x171d3b)=>{const _0xdca7ed=a130_0x1a4fe0,_0xb57abe={'zkOxY':function(_0x271e89){return _0x271e89();},'MCbbb':'3|5|0|1|2|4','XkvsN':function(_0x598aa9,_0xabae47,_0x602839){return _0x598aa9(_0xabae47,_0x602839);},'RiZre':_0xdca7ed(0x164),'MXZwY':_0xdca7ed(0x162),'BnBvn':'true'};if(!_0x42cffd||!_0x42cffd['observability'])return exports[_0xdca7ed(0x160)](),[null,null,null];if(!_0x42cffd[_0xdca7ed(0x164)][_0xdca7ed(0x163)])return exports[_0xdca7ed(0x160)](_0x42cffd[_0xdca7ed(0x164)]),[null,null,null];if(_0xb57abe[_0xdca7ed(0x103)](isTestObservabilitySession)){const _0x13ae24=_0xb57abe[_0xdca7ed(0x147)][_0xdca7ed(0x188)]('|');let _0xf59019=0x0;while(!![]){switch(_0x13ae24[_0xf59019++]){case'0':_0x42cffd[_0xdca7ed(0x1a1)]&&(process['env']['BS_TESTOPS_BUILD_HASHED_ID']=_0x42cffd[_0xdca7ed(0x1a1)]);continue;case'1':_0xb57abe[_0xdca7ed(0x146)](nestedKeyValue,_0x42cffd,[_0xb57abe[_0xdca7ed(0x16e)],_0xb57abe['MXZwY']])&&(process['env'][_0xdca7ed(0x17e)]=_0x42cffd['observability'][_0xdca7ed(0x162)][_0xdca7ed(0x132)][_0xdca7ed(0x171)]());continue;case'2':logger[_0xdca7ed(0x10b)]('['+constants[_0xdca7ed(0x143)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x42cffd[_0xdca7ed(0x1a1)]);continue;case'3':process[_0xdca7ed(0x174)][_0xdca7ed(0x189)]=_0xb57abe['BnBvn'];continue;case'4':return[_0x42cffd[_0xdca7ed(0x11b)],_0x42cffd['build_hashed_id'],process[_0xdca7ed(0x174)][_0xdca7ed(0x17e)]];case'5':if(_0x42cffd[_0xdca7ed(0x11b)]){process[_0xdca7ed(0x174)][_0xdca7ed(0x139)]=_0x42cffd[_0xdca7ed(0x11b)];const _0x207630={};_0x207630[_0xdca7ed(0x129)]=_0x171d3b[_0xdca7ed(0x129)],_0x207630['password']=_0x171d3b[_0xdca7ed(0x1aa)],process['env']['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0xdca7ed(0x191)](_0x207630);}continue;}break;}}return[null,null,null];},exports[a130_0x1a4fe0(0x10e)]=_0x49dbad=>{const _0x3a7643=a130_0x1a4fe0,_0x1a3d35={'czEwp':function(_0x126da6,_0x49a1a1,_0x40ffaa){return _0x126da6(_0x49a1a1,_0x40ffaa);},'SmMLC':_0x3a7643(0x15a),'RFlzR':_0x3a7643(0x162),'FjwCA':function(_0x4b15d9,_0x237367,_0x4eacad,_0x37b9f4){return _0x4b15d9(_0x237367,_0x4eacad,_0x37b9f4);},'qGRvj':_0x3a7643(0x133),'MlcWX':'value','XPmkx':function(_0x160eb4,_0x4971ad,_0x409da2,_0x2aaccf){return _0x160eb4(_0x4971ad,_0x409da2,_0x2aaccf);},'dDTkP':_0x3a7643(0x18d),'lXttK':'commands','FkVEc':_0x3a7643(0x114),'edmeA':_0x3a7643(0x13b)};if(!_0x49dbad['accessibility'])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x49dbad[_0x3a7643(0x15a)]['success'])return exports[_0x3a7643(0x138)](_0x49dbad[_0x3a7643(0x15a)]),[null,null];if(_0x1a3d35[_0x3a7643(0x118)](nestedKeyValue,_0x49dbad,[_0x1a3d35[_0x3a7643(0x121)],_0x1a3d35[_0x3a7643(0x190)]])){const {accessibilityToken:_0x2ad9a9,scannerVersion:_0x137567}=_0x1a3d35['FjwCA'](jsonifyAccessibilityArray,_0x49dbad[_0x3a7643(0x15a)]['options'][_0x3a7643(0x18f)],_0x1a3d35[_0x3a7643(0x126)],_0x1a3d35[_0x3a7643(0x12f)]),_0x15c514={'scripts':_0x1a3d35[_0x3a7643(0x105)](jsonifyAccessibilityArray,_0x49dbad[_0x3a7643(0x15a)][_0x3a7643(0x162)]['scripts'],_0x1a3d35[_0x3a7643(0x126)],_0x1a3d35[_0x3a7643(0x13c)])};_0x15c514[_0x1a3d35[_0x3a7643(0x145)]]=_0x49dbad[_0x3a7643(0x15a)][_0x3a7643(0x162)][_0x3a7643(0x154)]['commands'];const _0x242337=_0x1a3d35[_0x3a7643(0x105)](jsonifyAccessibilityArray,_0x49dbad[_0x3a7643(0x15a)]['options'][_0x3a7643(0x18f)],_0x1a3d35['qGRvj'],_0x1a3d35['MlcWX']);_0x15c514[_0x1a3d35[_0x3a7643(0x149)]]=_0x242337[_0x1a3d35['edmeA']],scripts['parseFromJson'](_0x15c514),scripts['toJson']();let _0x1b7b37=process[_0x3a7643(0x174)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x1b7b37=!!_0x1b7b37?JSON[_0x3a7643(0x11e)](_0x1b7b37):{},_0x1b7b37[_0x3a7643(0x1a0)]=_0x137567,process['env'][_0x3a7643(0x173)]=JSON[_0x3a7643(0x191)](_0x1b7b37),process[_0x3a7643(0x174)][_0x3a7643(0x199)]=_0x2ad9a9,logger[_0x3a7643(0x10b)](_0x3a7643(0x195)+_0x49dbad[_0x3a7643(0x1a1)]),[_0x2ad9a9,_0x49dbad[_0x3a7643(0x1a1)]];}return[null,null];},exports[a130_0x1a4fe0(0x160)]=_0x23e6a9=>{const _0x223392=a130_0x1a4fe0,_0x34eb27={};_0x34eb27[_0x223392(0x122)]=_0x223392(0x17b),_0x34eb27[_0x223392(0xf9)]=_0x223392(0x1a9),_0x34eb27[_0x223392(0x187)]='null';const _0x32bdd4=_0x34eb27,_0x47aabc=_0x32bdd4[_0x223392(0x122)][_0x223392(0x188)]('|');let _0x4c6d4b=0x0;while(!![]){switch(_0x47aabc[_0x4c6d4b++]){case'0':process[_0x223392(0x174)][_0x223392(0x189)]=_0x32bdd4[_0x223392(0xf9)];continue;case'1':process[_0x223392(0x174)][_0x223392(0x1a2)]=_0x32bdd4[_0x223392(0x187)];continue;case'2':process[_0x223392(0x174)][_0x223392(0x12b)]=_0x32bdd4[_0x223392(0x187)];continue;case'3':process[_0x223392(0x174)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x32bdd4[_0x223392(0x187)];continue;case'4':process['env'][_0x223392(0x128)]=_0x32bdd4[_0x223392(0x187)];continue;case'5':process[_0x223392(0x174)][_0x223392(0x139)]=_0x32bdd4[_0x223392(0x187)];continue;case'6':exports[_0x223392(0x102)](_0x23e6a9,testHubConstants[_0x223392(0x15b)]);continue;}break;}},exports[a130_0x1a4fe0(0x138)]=_0x14bd16=>{const _0x5cf8a7=a130_0x1a4fe0,_0x3f2c13={};_0x3f2c13['YvOGL']=_0x5cf8a7(0x123),_0x3f2c13[_0x5cf8a7(0x152)]=_0x5cf8a7(0x1a9),_0x3f2c13[_0x5cf8a7(0x10f)]='null';const _0x462237=_0x3f2c13,_0x4172a2=_0x462237[_0x5cf8a7(0x16b)][_0x5cf8a7(0x188)]('|');let _0x3e5a67=0x0;while(!![]){switch(_0x4172a2[_0x3e5a67++]){case'0':exports[_0x5cf8a7(0x102)](_0x14bd16,testHubConstants[_0x5cf8a7(0x134)]);continue;case'1':process[_0x5cf8a7(0x174)][_0x5cf8a7(0x11a)]=_0x462237[_0x5cf8a7(0x152)];continue;case'2':process[_0x5cf8a7(0x174)][_0x5cf8a7(0x192)]=_0x462237[_0x5cf8a7(0x152)];continue;case'3':process[_0x5cf8a7(0x174)][_0x5cf8a7(0x128)]=_0x462237[_0x5cf8a7(0x10f)];continue;case'4':process['env'][_0x5cf8a7(0x12b)]=_0x462237[_0x5cf8a7(0x10f)];continue;}break;}},exports[a130_0x1a4fe0(0x102)]=(_0x1d458c,_0x593439='')=>{const _0x29144c=a130_0x1a4fe0,_0x127344={};_0x127344['raxhE']=function(_0x312a31,_0x49378b){return _0x312a31===_0x49378b;};const _0x516072=_0x127344;if(_0x516072[_0x29144c(0x13a)](_0x1d458c,undefined)){logger[_0x29144c(0x116)](_0x593439[_0x29144c(0x15e)]()+_0x29144c(0x18c));return;}for(const _0x3b444e of _0x1d458c['errors']){const _0x4d081b=_0x3b444e[_0x29144c(0x135)],_0x50d5a5=_0x3b444e['message'];if(_0x50d5a5)switch(_0x4d081b){case testHubConstants[_0x29144c(0x10c)][_0x29144c(0x184)]:logger[_0x29144c(0x116)](_0x50d5a5);break;case testHubConstants[_0x29144c(0x10c)][_0x29144c(0x151)]:logger[_0x29144c(0x13f)](_0x50d5a5);break;case testHubConstants['ERROR']['DEPRECATED']:logger[_0x29144c(0x116)](_0x50d5a5);break;default:logger[_0x29144c(0x116)](_0x50d5a5);}}};const jsonifyAccessibilityArray=(_0x440205,_0x4c8198,_0x4b145f)=>{const _0xab65e=a130_0x1a4fe0,_0x39ced7={};return _0x440205[_0xab65e(0x186)](_0x1351d3=>{_0x39ced7[_0x1351d3[_0x4c8198]]=_0x1351d3[_0x4b145f];}),_0x39ced7;};exports[a130_0x1a4fe0(0xfc)]=_0x4c74=>{const _0x5f347f=a130_0x1a4fe0;_0x4c74[_0x5f347f(0x11b)]&&(process[_0x5f347f(0x174)][_0x5f347f(0x128)]=_0x4c74[_0x5f347f(0x11b)]);_0x4c74[_0x5f347f(0x1a1)]&&(process[_0x5f347f(0x174)]['BROWSERSTACK_TESTHUB_UUID']=_0x4c74[_0x5f347f(0x1a1)],logger['debug'](_0x5f347f(0x14f)+_0x4c74[_0x5f347f(0x1a1)]));;},exports[a130_0x1a4fe0(0x183)]=(_0x599f4a='',_0x4f13f7='')=>{const _0x5a6c92=a130_0x1a4fe0,_0x1f1511={'NlzRB':function(_0x909a57){return _0x909a57();},'EqvJG':function(_0x3db4e3,_0x490ea0){return _0x3db4e3===_0x490ea0;},'hrTpZ':'uploadEventData','bUCeC':_0x5a6c92(0x130),'MpyiW':_0x5a6c92(0x1a7),'vdaWw':function(_0x5c83bc){return _0x5c83bc();},'LCSEP':_0x5a6c92(0x18a),'zvwNv':'HookRunFinished'};if(exports[_0x5a6c92(0x108)]()&&!exports['isAccessibilityEnabled']()&&!_0x1f1511[_0x5a6c92(0x120)](isTestObservabilitySession)){if(_0x1f1511[_0x5a6c92(0x17d)](_0x4f13f7,_0x1f1511[_0x5a6c92(0x1ae)]))return![];if([_0x1f1511['bUCeC'],_0x1f1511[_0x5a6c92(0x11f)]][_0x5a6c92(0x16a)](_0x599f4a))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x1f1511[_0x5a6c92(0x165)](isTestObservabilitySession)){if([_0x1f1511['LCSEP'],_0x1f1511[_0x5a6c92(0x19f)],_0x1f1511[_0x5a6c92(0x158)]][_0x5a6c92(0x16a)](_0x599f4a))return![];return!![];}return exports[_0x5a6c92(0x100)]()||_0x1f1511[_0x5a6c92(0x120)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a130_0x1a4fe0(0x179)]=(_0x339338,_0x3ec8b1,_0x50692d='',_0x28ce8a)=>{const _0x106395=a130_0x1a4fe0,_0x2545f5={};_0x2545f5[_0x106395(0x178)]=_0x106395(0x18a),_0x2545f5[_0x106395(0x169)]=_0x106395(0x19b),_0x2545f5['ZnvBV']=function(_0xfd11e2,_0x37e4a0){return _0xfd11e2===_0x37e4a0;},_0x2545f5['bEtsq']=_0x106395(0x124),_0x2545f5[_0x106395(0x115)]=_0x106395(0x141),_0x2545f5[_0x106395(0x127)]=_0x106395(0x15a),_0x2545f5[_0x106395(0x166)]=function(_0x3fe9a4,_0x472e09){return _0x3fe9a4&&_0x472e09;},_0x2545f5[_0x106395(0x150)]=function(_0x41804c,_0x58fec8){return _0x41804c===_0x58fec8;},_0x2545f5[_0x106395(0x19e)]=function(_0x50a188,_0x284e74){return _0x50a188+_0x284e74;},_0x2545f5[_0x106395(0x11c)]=function(_0xd2bee3,_0x45f068){return _0xd2bee3===_0x45f068;},_0x2545f5[_0x106395(0x12e)]=function(_0x48bad6,_0x50555e){return _0x48bad6===_0x50555e;},_0x2545f5['sBmHN']=_0x106395(0x193),_0x2545f5['YigaA']=function(_0x11cdbe,_0x52cd5c){return _0x11cdbe===_0x52cd5c;},_0x2545f5[_0x106395(0x148)]=function(_0x2b9a60,_0x2e6b74){return _0x2b9a60&&_0x2e6b74;},_0x2545f5[_0x106395(0x1ad)]=function(_0x491bb8,_0x656ea7){return _0x491bb8===_0x656ea7;},_0x2545f5['krvgp']=_0x106395(0x18b);const _0x21a39c=_0x2545f5;if(![_0x21a39c['njNFX'],_0x21a39c[_0x106395(0x169)]][_0x106395(0x16a)](_0x3ec8b1)&&exports[_0x106395(0x100)]()){const _0x411e77={};if(_0x21a39c[_0x106395(0x10d)](_0x28ce8a,FRAMEWORKS[_0x106395(0xfe)])){const _0x4faa03=globals[_0x106395(0x14a)](_0x21a39c['bEtsq'])||accessibilityHelper[_0x106395(0x176)](_0x50692d[_0x106395(0x10a)](),!![]),_0x42e287=globals[_0x106395(0x14a)](_0x21a39c[_0x106395(0x115)]);_0x411e77[_0x21a39c[_0x106395(0x127)]]=_0x21a39c[_0x106395(0x166)](_0x42e287,_0x4faa03);}if(_0x21a39c['FzsWN'](_0x28ce8a,FRAMEWORKS[_0x106395(0x167)])){const _0x27b31e=_0x21a39c[_0x106395(0x19e)](_0x21a39c[_0x106395(0x19e)](_0x339338[_0x106395(0x12c)][_0x106395(0x17a)]('\x20'),'\x20'),_0x50692d[_0x106395(0x133)]),_0x2b5ae7=globals[_0x106395(0x14a)](_0x21a39c[_0x106395(0x157)])||accessibilityHelper[_0x106395(0x176)](_0x27b31e,![]),_0x4b822f=browserStackGlobals[_0x106395(0x141)];_0x411e77[_0x21a39c['EgIRZ']]=_0x21a39c[_0x106395(0x166)](_0x4b822f,_0x2b5ae7);}if(_0x21a39c['bgorK'](_0x28ce8a,FRAMEWORKS['PLAYWRIGHT'])){if(_0x21a39c['feWke'](_0x3ec8b1,_0x21a39c[_0x106395(0x15c)]))return;_0x411e77[_0x21a39c[_0x106395(0x127)]]=PWTestDetails[_0x106395(0x136)](_0x339338[_0x106395(0x19d)]);}if(_0x21a39c[_0x106395(0x1a6)](_0x28ce8a,FRAMEWORKS[_0x106395(0x196)])){const _0x11e869=accessibilityHelper[_0x106395(0x176)](_0x50692d[_0x106395(0x10a)](),!![]),_0xb57562=global[_0x106395(0x110)];_0x411e77[_0x21a39c[_0x106395(0x127)]]=_0x21a39c[_0x106395(0x148)](_0xb57562,_0x11e869);}if(_0x21a39c[_0x106395(0x1ad)](_0x28ce8a,FRAMEWORKS[_0x106395(0x1a3)])){const _0x331d52=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x339338[_0x106395(0x1a5)]),_0x2be13d=globals['getGlobal'](_0x21a39c[_0x106395(0x115)]);_0x411e77[_0x21a39c[_0x106395(0x127)]]=_0x21a39c[_0x106395(0x166)](_0x2be13d,_0x331d52);}_0x339338[_0x21a39c[_0x106395(0x16d)]]=_0x411e77;}},exports[a130_0x1a4fe0(0x19c)]=_0x306303=>{const _0x3268e2=a130_0x1a4fe0,_0x2f5005={};_0x2f5005[_0x3268e2(0x15d)]=function(_0x6ee5de,_0xaabd11){return _0x6ee5de>_0xaabd11;};const _0x7f61da=_0x2f5005;let _0x4d6c0b={};if(_0x7f61da[_0x3268e2(0x15d)](Object[_0x3268e2(0x177)](testData)[_0x3268e2(0x14e)],0x0))return testData;_0x4d6c0b=JestTestDetails['getTestData']();if(_0x7f61da[_0x3268e2(0x15d)](Object[_0x3268e2(0x177)](_0x4d6c0b)[_0x3268e2(0x14e)],0x0))return _0x4d6c0b;return _0x4d6c0b;},exports[a130_0x1a4fe0(0x13e)]=(_0x3c48ab,_0x545100={})=>{const _0xe2af24=a130_0x1a4fe0;if(bsSetupHelper[_0xe2af24(0x1ab)](_0x545100['test_run']))return;switch(_0x3c48ab){case FRAMEWORKS['MOCHA']:testData=_0x545100[_0xe2af24(0x185)];break;case FRAMEWORKS[_0xe2af24(0x167)]:JestTestDetails[_0xe2af24(0x17f)](_0x545100[_0xe2af24(0x185)]);break;default:break;}},exports[a130_0x1a4fe0(0x168)]=_0x41c0ad=>{const _0x8348a4=a130_0x1a4fe0,_0x26d94e={};_0x26d94e[_0x8348a4(0x180)]=function(_0x165ac4,_0x321c5f){return _0x165ac4!==_0x321c5f;},_0x26d94e['CSzcM']=function(_0x5574f7,_0x547638){return _0x5574f7!==_0x547638;},_0x26d94e['mUcEv']=function(_0x5a4d12,_0x3daaaf){return _0x5a4d12!==_0x3daaaf;};const _0x4b1378=_0x26d94e;if(_0x4b1378['xZIgI'](_0x41c0ad['accessibility'],null)&&_0x4b1378['xZIgI'](_0x41c0ad[_0x8348a4(0x15a)],undefined))return _0x41c0ad[_0x8348a4(0x15a)];let _0x3399f8=![],_0x148f02=![];if(_0x41c0ad[_0x8348a4(0x181)])for(const _0x17f9ba of _0x41c0ad[_0x8348a4(0x181)]){_0x4b1378[_0x8348a4(0x197)](_0x17f9ba[_0x8348a4(0x15a)],null)&&_0x4b1378['mUcEv'](_0x17f9ba[_0x8348a4(0x15a)],undefined)&&(_0x3399f8=_0x3399f8||bsSetupHelper['isTrue'](_0x17f9ba[_0x8348a4(0x15a)]),_0x148f02=!![]);}if(_0x148f02)return _0x3399f8;return null;},exports[a130_0x1a4fe0(0x113)]=_0x515c35=>{const _0x3e8dd8=new OrchestrationUtils(_0x515c35);return _0x3e8dd8['getBuildStartData']();},exports[a130_0x1a4fe0(0x142)]=_0x36153f=>{const _0x1882d7=a130_0x1a4fe0,_0x13741b={'tdoUn':function(_0x572ffa){return _0x572ffa();}};let _0x6bcf72=![],_0x155fd0=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x36153f['app'])_0x155fd0=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x6bcf72=!![]);return Object[_0x1882d7(0x175)]({'observability':_0x13741b[_0x1882d7(0x13d)](isTestObservabilitySession),'accessibility':exports[_0x1882d7(0x168)](_0x36153f),'percy':_0x36153f[_0x1882d7(0x182)]||![],'automate':_0x6bcf72,'app_automate':_0x155fd0,'turboscale':bsSetupHelper[_0x1882d7(0x156)](_0x36153f)},bsSetupHelper[_0x1882d7(0x16c)]());};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131_0x5ea7eb=a131_0x3a08;(function(_0xaa6a18,_0x5662bd){const _0xccb7d8=a131_0x3a08,_0xac84b7=_0xaa6a18();while(!![]){try{const _0x1cf53a=-parseInt(_0xccb7d8(0x175))/0x1+-parseInt(_0xccb7d8(0x183))/0x2+-parseInt(_0xccb7d8(0x17e))/0x3*(parseInt(_0xccb7d8(0x182))/0x4)+-parseInt(_0xccb7d8(0x180))/0x5*(-parseInt(_0xccb7d8(0x177))/0x6)+-parseInt(_0xccb7d8(0x178))/0x7+-parseInt(_0xccb7d8(0x184))/0x8*(-parseInt(_0xccb7d8(0x181))/0x9)+parseInt(_0xccb7d8(0x173))/0xa;if(_0x1cf53a===_0x5662bd)break;else _0xac84b7['push'](_0xac84b7['shift']());}catch(_0x25f653){_0xac84b7['push'](_0xac84b7['shift']());}}}(a131_0x26e3,0x5525c));const utilities=require(a131_0x5ea7eb(0x179));function a131_0x26e3(){const _0xc1eac2=['6056mClfFT','10217400BBHfVI','sQPjR','273193DuIggc','cancel','3966lyftBT','2589391UMAfzl','./utilities','fireFunnelTestEvent','EusCx','wsMrS','exports','15RqlYWX','gSfHA','1955KPQFiX','1791qXQWST','21308cSKdSc','824658htbxGG'];a131_0x26e3=function(){return _0xc1eac2;};return a131_0x26e3();}function a131_0x3a08(_0x3735a2,_0x30b706){const _0x26e3da=a131_0x26e3();return a131_0x3a08=function(_0x3a08e0,_0x19c467){_0x3a08e0=_0x3a08e0-0x173;let _0x5183b9=_0x26e3da[_0x3a08e0];return _0x5183b9;},a131_0x3a08(_0x3735a2,_0x30b706);}module[a131_0x5ea7eb(0x17d)]=(_0x473983,_0x42873a,_0x542633,_0x5e8fbb,_0x12952e,_0x26bf6b)=>{const _0x1c456e=a131_0x5ea7eb,_0xecd526={'wsMrS':function(_0x3016d7,_0x3ce020){return _0x3016d7-_0x3ce020;},'sQPjR':function(_0x1e05e4,_0xd49935){return _0x1e05e4(_0xd49935);},'zetJj':function(_0x188171,_0x44c993,_0x4f3128){return _0x188171(_0x44c993,_0x4f3128);},'EusCx':function(_0x3e5212,_0x4b3d1a){return _0x3e5212(_0x4b3d1a);}};let _0x521e2e,_0x2f232c=![];const _0x4ccd19=new Promise((_0x480a98,_0x230faa)=>{const _0x5cea88={'gSfHA':function(_0x360efa,_0x53f89c){const _0x110041=a131_0x3a08;return _0xecd526[_0x110041(0x17c)](_0x360efa,_0x53f89c);},'GpRnE':function(_0x385994,_0x3c5534){const _0x2c8617=a131_0x3a08;return _0xecd526[_0x2c8617(0x174)](_0x385994,_0x3c5534);}};_0x521e2e=_0xecd526['zetJj'](setTimeout,()=>{const _0x3d790d=a131_0x3a08;if(!_0x2f232c){const _0x5a29c2={'status':''+_0x42873a,'timeTaken':_0x5cea88[_0x3d790d(0x17f)](new Date(),_0x5e8fbb)};utilities[_0x3d790d(0x17a)](_0x542633,_0x5a29c2,_0x12952e,_0x26bf6b),_0x5cea88['GpRnE'](_0x230faa,new Error(_0x42873a));}},_0x473983);});return _0x4ccd19[_0x1c456e(0x176)]=()=>{const _0x5dfd8c=_0x1c456e;_0x2f232c=!![],_0xecd526[_0x5dfd8c(0x17b)](clearTimeout,_0x521e2e);},_0x4ccd19;};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132_0x195e45=a132_0x2a58;(function(_0x3d7b0a,_0x125f4f){const _0x2fb458=a132_0x2a58,_0x349bc6=_0x3d7b0a();while(!![]){try{const _0x1adcce=parseInt(_0x2fb458(0x1db))/0x1+parseInt(_0x2fb458(0x1f9))/0x2+-parseInt(_0x2fb458(0x1bb))/0x3+parseInt(_0x2fb458(0x221))/0x4+parseInt(_0x2fb458(0x209))/0x5*(-parseInt(_0x2fb458(0x211))/0x6)+parseInt(_0x2fb458(0x1f2))/0x7*(-parseInt(_0x2fb458(0x229))/0x8)+parseInt(_0x2fb458(0x1da))/0x9;if(_0x1adcce===_0x125f4f)break;else _0x349bc6['push'](_0x349bc6['shift']());}catch(_0x532305){_0x349bc6['push'](_0x349bc6['shift']());}}}(a132_0x3e6b,0x5faba));const os=require('os'),util=require(a132_0x195e45(0x1f7)),fs=require('fs'),{getProductMap}=require(a132_0x195e45(0x1e0)),logger=require(a132_0x195e45(0x1ba))[a132_0x195e45(0x1c6)],constants=require(a132_0x195e45(0x23e)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a132_0x195e45(0x1ce)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a132_0x195e45(0x23e)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a132_0x195e45(0x206)),PerformanceTester=require(a132_0x195e45(0x1bc)),globals=require(a132_0x195e45(0x1e4)),helper=require('./helper'),{isTestObservabilitySession}=require('./test-observability/utils');function a132_0x3e6b(){const _0x16ff38=['\x20response\x20-\x20','lzlZZ','format','bLZcF','osVersion','seleniumVersion','sendLogs','912576LPDkSU','POST','_buildHashedId','VSIFs','nodeRequest','util','FKdrR','215588kBcTLx','gmXMY','RkwqC','getTurboScaleBuildLink','BHrTU','KYBuk','coqTP','parse','APP_AUTOMATE_PRODUCTS','getBuildLink','VjBLl','BROWSERSTACK_TESTHUB_UUID','qVIcR','./helper','getNodeAgent','source','30wiUTCf','uWwvS','framework','WKvnb','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','PEYhK','btEBV','tests','711618heSWNm','\x20has\x20now\x20read/write/execute\x20permissions.','version','assign','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','app','SDKTestSuccessful','getFrameworkVersion','getAccessKey','getOptimalHubUrl','codeceptjs','NJaDT','ixwnq','chmodSync','apply','split','2802008QkPDoP','sanitizeBrowserStackConfig','JNzJM','yGkFt','DSXVT','getGlobal','Directory\x20','replace','32uXFVdQ','uhIHM','debug','fireFunnelTestEvent','reduce','buildIdentifier','FUNNEL_INSTRUMENTATION_API_URL','browser','sdkRunId','info','nodejs','constants','getStackTraceAsString','mEBFZ','X_OK','AUTOMATE_PRODUCTS','user_killed','finishedMetadata','event_properties','getUserName','values','../bin/utils/constants','forEach','application/json','errorMessage','YZsBz','isTurboScaleSession','RfBoB','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','env','keys','ALrVm','KPlWL','isModifiable','kPkOO','./logger','957951DrHLLm','./performance/performance-tester','[REDACTED]','getPackageVersion','buildName','UuKMU','isBrowserstackInfra','getTestFrameworkDetails','accessSync','finalExecution','body','winstonLogger','object','stack','ENV_VAR','error','deviceName','length','MxqmW','../bin/playwright/reporter/pwUtils','killSignal','content-type','selenium-webdriver','Rjfti','config','playwrightVersion','OfRIE','every','CuBTW','SDK\x20run\x20ended\x20for\x20id:\x20','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','7723926cHqYNz','277763fALrjx','push','API\x20Event\x20','all','notifyUpdate','./testhub/utils','requirePWModule','browserVersion','Playwright','./globals','saSSy','name','iUmaI','trim','nHMlE','imCmq'];a132_0x3e6b=function(){return _0x16ff38;};return a132_0x3e6b();}let unhandledErrors='';function a132_0x2a58(_0x585f65,_0x4a216a){const _0x3e6b8c=a132_0x3e6b();return a132_0x2a58=function(_0x2a588c,_0xf040bb){_0x2a588c=_0x2a588c-0x1af;let _0x24cead=_0x3e6b8c[_0x2a588c];return _0x24cead;},a132_0x2a58(_0x585f65,_0x4a216a);}exports[a132_0x195e45(0x22c)]=async(_0x3a109a,_0x42839d={},_0xcd5ebc,_0x19e632)=>{const _0x4629d8=a132_0x195e45,_0x4539eb={'saSSy':function(_0x1cb3c9,_0x3394cd){return _0x1cb3c9===_0x3394cd;},'MxqmW':_0x4629d8(0x1c7),'iKPHj':function(_0x44f1a5,_0x2e18c5){return _0x44f1a5>_0x2e18c5;},'RfBoB':function(_0x500ecd,_0x2cc30d){return _0x500ecd>_0x2cc30d;},'WKvnb':_0x4629d8(0x210),'uhIHM':function(_0x2e2663){return _0x2e2663();},'Rjfti':function(_0x542a8a){return _0x542a8a();},'iUmaI':function(_0xf9000,_0x27a7bb){return _0xf9000==_0x27a7bb;},'mhuPW':'null','VjBLl':function(_0x9b258d,_0x29edf3){return _0x9b258d===_0x29edf3;},'YZsBz':'undefined','UuKMU':function(_0x5cfada,_0x2a6655){return _0x5cfada>_0x2a6655;},'KPlWL':_0x4629d8(0x21b),'lzyQo':function(_0x2a9e3f,_0x587cad){return _0x2a9e3f>_0x587cad;},'yGkFt':function(_0x3d1ea4,_0x2f3556){return _0x3d1ea4!==_0x2f3556;},'lzlZZ':_0x4629d8(0x1e3),'qVIcR':function(_0x46523f,_0x524c0d){return _0x46523f===_0x524c0d;},'CuBTW':_0x4629d8(0x1ca),'FKdrR':function(_0x4dd2cf,_0x3030ad){return _0x4dd2cf>_0x3030ad;},'NBVuX':function(_0x4ea359,_0x2c758a){return _0x4ea359+_0x2c758a;},'coqTP':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','FyGLO':_0x4629d8(0x1f4),'BHrTU':function(_0x119bc6,_0x3fa179){return _0x119bc6(_0x3fa179);},'ixwnq':function(_0x4e04c7,_0x115527){return _0x4e04c7(_0x115527);},'JNzJM':'unknown','nHMlE':_0x4629d8(0x233),'vyHZw':_0x4629d8(0x217),'mEBFZ':function(_0x40fd2d,_0x2cfe79){return _0x40fd2d===_0x2cfe79;},'ALrVm':_0x4629d8(0x1d1),'bLZcF':_0x4629d8(0x240),'uWwvS':_0x4629d8(0x1bd),'PEYhK':_0x4629d8(0x1f3)};let _0x4d072d=[];if(helper[_0x4629d8(0x1c1)]()&&_0x4539eb[_0x4629d8(0x22a)](isTestObservabilitySession))_0x4d072d=_0xcd5ebc[_0x4629d8(0x216)]?constants[_0x4629d8(0x201)]:constants[_0x4629d8(0x238)];else{if(_0x4539eb[_0x4629d8(0x1d2)](isTestObservabilitySession))_0x4d072d=constants[_0x4629d8(0x20d)];else helper[_0x4629d8(0x1c1)]()&&(_0x4d072d=_0xcd5ebc[_0x4629d8(0x216)]?constants['APP_AUTOMATE']:constants['AUTOMATE']);}let _0x30fff7=_0xcd5ebc[_0x4629d8(0x22e)];if(_0x4539eb[_0x4629d8(0x1e7)](_0x30fff7,null))_0x30fff7=_0x4539eb['mhuPW'];else _0x4539eb[_0x4629d8(0x203)](_0x30fff7,undefined)&&(_0x30fff7=_0x4539eb[_0x4629d8(0x1b0)]);unhandledErrors&&_0x4539eb[_0x4629d8(0x1c0)](unhandledErrors[_0x4629d8(0x1cc)],0x0)&&(_0x42839d['globalException']=unhandledErrors);global[_0x4629d8(0x231)]&&(_0x42839d[_0x4629d8(0x231)]=global[_0x4629d8(0x231)]);try{if(_0x42839d[_0x4629d8(0x1ca)]){if(_0x4539eb['VjBLl'](_0x19e632,_0x4539eb[_0x4629d8(0x1b7)])&&_0x4539eb['lzyQo'](_0x42839d['error'][_0x4629d8(0x1cc)],0x0)){const _0x1d78d3={};_0x1d78d3['os']='',_0x1d78d3[_0x4629d8(0x1ef)]='',_0x1d78d3[_0x4629d8(0x230)]='',_0x1d78d3['browserVersion']='';const _0x5445cb=_0x1d78d3;let _0x3417d2={};const _0x439d70=_0x42839d[_0x4629d8(0x1ca)];_0x3417d2=_0x439d70[_0x4629d8(0x22d)]((_0x197660,_0x25d17c)=>{for(const _0x1529d6 in _0x25d17c){_0x197660[_0x1529d6]=_0x25d17c[_0x1529d6];}return _0x197660;},{});const _0x13f80e={};_0x13f80e[_0x4629d8(0x210)]=_0x3417d2,_0x42839d['error']=[Object[_0x4629d8(0x214)]({},_0x5445cb,_0x13f80e)];}else{let _0x116cd0=0x0;const _0x28a75b=_0x4539eb[_0x4629d8(0x224)](_0x19e632,_0x4539eb[_0x4629d8(0x1ec)])?JSON[_0x4629d8(0x200)](_0x42839d['error']):_0x42839d[_0x4629d8(0x1ca)],_0x4aefa1=Object[_0x4629d8(0x23d)](_0x28a75b);_0x4aefa1[_0x4629d8(0x23f)](_0x2f4186=>{const _0x3f4b25=_0x4629d8;if(_0x4539eb[_0x3f4b25(0x1e5)](typeof _0x2f4186,_0x4539eb[_0x3f4b25(0x1cd)])){const _0x2738a1=Object['values'](_0x2f4186);!_0x2738a1[_0x3f4b25(0x1d6)](_0x3cd705=>_0x3cd705===null||_0x3cd705===undefined||_0x3cd705==='')&&(_0x116cd0+=0x1);}});if(_0x4539eb[_0x4629d8(0x205)](_0x116cd0,0x0))delete _0x42839d[_0x4539eb[_0x4629d8(0x1d7)]];else{const _0x369010=[];Object[_0x4629d8(0x1b5)](_0x28a75b)['forEach'](_0x1f868c=>{const _0x3b3471=_0x4629d8,[_0x4c3ab6,_0x2c44e1,_0x23008e,_0x6f623f]=_0x1f868c[_0x3b3471(0x220)](',\x20');let _0x24d5ce={};if(!_0x6f623f){const _0x244f83={};_0x244f83[_0x3b3471(0x1cb)]=_0x4c3ab6,_0x244f83[_0x3b3471(0x1ef)]=_0x2c44e1,_0x244f83[_0x3b3471(0x230)]=_0x23008e,_0x24d5ce=_0x244f83;}else{const _0x1fedaf={};_0x1fedaf['os']=_0x4c3ab6,_0x1fedaf['osVersion']=_0x2c44e1,_0x1fedaf[_0x3b3471(0x230)]=_0x23008e,_0x1fedaf[_0x3b3471(0x1e2)]=_0x6f623f,_0x24d5ce=_0x1fedaf;}const _0x6b2d3d={},_0x42ca87=_0x28a75b[_0x1f868c];Object[_0x3b3471(0x1b5)](_0x42ca87)['forEach'](_0x57fc26=>{const _0x344c85=_0x3b3471;_0x4539eb['iKPHj'](_0x42ca87[_0x57fc26][_0x344c85(0x1cc)],0x0)&&(_0x6b2d3d[_0x57fc26]=_0x42ca87[_0x57fc26]);}),_0x4539eb[_0x3b3471(0x1b2)](Object['keys'](_0x6b2d3d)[_0x3b3471(0x1cc)],0x0)&&(_0x24d5ce[_0x4539eb[_0x3b3471(0x20c)]]=_0x6b2d3d,_0x369010[_0x3b3471(0x1dc)](_0x24d5ce));}),_0x4539eb[_0x4629d8(0x1f8)](_0x369010[_0x4629d8(0x1cc)],0x0)?_0x42839d['error']=_0x369010:delete _0x42839d[_0x4539eb[_0x4629d8(0x1d7)]];}}}}catch(_0x4f2a0b){delete _0x42839d[_0x4539eb[_0x4629d8(0x1d7)]],logger[_0x4629d8(0x22b)](_0x4539eb['NBVuX'](_0x4539eb[_0x4629d8(0x1ff)],_0x4f2a0b));}const _0x9c1459=helper[_0x4629d8(0x1c2)](_0xcd5ebc,_0xcd5ebc[_0x4629d8(0x20b)]),_0x526b27={'userName':helper[_0x4629d8(0x23c)](_0xcd5ebc),'accessKey':helper[_0x4629d8(0x219)](_0xcd5ebc),'event_type':_0x3a109a,'detectedFramework':_0x19e632,'buildHashedId':globals[_0x4629d8(0x226)](_0x4539eb['FyGLO']),'optimalHubUrl':helper[_0x4629d8(0x21a)](),'event_properties':{'testhub_uuid':process[_0x4629d8(0x1b4)][testHubConstants[_0x4629d8(0x1c9)][_0x4629d8(0x204)]]||'','sdkRunId':global[_0x4629d8(0x231)],'product_map':_0x4539eb[_0x4629d8(0x1fd)](getProductMap,_0xcd5ebc),'productMap':_0x4539eb[_0x4629d8(0x21d)](getProductMap,_0xcd5ebc),'language_framework':_0xcd5ebc[_0x4629d8(0x208)]||_0x4539eb['JNzJM'],'referrer':helper[_0x4629d8(0x207)](_0x19e632),'framework':_0xcd5ebc['framework'],'frameworkVersion':helper[_0x4629d8(0x218)](_0x19e632),'automationFramework':_0x9c1459[_0x4629d8(0x1e6)],'automationFrameworkVersion':_0x9c1459['version'],'language':_0x4539eb[_0x4629d8(0x1e9)],'languageVersion':process[_0x4629d8(0x213)],'product':_0x4d072d,'buildName':_0xcd5ebc[_0x4629d8(0x1bf)]||_0x4539eb[_0x4629d8(0x1b0)],'buildIdentifier':_0x30fff7,'os':os['type']()||_0x4539eb[_0x4629d8(0x223)],'hostname':os['hostname']()||_0x4539eb[_0x4629d8(0x223)],..._0x42839d}};try{_0x4539eb[_0x4629d8(0x1e5)](_0x3a109a,_0x4539eb['vyHZw'])&&(_0x526b27['event_properties']['browserStackConfig']=helper[_0x4629d8(0x222)](_0xcd5ebc)),_0x4539eb[_0x4629d8(0x236)](_0x19e632,_0x4539eb[_0x4629d8(0x1ec)])?_0x526b27['event_properties'][_0x4629d8(0x1d4)]=helper[_0x4629d8(0x1e1)][_0x4629d8(0x21f)](null,_0x4539eb[_0x4629d8(0x1d2)](getTransformPath),!![]):_0x526b27[_0x4629d8(0x23b)][_0x4629d8(0x1f0)]=helper[_0x4629d8(0x1be)](_0x4539eb[_0x4629d8(0x1b6)]);}catch(_0x1fb031){logger[_0x4629d8(0x22b)](_0x4629d8(0x1b3)+_0x1fb031);}const _0x432016={};_0x432016[_0x4629d8(0x1d0)]=_0x4539eb[_0x4629d8(0x1ee)];const _0x26ea9e={'headers':_0x432016,'body':_0x526b27,'auth':{'user':helper[_0x4629d8(0x23c)](_0xcd5ebc),'pass':helper[_0x4629d8(0x219)](_0xcd5ebc)},'json':!![]};logger[_0x4629d8(0x22b)](_0x4629d8(0x1d9)+JSON['stringify'](_0x26ea9e[_0x4629d8(0x1c5)])['replace'](new RegExp(helper[_0x4629d8(0x23c)](_0xcd5ebc),'g'),_0x4539eb[_0x4629d8(0x20a)])[_0x4629d8(0x228)](new RegExp(helper[_0x4629d8(0x219)](_0xcd5ebc),'g'),_0x4539eb[_0x4629d8(0x20a)]));try{const _0x44e844=await helper[_0x4629d8(0x1f6)](_0x4539eb[_0x4629d8(0x20e)],constants[_0x4629d8(0x22f)],_0x26ea9e,_0xcd5ebc);logger[_0x4629d8(0x22b)](_0x4629d8(0x1dd)+_0x3a109a+_0x4629d8(0x1eb)+util[_0x4629d8(0x1ed)]('%j',_0x44e844));}catch(_0x57fcec){logger[_0x4629d8(0x22b)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x4629d8(0x1ed)](_0x57fcec));}},exports[a132_0x195e45(0x1c4)]=async _0x2e9881=>{const _0x1c3e78=a132_0x195e45,_0x4020f6={'KYBuk':function(_0x50c0ac){return _0x50c0ac();},'eKDXO':_0x1c3e78(0x23a),'NJaDT':_0x1c3e78(0x239),'RkwqC':_0x1c3e78(0x217),'kPkOO':function(_0x12dc22,_0x253dab,_0x22c093){return _0x12dc22(_0x253dab,_0x22c093);},'DSXVT':function(_0x2f6f8d,_0x19602b){return _0x2f6f8d+_0x19602b;},'VSIFs':_0x1c3e78(0x215)};try{await _0x2e9881['stopPercy'](),_0x4020f6[_0x1c3e78(0x1fe)](printNudgeLocalNotSetError);const _0x370078={};_0x370078[_0x1c3e78(0x1ca)]=_0x2e9881[_0x1c3e78(0x1af)]?_0x2e9881[_0x1c3e78(0x1af)]:'{}';const _0x2831b1=_0x370078,_0x141ddf=Object['assign']({},_0x2831b1);!!_0x2e9881[_0x1c3e78(0x1cf)]&&(_0x141ddf[_0x4020f6['eKDXO']]={'reason':_0x4020f6[_0x1c3e78(0x21c)],'signal':_0x2e9881['killSignal']});unhandledErrors=_0x2e9881['unhandledErrors']['join']('\x0a');let _0x316068,_0x107786,_0x466f16;helper[_0x1c3e78(0x1b1)](_0x2e9881[_0x1c3e78(0x1d3)])?([_0x316068,_0x107786]=await helper[_0x1c3e78(0x1fc)](_0x2e9881[_0x1c3e78(0x1d3)]),[_0x466f16]=await Promise[_0x1c3e78(0x1de)]([helper['getTurboScaleSessionsList'](_0x316068,_0x2e9881[_0x1c3e78(0x1d3)]),exports[_0x1c3e78(0x22c)](_0x4020f6[_0x1c3e78(0x1fb)],_0x141ddf,_0x2e9881['config'],_0x2e9881['framework'])])):([_0x316068,_0x107786]=await helper[_0x1c3e78(0x202)](_0x2e9881['config']),[_0x466f16]=await Promise[_0x1c3e78(0x1de)]([helper['getSessionsList'](_0x316068,_0x2e9881[_0x1c3e78(0x1d3)]),exports[_0x1c3e78(0x22c)](_0x4020f6['RkwqC'],_0x141ddf,_0x2e9881['config'],_0x2e9881[_0x1c3e78(0x20b)])])),_0x466f16&&await _0x4020f6[_0x1c3e78(0x1b9)](generateCIArtifacts,_0x466f16,_0x107786),logger[_0x1c3e78(0x232)](_0x1c3e78(0x1d8)+_0x2e9881['sdkRunId']+',\x20testhub\x20id:\x20'+process[_0x1c3e78(0x1b4)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x1c3e78(0x1f1)](_0x2e9881[_0x1c3e78(0x1d3)]);}catch(_0x5d5baa){logger[_0x1c3e78(0x22b)](_0x4020f6[_0x1c3e78(0x225)](_0x4020f6[_0x1c3e78(0x1f5)],_0x5d5baa));}helper[_0x1c3e78(0x1df)]();},exports[a132_0x195e45(0x235)]=_0x34e429=>{const _0x108e2e=a132_0x195e45,_0x12ac5e={'gmXMY':function(_0x1a0413,_0x4f2e45){return _0x1a0413 instanceof _0x4f2e45;},'btEBV':function(_0x1db864,_0x2e2eef){return _0x1db864(_0x2e2eef);}};try{if(_0x12ac5e[_0x108e2e(0x1fa)](_0x34e429,Error))return _0x34e429[_0x108e2e(0x1c8)]||_0x34e429['toString']();return _0x12ac5e[_0x108e2e(0x20f)](String,_0x34e429);}catch(_0x5d998e){return _0x34e429?_0x34e429['toString']():'';}},exports['isNullOrEmpty']=_0x130051=>{const _0x29897c=a132_0x195e45,_0x12274d={};_0x12274d['imCmq']=function(_0x5dc1c1,_0x18145e){return _0x5dc1c1===_0x18145e;};const _0x15604e=_0x12274d;return!_0x130051||_0x15604e[_0x29897c(0x1ea)](_0x130051[_0x29897c(0x1e8)](),'');},exports[a132_0x195e45(0x1b8)]=_0x3da51e=>{const _0x211ab6=a132_0x195e45,_0xb181ac={};_0xb181ac[_0x211ab6(0x1d5)]=function(_0x57fdab,_0x5753a8){return _0x57fdab|_0x5753a8;};const _0x3573d9=_0xb181ac;try{return fs[_0x211ab6(0x1c3)](_0x3da51e,_0x3573d9[_0x211ab6(0x1d5)](fs[_0x211ab6(0x234)]['W_OK'],fs[_0x211ab6(0x234)][_0x211ab6(0x237)])),!![];}catch(_0x389957){return![];}},exports['setReadWriteExecuteAccess']=_0x294f63=>{const _0x34bd7b=a132_0x195e45;try{fs[_0x34bd7b(0x21e)](_0x294f63,0x1ff),logger[_0x34bd7b(0x22b)](_0x34bd7b(0x227)+_0x294f63+_0x34bd7b(0x212));}catch(_0x12e378){logger['error']('Failed\x20to\x20set\x20directory\x20access:\x20'+exports['getStackTraceAsString'](_0x12e378));}};
|
|
1
|
+
const a132_0x51b324=a132_0x14a8;(function(_0x49693f,_0x10a8d7){const _0x226d1e=a132_0x14a8,_0x181d06=_0x49693f();while(!![]){try{const _0x34cc2c=parseInt(_0x226d1e(0x147))/0x1+parseInt(_0x226d1e(0x132))/0x2*(-parseInt(_0x226d1e(0xff))/0x3)+-parseInt(_0x226d1e(0x108))/0x4*(parseInt(_0x226d1e(0x111))/0x5)+-parseInt(_0x226d1e(0x176))/0x6+parseInt(_0x226d1e(0x11a))/0x7+parseInt(_0x226d1e(0x126))/0x8*(parseInt(_0x226d1e(0x13b))/0x9)+-parseInt(_0x226d1e(0x17f))/0xa*(-parseInt(_0x226d1e(0xf3))/0xb);if(_0x34cc2c===_0x10a8d7)break;else _0x181d06['push'](_0x181d06['shift']());}catch(_0x4b7949){_0x181d06['push'](_0x181d06['shift']());}}}(a132_0xc4c2,0x4ac0d));const os=require('os'),util=require(a132_0x51b324(0x11f)),fs=require('fs'),{getProductMap}=require(a132_0x51b324(0x152)),logger=require(a132_0x51b324(0x183))[a132_0x51b324(0x115)],constants=require(a132_0x51b324(0x181)),testHubConstants=require(a132_0x51b324(0x128)),{getTransformPath}=require(a132_0x51b324(0x13f)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a132_0x51b324(0x181)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a132_0x51b324(0x140)),PerformanceTester=require(a132_0x51b324(0x14d)),globals=require(a132_0x51b324(0x141)),helper=require(a132_0x51b324(0x140)),{isTestObservabilitySession}=require(a132_0x51b324(0x153));function a132_0xc4c2(){const _0x52515d=['dfhxb','15ZasOoB','replace','unhandledErrors','app','winstonLogger','toString','nodejs','push','getNodeAgent','1052751nJKWAe','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','ZoayH','codeceptjs','nPUFb','util','hostname','reduce','BROWSERSTACK_TESTHUB_UUID','all','FUNNEL_INSTRUMENTATION_API_URL','framework','10712JCHeuG','playwrightVersion','../helpers/testhub/constants','gGifu','notifyUpdate','apply','content-type','Czxjt','unknown','name','AoFAT','AUTOMATE_PRODUCTS','66NjJeKZ','getSessionsList','getStackTraceAsString','debug','constants','bxjHK','env','chmodSync','body','2448mOfUDc','config','finishedMetadata','buildIdentifier','../bin/playwright/reporter/pwUtils','./helper','./globals','tKptc','type','KZaqu','browserStackConfig','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','340209juovur','Failed\x20to\x20set\x20directory\x20access:\x20','application/json','user_killed','AUTOMATE','pOuaa','./performance/performance-tester','osVersion','killSignal','stack','isNullOrEmpty','./testhub/utils','./test-observability/utils','sqdtU','APP_AUTOMATE','eEvqw','getPackageVersion','sendLogs','getTestFrameworkDetails','\x20has\x20now\x20read/write/execute\x20permissions.','accessSync','parse','format','vKrKl','NIWSp','SDKTestSuccessful','nodeRequest','trim','fireFunnelTestEvent','isBrowserstackInfra','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','MCshT','getAccessKey','join','object','errorMessage','error','biJWG','SDK\x20run\x20ended\x20for\x20id:\x20','HHZZK','\x20:\x20','values','liZnB','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','setReadWriteExecuteAccess','mQzrR','split','2792562xSDMai','getGlobal','stopPercy','buildName','POST','_buildHashedId','hXkim','sdkRunId','ADNxN','170eHqztV','keys','../bin/utils/constants','X_OK','./logger','getBuildLink','QAFVZ','NOMpn','QlOYw','browserVersion','471119MmxHgA','APP_AUTOMATE_PRODUCTS','MzJHY','KTeSH','zVaVM','getTurboScaleBuildLink','Directory\x20','forEach','getFrameworkVersion','finalExecution','browser','JPAJt','40893rCtcmi','getUserName','assign','NjIaY','every','getTurboScaleSessionsList','tests','version','ENV_VAR','481952NVFHnk','length','selenium-webdriver','getOptimalHubUrl','JrTKD','event_properties','deviceName','jlWyC'];a132_0xc4c2=function(){return _0x52515d;};return a132_0xc4c2();}function a132_0x14a8(_0x2f43b8,_0x417f12){const _0xc4c296=a132_0xc4c2();return a132_0x14a8=function(_0x14a85b,_0x405aa1){_0x14a85b=_0x14a85b-0xf3;let _0x164ce2=_0xc4c296[_0x14a85b];return _0x164ce2;},a132_0x14a8(_0x2f43b8,_0x417f12);}let unhandledErrors='';exports[a132_0x51b324(0x163)]=async(_0x5e450b,_0x37a1af={},_0x1545e9,_0x30b5e1)=>{const _0x2040db=a132_0x51b324,_0x3588b6={'gvofG':function(_0x415e85,_0x405c35){return _0x415e85===_0x405c35;},'JrTKD':_0x2040db(0x169),'QlOYw':function(_0x6a54a4,_0x1560ce){return _0x6a54a4>_0x1560ce;},'jlWyC':function(_0x386926,_0x40a691){return _0x386926>_0x40a691;},'pOuaa':_0x2040db(0x105),'NjIaY':function(_0x2199ba){return _0x2199ba();},'EULxj':function(_0x2e3e16,_0x42b579){return _0x2e3e16==_0x42b579;},'NOMpn':'null','ZoayH':'undefined','MCshT':function(_0xafd0ce,_0x4a0016){return _0xafd0ce===_0x4a0016;},'ZBbmo':_0x2040db(0x11d),'liZnB':function(_0x250234,_0x1713c1){return _0x250234>_0x1713c1;},'QAFVZ':function(_0x1c1803,_0x14de16){return _0x1c1803!==_0x14de16;},'mQzrR':'Playwright','zVaVM':function(_0x9224d5,_0x293110){return _0x9224d5===_0x293110;},'gGifu':_0x2040db(0x16b),'nPUFb':function(_0x1a4c64,_0x5a11ad){return _0x1a4c64+_0x5a11ad;},'NIWSp':_0x2040db(0x146),'eEvqw':_0x2040db(0x17b),'cxAKQ':function(_0x341a41,_0x4b17e9){return _0x341a41(_0x4b17e9);},'vKrKl':function(_0x575649,_0x2464ec){return _0x575649(_0x2464ec);},'HHZZK':_0x2040db(0x12e),'AoFAT':_0x2040db(0x117),'hXkim':function(_0x3a889f,_0x6662fb){return _0x3a889f===_0x6662fb;},'ltIDH':_0x2040db(0x160),'ADNxN':function(_0x7d233d,_0x3d5ba1){return _0x7d233d===_0x3d5ba1;},'jcgDB':_0x2040db(0x10a),'Quzwr':_0x2040db(0x149),'KZaqu':'[REDACTED]','sqdtU':_0x2040db(0x17a)};let _0x522bc3=[];if(helper[_0x2040db(0x164)]()&&_0x3588b6[_0x2040db(0x102)](isTestObservabilitySession))_0x522bc3=_0x1545e9[_0x2040db(0x114)]?constants[_0x2040db(0xf4)]:constants[_0x2040db(0x131)];else{if(_0x3588b6[_0x2040db(0x102)](isTestObservabilitySession))_0x522bc3=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x2040db(0x164)]()&&(_0x522bc3=_0x1545e9['app']?constants[_0x2040db(0x155)]:constants[_0x2040db(0x14b)]);}let _0x527c43=_0x1545e9[_0x2040db(0x13e)];if(_0x3588b6['EULxj'](_0x527c43,null))_0x527c43=_0x3588b6[_0x2040db(0x186)];else _0x3588b6['gvofG'](_0x527c43,undefined)&&(_0x527c43=_0x3588b6[_0x2040db(0x11c)]);unhandledErrors&&_0x3588b6[_0x2040db(0x10f)](unhandledErrors[_0x2040db(0x109)],0x0)&&(_0x37a1af['globalException']=unhandledErrors);global['sdkRunId']&&(_0x37a1af[_0x2040db(0x17d)]=global['sdkRunId']);try{if(_0x37a1af['error']){if(_0x3588b6[_0x2040db(0x166)](_0x30b5e1,_0x3588b6['ZBbmo'])&&_0x3588b6[_0x2040db(0x171)](_0x37a1af[_0x2040db(0x16b)]['length'],0x0)){const _0x2d0992={};_0x2d0992['os']='',_0x2d0992[_0x2040db(0x14e)]='',_0x2d0992['browser']='',_0x2d0992['browserVersion']='';const _0x3a181d=_0x2d0992;let _0x48994d={};const _0x351ed7=_0x37a1af[_0x2040db(0x16b)];_0x48994d=_0x351ed7[_0x2040db(0x121)]((_0x919efc,_0x31cc6d)=>{for(const _0xd490de in _0x31cc6d){_0x919efc[_0xd490de]=_0x31cc6d[_0xd490de];}return _0x919efc;},{});const _0x5ce7b2={};_0x5ce7b2[_0x2040db(0x105)]=_0x48994d,_0x37a1af[_0x2040db(0x16b)]=[Object[_0x2040db(0x101)]({},_0x3a181d,_0x5ce7b2)];}else{let _0x5ba9aa=0x0;const _0x20948e=_0x3588b6[_0x2040db(0x185)](_0x30b5e1,_0x3588b6[_0x2040db(0x174)])?JSON[_0x2040db(0x15c)](_0x37a1af[_0x2040db(0x16b)]):_0x37a1af[_0x2040db(0x16b)],_0x127165=Object[_0x2040db(0x170)](_0x20948e);_0x127165[_0x2040db(0xfa)](_0x32e5c1=>{const _0x254348=_0x2040db;if(_0x3588b6['gvofG'](typeof _0x32e5c1,_0x3588b6[_0x254348(0x10c)])){const _0x2b26f5=Object[_0x254348(0x170)](_0x32e5c1);!_0x2b26f5[_0x254348(0x103)](_0xdc383a=>_0xdc383a===null||_0xdc383a===undefined||_0xdc383a==='')&&(_0x5ba9aa+=0x1);}});if(_0x3588b6[_0x2040db(0xf7)](_0x5ba9aa,0x0))delete _0x37a1af[_0x3588b6[_0x2040db(0x129)]];else{const _0x3f6865=[];Object[_0x2040db(0x180)](_0x20948e)[_0x2040db(0xfa)](_0x225002=>{const _0x109d4a=_0x2040db,_0x290a6c={'biJWG':function(_0x2006dd,_0x100550){const _0x815ad8=a132_0x14a8;return _0x3588b6[_0x815ad8(0x187)](_0x2006dd,_0x100550);}},[_0x257a61,_0x50a185,_0x3c67ec,_0x27f80f]=_0x225002[_0x109d4a(0x175)](',\x20');let _0x36a177={};if(!_0x27f80f){const _0x489640={};_0x489640[_0x109d4a(0x10e)]=_0x257a61,_0x489640[_0x109d4a(0x14e)]=_0x50a185,_0x489640[_0x109d4a(0xfd)]=_0x3c67ec,_0x36a177=_0x489640;}else{const _0x4fc3a0={};_0x4fc3a0['os']=_0x257a61,_0x4fc3a0[_0x109d4a(0x14e)]=_0x50a185,_0x4fc3a0[_0x109d4a(0xfd)]=_0x3c67ec,_0x4fc3a0[_0x109d4a(0x188)]=_0x27f80f,_0x36a177=_0x4fc3a0;}const _0x1f7880={},_0xc463b2=_0x20948e[_0x225002];Object['keys'](_0xc463b2)[_0x109d4a(0xfa)](_0x53109a=>{const _0x3daf71=_0x109d4a;_0x290a6c[_0x3daf71(0x16c)](_0xc463b2[_0x53109a][_0x3daf71(0x109)],0x0)&&(_0x1f7880[_0x53109a]=_0xc463b2[_0x53109a]);}),_0x3588b6['jlWyC'](Object[_0x109d4a(0x180)](_0x1f7880)['length'],0x0)&&(_0x36a177[_0x3588b6[_0x109d4a(0x14c)]]=_0x1f7880,_0x3f6865[_0x109d4a(0x118)](_0x36a177));}),_0x3588b6['liZnB'](_0x3f6865[_0x2040db(0x109)],0x0)?_0x37a1af[_0x2040db(0x16b)]=_0x3f6865:delete _0x37a1af[_0x3588b6[_0x2040db(0x129)]];}}}}catch(_0x568a85){delete _0x37a1af[_0x3588b6[_0x2040db(0x129)]],logger[_0x2040db(0x135)](_0x3588b6[_0x2040db(0x11e)](_0x3588b6[_0x2040db(0x15f)],_0x568a85));}const _0x3e253c=helper[_0x2040db(0x159)](_0x1545e9,_0x1545e9[_0x2040db(0x125)]),_0x8b32b0={'userName':helper['getUserName'](_0x1545e9),'accessKey':helper[_0x2040db(0x167)](_0x1545e9),'event_type':_0x5e450b,'detectedFramework':_0x30b5e1,'buildHashedId':globals[_0x2040db(0x177)](_0x3588b6[_0x2040db(0x156)]),'optimalHubUrl':helper[_0x2040db(0x10b)](),'event_properties':{'testhub_uuid':process[_0x2040db(0x138)][testHubConstants[_0x2040db(0x107)][_0x2040db(0x122)]]||'','sdkRunId':global[_0x2040db(0x17d)],'product_map':_0x3588b6['cxAKQ'](getProductMap,_0x1545e9),'productMap':_0x3588b6[_0x2040db(0x15e)](getProductMap,_0x1545e9),'language_framework':_0x1545e9['source']||_0x3588b6['HHZZK'],'referrer':helper[_0x2040db(0x119)](_0x30b5e1),'framework':_0x1545e9[_0x2040db(0x125)],'frameworkVersion':helper[_0x2040db(0xfb)](_0x30b5e1),'automationFramework':_0x3e253c[_0x2040db(0x12f)],'automationFrameworkVersion':_0x3e253c[_0x2040db(0x106)],'language':_0x3588b6[_0x2040db(0x130)],'languageVersion':process[_0x2040db(0x106)],'product':_0x522bc3,'buildName':_0x1545e9[_0x2040db(0x179)]||_0x3588b6[_0x2040db(0x11c)],'buildIdentifier':_0x527c43,'os':os[_0x2040db(0x143)]()||_0x3588b6['HHZZK'],'hostname':os[_0x2040db(0x120)]()||_0x3588b6[_0x2040db(0x16e)],..._0x37a1af}};try{_0x3588b6[_0x2040db(0x17c)](_0x5e450b,_0x3588b6['ltIDH'])&&(_0x8b32b0[_0x2040db(0x10d)][_0x2040db(0x145)]=helper['sanitizeBrowserStackConfig'](_0x1545e9)),_0x3588b6[_0x2040db(0x17e)](_0x30b5e1,_0x3588b6[_0x2040db(0x174)])?_0x8b32b0['event_properties'][_0x2040db(0x127)]=helper['requirePWModule'][_0x2040db(0x12b)](null,_0x3588b6[_0x2040db(0x102)](getTransformPath),!![]):_0x8b32b0[_0x2040db(0x10d)]['seleniumVersion']=helper[_0x2040db(0x157)](_0x3588b6['jcgDB']);}catch(_0x4083d1){logger['debug'](_0x2040db(0x172)+_0x4083d1);}const _0x24eaa3={};_0x24eaa3[_0x2040db(0x12c)]=_0x3588b6['Quzwr'];const _0x29df5b={'headers':_0x24eaa3,'body':_0x8b32b0,'auth':{'user':helper[_0x2040db(0x100)](_0x1545e9),'pass':helper[_0x2040db(0x167)](_0x1545e9)},'json':!![]};logger['debug'](_0x2040db(0x11b)+JSON['stringify'](_0x29df5b[_0x2040db(0x13a)])['replace'](new RegExp(helper['getUserName'](_0x1545e9),'g'),_0x3588b6[_0x2040db(0x144)])[_0x2040db(0x112)](new RegExp(helper[_0x2040db(0x167)](_0x1545e9),'g'),_0x3588b6['KZaqu']));try{const _0x4a40ff=await helper[_0x2040db(0x161)](_0x3588b6[_0x2040db(0x154)],constants[_0x2040db(0x124)],_0x29df5b,_0x1545e9);logger['debug']('API\x20Event\x20'+_0x5e450b+'\x20response\x20-\x20'+util[_0x2040db(0x15d)]('%j',_0x4a40ff));}catch(_0x6e29b8){logger[_0x2040db(0x135)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x2040db(0x16f)+util['format'](_0x6e29b8));}},exports[a132_0x51b324(0xfc)]=async _0x3f3ba8=>{const _0x557059=a132_0x51b324,_0x504c12={'dfhxb':function(_0x533b93){return _0x533b93();},'bxjHK':_0x557059(0x13d),'MzJHY':_0x557059(0x14a),'Czxjt':'SDKTestSuccessful','hhVLY':function(_0x41e377,_0x337842,_0x54441f){return _0x41e377(_0x337842,_0x54441f);},'tKptc':function(_0x32364b,_0x112d53){return _0x32364b+_0x112d53;},'Hqxdm':_0x557059(0x165)};try{await _0x3f3ba8[_0x557059(0x178)](),_0x504c12[_0x557059(0x110)](printNudgeLocalNotSetError);const _0x14dbf0={};_0x14dbf0['error']=_0x3f3ba8[_0x557059(0x16a)]?_0x3f3ba8[_0x557059(0x16a)]:'{}';const _0x4cdaf4=_0x14dbf0,_0x59aa4b=Object[_0x557059(0x101)]({},_0x4cdaf4);!!_0x3f3ba8['killSignal']&&(_0x59aa4b[_0x504c12[_0x557059(0x137)]]={'reason':_0x504c12[_0x557059(0xf5)],'signal':_0x3f3ba8[_0x557059(0x14f)]});unhandledErrors=_0x3f3ba8[_0x557059(0x113)][_0x557059(0x168)]('\x0a');let _0x4d55e7,_0x59df57,_0x41586b;helper['isTurboScaleSession'](_0x3f3ba8[_0x557059(0x13c)])?([_0x4d55e7,_0x59df57]=await helper[_0x557059(0xf8)](_0x3f3ba8[_0x557059(0x13c)]),[_0x41586b]=await Promise['all']([helper[_0x557059(0x104)](_0x4d55e7,_0x3f3ba8[_0x557059(0x13c)]),exports[_0x557059(0x163)](_0x504c12[_0x557059(0x12d)],_0x59aa4b,_0x3f3ba8[_0x557059(0x13c)],_0x3f3ba8['framework'])])):([_0x4d55e7,_0x59df57]=await helper[_0x557059(0x184)](_0x3f3ba8[_0x557059(0x13c)]),[_0x41586b]=await Promise[_0x557059(0x123)]([helper[_0x557059(0x133)](_0x4d55e7,_0x3f3ba8['config']),exports[_0x557059(0x163)](_0x504c12[_0x557059(0x12d)],_0x59aa4b,_0x3f3ba8[_0x557059(0x13c)],_0x3f3ba8[_0x557059(0x125)])])),_0x41586b&&await _0x504c12['hhVLY'](generateCIArtifacts,_0x41586b,_0x59df57),logger['info'](_0x557059(0x16d)+_0x3f3ba8[_0x557059(0x17d)]+',\x20testhub\x20id:\x20'+process[_0x557059(0x138)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x557059(0x158)](_0x3f3ba8['config']);}catch(_0x2b075e){logger['debug'](_0x504c12[_0x557059(0x142)](_0x504c12['Hqxdm'],_0x2b075e));}helper[_0x557059(0x12a)]();},exports[a132_0x51b324(0x134)]=_0x15c29b=>{const _0x207056=a132_0x51b324,_0x591f27={'wAgxW':function(_0x31c2c1,_0x3f9123){return _0x31c2c1 instanceof _0x3f9123;},'qXONp':function(_0x4f5a1e,_0x3828b4){return _0x4f5a1e(_0x3828b4);}};try{if(_0x591f27['wAgxW'](_0x15c29b,Error))return _0x15c29b[_0x207056(0x150)]||_0x15c29b[_0x207056(0x116)]();return _0x591f27['qXONp'](String,_0x15c29b);}catch(_0x4b3ad1){return _0x15c29b?_0x15c29b[_0x207056(0x116)]():'';}},exports[a132_0x51b324(0x151)]=_0x168832=>{const _0x1b5296=a132_0x51b324,_0x4df795={};_0x4df795[_0x1b5296(0xfe)]=function(_0x3d495c,_0x4b2d7d){return _0x3d495c===_0x4b2d7d;};const _0x5d7ac0=_0x4df795;return!_0x168832||_0x5d7ac0['JPAJt'](_0x168832[_0x1b5296(0x162)](),'');},exports['isModifiable']=_0x415ebf=>{const _0x10b6ba=a132_0x51b324,_0x40c3d4={};_0x40c3d4[_0x10b6ba(0xf6)]=function(_0x45c8bd,_0x59d683){return _0x45c8bd|_0x59d683;};const _0x1c7f3e=_0x40c3d4;try{return fs[_0x10b6ba(0x15b)](_0x415ebf,_0x1c7f3e[_0x10b6ba(0xf6)](fs[_0x10b6ba(0x136)]['W_OK'],fs['constants'][_0x10b6ba(0x182)])),!![];}catch(_0x388e84){return![];}},exports[a132_0x51b324(0x173)]=_0x156ae=>{const _0x628662=a132_0x51b324;try{fs[_0x628662(0x139)](_0x156ae,0x1ff),logger['debug'](_0x628662(0xf9)+_0x156ae+_0x628662(0x15a));}catch(_0x3f1b67){logger[_0x628662(0x16b)](_0x628662(0x148)+exports['getStackTraceAsString'](_0x3f1b67));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a133_0x1840(){var _0x511cd2=['browserstack.performance','Jihqi','tpQjN','timezone','XmdHo','browserstack.disableCorsRestrictions','gtSSA','AUTwh','8313020zZKNOl','browserstack.key','TAZgy','AnhsD','buildIdentifier','1704725fYfpmH','browserstack.networkLogs','38mSoQtK','hosts','autoWait','browserstack.accessibilityOptions.includeIssueType.bestPractice','localIdentifier','PLOCT','ZaBbh','browserstack.telemetryLogs','Rnrmo','browserstack.enableSim','atllB','testhubBuildUuid','38140XZXdxu','iZwUM','VSyNj','gwDrI','browserstack.customNetwork','hLUtL','browserstack.local','browserstack.accessibilityOptions.scannerVersion','overridelocalInfo.userAuthToken','buildProductMap','browserstack.uploadMedia','browserstack.accessibilityOptions.scannerProcessingTimeout','VBOni','WpVlL','browserstack.playwrightVersion','accessKey','browserstack.seleniumLogs','kizGZ','local','ngDuQ','iAMDi','headerParams','kwuhJ','consoleLogs','projectName','performance','browserstack.bfcache','video','W3CMapping','bTDKn','6601928LWemkj','enableSim','ExErc','JwHxo','1004625twflmD','playwrightVersion','browserVersion','appiumVersion','browserstack.appiumLogs','fAmPw','EUTEA','simOptions','463998WhaCwG','browserstack.localIdentifier','IBPSM','osVersion','seleniumLogs','os_version','browserstack.overridelocalInfo.localIdentifier','browserstack.appium_version','accessibilityOptions.scannerProcessingTimeout','browserstack.user','appiumLogs','khWLU','browser','browserstack.networkLogsOptions','Xhgbn','NhgfA','49AOfHsb','accessibilityOptions.scannerVersion','browserstack.testhubBuildUuid','browserstack.accessibilityOptions.includeIssueType.needsReview','accessibilityOptions.authToken','uploadMedia','deviceName','sHPIZ','browserstack.buildIdentifier','browserstack.wsLocalSupport','browserstack.browserstackSDK','FLGWY','browserstack.timezone','pxDTK','browserstack.debug','browserstack.accessibilityOptions.wcagVersion','telemetryLogs','browserstack.accessibility','browserstack.accessibilityOptions.authToken','browserstack.buildProductMap','resolution','kWxro','realMobile','llFHK','uILwz','overridelocalInfo.localIdentifier','debug','VkEZM','wsLocalSupport','browserstackSDK','54828GbHjuN','Jxdoh','maskCommands','RVpxj','browserstack.selenium_version','buildName','build','browserstack.hosts','LTNum','accessibilityOptions.includeIssueType.needsReview','deviceOrientation','dqXbl','nGSfz','browserstack.autoWait','MRmuG','browserstack.idleTimeout','name','rIUkP','customNetwork','browserstack.geoLocation','rlxEk','idleTimeout','JHyFp','cBGBP','mmrJb','seleniumVersion','disableCorsRestrictions','browserstack.maskCommands','naiqa','bfcache','9lIROXS','NTtBL','browserstack.video','maskBasicAuth'];a133_0x1840=function(){return _0x511cd2;};return a133_0x1840();}function a133_0xf400(_0x588f44,_0x3952bc){var _0x18407b=a133_0x1840();return a133_0xf400=function(_0xf4004e,_0xf4fd61){_0xf4004e=_0xf4004e-0xac;var _0x17b0fc=_0x18407b[_0xf4004e];return _0x17b0fc;},a133_0xf400(_0x588f44,_0x3952bc);}var a133_0x1791ff=a133_0xf400;(function(_0x549160,_0x433e75){var _0x525b13=a133_0xf400,_0x2e019a=_0x549160();while(!![]){try{var _0x395e16=-parseInt(_0x525b13(0x11b))/0x1*(parseInt(_0x525b13(0x127))/0x2)+parseInt(_0x525b13(0x108))/0x3*(-parseInt(_0x525b13(0xea))/0x4)+parseInt(_0x525b13(0x119))/0x5+-parseInt(_0x525b13(0xbc))/0x6*(parseInt(_0x525b13(0xcc))/0x7)+parseInt(_0x525b13(0xb0))/0x8+-parseInt(_0x525b13(0xb4))/0x9+parseInt(_0x525b13(0x114))/0xa;if(_0x395e16===_0x433e75)break;else _0x2e019a['push'](_0x2e019a['shift']());}catch(_0x1b6194){_0x2e019a['push'](_0x2e019a['shift']());}}}(a133_0x1840,0x8d4bf),exports[a133_0x1791ff(0xae)]=()=>{var _0x5182ae=a133_0x1791ff,_0x33d2df={};_0x33d2df[_0x5182ae(0x125)]='userName',_0x33d2df[_0x5182ae(0xb2)]=_0x5182ae(0x136),_0x33d2df[_0x5182ae(0x112)]=_0x5182ae(0xbf),_0x33d2df[_0x5182ae(0x128)]='browser',_0x33d2df[_0x5182ae(0xb3)]=_0x5182ae(0xb6),_0x33d2df[_0x5182ae(0xe1)]='useW3c',_0x33d2df[_0x5182ae(0x123)]=_0x5182ae(0x13f),_0x33d2df['HENfN']=_0x5182ae(0xef),_0x33d2df['InAIP']='sessionName',_0x33d2df[_0x5182ae(0xeb)]=_0x5182ae(0x139),_0x33d2df[_0x5182ae(0xed)]=_0x5182ae(0x11f),_0x33d2df[_0x5182ae(0xc7)]=_0x5182ae(0xe6),_0x33d2df[_0x5182ae(0x10e)]=_0x5182ae(0x13e),_0x33d2df[_0x5182ae(0xf2)]='networkLogs',_0x33d2df[_0x5182ae(0x138)]='networkLogsOptions',_0x33d2df[_0x5182ae(0x133)]=_0x5182ae(0xc6),_0x33d2df[_0x5182ae(0xf8)]=_0x5182ae(0xad),_0x33d2df[_0x5182ae(0x13d)]=_0x5182ae(0xc0),_0x33d2df[_0x5182ae(0xca)]=_0x5182ae(0xdc),_0x33d2df['dqXbl']='geoLocation',_0x33d2df[_0x5182ae(0xe3)]=_0x5182ae(0x10f),_0x33d2df[_0x5182ae(0xfb)]=_0x5182ae(0xe0),_0x33d2df[_0x5182ae(0x13b)]=_0x5182ae(0x103),_0x33d2df[_0x5182ae(0x113)]=_0x5182ae(0xec),_0x33d2df[_0x5182ae(0xd7)]=_0x5182ae(0xff),_0x33d2df[_0x5182ae(0x120)]=_0x5182ae(0x10b),_0x33d2df[_0x5182ae(0xf6)]=_0x5182ae(0x11d),_0x33d2df[_0x5182ae(0x13a)]=_0x5182ae(0x11c),_0x33d2df[_0x5182ae(0x121)]=_0x5182ae(0x107),_0x33d2df['uHcui']=_0x5182ae(0xe8),_0x33d2df[_0x5182ae(0xaf)]=_0x5182ae(0x104),_0x33d2df[_0x5182ae(0xe4)]=_0x5182ae(0xd2),_0x33d2df[_0x5182ae(0x117)]=_0x5182ae(0xe2),_0x33d2df[_0x5182ae(0x109)]=_0x5182ae(0xb7),_0x33d2df['pCafR']=_0x5182ae(0xf4),_0x33d2df[_0x5182ae(0xd3)]=_0x5182ae(0xfc),_0x33d2df[_0x5182ae(0x12a)]='networkProfile',_0x33d2df[_0x5182ae(0x106)]=_0x5182ae(0x118),_0x33d2df[_0x5182ae(0xcb)]=_0x5182ae(0xe9),_0x33d2df['fAmPw']='accessibility',_0x33d2df[_0x5182ae(0x12c)]=_0x5182ae(0x130),_0x33d2df['IBPSM']=_0x5182ae(0x126),_0x33d2df[_0x5182ae(0x100)]='accessibilityOptions.wcagVersion',_0x33d2df[_0x5182ae(0xd9)]=_0x5182ae(0xcd),_0x33d2df[_0x5182ae(0xfe)]=_0x5182ae(0xc4),_0x33d2df['gePpY']='accessibilityOptions.includeIssueType.bestPractice',_0x33d2df['TAZgy']=_0x5182ae(0xf3),_0x33d2df[_0x5182ae(0x110)]=_0x5182ae(0xd0),_0x33d2df['mmrJb']=_0x5182ae(0xd1),_0x33d2df['Jihqi']=_0x5182ae(0xb1),_0x33d2df[_0x5182ae(0x101)]=_0x5182ae(0xbb),_0x33d2df[_0x5182ae(0x134)]=_0x5182ae(0xb5),_0x33d2df['VSyNj']=_0x5182ae(0x12f),_0x33d2df['VkEZM']=_0x5182ae(0xe5),_0x33d2df['GVNdp']=_0x5182ae(0x13c),_0x33d2df[_0x5182ae(0xba)]=_0x5182ae(0x140);var _0x1af56d=_0x33d2df,_0x4bf75b={};return _0x4bf75b[_0x5182ae(0xc5)]=_0x1af56d[_0x5182ae(0x125)],_0x4bf75b[_0x5182ae(0x115)]=_0x1af56d[_0x5182ae(0xb2)],_0x4bf75b['os']='os',_0x4bf75b[_0x5182ae(0xc1)]=_0x1af56d[_0x5182ae(0x112)],_0x4bf75b[_0x5182ae(0xc8)]=_0x1af56d[_0x5182ae(0x128)],_0x4bf75b['browser_version']=_0x1af56d[_0x5182ae(0xb3)],_0x4bf75b['browserstack.use_w3c']=_0x1af56d[_0x5182ae(0xe1)],_0x4bf75b['project']=_0x1af56d[_0x5182ae(0x123)],_0x4bf75b[_0x5182ae(0xf0)]=_0x1af56d['HENfN'],_0x4bf75b[_0x5182ae(0xfa)]=_0x1af56d['InAIP'],_0x4bf75b[_0x5182ae(0x12d)]=_0x1af56d[_0x5182ae(0xeb)],_0x4bf75b[_0x5182ae(0xbd)]=_0x1af56d[_0x5182ae(0xed)],_0x4bf75b[_0x5182ae(0xda)]=_0x1af56d[_0x5182ae(0xc7)],_0x4bf75b['browserstack.console']=_0x1af56d['tpQjN'],_0x4bf75b[_0x5182ae(0x11a)]=_0x1af56d[_0x5182ae(0xf2)],_0x4bf75b[_0x5182ae(0xc9)]=_0x1af56d[_0x5182ae(0x138)],_0x4bf75b[_0x5182ae(0xb8)]=_0x1af56d[_0x5182ae(0x133)],_0x4bf75b[_0x5182ae(0x10a)]=_0x1af56d[_0x5182ae(0xf8)],_0x4bf75b[_0x5182ae(0x137)]=_0x1af56d[_0x5182ae(0x13d)],_0x4bf75b[_0x5182ae(0x122)]=_0x1af56d['Xhgbn'],_0x4bf75b[_0x5182ae(0xfd)]=_0x1af56d[_0x5182ae(0xf5)],_0x4bf75b[_0x5182ae(0xd8)]=_0x1af56d[_0x5182ae(0xe3)],_0x4bf75b[_0x5182ae(0xe0)]=_0x1af56d[_0x5182ae(0xfb)],_0x4bf75b[_0x5182ae(0xee)]=_0x1af56d[_0x5182ae(0x13b)],_0x4bf75b[_0x5182ae(0x105)]=_0x1af56d[_0x5182ae(0x113)],_0x4bf75b[_0x5182ae(0xf9)]=_0x1af56d[_0x5182ae(0xd7)],_0x4bf75b['browserstack.maskBasicAuth']=_0x1af56d['PLOCT'],_0x4bf75b[_0x5182ae(0xf7)]=_0x1af56d['nGSfz'],_0x4bf75b[_0x5182ae(0xf1)]=_0x1af56d[_0x5182ae(0x13a)],_0x4bf75b[_0x5182ae(0xac)]=_0x1af56d[_0x5182ae(0x121)],_0x4bf75b[_0x5182ae(0xd5)]=_0x1af56d['uHcui'],_0x4bf75b[_0x5182ae(0x111)]=_0x1af56d[_0x5182ae(0xaf)],_0x4bf75b['device']=_0x1af56d[_0x5182ae(0xe4)],_0x4bf75b[_0x5182ae(0xe2)]=_0x1af56d[_0x5182ae(0x117)],_0x4bf75b[_0x5182ae(0xc3)]=_0x1af56d[_0x5182ae(0x109)],_0x4bf75b['deviceOrientation']=_0x1af56d['pCafR'],_0x4bf75b[_0x5182ae(0x12b)]=_0x1af56d[_0x5182ae(0xd3)],_0x4bf75b['browserstack.networkProfile']=_0x1af56d[_0x5182ae(0x12a)],_0x4bf75b[_0x5182ae(0xd4)]=_0x1af56d[_0x5182ae(0x106)],_0x4bf75b[_0x5182ae(0xd6)]=_0x1af56d[_0x5182ae(0xcb)],_0x4bf75b[_0x5182ae(0xdd)]=_0x1af56d[_0x5182ae(0xb9)],_0x4bf75b[_0x5182ae(0xdf)]=_0x1af56d['hLUtL'],_0x4bf75b[_0x5182ae(0xce)]=_0x1af56d[_0x5182ae(0xbe)],_0x4bf75b[_0x5182ae(0xdb)]=_0x1af56d[_0x5182ae(0x100)],_0x4bf75b[_0x5182ae(0x12e)]=_0x1af56d['pxDTK'],_0x4bf75b[_0x5182ae(0x132)]=_0x1af56d[_0x5182ae(0xfe)],_0x4bf75b[_0x5182ae(0x11e)]=_0x1af56d['gePpY'],_0x4bf75b[_0x5182ae(0xcf)]=_0x1af56d[_0x5182ae(0x116)],_0x4bf75b[_0x5182ae(0xde)]=_0x1af56d[_0x5182ae(0x110)],_0x4bf75b[_0x5182ae(0x131)]=_0x1af56d[_0x5182ae(0x102)],_0x4bf75b[_0x5182ae(0x124)]=_0x1af56d[_0x5182ae(0x10d)],_0x4bf75b['browserstack.simOptions']=_0x1af56d[_0x5182ae(0x101)],_0x4bf75b[_0x5182ae(0x135)]=_0x1af56d['WpVlL'],_0x4bf75b['browserstack.overridelocalInfo.userAuthToken']=_0x1af56d[_0x5182ae(0x129)],_0x4bf75b[_0x5182ae(0xc2)]=_0x1af56d[_0x5182ae(0xe7)],_0x4bf75b['browserstack.headerParams']=_0x1af56d['GVNdp'],_0x4bf75b[_0x5182ae(0x10c)]=_0x1af56d[_0x5182ae(0xba)],_0x4bf75b;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134_0x295049=a134_0x24f2;(function(_0x251732,_0x2af1c3){const _0x13c585=a134_0x24f2,_0x45c134=_0x251732();while(!![]){try{const _0x55fcf5=parseInt(_0x13c585(0xa9))/0x1*(parseInt(_0x13c585(0xa0))/0x2)+-parseInt(_0x13c585(0x9e))/0x3+parseInt(_0x13c585(0x89))/0x4*(-parseInt(_0x13c585(0xbe))/0x5)+-parseInt(_0x13c585(0x8f))/0x6+-parseInt(_0x13c585(0xb5))/0x7*(parseInt(_0x13c585(0x94))/0x8)+-parseInt(_0x13c585(0x8e))/0x9*(-parseInt(_0x13c585(0x9d))/0xa)+parseInt(_0x13c585(0x9a))/0xb;if(_0x55fcf5===_0x2af1c3)break;else _0x45c134['push'](_0x45c134['shift']());}catch(_0x38b4f6){_0x45c134['push'](_0x45c134['shift']());}}}(a134_0x4e2e,0xd1570));function a134_0x24f2(_0x4ad261,_0x173ea6){const _0x4e2eec=a134_0x4e2e();return a134_0x24f2=function(_0x24f207,_0x2d7b62){_0x24f207=_0x24f207-0x80;let _0x584175=_0x4e2eec[_0x24f207];return _0x584175;},a134_0x24f2(_0x4ad261,_0x173ea6);}const url=require(a134_0x295049(0x8a)),util=require(a134_0x295049(0xb9)),helper=require('./helpers/helper'),logger=require('./helpers/logger')['winstonLogger'],constants=require('./bin/utils/constants');function a134_0x4e2e(){const _0x3c64f5=['qeDIr','debug','next_hubs','all','/wd/hub','length','BHGKG','qQvIT','replace','xMDEy','10516sLQNgv','url','hubUrl','findLatency','nmoHA','2588499qwGqCR','2183802Jrhawr','fromEntries','jntWS','parse','newHubUrl','6785080HhVfkl','entries','hubs','getRequestOptions','nodeRequest','Execution\x20time\x20for\x20','28613453QyRdlW','path','resolve','30AaPTDv','1576083EBHjBm','FFGop','1698394ndbSBk','format','fyxCs','data','FxRii','HUB\x20URL\x20SET\x20TO\x20-\x20','pathname','dDReA','catch','1uEQBfa','check','qEdDZ','nextHubs','uxdtm','CLocV','Response:\x20','hash','https://','Invalid\x20new\x20HUB\x20URL:\x20','GJqLE','NAeiy','14albfbb','EKkZs','HJRRC','keys','util','latency','then','\x20HUB\x20-\x20','./bin/utils/constants','1655ViONVk','updateHubUrl','gTAGw','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','map','GET'];a134_0x4e2e=function(){return _0x3c64f5;};return a134_0x4e2e();}global['newHubUrl']='',exports[a134_0x295049(0x97)]=_0x416f1b=>{const _0x5e5643=a134_0x295049,_0x3a7671={};_0x3a7671[_0x5e5643(0xb6)]=function(_0x2b76e7,_0x2f4b6a){return _0x2b76e7+_0x2f4b6a;},_0x3a7671[_0x5e5643(0xad)]=_0x5e5643(0xb2);const _0x270252=_0x3a7671,_0x45eeb1=url[_0x5e5643(0x92)](_0x416f1b);if(!_0x45eeb1['hostname'])throw new Error(_0x270252[_0x5e5643(0xb6)](_0x270252['uxdtm'],_0x416f1b));return _0x45eeb1['search']=null,_0x45eeb1[_0x5e5643(0xb0)]=null,_0x45eeb1[_0x5e5643(0x9b)]=_0x45eeb1[_0x5e5643(0xa6)],_0x45eeb1;},exports[a134_0x295049(0xbf)]=_0x5dd6a9=>{const _0x20a56c=a134_0x295049;global[_0x20a56c(0x93)]=_0x5dd6a9;},exports['allocateHub']=_0x5c4070=>{const _0x30ada5=a134_0x295049,_0x38e805={'qeDIr':function(_0x499c60,_0xe891e7){return _0x499c60!=_0xe891e7;},'qEdDZ':function(_0x4a5cc6,_0x550110){return _0x4a5cc6!==_0x550110;},'CLocV':function(_0x2f827d,_0x57bb7c){return _0x2f827d+_0x57bb7c;},'ZzUkQ':_0x30ada5(0xb1),'fyxCs':function(_0x460cb7){return _0x460cb7();},'HJRRC':function(_0x3d7047,_0x3ad42a){return _0x3d7047+_0x3ad42a;},'FxRii':'/wd/hub','qQvIT':function(_0x19ebb1){return _0x19ebb1();}};return new Promise(_0x5d322d=>{const _0x514c14=_0x30ada5,_0x1e3e45={'NfgoP':function(_0x7e8fab,_0x5c40b6){const _0x35f0e7=a134_0x24f2;return _0x38e805[_0x35f0e7(0xb7)](_0x7e8fab,_0x5c40b6);},'SyfRi':_0x38e805[_0x514c14(0xa4)],'GJqLE':function(_0x3d762f){const _0x5b8b35=_0x514c14;return _0x38e805[_0x5b8b35(0x86)](_0x3d762f);}};Promise[_0x514c14(0x9c)](this['nextHubs'](_0x5c4070))[_0x514c14(0xbb)](_0x3bf75c=>{const _0x4555f5=_0x514c14;logger[_0x4555f5(0x80)]('NEAREST\x20HUBS:\x20'+util[_0x4555f5(0xa1)]('%j',_0x3bf75c));if(_0x38e805[_0x4555f5(0xc4)](_0x3bf75c,null)&&_0x38e805[_0x4555f5(0xab)](_0x3bf75c[_0x4555f5(0x84)],0x0)){const _0x596833=[];for(const _0x25841a of _0x3bf75c){_0x596833['push'](this[_0x4555f5(0x8c)](_0x5c4070,_0x38e805[_0x4555f5(0xae)](_0x38e805['ZzUkQ'],_0x25841a)));}Promise[_0x4555f5(0x82)](_0x596833)[_0x4555f5(0xbb)](_0x50e2a5=>{const _0x5ce860=_0x4555f5,_0x2934d1=Object[_0x5ce860(0x90)](_0x50e2a5[_0x5ce860(0xc2)](_0x2dfc74=>[_0x2dfc74[_0x5ce860(0x8b)],_0x2dfc74[_0x5ce860(0xba)]])),_0x1782b3=Object[_0x5ce860(0x90)](Object[_0x5ce860(0x95)](_0x2934d1)['sort'](([,_0x121308],[,_0x5d23bf])=>_0x121308-_0x5d23bf)),_0x3643a9=Object[_0x5ce860(0xb8)](_0x1782b3)[0x0];constants[_0x5ce860(0x8b)]=_0x1e3e45['NfgoP'](_0x3643a9,_0x1e3e45['SyfRi']),logger[_0x5ce860(0x80)](_0x5ce860(0xa5)+_0x3643a9),_0x1e3e45[_0x5ce860(0xb3)](_0x5d322d);});}else _0x38e805[_0x4555f5(0xa2)](_0x5d322d);})[_0x514c14(0xa8)](_0x392875=>{const _0x27223a=_0x514c14;logger[_0x27223a(0x80)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0x392875),_0x1e3e45[_0x27223a(0xb3)](_0x5d322d);});});},exports[a134_0x295049(0x8c)]=async(_0x4424ae,_0x2ae8fc)=>{const _0x413317=a134_0x295049,_0x2f95d1={};_0x2f95d1[_0x413317(0xa7)]=_0x413317(0xc3),_0x2f95d1[_0x413317(0xc0)]=_0x413317(0xaa),_0x2f95d1[_0x413317(0x85)]=function(_0x128a35,_0x3eac3e){return _0x128a35-_0x3eac3e;};const _0x33481b=_0x2f95d1;try{const _0x541e48=new Date();await helper['nodeRequest'](_0x33481b[_0x413317(0xa7)],_0x33481b[_0x413317(0xc0)],{},_0x4424ae,_0x2ae8fc,0x1388);const _0x4285fd=_0x33481b['BHGKG'](new Date(),_0x541e48);logger['debug'](_0x413317(0x99)+_0x2ae8fc+'\x20is:\x20'+_0x4285fd+'ms');const _0x50ce53={};return _0x50ce53['hubUrl']=_0x2ae8fc,_0x50ce53['latency']=_0x4285fd,_0x50ce53;}catch(_0x3fba97){return logger[_0x413317(0x80)](_0x413317(0xc1)+_0x2ae8fc+_0x413317(0xbc)+_0x3fba97),{};}},exports[a134_0x295049(0xac)]=async _0x1677ab=>{const _0x3c0eab=a134_0x295049,_0xa5cb8b={'xMDEy':function(_0x32be01,_0x4661a4){return _0x32be01(_0x4661a4);},'FFGop':_0x3c0eab(0xbd),'nmoHA':_0x3c0eab(0x83),'jntWS':_0x3c0eab(0xc3),'NAeiy':_0x3c0eab(0x81)};try{const _0x4a8b50=_0xa5cb8b[_0x3c0eab(0x88)](require,_0xa5cb8b[_0x3c0eab(0x9f)])['hubUrl'][_0x3c0eab(0x87)](_0xa5cb8b[_0x3c0eab(0x8d)],''),_0x493891=await helper[_0x3c0eab(0x98)](_0xa5cb8b[_0x3c0eab(0x91)],_0xa5cb8b[_0x3c0eab(0xb4)],{},_0x1677ab,_0x4a8b50,0x1388),_0x530d7e=_0x493891[_0x3c0eab(0xa3)];return logger[_0x3c0eab(0x80)](_0x3c0eab(0xaf)+util['format']('%j',_0x530d7e)),_0x530d7e[_0x3c0eab(0x96)];}catch(_0x4bd334){logger[_0x3c0eab(0x80)]('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x4bd334);}return null;};
|