browserstack-node-sdk 1.55.1 → 1.55.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +4 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -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 a36_0x5bf7(_0x5a134f,_0x59cdbf){const _0x18cdb5=a36_0x18cd();return a36_0x5bf7=function(_0x5bf774,_0xfa3d3e){_0x5bf774=_0x5bf774-0x6c;let _0x3bd7f9=_0x18cdb5[_0x5bf774];return _0x3bd7f9;},a36_0x5bf7(_0x5a134f,_0x59cdbf);}const a36_0x325ee5=a36_0x5bf7;(function(_0x262695,_0x350682){const _0x5c03f5=a36_0x5bf7,_0x50d242=_0x262695();while(!![]){try{const _0x158b7c=-parseInt(_0x5c03f5(0xdb))/0x1+parseInt(_0x5c03f5(0xaa))/0x2+-parseInt(_0x5c03f5(0x90))/0x3+parseInt(_0x5c03f5(0xe4))/0x4+-parseInt(_0x5c03f5(0xec))/0x5+-parseInt(_0x5c03f5(0x102))/0x6*(-parseInt(_0x5c03f5(0x10d))/0x7)+parseInt(_0x5c03f5(0xf9))/0x8*(-parseInt(_0x5c03f5(0xc2))/0x9);if(_0x158b7c===_0x350682)break;else _0x50d242['push'](_0x50d242['shift']());}catch(_0x184d76){_0x50d242['push'](_0x50d242['shift']());}}}(a36_0x18cd,0xf0524));const util=require(a36_0x325ee5(0x79)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x325ee5(0x11d)),accessibilityRetryHelper=require(a36_0x325ee5(0xfa)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x325ee5(0xb0)),{percyAutoCapture}=require(a36_0x325ee5(0x6f)),{sendPlatformDetails}=require(a36_0x325ee5(0xb4)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x325ee5(0x121)),PerformanceTester=require(a36_0x325ee5(0x11a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x325ee5(0x93)),globals=require(a36_0x325ee5(0x12e)),logger=require(a36_0x325ee5(0x12f))[a36_0x325ee5(0xd6)],{shouldProcessEventForTesthub}=require(a36_0x325ee5(0x12a)),testHubConstants=require(a36_0x325ee5(0x74));exports[a36_0x325ee5(0x129)]={'beforeAll'(){const _0x270709=a36_0x325ee5,_0x2f7934={'ChSMc':function(_0x52d701,_0x53f3c5,_0x571c82,_0x20cdc4){return _0x52d701(_0x53f3c5,_0x571c82,_0x20cdc4);},'XwKev':'failed','wrIOJ':_0x270709(0xb1),'aiQNF':function(_0x270ae2,_0x583e73,_0x51f219){return _0x270ae2(_0x583e73,_0x51f219);},'XZaPY':'passed','PrzOb':function(_0x46df2f){return _0x46df2f();},'Hhlqf':'index','vlvUE':_0x270709(0x9f)};PerformanceTester['startMonitoring']();const _0x273318='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x270709(0xab)],()=>{const _0x262c02=_0x270709,_0x398b25={'SnAzj':function(_0x7962bb,_0x1d5cd3,_0x1a9bd9,_0x4e2995){return _0x2f7934['ChSMc'](_0x7962bb,_0x1d5cd3,_0x1a9bd9,_0x4e2995);},'QalHu':_0x2f7934[_0x262c02(0xe0)],'yLZyr':_0x2f7934[_0x262c02(0xc8)],'goyJr':function(_0x4442e0,_0x27a635,_0xf87a89){const _0x4f2877=_0x262c02;return _0x2f7934[_0x4f2877(0x97)](_0x4442e0,_0x27a635,_0xf87a89);},'SaxAh':_0x2f7934[_0x262c02(0x78)],'AjCuk':function(_0x2ae60b){const _0x4f2142=_0x262c02;return _0x2f7934[_0x4f2142(0xf1)](_0x2ae60b);}};global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x262c02(0x8f)]=async()=>{const _0x383d5f=_0x262c02;let _0x4fd953=![];try{await global['__drivers'][0x0][_0x383d5f(0x133)],_0x4fd953=!![],global[_0x383d5f(0xa0)]?await _0x398b25[_0x383d5f(0xac)](markSessionStatus,global[_0x383d5f(0xc3)][0x0],_0x398b25[_0x383d5f(0x7a)],global[_0x383d5f(0xd7)][_0x383d5f(0xc5)](_0x398b25[_0x383d5f(0x120)])):await _0x398b25['goyJr'](markSessionStatus,global[_0x383d5f(0xc3)][0x0],_0x398b25[_0x383d5f(0xb5)]);}catch(_0x3845bb){logger[_0x383d5f(0xba)](_0x383d5f(0xc9)+_0x3845bb);}global[_0x383d5f(0xd7)]=[],global[_0x383d5f(0xa0)]=![];if(_0x4fd953)try{try{_0x398b25[_0x383d5f(0x6e)](shouldProcessEventForTesthub)&&(global[_0x383d5f(0xc3)][0x0]&&await _0x398b25['goyJr'](sendPlatformDetails,global[_0x383d5f(0xc3)][0x0],this['currentTest']?this[_0x383d5f(0xf3)][_0x383d5f(0xa3)]:null));}catch(_0x3c9f43){logger[_0x383d5f(0xba)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x3c9f43);}await global['__drivers'][0x0]['initQuit']();}catch(_0x4300af){logger[_0x383d5f(0xba)](_0x383d5f(0xa8)+_0x4300af);}};},{'platform':_0x2f7934['aiQNF'](nestedKeyValue,global[_0x270709(0xcf)],[_0x2f7934[_0x270709(0xfe)]]),'hookType':_0x2f7934[_0x270709(0x76)]})();},'beforeEach'(_0x1eed2e){const _0x170862=a36_0x325ee5,_0x3a82ad={'qPhIG':function(_0x51fd34,_0x2d5418){return _0x51fd34>_0x2d5418;},'ARfgt':_0x170862(0xa2),'dYrSz':function(_0x18bf13,_0x48c648,_0x437504){return _0x18bf13(_0x48c648,_0x437504);},'fuetl':function(_0xaae37,_0x2582ee){return _0xaae37===_0x2582ee;},'oZhAn':'bstackA11yShouldScan','ddxNc':'bstackA11yScanOptions','MWPAH':function(_0x194bb6){return _0x194bb6();},'PkJRK':function(_0x583fb3,_0x26e899){return _0x583fb3>_0x26e899;},'OReRP':'isAccessibilityPlatform','iMNTA':_0x170862(0x96),'FcaYQ':function(_0x2de6d8,_0x2d2597){return _0x2de6d8===_0x2d2597;},'liKTG':_0x170862(0x9c),'AZNpu':_0x170862(0xb6),'sJdhr':'Automate\x20test\x20case\x20execution\x20has\x20started.','EAlAG':function(_0x54a4a0){return _0x54a4a0();},'KDoeQ':'browserstackTestName','VVnoF':function(_0x4421ec,_0x4c418b,_0x271b81){return _0x4421ec(_0x4c418b,_0x271b81);},'fsIDO':_0x170862(0xd5),'GRnUl':_0x170862(0x9b)};globals[_0x170862(0x10a)](_0x3a82ad['KDoeQ'],this[_0x170862(0xf3)]['titlePath']()[_0x170862(0xc5)](_0x3a82ad[_0x170862(0x8c)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x170862(0xab)],()=>{const _0x2f68ba=_0x170862,_0x3949e5='browserstack internal helper hook';new Promise(async _0xcc1426=>{const _0x2ce4e6=a36_0x5bf7;let _0x142f89=!![];try{_0x3a82ad['qPhIG'](global[_0x2ce4e6(0xc3)][_0x2ce4e6(0x12b)],0x1)&&(await global['driverCleanup'](),global[_0x2ce4e6(0xc3)][_0x2ce4e6(0x111)]()),_0x3a82ad[_0x2ce4e6(0x109)](global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0x104)],0x0)&&(_0x142f89=![],await global[_0x2ce4e6(0x8f)]());}catch(_0x5002cb){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xa8)+_0x5002cb);}try{Array[_0x2ce4e6(0x89)](global['__drivers'])&&global[_0x2ce4e6(0xc3)][0x0]&&(global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0xd9)]=this['currentTest']['titlePath']()[_0x2ce4e6(0xc5)](_0x3a82ad[_0x2ce4e6(0x8c)])),global[_0x2ce4e6(0xd9)]=this[_0x2ce4e6(0xf3)][_0x2ce4e6(0x7e)]()[_0x2ce4e6(0xc5)](_0x3a82ad[_0x2ce4e6(0x8c)]);}catch(_0x315772){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xd1)+_0x315772);}this[_0x2ce4e6(0xf3)][_0x2ce4e6(0xc0)]=_0x3a82ad[_0x2ce4e6(0xb9)](shouldScanTestForAccessibility,this[_0x2ce4e6(0xf3)][_0x2ce4e6(0x7e)](),!![]);let _0x34888d=!![];try{const _0x49b550=JSON['parse'](process['env'][_0x2ce4e6(0x92)]||'{}');_0x3a82ad['fuetl'](_0x49b550[_0x2ce4e6(0xb7)],![])&&(_0x34888d=![]);}catch(_0x4256a6){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xde)+_0x4256a6[_0x2ce4e6(0xe3)]);}const _0x4232a4=_0x34888d&&this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility'];globals[_0x2ce4e6(0x10a)](_0x3a82ad[_0x2ce4e6(0x7c)],_0x4232a4),globals[_0x2ce4e6(0x10a)](_0x3a82ad[_0x2ce4e6(0xdd)],null),this['currentTest'][_0x2ce4e6(0xef)]=this['currentTest'][_0x2ce4e6(0xc0)];if(_0x3a82ad[_0x2ce4e6(0xf8)](isAccessibilityAutomationSession)&&_0x142f89&&Array[_0x2ce4e6(0x89)](global[_0x2ce4e6(0xc3)])&&_0x3a82ad[_0x2ce4e6(0x101)](global['__drivers'][_0x2ce4e6(0x12b)],0x0)&&globals['getGlobal'](_0x3a82ad[_0x2ce4e6(0xd3)]))try{const _0x1bed46=await global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0x133)];if(_0x1bed46){let _0x5ae8ab=!![];const _0x561cb6=await global[_0x2ce4e6(0xc3)][0x0]['getCurrentUrl']();let _0x5ba616;try{_0x5ba616=new URL(_0x561cb6),_0x5ae8ab=_0x3a82ad[_0x2ce4e6(0xc6)](_0x5ba616[_0x2ce4e6(0xae)],_0x3a82ad[_0x2ce4e6(0x122)])||_0x3a82ad[_0x2ce4e6(0x7b)](_0x5ba616[_0x2ce4e6(0xae)],_0x3a82ad[_0x2ce4e6(0xfb)]);}catch(_0x5b8d8e){_0x5ae8ab=![];}_0x5ae8ab&&(this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility']&&logger['info'](_0x3a82ad[_0x2ce4e6(0xd0)])),this[_0x2ce4e6(0xf3)]['accessibilityScanStarted']=this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility'],_0x4232a4&&logger[_0x2ce4e6(0x7d)](_0x3a82ad['sJdhr']);}}catch(_0x16b549){logger[_0x2ce4e6(0x6c)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x16b549));}_0x3a82ad['EAlAG'](_0xcc1426);})[_0x2f68ba(0x9e)](()=>{const _0x31267a=_0x2f68ba;_0x3a82ad[_0x31267a(0xf8)](_0x1eed2e);});},{'platform':_0x3a82ad[_0x170862(0xb2)](nestedKeyValue,global[_0x170862(0xcf)],[_0x3a82ad['fsIDO']]),'hookType':_0x3a82ad[_0x170862(0xf7)]})();},'afterEach'(_0x3b8354){const _0x2a0a10=a36_0x325ee5,_0x39bd98={'AxMpN':'\x20-\x20','RUHEG':function(_0x400271,_0x3ecbe1){return _0x400271!==_0x3ecbe1;},'jJVBL':'passed','GEXAd':function(_0x525462,_0x5ba4b6,_0xc39d79){return _0x525462(_0x5ba4b6,_0xc39d79);},'zqRuA':function(_0x36afa6,_0x30cd2d){return _0x36afa6+_0x30cd2d;},'VTbYa':_0x2a0a10(0x113),'kFKLw':_0x2a0a10(0x6c),'atQAf':'Passed','KTcOy':_0x2a0a10(0x7d),'uMBIr':function(_0x40e50b,_0x582302){return _0x40e50b>_0x582302;},'EsbkV':function(_0xf12a93,_0x36a2f7){return _0xf12a93===_0x36a2f7;},'dqmKS':_0x2a0a10(0xf5),'yBUcS':_0x2a0a10(0x77),'bAoCf':function(_0x4a23bb,_0x4ac60c,_0x38099d,_0x13c96b){return _0x4a23bb(_0x4ac60c,_0x38099d,_0x13c96b);},'FFlwT':'isAccessibilityPlatform','Abguc':_0x2a0a10(0x135),'ChSyn':_0x2a0a10(0x73),'GxZeI':_0x2a0a10(0x11f),'XHrAB':'afterTest','SdIAD':_0x2a0a10(0x137),'ZRQyI':_0x2a0a10(0x117),'poSYK':_0x2a0a10(0x136),'ETtaU':_0x2a0a10(0xeb),'tutcp':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','kHDVf':_0x2a0a10(0x12c),'nxgMY':function(_0x4235a3){return _0x4235a3();},'lClwj':function(_0xfe1bca,_0x1384aa,_0x3a7ce0){return _0xfe1bca(_0x1384aa,_0x3a7ce0);},'NFTAw':_0x2a0a10(0xba),'dSiVd':function(_0x257951,_0x149202){return _0x257951>_0x149202;},'jehrQ':'Mocha','xmmpa':_0x2a0a10(0xd5),'vcKcd':_0x2a0a10(0xe9)},_0x4b56bb='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x39bd98[_0x2a0a10(0x10f)]]),global[_0x2a0a10(0xbd)]=this[_0x2a0a10(0xf3)][_0x2a0a10(0x7e)]()[_0x2a0a10(0xc5)](_0x39bd98['AxMpN']),PerformanceTester[_0x2a0a10(0x70)](PerformanceSdkEvents[_0x2a0a10(0xab)],()=>{const _0xb79580=_0x2a0a10,_0x1b6865={'kPNxn':_0x39bd98[_0xb79580(0x127)],'OgfzJ':function(_0x3ece9a,_0x209456){return _0x39bd98['RUHEG'](_0x3ece9a,_0x209456);},'fCmSt':_0x39bd98[_0xb79580(0xe5)],'CJoGP':function(_0x653e69,_0x53fd6a,_0x42683a){const _0x4fea35=_0xb79580;return _0x39bd98[_0x4fea35(0xf4)](_0x653e69,_0x53fd6a,_0x42683a);},'BEqLA':function(_0x3cb937,_0x44c3a3){const _0x5adf28=_0xb79580;return _0x39bd98[_0x5adf28(0x125)](_0x3cb937,_0x44c3a3);},'KjAcC':_0x39bd98[_0xb79580(0x95)],'eTLto':_0x39bd98[_0xb79580(0x131)],'jUdDM':_0x39bd98[_0xb79580(0xdf)],'Ixytk':_0x39bd98[_0xb79580(0xa5)],'AFtzq':function(_0x59809a,_0x5ab05f){const _0x4f4f98=_0xb79580;return _0x39bd98[_0x4f4f98(0xc7)](_0x59809a,_0x5ab05f);},'gTqUC':function(_0x9bafd5,_0x3f404e){const _0x44d948=_0xb79580;return _0x39bd98[_0x44d948(0xc4)](_0x9bafd5,_0x3f404e);},'qhfCF':_0x39bd98[_0xb79580(0x8e)],'wBrUz':_0x39bd98[_0xb79580(0x81)],'HIldX':function(_0x12b3fe,_0x2f2fd3,_0x11e422,_0x1c9351){const _0x3216fc=_0xb79580;return _0x39bd98[_0x3216fc(0xc1)](_0x12b3fe,_0x2f2fd3,_0x11e422,_0x1c9351);},'bBSoB':_0x39bd98[_0xb79580(0xbc)],'lNEVb':_0x39bd98[_0xb79580(0x86)],'vwRKJ':_0x39bd98[_0xb79580(0x11b)],'QhlpX':_0x39bd98[_0xb79580(0xfc)],'hnHjZ':_0x39bd98[_0xb79580(0x8b)],'GyjSi':_0x39bd98[_0xb79580(0xbb)],'gbBfQ':_0x39bd98[_0xb79580(0xb3)],'IxiSY':_0x39bd98[_0xb79580(0x123)],'FiFqc':_0x39bd98[_0xb79580(0xcb)],'nzqNX':_0x39bd98[_0xb79580(0xe6)],'QwzKJ':_0x39bd98[_0xb79580(0xed)],'gmJdm':function(_0x43f237){const _0x45f2d5=_0xb79580;return _0x39bd98[_0x45f2d5(0x6d)](_0x43f237);},'ResFk':function(_0x369ed2,_0x241c45,_0x127ba9){return _0x39bd98['lClwj'](_0x369ed2,_0x241c45,_0x127ba9);},'cpKbO':_0x39bd98['NFTAw'],'qJWFU':function(_0x4bccff,_0x5901f6){const _0x2df05a=_0xb79580;return _0x39bd98[_0x2df05a(0x118)](_0x4bccff,_0x5901f6);}},_0x1d67ed=async(_0x14ecf7,_0x55a73e)=>{const _0x490061=_0xb79580;await global['__drivers'][0x0][_0x490061(0x119)](_0x490061(0x83)+_0x14ecf7+_0x490061(0x108)+_0x55a73e+'\x22}}');};new Promise(async _0x2cb53e=>{const _0x13aa7e=_0xb79580,_0x5ae088={'xwBFA':_0x1b6865[_0x13aa7e(0xad)],'hyYOS':function(_0x5a6c8d,_0x4ffd44){return _0x1b6865['OgfzJ'](_0x5a6c8d,_0x4ffd44);},'nnAri':_0x1b6865[_0x13aa7e(0x88)],'kmGGe':function(_0x1eeed6,_0x32b8bb,_0x16e128){const _0x476cfb=_0x13aa7e;return _0x1b6865[_0x476cfb(0xea)](_0x1eeed6,_0x32b8bb,_0x16e128);},'BMEMe':function(_0x51b7d2,_0x93bb29){const _0xedab65=_0x13aa7e;return _0x1b6865[_0xedab65(0x8d)](_0x51b7d2,_0x93bb29);},'GMdgz':_0x1b6865['KjAcC'],'NuRSd':_0x1b6865[_0x13aa7e(0xe7)],'ZwRmJ':_0x1b6865[_0x13aa7e(0x138)],'PYQQy':_0x1b6865[_0x13aa7e(0x8a)]};try{_0x1b6865[_0x13aa7e(0x124)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x13aa7e(0xc3)]['shift'](),global[_0x13aa7e(0xd7)]=[],global['__sessionFailed']=![]);try{if(global[_0x13aa7e(0xca)]&&_0x1b6865[_0x13aa7e(0x139)](global['percyCaptureMode'],_0x1b6865[_0x13aa7e(0xbe)])&&global['__drivers'][0x0]){const _0x2c397b=_0x1b6865['AFtzq'](global[_0x13aa7e(0x106)][_0x13aa7e(0x12b)],0x0)?!!global[_0x13aa7e(0x106)][0x0][_0x13aa7e(0x11c)]||!!global['capabilities'][0x0][_0x1b6865[_0x13aa7e(0xa1)]]:![],_0x24037b={};_0x24037b[_0x13aa7e(0x11c)]=_0x2c397b,await _0x1b6865[_0x13aa7e(0x107)](percyAutoCapture,global[_0x13aa7e(0xc3)][0x0],_0x1b6865[_0x13aa7e(0xbe)],_0x24037b);}}catch(_0x902944){logger[_0x13aa7e(0xba)](_0x13aa7e(0x9d)+_0x902944);}!global[_0x13aa7e(0xd4)]&&(await PerformanceTester[_0x13aa7e(0x70)](PerformanceAutEvents[_0x13aa7e(0x72)],async()=>{const _0x53d19a=_0x13aa7e;await global[_0x53d19a(0xc3)][0x0][_0x53d19a(0x119)](_0x53d19a(0x110)+JSON[_0x53d19a(0xd8)](this['currentTest']['titlePath']()[_0x53d19a(0xc5)](_0x5ae088[_0x53d19a(0xfd)]))+'}}');})(),global[_0x13aa7e(0xc3)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x13aa7e(0x70)](PerformanceAutEvents[_0x13aa7e(0x9a)],async()=>{const _0x1695ba=_0x13aa7e,_0x477ebc=_0x5ae088['hyYOS'](this[_0x1695ba(0xf3)][_0x1695ba(0xa6)],_0x5ae088['nnAri']);_0x477ebc?(global[_0x1695ba(0xa0)]=!![],global[_0x1695ba(0xd7)][_0x1695ba(0x116)](this[_0x1695ba(0xf3)]['err'][_0x1695ba(0xe3)]),await _0x5ae088[_0x1695ba(0x7f)](_0x1d67ed,JSON['stringify'](_0x5ae088[_0x1695ba(0x128)](_0x5ae088[_0x1695ba(0x80)],this[_0x1695ba(0xf3)]['err'][_0x1695ba(0xe3)])),_0x5ae088[_0x1695ba(0xee)])):await _0x5ae088['kmGGe'](_0x1d67ed,JSON[_0x1695ba(0xd8)](_0x5ae088[_0x1695ba(0xdc)]),_0x5ae088[_0x1695ba(0xa9)]);})();}catch(_0x2c33be){logger['debug'](_0x13aa7e(0xf2)+_0x2c33be);}try{if(this[_0x13aa7e(0xf3)]['accessibilityScanStarted']&&globals['getGlobal'](_0x1b6865[_0x13aa7e(0x100)])){logger[_0x13aa7e(0x7d)](_0x1b6865[_0x13aa7e(0xda)]);const _0x309a09={};_0x309a09[_0x13aa7e(0xf6)]=this[_0x13aa7e(0xf3)]['testAnalyticsId'],_0x309a09[_0x13aa7e(0xe8)]=process[_0x13aa7e(0xbf)][testHubConstants[_0x13aa7e(0x134)][_0x13aa7e(0xcd)]],_0x309a09['thJwtToken']=process[_0x13aa7e(0xbf)][testHubConstants[_0x13aa7e(0x134)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3689e4=_0x309a09;logger[_0x13aa7e(0xba)](_0x13aa7e(0xff)+JSON[_0x13aa7e(0xd8)](_0x3689e4));if(globals[_0x13aa7e(0x132)](_0x1b6865[_0x13aa7e(0xaf)])){logger[_0x13aa7e(0xba)](_0x1b6865[_0x13aa7e(0x84)]);const _0xf63be0={};_0xf63be0['command']=_0x1b6865[_0x13aa7e(0x98)];const _0x2bcd76=await PerformanceTester[_0x13aa7e(0x70)](PerformanceA11yEvents[_0x13aa7e(0x126)],async()=>{const _0x2912e2=_0x13aa7e;return await accessibilityRetryHelper[_0x2912e2(0x115)](global[_0x2912e2(0xc3)][0x0],global[_0x2912e2(0xd9)]);},_0xf63be0)();_0x2bcd76?logger['debug'](_0x1b6865['GyjSi']):logger['warn'](_0x1b6865['gbBfQ']);}else logger['debug'](_0x1b6865[_0x13aa7e(0x10c)]);const _0x4dd9c5=await PerformanceTester[_0x13aa7e(0x70)](PerformanceA11yEvents[_0x13aa7e(0xa4)],async()=>{const _0x39b18c=_0x13aa7e;return await accessibilityRetryHelper[_0x39b18c(0x11e)](global[_0x39b18c(0xc3)][0x0],_0x3689e4);})();_0x4dd9c5?logger[_0x13aa7e(0xba)](_0x1b6865['FiFqc']):logger[_0x13aa7e(0x112)](_0x1b6865['nzqNX']),logger[_0x13aa7e(0x7d)](_0x1b6865[_0x13aa7e(0x12d)]);}}catch(_0x2e1755){logger[_0x13aa7e(0x6c)](_0x13aa7e(0x114)+this[_0x13aa7e(0xf3)][_0x13aa7e(0x7e)]()+_0x13aa7e(0x71),_0x2e1755);}try{try{if(_0x1b6865[_0x13aa7e(0xcc)](shouldProcessEventForTesthub)){global[_0x13aa7e(0xc3)][0x0]&&await _0x1b6865[_0x13aa7e(0x10e)](sendPlatformDetails,global[_0x13aa7e(0xc3)][0x0],this[_0x13aa7e(0xf3)]?this[_0x13aa7e(0xf3)][_0x13aa7e(0xa3)]:null);if(_0x1b6865['gmJdm'](isBrowserstackInfra)){PerformanceTester[_0x13aa7e(0xce)](PerformanceO11yEvents['SYNC']);const _0x530856='ObservabilitySync:'+Date[_0x13aa7e(0xe1)]();await _0x1b6865['ResFk'](_0x1d67ed,JSON[_0x13aa7e(0xd8)](_0x530856),_0x1b6865[_0x13aa7e(0x105)]),PerformanceTester[_0x13aa7e(0xe2)](PerformanceO11yEvents['SYNC']);}}}catch(_0x4ef38e){logger[_0x13aa7e(0xba)](_0x13aa7e(0x85)+_0x4ef38e),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x4ef38e);}_0x1b6865[_0x13aa7e(0xd2)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x13aa7e(0x8f)]();}catch(_0x4daf10){logger[_0x13aa7e(0xba)](_0x13aa7e(0xa8)+_0x4daf10);}_0x1b6865[_0x13aa7e(0xcc)](_0x2cb53e);})[_0xb79580(0x9e)](()=>{const _0x23258c=_0xb79580;_0x1b6865[_0x23258c(0xcc)](_0x3b8354);});},{'platform':_0x39bd98[_0x2a0a10(0x130)](nestedKeyValue,global[_0x2a0a10(0xcf)],[_0x39bd98[_0x2a0a10(0x94)]]),'hookType':_0x39bd98[_0x2a0a10(0x75)]})();},'afterAll'(_0x7ca2e8){const _0x1ed1e0=a36_0x325ee5,_0x318d96={'wJLjY':function(_0x5a364e){return _0x5a364e();},'wjzwZ':function(_0x11148b){return _0x11148b();},'ckEJs':_0x1ed1e0(0xb8),'DOJhS':function(_0x1770bf,_0x547d18,_0x80d6f5){return _0x1770bf(_0x547d18,_0x80d6f5);},'WFNzb':'index','mwlPo':_0x1ed1e0(0xa7)},_0x307536='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x318d96[_0x1ed1e0(0x82)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x364e69=_0x1ed1e0,_0x130ac3={'YuvZG':function(_0x184e18){const _0x26056c=a36_0x5bf7;return _0x318d96[_0x26056c(0x103)](_0x184e18);}};new Promise(async _0x327834=>{const _0xb4423=a36_0x5bf7;await global[_0xb4423(0x8f)](),_0x130ac3[_0xb4423(0x10b)](_0x327834);})[_0x364e69(0x9e)]()[_0x364e69(0x87)](()=>{const _0x370606=_0x364e69;_0x318d96[_0x370606(0xf0)](_0x7ca2e8);});},{'platform':_0x318d96[_0x1ed1e0(0x99)](nestedKeyValue,global[_0x1ed1e0(0xcf)],[_0x318d96['WFNzb']]),'hookType':_0x318d96[_0x1ed1e0(0x91)]})();}};function a36_0x18cd(){const _0x4b05f8=['Failed\x20to\x20store\x20session\x20name:\x20','qJWFU','OReRP','__skipSessionName','index','winstonLogger','__error_messages__','stringify','browserstackSessionName','lNEVb','250549koMuxh','ZwRmJ','ddxNc','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','atQAf','XwKev','now','end','message','7763288eWKMKr','jJVBL','tutcp','eTLto','thBuildUuid','afterEach','CJoGP','Accessibility\x20results\x20saved\x20successfully','2723445nvOTqL','kHDVf','NuRSd','accessibilityScanStarted','wJLjY','PrzOb','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','currentTest','GEXAd','testcase','thTestRunUuid','GRnUl','MWPAH','3280LLLjgb','../../helpers/accessibility-automation/accessibilityRetryHelper','liKTG','GxZeI','xwBFA','Hhlqf','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','bBSoB','PkJRK','18402zWCzJi','wjzwZ','quitCount_','cpKbO','capabilities','HIldX',',\x22level\x22:\x20\x22','qPhIG','setGlobal','YuvZG','IxiSY','2212psEFSV','ResFk','jehrQ','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','shift','warn','Failed:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','performScanWithRetry','push','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','dSiVd','executeScript','../../helpers/performance/performance-tester','ChSyn','app','../../helpers/accessibility-automation/helper','saveAccessibilityResultsWithRetry','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','yLZyr','../../helpers/helper','iMNTA','poSYK','AFtzq','zqRuA','PERFORM_SCAN','AxMpN','BMEMe','mochaHooks','../../helpers/testhub/utils','length','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QwzKJ','../../helpers/globals','../../helpers/logger','lClwj','kFKLw','getGlobal','session_','ENV_VAR','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','Accessibility\x20scan\x20completed\x20successfully','jUdDM','gTqUC','error','nxgMY','AjCuk','../../helpers/percy/utils','measureWrapper','.\x20Error\x20:','SESSION_NAME','bstackA11yShouldScan','../../helpers/testhub/constants','vcKcd','vlvUE','appium:app','XZaPY','util','QalHu','FcaYQ','oZhAn','info','titlePath','kmGGe','GMdgz','yBUcS','ckEJs','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','QhlpX','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Abguc','finally','fCmSt','isArray','Ixytk','XHrAB','ARfgt','BEqLA','dqmKS','driverCleanup','3061008joQUok','mwlPo','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/performance/constants','xmmpa','VTbYa','http:','aiQNF','hnHjZ','DOJhS','SESSION_STATUS','beforeEach','https:','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','then','beforeAll','__sessionFailed','wBrUz','\x20-\x20','testAnalyticsId','SAVE_RESULTS','KTcOy','state','afterAll','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','PYQQy','3230432igzyGj','SDK_HOOK','SnAzj','kPNxn','protocol','vwRKJ','../utils/constants','\x20|\x20','VVnoF','ZRQyI','./test-observability/mochaUtils','SaxAh','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','autoScanning','Mocha','dYrSz','debug','SdIAD','FFlwT','sessionName','qhfCF','env','shouldScanTestForAccessibility','bAoCf','37872RacaKC','__drivers','EsbkV','join','fuetl','uMBIr','wrIOJ','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','percy','ETtaU','gmJdm','BROWSERSTACK_TESTHUB_UUID','start','__platformCaps','AZNpu'];a36_0x18cd=function(){return _0x4b05f8;};return a36_0x18cd();}
|
|
1
|
+
const a36_0x19eff0=a36_0x3502;function a36_0x3502(_0xe466fa,_0x470e91){const _0x23871e=a36_0x2387();return a36_0x3502=function(_0x3502be,_0x528d40){_0x3502be=_0x3502be-0x1b8;let _0x106762=_0x23871e[_0x3502be];return _0x106762;},a36_0x3502(_0xe466fa,_0x470e91);}(function(_0x3993e1,_0x5bf07c){const _0x181dd2=a36_0x3502,_0x198d44=_0x3993e1();while(!![]){try{const _0x287310=parseInt(_0x181dd2(0x1eb))/0x1*(parseInt(_0x181dd2(0x28a))/0x2)+parseInt(_0x181dd2(0x1d1))/0x3+parseInt(_0x181dd2(0x1e6))/0x4+parseInt(_0x181dd2(0x261))/0x5+parseInt(_0x181dd2(0x25c))/0x6*(-parseInt(_0x181dd2(0x1c7))/0x7)+-parseInt(_0x181dd2(0x1f9))/0x8+parseInt(_0x181dd2(0x271))/0x9;if(_0x287310===_0x5bf07c)break;else _0x198d44['push'](_0x198d44['shift']());}catch(_0x311176){_0x198d44['push'](_0x198d44['shift']());}}}(a36_0x2387,0x2bef3));const util=require(a36_0x19eff0(0x224)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x19eff0(0x278)),accessibilityRetryHelper=require(a36_0x19eff0(0x25d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x19eff0(0x285)),{percyAutoCapture}=require(a36_0x19eff0(0x1dc)),{sendPlatformDetails}=require(a36_0x19eff0(0x1ec)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x19eff0(0x244)),PerformanceTester=require(a36_0x19eff0(0x26f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x19eff0(0x207)),globals=require(a36_0x19eff0(0x21f)),logger=require('../../helpers/logger')[a36_0x19eff0(0x1c2)],{shouldProcessEventForTesthub}=require(a36_0x19eff0(0x1fb)),testHubConstants=require(a36_0x19eff0(0x215));function a36_0x2387(){const _0x5af0ba=['NmMsM','lqTDs','pIprH','../../helpers/testhub/constants','now','aadjJ','YQOoC','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','HRfvW','hsogM','kZxZW','nSByC','ZgZsg','../../helpers/globals','NAGek','EBcVO','beforeAll','pilXa','util','shift','rINiy','http:','DELTo','fvoBN','EfsYp','uBAEF','SDK_HOOK','aaLXE','CKLSZ','ENV_VAR','titlePath','setGlobal','uzHoW','TSXdX','PERFORM_SCAN','VznrT','cQkdv','tKUOM','uqrvi','NceBX','MiqiY','rVFrL','LVxoy','__drivers','xqZpZ','isArray','YjNBx','sQmWy','push','AShnm','../../helpers/helper','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','percyCaptureMode','quitCount_','SYNC','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','FCOXJ','mgxEp','YOgIt','then','Mocha','index','YMJbl','thTestRunUuid','pZYWl','vxkGL','Jxdyi','dTTeZ','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','performScanWithRetry','nydbP','gkVkX','hAbFX','RUWkC','784266LiTtBc','../../helpers/accessibility-automation/accessibilityRetryHelper','end','SAVE_RESULTS','BROWSERSTACK_TESTHUB_UUID','510800dVbqYM','bstackA11yScanOptions','getGlobal','yjCob','vZgId','Failed\x20to\x20store\x20session\x20name:\x20','length','GhlTv','nFCao','percy','PVEZs','XeKEl','message','fRBuf','../../helpers/performance/performance-tester','measureWrapper','766179CZjTuT','finally','join','env','rhKrh','aSQgy','command','../../helpers/accessibility-automation/helper','STANx','warn','SESSION_STATUS','zHIhq','jAcVp','https:','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','lEeWF','appium:app','Tktbm','FeqQm','NDWSV','../utils/constants','ypMsO','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','autoScanning','2aWKYQm','Vssmi','zlqzh','afterTest','mochaHooks','\x22}}','currentTest','browserstackSessionName','timeout','aFRIf','error','lpWDi','tiMmv','CKliH','TYUwn','sessionName','BwVpz','RPpZi','isAccessibilityPlatform','__error_messages__','woiti','kbQNu','pakDo','oQIEo','EtgGX','afterAll','session_','getCurrentUrl','winstonLogger','shouldScanTestForAccessibility','executeScript','browserstackTestName','start','7KRXYjw','__skipSessionName','debug','info','testAnalyticsId','thJwtToken','\x20-\x20','app','format','ObservabilitySync:','152967KTYgcp','kYoTa','OxWxr','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','mLiPS','EZoOg','jqGmB','Automate\x20test\x20case\x20execution\x20has\x20started.','GtSoU','Obfge','OIXoI','../../helpers/percy/utils','Failed:\x20','aNlsI','uNASe','TQyBW','HMEfC','.\x20Error\x20:','testcase','xeTnc','bqeGW','85772HOewvw','mvNcW','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','DQFhd','Accessibility\x20scan\x20completed\x20successfully','148727krYiat','./test-observability/mochaUtils','sgFJg','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','EOjEJ','startMonitoring','lRctX','failed','sessionNameSet__','ZgZip','__sessionFailed','bstackA11yShouldScan','quASM','IpdCJ','782272sxOnFa','passed','../../helpers/testhub/utils','CNFQX','Passed','BjENV','beforeEach','WYtXS','capabilities','apkdC','__platformCaps','CUQGQ','stringify','bxONF','../../helpers/performance/constants','BMuSH','\x20|\x20','initQuit','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','tVnRD','UqbxX','driverCleanup','err','accessibilityScanStarted'];a36_0x2387=function(){return _0x5af0ba;};return a36_0x2387();}exports[a36_0x19eff0(0x28e)]={'beforeAll'(){const _0x25a35f=a36_0x19eff0,_0x40cd63={'xUBGx':function(_0x59d509,_0x141b68,_0x2a6a54,_0x34a532){return _0x59d509(_0x141b68,_0x2a6a54,_0x34a532);},'uBAEF':_0x25a35f(0x1f2),'NThWh':_0x25a35f(0x209),'pZYWl':function(_0x3f5e92,_0x522a0b,_0x23bf61){return _0x3f5e92(_0x522a0b,_0x23bf61);},'jqGmB':_0x25a35f(0x1fa),'NAGek':function(_0x1ae201){return _0x1ae201();},'DQFhd':'index','MiqiY':_0x25a35f(0x222)};PerformanceTester[_0x25a35f(0x1f0)]();const _0x2f6a53='browserstack internal helper hook';PerformanceTester[_0x25a35f(0x270)](PerformanceSdkEvents[_0x25a35f(0x22c)],()=>{const _0x1d92ba=_0x25a35f,_0x4b02f6={'BwVpz':function(_0x5b816a,_0x247a11,_0x4c067e,_0x296e94){return _0x40cd63['xUBGx'](_0x5b816a,_0x247a11,_0x4c067e,_0x296e94);},'XeKEl':_0x40cd63[_0x1d92ba(0x22b)],'EBcVO':_0x40cd63['NThWh'],'bxONF':function(_0x508f2b,_0x2c15df,_0x221798){const _0x4ad95c=_0x1d92ba;return _0x40cd63[_0x4ad95c(0x252)](_0x508f2b,_0x2c15df,_0x221798);},'ZhuVI':_0x40cd63[_0x1d92ba(0x1d7)],'jAcVp':function(_0x3b6367){const _0x556685=_0x1d92ba;return _0x40cd63[_0x556685(0x220)](_0x3b6367);}};global[_0x1d92ba(0x1b9)]=[],global[_0x1d92ba(0x1f5)]=![],global[_0x1d92ba(0x20f)]=async()=>{const _0x4c752e=_0x1d92ba;let _0x5b5327=![];try{await global[_0x4c752e(0x23d)][0x0][_0x4c752e(0x1c0)],_0x5b5327=!![],global[_0x4c752e(0x1f5)]?await _0x4b02f6[_0x4c752e(0x29a)](markSessionStatus,global[_0x4c752e(0x23d)][0x0],_0x4b02f6[_0x4c752e(0x26c)],global[_0x4c752e(0x1b9)][_0x4c752e(0x273)](_0x4b02f6[_0x4c752e(0x221)])):await _0x4b02f6[_0x4c752e(0x206)](markSessionStatus,global['__drivers'][0x0],_0x4b02f6['ZhuVI']);}catch(_0x2998b6){logger[_0x4c752e(0x1c9)](_0x4c752e(0x1ee)+_0x2998b6);}global[_0x4c752e(0x1b9)]=[],global[_0x4c752e(0x1f5)]=![];if(_0x5b5327)try{try{_0x4b02f6[_0x4c752e(0x27d)](shouldProcessEventForTesthub)&&(global[_0x4c752e(0x23d)][0x0]&&await _0x4b02f6[_0x4c752e(0x206)](sendPlatformDetails,global[_0x4c752e(0x23d)][0x0],this[_0x4c752e(0x290)]?this['currentTest'][_0x4c752e(0x1cb)]:null));}catch(_0x26fd7c){logger[_0x4c752e(0x1c9)](_0x4c752e(0x219)+_0x26fd7c);}await global[_0x4c752e(0x23d)][0x0][_0x4c752e(0x20a)]();}catch(_0x261d77){logger[_0x4c752e(0x1c9)](_0x4c752e(0x245)+_0x261d77);}};},{'platform':_0x40cd63[_0x25a35f(0x252)](nestedKeyValue,global[_0x25a35f(0x203)],[_0x40cd63[_0x25a35f(0x1e9)]]),'hookType':_0x40cd63[_0x25a35f(0x23a)]})();},'beforeEach'(_0x474acf){const _0x3e0ed1=a36_0x19eff0,_0x17fe44={'IpdCJ':function(_0x2b6a78){return _0x2b6a78();},'fRBuf':function(_0x30077f,_0x2f3825){return _0x30077f>_0x2f3825;},'lRctX':function(_0x23432e,_0x3d8949){return _0x23432e>_0x3d8949;},'zlqzh':'\x20-\x20','mLiPS':function(_0x1bb6de,_0x59e707,_0x5f097d){return _0x1bb6de(_0x59e707,_0x5f097d);},'nydbP':function(_0x22db0e,_0xf6e621){return _0x22db0e===_0xf6e621;},'RPpZi':_0x3e0ed1(0x1f6),'YMJbl':_0x3e0ed1(0x262),'YQOoC':function(_0x1c8dc8){return _0x1c8dc8();},'Vssmi':_0x3e0ed1(0x1b8),'aFRIf':function(_0x3aa25f,_0x482717){return _0x3aa25f===_0x482717;},'CNFQX':_0x3e0ed1(0x227),'apkdC':_0x3e0ed1(0x27e),'Tktbm':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','xqZpZ':_0x3e0ed1(0x1d8),'pIprH':_0x3e0ed1(0x1c5),'lqTDs':_0x3e0ed1(0x24f),'dTTeZ':_0x3e0ed1(0x1ff)};globals[_0x3e0ed1(0x231)](_0x17fe44[_0x3e0ed1(0x214)],this[_0x3e0ed1(0x290)][_0x3e0ed1(0x230)]()[_0x3e0ed1(0x273)](_0x17fe44[_0x3e0ed1(0x28c)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3e0ed1(0x22c)],()=>{const _0x562081=_0x3e0ed1,_0x4d9017={'uzHoW':function(_0x5d232b,_0x441c28){const _0x1eea82=a36_0x3502;return _0x17fe44[_0x1eea82(0x26e)](_0x5d232b,_0x441c28);},'hsogM':function(_0x3409f6,_0xa64d3f){const _0x472a59=a36_0x3502;return _0x17fe44[_0x472a59(0x1f1)](_0x3409f6,_0xa64d3f);},'YCswL':_0x17fe44[_0x562081(0x28c)],'ZgZsg':function(_0x594d6f,_0x224751,_0x218a80){const _0xd15afc=_0x562081;return _0x17fe44[_0xd15afc(0x1d5)](_0x594d6f,_0x224751,_0x218a80);},'gkVkX':function(_0x5cb12a,_0x175bab){const _0x3be381=_0x562081;return _0x17fe44[_0x3be381(0x258)](_0x5cb12a,_0x175bab);},'STANx':_0x17fe44[_0x562081(0x29b)],'tiMmv':_0x17fe44[_0x562081(0x250)],'sQmWy':function(_0x382595){const _0x1adcaf=_0x562081;return _0x17fe44[_0x1adcaf(0x218)](_0x382595);},'bqeGW':_0x17fe44[_0x562081(0x28b)],'KyExQ':function(_0x3c9740,_0x5a4e68){const _0x2029a7=_0x562081;return _0x17fe44[_0x2029a7(0x293)](_0x3c9740,_0x5a4e68);},'fGIls':_0x17fe44[_0x562081(0x1fc)],'MYZOV':_0x17fe44[_0x562081(0x202)],'hWsCw':_0x17fe44[_0x562081(0x282)],'Obfge':_0x17fe44[_0x562081(0x23e)]},_0x1330da='browserstack internal helper hook';new Promise(async _0x27a6a2=>{const _0x599e09=_0x562081;let _0x5b1da9=!![];try{_0x4d9017[_0x599e09(0x232)](global[_0x599e09(0x23d)][_0x599e09(0x267)],0x1)&&(await global[_0x599e09(0x20f)](),global[_0x599e09(0x23d)][_0x599e09(0x225)]()),_0x4d9017[_0x599e09(0x21b)](global['__drivers'][0x0][_0x599e09(0x247)],0x0)&&(_0x5b1da9=![],await global['driverCleanup']());}catch(_0x2e995f){logger[_0x599e09(0x1c9)](_0x599e09(0x245)+_0x2e995f);}try{Array['isArray'](global['__drivers'])&&global[_0x599e09(0x23d)][0x0]&&(global[_0x599e09(0x23d)][0x0][_0x599e09(0x291)]=this['currentTest'][_0x599e09(0x230)]()['join'](_0x4d9017['YCswL'])),global[_0x599e09(0x291)]=this[_0x599e09(0x290)]['titlePath']()[_0x599e09(0x273)](_0x4d9017['YCswL']);}catch(_0x3b998e){logger[_0x599e09(0x1c9)](_0x599e09(0x266)+_0x3b998e);}this[_0x599e09(0x290)][_0x599e09(0x1c3)]=_0x4d9017[_0x599e09(0x21e)](shouldScanTestForAccessibility,this['currentTest'][_0x599e09(0x230)](),!![]);let _0x4a7933=!![];try{const _0x900188=JSON['parse'](process[_0x599e09(0x274)][_0x599e09(0x288)]||'{}');_0x4d9017[_0x599e09(0x259)](_0x900188[_0x599e09(0x289)],![])&&(_0x4a7933=![]);}catch(_0x238f8c){logger[_0x599e09(0x1c9)](_0x599e09(0x256)+_0x238f8c[_0x599e09(0x26d)]);}const _0x56d3e2=_0x4a7933&&this[_0x599e09(0x290)][_0x599e09(0x1c3)];globals[_0x599e09(0x231)](_0x4d9017[_0x599e09(0x279)],_0x56d3e2),globals[_0x599e09(0x231)](_0x4d9017[_0x599e09(0x296)],null),this[_0x599e09(0x290)][_0x599e09(0x211)]=this['currentTest'][_0x599e09(0x1c3)];if(_0x4d9017[_0x599e09(0x241)](isAccessibilityAutomationSession)&&_0x5b1da9&&Array[_0x599e09(0x23f)](global[_0x599e09(0x23d)])&&_0x4d9017[_0x599e09(0x232)](global['__drivers'][_0x599e09(0x267)],0x0)&&globals[_0x599e09(0x263)](_0x4d9017[_0x599e09(0x1e5)]))try{const _0x2424f3=await global[_0x599e09(0x23d)][0x0]['session_'];if(_0x2424f3){let _0x2a4ceb=!![];const _0x3c51c6=await global['__drivers'][0x0][_0x599e09(0x1c1)]();let _0x1a087c;try{_0x1a087c=new URL(_0x3c51c6),_0x2a4ceb=_0x4d9017['KyExQ'](_0x1a087c['protocol'],_0x4d9017['fGIls'])||_0x4d9017['KyExQ'](_0x1a087c['protocol'],_0x4d9017['MYZOV']);}catch(_0x23f6c7){_0x2a4ceb=![];}_0x2a4ceb&&(this[_0x599e09(0x290)][_0x599e09(0x1c3)]&&logger[_0x599e09(0x1ca)](_0x4d9017['hWsCw'])),this[_0x599e09(0x290)][_0x599e09(0x211)]=this[_0x599e09(0x290)]['shouldScanTestForAccessibility'],_0x56d3e2&&logger[_0x599e09(0x1ca)](_0x4d9017[_0x599e09(0x1da)]);}}catch(_0x13b6d6){logger[_0x599e09(0x294)](_0x599e09(0x27f)+util[_0x599e09(0x1cf)](_0x13b6d6));}_0x4d9017[_0x599e09(0x241)](_0x27a6a2);})[_0x562081(0x24d)](()=>{const _0x449f9f=_0x562081;_0x17fe44[_0x449f9f(0x1f8)](_0x474acf);});},{'platform':_0x17fe44['mLiPS'](nestedKeyValue,global[_0x3e0ed1(0x203)],[_0x17fe44[_0x3e0ed1(0x213)]]),'hookType':_0x17fe44[_0x3e0ed1(0x255)]})();},'afterEach'(_0x1f337b){const _0x266d25=a36_0x19eff0,_0x7c8c00={'kYoTa':_0x266d25(0x1cd),'NmMsM':function(_0xebb333,_0x36c6a7){return _0xebb333!==_0x36c6a7;},'yjCob':'passed','lEeWF':function(_0x29e512,_0x476848,_0x50afbc){return _0x29e512(_0x476848,_0x50afbc);},'TYUwn':function(_0x49d096,_0x3f7720){return _0x49d096+_0x3f7720;},'mgxEp':_0x266d25(0x1dd),'rhKrh':'error','HRfvW':_0x266d25(0x1fd),'kbQNu':_0x266d25(0x1ca),'tPJeE':function(_0x40a676,_0xcc23b){return _0x40a676>_0xcc23b;},'LVxoy':function(_0xea0fdc,_0x2c57d5){return _0xea0fdc===_0x2c57d5;},'FCOXJ':_0x266d25(0x1e3),'PVEZs':_0x266d25(0x281),'ZgZip':function(_0x1b2da3,_0xbde988,_0x2ff42e,_0x47bbc1){return _0x1b2da3(_0xbde988,_0x2ff42e,_0x47bbc1);},'hAbFX':_0x266d25(0x1b8),'woiti':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','TQyBW':'bstackA11yShouldScan','HMEfC':_0x266d25(0x249),'YOgIt':_0x266d25(0x28d),'EtgGX':_0x266d25(0x1ea),'tKUOM':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','aSQgy':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','tVnRD':'Accessibility\x20results\x20saved\x20successfully','oQIEo':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','mvNcW':_0x266d25(0x1d4),'quASM':function(_0xe3d41){return _0xe3d41();},'ODBNL':_0x266d25(0x1c9),'lpWDi':function(_0x13e766){return _0x13e766();},'pilXa':function(_0x5f50f8){return _0x5f50f8();},'cQkdv':_0x266d25(0x24e),'aNlsI':'index','kZxZW':'afterEach'},_0x4152d6='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x7c8c00[_0x266d25(0x236)]]),global[_0x266d25(0x299)]=this['currentTest']['titlePath']()['join'](_0x7c8c00[_0x266d25(0x1d2)]),PerformanceTester[_0x266d25(0x270)](PerformanceSdkEvents[_0x266d25(0x22c)],()=>{const _0x517b57=_0x266d25,_0x2a650b={'GtSoU':_0x7c8c00[_0x517b57(0x1d2)],'EZoOg':function(_0x566234,_0x8e6c8c){const _0xd3ca6a=_0x517b57;return _0x7c8c00[_0xd3ca6a(0x212)](_0x566234,_0x8e6c8c);},'Jxdyi':_0x7c8c00[_0x517b57(0x264)],'EOjEJ':function(_0xb9725,_0x57b396,_0x36c52c){const _0x5107ec=_0x517b57;return _0x7c8c00[_0x5107ec(0x280)](_0xb9725,_0x57b396,_0x36c52c);},'GhlTv':function(_0x38b3c9,_0x3af6a3){const _0x4a543f=_0x517b57;return _0x7c8c00[_0x4a543f(0x298)](_0x38b3c9,_0x3af6a3);},'VznrT':_0x7c8c00[_0x517b57(0x24b)],'UqbxX':_0x7c8c00[_0x517b57(0x275)],'FeqQm':_0x7c8c00[_0x517b57(0x21a)],'CKliH':_0x7c8c00[_0x517b57(0x1bb)],'YjNBx':function(_0xdb2d05,_0x556977){return _0x7c8c00['tPJeE'](_0xdb2d05,_0x556977);},'uqrvi':function(_0x562b66,_0x4832d1){const _0x3c41a1=_0x517b57;return _0x7c8c00[_0x3c41a1(0x23c)](_0x562b66,_0x4832d1);},'xeTnc':_0x7c8c00[_0x517b57(0x24a)],'sCfey':function(_0x100d4b,_0x10d0cb){return _0x7c8c00['tPJeE'](_0x100d4b,_0x10d0cb);},'NDWSV':_0x7c8c00[_0x517b57(0x26b)],'vZgId':function(_0x42609f,_0x2e7dc8,_0x2f4e53,_0x14e3d1){const _0xcd2934=_0x517b57;return _0x7c8c00[_0xcd2934(0x1f4)](_0x42609f,_0x2e7dc8,_0x2f4e53,_0x14e3d1);},'lkCHN':_0x7c8c00[_0x517b57(0x25a)],'NceBX':_0x7c8c00[_0x517b57(0x1ba)],'mzKKi':_0x7c8c00[_0x517b57(0x1e0)],'fvoBN':_0x7c8c00[_0x517b57(0x1e1)],'rINiy':_0x7c8c00[_0x517b57(0x24c)],'VeGRn':_0x7c8c00[_0x517b57(0x1be)],'BMuSH':_0x7c8c00[_0x517b57(0x237)],'TSXdX':_0x7c8c00[_0x517b57(0x276)],'rVFrL':_0x7c8c00[_0x517b57(0x20d)],'zHIhq':_0x7c8c00[_0x517b57(0x1bd)],'CUQGQ':_0x7c8c00[_0x517b57(0x1e7)],'uNASe':function(_0x109757){const _0x350faf=_0x517b57;return _0x7c8c00[_0x350faf(0x1f7)](_0x109757);},'aadjJ':function(_0x5ec2c5,_0x5639bb,_0xb9723c){const _0x1f869e=_0x517b57;return _0x7c8c00[_0x1f869e(0x280)](_0x5ec2c5,_0x5639bb,_0xb9723c);},'BjENV':_0x7c8c00['ODBNL'],'pakDo':function(_0x59633f){const _0x4fb433=_0x517b57;return _0x7c8c00[_0x4fb433(0x295)](_0x59633f);},'SATje':function(_0x1c8653){const _0x31d2=_0x517b57;return _0x7c8c00[_0x31d2(0x223)](_0x1c8653);}},_0x49160b=async(_0x19055a,_0x557401)=>{const _0x3add52=_0x517b57;await global[_0x3add52(0x23d)][0x0][_0x3add52(0x1c4)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x19055a+',\x22level\x22:\x20\x22'+_0x557401+_0x3add52(0x28f));};new Promise(async _0xc4a4f5=>{const _0x1337a4=_0x517b57,_0x321f64={'XpQvR':function(_0x415807,_0x4d541a){const _0x4b4b4a=a36_0x3502;return _0x2a650b[_0x4b4b4a(0x1d6)](_0x415807,_0x4d541a);},'WYtXS':_0x2a650b[_0x1337a4(0x254)],'vxkGL':function(_0x3d36f0,_0x52b78c,_0x477589){const _0x3b0f06=_0x1337a4;return _0x2a650b[_0x3b0f06(0x1ef)](_0x3d36f0,_0x52b78c,_0x477589);},'aaLXE':function(_0x5c729a,_0x3f7142){const _0x5656a9=_0x1337a4;return _0x2a650b[_0x5656a9(0x268)](_0x5c729a,_0x3f7142);},'RUWkC':_0x2a650b[_0x1337a4(0x235)],'CKLSZ':_0x2a650b[_0x1337a4(0x20e)],'nFCao':_0x2a650b[_0x1337a4(0x283)],'OIXoI':_0x2a650b[_0x1337a4(0x297)]};try{_0x2a650b[_0x1337a4(0x240)](global[_0x1337a4(0x23d)][_0x1337a4(0x267)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1337a4(0x225)](),global[_0x1337a4(0x1b9)]=[],global[_0x1337a4(0x1f5)]=![]);try{if(global[_0x1337a4(0x26a)]&&_0x2a650b[_0x1337a4(0x238)](global[_0x1337a4(0x246)],_0x2a650b[_0x1337a4(0x1e4)])&&global[_0x1337a4(0x23d)][0x0]){const _0x1d41a2=_0x2a650b['sCfey'](global[_0x1337a4(0x201)][_0x1337a4(0x267)],0x0)?!!global[_0x1337a4(0x201)][0x0]['app']||!!global['capabilities'][0x0][_0x2a650b[_0x1337a4(0x284)]]:![],_0x316218={};_0x316218[_0x1337a4(0x1ce)]=_0x1d41a2,await _0x2a650b[_0x1337a4(0x265)](percyAutoCapture,global[_0x1337a4(0x23d)][0x0],_0x2a650b['xeTnc'],_0x316218);}}catch(_0x1c9152){logger[_0x1337a4(0x1c9)](_0x1337a4(0x287)+_0x1c9152);}!global[_0x1337a4(0x1c8)]&&(await PerformanceTester[_0x1337a4(0x270)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x1e74ff=_0x1337a4;await global[_0x1e74ff(0x23d)][0x0][_0x1e74ff(0x1c4)](_0x1e74ff(0x1e8)+JSON[_0x1e74ff(0x205)](this['currentTest'][_0x1e74ff(0x230)]()[_0x1e74ff(0x273)](_0x2a650b[_0x1e74ff(0x1d9)]))+'}}');})(),global['__drivers'][0x0][_0x1337a4(0x1f3)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1337a4(0x27b)],async()=>{const _0x5b6541=_0x1337a4,_0x4e2259=_0x321f64['XpQvR'](this[_0x5b6541(0x290)]['state'],_0x321f64[_0x5b6541(0x200)]);_0x4e2259?(global[_0x5b6541(0x1f5)]=!![],global[_0x5b6541(0x1b9)][_0x5b6541(0x242)](this[_0x5b6541(0x290)][_0x5b6541(0x210)]['message']),await _0x321f64[_0x5b6541(0x253)](_0x49160b,JSON[_0x5b6541(0x205)](_0x321f64[_0x5b6541(0x22d)](_0x321f64[_0x5b6541(0x25b)],this[_0x5b6541(0x290)][_0x5b6541(0x210)][_0x5b6541(0x26d)])),_0x321f64[_0x5b6541(0x22e)])):await _0x321f64['vxkGL'](_0x49160b,JSON[_0x5b6541(0x205)](_0x321f64[_0x5b6541(0x269)]),_0x321f64[_0x5b6541(0x1db)]);})();}catch(_0x35808d){logger['debug'](_0x1337a4(0x20c)+_0x35808d);}try{if(this[_0x1337a4(0x290)]['accessibilityScanStarted']&&globals[_0x1337a4(0x263)](_0x2a650b['lkCHN'])){logger[_0x1337a4(0x1ca)](_0x2a650b[_0x1337a4(0x239)]);const _0x4db449={};_0x4db449[_0x1337a4(0x251)]=this[_0x1337a4(0x290)][_0x1337a4(0x1cb)],_0x4db449['thBuildUuid']=process[_0x1337a4(0x274)][testHubConstants[_0x1337a4(0x22f)][_0x1337a4(0x260)]],_0x4db449[_0x1337a4(0x1cc)]=process[_0x1337a4(0x274)][testHubConstants[_0x1337a4(0x22f)]['BROWSERSTACK_TESTHUB_JWT']];const _0xa28fda=_0x4db449;logger[_0x1337a4(0x1c9)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0xa28fda));if(globals[_0x1337a4(0x263)](_0x2a650b['mzKKi'])){logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x229)]);const _0x389b4a={};_0x389b4a[_0x1337a4(0x277)]=_0x2a650b[_0x1337a4(0x226)];const _0x170539=await PerformanceTester[_0x1337a4(0x270)](PerformanceA11yEvents[_0x1337a4(0x234)],async()=>{const _0x28564d=_0x1337a4;return await accessibilityRetryHelper[_0x28564d(0x257)](global['__drivers'][0x0],global[_0x28564d(0x291)]);},_0x389b4a)();_0x170539?logger[_0x1337a4(0x1c9)](_0x2a650b['VeGRn']):logger[_0x1337a4(0x27a)](_0x2a650b[_0x1337a4(0x208)]);}else logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x233)]);const _0x3c10a8=await PerformanceTester[_0x1337a4(0x270)](PerformanceA11yEvents[_0x1337a4(0x25f)],async()=>{return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0xa28fda);})();_0x3c10a8?logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x23b)]):logger['warn'](_0x2a650b[_0x1337a4(0x27c)]),logger[_0x1337a4(0x1ca)](_0x2a650b[_0x1337a4(0x204)]);}}catch(_0x58b987){logger[_0x1337a4(0x294)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x1337a4(0x290)][_0x1337a4(0x230)]()+_0x1337a4(0x1e2),_0x58b987);}try{try{if(_0x2a650b['uNASe'](shouldProcessEventForTesthub)){global[_0x1337a4(0x23d)][0x0]&&await _0x2a650b[_0x1337a4(0x217)](sendPlatformDetails,global[_0x1337a4(0x23d)][0x0],this[_0x1337a4(0x290)]?this['currentTest'][_0x1337a4(0x1cb)]:null);if(_0x2a650b[_0x1337a4(0x1df)](isBrowserstackInfra)){PerformanceTester[_0x1337a4(0x1c6)](PerformanceO11yEvents['SYNC']);const _0x5c5d08=_0x1337a4(0x1d0)+Date[_0x1337a4(0x216)]();await _0x2a650b[_0x1337a4(0x1ef)](_0x49160b,JSON[_0x1337a4(0x205)](_0x5c5d08),_0x2a650b[_0x1337a4(0x1fe)]),PerformanceTester[_0x1337a4(0x25e)](PerformanceO11yEvents[_0x1337a4(0x248)]);}}}catch(_0x50c49d){logger['debug'](_0x1337a4(0x20b)+_0x50c49d),PerformanceTester[_0x1337a4(0x25e)](PerformanceO11yEvents[_0x1337a4(0x248)],![],_0x50c49d);}_0x2a650b['sCfey'](global[_0x1337a4(0x23d)][0x0][_0x1337a4(0x247)],0x0)&&await global[_0x1337a4(0x20f)]();}catch(_0x4a027e){logger['debug'](_0x1337a4(0x245)+_0x4a027e);}_0x2a650b[_0x1337a4(0x1bc)](_0xc4a4f5);})[_0x517b57(0x24d)](()=>{_0x2a650b['SATje'](_0x1f337b);});},{'platform':_0x7c8c00['lEeWF'](nestedKeyValue,global[_0x266d25(0x203)],[_0x7c8c00[_0x266d25(0x1de)]]),'hookType':_0x7c8c00[_0x266d25(0x21c)]})();},'afterAll'(_0x1dd4a9){const _0x311a76=a36_0x19eff0,_0x59b04d={'AShnm':function(_0x53cfb7){return _0x53cfb7();},'nSByC':function(_0xa300b1){return _0xa300b1();},'ypMsO':_0x311a76(0x24e),'sgFJg':function(_0x422d2d,_0x2fd062,_0x44d75d){return _0x422d2d(_0x2fd062,_0x44d75d);},'EfsYp':'index','DELTo':_0x311a76(0x1bf)},_0x1b5960='browserstack internal helper hook';this[_0x311a76(0x292)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x59b04d[_0x311a76(0x286)]]),PerformanceTester[_0x311a76(0x270)](PerformanceSdkEvents[_0x311a76(0x22c)],()=>{const _0x5d7c9c=_0x311a76,_0x33d49b={'OxWxr':function(_0x10215c){const _0x36b8d5=a36_0x3502;return _0x59b04d[_0x36b8d5(0x21d)](_0x10215c);}};new Promise(async _0x180beb=>{const _0x521afe=a36_0x3502;await global[_0x521afe(0x20f)](),_0x59b04d[_0x521afe(0x243)](_0x180beb);})[_0x5d7c9c(0x24d)]()[_0x5d7c9c(0x272)](()=>{const _0x1c8b19=_0x5d7c9c;_0x33d49b[_0x1c8b19(0x1d3)](_0x1dd4a9);});},{'platform':_0x59b04d[_0x311a76(0x1ed)](nestedKeyValue,global['__platformCaps'],[_0x59b04d[_0x311a76(0x22a)]]),'hookType':_0x59b04d[_0x311a76(0x228)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a37_0x3ef0(_0x3f20f1,_0x42ea8a){const _0x1fb664=a37_0x1fb6();return a37_0x3ef0=function(_0x3ef078,_0x472108){_0x3ef078=_0x3ef078-0xb4;let _0x478189=_0x1fb664[_0x3ef078];return _0x478189;},a37_0x3ef0(_0x3f20f1,_0x42ea8a);}const a37_0x2fa5c7=a37_0x3ef0;(function(_0x408170,_0x7fd64b){const _0x480629=a37_0x3ef0,_0x207457=_0x408170();while(!![]){try{const _0xee3aa0=-parseInt(_0x480629(0xd5))/0x1+parseInt(_0x480629(0x104))/0x2+-parseInt(_0x480629(0xec))/0x3*(parseInt(_0x480629(0xd9))/0x4)+-parseInt(_0x480629(0x127))/0x5+-parseInt(_0x480629(0xcb))/0x6+parseInt(_0x480629(0x116))/0x7+-parseInt(_0x480629(0x119))/0x8*(-parseInt(_0x480629(0x11f))/0x9);if(_0xee3aa0===_0x7fd64b)break;else _0x207457['push'](_0x207457['shift']());}catch(_0x31f42d){_0x207457['push'](_0x207457['shift']());}}}(a37_0x1fb6,0x24dc4));function a37_0x1fb6(){const _0x1baf1d=['oGTHj','parallelsPerPlatform','failures','GnIIH','launchBuild','mdRcx','jPbfy','null','getInstance','UuMHH','child_process','exports','EHqdy','zgpSe','BROWSERSTACK_TESTHUB_JWT','rktRw','browserstack','testObservability','endsWith','requireModule','resolve','lSRTc','BROWSERSTACK_TEST_OBSERVABILITY_YML','423632HOfkla','cli,browserstack','true','pxegl','GJDsT','pLPZT','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','eagsx','winstonLogger','package.json','error','wWQSa','index.js','Newman\x20CLI\x20not\x20found:\x20','MUqmO','BuNOo','ZjfWZ','run','1711941ewbDdg','iUJXv','cmrMK','42128kMMgio','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','cnXvn','VPlCp','cwd','../../helpers/test-observability/requestQueueHandler','441ZUcrwf','FDvYJ','module','call','MbJGC','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ANHGY','reporter','992945vUTdEu','NVQov','inherit','../v2/browserstackCLI','BROWSERSTACK_AUTOMATION','newman','assign','EkTIp','Failed\x20to\x20launch\x20build:\x20','length','config','stop','setBrowserstackConfig','exitCode','qciAh','../../helpers/helper','ianSX','FSCfn','WxNxU','RZNOS','env','path','XCAcy','message','jErVD','oZkZd','wTIAa','FnELu','../v2/cliUtils','xiLXG','vgENX','QWISl','../../helpers/testhub/testhubHandler','960474QFKLtj','bootstrap','lIZVV','newman/bin/newman',',browserstack','IedNY','shutdown','xufWK','TeQWo','warn','202142zmITha','false','vLHAp','newman-reporter-browserstack','172ZLHEKS','isRunning','indexOf','configPath','wfjXM','Scaec','LsCRv','.js','concat','Failed\x20to\x20bootstrap\x20CLI:\x20','setFrameworkDetail','ubIiV','../../helpers/logger','slice','dnfSL','VfxqW','join','WVVDa','_resolveFilename','183lJSTPo'];a37_0x1fb6=function(){return _0x1baf1d;};return a37_0x1fb6();}const path=require(a37_0x2fa5c7(0xbf)),Module=require('module'),{fork}=require(a37_0x2fa5c7(0xf7)),logger=require(a37_0x2fa5c7(0xe5))[a37_0x2fa5c7(0x10c)],helper=require(a37_0x2fa5c7(0xb9)),TestHubHandler=require(a37_0x2fa5c7(0xca)),RequestQueueHandler=require(a37_0x2fa5c7(0x11e)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require(a37_0x2fa5c7(0x12a)),CLIUtils=require(a37_0x2fa5c7(0xc6));function registerBrowserStackReporter(){const _0x35329c=a37_0x2fa5c7,_0x572c31={};_0x572c31['vgENX']=function(_0x486779,_0x273673){return _0x486779===_0x273673;},_0x572c31['beszS']=_0x35329c(0xd8),_0x572c31['LsCRv']=_0x35329c(0x126),_0x572c31[_0x35329c(0x102)]=_0x35329c(0x110);const _0x174864=_0x572c31,_0x4147ed=path[_0x35329c(0xe9)](__dirname,_0x174864[_0x35329c(0xdf)],_0x174864['lSRTc']),_0x5418dc=Module[_0x35329c(0xeb)];Module[_0x35329c(0xeb)]=function(_0x147847,_0x348bad,_0x10c6b7,_0x4c5dcd){const _0x3ccfd1=_0x35329c;if(_0x174864[_0x3ccfd1(0xc8)](_0x147847,_0x174864['beszS']))return _0x4147ed;return _0x5418dc[_0x3ccfd1(0x122)](this,_0x147847,_0x348bad,_0x10c6b7,_0x4c5dcd);};}function injectReporterIntoArgs(_0x43f586){const _0x1c2917=a37_0x2fa5c7,_0x436afa={};_0x436afa[_0x1c2917(0x11c)]=function(_0x42a531,_0x296ecc){return _0x42a531<_0x296ecc;},_0x436afa[_0x1c2917(0x12e)]=function(_0x3f5573,_0x1d9775){return _0x3f5573===_0x1d9775;},_0x436afa[_0x1c2917(0xc7)]=function(_0x4ff869,_0x3050e4){return _0x4ff869===_0x3050e4;},_0x436afa[_0x1c2917(0x113)]='--reporters',_0x436afa['XCAcy']=function(_0x2f27de,_0x2cfc86){return _0x2f27de+_0x2cfc86;},_0x436afa['zgpSe']=function(_0x3b3bb2,_0x5e6648){return _0x3b3bb2+_0x5e6648;},_0x436afa[_0x1c2917(0x10b)]=_0x1c2917(0xfd),_0x436afa['MUqmO']=_0x1c2917(0xcf),_0x436afa[_0x1c2917(0x10f)]=_0x1c2917(0x105);const _0x4fae99=_0x436afa,_0x328cf2=_0x43f586[_0x1c2917(0xe6)]();for(let _0x2e22ea=0x0;_0x4fae99['VPlCp'](_0x2e22ea,_0x328cf2[_0x1c2917(0x130)]);_0x2e22ea++){if(_0x4fae99[_0x1c2917(0x12e)](_0x328cf2[_0x2e22ea],'-r')||_0x4fae99[_0x1c2917(0xc7)](_0x328cf2[_0x2e22ea],_0x4fae99[_0x1c2917(0x113)]))return _0x328cf2[_0x4fae99[_0x1c2917(0xc0)](_0x2e22ea,0x1)]&&_0x4fae99[_0x1c2917(0xc7)](_0x328cf2[_0x4fae99[_0x1c2917(0xfa)](_0x2e22ea,0x1)][_0x1c2917(0xdb)](_0x4fae99[_0x1c2917(0x10b)]),-0x1)&&(_0x328cf2[_0x4fae99[_0x1c2917(0xfa)](_0x2e22ea,0x1)]+=_0x4fae99[_0x1c2917(0x112)]),_0x328cf2;}return _0x328cf2['push']('-r',_0x4fae99['wWQSa']),_0x328cf2;}function runNewmanCLI(_0x2dfbb7){const _0x3c13f1=a37_0x2fa5c7,_0x3c45f5={'NVQov':function(_0x3ab4f1,_0x5d155b){return _0x3ab4f1>_0x5d155b;},'rktRw':function(_0x186303,_0x47ea15){return _0x186303(_0x47ea15);},'dnfSL':function(_0x2e9f70,_0x571660,_0x155458){return _0x2e9f70(_0x571660,_0x155458);},'oZkZd':_0x3c13f1(0x12c),'ubIiV':'Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','mdRcx':function(_0x229dc8,_0x2612a0){return _0x229dc8(_0x2612a0);},'MbJGC':function(_0x54fc7b,_0x19a9be){return _0x54fc7b(_0x19a9be);},'CneCt':_0x3c13f1(0x121),'oGTHj':_0x3c13f1(0x10d),'lIZVV':_0x3c13f1(0xce),'wfjXM':'node','jErVD':function(_0x1e0a8d,_0x465220){return _0x1e0a8d+_0x465220;},'UuMHH':_0x3c13f1(0x111)};return new Promise(_0x410dec=>{const _0x3fffd3=_0x3c13f1,_0xf05805={'VfxqW':function(_0x20815f,_0x2df94f){const _0x15dc7d=a37_0x3ef0;return _0x3c45f5[_0x15dc7d(0x128)](_0x20815f,_0x2df94f);},'iUJXv':function(_0x553193,_0x12f853){return _0x3c45f5['rktRw'](_0x553193,_0x12f853);},'Scaec':function(_0x558f76,_0x28c139,_0x25b25d){const _0x18556e=a37_0x3ef0;return _0x3c45f5[_0x18556e(0xe7)](_0x558f76,_0x28c139,_0x25b25d);}};let _0x1dbd5e;try{_0x1dbd5e=helper[_0x3fffd3(0x100)](_0x3c45f5[_0x3fffd3(0xc3)],_0x3c45f5[_0x3fffd3(0xc3)]);}catch(_0x21dd5c){return logger[_0x3fffd3(0x10e)](_0x3c45f5[_0x3fffd3(0xe4)]),_0x3c45f5[_0x3fffd3(0xf2)](_0x410dec,0x1);}const _0x1af12e=_0x1dbd5e[_0x3fffd3(0x115)];_0x1dbd5e[_0x3fffd3(0x115)]=function(_0x293bc9,_0x58b004){const _0x33b4ff=_0x3fffd3;return _0x1dbd5e[_0x33b4ff(0x115)]=_0x1af12e,_0x1af12e[_0x33b4ff(0x122)](_0x1dbd5e,_0x293bc9,(_0x398b60,_0x77e72c)=>{const _0x462fe7=_0x33b4ff,_0x3ac4a2=_0x77e72c&&_0x77e72c[_0x462fe7(0x115)]&&(_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0x10e)]||_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0xef)]&&_0xf05805[_0x462fe7(0xe8)](_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0xef)][_0x462fe7(0x130)],0x0));_0xf05805[_0x462fe7(0x117)](_0x410dec,_0x3ac4a2?0x1:0x0),_0x58b004&&_0xf05805[_0x462fe7(0xde)](_0x58b004,_0x398b60,_0x77e72c);});};try{const _0x37c1af=_0x3c45f5[_0x3fffd3(0x123)](require,_0x3c45f5['CneCt'])['createRequire'](path[_0x3fffd3(0xe9)](process[_0x3fffd3(0x11d)](),_0x3c45f5[_0x3fffd3(0xed)]));_0x3c45f5[_0x3fffd3(0xfc)](_0x37c1af,_0x3c45f5[_0x3fffd3(0xcd)])([_0x3c45f5[_0x3fffd3(0xdd)],_0x3c45f5[_0x3fffd3(0xc3)]][_0x3fffd3(0xe1)](_0x2dfbb7));}catch(_0x178c26){_0x1dbd5e[_0x3fffd3(0x115)]=_0x1af12e,logger['error'](_0x3c45f5[_0x3fffd3(0xc2)](_0x3c45f5[_0x3fffd3(0xf6)],_0x178c26[_0x3fffd3(0xc1)])),_0x3c45f5[_0x3fffd3(0xfc)](_0x410dec,0x1);}});}function runNewmanScript(_0x3fd421,_0x115aeb){const _0x40b7a3=a37_0x2fa5c7,_0x543699={'EHqdy':function(_0x5ba0b6,_0x3cc472){return _0x5ba0b6(_0x3cc472);},'pLPZT':function(_0x1cde9f,_0x2779a9){return _0x1cde9f||_0x2779a9;},'QWISl':function(_0x5e2206,_0x5ca9b3,_0x262f38,_0x438afd){return _0x5e2206(_0x5ca9b3,_0x262f38,_0x438afd);},'hBkss':'scriptRunner.js','RZNOS':_0x40b7a3(0x129),'XZunH':'close'};return new Promise(function(_0x50ff34){const _0x58c939=_0x40b7a3,_0x4c3ce4={'GJDsT':function(_0x4bba97,_0xf5e74f){const _0x324128=a37_0x3ef0;return _0x543699[_0x324128(0xf9)](_0x4bba97,_0xf5e74f);},'TeQWo':function(_0x1b599a,_0x4fea3c){const _0x13eb8=a37_0x3ef0;return _0x543699[_0x13eb8(0x109)](_0x1b599a,_0x4fea3c);}},_0x92f99b=_0x543699[_0x58c939(0xc9)](fork,path[_0x58c939(0xe9)](__dirname,_0x543699['hBkss']),[_0x3fd421,_0x543699[_0x58c939(0xf9)](String,_0x543699[_0x58c939(0x109)](_0x115aeb,0x0))],{'stdio':_0x543699[_0x58c939(0xbd)],'env':Object[_0x58c939(0x12d)]({},process['env'])});_0x92f99b['on'](_0x543699['XZunH'],function(_0x2d551b){const _0x257a26=_0x58c939;_0x4c3ce4[_0x257a26(0x108)](_0x50ff34,_0x4c3ce4[_0x257a26(0xd3)](_0x2d551b,0x0));});});}function hasO11yBuild(){const _0x22bd13=a37_0x2fa5c7,_0x38e019={};_0x38e019[_0x22bd13(0x114)]=function(_0x113896,_0x23a270){return _0x113896!==_0x23a270;},_0x38e019[_0x22bd13(0x120)]=_0x22bd13(0xf4);const _0x231168=_0x38e019;return!!(BrowserstackCLI['O11yHashedID']||process[_0x22bd13(0xbe)][_0x22bd13(0xfb)]&&_0x231168[_0x22bd13(0x114)](process[_0x22bd13(0xbe)][_0x22bd13(0xfb)],_0x231168[_0x22bd13(0x120)]));}function runWithoutObservability(_0x4b9ae4,_0x5684b8){const _0x32ea18=a37_0x2fa5c7,_0x412474={'qciAh':function(_0x194eab,_0x23c55c){return _0x194eab(_0x23c55c);}};if(_0x4b9ae4)return _0x412474[_0x32ea18(0xb8)](require,path[_0x32ea18(0x101)](_0x4b9ae4)),0x0;return _0x412474[_0x32ea18(0xb8)](runNewmanCLI,_0x5684b8);}module[a37_0x2fa5c7(0xf8)]=async function(_0x666e6b,_0x465ce7,_0x5e664e){const _0x540efa=a37_0x2fa5c7,_0x16bf86={'jPbfy':_0x540efa(0xe0),'IedNY':function(_0x4cd18b,_0x35f82f){return _0x4cd18b===_0x35f82f;},'cmrMK':_0x540efa(0xd6),'wTIAa':function(_0x2a1e43,_0x21b002,_0x14d346){return _0x2a1e43(_0x21b002,_0x14d346);},'GnIIH':function(_0x12c24e,_0x7f5a94){return _0x12c24e!=_0x7f5a94;},'KjsfL':_0x540efa(0x106),'ianSX':_0x540efa(0x12c),'ANHGY':function(_0xfd4e78,_0x44e6ba){return _0xfd4e78+_0x44e6ba;},'cnXvn':_0x540efa(0xe2),'vLHAp':_0x540efa(0x12f),'xufWK':function(_0x2a5251){return _0x2a5251();},'FnELu':_0x540efa(0x10a),'OSvyl':function(_0x76fa1b){return _0x76fa1b();},'pxegl':function(_0x1d165a,_0xc7ba22,_0x2ccf15){return _0x1d165a(_0xc7ba22,_0x2ccf15);},'WVVDa':function(_0x1ea1ad,_0x9c8536){return _0x1ea1ad(_0x9c8536);},'FSCfn':function(_0xf11c1f){return _0xf11c1f();},'WxNxU':_0x540efa(0x11a)},_0x185c37=_0x465ce7[_0x540efa(0xe6)](0x1),_0x19221b=_0x185c37[0x0]&&_0x185c37[0x0][_0x540efa(0xff)](_0x16bf86[_0x540efa(0xf3)])?_0x185c37[0x0]:null;if(!_0x5e664e[_0x540efa(0xb4)]||_0x16bf86[_0x540efa(0xd0)](_0x5e664e['config'][_0x540efa(0xfe)],![])||_0x16bf86[_0x540efa(0xd0)](_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xfe)],_0x16bf86['cmrMK'])){process[_0x540efa(0xb7)]=await _0x16bf86[_0x540efa(0xc4)](runWithoutObservability,_0x19221b,_0x185c37)||0x0;return;}process[_0x540efa(0xbe)][_0x540efa(0x12b)]=_0x16bf86[_0x540efa(0x118)],process[_0x540efa(0xbe)][_0x540efa(0x124)]=_0x16bf86[_0x540efa(0x118)],process['env'][_0x540efa(0x103)]=_0x16bf86[_0x540efa(0xf0)](_0x5e664e['config'][_0x540efa(0xfe)],null)?_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xfe)]:_0x16bf86['KjsfL'],CLIUtils[_0x540efa(0xe3)](_0x16bf86[_0x540efa(0xba)],_0x16bf86[_0x540efa(0xba)]),BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xb6)](_0x5e664e['config'],_0x5e664e[_0x540efa(0xdc)],_0x5e664e['cliConfig']);try{await BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xcc)]();}catch(_0x4e3021){logger['error'](_0x16bf86['ANHGY'](_0x16bf86[_0x540efa(0x11b)],_0x4e3021[_0x540efa(0xc1)]||_0x4e3021));}if(!BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xda)]())try{await TestHubHandler[_0x540efa(0xf1)](FRAMEWORKS['NEWMAN'],_0x5e664e);}catch(_0xa22361){logger[_0x540efa(0x10e)](_0x16bf86[_0x540efa(0x125)](_0x16bf86[_0x540efa(0xd7)],_0xa22361['message']||_0xa22361));}!_0x16bf86[_0x540efa(0xd2)](hasO11yBuild)&&logger[_0x540efa(0xd4)](_0x16bf86[_0x540efa(0xc5)]);_0x16bf86['OSvyl'](registerBrowserStackReporter);let _0x51c8ba;_0x19221b?_0x51c8ba=await _0x16bf86[_0x540efa(0x107)](runNewmanScript,_0x19221b,_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xee)]):_0x51c8ba=await _0x16bf86[_0x540efa(0xea)](runNewmanCLI,_0x16bf86['WVVDa'](injectReporterIntoArgs,_0x185c37));try{await TestHubHandler[_0x540efa(0xb5)]();}catch(_0x48143e){}try{await BrowserstackCLI['getInstance']()[_0x540efa(0xb5)]();}catch(_0x2e745a){}try{await RequestQueueHandler[_0x540efa(0xf5)]()[_0x540efa(0xd1)]();}catch(_0x2b171a){}if(_0x16bf86[_0x540efa(0xbb)](hasO11yBuild))try{_0x16bf86[_0x540efa(0xd2)](printBuildLink);}catch(_0x34a82b){}else logger[_0x540efa(0xd4)](_0x16bf86[_0x540efa(0xbc)]);process['exitCode']=_0x51c8ba;};
|
|
2
|
+
'use strict';const a37_0x182404=a37_0xf5f0;(function(_0x271385,_0x5ace7a){const _0x776f5=a37_0xf5f0,_0x3c299f=_0x271385();while(!![]){try{const _0x234181=parseInt(_0x776f5(0x20f))/0x1*(parseInt(_0x776f5(0x1f1))/0x2)+parseInt(_0x776f5(0x1ec))/0x3+parseInt(_0x776f5(0x22d))/0x4*(-parseInt(_0x776f5(0x244))/0x5)+-parseInt(_0x776f5(0x207))/0x6+parseInt(_0x776f5(0x23f))/0x7*(-parseInt(_0x776f5(0x23b))/0x8)+-parseInt(_0x776f5(0x1e5))/0x9+parseInt(_0x776f5(0x222))/0xa;if(_0x234181===_0x5ace7a)break;else _0x3c299f['push'](_0x3c299f['shift']());}catch(_0x28b260){_0x3c299f['push'](_0x3c299f['shift']());}}}(a37_0x4903,0xedfb0));function a37_0x4903(){const _0x568165=['null','module','parallelsPerPlatform','../../helpers/testhub/testhubHandler','join','testObservability','createRequire','oDBgx','failures','WmMFQ','iYamS','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','99368zSXMJe','../../helpers/helper','assign','.js','469QmlENB','indexOf','cXmVx','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','config','15ymILvn','JUcxK','../../helpers/test-observability/utils','scriptRunner.js','SkuVZ','env','jUgZk','getInstance','stop','newman','yqZbv','uWBoA','VpLxI','tTwrL','Uxtvg','newman/bin/newman','TXByO','Lakyw','iFpTG','gKaVw','jAxHB','exports','node','905634MhLdNp','hNnhT','resolve','inherit','newman-reporter-browserstack','BROWSERSTACK_TESTHUB_JWT','concat','26118DlqLmb','--reporters','true','Aikyl','../v2/browserstackCLI','6yvlEgn','iklbR','ZSYxb','error','cwd','BTdYt','setBrowserstackConfig','cliConfig','bhAWi','cli,browserstack','call','winstonLogger','Failed\x20to\x20bootstrap\x20CLI:\x20','dllBI','lfpux','pZSYJ','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','message','IKGWH','../../helpers/test-observability/requestQueueHandler','BJJQQ','ivlOJ','10622340eABZeb','close','index.js','MbYjk','EqGTX','haGul','BROWSERSTACK_TEST_OBSERVABILITY_YML','bootstrap','259179wlNHCN','../../helpers/logger','gxpWn','Failed\x20to\x20launch\x20build:\x20','setFrameworkDetail','xjUwV','endsWith','../v2/cliUtils','VYMAM','uAKVg','exitCode','warn','path','ehzYd','rAGch','isRunning','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','nMNrc','XeWHN','47397690rsfRot','vLdMA','BVyXo','configPath','Newman\x20CLI\x20not\x20found:\x20','package.json','_resolveFilename','run','launchBuild','browserstack','AUkge','2464028cNGFiF','ulMAa'];a37_0x4903=function(){return _0x568165;};return a37_0x4903();}function a37_0xf5f0(_0x11270c,_0x42afa3){const _0x490386=a37_0x4903();return a37_0xf5f0=function(_0xf5f056,_0x27e8c2){_0xf5f056=_0xf5f056-0x1e0;let _0x3295b8=_0x490386[_0xf5f056];return _0x3295b8;},a37_0xf5f0(_0x11270c,_0x42afa3);}const path=require(a37_0x182404(0x21b)),Module=require('module'),{fork}=require('child_process'),logger=require(a37_0x182404(0x210))[a37_0x182404(0x1fc)],helper=require(a37_0x182404(0x23c)),TestHubHandler=require(a37_0x182404(0x232)),RequestQueueHandler=require(a37_0x182404(0x204)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a37_0x182404(0x246)),BrowserstackCLI=require(a37_0x182404(0x1f0)),CLIUtils=require(a37_0x182404(0x216));function registerBrowserStackReporter(){const _0x3e355b=a37_0x182404,_0x2c2780={};_0x2c2780['AUkge']=function(_0x9989e4,_0x3d6b79){return _0x9989e4===_0x3d6b79;},_0x2c2780[_0x3e355b(0x239)]=_0x3e355b(0x1e9),_0x2c2780[_0x3e355b(0x241)]='reporter',_0x2c2780[_0x3e355b(0x24a)]=_0x3e355b(0x209);const _0x5293a3=_0x2c2780,_0x40025c=path[_0x3e355b(0x233)](__dirname,_0x5293a3[_0x3e355b(0x241)],_0x5293a3[_0x3e355b(0x24a)]),_0x2696c5=Module[_0x3e355b(0x228)];Module['_resolveFilename']=function(_0x19b50c,_0x3fd4e7,_0x104cf5,_0x1b5b16){const _0x4bea7c=_0x3e355b;if(_0x5293a3[_0x4bea7c(0x22c)](_0x19b50c,_0x5293a3[_0x4bea7c(0x239)]))return _0x40025c;return _0x2696c5[_0x4bea7c(0x1fb)](this,_0x19b50c,_0x3fd4e7,_0x104cf5,_0x1b5b16);};}function injectReporterIntoArgs(_0x509911){const _0x545e5f=a37_0x182404,_0x10e2d7={};_0x10e2d7[_0x545e5f(0x22e)]=function(_0x39c0cb,_0x37eb82){return _0x39c0cb<_0x37eb82;},_0x10e2d7[_0x545e5f(0x255)]=function(_0x98da87,_0x22a860){return _0x98da87===_0x22a860;},_0x10e2d7[_0x545e5f(0x217)]=_0x545e5f(0x1ed),_0x10e2d7['xjUwV']=function(_0x4755ad,_0x2c4726){return _0x4755ad+_0x2c4726;},_0x10e2d7[_0x545e5f(0x20a)]=function(_0x181afa,_0x2fd7cf){return _0x181afa===_0x2fd7cf;},_0x10e2d7[_0x545e5f(0x250)]=_0x545e5f(0x22b),_0x10e2d7[_0x545e5f(0x1e1)]=function(_0x298758,_0x1a67f7){return _0x298758+_0x1a67f7;},_0x10e2d7['nmKVa']=',browserstack',_0x10e2d7[_0x545e5f(0x238)]=_0x545e5f(0x1fa);const _0x41ce59=_0x10e2d7,_0x1305a6=_0x509911['slice']();for(let _0x518abf=0x0;_0x41ce59['ulMAa'](_0x518abf,_0x1305a6['length']);_0x518abf++){if(_0x41ce59[_0x545e5f(0x255)](_0x1305a6[_0x518abf],'-r')||_0x41ce59[_0x545e5f(0x255)](_0x1305a6[_0x518abf],_0x41ce59['VYMAM']))return _0x1305a6[_0x41ce59[_0x545e5f(0x214)](_0x518abf,0x1)]&&_0x41ce59[_0x545e5f(0x20a)](_0x1305a6[_0x41ce59[_0x545e5f(0x214)](_0x518abf,0x1)][_0x545e5f(0x240)](_0x41ce59['VpLxI']),-0x1)&&(_0x1305a6[_0x41ce59['gKaVw'](_0x518abf,0x1)]+=_0x41ce59['nmKVa']),_0x1305a6;}return _0x1305a6['push']('-r',_0x41ce59[_0x545e5f(0x238)]),_0x1305a6;}function runNewmanCLI(_0x553d66){const _0x4731b0=a37_0x182404,_0x1d9dfb={'wtCZz':function(_0x35f09c,_0x418128){return _0x35f09c>_0x418128;},'rAGch':function(_0x405efe,_0x45cb8e){return _0x405efe(_0x45cb8e);},'uWBoA':function(_0x368fd0,_0x52d7d9,_0x4a4bae){return _0x368fd0(_0x52d7d9,_0x4a4bae);},'oDBgx':_0x4731b0(0x24d),'fyaJk':_0x4731b0(0x242),'bhAWi':function(_0x2fcf26,_0x42e39c){return _0x2fcf26(_0x42e39c);},'iklbR':_0x4731b0(0x230),'JUcxK':_0x4731b0(0x227),'IeFoi':_0x4731b0(0x253),'dllBI':_0x4731b0(0x1e4),'ibPFe':function(_0x268ef8,_0x4f207e){return _0x268ef8+_0x4f207e;},'nMNrc':_0x4731b0(0x226),'haGul':function(_0x4e5df4,_0x29379a){return _0x4e5df4(_0x29379a);}};return new Promise(_0x40caea=>{const _0x2ba66=_0x4731b0,_0x338374={'BJJQQ':function(_0x3ecf02,_0x328dc1){return _0x1d9dfb['wtCZz'](_0x3ecf02,_0x328dc1);},'OAXVh':function(_0x518c43,_0x209eed){const _0x3d66aa=a37_0xf5f0;return _0x1d9dfb[_0x3d66aa(0x21d)](_0x518c43,_0x209eed);},'OQPbo':function(_0x38bb42,_0x13dd05,_0x320f58){const _0x14bc59=a37_0xf5f0;return _0x1d9dfb[_0x14bc59(0x24f)](_0x38bb42,_0x13dd05,_0x320f58);}};let _0x517861;try{_0x517861=helper['requireModule'](_0x1d9dfb[_0x2ba66(0x236)],_0x1d9dfb[_0x2ba66(0x236)]);}catch(_0x2681c6){return logger[_0x2ba66(0x1f4)](_0x1d9dfb['fyaJk']),_0x1d9dfb[_0x2ba66(0x21d)](_0x40caea,0x1);}const _0x3d2a29=_0x517861[_0x2ba66(0x229)];_0x517861['run']=function(_0x40208d,_0x11d3e3){const _0x16f4da=_0x2ba66;return _0x517861[_0x16f4da(0x229)]=_0x3d2a29,_0x3d2a29[_0x16f4da(0x1fb)](_0x517861,_0x40208d,(_0x12339c,_0x42239f)=>{const _0xa9e20=_0x16f4da,_0x577317=_0x42239f&&_0x42239f[_0xa9e20(0x229)]&&(_0x42239f[_0xa9e20(0x229)]['error']||_0x42239f[_0xa9e20(0x229)]['failures']&&_0x338374[_0xa9e20(0x205)](_0x42239f[_0xa9e20(0x229)][_0xa9e20(0x237)]['length'],0x0));_0x338374['OAXVh'](_0x40caea,_0x577317?0x1:0x0),_0x11d3e3&&_0x338374['OQPbo'](_0x11d3e3,_0x12339c,_0x42239f);});};try{const _0x18a37a=_0x1d9dfb[_0x2ba66(0x1f9)](require,_0x1d9dfb[_0x2ba66(0x1f2)])[_0x2ba66(0x235)](path['join'](process[_0x2ba66(0x1f5)](),_0x1d9dfb[_0x2ba66(0x245)]));_0x1d9dfb[_0x2ba66(0x21d)](_0x18a37a,_0x1d9dfb['IeFoi'])([_0x1d9dfb[_0x2ba66(0x1fe)],_0x1d9dfb[_0x2ba66(0x236)]][_0x2ba66(0x1eb)](_0x553d66));}catch(_0x35d0c5){_0x517861[_0x2ba66(0x229)]=_0x3d2a29,logger['error'](_0x1d9dfb['ibPFe'](_0x1d9dfb[_0x2ba66(0x220)],_0x35d0c5[_0x2ba66(0x202)])),_0x1d9dfb[_0x2ba66(0x20c)](_0x40caea,0x1);}});}function runNewmanScript(_0xb35b91,_0x310fd5){const _0x4f021c=a37_0x182404,_0x48fc2b={'ZSYxb':function(_0x247e60,_0x5ac13e){return _0x247e60(_0x5ac13e);},'uAKVg':function(_0x3b677,_0x5d8f5c){return _0x3b677||_0x5d8f5c;},'fXUdZ':function(_0xa89a0,_0x423eb2,_0x10d743,_0x346e92){return _0xa89a0(_0x423eb2,_0x10d743,_0x346e92);},'bZaXC':_0x4f021c(0x247),'BVyXo':_0x4f021c(0x1e8),'jAxHB':_0x4f021c(0x208)};return new Promise(function(_0x258080){const _0x598bfc=_0x4f021c,_0xc351ce=_0x48fc2b['fXUdZ'](fork,path[_0x598bfc(0x233)](__dirname,_0x48fc2b['bZaXC']),[_0xb35b91,_0x48fc2b[_0x598bfc(0x1f3)](String,_0x48fc2b[_0x598bfc(0x218)](_0x310fd5,0x0))],{'stdio':_0x48fc2b[_0x598bfc(0x224)],'env':Object[_0x598bfc(0x23d)]({},process[_0x598bfc(0x249)])});_0xc351ce['on'](_0x48fc2b[_0x598bfc(0x1e2)],function(_0x19d2f1){const _0xd45d80=_0x598bfc;_0x48fc2b[_0xd45d80(0x1f3)](_0x258080,_0x48fc2b[_0xd45d80(0x218)](_0x19d2f1,0x0));});});}function hasO11yBuild(){const _0x2bdf60=a37_0x182404,_0x32ea29={};_0x32ea29[_0x2bdf60(0x1f6)]=function(_0x3a581e,_0x1505da){return _0x3a581e!==_0x1505da;},_0x32ea29['ivlOJ']=_0x2bdf60(0x22f);const _0x24cf42=_0x32ea29;return!!(BrowserstackCLI['O11yHashedID']||process[_0x2bdf60(0x249)][_0x2bdf60(0x1ea)]&&_0x24cf42[_0x2bdf60(0x1f6)](process[_0x2bdf60(0x249)][_0x2bdf60(0x1ea)],_0x24cf42[_0x2bdf60(0x206)]));}function runWithoutObservability(_0x361de0,_0x3ea337){const _0x13f6b5=a37_0x182404,_0x3c1947={'XeWHN':function(_0xe009ed,_0x51c5aa){return _0xe009ed(_0x51c5aa);}};if(_0x361de0)return _0x3c1947[_0x13f6b5(0x221)](require,path[_0x13f6b5(0x1e7)](_0x361de0)),0x0;return _0x3c1947[_0x13f6b5(0x221)](runNewmanCLI,_0x3ea337);}module[a37_0x182404(0x1e3)]=async function(_0xcf2945,_0x4f9053,_0x26163e){const _0x5d5fc8=a37_0x182404,_0x37f1af={'iFpTG':_0x5d5fc8(0x23e),'ehzYd':function(_0x505a74,_0x25edc3){return _0x505a74===_0x25edc3;},'gxpWn':'false','lfpux':function(_0x65524e,_0x4b10be,_0x1ffd00){return _0x65524e(_0x4b10be,_0x1ffd00);},'AIhDs':function(_0x5eca1b,_0x32f44e){return _0x5eca1b!=_0x32f44e;},'tTwrL':_0x5d5fc8(0x1ee),'SkuVZ':_0x5d5fc8(0x24d),'yqZbv':function(_0x171050,_0x37d87a){return _0x171050+_0x37d87a;},'IKGWH':_0x5d5fc8(0x1fd),'Aikyl':_0x5d5fc8(0x212),'Uxtvg':function(_0x4a2ddd){return _0x4a2ddd();},'vLdMA':_0x5d5fc8(0x21f),'EqGTX':function(_0x208067,_0x581819){return _0x208067(_0x581819);},'pZSYJ':function(_0x4b55a3){return _0x4b55a3();},'TXByO':function(_0x6b9a74){return _0x6b9a74();},'hNnhT':_0x5d5fc8(0x23a)},_0x2a34f6=_0x4f9053['slice'](0x1),_0x3722d0=_0x2a34f6[0x0]&&_0x2a34f6[0x0][_0x5d5fc8(0x215)](_0x37f1af[_0x5d5fc8(0x1e0)])?_0x2a34f6[0x0]:null;if(!_0x26163e['config']||_0x37f1af[_0x5d5fc8(0x21c)](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],![])||_0x37f1af[_0x5d5fc8(0x21c)](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],_0x37f1af['gxpWn'])){process[_0x5d5fc8(0x219)]=await _0x37f1af[_0x5d5fc8(0x1ff)](runWithoutObservability,_0x3722d0,_0x2a34f6)||0x0;return;}process['env']['BROWSERSTACK_AUTOMATION']=_0x37f1af[_0x5d5fc8(0x211)],process[_0x5d5fc8(0x249)][_0x5d5fc8(0x201)]=_0x37f1af[_0x5d5fc8(0x211)],process['env'][_0x5d5fc8(0x20d)]=_0x37f1af['AIhDs'](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],null)?_0x26163e['config']['testObservability']:_0x37f1af[_0x5d5fc8(0x251)],CLIUtils[_0x5d5fc8(0x213)](_0x37f1af[_0x5d5fc8(0x248)],_0x37f1af[_0x5d5fc8(0x248)]),BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x1f7)](_0x26163e[_0x5d5fc8(0x243)],_0x26163e[_0x5d5fc8(0x225)],_0x26163e[_0x5d5fc8(0x1f8)]);try{await BrowserstackCLI['getInstance']()[_0x5d5fc8(0x20e)]();}catch(_0x8b83c1){logger[_0x5d5fc8(0x1f4)](_0x37f1af['yqZbv'](_0x37f1af[_0x5d5fc8(0x203)],_0x8b83c1[_0x5d5fc8(0x202)]||_0x8b83c1));}if(!BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x21e)]())try{await TestHubHandler[_0x5d5fc8(0x22a)](FRAMEWORKS['NEWMAN'],_0x26163e);}catch(_0x453dc3){logger[_0x5d5fc8(0x1f4)](_0x37f1af[_0x5d5fc8(0x24e)](_0x37f1af[_0x5d5fc8(0x1ef)],_0x453dc3['message']||_0x453dc3));}!_0x37f1af[_0x5d5fc8(0x252)](hasO11yBuild)&&logger[_0x5d5fc8(0x21a)](_0x37f1af[_0x5d5fc8(0x223)]);_0x37f1af['Uxtvg'](registerBrowserStackReporter);let _0x43871f;_0x3722d0?_0x43871f=await _0x37f1af[_0x5d5fc8(0x1ff)](runNewmanScript,_0x3722d0,_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x231)]):_0x43871f=await _0x37f1af[_0x5d5fc8(0x20b)](runNewmanCLI,_0x37f1af[_0x5d5fc8(0x20b)](injectReporterIntoArgs,_0x2a34f6));try{await TestHubHandler[_0x5d5fc8(0x24c)]();}catch(_0x19d890){}try{await BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x24c)]();}catch(_0x5e5012){}try{await RequestQueueHandler[_0x5d5fc8(0x24b)]()['shutdown']();}catch(_0x4e6408){}if(_0x37f1af[_0x5d5fc8(0x200)](hasO11yBuild))try{_0x37f1af[_0x5d5fc8(0x254)](printBuildLink);}catch(_0x5acb77){}else logger[_0x5d5fc8(0x21a)](_0x37f1af[_0x5d5fc8(0x1e6)]);process[_0x5d5fc8(0x219)]=_0x43871f;};
|
package/src/bin/newman/helper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xd7913c,_0x2e25e2){const _0x2b8650=a38_0x3d55,_0xed69de=_0xd7913c();while(!![]){try{const _0x2b55e9=parseInt(_0x2b8650(0x16f))/0x1+-parseInt(_0x2b8650(0x175))/0x2+parseInt(_0x2b8650(0x16e))/0x3*(-parseInt(_0x2b8650(0x177))/0x4)+parseInt(_0x2b8650(0x169))/0x5*(-parseInt(_0x2b8650(0x16c))/0x6)+-parseInt(_0x2b8650(0x171))/0x7+-parseInt(_0x2b8650(0x173))/0x8+-parseInt(_0x2b8650(0x176))/0x9*(-parseInt(_0x2b8650(0x16b))/0xa);if(_0x2b55e9===_0x2e25e2)break;else _0xed69de['push'](_0xed69de['shift']());}catch(_0xe12bbd){_0xed69de['push'](_0xed69de['shift']());}}}(a38_0x1977,0xb3d99));function isNewman(_0x3759b1){const _0x1fbf3d=a38_0x3d55,_0x57c66a={'qnIfU':function(_0x3fde5a,_0x2f329b){return _0x3fde5a===_0x2f329b;},'waVyz':_0x1fbf3d(0x178),'gSNAY':function(_0x479424,_0x369120){return _0x479424(_0x369120);},'QiBbk':function(_0x1fc880,_0x4b68fd){return _0x1fc880||_0x4b68fd;}},_0x594feb=process[_0x1fbf3d(0x16d)][_0x1fbf3d(0x172)]||'';let _0x24149f='';_0x3759b1&&_0x3759b1['framework']&&(_0x24149f=_0x3759b1['framework']);const _0x3a1bd7=_0x57c66a[_0x1fbf3d(0x170)](_0x594feb[_0x1fbf3d(0x174)](),_0x57c66a[_0x1fbf3d(0x179)]),_0x17a402=_0x57c66a[_0x1fbf3d(0x170)](_0x57c66a['gSNAY'](String,_0x24149f)['toLowerCase'](),_0x57c66a['waVyz']);return _0x57c66a[_0x1fbf3d(0x16a)](_0x3a1bd7,_0x17a402);}function a38_0x1977(){const _0x5e510a=['10peuvRL','6gKKaUs','env','27EOXFan','660782YVsSOo','qnIfU','2796787RxkjPr','BROWSERSTACK_FRAMEWORK','11494176wcLiwL','toLowerCase','1432146wKjYdI','32060799CGjtga','82204hsiWDY','newman','waVyz','3745415bhJEcd','QiBbk'];a38_0x1977=function(){return _0x5e510a;};return a38_0x1977();}function a38_0x3d55(_0x156749,_0x427394){const _0x1977d2=a38_0x1977();return a38_0x3d55=function(_0x3d5551,_0x28b1de){_0x3d5551=_0x3d5551-0x169;let _0x3bac8e=_0x1977d2[_0x3d5551];return _0x3bac8e;},a38_0x3d55(_0x156749,_0x427394);};const a38_0x384c67={};a38_0x384c67['isNewman']=isNewman,module['exports']=a38_0x384c67;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a39_0x1c48f6=a39_0x2184;(function(_0x596805,_0x49605d){const _0x6d9bb0=a39_0x2184,_0x31bfc1=_0x596805();while(!![]){try{const _0xb3fdb5=-parseInt(_0x6d9bb0(0x1c4))/0x1+-parseInt(_0x6d9bb0(0x294))/0x2*(-parseInt(_0x6d9bb0(0x237))/0x3)+parseInt(_0x6d9bb0(0x1d2))/0x4+parseInt(_0x6d9bb0(0x279))/0x5+parseInt(_0x6d9bb0(0x202))/0x6*(parseInt(_0x6d9bb0(0x204))/0x7)+parseInt(_0x6d9bb0(0x1b3))/0x8+-parseInt(_0x6d9bb0(0x22f))/0x9;if(_0xb3fdb5===_0x49605d)break;else _0x31bfc1['push'](_0x31bfc1['shift']());}catch(_0x3e2359){_0x31bfc1['push'](_0x31bfc1['shift']());}}}(a39_0x4f18,0xd7d30));const path=require(a39_0x1c48f6(0x1d5)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a39_0x1c48f6(0x23d)),{debug}=require(a39_0x1c48f6(0x1e4)),logger=require('../../../helpers/logger')[a39_0x1c48f6(0x250)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a39_0x1c48f6(0x212)),HookState=require(a39_0x1c48f6(0x281)),LOG_LEVELS=[a39_0x1c48f6(0x221),a39_0x1c48f6(0x218),a39_0x1c48f6(0x278),a39_0x1c48f6(0x276),'TRACE'];function isCLIRunning(){const _0x4a6739=a39_0x1c48f6;try{return BrowserstackCLI[_0x4a6739(0x253)]()[_0x4a6739(0x1a8)]();}catch(_0x294d9b){return![];}}function a39_0x4f18(){const _0x4cc811=['[Newman\x20Reporter]\x20emitLog\x20error:\x20','../../../helpers/test-observability/sessionHandler','POST','No\x20HTTP\x20response\x20received','erueC','err','\x20(no\x20assertions)','\x20—\x20response\x20status\x20in\x20failure\x20range','toISOString','TEST_LOG','VRJDK','maRoV','assert','kpdRU','pjtEa','dzlOS','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','durationMs','url','lZzKN','winstonLogger','push','LRZOw','getInstance','TbsIQ','duration_ms','response','test_run_uuid','apply','result','uuid','hczKR','collectionPath','failure','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','NYohi','GRyks','PeuIT','Script\x20error\x20(','AssertionError','bufferedLogs','logs','stringify','[Newman\x20Reporter]\x20emitTest\x20error:\x20','InQJP','zzLlu','UghIt','failureType','get','http://','delete','fBOKd','UsDFI','join','startedAt','LRckX','max','Assertion\x20','DEBUG','collection','ERROR','2484965iDSsmV','messages','tpiys','lastResponseCode','uYuKJ','cwd','SfVbk','rlWME','../../v2/state/hookState','ZfXup','stack','RTzib','indexOf','object','VTDjl','collectionName','wyVYD','wUPZz','FQdvM','platformIndex','failureReason','gwpXN','eQLoa','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','EhscA','kind','PCZoK','859766GnIsdx','httpLog','prZGj','logCreatedEvent','OFlwO','NTlaW','code','identifier','fCtBs','zdMeg','isRunning','bs:addLog:','jOqGt','message','console','cfpSB','lMTGE','PXCVc','ctUEZ','status_code','COPps','10988192CBkLFj','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','hAEcl','trackEvent','KmhoN','NmJYW','fxQNw','event_type','IOAtn','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','sSGHr','NBtBq','pid','Klsqp','lmUDm','MBOCL','aTjEr','690763ewpQiB','length','bQxHM','hostname','Oyvsp','newman','done','unknown','argv','relative','location','collection.json','HGYrJ','JKDuY','6276752LYcKmk','removeListener','FxgHv','path','lHcCq','cyMtx','WfioC','passed','ZQJqr','host','dtejZ','iteration','\x20(HTTP\x20','parent','xrkkF','timestamp','includes','McWtl','../../../helpers/test-observability/utils','exports','NxFSf','request','wMWmF','item','FMidT','uRKLh','ASFYz','concat','VdShf','eftoc','beforeIteration','method','startsWith','KyGBs','MsEWx','cursor','itemName','GgxCk','jBHeW','N/A','error','getTime','jdIMK','zWpiA','headers','run','Exception:\x20','uploadEventData','6xTkULs','clear','3393292KPPkjS','scopes','uJOJU','forEach','IOyEq','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','responseTime','toUpperCase','test_run','UnhandledError','ref','yzypw','HTTP','uFRRn','../../v2/state/testFrameworkState','resolve','LogCreated','now','pECix','http_response','WARN','\x20->\x20','finishedAt','utuGf','KSiRz','DVhKP','kIivM','kgjPb','backtrace','INFO','toString','info','nLACS','beforeItem','TestRunFinished','event','failure_backtrace','name','testFrameworkState','JQMNT','level','string','assertion','32753979CJQKND','pending','PRE','gHYOM','aKxEU','assertions','MXJSn','sfkLm','9FbOiXs','GET','pathname','HXekn','cqPWR'];a39_0x4f18=function(){return _0x4cc811;};return a39_0x4f18();}function getParentTitles(_0x243b1a){const _0x34ff38=a39_0x1c48f6,_0x5ab965={'TbsIQ':function(_0x4e6393,_0x38116b){return _0x4e6393(_0x38116b);},'KSiRz':function(_0x2bcb6a,_0x2c7a2c){return _0x2bcb6a(_0x2c7a2c);}},_0x37c588=[],_0x3c851b=_0x243b1a[_0x34ff38(0x1df)]();return _0x3c851b&&_0x37c588[_0x34ff38(0x251)][_0x34ff38(0x258)](_0x37c588,_0x5ab965[_0x34ff38(0x254)](getParentTitles,_0x3c851b)),_0x243b1a[_0x34ff38(0x229)]&&_0x37c588[_0x34ff38(0x251)](_0x5ab965[_0x34ff38(0x21c)](String,_0x243b1a[_0x34ff38(0x229)])),_0x37c588;}function normalizeLogLevel(_0x232ee6){const _0x4a0b83=a39_0x1c48f6,_0x373cfd={};_0x373cfd[_0x4a0b83(0x261)]=_0x4a0b83(0x221),_0x373cfd[_0x4a0b83(0x21e)]=function(_0x3c6bcc,_0x2c1090){return _0x3c6bcc!==_0x2c1090;};const _0x584f93=_0x373cfd;if(!_0x232ee6)return _0x584f93['PeuIT'];const _0x112f88=_0x232ee6[_0x4a0b83(0x20b)]();return _0x584f93[_0x4a0b83(0x21e)](LOG_LEVELS[_0x4a0b83(0x285)](_0x112f88),-0x1)?_0x112f88:_0x584f93[_0x4a0b83(0x261)];}function resolveCollectionFile(_0x555f2e,_0x305170){const _0x53ba46=a39_0x1c48f6,_0x54f7af={};_0x54f7af[_0x53ba46(0x270)]=function(_0x399bc0,_0x15aa07){return _0x399bc0===_0x15aa07;},_0x54f7af['JQMNT']=_0x53ba46(0x22d),_0x54f7af[_0x53ba46(0x28a)]=_0x53ba46(0x1ff),_0x54f7af[_0x53ba46(0x280)]=function(_0x51a4e6,_0x93bb8a){return _0x51a4e6!==_0x93bb8a;},_0x54f7af[_0x53ba46(0x246)]=function(_0x52150b,_0x44c1a3){return _0x52150b<_0x44c1a3;},_0x54f7af[_0x53ba46(0x1f7)]=function(_0x38d578,_0x485beb){return _0x38d578+_0x485beb;},_0x54f7af[_0x53ba46(0x291)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x54f7af[_0x53ba46(0x282)]=_0x53ba46(0x1cf);const _0x49ea2c=_0x54f7af;try{if(_0x305170&&_0x305170[_0x53ba46(0x25c)])return path['relative'](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x305170[_0x53ba46(0x25c)]));const _0x21f4fb=_0x555f2e['collection'];if(_0x49ea2c[_0x53ba46(0x270)](typeof _0x21f4fb,_0x49ea2c[_0x53ba46(0x22b)]))return path[_0x53ba46(0x1cd)](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x21f4fb));const _0x5029e9=process[_0x53ba46(0x1cc)][_0x53ba46(0x285)](_0x49ea2c[_0x53ba46(0x28a)]);if(_0x49ea2c[_0x53ba46(0x280)](_0x5029e9,-0x1)&&_0x49ea2c[_0x53ba46(0x246)](_0x49ea2c['GgxCk'](_0x5029e9,0x1),process['argv'][_0x53ba46(0x1c5)])){const _0x32fa04=process[_0x53ba46(0x1cc)][_0x49ea2c[_0x53ba46(0x1f7)](_0x5029e9,0x1)];if(_0x32fa04&&!_0x32fa04[_0x53ba46(0x1f2)]('-'))return path[_0x53ba46(0x1cd)](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x32fa04));}}catch(_0x355489){}return logger['info'](_0x49ea2c[_0x53ba46(0x291)]),_0x49ea2c[_0x53ba46(0x282)];}function resolveCollectionName(_0xcf87f6){const _0xf65fa=a39_0x1c48f6,_0x41aab9={};_0x41aab9['DjcGE']=function(_0x3ade02,_0x4367a9){return _0x3ade02===_0x4367a9;},_0x41aab9['eftoc']=_0xf65fa(0x286);const _0x58d2db=_0x41aab9;try{const _0x3f20c1=_0xcf87f6[_0xf65fa(0x277)];if(_0x3f20c1&&_0x58d2db['DjcGE'](typeof _0x3f20c1,_0x58d2db[_0xf65fa(0x1ef)]))return _0x3f20c1['name']||_0x3f20c1[_0xf65fa(0x223)]&&_0x3f20c1[_0xf65fa(0x223)][_0xf65fa(0x229)]||null;}catch(_0x478004){}return null;}function emitTest(_0x5f28ba,_0x5bab8c,_0x563d3b,_0x438f64,_0x520960){const _0x2989c6=a39_0x1c48f6,_0x267cd8={'MsEWx':function(_0x29f8ff){return _0x29f8ff();},'dtejZ':_0x2989c6(0x230),'lHcCq':function(_0x2fc3c8,_0x792928){return _0x2fc3c8(_0x792928);},'kpdRU':_0x2989c6(0x1c9),'xrkkF':'javascript','kgjPb':function(_0x32bfce,_0x9edec7){return _0x32bfce!=_0x9edec7;},'cfpSB':function(_0x40aac1,_0x261e29){return _0x40aac1===_0x261e29;},'uFRRn':'TestRunStarted','lmUDm':_0x2989c6(0x226)};if(_0x267cd8[_0x2989c6(0x1f4)](isCLIRunning))try{const _0x13f228=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x13f228)return;_0x13f228[_0x2989c6(0x1b6)](TestFrameworkState['TEST'],_0x5f28ba,{'test':{'uuid':_0x5bab8c['uuid'],'name':_0x5bab8c[_0x2989c6(0x229)],'scopes':_0x563d3b[_0x2989c6(0x205)],'scope':_0x563d3b[_0x2989c6(0x205)][_0x2989c6(0x271)]('\x20'),'file_path':_0x438f64,'location':_0x563d3b[_0x2989c6(0x288)],'started_at':_0x563d3b[_0x2989c6(0x272)],'finished_at':_0x520960[_0x2989c6(0x21a)]||null,'result':_0x520960[_0x2989c6(0x259)]||_0x267cd8[_0x2989c6(0x1dc)],'failure':_0x520960[_0x2989c6(0x25d)]||[],'failure_type':_0x520960['failureType']||null,'failure_reason':_0x520960[_0x2989c6(0x28d)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x301358){_0x267cd8[_0x2989c6(0x1d6)](debug,_0x2989c6(0x267)+_0x301358);}else{const _0x510b15={'uuid':_0x5bab8c[_0x2989c6(0x25a)],'name':_0x5bab8c[_0x2989c6(0x229)],'framework':_0x267cd8[_0x2989c6(0x249)],'body':{'lang':_0x267cd8[_0x2989c6(0x1e0)],'code':null},'scope':_0x563d3b[_0x2989c6(0x205)][_0x2989c6(0x271)]('\x20'),'scopes':_0x563d3b[_0x2989c6(0x205)],'identifier':_0x5bab8c[_0x2989c6(0x1a5)],'file_name':_0x563d3b[_0x2989c6(0x288)],'vc_filepath':_0x563d3b[_0x2989c6(0x1ce)],'location':_0x563d3b[_0x2989c6(0x1ce)],'started_at':_0x563d3b[_0x2989c6(0x272)],'finished_at':_0x520960[_0x2989c6(0x21a)]||null,'duration_in_ms':_0x267cd8[_0x2989c6(0x21f)](_0x520960[_0x2989c6(0x24d)],null)?Math[_0x2989c6(0x274)](0x0,_0x520960['durationMs']):null,'result':_0x520960['result']||_0x267cd8[_0x2989c6(0x1dc)],'failure_reason':_0x520960[_0x2989c6(0x28d)]||null,'failure_type':_0x520960['failureType']||null,'failure':_0x520960['failure']||[],'retry_of':null,'hooks':[]};_0x510b15['failure'][0x0]&&(_0x510b15[_0x2989c6(0x228)]=_0x510b15[_0x2989c6(0x25d)][0x0][_0x2989c6(0x220)],_0x510b15['failure_reason_expanded']=_0x510b15['failure'][0x0]['expanded']);const _0xadd50f=_0x267cd8[_0x2989c6(0x1ad)](_0x5f28ba,HookState[_0x2989c6(0x231)])?_0x267cd8[_0x2989c6(0x211)]:_0x267cd8[_0x2989c6(0x1c1)],_0xffe447={};_0xffe447[_0x2989c6(0x1ba)]=_0xadd50f,_0xffe447[_0x2989c6(0x20c)]=_0x510b15,SessionHandler[_0x2989c6(0x201)](_0xffe447);}}function emitLog(_0x3b3793,_0x1dd0e8){const _0x1665e5=a39_0x1c48f6,_0x362b7f={'oYliG':_0x1665e5(0x245),'nuGop':function(_0x1e7170){return _0x1e7170();},'pECix':function(_0x4933d7,_0x188610){return _0x4933d7===_0x188610;},'MXJSn':_0x1665e5(0x210),'FQdvM':'newman','WfioC':'TEST','KmhoN':_0x1665e5(0x221),'pjtEa':function(_0x54ee37,_0x481c8f){return _0x54ee37(_0x481c8f);},'VTDjl':function(_0xf06d61,_0x2cc880){return _0xf06d61+_0x2cc880;},'McWtl':_0x1665e5(0x23c),'nKyXH':_0x1665e5(0x214)},_0x3aec32=_0x1dd0e8['kind']||_0x362b7f['oYliG'],_0x29ff7c=_0x1dd0e8[_0x1665e5(0x1e1)]||new Date()[_0x1665e5(0x244)]();if(_0x362b7f['nuGop'](isCLIRunning))try{const _0x21a1ed=_0x362b7f[_0x1665e5(0x216)](_0x3aec32,_0x362b7f[_0x1665e5(0x235)])?JSON[_0x1665e5(0x266)](_0x1dd0e8):_0x1dd0e8[_0x1665e5(0x1ab)]||'',_0x5b6513={};_0x5b6513[_0x1665e5(0x28c)]=0x0,_0x5b6513['testFrameworkName']=_0x362b7f[_0x1665e5(0x28b)],_0x5b6513['testFrameworkVersion']='',_0x5b6513[_0x1665e5(0x22a)]=_0x362b7f[_0x1665e5(0x1d8)],_0x5b6513['logs']=[{'uuid':_0x3b3793,'timestamp':_0x29ff7c,'kind':_0x3aec32,'level':_0x1dd0e8['level']||_0x362b7f[_0x1665e5(0x1b7)],'message':_0x21a1ed}],GrpcClient[_0x1665e5(0x253)]()[_0x1665e5(0x297)](_0x5b6513);}catch(_0xbad4b5){_0x362b7f[_0x1665e5(0x24a)](debug,_0x362b7f[_0x1665e5(0x287)](_0x362b7f[_0x1665e5(0x1e3)],_0xbad4b5));}else{const _0x1850e1={};_0x1850e1[_0x1665e5(0x257)]=_0x3b3793,_0x1850e1[_0x1665e5(0x1e1)]=_0x29ff7c,_0x1850e1['level']=_0x1dd0e8[_0x1665e5(0x22c)]||null,_0x1850e1[_0x1665e5(0x1ab)]=_0x1dd0e8['message']||null,_0x1850e1[_0x1665e5(0x292)]=_0x3aec32,_0x1850e1[_0x1665e5(0x217)]=_0x1dd0e8['http_response']||{};const _0x44ab3d={};_0x44ab3d[_0x1665e5(0x1ba)]=_0x362b7f['nKyXH'],_0x44ab3d[_0x1665e5(0x265)]=[_0x1850e1],SessionHandler['uploadEventData'](_0x44ab3d);}}function a39_0x2184(_0x46b333,_0x76ce21){const _0x4f184e=a39_0x4f18();return a39_0x2184=function(_0x2184db,_0x2e7e12){_0x2184db=_0x2184db-0x1a2;let _0x1f8105=_0x4f184e[_0x2184db];return _0x1f8105;},a39_0x2184(_0x46b333,_0x76ce21);}function BrowserStackNewmanReporter(_0x287369,_0x5a6b76,_0x20b3ac){const _0x543f05=a39_0x1c48f6,_0x2444bf={'NxFSf':function(_0x42de42,_0x5b8915,_0x232d1d){return _0x42de42(_0x5b8915,_0x232d1d);},'ahWqD':function(_0x1b0973,_0x26e285){return _0x1b0973(_0x26e285);},'jBHeW':function(_0x34f263,_0x2f54f1){return _0x34f263(_0x2f54f1);},'jdIMK':function(_0x4ba263,_0x358652){return _0x4ba263>_0x358652;},'cqPWR':function(_0x1a1267,_0x4790c4){return _0x1a1267(_0x4790c4);},'sfkLm':'http','eQLoa':function(_0xa51160,_0x544f7d){return _0xa51160+_0x544f7d;},'OFlwO':_0x543f05(0x238),'yzypw':function(_0x2ab6d6,_0x2ab30f){return _0x2ab6d6(_0x2ab30f);},'zWpiA':_0x543f05(0x245),'bQxHM':function(_0x137002){return _0x137002();},'VdShf':function(_0x4977ef,_0x36690c){return _0x4977ef||_0x36690c;},'DVhKP':function(_0x35b450,_0x288e3d,_0x17f68b,_0x290ddb,_0x468f72,_0x24d99b){return _0x35b450(_0x288e3d,_0x17f68b,_0x290ddb,_0x468f72,_0x24d99b);},'RTzib':function(_0x47ded0,_0x19adea){return _0x47ded0===_0x19adea;},'zzLlu':function(_0x50f1ee,_0x59f161){return _0x50f1ee>_0x59f161;},'hAEcl':function(_0xf9cfb7,_0x2eefc9,_0x5ec954){return _0xf9cfb7(_0x2eefc9,_0x5ec954);},'PXCVc':'HTTP','SfVbk':function(_0x3d376c,_0x2153e3){return _0x3d376c+_0x2153e3;},'InQJP':function(_0x58c919,_0x24c313){return _0x58c919+_0x24c313;},'fxQNw':function(_0x132e28,_0x1c09a2){return _0x132e28+_0x1c09a2;},'maRoV':function(_0x2612d2,_0x379bcf){return _0x2612d2+_0x379bcf;},'NYohi':_0x543f05(0x219),'hczKR':'ms)','fBOKd':function(_0x10c539,_0x326afc,_0x14b7ca){return _0x10c539(_0x326afc,_0x14b7ca);},'IOAtn':_0x543f05(0x221),'ctUEZ':function(_0x577ea9,_0x392c92){return _0x577ea9(_0x392c92);},'GRyks':function(_0x593d24,_0x5930d2){return _0x593d24-_0x5930d2;},'nLACS':function(_0x20d22d,_0x188630,_0x4ee34d){return _0x20d22d(_0x188630,_0x4ee34d);},'kOdBq':function(_0x1e65c8,_0x3db8ef){return _0x1e65c8&&_0x3db8ef;},'MBOCL':function(_0x3ff43e,_0x7c437b){return _0x3ff43e>_0x7c437b;},'UghIt':function(_0x4cc5e5,_0x511f0d){return _0x4cc5e5-_0x511f0d;},'utuGf':function(_0x430b28,_0x1ee4cb,_0x1fcb8d){return _0x430b28(_0x1ee4cb,_0x1fcb8d);},'IOyEq':_0x543f05(0x200),'tpiys':'ERROR','NTlaW':function(_0x3cdf10,_0x2f135b){return _0x3cdf10(_0x2f135b);},'NBtBq':function(_0x3fa9d6,_0xba6821){return _0x3fa9d6+_0xba6821;},'NmJYW':_0x543f05(0x290),'COPps':function(_0x39aab1,_0x39289a){return _0x39aab1-_0x39289a;},'uYuKJ':_0x543f05(0x1cb),'dzlOS':function(_0x48a9c6,_0x16bf53,_0x34edb0){return _0x48a9c6(_0x16bf53,_0x34edb0);},'Klsqp':function(_0x5eaa67,_0x4b4b9d){return _0x5eaa67+_0x4b4b9d;},'aTjEr':function(_0x1f9e5c,_0x59f7a9){return _0x1f9e5c+_0x59f7a9;},'gwpXN':_0x543f05(0x262),'YOcxN':'):\x20','LRZOw':function(_0x2cbb40,_0xddfda4){return _0x2cbb40+_0xddfda4;},'GWWqo':_0x543f05(0x1b4),'sSGHr':'failed','ASFYz':_0x543f05(0x1d9),'uJOJU':_0x543f05(0x263),'PCZoK':_0x543f05(0x248),'lMTGE':_0x543f05(0x20d),'LRckX':function(_0x1533a3,_0x4170c1,_0x40f865,_0x3f2681,_0x42789b,_0x37eadf){return _0x1533a3(_0x4170c1,_0x40f865,_0x3f2681,_0x42789b,_0x37eadf);},'JowOF':function(_0x523d67,_0x1a2d69){return _0x523d67>_0x1a2d69;},'nehrv':function(_0x356432){return _0x356432();},'uRKLh':function(_0x1b0ca8,_0x249a54){return _0x1b0ca8!=_0x249a54;},'JKXYI':function(_0x8979db,_0x4f4f2a){return _0x8979db>=_0x4f4f2a;},'vkJfv':function(_0x46997b,_0xac7667){return _0x46997b<_0xac7667;},'Oyvsp':_0x543f05(0x1f9),'ZnseW':_0x543f05(0x23f),'ZQJqr':function(_0x494063,_0x540d99,_0x5ee173,_0x342f5d,_0x509bf4,_0x3e5aff){return _0x494063(_0x540d99,_0x5ee173,_0x342f5d,_0x509bf4,_0x3e5aff);},'erueC':function(_0x4ce8e5,_0x53a1af){return _0x4ce8e5+_0x53a1af;},'HXekn':function(_0xb8f534,_0x508e9f){return _0xb8f534+_0x508e9f;},'lZzKN':function(_0x3304fe,_0x5d8d42){return _0x3304fe+_0x5d8d42;},'cyMtx':function(_0x18cef9,_0x35efa2){return _0x18cef9+_0x35efa2;},'mJgpr':function(_0x291966,_0x3484ba){return _0x291966+_0x3484ba;},'gHYOM':'HTTP\x20Status:\x20','wKcSI':_0x543f05(0x242),'FxgHv':function(_0x49fa1d,_0x320f95,_0x2da266,_0x563fad,_0x497f26,_0x2d2abf){return _0x49fa1d(_0x320f95,_0x2da266,_0x563fad,_0x497f26,_0x2d2abf);},'KVSjq':function(_0x5d0179,_0x3daa7a){return _0x5d0179(_0x3daa7a);},'iAyMp':_0x543f05(0x1ca),'pLvHf':_0x543f05(0x1f0),'prZGj':_0x543f05(0x225),'FMidT':'request','wMWmF':_0x543f05(0x22e),'aKxEU':_0x543f05(0x1ac),'fCtBs':'exception','jOqGt':'script','wyVYD':_0x543f05(0x1e9)},_0x3c4fb3=new Map();let _0x36240c=null,_0x378df9=0x0;const _0x38a3a6=_0x2444bf[_0x543f05(0x224)](resolveCollectionFile,_0x20b3ac,_0x5a6b76),_0x3adeaa=_0x2444bf[_0x543f05(0x23b)](resolveCollectionName,_0x20b3ac)||_0x38a3a6,_0x28db07=path['resolve'](_0x38a3a6),_0x57eb74=_0x543f05(0x1a9)+process[_0x543f05(0x1bf)],_0x477e62=_0x3d7ebf=>{const _0x16a3b4=_0x543f05;try{_0x36240c&&_0x2444bf[_0x16a3b4(0x1e6)](emitLog,_0x36240c,_0x3d7ebf);}catch(_0x3c23e2){_0x2444bf['ahWqD'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x3c23e2);}};process['on'](_0x57eb74,_0x477e62),_0x287369['on'](_0x2444bf['iAyMp'],()=>{const _0x1acb30=_0x543f05;process[_0x1acb30(0x1d3)](_0x57eb74,_0x477e62),_0x3c4fb3[_0x1acb30(0x203)]();}),_0x287369['on'](_0x2444bf['pLvHf'],(_0x493819,_0x1ca2e4)=>{const _0x35c680=_0x543f05;_0x1ca2e4&&_0x1ca2e4[_0x35c680(0x1f5)]&&(_0x378df9=_0x1ca2e4[_0x35c680(0x1f5)][_0x35c680(0x1dd)]||0x0);}),_0x287369['on'](_0x2444bf[_0x543f05(0x296)],(_0x3fb19a,_0x32569)=>{const _0x43ccfd=_0x543f05;try{_0x36240c=null;const _0x12126c=_0x32569[_0x43ccfd(0x1e9)],_0x529c30=_0x12126c[_0x43ccfd(0x1df)]()?_0x2444bf[_0x43ccfd(0x1f8)](getParentTitles,_0x12126c[_0x43ccfd(0x1df)]()):[],_0x2c0944=_0x2444bf[_0x43ccfd(0x1fc)](_0x529c30['length'],0x1)?_0x529c30['slice'](0x1):_0x529c30,_0x26f264=_0x32569['cursor']&&_0x32569[_0x43ccfd(0x1f5)][_0x43ccfd(0x20e)],_0x1e6cdf={'itemName':_0x12126c[_0x43ccfd(0x229)],'scopes':_0x2c0944['concat']([_0x12126c['name']]),'location':_0x38a3a6,'collectionName':_0x3adeaa,'startedAt':new Date()[_0x43ccfd(0x244)](),'startTimestamp':Date[_0x43ccfd(0x215)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3c4fb3['set'](_0x12126c['id']+'_'+_0x378df9,_0x1e6cdf),_0x26f264&&_0x3c4fb3['set'](_0x26f264+'_'+_0x378df9,_0x1e6cdf);}catch(_0x12163b){_0x2444bf[_0x43ccfd(0x23b)](debug,_0x43ccfd(0x1bc)+_0x12163b);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1ea)],(_0x332755,_0x5ba9a7)=>{const _0x2f78dc=_0x543f05;try{if(!_0x5ba9a7||!_0x5ba9a7['item'])return;const _0x1be57c=_0x3c4fb3[_0x2f78dc(0x26c)](_0x5ba9a7[_0x2f78dc(0x1e9)]['id']+'_'+_0x378df9);if(!_0x1be57c)return;_0x5ba9a7['response']&&(_0x1be57c[_0x2f78dc(0x27c)]=_0x5ba9a7['response'][_0x2f78dc(0x1a4)]||null);if(!_0x5ba9a7[_0x2f78dc(0x1e7)])return;let _0x2d34c3='',_0x4a2dec='';if(_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x24e)])try{const _0x962e62=_0x5ba9a7['request'][_0x2f78dc(0x24e)]['toString'](),_0x510064=new URL(_0x962e62[_0x2f78dc(0x1f2)](_0x2444bf[_0x2f78dc(0x236)])?_0x962e62:_0x2f78dc(0x26d)+_0x962e62);_0x2d34c3=_0x510064[_0x2f78dc(0x1c7)],_0x4a2dec=_0x2444bf[_0x2f78dc(0x28f)](_0x510064[_0x2f78dc(0x239)],_0x510064['search']);}catch(_0x44e1d8){_0x4a2dec=_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x24e)][_0x2f78dc(0x222)]();}const _0x35bc17={};_0x35bc17[_0x2f78dc(0x1db)]=_0x2d34c3,_0x35bc17['path']=_0x4a2dec,_0x35bc17[_0x2f78dc(0x1f1)]=_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x1f1)]||_0x2444bf[_0x2f78dc(0x1a2)],_0x35bc17[_0x2f78dc(0x1fe)]={},_0x35bc17[_0x2f78dc(0x1b1)]=_0x5ba9a7[_0x2f78dc(0x256)]?_0x5ba9a7[_0x2f78dc(0x256)][_0x2f78dc(0x1a4)]||0x0:0x0,_0x35bc17['duration_ms']=_0x5ba9a7[_0x2f78dc(0x256)]?_0x5ba9a7[_0x2f78dc(0x256)][_0x2f78dc(0x20a)]||0x0:0x0,_0x1be57c[_0x2f78dc(0x295)]=_0x35bc17;}catch(_0x39ff86){_0x2444bf[_0x2f78dc(0x20f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x39ff86);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1e8)],(_0x4cff0b,_0xcc8dad)=>{const _0x244498=_0x543f05,_0x1b70af={'JKDuY':function(_0x1c3ce1,_0x2d114e,_0x31e1b2){return _0x2444bf['NxFSf'](_0x1c3ce1,_0x2d114e,_0x31e1b2);},'KyGBs':_0x2444bf[_0x244498(0x1fd)]};try{if(!_0xcc8dad||!_0xcc8dad[_0x244498(0x1e9)])return;const _0x52032f=_0x3c4fb3[_0x244498(0x26c)](_0xcc8dad[_0x244498(0x1e9)]['id']+'_'+_0x378df9);if(!_0x52032f)return;const _0x2b9228=_0xcc8dad[_0x244498(0x22e)]||_0x244498(0x275)+_0x2444bf['eQLoa'](_0x52032f[_0x244498(0x234)][_0x244498(0x1c5)],0x1),_0x436336=_0x2444bf[_0x244498(0x1c6)](uuidv4),_0x4bbcd9=_0x52032f['scopes'][_0x244498(0x1ed)]([_0x2b9228])[_0x244498(0x271)]('\x20');_0x52032f['assertions'][_0x244498(0x251)]({'uuid':_0x436336,'name':_0x2b9228,'identifier':_0x4bbcd9,'err':_0x2444bf[_0x244498(0x1ee)](_0x4cff0b,null)});const _0x372cc6={};_0x372cc6['uuid']=_0x436336,_0x372cc6[_0x244498(0x229)]=_0x2b9228,_0x372cc6['identifier']=_0x4bbcd9,_0x2444bf[_0x244498(0x21d)](emitTest,HookState[_0x244498(0x231)],_0x372cc6,_0x52032f,_0x28db07,{});_0x2444bf[_0x244498(0x284)](_0x52032f['assertions']['length'],0x1)&&_0x2444bf[_0x244498(0x269)](_0x52032f[_0x244498(0x264)][_0x244498(0x1c5)],0x0)&&(_0x52032f[_0x244498(0x264)][_0x244498(0x207)](_0x590a2c=>{const _0x33e079=_0x244498;_0x1b70af[_0x33e079(0x1d1)](emitLog,_0x436336,{'kind':_0x1b70af[_0x33e079(0x1f3)],'message':_0x590a2c[_0x33e079(0x1ab)],'level':_0x590a2c[_0x33e079(0x22c)]});}),_0x52032f[_0x244498(0x264)]=[]);if(_0x52032f['httpLog']){_0x2444bf[_0x244498(0x1b5)](emitLog,_0x436336,{'kind':_0x2444bf['PXCVc'],'http_response':_0x52032f[_0x244498(0x295)]});const _0xdec252=_0x2444bf[_0x244498(0x27f)](_0x2444bf[_0x244498(0x268)](_0x2444bf['eQLoa'](_0x2444bf[_0x244498(0x1b9)](_0x2444bf[_0x244498(0x247)](_0x2444bf[_0x244498(0x1b9)](_0x2444bf[_0x244498(0x28f)](_0x2444bf[_0x244498(0x1b9)](_0x52032f['httpLog'][_0x244498(0x1f1)]||_0x2444bf[_0x244498(0x1a2)],'\x20'),_0x52032f[_0x244498(0x295)][_0x244498(0x1db)]),_0x52032f[_0x244498(0x295)][_0x244498(0x1d5)]),_0x2444bf[_0x244498(0x25f)]),_0x52032f[_0x244498(0x295)][_0x244498(0x1b1)]),'\x20('),_0x52032f[_0x244498(0x295)]['duration_ms']),_0x2444bf[_0x244498(0x25b)]);_0x2444bf[_0x244498(0x26f)](emitLog,_0x436336,{'kind':_0x2444bf['zWpiA'],'message':_0xdec252,'level':_0x2444bf[_0x244498(0x1bb)]});}_0x36240c=_0x436336;}catch(_0x3b5595){_0x2444bf[_0x244498(0x1b0)](debug,_0x244498(0x24c)+_0x3b5595);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x233)],(_0x32e6f1,_0x5e5639)=>{const _0x7579fe=_0x543f05;try{if(!_0x5e5639)return;let _0x53dbaf=_0x36240c;if(!_0x53dbaf&&_0x5e5639[_0x7579fe(0x1f5)]&&_0x5e5639[_0x7579fe(0x1f5)]['ref']){const _0x1c917e=_0x3c4fb3['get'](_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]+'_'+_0x378df9);_0x1c917e&&_0x2444bf[_0x7579fe(0x1fc)](_0x1c917e[_0x7579fe(0x234)][_0x7579fe(0x1c5)],0x0)&&(_0x53dbaf=_0x1c917e[_0x7579fe(0x234)][_0x2444bf[_0x7579fe(0x260)](_0x1c917e['assertions'][_0x7579fe(0x1c5)],0x1)][_0x7579fe(0x25a)]);}const _0x2e019d=_0x5e5639[_0x7579fe(0x27a)]?_0x5e5639[_0x7579fe(0x27a)][_0x7579fe(0x271)](',\x20'):'';if(_0x53dbaf)_0x2444bf[_0x7579fe(0x224)](emitLog,_0x53dbaf,{'kind':_0x2444bf[_0x7579fe(0x1fd)],'message':_0x2e019d,'level':_0x2444bf[_0x7579fe(0x1b0)](normalizeLogLevel,_0x5e5639[_0x7579fe(0x22c)])});else{if(_0x5e5639[_0x7579fe(0x1f5)]&&_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]){const _0x4ffb66=_0x3c4fb3[_0x7579fe(0x26c)](_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]+'_'+_0x378df9);_0x4ffb66&&_0x4ffb66[_0x7579fe(0x264)][_0x7579fe(0x251)]({'timestamp':new Date()[_0x7579fe(0x244)](),'level':_0x2444bf[_0x7579fe(0x20f)](normalizeLogLevel,_0x5e5639[_0x7579fe(0x22c)]),'message':_0x2e019d});}}}catch(_0x38d7ae){_0x2444bf['ctUEZ'](debug,_0x7579fe(0x25e)+_0x38d7ae);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1a6)],(_0x30c3ef,_0x5f556a)=>{const _0x491b61=_0x543f05;try{if(!_0x30c3ef&&(!_0x5f556a||!_0x5f556a[_0x491b61(0x1fa)]))return;const _0x3e33c1=_0x30c3ef||_0x5f556a[_0x491b61(0x1fa)],_0x22260f=_0x3e33c1[_0x491b61(0x1ab)]||_0x2444bf[_0x491b61(0x23b)](String,_0x3e33c1),_0x4ccf7a=_0x3e33c1[_0x491b61(0x283)]||_0x22260f;let _0xc03e0e=_0x36240c;if(_0x2444bf['kOdBq'](!_0xc03e0e,_0x5f556a)&&_0x5f556a[_0x491b61(0x1f5)]&&_0x5f556a[_0x491b61(0x1f5)][_0x491b61(0x20e)]){const _0x39dd5a=_0x3c4fb3['get'](_0x5f556a['cursor'][_0x491b61(0x20e)]+'_'+_0x378df9);_0x39dd5a&&_0x2444bf[_0x491b61(0x1c2)](_0x39dd5a['assertions'][_0x491b61(0x1c5)],0x0)&&(_0xc03e0e=_0x39dd5a[_0x491b61(0x234)][_0x2444bf[_0x491b61(0x26a)](_0x39dd5a['assertions']['length'],0x1)]['uuid']);}_0xc03e0e&&_0x2444bf[_0x491b61(0x21b)](emitLog,_0xc03e0e,{'kind':_0x2444bf[_0x491b61(0x1fd)],'message':_0x2444bf[_0x491b61(0x247)](_0x2444bf[_0x491b61(0x208)],_0x4ccf7a),'level':_0x2444bf['tpiys']});}catch(_0xd1caf2){_0x2444bf[_0x491b61(0x1a3)](debug,_0x2444bf[_0x491b61(0x1be)](_0x2444bf[_0x491b61(0x1b8)],_0xd1caf2));}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1aa)],(_0x57562a,_0x3fbc0c)=>{const _0x1b0d51=_0x543f05;try{if(!_0x3fbc0c||!_0x3fbc0c['execution'])return;let _0x36413a=_0x36240c;if(!_0x36413a&&_0x3fbc0c[_0x1b0d51(0x1f5)]&&_0x3fbc0c[_0x1b0d51(0x1f5)][_0x1b0d51(0x20e)]){const _0x4e2d03=_0x3c4fb3[_0x1b0d51(0x26c)](_0x3fbc0c['cursor'][_0x1b0d51(0x20e)]+'_'+_0x378df9);_0x4e2d03&&_0x2444bf[_0x1b0d51(0x1fc)](_0x4e2d03['assertions'][_0x1b0d51(0x1c5)],0x0)&&(_0x36413a=_0x4e2d03[_0x1b0d51(0x234)][_0x2444bf[_0x1b0d51(0x1b2)](_0x4e2d03[_0x1b0d51(0x234)][_0x1b0d51(0x1c5)],0x1)][_0x1b0d51(0x25a)]);}if(!_0x36413a)return;const _0x9f69ab=_0x3fbc0c[_0x1b0d51(0x227)]&&_0x3fbc0c['event']['listen']||_0x2444bf[_0x1b0d51(0x27d)];_0x57562a&&_0x2444bf[_0x1b0d51(0x24b)](emitLog,_0x36413a,{'kind':_0x2444bf[_0x1b0d51(0x1fd)],'message':_0x2444bf['maRoV'](_0x2444bf[_0x1b0d51(0x1c0)](_0x2444bf['aTjEr'](_0x2444bf[_0x1b0d51(0x28e)],_0x9f69ab),_0x2444bf['YOcxN']),_0x57562a[_0x1b0d51(0x1ab)]||_0x57562a),'level':_0x2444bf[_0x1b0d51(0x27b)]});}catch(_0x14a1ee){_0x2444bf[_0x1b0d51(0x1f8)](debug,_0x2444bf[_0x1b0d51(0x252)](_0x2444bf['GWWqo'],_0x14a1ee));}}),_0x287369['on'](_0x2444bf[_0x543f05(0x289)],(_0x11bd11,_0xb8b060)=>{const _0x711c22=_0x543f05,_0x490bd5={'HGYrJ':function(_0x765aae,_0xccb68e,_0x5d0b6e){const _0x26f0d2=a39_0x2184;return _0x2444bf[_0x26f0d2(0x224)](_0x765aae,_0xccb68e,_0x5d0b6e);},'zdMeg':_0x2444bf[_0x711c22(0x1fd)]};try{if(!_0xb8b060||!_0xb8b060[_0x711c22(0x1e9)])return;const _0x4ea3cd=_0xb8b060[_0x711c22(0x1e9)]['id']+'_'+_0x378df9,_0x491434=_0x3c4fb3['get'](_0x4ea3cd);if(!_0x491434)return;const _0x148701=new Date(),_0x10d438=_0x2444bf[_0x711c22(0x260)](_0x148701[_0x711c22(0x1fb)](),_0x491434['startTimestamp']);if(_0x2444bf['JowOF'](_0x491434['assertions'][_0x711c22(0x1c5)],0x0))_0x491434[_0x711c22(0x234)][_0x711c22(0x207)](_0x516387=>{const _0x4c05b0=_0x711c22,_0x253b66=!!_0x516387[_0x4c05b0(0x241)],_0x18a90d={'finishedAt':_0x148701[_0x4c05b0(0x244)](),'durationMs':_0x10d438,'result':_0x253b66?_0x2444bf[_0x4c05b0(0x1bd)]:_0x2444bf['ASFYz']};_0x253b66&&(_0x18a90d[_0x4c05b0(0x28d)]=_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x1ab)]||'',_0x18a90d[_0x4c05b0(0x26b)]=_0x2444bf[_0x4c05b0(0x284)](_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x229)],_0x2444bf[_0x4c05b0(0x206)])||_0x516387[_0x4c05b0(0x241)]['message']&&_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x1ab)][_0x4c05b0(0x1e2)](_0x2444bf[_0x4c05b0(0x293)])?_0x2444bf[_0x4c05b0(0x206)]:_0x2444bf[_0x4c05b0(0x1ae)],_0x18a90d['failure']=[{'backtrace':_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x283)]?_0x516387['err'][_0x4c05b0(0x283)]['split']('\x0a'):[_0x516387['err'][_0x4c05b0(0x1ab)]||''],'expanded':[]}]),_0x2444bf[_0x4c05b0(0x273)](emitTest,HookState[_0x4c05b0(0x23e)],_0x516387,_0x491434,_0x28db07,_0x18a90d);});else{const _0x1e7993=_0x2444bf['nehrv'](uuidv4),_0x51af0c=_0x491434[_0x711c22(0x27c)],_0x7c1630=_0x2444bf['uRKLh'](_0x51af0c,null)&&_0x2444bf['JKXYI'](_0x51af0c,0xc8)&&_0x2444bf['vkJfv'](_0x51af0c,0x190),_0x574079=_0x491434[_0x711c22(0x1f6)]+_0x711c22(0x1de)+_0x2444bf[_0x711c22(0x1ee)](_0x51af0c,_0x2444bf[_0x711c22(0x1c8)])+')',_0x468e8c={'uuid':_0x1e7993,'name':_0x574079,'identifier':_0x491434[_0x711c22(0x205)][_0x711c22(0x1ed)]([_0x574079])[_0x711c22(0x271)]('\x20')},_0x333164={'finishedAt':_0x148701[_0x711c22(0x244)](),'durationMs':_0x10d438,'result':_0x7c1630?_0x2444bf[_0x711c22(0x1ec)]:_0x2444bf[_0x711c22(0x1bd)]};!_0x7c1630&&(_0x333164[_0x711c22(0x28d)]=_0x2444bf[_0x711c22(0x1eb)](_0x51af0c,null)?'HTTP\x20'+_0x51af0c+_0x711c22(0x243):_0x2444bf['ZnseW'],_0x333164[_0x711c22(0x26b)]=_0x2444bf[_0x711c22(0x1ae)],_0x333164[_0x711c22(0x25d)]=[{'backtrace':[_0x333164[_0x711c22(0x28d)]],'expanded':[]}]);_0x2444bf[_0x711c22(0x1da)](emitTest,HookState[_0x711c22(0x231)],_0x468e8c,_0x491434,_0x28db07,{}),_0x491434[_0x711c22(0x264)][_0x711c22(0x207)](_0x5c48a1=>{const _0x389210=_0x711c22;_0x490bd5[_0x389210(0x1d0)](emitLog,_0x1e7993,{'kind':_0x490bd5[_0x389210(0x1a7)],'message':_0x5c48a1[_0x389210(0x1ab)],'level':_0x5c48a1[_0x389210(0x22c)]});});if(_0x491434[_0x711c22(0x295)]){_0x2444bf[_0x711c22(0x21b)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1af)],'http_response':_0x491434[_0x711c22(0x295)]});const _0xca1f57=_0x2444bf['SfVbk'](_0x2444bf[_0x711c22(0x1c3)](_0x2444bf[_0x711c22(0x240)](_0x2444bf['NBtBq'](_0x2444bf[_0x711c22(0x1be)](_0x2444bf[_0x711c22(0x23a)](_0x2444bf[_0x711c22(0x24f)](_0x2444bf['Klsqp'](_0x491434[_0x711c22(0x295)][_0x711c22(0x1f1)]||_0x2444bf[_0x711c22(0x1a2)],'\x20'),_0x491434['httpLog']['host']),_0x491434[_0x711c22(0x295)]['path']),_0x2444bf[_0x711c22(0x25f)]),_0x491434[_0x711c22(0x295)][_0x711c22(0x1b1)]),'\x20('),_0x491434[_0x711c22(0x295)][_0x711c22(0x255)]),_0x2444bf['hczKR']);_0x2444bf[_0x711c22(0x224)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1fd)],'message':_0xca1f57,'level':_0x2444bf[_0x711c22(0x1bb)]});}else _0x2444bf[_0x711c22(0x24b)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1fd)],'message':_0x2444bf[_0x711c22(0x1d7)](_0x2444bf['mJgpr'](_0x2444bf[_0x711c22(0x232)],_0x2444bf['VdShf'](_0x51af0c,_0x2444bf[_0x711c22(0x1c8)])),_0x2444bf['wKcSI']),'level':_0x2444bf[_0x711c22(0x1bb)]});_0x2444bf[_0x711c22(0x1d4)](emitTest,HookState[_0x711c22(0x23e)],_0x468e8c,_0x491434,_0x28db07,_0x333164);}_0x3c4fb3[_0x711c22(0x26e)](_0x4ea3cd),_0xb8b060[_0x711c22(0x1f5)]&&_0xb8b060['cursor'][_0x711c22(0x20e)]&&_0x3c4fb3[_0x711c22(0x26e)](_0xb8b060[_0x711c22(0x1f5)]['ref']+'_'+_0x378df9);}catch(_0x56c573){_0x2444bf['KVSjq'](debug,_0x711c22(0x209)+_0x56c573);}});}module[a39_0x1c48f6(0x1e5)]=BrowserStackNewmanReporter;
|
|
1
|
+
'use strict';const a39_0x3ec2d1=a39_0x4f45;(function(_0x465c45,_0x140cb5){const _0x3bdf7c=a39_0x4f45,_0x103d39=_0x465c45();while(!![]){try{const _0x221257=parseInt(_0x3bdf7c(0x176))/0x1*(-parseInt(_0x3bdf7c(0x1b6))/0x2)+parseInt(_0x3bdf7c(0x227))/0x3*(parseInt(_0x3bdf7c(0x173))/0x4)+parseInt(_0x3bdf7c(0x194))/0x5*(-parseInt(_0x3bdf7c(0x1c0))/0x6)+parseInt(_0x3bdf7c(0x1b5))/0x7+parseInt(_0x3bdf7c(0x203))/0x8+parseInt(_0x3bdf7c(0x240))/0x9+-parseInt(_0x3bdf7c(0x1b8))/0xa;if(_0x221257===_0x140cb5)break;else _0x103d39['push'](_0x103d39['shift']());}catch(_0x59e546){_0x103d39['push'](_0x103d39['shift']());}}}(a39_0x32ce,0x671ec));const path=require('path'),{v4:uuidv4}=require(a39_0x3ec2d1(0x212)),SessionHandler=require(a39_0x3ec2d1(0x190)),{debug}=require('../../../helpers/test-observability/utils'),logger=require('../../../helpers/logger')[a39_0x3ec2d1(0x1b4)],BrowserstackCLI=require(a39_0x3ec2d1(0x1ae)),GrpcClient=require(a39_0x3ec2d1(0x1ee)),TestFrameworkState=require(a39_0x3ec2d1(0x1bf)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a39_0x3ec2d1(0x23d),a39_0x3ec2d1(0x1a5),'ERROR',a39_0x3ec2d1(0x1b7),a39_0x3ec2d1(0x22b)];function isCLIRunning(){const _0x11c38e=a39_0x3ec2d1;try{return BrowserstackCLI[_0x11c38e(0x21c)]()['isRunning']();}catch(_0x167c9c){return![];}}function getParentTitles(_0x4a617b){const _0x4082b3=a39_0x3ec2d1,_0x28ebfe={'EErLT':function(_0x5ca7f7,_0x40437a){return _0x5ca7f7(_0x40437a);},'GgvtG':function(_0x12ae73,_0x516072){return _0x12ae73(_0x516072);}},_0x3e1b7b=[],_0x49aa7f=_0x4a617b[_0x4082b3(0x175)]();return _0x49aa7f&&_0x3e1b7b[_0x4082b3(0x1c5)]['apply'](_0x3e1b7b,_0x28ebfe['EErLT'](getParentTitles,_0x49aa7f)),_0x4a617b['name']&&_0x3e1b7b['push'](_0x28ebfe['GgvtG'](String,_0x4a617b[_0x4082b3(0x1e1)])),_0x3e1b7b;}function normalizeLogLevel(_0x231263){const _0x400ef5=a39_0x3ec2d1,_0xd2fab4={};_0xd2fab4['OhjAd']=_0x400ef5(0x23d),_0xd2fab4[_0x400ef5(0x1b1)]=function(_0x37c323,_0x578624){return _0x37c323!==_0x578624;};const _0x2d48f6=_0xd2fab4;if(!_0x231263)return _0x2d48f6[_0x400ef5(0x213)];const _0x2869d1=_0x231263['toUpperCase']();return _0x2d48f6['TAGkJ'](LOG_LEVELS['indexOf'](_0x2869d1),-0x1)?_0x2869d1:_0x2d48f6['OhjAd'];}function resolveCollectionFile(_0x470f6a,_0x13172b){const _0x20eef9=a39_0x3ec2d1,_0x132779={};_0x132779[_0x20eef9(0x191)]=function(_0x5f1825,_0x37170c){return _0x5f1825===_0x37170c;},_0x132779['lFRwD']=_0x20eef9(0x15c),_0x132779[_0x20eef9(0x1e4)]=_0x20eef9(0x19b),_0x132779[_0x20eef9(0x16a)]=function(_0x1f9c4b,_0x5a9340){return _0x1f9c4b!==_0x5a9340;},_0x132779[_0x20eef9(0x1dd)]=function(_0x4c318e,_0x5a8c1c){return _0x4c318e<_0x5a8c1c;},_0x132779['NteuS']=function(_0xaa860d,_0x3e2fec){return _0xaa860d+_0x3e2fec;},_0x132779[_0x20eef9(0x170)]=function(_0x4e8392,_0x456667){return _0x4e8392+_0x456667;},_0x132779['YdnUh']='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x132779['WZDYW']=_0x20eef9(0x1cb);const _0x113f21=_0x132779;try{if(_0x13172b&&_0x13172b[_0x20eef9(0x200)])return path['relative'](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x13172b[_0x20eef9(0x200)]));const _0x5d28d2=_0x470f6a[_0x20eef9(0x1a1)];if(_0x113f21[_0x20eef9(0x191)](typeof _0x5d28d2,_0x113f21['lFRwD']))return path[_0x20eef9(0x164)](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x5d28d2));const _0x550291=process[_0x20eef9(0x19c)][_0x20eef9(0x180)](_0x113f21[_0x20eef9(0x1e4)]);if(_0x113f21['EJowb'](_0x550291,-0x1)&&_0x113f21['LTzab'](_0x113f21[_0x20eef9(0x168)](_0x550291,0x1),process[_0x20eef9(0x19c)][_0x20eef9(0x236)])){const _0x2de06d=process[_0x20eef9(0x19c)][_0x113f21[_0x20eef9(0x170)](_0x550291,0x1)];if(_0x2de06d&&!_0x2de06d[_0x20eef9(0x187)]('-'))return path[_0x20eef9(0x164)](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x2de06d));}}catch(_0x17e6aa){}return logger['info'](_0x113f21[_0x20eef9(0x1a9)]),_0x113f21['WZDYW'];}function resolveCollectionName(_0x3de4e3){const _0x269097=a39_0x3ec2d1,_0x2a7d95={};_0x2a7d95['nBfNH']=function(_0x33af11,_0x1baabb){return _0x33af11===_0x1baabb;},_0x2a7d95['znuMY']=_0x269097(0x1f3);const _0x47ebad=_0x2a7d95;try{const _0x11d717=_0x3de4e3['collection'];if(_0x11d717&&_0x47ebad['nBfNH'](typeof _0x11d717,_0x47ebad[_0x269097(0x1dc)]))return _0x11d717[_0x269097(0x1e1)]||_0x11d717[_0x269097(0x179)]&&_0x11d717[_0x269097(0x179)][_0x269097(0x1e1)]||null;}catch(_0x3e2e1f){}return null;}function a39_0x4f45(_0x264b51,_0x23c50d){const _0x32ce4d=a39_0x32ce();return a39_0x4f45=function(_0x4f45b3,_0x44da60){_0x4f45b3=_0x4f45b3-0x15c;let _0x2c5982=_0x32ce4d[_0x4f45b3];return _0x2c5982;},a39_0x4f45(_0x264b51,_0x23c50d);}function a39_0x32ce(){const _0x126f49=['LTzab','Assertion\x20','max','DZPPY','name','oMAOW','ZfKpE','KcMmk','ms)','LogCreated','dHaTn','YWBhJ','aMxPW','TEST','JCjFl','knHPx','collectionName','../../v2/grpcClient','location','slice','iVnGw','result','object','jarKo','BqsYq','vBlTw','ref','UPlyU','failed','nEBSa','TestRunStarted','bxaTH','url','PQiWL','TEST_LOG','collectionPath','fPvbu','messages','2599440YovsBX','HTTP','zXrTI','stringify','CYuWe','pending','ODiFu','event_type','code','xwWDb','BUGUi','delete','lLkFt','exception','axloo','uuid','OhjAd','lmDBJ','split','startTimestamp','gHMUu','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','request','nzZfx','ligGr','getInstance','cSouB','concat','listen','ZYBzQ','\x20->\x20','ECTBN','jVhwJ','now','\x20—\x20response\x20status\x20in\x20failure\x20range','N/A','3aFkGeH','toString','Surkn','expanded','TRACE','XzRyK','assertion','[Newman\x20Reporter]\x20emitTest\x20error:\x20','YHHXu','HTTP\x20','cursor','XhtKD','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','AFssQ','cwd','length','duration_ms','getTime','exFbX','HZTzY','bufferedLogs','OLzhx','INFO','qylJr','test_run','3341592uexzyL','uploadEventData','):\x20','RZKCa','backtrace','script','PRE','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','status_code','YDnGu','QPXmX','WAoml','bs:addLog:','qwsyH','KESGf','jjnfC','string','event','Script\x20error\x20(','javascript','pzVqB','axULh','nYJdI','logs','relative','mrRbu','aEwaz','join','NteuS','scopes','EJowb','beforeItem','PcPQX','set','LokmC','testFrameworkName','aoJhV','headers','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','1439476ceUkcX','path','parent','21599TibUFy','resolve','TkbLt','info','CFrcb','execution','wqiKz','iteration','method','failure','indexOf','nImuf','YxndE','fThBB','failureType','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','InvWD','startsWith','get','beforeIteration','boefm','removeListener','kctEL','stack','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','testFrameworkVersion','../../../helpers/test-observability/sessionHandler','GqUpz','item','err','3830SOfcYv','TWetq','Exception:\x20','clear','nunUr','fasIF','zxLOS','run','argv','rZblD','hawWu','testFrameworkState','durationMs','collection','POST','jrNNI','lastResponseCode','WARN','nBgFQ','assertions','startedAt','YdnUh','console','toISOString','search','Abaqp','../../v2/browserstackCLI','\x20(no\x20assertions)','zoekI','TAGkJ','VBqQx','\x20(HTTP\x20','winstonLogger','2730553honWuC','46IBApOj','DEBUG','4404510jGfuhf','RyYES','response','uCmSU','failure_backtrace','MbrGr','kind','../../v2/state/testFrameworkState','678qCZgdS','iAXiH','timestamp','failureReason','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','push','error','message','itemName','hhomS','zyeAT','collection.json','SdHpW','httpLog','finishedAt','YgDfo','platformIndex','test_run_uuid','hqscR','HTTP\x20Status:\x20','unknown','newman','ezRwQ','level','uapgC','host','btzrm','forEach','znuMY'];a39_0x32ce=function(){return _0x126f49;};return a39_0x32ce();}function emitTest(_0x3b94b4,_0x29272e,_0x50257f,_0x1b94df,_0x3e405b){const _0x1f8d0a=a39_0x3ec2d1,_0x20978a={'UPlyU':function(_0x11949c){return _0x11949c();},'ZYBzQ':_0x1f8d0a(0x208),'jrNNI':function(_0x53975d,_0x1803a6){return _0x53975d(_0x1803a6);},'nYJdI':'newman','mrRbu':_0x1f8d0a(0x15f),'zyeAT':function(_0x5e3599,_0x2e10b6){return _0x5e3599!=_0x2e10b6;},'OLzhx':function(_0x1a9fc,_0x24d3fc){return _0x1a9fc===_0x24d3fc;},'cSouB':_0x1f8d0a(0x1fb),'zoekI':'TestRunFinished'};if(_0x20978a[_0x1f8d0a(0x1f8)](isCLIRunning))try{const _0x39f7f2=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x39f7f2)return;_0x39f7f2['trackEvent'](TestFrameworkState[_0x1f8d0a(0x1ea)],_0x3b94b4,{'test':{'uuid':_0x29272e[_0x1f8d0a(0x212)],'name':_0x29272e[_0x1f8d0a(0x1e1)],'scopes':_0x50257f[_0x1f8d0a(0x169)],'scope':_0x50257f[_0x1f8d0a(0x169)][_0x1f8d0a(0x167)]('\x20'),'file_path':_0x1b94df,'location':_0x50257f[_0x1f8d0a(0x1ed)],'started_at':_0x50257f[_0x1f8d0a(0x1a8)],'finished_at':_0x3e405b[_0x1f8d0a(0x1ce)]||null,'result':_0x3e405b[_0x1f8d0a(0x1f2)]||_0x20978a[_0x1f8d0a(0x220)],'failure':_0x3e405b['failure']||[],'failure_type':_0x3e405b[_0x1f8d0a(0x184)]||null,'failure_reason':_0x3e405b[_0x1f8d0a(0x1c3)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x224f97){_0x20978a[_0x1f8d0a(0x1a3)](debug,_0x1f8d0a(0x22e)+_0x224f97);}else{const _0x10ccd5={'uuid':_0x29272e[_0x1f8d0a(0x212)],'name':_0x29272e[_0x1f8d0a(0x1e1)],'framework':_0x20978a[_0x1f8d0a(0x162)],'body':{'lang':_0x20978a[_0x1f8d0a(0x165)],'code':null},'scope':_0x50257f[_0x1f8d0a(0x169)][_0x1f8d0a(0x167)]('\x20'),'scopes':_0x50257f['scopes'],'identifier':_0x29272e['identifier'],'file_name':_0x50257f[_0x1f8d0a(0x1ed)],'vc_filepath':_0x50257f['location'],'location':_0x50257f[_0x1f8d0a(0x1ef)],'started_at':_0x50257f[_0x1f8d0a(0x1a8)],'finished_at':_0x3e405b[_0x1f8d0a(0x1ce)]||null,'duration_in_ms':_0x20978a[_0x1f8d0a(0x1ca)](_0x3e405b[_0x1f8d0a(0x1a0)],null)?Math[_0x1f8d0a(0x1df)](0x0,_0x3e405b[_0x1f8d0a(0x1a0)]):null,'result':_0x3e405b[_0x1f8d0a(0x1f2)]||_0x20978a[_0x1f8d0a(0x220)],'failure_reason':_0x3e405b[_0x1f8d0a(0x1c3)]||null,'failure_type':_0x3e405b[_0x1f8d0a(0x184)]||null,'failure':_0x3e405b[_0x1f8d0a(0x17f)]||[],'retry_of':null,'hooks':[]};_0x10ccd5['failure'][0x0]&&(_0x10ccd5[_0x1f8d0a(0x1bc)]=_0x10ccd5[_0x1f8d0a(0x17f)][0x0][_0x1f8d0a(0x244)],_0x10ccd5['failure_reason_expanded']=_0x10ccd5[_0x1f8d0a(0x17f)][0x0][_0x1f8d0a(0x22a)]);const _0x26be17=_0x20978a[_0x1f8d0a(0x23c)](_0x3b94b4,HookState['PRE'])?_0x20978a[_0x1f8d0a(0x21d)]:_0x20978a[_0x1f8d0a(0x1b0)],_0x353497={};_0x353497[_0x1f8d0a(0x20a)]=_0x26be17,_0x353497[_0x1f8d0a(0x23f)]=_0x10ccd5,SessionHandler['uploadEventData'](_0x353497);}}function emitLog(_0x300f4a,_0x560939){const _0x2c6169=a39_0x3ec2d1,_0x4c14e3={'zfYvl':'TEST_LOG','RZKCa':function(_0x47881e){return _0x47881e();},'ezRwQ':function(_0x410840,_0x1a9f71){return _0x410840===_0x1a9f71;},'nImuf':_0x2c6169(0x204),'InvWD':_0x2c6169(0x1d5),'iWVXn':'TEST','vBlTw':_0x2c6169(0x23d),'ZbbTH':function(_0x460c60,_0x2fea76){return _0x460c60(_0x2fea76);},'pcwsm':function(_0x2e7ab0,_0x58a7f0){return _0x2e7ab0+_0x58a7f0;},'YWBhJ':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','LokmC':_0x2c6169(0x1e6)},_0x10da36=_0x560939[_0x2c6169(0x1be)]||_0x4c14e3['zfYvl'],_0x117795=_0x560939[_0x2c6169(0x1c2)]||new Date()[_0x2c6169(0x1ab)]();if(_0x4c14e3[_0x2c6169(0x243)](isCLIRunning))try{const _0x3e0d8e=_0x4c14e3[_0x2c6169(0x1d6)](_0x10da36,_0x4c14e3[_0x2c6169(0x181)])?JSON[_0x2c6169(0x206)](_0x560939):_0x560939[_0x2c6169(0x1c7)]||'',_0x11fc33={};_0x11fc33[_0x2c6169(0x1d0)]=0x0,_0x11fc33[_0x2c6169(0x16f)]=_0x4c14e3[_0x2c6169(0x186)],_0x11fc33[_0x2c6169(0x18f)]='',_0x11fc33[_0x2c6169(0x19f)]=_0x4c14e3['iWVXn'],_0x11fc33[_0x2c6169(0x163)]=[{'uuid':_0x300f4a,'timestamp':_0x117795,'kind':_0x10da36,'level':_0x560939[_0x2c6169(0x1d7)]||_0x4c14e3[_0x2c6169(0x1f6)],'message':_0x3e0d8e}],GrpcClient[_0x2c6169(0x21c)]()['logCreatedEvent'](_0x11fc33);}catch(_0x3eafa2){_0x4c14e3['ZbbTH'](debug,_0x4c14e3['pcwsm'](_0x4c14e3[_0x2c6169(0x1e8)],_0x3eafa2));}else{const _0x590805={};_0x590805[_0x2c6169(0x1d1)]=_0x300f4a,_0x590805['timestamp']=_0x117795,_0x590805['level']=_0x560939['level']||null,_0x590805[_0x2c6169(0x1c7)]=_0x560939[_0x2c6169(0x1c7)]||null,_0x590805[_0x2c6169(0x1be)]=_0x10da36,_0x590805['http_response']=_0x560939['http_response']||{};const _0x3eb529={};_0x3eb529[_0x2c6169(0x20a)]=_0x4c14e3[_0x2c6169(0x16e)],_0x3eb529['logs']=[_0x590805],SessionHandler[_0x2c6169(0x241)](_0x3eb529);}}function BrowserStackNewmanReporter(_0x25fbff,_0x46d389,_0x420ad2){const _0x5b8533=a39_0x3ec2d1,_0x2c2fcb={'qwsyH':function(_0x5271e1,_0x59d63e,_0x33661d){return _0x5271e1(_0x59d63e,_0x33661d);},'lLkFt':function(_0x120016,_0x5b61dd){return _0x120016(_0x5b61dd);},'QPXmX':function(_0x5e8bec,_0x15d7a6){return _0x5e8bec>_0x15d7a6;},'AFssQ':function(_0x25774c,_0x126bca){return _0x25774c(_0x126bca);},'aEwaz':'http','BqsYq':function(_0xd1590,_0x2a1c0b){return _0xd1590+_0x2a1c0b;},'WAoml':'GET','VBqQx':function(_0x18dbf4,_0x4872d0){return _0x18dbf4(_0x4872d0);},'jarKo':_0x5b8533(0x1ff),'iAXiH':function(_0x5680d6,_0x28aeb8){return _0x5680d6+_0x28aeb8;},'TkbLt':function(_0x445891){return _0x445891();},'YxndE':function(_0x1e1dda,_0x19c383){return _0x1e1dda||_0x19c383;},'exFbX':function(_0x4d5644,_0x283fd0,_0x27a06c,_0x117e6b,_0x4030ad,_0x3111ce){return _0x4d5644(_0x283fd0,_0x27a06c,_0x117e6b,_0x4030ad,_0x3111ce);},'wqiKz':function(_0xc78318,_0x2e4b2b){return _0xc78318===_0x2e4b2b;},'pzVqB':function(_0x25e156,_0x5745ec,_0x62c0fa){return _0x25e156(_0x5745ec,_0x62c0fa);},'SdHpW':'HTTP','BUGUi':function(_0x9d1b8d,_0x22f49f){return _0x9d1b8d+_0x22f49f;},'YDnGu':function(_0x51e267,_0x1de20b){return _0x51e267+_0x1de20b;},'nunUr':function(_0x45b4c5,_0x299119){return _0x45b4c5+_0x299119;},'sQiSi':function(_0xe2c880,_0xb332f4){return _0xe2c880+_0xb332f4;},'YHHXu':_0x5b8533(0x221),'dHaTn':_0x5b8533(0x1e5),'boefm':function(_0x3037fe,_0x1fc4d8,_0x4a1404){return _0x3037fe(_0x1fc4d8,_0x4a1404);},'Abaqp':_0x5b8533(0x23d),'JCjFl':function(_0x2ac55f,_0x5e993b){return _0x2ac55f>_0x5e993b;},'ligGr':function(_0x8d508b,_0x3033e2){return _0x8d508b-_0x3033e2;},'btzrm':function(_0x25d2b3,_0x4290aa,_0x55f75b){return _0x25d2b3(_0x4290aa,_0x55f75b);},'nEBSa':function(_0x1c8c80,_0x211f3c){return _0x1c8c80(_0x211f3c);},'ODiFu':function(_0x142c3f,_0xe2a0dc){return _0x142c3f(_0xe2a0dc);},'iVnGw':function(_0x4b49a6,_0x3731a0){return _0x4b49a6&&_0x3731a0;},'jVhwJ':function(_0x2d2e2c,_0x7c3a3c,_0x4c9a7f){return _0x2d2e2c(_0x7c3a3c,_0x4c9a7f);},'GYZlh':function(_0x5b2d70,_0x4b0ed0){return _0x5b2d70+_0x4b0ed0;},'kctEL':_0x5b8533(0x196),'DZPPY':'ERROR','zXrTI':function(_0x2d33f4,_0x688acd){return _0x2d33f4(_0x688acd);},'axULh':function(_0x5e8581,_0x2e9fbf){return _0x5e8581+_0x2e9fbf;},'CYuWe':_0x5b8533(0x218),'CFrcb':function(_0x111682,_0x3208ab){return _0x111682>_0x3208ab;},'hhomS':function(_0xc9bccf,_0x1caf6b){return _0xc9bccf-_0x1caf6b;},'axloo':_0x5b8533(0x1d4),'hcSOd':function(_0x277131,_0x4173bb,_0x45767e){return _0x277131(_0x4173bb,_0x45767e);},'bxaTH':function(_0x1c7c7d,_0xa8df69){return _0x1c7c7d+_0xa8df69;},'PcPQX':_0x5b8533(0x15e),'hawWu':_0x5b8533(0x242),'TWetq':function(_0x2d0dcd,_0x4de7ba){return _0x2d0dcd(_0x4de7ba);},'Surkn':_0x5b8533(0x247),'jjnfC':function(_0x36eff4,_0x358ec1,_0x594d08){return _0x36eff4(_0x358ec1,_0x594d08);},'zxLOS':_0x5b8533(0x1f9),'fasIF':'passed','WvdlJ':'AssertionError','wMNFQ':'assert','xwWDb':'UnhandledError','ECTBN':function(_0x25c871,_0x2fdd02){return _0x25c871>_0x2fdd02;},'SSsSL':function(_0x4c571d){return _0x4c571d();},'XhtKD':function(_0x474ce4,_0x3b5d99){return _0x474ce4!=_0x3b5d99;},'JpXDS':function(_0x4a95c4,_0x291b6e){return _0x4a95c4>=_0x291b6e;},'YgDfo':function(_0x5e74d0,_0x44056a){return _0x5e74d0<_0x44056a;},'aMxPW':_0x5b8533(0x226),'nBgFQ':function(_0x5232d5,_0x264db6){return _0x5232d5!=_0x264db6;},'oMAOW':'No\x20HTTP\x20response\x20received','WVKwr':function(_0xb3b858,_0x29ce56){return _0xb3b858+_0x29ce56;},'lmDBJ':function(_0x383c34,_0x4b8f42){return _0x383c34+_0x4b8f42;},'uapgC':function(_0x3febb2,_0x1ef605){return _0x3febb2+_0x1ef605;},'rTQMc':function(_0x49d063,_0x409467,_0x327dbb){return _0x49d063(_0x409467,_0x327dbb);},'jaVhz':function(_0x30e810,_0x531bb1,_0x84fe01){return _0x30e810(_0x531bb1,_0x84fe01);},'tDSOL':_0x5b8533(0x1d3),'NGQxv':function(_0xb40488,_0x1e83c9){return _0xb40488||_0x1e83c9;},'qylJr':_0x5b8533(0x1af),'MbrGr':function(_0x564c3d,_0xba88e9,_0xc1a259){return _0x564c3d(_0xba88e9,_0xc1a259);},'RyYES':function(_0x2f6bd6,_0x3ce13a){return _0x2f6bd6(_0x3ce13a);},'XzRyK':'done','ZfKpE':_0x5b8533(0x189),'eMPtT':_0x5b8533(0x16b),'knHPx':_0x5b8533(0x219),'HZTzY':_0x5b8533(0x22d),'KESGf':_0x5b8533(0x1aa),'hqscR':_0x5b8533(0x210),'nzZfx':_0x5b8533(0x245),'uCmSU':_0x5b8533(0x192)},_0x3f12ec=new Map();let _0x357460=null,_0x22eeaa=0x0;const _0x4559e6=_0x2c2fcb[_0x5b8533(0x1bd)](resolveCollectionFile,_0x420ad2,_0x46d389),_0x1ab3ef=_0x2c2fcb[_0x5b8533(0x1b9)](resolveCollectionName,_0x420ad2)||_0x4559e6,_0x441ebb=path['resolve'](_0x4559e6),_0x54b33f=_0x5b8533(0x24c)+process['pid'],_0xd12b4c=_0x599970=>{const _0x59726b=_0x5b8533;try{_0x357460&&_0x2c2fcb[_0x59726b(0x24d)](emitLog,_0x357460,_0x599970);}catch(_0x129a2a){_0x2c2fcb['lLkFt'](debug,_0x59726b(0x185)+_0x129a2a);}};process['on'](_0x54b33f,_0xd12b4c),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x22c)],()=>{const _0x5106f0=_0x5b8533;process[_0x5106f0(0x18b)](_0x54b33f,_0xd12b4c),_0x3f12ec[_0x5106f0(0x197)]();}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1e3)],(_0x3d5f0e,_0x1fdcbb)=>{const _0x10fd2a=_0x5b8533;_0x1fdcbb&&_0x1fdcbb[_0x10fd2a(0x231)]&&(_0x22eeaa=_0x1fdcbb[_0x10fd2a(0x231)][_0x10fd2a(0x17d)]||0x0);}),_0x25fbff['on'](_0x2c2fcb['eMPtT'],(_0x76ebad,_0x4a73c0)=>{const _0xc453bd=_0x5b8533;try{_0x357460=null;const _0xb20e75=_0x4a73c0[_0xc453bd(0x192)],_0x345a3e=_0xb20e75[_0xc453bd(0x175)]()?_0x2c2fcb[_0xc453bd(0x20f)](getParentTitles,_0xb20e75[_0xc453bd(0x175)]()):[],_0x4b0f37=_0x2c2fcb[_0xc453bd(0x24a)](_0x345a3e[_0xc453bd(0x236)],0x1)?_0x345a3e[_0xc453bd(0x1f0)](0x1):_0x345a3e,_0x109ba5=_0x4a73c0[_0xc453bd(0x231)]&&_0x4a73c0[_0xc453bd(0x231)]['ref'],_0x4a3bce={'itemName':_0xb20e75[_0xc453bd(0x1e1)],'scopes':_0x4b0f37[_0xc453bd(0x21e)]([_0xb20e75[_0xc453bd(0x1e1)]]),'location':_0x4559e6,'collectionName':_0x1ab3ef,'startedAt':new Date()[_0xc453bd(0x1ab)](),'startTimestamp':Date[_0xc453bd(0x224)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3f12ec[_0xc453bd(0x16d)](_0xb20e75['id']+'_'+_0x22eeaa,_0x4a3bce),_0x109ba5&&_0x3f12ec[_0xc453bd(0x16d)](_0x109ba5+'_'+_0x22eeaa,_0x4a3bce);}catch(_0x111a3d){_0x2c2fcb[_0xc453bd(0x234)](debug,_0xc453bd(0x233)+_0x111a3d);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1ec)],(_0x359120,_0x44f301)=>{const _0x181c60=_0x5b8533;try{if(!_0x44f301||!_0x44f301[_0x181c60(0x192)])return;const _0x1b573f=_0x3f12ec['get'](_0x44f301['item']['id']+'_'+_0x22eeaa);if(!_0x1b573f)return;_0x44f301['response']&&(_0x1b573f[_0x181c60(0x1a4)]=_0x44f301[_0x181c60(0x1ba)][_0x181c60(0x20b)]||null);if(!_0x44f301[_0x181c60(0x219)])return;let _0x4fba5f='',_0x3de449='';if(_0x44f301[_0x181c60(0x219)][_0x181c60(0x1fd)])try{const _0x4da647=_0x44f301['request'][_0x181c60(0x1fd)][_0x181c60(0x228)](),_0x242eb4=new URL(_0x4da647[_0x181c60(0x187)](_0x2c2fcb[_0x181c60(0x166)])?_0x4da647:'http://'+_0x4da647);_0x4fba5f=_0x242eb4['hostname'],_0x3de449=_0x2c2fcb['BqsYq'](_0x242eb4['pathname'],_0x242eb4[_0x181c60(0x1ac)]);}catch(_0x3ae9ed){_0x3de449=_0x44f301[_0x181c60(0x219)][_0x181c60(0x1fd)][_0x181c60(0x228)]();}const _0x3bf67a={};_0x3bf67a[_0x181c60(0x1d9)]=_0x4fba5f,_0x3bf67a[_0x181c60(0x174)]=_0x3de449,_0x3bf67a[_0x181c60(0x17e)]=_0x44f301[_0x181c60(0x219)][_0x181c60(0x17e)]||_0x2c2fcb[_0x181c60(0x24b)],_0x3bf67a[_0x181c60(0x171)]={},_0x3bf67a[_0x181c60(0x248)]=_0x44f301['response']?_0x44f301[_0x181c60(0x1ba)]['code']||0x0:0x0,_0x3bf67a[_0x181c60(0x237)]=_0x44f301[_0x181c60(0x1ba)]?_0x44f301[_0x181c60(0x1ba)]['responseTime']||0x0:0x0,_0x1b573f['httpLog']=_0x3bf67a;}catch(_0x48acb3){_0x2c2fcb[_0x181c60(0x1b2)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x48acb3);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x23a)],(_0x5e519a,_0x3baa29)=>{const _0x544445=_0x5b8533;try{if(!_0x3baa29||!_0x3baa29[_0x544445(0x192)])return;const _0x2baf14=_0x3f12ec[_0x544445(0x188)](_0x3baa29[_0x544445(0x192)]['id']+'_'+_0x22eeaa);if(!_0x2baf14)return;const _0x5615f7=_0x3baa29[_0x544445(0x22d)]||_0x544445(0x1de)+_0x2c2fcb[_0x544445(0x1c1)](_0x2baf14[_0x544445(0x1a7)]['length'],0x1),_0x54f500=_0x2c2fcb[_0x544445(0x178)](uuidv4),_0x4608ed=_0x2baf14[_0x544445(0x169)][_0x544445(0x21e)]([_0x5615f7])[_0x544445(0x167)]('\x20');_0x2baf14[_0x544445(0x1a7)]['push']({'uuid':_0x54f500,'name':_0x5615f7,'identifier':_0x4608ed,'err':_0x2c2fcb[_0x544445(0x182)](_0x5e519a,null)});const _0x57fb3e={};_0x57fb3e[_0x544445(0x212)]=_0x54f500,_0x57fb3e[_0x544445(0x1e1)]=_0x5615f7,_0x57fb3e['identifier']=_0x4608ed,_0x2c2fcb[_0x544445(0x239)](emitTest,HookState[_0x544445(0x246)],_0x57fb3e,_0x2baf14,_0x441ebb,{});_0x2c2fcb['wqiKz'](_0x2baf14[_0x544445(0x1a7)][_0x544445(0x236)],0x1)&&_0x2c2fcb[_0x544445(0x24a)](_0x2baf14[_0x544445(0x23b)]['length'],0x0)&&(_0x2baf14[_0x544445(0x23b)][_0x544445(0x1db)](_0x25a216=>{const _0x97f895=_0x544445;_0x2c2fcb[_0x97f895(0x24d)](emitLog,_0x54f500,{'kind':_0x2c2fcb['jarKo'],'message':_0x25a216['message'],'level':_0x25a216[_0x97f895(0x1d7)]});}),_0x2baf14[_0x544445(0x23b)]=[]);if(_0x2baf14[_0x544445(0x1cd)]){_0x2c2fcb[_0x544445(0x160)](emitLog,_0x54f500,{'kind':_0x2c2fcb[_0x544445(0x1cc)],'http_response':_0x2baf14[_0x544445(0x1cd)]});const _0x5b7c63=_0x2c2fcb[_0x544445(0x1f5)](_0x2c2fcb['iAXiH'](_0x2c2fcb[_0x544445(0x20d)](_0x2c2fcb[_0x544445(0x249)](_0x2c2fcb['BqsYq'](_0x2c2fcb[_0x544445(0x198)](_0x2c2fcb[_0x544445(0x1c1)](_0x2c2fcb['sQiSi'](_0x2baf14[_0x544445(0x1cd)][_0x544445(0x17e)]||_0x2c2fcb['WAoml'],'\x20'),_0x2baf14[_0x544445(0x1cd)][_0x544445(0x1d9)]),_0x2baf14[_0x544445(0x1cd)][_0x544445(0x174)]),_0x2c2fcb[_0x544445(0x22f)]),_0x2baf14['httpLog'][_0x544445(0x248)]),'\x20('),_0x2baf14[_0x544445(0x1cd)]['duration_ms']),_0x2c2fcb[_0x544445(0x1e7)]);_0x2c2fcb[_0x544445(0x18a)](emitLog,_0x54f500,{'kind':_0x2c2fcb['jarKo'],'message':_0x5b7c63,'level':_0x2c2fcb[_0x544445(0x1ad)]});}_0x357460=_0x54f500;}catch(_0xf61a0b){_0x2c2fcb[_0x544445(0x20f)](debug,_0x544445(0x18e)+_0xf61a0b);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x24e)],(_0x2ed614,_0x204ff5)=>{const _0x1ae37d=_0x5b8533;try{if(!_0x204ff5)return;let _0x277a9e=_0x357460;if(!_0x277a9e&&_0x204ff5['cursor']&&_0x204ff5['cursor']['ref']){const _0x12a977=_0x3f12ec[_0x1ae37d(0x188)](_0x204ff5['cursor'][_0x1ae37d(0x1f7)]+'_'+_0x22eeaa);_0x12a977&&_0x2c2fcb[_0x1ae37d(0x1eb)](_0x12a977[_0x1ae37d(0x1a7)][_0x1ae37d(0x236)],0x0)&&(_0x277a9e=_0x12a977[_0x1ae37d(0x1a7)][_0x2c2fcb[_0x1ae37d(0x21b)](_0x12a977[_0x1ae37d(0x1a7)][_0x1ae37d(0x236)],0x1)][_0x1ae37d(0x212)]);}const _0x5311a1=_0x204ff5[_0x1ae37d(0x202)]?_0x204ff5[_0x1ae37d(0x202)][_0x1ae37d(0x167)](',\x20'):'';if(_0x277a9e)_0x2c2fcb[_0x1ae37d(0x1da)](emitLog,_0x277a9e,{'kind':_0x2c2fcb['jarKo'],'message':_0x5311a1,'level':_0x2c2fcb['nEBSa'](normalizeLogLevel,_0x204ff5[_0x1ae37d(0x1d7)])});else{if(_0x204ff5['cursor']&&_0x204ff5[_0x1ae37d(0x231)][_0x1ae37d(0x1f7)]){const _0x3b26e3=_0x3f12ec[_0x1ae37d(0x188)](_0x204ff5[_0x1ae37d(0x231)]['ref']+'_'+_0x22eeaa);_0x3b26e3&&_0x3b26e3[_0x1ae37d(0x23b)][_0x1ae37d(0x1c5)]({'timestamp':new Date()[_0x1ae37d(0x1ab)](),'level':_0x2c2fcb[_0x1ae37d(0x20f)](normalizeLogLevel,_0x204ff5[_0x1ae37d(0x1d7)]),'message':_0x5311a1});}}}catch(_0x5c2725){_0x2c2fcb[_0x1ae37d(0x1fa)](debug,_0x1ae37d(0x1c4)+_0x5c2725);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1d2)],(_0x4f32a3,_0x356bbd)=>{const _0x1f992f=_0x5b8533;try{if(!_0x4f32a3&&(!_0x356bbd||!_0x356bbd[_0x1f992f(0x1c6)]))return;const _0x3c10fa=_0x4f32a3||_0x356bbd[_0x1f992f(0x1c6)],_0x70345a=_0x3c10fa['message']||_0x2c2fcb[_0x1f992f(0x209)](String,_0x3c10fa),_0x41a276=_0x3c10fa[_0x1f992f(0x18d)]||_0x70345a;let _0x201212=_0x357460;if(_0x2c2fcb[_0x1f992f(0x1f1)](!_0x201212,_0x356bbd)&&_0x356bbd[_0x1f992f(0x231)]&&_0x356bbd['cursor'][_0x1f992f(0x1f7)]){const _0x5c4f44=_0x3f12ec[_0x1f992f(0x188)](_0x356bbd[_0x1f992f(0x231)][_0x1f992f(0x1f7)]+'_'+_0x22eeaa);_0x5c4f44&&_0x2c2fcb[_0x1f992f(0x24a)](_0x5c4f44[_0x1f992f(0x1a7)]['length'],0x0)&&(_0x201212=_0x5c4f44['assertions'][_0x2c2fcb[_0x1f992f(0x21b)](_0x5c4f44['assertions'][_0x1f992f(0x236)],0x1)]['uuid']);}_0x201212&&_0x2c2fcb[_0x1f992f(0x223)](emitLog,_0x201212,{'kind':_0x2c2fcb[_0x1f992f(0x1f4)],'message':_0x2c2fcb['GYZlh'](_0x2c2fcb[_0x1f992f(0x18c)],_0x41a276),'level':_0x2c2fcb[_0x1f992f(0x1e0)]});}catch(_0x3ef548){_0x2c2fcb[_0x1f992f(0x205)](debug,_0x2c2fcb['axULh'](_0x2c2fcb[_0x1f992f(0x207)],_0x3ef548));}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x21a)],(_0x56112d,_0x5193de)=>{const _0x2491b7=_0x5b8533;try{if(!_0x5193de||!_0x5193de[_0x2491b7(0x17b)])return;let _0x3aa964=_0x357460;if(!_0x3aa964&&_0x5193de[_0x2491b7(0x231)]&&_0x5193de[_0x2491b7(0x231)]['ref']){const _0x5e5c00=_0x3f12ec[_0x2491b7(0x188)](_0x5193de[_0x2491b7(0x231)][_0x2491b7(0x1f7)]+'_'+_0x22eeaa);_0x5e5c00&&_0x2c2fcb[_0x2491b7(0x17a)](_0x5e5c00[_0x2491b7(0x1a7)]['length'],0x0)&&(_0x3aa964=_0x5e5c00['assertions'][_0x2c2fcb[_0x2491b7(0x1c9)](_0x5e5c00[_0x2491b7(0x1a7)][_0x2491b7(0x236)],0x1)][_0x2491b7(0x212)]);}if(!_0x3aa964)return;const _0x5f4d6b=_0x5193de['event']&&_0x5193de[_0x2491b7(0x15d)][_0x2491b7(0x21f)]||_0x2c2fcb[_0x2491b7(0x211)];_0x56112d&&_0x2c2fcb['hcSOd'](emitLog,_0x3aa964,{'kind':_0x2c2fcb[_0x2491b7(0x1f4)],'message':_0x2c2fcb['iAXiH'](_0x2c2fcb[_0x2491b7(0x1c1)](_0x2c2fcb['bxaTH'](_0x2c2fcb[_0x2491b7(0x16c)],_0x5f4d6b),_0x2c2fcb[_0x2491b7(0x19e)]),_0x56112d[_0x2491b7(0x1c7)]||_0x56112d),'level':_0x2c2fcb[_0x2491b7(0x1e0)]});}catch(_0x1fc717){_0x2c2fcb[_0x2491b7(0x195)](debug,_0x2c2fcb[_0x2491b7(0x1c1)](_0x2c2fcb[_0x2491b7(0x229)],_0x1fc717));}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1bb)],(_0x2a5cec,_0x33e34e)=>{const _0x4d4c82=_0x5b8533,_0x1c43ba={'NBuUs':_0x2c2fcb[_0x4d4c82(0x19a)],'uxZPj':_0x2c2fcb[_0x4d4c82(0x199)],'PQiWL':function(_0x18aade,_0x46cfbe){const _0x5b299e=_0x4d4c82;return _0x2c2fcb[_0x5b299e(0x17c)](_0x18aade,_0x46cfbe);},'fThBB':_0x2c2fcb['WvdlJ'],'rZblD':_0x2c2fcb['wMNFQ'],'gHMUu':_0x2c2fcb[_0x4d4c82(0x20c)],'fPvbu':function(_0x242707,_0x4c41f8,_0xa1085d,_0x14f000,_0x4120e3,_0x3ac820){const _0x5a0ddf=_0x4d4c82;return _0x2c2fcb[_0x5a0ddf(0x239)](_0x242707,_0x4c41f8,_0xa1085d,_0x14f000,_0x4120e3,_0x3ac820);}};try{if(!_0x33e34e||!_0x33e34e[_0x4d4c82(0x192)])return;const _0x164b97=_0x33e34e['item']['id']+'_'+_0x22eeaa,_0x12c5df=_0x3f12ec['get'](_0x164b97);if(!_0x12c5df)return;const _0x59130d=new Date(),_0x9d6060=_0x2c2fcb[_0x4d4c82(0x21b)](_0x59130d[_0x4d4c82(0x238)](),_0x12c5df[_0x4d4c82(0x216)]);if(_0x2c2fcb[_0x4d4c82(0x222)](_0x12c5df[_0x4d4c82(0x1a7)][_0x4d4c82(0x236)],0x0))_0x12c5df[_0x4d4c82(0x1a7)][_0x4d4c82(0x1db)](_0x499e4c=>{const _0x409cb2=_0x4d4c82,_0x4f6b26=!!_0x499e4c[_0x409cb2(0x193)],_0x248ecd={'finishedAt':_0x59130d[_0x409cb2(0x1ab)](),'durationMs':_0x9d6060,'result':_0x4f6b26?_0x1c43ba['NBuUs']:_0x1c43ba['uxZPj']};_0x4f6b26&&(_0x248ecd['failureReason']=_0x499e4c['err'][_0x409cb2(0x1c7)]||'',_0x248ecd[_0x409cb2(0x184)]=_0x1c43ba[_0x409cb2(0x1fe)](_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x1e1)],_0x1c43ba['fThBB'])||_0x499e4c[_0x409cb2(0x193)]['message']&&_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x1c7)]['includes'](_0x1c43ba[_0x409cb2(0x19d)])?_0x1c43ba[_0x409cb2(0x183)]:_0x1c43ba[_0x409cb2(0x217)],_0x248ecd[_0x409cb2(0x17f)]=[{'backtrace':_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x18d)]?_0x499e4c['err']['stack'][_0x409cb2(0x215)]('\x0a'):[_0x499e4c['err'][_0x409cb2(0x1c7)]||''],'expanded':[]}]),_0x1c43ba[_0x409cb2(0x201)](emitTest,HookState[_0x409cb2(0x1a2)],_0x499e4c,_0x12c5df,_0x441ebb,_0x248ecd);});else{const _0x52cc8b=_0x2c2fcb['SSsSL'](uuidv4),_0x9527aa=_0x12c5df[_0x4d4c82(0x1a4)],_0x2b01c8=_0x2c2fcb[_0x4d4c82(0x232)](_0x9527aa,null)&&_0x2c2fcb['JpXDS'](_0x9527aa,0xc8)&&_0x2c2fcb[_0x4d4c82(0x1cf)](_0x9527aa,0x190),_0x5446e5=_0x12c5df[_0x4d4c82(0x1c8)]+_0x4d4c82(0x1b3)+_0x2c2fcb['YxndE'](_0x9527aa,_0x2c2fcb[_0x4d4c82(0x1e9)])+')',_0x495089={'uuid':_0x52cc8b,'name':_0x5446e5,'identifier':_0x12c5df[_0x4d4c82(0x169)]['concat']([_0x5446e5])[_0x4d4c82(0x167)]('\x20')},_0x3b51b8={'finishedAt':_0x59130d['toISOString'](),'durationMs':_0x9d6060,'result':_0x2b01c8?_0x2c2fcb[_0x4d4c82(0x199)]:_0x2c2fcb[_0x4d4c82(0x19a)]};!_0x2b01c8&&(_0x3b51b8[_0x4d4c82(0x1c3)]=_0x2c2fcb[_0x4d4c82(0x1a6)](_0x9527aa,null)?_0x4d4c82(0x230)+_0x9527aa+_0x4d4c82(0x225):_0x2c2fcb[_0x4d4c82(0x1e2)],_0x3b51b8[_0x4d4c82(0x184)]=_0x2c2fcb['xwWDb'],_0x3b51b8[_0x4d4c82(0x17f)]=[{'backtrace':[_0x3b51b8[_0x4d4c82(0x1c3)]],'expanded':[]}]);_0x2c2fcb[_0x4d4c82(0x239)](emitTest,HookState[_0x4d4c82(0x246)],_0x495089,_0x12c5df,_0x441ebb,{}),_0x12c5df['bufferedLogs'][_0x4d4c82(0x1db)](_0x24387a=>{const _0x22b974=_0x4d4c82;_0x2c2fcb[_0x22b974(0x24f)](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x22b974(0x1f4)],'message':_0x24387a['message'],'level':_0x24387a[_0x22b974(0x1d7)]});});if(_0x12c5df[_0x4d4c82(0x1cd)]){_0x2c2fcb[_0x4d4c82(0x1da)](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1cc)],'http_response':_0x12c5df[_0x4d4c82(0x1cd)]});const _0x418c02=_0x2c2fcb['WVKwr'](_0x2c2fcb[_0x4d4c82(0x1fc)](_0x2c2fcb[_0x4d4c82(0x249)](_0x2c2fcb[_0x4d4c82(0x214)](_0x2c2fcb[_0x4d4c82(0x198)](_0x2c2fcb[_0x4d4c82(0x20d)](_0x2c2fcb['lmDBJ'](_0x2c2fcb[_0x4d4c82(0x1d8)](_0x12c5df['httpLog']['method']||_0x2c2fcb[_0x4d4c82(0x24b)],'\x20'),_0x12c5df[_0x4d4c82(0x1cd)]['host']),_0x12c5df['httpLog'][_0x4d4c82(0x174)]),_0x2c2fcb['YHHXu']),_0x12c5df[_0x4d4c82(0x1cd)][_0x4d4c82(0x248)]),'\x20('),_0x12c5df['httpLog'][_0x4d4c82(0x237)]),_0x2c2fcb[_0x4d4c82(0x1e7)]);_0x2c2fcb['rTQMc'](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1f4)],'message':_0x418c02,'level':_0x2c2fcb[_0x4d4c82(0x1ad)]});}else _0x2c2fcb['jaVhz'](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1f4)],'message':_0x2c2fcb[_0x4d4c82(0x1c1)](_0x2c2fcb[_0x4d4c82(0x161)](_0x2c2fcb['tDSOL'],_0x2c2fcb['NGQxv'](_0x9527aa,_0x2c2fcb[_0x4d4c82(0x1e9)])),_0x2c2fcb[_0x4d4c82(0x23e)]),'level':_0x2c2fcb[_0x4d4c82(0x1ad)]});_0x2c2fcb[_0x4d4c82(0x239)](emitTest,HookState[_0x4d4c82(0x1a2)],_0x495089,_0x12c5df,_0x441ebb,_0x3b51b8);}_0x3f12ec[_0x4d4c82(0x20e)](_0x164b97),_0x33e34e['cursor']&&_0x33e34e[_0x4d4c82(0x231)][_0x4d4c82(0x1f7)]&&_0x3f12ec[_0x4d4c82(0x20e)](_0x33e34e[_0x4d4c82(0x231)][_0x4d4c82(0x1f7)]+'_'+_0x22eeaa);}catch(_0x20de98){_0x2c2fcb['AFssQ'](debug,_0x4d4c82(0x172)+_0x20de98);}});}module['exports']=BrowserStackNewmanReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a40_0x37c38d=a40_0x4a10;(function(_0x5605d5,_0x488772){const _0x33d6ea=a40_0x4a10,_0x323cdb=_0x5605d5();while(!![]){try{const _0x19e5c7=parseInt(_0x33d6ea(0xa2))/0x1+parseInt(_0x33d6ea(0xc2))/0x2*(parseInt(_0x33d6ea(0x95))/0x3)+parseInt(_0x33d6ea(0xbb))/0x4*(parseInt(_0x33d6ea(0x8f))/0x5)+-parseInt(_0x33d6ea(0xa4))/0x6*(parseInt(_0x33d6ea(0x92))/0x7)+-parseInt(_0x33d6ea(0x99))/0x8*(parseInt(_0x33d6ea(0xbe))/0x9)+parseInt(_0x33d6ea(0x9e))/0xa*(parseInt(_0x33d6ea(0xa3))/0xb)+-parseInt(_0x33d6ea(0xa0))/0xc*(parseInt(_0x33d6ea(0xae))/0xd);if(_0x19e5c7===_0x488772)break;else _0x323cdb['push'](_0x323cdb['shift']());}catch(_0x2ee72a){_0x323cdb['push'](_0x323cdb['shift']());}}}(a40_0x474a,0x22183));const path=require('path'),Module=require(a40_0x37c38d(0xa7)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process[a40_0x37c38d(0xc4)][0x2],maxParallel=parseInt(process[a40_0x37c38d(0xc4)][0x3])||0x0;!scriptFile&&(process[a40_0x37c38d(0xaf)]['write']('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a40_0x37c38d(0xab)](0x1));function a40_0x474a(){const _0x446f88=['reporters','join','139210MxnFsw','string','SYlzM','14vxUvXM','UIZgq','ujWob','625749pWdHtn','zjSQr','IHjPt','oGhMl','98376ViIKNa','collection','KnEXr','teJyX','DfJHi','8390xdbxUj','_load','516KXriWJ','newman-reporter-browserstack','179262VgYNgR','1331oBKlfD','827724SNszdE','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','AwScP','module','SBwZI','failures','zEIcM','exit','concat','newman','12142XrOTPT','stderr','MaJgP','collectionPath','write','exitCode','assign','resolve','message','FQNiY','bFbum','ZXSkv','run','4jhCJvg','reporter','cli','45Lzcyvk','rzeoC','bootstrap','call','2bmnjxi','FGWYF','argv','QScfg','_resolveFilename','IriNG','indexOf','browserstack'];a40_0x474a=function(){return _0x446f88;};return a40_0x474a();}const reporterPath=path[a40_0x37c38d(0x8e)](__dirname,a40_0x37c38d(0xbc),'index.js'),originalResolveFilename=Module[a40_0x37c38d(0x89)];Module['_resolveFilename']=function(_0x22750f,_0x5f4d56,_0x5cbb06,_0x2dc6b0){const _0x40c34a=a40_0x37c38d,_0x24481f={};_0x24481f['bFbum']=function(_0xe8ca1f,_0x52ce01){return _0xe8ca1f===_0x52ce01;},_0x24481f[_0x40c34a(0xb0)]=_0x40c34a(0xa1);const _0x5053d9=_0x24481f;if(_0x5053d9[_0x40c34a(0xb8)](_0x22750f,_0x5053d9['MaJgP']))return reporterPath;return originalResolveFilename[_0x40c34a(0xc1)](this,_0x22750f,_0x5f4d56,_0x5cbb06,_0x2dc6b0);};let limit;function a40_0x4a10(_0x4c4cb5,_0x36fb7a){const _0x474acb=a40_0x474a();return a40_0x4a10=function(_0x4a1074,_0x2b016f){_0x4a1074=_0x4a1074-0x89;let _0x133cf4=_0x474acb[_0x4a1074];return _0x133cf4;},a40_0x4a10(_0x4c4cb5,_0x36fb7a);}try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x5a33f1){limit=function(_0x4af904){const _0x53240b=a40_0x37c38d,_0x10bfc4={'FGWYF':function(_0x364870){return _0x364870();}};return _0x10bfc4[_0x53240b(0xc3)](_0x4af904);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a40_0x37c38d(0x9f)]=function(_0x509701,_0x329ab9,_0x12ae80){const _0x23ff3e=a40_0x37c38d,_0x1ca665={'UIZgq':function(_0x429511,_0x482363){return _0x429511>_0x482363;},'QScfg':function(_0x2e7c0d,_0x503f78){return _0x2e7c0d||_0x503f78;},'FQNiY':function(_0x532e6f,_0x8a5307,_0x1c8ac5){return _0x532e6f(_0x8a5307,_0x1c8ac5);},'bMpNa':function(_0x56cbbd,_0x5e3690){return _0x56cbbd(_0x5e3690);},'zEIcM':_0x23ff3e(0xbd),'IriNG':function(_0x307cfd,_0x245595){return _0x307cfd===_0x245595;},'rzeoC':'browserstack','IHjPt':_0x23ff3e(0x90),'DPrcu':function(_0xa768f4,_0x24308e){return _0xa768f4(_0x24308e);},'PFaiW':function(_0xdb3e41,_0x207569){return _0xdb3e41!==_0x207569;},'SQagd':_0x23ff3e(0xad)},_0x12084a=originalLoad[_0x23ff3e(0xc1)](this,_0x509701,_0x329ab9,_0x12ae80);if(_0x1ca665['PFaiW'](_0x509701,_0x1ca665['SQagd']))return _0x12084a;if(wrappedNewman)return wrappedNewman;const _0x21c40d=_0x12084a[_0x23ff3e(0xba)]['bind'](_0x12084a);return wrappedNewman=Object['create'](_0x12084a),wrappedNewman[_0x23ff3e(0xba)]=function(_0x2c1b35,_0x299f69){const _0x3f3567=_0x23ff3e,_0x1afab7={'oGhMl':function(_0x1bd7a9,_0x282707){const _0x332a1e=a40_0x4a10;return _0x1ca665[_0x332a1e(0x93)](_0x1bd7a9,_0x282707);},'KnEXr':function(_0x2ead0b,_0x5c8f36){const _0x5f09a7=a40_0x4a10;return _0x1ca665[_0x5f09a7(0xc5)](_0x2ead0b,_0x5c8f36);},'AwScP':function(_0xa3294e,_0x29e3df,_0x376406){const _0x1b46e4=a40_0x4a10;return _0x1ca665[_0x1b46e4(0xb7)](_0xa3294e,_0x29e3df,_0x376406);},'SBwZI':function(_0x3dc484,_0x57eb2a){return _0x1ca665['bMpNa'](_0x3dc484,_0x57eb2a);}};let _0x582451=_0x2c1b35[_0x3f3567(0x8d)]||[_0x1ca665[_0x3f3567(0xaa)]];_0x1ca665[_0x3f3567(0x8a)](_0x582451[_0x3f3567(0x8b)](_0x1ca665[_0x3f3567(0xbf)]),-0x1)&&(_0x582451=_0x582451[_0x3f3567(0xac)]([_0x1ca665[_0x3f3567(0xbf)]]));const _0x145316=_0x1ca665[_0x3f3567(0x8a)](typeof _0x2c1b35[_0x3f3567(0x9a)],_0x1ca665[_0x3f3567(0x97)])?_0x2c1b35[_0x3f3567(0x9a)]:undefined,_0x51741a={};_0x51741a[_0x3f3567(0xb1)]=_0x145316;const _0xd0b04b=Object[_0x3f3567(0xb4)]({},_0x2c1b35[_0x3f3567(0xbc)],{'browserstack':Object[_0x3f3567(0xb4)]({},_0x2c1b35[_0x3f3567(0xbc)]&&_0x2c1b35[_0x3f3567(0xbc)][_0x3f3567(0x8c)],_0x51741a)}),_0x14efb9={};return _0x14efb9[_0x3f3567(0x8d)]=_0x582451,_0x14efb9[_0x3f3567(0xbc)]=_0xd0b04b,_0x2c1b35=Object[_0x3f3567(0xb4)]({},_0x2c1b35,_0x14efb9),_0x1ca665['DPrcu'](limit,function(){const _0x1e904e={'vLJqs':function(_0x522821,_0x4d65c3){const _0x52313e=a40_0x4a10;return _0x1afab7[_0x52313e(0x98)](_0x522821,_0x4d65c3);},'DFecC':function(_0x39d876,_0xaf1555){const _0x5ce891=a40_0x4a10;return _0x1afab7[_0x5ce891(0x9b)](_0x39d876,_0xaf1555);},'SYlzM':function(_0x45c8eb,_0xee4f96,_0x87a0c3){const _0x3f6765=a40_0x4a10;return _0x1afab7[_0x3f6765(0xa6)](_0x45c8eb,_0xee4f96,_0x87a0c3);},'ujWob':function(_0x1c9b1d,_0x369f99){const _0x130e75=a40_0x4a10;return _0x1afab7[_0x130e75(0xa8)](_0x1c9b1d,_0x369f99);}};return new Promise(function(_0x2b093a){const _0x5d2065=a40_0x4a10;_0x1e904e[_0x5d2065(0x91)](_0x21c40d,_0x2c1b35,function(_0x3ed482,_0x50887b){const _0x560d0e=_0x5d2065,_0x47e51b=_0x50887b&&_0x50887b[_0x560d0e(0xba)]&&(_0x50887b[_0x560d0e(0xba)]['error']||_0x50887b[_0x560d0e(0xba)][_0x560d0e(0xa9)]&&_0x1e904e['vLJqs'](_0x50887b[_0x560d0e(0xba)][_0x560d0e(0xa9)]['length'],0x0));_0x1e904e['DFecC'](_0x47e51b,_0x3ed482)&&(hasFailure=!![]),_0x299f69&&_0x1e904e[_0x560d0e(0x91)](_0x299f69,_0x3ed482,_0x50887b),_0x1e904e[_0x560d0e(0x94)](_0x2b093a,_0x50887b);});});});},wrappedNewman;};async function main(){const _0x5ca84b=a40_0x37c38d,_0x5d9e96={'DfJHi':function(_0x25fa4f,_0x188837){return _0x25fa4f(_0x188837);},'ZXSkv':function(_0x5a3b12,_0x295aa8){return _0x5a3b12+_0x295aa8;},'zjSQr':function(_0x4a9318,_0x3b6e86){return _0x4a9318+_0x3b6e86;},'teJyX':_0x5ca84b(0xa5)};try{await BrowserstackCLI['getInstance']()[_0x5ca84b(0xc0)]();}catch(_0x47e658){}try{_0x5d9e96[_0x5ca84b(0x9d)](require,path[_0x5ca84b(0xb5)](scriptFile));}catch(_0x313bc8){process[_0x5ca84b(0xaf)][_0x5ca84b(0xb2)](_0x5d9e96[_0x5ca84b(0xb9)](_0x5d9e96[_0x5ca84b(0x96)](_0x5d9e96[_0x5ca84b(0x9c)],_0x313bc8[_0x5ca84b(0xb6)]||_0x313bc8),'\x0a')),process[_0x5ca84b(0xb3)]=0x1;}}main(),process['on']('beforeExit',function(){const _0x319f49=a40_0x37c38d;hasFailure&&(process[_0x319f49(0xb3)]=0x1);}),process['on']('exit',function(){const _0x2c8937=a40_0x37c38d,_0x1a3d80={};_0x1a3d80['dXEHJ']=function(_0x1a30ed,_0x150421){return _0x1a30ed===_0x150421;};const _0xbbc389=_0x1a3d80;hasFailure&&_0xbbc389['dXEHJ'](process[_0x2c8937(0xb3)],0x0)&&(process['exitCode']=0x1);});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function
|
|
2
|
+
'use strict';function a41_0x3f4c(){const _0x4928a1=['JjJyQ','modifyBrowserStackCaps','mergeDeep','hub.browserstack.com','info','length','../../helpers/logger','Deleting\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nMWRe','trim','slice','platform','platforms','855080qjMaeS','child_process','stringify','close','findIndex','QLEQe','111GdnNTm','nightwatch.cmd','path','webdriver','test','ofXKd','nightwatch','253YUMLfa','splice','../../helpers/helper','BjVpx','IjDKy','520688tjROVG','--config','yvQBE','start_process','MwrGY','nightwatch.json','7390593rSBVTJ','pucca','push','config','1246282ySXwTs','cwd','1384Mjdbbw','nightwatch.conf.js','LdHaW','BLwbM','env','now','modifyBrowserStackW3CCaps','writeFileSync','selenium','port','Getting\x20your\x20nightwatch\x20configs\x20from\x20','existsSync','hxyBy','883490KtinMZ','getPlatformName','kjzJo','join','6489pRxSgK','RjLUu','unlinkSync','JHbFh','6UVoYDB','inherit','test_settings','BaYXU','--env','useW3C','54460TolHDM','forEach'];a41_0x3f4c=function(){return _0x4928a1;};return a41_0x3f4c();}const a41_0x30ec16=a41_0x5795;function a41_0x5795(_0x18bb1d,_0x5c30b3){const _0x3f4c0d=a41_0x3f4c();return a41_0x5795=function(_0x579532,_0x5dd87d){_0x579532=_0x579532-0x148;let _0x4aa744=_0x3f4c0d[_0x579532];return _0x4aa744;},a41_0x5795(_0x18bb1d,_0x5c30b3);}(function(_0x32867f,_0x26df2c){const _0x59dcbb=a41_0x5795,_0xad6718=_0x32867f();while(!![]){try{const _0x355d28=-parseInt(_0x59dcbb(0x18a))/0x1+parseInt(_0x59dcbb(0x15e))/0x2*(parseInt(_0x59dcbb(0x174))/0x3)+-parseInt(_0x59dcbb(0x180))/0x4+parseInt(_0x59dcbb(0x150))/0x5+parseInt(_0x59dcbb(0x158))/0x6*(-parseInt(_0x59dcbb(0x186))/0x7)+parseInt(_0x59dcbb(0x18c))/0x8*(parseInt(_0x59dcbb(0x154))/0x9)+-parseInt(_0x59dcbb(0x16e))/0xa*(-parseInt(_0x59dcbb(0x17b))/0xb);if(_0x355d28===_0x26df2c)break;else _0xad6718['push'](_0xad6718['shift']());}catch(_0x285149){_0xad6718['push'](_0xad6718['shift']());}}}(a41_0x3f4c,0xcde6c));const fs=require('fs'),path=require(a41_0x30ec16(0x176)),{spawn}=require(a41_0x30ec16(0x16f)),logger=require(a41_0x30ec16(0x166))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a41_0x30ec16(0x17d)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x15ec60,_0x1d9fd8)=>{const _0x377017=a41_0x30ec16,_0x435e6f={'yvQBE':_0x377017(0x18d),'JHbFh':_0x377017(0x185),'nMWRe':function(_0x20576a,_0x2fba0c){return _0x20576a(_0x2fba0c);},'RjLUu':_0x377017(0x168)};let _0x270282=null,_0x3d5d7a={};const _0x1cb93d=_0x1d9fd8[_0x377017(0x172)](_0x540a15=>_0x540a15===_0x377017(0x181));if(!helper['isUndefined'](_0x15ec60[_0x377017(0x189)])&&fs[_0x377017(0x14e)](path['join'](process[_0x377017(0x18b)](),_0x15ec60[_0x377017(0x189)])))_0x270282=path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x15ec60[_0x377017(0x189)]),_0x1d9fd8['splice'](_0x1cb93d,0x2);else{if(fs[_0x377017(0x14e)](path['join'](process['cwd'](),_0x435e6f[_0x377017(0x182)])))_0x270282=path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x435e6f[_0x377017(0x182)]);else fs[_0x377017(0x14e)](path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x435e6f['JHbFh']))&&(_0x270282=path['join'](process['cwd'](),_0x435e6f[_0x377017(0x157)]));}return _0x270282?(logger[_0x377017(0x164)](_0x377017(0x14d)+_0x270282),_0x3d5d7a=_0x435e6f[_0x377017(0x169)](require,_0x270282)):logger[_0x377017(0x164)](_0x435e6f[_0x377017(0x155)]),_0x3d5d7a;},removeExistingEnvs=_0x1c0c7c=>{const _0x40ab46=a41_0x30ec16,_0x44ea5d={};_0x44ea5d[_0x40ab46(0x184)]=function(_0x20e626,_0x158d6b){return _0x20e626>_0x158d6b;},_0x44ea5d['ofXKd']=function(_0x9bd7ca,_0x3981ba){return _0x9bd7ca>_0x3981ba;};const _0x5d1550=_0x44ea5d;let _0x12adaf=_0x1c0c7c[_0x40ab46(0x172)](_0x10839e=>_0x10839e===_0x40ab46(0x15c));_0x5d1550[_0x40ab46(0x184)](_0x12adaf,-0x1)&&_0x1c0c7c[_0x40ab46(0x17c)](_0x12adaf,0x2),_0x12adaf=_0x1c0c7c[_0x40ab46(0x172)](_0x88c179=>_0x88c179==='-e'),_0x5d1550[_0x40ab46(0x179)](_0x12adaf,-0x1)&&_0x1c0c7c[_0x40ab46(0x17c)](_0x12adaf,0x2);};function run(_0x1f3f82,_0xad65c1,_0x5946d4){const _0xb93a68=a41_0x30ec16,_0xafdc3a={'IjDKy':_0xb93a68(0x17a),'QLEQe':function(_0x1c36ec,_0x4741aa){return _0x1c36ec+_0x4741aa;},'GqIhk':_0xb93a68(0x15a),'JjJyQ':function(_0xd6c052,_0x14c9ef,_0x2efa43){return _0xd6c052(_0x14c9ef,_0x2efa43);},'gROpK':_0xb93a68(0x163),'kjzJo':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','wKTrz':function(_0x533573,_0x316fee){return _0x533573===_0x316fee;},'pucca':'nightwatch-browserstack.json','BLwbM':function(_0x35ed0c,_0x4cc18c){return _0x35ed0c(_0x4cc18c);},'vhisY':function(_0x3803ce,_0x7b15de,_0x5bab69,_0x382aa6){return _0x3803ce(_0x7b15de,_0x5bab69,_0x382aa6);},'UNNFb':_0xb93a68(0x175),'LdHaW':_0xb93a68(0x181),'BaYXU':'--env','hxyBy':_0xb93a68(0x159),'BjVpx':_0xb93a68(0x171)};if(!_0x5946d4[_0xb93a68(0x189)])return;const _0x38fc7a=_0xafdc3a[_0xb93a68(0x160)](getUserNightwatchConfigs,_0x1f3f82,_0xad65c1),_0x3e29b8={};_0x3e29b8[_0xb93a68(0x183)]=![];const _0x19c27d={};_0x19c27d['host']=_0xafdc3a['gROpK'],_0x19c27d[_0xb93a68(0x14c)]=0x1bb;const _0xde32ed={};_0xde32ed[_0xb93a68(0x177)]=_0x3e29b8,_0xde32ed[_0xb93a68(0x14b)]=_0x19c27d;const _0x42300b=_0xde32ed;logger[_0xb93a68(0x164)](_0xafdc3a[_0xb93a68(0x152)]);const _0x60287f={..._0x38fc7a},_0x28fb8c=_0x60287f,_0x3109d7=helper[_0xb93a68(0x15d)](_0x5946d4[_0xb93a68(0x189)]),_0x2f05a8=[];_0x5946d4['config'][_0xb93a68(0x16d)][_0xb93a68(0x15f)]((_0x23b9b2,_0x8fdefa)=>{const _0x21b554=_0xb93a68;_0x3109d7?_0x2f05a8['push'](helper[_0x21b554(0x149)](_0x5946d4[_0x21b554(0x189)],_0xafdc3a[_0x21b554(0x17f)],_0x8fdefa)):_0x2f05a8[_0x21b554(0x188)](helper[_0x21b554(0x161)](_0x5946d4[_0x21b554(0x189)],_0xafdc3a[_0x21b554(0x17f)],_0x8fdefa));});const _0x1208df={},_0x740e5d=[];_0x1f3f82[_0xb93a68(0x190)]=_0x1f3f82[_0xb93a68(0x190)]||_0x1f3f82['e'];const _0xc6047=_0x1f3f82['env']?_0x1f3f82[_0xb93a68(0x190)][_0xb93a68(0x16a)]()['split'](',')['map'](_0x2a2ba9=>_0x2a2ba9[_0xb93a68(0x16a)]())['filter'](_0xf09ac3=>_0xf09ac3!==''):[''];_0xafdc3a['wKTrz'](_0xc6047[_0xb93a68(0x165)],0x0)&&_0xc6047[_0xb93a68(0x188)]('');_0xc6047['forEach'](_0x23c143=>{const _0x212fef=_0xb93a68;_0x2f05a8[_0x212fef(0x15f)](_0x3c3795=>{const _0x4aa94a=_0x212fef;let _0xb3fc99=_0xafdc3a[_0x4aa94a(0x173)](helper[_0x4aa94a(0x151)](_0x3c3795,'_'),'_'+Date[_0x4aa94a(0x148)]());_0x23c143&&(_0xb3fc99+='_'+_0x23c143);if(_0x23c143&&(!_0x38fc7a[_0xafdc3a['GqIhk']]||!_0x38fc7a[_0xafdc3a['GqIhk']][_0x23c143]))return;const _0x40732e={..._0x42300b};_0x40732e['desiredCapabilities']=_0x3c3795;const _0x965f98=_0x40732e;_0x1208df[_0xb3fc99]=_0x23c143?helper[_0x4aa94a(0x162)](_0x38fc7a[_0xafdc3a['GqIhk']][_0x23c143],_0x965f98):_0x965f98,_0x740e5d[_0x4aa94a(0x188)](_0xb3fc99);});});!_0x28fb8c['test_settings']&&(_0x28fb8c[_0xb93a68(0x15a)]={});_0x28fb8c['test_settings']={..._0x28fb8c['test_settings'],..._0x1208df};const _0x36046e=path[_0xb93a68(0x153)](__dirname,_0xafdc3a[_0xb93a68(0x187)]);fs[_0xb93a68(0x14a)](_0x36046e,JSON[_0xb93a68(0x170)](_0x28fb8c)),_0xafdc3a[_0xb93a68(0x18f)](removeExistingEnvs,_0xad65c1);const _0x34b8fe=_0xafdc3a['vhisY'](spawn,/^win/[_0xb93a68(0x178)](process[_0xb93a68(0x16c)])?_0xafdc3a['UNNFb']:_0xafdc3a[_0xb93a68(0x17f)],[_0xafdc3a[_0xb93a68(0x18e)],_0x36046e,..._0xad65c1[_0xb93a68(0x16b)](0x1),_0xafdc3a[_0xb93a68(0x15b)],_0x740e5d[_0xb93a68(0x153)](',')],{'stdio':_0xafdc3a[_0xb93a68(0x14f)]});_0x34b8fe['on'](_0xafdc3a[_0xb93a68(0x17e)],async _0x50e1bb=>{const _0x164142=_0xb93a68;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x50e1bb),logger[_0x164142(0x164)](_0x164142(0x167)+_0x36046e),fs[_0x164142(0x156)](_0x36046e);});}module['exports']=run;
|