browserstack-node-sdk 1.66.3 → 1.66.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/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/node-generic/client.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/reporterArgs.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.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/nodeGenericTestFramework.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/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.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/stackFrameUtils.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/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a42_0x319f(_0xbe11d1,_0x41b5b2){const _0x3d5b46=a42_0x3d5b();return a42_0x319f=function(_0x319f22,_0x1fda94){_0x319f22=_0x319f22-0x1a4;let _0x39c277=_0x3d5b46[_0x319f22];return _0x39c277;},a42_0x319f(_0xbe11d1,_0x41b5b2);}const a42_0x394e23=a42_0x319f;(function(_0x324af6,_0x2b835e){const _0x533db5=a42_0x319f,_0x29feab=_0x324af6();while(!![]){try{const _0x3155e2=-parseInt(_0x533db5(0x1f2))/0x1+-parseInt(_0x533db5(0x1e4))/0x2+parseInt(_0x533db5(0x1b9))/0x3+parseInt(_0x533db5(0x1c7))/0x4*(-parseInt(_0x533db5(0x1bb))/0x5)+parseInt(_0x533db5(0x1d6))/0x6*(-parseInt(_0x533db5(0x1cd))/0x7)+-parseInt(_0x533db5(0x1fd))/0x8*(-parseInt(_0x533db5(0x1d3))/0x9)+parseInt(_0x533db5(0x1ba))/0xa;if(_0x3155e2===_0x2b835e)break;else _0x29feab['push'](_0x29feab['shift']());}catch(_0x99d320){_0x29feab['push'](_0x29feab['shift']());}}}(a42_0x3d5b,0x8e7da));const {v4:uuidv4}=require(a42_0x394e23(0x1e7)),{name,version}=require(a42_0x394e23(0x1f8)),logPatcher=require(a42_0x394e23(0x1df)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a42_0x394e23(0x1aa)),{consoleHolder}=require(a42_0x394e23(0x1de)),{getPlatformVersion,isBrowserstackInfra}=require(a42_0x394e23(0x1d5)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a42_0x394e23(0x1b2)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a42_0x394e23(0x1d9)]=()=>{const _0x374970=a42_0x394e23,_0x3ec9a2={'GjHHo':_0x374970(0x1da),'CvRpG':function(_0x649839){return _0x649839();}};return{'ci':_0x3ec9a2[_0x374970(0x1bd)],'key':_0x3ec9a2[_0x374970(0x1ef)](uuidv4),'version':version,'collector':_0x374970(0x1b0)+name};},exports[a42_0x394e23(0x1dc)]=_0x4694b4=>{const _0x31571a=a42_0x394e23,_0x5f3e13={};_0x5f3e13[_0x31571a(0x1ca)]=function(_0x22fbe0,_0x405bb5){return _0x22fbe0!==_0x405bb5;},_0x5f3e13[_0x31571a(0x1d8)]='string',_0x5f3e13[_0x31571a(0x1f1)]=function(_0x2ff89b,_0x44f3e4){return _0x2ff89b!==_0x44f3e4;},_0x5f3e13['uPmhg']=_0x31571a(0x1c9),_0x5f3e13[_0x31571a(0x1a9)]=function(_0x39e029,_0x395e68){return _0x39e029!==_0x395e68;},_0x5f3e13[_0x31571a(0x1e0)]=_0x31571a(0x1d7);const _0x587f7e=_0x5f3e13;if(!_0x4694b4||_0x587f7e['HzIxT'](typeof _0x4694b4,_0x587f7e['MknfQ']))return[null,null];if(_0x587f7e[_0x31571a(0x1f1)](_0x4694b4[_0x31571a(0x1ab)](_0x587f7e['uPmhg']),-0x1)){const _0x4bf8b0=_0x4694b4['split'](_0x587f7e['uPmhg']);return[_0x4bf8b0[0x0][_0x31571a(0x1fa)](0x0,-0x1)[_0x31571a(0x1d2)]('\x22')[0x1],_0x4bf8b0[0x1][_0x31571a(0x1cb)](0x1)];}else{if(_0x587f7e['ysbOr'](_0x4694b4[_0x31571a(0x1ab)](_0x587f7e[_0x31571a(0x1e0)]),-0x1)){const _0x59dafb=_0x4694b4['split'](_0x587f7e[_0x31571a(0x1e0)]);return[_0x59dafb[0x0][_0x31571a(0x1fa)](0x0,-0x1)[_0x31571a(0x1d2)]('\x22')[0x1],_0x4694b4];}}return[null,null];},exports[a42_0x394e23(0x1a5)]=_0x39f77c=>{const _0xb58033=a42_0x394e23,_0x473abe={'IqlZB':function(_0x10b7c4,_0x2bb360){return _0x10b7c4(_0x2bb360);},'mvAvC':_0xb58033(0x1c5),'klBJX':_0xb58033(0x1dd),'jJcww':_0xb58033(0x1e1),'chXuy':_0xb58033(0x1e8)};if(!_0x39f77c||!_0x39f77c['parent'])return[];const _0x20fbac=[];return[_0x473abe[_0xb58033(0x1f7)],_0x473abe[_0xb58033(0x1a6)],_0x473abe[_0xb58033(0x1e5)],_0x473abe[_0xb58033(0x1a4)]]['forEach'](_0x38a4dc=>{const _0x24d161=_0xb58033,_0x31b0a3={'kCpuq':function(_0x1e6289,_0x2c27e4){const _0x12df67=a42_0x319f;return _0x473abe[_0x12df67(0x1cf)](_0x1e6289,_0x2c27e4);}},_0x288b68=_0x39f77c['parent'][_0x38a4dc]||[];_0x288b68[_0x24d161(0x1c2)](_0xb6dda0=>{const _0x5b70fa=_0x24d161;_0xb6dda0['hookAnalyticsId']&&!_0x31b0a3[_0x5b70fa(0x1ac)](isInternalHook,_0xb6dda0['fn'])&&_0x20fbac[_0x5b70fa(0x1e3)](_0xb6dda0['hookAnalyticsId']);});}),[..._0x20fbac,...exports[_0xb58033(0x1a5)](_0x39f77c[_0xb58033(0x1ae)])];},exports['mapTestHooks']=_0x184c95=>{const _0x4284c0=a42_0x394e23,_0x186e48={'vYEwp':function(_0x535696){return _0x535696();},'dTsNb':function(_0x5c6e49,_0x1c545f){return _0x5c6e49===_0x1c545f;},'WLiKf':_0x4284c0(0x1e8),'xMaZM':_0x4284c0(0x1c5),'qTCgH':_0x4284c0(0x1dd),'BlPXK':'_beforeEach'};if(!_0x184c95||!_0x184c95['parent'])return;[_0x186e48[_0x4284c0(0x1f0)],_0x186e48[_0x4284c0(0x1be)],_0x186e48['BlPXK'],_0x186e48[_0x4284c0(0x1ce)]][_0x4284c0(0x1c2)](_0x587668=>{const _0x9b173c=_0x4284c0,_0x14ae73=_0x184c95[_0x9b173c(0x1ae)][_0x587668]||[];_0x14ae73[_0x9b173c(0x1c2)](_0x1a8162=>{const _0x5aa0f5=_0x9b173c;if(!_0x1a8162[_0x5aa0f5(0x1c0)])_0x1a8162['hookAnalyticsId']=_0x186e48[_0x5aa0f5(0x1eb)](uuidv4);else _0x1a8162[_0x5aa0f5(0x1a8)]&&_0x186e48[_0x5aa0f5(0x1e9)](_0x587668,_0x186e48['WLiKf'])&&(_0x1a8162[_0x5aa0f5(0x1c0)]=_0x186e48['vYEwp'](uuidv4),delete _0x1a8162['markedStatus']);});}),exports['mapTestHooks'](_0x184c95[_0x4284c0(0x1ae)]);},exports['sendPlatformDetails']=async(_0x520664,_0x2462e3)=>{const _0x32646a=a42_0x394e23,_0x321f80={'BeZup':function(_0x213da6){return _0x213da6();},'FAoMl':_0x32646a(0x1c1),'plirF':function(_0x32803e,_0x55ba25,_0x1f2fe2){return _0x32803e(_0x55ba25,_0x1f2fe2);},'ZywBp':_0x32646a(0x1e6),'hxatu':function(_0x423e88,_0x204f50){return _0x423e88(_0x204f50);},'VmLSa':function(_0x42d17c,_0x24c0cd){return _0x42d17c===_0x24c0cd;},'ysWsU':_0x32646a(0x1f3),'qstte':_0x32646a(0x1a7),'KIRtw':function(_0x248650,_0x12d7d5){return _0x248650(_0x12d7d5);}};try{if(!_0x321f80[_0x32646a(0x1ad)](shouldProcessEventForTesthub))return;const _0x34e950=await _0x520664['getCapabilities'](),_0x304a53=await _0x520664[_0x32646a(0x1b6)](),_0x312811={},_0x460caf=Object[_0x32646a(0x1b8)](_0x304a53['getCapabilities']()[_0x32646a(0x1b5)]),_0x30b8a8=_0x321f80[_0x32646a(0x1ad)](isBrowserstackInfra)?_0x321f80[_0x32646a(0x1b1)]:global[_0x32646a(0x1c8)],_0x543473={'product':_0x321f80[_0x32646a(0x1f5)](getObservabilityLinkedProductName,_0x460caf,_0x30b8a8),'capabilities':_0x460caf,'platform':_0x34e950[_0x32646a(0x1ea)](),'platform_version':_0x34e950['get'](_0x321f80[_0x32646a(0x1d4)])?_0x34e950[_0x32646a(0x1af)](_0x321f80[_0x32646a(0x1d4)]):_0x321f80[_0x32646a(0x1b7)](getPlatformVersion,_0x321f80[_0x32646a(0x1cc)](_0x30b8a8,_0x321f80['FAoMl'])),'browser':_0x34e950['getBrowserName'](),'browser_version':_0x34e950[_0x32646a(0x1c3)](),'session_id':_0x304a53[_0x32646a(0x1f9)]()};_0x30b8a8?_0x312811[_0x30b8a8]=_0x543473:_0x312811[_0x321f80[_0x32646a(0x1ed)]]=_0x543473,process[_0x32646a(0x1bc)](_0x32646a(0x1fe)+process[_0x32646a(0x1bf)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x321f80[_0x32646a(0x1c4)],'http_response':_0x312811,'uuid':_0x2462e3});}catch(_0x482845){_0x321f80['KIRtw'](debug,_0x32646a(0x1b3)+_0x482845);}},exports['getHookSkippedTests']=_0x177c92=>{const _0x1cc25b=a42_0x394e23,_0x196c40={};_0x196c40[_0x1cc25b(0x1c6)]=function(_0xedf0e,_0x1120f){return _0xedf0e!==_0x1120f;},_0x196c40[_0x1cc25b(0x1f4)]='hook',_0x196c40[_0x1cc25b(0x1d0)]='passed',_0x196c40[_0x1cc25b(0x1ec)]=function(_0x3d5154,_0x443a4c){return _0x3d5154!==_0x443a4c;},_0x196c40[_0x1cc25b(0x1e2)]=_0x1cc25b(0x1f6);const _0x6e559f=_0x196c40,_0x51b2fd=_0x177c92[_0x1cc25b(0x1ee)][_0x1cc25b(0x1ff)]((_0x32df97,_0x1eb657)=>{const _0x4b78bf=_0x1cc25b,_0x482ae3=exports[_0x4b78bf(0x1db)](_0x1eb657);return _0x482ae3&&(_0x32df97=_0x32df97[_0x4b78bf(0x1b4)](_0x482ae3)),_0x32df97;},[]),_0x3622dc=_0x177c92[_0x1cc25b(0x1fc)][_0x1cc25b(0x1d1)](_0x43ddb4=>{const _0x4af615=_0x1cc25b,_0x2edd76=_0x6e559f['nIXtK'](_0x43ddb4['type'],_0x6e559f[_0x4af615(0x1f4)])&&!_0x43ddb4[_0x4af615(0x1a8)]&&_0x6e559f[_0x4af615(0x1c6)](_0x43ddb4['state'],_0x6e559f[_0x4af615(0x1d0)])&&_0x6e559f[_0x4af615(0x1ec)](_0x43ddb4[_0x4af615(0x1fb)],_0x6e559f['iPyXz'])&&!_0x43ddb4['pending'];return _0x2edd76;});return _0x3622dc[_0x1cc25b(0x1b4)](_0x51b2fd);};function a42_0x3d5b(){const _0x6653e4=['indexOf','kCpuq','BeZup','parent','get','js-','FAoMl','lodash','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','concat','map_','getSession','hxatu','fromEntries','46047IMnaJl','24768350TjGGiU','1084665XQvMAb','emit','GjHHo','qTCgH','pid','hookAnalyticsId','browserstack','forEach','getBrowserVersion','qstte','_beforeAll','nIXtK','12bCDHWn','__cloud_provider___','hook:','HzIxT','substring','VmLSa','7aRmFye','WLiKf','IqlZB','KnAXs','filter','split','365868haAdnu','ZywBp','../../../helpers/helper','5545326iJwiEJ','hook','MknfQ','getTestEnv','generic','getHookSkippedTests','getHookDetails','_afterAll','../../../helpers/test-observability/constants','../../utils/logPatcher','xOszh','_beforeEach','iPyXz','push','1546090SThGMX','jJcww','platformVersion','uuid','_afterEach','dTsNb','getPlatform','vYEwp','sqSxi','ysWsU','suites','CvRpG','xMaZM','OZCEq','495473Hnjpgb','unknown_grid','VxjxL','plirF','failed','mvAvC','../../../../package.json','toJSON','slice','state','tests','184bAtdnw','bs:addPlatformDetails:','reduce','chXuy','getHooksForTest','klBJX','TEST_PLATFORM','markedStatus','ysbOr','../../../helpers/test-observability/utils'];a42_0x3d5b=function(){return _0x6653e4;};return a42_0x3d5b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0xf76c30=a43_0x4f25;(function(_0x106aa2,_0x528b3b){const _0x19b680=a43_0x4f25,_0x5ec536=_0x106aa2();while(!![]){try{const _0x5d96c8=-parseInt(_0x19b680(0x193))/0x1+parseInt(_0x19b680(0x1fb))/0x2*(-parseInt(_0x19b680(0x158))/0x3)+parseInt(_0x19b680(0x1c6))/0x4+parseInt(_0x19b680(0x191))/0x5*(-parseInt(_0x19b680(0x1e7))/0x6)+parseInt(_0x19b680(0x1d0))/0x7+parseInt(_0x19b680(0x1a3))/0x8+parseInt(_0x19b680(0x1f3))/0x9;if(_0x5d96c8===_0x528b3b)break;else _0x5ec536['push'](_0x5ec536['shift']());}catch(_0xc02a4a){_0x5ec536['push'](_0x5ec536['shift']());}}}(a43_0x4af9,0x229c7));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0xf76c30(0x1cd)),accessibilityRetryHelper=require(a43_0xf76c30(0x178)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0xf76c30(0x1d4)),{percyAutoCapture}=require(a43_0xf76c30(0x1ff)),{sendPlatformDetails}=require(a43_0xf76c30(0x1e0)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a43_0xf76c30(0x1ea)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0xf76c30(0x1ed)),globals=require(a43_0xf76c30(0x197)),logger=require(a43_0xf76c30(0x177))[a43_0xf76c30(0x1a1)],{shouldProcessEventForTesthub}=require(a43_0xf76c30(0x162)),testHubConstants=require(a43_0xf76c30(0x1e8));try{require(a43_0xf76c30(0x1a7))[a43_0xf76c30(0x176)](a43_0xf76c30(0x20a));}catch(a43_0xfe804a){logger[a43_0xf76c30(0x19d)](a43_0xf76c30(0x1d2)+(a43_0xfe804a&&a43_0xfe804a[a43_0xf76c30(0x1f5)]));}function a43_0x4f25(_0x516ce1,_0x33a992){const _0x4af94e=a43_0x4af9();return a43_0x4f25=function(_0x4f25b0,_0xb1f5e0){_0x4f25b0=_0x4f25b0-0x157;let _0x30ded5=_0x4af94e[_0x4f25b0];return _0x30ded5;},a43_0x4f25(_0x516ce1,_0x33a992);}function a43_0x4af9(){const _0x2374f6=['currentTest','dFgYR','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ufHNT','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','mMhNC','quitCount_','SYNC','failed','warn','join','556672grbFQN','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','ZXknA','FejiJ','accessibilityScanStarted','eVamz','RAfwz','../../helpers/accessibility-automation/helper','SBYdm','bdYFv','1466325OLGbrP','KpWqs','driver-init\x20capture\x20install\x20failed:\x20','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','../utils/constants','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','percyCaptureMode','ajXUo','length','MuboI','wsEUY','wxIeV','FniIX','Euzdt','protocol','initQuit','./test-observability/mochaUtils','uEsZV','__platformCaps','UqHWh','gvIRH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','JwoWd','18MdUZqu','../../helpers/testhub/constants','Nzbjg','../../helpers/performance/performance-tester','startMonitoring','EZvjm','../../helpers/performance/constants','BROWSERSTACK_TESTHUB_UUID','drUXt','HCCvk','then','capabilities','148023emrgfb','npCPB','message','BsuVV','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','bstackA11yShouldScan','start','CdgXy','308746ElDMzh','state','SDK_HOOK','PERFORM_SCAN','../../helpers/percy/utils','RQYFa','testAnalyticsId','beforeEach','stringify','LEzAB','getGlobal','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Mocha','lVAqi','titlePath','mocha','KduGu','sessionNameSet__','SAVE_RESULTS','executeScript','__skipSessionName','setGlobal','3xYfduK','.\x20Error\x20:','OeTSS','ApdPm','command','push','EpPoq','session_','__sessionFailed','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','../../helpers/testhub/utils','env','tyryo','uUEjN','Accessibility\x20results\x20saved\x20successfully','SESSION_STATUS','XCXPb','thTestRunUuid','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','shouldScanTestForAccessibility','gZqEI','ElKNe','err','parse','TPXBU','autoScanning','now','__error_messages__','afterTest','hmdoU','installAll','../../helpers/logger','../../helpers/accessibility-automation/accessibilityRetryHelper','testcase','HMrTe','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','fSVPP','qEpMY','Passed','btrwN','timeout','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','measureWrapper','http:','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','HpNJa','rcKJH','eyODR','SESSION_NAME','Failed\x20to\x20store\x20session\x20name:\x20','NAdqK','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','driverCleanup','ENV_VAR','__drivers','bstackA11yScanOptions','186085JxsBvo','shift','42304RkHsHX','QyfUC','BVzJw','passed','../../helpers/globals','VvLPn','browserstackSessionName','dGsvq','ObservabilitySync:','end','debug','\x20-\x20','ZHIpS','PwFxq','winstonLogger','Automate\x20test\x20case\x20execution\x20has\x20started.','680040EZdvEv','qXgle','ZLGDE','dnzmQ','../../helpers/driverInitErrorReporter','KktQa','UxnZt','ZeALM','finally','TnbeC','isAccessibilityPlatform','info','index','error','JAwvK','JaqQy','QqFNO','isArray','performScanWithRetry','Accessibility\x20scan\x20completed\x20successfully','saveAccessibilityResultsWithRetry','afterAll','pVYqD','percy'];a43_0x4af9=function(){return _0x2374f6;};return a43_0x4af9();}exports['mochaHooks']={'beforeAll'(){const _0x5738fd=a43_0xf76c30,_0x360204={'gvIRH':function(_0x166f0e,_0x32b025,_0x27fae4,_0x332a1a){return _0x166f0e(_0x32b025,_0x27fae4,_0x332a1a);},'nqlxV':_0x5738fd(0x1c3),'ElKNe':'\x20|\x20','uEsZV':function(_0x23927c,_0xec1acd,_0x56b68e){return _0x23927c(_0xec1acd,_0x56b68e);},'KduGu':_0x5738fd(0x196),'HpNJa':function(_0x2ec130){return _0x2ec130();},'dGsvq':function(_0x1f9c1d,_0x469633,_0x3ffd88){return _0x1f9c1d(_0x469633,_0x3ffd88);},'JwoWd':_0x5738fd(0x1af),'lVAqi':'beforeAll'};PerformanceTester[_0x5738fd(0x1eb)]();const _0x39fb0a='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x5738fd(0x1fd)],()=>{const _0x186a7d=_0x5738fd;global['__error_messages__']=[],global[_0x186a7d(0x160)]=![],global[_0x186a7d(0x18d)]=async()=>{const _0x223f59=_0x186a7d;let _0x521d4c=![];try{await global[_0x223f59(0x18f)][0x0][_0x223f59(0x15f)],_0x521d4c=!![],global[_0x223f59(0x160)]?await _0x360204[_0x223f59(0x1e4)](markSessionStatus,global[_0x223f59(0x18f)][0x0],_0x360204['nqlxV'],global[_0x223f59(0x173)]['join'](_0x360204[_0x223f59(0x16d)])):await _0x360204[_0x223f59(0x1e1)](markSessionStatus,global[_0x223f59(0x18f)][0x0],_0x360204[_0x223f59(0x20b)]);}catch(_0x1036d0){logger[_0x223f59(0x19d)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x1036d0);}global[_0x223f59(0x173)]=[],global[_0x223f59(0x160)]=![];if(_0x521d4c)try{try{_0x360204[_0x223f59(0x185)](shouldProcessEventForTesthub)&&(global[_0x223f59(0x18f)][0x0]&&await _0x360204[_0x223f59(0x19a)](sendPlatformDetails,global['__drivers'][0x0],this[_0x223f59(0x1bb)]?this[_0x223f59(0x1bb)][_0x223f59(0x201)]:null));}catch(_0xf15444){logger[_0x223f59(0x19d)](_0x223f59(0x184)+_0xf15444);}await global[_0x223f59(0x18f)][0x0][_0x223f59(0x1df)]();}catch(_0x16d038){logger[_0x223f59(0x19d)](_0x223f59(0x1d5)+_0x16d038);}};},{'platform':_0x360204[_0x5738fd(0x19a)](nestedKeyValue,global[_0x5738fd(0x1e2)],[_0x360204[_0x5738fd(0x1e6)]]),'hookType':_0x360204[_0x5738fd(0x208)]})();},'beforeEach'(_0x577384){const _0x52beb9=a43_0xf76c30,_0x3ecc78={'JAwvK':function(_0x4f47e9){return _0x4f47e9();},'wsGzT':function(_0x1db873,_0x5db09c){return _0x1db873>_0x5db09c;},'ZeALM':'\x20-\x20','YSYjK':function(_0x355faa,_0x1a5dd4,_0x504507){return _0x355faa(_0x1a5dd4,_0x504507);},'XRKgK':function(_0x503265,_0x531d55){return _0x503265===_0x531d55;},'netPb':_0x52beb9(0x1f8),'Euzdt':_0x52beb9(0x190),'gZqEI':function(_0x249ac0){return _0x249ac0();},'JaqQy':_0x52beb9(0x1ad),'QqFNO':_0x52beb9(0x183),'tyryo':'https:','xxyVi':_0x52beb9(0x1f7),'LYOGA':_0x52beb9(0x1a2),'BsuVV':function(_0x250ae1){return _0x250ae1();},'HUECx':'browserstackTestName','EmGvM':function(_0x4ecfef,_0x2747c0,_0x2d95d2){return _0x4ecfef(_0x2747c0,_0x2d95d2);},'TnbeC':'index','ZLGDE':_0x52beb9(0x202)};globals[_0x52beb9(0x157)](_0x3ecc78['HUECx'],this['currentTest'][_0x52beb9(0x209)]()[_0x52beb9(0x1c5)](_0x3ecc78[_0x52beb9(0x1aa)])),PerformanceTester[_0x52beb9(0x182)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1b15b0=_0x52beb9,_0x34194a={'QyfUC':function(_0x218c03,_0x113005){return _0x3ecc78['wsGzT'](_0x218c03,_0x113005);},'FejiJ':function(_0x1cccd6,_0x148b44){return _0x3ecc78['wsGzT'](_0x1cccd6,_0x148b44);},'NAdqK':_0x3ecc78['ZeALM'],'FSlBu':function(_0x27c898,_0x140dfb,_0x2b33a1){return _0x3ecc78['YSYjK'](_0x27c898,_0x140dfb,_0x2b33a1);},'KpWqs':function(_0x364af2,_0x493d22){return _0x3ecc78['XRKgK'](_0x364af2,_0x493d22);},'EpPoq':_0x3ecc78['netPb'],'HCCvk':_0x3ecc78[_0x1b15b0(0x1dd)],'CdgXy':function(_0xa7cd5d){const _0x16debf=_0x1b15b0;return _0x3ecc78[_0x16debf(0x16c)](_0xa7cd5d);},'qEpMY':_0x3ecc78[_0x1b15b0(0x1b2)],'FUuhk':_0x3ecc78[_0x1b15b0(0x1b3)],'dnzmQ':_0x3ecc78[_0x1b15b0(0x164)],'ZXknA':_0x3ecc78['xxyVi'],'drUXt':_0x3ecc78['LYOGA'],'LEzAB':function(_0x1f703e){const _0x1e7731=_0x1b15b0;return _0x3ecc78[_0x1e7731(0x1f6)](_0x1f703e);}},_0xef300='browserstack internal helper hook';new Promise(async _0x85eef5=>{const _0x1d51b3=_0x1b15b0;let _0xa4601c=!![];try{_0x34194a[_0x1d51b3(0x194)](global[_0x1d51b3(0x18f)]['length'],0x1)&&(await global[_0x1d51b3(0x18d)](),global[_0x1d51b3(0x18f)][_0x1d51b3(0x192)]()),_0x34194a[_0x1d51b3(0x1c9)](global[_0x1d51b3(0x18f)][0x0][_0x1d51b3(0x1c1)],0x0)&&(_0xa4601c=![],await global[_0x1d51b3(0x18d)]());}catch(_0x5397db){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5397db);}try{Array['isArray'](global['__drivers'])&&global[_0x1d51b3(0x18f)][0x0]&&(global[_0x1d51b3(0x18f)][0x0][_0x1d51b3(0x199)]=this[_0x1d51b3(0x1bb)][_0x1d51b3(0x209)]()[_0x1d51b3(0x1c5)](_0x34194a['NAdqK'])),global[_0x1d51b3(0x199)]=this[_0x1d51b3(0x1bb)][_0x1d51b3(0x209)]()[_0x1d51b3(0x1c5)](_0x34194a[_0x1d51b3(0x18a)]);}catch(_0x39f382){logger[_0x1d51b3(0x19d)](_0x1d51b3(0x189)+_0x39f382);}this[_0x1d51b3(0x1bb)]['shouldScanTestForAccessibility']=_0x34194a['FSlBu'](shouldScanTestForAccessibility,this[_0x1d51b3(0x1bb)][_0x1d51b3(0x209)](),!![]);let _0x1c0fe2=!![];try{const _0x9cfd2b=JSON[_0x1d51b3(0x16f)](process[_0x1d51b3(0x163)][_0x1d51b3(0x1e5)]||'{}');_0x34194a['KpWqs'](_0x9cfd2b[_0x1d51b3(0x171)],![])&&(_0x1c0fe2=![]);}catch(_0x1f0646){logger[_0x1d51b3(0x19d)](_0x1d51b3(0x17b)+_0x1f0646['message']);}const _0x44b091=_0x1c0fe2&&this['currentTest'][_0x1d51b3(0x16b)];globals[_0x1d51b3(0x157)](_0x34194a[_0x1d51b3(0x15e)],_0x44b091),globals[_0x1d51b3(0x157)](_0x34194a[_0x1d51b3(0x1f0)],null),this[_0x1d51b3(0x1bb)][_0x1d51b3(0x1ca)]=this['currentTest'][_0x1d51b3(0x16b)];if(_0x34194a[_0x1d51b3(0x1fa)](isAccessibilityAutomationSession)&&_0xa4601c&&Array[_0x1d51b3(0x1b4)](global[_0x1d51b3(0x18f)])&&_0x34194a[_0x1d51b3(0x194)](global[_0x1d51b3(0x18f)][_0x1d51b3(0x1d8)],0x0)&&globals[_0x1d51b3(0x205)](_0x34194a[_0x1d51b3(0x17d)]))try{const _0x4f1135=await global[_0x1d51b3(0x18f)][0x0]['session_'];if(_0x4f1135){let _0x12da18=!![];const _0x46fe92=await global[_0x1d51b3(0x18f)][0x0]['getCurrentUrl']();let _0x3793cf;try{_0x3793cf=new URL(_0x46fe92),_0x12da18=_0x34194a['KpWqs'](_0x3793cf['protocol'],_0x34194a['FUuhk'])||_0x34194a[_0x1d51b3(0x1d1)](_0x3793cf[_0x1d51b3(0x1de)],_0x34194a[_0x1d51b3(0x1a6)]);}catch(_0x36c63d){_0x12da18=![];}_0x12da18&&(this['currentTest'][_0x1d51b3(0x16b)]&&logger[_0x1d51b3(0x1ae)](_0x34194a[_0x1d51b3(0x1c8)])),this[_0x1d51b3(0x1bb)]['accessibilityScanStarted']=this[_0x1d51b3(0x1bb)][_0x1d51b3(0x16b)],_0x44b091&&logger[_0x1d51b3(0x1ae)](_0x34194a[_0x1d51b3(0x1ef)]);}}catch(_0x155752){logger['error'](_0x1d51b3(0x161)+util['format'](_0x155752));}_0x34194a[_0x1d51b3(0x204)](_0x85eef5);})[_0x1b15b0(0x1f1)](()=>{const _0x5d3ef9=_0x1b15b0;_0x3ecc78[_0x5d3ef9(0x1b1)](_0x577384);});},{'platform':_0x3ecc78['EmGvM'](nestedKeyValue,global[_0x52beb9(0x1e2)],[_0x3ecc78[_0x52beb9(0x1ac)]]),'hookType':_0x3ecc78[_0x52beb9(0x1a5)]})();},'afterEach'(_0x4c2bf5){const _0x2d1ee8=a43_0xf76c30,_0x2c5590={'btrwN':function(_0x204464,_0x3580c2){return _0x204464!==_0x3580c2;},'npCPB':'passed','PwFxq':function(_0x4d97fe,_0x515e25,_0x4ac359){return _0x4d97fe(_0x515e25,_0x4ac359);},'QUMxl':function(_0x552be8,_0x1d615a){return _0x552be8+_0x1d615a;},'eyODR':'Failed:\x20','HMrTe':_0x2d1ee8(0x1b0),'ApdPm':_0x2d1ee8(0x17e),'Ipybu':_0x2d1ee8(0x1ae),'UxnZt':function(_0x301f40,_0x3f5ddb){return _0x301f40>_0x3f5ddb;},'PtmOj':function(_0x1b44cd,_0xe40cae){return _0x1b44cd===_0xe40cae;},'eVamz':_0x2d1ee8(0x179),'fSVPP':function(_0x20bd6e,_0x3613b0){return _0x20bd6e>_0x3613b0;},'ZHIpS':'appium:app','KktQa':function(_0x1bd319,_0x3aa67b,_0x384e3f,_0x1ef3d5){return _0x1bd319(_0x3aa67b,_0x384e3f,_0x1ef3d5);},'qXgle':_0x2d1ee8(0x1ad),'XBdTL':_0x2d1ee8(0x206),'FniIX':_0x2d1ee8(0x1f8),'XCXPb':_0x2d1ee8(0x1c7),'hmdoU':_0x2d1ee8(0x174),'OeTSS':_0x2d1ee8(0x1b6),'uUEjN':_0x2d1ee8(0x1bf),'MuboI':_0x2d1ee8(0x1d3),'kxWwm':_0x2d1ee8(0x166),'fsivO':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SBYdm':_0x2d1ee8(0x18c),'mMhNC':function(_0x5f19b0){return _0x5f19b0();},'Nzbjg':function(_0x36cbde,_0x22fd7c,_0x34cc3d){return _0x36cbde(_0x22fd7c,_0x34cc3d);},'dFgYR':function(_0x2e9fbb){return _0x2e9fbb();},'EZvjm':function(_0x26c26e,_0x56964f,_0x43bb56){return _0x26c26e(_0x56964f,_0x43bb56);},'VvLPn':_0x2d1ee8(0x19d),'ufHNT':function(_0x4d9a4c){return _0x4d9a4c();},'rcKJH':_0x2d1ee8(0x19e),'BVzJw':_0x2d1ee8(0x207),'RQYFa':'index','etuEp':'afterEach'},_0x17e4c9='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2c5590[_0x2d1ee8(0x195)]]),global['sessionName']=this['currentTest'][_0x2d1ee8(0x209)]()['join'](_0x2c5590[_0x2d1ee8(0x186)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2d1ee8(0x1fd)],()=>{const _0x3be2b9=_0x2d1ee8,_0x46b83b={};_0x46b83b[_0x3be2b9(0x1e3)]=_0x2c5590[_0x3be2b9(0x186)];const _0x4fc05a=_0x46b83b,_0x3e6ee2=async(_0x3d501e,_0x2a7255)=>{const _0x1c226d=_0x3be2b9;await global[_0x1c226d(0x18f)][0x0][_0x1c226d(0x20e)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x3d501e+',\x22level\x22:\x20\x22'+_0x2a7255+'\x22}}');};new Promise(async _0x32ae33=>{const _0x1a282a=_0x3be2b9,_0x14227b={'DzLug':function(_0x2ad7a4,_0x4aa103){const _0x54448c=a43_0x4f25;return _0x2c5590[_0x54448c(0x17f)](_0x2ad7a4,_0x4aa103);},'zbjRh':_0x2c5590[_0x1a282a(0x1f4)],'wsEUY':function(_0x3fa04f,_0x4e30ec,_0x1f0690){const _0x2ee4dd=_0x1a282a;return _0x2c5590[_0x2ee4dd(0x1a0)](_0x3fa04f,_0x4e30ec,_0x1f0690);},'Tuznx':function(_0x19d0be,_0x477504){return _0x2c5590['QUMxl'](_0x19d0be,_0x477504);},'fbhos':_0x2c5590[_0x1a282a(0x187)],'MWAHf':_0x2c5590[_0x1a282a(0x17a)],'ngVhu':_0x2c5590[_0x1a282a(0x15b)],'pVYqD':_0x2c5590['Ipybu']};try{_0x2c5590[_0x1a282a(0x1a9)](global[_0x1a282a(0x18f)][_0x1a282a(0x1d8)],0x1)&&(await global[_0x1a282a(0x18d)](),global[_0x1a282a(0x18f)][_0x1a282a(0x192)](),global[_0x1a282a(0x173)]=[],global['__sessionFailed']=![]);try{if(global[_0x1a282a(0x1ba)]&&_0x2c5590['PtmOj'](global[_0x1a282a(0x1d6)],_0x2c5590[_0x1a282a(0x1cb)])&&global[_0x1a282a(0x18f)][0x0]){const _0xf7bf18=_0x2c5590[_0x1a282a(0x17c)](global[_0x1a282a(0x1f2)]['length'],0x0)?!!global[_0x1a282a(0x1f2)][0x0]['app']||!!global[_0x1a282a(0x1f2)][0x0][_0x2c5590[_0x1a282a(0x19f)]]:![],_0xacbcb1={};_0xacbcb1['app']=_0xf7bf18,await _0x2c5590[_0x1a282a(0x1a8)](percyAutoCapture,global[_0x1a282a(0x18f)][0x0],_0x2c5590['eVamz'],_0xacbcb1);}}catch(_0x55b14e){logger[_0x1a282a(0x19d)](_0x1a282a(0x181)+_0x55b14e);}!global[_0x1a282a(0x20f)]&&(await PerformanceTester[_0x1a282a(0x182)](PerformanceAutEvents[_0x1a282a(0x188)],async()=>{const _0x50fd2c=_0x1a282a;await global[_0x50fd2c(0x18f)][0x0][_0x50fd2c(0x20e)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x50fd2c(0x203)](this[_0x50fd2c(0x1bb)][_0x50fd2c(0x209)]()[_0x50fd2c(0x1c5)](_0x4fc05a['UqHWh']))+'}}');})(),global[_0x1a282a(0x18f)][0x0][_0x1a282a(0x20c)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1a282a(0x167)],async()=>{const _0x4f4185=_0x1a282a,_0x3acda7=_0x14227b['DzLug'](this[_0x4f4185(0x1bb)][_0x4f4185(0x1fc)],_0x14227b['zbjRh']);_0x3acda7?(global[_0x4f4185(0x160)]=!![],global['__error_messages__'][_0x4f4185(0x15d)](this[_0x4f4185(0x1bb)][_0x4f4185(0x16e)][_0x4f4185(0x1f5)]),await _0x14227b[_0x4f4185(0x1da)](_0x3e6ee2,JSON['stringify'](_0x14227b['Tuznx'](_0x14227b['fbhos'],this[_0x4f4185(0x1bb)][_0x4f4185(0x16e)]['message'])),_0x14227b['MWAHf'])):await _0x14227b['wsEUY'](_0x3e6ee2,JSON[_0x4f4185(0x203)](_0x14227b['ngVhu']),_0x14227b[_0x4f4185(0x1b9)]);})();}catch(_0x429f67){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x429f67);}try{if(this['currentTest'][_0x1a282a(0x1ca)]&&globals['getGlobal'](_0x2c5590[_0x1a282a(0x1a4)])){logger[_0x1a282a(0x1ae)](_0x2c5590['XBdTL']);const _0x495f15={};_0x495f15[_0x1a282a(0x169)]=this[_0x1a282a(0x1bb)][_0x1a282a(0x201)],_0x495f15['thBuildUuid']=process[_0x1a282a(0x163)][testHubConstants[_0x1a282a(0x18e)][_0x1a282a(0x1ee)]],_0x495f15['thJwtToken']=process['env'][testHubConstants[_0x1a282a(0x18e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x397ec2=_0x495f15;logger[_0x1a282a(0x19d)](_0x1a282a(0x18b)+JSON[_0x1a282a(0x203)](_0x397ec2));if(globals[_0x1a282a(0x205)](_0x2c5590[_0x1a282a(0x1dc)])){logger[_0x1a282a(0x19d)](_0x2c5590[_0x1a282a(0x168)]);const _0x475433={};_0x475433[_0x1a282a(0x15c)]=_0x2c5590[_0x1a282a(0x175)];const _0x3001b5=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1a282a(0x1fe)],async()=>{const _0x4f47d3=_0x1a282a;return await accessibilityRetryHelper[_0x4f47d3(0x1b5)](global[_0x4f47d3(0x18f)][0x0],global[_0x4f47d3(0x199)]);},_0x475433)();_0x3001b5?logger[_0x1a282a(0x19d)](_0x2c5590[_0x1a282a(0x15a)]):logger[_0x1a282a(0x1c4)](_0x2c5590[_0x1a282a(0x165)]);}else logger[_0x1a282a(0x19d)](_0x2c5590[_0x1a282a(0x1d9)]);const _0x4f5d47=await PerformanceTester[_0x1a282a(0x182)](PerformanceA11yEvents[_0x1a282a(0x20d)],async()=>{const _0x33ea98=_0x1a282a;return await accessibilityRetryHelper[_0x33ea98(0x1b7)](global[_0x33ea98(0x18f)][0x0],_0x397ec2);})();_0x4f5d47?logger[_0x1a282a(0x19d)](_0x2c5590['kxWwm']):logger[_0x1a282a(0x1c4)](_0x2c5590['fsivO']),logger[_0x1a282a(0x1ae)](_0x2c5590[_0x1a282a(0x1ce)]);}}catch(_0xd9d332){logger[_0x1a282a(0x1b0)](_0x1a282a(0x16a)+this[_0x1a282a(0x1bb)]['titlePath']()+_0x1a282a(0x159),_0xd9d332);}try{try{if(_0x2c5590[_0x1a282a(0x1c0)](shouldProcessEventForTesthub)){global[_0x1a282a(0x18f)][0x0]&&await _0x2c5590[_0x1a282a(0x1e9)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1a282a(0x1bb)]?this[_0x1a282a(0x1bb)][_0x1a282a(0x201)]:null);if(_0x2c5590[_0x1a282a(0x1bc)](isBrowserstackInfra)){PerformanceTester[_0x1a282a(0x1f9)](PerformanceO11yEvents[_0x1a282a(0x1c2)]);const _0x186ab0=_0x1a282a(0x19b)+Date[_0x1a282a(0x172)]();await _0x2c5590['EZvjm'](_0x3e6ee2,JSON[_0x1a282a(0x203)](_0x186ab0),_0x2c5590[_0x1a282a(0x198)]),PerformanceTester['end'](PerformanceO11yEvents[_0x1a282a(0x1c2)]);}}}catch(_0x57dd71){logger[_0x1a282a(0x19d)](_0x1a282a(0x1bd)+_0x57dd71),PerformanceTester[_0x1a282a(0x19c)](PerformanceO11yEvents[_0x1a282a(0x1c2)],![],_0x57dd71);}_0x2c5590['fSVPP'](global[_0x1a282a(0x18f)][0x0][_0x1a282a(0x1c1)],0x0)&&await global[_0x1a282a(0x18d)]();}catch(_0x4f20f8){logger[_0x1a282a(0x19d)](_0x1a282a(0x1d5)+_0x4f20f8);}_0x2c5590[_0x1a282a(0x1bc)](_0x32ae33);})[_0x3be2b9(0x1f1)](()=>{const _0x524e02=_0x3be2b9;_0x2c5590[_0x524e02(0x1be)](_0x4c2bf5);});},{'platform':_0x2c5590[_0x2d1ee8(0x1ec)](nestedKeyValue,global[_0x2d1ee8(0x1e2)],[_0x2c5590[_0x2d1ee8(0x200)]]),'hookType':_0x2c5590['etuEp']})();},'afterAll'(_0x496f19){const _0x28c128=a43_0xf76c30,_0x375ce6={'ajXUo':function(_0x50ad67){return _0x50ad67();},'RAfwz':function(_0x2da817){return _0x2da817();},'TPXBU':_0x28c128(0x207),'bdYFv':function(_0x5f3955,_0x4c76f3,_0x3ebd1f){return _0x5f3955(_0x4c76f3,_0x3ebd1f);},'wxIeV':_0x28c128(0x1af),'OAyQc':_0x28c128(0x1b8)},_0x2a4006='browserstack internal helper hook';this[_0x28c128(0x180)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x375ce6[_0x28c128(0x170)]]),PerformanceTester[_0x28c128(0x182)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xe1a106=_0x28c128;new Promise(async _0x18e31e=>{const _0x1a261f=a43_0x4f25;await global['driverCleanup'](),_0x375ce6[_0x1a261f(0x1d7)](_0x18e31e);})[_0xe1a106(0x1f1)]()[_0xe1a106(0x1ab)](()=>{const _0x491a79=_0xe1a106;_0x375ce6[_0x491a79(0x1cc)](_0x496f19);});},{'platform':_0x375ce6[_0x28c128(0x1cf)](nestedKeyValue,global[_0x28c128(0x1e2)],[_0x375ce6[_0x28c128(0x1db)]]),'hookType':_0x375ce6['OAyQc']})();}};
|
|
1
|
+
function a43_0x2d87(){const _0x12ef73=['GALFk','dSWIi','GRklX','message','setGlobal','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','driver-init\x20capture\x20install\x20failed:\x20','inhqH','CAPeS','getGlobal','TXzoj','../../helpers/logger','http:','sgVyI','accessibilityScanStarted','length','capabilities','XMtNk','BowGL','format','debug','45XZgJyr','NNUNc','warn','iTDqL','util','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','../../helpers/driverInitErrorReporter','eyNPz','../../helpers/percy/utils','4029639ScoknY','28410hsixms','FQYix','nCWwA','__skipSessionName','bstackA11yShouldScan','session_','thTestRunUuid','dXeoz','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','3484428wRUGmD','failed','MBtzC','EObRz','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','NwlUk','titlePath','isArray','OIGKp','measureWrapper','BfYzt','percy','shift','AcdsR','autoScanning','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','performScanWithRetry','hxIay','__drivers','XsDRI','yWEpx','12418470mMUdWJ','lWDrp','testcase','GadnW','now','avtbX','NfeEu','BROWSERSTACK_TESTHUB_UUID','quitCount_','thBuildUuid','pmjaO','PERFORM_SCAN','7DqPPkf','shouldScanTestForAccessibility','rZFUo','app','../../helpers/testhub/constants','env','EdBVJ','10031992yUdfia','mDyaC','NHiwQ','SYNC','__sessionFailed','\x20|\x20','ENV_VAR','.\x20Error\x20:','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/performance/constants','dGmgs','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','testAnalyticsId','NaaMU','winstonLogger','command','browserstackTestName','yDFNE','../../helpers/globals','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','join','cSTUW','browserstackSessionName','goLrl','end','jJMwP','DgRUc',',\x22level\x22:\x20\x22','__error_messages__','beforeEach','ZTnzS','bqZqg','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','index','TIvIU','4RQoCbn','fhztr','__platformCaps','agKPG','nnlaA','ZPzvO','../../helpers/accessibility-automation/helper','VSLrX','SGyRt','../../helpers/accessibility-automation/accessibilityRetryHelper','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','oBLBv','protocol','Mnsjc','start','sessionName','RBkIf','push','btlXp','13255GKFzNF','VaXCD','fKlek','afterTest','hMhMQ','IjRyR','error','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','RxAVB','FJMfl','XYHVW','Passed','XJgJA','afterAll','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','acnvz','then','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Mocha','thJwtToken','nhCKX','mochaHooks','hmrxG','startMonitoring','cwrJk','SDK_HOOK','rNxNR','gpVnB','zVAdB','err','WysdH','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','yDmKH','394276MHUsZQ','sessionNameSet__','appium:app','XREkR','./test-observability/mochaUtils','TifCi','saveAccessibilityResultsWithRetry','currentTest','mJGIu','ElSXc','UpBXI','timeout','RhdrH','qIQbk','mocha','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','state','executeScript','YgGSK','LRuBw','fRZzD','ZPaNY','Accessibility\x20scan\x20completed\x20successfully','passed','../utils/constants','11678btRwJt','qKiOF','initQuit','driverCleanup','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','bstackA11yScanOptions','stringify','info','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','beforeAll','oOCVY','vNvSK','UwXvn'];a43_0x2d87=function(){return _0x12ef73;};return a43_0x2d87();}function a43_0x2294(_0x4e978d,_0x28c105){const _0x2d87f9=a43_0x2d87();return a43_0x2294=function(_0x229448,_0x12bf60){_0x229448=_0x229448-0x182;let _0x5154ab=_0x2d87f9[_0x229448];return _0x5154ab;},a43_0x2294(_0x4e978d,_0x28c105);}const a43_0x5d33f4=a43_0x2294;(function(_0x37c820,_0x3da611){const _0x40d9ff=a43_0x2294,_0x503a83=_0x37c820();while(!![]){try{const _0x3af123=-parseInt(_0x40d9ff(0x195))/0x1*(-parseInt(_0x40d9ff(0x1e3))/0x2)+-parseInt(_0x40d9ff(0x210))/0x3+-parseInt(_0x40d9ff(0x1ca))/0x4*(parseInt(_0x40d9ff(0x206))/0x5)+-parseInt(_0x40d9ff(0x21a))/0x6*(parseInt(_0x40d9ff(0x23b))/0x7)+-parseInt(_0x40d9ff(0x242))/0x8+parseInt(_0x40d9ff(0x22f))/0x9+parseInt(_0x40d9ff(0x211))/0xa*(parseInt(_0x40d9ff(0x1a8))/0xb);if(_0x3af123===_0x3da611)break;else _0x503a83['push'](_0x503a83['shift']());}catch(_0x20aabf){_0x503a83['push'](_0x503a83['shift']());}}}(a43_0x2d87,0xb9eb0));const util=require(a43_0x5d33f4(0x20a)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x5d33f4(0x19b)),accessibilityRetryHelper=require(a43_0x5d33f4(0x19e)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0x5d33f4(0x1e2)),{percyAutoCapture}=require(a43_0x5d33f4(0x20f)),{sendPlatformDetails}=require(a43_0x5d33f4(0x1ce)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0x5d33f4(0x24b)),globals=require(a43_0x5d33f4(0x184)),logger=require(a43_0x5d33f4(0x1fc))[a43_0x5d33f4(0x250)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a43_0x5d33f4(0x23f));try{require(a43_0x5d33f4(0x20d))['installAll'](a43_0x5d33f4(0x1d8));}catch(a43_0x26ce28){logger[a43_0x5d33f4(0x205)](a43_0x5d33f4(0x1f7)+(a43_0x26ce28&&a43_0x26ce28[a43_0x5d33f4(0x1f3)]));}exports[a43_0x5d33f4(0x1bd)]={'beforeAll'(){const _0x1d66a2=a43_0x5d33f4,_0x24a01f={'fKlek':function(_0x22918d,_0x13e02f,_0x4bf32f,_0x4e7ff9){return _0x22918d(_0x13e02f,_0x4bf32f,_0x4e7ff9);},'qIQbk':_0x1d66a2(0x21b),'geacS':_0x1d66a2(0x247),'EdBVJ':function(_0x3fe2c5,_0x45d1dd,_0x26550f){return _0x3fe2c5(_0x45d1dd,_0x26550f);},'BowGL':'passed','RBkIf':function(_0x682809){return _0x682809();},'JvvRe':function(_0x441848,_0x2bfc5e,_0x44da0f){return _0x441848(_0x2bfc5e,_0x44da0f);},'pmjaO':_0x1d66a2(0x193),'rcESh':_0x1d66a2(0x1ec)};PerformanceTester[_0x1d66a2(0x1bf)]();const _0x5ce7b6='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1d66a2(0x1c1)],()=>{const _0x2d00bb=_0x1d66a2,_0xe3fdf5={'YgGSK':function(_0x5f18a5,_0x431153,_0x206628,_0x197e97){const _0xf63c2b=a43_0x2294;return _0x24a01f[_0xf63c2b(0x1aa)](_0x5f18a5,_0x431153,_0x206628,_0x197e97);},'RxAVB':_0x24a01f[_0x2d00bb(0x1d7)],'jJMwP':_0x24a01f['geacS'],'sgVyI':function(_0x7a09a0,_0x14964c,_0x16e868){const _0x589f9b=_0x2d00bb;return _0x24a01f[_0x589f9b(0x241)](_0x7a09a0,_0x14964c,_0x16e868);},'xRyUF':_0x24a01f[_0x2d00bb(0x203)],'rNxNR':function(_0x29897a){const _0x5f4d2f=_0x2d00bb;return _0x24a01f[_0x5f4d2f(0x1a5)](_0x29897a);}};global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x387fa6=_0x2d00bb;let _0x3cd347=![];try{await global[_0x387fa6(0x22c)][0x0]['session_'],_0x3cd347=!![],global[_0x387fa6(0x246)]?await _0xe3fdf5[_0x387fa6(0x1dc)](markSessionStatus,global[_0x387fa6(0x22c)][0x0],_0xe3fdf5[_0x387fa6(0x1b0)],global[_0x387fa6(0x18e)][_0x387fa6(0x186)](_0xe3fdf5[_0x387fa6(0x18b)])):await _0xe3fdf5[_0x387fa6(0x1fe)](markSessionStatus,global[_0x387fa6(0x22c)][0x0],_0xe3fdf5['xRyUF']);}catch(_0x1d6460){logger[_0x387fa6(0x205)](_0x387fa6(0x219)+_0x1d6460);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x3cd347)try{try{_0xe3fdf5[_0x387fa6(0x1c2)](shouldProcessEventForTesthub)&&(global[_0x387fa6(0x22c)][0x0]&&await _0xe3fdf5[_0x387fa6(0x1fe)](sendPlatformDetails,global[_0x387fa6(0x22c)][0x0],this[_0x387fa6(0x1d1)]?this[_0x387fa6(0x1d1)][_0x387fa6(0x24e)]:null));}catch(_0x37a4b2){logger[_0x387fa6(0x205)](_0x387fa6(0x185)+_0x37a4b2);}await global['__drivers'][0x0][_0x387fa6(0x1e5)]();}catch(_0x7a3a09){logger[_0x387fa6(0x205)](_0x387fa6(0x1f5)+_0x7a3a09);}};},{'platform':_0x24a01f['JvvRe'](nestedKeyValue,global[_0x1d66a2(0x197)],[_0x24a01f[_0x1d66a2(0x239)]]),'hookType':_0x24a01f['rcESh']})();},'beforeEach'(_0x1c13da){const _0x406464=a43_0x5d33f4,_0x458d28={'EObRz':function(_0x26220b,_0x290d0f){return _0x26220b>_0x290d0f;},'yDmKH':'\x20-\x20','cwrJk':function(_0x30d90b,_0x2be72a,_0x162237){return _0x30d90b(_0x2be72a,_0x162237);},'RzZJc':function(_0x1c7cf7,_0x50edad){return _0x1c7cf7===_0x50edad;},'nCWwA':_0x406464(0x215),'XREkR':_0x406464(0x1e8),'tHXLT':function(_0x58b0fc){return _0x58b0fc();},'VSLrX':_0x406464(0x1c7),'TifCi':_0x406464(0x1fd),'AcdsR':function(_0xad7876,_0x5d4bd6){return _0xad7876===_0x5d4bd6;},'vNvSK':'https:','iTDqL':_0x406464(0x20c),'GRklX':'Automate\x20test\x20case\x20execution\x20has\x20started.','zTchr':function(_0x3effef){return _0x3effef();},'BfYzt':function(_0xf906d4){return _0xf906d4();},'dGmgs':_0x406464(0x182),'goLrl':function(_0x1eddde,_0x5f145b,_0x6a74b5){return _0x1eddde(_0x5f145b,_0x6a74b5);},'Mnsjc':'index','RhdrH':_0x406464(0x18f)};globals['setGlobal'](_0x458d28[_0x406464(0x24c)],this[_0x406464(0x1d1)][_0x406464(0x220)]()[_0x406464(0x186)](_0x458d28[_0x406464(0x1c9)])),PerformanceTester[_0x406464(0x223)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x20f57e=_0x406464,_0x50106e='browserstack internal helper hook';new Promise(async _0x5826e3=>{const _0x148236=a43_0x2294;let _0x16ba3d=!![];try{_0x458d28[_0x148236(0x21d)](global['__drivers'][_0x148236(0x200)],0x1)&&(await global[_0x148236(0x1e6)](),global['__drivers'][_0x148236(0x226)]()),_0x458d28[_0x148236(0x21d)](global[_0x148236(0x22c)][0x0][_0x148236(0x237)],0x0)&&(_0x16ba3d=![],await global['driverCleanup']());}catch(_0x1dc78d){logger[_0x148236(0x205)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1dc78d);}try{Array[_0x148236(0x221)](global['__drivers'])&&global[_0x148236(0x22c)][0x0]&&(global[_0x148236(0x22c)][0x0][_0x148236(0x188)]=this['currentTest'][_0x148236(0x220)]()[_0x148236(0x186)](_0x458d28[_0x148236(0x1c9)])),global[_0x148236(0x188)]=this[_0x148236(0x1d1)][_0x148236(0x220)]()[_0x148236(0x186)](_0x458d28[_0x148236(0x1c9)]);}catch(_0x365acb){logger[_0x148236(0x205)](_0x148236(0x1f6)+_0x365acb);}this[_0x148236(0x1d1)]['shouldScanTestForAccessibility']=_0x458d28[_0x148236(0x1c0)](shouldScanTestForAccessibility,this['currentTest'][_0x148236(0x220)](),!![]);let _0x525ac8=!![];try{const _0x56154e=JSON['parse'](process['env'][_0x148236(0x20b)]||'{}');_0x458d28['RzZJc'](_0x56154e[_0x148236(0x228)],![])&&(_0x525ac8=![]);}catch(_0x45c93f){logger['debug'](_0x148236(0x192)+_0x45c93f['message']);}const _0x10e18c=_0x525ac8&&this[_0x148236(0x1d1)][_0x148236(0x23c)];globals[_0x148236(0x1f4)](_0x458d28[_0x148236(0x213)],_0x10e18c),globals[_0x148236(0x1f4)](_0x458d28[_0x148236(0x1cd)],null),this[_0x148236(0x1d1)][_0x148236(0x1ff)]=this[_0x148236(0x1d1)]['shouldScanTestForAccessibility'];if(_0x458d28['tHXLT'](isAccessibilityAutomationSession)&&_0x16ba3d&&Array[_0x148236(0x221)](global['__drivers'])&&_0x458d28[_0x148236(0x21d)](global['__drivers'][_0x148236(0x200)],0x0)&&globals[_0x148236(0x1fa)](_0x458d28[_0x148236(0x19c)]))try{const _0x2d7acf=await global[_0x148236(0x22c)][0x0][_0x148236(0x216)];if(_0x2d7acf){let _0x415033=!![];const _0x56c1a5=await global[_0x148236(0x22c)][0x0]['getCurrentUrl']();let _0x542e7c;try{_0x542e7c=new URL(_0x56c1a5),_0x415033=_0x458d28['RzZJc'](_0x542e7c[_0x148236(0x1a1)],_0x458d28[_0x148236(0x1cf)])||_0x458d28[_0x148236(0x227)](_0x542e7c[_0x148236(0x1a1)],_0x458d28[_0x148236(0x1ee)]);}catch(_0x2657d3){_0x415033=![];}_0x415033&&(this[_0x148236(0x1d1)]['shouldScanTestForAccessibility']&&logger['info'](_0x458d28[_0x148236(0x209)])),this[_0x148236(0x1d1)][_0x148236(0x1ff)]=this['currentTest']['shouldScanTestForAccessibility'],_0x10e18c&&logger[_0x148236(0x1ea)](_0x458d28[_0x148236(0x1f2)]);}}catch(_0x49cf62){logger[_0x148236(0x1ae)](_0x148236(0x1af)+util[_0x148236(0x204)](_0x49cf62));}_0x458d28['zTchr'](_0x5826e3);})[_0x20f57e(0x1b8)](()=>{const _0x2d3998=_0x20f57e;_0x458d28[_0x2d3998(0x224)](_0x1c13da);});},{'platform':_0x458d28[_0x406464(0x189)](nestedKeyValue,global[_0x406464(0x197)],[_0x458d28[_0x406464(0x1a2)]]),'hookType':_0x458d28[_0x406464(0x1d6)]})();},'afterEach'(_0x545d44){const _0x30fdef=a43_0x5d33f4,_0x485b00={'TFApq':function(_0x17233a){return _0x17233a();},'oOCVY':'\x20-\x20','acnvz':function(_0x2959f7,_0x3aebf5){return _0x2959f7!==_0x3aebf5;},'dSWIi':_0x30fdef(0x1e1),'vvLQp':function(_0x189961,_0x1bb3a0,_0x147a71){return _0x189961(_0x1bb3a0,_0x147a71);},'UwXvn':function(_0x1887c8,_0x33573f){return _0x1887c8+_0x33573f;},'SGyRt':'Failed:\x20','ZTnzS':'error','FJMfl':_0x30fdef(0x1b3),'dFLrV':_0x30fdef(0x1ea),'yDFNE':function(_0x4ec8bb,_0x53963f){return _0x4ec8bb>_0x53963f;},'agKPG':function(_0x18ddb7,_0x3584ed){return _0x18ddb7===_0x3584ed;},'NHiwQ':_0x30fdef(0x231),'btlXp':_0x30fdef(0x1cc),'TXzoj':function(_0x16c167,_0x294d1d,_0x58ee3d,_0x174b1c){return _0x16c167(_0x294d1d,_0x58ee3d,_0x174b1c);},'ZPaNY':_0x30fdef(0x1c7),'sZRrD':_0x30fdef(0x24a),'hxIay':_0x30fdef(0x215),'IjRyR':_0x30fdef(0x1e7),'XYHVW':_0x30fdef(0x1ab),'OIGKp':_0x30fdef(0x1e0),'fhztr':_0x30fdef(0x19f),'yzAHV':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','zVAdB':'Accessibility\x20results\x20saved\x20successfully','SlYHh':_0x30fdef(0x1d9),'fKJDW':_0x30fdef(0x24d),'xWvhL':function(_0xe0f97e){return _0xe0f97e();},'pGFWU':function(_0x202569){return _0x202569();},'NaaMU':function(_0x326e0a,_0x332605,_0x512002){return _0x326e0a(_0x332605,_0x512002);},'CAPeS':'debug','VaXCD':function(_0x3e45ff){return _0x3e45ff();},'gbqkB':_0x30fdef(0x1ba),'szULk':_0x30fdef(0x193),'JzTZW':'afterEach'},_0x385bee='browserstack internal helper hook';this[_0x30fdef(0x1d5)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x485b00['gbqkB']]),global[_0x30fdef(0x1a4)]=this['currentTest'][_0x30fdef(0x220)]()[_0x30fdef(0x186)](_0x485b00['oOCVY']),PerformanceTester[_0x30fdef(0x223)](PerformanceSdkEvents[_0x30fdef(0x1c1)],()=>{const _0x18adb6=_0x30fdef,_0x442462={'nnlaA':_0x485b00[_0x18adb6(0x1ed)],'MgXfz':function(_0x1a029a,_0xc07d83){const _0x1227f0=_0x18adb6;return _0x485b00[_0x1227f0(0x1b7)](_0x1a029a,_0xc07d83);},'nhCKX':_0x485b00[_0x18adb6(0x1f1)],'dXeoz':function(_0x253494,_0x9f8944,_0x5c5b41){return _0x485b00['vvLQp'](_0x253494,_0x9f8944,_0x5c5b41);},'mDyaC':function(_0x587fb1,_0x2dce12){const _0x39d0e9=_0x18adb6;return _0x485b00[_0x39d0e9(0x1ef)](_0x587fb1,_0x2dce12);},'yGORG':_0x485b00[_0x18adb6(0x19d)],'hMhMQ':_0x485b00[_0x18adb6(0x190)],'mJGIu':_0x485b00[_0x18adb6(0x1b1)],'yWEpx':_0x485b00['dFLrV'],'TIvIU':function(_0x462f9a,_0x175340){const _0x35b107=_0x18adb6;return _0x485b00[_0x35b107(0x183)](_0x462f9a,_0x175340);},'inhqH':function(_0x5c1d56,_0x3a3b7a){const _0x91f1ef=_0x18adb6;return _0x485b00[_0x91f1ef(0x198)](_0x5c1d56,_0x3a3b7a);},'GadnW':_0x485b00[_0x18adb6(0x244)],'IdjAG':function(_0x254f0e,_0x315b6b){const _0x2884cd=_0x18adb6;return _0x485b00[_0x2884cd(0x183)](_0x254f0e,_0x315b6b);},'NfeEu':_0x485b00[_0x18adb6(0x1a7)],'WysdH':function(_0x341c81,_0x136ae2,_0x165a0a,_0x3364a6){const _0x4a0421=_0x18adb6;return _0x485b00[_0x4a0421(0x1fb)](_0x341c81,_0x136ae2,_0x165a0a,_0x3364a6);},'DgRUc':_0x485b00[_0x18adb6(0x1df)],'bfMvT':_0x485b00['sZRrD'],'FQYix':_0x485b00[_0x18adb6(0x22b)],'oBLBv':_0x485b00[_0x18adb6(0x1ad)],'WcniV':_0x485b00[_0x18adb6(0x1b2)],'HIZsB':_0x485b00[_0x18adb6(0x222)],'bqZqg':_0x485b00[_0x18adb6(0x196)],'vjCTg':_0x485b00['yzAHV'],'LRuBw':_0x485b00[_0x18adb6(0x1c4)],'GALFk':_0x485b00['SlYHh'],'hmrxG':_0x485b00['fKJDW'],'XsDRI':function(_0x2a62ee){return _0x485b00['xWvhL'](_0x2a62ee);},'NwlUk':function(_0xf7fac1,_0x400ce6,_0x34f56b){return _0x485b00['vvLQp'](_0xf7fac1,_0x400ce6,_0x34f56b);},'ElSXc':function(_0x2e4557){return _0x485b00['pGFWU'](_0x2e4557);},'NNUNc':function(_0x36e720,_0x798868,_0x52c4a0){const _0x2e7e81=_0x18adb6;return _0x485b00[_0x2e7e81(0x24f)](_0x36e720,_0x798868,_0x52c4a0);},'UpBXI':_0x485b00[_0x18adb6(0x1f9)],'PXJJf':function(_0x5788f7,_0x1318d4){const _0x54e1c5=_0x18adb6;return _0x485b00[_0x54e1c5(0x183)](_0x5788f7,_0x1318d4);},'lWDrp':function(_0x45f77f){const _0x185079=_0x18adb6;return _0x485b00[_0x185079(0x1a9)](_0x45f77f);}},_0x3f97fa=async(_0x190aa2,_0x1eafb0)=>{const _0x1a2889=_0x18adb6;await global[_0x1a2889(0x22c)][0x0][_0x1a2889(0x1db)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x190aa2+_0x1a2889(0x18d)+_0x1eafb0+'\x22}}');};new Promise(async _0xa46a07=>{const _0x21b454=_0x18adb6,_0x6c3b10={'XMtNk':_0x442462[_0x21b454(0x199)],'qKiOF':function(_0x157488,_0x581111){return _0x442462['MgXfz'](_0x157488,_0x581111);},'fRZzD':_0x442462[_0x21b454(0x1bc)],'avtbX':function(_0x188eb2,_0x49538c,_0x17e26c){const _0x1e19b3=_0x21b454;return _0x442462[_0x1e19b3(0x218)](_0x188eb2,_0x49538c,_0x17e26c);},'cSTUW':function(_0x4678dc,_0x4236d1){const _0x4ebb88=_0x21b454;return _0x442462[_0x4ebb88(0x243)](_0x4678dc,_0x4236d1);},'XJgJA':_0x442462['yGORG'],'gpVnB':_0x442462[_0x21b454(0x1ac)],'kvSSV':_0x442462[_0x21b454(0x1d2)],'ZPzvO':_0x442462[_0x21b454(0x22e)]};try{_0x442462[_0x21b454(0x194)](global['__drivers'][_0x21b454(0x200)],0x1)&&(await global[_0x21b454(0x1e6)](),global[_0x21b454(0x22c)][_0x21b454(0x226)](),global[_0x21b454(0x18e)]=[],global[_0x21b454(0x246)]=![]);try{if(global[_0x21b454(0x225)]&&_0x442462[_0x21b454(0x1f8)](global['percyCaptureMode'],_0x442462[_0x21b454(0x232)])&&global[_0x21b454(0x22c)][0x0]){const _0x35abcf=_0x442462['IdjAG'](global[_0x21b454(0x201)][_0x21b454(0x200)],0x0)?!!global[_0x21b454(0x201)][0x0]['app']||!!global[_0x21b454(0x201)][0x0][_0x442462[_0x21b454(0x235)]]:![],_0x1e8208={};_0x1e8208[_0x21b454(0x23e)]=_0x35abcf,await _0x442462[_0x21b454(0x1c6)](percyAutoCapture,global[_0x21b454(0x22c)][0x0],_0x442462[_0x21b454(0x232)],_0x1e8208);}}catch(_0x1ebae0){logger[_0x21b454(0x205)](_0x21b454(0x1b6)+_0x1ebae0);}!global[_0x21b454(0x214)]&&(await PerformanceTester[_0x21b454(0x223)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x2e3d97=_0x21b454;await global[_0x2e3d97(0x22c)][0x0]['executeScript'](_0x2e3d97(0x21e)+JSON[_0x2e3d97(0x1e9)](this[_0x2e3d97(0x1d1)]['titlePath']()[_0x2e3d97(0x186)](_0x6c3b10[_0x2e3d97(0x202)]))+'}}');})(),global['__drivers'][0x0][_0x21b454(0x1cb)]=!![]),await PerformanceTester[_0x21b454(0x223)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x5128a2=_0x21b454,_0x519f2b=_0x6c3b10[_0x5128a2(0x1e4)](this['currentTest'][_0x5128a2(0x1da)],_0x6c3b10[_0x5128a2(0x1de)]);_0x519f2b?(global[_0x5128a2(0x246)]=!![],global['__error_messages__'][_0x5128a2(0x1a6)](this['currentTest'][_0x5128a2(0x1c5)][_0x5128a2(0x1f3)]),await _0x6c3b10['avtbX'](_0x3f97fa,JSON[_0x5128a2(0x1e9)](_0x6c3b10[_0x5128a2(0x187)](_0x6c3b10[_0x5128a2(0x1b4)],this[_0x5128a2(0x1d1)]['err'][_0x5128a2(0x1f3)])),_0x6c3b10[_0x5128a2(0x1c3)])):await _0x6c3b10[_0x5128a2(0x234)](_0x3f97fa,JSON[_0x5128a2(0x1e9)](_0x6c3b10['kvSSV']),_0x6c3b10[_0x5128a2(0x19a)]);})();}catch(_0x4df6a3){logger[_0x21b454(0x205)](_0x21b454(0x229)+_0x4df6a3);}try{if(this[_0x21b454(0x1d1)]['accessibilityScanStarted']&&globals[_0x21b454(0x1fa)](_0x442462[_0x21b454(0x18c)])){logger[_0x21b454(0x1ea)](_0x442462['bfMvT']);const _0x8931e9={};_0x8931e9[_0x21b454(0x217)]=this[_0x21b454(0x1d1)][_0x21b454(0x24e)],_0x8931e9[_0x21b454(0x238)]=process[_0x21b454(0x240)][testHubConstants[_0x21b454(0x248)][_0x21b454(0x236)]],_0x8931e9[_0x21b454(0x1bb)]=process[_0x21b454(0x240)][testHubConstants[_0x21b454(0x248)][_0x21b454(0x1c8)]];const _0x190454=_0x8931e9;logger[_0x21b454(0x205)](_0x21b454(0x1eb)+JSON['stringify'](_0x190454));if(globals[_0x21b454(0x1fa)](_0x442462[_0x21b454(0x212)])){logger[_0x21b454(0x205)](_0x442462[_0x21b454(0x1a0)]);const _0x37aa13={};_0x37aa13[_0x21b454(0x251)]=_0x442462['WcniV'];const _0x1d739e=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x21b454(0x23a)],async()=>{const _0x3d914a=_0x21b454;return await accessibilityRetryHelper[_0x3d914a(0x22a)](global[_0x3d914a(0x22c)][0x0],global[_0x3d914a(0x188)]);},_0x37aa13)();_0x1d739e?logger[_0x21b454(0x205)](_0x442462['HIZsB']):logger[_0x21b454(0x208)](_0x442462[_0x21b454(0x191)]);}else logger[_0x21b454(0x205)](_0x442462['vjCTg']);const _0x1b3ae0=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x164e14=_0x21b454;return await accessibilityRetryHelper[_0x164e14(0x1d0)](global[_0x164e14(0x22c)][0x0],_0x190454);})();_0x1b3ae0?logger[_0x21b454(0x205)](_0x442462[_0x21b454(0x1dd)]):logger['warn'](_0x442462[_0x21b454(0x1f0)]),logger[_0x21b454(0x1ea)](_0x442462[_0x21b454(0x1be)]);}}catch(_0x4757b3){logger[_0x21b454(0x1ae)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x21b454(0x220)]()+_0x21b454(0x249),_0x4757b3);}try{try{if(_0x442462[_0x21b454(0x22d)](shouldProcessEventForTesthub)){global[_0x21b454(0x22c)][0x0]&&await _0x442462[_0x21b454(0x21f)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this['currentTest'][_0x21b454(0x24e)]:null);if(_0x442462[_0x21b454(0x1d3)](isBrowserstackInfra)){PerformanceTester[_0x21b454(0x1a3)](PerformanceO11yEvents[_0x21b454(0x245)]);const _0x4c9859='ObservabilitySync:'+Date[_0x21b454(0x233)]();await _0x442462[_0x21b454(0x207)](_0x3f97fa,JSON[_0x21b454(0x1e9)](_0x4c9859),_0x442462[_0x21b454(0x1d4)]),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x6aeb8f){logger['debug'](_0x21b454(0x1b9)+_0x6aeb8f),PerformanceTester[_0x21b454(0x18a)](PerformanceO11yEvents[_0x21b454(0x245)],![],_0x6aeb8f);}_0x442462['PXJJf'](global[_0x21b454(0x22c)][0x0][_0x21b454(0x237)],0x0)&&await global[_0x21b454(0x1e6)]();}catch(_0x502b9c){logger[_0x21b454(0x205)](_0x21b454(0x1f5)+_0x502b9c);}_0x442462[_0x21b454(0x230)](_0xa46a07);})['then'](()=>{_0x485b00['TFApq'](_0x545d44);});},{'platform':_0x485b00[_0x30fdef(0x24f)](nestedKeyValue,global[_0x30fdef(0x197)],[_0x485b00['szULk']]),'hookType':_0x485b00['JzTZW']})();},'afterAll'(_0x307179){const _0x5e4b77=a43_0x5d33f4,_0x4b575a={'Ioyhi':function(_0x30de81){return _0x30de81();},'rZFUo':function(_0x22e618){return _0x22e618();},'eyNPz':_0x5e4b77(0x1ba),'enwVk':function(_0x3ee20c,_0x16cd07,_0x10c617){return _0x3ee20c(_0x16cd07,_0x10c617);},'kOuib':_0x5e4b77(0x193),'DRFQF':_0x5e4b77(0x1b5)},_0x5bb756='browserstack internal helper hook';this[_0x5e4b77(0x1d5)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4b575a[_0x5e4b77(0x20e)]]),PerformanceTester[_0x5e4b77(0x223)](PerformanceSdkEvents[_0x5e4b77(0x1c1)],()=>{const _0x213726=_0x5e4b77,_0x4cce45={'MBtzC':function(_0x29eaa5){const _0x5a9e2a=a43_0x2294;return _0x4b575a[_0x5a9e2a(0x23d)](_0x29eaa5);}};new Promise(async _0x513474=>{const _0x9fa585=a43_0x2294;await global['driverCleanup'](),_0x4cce45[_0x9fa585(0x21c)](_0x513474);})[_0x213726(0x1b8)]()['finally'](()=>{_0x4b575a['Ioyhi'](_0x307179);});},{'platform':_0x4b575a['enwVk'](nestedKeyValue,global['__platformCaps'],[_0x4b575a['kOuib']]),'hookType':_0x4b575a['DRFQF']})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x2d3d81=a44_0x2039;(function(_0xbf96e6,_0x5abb49){const _0x323b99=a44_0x2039,_0x4e7016=_0xbf96e6();while(!![]){try{const _0x3ca11b=parseInt(_0x323b99(0x220))/0x1+parseInt(_0x323b99(0x1ed))/0x2*(parseInt(_0x323b99(0x22b))/0x3)+-parseInt(_0x323b99(0x265))/0x4+-parseInt(_0x323b99(0x217))/0x5*(parseInt(_0x323b99(0x250))/0x6)+-parseInt(_0x323b99(0x1f3))/0x7*(-parseInt(_0x323b99(0x230))/0x8)+-parseInt(_0x323b99(0x21d))/0x9+parseInt(_0x323b99(0x234))/0xa*(-parseInt(_0x323b99(0x221))/0xb);if(_0x3ca11b===_0x5abb49)break;else _0x4e7016['push'](_0x4e7016['shift']());}catch(_0x53ac86){_0x4e7016['push'](_0x4e7016['shift']());}}}(a44_0x2d3a,0x4354c));const path=require('path'),Module=require(a44_0x2d3d81(0x211)),{fork}=require(a44_0x2d3d81(0x269)),logger=require(a44_0x2d3d81(0x223))[a44_0x2d3d81(0x258)],helper=require('../../helpers/helper'),TestHubHandler=require(a44_0x2d3d81(0x21f)),RequestQueueHandler=require(a44_0x2d3d81(0x1f1)),{FRAMEWORKS}=require(a44_0x2d3d81(0x261)),{printBuildLink}=require(a44_0x2d3d81(0x263)),BrowserstackCLI=require(a44_0x2d3d81(0x216)),CLIUtils=require('../v2/cliUtils');function registerBrowserStackReporter(){const _0x1f7a69=a44_0x2d3d81,_0xeedfc1={};_0xeedfc1[_0x1f7a69(0x22c)]=function(_0x572456,_0x3e83b2){return _0x572456===_0x3e83b2;},_0xeedfc1[_0x1f7a69(0x205)]=_0x1f7a69(0x267),_0xeedfc1['KqPdO']=_0x1f7a69(0x214),_0xeedfc1[_0x1f7a69(0x259)]=_0x1f7a69(0x255);const _0x25d71e=_0xeedfc1,_0x407ca7=path[_0x1f7a69(0x25c)](__dirname,_0x25d71e['KqPdO'],_0x25d71e[_0x1f7a69(0x259)]),_0x567f56=Module[_0x1f7a69(0x24b)];Module[_0x1f7a69(0x24b)]=function(_0x38c3d2,_0x1d298e,_0xa10b09,_0x4041db){const _0x2bac6e=_0x1f7a69;if(_0x25d71e['hFOKF'](_0x38c3d2,_0x25d71e[_0x2bac6e(0x205)]))return _0x407ca7;return _0x567f56[_0x2bac6e(0x239)](this,_0x38c3d2,_0x1d298e,_0xa10b09,_0x4041db);};}function a44_0x2039(_0x4419db,_0x67c0ee){const _0x2d3a4c=a44_0x2d3a();return a44_0x2039=function(_0x203910,_0x524520){_0x203910=_0x203910-0x1e9;let _0x4256f9=_0x2d3a4c[_0x203910];return _0x4256f9;},a44_0x2039(_0x4419db,_0x67c0ee);}function injectReporterIntoArgs(_0x3fb889){const _0x31a9e8=a44_0x2d3d81,_0x6462f6={};_0x6462f6[_0x31a9e8(0x245)]=function(_0x5e3e89,_0x31216a){return _0x5e3e89<_0x31216a;},_0x6462f6['UakAo']=function(_0x40f694,_0x31adf0){return _0x40f694===_0x31adf0;},_0x6462f6[_0x31a9e8(0x22d)]=_0x31a9e8(0x21a),_0x6462f6[_0x31a9e8(0x25a)]=function(_0x56a35a,_0x46d784){return _0x56a35a+_0x46d784;},_0x6462f6[_0x31a9e8(0x23d)]=function(_0x3db50e,_0x230f55){return _0x3db50e===_0x230f55;},_0x6462f6['kzeeN']=function(_0x25ed22,_0x4268b6){return _0x25ed22+_0x4268b6;},_0x6462f6['ICORa']='browserstack',_0x6462f6[_0x31a9e8(0x1eb)]=_0x31a9e8(0x260),_0x6462f6[_0x31a9e8(0x203)]=_0x31a9e8(0x210);const _0x30f29a=_0x6462f6,_0x548391=_0x3fb889['slice']();for(let _0x51e99b=0x0;_0x30f29a[_0x31a9e8(0x245)](_0x51e99b,_0x548391['length']);_0x51e99b++){if(_0x30f29a['UakAo'](_0x548391[_0x51e99b],'-r')||_0x30f29a[_0x31a9e8(0x240)](_0x548391[_0x51e99b],_0x30f29a[_0x31a9e8(0x22d)]))return _0x548391[_0x30f29a[_0x31a9e8(0x25a)](_0x51e99b,0x1)]&&_0x30f29a[_0x31a9e8(0x23d)](_0x548391[_0x30f29a[_0x31a9e8(0x254)](_0x51e99b,0x1)][_0x31a9e8(0x215)](_0x30f29a[_0x31a9e8(0x256)]),-0x1)&&(_0x548391[_0x30f29a['kzeeN'](_0x51e99b,0x1)]+=_0x30f29a[_0x31a9e8(0x1eb)]),_0x548391;}return _0x548391[_0x31a9e8(0x23f)]('-r',_0x30f29a[_0x31a9e8(0x203)]),_0x548391;}function a44_0x2d3a(){const _0xe5db2a=['3ESZYvU','hFOKF','SIuZQ','error','LXSLz','1108648EiKBsV','oDSRu','LCzvM','failures','590830FjZNdv','stop','exitCode','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','Failed\x20to\x20launch\x20build:\x20','call','Cgmgp','gxZlv','jbFSk','dpKxX','hKNmB','push','UakAo','length','sUzMn','XGZLF','slice','VwIcf','WbYlD','setBrowserstackConfig','newman/bin/newman','O11yHashedID','message','_resolveFilename','testObservability','newman','inherit','parallelsPerPlatform','1554CqDmdr','bdlAP','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','XRETH','kzeeN','index.js','ICORa','BROWSERSTACK_AUTOMATION','winstonLogger','BKJIG','VpVQL','package.json','join','configPath','BROWSERSTACK_TESTHUB_JWT','cwd',',browserstack','../../helpers/test-observability/constants','hPtPq','../../helpers/test-observability/utils','node','1740528IVngLf','run','newman-reporter-browserstack','.js','child_process','YZDKs','getInstance','eBUWe','ZclWM','775582dRBGul','env','jDpaG','KRvbC','../../helpers/test-observability/requestQueueHandler','YnkFu','21wviBrd','shutdown','udaCy','BROWSERSTACK_TEST_OBSERVABILITY_YML','resolve','TYKKn','sKmSR','ahclH','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','GbHBq','null','qCrVz','NKOhl','MqVtj','cliConfig','WQLmj','GurBI','zSQSh','LKEre','Tenti','fnkst','config','iVDPB','Newman\x20CLI\x20not\x20found:\x20','assign','POzmW','XXfiI','pURmp','dmiuz','cli,browserstack','module','isRunning','bootstrap','reporter','indexOf','../v2/browserstackCLI','5165WLiglR','exports','ELIFi','--reporters','true','Isxdn','518589RWSTQI','lxAoz','../../helpers/testhub/testhubHandler','291637GZOClQ','11qKUISs','concat','../../helpers/logger','NRQpf','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','setFrameworkDetail','iEHWf','endsWith','launchBuild','RmNxo'];a44_0x2d3a=function(){return _0xe5db2a;};return a44_0x2d3a();}function runNewmanCLI(_0x439579){const _0x29d7e2=a44_0x2d3d81,_0x20bcd5={'hKNmB':function(_0x567087,_0x5b3d79){return _0x567087>_0x5b3d79;},'pURmp':function(_0x165f07,_0x267733){return _0x165f07(_0x267733);},'bdlAP':function(_0xf2928c,_0x1b34eb,_0x456b60){return _0xf2928c(_0x1b34eb,_0x456b60);},'WbYlD':_0x29d7e2(0x24d),'ELIFi':_0x29d7e2(0x237),'WQLmj':function(_0x29d186,_0x21b661){return _0x29d186(_0x21b661);},'hPtPq':_0x29d7e2(0x211),'sKmSR':_0x29d7e2(0x25b),'XGZLF':_0x29d7e2(0x248),'udaCy':_0x29d7e2(0x264),'SBcAv':function(_0x23d778,_0x374f4f){return _0x23d778+_0x374f4f;},'lUJBR':_0x29d7e2(0x20a)};return new Promise(_0x5a462a=>{const _0x596ab4=_0x29d7e2,_0x1b3031={'oDSRu':function(_0x5c9e06,_0x487516){const _0x47c71f=a44_0x2039;return _0x20bcd5[_0x47c71f(0x23e)](_0x5c9e06,_0x487516);},'fnkst':function(_0x473189,_0xf4ae25){const _0x2bc903=a44_0x2039;return _0x20bcd5[_0x2bc903(0x20e)](_0x473189,_0xf4ae25);},'lxAoz':function(_0x1069c2,_0x2bd437,_0x176ed7){const _0x1934aa=a44_0x2039;return _0x20bcd5[_0x1934aa(0x251)](_0x1069c2,_0x2bd437,_0x176ed7);}};let _0x2b0c0e;try{_0x2b0c0e=helper['requireModule'](_0x20bcd5['WbYlD'],_0x20bcd5[_0x596ab4(0x246)]);}catch(_0x257a04){return logger[_0x596ab4(0x22e)](_0x20bcd5[_0x596ab4(0x219)]),_0x20bcd5[_0x596ab4(0x202)](_0x5a462a,0x1);}const _0x41a1ea=_0x2b0c0e[_0x596ab4(0x266)];_0x2b0c0e['run']=function(_0x36ace2,_0x1732bd){const _0x2af0d2=_0x596ab4;return _0x2b0c0e[_0x2af0d2(0x266)]=_0x41a1ea,_0x41a1ea[_0x2af0d2(0x239)](_0x2b0c0e,_0x36ace2,(_0x161b77,_0x1ad240)=>{const _0xa199e6=_0x2af0d2,_0x191ed9=_0x1ad240&&_0x1ad240[_0xa199e6(0x266)]&&(_0x1ad240[_0xa199e6(0x266)][_0xa199e6(0x22e)]||_0x1ad240[_0xa199e6(0x266)][_0xa199e6(0x233)]&&_0x1b3031[_0xa199e6(0x231)](_0x1ad240[_0xa199e6(0x266)]['failures'][_0xa199e6(0x241)],0x0));_0x1b3031[_0xa199e6(0x207)](_0x5a462a,_0x191ed9?0x1:0x0),_0x1732bd&&_0x1b3031[_0xa199e6(0x21e)](_0x1732bd,_0x161b77,_0x1ad240);});};try{const _0x1edc83=_0x20bcd5['WQLmj'](require,_0x20bcd5[_0x596ab4(0x262)])['createRequire'](path[_0x596ab4(0x25c)](process[_0x596ab4(0x25f)](),_0x20bcd5[_0x596ab4(0x1f9)]));_0x20bcd5[_0x596ab4(0x202)](_0x1edc83,_0x20bcd5[_0x596ab4(0x243)])([_0x20bcd5[_0x596ab4(0x1f5)],_0x20bcd5[_0x596ab4(0x246)]][_0x596ab4(0x222)](_0x439579));}catch(_0x3d6725){_0x2b0c0e[_0x596ab4(0x266)]=_0x41a1ea,logger[_0x596ab4(0x22e)](_0x20bcd5['SBcAv'](_0x20bcd5['lUJBR'],_0x3d6725['message'])),_0x20bcd5[_0x596ab4(0x20e)](_0x5a462a,0x1);}});}function runNewmanScript(_0x180ce3,_0x53ca25){const _0x50b0e9=a44_0x2d3d81,_0x10c1e5={'qCrVz':function(_0x530b3c,_0x46500c){return _0x530b3c(_0x46500c);},'XXfiI':function(_0x5652c6,_0x3c86f0){return _0x5652c6||_0x3c86f0;},'Tenti':function(_0x1a5f52,_0x15fcfb,_0x10228f,_0xd9b26f){return _0x1a5f52(_0x15fcfb,_0x10228f,_0xd9b26f);},'TYKKn':'scriptRunner.js','POzmW':_0x50b0e9(0x24e),'LXSLz':'close'};return new Promise(function(_0x135342){const _0x282aa7=_0x50b0e9,_0x2815fa=_0x10c1e5[_0x282aa7(0x206)](fork,path[_0x282aa7(0x25c)](__dirname,_0x10c1e5[_0x282aa7(0x1f8)]),[_0x180ce3,_0x10c1e5[_0x282aa7(0x1fe)](String,_0x10c1e5[_0x282aa7(0x20d)](_0x53ca25,0x0))],{'stdio':_0x10c1e5[_0x282aa7(0x20c)],'env':Object[_0x282aa7(0x20b)]({},process[_0x282aa7(0x1ee)])});_0x2815fa['on'](_0x10c1e5[_0x282aa7(0x22f)],function(_0x18f014){const _0x5e9744=_0x282aa7;_0x10c1e5[_0x5e9744(0x1fe)](_0x135342,_0x10c1e5[_0x5e9744(0x20d)](_0x18f014,0x0));});});}function hasO11yBuild(){const _0x4cd983=a44_0x2d3d81,_0x19e316={};_0x19e316[_0x4cd983(0x1ef)]=function(_0x2030e5,_0x22bbee){return _0x2030e5!==_0x22bbee;},_0x19e316[_0x4cd983(0x1ec)]=_0x4cd983(0x1fd);const _0x13c351=_0x19e316;return!!(BrowserstackCLI[_0x4cd983(0x249)]||process[_0x4cd983(0x1ee)][_0x4cd983(0x25e)]&&_0x13c351['jDpaG'](process['env'][_0x4cd983(0x25e)],_0x13c351[_0x4cd983(0x1ec)]));}function runWithoutObservability(_0x375648,_0x2285c1){const _0x2d41dc=a44_0x2d3d81,_0x414d34={'WqWxp':function(_0x380d9e,_0x5a3826){return _0x380d9e(_0x5a3826);},'gxZlv':function(_0x6e291c,_0x2d51f4){return _0x6e291c(_0x2d51f4);}};if(_0x375648)return _0x414d34['WqWxp'](require,path[_0x2d41dc(0x1f7)](_0x375648)),0x0;return _0x414d34[_0x2d41dc(0x23b)](runNewmanCLI,_0x2285c1);}module[a44_0x2d3d81(0x218)]=async function(_0x3d42d2,_0x2d9036,_0x3ba93c){const _0x24132a=a44_0x2d3d81,_0x27a550={'WAvID':_0x24132a(0x268),'ahclH':function(_0x39216c,_0x1dfdb1){return _0x39216c===_0x1dfdb1;},'iVDPB':function(_0x4d726d,_0x596876){return _0x4d726d===_0x596876;},'Isxdn':'false','zSQSh':function(_0x3d39f4,_0x110c9d,_0x263213){return _0x3d39f4(_0x110c9d,_0x263213);},'GbHBq':function(_0x12758d,_0x59e99e){return _0x12758d!=_0x59e99e;},'iEHWf':_0x24132a(0x21b),'YZDKs':_0x24132a(0x24d),'RmNxo':function(_0x2e550a,_0x241cc4){return _0x2e550a+_0x241cc4;},'KRvbC':'Failed\x20to\x20bootstrap\x20CLI:\x20','MqVtj':function(_0x4d4827,_0x2bb7ed){return _0x4d4827+_0x2bb7ed;},'Cgmgp':_0x24132a(0x238),'YnkFu':function(_0x1be70c){return _0x1be70c();},'sUzMn':_0x24132a(0x1fb),'NRQpf':function(_0x360bc9){return _0x360bc9();},'XRETH':function(_0x481f20,_0x25cc92){return _0x481f20(_0x25cc92);},'LCzvM':function(_0x4f4e54,_0x15d435){return _0x4f4e54(_0x15d435);},'dmiuz':function(_0x382a6c){return _0x382a6c();},'NKOhl':function(_0x393cfb){return _0x393cfb();},'jbFSk':_0x24132a(0x225)},_0x3fbff3=_0x2d9036[_0x24132a(0x244)](0x1),_0x3014ea=_0x3fbff3[0x0]&&_0x3fbff3[0x0][_0x24132a(0x228)](_0x27a550['WAvID'])?_0x3fbff3[0x0]:null;if(!_0x3ba93c['config']||_0x27a550[_0x24132a(0x1fa)](_0x3ba93c['config']['testObservability'],![])||_0x27a550[_0x24132a(0x209)](_0x3ba93c['config'][_0x24132a(0x24c)],_0x27a550[_0x24132a(0x21c)])){process[_0x24132a(0x236)]=await _0x27a550[_0x24132a(0x204)](runWithoutObservability,_0x3014ea,_0x3fbff3)||0x0;return;}process[_0x24132a(0x1ee)][_0x24132a(0x257)]=_0x27a550[_0x24132a(0x21c)],process[_0x24132a(0x1ee)][_0x24132a(0x252)]=_0x27a550[_0x24132a(0x21c)],process[_0x24132a(0x1ee)][_0x24132a(0x1f6)]=_0x27a550[_0x24132a(0x1fc)](_0x3ba93c[_0x24132a(0x208)][_0x24132a(0x24c)],null)?_0x3ba93c['config'][_0x24132a(0x24c)]:_0x27a550[_0x24132a(0x227)],CLIUtils[_0x24132a(0x226)](_0x27a550[_0x24132a(0x1e9)],_0x27a550[_0x24132a(0x1e9)]),BrowserstackCLI[_0x24132a(0x1ea)]()[_0x24132a(0x247)](_0x3ba93c[_0x24132a(0x208)],_0x3ba93c[_0x24132a(0x25d)],_0x3ba93c[_0x24132a(0x201)]);try{await BrowserstackCLI[_0x24132a(0x1ea)]()[_0x24132a(0x213)]();}catch(_0x14ea57){logger[_0x24132a(0x22e)](_0x27a550[_0x24132a(0x22a)](_0x27a550[_0x24132a(0x1f0)],_0x14ea57['message']||_0x14ea57));}if(!BrowserstackCLI[_0x24132a(0x1ea)]()[_0x24132a(0x212)]())try{await TestHubHandler[_0x24132a(0x229)](FRAMEWORKS['NEWMAN'],_0x3ba93c);}catch(_0x10c7e8){logger['error'](_0x27a550[_0x24132a(0x200)](_0x27a550[_0x24132a(0x23a)],_0x10c7e8[_0x24132a(0x24a)]||_0x10c7e8));}!_0x27a550[_0x24132a(0x1f2)](hasO11yBuild)&&logger['warn'](_0x27a550[_0x24132a(0x242)]);_0x27a550[_0x24132a(0x224)](registerBrowserStackReporter);let _0x25c0f6;_0x3014ea?_0x25c0f6=await _0x27a550[_0x24132a(0x204)](runNewmanScript,_0x3014ea,_0x3ba93c[_0x24132a(0x208)][_0x24132a(0x24f)]):_0x25c0f6=await _0x27a550[_0x24132a(0x253)](runNewmanCLI,_0x27a550[_0x24132a(0x232)](injectReporterIntoArgs,_0x3fbff3));try{await TestHubHandler[_0x24132a(0x235)]();}catch(_0x3aa22e){}try{await BrowserstackCLI[_0x24132a(0x1ea)]()[_0x24132a(0x235)]();}catch(_0x4de26a){}try{await RequestQueueHandler[_0x24132a(0x1ea)]()[_0x24132a(0x1f4)]();}catch(_0x514ac4){}if(_0x27a550[_0x24132a(0x20f)](hasO11yBuild))try{_0x27a550[_0x24132a(0x1ff)](printBuildLink);}catch(_0x33b173){}else logger['warn'](_0x27a550[_0x24132a(0x23c)]);process['exitCode']=_0x25c0f6;};
|
|
2
|
+
'use strict';const a44_0x1efab0=a44_0xab62;(function(_0x2a29a6,_0x468dc7){const _0x3befcf=a44_0xab62,_0x101226=_0x2a29a6();while(!![]){try{const _0x570ee0=-parseInt(_0x3befcf(0x140))/0x1+-parseInt(_0x3befcf(0x129))/0x2+-parseInt(_0x3befcf(0x158))/0x3+-parseInt(_0x3befcf(0x122))/0x4+parseInt(_0x3befcf(0x10f))/0x5*(-parseInt(_0x3befcf(0x162))/0x6)+-parseInt(_0x3befcf(0x15e))/0x7+parseInt(_0x3befcf(0x177))/0x8;if(_0x570ee0===_0x468dc7)break;else _0x101226['push'](_0x101226['shift']());}catch(_0x578139){_0x101226['push'](_0x101226['shift']());}}}(a44_0xe7af,0x20278));function a44_0xe7af(){const _0x24e330=['true','102ngamdv','exports','GKHyZ','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','child_process','kHCjb','getInstance','BROWSERSTACK_TESTHUB_JWT','join','sYkHD','env','FfCrx','HYgJA','dvIkK','AFBqo','lzlMz','qZJUF','null','XRDTT','parallelsPerPlatform','ElOUN','7774904xJsfGe','cwd','isRunning','FJYol','lSBiv','WvlSq','setFrameworkDetail','cliConfig','NEWMAN','concat','qwfvT','fGmoK','lLQNZ','shutdown','xkjFi','../../helpers/test-observability/constants','ZfzyH','error','kWrlt','14305AWJVDR',',browserstack','--reporters','qWShO','newman-reporter-browserstack','assign','push','run','package.json','slice','BROWSERSTACK_TEST_OBSERVABILITY_YML','oEums','requireModule','aFfOy','warn','lLWoZ','testObservability','yQXhY','CCRtV','1027068cVbrch','qbWvi','resolve','rAUVM','createRequire','quNxH','WbBnY','228068niHqRl','eLvMX','scriptRunner.js','stop','PmIgM','MaHRG','RUDRQ','launchBuild','bootstrap','../../helpers/test-observability/utils','browserstack','endsWith','tEVTq','_resolveFilename','config','DZzJB','iqJZr','index.js','lFNNi','Failed\x20to\x20launch\x20build:\x20','Xeyce','UVJEQ','message','14719redkQC','../../helpers/testhub/testhubHandler','WGNEJ','VAozZ','failures','call','tzEyK','KJbEN','path','wVggj','.js','O11yHashedID','LBEPb','kYaCg','exitCode','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','module','configPath','Dwgja','XOdFV','../../helpers/logger','cli,browserstack','SADhE','../../helpers/test-observability/requestQueueHandler','646671YZRBYg','Newman\x20CLI\x20not\x20found:\x20','qZBKP','setBrowserstackConfig','reporter','QiYwb','1333115KOVOJN','NZdna','newman'];a44_0xe7af=function(){return _0x24e330;};return a44_0xe7af();}const path=require(a44_0x1efab0(0x148)),Module=require(a44_0x1efab0(0x150)),{fork}=require(a44_0x1efab0(0x166)),logger=require(a44_0x1efab0(0x154))['winstonLogger'],helper=require('../../helpers/helper'),TestHubHandler=require(a44_0x1efab0(0x141)),RequestQueueHandler=require(a44_0x1efab0(0x157)),{FRAMEWORKS}=require(a44_0x1efab0(0x10b)),{printBuildLink}=require(a44_0x1efab0(0x132)),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require('../v2/cliUtils');function registerBrowserStackReporter(){const _0x344ce0=a44_0x1efab0,_0x502fee={};_0x502fee[_0x344ce0(0x174)]=function(_0x39f9f2,_0x312580){return _0x39f9f2===_0x312580;},_0x502fee[_0x344ce0(0x10a)]=_0x344ce0(0x113),_0x502fee[_0x344ce0(0x17b)]=_0x344ce0(0x15c),_0x502fee[_0x344ce0(0x12d)]=_0x344ce0(0x13a);const _0x9eb97c=_0x502fee,_0xbb2fcd=path[_0x344ce0(0x16a)](__dirname,_0x9eb97c['lSBiv'],_0x9eb97c[_0x344ce0(0x12d)]),_0xa43943=Module[_0x344ce0(0x136)];Module[_0x344ce0(0x136)]=function(_0x209232,_0x2e1a14,_0x3071f3,_0x53b8a1){const _0x230ccc=_0x344ce0;if(_0x9eb97c[_0x230ccc(0x174)](_0x209232,_0x9eb97c['xkjFi']))return _0xbb2fcd;return _0xa43943[_0x230ccc(0x145)](this,_0x209232,_0x2e1a14,_0x3071f3,_0x53b8a1);};}function a44_0xab62(_0xf8019c,_0x2b3aa2){const _0xe7af96=a44_0xe7af();return a44_0xab62=function(_0xab622d,_0x2dd78e){_0xab622d=_0xab622d-0x10a;let _0x83d6e2=_0xe7af96[_0xab622d];return _0x83d6e2;},a44_0xab62(_0xf8019c,_0x2b3aa2);}function injectReporterIntoArgs(_0x6df19b){const _0xcc9bfb=a44_0x1efab0,_0x2aabb4={};_0x2aabb4['CCRtV']=function(_0xefb4ee,_0x475827){return _0xefb4ee<_0x475827;},_0x2aabb4[_0xcc9bfb(0x156)]=function(_0x3dc07a,_0x187e73){return _0x3dc07a===_0x187e73;},_0x2aabb4['VAozZ']=function(_0x313112,_0x2307e6){return _0x313112===_0x2307e6;},_0x2aabb4[_0xcc9bfb(0x14c)]=_0xcc9bfb(0x111),_0x2aabb4['aFfOy']=function(_0x7e02ab,_0x5139b8){return _0x7e02ab+_0x5139b8;},_0x2aabb4[_0xcc9bfb(0x16e)]=function(_0x107233,_0x4efe73){return _0x107233===_0x4efe73;},_0x2aabb4[_0xcc9bfb(0x11e)]=function(_0x2c1062,_0x41bac0){return _0x2c1062+_0x41bac0;},_0x2aabb4[_0xcc9bfb(0x167)]=_0xcc9bfb(0x133),_0x2aabb4[_0xcc9bfb(0x170)]=function(_0x4e5b95,_0x33a083){return _0x4e5b95+_0x33a083;},_0x2aabb4[_0xcc9bfb(0x171)]=_0xcc9bfb(0x110),_0x2aabb4['EiRgB']=_0xcc9bfb(0x155);const _0x7a2a85=_0x2aabb4,_0x1c844=_0x6df19b[_0xcc9bfb(0x118)]();for(let _0xa0a61b=0x0;_0x7a2a85[_0xcc9bfb(0x121)](_0xa0a61b,_0x1c844['length']);_0xa0a61b++){if(_0x7a2a85[_0xcc9bfb(0x156)](_0x1c844[_0xa0a61b],'-r')||_0x7a2a85[_0xcc9bfb(0x143)](_0x1c844[_0xa0a61b],_0x7a2a85['LBEPb']))return _0x1c844[_0x7a2a85[_0xcc9bfb(0x11c)](_0xa0a61b,0x1)]&&_0x7a2a85[_0xcc9bfb(0x16e)](_0x1c844[_0x7a2a85[_0xcc9bfb(0x11e)](_0xa0a61b,0x1)]['indexOf'](_0x7a2a85['kHCjb']),-0x1)&&(_0x1c844[_0x7a2a85[_0xcc9bfb(0x170)](_0xa0a61b,0x1)]+=_0x7a2a85['lzlMz']),_0x1c844;}return _0x1c844[_0xcc9bfb(0x115)]('-r',_0x7a2a85['EiRgB']),_0x1c844;}function runNewmanCLI(_0x5c3f35){const _0x310b45=a44_0x1efab0,_0x482908={'dvIkK':function(_0x546ec7,_0x21843f){return _0x546ec7>_0x21843f;},'jMFil':function(_0x547eed,_0x4c09a4){return _0x547eed(_0x4c09a4);},'FfCrx':function(_0x5f41fc,_0x5d2941,_0xd1697c){return _0x5f41fc(_0x5d2941,_0xd1697c);},'MaHRG':_0x310b45(0x160),'ElOUN':_0x310b45(0x165),'NZdna':function(_0x3715b4,_0x4077d6){return _0x3715b4(_0x4077d6);},'oEums':function(_0x36dfd9,_0x1a81b7){return _0x36dfd9(_0x1a81b7);},'lLQNZ':_0x310b45(0x150),'rAUVM':_0x310b45(0x117),'fGmoK':function(_0xa77af2,_0x2b4508){return _0xa77af2(_0x2b4508);},'QiYwb':'newman/bin/newman','tzEyK':'node','GKHyZ':function(_0x5057b2,_0xd93d30){return _0x5057b2+_0xd93d30;},'TzBSw':_0x310b45(0x159),'wVggj':function(_0x453a87,_0x1ecabd){return _0x453a87(_0x1ecabd);}};return new Promise(_0x14d0ca=>{const _0x1bcd32=_0x310b45,_0x3cbf23={'ZfzyH':function(_0x5a7950,_0x39024c){const _0x117132=a44_0xab62;return _0x482908[_0x117132(0x16f)](_0x5a7950,_0x39024c);},'qwfvT':function(_0x5ccc56,_0x24960d){return _0x482908['jMFil'](_0x5ccc56,_0x24960d);},'tEVTq':function(_0x38043f,_0x146118,_0x14d12f){const _0x5aad40=a44_0xab62;return _0x482908[_0x5aad40(0x16d)](_0x38043f,_0x146118,_0x14d12f);}};let _0x4ab801;try{_0x4ab801=helper[_0x1bcd32(0x11b)](_0x482908['MaHRG'],_0x482908[_0x1bcd32(0x12e)]);}catch(_0x823771){return logger[_0x1bcd32(0x10d)](_0x482908[_0x1bcd32(0x176)]),_0x482908[_0x1bcd32(0x15f)](_0x14d0ca,0x1);}const _0x390e34=_0x4ab801[_0x1bcd32(0x116)];_0x4ab801[_0x1bcd32(0x116)]=function(_0x546532,_0x4644ea){const _0x30a719=_0x1bcd32;return _0x4ab801[_0x30a719(0x116)]=_0x390e34,_0x390e34[_0x30a719(0x145)](_0x4ab801,_0x546532,(_0x19ff15,_0x1a3d97)=>{const _0x30da42=_0x30a719,_0x49e5e3=_0x1a3d97&&_0x1a3d97[_0x30da42(0x116)]&&(_0x1a3d97[_0x30da42(0x116)][_0x30da42(0x10d)]||_0x1a3d97['run'][_0x30da42(0x144)]&&_0x3cbf23[_0x30da42(0x10c)](_0x1a3d97[_0x30da42(0x116)]['failures']['length'],0x0));_0x3cbf23[_0x30da42(0x181)](_0x14d0ca,_0x49e5e3?0x1:0x0),_0x4644ea&&_0x3cbf23[_0x30da42(0x135)](_0x4644ea,_0x19ff15,_0x1a3d97);});};try{const _0x28410f=_0x482908[_0x1bcd32(0x11a)](require,_0x482908[_0x1bcd32(0x183)])[_0x1bcd32(0x126)](path[_0x1bcd32(0x16a)](process[_0x1bcd32(0x178)](),_0x482908[_0x1bcd32(0x125)]));_0x482908[_0x1bcd32(0x182)](_0x28410f,_0x482908[_0x1bcd32(0x15d)])([_0x482908[_0x1bcd32(0x146)],_0x482908[_0x1bcd32(0x12e)]][_0x1bcd32(0x180)](_0x5c3f35));}catch(_0x43cc38){_0x4ab801[_0x1bcd32(0x116)]=_0x390e34,logger[_0x1bcd32(0x10d)](_0x482908[_0x1bcd32(0x164)](_0x482908['TzBSw'],_0x43cc38['message'])),_0x482908[_0x1bcd32(0x149)](_0x14d0ca,0x1);}});}function runNewmanScript(_0x420eb1,_0x4f251c){const _0x5f4b76=a44_0x1efab0,_0x5d4bc8={'DZzJB':function(_0x504011,_0x3fc6ea){return _0x504011(_0x3fc6ea);},'RUDRQ':function(_0x40d68a,_0x49e324){return _0x40d68a||_0x49e324;},'FJYol':function(_0x140a52,_0x9370d0,_0x5dfc3a,_0x4fabda){return _0x140a52(_0x9370d0,_0x5dfc3a,_0x4fabda);},'kWrlt':_0x5f4b76(0x12b),'qWShO':function(_0x50b6ed,_0x65f250){return _0x50b6ed(_0x65f250);},'HSSMw':'inherit','VvpsT':'close'};return new Promise(function(_0x73ed94){const _0x43e60c=_0x5f4b76,_0x1fa131=_0x5d4bc8[_0x43e60c(0x17a)](fork,path[_0x43e60c(0x16a)](__dirname,_0x5d4bc8[_0x43e60c(0x10e)]),[_0x420eb1,_0x5d4bc8[_0x43e60c(0x112)](String,_0x5d4bc8[_0x43e60c(0x12f)](_0x4f251c,0x0))],{'stdio':_0x5d4bc8['HSSMw'],'env':Object[_0x43e60c(0x114)]({},process[_0x43e60c(0x16c)])});_0x1fa131['on'](_0x5d4bc8['VvpsT'],function(_0xb78ff3){const _0x447120=_0x43e60c;_0x5d4bc8[_0x447120(0x138)](_0x73ed94,_0x5d4bc8[_0x447120(0x12f)](_0xb78ff3,0x0));});});}function hasO11yBuild(){const _0x2b1089=a44_0x1efab0,_0x3bc81c={};_0x3bc81c[_0x2b1089(0x14d)]=function(_0x4806d1,_0x1b7e77){return _0x4806d1!==_0x1b7e77;},_0x3bc81c[_0x2b1089(0x13d)]=_0x2b1089(0x173);const _0x31c455=_0x3bc81c;return!!(BrowserstackCLI[_0x2b1089(0x14b)]||process[_0x2b1089(0x16c)][_0x2b1089(0x169)]&&_0x31c455[_0x2b1089(0x14d)](process[_0x2b1089(0x16c)][_0x2b1089(0x169)],_0x31c455['Xeyce']));}function runWithoutObservability(_0x59bc7f,_0x15a272){const _0xc93e85=a44_0x1efab0,_0x602b18={'lFNNi':function(_0x2f2822,_0x4ab1c9){return _0x2f2822(_0x4ab1c9);}};if(_0x59bc7f)return _0x602b18[_0xc93e85(0x13b)](require,path[_0xc93e85(0x124)](_0x59bc7f)),0x0;return _0x602b18[_0xc93e85(0x13b)](runNewmanCLI,_0x15a272);}module[a44_0x1efab0(0x163)]=async function(_0x22756e,_0x3a5ca6,_0x114b4f){const _0xa83085=a44_0x1efab0,_0x4d59a0={'sYkHD':_0xa83085(0x14a),'qZBKP':function(_0x9d843d,_0x158897){return _0x9d843d===_0x158897;},'qbWvi':function(_0x468689,_0x560e81){return _0x468689===_0x560e81;},'yQXhY':'false','XOdFV':function(_0x378ae5,_0x2e9670,_0x4d6eec){return _0x378ae5(_0x2e9670,_0x4d6eec);},'iqJZr':function(_0x4192fa,_0x5119c9){return _0x4192fa!=_0x5119c9;},'WGNEJ':_0xa83085(0x161),'KJbEN':_0xa83085(0x160),'Dwgja':function(_0x323325,_0x54c8c5){return _0x323325+_0x54c8c5;},'NBRrw':'Failed\x20to\x20bootstrap\x20CLI:\x20','QooBC':_0xa83085(0x13c),'WvlSq':function(_0x596a52){return _0x596a52();},'quNxH':_0xa83085(0x14f),'WbBnY':function(_0xe5b235){return _0xe5b235();},'eLvMX':function(_0x1aef15,_0x26edc0){return _0x1aef15(_0x26edc0);},'UVJEQ':function(_0x27f288){return _0x27f288();},'qZJUF':'[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.'},_0x3dd1db=_0x3a5ca6[_0xa83085(0x118)](0x1),_0x2aaaed=_0x3dd1db[0x0]&&_0x3dd1db[0x0][_0xa83085(0x134)](_0x4d59a0[_0xa83085(0x16b)])?_0x3dd1db[0x0]:null;if(!_0x114b4f[_0xa83085(0x137)]||_0x4d59a0[_0xa83085(0x15a)](_0x114b4f[_0xa83085(0x137)][_0xa83085(0x11f)],![])||_0x4d59a0[_0xa83085(0x123)](_0x114b4f['config'][_0xa83085(0x11f)],_0x4d59a0[_0xa83085(0x120)])){process[_0xa83085(0x14e)]=await _0x4d59a0[_0xa83085(0x153)](runWithoutObservability,_0x2aaaed,_0x3dd1db)||0x0;return;}process['env']['BROWSERSTACK_AUTOMATION']=_0x4d59a0[_0xa83085(0x120)],process[_0xa83085(0x16c)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x4d59a0[_0xa83085(0x120)],process[_0xa83085(0x16c)][_0xa83085(0x119)]=_0x4d59a0[_0xa83085(0x139)](_0x114b4f[_0xa83085(0x137)]['testObservability'],null)?_0x114b4f[_0xa83085(0x137)][_0xa83085(0x11f)]:_0x4d59a0[_0xa83085(0x142)],CLIUtils[_0xa83085(0x17d)](_0x4d59a0[_0xa83085(0x147)],_0x4d59a0['KJbEN']),BrowserstackCLI['getInstance']()[_0xa83085(0x15b)](_0x114b4f[_0xa83085(0x137)],_0x114b4f[_0xa83085(0x151)],_0x114b4f[_0xa83085(0x17e)]);try{await BrowserstackCLI[_0xa83085(0x168)]()[_0xa83085(0x131)]();}catch(_0x45e5aa){logger['error'](_0x4d59a0[_0xa83085(0x152)](_0x4d59a0['NBRrw'],_0x45e5aa[_0xa83085(0x13f)]||_0x45e5aa));}if(!BrowserstackCLI[_0xa83085(0x168)]()[_0xa83085(0x179)]())try{await TestHubHandler[_0xa83085(0x130)](FRAMEWORKS[_0xa83085(0x17f)],_0x114b4f);}catch(_0x14846f){logger[_0xa83085(0x10d)](_0x4d59a0['Dwgja'](_0x4d59a0['QooBC'],_0x14846f[_0xa83085(0x13f)]||_0x14846f));}!_0x4d59a0[_0xa83085(0x17c)](hasO11yBuild)&&logger[_0xa83085(0x11d)](_0x4d59a0[_0xa83085(0x127)]);_0x4d59a0[_0xa83085(0x128)](registerBrowserStackReporter);let _0x119183;_0x2aaaed?_0x119183=await _0x4d59a0[_0xa83085(0x153)](runNewmanScript,_0x2aaaed,_0x114b4f['config'][_0xa83085(0x175)]):_0x119183=await _0x4d59a0[_0xa83085(0x12a)](runNewmanCLI,_0x4d59a0[_0xa83085(0x12a)](injectReporterIntoArgs,_0x3dd1db));try{await TestHubHandler[_0xa83085(0x12c)]();}catch(_0x349e3a){}try{await BrowserstackCLI[_0xa83085(0x168)]()[_0xa83085(0x12c)]();}catch(_0x52d1c9){}try{await RequestQueueHandler[_0xa83085(0x168)]()[_0xa83085(0x184)]();}catch(_0x3320a6){}if(_0x4d59a0['WvlSq'](hasO11yBuild))try{_0x4d59a0[_0xa83085(0x13e)](printBuildLink);}catch(_0x522ae7){}else logger['warn'](_0x4d59a0[_0xa83085(0x172)]);process[_0xa83085(0x14e)]=_0x119183;};
|
package/src/bin/newman/helper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45_0x1367a3=a45_0x88b7;(function(_0x2cb0c4,_0x2fa5e4){const _0x5900a0=a45_0x88b7,_0x29d6b8=_0x2cb0c4();while(!![]){try{const _0x4c7c1f=-parseInt(_0x5900a0(0x1a5))/0x1*(parseInt(_0x5900a0(0x1ae))/0x2)+parseInt(_0x5900a0(0x1af))/0x3*(parseInt(_0x5900a0(0x1a1))/0x4)+parseInt(_0x5900a0(0x1b6))/0x5*(-parseInt(_0x5900a0(0x1a4))/0x6)+parseInt(_0x5900a0(0x1a2))/0x7*(-parseInt(_0x5900a0(0x1ab))/0x8)+parseInt(_0x5900a0(0x1a9))/0x9*(-parseInt(_0x5900a0(0x1b5))/0xa)+-parseInt(_0x5900a0(0x1b1))/0xb+parseInt(_0x5900a0(0x1a7))/0xc;if(_0x4c7c1f===_0x2fa5e4)break;else _0x29d6b8['push'](_0x29d6b8['shift']());}catch(_0x2a92fc){_0x29d6b8['push'](_0x29d6b8['shift']());}}}(a45_0x5de3,0x8eaf9));function a45_0x88b7(_0x23fb01,_0x421d64){const _0x5de3bc=a45_0x5de3();return a45_0x88b7=function(_0x88b70b,_0xe8f9bc){_0x88b70b=_0x88b70b-0x1a1;let _0x2d7e18=_0x5de3bc[_0x88b70b];return _0x2d7e18;},a45_0x88b7(_0x23fb01,_0x421d64);}function isNewman(_0x16b59d){const _0x5334a8=a45_0x88b7,_0x336fa9={'PUwBV':function(_0x2cfd25,_0x2f31cc){return _0x2cfd25===_0x2f31cc;},'fTLwt':_0x5334a8(0x1b0),'JmqfE':function(_0x4b0c5c,_0x267d3e){return _0x4b0c5c===_0x267d3e;},'yRWqk':function(_0x2efb65,_0x46608c){return _0x2efb65(_0x46608c);},'KUITS':function(_0x13196d,_0x47fc09){return _0x13196d||_0x47fc09;}},_0x1d6646=process[_0x5334a8(0x1b4)]['BROWSERSTACK_FRAMEWORK']||'';let _0x1e1cc4='';_0x16b59d&&_0x16b59d[_0x5334a8(0x1a6)]&&(_0x1e1cc4=_0x16b59d[_0x5334a8(0x1a6)]);const _0x56c063=_0x336fa9[_0x5334a8(0x1b3)](_0x1d6646[_0x5334a8(0x1ac)](),_0x336fa9[_0x5334a8(0x1b2)]),_0xb8de8c=_0x336fa9[_0x5334a8(0x1a8)](_0x336fa9[_0x5334a8(0x1a3)](String,_0x1e1cc4)[_0x5334a8(0x1ac)](),_0x336fa9[_0x5334a8(0x1b2)]);return _0x336fa9[_0x5334a8(0x1ad)](_0x56c063,_0xb8de8c);};function a45_0x5de3(){const _0x5f435d=['JmqfE','4232133UJwvbc','isNewman','153992DQaMBa','toLowerCase','KUITS','6eGdkqZ','117YPMYiV','newman','11986755DqyoDb','fTLwt','PUwBV','env','10zRIWIV','551795VbKaeY','2732PouoDq','28rFvrpc','yRWqk','6weSiEY','146801tZtGAM','framework','32946048oJsRke'];a45_0x5de3=function(){return _0x5f435d;};return a45_0x5de3();}const a45_0x89c025={};a45_0x89c025[a45_0x1367a3(0x1aa)]=isNewman,module['exports']=a45_0x89c025;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a46_0x215d49=a46_0x3b0c;(function(_0x118927,_0x16adbb){const _0x32c128=a46_0x3b0c,_0xc1f1fc=_0x118927();while(!![]){try{const _0x308c26=parseInt(_0x32c128(0x12a))/0x1*(-parseInt(_0x32c128(0xfd))/0x2)+parseInt(_0x32c128(0xd7))/0x3+parseInt(_0x32c128(0x14d))/0x4*(-parseInt(_0x32c128(0x163))/0x5)+parseInt(_0x32c128(0xdc))/0x6+parseInt(_0x32c128(0x17d))/0x7*(parseInt(_0x32c128(0x183))/0x8)+parseInt(_0x32c128(0x174))/0x9*(parseInt(_0x32c128(0x121))/0xa)+-parseInt(_0x32c128(0x167))/0xb*(parseInt(_0x32c128(0xbf))/0xc);if(_0x308c26===_0x16adbb)break;else _0xc1f1fc['push'](_0xc1f1fc['shift']());}catch(_0x554ad0){_0xc1f1fc['push'](_0xc1f1fc['shift']());}}}(a46_0x4815,0x7bb23));const path=require('path'),{v4:uuidv4}=require(a46_0x215d49(0x10d)),SessionHandler=require(a46_0x215d49(0x13f)),{debug}=require(a46_0x215d49(0xc8)),logger=require(a46_0x215d49(0x11b))[a46_0x215d49(0xea)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a46_0x215d49(0x102)),HookState=require(a46_0x215d49(0xca)),LOG_LEVELS=['INFO','WARN',a46_0x215d49(0xb7),a46_0x215d49(0x189),'TRACE'];function isCLIRunning(){try{return BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x30a543){return![];}}function a46_0x4815(){const _0x300e20=['startsWith','jFbQR','AbDsD','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','hntwA','now','headers','includes','removeListener','beforeIteration','forEach','object','4iIYIJa','mbZUH','http','stack','split','PMcCP','cYtGC','HTTP\x20','join','get','expanded','nEPPi','\x20—\x20response\x20status\x20in\x20failure\x20range','tqepS','RcgXj','BHdNf','yKMnj','VMMIB','newman','Exception:\x20','SeVbV','level','1310995Jqtqfi','NIMQQ','length','exports','11pKzGWE','failureType','XvSnK','durationMs','argv','code','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','TauHq','assert','DmbqM','[Newman\x20Reporter]\x20emitLog\x20error:\x20','duration_ms','assertion','1284534vsjBaF','responseTime','http_response','listen','failure_backtrace','jsYzn','startTimestamp','run','ppAoz','695660SVZsgz','httpLog','PRE','pending','HTTP','url','24zqykxs','string','location','logs','getTime','yrimB','DEBUG','kkqaB','xTVAj','FtGrs','rdSbh','NXMOk','plyhd','FXXpY','PVsAy','CaCdt','jyJNS','HrOEj','collectionName','apply','event_type','WgUnW','failure','itNRK','script','yRTlE','parent','LogCreated','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','concat','ZDGvV','done','YRBCK','toISOString','ZReRq','SJRRD','cursor','ERROR','name','TestRunFinished','relative','collectionPath','JIdiO','POST','giWvq','15784836bNtlhT','TEST','KelNQ','stringify','messages','host','WlLMr','):\x20','status_code','../../../helpers/test-observability/utils','sgnaE','../../v2/state/hookState','ZDSLL','TEST_LOG','delete','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','foIZc','ZfhmQ','itemName','XFguG','ZGlwX','iteration','message','HvBGr','1310271KCmdlf','SCQql','uploadEventData','pathname','HPcuR','2585304hglkpw','roAph','YVnYN','set','failed','backtrace','haarv','logCreatedEvent','identifier','inVmu','TestRunStarted','cwd','PkaMe','owUvt','winstonLogger','method','QxdLe','FrqAJ','exception','pjjWN','AclwX','ASmXb','test_run_uuid','Script\x20error\x20(','XgkeH','[Newman\x20Reporter]\x20emitTest\x20error:\x20','ms)','request','NMumu','testFrameworkVersion','collection','resolve','yNnWo','4PUNNWn','timestamp','failureReason','UiAhP','Edjvj','../../v2/state/testFrameworkState','iORkK','XlApO','bufferedLogs','search','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','path','aPqpL','NXCNr','max','javascript','uuid','startedAt','ffOmR','slice','getInstance','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','event','result','JFnCS','WQEFo','item','sEAbJ','GET','testFrameworkName','../../../helpers/logger','JkUZI','ref','Assertion\x20','mfLpo','TqDcS','70IRvijp','push','WAMwM','N/A','assertions','HswHx','err','SzIzN','HrVyT','40301yQTraK','console','GDfft','kind','KLxWo','QBaDq','info','HTTP\x20Status:\x20','pvQsn','platformIndex','DviIf','smQBk','xLujX','getTestFramework','unknown','scopes','INFO','aRsZG','testFrameworkState','toString','indexOf','../../../helpers/test-observability/sessionHandler','response'];a46_0x4815=function(){return _0x300e20;};return a46_0x4815();}function getParentTitles(_0x3fa8c5){const _0x54dcbc=a46_0x215d49,_0x5aa096={'nEPPi':function(_0x146e32,_0x49aa12){return _0x146e32(_0x49aa12);}},_0x4b7cf5=[],_0x3a79d9=_0x3fa8c5['parent']();return _0x3a79d9&&_0x4b7cf5[_0x54dcbc(0x122)][_0x54dcbc(0x196)](_0x4b7cf5,_0x5aa096[_0x54dcbc(0x158)](getParentTitles,_0x3a79d9)),_0x3fa8c5['name']&&_0x4b7cf5[_0x54dcbc(0x122)](_0x5aa096[_0x54dcbc(0x158)](String,_0x3fa8c5[_0x54dcbc(0xb8)])),_0x4b7cf5;}function normalizeLogLevel(_0x3b9873){const _0x30bf2f=a46_0x215d49,_0xc5f2cf={};_0xc5f2cf[_0x30bf2f(0x120)]='INFO',_0xc5f2cf[_0x30bf2f(0x169)]=function(_0x9cfa94,_0x4fdf01){return _0x9cfa94!==_0x4fdf01;};const _0x3172c7=_0xc5f2cf;if(!_0x3b9873)return _0x3172c7[_0x30bf2f(0x120)];const _0x3cef16=_0x3b9873['toUpperCase']();return _0x3172c7[_0x30bf2f(0x169)](LOG_LEVELS[_0x30bf2f(0x13e)](_0x3cef16),-0x1)?_0x3cef16:_0x3172c7[_0x30bf2f(0x120)];}function resolveCollectionFile(_0x57604d,_0x2dc660){const _0x523e5b=a46_0x215d49,_0x4b7123={};_0x4b7123['DmbqM']=function(_0x10fa1c,_0x1f47f0){return _0x10fa1c===_0x1f47f0;},_0x4b7123['haarv']=_0x523e5b(0x184),_0x4b7123[_0x523e5b(0x132)]=_0x523e5b(0x17b),_0x4b7123[_0x523e5b(0x18b)]=function(_0x519e35,_0x108822){return _0x519e35!==_0x108822;},_0x4b7123[_0x523e5b(0x134)]=function(_0x2916c3,_0x1b014d){return _0x2916c3<_0x1b014d;},_0x4b7123[_0x523e5b(0x15b)]=function(_0x4dc7b1,_0x3ea867){return _0x4dc7b1+_0x3ea867;},_0x4b7123[_0x523e5b(0xb2)]=_0x523e5b(0xce),_0x4b7123['NIMQQ']='collection.json';const _0x168c31=_0x4b7123;try{if(_0x2dc660&&_0x2dc660[_0x523e5b(0xbb)])return path[_0x523e5b(0xba)](process[_0x523e5b(0xe7)](),path[_0x523e5b(0xfb)](_0x2dc660[_0x523e5b(0xbb)]));const _0x5eaf1c=_0x57604d[_0x523e5b(0xfa)];if(_0x168c31[_0x523e5b(0x170)](typeof _0x5eaf1c,_0x168c31[_0x523e5b(0xe2)]))return path[_0x523e5b(0xba)](process['cwd'](),path[_0x523e5b(0xfb)](_0x5eaf1c));const _0x3a084a=process[_0x523e5b(0x16b)][_0x523e5b(0x13e)](_0x168c31[_0x523e5b(0x132)]);if(_0x168c31[_0x523e5b(0x18b)](_0x3a084a,-0x1)&&_0x168c31[_0x523e5b(0x134)](_0x168c31['RcgXj'](_0x3a084a,0x1),process[_0x523e5b(0x16b)]['length'])){const _0xec418a=process['argv'][_0x168c31[_0x523e5b(0x15b)](_0x3a084a,0x1)];if(_0xec418a&&!_0xec418a[_0x523e5b(0x141)]('-'))return path[_0x523e5b(0xba)](process['cwd'](),path[_0x523e5b(0xfb)](_0xec418a));}}catch(_0x4b26f8){}return logger[_0x523e5b(0x130)](_0x168c31[_0x523e5b(0xb2)]),_0x168c31[_0x523e5b(0x164)];}function a46_0x3b0c(_0x5c6807,_0xbd3872){const _0x4815f6=a46_0x4815();return a46_0x3b0c=function(_0x3b0c1e,_0x46c2aa){_0x3b0c1e=_0x3b0c1e-0xa7;let _0x2ee315=_0x4815f6[_0x3b0c1e];return _0x2ee315;},a46_0x3b0c(_0x5c6807,_0xbd3872);}function resolveCollectionName(_0x549bae){const _0x292bde=a46_0x215d49,_0x4cd92={};_0x4cd92['SeVbV']=function(_0x10d952,_0xed75d6){return _0x10d952===_0xed75d6;},_0x4cd92[_0x292bde(0xe9)]=_0x292bde(0x14c);const _0xc3eb32=_0x4cd92;try{const _0x21eef8=_0x549bae[_0x292bde(0xfa)];if(_0x21eef8&&_0xc3eb32[_0x292bde(0x161)](typeof _0x21eef8,_0xc3eb32[_0x292bde(0xe9)]))return _0x21eef8[_0x292bde(0xb8)]||_0x21eef8[_0x292bde(0x130)]&&_0x21eef8[_0x292bde(0x130)][_0x292bde(0xb8)]||null;}catch(_0x37f690){}return null;}function emitTest(_0x5bfb43,_0x428b40,_0x433ddb,_0x4cc91c,_0x1138fe){const _0x5123a9=a46_0x215d49,_0x3e83be={'vNlcA':function(_0x1eaede){return _0x1eaede();},'CaCdt':_0x5123a9(0x180),'yKMnj':function(_0x22cc79,_0x31cc03){return _0x22cc79(_0x31cc03);},'gYMvo':_0x5123a9(0x15f),'MJPIw':_0x5123a9(0x10c),'dndMG':function(_0x38e3d9,_0x23eeb9){return _0x38e3d9!=_0x23eeb9;},'XFguG':function(_0x107aa6,_0x576d41){return _0x107aa6===_0x576d41;},'ZfhmQ':_0x5123a9(0xe6),'BWDxE':_0x5123a9(0xb9)};if(_0x3e83be['vNlcA'](isCLIRunning))try{const _0x2de762=BrowserstackCLI[_0x5123a9(0x111)]()[_0x5123a9(0x137)]();if(!_0x2de762)return;_0x2de762['trackEvent'](TestFrameworkState[_0x5123a9(0xc0)],_0x5bfb43,{'test':{'uuid':_0x428b40['uuid'],'name':_0x428b40['name'],'scopes':_0x433ddb[_0x5123a9(0x139)],'scope':_0x433ddb[_0x5123a9(0x139)][_0x5123a9(0x155)]('\x20'),'file_path':_0x4cc91c,'location':_0x433ddb[_0x5123a9(0x195)],'started_at':_0x433ddb[_0x5123a9(0x10e)],'finished_at':_0x1138fe['finishedAt']||null,'result':_0x1138fe[_0x5123a9(0x114)]||_0x3e83be[_0x5123a9(0x192)],'failure':_0x1138fe[_0x5123a9(0xa8)]||[],'failure_type':_0x1138fe[_0x5123a9(0x168)]||null,'failure_reason':_0x1138fe[_0x5123a9(0xff)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x640845){_0x3e83be[_0x5123a9(0x15d)](debug,_0x5123a9(0xf5)+_0x640845);}else{const _0x326f2c={'uuid':_0x428b40['uuid'],'name':_0x428b40[_0x5123a9(0xb8)],'framework':_0x3e83be['gYMvo'],'body':{'lang':_0x3e83be['MJPIw'],'code':null},'scope':_0x433ddb[_0x5123a9(0x139)][_0x5123a9(0x155)]('\x20'),'scopes':_0x433ddb[_0x5123a9(0x139)],'identifier':_0x428b40[_0x5123a9(0xe4)],'file_name':_0x433ddb['collectionName'],'vc_filepath':_0x433ddb[_0x5123a9(0x185)],'location':_0x433ddb[_0x5123a9(0x185)],'started_at':_0x433ddb[_0x5123a9(0x10e)],'finished_at':_0x1138fe['finishedAt']||null,'duration_in_ms':_0x3e83be['dndMG'](_0x1138fe[_0x5123a9(0x16a)],null)?Math[_0x5123a9(0x10b)](0x0,_0x1138fe['durationMs']):null,'result':_0x1138fe['result']||_0x3e83be[_0x5123a9(0x192)],'failure_reason':_0x1138fe['failureReason']||null,'failure_type':_0x1138fe['failureType']||null,'failure':_0x1138fe[_0x5123a9(0xa8)]||[],'retry_of':null,'hooks':[]};_0x326f2c['failure'][0x0]&&(_0x326f2c[_0x5123a9(0x178)]=_0x326f2c['failure'][0x0][_0x5123a9(0xe1)],_0x326f2c['failure_reason_expanded']=_0x326f2c[_0x5123a9(0xa8)][0x0][_0x5123a9(0x157)]);const _0x91acdc=_0x3e83be[_0x5123a9(0xd2)](_0x5bfb43,HookState[_0x5123a9(0x17f)])?_0x3e83be[_0x5123a9(0xd0)]:_0x3e83be['BWDxE'],_0x2c34b0={};_0x2c34b0[_0x5123a9(0x197)]=_0x91acdc,_0x2c34b0['test_run']=_0x326f2c,SessionHandler['uploadEventData'](_0x2c34b0);}}function emitLog(_0x1a7417,_0x40f0d7){const _0x5e8bce=a46_0x215d49,_0x326023={'ppAoz':_0x5e8bce(0xcc),'jsYzn':function(_0x5829d4){return _0x5829d4();},'qghRL':function(_0x28660b,_0x4eb43e){return _0x28660b===_0x4eb43e;},'WQEFo':_0x5e8bce(0x181),'PkaMe':_0x5e8bce(0x15f),'WlLMr':_0x5e8bce(0xc0),'ZGlwX':_0x5e8bce(0x13a),'GDfft':function(_0x3f56ae,_0x185416){return _0x3f56ae(_0x185416);},'iORkK':function(_0x418677,_0x17fb18){return _0x418677+_0x17fb18;},'SCQql':_0x5e8bce(0x171),'kkqaB':_0x5e8bce(0xad)},_0x38247f=_0x40f0d7[_0x5e8bce(0x12d)]||_0x326023[_0x5e8bce(0x17c)],_0xb6178d=_0x40f0d7[_0x5e8bce(0xfe)]||new Date()[_0x5e8bce(0xb3)]();if(_0x326023[_0x5e8bce(0x179)](isCLIRunning))try{const _0x4d7f14=_0x326023['qghRL'](_0x38247f,_0x326023[_0x5e8bce(0x116)])?JSON[_0x5e8bce(0xc2)](_0x40f0d7):_0x40f0d7[_0x5e8bce(0xd5)]||'',_0x2f7c4e={};_0x2f7c4e[_0x5e8bce(0x133)]=0x0,_0x2f7c4e[_0x5e8bce(0x11a)]=_0x326023[_0x5e8bce(0xe8)],_0x2f7c4e[_0x5e8bce(0xf9)]='',_0x2f7c4e[_0x5e8bce(0x13c)]=_0x326023[_0x5e8bce(0xc5)],_0x2f7c4e[_0x5e8bce(0x186)]=[{'uuid':_0x1a7417,'timestamp':_0xb6178d,'kind':_0x38247f,'level':_0x40f0d7[_0x5e8bce(0x162)]||_0x326023[_0x5e8bce(0xd3)],'message':_0x4d7f14}],GrpcClient[_0x5e8bce(0x111)]()[_0x5e8bce(0xe3)](_0x2f7c4e);}catch(_0x4e1bf3){_0x326023[_0x5e8bce(0x12c)](debug,_0x326023[_0x5e8bce(0x103)](_0x326023[_0x5e8bce(0xd8)],_0x4e1bf3));}else{const _0x583b68={};_0x583b68[_0x5e8bce(0xf2)]=_0x1a7417,_0x583b68[_0x5e8bce(0xfe)]=_0xb6178d,_0x583b68[_0x5e8bce(0x162)]=_0x40f0d7['level']||null,_0x583b68[_0x5e8bce(0xd5)]=_0x40f0d7[_0x5e8bce(0xd5)]||null,_0x583b68['kind']=_0x38247f,_0x583b68[_0x5e8bce(0x176)]=_0x40f0d7[_0x5e8bce(0x176)]||{};const _0xa6be8={};_0xa6be8[_0x5e8bce(0x197)]=_0x326023[_0x5e8bce(0x18a)],_0xa6be8[_0x5e8bce(0x186)]=[_0x583b68],SessionHandler[_0x5e8bce(0xd9)](_0xa6be8);}}function BrowserStackNewmanReporter(_0xaa33d6,_0x48dd45,_0x1d758f){const _0xb39071=a46_0x215d49,_0x51eaf9={'FXXpY':function(_0x406339,_0x4e4d48,_0x564ce3){return _0x406339(_0x4e4d48,_0x564ce3);},'plyhd':function(_0x7e34ab,_0x15d9be){return _0x7e34ab(_0x15d9be);},'JFnCS':function(_0x1b9d25,_0x62bd72){return _0x1b9d25(_0x62bd72);},'hntwA':function(_0x4b89a1,_0x1c369f){return _0x4b89a1>_0x1c369f;},'smQBk':_0xb39071(0x14f),'JIdiO':function(_0x74c0e9,_0x24dc1f){return _0x74c0e9+_0x24dc1f;},'VMMIB':_0xb39071(0x119),'WgUnW':_0xb39071(0xcc),'aPqpL':function(_0x10d187){return _0x10d187();},'SzIzN':function(_0x392e92,_0x563fe2){return _0x392e92||_0x563fe2;},'yrimB':function(_0x2b18fe,_0x13b935,_0x7a749,_0x1c7961,_0x209e6b,_0xe6f39c){return _0x2b18fe(_0x13b935,_0x7a749,_0x1c7961,_0x209e6b,_0xe6f39c);},'AasmJ':function(_0x4407c6,_0x476377){return _0x4407c6===_0x476377;},'gWRdi':function(_0x54dfe9,_0x5c1273){return _0x54dfe9>_0x5c1273;},'yRTlE':function(_0x594be4,_0x4c489e,_0x44196b){return _0x594be4(_0x4c489e,_0x44196b);},'FrqAJ':_0xb39071(0x181),'QBaDq':function(_0x1f2fc0,_0x14b7fc){return _0x1f2fc0+_0x14b7fc;},'XgkeH':function(_0x45f48f,_0x5f7fd5){return _0x45f48f+_0x5f7fd5;},'Edjvj':function(_0x264403,_0xf8f930){return _0x264403+_0xf8f930;},'TauHq':function(_0xb93767,_0x50c306){return _0xb93767+_0x50c306;},'xLujX':'\x20->\x20','DTMZJ':_0xb39071(0xf6),'HrVyT':_0xb39071(0x13a),'giWvq':function(_0x23d56a,_0x292c54){return _0x23d56a(_0x292c54);},'FtGrs':function(_0x33e14a,_0x5d664e){return _0x33e14a-_0x5d664e;},'YVnYN':function(_0x3ed471,_0x35632c){return _0x3ed471(_0x35632c);},'HPcuR':function(_0x252e45,_0x5188a5){return _0x252e45(_0x5188a5);},'FYEci':function(_0x3c8f2e,_0x114dba){return _0x3c8f2e&&_0x114dba;},'HrOEj':function(_0x1eec16,_0x2d507a){return _0x1eec16>_0x2d507a;},'SJRRD':function(_0x1f259c,_0x113474){return _0x1f259c-_0x113474;},'AclwX':function(_0x261c12,_0x6df92d){return _0x261c12+_0x6df92d;},'ZDGvV':_0xb39071(0x160),'jyJNS':_0xb39071(0xb7),'sEAbJ':_0xb39071(0x112),'pjjWN':function(_0x3bc6f0,_0x5c2aab){return _0x3bc6f0-_0x5c2aab;},'BHdNf':_0xb39071(0x138),'KelNQ':function(_0x3f9730,_0x4eb2e2,_0x4f6215){return _0x3f9730(_0x4eb2e2,_0x4f6215);},'ffOmR':function(_0x4a3e0f,_0x2412d7){return _0x4a3e0f+_0x2412d7;},'tqepS':function(_0x383255,_0x3a1500){return _0x383255+_0x3a1500;},'HvBGr':function(_0x5ad1aa,_0x4e195f){return _0x5ad1aa+_0x4e195f;},'roAph':_0xb39071(0xf3),'QxdLe':_0xb39071(0xc6),'inVmu':function(_0x5a1d0b,_0x1a1a5b){return _0x5a1d0b+_0x1a1a5b;},'mfLpo':_0xb39071(0x107),'KLxWo':_0xb39071(0xe0),'NXMOk':'passed','ASmXb':'AssertionError','jFbQR':_0xb39071(0x16f),'mbZUH':'UnhandledError','PMcCP':function(_0x370947,_0xcfb5fa){return _0x370947>_0xcfb5fa;},'ZReRq':function(_0x12062d,_0x501f5f){return _0x12062d!=_0x501f5f;},'JkUZI':function(_0x1583a6,_0x45f802){return _0x1583a6>=_0x45f802;},'yNnWo':function(_0x121449,_0xc2b845){return _0x121449<_0xc2b845;},'lMsjS':_0xb39071(0x124),'PcRiv':'No\x20HTTP\x20response\x20received','qvHNo':function(_0x36cf54,_0x36a1d9,_0x3196f5,_0x1735dc,_0x1669af,_0x2dd39b){return _0x36cf54(_0x36a1d9,_0x3196f5,_0x1735dc,_0x1669af,_0x2dd39b);},'UiAhP':function(_0x14dd46,_0x5a7851,_0x1260d3){return _0x14dd46(_0x5a7851,_0x1260d3);},'aRsZG':_0xb39071(0x131),'XlApO':'\x20(no\x20assertions)','sgnaE':function(_0x52bb5e,_0x37f294,_0x43ce38,_0x13974e,_0xf5ac32,_0x391d4b){return _0x52bb5e(_0x37f294,_0x43ce38,_0x13974e,_0xf5ac32,_0x391d4b);},'PVsAy':function(_0x286532,_0x52238a){return _0x286532(_0x52238a);},'ZDSLL':function(_0x46abf9,_0x36775e,_0x54111a){return _0x46abf9(_0x36775e,_0x54111a);},'NLNTD':_0xb39071(0xb1),'HswHx':_0xb39071(0x14a),'NMumu':'beforeItem','cYtGC':_0xb39071(0xf7),'YsFcC':_0xb39071(0x173),'foIZc':_0xb39071(0x12b),'itNRK':_0xb39071(0xee),'rdSbh':_0xb39071(0xaa),'WAMwM':'item'},_0x44ecc4=new Map();let _0x216168=null,_0x5b8057=0x0;const _0x4ca074=_0x51eaf9[_0xb39071(0xcb)](resolveCollectionFile,_0x1d758f,_0x48dd45),_0x1aba0c=_0x51eaf9['HPcuR'](resolveCollectionName,_0x1d758f)||_0x4ca074,_0x248dc3=path[_0xb39071(0xfb)](_0x4ca074),_0xb98079='bs:addLog:'+process['pid'],_0x146c4f=_0x38f704=>{const _0xef6683=_0xb39071;try{_0x216168&&_0x51eaf9[_0xef6683(0x190)](emitLog,_0x216168,_0x38f704);}catch(_0x18d94b){_0x51eaf9[_0xef6683(0x18f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x18d94b);}};process['on'](_0xb98079,_0x146c4f),_0xaa33d6['on'](_0x51eaf9['NLNTD'],()=>{const _0x295ab0=_0xb39071;process[_0x295ab0(0x149)](_0xb98079,_0x146c4f),_0x44ecc4['clear']();}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0x126)],(_0x27d86a,_0x13ddde)=>{const _0x4c337e=_0xb39071;_0x13ddde&&_0x13ddde[_0x4c337e(0xb6)]&&(_0x5b8057=_0x13ddde[_0x4c337e(0xb6)][_0x4c337e(0xd4)]||0x0);}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0xf8)],(_0x10a2bb,_0x284f6e)=>{const _0xed949a=_0xb39071;try{_0x216168=null;const _0xd68068=_0x284f6e[_0xed949a(0x117)],_0x8ea169=_0xd68068['parent']()?_0x51eaf9['JFnCS'](getParentTitles,_0xd68068[_0xed949a(0xac)]()):[],_0x158720=_0x51eaf9[_0xed949a(0x145)](_0x8ea169[_0xed949a(0x165)],0x1)?_0x8ea169[_0xed949a(0x110)](0x1):_0x8ea169,_0x1e1c1d=_0x284f6e['cursor']&&_0x284f6e[_0xed949a(0xb6)][_0xed949a(0x11d)],_0x49291f={'itemName':_0xd68068[_0xed949a(0xb8)],'scopes':_0x158720['concat']([_0xd68068[_0xed949a(0xb8)]]),'location':_0x4ca074,'collectionName':_0x1aba0c,'startedAt':new Date()['toISOString'](),'startTimestamp':Date[_0xed949a(0x146)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x44ecc4[_0xed949a(0xdf)](_0xd68068['id']+'_'+_0x5b8057,_0x49291f),_0x1e1c1d&&_0x44ecc4[_0xed949a(0xdf)](_0x1e1c1d+'_'+_0x5b8057,_0x49291f);}catch(_0x420886){_0x51eaf9[_0xed949a(0x18f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x420886);}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0x153)],(_0x31b69d,_0x3c6fc9)=>{const _0x4d134b=_0xb39071;try{if(!_0x3c6fc9||!_0x3c6fc9['item'])return;const _0x47d639=_0x44ecc4[_0x4d134b(0x156)](_0x3c6fc9[_0x4d134b(0x117)]['id']+'_'+_0x5b8057);if(!_0x47d639)return;_0x3c6fc9[_0x4d134b(0x140)]&&(_0x47d639['lastResponseCode']=_0x3c6fc9[_0x4d134b(0x140)][_0x4d134b(0x16c)]||null);if(!_0x3c6fc9['request'])return;let _0x518ef5='',_0x546b05='';if(_0x3c6fc9[_0x4d134b(0xf7)][_0x4d134b(0x182)])try{const _0x21a1dc=_0x3c6fc9[_0x4d134b(0xf7)][_0x4d134b(0x182)][_0x4d134b(0x13d)](),_0x34aba4=new URL(_0x21a1dc[_0x4d134b(0x141)](_0x51eaf9[_0x4d134b(0x135)])?_0x21a1dc:'http://'+_0x21a1dc);_0x518ef5=_0x34aba4['hostname'],_0x546b05=_0x51eaf9['JIdiO'](_0x34aba4[_0x4d134b(0xda)],_0x34aba4[_0x4d134b(0x106)]);}catch(_0x1cd498){_0x546b05=_0x3c6fc9['request']['url'][_0x4d134b(0x13d)]();}const _0x59bb01={};_0x59bb01[_0x4d134b(0xc4)]=_0x518ef5,_0x59bb01['path']=_0x546b05,_0x59bb01[_0x4d134b(0xeb)]=_0x3c6fc9[_0x4d134b(0xf7)]['method']||_0x51eaf9[_0x4d134b(0x15e)],_0x59bb01[_0x4d134b(0x147)]={},_0x59bb01[_0x4d134b(0xc7)]=_0x3c6fc9['response']?_0x3c6fc9[_0x4d134b(0x140)]['code']||0x0:0x0,_0x59bb01[_0x4d134b(0x172)]=_0x3c6fc9['response']?_0x3c6fc9['response'][_0x4d134b(0x175)]||0x0:0x0,_0x47d639[_0x4d134b(0x17e)]=_0x59bb01;}catch(_0x3e0081){_0x51eaf9[_0x4d134b(0x115)](debug,_0x4d134b(0x144)+_0x3e0081);}}),_0xaa33d6['on'](_0x51eaf9['YsFcC'],(_0x1cf322,_0x13a3f4)=>{const _0x3c0509=_0xb39071;try{if(!_0x13a3f4||!_0x13a3f4[_0x3c0509(0x117)])return;const _0xfe88e8=_0x44ecc4['get'](_0x13a3f4[_0x3c0509(0x117)]['id']+'_'+_0x5b8057);if(!_0xfe88e8)return;const _0x7ca861=_0x13a3f4['assertion']||_0x3c0509(0x11e)+_0x51eaf9[_0x3c0509(0xbc)](_0xfe88e8[_0x3c0509(0x125)][_0x3c0509(0x165)],0x1),_0x2edec6=_0x51eaf9[_0x3c0509(0x109)](uuidv4),_0x1afa21=_0xfe88e8[_0x3c0509(0x139)][_0x3c0509(0xaf)]([_0x7ca861])[_0x3c0509(0x155)]('\x20');_0xfe88e8['assertions'][_0x3c0509(0x122)]({'uuid':_0x2edec6,'name':_0x7ca861,'identifier':_0x1afa21,'err':_0x51eaf9[_0x3c0509(0x128)](_0x1cf322,null)});const _0x637031={};_0x637031[_0x3c0509(0x10d)]=_0x2edec6,_0x637031[_0x3c0509(0xb8)]=_0x7ca861,_0x637031[_0x3c0509(0xe4)]=_0x1afa21,_0x51eaf9[_0x3c0509(0x188)](emitTest,HookState[_0x3c0509(0x17f)],_0x637031,_0xfe88e8,_0x248dc3,{});_0x51eaf9['AasmJ'](_0xfe88e8[_0x3c0509(0x125)][_0x3c0509(0x165)],0x1)&&_0x51eaf9['gWRdi'](_0xfe88e8[_0x3c0509(0x105)]['length'],0x0)&&(_0xfe88e8['bufferedLogs'][_0x3c0509(0x14b)](_0x3a01fd=>{const _0x54c300=_0x3c0509;_0x51eaf9[_0x54c300(0x190)](emitLog,_0x2edec6,{'kind':_0x51eaf9['WgUnW'],'message':_0x3a01fd[_0x54c300(0xd5)],'level':_0x3a01fd[_0x54c300(0x162)]});}),_0xfe88e8['bufferedLogs']=[]);if(_0xfe88e8[_0x3c0509(0x17e)]){_0x51eaf9[_0x3c0509(0xab)](emitLog,_0x2edec6,{'kind':_0x51eaf9[_0x3c0509(0xed)],'http_response':_0xfe88e8[_0x3c0509(0x17e)]});const _0x17fb4c=_0x51eaf9[_0x3c0509(0x12f)](_0x51eaf9[_0x3c0509(0xf4)](_0x51eaf9['Edjvj'](_0x51eaf9[_0x3c0509(0xbc)](_0x51eaf9[_0x3c0509(0xf4)](_0x51eaf9['JIdiO'](_0x51eaf9[_0x3c0509(0x101)](_0x51eaf9['TauHq'](_0xfe88e8[_0x3c0509(0x17e)]['method']||_0x51eaf9[_0x3c0509(0x15e)],'\x20'),_0xfe88e8[_0x3c0509(0x17e)][_0x3c0509(0xc4)]),_0xfe88e8[_0x3c0509(0x17e)][_0x3c0509(0x108)]),_0x51eaf9[_0x3c0509(0x136)]),_0xfe88e8[_0x3c0509(0x17e)][_0x3c0509(0xc7)]),'\x20('),_0xfe88e8['httpLog'][_0x3c0509(0x172)]),_0x51eaf9['DTMZJ']);_0x51eaf9['FXXpY'](emitLog,_0x2edec6,{'kind':_0x51eaf9[_0x3c0509(0xa7)],'message':_0x17fb4c,'level':_0x51eaf9['HrVyT']});}_0x216168=_0x2edec6;}catch(_0x1357b2){_0x51eaf9[_0x3c0509(0xbe)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x1357b2);}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0xcf)],(_0x386a9c,_0x2cba53)=>{const _0x1d5128=_0xb39071;try{if(!_0x2cba53)return;let _0x18971d=_0x216168;if(!_0x18971d&&_0x2cba53['cursor']&&_0x2cba53['cursor'][_0x1d5128(0x11d)]){const _0x392e0c=_0x44ecc4[_0x1d5128(0x156)](_0x2cba53[_0x1d5128(0xb6)][_0x1d5128(0x11d)]+'_'+_0x5b8057);_0x392e0c&&_0x51eaf9[_0x1d5128(0x145)](_0x392e0c[_0x1d5128(0x125)][_0x1d5128(0x165)],0x0)&&(_0x18971d=_0x392e0c[_0x1d5128(0x125)][_0x51eaf9[_0x1d5128(0x18c)](_0x392e0c['assertions'][_0x1d5128(0x165)],0x1)][_0x1d5128(0x10d)]);}const _0x1aeabd=_0x2cba53[_0x1d5128(0xc3)]?_0x2cba53['messages'][_0x1d5128(0x155)](',\x20'):'';if(_0x18971d)_0x51eaf9[_0x1d5128(0x190)](emitLog,_0x18971d,{'kind':_0x51eaf9[_0x1d5128(0xa7)],'message':_0x1aeabd,'level':_0x51eaf9[_0x1d5128(0xbe)](normalizeLogLevel,_0x2cba53[_0x1d5128(0x162)])});else{if(_0x2cba53[_0x1d5128(0xb6)]&&_0x2cba53[_0x1d5128(0xb6)]['ref']){const _0x4e3825=_0x44ecc4[_0x1d5128(0x156)](_0x2cba53[_0x1d5128(0xb6)][_0x1d5128(0x11d)]+'_'+_0x5b8057);_0x4e3825&&_0x4e3825[_0x1d5128(0x105)][_0x1d5128(0x122)]({'timestamp':new Date()[_0x1d5128(0xb3)](),'level':_0x51eaf9[_0x1d5128(0xde)](normalizeLogLevel,_0x2cba53['level']),'message':_0x1aeabd});}}}catch(_0x29f72f){_0x51eaf9[_0x1d5128(0xdb)](debug,_0x1d5128(0xae)+_0x29f72f);}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0xa9)],(_0x553cf4,_0x2f783d)=>{const _0x139043=_0xb39071;try{if(!_0x553cf4&&(!_0x2f783d||!_0x2f783d['error']))return;const _0x293a58=_0x553cf4||_0x2f783d['error'],_0x26023d=_0x293a58['message']||_0x51eaf9[_0x139043(0x115)](String,_0x293a58),_0x385e3a=_0x293a58[_0x139043(0x150)]||_0x26023d;let _0x1e1291=_0x216168;if(_0x51eaf9['FYEci'](!_0x1e1291,_0x2f783d)&&_0x2f783d[_0x139043(0xb6)]&&_0x2f783d[_0x139043(0xb6)][_0x139043(0x11d)]){const _0x2432de=_0x44ecc4[_0x139043(0x156)](_0x2f783d[_0x139043(0xb6)][_0x139043(0x11d)]+'_'+_0x5b8057);_0x2432de&&_0x51eaf9[_0x139043(0x194)](_0x2432de[_0x139043(0x125)][_0x139043(0x165)],0x0)&&(_0x1e1291=_0x2432de['assertions'][_0x51eaf9[_0x139043(0xb5)](_0x2432de['assertions'][_0x139043(0x165)],0x1)]['uuid']);}_0x1e1291&&_0x51eaf9[_0x139043(0xab)](emitLog,_0x1e1291,{'kind':_0x51eaf9[_0x139043(0xa7)],'message':_0x51eaf9['AclwX'](_0x51eaf9[_0x139043(0xb0)],_0x385e3a),'level':_0x51eaf9[_0x139043(0x193)]});}catch(_0x571579){_0x51eaf9[_0x139043(0x115)](debug,_0x51eaf9[_0x139043(0x16e)](_0x51eaf9[_0x139043(0x118)],_0x571579));}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0x18d)],(_0x152134,_0x250a3c)=>{const _0x3eabb4=_0xb39071;try{if(!_0x250a3c||!_0x250a3c['execution'])return;let _0x1df549=_0x216168;if(!_0x1df549&&_0x250a3c[_0x3eabb4(0xb6)]&&_0x250a3c[_0x3eabb4(0xb6)][_0x3eabb4(0x11d)]){const _0x37d209=_0x44ecc4[_0x3eabb4(0x156)](_0x250a3c[_0x3eabb4(0xb6)][_0x3eabb4(0x11d)]+'_'+_0x5b8057);_0x37d209&&_0x51eaf9[_0x3eabb4(0x145)](_0x37d209[_0x3eabb4(0x125)][_0x3eabb4(0x165)],0x0)&&(_0x1df549=_0x37d209[_0x3eabb4(0x125)][_0x51eaf9[_0x3eabb4(0xef)](_0x37d209['assertions'][_0x3eabb4(0x165)],0x1)][_0x3eabb4(0x10d)]);}if(!_0x1df549)return;const _0x1bfec5=_0x250a3c[_0x3eabb4(0x113)]&&_0x250a3c['event'][_0x3eabb4(0x177)]||_0x51eaf9[_0x3eabb4(0x15c)];_0x152134&&_0x51eaf9[_0x3eabb4(0xc1)](emitLog,_0x1df549,{'kind':_0x51eaf9[_0x3eabb4(0xa7)],'message':_0x51eaf9[_0x3eabb4(0x10f)](_0x51eaf9['tqepS'](_0x51eaf9['HvBGr'](_0x51eaf9[_0x3eabb4(0xdd)],_0x1bfec5),_0x51eaf9[_0x3eabb4(0xec)]),_0x152134[_0x3eabb4(0xd5)]||_0x152134),'level':_0x51eaf9[_0x3eabb4(0x193)]});}catch(_0x5b3cef){_0x51eaf9[_0x3eabb4(0xde)](debug,_0x51eaf9[_0x3eabb4(0xe5)](_0x51eaf9[_0x3eabb4(0x11f)],_0x5b3cef));}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0x123)],(_0x284caf,_0x170f41)=>{const _0x3600f8=_0xb39071,_0x133850={'AbDsD':function(_0x15b2d3,_0x3fa2f7,_0x1caaf4){const _0x113ea9=a46_0x3b0c;return _0x51eaf9[_0x113ea9(0xab)](_0x15b2d3,_0x3fa2f7,_0x1caaf4);},'NXCNr':_0x51eaf9[_0x3600f8(0xa7)]};try{if(!_0x170f41||!_0x170f41[_0x3600f8(0x117)])return;const _0x16a72b=_0x170f41['item']['id']+'_'+_0x5b8057,_0x4a7748=_0x44ecc4[_0x3600f8(0x156)](_0x16a72b);if(!_0x4a7748)return;const _0x452883=new Date(),_0x3872a9=_0x51eaf9[_0x3600f8(0xb5)](_0x452883[_0x3600f8(0x187)](),_0x4a7748[_0x3600f8(0x17a)]);if(_0x51eaf9[_0x3600f8(0x152)](_0x4a7748[_0x3600f8(0x125)]['length'],0x0))_0x4a7748['assertions'][_0x3600f8(0x14b)](_0x5d8174=>{const _0x1bd29c=_0x3600f8,_0x49cd72=!!_0x5d8174[_0x1bd29c(0x127)],_0x457f8f={'finishedAt':_0x452883['toISOString'](),'durationMs':_0x3872a9,'result':_0x49cd72?_0x51eaf9[_0x1bd29c(0x12e)]:_0x51eaf9['NXMOk']};_0x49cd72&&(_0x457f8f[_0x1bd29c(0xff)]=_0x5d8174[_0x1bd29c(0x127)][_0x1bd29c(0xd5)]||'',_0x457f8f[_0x1bd29c(0x168)]=_0x51eaf9['AasmJ'](_0x5d8174[_0x1bd29c(0x127)]['name'],_0x51eaf9[_0x1bd29c(0xf1)])||_0x5d8174[_0x1bd29c(0x127)]['message']&&_0x5d8174['err'][_0x1bd29c(0xd5)][_0x1bd29c(0x148)](_0x51eaf9[_0x1bd29c(0x142)])?_0x51eaf9[_0x1bd29c(0xf1)]:_0x51eaf9[_0x1bd29c(0x14e)],_0x457f8f[_0x1bd29c(0xa8)]=[{'backtrace':_0x5d8174['err'][_0x1bd29c(0x150)]?_0x5d8174[_0x1bd29c(0x127)][_0x1bd29c(0x150)][_0x1bd29c(0x151)]('\x0a'):[_0x5d8174[_0x1bd29c(0x127)][_0x1bd29c(0xd5)]||''],'expanded':[]}]),_0x51eaf9[_0x1bd29c(0x188)](emitTest,HookState[_0x1bd29c(0xbd)],_0x5d8174,_0x4a7748,_0x248dc3,_0x457f8f);});else{const _0x456cd1=_0x51eaf9[_0x3600f8(0x109)](uuidv4),_0x2562ce=_0x4a7748['lastResponseCode'],_0x503f28=_0x51eaf9[_0x3600f8(0xb4)](_0x2562ce,null)&&_0x51eaf9[_0x3600f8(0x11c)](_0x2562ce,0xc8)&&_0x51eaf9[_0x3600f8(0xfc)](_0x2562ce,0x190),_0x382933=_0x4a7748[_0x3600f8(0xd1)]+'\x20(HTTP\x20'+_0x51eaf9[_0x3600f8(0x128)](_0x2562ce,_0x51eaf9['lMsjS'])+')',_0xe8a519={'uuid':_0x456cd1,'name':_0x382933,'identifier':_0x4a7748[_0x3600f8(0x139)][_0x3600f8(0xaf)]([_0x382933])[_0x3600f8(0x155)]('\x20')},_0x151046={'finishedAt':_0x452883[_0x3600f8(0xb3)](),'durationMs':_0x3872a9,'result':_0x503f28?_0x51eaf9[_0x3600f8(0x18e)]:_0x51eaf9[_0x3600f8(0x12e)]};!_0x503f28&&(_0x151046['failureReason']=_0x51eaf9[_0x3600f8(0xb4)](_0x2562ce,null)?_0x3600f8(0x154)+_0x2562ce+_0x3600f8(0x159):_0x51eaf9['PcRiv'],_0x151046['failureType']=_0x51eaf9['mbZUH'],_0x151046[_0x3600f8(0xa8)]=[{'backtrace':[_0x151046[_0x3600f8(0xff)]],'expanded':[]}]);_0x51eaf9['qvHNo'](emitTest,HookState['PRE'],_0xe8a519,_0x4a7748,_0x248dc3,{}),_0x4a7748[_0x3600f8(0x105)]['forEach'](_0x548c86=>{const _0x157400=_0x3600f8;_0x133850[_0x157400(0x143)](emitLog,_0x456cd1,{'kind':_0x133850[_0x157400(0x10a)],'message':_0x548c86[_0x157400(0xd5)],'level':_0x548c86[_0x157400(0x162)]});});if(_0x4a7748[_0x3600f8(0x17e)]){_0x51eaf9[_0x3600f8(0xc1)](emitLog,_0x456cd1,{'kind':_0x51eaf9[_0x3600f8(0xed)],'http_response':_0x4a7748[_0x3600f8(0x17e)]});const _0x3bb0a3=_0x51eaf9[_0x3600f8(0x15a)](_0x51eaf9[_0x3600f8(0xd6)](_0x51eaf9['tqepS'](_0x51eaf9[_0x3600f8(0xe5)](_0x51eaf9[_0x3600f8(0xd6)](_0x51eaf9['tqepS'](_0x51eaf9[_0x3600f8(0xf0)](_0x51eaf9[_0x3600f8(0xf0)](_0x4a7748[_0x3600f8(0x17e)][_0x3600f8(0xeb)]||_0x51eaf9[_0x3600f8(0x15e)],'\x20'),_0x4a7748[_0x3600f8(0x17e)][_0x3600f8(0xc4)]),_0x4a7748[_0x3600f8(0x17e)][_0x3600f8(0x108)]),_0x51eaf9['xLujX']),_0x4a7748[_0x3600f8(0x17e)][_0x3600f8(0xc7)]),'\x20('),_0x4a7748[_0x3600f8(0x17e)]['duration_ms']),_0x51eaf9['DTMZJ']);_0x51eaf9[_0x3600f8(0xab)](emitLog,_0x456cd1,{'kind':_0x51eaf9[_0x3600f8(0xa7)],'message':_0x3bb0a3,'level':_0x51eaf9[_0x3600f8(0x129)]});}else _0x51eaf9[_0x3600f8(0x100)](emitLog,_0x456cd1,{'kind':_0x51eaf9['WgUnW'],'message':_0x51eaf9[_0x3600f8(0x10f)](_0x51eaf9[_0x3600f8(0xf0)](_0x51eaf9[_0x3600f8(0x13b)],_0x51eaf9[_0x3600f8(0x128)](_0x2562ce,_0x51eaf9['lMsjS'])),_0x51eaf9[_0x3600f8(0x104)]),'level':_0x51eaf9[_0x3600f8(0x129)]});_0x51eaf9[_0x3600f8(0xc9)](emitTest,HookState[_0x3600f8(0xbd)],_0xe8a519,_0x4a7748,_0x248dc3,_0x151046);}_0x44ecc4[_0x3600f8(0xcd)](_0x16a72b),_0x170f41[_0x3600f8(0xb6)]&&_0x170f41[_0x3600f8(0xb6)][_0x3600f8(0x11d)]&&_0x44ecc4[_0x3600f8(0xcd)](_0x170f41[_0x3600f8(0xb6)]['ref']+'_'+_0x5b8057);}catch(_0xa7c350){_0x51eaf9[_0x3600f8(0x191)](debug,_0x3600f8(0x16d)+_0xa7c350);}});}module[a46_0x215d49(0x166)]=BrowserStackNewmanReporter;
|
|
1
|
+
'use strict';const a46_0x435ca2=a46_0x50cf;(function(_0x131fff,_0x24c6d5){const _0x44afdb=a46_0x50cf,_0x279aa4=_0x131fff();while(!![]){try{const _0x1fd2ca=-parseInt(_0x44afdb(0x18e))/0x1+parseInt(_0x44afdb(0x1d1))/0x2*(-parseInt(_0x44afdb(0x13b))/0x3)+-parseInt(_0x44afdb(0x140))/0x4*(parseInt(_0x44afdb(0x14c))/0x5)+-parseInt(_0x44afdb(0x19f))/0x6*(parseInt(_0x44afdb(0x17d))/0x7)+parseInt(_0x44afdb(0x1af))/0x8+parseInt(_0x44afdb(0x1be))/0x9+parseInt(_0x44afdb(0x11c))/0xa*(parseInt(_0x44afdb(0x185))/0xb);if(_0x1fd2ca===_0x24c6d5)break;else _0x279aa4['push'](_0x279aa4['shift']());}catch(_0x34af9a){_0x279aa4['push'](_0x279aa4['shift']());}}}(a46_0x54ef,0xc9c87));const path=require(a46_0x435ca2(0x16f)),{v4:uuidv4}=require(a46_0x435ca2(0x181)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require('../../../helpers/test-observability/utils'),logger=require(a46_0x435ca2(0x1c3))[a46_0x435ca2(0x182)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require(a46_0x435ca2(0x1b3)),TestFrameworkState=require(a46_0x435ca2(0x17c)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a46_0x435ca2(0x206),a46_0x435ca2(0x1e8),a46_0x435ca2(0x126),a46_0x435ca2(0x195),a46_0x435ca2(0x202)];function isCLIRunning(){const _0x20981f=a46_0x435ca2;try{return BrowserstackCLI[_0x20981f(0x143)]()[_0x20981f(0x162)]();}catch(_0x3d5d11){return![];}}function getParentTitles(_0x1cf728){const _0x3576ea=a46_0x435ca2,_0x4f0d34={'xAcJR':function(_0x2f14f9,_0x329828){return _0x2f14f9(_0x329828);}},_0x29f370=[],_0x255976=_0x1cf728['parent']();return _0x255976&&_0x29f370['push'][_0x3576ea(0x1fd)](_0x29f370,_0x4f0d34[_0x3576ea(0x197)](getParentTitles,_0x255976)),_0x1cf728[_0x3576ea(0x1a9)]&&_0x29f370[_0x3576ea(0x111)](_0x4f0d34[_0x3576ea(0x197)](String,_0x1cf728[_0x3576ea(0x1a9)])),_0x29f370;}function normalizeLogLevel(_0x3637e4){const _0x516dfa=a46_0x435ca2,_0x218e95={};_0x218e95['FcWRP']=_0x516dfa(0x206),_0x218e95[_0x516dfa(0x1f0)]=function(_0x4736a2,_0x4c429b){return _0x4736a2!==_0x4c429b;};const _0x22d00b=_0x218e95;if(!_0x3637e4)return _0x22d00b[_0x516dfa(0x207)];const _0x368f74=_0x3637e4['toUpperCase']();return _0x22d00b[_0x516dfa(0x1f0)](LOG_LEVELS['indexOf'](_0x368f74),-0x1)?_0x368f74:_0x22d00b[_0x516dfa(0x207)];}function resolveCollectionFile(_0x30ac7b,_0x2dac1c){const _0x14e489=a46_0x435ca2,_0x2d6e86={};_0x2d6e86[_0x14e489(0x144)]=function(_0x4b1eff,_0x26d302){return _0x4b1eff===_0x26d302;},_0x2d6e86[_0x14e489(0x1e2)]=_0x14e489(0x1a1),_0x2d6e86[_0x14e489(0x16b)]=_0x14e489(0x192),_0x2d6e86[_0x14e489(0x1f6)]=function(_0x28f63c,_0x360e29){return _0x28f63c!==_0x360e29;},_0x2d6e86[_0x14e489(0x1d9)]=function(_0x22f675,_0x356cce){return _0x22f675<_0x356cce;},_0x2d6e86[_0x14e489(0x178)]=function(_0x804173,_0x2a43ad){return _0x804173+_0x2a43ad;},_0x2d6e86[_0x14e489(0x112)]=function(_0x49e6e7,_0x236c03){return _0x49e6e7+_0x236c03;},_0x2d6e86[_0x14e489(0x11a)]=_0x14e489(0x1ec),_0x2d6e86[_0x14e489(0x137)]=_0x14e489(0x1cb);const _0x38bb74=_0x2d6e86;try{if(_0x2dac1c&&_0x2dac1c[_0x14e489(0x141)])return path['relative'](process[_0x14e489(0x18d)](),path[_0x14e489(0x11d)](_0x2dac1c['collectionPath']));const _0x14b701=_0x30ac7b[_0x14e489(0x152)];if(_0x38bb74['dYGMA'](typeof _0x14b701,_0x38bb74[_0x14e489(0x1e2)]))return path['relative'](process[_0x14e489(0x18d)](),path[_0x14e489(0x11d)](_0x14b701));const _0x481fc4=process[_0x14e489(0x17e)][_0x14e489(0x1e6)](_0x38bb74[_0x14e489(0x16b)]);if(_0x38bb74[_0x14e489(0x1f6)](_0x481fc4,-0x1)&&_0x38bb74[_0x14e489(0x1d9)](_0x38bb74['FIljs'](_0x481fc4,0x1),process[_0x14e489(0x17e)][_0x14e489(0x131)])){const _0x358e31=process[_0x14e489(0x17e)][_0x38bb74['PBSza'](_0x481fc4,0x1)];if(_0x358e31&&!_0x358e31[_0x14e489(0x16e)]('-'))return path[_0x14e489(0x196)](process[_0x14e489(0x18d)](),path[_0x14e489(0x11d)](_0x358e31));}}catch(_0x5eb9ea){}return logger[_0x14e489(0x18b)](_0x38bb74[_0x14e489(0x11a)]),_0x38bb74[_0x14e489(0x137)];}function resolveCollectionName(_0x4e5be6){const _0x2faf7e=a46_0x435ca2,_0x25943c={};_0x25943c[_0x2faf7e(0x15a)]=function(_0x137064,_0xf725b4){return _0x137064===_0xf725b4;},_0x25943c[_0x2faf7e(0x194)]='object';const _0x2d4e5d=_0x25943c;try{const _0x438c3c=_0x4e5be6[_0x2faf7e(0x152)];if(_0x438c3c&&_0x2d4e5d['yRFqf'](typeof _0x438c3c,_0x2d4e5d[_0x2faf7e(0x194)]))return _0x438c3c[_0x2faf7e(0x1a9)]||_0x438c3c['info']&&_0x438c3c['info'][_0x2faf7e(0x1a9)]||null;}catch(_0x1f2438){}return null;}function a46_0x54ef(){const _0x592fda=['TestRunFinished','cursor','iteration','platformIndex','bufferedLogs','http://','length','\x20->\x20','err','jBpaV','XzEMH','itemName','VOevn','avOvw','response','HawkA','21jswuHK','exception','hKUvL','wrVyV','scopes','13660LUqpDh','collectionPath','pathname','getInstance','dYGMA','PJYfV','WoKpS','PnOeI','url','dTCYb','fuTRo','javascript','1990dmIlFB','JleXS','DIWqn','N/A','grizO','vXbDh','collection','ZDdKr','yKdpf','backtrace','HTTP\x20Status:\x20','getTime','RTYvM','HrhLP','yRFqf','OyaCa','script','JAYMT','event_type','VViJw','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','kind','isRunning','max','PmxLT','passed','testFrameworkVersion','toISOString','zEldS','PVMIO','httpLog','RYbWm','failure_backtrace','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','startsWith','path','TBPOM','mhQhU','parent','qFpLz','unknown','ydQrZ','yJQCO','collectionName','FIljs','IZMsJ','fDliI','MzQZF','../../v2/state/testFrameworkState','2387onMAPy','argv','LXpPi','peMlx','uuid','winstonLogger','hJsyo','xLNcX','8063EnLaPI','TEST_LOG','trackEvent','headers','toString','OcJDX','info','delete','cwd','1252813DjyIQT','LJAHX','\x20(HTTP\x20','event','run','Zthgr','iAFlM','DEBUG','relative','xAcJR','HTTP\x20','qkvjQ','\x20—\x20response\x20status\x20in\x20failure\x20range','host','failureType','failure','result','8136kympia','VCRDl','string','muiHI','POST','DTDyy','yzbXK','uploadEventData','code','bjvgK','name','request','concat','method','NenmW','rwHBv','8760632mfjaKb','timestamp','clear','ENXes','../../v2/grpcClient','DWAyz','error','rETrI','logCreatedEvent','getTestFramework','zYUtx','location','duration_ms','):\x20','test_run_uuid','460926uWFcSm','listen','xCGLM','finishedAt','item','../../../helpers/logger','ms)','hUZKf','level','status_code','stack','dAEjx','Assertion\x20','collection.json','KajAs','identifier','execution','pid','get','221792iszAOs','testFrameworkName','RuuJR','lastResponseCode','UYAGC','cixlZ','YgnDV','startedAt','KBjLt','AssertionError','failure_reason_expanded','TestRunStarted','JFCLx','UJkxq','ttgvC','VEiyH','failureReason','BkrKU','slice','newman','hostname','indexOf','startTimestamp','WARN','pending','done','join','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','assertion','UnwTd','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','OyjOJ','ELUpN','stringify','igOfj','forEach','pZTlI','wCkNI','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','messages','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','MRtpe','hPvpG','NItVk','apply','QOrZk','http_response','eVazT','PRE','TRACE','ufKzp','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','message','INFO','FcWRP','zvnzR','llotp','push','PBSza','durationMs','set','assert','yoIEY','HTTP','ref','search','DKuFB','assertions','48170QISHjD','resolve','BKdgR','TEST','dtOQl','uHWmS','includes','rRXRS','[Newman\x20Reporter]\x20emitLog\x20error:\x20','kkosJ','ERROR','AUUZM','Script\x20error\x20(','qojNh','kdovl'];a46_0x54ef=function(){return _0x592fda;};return a46_0x54ef();}function a46_0x50cf(_0x1cda47,_0x33ac17){const _0x54ef29=a46_0x54ef();return a46_0x50cf=function(_0x50cf25,_0x2d568c){_0x50cf25=_0x50cf25-0x110;let _0x361cf=_0x54ef29[_0x50cf25];return _0x361cf;},a46_0x50cf(_0x1cda47,_0x33ac17);}function emitTest(_0x76fec7,_0x3de298,_0x5da9cf,_0x47e2b4,_0x5557be){const _0x439a23=a46_0x435ca2,_0x3a2ef0={'rRXRS':function(_0x42f67a){return _0x42f67a();},'PnOeI':_0x439a23(0x1e9),'JAYMT':function(_0x226c44,_0x10a494){return _0x226c44(_0x10a494);},'peMlx':'newman','DlchF':_0x439a23(0x14b),'VCRDl':function(_0x3f662e,_0x25df84){return _0x3f662e!=_0x25df84;},'PJYfV':function(_0x3f2fbe,_0x1ce667){return _0x3f2fbe===_0x1ce667;},'PGuNo':_0x439a23(0x1dc),'OcJDX':_0x439a23(0x12b)};if(_0x3a2ef0[_0x439a23(0x123)](isCLIRunning))try{const _0x5c700a=BrowserstackCLI[_0x439a23(0x143)]()[_0x439a23(0x1b8)]();if(!_0x5c700a)return;_0x5c700a[_0x439a23(0x187)](TestFrameworkState['TEST'],_0x76fec7,{'test':{'uuid':_0x3de298[_0x439a23(0x181)],'name':_0x3de298[_0x439a23(0x1a9)],'scopes':_0x5da9cf[_0x439a23(0x13f)],'scope':_0x5da9cf[_0x439a23(0x13f)][_0x439a23(0x1eb)]('\x20'),'file_path':_0x47e2b4,'location':_0x5da9cf[_0x439a23(0x177)],'started_at':_0x5da9cf[_0x439a23(0x1d8)],'finished_at':_0x5557be[_0x439a23(0x1c1)]||null,'result':_0x5557be[_0x439a23(0x19e)]||_0x3a2ef0[_0x439a23(0x147)],'failure':_0x5557be['failure']||[],'failure_type':_0x5557be[_0x439a23(0x19c)]||null,'failure_reason':_0x5557be[_0x439a23(0x1e1)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x52bb0f){_0x3a2ef0[_0x439a23(0x15d)](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x52bb0f);}else{const _0x5e40fa={'uuid':_0x3de298[_0x439a23(0x181)],'name':_0x3de298['name'],'framework':_0x3a2ef0[_0x439a23(0x180)],'body':{'lang':_0x3a2ef0['DlchF'],'code':null},'scope':_0x5da9cf[_0x439a23(0x13f)][_0x439a23(0x1eb)]('\x20'),'scopes':_0x5da9cf[_0x439a23(0x13f)],'identifier':_0x3de298[_0x439a23(0x1cd)],'file_name':_0x5da9cf[_0x439a23(0x177)],'vc_filepath':_0x5da9cf['location'],'location':_0x5da9cf[_0x439a23(0x1ba)],'started_at':_0x5da9cf[_0x439a23(0x1d8)],'finished_at':_0x5557be[_0x439a23(0x1c1)]||null,'duration_in_ms':_0x3a2ef0[_0x439a23(0x1a0)](_0x5557be[_0x439a23(0x113)],null)?Math[_0x439a23(0x163)](0x0,_0x5557be['durationMs']):null,'result':_0x5557be['result']||_0x3a2ef0[_0x439a23(0x147)],'failure_reason':_0x5557be[_0x439a23(0x1e1)]||null,'failure_type':_0x5557be[_0x439a23(0x19c)]||null,'failure':_0x5557be[_0x439a23(0x19d)]||[],'retry_of':null,'hooks':[]};_0x5e40fa['failure'][0x0]&&(_0x5e40fa[_0x439a23(0x16c)]=_0x5e40fa['failure'][0x0][_0x439a23(0x155)],_0x5e40fa[_0x439a23(0x1db)]=_0x5e40fa[_0x439a23(0x19d)][0x0]['expanded']);const _0x37ca8f=_0x3a2ef0[_0x439a23(0x145)](_0x76fec7,HookState[_0x439a23(0x201)])?_0x3a2ef0['PGuNo']:_0x3a2ef0[_0x439a23(0x18a)],_0xaefd63={};_0xaefd63[_0x439a23(0x15e)]=_0x37ca8f,_0xaefd63['test_run']=_0x5e40fa,SessionHandler[_0x439a23(0x1a6)](_0xaefd63);}}function emitLog(_0x3b1dba,_0x256d0a){const _0x216c16=a46_0x435ca2,_0xa47825={'rETrI':_0x216c16(0x186),'bjvgK':function(_0x1209dd){return _0x1209dd();},'eUDzU':function(_0x2df8d5,_0x2f5445){return _0x2df8d5===_0x2f5445;},'wIcyv':_0x216c16(0x117),'VEiyH':_0x216c16(0x1e4),'SUDIC':_0x216c16(0x11f),'zvnzR':'INFO','MzQZF':function(_0x2c83f3,_0x41c888){return _0x2c83f3(_0x41c888);},'eyYoq':function(_0x349f02,_0x9bd48c){return _0x349f02+_0x9bd48c;},'ELUpN':_0x216c16(0x124),'tbiqM':'LogCreated'},_0x32b6a0=_0x256d0a[_0x216c16(0x161)]||_0xa47825[_0x216c16(0x1b6)],_0x3c93a4=_0x256d0a[_0x216c16(0x1b0)]||new Date()[_0x216c16(0x167)]();if(_0xa47825[_0x216c16(0x1a8)](isCLIRunning))try{const _0x2656a9=_0xa47825['eUDzU'](_0x32b6a0,_0xa47825['wIcyv'])?JSON[_0x216c16(0x1f2)](_0x256d0a):_0x256d0a[_0x216c16(0x205)]||'',_0x983d12={};_0x983d12[_0x216c16(0x12e)]=0x0,_0x983d12[_0x216c16(0x1d2)]=_0xa47825[_0x216c16(0x1e0)],_0x983d12[_0x216c16(0x166)]='',_0x983d12['testFrameworkState']=_0xa47825['SUDIC'],_0x983d12['logs']=[{'uuid':_0x3b1dba,'timestamp':_0x3c93a4,'kind':_0x32b6a0,'level':_0x256d0a[_0x216c16(0x1c6)]||_0xa47825[_0x216c16(0x208)],'message':_0x2656a9}],GrpcClient['getInstance']()[_0x216c16(0x1b7)](_0x983d12);}catch(_0x3617fc){_0xa47825[_0x216c16(0x17b)](debug,_0xa47825['eyYoq'](_0xa47825[_0x216c16(0x1f1)],_0x3617fc));}else{const _0x16f293={};_0x16f293[_0x216c16(0x1bd)]=_0x3b1dba,_0x16f293['timestamp']=_0x3c93a4,_0x16f293[_0x216c16(0x1c6)]=_0x256d0a['level']||null,_0x16f293[_0x216c16(0x205)]=_0x256d0a[_0x216c16(0x205)]||null,_0x16f293['kind']=_0x32b6a0,_0x16f293[_0x216c16(0x1ff)]=_0x256d0a['http_response']||{};const _0x75376={};_0x75376['event_type']=_0xa47825['tbiqM'],_0x75376['logs']=[_0x16f293],SessionHandler[_0x216c16(0x1a6)](_0x75376);}}function BrowserStackNewmanReporter(_0x5579a5,_0x19aece,_0xde9f36){const _0xff4567=a46_0x435ca2,_0x232d61={'PmxLT':function(_0x324ea4,_0x18c2bb,_0x6d46aa){return _0x324ea4(_0x18c2bb,_0x6d46aa);},'hPvpG':function(_0x21a00f,_0x2bda8b){return _0x21a00f(_0x2bda8b);},'nJtBT':function(_0x36e99d,_0x6d20ab){return _0x36e99d(_0x6d20ab);},'NenmW':function(_0x453031,_0x1de7ab){return _0x453031>_0x1de7ab;},'WoKpS':function(_0x242cdf,_0x3fed97){return _0x242cdf(_0x3fed97);},'CRcsM':'http','qkvjQ':function(_0x517f3d,_0x40f89c){return _0x517f3d+_0x40f89c;},'hUZKf':'GET','PVMIO':function(_0xbea650,_0x50172c){return _0xbea650(_0x50172c);},'YAHGs':function(_0x3fe53f,_0x3d4630,_0x400444){return _0x3fe53f(_0x3d4630,_0x400444);},'qojNh':_0xff4567(0x186),'HrhLP':function(_0x5b5b3f,_0x4e51ba){return _0x5b5b3f+_0x4e51ba;},'aVggw':function(_0x434693){return _0x434693();},'LXpPi':function(_0x1b436d,_0x4d94a9){return _0x1b436d||_0x4d94a9;},'hJsyo':function(_0x450faa,_0x573e3a,_0x5e0be3,_0x5051f7,_0x21237d,_0x1d00bf){return _0x450faa(_0x573e3a,_0x5e0be3,_0x5051f7,_0x21237d,_0x1d00bf);},'DIWqn':function(_0xd595d2,_0x592bde){return _0xd595d2===_0x592bde;},'rwHBv':function(_0x27d1d6,_0x3dc370){return _0x27d1d6>_0x3dc370;},'TBPOM':function(_0xe7aaca,_0x3bc98c,_0x46f376){return _0xe7aaca(_0x3bc98c,_0x46f376);},'bgZXg':_0xff4567(0x117),'zEldS':function(_0x5945b0,_0x4695c0){return _0x5945b0+_0x4695c0;},'ufKzp':function(_0x1c9fe1,_0x45e1d2){return _0x1c9fe1+_0x45e1d2;},'TnLFY':function(_0x367b5c,_0x116bc0){return _0x367b5c+_0x116bc0;},'JleXS':function(_0x27dc81,_0x44dde0){return _0x27dc81+_0x44dde0;},'LJAHX':_0xff4567(0x132),'QVoRQ':_0xff4567(0x1c4),'fDliI':function(_0x28759f,_0x580c92,_0x4a4fe2){return _0x28759f(_0x580c92,_0x4a4fe2);},'yzbXK':_0xff4567(0x206),'dAEjx':function(_0x1b0fde,_0x3877fa){return _0x1b0fde(_0x3877fa);},'NItVk':function(_0x366bed,_0x195213){return _0x366bed>_0x195213;},'RTYvM':function(_0x5f8f2c,_0x51e7fd){return _0x5f8f2c-_0x51e7fd;},'AUUZM':function(_0x2fb1ac,_0x1258e2,_0x1eff85){return _0x2fb1ac(_0x1258e2,_0x1eff85);},'dtOQl':function(_0x159c11,_0x4043a4){return _0x159c11(_0x4043a4);},'llotp':function(_0x55d2d7,_0x573463){return _0x55d2d7(_0x573463);},'pZTlI':function(_0x11b8c0,_0x28cdb7){return _0x11b8c0(_0x28cdb7);},'DWAyz':function(_0x3b2780,_0x1774b1){return _0x3b2780&&_0x1774b1;},'muiHI':function(_0x28eee3,_0x5e4d73){return _0x28eee3>_0x5e4d73;},'VViJw':function(_0x558845,_0x1441ee){return _0x558845-_0x1441ee;},'EJYGX':function(_0x512762,_0x3f0c45,_0x5be116){return _0x512762(_0x3f0c45,_0x5be116);},'grizO':'Exception:\x20','UJkxq':'ERROR','kdovl':_0xff4567(0x1f9),'eVazT':function(_0xb7ee1f,_0x5df45e){return _0xb7ee1f>_0x5df45e;},'OyaCa':_0xff4567(0x174),'Zthgr':function(_0x724d70,_0x51a94b){return _0x724d70+_0x51a94b;},'HyvbJ':function(_0xd2cab,_0x4dd24a){return _0xd2cab+_0x4dd24a;},'IZMsJ':_0xff4567(0x128),'YgnDV':_0xff4567(0x1bc),'XzEMH':_0xff4567(0x1ef),'zYUtx':'failed','KajAs':_0xff4567(0x165),'yKdpf':_0xff4567(0x1da),'DTDyy':_0xff4567(0x115),'hKUvL':'UnhandledError','igOfj':function(_0x2ad1da,_0x10c9fa,_0x10b403){return _0x2ad1da(_0x10c9fa,_0x10b403);},'RuuJR':function(_0x301b14,_0x544005){return _0x301b14-_0x544005;},'yoIEY':function(_0x12c64d,_0x82211b){return _0x12c64d>_0x82211b;},'jBpaV':function(_0x5c9b14,_0x217730){return _0x5c9b14!=_0x217730;},'qFpLz':function(_0x34c9f0,_0x869e31){return _0x34c9f0>=_0x869e31;},'wrVyV':function(_0x47353f,_0x528f58){return _0x47353f<_0x528f58;},'uHWmS':_0xff4567(0x14f),'ydQrZ':'No\x20HTTP\x20response\x20received','avOvw':function(_0x522cdd,_0x2e3bdf,_0x14f54c,_0xdfceae,_0x4fc91c,_0x46ba03){return _0x522cdd(_0x2e3bdf,_0x14f54c,_0xdfceae,_0x4fc91c,_0x46ba03);},'PWwqA':function(_0x1b5d3f,_0xbf8651,_0x3f55d9){return _0x1b5d3f(_0xbf8651,_0x3f55d9);},'HawkA':function(_0x29380b,_0x1e3b8d){return _0x29380b+_0x1e3b8d;},'cixlZ':function(_0x426924,_0x43c67c){return _0x426924+_0x43c67c;},'mhQhU':function(_0x2507a9,_0x5b9447){return _0x2507a9+_0x5b9447;},'dTCYb':function(_0x98b280,_0x5d9b49){return _0x98b280+_0x5d9b49;},'yJQCO':function(_0x69d9d7,_0x46c145){return _0x69d9d7+_0x46c145;},'fuTRo':function(_0x138f45,_0x35a95e,_0x113c7e){return _0x138f45(_0x35a95e,_0x113c7e);},'MRtpe':function(_0x569223,_0x5cc43e){return _0x569223+_0x5cc43e;},'xLNcX':_0xff4567(0x156),'xCGLM':'\x20(no\x20assertions)','kkosJ':function(_0x3fdc54,_0x248714,_0x24e12f,_0x46a349,_0x4d8ee3,_0x51f94f){return _0x3fdc54(_0x248714,_0x24e12f,_0x46a349,_0x4d8ee3,_0x51f94f);},'ttgvC':function(_0x47745a,_0x275378){return _0x47745a(_0x275378);},'QOrZk':_0xff4567(0x1ea),'ENXes':'beforeIteration','UYAGC':'beforeItem','BKdgR':_0xff4567(0x1aa),'vXbDh':_0xff4567(0x1ed),'eiDfk':'console','ajbpn':_0xff4567(0x13c),'ZDdKr':_0xff4567(0x15c),'UnwTd':_0xff4567(0x1c2)},_0x52a867=new Map();let _0x45afe4=null,_0x5cfb6d=0x0;const _0x2b30a2=_0x232d61[_0xff4567(0x1f3)](resolveCollectionFile,_0xde9f36,_0x19aece),_0x28c136=_0x232d61[_0xff4567(0x1df)](resolveCollectionName,_0xde9f36)||_0x2b30a2,_0xf8743a=path['resolve'](_0x2b30a2),_0x1d4996='bs:addLog:'+process[_0xff4567(0x1cf)],_0xc9c9=_0x15fe1b=>{const _0x31c53f=_0xff4567;try{_0x45afe4&&_0x232d61['PmxLT'](emitLog,_0x45afe4,_0x15fe1b);}catch(_0x3c586d){_0x232d61[_0x31c53f(0x1fb)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x3c586d);}};process['on'](_0x1d4996,_0xc9c9),_0x5579a5['on'](_0x232d61[_0xff4567(0x1fe)],()=>{const _0x4d8555=_0xff4567;process['removeListener'](_0x1d4996,_0xc9c9),_0x52a867[_0x4d8555(0x1b1)]();}),_0x5579a5['on'](_0x232d61[_0xff4567(0x1b2)],(_0x427289,_0x52145e)=>{const _0x5454ed=_0xff4567;_0x52145e&&_0x52145e['cursor']&&(_0x5cfb6d=_0x52145e['cursor'][_0x5454ed(0x12d)]||0x0);}),_0x5579a5['on'](_0x232d61[_0xff4567(0x1d5)],(_0x1223ff,_0x33e99b)=>{const _0x432c5f=_0xff4567;try{_0x45afe4=null;const _0x5496e5=_0x33e99b[_0x432c5f(0x1c2)],_0x1ae8f7=_0x5496e5['parent']()?_0x232d61['nJtBT'](getParentTitles,_0x5496e5[_0x432c5f(0x172)]()):[],_0x333846=_0x232d61[_0x432c5f(0x1ad)](_0x1ae8f7['length'],0x1)?_0x1ae8f7[_0x432c5f(0x1e3)](0x1):_0x1ae8f7,_0x22b66f=_0x33e99b[_0x432c5f(0x12c)]&&_0x33e99b[_0x432c5f(0x12c)][_0x432c5f(0x118)],_0x26e92a={'itemName':_0x5496e5[_0x432c5f(0x1a9)],'scopes':_0x333846[_0x432c5f(0x1ab)]([_0x5496e5[_0x432c5f(0x1a9)]]),'location':_0x2b30a2,'collectionName':_0x28c136,'startedAt':new Date()['toISOString'](),'startTimestamp':Date['now'](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x52a867[_0x432c5f(0x114)](_0x5496e5['id']+'_'+_0x5cfb6d,_0x26e92a),_0x22b66f&&_0x52a867[_0x432c5f(0x114)](_0x22b66f+'_'+_0x5cfb6d,_0x26e92a);}catch(_0x441851){_0x232d61[_0x432c5f(0x146)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x441851);}}),_0x5579a5['on'](_0x232d61[_0xff4567(0x11e)],(_0x54c29f,_0x156c65)=>{const _0x29f9f5=_0xff4567;try{if(!_0x156c65||!_0x156c65['item'])return;const _0x528805=_0x52a867[_0x29f9f5(0x1d0)](_0x156c65[_0x29f9f5(0x1c2)]['id']+'_'+_0x5cfb6d);if(!_0x528805)return;_0x156c65[_0x29f9f5(0x139)]&&(_0x528805[_0x29f9f5(0x1d4)]=_0x156c65[_0x29f9f5(0x139)][_0x29f9f5(0x1a7)]||null);if(!_0x156c65[_0x29f9f5(0x1aa)])return;let _0x46d8e3='',_0x3c07e4='';if(_0x156c65[_0x29f9f5(0x1aa)][_0x29f9f5(0x148)])try{const _0xd16006=_0x156c65[_0x29f9f5(0x1aa)][_0x29f9f5(0x148)][_0x29f9f5(0x189)](),_0x43499e=new URL(_0xd16006['startsWith'](_0x232d61['CRcsM'])?_0xd16006:_0x29f9f5(0x130)+_0xd16006);_0x46d8e3=_0x43499e[_0x29f9f5(0x1e5)],_0x3c07e4=_0x232d61[_0x29f9f5(0x199)](_0x43499e[_0x29f9f5(0x142)],_0x43499e[_0x29f9f5(0x119)]);}catch(_0x3e0a34){_0x3c07e4=_0x156c65[_0x29f9f5(0x1aa)][_0x29f9f5(0x148)][_0x29f9f5(0x189)]();}const _0x2388b8={};_0x2388b8[_0x29f9f5(0x19b)]=_0x46d8e3,_0x2388b8[_0x29f9f5(0x16f)]=_0x3c07e4,_0x2388b8['method']=_0x156c65[_0x29f9f5(0x1aa)][_0x29f9f5(0x1ac)]||_0x232d61['hUZKf'],_0x2388b8[_0x29f9f5(0x188)]={},_0x2388b8[_0x29f9f5(0x1c7)]=_0x156c65[_0x29f9f5(0x139)]?_0x156c65[_0x29f9f5(0x139)][_0x29f9f5(0x1a7)]||0x0:0x0,_0x2388b8[_0x29f9f5(0x1bb)]=_0x156c65[_0x29f9f5(0x139)]?_0x156c65[_0x29f9f5(0x139)]['responseTime']||0x0:0x0,_0x528805[_0x29f9f5(0x16a)]=_0x2388b8;}catch(_0x52a8da){_0x232d61[_0x29f9f5(0x169)](debug,_0x29f9f5(0x160)+_0x52a8da);}}),_0x5579a5['on'](_0x232d61[_0xff4567(0x151)],(_0x423699,_0x30eeed)=>{const _0x5648b9=_0xff4567,_0x2edc4c={'JFCLx':function(_0x5a600c,_0x2b63e6,_0x163521){return _0x232d61['YAHGs'](_0x5a600c,_0x2b63e6,_0x163521);},'slwwt':_0x232d61[_0x5648b9(0x129)]};try{if(!_0x30eeed||!_0x30eeed[_0x5648b9(0x1c2)])return;const _0x3b4892=_0x52a867[_0x5648b9(0x1d0)](_0x30eeed[_0x5648b9(0x1c2)]['id']+'_'+_0x5cfb6d);if(!_0x3b4892)return;const _0x194d18=_0x30eeed['assertion']||_0x5648b9(0x1ca)+_0x232d61['HrhLP'](_0x3b4892[_0x5648b9(0x11b)][_0x5648b9(0x131)],0x1),_0x33f7e7=_0x232d61['aVggw'](uuidv4),_0x1390b7=_0x3b4892[_0x5648b9(0x13f)][_0x5648b9(0x1ab)]([_0x194d18])['join']('\x20');_0x3b4892[_0x5648b9(0x11b)][_0x5648b9(0x111)]({'uuid':_0x33f7e7,'name':_0x194d18,'identifier':_0x1390b7,'err':_0x232d61[_0x5648b9(0x17f)](_0x423699,null)});const _0x4ebc72={};_0x4ebc72[_0x5648b9(0x181)]=_0x33f7e7,_0x4ebc72[_0x5648b9(0x1a9)]=_0x194d18,_0x4ebc72[_0x5648b9(0x1cd)]=_0x1390b7,_0x232d61[_0x5648b9(0x183)](emitTest,HookState['PRE'],_0x4ebc72,_0x3b4892,_0xf8743a,{});_0x232d61[_0x5648b9(0x14e)](_0x3b4892[_0x5648b9(0x11b)]['length'],0x1)&&_0x232d61[_0x5648b9(0x1ae)](_0x3b4892[_0x5648b9(0x12f)][_0x5648b9(0x131)],0x0)&&(_0x3b4892[_0x5648b9(0x12f)][_0x5648b9(0x1f4)](_0x25fc15=>{const _0x170140=_0x5648b9;_0x2edc4c[_0x170140(0x1dd)](emitLog,_0x33f7e7,{'kind':_0x2edc4c['slwwt'],'message':_0x25fc15[_0x170140(0x205)],'level':_0x25fc15[_0x170140(0x1c6)]});}),_0x3b4892[_0x5648b9(0x12f)]=[]);if(_0x3b4892[_0x5648b9(0x16a)]){_0x232d61[_0x5648b9(0x170)](emitLog,_0x33f7e7,{'kind':_0x232d61['bgZXg'],'http_response':_0x3b4892[_0x5648b9(0x16a)]});const _0x2f1680=_0x232d61[_0x5648b9(0x199)](_0x232d61['zEldS'](_0x232d61[_0x5648b9(0x159)](_0x232d61[_0x5648b9(0x203)](_0x232d61[_0x5648b9(0x203)](_0x232d61['TnLFY'](_0x232d61[_0x5648b9(0x14d)](_0x232d61['HrhLP'](_0x3b4892[_0x5648b9(0x16a)][_0x5648b9(0x1ac)]||_0x232d61[_0x5648b9(0x1c5)],'\x20'),_0x3b4892[_0x5648b9(0x16a)][_0x5648b9(0x19b)]),_0x3b4892[_0x5648b9(0x16a)][_0x5648b9(0x16f)]),_0x232d61['LJAHX']),_0x3b4892[_0x5648b9(0x16a)][_0x5648b9(0x1c7)]),'\x20('),_0x3b4892[_0x5648b9(0x16a)][_0x5648b9(0x1bb)]),_0x232d61['QVoRQ']);_0x232d61[_0x5648b9(0x17a)](emitLog,_0x33f7e7,{'kind':_0x232d61[_0x5648b9(0x129)],'message':_0x2f1680,'level':_0x232d61['yzbXK']});}_0x45afe4=_0x33f7e7;}catch(_0x4e3e26){_0x232d61[_0x5648b9(0x1c9)](debug,_0x5648b9(0x16d)+_0x4e3e26);}}),_0x5579a5['on'](_0x232d61['eiDfk'],(_0x103cf2,_0x2cc61b)=>{const _0x1967b0=_0xff4567;try{if(!_0x2cc61b)return;let _0x1a7af5=_0x45afe4;if(!_0x1a7af5&&_0x2cc61b[_0x1967b0(0x12c)]&&_0x2cc61b[_0x1967b0(0x12c)]['ref']){const _0x3a8324=_0x52a867[_0x1967b0(0x1d0)](_0x2cc61b[_0x1967b0(0x12c)][_0x1967b0(0x118)]+'_'+_0x5cfb6d);_0x3a8324&&_0x232d61[_0x1967b0(0x1fc)](_0x3a8324[_0x1967b0(0x11b)][_0x1967b0(0x131)],0x0)&&(_0x1a7af5=_0x3a8324['assertions'][_0x232d61[_0x1967b0(0x158)](_0x3a8324[_0x1967b0(0x11b)]['length'],0x1)][_0x1967b0(0x181)]);}const _0xe62d33=_0x2cc61b[_0x1967b0(0x1f8)]?_0x2cc61b['messages'][_0x1967b0(0x1eb)](',\x20'):'';if(_0x1a7af5)_0x232d61[_0x1967b0(0x127)](emitLog,_0x1a7af5,{'kind':_0x232d61['qojNh'],'message':_0xe62d33,'level':_0x232d61[_0x1967b0(0x120)](normalizeLogLevel,_0x2cc61b[_0x1967b0(0x1c6)])});else{if(_0x2cc61b['cursor']&&_0x2cc61b[_0x1967b0(0x12c)][_0x1967b0(0x118)]){const _0x265458=_0x52a867['get'](_0x2cc61b[_0x1967b0(0x12c)][_0x1967b0(0x118)]+'_'+_0x5cfb6d);_0x265458&&_0x265458[_0x1967b0(0x12f)]['push']({'timestamp':new Date()[_0x1967b0(0x167)](),'level':_0x232d61[_0x1967b0(0x110)](normalizeLogLevel,_0x2cc61b[_0x1967b0(0x1c6)]),'message':_0xe62d33});}}}catch(_0x418164){_0x232d61['pZTlI'](debug,_0x1967b0(0x1f7)+_0x418164);}}),_0x5579a5['on'](_0x232d61['ajbpn'],(_0x3048c9,_0xb9efcb)=>{const _0x1b745c=_0xff4567;try{if(!_0x3048c9&&(!_0xb9efcb||!_0xb9efcb[_0x1b745c(0x1b5)]))return;const _0x1e567a=_0x3048c9||_0xb9efcb[_0x1b745c(0x1b5)],_0x1a9524=_0x1e567a[_0x1b745c(0x205)]||_0x232d61[_0x1b745c(0x1fb)](String,_0x1e567a),_0x5caa9d=_0x1e567a[_0x1b745c(0x1c8)]||_0x1a9524;let _0xe3f56d=_0x45afe4;if(_0x232d61[_0x1b745c(0x1b4)](!_0xe3f56d,_0xb9efcb)&&_0xb9efcb[_0x1b745c(0x12c)]&&_0xb9efcb['cursor']['ref']){const _0x4bb318=_0x52a867[_0x1b745c(0x1d0)](_0xb9efcb[_0x1b745c(0x12c)][_0x1b745c(0x118)]+'_'+_0x5cfb6d);_0x4bb318&&_0x232d61[_0x1b745c(0x1a2)](_0x4bb318[_0x1b745c(0x11b)][_0x1b745c(0x131)],0x0)&&(_0xe3f56d=_0x4bb318[_0x1b745c(0x11b)][_0x232d61[_0x1b745c(0x15f)](_0x4bb318[_0x1b745c(0x11b)]['length'],0x1)][_0x1b745c(0x181)]);}_0xe3f56d&&_0x232d61['EJYGX'](emitLog,_0xe3f56d,{'kind':_0x232d61[_0x1b745c(0x129)],'message':_0x232d61[_0x1b745c(0x168)](_0x232d61[_0x1b745c(0x150)],_0x5caa9d),'level':_0x232d61[_0x1b745c(0x1de)]});}catch(_0x431c8e){_0x232d61[_0x1b745c(0x1f5)](debug,_0x232d61[_0x1b745c(0x14d)](_0x232d61[_0x1b745c(0x12a)],_0x431c8e));}}),_0x5579a5['on'](_0x232d61[_0xff4567(0x153)],(_0x5a3c20,_0x49f557)=>{const _0x4d5155=_0xff4567;try{if(!_0x49f557||!_0x49f557[_0x4d5155(0x1ce)])return;let _0x52d7e6=_0x45afe4;if(!_0x52d7e6&&_0x49f557[_0x4d5155(0x12c)]&&_0x49f557[_0x4d5155(0x12c)][_0x4d5155(0x118)]){const _0x2b7c6f=_0x52a867[_0x4d5155(0x1d0)](_0x49f557[_0x4d5155(0x12c)][_0x4d5155(0x118)]+'_'+_0x5cfb6d);_0x2b7c6f&&_0x232d61[_0x4d5155(0x200)](_0x2b7c6f['assertions'][_0x4d5155(0x131)],0x0)&&(_0x52d7e6=_0x2b7c6f[_0x4d5155(0x11b)][_0x232d61[_0x4d5155(0x15f)](_0x2b7c6f['assertions'][_0x4d5155(0x131)],0x1)][_0x4d5155(0x181)]);}if(!_0x52d7e6)return;const _0x406d13=_0x49f557[_0x4d5155(0x191)]&&_0x49f557[_0x4d5155(0x191)][_0x4d5155(0x1bf)]||_0x232d61[_0x4d5155(0x15b)];_0x5a3c20&&_0x232d61[_0x4d5155(0x164)](emitLog,_0x52d7e6,{'kind':_0x232d61['qojNh'],'message':_0x232d61[_0x4d5155(0x199)](_0x232d61[_0x4d5155(0x193)](_0x232d61['HyvbJ'](_0x232d61[_0x4d5155(0x179)],_0x406d13),_0x232d61[_0x4d5155(0x1d7)]),_0x5a3c20[_0x4d5155(0x205)]||_0x5a3c20),'level':_0x232d61['UJkxq']});}catch(_0x3f4181){_0x232d61[_0x4d5155(0x120)](debug,_0x232d61['qkvjQ'](_0x232d61[_0x4d5155(0x135)],_0x3f4181));}}),_0x5579a5['on'](_0x232d61[_0xff4567(0x1ee)],(_0x5cced4,_0x541c04)=>{const _0x254ece=_0xff4567;try{if(!_0x541c04||!_0x541c04['item'])return;const _0x45f029=_0x541c04[_0x254ece(0x1c2)]['id']+'_'+_0x5cfb6d,_0x33fea9=_0x52a867[_0x254ece(0x1d0)](_0x45f029);if(!_0x33fea9)return;const _0x20092c=new Date(),_0x43a7d8=_0x232d61[_0x254ece(0x1d3)](_0x20092c[_0x254ece(0x157)](),_0x33fea9[_0x254ece(0x1e7)]);if(_0x232d61[_0x254ece(0x116)](_0x33fea9[_0x254ece(0x11b)][_0x254ece(0x131)],0x0))_0x33fea9[_0x254ece(0x11b)][_0x254ece(0x1f4)](_0x199228=>{const _0x2ae84b=_0x254ece,_0x4a0dbf=!!_0x199228[_0x2ae84b(0x133)],_0x2d7d65={'finishedAt':_0x20092c['toISOString'](),'durationMs':_0x43a7d8,'result':_0x4a0dbf?_0x232d61[_0x2ae84b(0x1b9)]:_0x232d61['KajAs']};_0x4a0dbf&&(_0x2d7d65['failureReason']=_0x199228[_0x2ae84b(0x133)]['message']||'',_0x2d7d65['failureType']=_0x232d61[_0x2ae84b(0x14e)](_0x199228['err'][_0x2ae84b(0x1a9)],_0x232d61[_0x2ae84b(0x154)])||_0x199228[_0x2ae84b(0x133)][_0x2ae84b(0x205)]&&_0x199228[_0x2ae84b(0x133)]['message'][_0x2ae84b(0x122)](_0x232d61[_0x2ae84b(0x1a4)])?_0x232d61[_0x2ae84b(0x154)]:_0x232d61[_0x2ae84b(0x13d)],_0x2d7d65[_0x2ae84b(0x19d)]=[{'backtrace':_0x199228[_0x2ae84b(0x133)][_0x2ae84b(0x1c8)]?_0x199228[_0x2ae84b(0x133)]['stack']['split']('\x0a'):[_0x199228[_0x2ae84b(0x133)]['message']||''],'expanded':[]}]),_0x232d61[_0x2ae84b(0x183)](emitTest,HookState[_0x2ae84b(0x1a3)],_0x199228,_0x33fea9,_0xf8743a,_0x2d7d65);});else{const _0x5dfb3d=_0x232d61['aVggw'](uuidv4),_0x78fe03=_0x33fea9['lastResponseCode'],_0x4583a7=_0x232d61[_0x254ece(0x134)](_0x78fe03,null)&&_0x232d61[_0x254ece(0x173)](_0x78fe03,0xc8)&&_0x232d61[_0x254ece(0x13e)](_0x78fe03,0x190),_0x3dd461=_0x33fea9[_0x254ece(0x136)]+_0x254ece(0x190)+_0x232d61['LXpPi'](_0x78fe03,_0x232d61[_0x254ece(0x121)])+')',_0x271a14={'uuid':_0x5dfb3d,'name':_0x3dd461,'identifier':_0x33fea9[_0x254ece(0x13f)]['concat']([_0x3dd461])[_0x254ece(0x1eb)]('\x20')},_0x28a8f3={'finishedAt':_0x20092c['toISOString'](),'durationMs':_0x43a7d8,'result':_0x4583a7?_0x232d61[_0x254ece(0x1cc)]:_0x232d61[_0x254ece(0x1b9)]};!_0x4583a7&&(_0x28a8f3['failureReason']=_0x232d61['jBpaV'](_0x78fe03,null)?_0x254ece(0x198)+_0x78fe03+_0x254ece(0x19a):_0x232d61[_0x254ece(0x175)],_0x28a8f3[_0x254ece(0x19c)]=_0x232d61[_0x254ece(0x13d)],_0x28a8f3['failure']=[{'backtrace':[_0x28a8f3[_0x254ece(0x1e1)]],'expanded':[]}]);_0x232d61[_0x254ece(0x138)](emitTest,HookState[_0x254ece(0x201)],_0x271a14,_0x33fea9,_0xf8743a,{}),_0x33fea9[_0x254ece(0x12f)][_0x254ece(0x1f4)](_0xadbd6c=>{const _0x2a6994=_0x254ece;_0x232d61['igOfj'](emitLog,_0x5dfb3d,{'kind':_0x232d61['qojNh'],'message':_0xadbd6c[_0x2a6994(0x205)],'level':_0xadbd6c['level']});});if(_0x33fea9[_0x254ece(0x16a)]){_0x232d61['PWwqA'](emitLog,_0x5dfb3d,{'kind':_0x232d61['bgZXg'],'http_response':_0x33fea9[_0x254ece(0x16a)]});const _0x3217ff=_0x232d61[_0x254ece(0x13a)](_0x232d61[_0x254ece(0x1d6)](_0x232d61[_0x254ece(0x171)](_0x232d61['qkvjQ'](_0x232d61[_0x254ece(0x149)](_0x232d61[_0x254ece(0x193)](_0x232d61[_0x254ece(0x199)](_0x232d61[_0x254ece(0x176)](_0x33fea9[_0x254ece(0x16a)][_0x254ece(0x1ac)]||_0x232d61[_0x254ece(0x1c5)],'\x20'),_0x33fea9[_0x254ece(0x16a)][_0x254ece(0x19b)]),_0x33fea9[_0x254ece(0x16a)]['path']),_0x232d61[_0x254ece(0x18f)]),_0x33fea9[_0x254ece(0x16a)][_0x254ece(0x1c7)]),'\x20('),_0x33fea9[_0x254ece(0x16a)][_0x254ece(0x1bb)]),_0x232d61['QVoRQ']);_0x232d61[_0x254ece(0x14a)](emitLog,_0x5dfb3d,{'kind':_0x232d61[_0x254ece(0x129)],'message':_0x3217ff,'level':_0x232d61['yzbXK']});}else _0x232d61['PWwqA'](emitLog,_0x5dfb3d,{'kind':_0x232d61[_0x254ece(0x129)],'message':_0x232d61[_0x254ece(0x1d6)](_0x232d61[_0x254ece(0x1fa)](_0x232d61[_0x254ece(0x184)],_0x232d61[_0x254ece(0x17f)](_0x78fe03,_0x232d61[_0x254ece(0x121)])),_0x232d61[_0x254ece(0x1c0)]),'level':_0x232d61[_0x254ece(0x1a5)]});_0x232d61[_0x254ece(0x125)](emitTest,HookState['POST'],_0x271a14,_0x33fea9,_0xf8743a,_0x28a8f3);}_0x52a867[_0x254ece(0x18c)](_0x45f029),_0x541c04[_0x254ece(0x12c)]&&_0x541c04['cursor'][_0x254ece(0x118)]&&_0x52a867['delete'](_0x541c04[_0x254ece(0x12c)][_0x254ece(0x118)]+'_'+_0x5cfb6d);}catch(_0x1a0c89){_0x232d61[_0x254ece(0x1fb)](debug,_0x254ece(0x204)+_0x1a0c89);}});}module['exports']=BrowserStackNewmanReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a47_0xed7fbd=a47_0x43e6;(function(_0x50c892,_0x5eb2d5){const _0x4c4d7d=a47_0x43e6,_0x16e7d3=_0x50c892();while(!![]){try{const _0xbaea13=-parseInt(_0x4c4d7d(0x186))/0x1+-parseInt(_0x4c4d7d(0x1b6))/0x2+-parseInt(_0x4c4d7d(0x17c))/0x3*(-parseInt(_0x4c4d7d(0x1a4))/0x4)+-parseInt(_0x4c4d7d(0x1a7))/0x5+-parseInt(_0x4c4d7d(0x19f))/0x6*(-parseInt(_0x4c4d7d(0x183))/0x7)+parseInt(_0x4c4d7d(0x18d))/0x8*(-parseInt(_0x4c4d7d(0x18c))/0x9)+parseInt(_0x4c4d7d(0x1b1))/0xa;if(_0xbaea13===_0x5eb2d5)break;else _0x16e7d3['push'](_0x16e7d3['shift']());}catch(_0xd743a4){_0x16e7d3['push'](_0x16e7d3['shift']());}}}(a47_0x4384,0x1dea2));function a47_0x43e6(_0x5c53de,_0x84db2e){const _0x4384c4=a47_0x4384();return a47_0x43e6=function(_0x43e626,_0x507828){_0x43e626=_0x43e626-0x174;let _0x14d40b=_0x4384c4[_0x43e626];return _0x14d40b;},a47_0x43e6(_0x5c53de,_0x84db2e);}const path=require(a47_0xed7fbd(0x1ad)),Module=require(a47_0xed7fbd(0x18a)),BrowserstackCLI=require(a47_0xed7fbd(0x190)),scriptFile=process['argv'][0x2],maxParallel=parseInt(process[a47_0xed7fbd(0x192)][0x3])||0x0;!scriptFile&&(process['stderr'][a47_0xed7fbd(0x175)](a47_0xed7fbd(0x1b3)),process[a47_0xed7fbd(0x1a2)](0x1));const reporterPath=path[a47_0xed7fbd(0x178)](__dirname,a47_0xed7fbd(0x1a5),a47_0xed7fbd(0x181)),originalResolveFilename=Module[a47_0xed7fbd(0x196)];Module['_resolveFilename']=function(_0x2c923c,_0x1e8900,_0x1ad829,_0x563f56){const _0x744cee=a47_0xed7fbd,_0x36a352={};_0x36a352[_0x744cee(0x188)]=function(_0x3c0679,_0x346f08){return _0x3c0679===_0x346f08;},_0x36a352['nMeRc']=_0x744cee(0x1ac);const _0x3c1afe=_0x36a352;if(_0x3c1afe[_0x744cee(0x188)](_0x2c923c,_0x3c1afe[_0x744cee(0x195)]))return reporterPath;return originalResolveFilename[_0x744cee(0x17e)](this,_0x2c923c,_0x1e8900,_0x1ad829,_0x563f56);};let limit;function a47_0x4384(){const _0x47a086=['index.js','exitCode','14238JbFotg','error','afJpM','128998xCFKOz','bootstrap','aZBll','concat','module','resolve','59463csoFIC','280QCwlQc','getInstance','CIRKM','../v2/browserstackCLI','_load','argv','collection','UbPWX','nMeRc','_resolveFilename','browserstack','collectionPath','Fiact','duYqc','ADuRj','string','oqQBC','cli','198XPcbBA','failures','uwujm','exit','pOakH','51284loPcot','reporter','newman','393670GPFCRv','assign','p-limit','xxTeF','HlKeP','newman-reporter-browserstack','path','length','iJJJZ','plrUB','6981050kRVATa','CEIVT','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','RUTrn','create','433082YPEUnP','indexOf','BhhAi','KkQAa','write','tYigC','beforeExit','join','stderr','reporters','run','3WtBzWO','TICUC','call','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','iMmbe'];a47_0x4384=function(){return _0x47a086;};return a47_0x4384();}try{const pLimit=require(a47_0xed7fbd(0x1a9)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x42b883){limit=function(_0x36b822){const _0x357576=a47_0xed7fbd,_0x53e467={'oqQBC':function(_0x59bb15){return _0x59bb15();}};return _0x53e467[_0x357576(0x19d)](_0x36b822);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a47_0xed7fbd(0x191)]=function(_0x17d8ed,_0x3ddb46,_0x2e401f){const _0x4f1b86=a47_0xed7fbd,_0x414a9f={'Fiact':function(_0x2dc3c4,_0x13273e){return _0x2dc3c4>_0x13273e;},'aICpm':function(_0x52049d,_0x1f91d4){return _0x52049d||_0x1f91d4;},'tYigC':function(_0x15315a,_0x49f233,_0x36e1e0){return _0x15315a(_0x49f233,_0x36e1e0);},'TICUC':function(_0x28b30b,_0x5ec22c){return _0x28b30b(_0x5ec22c);},'UbPWX':function(_0x29a593,_0x11ce5b,_0x22ad7f){return _0x29a593(_0x11ce5b,_0x22ad7f);},'BgZHO':_0x4f1b86(0x19e),'VCzLs':function(_0x3d4173,_0x29bea0){return _0x3d4173===_0x29bea0;},'RUTrn':_0x4f1b86(0x197),'xxTeF':function(_0x2cc5a0,_0x33e77f){return _0x2cc5a0===_0x33e77f;},'duYqc':_0x4f1b86(0x19c),'JYGQY':function(_0x39408e,_0x23bf7d){return _0x39408e!==_0x23bf7d;},'plrUB':_0x4f1b86(0x1a6)},_0x2ed71c=originalLoad[_0x4f1b86(0x17e)](this,_0x17d8ed,_0x3ddb46,_0x2e401f);if(_0x414a9f['JYGQY'](_0x17d8ed,_0x414a9f[_0x4f1b86(0x1b0)]))return _0x2ed71c;if(wrappedNewman)return wrappedNewman;const _0x150dc6=_0x2ed71c[_0x4f1b86(0x17b)]['bind'](_0x2ed71c);return wrappedNewman=Object[_0x4f1b86(0x1b5)](_0x2ed71c),wrappedNewman[_0x4f1b86(0x17b)]=function(_0x15acca,_0x1dcf66){const _0x23c332=_0x4f1b86,_0x3153b0={'afJpM':function(_0x48c169,_0xd52b38){const _0x42e22c=a47_0x43e6;return _0x414a9f[_0x42e22c(0x199)](_0x48c169,_0xd52b38);},'uwujm':function(_0x4cb6f9,_0x145dce){return _0x414a9f['aICpm'](_0x4cb6f9,_0x145dce);},'CEIVT':function(_0x2daa73,_0x4d67c4,_0x7ffd44){const _0x39ddf4=a47_0x43e6;return _0x414a9f[_0x39ddf4(0x176)](_0x2daa73,_0x4d67c4,_0x7ffd44);},'CIRKM':function(_0x521086,_0x8329e){return _0x414a9f['TICUC'](_0x521086,_0x8329e);},'BnJjn':function(_0x16328d,_0x3a34d8,_0x18bfc3){const _0x987e9a=a47_0x43e6;return _0x414a9f[_0x987e9a(0x194)](_0x16328d,_0x3a34d8,_0x18bfc3);}};let _0x392245=_0x15acca[_0x23c332(0x17a)]||[_0x414a9f['BgZHO']];_0x414a9f['VCzLs'](_0x392245[_0x23c332(0x1b7)](_0x414a9f[_0x23c332(0x1b4)]),-0x1)&&(_0x392245=_0x392245[_0x23c332(0x189)]([_0x414a9f[_0x23c332(0x1b4)]]));const _0x17a8a4=_0x414a9f[_0x23c332(0x1aa)](typeof _0x15acca['collection'],_0x414a9f[_0x23c332(0x19a)])?_0x15acca[_0x23c332(0x193)]:undefined,_0x25a768={};_0x25a768[_0x23c332(0x198)]=_0x17a8a4;const _0x4e29f8=Object[_0x23c332(0x1a8)]({},_0x15acca[_0x23c332(0x1a5)],{'browserstack':Object['assign']({},_0x15acca[_0x23c332(0x1a5)]&&_0x15acca[_0x23c332(0x1a5)][_0x23c332(0x197)],_0x25a768)}),_0x440941={};return _0x440941[_0x23c332(0x17a)]=_0x392245,_0x440941[_0x23c332(0x1a5)]=_0x4e29f8,_0x15acca=Object['assign']({},_0x15acca,_0x440941),_0x414a9f[_0x23c332(0x17d)](limit,function(){const _0x35d087={'KkQAa':function(_0x25c063,_0x330972){const _0x2f1b89=a47_0x43e6;return _0x3153b0[_0x2f1b89(0x185)](_0x25c063,_0x330972);},'HlKeP':function(_0x3ad04e,_0x5180c9){const _0x3a4978=a47_0x43e6;return _0x3153b0[_0x3a4978(0x1a1)](_0x3ad04e,_0x5180c9);},'iMmbe':function(_0x13d7c0,_0x2fc226,_0x19ad7a){const _0x2b045a=a47_0x43e6;return _0x3153b0[_0x2b045a(0x1b2)](_0x13d7c0,_0x2fc226,_0x19ad7a);},'iJJJZ':function(_0x4068d9,_0x2ce412){const _0x52bfe4=a47_0x43e6;return _0x3153b0[_0x52bfe4(0x18f)](_0x4068d9,_0x2ce412);},'pOakH':function(_0x575087,_0x56beed,_0x269a09){return _0x3153b0['BnJjn'](_0x575087,_0x56beed,_0x269a09);}};return new Promise(function(_0x4d9299){const _0x375d2=a47_0x43e6;_0x35d087[_0x375d2(0x1a3)](_0x150dc6,_0x15acca,function(_0x574b53,_0x3fb6c7){const _0x1fdda1=_0x375d2,_0x29d14b=_0x3fb6c7&&_0x3fb6c7[_0x1fdda1(0x17b)]&&(_0x3fb6c7[_0x1fdda1(0x17b)][_0x1fdda1(0x184)]||_0x3fb6c7[_0x1fdda1(0x17b)][_0x1fdda1(0x1a0)]&&_0x35d087[_0x1fdda1(0x174)](_0x3fb6c7['run']['failures'][_0x1fdda1(0x1ae)],0x0));_0x35d087[_0x1fdda1(0x1ab)](_0x29d14b,_0x574b53)&&(hasFailure=!![]),_0x1dcf66&&_0x35d087[_0x1fdda1(0x180)](_0x1dcf66,_0x574b53,_0x3fb6c7),_0x35d087[_0x1fdda1(0x1af)](_0x4d9299,_0x3fb6c7);});});});},wrappedNewman;};async function main(){const _0x4d1aa3=a47_0xed7fbd,_0x207608={'BhhAi':function(_0x101884,_0x1fbc59){return _0x101884(_0x1fbc59);},'VapZW':function(_0x1d5073,_0x5bac81){return _0x1d5073+_0x5bac81;},'pUjXO':function(_0x65b723,_0x3bdb18){return _0x65b723+_0x3bdb18;},'ADuRj':_0x4d1aa3(0x17f)};try{await BrowserstackCLI[_0x4d1aa3(0x18e)]()[_0x4d1aa3(0x187)]();}catch(_0x4edfb4){}try{_0x207608[_0x4d1aa3(0x1b8)](require,path[_0x4d1aa3(0x18b)](scriptFile));}catch(_0x4db16c){process[_0x4d1aa3(0x179)]['write'](_0x207608['VapZW'](_0x207608['pUjXO'](_0x207608[_0x4d1aa3(0x19b)],_0x4db16c['message']||_0x4db16c),'\x0a')),process[_0x4d1aa3(0x182)]=0x1;}}main(),process['on'](a47_0xed7fbd(0x177),function(){const _0x3e74e3=a47_0xed7fbd;hasFailure&&(process[_0x3e74e3(0x182)]=0x1);}),process['on'](a47_0xed7fbd(0x1a2),function(){const _0x2b2783=a47_0xed7fbd,_0x165323={};_0x165323['OeHFv']=function(_0x3e6a3d,_0x2f512d){return _0x3e6a3d===_0x2f512d;};const _0x30cf00=_0x165323;hasFailure&&_0x30cf00['OeHFv'](process[_0x2b2783(0x182)],0x0)&&(process[_0x2b2783(0x182)]=0x1);});
|