browserstack-node-sdk 1.55.7 → 1.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +64 -0
- package/generated/sdk-messages_pb.js +512 -0
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +2 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x1061b6=a36_0x1ca4;(function(_0x40a104,_0x154a9a){const _0x3525ef=a36_0x1ca4,_0x62f9c=_0x40a104();while(!![]){try{const _0x2ae5ff=-parseInt(_0x3525ef(0xf4))/0x1+parseInt(_0x3525ef(0x179))/0x2+parseInt(_0x3525ef(0x144))/0x3*(-parseInt(_0x3525ef(0x13a))/0x4)+-parseInt(_0x3525ef(0x16a))/0x5*(-parseInt(_0x3525ef(0x12a))/0x6)+-parseInt(_0x3525ef(0x123))/0x7*(parseInt(_0x3525ef(0x146))/0x8)+parseInt(_0x3525ef(0x114))/0x9+parseInt(_0x3525ef(0x169))/0xa;if(_0x2ae5ff===_0x154a9a)break;else _0x62f9c['push'](_0x62f9c['shift']());}catch(_0xdf91ee){_0x62f9c['push'](_0x62f9c['shift']());}}}(a36_0x20e6,0xe75a6));const util=require(a36_0x1061b6(0xed)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x1061b6(0x119)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x1061b6(0x12f)),{percyAutoCapture}=require(a36_0x1061b6(0x15d)),{sendPlatformDetails}=require(a36_0x1061b6(0x142)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x1061b6(0xfe)),PerformanceTester=require(a36_0x1061b6(0x181)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x1061b6(0x14a)),globals=require(a36_0x1061b6(0x170)),logger=require(a36_0x1061b6(0x159))[a36_0x1061b6(0x17d)],{shouldProcessEventForTesthub}=require(a36_0x1061b6(0x190)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x20e6(){const _0x19017a=['env','OMATA','6530PqdDJo','4292805ixiIoa','ysexa','measureWrapper','nfqrv',',\x22level\x22:\x20\x22','end','../../helpers/globals','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','setGlobal','autoScanning','join','currentTest','zkvZv','NkbJO','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','3254932ttLmVy','accessibilityScanStarted','stringify','shift','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ytnxK','dGRBz','../../helpers/performance/performance-tester','oKazS','JcAUE','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','getCurrentUrl','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','message','\x20-\x20','Mocha','browserstackSessionName','LuRdU','startMonitoring','afterAll','state','start','../../helpers/testhub/utils','ucBFk','XhHQF','err','QyFes','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','percyCaptureMode','Ibkfp','ENV_VAR','FfQvf','DagGQ','__error_messages__','then','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Xzszz','.\x20Error\x20:','MPldJ','PxbWE','vVgMH','util','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','__sessionFailed','NKVHO','thJwtToken','unvjb','ObservabilitySync:','983212bAAcAE','protocol','iVfVY','RyLpV','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','sJNse','beforeEach','testAnalyticsId','sHzeR','AkeIy','../../helpers/helper','CBCjG','SAVE_RESULTS','tVxJJ','IYZnc','jvMVf','lXYAv','__drivers','quitCount_','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','performScanWithRetry','debug','timeout','isArray','driverCleanup','index','tqxJs','percy','__skipSessionName','KfzxT','zwXHy','GOnKb','1277460xYldoo','KOVhZ','aCWlq','sOwbd','__platformCaps','../../helpers/accessibility-automation/accessibilityRetryHelper','kpGLP','PERFORM_SCAN','format','getGlobal','capabilities','LwjcL','browserstackTestName','error','iMtiB','14VoKrHN','SDK_HOOK','WAmDS','Accessibility\x20results\x20saved\x20successfully','uuwjQ','\x22}}','SESSION_STATUS','6yITKqj','JIUsb','QTkIT','RMRkQ','http:','../utils/constants','BROWSERSTACK_TESTHUB_UUID','sessionNameSet__','Automate\x20test\x20case\x20execution\x20has\x20started.','TCOLN','Passed','ESTYI','afterTest','length','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Accessibility\x20scan\x20completed\x20successfully','8TnfLrF','zhiql','dgVYL','ghyeB','titlePath','CNwlX','zhHlK','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','./test-observability/mochaUtils','tqQef','261633GYdoWC','QtOeh','2093456zpqhhX','CLYAQ','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','warn','../../helpers/performance/constants','isAccessibilityPlatform','session_','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','shouldScanTestForAccessibility','gpafg','NYZub','bstackA11yShouldScan','mochaHooks','uojPn','beforeAll','dSizu','command','failed','SYNC','../../helpers/logger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','thTestRunUuid','mGZiT','../../helpers/percy/utils','rwJKP','passed','sessionName','Jjxjw','WnFNY','info','ODLgK','VmJjP','thBuildUuid'];a36_0x20e6=function(){return _0x19017a;};return a36_0x20e6();}function a36_0x1ca4(_0x4bf2a2,_0xf1164d){const _0x20e6ce=a36_0x20e6();return a36_0x1ca4=function(_0x1ca499,_0x52f6b7){_0x1ca499=_0x1ca499-0xea;let _0x3c8db6=_0x20e6ce[_0x1ca499];return _0x3c8db6;},a36_0x1ca4(_0x4bf2a2,_0xf1164d);}exports[a36_0x1061b6(0x152)]={'beforeAll'(){const _0x5348b7=a36_0x1061b6,_0x573c7f={'vVgMH':function(_0x1f2a89,_0xaffdea,_0x2805bd,_0x271a5c){return _0x1f2a89(_0xaffdea,_0x2805bd,_0x271a5c);},'pAfFm':_0x5348b7(0x157),'jvMVf':'\x20|\x20','nfqrv':function(_0x5107ac,_0x51d77a,_0x12bae2){return _0x5107ac(_0x51d77a,_0x12bae2);},'vdEVL':_0x5348b7(0x15f),'NYZub':function(_0x391ce0){return _0x391ce0();},'uojPn':_0x5348b7(0x10d),'LuRdU':_0x5348b7(0x154)};PerformanceTester[_0x5348b7(0x18c)]();const _0x266c0f='browserstack internal helper hook';PerformanceTester[_0x5348b7(0x16c)](PerformanceSdkEvents[_0x5348b7(0x124)],()=>{const _0x3faaf6=_0x5348b7,_0x154c88={'zwXHy':function(_0x52316d,_0x68e6c2,_0x2b0ed6,_0x2e20d7){const _0x5a9ba3=a36_0x1ca4;return _0x573c7f[_0x5a9ba3(0xec)](_0x52316d,_0x68e6c2,_0x2b0ed6,_0x2e20d7);},'VqPee':_0x573c7f['pAfFm'],'SXOCd':_0x573c7f[_0x3faaf6(0x103)],'VmJjP':function(_0x18cfdc,_0x2db7c9,_0x222025){const _0x5456dd=_0x3faaf6;return _0x573c7f[_0x5456dd(0x16d)](_0x18cfdc,_0x2db7c9,_0x222025);},'ysexa':_0x573c7f['vdEVL'],'FfQvf':function(_0x26d272){const _0xa25c5e=_0x3faaf6;return _0x573c7f[_0xa25c5e(0x150)](_0x26d272);}};global[_0x3faaf6(0x19b)]=[],global['__sessionFailed']=![],global[_0x3faaf6(0x10c)]=async()=>{const _0x507e75=_0x3faaf6;let _0x2fa62a=![];try{await global['__drivers'][0x0][_0x507e75(0x14c)],_0x2fa62a=!![],global[_0x507e75(0xef)]?await _0x154c88[_0x507e75(0x112)](markSessionStatus,global[_0x507e75(0x105)][0x0],_0x154c88['VqPee'],global[_0x507e75(0x19b)][_0x507e75(0x174)](_0x154c88['SXOCd'])):await _0x154c88[_0x507e75(0x165)](markSessionStatus,global[_0x507e75(0x105)][0x0],_0x154c88[_0x507e75(0x16b)]);}catch(_0x59902d){logger[_0x507e75(0x109)](_0x507e75(0x138)+_0x59902d);}global[_0x507e75(0x19b)]=[],global[_0x507e75(0xef)]=![];if(_0x2fa62a)try{try{_0x154c88[_0x507e75(0x199)](shouldProcessEventForTesthub)&&(global[_0x507e75(0x105)][0x0]&&await _0x154c88[_0x507e75(0x165)](sendPlatformDetails,global['__drivers'][0x0],this[_0x507e75(0x175)]?this[_0x507e75(0x175)][_0x507e75(0xfb)]:null));}catch(_0x4e377d){logger[_0x507e75(0x109)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x4e377d);}await global[_0x507e75(0x105)][0x0]['initQuit']();}catch(_0x1444da){logger['debug'](_0x507e75(0xf8)+_0x1444da);}};},{'platform':_0x573c7f[_0x5348b7(0x16d)](nestedKeyValue,global[_0x5348b7(0x118)],[_0x573c7f[_0x5348b7(0x153)]]),'hookType':_0x573c7f[_0x5348b7(0x18b)]})();},'beforeEach'(_0x19975f){const _0x48c6f9=a36_0x1061b6,_0x593f8b={'kDLPK':function(_0x4c6181,_0x4b5bae){return _0x4c6181>_0x4b5bae;},'KfzxT':_0x48c6f9(0x188),'zhHlK':function(_0x8defd9,_0xa04a05,_0x21ac54){return _0x8defd9(_0xa04a05,_0x21ac54);},'sHzeR':function(_0x253fbe,_0x11631e){return _0x253fbe===_0x11631e;},'dSizu':_0x48c6f9(0x151),'tVxJJ':'bstackA11yScanOptions','Jjxjw':function(_0x52fd53){return _0x52fd53();},'Ibkfp':_0x48c6f9(0x14b),'tqQef':_0x48c6f9(0x12e),'ucBFk':'https:','dGRBz':_0x48c6f9(0x178),'iqwhP':_0x48c6f9(0x132),'CBCjG':function(_0x1be26d){return _0x1be26d();},'JcAUE':function(_0x5608bf){return _0x5608bf();},'PiifM':_0x48c6f9(0x120),'Xzszz':function(_0x323325,_0xbcc1a0,_0x3dd4d2){return _0x323325(_0xbcc1a0,_0x3dd4d2);},'AkeIy':_0x48c6f9(0x10d),'TCOLN':_0x48c6f9(0xfa)};globals[_0x48c6f9(0x172)](_0x593f8b['PiifM'],this[_0x48c6f9(0x175)][_0x48c6f9(0x13e)]()[_0x48c6f9(0x174)](_0x593f8b[_0x48c6f9(0x111)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x48c6f9(0x124)],()=>{const _0x338d88=_0x48c6f9,_0x26a246='browserstack internal helper hook';new Promise(async _0x175abe=>{const _0x131ee8=a36_0x1ca4;let _0x5f31e1=!![];try{_0x593f8b['kDLPK'](global[_0x131ee8(0x105)]['length'],0x1)&&(await global[_0x131ee8(0x10c)](),global[_0x131ee8(0x105)]['shift']()),_0x593f8b['kDLPK'](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x5f31e1=![],await global['driverCleanup']());}catch(_0x51ebe1){logger[_0x131ee8(0x109)](_0x131ee8(0xf8)+_0x51ebe1);}try{Array[_0x131ee8(0x10b)](global[_0x131ee8(0x105)])&&global['__drivers'][0x0]&&(global[_0x131ee8(0x105)][0x0][_0x131ee8(0x18a)]=this[_0x131ee8(0x175)][_0x131ee8(0x13e)]()[_0x131ee8(0x174)](_0x593f8b[_0x131ee8(0x111)])),global[_0x131ee8(0x18a)]=this[_0x131ee8(0x175)]['titlePath']()[_0x131ee8(0x174)](_0x593f8b['KfzxT']);}catch(_0x3c052e){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3c052e);}this['currentTest'][_0x131ee8(0x14e)]=_0x593f8b[_0x131ee8(0x140)](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]);let _0x454a6e=!![];try{const _0x58e92a=JSON['parse'](process[_0x131ee8(0x167)][_0x131ee8(0x17e)]||'{}');_0x593f8b[_0x131ee8(0xfc)](_0x58e92a[_0x131ee8(0x173)],![])&&(_0x454a6e=![]);}catch(_0x2ecdce){logger['debug'](_0x131ee8(0x171)+_0x2ecdce['message']);}const _0x49e6ef=_0x454a6e&&this[_0x131ee8(0x175)][_0x131ee8(0x14e)];globals[_0x131ee8(0x172)](_0x593f8b[_0x131ee8(0x155)],_0x49e6ef),globals[_0x131ee8(0x172)](_0x593f8b[_0x131ee8(0x101)],null),this[_0x131ee8(0x175)][_0x131ee8(0x17a)]=this[_0x131ee8(0x175)][_0x131ee8(0x14e)];if(_0x593f8b[_0x131ee8(0x161)](isAccessibilityAutomationSession)&&_0x5f31e1&&Array['isArray'](global['__drivers'])&&_0x593f8b['kDLPK'](global[_0x131ee8(0x105)][_0x131ee8(0x137)],0x0)&&globals[_0x131ee8(0x11d)](_0x593f8b[_0x131ee8(0x197)]))try{const _0x44c379=await global[_0x131ee8(0x105)][0x0][_0x131ee8(0x14c)];if(_0x44c379){let _0x2a660b=!![];const _0x41f486=await global[_0x131ee8(0x105)][0x0][_0x131ee8(0x185)]();let _0x48e4c5;try{_0x48e4c5=new URL(_0x41f486),_0x2a660b=_0x593f8b['sHzeR'](_0x48e4c5[_0x131ee8(0xf5)],_0x593f8b[_0x131ee8(0x143)])||_0x593f8b[_0x131ee8(0xfc)](_0x48e4c5[_0x131ee8(0xf5)],_0x593f8b[_0x131ee8(0x191)]);}catch(_0x5cdea1){_0x2a660b=![];}_0x2a660b&&(this[_0x131ee8(0x175)][_0x131ee8(0x14e)]&&logger[_0x131ee8(0x163)](_0x593f8b[_0x131ee8(0x180)])),this[_0x131ee8(0x175)]['accessibilityScanStarted']=this[_0x131ee8(0x175)][_0x131ee8(0x14e)],_0x49e6ef&&logger[_0x131ee8(0x163)](_0x593f8b['iqwhP']);}}catch(_0x44630a){logger[_0x131ee8(0x121)](_0x131ee8(0x14d)+util[_0x131ee8(0x11c)](_0x44630a));}_0x593f8b[_0x131ee8(0xff)](_0x175abe);})[_0x338d88(0x19c)](()=>{const _0x34eb36=_0x338d88;_0x593f8b[_0x34eb36(0x183)](_0x19975f);});},{'platform':_0x593f8b[_0x48c6f9(0x19e)](nestedKeyValue,global[_0x48c6f9(0x118)],[_0x593f8b[_0x48c6f9(0xfd)]]),'hookType':_0x593f8b[_0x48c6f9(0x133)]})();},'afterEach'(_0x1ff454){const _0x281749=a36_0x1061b6,_0x40cefc={'dgVYL':'\x20-\x20','CLYAQ':function(_0x63f6b6,_0x480c50){return _0x63f6b6>_0x480c50;},'CNwlX':function(_0x40519c,_0x5790f2){return _0x40519c===_0x5790f2;},'QyFes':'testcase','yEOVZ':function(_0x53acb0,_0x452997){return _0x53acb0>_0x452997;},'NzwRR':'appium:app','cdSVE':function(_0x266db5,_0x292559,_0x4f8f06,_0x544286){return _0x266db5(_0x292559,_0x4f8f06,_0x544286);},'rIMYL':_0x281749(0x14b),'VbayD':_0x281749(0x19d),'mGZiT':_0x281749(0x151),'zkvZv':_0x281749(0x141),'ytnxK':_0x281749(0x136),'WAmDS':_0x281749(0x139),'PxbWE':_0x281749(0xee),'QtOeh':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','kpGLP':_0x281749(0x126),'ODLgK':_0x281749(0x148),'OMATA':_0x281749(0x195),'JIUsb':function(_0xb36bb2){return _0xb36bb2();},'tqxJs':function(_0xa4eaa9,_0x304845,_0x36ca3b){return _0xa4eaa9(_0x304845,_0x36ca3b);},'LNvQe':_0x281749(0x109),'gpafg':function(_0x2ec809){return _0x2ec809();},'MPldJ':function(_0x31358c,_0x3b001b){return _0x31358c!==_0x3b001b;},'hdSfQ':'passed','WnFNY':function(_0x782d05,_0x17457f){return _0x782d05+_0x17457f;},'LwjcL':'Failed:\x20','unvjb':'error','HasOP':_0x281749(0x134),'KOVhZ':_0x281749(0x163),'oKazS':function(_0x53e3f5){return _0x53e3f5();},'sJNse':_0x281749(0x189),'zhiql':_0x281749(0x10d),'aCWlq':'afterEach'},_0x14f215='browserstack internal helper hook';this[_0x281749(0x10a)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x40cefc[_0x281749(0xf9)]]),global[_0x281749(0x160)]=this[_0x281749(0x175)][_0x281749(0x13e)]()[_0x281749(0x174)](_0x40cefc[_0x281749(0x13c)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x281749(0x124)],()=>{const _0x315c34=_0x281749,_0x3bb202={'ESTYI':function(_0x74ab8a,_0x4a83c){const _0x494b8a=a36_0x1ca4;return _0x40cefc[_0x494b8a(0xea)](_0x74ab8a,_0x4a83c);},'DagGQ':_0x40cefc['hdSfQ'],'NKVHO':function(_0x29a50f,_0x37fa88,_0x5c8c5e){const _0xe48534=a36_0x1ca4;return _0x40cefc[_0xe48534(0x10e)](_0x29a50f,_0x37fa88,_0x5c8c5e);},'rwJKP':function(_0x1e0c34,_0x1b3b28){const _0x1c86ae=a36_0x1ca4;return _0x40cefc[_0x1c86ae(0x162)](_0x1e0c34,_0x1b3b28);},'iMtiB':_0x40cefc[_0x315c34(0x11f)],'GOnKb':_0x40cefc[_0x315c34(0xf2)],'iVfVY':function(_0x520f7a,_0x5903c1,_0x55b5c8){const _0x1f67f6=_0x315c34;return _0x40cefc[_0x1f67f6(0x10e)](_0x520f7a,_0x5903c1,_0x55b5c8);},'QTkIT':_0x40cefc['HasOP'],'sOwbd':_0x40cefc[_0x315c34(0x115)],'RMRkQ':function(_0x31ab45){const _0x203223=_0x315c34;return _0x40cefc[_0x203223(0x182)](_0x31ab45);}},_0x18c692=async(_0x41d1b4,_0x170366)=>{const _0xe9e1da=_0x315c34;await global['__drivers'][0x0]['executeScript'](_0xe9e1da(0x186)+_0x41d1b4+_0xe9e1da(0x16e)+_0x170366+_0xe9e1da(0x128));};new Promise(async _0xfae35a=>{const _0x535d6a=_0x315c34,_0x10704a={};_0x10704a[_0x535d6a(0x127)]=_0x40cefc[_0x535d6a(0x13c)];const _0x12af2f=_0x10704a;try{_0x40cefc[_0x535d6a(0x147)](global[_0x535d6a(0x105)]['length'],0x1)&&(await global[_0x535d6a(0x10c)](),global[_0x535d6a(0x105)][_0x535d6a(0x17c)](),global[_0x535d6a(0x19b)]=[],global[_0x535d6a(0xef)]=![]);try{if(global[_0x535d6a(0x10f)]&&_0x40cefc[_0x535d6a(0x13f)](global[_0x535d6a(0x196)],_0x40cefc[_0x535d6a(0x194)])&&global[_0x535d6a(0x105)][0x0]){const _0x572b36=_0x40cefc['yEOVZ'](global['capabilities'][_0x535d6a(0x137)],0x0)?!!global[_0x535d6a(0x11e)][0x0]['app']||!!global['capabilities'][0x0][_0x40cefc['NzwRR']]:![],_0x9d0bde={};_0x9d0bde['app']=_0x572b36,await _0x40cefc['cdSVE'](percyAutoCapture,global[_0x535d6a(0x105)][0x0],_0x40cefc[_0x535d6a(0x194)],_0x9d0bde);}}catch(_0x171ac9){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x171ac9);}!global[_0x535d6a(0x110)]&&(await PerformanceTester[_0x535d6a(0x16c)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x5e19f6=_0x535d6a;await global[_0x5e19f6(0x105)][0x0]['executeScript'](_0x5e19f6(0x15a)+JSON[_0x5e19f6(0x17b)](this[_0x5e19f6(0x175)][_0x5e19f6(0x13e)]()[_0x5e19f6(0x174)](_0x12af2f[_0x5e19f6(0x127)]))+'}}');})(),global['__drivers'][0x0][_0x535d6a(0x131)]=!![]),await PerformanceTester[_0x535d6a(0x16c)](PerformanceAutEvents[_0x535d6a(0x129)],async()=>{const _0x23273d=_0x535d6a,_0x464b82=_0x3bb202[_0x23273d(0x135)](this[_0x23273d(0x175)][_0x23273d(0x18e)],_0x3bb202[_0x23273d(0x19a)]);_0x464b82?(global[_0x23273d(0xef)]=!![],global[_0x23273d(0x19b)]['push'](this[_0x23273d(0x175)][_0x23273d(0x193)][_0x23273d(0x187)]),await _0x3bb202[_0x23273d(0xf0)](_0x18c692,JSON[_0x23273d(0x17b)](_0x3bb202[_0x23273d(0x15e)](_0x3bb202[_0x23273d(0x122)],this[_0x23273d(0x175)][_0x23273d(0x193)][_0x23273d(0x187)])),_0x3bb202[_0x23273d(0x113)])):await _0x3bb202[_0x23273d(0xf6)](_0x18c692,JSON[_0x23273d(0x17b)](_0x3bb202[_0x23273d(0x12c)]),_0x3bb202[_0x23273d(0x117)]);})();}catch(_0x50264c){logger[_0x535d6a(0x109)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x50264c);}try{if(this[_0x535d6a(0x175)][_0x535d6a(0x17a)]&&globals[_0x535d6a(0x11d)](_0x40cefc['rIMYL'])){logger[_0x535d6a(0x163)](_0x40cefc['VbayD']);const _0x27a165={};_0x27a165[_0x535d6a(0x15b)]=this[_0x535d6a(0x175)]['testAnalyticsId'],_0x27a165[_0x535d6a(0x166)]=process[_0x535d6a(0x167)][testHubConstants['ENV_VAR'][_0x535d6a(0x130)]],_0x27a165[_0x535d6a(0xf1)]=process[_0x535d6a(0x167)][testHubConstants[_0x535d6a(0x198)]['BROWSERSTACK_TESTHUB_JWT']];const _0x5a3325=_0x27a165;logger[_0x535d6a(0x109)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x535d6a(0x17b)](_0x5a3325));if(globals[_0x535d6a(0x11d)](_0x40cefc[_0x535d6a(0x15c)])){logger[_0x535d6a(0x109)](_0x40cefc[_0x535d6a(0x176)]);const _0x5933b1={};_0x5933b1[_0x535d6a(0x156)]=_0x40cefc[_0x535d6a(0x17f)];const _0x4ea308=await PerformanceTester[_0x535d6a(0x16c)](PerformanceA11yEvents[_0x535d6a(0x11b)],async()=>{const _0x5a09f3=_0x535d6a;return await accessibilityRetryHelper[_0x5a09f3(0x108)](global[_0x5a09f3(0x105)][0x0],global[_0x5a09f3(0x18a)]);},_0x5933b1)();_0x4ea308?logger[_0x535d6a(0x109)](_0x40cefc[_0x535d6a(0x125)]):logger['warn'](_0x40cefc[_0x535d6a(0xeb)]);}else logger[_0x535d6a(0x109)](_0x40cefc[_0x535d6a(0x145)]);const _0x4e343c=await PerformanceTester[_0x535d6a(0x16c)](PerformanceA11yEvents[_0x535d6a(0x100)],async()=>{const _0x2b8072=_0x535d6a;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x2b8072(0x105)][0x0],_0x5a3325);})();_0x4e343c?logger[_0x535d6a(0x109)](_0x40cefc[_0x535d6a(0x11a)]):logger[_0x535d6a(0x149)](_0x40cefc[_0x535d6a(0x164)]),logger[_0x535d6a(0x163)](_0x40cefc[_0x535d6a(0x168)]);}}catch(_0x327d89){logger[_0x535d6a(0x121)](_0x535d6a(0x107)+this[_0x535d6a(0x175)][_0x535d6a(0x13e)]()+_0x535d6a(0x19f),_0x327d89);}try{try{if(_0x40cefc[_0x535d6a(0x12b)](shouldProcessEventForTesthub)){global[_0x535d6a(0x105)][0x0]&&await _0x40cefc[_0x535d6a(0x10e)](sendPlatformDetails,global[_0x535d6a(0x105)][0x0],this[_0x535d6a(0x175)]?this[_0x535d6a(0x175)]['testAnalyticsId']:null);if(_0x40cefc[_0x535d6a(0x12b)](isBrowserstackInfra)){PerformanceTester[_0x535d6a(0x18f)](PerformanceO11yEvents[_0x535d6a(0x158)]);const _0x585e62=_0x535d6a(0xf3)+Date['now']();await _0x40cefc[_0x535d6a(0x10e)](_0x18c692,JSON['stringify'](_0x585e62),_0x40cefc['LNvQe']),PerformanceTester[_0x535d6a(0x16f)](PerformanceO11yEvents[_0x535d6a(0x158)]);}}}catch(_0x426574){logger[_0x535d6a(0x109)](_0x535d6a(0x184)+_0x426574),PerformanceTester[_0x535d6a(0x16f)](PerformanceO11yEvents[_0x535d6a(0x158)],![],_0x426574);}_0x40cefc['CLYAQ'](global[_0x535d6a(0x105)][0x0][_0x535d6a(0x106)],0x0)&&await global[_0x535d6a(0x10c)]();}catch(_0x5765e4){logger[_0x535d6a(0x109)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5765e4);}_0x40cefc[_0x535d6a(0x14f)](_0xfae35a);})[_0x315c34(0x19c)](()=>{const _0x190d67=_0x315c34;_0x3bb202[_0x190d67(0x12d)](_0x1ff454);});},{'platform':_0x40cefc['tqxJs'](nestedKeyValue,global[_0x281749(0x118)],[_0x40cefc[_0x281749(0x13b)]]),'hookType':_0x40cefc[_0x281749(0x116)]})();},'afterAll'(_0x263a76){const _0x3ecad0=a36_0x1061b6,_0x1ffe27={'Cdypp':function(_0x1a7534){return _0x1a7534();},'RyLpV':function(_0x34b0ef){return _0x34b0ef();},'ghyeB':_0x3ecad0(0x189),'NkbJO':function(_0x1f007a,_0x2d55c8,_0x2f472e){return _0x1f007a(_0x2d55c8,_0x2f472e);},'IYZnc':_0x3ecad0(0x10d),'XhHQF':_0x3ecad0(0x18d)},_0x13d68f='browserstack internal helper hook';this[_0x3ecad0(0x10a)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1ffe27[_0x3ecad0(0x13d)]]),PerformanceTester[_0x3ecad0(0x16c)](PerformanceSdkEvents[_0x3ecad0(0x124)],()=>{const _0x4bda48=_0x3ecad0,_0x13b264={'lXYAv':function(_0x3ea8ad){const _0x5d431e=a36_0x1ca4;return _0x1ffe27[_0x5d431e(0xf7)](_0x3ea8ad);}};new Promise(async _0x56df6f=>{const _0x5baa98=a36_0x1ca4;await global[_0x5baa98(0x10c)](),_0x1ffe27['Cdypp'](_0x56df6f);})[_0x4bda48(0x19c)]()['finally'](()=>{const _0x3f6371=_0x4bda48;_0x13b264[_0x3f6371(0x104)](_0x263a76);});},{'platform':_0x1ffe27[_0x3ecad0(0x177)](nestedKeyValue,global[_0x3ecad0(0x118)],[_0x1ffe27[_0x3ecad0(0x102)]]),'hookType':_0x1ffe27[_0x3ecad0(0x192)]})();}};
|
|
1
|
+
const a36_0xab61dd=a36_0x5ddb;(function(_0x4a44b2,_0x3f6533){const _0x4712e7=a36_0x5ddb,_0x1ffc39=_0x4a44b2();while(!![]){try{const _0x161c5e=parseInt(_0x4712e7(0x16b))/0x1*(-parseInt(_0x4712e7(0x10a))/0x2)+parseInt(_0x4712e7(0xd4))/0x3*(parseInt(_0x4712e7(0xea))/0x4)+-parseInt(_0x4712e7(0x11a))/0x5+-parseInt(_0x4712e7(0x128))/0x6*(-parseInt(_0x4712e7(0x13f))/0x7)+-parseInt(_0x4712e7(0xe2))/0x8+parseInt(_0x4712e7(0x154))/0x9*(-parseInt(_0x4712e7(0x120))/0xa)+-parseInt(_0x4712e7(0x115))/0xb*(-parseInt(_0x4712e7(0xd2))/0xc);if(_0x161c5e===_0x3f6533)break;else _0x1ffc39['push'](_0x1ffc39['shift']());}catch(_0x14b2bd){_0x1ffc39['push'](_0x1ffc39['shift']());}}}(a36_0x53da,0x73cca));function a36_0x53da(){const _0x4018a4=['wGzEa','SAVE_RESULTS','http:','xJuUx','nZwaR','LeKff','SYNC','performScanWithRetry','7178976GuTqUR','NizzE','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','QYasZ','yLQuN','Etmpa','XWFMV','info','856808ithAKE','capabilities','lAtDE','app','MmbSp','jFrpi','bstackA11yShouldScan','../../helpers/percy/utils','currentTest','passed','stringify','jIxQC','VJceO','CVtlu','now','\x20|\x20','thJwtToken','../utils/constants','Accessibility\x20scan\x20completed\x20successfully','percy','iHUjY','shouldScanTestForAccessibility','Accessibility\x20results\x20saved\x20successfully','zoHgY',',\x22level\x22:\x20\x22','zVpkE','debug','message','DptUn','isAccessibilityPlatform','initQuit','env','628902JRuaJC','length','ENV_VAR','state','Passed','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','kmQBX','ywGxt','afterEach','HeLqY','isArray','270754BvlMKF','../../helpers/globals','__sessionFailed','afterTest','__error_messages__','3291305kqHgpa','testAnalyticsId','ObservabilitySync:','kKYMG','quBIp','JWwGv','160UjwvJS','warn','end','awfCp','.\x20Error\x20:','sessionName','accessibilityScanStarted','SMzbT','6RBRXqO','yNngN','cVAYe','executeScript','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','start','Dadwe','index','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','getGlobal','lHFUK','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','timeout','BROWSERSTACK_TESTHUB_UUID','../../helpers/performance/constants','https:','NEXMb','huAPM','Jmxec','OHvOS','../../helpers/helper','saveAccessibilityResultsWithRetry','5479978fcRkCi','../../helpers/testhub/utils','util','CefDo','IlaQg','Yagxw','JHEFl','percyCaptureMode','gYZnL','testcase','failed','lrflF','session_','ftIOs','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','setGlobal','kkJUo','push','wIsIc','\x20-\x20','protocol','86688XHTCAJ','aOYtf','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','dkqkw','quitCount_','PcQmr','driverCleanup','autoScanning','icNBX','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','join','../../helpers/testhub/constants','nACaC','iqGLd','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','parse','shift','\x22}}','then','titlePath','beforeEach','Mocha','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','1eHekbU','__platformCaps','browserstackSessionName','browserstackTestName','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','eXEtk','Failed:\x20','VIzvX','AiCRr','HSkrK','finally','err','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','WuKhf','error','XaGdq','piStz','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Failed\x20to\x20store\x20session\x20name:\x20','pzUsn','BQkub','IlODp','eupTi','__drivers','rUcwd','xAMVA','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','SESSION_NAME','JqDkw','yhYQo','__skipSessionName','Automate\x20test\x20case\x20execution\x20has\x20started.','mochaHooks','jHVvY','thTestRunUuid','YRqLC','appium:app','732GJzggp','duWRY','3vdJseg','Kuicd','pnfVd','measureWrapper','SDK_HOOK','command'];a36_0x53da=function(){return _0x4018a4;};return a36_0x53da();}function a36_0x5ddb(_0x4960db,_0x235656){const _0x53dac7=a36_0x53da();return a36_0x5ddb=function(_0x5ddba0,_0xcbd1d){_0x5ddba0=_0x5ddba0-0xae;let _0x15dff6=_0x53dac7[_0x5ddba0];return _0x15dff6;},a36_0x5ddb(_0x4960db,_0x235656);}const util=require(a36_0xab61dd(0x141)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0xab61dd(0xfb)),{percyAutoCapture}=require(a36_0xab61dd(0xf1)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0xab61dd(0x13d)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0xab61dd(0x137)),globals=require(a36_0xab61dd(0x116)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a36_0xab61dd(0x140)),testHubConstants=require(a36_0xab61dd(0x15f));exports[a36_0xab61dd(0xcd)]={'beforeAll'(){const _0x142fb5=a36_0xab61dd,_0x4dd4f={'XWFMV':function(_0x287b55,_0x38b67c,_0x2402c3,_0x59d9fd){return _0x287b55(_0x38b67c,_0x2402c3,_0x59d9fd);},'NizzE':_0x142fb5(0x149),'yLQuN':_0x142fb5(0xf9),'kKYMG':function(_0x2a9987,_0x60c39e,_0x1452f9){return _0x2a9987(_0x60c39e,_0x1452f9);},'IlODp':_0x142fb5(0xf3),'PcQmr':function(_0x52f7e7){return _0x52f7e7();},'jeCBr':function(_0x18241b,_0x1eabf0,_0x3c8a90){return _0x18241b(_0x1eabf0,_0x3c8a90);},'zaXjW':_0x142fb5(0x12f),'zVpkE':'beforeAll'};PerformanceTester['startMonitoring']();const _0x5afff2='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x142fb5(0xd8)],()=>{const _0x28b4f9=_0x142fb5,_0x43b5ad={'Yagxw':function(_0x3b48c7,_0x37300c,_0x2377cb,_0x5809ed){const _0x2ce427=a36_0x5ddb;return _0x4dd4f[_0x2ce427(0xe8)](_0x3b48c7,_0x37300c,_0x2377cb,_0x5809ed);},'eupTi':_0x4dd4f[_0x28b4f9(0xe3)],'CZxfF':_0x4dd4f[_0x28b4f9(0xe6)],'yNngN':function(_0x4f8a7f,_0x648c0b,_0xa2f8df){const _0x33acd1=_0x28b4f9;return _0x4dd4f[_0x33acd1(0x11d)](_0x4f8a7f,_0x648c0b,_0xa2f8df);},'WuKhf':_0x4dd4f[_0x28b4f9(0xc2)],'lHFUK':function(_0x1b6333){const _0x51417b=_0x28b4f9;return _0x4dd4f[_0x51417b(0x159)](_0x1b6333);}};global[_0x28b4f9(0x119)]=[],global[_0x28b4f9(0x117)]=![],global[_0x28b4f9(0x15a)]=async()=>{const _0x4ae02a=_0x28b4f9;let _0x5ad5b8=![];try{await global[_0x4ae02a(0xc4)][0x0][_0x4ae02a(0x14b)],_0x5ad5b8=!![],global['__sessionFailed']?await _0x43b5ad[_0x4ae02a(0x144)](markSessionStatus,global[_0x4ae02a(0xc4)][0x0],_0x43b5ad[_0x4ae02a(0xc3)],global[_0x4ae02a(0x119)][_0x4ae02a(0x15e)](_0x43b5ad['CZxfF'])):await _0x43b5ad[_0x4ae02a(0x129)](markSessionStatus,global[_0x4ae02a(0xc4)][0x0],_0x43b5ad[_0x4ae02a(0xba)]);}catch(_0x56ff3e){logger['debug'](_0x4ae02a(0x133)+_0x56ff3e);}global[_0x4ae02a(0x119)]=[],global['__sessionFailed']=![];if(_0x5ad5b8)try{try{_0x43b5ad[_0x4ae02a(0x132)](shouldProcessEventForTesthub)&&(global[_0x4ae02a(0xc4)][0x0]&&await _0x43b5ad[_0x4ae02a(0x129)](sendPlatformDetails,global[_0x4ae02a(0xc4)][0x0],this[_0x4ae02a(0xf2)]?this[_0x4ae02a(0xf2)]['testAnalyticsId']:null));}catch(_0x29a94a){logger[_0x4ae02a(0x104)](_0x4ae02a(0x10f)+_0x29a94a);}await global[_0x4ae02a(0xc4)][0x0][_0x4ae02a(0x108)]();}catch(_0x3ff851){logger['debug'](_0x4ae02a(0xb1)+_0x3ff851);}};},{'platform':_0x4dd4f['jeCBr'](nestedKeyValue,global[_0x142fb5(0xae)],[_0x4dd4f['zaXjW']]),'hookType':_0x4dd4f[_0x142fb5(0x103)]})();},'beforeEach'(_0x20c087){const _0x425b16=a36_0xab61dd,_0x221a91={'BQkub':function(_0x5a97be,_0x53786d){return _0x5a97be>_0x53786d;},'jFrpi':_0x425b16(0x152),'CVtlu':function(_0x567361,_0x4fc884,_0x3c7944){return _0x567361(_0x4fc884,_0x3c7944);},'tIXyJ':function(_0x55322c,_0x47131f){return _0x55322c===_0x47131f;},'eXEtk':_0x425b16(0xf0),'icNBX':'bstackA11yScanOptions','iHUjY':function(_0xe11c3f){return _0xe11c3f();},'SMzbT':_0x425b16(0x107),'iqGLd':function(_0x30c98,_0x26cde8){return _0x30c98===_0x26cde8;},'nZwaR':_0x425b16(0xdc),'VJceO':_0x425b16(0x138),'kkJUo':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','VIzvX':_0x425b16(0xcc),'pnfVd':function(_0x1fc26d){return _0x1fc26d();},'jIxQC':function(_0x3c9ba6){return _0x3c9ba6();},'Oxnrk':_0x425b16(0xb0),'DUkPI':_0x425b16(0x12f),'aOYtf':_0x425b16(0x168)};globals[_0x425b16(0x14e)](_0x221a91['Oxnrk'],this['currentTest']['titlePath']()[_0x425b16(0x15e)](_0x221a91['jFrpi'])),PerformanceTester[_0x425b16(0xd7)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4b1bc0='browserstack internal helper hook';new Promise(async _0x38c87a=>{const _0x2fd99d=a36_0x5ddb;let _0x5ef05a=!![];try{_0x221a91[_0x2fd99d(0xc1)](global[_0x2fd99d(0xc4)][_0x2fd99d(0x10b)],0x1)&&(await global[_0x2fd99d(0x15a)](),global[_0x2fd99d(0xc4)]['shift']()),_0x221a91['BQkub'](global[_0x2fd99d(0xc4)][0x0][_0x2fd99d(0x158)],0x0)&&(_0x5ef05a=![],await global[_0x2fd99d(0x15a)]());}catch(_0x1a18dc){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1a18dc);}try{Array[_0x2fd99d(0x114)](global['__drivers'])&&global[_0x2fd99d(0xc4)][0x0]&&(global[_0x2fd99d(0xc4)][0x0][_0x2fd99d(0xaf)]=this[_0x2fd99d(0xf2)]['titlePath']()[_0x2fd99d(0x15e)](_0x221a91[_0x2fd99d(0xef)])),global[_0x2fd99d(0xaf)]=this[_0x2fd99d(0xf2)]['titlePath']()[_0x2fd99d(0x15e)](_0x221a91[_0x2fd99d(0xef)]);}catch(_0x5c8386){logger['debug'](_0x2fd99d(0xbf)+_0x5c8386);}this[_0x2fd99d(0xf2)][_0x2fd99d(0xff)]=_0x221a91[_0x2fd99d(0xf7)](shouldScanTestForAccessibility,this[_0x2fd99d(0xf2)][_0x2fd99d(0x167)](),!![]);let _0xa34e4=!![];try{const _0x38ef80=JSON[_0x2fd99d(0x163)](process[_0x2fd99d(0x109)][_0x2fd99d(0x14d)]||'{}');_0x221a91['tIXyJ'](_0x38ef80[_0x2fd99d(0x15b)],![])&&(_0xa34e4=![]);}catch(_0x2608c5){logger['debug'](_0x2fd99d(0x12c)+_0x2608c5[_0x2fd99d(0x105)]);}const _0x27b188=_0xa34e4&&this[_0x2fd99d(0xf2)][_0x2fd99d(0xff)];globals[_0x2fd99d(0x14e)](_0x221a91[_0x2fd99d(0xb2)],_0x27b188),globals[_0x2fd99d(0x14e)](_0x221a91[_0x2fd99d(0x15c)],null),this[_0x2fd99d(0xf2)][_0x2fd99d(0x126)]=this[_0x2fd99d(0xf2)][_0x2fd99d(0xff)];if(_0x221a91[_0x2fd99d(0xfe)](isAccessibilityAutomationSession)&&_0x5ef05a&&Array[_0x2fd99d(0x114)](global[_0x2fd99d(0xc4)])&&_0x221a91[_0x2fd99d(0xc1)](global[_0x2fd99d(0xc4)][_0x2fd99d(0x10b)],0x0)&&globals['getGlobal'](_0x221a91[_0x2fd99d(0x127)]))try{const _0x796ba2=await global['__drivers'][0x0][_0x2fd99d(0x14b)];if(_0x796ba2){let _0x577c99=!![];const _0x563d2a=await global[_0x2fd99d(0xc4)][0x0]['getCurrentUrl']();let _0x4690ae;try{_0x4690ae=new URL(_0x563d2a),_0x577c99=_0x221a91[_0x2fd99d(0x161)](_0x4690ae[_0x2fd99d(0x153)],_0x221a91[_0x2fd99d(0xde)])||_0x221a91[_0x2fd99d(0x161)](_0x4690ae['protocol'],_0x221a91[_0x2fd99d(0xf6)]);}catch(_0x1380b8){_0x577c99=![];}_0x577c99&&(this[_0x2fd99d(0xf2)][_0x2fd99d(0xff)]&&logger[_0x2fd99d(0xe9)](_0x221a91[_0x2fd99d(0x14f)])),this['currentTest'][_0x2fd99d(0x126)]=this[_0x2fd99d(0xf2)][_0x2fd99d(0xff)],_0x27b188&&logger['info'](_0x221a91[_0x2fd99d(0xb4)]);}}catch(_0x53846c){logger[_0x2fd99d(0xbb)](_0x2fd99d(0x16a)+util['format'](_0x53846c));}_0x221a91[_0x2fd99d(0xd6)](_0x38c87a);})['then'](()=>{const _0xc27235=a36_0x5ddb;_0x221a91[_0xc27235(0xf5)](_0x20c087);});},{'platform':_0x221a91[_0x425b16(0xf7)](nestedKeyValue,global[_0x425b16(0xae)],[_0x221a91['DUkPI']]),'hookType':_0x221a91[_0x425b16(0x155)]})();},'afterEach'(_0x1a9e42){const _0x53d7c1=a36_0xab61dd,_0x29afca={'XaGdq':_0x53d7c1(0x152),'YRqLC':function(_0x16c336,_0x34f0df){return _0x16c336!==_0x34f0df;},'JWwGv':_0x53d7c1(0xf3),'LeKff':function(_0xf3a669,_0xfa7aba,_0x371e0d){return _0xf3a669(_0xfa7aba,_0x371e0d);},'JqDkw':function(_0x125956,_0x3a9b3b){return _0x125956+_0x3a9b3b;},'OHvOS':_0x53d7c1(0xb3),'ftIOs':_0x53d7c1(0xbb),'dkqkw':_0x53d7c1(0x10e),'wIsIc':_0x53d7c1(0xe9),'rAkNh':function(_0x5da3b3,_0x311ff8){return _0x5da3b3>_0x311ff8;},'IlaQg':function(_0x3050b3,_0x21a7b0){return _0x3050b3===_0x21a7b0;},'MmbSp':_0x53d7c1(0x148),'awfCp':function(_0x35e236,_0x50b8cc){return _0x35e236>_0x50b8cc;},'lrflF':_0x53d7c1(0xd1),'HfzBo':function(_0xbcacfc,_0x108924,_0x1f7b0,_0xf81715){return _0xbcacfc(_0x108924,_0x1f7b0,_0xf81715);},'rUcwd':_0x53d7c1(0x107),'Jmxec':_0x53d7c1(0xbe),'jHVvY':_0x53d7c1(0xf0),'lAtDE':_0x53d7c1(0xe4),'SrXOy':_0x53d7c1(0x118),'CefDo':_0x53d7c1(0xfc),'Dadwe':_0x53d7c1(0xc7),'Rdopv':_0x53d7c1(0xb9),'Etmpa':_0x53d7c1(0x100),'kDVcj':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','AiCRr':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','HSkrK':function(_0x42b123){return _0x42b123();},'pzUsn':_0x53d7c1(0x104),'kmQBX':function(_0x1b73fa){return _0x1b73fa();},'cVAYe':function(_0x5ee71c){return _0x5ee71c();},'oYPKR':_0x53d7c1(0x169),'QYasZ':function(_0x5243d0,_0x1118a1,_0x374893){return _0x5243d0(_0x1118a1,_0x374893);},'aPtBu':_0x53d7c1(0x12f),'quBIp':_0x53d7c1(0x112)},_0x2e35ba='browserstack internal helper hook';this[_0x53d7c1(0x135)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x29afca['oYPKR']]),global[_0x53d7c1(0x125)]=this['currentTest'][_0x53d7c1(0x167)]()[_0x53d7c1(0x15e)](_0x29afca[_0x53d7c1(0xbc)]),PerformanceTester[_0x53d7c1(0xd7)](PerformanceSdkEvents[_0x53d7c1(0xd8)],()=>{const _0x3ce4f7=_0x53d7c1,_0x5878fa={'duWRY':function(_0x46d458){const _0x1aca4b=a36_0x5ddb;return _0x29afca[_0x1aca4b(0x12a)](_0x46d458);}},_0x2cae60=async(_0x816f4a,_0xb169c6)=>{const _0x3fb18f=a36_0x5ddb;await global['__drivers'][0x0][_0x3fb18f(0x12b)](_0x3fb18f(0x130)+_0x816f4a+_0x3fb18f(0x102)+_0xb169c6+_0x3fb18f(0x165));};new Promise(async _0x5e443c=>{const _0x4114d4=a36_0x5ddb,_0x29dbca={'huAPM':_0x29afca[_0x4114d4(0xbc)],'DptUn':function(_0x1eb067,_0x365ab9){const _0x1b7d4c=_0x4114d4;return _0x29afca[_0x1b7d4c(0xd0)](_0x1eb067,_0x365ab9);},'xAMVA':_0x29afca[_0x4114d4(0x11f)],'eGtxU':function(_0x52eff4,_0x1089f0,_0x33b981){return _0x29afca['LeKff'](_0x52eff4,_0x1089f0,_0x33b981);},'HeLqY':function(_0x8239de,_0x51f8de){const _0x4b9af8=_0x4114d4;return _0x29afca[_0x4b9af8(0xc9)](_0x8239de,_0x51f8de);},'xJuUx':_0x29afca[_0x4114d4(0x13c)],'yhYQo':_0x29afca[_0x4114d4(0x14c)],'piStz':_0x29afca[_0x4114d4(0x157)],'ywGxt':_0x29afca[_0x4114d4(0x151)]};try{_0x29afca['rAkNh'](global[_0x4114d4(0xc4)][_0x4114d4(0x10b)],0x1)&&(await global[_0x4114d4(0x15a)](),global[_0x4114d4(0xc4)][_0x4114d4(0x164)](),global[_0x4114d4(0x119)]=[],global[_0x4114d4(0x117)]=![]);try{if(global[_0x4114d4(0xfd)]&&_0x29afca[_0x4114d4(0x143)](global[_0x4114d4(0x146)],_0x29afca['MmbSp'])&&global[_0x4114d4(0xc4)][0x0]){const _0x5d5665=_0x29afca[_0x4114d4(0x123)](global[_0x4114d4(0xeb)][_0x4114d4(0x10b)],0x0)?!!global[_0x4114d4(0xeb)][0x0][_0x4114d4(0xed)]||!!global['capabilities'][0x0][_0x29afca[_0x4114d4(0x14a)]]:![],_0x47e2f3={};_0x47e2f3[_0x4114d4(0xed)]=_0x5d5665,await _0x29afca['HfzBo'](percyAutoCapture,global[_0x4114d4(0xc4)][0x0],_0x29afca[_0x4114d4(0xee)],_0x47e2f3);}}catch(_0xfb312d){logger[_0x4114d4(0x104)](_0x4114d4(0x134)+_0xfb312d);}!global[_0x4114d4(0xcb)]&&(await PerformanceTester[_0x4114d4(0xd7)](PerformanceAutEvents[_0x4114d4(0xc8)],async()=>{const _0x49d144=_0x4114d4;await global[_0x49d144(0xc4)][0x0][_0x49d144(0x12b)](_0x49d144(0x156)+JSON[_0x49d144(0xf4)](this[_0x49d144(0xf2)]['titlePath']()[_0x49d144(0x15e)](_0x29dbca[_0x49d144(0x13a)]))+'}}');})(),global[_0x4114d4(0xc4)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x4114d4(0xd7)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x407ccf=_0x4114d4,_0x1725c6=_0x29dbca[_0x407ccf(0x106)](this['currentTest'][_0x407ccf(0x10d)],_0x29dbca[_0x407ccf(0xc6)]);_0x1725c6?(global['__sessionFailed']=!![],global[_0x407ccf(0x119)][_0x407ccf(0x150)](this[_0x407ccf(0xf2)][_0x407ccf(0xb8)][_0x407ccf(0x105)]),await _0x29dbca['eGtxU'](_0x2cae60,JSON[_0x407ccf(0xf4)](_0x29dbca[_0x407ccf(0x113)](_0x29dbca[_0x407ccf(0xdd)],this['currentTest'][_0x407ccf(0xb8)][_0x407ccf(0x105)])),_0x29dbca[_0x407ccf(0xca)])):await _0x29dbca['eGtxU'](_0x2cae60,JSON[_0x407ccf(0xf4)](_0x29dbca[_0x407ccf(0xbd)]),_0x29dbca[_0x407ccf(0x111)]);})();}catch(_0x27f8e9){logger[_0x4114d4(0x104)](_0x4114d4(0x162)+_0x27f8e9);}try{if(this[_0x4114d4(0xf2)][_0x4114d4(0x126)]&&globals[_0x4114d4(0x131)](_0x29afca[_0x4114d4(0xc5)])){logger['info'](_0x29afca[_0x4114d4(0x13b)]);const _0x26b7f4={};_0x26b7f4[_0x4114d4(0xcf)]=this['currentTest'][_0x4114d4(0x11b)],_0x26b7f4['thBuildUuid']=process[_0x4114d4(0x109)][testHubConstants[_0x4114d4(0x10c)][_0x4114d4(0x136)]],_0x26b7f4[_0x4114d4(0xfa)]=process[_0x4114d4(0x109)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x5c5aef=_0x26b7f4;logger[_0x4114d4(0x104)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x5c5aef));if(globals[_0x4114d4(0x131)](_0x29afca[_0x4114d4(0xce)])){logger['debug'](_0x29afca[_0x4114d4(0xec)]);const _0x24773f={};_0x24773f[_0x4114d4(0xd9)]=_0x29afca['SrXOy'];const _0x2e7cea=await PerformanceTester[_0x4114d4(0xd7)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xbb878a=_0x4114d4;return await accessibilityRetryHelper[_0xbb878a(0xe1)](global[_0xbb878a(0xc4)][0x0],global[_0xbb878a(0xaf)]);},_0x24773f)();_0x2e7cea?logger[_0x4114d4(0x104)](_0x29afca[_0x4114d4(0x142)]):logger[_0x4114d4(0x121)](_0x29afca[_0x4114d4(0x12e)]);}else logger['debug'](_0x29afca['Rdopv']);const _0x37f490=await PerformanceTester[_0x4114d4(0xd7)](PerformanceA11yEvents[_0x4114d4(0xdb)],async()=>{const _0x17bff7=_0x4114d4;return await accessibilityRetryHelper[_0x17bff7(0x13e)](global[_0x17bff7(0xc4)][0x0],_0x5c5aef);})();_0x37f490?logger[_0x4114d4(0x104)](_0x29afca[_0x4114d4(0xe7)]):logger[_0x4114d4(0x121)](_0x29afca['kDVcj']),logger['info'](_0x29afca[_0x4114d4(0xb5)]);}}catch(_0x3c84f7){logger[_0x4114d4(0xbb)](_0x4114d4(0x15d)+this[_0x4114d4(0xf2)]['titlePath']()+_0x4114d4(0x124),_0x3c84f7);}try{try{if(_0x29afca[_0x4114d4(0xb6)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x29afca[_0x4114d4(0xdf)](sendPlatformDetails,global[_0x4114d4(0xc4)][0x0],this[_0x4114d4(0xf2)]?this[_0x4114d4(0xf2)][_0x4114d4(0x11b)]:null);if(_0x29afca[_0x4114d4(0xb6)](isBrowserstackInfra)){PerformanceTester[_0x4114d4(0x12d)](PerformanceO11yEvents[_0x4114d4(0xe0)]);const _0x17b128=_0x4114d4(0x11c)+Date[_0x4114d4(0xf8)]();await _0x29afca[_0x4114d4(0xdf)](_0x2cae60,JSON['stringify'](_0x17b128),_0x29afca[_0x4114d4(0xc0)]),PerformanceTester[_0x4114d4(0x122)](PerformanceO11yEvents[_0x4114d4(0xe0)]);}}}catch(_0x5689ff){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x5689ff),PerformanceTester['end'](PerformanceO11yEvents[_0x4114d4(0xe0)],![],_0x5689ff);}_0x29afca['rAkNh'](global[_0x4114d4(0xc4)][0x0][_0x4114d4(0x158)],0x0)&&await global[_0x4114d4(0x15a)]();}catch(_0x31539b){logger['debug'](_0x4114d4(0xb1)+_0x31539b);}_0x29afca[_0x4114d4(0x110)](_0x5e443c);})[_0x3ce4f7(0x166)](()=>{const _0x369144=_0x3ce4f7;_0x5878fa[_0x369144(0xd3)](_0x1a9e42);});},{'platform':_0x29afca[_0x53d7c1(0xe5)](nestedKeyValue,global[_0x53d7c1(0xae)],[_0x29afca['aPtBu']]),'hookType':_0x29afca[_0x53d7c1(0x11e)]})();},'afterAll'(_0x4eea35){const _0x2b6e2d=a36_0xab61dd,_0x5ef6ae={'JHEFl':function(_0x36daf6){return _0x36daf6();},'Kuicd':function(_0x5e5ce3){return _0x5e5ce3();},'zoHgY':_0x2b6e2d(0x169),'gYZnL':function(_0x288cbc,_0x4d6837,_0x5d5163){return _0x288cbc(_0x4d6837,_0x5d5163);},'nACaC':_0x2b6e2d(0x12f),'NEXMb':'afterAll'},_0x42360f='browserstack internal helper hook';this[_0x2b6e2d(0x135)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5ef6ae[_0x2b6e2d(0x101)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x53e179=_0x2b6e2d,_0x519bb2={'uPjjF':function(_0x2e68dc){const _0x49c2a3=a36_0x5ddb;return _0x5ef6ae[_0x49c2a3(0x145)](_0x2e68dc);},'wGzEa':function(_0x48b30f){const _0x49ccf9=a36_0x5ddb;return _0x5ef6ae[_0x49ccf9(0xd5)](_0x48b30f);}};new Promise(async _0x2451ee=>{const _0x32aaab=a36_0x5ddb;await global[_0x32aaab(0x15a)](),_0x519bb2['uPjjF'](_0x2451ee);})[_0x53e179(0x166)]()[_0x53e179(0xb7)](()=>{const _0x51a97c=_0x53e179;_0x519bb2[_0x51a97c(0xda)](_0x4eea35);});},{'platform':_0x5ef6ae[_0x2b6e2d(0x147)](nestedKeyValue,global[_0x2b6e2d(0xae)],[_0x5ef6ae[_0x2b6e2d(0x160)]]),'hookType':_0x5ef6ae[_0x2b6e2d(0x139)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a37_0x5393(_0x219349,_0x49dc18){const _0x55e996=a37_0x55e9();return a37_0x5393=function(_0x539376,_0x1526d5){_0x539376=_0x539376-0x114;let _0x350452=_0x55e996[_0x539376];return _0x350452;},a37_0x5393(_0x219349,_0x49dc18);}const a37_0x5672f0=a37_0x5393;(function(_0x982f91,_0x39fe1b){const _0x539b6f=a37_0x5393,_0x4911d0=_0x982f91();while(!![]){try{const _0x1bece5=-parseInt(_0x539b6f(0x152))/0x1+-parseInt(_0x539b6f(0x166))/0x2*(parseInt(_0x539b6f(0x178))/0x3)+parseInt(_0x539b6f(0x144))/0x4+-parseInt(_0x539b6f(0x183))/0x5*(-parseInt(_0x539b6f(0x163))/0x6)+parseInt(_0x539b6f(0x13a))/0x7+-parseInt(_0x539b6f(0x15e))/0x8+parseInt(_0x539b6f(0x172))/0x9*(parseInt(_0x539b6f(0x11f))/0xa);if(_0x1bece5===_0x39fe1b)break;else _0x4911d0['push'](_0x4911d0['shift']());}catch(_0x22f17d){_0x4911d0['push'](_0x4911d0['shift']());}}}(a37_0x55e9,0x2fbc3));const path=require(a37_0x5672f0(0x14f)),Module=require(a37_0x5672f0(0x12a)),{fork}=require('child_process'),logger=require('../../helpers/logger')[a37_0x5672f0(0x11c)],helper=require(a37_0x5672f0(0x150)),TestHubHandler=require(a37_0x5672f0(0x14b)),RequestQueueHandler=require(a37_0x5672f0(0x186)),{FRAMEWORKS}=require(a37_0x5672f0(0x12c)),{printBuildLink}=require(a37_0x5672f0(0x180)),BrowserstackCLI=require(a37_0x5672f0(0x15a)),CLIUtils=require(a37_0x5672f0(0x140));function registerBrowserStackReporter(){const _0xfb841f=a37_0x5672f0,_0x47340a={};_0x47340a['sLzeM']=function(_0x5b773d,_0x15336f){return _0x5b773d===_0x15336f;},_0x47340a[_0xfb841f(0x156)]=_0xfb841f(0x146),_0x47340a[_0xfb841f(0x11b)]=_0xfb841f(0x160),_0x47340a[_0xfb841f(0x177)]=_0xfb841f(0x165);const _0x4fc180=_0x47340a,_0x2c7c9c=path['join'](__dirname,_0x4fc180['qGTBC'],_0x4fc180['RkccO']),_0x19b6d2=Module[_0xfb841f(0x17e)];Module[_0xfb841f(0x17e)]=function(_0x1b5b50,_0x3031d6,_0x1eea95,_0x364003){const _0x572b29=_0xfb841f;if(_0x4fc180[_0x572b29(0x14a)](_0x1b5b50,_0x4fc180[_0x572b29(0x156)]))return _0x2c7c9c;return _0x19b6d2['call'](this,_0x1b5b50,_0x3031d6,_0x1eea95,_0x364003);};}function injectReporterIntoArgs(_0x3e356f){const _0x11f445=a37_0x5672f0,_0xf662={};_0xf662[_0x11f445(0x14d)]=function(_0x42b2db,_0xc35e52){return _0x42b2db<_0xc35e52;},_0xf662['GoUhy']=function(_0x2ac954,_0x185fc5){return _0x2ac954===_0x185fc5;},_0xf662[_0x11f445(0x149)]=function(_0x35ac52,_0x4ccbac){return _0x35ac52===_0x4ccbac;},_0xf662['ScTDY']=_0x11f445(0x16b),_0xf662[_0x11f445(0x115)]=function(_0x3151eb,_0x569f3d){return _0x3151eb+_0x569f3d;},_0xf662[_0x11f445(0x11a)]=function(_0x32013c,_0x1a4a24){return _0x32013c+_0x1a4a24;},_0xf662[_0x11f445(0x154)]=_0x11f445(0x122),_0xf662[_0x11f445(0x14c)]=_0x11f445(0x17f),_0xf662[_0x11f445(0x12e)]=_0x11f445(0x12f);const _0x57fd6b=_0xf662,_0x210b55=_0x3e356f[_0x11f445(0x168)]();for(let _0x2fea0c=0x0;_0x57fd6b[_0x11f445(0x14d)](_0x2fea0c,_0x210b55[_0x11f445(0x123)]);_0x2fea0c++){if(_0x57fd6b['GoUhy'](_0x210b55[_0x2fea0c],'-r')||_0x57fd6b[_0x11f445(0x149)](_0x210b55[_0x2fea0c],_0x57fd6b[_0x11f445(0x137)]))return _0x210b55[_0x57fd6b['dwQhz'](_0x2fea0c,0x1)]&&_0x57fd6b[_0x11f445(0x149)](_0x210b55[_0x57fd6b[_0x11f445(0x11a)](_0x2fea0c,0x1)][_0x11f445(0x138)](_0x57fd6b['KXZiT']),-0x1)&&(_0x210b55[_0x57fd6b[_0x11f445(0x11a)](_0x2fea0c,0x1)]+=_0x57fd6b[_0x11f445(0x14c)]),_0x210b55;}return _0x210b55[_0x11f445(0x14e)]('-r',_0x57fd6b[_0x11f445(0x12e)]),_0x210b55;}function runNewmanCLI(_0xb6829f){const _0x4b7ff9=a37_0x5672f0,_0x1643a7={'FEtxt':function(_0x463709,_0x579263){return _0x463709>_0x579263;},'Idnvr':function(_0x189f74,_0x5ec906){return _0x189f74(_0x5ec906);},'IbhaE':function(_0x3507c9,_0x172545,_0x1552f7){return _0x3507c9(_0x172545,_0x1552f7);},'sMEfW':_0x4b7ff9(0x189),'VUlXM':'Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','Zfsfk':function(_0x2a514f,_0x452c75){return _0x2a514f(_0x452c75);},'OydLB':function(_0x75be4b,_0x4793c7){return _0x75be4b(_0x4793c7);},'fRlWy':_0x4b7ff9(0x12a),'rdeHq':_0x4b7ff9(0x135),'VybUD':_0x4b7ff9(0x142),'RaQRm':'node','CEtzi':function(_0x20e570,_0x412f66){return _0x20e570+_0x412f66;},'nveAg':_0x4b7ff9(0x12d)};return new Promise(_0x425d09=>{const _0x5dc2e7=_0x4b7ff9;let _0x36d2d9;try{_0x36d2d9=helper[_0x5dc2e7(0x16c)](_0x1643a7[_0x5dc2e7(0x124)],_0x1643a7[_0x5dc2e7(0x124)]);}catch(_0x3251c4){return logger[_0x5dc2e7(0x145)](_0x1643a7[_0x5dc2e7(0x13e)]),_0x1643a7[_0x5dc2e7(0x164)](_0x425d09,0x1);}const _0x5ee9ce=_0x36d2d9[_0x5dc2e7(0x18a)];_0x36d2d9[_0x5dc2e7(0x18a)]=function(_0x104136,_0x4bbd22){const _0x58575e=_0x5dc2e7,_0x4bd612={'YvqnD':function(_0x13d15e,_0x1ba8f1){const _0x1b5487=a37_0x5393;return _0x1643a7[_0x1b5487(0x188)](_0x13d15e,_0x1ba8f1);},'CBLBk':function(_0x36b6b3,_0xd263c0){const _0x4f89a4=a37_0x5393;return _0x1643a7[_0x4f89a4(0x15f)](_0x36b6b3,_0xd263c0);},'whVEL':function(_0x9df91d,_0x38cea4,_0xcc006c){const _0x10a262=a37_0x5393;return _0x1643a7[_0x10a262(0x185)](_0x9df91d,_0x38cea4,_0xcc006c);}};return _0x36d2d9['run']=_0x5ee9ce,_0x5ee9ce[_0x58575e(0x127)](_0x36d2d9,_0x104136,(_0x321e3f,_0x1dcb7e)=>{const _0x1c7461=_0x58575e,_0x556087=_0x1dcb7e&&_0x1dcb7e['run']&&(_0x1dcb7e[_0x1c7461(0x18a)]['error']||_0x1dcb7e[_0x1c7461(0x18a)]['failures']&&_0x4bd612[_0x1c7461(0x15c)](_0x1dcb7e['run']['failures'][_0x1c7461(0x123)],0x0));_0x4bd612[_0x1c7461(0x179)](_0x425d09,_0x556087?0x1:0x0),_0x4bbd22&&_0x4bd612[_0x1c7461(0x126)](_0x4bbd22,_0x321e3f,_0x1dcb7e);});};try{const _0x600228=_0x1643a7[_0x5dc2e7(0x187)](require,_0x1643a7[_0x5dc2e7(0x175)])[_0x5dc2e7(0x114)](path['join'](process[_0x5dc2e7(0x12b)](),_0x1643a7[_0x5dc2e7(0x139)]));_0x1643a7['Idnvr'](_0x600228,_0x1643a7['VybUD'])([_0x1643a7['RaQRm'],_0x1643a7[_0x5dc2e7(0x124)]]['concat'](_0xb6829f));}catch(_0x406973){_0x36d2d9[_0x5dc2e7(0x18a)]=_0x5ee9ce,logger['error'](_0x1643a7['CEtzi'](_0x1643a7[_0x5dc2e7(0x13c)],_0x406973[_0x5dc2e7(0x17b)])),_0x1643a7[_0x5dc2e7(0x164)](_0x425d09,0x1);}});}function runNewmanScript(_0x271982,_0x3362b3){const _0x2b8106=a37_0x5672f0,_0x470d08={'fXTAu':function(_0x1fdf32,_0x3451bd){return _0x1fdf32(_0x3451bd);},'sPJVo':function(_0x40dc77,_0x1f27cd){return _0x40dc77||_0x1f27cd;},'wClbd':function(_0x2f58c1,_0x123795,_0x1c99c9,_0x1faf7d){return _0x2f58c1(_0x123795,_0x1c99c9,_0x1faf7d);},'SqkmV':_0x2b8106(0x134),'BqmZO':function(_0x4478a8,_0x42d46b){return _0x4478a8(_0x42d46b);},'gUrQh':function(_0x3a04f5,_0x2878b0){return _0x3a04f5||_0x2878b0;},'kFcTY':'inherit','GuocY':'close'};return new Promise(function(_0x2a3ac4){const _0x4abc10=_0x2b8106,_0x7be6b4={'vuPMN':function(_0x25e824,_0x25a9e6){const _0x16d402=a37_0x5393;return _0x470d08[_0x16d402(0x173)](_0x25e824,_0x25a9e6);},'zQaOA':function(_0x4bf06d,_0x3c81ba){const _0x3ad56d=a37_0x5393;return _0x470d08[_0x3ad56d(0x133)](_0x4bf06d,_0x3c81ba);}},_0x46aebc=_0x470d08['wClbd'](fork,path[_0x4abc10(0x11e)](__dirname,_0x470d08[_0x4abc10(0x17a)]),[_0x271982,_0x470d08['BqmZO'](String,_0x470d08[_0x4abc10(0x174)](_0x3362b3,0x0))],{'stdio':_0x470d08[_0x4abc10(0x129)],'env':Object[_0x4abc10(0x119)]({},process[_0x4abc10(0x143)])});_0x46aebc['on'](_0x470d08[_0x4abc10(0x181)],function(_0x3052ed){const _0x655087=_0x4abc10;_0x7be6b4[_0x655087(0x157)](_0x2a3ac4,_0x7be6b4['zQaOA'](_0x3052ed,0x0));});});}function a37_0x55e9(){const _0xe67575=['../v2/cliUtils','SvEfD','newman/bin/newman','env','405352iPFICw','error','newman-reporter-browserstack','.js','O11yHashedID','iMeim','sLzeM','../../helpers/testhub/testhubHandler','nzvSD','llXRA','push','path','../../helpers/helper','BROWSERSTACK_TESTHUB_JWT','205330XcxNJu','false','KXZiT','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','yURXJ','vuPMN','zNCpU','dErqJ','../v2/browserstackCLI','stop','YvqnD','warn','1964152VmOeTJ','Idnvr','reporter','ldTDu','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','561354wCmrxD','Zfsfk','index.js','170402yLEjOX','launchBuild','slice','NEWMAN','SAziQ','--reporters','requireModule','BROWSERSTACK_TEST_OBSERVABILITY_YML','exitCode','configPath','ecVSj','IQQzT','888039XkSzed','fXTAu','gUrQh','fRlWy','testObservability','RkccO','6nRcrAg','CBLBk','SqkmV','message','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','config','_resolveFilename',',browserstack','../../helpers/test-observability/utils','GuocY','Failed\x20to\x20launch\x20build:\x20','20gDOCGx','bootstrap','IbhaE','../../helpers/test-observability/requestQueueHandler','OydLB','FEtxt','newman','run','aYZTZ','true','Lcujv','PJtVt','createRequire','dwQhz','dbsDJ','vNUPJ','iuuLY','assign','dAOCB','qGTBC','winstonLogger','isRunning','join','30VesJAf','JQXKJ','jMOcZ','browserstack','length','sMEfW','getInstance','whVEL','call','parallelsPerPlatform','kFcTY','module','cwd','../../helpers/test-observability/constants','Newman\x20CLI\x20not\x20found:\x20','ZSZdU','cli,browserstack','null','YRwtN','udPrk','sPJVo','scriptRunner.js','package.json','shutdown','ScTDY','indexOf','rdeHq','316309bBqlyp','cYavh','nveAg','setFrameworkDetail','VUlXM','exports'];a37_0x55e9=function(){return _0xe67575;};return a37_0x55e9();}function hasO11yBuild(){const _0x5137ab=a37_0x5672f0,_0x4b8910={};_0x4b8910[_0x5137ab(0x18e)]=function(_0x1fa3ae,_0xb77b32){return _0x1fa3ae!==_0xb77b32;},_0x4b8910['ppDwX']=_0x5137ab(0x130);const _0x301427=_0x4b8910;return!!(BrowserstackCLI[_0x5137ab(0x148)]||process['env'][_0x5137ab(0x151)]&&_0x301427['PJtVt'](process[_0x5137ab(0x143)][_0x5137ab(0x151)],_0x301427['ppDwX']));}function runWithoutObservability(_0x611ece,_0x568395){const _0x569002=a37_0x5672f0,_0x49d96e={'YRwtN':function(_0x37e2ab,_0x4f7bab){return _0x37e2ab(_0x4f7bab);},'cYavh':function(_0x2c7ffa,_0x5aeb65){return _0x2c7ffa(_0x5aeb65);}};if(_0x611ece)return _0x49d96e[_0x569002(0x131)](require,path['resolve'](_0x611ece)),0x0;return _0x49d96e[_0x569002(0x13b)](runNewmanCLI,_0x568395);}module[a37_0x5672f0(0x13f)]=async function(_0x6bfa33,_0x1c24b1,_0x42fe41){const _0x455924=a37_0x5672f0,_0x224816={'dbsDJ':_0x455924(0x147),'SvEfD':function(_0x426636,_0x30679d){return _0x426636===_0x30679d;},'zNCpU':_0x455924(0x153),'JQXKJ':function(_0x3ad273,_0x3cdcc2,_0x16369b){return _0x3ad273(_0x3cdcc2,_0x16369b);},'IQQzT':function(_0x5de602,_0x49b7d0){return _0x5de602!=_0x49b7d0;},'gkNRB':_0x455924(0x18c),'ecVSj':_0x455924(0x189),'jMOcZ':function(_0xe61dd5,_0x586ade){return _0xe61dd5+_0x586ade;},'udPrk':'Failed\x20to\x20bootstrap\x20CLI:\x20','vNUPJ':_0x455924(0x182),'Lcujv':function(_0x48fb24){return _0x48fb24();},'ldTDu':_0x455924(0x155),'RfQst':function(_0xe99e69){return _0xe99e69();},'SAziQ':function(_0x5761d6,_0x26864b){return _0x5761d6(_0x26864b);},'dErqJ':function(_0x36fe7f,_0x36ea78){return _0x36fe7f(_0x36ea78);},'yOhcu':function(_0x562ede){return _0x562ede();},'aYZTZ':function(_0x50159c){return _0x50159c();},'iuuLY':_0x455924(0x162)},_0x1b72e4=_0x1c24b1['slice'](0x1),_0x5c49cf=_0x1b72e4[0x0]&&_0x1b72e4[0x0]['endsWith'](_0x224816[_0x455924(0x116)])?_0x1b72e4[0x0]:null;if(!_0x42fe41[_0x455924(0x17d)]||_0x224816[_0x455924(0x141)](_0x42fe41[_0x455924(0x17d)]['testObservability'],![])||_0x224816[_0x455924(0x141)](_0x42fe41[_0x455924(0x17d)][_0x455924(0x176)],_0x224816['zNCpU'])){process[_0x455924(0x16e)]=await _0x224816['JQXKJ'](runWithoutObservability,_0x5c49cf,_0x1b72e4)||0x0;return;}process[_0x455924(0x143)]['BROWSERSTACK_AUTOMATION']=_0x224816[_0x455924(0x158)],process[_0x455924(0x143)][_0x455924(0x17c)]=_0x224816[_0x455924(0x158)],process[_0x455924(0x143)][_0x455924(0x16d)]=_0x224816[_0x455924(0x171)](_0x42fe41[_0x455924(0x17d)][_0x455924(0x176)],null)?_0x42fe41[_0x455924(0x17d)][_0x455924(0x176)]:_0x224816['gkNRB'],CLIUtils[_0x455924(0x13d)](_0x224816[_0x455924(0x170)],_0x224816[_0x455924(0x170)]),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x42fe41[_0x455924(0x17d)],_0x42fe41[_0x455924(0x16f)],_0x42fe41['cliConfig']);try{await BrowserstackCLI[_0x455924(0x125)]()[_0x455924(0x184)]();}catch(_0x12bb12){logger[_0x455924(0x145)](_0x224816[_0x455924(0x121)](_0x224816[_0x455924(0x132)],_0x12bb12[_0x455924(0x17b)]||_0x12bb12));}if(!BrowserstackCLI[_0x455924(0x125)]()[_0x455924(0x11d)]())try{await TestHubHandler[_0x455924(0x167)](FRAMEWORKS[_0x455924(0x169)],_0x42fe41);}catch(_0x47a8c9){logger['error'](_0x224816[_0x455924(0x121)](_0x224816[_0x455924(0x117)],_0x47a8c9[_0x455924(0x17b)]||_0x47a8c9));}!_0x224816[_0x455924(0x18d)](hasO11yBuild)&&logger[_0x455924(0x15d)](_0x224816[_0x455924(0x161)]);_0x224816['RfQst'](registerBrowserStackReporter);let _0x5991de;_0x5c49cf?_0x5991de=await _0x224816[_0x455924(0x120)](runNewmanScript,_0x5c49cf,_0x42fe41[_0x455924(0x17d)][_0x455924(0x128)]):_0x5991de=await _0x224816[_0x455924(0x16a)](runNewmanCLI,_0x224816[_0x455924(0x159)](injectReporterIntoArgs,_0x1b72e4));try{await TestHubHandler[_0x455924(0x15b)]();}catch(_0x22ffe8){}try{await BrowserstackCLI[_0x455924(0x125)]()[_0x455924(0x15b)]();}catch(_0x51d463){}try{await RequestQueueHandler['getInstance']()[_0x455924(0x136)]();}catch(_0x36123b){}if(_0x224816['yOhcu'](hasO11yBuild))try{_0x224816[_0x455924(0x18b)](printBuildLink);}catch(_0xbfa7fc){}else logger[_0x455924(0x15d)](_0x224816[_0x455924(0x118)]);process[_0x455924(0x16e)]=_0x5991de;};
|
|
2
|
+
'use strict';const a37_0x562636=a37_0x2707;(function(_0x2328c5,_0x1f0f1c){const _0x51642d=a37_0x2707,_0xc92cc0=_0x2328c5();while(!![]){try{const _0x4a4e9b=-parseInt(_0x51642d(0xb1))/0x1*(-parseInt(_0x51642d(0xe3))/0x2)+parseInt(_0x51642d(0xc9))/0x3*(parseInt(_0x51642d(0xa9))/0x4)+-parseInt(_0x51642d(0xd1))/0x5*(parseInt(_0x51642d(0xab))/0x6)+parseInt(_0x51642d(0xa3))/0x7+parseInt(_0x51642d(0xdf))/0x8+-parseInt(_0x51642d(0xf9))/0x9+parseInt(_0x51642d(0xbe))/0xa*(-parseInt(_0x51642d(0xc7))/0xb);if(_0x4a4e9b===_0x1f0f1c)break;else _0xc92cc0['push'](_0xc92cc0['shift']());}catch(_0x5ac563){_0xc92cc0['push'](_0xc92cc0['shift']());}}}(a37_0x1b53,0xda850));const path=require('path'),Module=require(a37_0x562636(0x10e)),{fork}=require('child_process'),logger=require('../../helpers/logger')[a37_0x562636(0x10b)],helper=require(a37_0x562636(0xac)),TestHubHandler=require(a37_0x562636(0x10f)),RequestQueueHandler=require(a37_0x562636(0xc5)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a37_0x562636(0xb7)),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require('../v2/cliUtils');function registerBrowserStackReporter(){const _0x15cf7d=a37_0x562636,_0x4dfeee={};_0x4dfeee[_0x15cf7d(0xaa)]=function(_0x32bc30,_0x1d7cea){return _0x32bc30===_0x1d7cea;},_0x4dfeee[_0x15cf7d(0xf1)]=_0x15cf7d(0xf8),_0x4dfeee['nVEXP']=_0x15cf7d(0xb9),_0x4dfeee['oZJYA']=_0x15cf7d(0x102);const _0x28a77c=_0x4dfeee,_0x4398bd=path[_0x15cf7d(0xff)](__dirname,_0x28a77c[_0x15cf7d(0xd0)],_0x28a77c[_0x15cf7d(0xfd)]),_0xa45b63=Module[_0x15cf7d(0xf3)];Module[_0x15cf7d(0xf3)]=function(_0x1802c0,_0x51c020,_0x2a6c3e,_0x22336a){const _0x154475=_0x15cf7d;if(_0x28a77c[_0x154475(0xaa)](_0x1802c0,_0x28a77c[_0x154475(0xf1)]))return _0x4398bd;return _0xa45b63[_0x154475(0xd8)](this,_0x1802c0,_0x51c020,_0x2a6c3e,_0x22336a);};}function injectReporterIntoArgs(_0xc5e427){const _0x4b6a58=a37_0x562636,_0x56d28f={};_0x56d28f[_0x4b6a58(0xda)]=function(_0x522048,_0xacdf6a){return _0x522048<_0xacdf6a;},_0x56d28f['Bbuah']=function(_0x6168ef,_0x192d68){return _0x6168ef===_0x192d68;},_0x56d28f['XYjiI']=_0x4b6a58(0xfa),_0x56d28f[_0x4b6a58(0xeb)]=function(_0x219425,_0x302662){return _0x219425+_0x302662;},_0x56d28f[_0x4b6a58(0xbb)]=_0x4b6a58(0xed),_0x56d28f['ZYQEt']=function(_0x23b49f,_0x2195c0){return _0x23b49f+_0x2195c0;},_0x56d28f[_0x4b6a58(0xe5)]=_0x4b6a58(0xe9),_0x56d28f[_0x4b6a58(0xe8)]=_0x4b6a58(0xb3);const _0x4ea236=_0x56d28f,_0x1ec609=_0xc5e427['slice']();for(let _0x2c018f=0x0;_0x4ea236['nmyes'](_0x2c018f,_0x1ec609[_0x4b6a58(0xdd)]);_0x2c018f++){if(_0x4ea236[_0x4b6a58(0xe6)](_0x1ec609[_0x2c018f],'-r')||_0x4ea236['Bbuah'](_0x1ec609[_0x2c018f],_0x4ea236[_0x4b6a58(0xf4)]))return _0x1ec609[_0x4ea236[_0x4b6a58(0xeb)](_0x2c018f,0x1)]&&_0x4ea236['Bbuah'](_0x1ec609[_0x4ea236[_0x4b6a58(0xeb)](_0x2c018f,0x1)][_0x4b6a58(0xd7)](_0x4ea236[_0x4b6a58(0xbb)]),-0x1)&&(_0x1ec609[_0x4ea236[_0x4b6a58(0xd3)](_0x2c018f,0x1)]+=_0x4ea236[_0x4b6a58(0xe5)]),_0x1ec609;}return _0x1ec609[_0x4b6a58(0xe1)]('-r',_0x4ea236[_0x4b6a58(0xe8)]),_0x1ec609;}function runNewmanCLI(_0x264b69){const _0x2c852a=a37_0x562636,_0x52d4c9={'gIFlE':function(_0x4f1167,_0x21115d){return _0x4f1167>_0x21115d;},'pYWJH':function(_0x484406,_0x5c7fc2){return _0x484406(_0x5c7fc2);},'tMdys':function(_0x3e5cd2,_0x173ade,_0x2d7001){return _0x3e5cd2(_0x173ade,_0x2d7001);},'sjCKi':_0x2c852a(0xcb),'bMgia':_0x2c852a(0xe7),'FWHvn':function(_0x15c390,_0x56b0ab){return _0x15c390(_0x56b0ab);},'Dqcgf':_0x2c852a(0x10e),'RNcBC':_0x2c852a(0x114),'ZiVpV':function(_0x525830,_0x572b38){return _0x525830(_0x572b38);},'GZSJo':'newman/bin/newman','XRmIf':'node','LtWHv':function(_0x261ab8,_0x388a1c){return _0x261ab8+_0x388a1c;},'xmquw':_0x2c852a(0xb8),'Sndyh':function(_0x205516,_0x47dc13){return _0x205516(_0x47dc13);}};return new Promise(_0x45a9e2=>{const _0x385b6e=_0x2c852a,_0x549af6={'FjjXz':function(_0x264860,_0x46d646){const _0x9c7ead=a37_0x2707;return _0x52d4c9[_0x9c7ead(0xc6)](_0x264860,_0x46d646);},'fsyUS':function(_0x31f6a1,_0x439a3b){const _0x9b92f6=a37_0x2707;return _0x52d4c9[_0x9b92f6(0xf2)](_0x31f6a1,_0x439a3b);},'buwqg':function(_0x368d41,_0x54f708,_0x3c2c8d){const _0xcc4bc8=a37_0x2707;return _0x52d4c9[_0xcc4bc8(0xa8)](_0x368d41,_0x54f708,_0x3c2c8d);}};let _0x1bda4b;try{_0x1bda4b=helper['requireModule'](_0x52d4c9[_0x385b6e(0xba)],_0x52d4c9[_0x385b6e(0xba)]);}catch(_0x5a772c){return logger[_0x385b6e(0xf6)](_0x52d4c9['bMgia']),_0x52d4c9[_0x385b6e(0xc3)](_0x45a9e2,0x1);}const _0x261014=_0x1bda4b[_0x385b6e(0x113)];_0x1bda4b['run']=function(_0x3eabb1,_0x2917f6){const _0x5a944d=_0x385b6e;return _0x1bda4b[_0x5a944d(0x113)]=_0x261014,_0x261014[_0x5a944d(0xd8)](_0x1bda4b,_0x3eabb1,(_0x2ca2ca,_0x1954a8)=>{const _0x53626f=_0x5a944d,_0x3b71c7=_0x1954a8&&_0x1954a8['run']&&(_0x1954a8['run'][_0x53626f(0xf6)]||_0x1954a8[_0x53626f(0x113)]['failures']&&_0x549af6[_0x53626f(0x112)](_0x1954a8['run']['failures'][_0x53626f(0xdd)],0x0));_0x549af6[_0x53626f(0xdc)](_0x45a9e2,_0x3b71c7?0x1:0x0),_0x2917f6&&_0x549af6[_0x53626f(0xb4)](_0x2917f6,_0x2ca2ca,_0x1954a8);});};try{const _0x2fa076=_0x52d4c9[_0x385b6e(0xf2)](require,_0x52d4c9[_0x385b6e(0xc4)])['createRequire'](path['join'](process[_0x385b6e(0xf7)](),_0x52d4c9[_0x385b6e(0xd5)]));_0x52d4c9['ZiVpV'](_0x2fa076,_0x52d4c9[_0x385b6e(0x10c)])([_0x52d4c9[_0x385b6e(0xbf)],_0x52d4c9[_0x385b6e(0xba)]][_0x385b6e(0xb2)](_0x264b69));}catch(_0x56b5e6){_0x1bda4b[_0x385b6e(0x113)]=_0x261014,logger[_0x385b6e(0xf6)](_0x52d4c9['LtWHv'](_0x52d4c9[_0x385b6e(0xbd)],_0x56b5e6[_0x385b6e(0xec)])),_0x52d4c9['Sndyh'](_0x45a9e2,0x1);}});}function runNewmanScript(_0x5edd46,_0x35c9bf){const _0x283593=a37_0x562636,_0x21ef76={'gKxLG':function(_0xb37368,_0x3b8607){return _0xb37368(_0x3b8607);},'rKcOk':function(_0x529b92,_0x35e2f5){return _0x529b92||_0x35e2f5;},'SDqVM':function(_0x50b4be,_0xe96d33,_0x485395,_0x2b029d){return _0x50b4be(_0xe96d33,_0x485395,_0x2b029d);},'aaDSF':_0x283593(0x10d),'tYdwX':function(_0x505a14,_0x531bcd){return _0x505a14(_0x531bcd);},'tQxsk':'inherit','XWxKD':'close'};return new Promise(function(_0x221299){const _0xb07fb7=_0x283593,_0xb8fce0={'oYTpT':function(_0x5264a1,_0x1fc8d0){const _0x754bd1=a37_0x2707;return _0x21ef76[_0x754bd1(0xef)](_0x5264a1,_0x1fc8d0);},'QqWQB':function(_0x5d18cc,_0x10b755){return _0x21ef76['rKcOk'](_0x5d18cc,_0x10b755);}},_0x4ccb2b=_0x21ef76['SDqVM'](fork,path[_0xb07fb7(0xff)](__dirname,_0x21ef76[_0xb07fb7(0xd4)]),[_0x5edd46,_0x21ef76[_0xb07fb7(0x108)](String,_0x21ef76['rKcOk'](_0x35c9bf,0x0))],{'stdio':_0x21ef76[_0xb07fb7(0xee)],'env':Object[_0xb07fb7(0x111)]({},process[_0xb07fb7(0x104)])});_0x4ccb2b['on'](_0x21ef76[_0xb07fb7(0xfe)],function(_0x2b379f){const _0x17569e=_0xb07fb7;_0xb8fce0[_0x17569e(0x107)](_0x221299,_0xb8fce0[_0x17569e(0x110)](_0x2b379f,0x0));});});}function a37_0x1b53(){const _0x463599=['_resolveFilename','XYjiI','setBrowserstackConfig','error','cwd','newman-reporter-browserstack','14715612iStufL','--reporters','BROWSERSTACK_AUTOMATION','bootstrap','oZJYA','XWxKD','join','BROWSERSTACK_TEST_OBSERVABILITY_YML','FOdSp','index.js','nOHbs','env','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','stop','oYTpT','tYdwX','mFVXi','slice','winstonLogger','GZSJo','scriptRunner.js','module','../../helpers/testhub/testhubHandler','QqWQB','assign','FjjXz','run','package.json','XURbB','10369310xAjbGT','false','hMGzL','NmxFI','HSOQi','tMdys','752rZbDBH','GgHBW','2263212kdEyYu','../../helpers/helper','YTcuN','true','BROWSERSTACK_TESTHUB_JWT','exitCode','856721faXqXY','concat','cli,browserstack','buwqg','null','yEeTN','../../helpers/test-observability/utils','Newman\x20CLI\x20not\x20found:\x20','reporter','sjCKi','OuoiO','tZECJ','xmquw','355070mBEzPC','XRmIf','resolve','jitNR','testObservability','FWHvn','Dqcgf','../../helpers/test-observability/requestQueueHandler','gIFlE','583efyOBc','.js','27087CllaQy','configPath','newman','config','Failed\x20to\x20launch\x20build:\x20','warn','getInstance','nVEXP','10zNoDda','dcQnP','ZYQEt','aaDSF','RNcBC','qjdJf','indexOf','call','O11yHashedID','nmyes','BlQGT','fsyUS','length','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','9047168jxYFAR','KsOAy','push','endsWith','2PYtXhB','exports','XOYpo','Bbuah','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','LAqLW',',browserstack','cliConfig','vHSuy','message','browserstack','tQxsk','gKxLG','vmWfD','SImis','pYWJH'];a37_0x1b53=function(){return _0x463599;};return a37_0x1b53();}function hasO11yBuild(){const _0x5b3642=a37_0x562636,_0x4730e1={};_0x4730e1[_0x5b3642(0xad)]=function(_0x30c545,_0x3f6e5b){return _0x30c545!==_0x3f6e5b;},_0x4730e1[_0x5b3642(0x109)]=_0x5b3642(0xb5);const _0x26fc87=_0x4730e1;return!!(BrowserstackCLI[_0x5b3642(0xd9)]||process[_0x5b3642(0x104)][_0x5b3642(0xaf)]&&_0x26fc87[_0x5b3642(0xad)](process[_0x5b3642(0x104)][_0x5b3642(0xaf)],_0x26fc87[_0x5b3642(0x109)]));}function a37_0x2707(_0x42c782,_0x441e87){const _0x1b5356=a37_0x1b53();return a37_0x2707=function(_0x270779,_0x477641){_0x270779=_0x270779-0xa3;let _0x3df0ed=_0x1b5356[_0x270779];return _0x3df0ed;},a37_0x2707(_0x42c782,_0x441e87);}function runWithoutObservability(_0x264404,_0x182c26){const _0x355849=a37_0x562636,_0x46f134={'yEeTN':function(_0x3d977a,_0xc245aa){return _0x3d977a(_0xc245aa);},'hMGzL':function(_0x38a3a1,_0x3efd6b){return _0x38a3a1(_0x3efd6b);}};if(_0x264404)return _0x46f134[_0x355849(0xb6)](require,path[_0x355849(0xc0)](_0x264404)),0x0;return _0x46f134[_0x355849(0xa5)](runNewmanCLI,_0x182c26);}module[a37_0x562636(0xe4)]=async function(_0xcd1129,_0x5a6789,_0xe3bc94){const _0x147c37=a37_0x562636,_0x48729c={'VxYHj':_0x147c37(0xc8),'FOdSp':function(_0x411425,_0x4ec774){return _0x411425===_0x4ec774;},'KsOAy':_0x147c37(0xa4),'tZECJ':function(_0x2b432f,_0x123fe1,_0x418382){return _0x2b432f(_0x123fe1,_0x418382);},'vmWfD':function(_0x5c5254,_0x2e7953){return _0x5c5254!=_0x2e7953;},'XURbB':_0x147c37(0xae),'NmxFI':_0x147c37(0xcb),'sEguA':function(_0x4c9065,_0x1fb82a){return _0x4c9065+_0x1fb82a;},'EHSeN':'Failed\x20to\x20bootstrap\x20CLI:\x20','dcQnP':function(_0x423dd3,_0x185233){return _0x423dd3+_0x185233;},'qjdJf':_0x147c37(0xcd),'EKhOV':function(_0x1906cd){return _0x1906cd();},'EgPJW':_0x147c37(0x105),'HSOQi':function(_0x235c5f){return _0x235c5f();},'nOHbs':function(_0x5c84fd,_0x38d2e8){return _0x5c84fd(_0x38d2e8);},'jitNR':function(_0x5dfcaa){return _0x5dfcaa();},'BlQGT':'[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.'},_0x3959fd=_0x5a6789[_0x147c37(0x10a)](0x1),_0x31ca5c=_0x3959fd[0x0]&&_0x3959fd[0x0][_0x147c37(0xe2)](_0x48729c['VxYHj'])?_0x3959fd[0x0]:null;if(!_0xe3bc94[_0x147c37(0xcc)]||_0x48729c[_0x147c37(0x101)](_0xe3bc94[_0x147c37(0xcc)][_0x147c37(0xc2)],![])||_0x48729c[_0x147c37(0x101)](_0xe3bc94[_0x147c37(0xcc)]['testObservability'],_0x48729c[_0x147c37(0xe0)])){process[_0x147c37(0xb0)]=await _0x48729c['tZECJ'](runWithoutObservability,_0x31ca5c,_0x3959fd)||0x0;return;}process[_0x147c37(0x104)][_0x147c37(0xfb)]=_0x48729c['KsOAy'],process[_0x147c37(0x104)][_0x147c37(0xde)]=_0x48729c[_0x147c37(0xe0)],process[_0x147c37(0x104)][_0x147c37(0x100)]=_0x48729c[_0x147c37(0xf0)](_0xe3bc94[_0x147c37(0xcc)][_0x147c37(0xc2)],null)?_0xe3bc94[_0x147c37(0xcc)][_0x147c37(0xc2)]:_0x48729c[_0x147c37(0x115)],CLIUtils['setFrameworkDetail'](_0x48729c['NmxFI'],_0x48729c[_0x147c37(0xa6)]),BrowserstackCLI[_0x147c37(0xcf)]()[_0x147c37(0xf5)](_0xe3bc94[_0x147c37(0xcc)],_0xe3bc94[_0x147c37(0xca)],_0xe3bc94[_0x147c37(0xea)]);try{await BrowserstackCLI[_0x147c37(0xcf)]()[_0x147c37(0xfc)]();}catch(_0xada975){logger[_0x147c37(0xf6)](_0x48729c['sEguA'](_0x48729c['EHSeN'],_0xada975[_0x147c37(0xec)]||_0xada975));}if(!BrowserstackCLI[_0x147c37(0xcf)]()['isRunning']())try{await TestHubHandler['launchBuild'](FRAMEWORKS['NEWMAN'],_0xe3bc94);}catch(_0x5da11b){logger[_0x147c37(0xf6)](_0x48729c[_0x147c37(0xd2)](_0x48729c[_0x147c37(0xd6)],_0x5da11b['message']||_0x5da11b));}!_0x48729c['EKhOV'](hasO11yBuild)&&logger[_0x147c37(0xce)](_0x48729c['EgPJW']);_0x48729c[_0x147c37(0xa7)](registerBrowserStackReporter);let _0x254742;_0x31ca5c?_0x254742=await _0x48729c[_0x147c37(0xbc)](runNewmanScript,_0x31ca5c,_0xe3bc94[_0x147c37(0xcc)]['parallelsPerPlatform']):_0x254742=await _0x48729c['nOHbs'](runNewmanCLI,_0x48729c[_0x147c37(0x103)](injectReporterIntoArgs,_0x3959fd));try{await TestHubHandler[_0x147c37(0x106)]();}catch(_0x7f57ab){}try{await BrowserstackCLI['getInstance']()[_0x147c37(0x106)]();}catch(_0x350a7a){}try{await RequestQueueHandler[_0x147c37(0xcf)]()['shutdown']();}catch(_0x9daf36){}if(_0x48729c[_0x147c37(0xc1)](hasO11yBuild))try{_0x48729c[_0x147c37(0xc1)](printBuildLink);}catch(_0x13027a){}else logger[_0x147c37(0xce)](_0x48729c[_0x147c37(0xdb)]);process[_0x147c37(0xb0)]=_0x254742;};
|
package/src/bin/newman/helper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a38_0x332e(_0x49e5bc,_0x23e6a2){const _0x7efb02=a38_0x7efb();return a38_0x332e=function(_0x332ed4,_0x137f90){_0x332ed4=_0x332ed4-0x108;let _0x54ba17=_0x7efb02[_0x332ed4];return _0x54ba17;},a38_0x332e(_0x49e5bc,_0x23e6a2);}function a38_0x7efb(){const _0x4ac809=['env','500YFoHFd','framework','34821HNSNMZ','1245695ObxcTn','1328322DxesBX','77ztOEwm','zZeoe','isNewman','7069XXHefw','BcgnT','newman','12KMjLKZ','BROWSERSTACK_FRAMEWORK','exports','186952rHqBnH','4ZugrVz','27ikLoNa','9840897vpECzC','SXhOQ','BaYbw','127240DZtuze','toLowerCase'];a38_0x7efb=function(){return _0x4ac809;};return a38_0x7efb();}const a38_0x391378=a38_0x332e;(function(_0x15dcc0,_0x205267){const _0x4ed4e4=a38_0x332e,_0xe8aebf=_0x15dcc0();while(!![]){try{const _0x5785f5=-parseInt(_0x4ed4e4(0x113))/0x1*(-parseInt(_0x4ed4e4(0x11a))/0x2)+-parseInt(_0x4ed4e4(0x11b))/0x3*(parseInt(_0x4ed4e4(0x108))/0x4)+-parseInt(_0x4ed4e4(0x10e))/0x5+parseInt(_0x4ed4e4(0x10f))/0x6+-parseInt(_0x4ed4e4(0x110))/0x7*(parseInt(_0x4ed4e4(0x119))/0x8)+parseInt(_0x4ed4e4(0x10d))/0x9*(-parseInt(_0x4ed4e4(0x10b))/0xa)+parseInt(_0x4ed4e4(0x11c))/0xb*(parseInt(_0x4ed4e4(0x116))/0xc);if(_0x5785f5===_0x205267)break;else _0xe8aebf['push'](_0xe8aebf['shift']());}catch(_0x27d650){_0xe8aebf['push'](_0xe8aebf['shift']());}}}(a38_0x7efb,0x23356));function isNewman(_0x3cf39b){const _0x3d5e39=a38_0x332e,_0x52fa8e={'PXVhT':function(_0x3a19b8,_0x14d0e3){return _0x3a19b8===_0x14d0e3;},'BaYbw':_0x3d5e39(0x115),'zZeoe':function(_0x46733f,_0x10daa1){return _0x46733f===_0x10daa1;},'BcgnT':function(_0x2954c0,_0x40e3e5){return _0x2954c0(_0x40e3e5);},'SXhOQ':function(_0x1881a3,_0x432da3){return _0x1881a3||_0x432da3;}},_0x34646c=process[_0x3d5e39(0x10a)][_0x3d5e39(0x117)]||'';let _0x16f668='';_0x3cf39b&&_0x3cf39b[_0x3d5e39(0x10c)]&&(_0x16f668=_0x3cf39b[_0x3d5e39(0x10c)]);const _0x9806d=_0x52fa8e['PXVhT'](_0x34646c['toLowerCase'](),_0x52fa8e[_0x3d5e39(0x11e)]),_0x4eb170=_0x52fa8e[_0x3d5e39(0x111)](_0x52fa8e[_0x3d5e39(0x114)](String,_0x16f668)[_0x3d5e39(0x109)](),_0x52fa8e['BaYbw']);return _0x52fa8e[_0x3d5e39(0x11d)](_0x9806d,_0x4eb170);};const a38_0x69ec1b={};a38_0x69ec1b[a38_0x391378(0x112)]=isNewman,module[a38_0x391378(0x118)]=a38_0x69ec1b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a39_0x287f81=a39_0x58c1;(function(_0x108e96,_0x27f857){const _0x301131=a39_0x58c1,_0x3499e6=_0x108e96();while(!![]){try{const _0xcd8af4=parseInt(_0x301131(0x106))/0x1*(parseInt(_0x301131(0x71))/0x2)+-parseInt(_0x301131(0x10d))/0x3+-parseInt(_0x301131(0x15f))/0x4*(-parseInt(_0x301131(0x130))/0x5)+parseInt(_0x301131(0x12a))/0x6+-parseInt(_0x301131(0x13d))/0x7*(-parseInt(_0x301131(0xf3))/0x8)+-parseInt(_0x301131(0xf5))/0x9+parseInt(_0x301131(0x8b))/0xa*(parseInt(_0x301131(0xb4))/0xb);if(_0xcd8af4===_0x27f857)break;else _0x3499e6['push'](_0x3499e6['shift']());}catch(_0x276528){_0x3499e6['push'](_0x3499e6['shift']());}}}(a39_0x1b7f,0xa0848));const path=require('path'),{v4:uuidv4}=require(a39_0x287f81(0xbf)),SessionHandler=require(a39_0x287f81(0x141)),{debug}=require(a39_0x287f81(0xb8)),logger=require(a39_0x287f81(0x9e))[a39_0x287f81(0x87)],BrowserstackCLI=require(a39_0x287f81(0x113)),GrpcClient=require(a39_0x287f81(0xf6)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a39_0x287f81(0x92)),LOG_LEVELS=[a39_0x287f81(0xa7),a39_0x287f81(0x12e),'ERROR',a39_0x287f81(0x129),a39_0x287f81(0xee)];function isCLIRunning(){const _0x207636=a39_0x287f81;try{return BrowserstackCLI[_0x207636(0xb1)]()[_0x207636(0x154)]();}catch(_0x41994d){return![];}}function getParentTitles(_0xc95235){const _0x3c39fd=a39_0x287f81,_0x424222={'suciY':function(_0x334a78,_0x39530d){return _0x334a78(_0x39530d);}},_0x2284a0=[],_0x21cb16=_0xc95235[_0x3c39fd(0x108)]();return _0x21cb16&&_0x2284a0[_0x3c39fd(0x77)][_0x3c39fd(0x115)](_0x2284a0,_0x424222[_0x3c39fd(0x14e)](getParentTitles,_0x21cb16)),_0xc95235[_0x3c39fd(0x127)]&&_0x2284a0['push'](_0x424222[_0x3c39fd(0x14e)](String,_0xc95235[_0x3c39fd(0x127)])),_0x2284a0;}function normalizeLogLevel(_0x512412){const _0x21343a=a39_0x287f81,_0x49df94={};_0x49df94[_0x21343a(0xc5)]=_0x21343a(0xa7),_0x49df94[_0x21343a(0x78)]=function(_0x38e752,_0x2ceaa9){return _0x38e752!==_0x2ceaa9;};const _0x8c9991=_0x49df94;if(!_0x512412)return _0x8c9991[_0x21343a(0xc5)];const _0x493ff4=_0x512412[_0x21343a(0x119)]();return _0x8c9991[_0x21343a(0x78)](LOG_LEVELS[_0x21343a(0x8e)](_0x493ff4),-0x1)?_0x493ff4:_0x8c9991[_0x21343a(0xc5)];}function a39_0x58c1(_0x2b4dd9,_0x56f080){const _0x1b7f64=a39_0x1b7f();return a39_0x58c1=function(_0x58c178,_0x56283e){_0x58c178=_0x58c178-0x70;let _0x1cc2f0=_0x1b7f64[_0x58c178];return _0x1cc2f0;},a39_0x58c1(_0x2b4dd9,_0x56f080);}function resolveCollectionFile(_0x284cf6,_0x1d93a4){const _0xb37959=a39_0x287f81,_0x4ddf74={};_0x4ddf74[_0xb37959(0x11f)]=function(_0x18ed97,_0x2f8af6){return _0x18ed97===_0x2f8af6;},_0x4ddf74[_0xb37959(0xf1)]=_0xb37959(0xc7),_0x4ddf74[_0xb37959(0xfc)]=_0xb37959(0x101),_0x4ddf74[_0xb37959(0xff)]=function(_0xf5de1a,_0x3fc5eb){return _0xf5de1a!==_0x3fc5eb;},_0x4ddf74['xcoRQ']=function(_0x236f57,_0x3941df){return _0x236f57<_0x3941df;},_0x4ddf74[_0xb37959(0x91)]=function(_0x5394f6,_0x8f9051){return _0x5394f6+_0x8f9051;},_0x4ddf74[_0xb37959(0x122)]=function(_0x2c8ade,_0x4e67e0){return _0x2c8ade+_0x4e67e0;},_0x4ddf74[_0xb37959(0x14a)]=_0xb37959(0x11b),_0x4ddf74[_0xb37959(0x89)]=_0xb37959(0xc2);const _0x1d0b30=_0x4ddf74;try{if(_0x1d93a4&&_0x1d93a4[_0xb37959(0xe0)])return path[_0xb37959(0x132)](process[_0xb37959(0x86)](),path[_0xb37959(0x155)](_0x1d93a4[_0xb37959(0xe0)]));const _0x3e4953=_0x284cf6[_0xb37959(0x149)];if(_0x1d0b30['WvQLN'](typeof _0x3e4953,_0x1d0b30[_0xb37959(0xf1)]))return path[_0xb37959(0x132)](process[_0xb37959(0x86)](),path[_0xb37959(0x155)](_0x3e4953));const _0x5d09cd=process[_0xb37959(0xa3)][_0xb37959(0x8e)](_0x1d0b30['DLJka']);if(_0x1d0b30[_0xb37959(0xff)](_0x5d09cd,-0x1)&&_0x1d0b30[_0xb37959(0xe2)](_0x1d0b30[_0xb37959(0x91)](_0x5d09cd,0x1),process[_0xb37959(0xa3)][_0xb37959(0x107)])){const _0x586468=process[_0xb37959(0xa3)][_0x1d0b30[_0xb37959(0x122)](_0x5d09cd,0x1)];if(_0x586468&&!_0x586468[_0xb37959(0x8a)]('-'))return path[_0xb37959(0x132)](process[_0xb37959(0x86)](),path[_0xb37959(0x155)](_0x586468));}}catch(_0x2d660e){}return logger['info'](_0x1d0b30[_0xb37959(0x14a)]),_0x1d0b30[_0xb37959(0x89)];}function resolveCollectionName(_0x3fdec4){const _0x191dc9=a39_0x287f81,_0x1fc383={};_0x1fc383[_0x191dc9(0x102)]=function(_0xe4720a,_0x2ebfd5){return _0xe4720a===_0x2ebfd5;},_0x1fc383[_0x191dc9(0xba)]='object';const _0x599330=_0x1fc383;try{const _0x531f04=_0x3fdec4[_0x191dc9(0x149)];if(_0x531f04&&_0x599330[_0x191dc9(0x102)](typeof _0x531f04,_0x599330[_0x191dc9(0xba)]))return _0x531f04['name']||_0x531f04[_0x191dc9(0x10a)]&&_0x531f04[_0x191dc9(0x10a)][_0x191dc9(0x127)]||null;}catch(_0x1f27a1){}return null;}function emitTest(_0x7566bf,_0x32866d,_0x1eb728,_0x37c074,_0x507852){const _0x1a789f=a39_0x287f81,_0x319dc4={'ILSej':function(_0x5652b0){return _0x5652b0();},'eZIwF':_0x1a789f(0xfe),'cdfkF':function(_0x3310f2,_0x2d824a){return _0x3310f2(_0x2d824a);},'XuNEK':'newman','uDbLF':_0x1a789f(0xad),'uOrQO':function(_0xf22ae6,_0x383e14){return _0xf22ae6!=_0x383e14;},'jshme':function(_0x15aa05,_0x5555cd){return _0x15aa05===_0x5555cd;},'KqvKU':_0x1a789f(0x9b),'pUxCP':_0x1a789f(0xe1)};if(_0x319dc4[_0x1a789f(0xef)](isCLIRunning))try{const _0x20ac04=BrowserstackCLI[_0x1a789f(0xb1)]()[_0x1a789f(0xb2)]();if(!_0x20ac04)return;_0x20ac04['trackEvent'](TestFrameworkState[_0x1a789f(0x114)],_0x7566bf,{'test':{'uuid':_0x32866d[_0x1a789f(0xbf)],'name':_0x32866d[_0x1a789f(0x127)],'scopes':_0x1eb728[_0x1a789f(0xda)],'scope':_0x1eb728['scopes'][_0x1a789f(0x14f)]('\x20'),'file_path':_0x37c074,'location':_0x1eb728[_0x1a789f(0xae)],'started_at':_0x1eb728[_0x1a789f(0x156)],'finished_at':_0x507852['finishedAt']||null,'result':_0x507852[_0x1a789f(0x7e)]||_0x319dc4[_0x1a789f(0x8f)],'failure':_0x507852['failure']||[],'failure_type':_0x507852['failureType']||null,'failure_reason':_0x507852[_0x1a789f(0xeb)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0xb4ef64){_0x319dc4['cdfkF'](debug,_0x1a789f(0xe4)+_0xb4ef64);}else{const _0x123b6c={'uuid':_0x32866d[_0x1a789f(0xbf)],'name':_0x32866d['name'],'framework':_0x319dc4[_0x1a789f(0xa1)],'body':{'lang':_0x319dc4[_0x1a789f(0x109)],'code':null},'scope':_0x1eb728[_0x1a789f(0xda)][_0x1a789f(0x14f)]('\x20'),'scopes':_0x1eb728['scopes'],'identifier':_0x32866d[_0x1a789f(0xa6)],'file_name':_0x1eb728[_0x1a789f(0xae)],'vc_filepath':_0x1eb728[_0x1a789f(0x142)],'location':_0x1eb728['location'],'started_at':_0x1eb728[_0x1a789f(0x156)],'finished_at':_0x507852['finishedAt']||null,'duration_in_ms':_0x319dc4[_0x1a789f(0x118)](_0x507852[_0x1a789f(0xfd)],null)?Math[_0x1a789f(0x140)](0x0,_0x507852[_0x1a789f(0xfd)]):null,'result':_0x507852[_0x1a789f(0x7e)]||_0x319dc4[_0x1a789f(0x8f)],'failure_reason':_0x507852[_0x1a789f(0xeb)]||null,'failure_type':_0x507852[_0x1a789f(0x90)]||null,'failure':_0x507852[_0x1a789f(0xd0)]||[],'retry_of':null,'hooks':[]};_0x123b6c['failure'][0x0]&&(_0x123b6c['failure_backtrace']=_0x123b6c[_0x1a789f(0xd0)][0x0][_0x1a789f(0xe5)],_0x123b6c[_0x1a789f(0xf0)]=_0x123b6c[_0x1a789f(0xd0)][0x0][_0x1a789f(0x131)]);const _0x3865dc=_0x319dc4[_0x1a789f(0x85)](_0x7566bf,HookState[_0x1a789f(0xd3)])?_0x319dc4['KqvKU']:_0x319dc4['pUxCP'],_0x194f73={};_0x194f73[_0x1a789f(0xd6)]=_0x3865dc,_0x194f73[_0x1a789f(0xa9)]=_0x123b6c,SessionHandler['uploadEventData'](_0x194f73);}}function a39_0x1b7f(){const _0x4d9a94=['toString','oIdiH','TEST_LOG','ms)','delete','jyyXs','get','51032NwHdIR','HTTP\x20','UhbHH','QpVpf','Jygvx','now','4wfvLrC','iteration','ssPjN','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','oIgIk','SJAEC','push','XXATU','AssertionError','headers','fPAQO','duration_ms','SHtxz','result','tiZGc','HTTP\x20Status:\x20','dLzoS','N/A','code','NewZN','jshme','cwd','winstonLogger','response','usFny','startsWith','26060jVXeSj','ref','testFrameworkName','indexOf','eZIwF','failureType','WUDmp','../../v2/state/hookState','getTime','jUoxf','JZFkj','path','tyAhh','bufferedLogs','uOcpc','iHpXF','TestRunStarted','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','CrtpC','../../../helpers/logger','AOHLi','Exception:\x20','XuNEK','failed','argv','UnhandledError','ZwqpE','identifier','INFO','http','test_run','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','\x20(no\x20assertions)','stringify','javascript','collectionName','sXmIr','forEach','getInstance','getTestFramework','abJGy','209ftojKk','level','testFrameworkState','fQklO','../../../helpers/test-observability/utils','VEeFC','jEGtZ','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','diykj','startTimestamp','sBUVz','uuid','[Newman\x20Reporter]\x20emitLog\x20error:\x20','QOfFl','collection.json','request','BtGtr','iWdLd','tWpio','string','assertions','yMWtl','beforeItem','bbIVw','newman','AFPMU','assertion','cbhwY','failure','messages','lastResponseCode','PRE','XgSLF','AFzZQ','event_type','cAimn','lKCgR','EYLxM','scopes','QgqIh','script','timestamp','LzDIf','host','collectionPath','TestRunFinished','xcoRQ','PaQop','[Newman\x20Reporter]\x20emitTest\x20error:\x20','backtrace','\x20->\x20','responseTime','toISOString','item','url','failureReason','message','Script\x20error\x20(','TRACE','ILSej','failure_reason_expanded','MXWEm','pathname','2584pHewcq','platformIndex','8352045yCeBrR','../../v2/grpcClient','set','logs','event','gtKTd','HfVuC','DLJka','durationMs','pending','WjJJR','concat','run','UxRXl','snFyr','pid','zMgEB','522667KOUntx','length','parent','uDbLF','info','SlOoZ','search','2519781iLfOxq','aHYOP','LwoKh','assert','puzVG','stack','../../v2/browserstackCLI','TEST','apply','GjuXb','QuHmt','uOrQO','toUpperCase','exception','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','sPfZD','tYoRv','VQAhG','WvQLN','method','status_code','aKNDy','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','unknown','POST','SmNul','name','mpSGs','DEBUG','4465992PbaPik','xvgiC','qfpiB','clear','WARN','RgJQW','130UbawuO','expanded','relative','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','err','dwhKo','DqItx','test_run_uuid','exports','soUaT','WDEnN','HnFlU','split','5516dcpBTO','Assertion\x20','httpLog','max','../../../helpers/test-observability/sessionHandler','location','HTTP','Qvlkd','xHfwx','nxyWi','JtybP','EqRxo','collection','Npzlk','passed','uploadEventData','XFRjr','suciY','join','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','http_response','No\x20HTTP\x20response\x20received','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','isRunning','resolve','startedAt','cursor'];a39_0x1b7f=function(){return _0x4d9a94;};return a39_0x1b7f();}function emitLog(_0x1cb1e8,_0x5b9ca3){const _0x2c6774=a39_0x287f81,_0x1d0055={'zPNuH':_0x2c6774(0x15a),'yBPjX':function(_0x2241cc){return _0x2241cc();},'CrtpC':function(_0x267651,_0x236d30){return _0x267651===_0x236d30;},'XFRjr':'HTTP','dLzoS':_0x2c6774(0xcc),'sXmIr':_0x2c6774(0x114),'vRPsv':'INFO','SmNul':function(_0x36107d,_0xba3529){return _0x36107d(_0xba3529);},'LzDIf':function(_0x540f5d,_0x2d15b3){return _0x540f5d+_0x2d15b3;},'SJAEC':_0x2c6774(0xc0),'PaQop':'LogCreated'},_0x51b443=_0x5b9ca3['kind']||_0x1d0055['zPNuH'],_0x59d565=_0x5b9ca3[_0x2c6774(0xdd)]||new Date()[_0x2c6774(0xe8)]();if(_0x1d0055['yBPjX'](isCLIRunning))try{const _0x2a832b=_0x1d0055[_0x2c6774(0x9d)](_0x51b443,_0x1d0055[_0x2c6774(0x14d)])?JSON[_0x2c6774(0xac)](_0x5b9ca3):_0x5b9ca3[_0x2c6774(0xec)]||'',_0x1c6906={};_0x1c6906[_0x2c6774(0xf4)]=0x0,_0x1c6906[_0x2c6774(0x8d)]=_0x1d0055[_0x2c6774(0x81)],_0x1c6906['testFrameworkVersion']='',_0x1c6906[_0x2c6774(0xb6)]=_0x1d0055[_0x2c6774(0xaf)],_0x1c6906['logs']=[{'uuid':_0x1cb1e8,'timestamp':_0x59d565,'kind':_0x51b443,'level':_0x5b9ca3['level']||_0x1d0055['vRPsv'],'message':_0x2a832b}],GrpcClient[_0x2c6774(0xb1)]()['logCreatedEvent'](_0x1c6906);}catch(_0x148568){_0x1d0055[_0x2c6774(0x126)](debug,_0x1d0055[_0x2c6774(0xde)](_0x1d0055[_0x2c6774(0x76)],_0x148568));}else{const _0x4eefc5={};_0x4eefc5[_0x2c6774(0x137)]=_0x1cb1e8,_0x4eefc5[_0x2c6774(0xdd)]=_0x59d565,_0x4eefc5[_0x2c6774(0xb5)]=_0x5b9ca3['level']||null,_0x4eefc5['message']=_0x5b9ca3['message']||null,_0x4eefc5['kind']=_0x51b443,_0x4eefc5['http_response']=_0x5b9ca3[_0x2c6774(0x151)]||{};const _0x17243b={};_0x17243b[_0x2c6774(0xd6)]=_0x1d0055[_0x2c6774(0xe3)],_0x17243b[_0x2c6774(0xf8)]=[_0x4eefc5],SessionHandler[_0x2c6774(0x14c)](_0x17243b);}}function BrowserStackNewmanReporter(_0x59e087,_0x4a0e61,_0x4df4e6){const _0x289a15=a39_0x287f81,_0x381a5c={'cbhwY':function(_0xaa7052,_0xcc7191,_0x5f3a9c){return _0xaa7052(_0xcc7191,_0x5f3a9c);},'AFzZQ':function(_0x60eedb,_0x4799a7){return _0x60eedb(_0x4799a7);},'nxyWi':function(_0x5c7556,_0x8d24fd){return _0x5c7556>_0x8d24fd;},'fYRHU':function(_0x1f2b2d,_0x563f8f){return _0x1f2b2d(_0x563f8f);},'zMgEB':_0x289a15(0xa8),'JZFkj':function(_0xc07c33,_0xe0eda5){return _0xc07c33+_0xe0eda5;},'fPAQO':'GET','WDEnN':function(_0x574efb,_0xb64373){return _0x574efb(_0xb64373);},'BtGtr':function(_0x57144,_0x2eb30a,_0x387435){return _0x57144(_0x2eb30a,_0x387435);},'sPfZD':_0x289a15(0x15a),'EYLxM':function(_0x198950){return _0x198950();},'Jygvx':function(_0x4275c2,_0x56c468){return _0x4275c2||_0x56c468;},'UhbHH':function(_0x2f9761,_0x3bfc83,_0x54977f,_0x4a060d,_0x4e8ed9,_0x4e58b5){return _0x2f9761(_0x3bfc83,_0x54977f,_0x4a060d,_0x4e8ed9,_0x4e58b5);},'GjuXb':function(_0x5e5d91,_0x2fc5a2){return _0x5e5d91===_0x2fc5a2;},'QpVpf':_0x289a15(0x143),'bbIVw':function(_0x526c23,_0x45a2d2){return _0x526c23+_0x45a2d2;},'QgqIh':function(_0x342336,_0x2677a0){return _0x342336+_0x2677a0;},'sBUVz':function(_0x362c79,_0x3f4df9){return _0x362c79+_0x3f4df9;},'oIdiH':function(_0x3b90ef,_0x2da5dc){return _0x3b90ef+_0x2da5dc;},'xHfwx':_0x289a15(0xe6),'LwoKh':_0x289a15(0x15b),'hjIDe':function(_0xc438dd,_0x3b5590,_0x585b25){return _0xc438dd(_0x3b5590,_0x585b25);},'SHtxz':_0x289a15(0xa7),'dwhKo':function(_0x5e9e0a,_0x4bff68){return _0x5e9e0a>_0x4bff68;},'diykj':function(_0x48826e,_0x19db5){return _0x48826e-_0x19db5;},'HfVuC':function(_0x425422,_0x336370,_0x462dba){return _0x425422(_0x336370,_0x462dba);},'UCLkh':function(_0x77b34b,_0x1f4091){return _0x77b34b(_0x1f4091);},'VEeFC':function(_0x59e832,_0xac9582){return _0x59e832(_0xac9582);},'puzVG':function(_0x3f74f6,_0x5c9d23){return _0x3f74f6&&_0x5c9d23;},'abJGy':function(_0x5cd94b,_0x26c0a4){return _0x5cd94b>_0x26c0a4;},'EqRxo':function(_0x201fed,_0x4bcd7e){return _0x201fed-_0x4bcd7e;},'RgJQW':_0x289a15(0xa0),'tyAhh':'ERROR','AFPMU':function(_0xcf6af0,_0x2ad0b8){return _0xcf6af0+_0x2ad0b8;},'shxHn':_0x289a15(0x153),'gtKTd':function(_0x3f4b72,_0x166045){return _0x3f4b72>_0x166045;},'fQklO':function(_0x3a3b87,_0xda5b75){return _0x3a3b87-_0xda5b75;},'AeCyY':_0x289a15(0x124),'xvgiC':function(_0x3b11c8,_0x581dfe){return _0x3b11c8+_0x581dfe;},'XgSLF':_0x289a15(0xed),'mpSGs':'):\x20','FwaLC':_0x289a15(0x123),'DqItx':_0x289a15(0xa2),'VQAhG':_0x289a15(0x14b),'pNXZn':function(_0x4644a4,_0x23afaa){return _0x4644a4===_0x23afaa;},'tWpio':_0x289a15(0x79),'snFyr':_0x289a15(0x110),'ZwqpE':_0x289a15(0xa4),'HnFlU':function(_0x448aa0,_0x2e07a8){return _0x448aa0>_0x2e07a8;},'NewZN':function(_0x2e8547,_0x165795){return _0x2e8547!=_0x165795;},'SlOoZ':function(_0x5a0f9a,_0x58ec05){return _0x5a0f9a>=_0x58ec05;},'KtToR':function(_0x20626e,_0x1fda92){return _0x20626e<_0x1fda92;},'tiZGc':function(_0x13af0f,_0xa4bed7){return _0x13af0f||_0xa4bed7;},'tYoRv':_0x289a15(0x82),'iHpXF':_0x289a15(0x152),'jhrUP':function(_0x1a0df0,_0x22c101){return _0x1a0df0+_0x22c101;},'QuHmt':function(_0x16a9e0,_0x47962d){return _0x16a9e0+_0x47962d;},'lKCgR':function(_0x2d9771,_0x5588ca){return _0x2d9771+_0x5588ca;},'GbNiX':function(_0x3be6cf,_0x3c4926){return _0x3be6cf+_0x3c4926;},'QOfFl':function(_0x4598dd,_0x4fbd64,_0x3f3bf1){return _0x4598dd(_0x4fbd64,_0x3f3bf1);},'Qvlkd':function(_0x58c2e8,_0xbb8728){return _0x58c2e8+_0xbb8728;},'qfpiB':_0x289a15(0x80),'jUoxf':_0x289a15(0xab),'soUaT':function(_0x1cc32e,_0x1c39cc,_0x12ac73,_0x1dd9cb,_0x37ab24,_0xf32c5a){return _0x1cc32e(_0x1c39cc,_0x12ac73,_0x1dd9cb,_0x37ab24,_0xf32c5a);},'QyXmA':function(_0x5b81f1,_0x486245){return _0x5b81f1(_0x486245);},'YCetn':function(_0x53f762,_0x479ecd,_0x3a90e6){return _0x53f762(_0x479ecd,_0x3a90e6);},'yMWtl':'done','JtybP':'beforeIteration','dUrQV':_0x289a15(0xca),'AOHLi':_0x289a15(0xc3),'oIgIk':_0x289a15(0xce),'cAimn':'console','VkaZc':_0x289a15(0x11a),'uOcpc':_0x289a15(0xdc),'ssPjN':'item'},_0x2a672f=new Map();let _0x1732eb=null,_0x531509=0x0;const _0x3b64d9=_0x381a5c['YCetn'](resolveCollectionFile,_0x4df4e6,_0x4a0e61),_0x436c56=_0x381a5c[_0x289a15(0xd5)](resolveCollectionName,_0x4df4e6)||_0x3b64d9,_0x509825=path[_0x289a15(0x155)](_0x3b64d9),_0x14d038='bs:addLog:'+process[_0x289a15(0x104)],_0x29b875=_0x2ae330=>{const _0x4e4e41=_0x289a15;try{_0x1732eb&&_0x381a5c[_0x4e4e41(0xcf)](emitLog,_0x1732eb,_0x2ae330);}catch(_0x327a43){_0x381a5c[_0x4e4e41(0xd5)](debug,_0x4e4e41(0x74)+_0x327a43);}};process['on'](_0x14d038,_0x29b875),_0x59e087['on'](_0x381a5c[_0x289a15(0xc9)],()=>{const _0x146632=_0x289a15;process['removeListener'](_0x14d038,_0x29b875),_0x2a672f[_0x146632(0x12d)]();}),_0x59e087['on'](_0x381a5c[_0x289a15(0x147)],(_0x70154f,_0x7b0b04)=>{const _0x3df74c=_0x289a15;_0x7b0b04&&_0x7b0b04[_0x3df74c(0x157)]&&(_0x531509=_0x7b0b04[_0x3df74c(0x157)][_0x3df74c(0x72)]||0x0);}),_0x59e087['on'](_0x381a5c['dUrQV'],(_0x5a26b2,_0x2453ea)=>{const _0x58a063=_0x289a15;try{_0x1732eb=null;const _0x345603=_0x2453ea['item'],_0x1583c4=_0x345603['parent']()?_0x381a5c['AFzZQ'](getParentTitles,_0x345603['parent']()):[],_0x41016c=_0x381a5c[_0x58a063(0x146)](_0x1583c4[_0x58a063(0x107)],0x1)?_0x1583c4['slice'](0x1):_0x1583c4,_0x3661bd=_0x2453ea['cursor']&&_0x2453ea[_0x58a063(0x157)]['ref'],_0x19ae7d={'itemName':_0x345603['name'],'scopes':_0x41016c[_0x58a063(0x100)]([_0x345603[_0x58a063(0x127)]]),'location':_0x3b64d9,'collectionName':_0x436c56,'startedAt':new Date()['toISOString'](),'startTimestamp':Date[_0x58a063(0x70)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x2a672f[_0x58a063(0xf7)](_0x345603['id']+'_'+_0x531509,_0x19ae7d),_0x3661bd&&_0x2a672f['set'](_0x3661bd+'_'+_0x531509,_0x19ae7d);}catch(_0x3bfaeb){_0x381a5c['fYRHU'](debug,_0x58a063(0x150)+_0x3bfaeb);}}),_0x59e087['on'](_0x381a5c[_0x289a15(0x9f)],(_0x3a0b45,_0x513b89)=>{const _0x4baa17=_0x289a15;try{if(!_0x513b89||!_0x513b89['item'])return;const _0x25d2e1=_0x2a672f[_0x4baa17(0x15e)](_0x513b89['item']['id']+'_'+_0x531509);if(!_0x25d2e1)return;_0x513b89[_0x4baa17(0x88)]&&(_0x25d2e1[_0x4baa17(0xd2)]=_0x513b89[_0x4baa17(0x88)][_0x4baa17(0x83)]||null);if(!_0x513b89[_0x4baa17(0xc3)])return;let _0x9b93da='',_0xde5fac='';if(_0x513b89[_0x4baa17(0xc3)]['url'])try{const _0x144750=_0x513b89['request'][_0x4baa17(0xea)]['toString'](),_0x5486ae=new URL(_0x144750[_0x4baa17(0x8a)](_0x381a5c[_0x4baa17(0x105)])?_0x144750:'http://'+_0x144750);_0x9b93da=_0x5486ae['hostname'],_0xde5fac=_0x381a5c['JZFkj'](_0x5486ae[_0x4baa17(0xf2)],_0x5486ae[_0x4baa17(0x10c)]);}catch(_0x50c1d0){_0xde5fac=_0x513b89['request'][_0x4baa17(0xea)][_0x4baa17(0x158)]();}const _0x180085={};_0x180085[_0x4baa17(0xdf)]=_0x9b93da,_0x180085[_0x4baa17(0x96)]=_0xde5fac,_0x180085[_0x4baa17(0x120)]=_0x513b89[_0x4baa17(0xc3)]['method']||_0x381a5c[_0x4baa17(0x7b)],_0x180085[_0x4baa17(0x7a)]={},_0x180085[_0x4baa17(0x121)]=_0x513b89[_0x4baa17(0x88)]?_0x513b89[_0x4baa17(0x88)][_0x4baa17(0x83)]||0x0:0x0,_0x180085[_0x4baa17(0x7c)]=_0x513b89[_0x4baa17(0x88)]?_0x513b89[_0x4baa17(0x88)][_0x4baa17(0xe7)]||0x0:0x0,_0x25d2e1[_0x4baa17(0x13f)]=_0x180085;}catch(_0xeacaf){_0x381a5c[_0x4baa17(0x13a)](debug,_0x4baa17(0x9c)+_0xeacaf);}}),_0x59e087['on'](_0x381a5c[_0x289a15(0x75)],(_0x32ebb6,_0x38816d)=>{const _0x382396=_0x289a15,_0x50d4f4={'aHYOP':function(_0x23f2fd,_0xde6acd,_0x356a75){const _0x3c5bcb=a39_0x58c1;return _0x381a5c[_0x3c5bcb(0xc4)](_0x23f2fd,_0xde6acd,_0x356a75);},'jyyXs':_0x381a5c[_0x382396(0x11c)]};try{if(!_0x38816d||!_0x38816d[_0x382396(0xe9)])return;const _0x2d755e=_0x2a672f['get'](_0x38816d[_0x382396(0xe9)]['id']+'_'+_0x531509);if(!_0x2d755e)return;const _0x597219=_0x38816d[_0x382396(0xce)]||_0x382396(0x13e)+_0x381a5c[_0x382396(0x95)](_0x2d755e[_0x382396(0xc8)][_0x382396(0x107)],0x1),_0x398337=_0x381a5c[_0x382396(0xd9)](uuidv4),_0x3c28f3=_0x2d755e[_0x382396(0xda)][_0x382396(0x100)]([_0x597219])[_0x382396(0x14f)]('\x20');_0x2d755e[_0x382396(0xc8)][_0x382396(0x77)]({'uuid':_0x398337,'name':_0x597219,'identifier':_0x3c28f3,'err':_0x381a5c[_0x382396(0x163)](_0x32ebb6,null)});const _0x37697d={};_0x37697d[_0x382396(0xbf)]=_0x398337,_0x37697d[_0x382396(0x127)]=_0x597219,_0x37697d['identifier']=_0x3c28f3,_0x381a5c[_0x382396(0x161)](emitTest,HookState[_0x382396(0xd3)],_0x37697d,_0x2d755e,_0x509825,{});_0x381a5c[_0x382396(0x116)](_0x2d755e[_0x382396(0xc8)][_0x382396(0x107)],0x1)&&_0x381a5c[_0x382396(0x146)](_0x2d755e[_0x382396(0x98)][_0x382396(0x107)],0x0)&&(_0x2d755e['bufferedLogs'][_0x382396(0xb0)](_0x1fdbdf=>{const _0x260d15=_0x382396;_0x50d4f4[_0x260d15(0x10e)](emitLog,_0x398337,{'kind':_0x50d4f4[_0x260d15(0x15d)],'message':_0x1fdbdf[_0x260d15(0xec)],'level':_0x1fdbdf[_0x260d15(0xb5)]});}),_0x2d755e[_0x382396(0x98)]=[]);if(_0x2d755e[_0x382396(0x13f)]){_0x381a5c[_0x382396(0xc4)](emitLog,_0x398337,{'kind':_0x381a5c['QpVpf'],'http_response':_0x2d755e[_0x382396(0x13f)]});const _0x13497b=_0x381a5c[_0x382396(0xcb)](_0x381a5c[_0x382396(0xcb)](_0x381a5c[_0x382396(0x95)](_0x381a5c['QgqIh'](_0x381a5c[_0x382396(0xcb)](_0x381a5c[_0x382396(0xdb)](_0x381a5c[_0x382396(0xbe)](_0x381a5c['oIdiH'](_0x2d755e['httpLog'][_0x382396(0x120)]||_0x381a5c['fPAQO'],'\x20'),_0x2d755e[_0x382396(0x13f)][_0x382396(0xdf)]),_0x2d755e[_0x382396(0x13f)][_0x382396(0x96)]),_0x381a5c[_0x382396(0x145)]),_0x2d755e['httpLog'][_0x382396(0x121)]),'\x20('),_0x2d755e['httpLog'][_0x382396(0x7c)]),_0x381a5c[_0x382396(0x10f)]);_0x381a5c['hjIDe'](emitLog,_0x398337,{'kind':_0x381a5c[_0x382396(0x11c)],'message':_0x13497b,'level':_0x381a5c[_0x382396(0x7d)]});}_0x1732eb=_0x398337;}catch(_0x195c29){_0x381a5c[_0x382396(0x13a)](debug,_0x382396(0xbb)+_0x195c29);}}),_0x59e087['on'](_0x381a5c[_0x289a15(0xd7)],(_0x5d442a,_0x8a4d9)=>{const _0x7af8ba=_0x289a15;try{if(!_0x8a4d9)return;let _0x25a16b=_0x1732eb;if(!_0x25a16b&&_0x8a4d9['cursor']&&_0x8a4d9[_0x7af8ba(0x157)]['ref']){const _0xfe5467=_0x2a672f[_0x7af8ba(0x15e)](_0x8a4d9['cursor'][_0x7af8ba(0x8c)]+'_'+_0x531509);_0xfe5467&&_0x381a5c[_0x7af8ba(0x135)](_0xfe5467[_0x7af8ba(0xc8)][_0x7af8ba(0x107)],0x0)&&(_0x25a16b=_0xfe5467[_0x7af8ba(0xc8)][_0x381a5c[_0x7af8ba(0xbc)](_0xfe5467[_0x7af8ba(0xc8)][_0x7af8ba(0x107)],0x1)][_0x7af8ba(0xbf)]);}const _0x462e67=_0x8a4d9[_0x7af8ba(0xd1)]?_0x8a4d9['messages'][_0x7af8ba(0x14f)](',\x20'):'';if(_0x25a16b)_0x381a5c[_0x7af8ba(0xfb)](emitLog,_0x25a16b,{'kind':_0x381a5c[_0x7af8ba(0x11c)],'message':_0x462e67,'level':_0x381a5c['fYRHU'](normalizeLogLevel,_0x8a4d9[_0x7af8ba(0xb5)])});else{if(_0x8a4d9['cursor']&&_0x8a4d9['cursor'][_0x7af8ba(0x8c)]){const _0x791960=_0x2a672f[_0x7af8ba(0x15e)](_0x8a4d9['cursor'][_0x7af8ba(0x8c)]+'_'+_0x531509);_0x791960&&_0x791960['bufferedLogs'][_0x7af8ba(0x77)]({'timestamp':new Date()[_0x7af8ba(0xe8)](),'level':_0x381a5c[_0x7af8ba(0xd5)](normalizeLogLevel,_0x8a4d9[_0x7af8ba(0xb5)]),'message':_0x462e67});}}}catch(_0x3d4dc4){_0x381a5c['UCLkh'](debug,_0x7af8ba(0xaa)+_0x3d4dc4);}}),_0x59e087['on'](_0x381a5c['VkaZc'],(_0x412776,_0x3d3c87)=>{const _0x501928=_0x289a15;try{if(!_0x412776&&(!_0x3d3c87||!_0x3d3c87['error']))return;const _0x500b7e=_0x412776||_0x3d3c87['error'],_0x37481b=_0x500b7e[_0x501928(0xec)]||_0x381a5c[_0x501928(0xb9)](String,_0x500b7e),_0x7fec4a=_0x500b7e[_0x501928(0x112)]||_0x37481b;let _0x333735=_0x1732eb;if(_0x381a5c[_0x501928(0x111)](!_0x333735,_0x3d3c87)&&_0x3d3c87[_0x501928(0x157)]&&_0x3d3c87[_0x501928(0x157)][_0x501928(0x8c)]){const _0x10e50e=_0x2a672f['get'](_0x3d3c87[_0x501928(0x157)][_0x501928(0x8c)]+'_'+_0x531509);_0x10e50e&&_0x381a5c[_0x501928(0xb3)](_0x10e50e[_0x501928(0xc8)][_0x501928(0x107)],0x0)&&(_0x333735=_0x10e50e[_0x501928(0xc8)][_0x381a5c[_0x501928(0x148)](_0x10e50e[_0x501928(0xc8)][_0x501928(0x107)],0x1)][_0x501928(0xbf)]);}_0x333735&&_0x381a5c[_0x501928(0xcf)](emitLog,_0x333735,{'kind':_0x381a5c[_0x501928(0x11c)],'message':_0x381a5c['QgqIh'](_0x381a5c[_0x501928(0x12f)],_0x7fec4a),'level':_0x381a5c[_0x501928(0x97)]});}catch(_0x7fbc5b){_0x381a5c['WDEnN'](debug,_0x381a5c[_0x501928(0xcd)](_0x381a5c['shxHn'],_0x7fbc5b));}}),_0x59e087['on'](_0x381a5c[_0x289a15(0x99)],(_0x29bdf7,_0x56b2d9)=>{const _0x52405d=_0x289a15;try{if(!_0x56b2d9||!_0x56b2d9['execution'])return;let _0x3f3bfb=_0x1732eb;if(!_0x3f3bfb&&_0x56b2d9['cursor']&&_0x56b2d9[_0x52405d(0x157)][_0x52405d(0x8c)]){const _0x81b23a=_0x2a672f['get'](_0x56b2d9[_0x52405d(0x157)]['ref']+'_'+_0x531509);_0x81b23a&&_0x381a5c[_0x52405d(0xfa)](_0x81b23a[_0x52405d(0xc8)]['length'],0x0)&&(_0x3f3bfb=_0x81b23a[_0x52405d(0xc8)][_0x381a5c[_0x52405d(0xb7)](_0x81b23a[_0x52405d(0xc8)][_0x52405d(0x107)],0x1)][_0x52405d(0xbf)]);}if(!_0x3f3bfb)return;const _0x33f036=_0x56b2d9[_0x52405d(0xf9)]&&_0x56b2d9[_0x52405d(0xf9)]['listen']||_0x381a5c['AeCyY'];_0x29bdf7&&_0x381a5c[_0x52405d(0xfb)](emitLog,_0x3f3bfb,{'kind':_0x381a5c[_0x52405d(0x11c)],'message':_0x381a5c[_0x52405d(0xcd)](_0x381a5c[_0x52405d(0x12b)](_0x381a5c[_0x52405d(0x95)](_0x381a5c[_0x52405d(0xd4)],_0x33f036),_0x381a5c[_0x52405d(0x128)]),_0x29bdf7[_0x52405d(0xec)]||_0x29bdf7),'level':_0x381a5c['tyAhh']});}catch(_0x44eec4){_0x381a5c[_0x52405d(0x13a)](debug,_0x381a5c['sBUVz'](_0x381a5c['FwaLC'],_0x44eec4));}}),_0x59e087['on'](_0x381a5c[_0x289a15(0x73)],(_0x431189,_0x42abfa)=>{const _0x1ae3e0=_0x289a15;try{if(!_0x42abfa||!_0x42abfa[_0x1ae3e0(0xe9)])return;const _0x38b713=_0x42abfa[_0x1ae3e0(0xe9)]['id']+'_'+_0x531509,_0x5993a9=_0x2a672f['get'](_0x38b713);if(!_0x5993a9)return;const _0x11139b=new Date(),_0x343896=_0x381a5c[_0x1ae3e0(0xb7)](_0x11139b[_0x1ae3e0(0x93)](),_0x5993a9[_0x1ae3e0(0xbd)]);if(_0x381a5c[_0x1ae3e0(0x13b)](_0x5993a9[_0x1ae3e0(0xc8)][_0x1ae3e0(0x107)],0x0))_0x5993a9['assertions'][_0x1ae3e0(0xb0)](_0x2de458=>{const _0x350b99=_0x1ae3e0,_0x53700c=!!_0x2de458['err'],_0x244055={'finishedAt':_0x11139b[_0x350b99(0xe8)](),'durationMs':_0x343896,'result':_0x53700c?_0x381a5c[_0x350b99(0x136)]:_0x381a5c[_0x350b99(0x11e)]};_0x53700c&&(_0x244055[_0x350b99(0xeb)]=_0x2de458[_0x350b99(0x134)][_0x350b99(0xec)]||'',_0x244055[_0x350b99(0x90)]=_0x381a5c['pNXZn'](_0x2de458['err'][_0x350b99(0x127)],_0x381a5c[_0x350b99(0xc6)])||_0x2de458[_0x350b99(0x134)][_0x350b99(0xec)]&&_0x2de458[_0x350b99(0x134)][_0x350b99(0xec)]['includes'](_0x381a5c[_0x350b99(0x103)])?_0x381a5c[_0x350b99(0xc6)]:_0x381a5c[_0x350b99(0xa5)],_0x244055['failure']=[{'backtrace':_0x2de458['err']['stack']?_0x2de458[_0x350b99(0x134)]['stack'][_0x350b99(0x13c)]('\x0a'):[_0x2de458[_0x350b99(0x134)]['message']||''],'expanded':[]}]),_0x381a5c['UhbHH'](emitTest,HookState[_0x350b99(0x125)],_0x2de458,_0x5993a9,_0x509825,_0x244055);});else{const _0x3e6c34=_0x381a5c[_0x1ae3e0(0xd9)](uuidv4),_0x2f09bd=_0x5993a9[_0x1ae3e0(0xd2)],_0x5d7099=_0x381a5c[_0x1ae3e0(0x84)](_0x2f09bd,null)&&_0x381a5c[_0x1ae3e0(0x10b)](_0x2f09bd,0xc8)&&_0x381a5c['KtToR'](_0x2f09bd,0x190),_0x2b9e60=_0x5993a9['itemName']+'\x20(HTTP\x20'+_0x381a5c[_0x1ae3e0(0x7f)](_0x2f09bd,_0x381a5c[_0x1ae3e0(0x11d)])+')',_0x5129cf={'uuid':_0x3e6c34,'name':_0x2b9e60,'identifier':_0x5993a9[_0x1ae3e0(0xda)][_0x1ae3e0(0x100)]([_0x2b9e60])['join']('\x20')},_0x3adf7a={'finishedAt':_0x11139b[_0x1ae3e0(0xe8)](),'durationMs':_0x343896,'result':_0x5d7099?_0x381a5c[_0x1ae3e0(0x11e)]:_0x381a5c['DqItx']};!_0x5d7099&&(_0x3adf7a['failureReason']=_0x381a5c[_0x1ae3e0(0x84)](_0x2f09bd,null)?_0x1ae3e0(0x160)+_0x2f09bd+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x381a5c[_0x1ae3e0(0x9a)],_0x3adf7a[_0x1ae3e0(0x90)]=_0x381a5c[_0x1ae3e0(0xa5)],_0x3adf7a[_0x1ae3e0(0xd0)]=[{'backtrace':[_0x3adf7a[_0x1ae3e0(0xeb)]],'expanded':[]}]);_0x381a5c[_0x1ae3e0(0x161)](emitTest,HookState[_0x1ae3e0(0xd3)],_0x5129cf,_0x5993a9,_0x509825,{}),_0x5993a9[_0x1ae3e0(0x98)][_0x1ae3e0(0xb0)](_0x550c30=>{const _0x34d94f=_0x1ae3e0;_0x381a5c['HfVuC'](emitLog,_0x3e6c34,{'kind':_0x381a5c[_0x34d94f(0x11c)],'message':_0x550c30[_0x34d94f(0xec)],'level':_0x550c30[_0x34d94f(0xb5)]});});if(_0x5993a9[_0x1ae3e0(0x13f)]){_0x381a5c['cbhwY'](emitLog,_0x3e6c34,{'kind':_0x381a5c[_0x1ae3e0(0x162)],'http_response':_0x5993a9[_0x1ae3e0(0x13f)]});const _0x50076b=_0x381a5c['jhrUP'](_0x381a5c['oIdiH'](_0x381a5c['QuHmt'](_0x381a5c[_0x1ae3e0(0xbe)](_0x381a5c[_0x1ae3e0(0xd8)](_0x381a5c[_0x1ae3e0(0x159)](_0x381a5c['GbNiX'](_0x381a5c[_0x1ae3e0(0x117)](_0x5993a9[_0x1ae3e0(0x13f)]['method']||_0x381a5c[_0x1ae3e0(0x7b)],'\x20'),_0x5993a9['httpLog'][_0x1ae3e0(0xdf)]),_0x5993a9[_0x1ae3e0(0x13f)][_0x1ae3e0(0x96)]),_0x381a5c[_0x1ae3e0(0x145)]),_0x5993a9['httpLog'][_0x1ae3e0(0x121)]),'\x20('),_0x5993a9['httpLog'][_0x1ae3e0(0x7c)]),_0x381a5c[_0x1ae3e0(0x10f)]);_0x381a5c[_0x1ae3e0(0xc1)](emitLog,_0x3e6c34,{'kind':_0x381a5c[_0x1ae3e0(0x11c)],'message':_0x50076b,'level':_0x381a5c[_0x1ae3e0(0x7d)]});}else _0x381a5c['BtGtr'](emitLog,_0x3e6c34,{'kind':_0x381a5c[_0x1ae3e0(0x11c)],'message':_0x381a5c[_0x1ae3e0(0x144)](_0x381a5c[_0x1ae3e0(0x144)](_0x381a5c[_0x1ae3e0(0x12c)],_0x381a5c[_0x1ae3e0(0x7f)](_0x2f09bd,_0x381a5c['tYoRv'])),_0x381a5c[_0x1ae3e0(0x94)]),'level':_0x381a5c[_0x1ae3e0(0x7d)]});_0x381a5c[_0x1ae3e0(0x139)](emitTest,HookState[_0x1ae3e0(0x125)],_0x5129cf,_0x5993a9,_0x509825,_0x3adf7a);}_0x2a672f[_0x1ae3e0(0x15c)](_0x38b713),_0x42abfa[_0x1ae3e0(0x157)]&&_0x42abfa['cursor'][_0x1ae3e0(0x8c)]&&_0x2a672f[_0x1ae3e0(0x15c)](_0x42abfa[_0x1ae3e0(0x157)][_0x1ae3e0(0x8c)]+'_'+_0x531509);}catch(_0x35f7b4){_0x381a5c['QyXmA'](debug,_0x1ae3e0(0x133)+_0x35f7b4);}});}module[a39_0x287f81(0x138)]=BrowserStackNewmanReporter;
|
|
1
|
+
'use strict';const a39_0x150961=a39_0x24d4;(function(_0x51cae4,_0x468567){const _0xd8aade=a39_0x24d4,_0x644328=_0x51cae4();while(!![]){try{const _0x311659=-parseInt(_0xd8aade(0x1b7))/0x1+parseInt(_0xd8aade(0x19e))/0x2*(parseInt(_0xd8aade(0x184))/0x3)+-parseInt(_0xd8aade(0x161))/0x4+-parseInt(_0xd8aade(0x198))/0x5+parseInt(_0xd8aade(0x175))/0x6*(-parseInt(_0xd8aade(0x110))/0x7)+-parseInt(_0xd8aade(0x1c5))/0x8*(-parseInt(_0xd8aade(0x1a5))/0x9)+parseInt(_0xd8aade(0x185))/0xa;if(_0x311659===_0x468567)break;else _0x644328['push'](_0x644328['shift']());}catch(_0x3fea7e){_0x644328['push'](_0x644328['shift']());}}}(a39_0x5656,0x41995));const path=require(a39_0x150961(0x192)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a39_0x150961(0x170)),{debug}=require(a39_0x150961(0x190)),logger=require(a39_0x150961(0x17d))[a39_0x150961(0x119)],BrowserstackCLI=require(a39_0x150961(0x12a)),GrpcClient=require(a39_0x150961(0x135)),TestFrameworkState=require(a39_0x150961(0x1a9)),HookState=require(a39_0x150961(0x1c3)),LOG_LEVELS=[a39_0x150961(0x168),a39_0x150961(0x131),a39_0x150961(0x13e),a39_0x150961(0x19b),'TRACE'];function isCLIRunning(){const _0x341ccf=a39_0x150961;try{return BrowserstackCLI[_0x341ccf(0x147)]()[_0x341ccf(0x14f)]();}catch(_0x39efde){return![];}}function getParentTitles(_0x281694){const _0x5e492b=a39_0x150961,_0x49957e={'ngRAm':function(_0x375e09,_0x3cfb32){return _0x375e09(_0x3cfb32);},'IBbvk':function(_0x11a03a,_0xbd7df1){return _0x11a03a(_0xbd7df1);}},_0x3760e5=[],_0x3e3a65=_0x281694[_0x5e492b(0x1a3)]();return _0x3e3a65&&_0x3760e5['push'][_0x5e492b(0x1c8)](_0x3760e5,_0x49957e[_0x5e492b(0x1d2)](getParentTitles,_0x3e3a65)),_0x281694[_0x5e492b(0x18e)]&&_0x3760e5['push'](_0x49957e[_0x5e492b(0x1e9)](String,_0x281694['name'])),_0x3760e5;}function normalizeLogLevel(_0x20857b){const _0x2302c3=a39_0x150961,_0x1558b7={};_0x1558b7[_0x2302c3(0x1a2)]=_0x2302c3(0x168),_0x1558b7[_0x2302c3(0x115)]=function(_0x2bf1cb,_0xdc72fa){return _0x2bf1cb!==_0xdc72fa;};const _0x50f6cc=_0x1558b7;if(!_0x20857b)return _0x50f6cc[_0x2302c3(0x1a2)];const _0x33ed5d=_0x20857b[_0x2302c3(0x1de)]();return _0x50f6cc['qHCxC'](LOG_LEVELS[_0x2302c3(0x1ea)](_0x33ed5d),-0x1)?_0x33ed5d:_0x50f6cc['QkPFi'];}function resolveCollectionFile(_0x4d951f,_0x7f7135){const _0x3906a9=a39_0x150961,_0xe014f4={};_0xe014f4[_0x3906a9(0x139)]=function(_0x3475b7,_0x166a13){return _0x3475b7===_0x166a13;},_0xe014f4[_0x3906a9(0x17c)]=_0x3906a9(0x193),_0xe014f4[_0x3906a9(0x123)]=_0x3906a9(0x1f0),_0xe014f4['kqyyl']=function(_0x1ccb20,_0x2509a9){return _0x1ccb20!==_0x2509a9;},_0xe014f4['SDTUk']=function(_0x27e300,_0x417d94){return _0x27e300<_0x417d94;},_0xe014f4[_0x3906a9(0x1b1)]=function(_0x4fca11,_0x322534){return _0x4fca11+_0x322534;},_0xe014f4[_0x3906a9(0x128)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0xe014f4[_0x3906a9(0x19a)]=_0x3906a9(0x13d);const _0x1fbfd7=_0xe014f4;try{if(_0x7f7135&&_0x7f7135[_0x3906a9(0x1ef)])return path[_0x3906a9(0x106)](process[_0x3906a9(0x1d6)](),path[_0x3906a9(0x167)](_0x7f7135[_0x3906a9(0x1ef)]));const _0x9b673e=_0x4d951f[_0x3906a9(0x117)];if(_0x1fbfd7[_0x3906a9(0x139)](typeof _0x9b673e,_0x1fbfd7[_0x3906a9(0x17c)]))return path['relative'](process[_0x3906a9(0x1d6)](),path[_0x3906a9(0x167)](_0x9b673e));const _0x4a06b6=process['argv']['indexOf'](_0x1fbfd7['UErMX']);if(_0x1fbfd7['kqyyl'](_0x4a06b6,-0x1)&&_0x1fbfd7[_0x3906a9(0x113)](_0x1fbfd7[_0x3906a9(0x1b1)](_0x4a06b6,0x1),process['argv'][_0x3906a9(0x18c)])){const _0x32a027=process[_0x3906a9(0x1a7)][_0x1fbfd7[_0x3906a9(0x1b1)](_0x4a06b6,0x1)];if(_0x32a027&&!_0x32a027[_0x3906a9(0x1e3)]('-'))return path[_0x3906a9(0x106)](process[_0x3906a9(0x1d6)](),path[_0x3906a9(0x167)](_0x32a027));}}catch(_0x19b9d4){}return logger[_0x3906a9(0x137)](_0x1fbfd7['UfLPu']),_0x1fbfd7['OlWZS'];}function resolveCollectionName(_0x30b267){const _0x2b9330=a39_0x150961,_0x4f7d16={};_0x4f7d16['gWXIF']=function(_0x32681b,_0x5b00a5){return _0x32681b===_0x5b00a5;},_0x4f7d16[_0x2b9330(0x1b8)]=_0x2b9330(0x1a8);const _0x4363d1=_0x4f7d16;try{const _0x1cd828=_0x30b267['collection'];if(_0x1cd828&&_0x4363d1[_0x2b9330(0x162)](typeof _0x1cd828,_0x4363d1[_0x2b9330(0x1b8)]))return _0x1cd828[_0x2b9330(0x18e)]||_0x1cd828[_0x2b9330(0x137)]&&_0x1cd828[_0x2b9330(0x137)][_0x2b9330(0x18e)]||null;}catch(_0x4f72f3){}return null;}function a39_0x24d4(_0x2a63e4,_0x1ebbfa){const _0x565629=a39_0x5656();return a39_0x24d4=function(_0x24d481,_0x2af08a){_0x24d481=_0x24d481-0x101;let _0x34e356=_0x565629[_0x24d481];return _0x34e356;},a39_0x24d4(_0x2a63e4,_0x1ebbfa);}function emitTest(_0xb3dae,_0x4bb76c,_0x36aa4c,_0xaa0a91,_0x17a843){const _0x267c79=a39_0x150961,_0xffd92c={'RDpOv':function(_0x3eb0e5){return _0x3eb0e5();},'KuFXl':_0x267c79(0x11a),'wGhDI':function(_0x4f6ee9,_0x510f1a){return _0x4f6ee9(_0x510f1a);},'mlmLO':_0x267c79(0x138),'KUSgT':_0x267c79(0x1be),'FyQso':function(_0x31c3af,_0x1c327f){return _0x31c3af!=_0x1c327f;},'SkpkV':function(_0x4e95c2,_0x54d23c){return _0x4e95c2===_0x54d23c;},'xIpva':_0x267c79(0x10a),'IlCyv':_0x267c79(0x1f6)};if(_0xffd92c[_0x267c79(0x10c)](isCLIRunning))try{const _0x37f0ce=BrowserstackCLI[_0x267c79(0x147)]()['getTestFramework']();if(!_0x37f0ce)return;_0x37f0ce['trackEvent'](TestFrameworkState[_0x267c79(0x1c6)],_0xb3dae,{'test':{'uuid':_0x4bb76c['uuid'],'name':_0x4bb76c['name'],'scopes':_0x36aa4c['scopes'],'scope':_0x36aa4c[_0x267c79(0x11c)][_0x267c79(0x134)]('\x20'),'file_path':_0xaa0a91,'location':_0x36aa4c[_0x267c79(0x1da)],'started_at':_0x36aa4c['startedAt'],'finished_at':_0x17a843['finishedAt']||null,'result':_0x17a843[_0x267c79(0x1e7)]||_0xffd92c[_0x267c79(0x1c7)],'failure':_0x17a843[_0x267c79(0x1a6)]||[],'failure_type':_0x17a843[_0x267c79(0x11b)]||null,'failure_reason':_0x17a843[_0x267c79(0x129)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0xba0e4a){_0xffd92c[_0x267c79(0x1b9)](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0xba0e4a);}else{const _0x4c7d4b={'uuid':_0x4bb76c[_0x267c79(0x14a)],'name':_0x4bb76c['name'],'framework':_0xffd92c[_0x267c79(0x16e)],'body':{'lang':_0xffd92c['KUSgT'],'code':null},'scope':_0x36aa4c['scopes'][_0x267c79(0x134)]('\x20'),'scopes':_0x36aa4c[_0x267c79(0x11c)],'identifier':_0x4bb76c[_0x267c79(0x1b5)],'file_name':_0x36aa4c[_0x267c79(0x1da)],'vc_filepath':_0x36aa4c[_0x267c79(0x154)],'location':_0x36aa4c['location'],'started_at':_0x36aa4c[_0x267c79(0x103)],'finished_at':_0x17a843[_0x267c79(0x1c0)]||null,'duration_in_ms':_0xffd92c[_0x267c79(0x1db)](_0x17a843[_0x267c79(0x1e5)],null)?Math['max'](0x0,_0x17a843['durationMs']):null,'result':_0x17a843[_0x267c79(0x1e7)]||_0xffd92c['KuFXl'],'failure_reason':_0x17a843[_0x267c79(0x129)]||null,'failure_type':_0x17a843[_0x267c79(0x11b)]||null,'failure':_0x17a843[_0x267c79(0x1a6)]||[],'retry_of':null,'hooks':[]};_0x4c7d4b[_0x267c79(0x1a6)][0x0]&&(_0x4c7d4b[_0x267c79(0x1bd)]=_0x4c7d4b[_0x267c79(0x1a6)][0x0][_0x267c79(0x1f8)],_0x4c7d4b[_0x267c79(0x1af)]=_0x4c7d4b[_0x267c79(0x1a6)][0x0][_0x267c79(0x107)]);const _0x361547=_0xffd92c[_0x267c79(0x151)](_0xb3dae,HookState[_0x267c79(0x1bf)])?_0xffd92c['xIpva']:_0xffd92c[_0x267c79(0x15c)],_0x34d006={};_0x34d006[_0x267c79(0x125)]=_0x361547,_0x34d006[_0x267c79(0x126)]=_0x4c7d4b,SessionHandler[_0x267c79(0x1d5)](_0x34d006);}}function a39_0x5656(){const _0x1bc0ca=['expanded','clear','SfUKX','TestRunStarted','yXRPU','RDpOv','TEST_LOG','getTime','hREKA','7qGYSet','httpLog','error','SDTUk','method','qHCxC','[Newman\x20Reporter]\x20emitLog\x20error:\x20','collection','qeGbT','winstonLogger','pending','failureType','scopes','Exception:\x20','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','listen','iowtN','wLsNH','PCMSP','UErMX','agbaz','event_type','test_run','bPLcg','UfLPu','failureReason','../../v2/browserstackCLI','rvSjG','fYwQy','\x20(no\x20assertions)','set','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','forEach','WARN','bnpkN','exports','join','../../v2/grpcClient','kind','info','newman','Kcmbh','yssJH','level','code','collection.json','ERROR','PkqDT','No\x20HTTP\x20response\x20received','stack','event','host','MRoBv','Iojag','stringify','getInstance','beforeIteration','qopMd','uuid','http','eHBnF','rPJDN','tNUfV','isRunning','hUrrz','SkpkV','yOEMc','cmZob','location','JtefF','tIAhm','testFrameworkState','assertion','get','PGSxb','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','IlCyv','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','duration_ms','failed','toString','86724AFlhAS','gWXIF','lpupC','GET','ompsI','JWrtj','resolve','INFO','Assertion\x20','ixjKT','UxLfT','dOKFV','assertions','mlmLO','cursor','../../../helpers/test-observability/sessionHandler','status_code','url','gIYpw','kcNrf','1398426pcNbvu','LogCreated','script','RmjkW','QuXXw','jlpGt','crgUQ','AqrnU','../../../helpers/logger','spVtx','assert','done','ewIwo','concat','zPlDm','18204NNOhiu','3544000ncTBNB','bufferedLogs','dLkvf','qVJVA','messages','kSYax','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','length','err','name','http://','../../../helpers/test-observability/utils','beforeItem','path','string','gTqlR','Fdimm','unknown','search','597915XSLkPT','iJvlE','OlWZS','DEBUG','UBHKo','GexDI','140ChSRwO','ref','BMUtO','jUqTf','QkPFi','parent','UXBkm','18513JkREbB','failure','argv','object','../../v2/state/testFrameworkState','iBbuO','tJmfF','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','push','execution','failure_reason_expanded','test_run_uuid','oBmuK','POST','response','UnhandledError','identifier','yHXRs','422055RVXpAc','YYRKm','wGhDI','logs','uzQgr','hXlDv','failure_backtrace','javascript','PRE','finishedAt','request','HTTP','../../v2/state/hookState','includes','1112pLAkbR','TEST','KuFXl','apply','HTTP\x20Status:\x20','bKlBk','REyFD','vWyMM','console','phJZy','slice','):\x20','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','ngRAm','pqNWn','vCQmV','uploadEventData','cwd','message','fJPTL','ajsOU','collectionName','FyQso','cPOXw','PeLld','toUpperCase','Script\x20error\x20(','toISOString','item','ciDBz','startsWith','dZYLZ','durationMs','pathname','result','split','IBbvk','indexOf','WnYUC','N/A','\x20(HTTP\x20','AIQDF','collectionPath','run','KbPjC','passed','platformIndex','\x20->\x20','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','TestRunFinished','AssertionError','backtrace','lastResponseCode','jzUtz','itemName','SdeYH','startedAt','Xflfp','removeListener','relative'];a39_0x5656=function(){return _0x1bc0ca;};return a39_0x5656();}function emitLog(_0x5541de,_0x2efe56){const _0x561850=a39_0x150961,_0x44f8f0={'vCQmV':_0x561850(0x10d),'VcJDn':function(_0x86bc8){return _0x86bc8();},'yOEMc':function(_0x3e9da9,_0x58c657){return _0x3e9da9===_0x58c657;},'ixjKT':_0x561850(0x1c2),'cmZob':_0x561850(0x138),'woiyO':_0x561850(0x1c6),'FUDGp':_0x561850(0x168),'ZLjVw':function(_0x28f368,_0x1ac0c9){return _0x28f368(_0x1ac0c9);},'fJPTL':function(_0xfb9970,_0xdecb17){return _0xfb9970+_0xdecb17;},'jUqTf':_0x561850(0x116),'AIQDF':_0x561850(0x176)},_0x3a7a42=_0x2efe56[_0x561850(0x136)]||_0x44f8f0[_0x561850(0x1d4)],_0x296e65=_0x2efe56['timestamp']||new Date()[_0x561850(0x1e0)]();if(_0x44f8f0['VcJDn'](isCLIRunning))try{const _0x4ca51b=_0x44f8f0[_0x561850(0x152)](_0x3a7a42,_0x44f8f0[_0x561850(0x16a)])?JSON[_0x561850(0x146)](_0x2efe56):_0x2efe56[_0x561850(0x1d7)]||'',_0xda36f0={};_0xda36f0[_0x561850(0x1f3)]=0x0,_0xda36f0['testFrameworkName']=_0x44f8f0[_0x561850(0x153)],_0xda36f0['testFrameworkVersion']='',_0xda36f0[_0x561850(0x157)]=_0x44f8f0['woiyO'],_0xda36f0[_0x561850(0x1ba)]=[{'uuid':_0x5541de,'timestamp':_0x296e65,'kind':_0x3a7a42,'level':_0x2efe56[_0x561850(0x13b)]||_0x44f8f0['FUDGp'],'message':_0x4ca51b}],GrpcClient[_0x561850(0x147)]()['logCreatedEvent'](_0xda36f0);}catch(_0x2ac136){_0x44f8f0['ZLjVw'](debug,_0x44f8f0[_0x561850(0x1d8)](_0x44f8f0[_0x561850(0x1a1)],_0x2ac136));}else{const _0x480cb0={};_0x480cb0[_0x561850(0x1b0)]=_0x5541de,_0x480cb0['timestamp']=_0x296e65,_0x480cb0[_0x561850(0x13b)]=_0x2efe56['level']||null,_0x480cb0[_0x561850(0x1d7)]=_0x2efe56[_0x561850(0x1d7)]||null,_0x480cb0[_0x561850(0x136)]=_0x3a7a42,_0x480cb0['http_response']=_0x2efe56['http_response']||{};const _0x5d1dfc={};_0x5d1dfc[_0x561850(0x125)]=_0x44f8f0[_0x561850(0x1ee)],_0x5d1dfc[_0x561850(0x1ba)]=[_0x480cb0],SessionHandler[_0x561850(0x1d5)](_0x5d1dfc);}}function BrowserStackNewmanReporter(_0x1e9345,_0x261429,_0xf0ab3d){const _0x36e6c5=a39_0x150961,_0x28fe21={'JWrtj':function(_0x4b51a9,_0x29f17e,_0x3f1453){return _0x4b51a9(_0x29f17e,_0x3f1453);},'ajsOU':function(_0x377479,_0x5cc12e){return _0x377479(_0x5cc12e);},'PeLld':function(_0x553aa6,_0x52f24d){return _0x553aa6>_0x52f24d;},'vKUdA':_0x36e6c5(0x14b),'tJmfF':function(_0x5699d9,_0x4a00e0){return _0x5699d9+_0x4a00e0;},'dOKFV':_0x36e6c5(0x164),'rvSjG':function(_0x57021d,_0x44aea3){return _0x57021d(_0x44aea3);},'bnpkN':function(_0x36dc7d,_0x3031f7,_0x36a19b){return _0x36dc7d(_0x3031f7,_0x36a19b);},'jlpGt':_0x36e6c5(0x10d),'pqNWn':function(_0x37cc42,_0x209cff){return _0x37cc42+_0x209cff;},'ciDBz':function(_0xd315e0){return _0xd315e0();},'Xflfp':function(_0x1e114b,_0x322668){return _0x1e114b||_0x322668;},'REyFD':function(_0x3820db,_0x2198d8,_0x14b797,_0x15e216,_0x118cdf,_0x15eb62){return _0x3820db(_0x2198d8,_0x14b797,_0x15e216,_0x118cdf,_0x15eb62);},'eHBnF':function(_0x5bfbe2,_0x19df2f){return _0x5bfbe2===_0x19df2f;},'RmjkW':function(_0xe200e3,_0x3de10d,_0x5c9bf6){return _0xe200e3(_0x3de10d,_0x5c9bf6);},'bKlBk':_0x36e6c5(0x1c2),'BMUtO':function(_0xd7dfdf,_0x108740){return _0xd7dfdf+_0x108740;},'uzQgr':function(_0x277627,_0x5cae91){return _0x277627+_0x5cae91;},'crgUQ':function(_0x2e32ec,_0x11a1c9){return _0x2e32ec+_0x11a1c9;},'spVtx':function(_0x2b82e5,_0x52bdda){return _0x2b82e5+_0x52bdda;},'agbaz':function(_0x236ae3,_0x346571){return _0x236ae3+_0x346571;},'oCIaS':function(_0x15440,_0x44ac75){return _0x15440+_0x44ac75;},'KbPjC':_0x36e6c5(0x1f4),'ewIwo':'ms)','qTQla':function(_0x435233,_0x6f8e5d,_0x2fef65){return _0x435233(_0x6f8e5d,_0x2fef65);},'phJZy':_0x36e6c5(0x168),'UxLfT':function(_0x4f9619,_0x559c64){return _0x4f9619(_0x559c64);},'rPJDN':function(_0x957dae,_0xb01d42){return _0x957dae-_0xb01d42;},'xhntw':function(_0x184fbe,_0x3e4130){return _0x184fbe(_0x3e4130);},'iJvlE':function(_0x4266d9,_0x246046){return _0x4266d9&&_0x246046;},'iowtN':function(_0x2f6c2b,_0x2d91b8){return _0x2f6c2b-_0x2d91b8;},'dZYLZ':function(_0x58f804,_0x37e97b,_0x2a0063){return _0x58f804(_0x37e97b,_0x2a0063);},'tIAhm':_0x36e6c5(0x11d),'vWyMM':_0x36e6c5(0x13e),'CXMhf':function(_0x1ecb7c,_0x178d38){return _0x1ecb7c(_0x178d38);},'iBbuO':function(_0x4eabe3,_0x4d8047){return _0x4eabe3+_0x4d8047;},'tNUfV':_0x36e6c5(0x12f),'Iojag':function(_0x3edd57,_0x2b004d){return _0x3edd57>_0x2b004d;},'jzUtz':function(_0x14bb01,_0x52a53c){return _0x14bb01-_0x52a53c;},'UXBkm':_0x36e6c5(0x196),'jSfIh':function(_0x2cdc2d,_0x2dda98,_0x512633){return _0x2cdc2d(_0x2dda98,_0x512633);},'fYwQy':_0x36e6c5(0x1df),'mqBVf':_0x36e6c5(0x1d0),'SdeYH':function(_0x3ebb20,_0x55b892){return _0x3ebb20(_0x55b892);},'SfUKX':function(_0x1f6887,_0x36c784){return _0x1f6887+_0x36c784;},'kockF':_0x36e6c5(0x15b),'cPOXw':_0x36e6c5(0x15f),'qeGbT':_0x36e6c5(0x1f2),'UBGdI':function(_0x5d75f7,_0x4bc5c2){return _0x5d75f7===_0x4bc5c2;},'lpupC':_0x36e6c5(0x1f7),'yXRPU':_0x36e6c5(0x17f),'hREKA':_0x36e6c5(0x1b4),'qopMd':function(_0x10ec75,_0x378416,_0x13d068,_0x48e8fc,_0xd37e22,_0x1cfdf5){return _0x10ec75(_0x378416,_0x13d068,_0x48e8fc,_0xd37e22,_0x1cfdf5);},'MRoBv':function(_0x50a412,_0x194a4c){return _0x50a412-_0x194a4c;},'WyKTm':function(_0x7c2abd){return _0x7c2abd();},'kSYax':function(_0x179d1b,_0x27904d){return _0x179d1b!=_0x27904d;},'yHXRs':function(_0x21061c,_0xfcabaf){return _0x21061c>=_0xfcabaf;},'Fdimm':function(_0x34db80,_0x5ef0bf){return _0x34db80<_0x5ef0bf;},'dLkvf':_0x36e6c5(0x1ec),'PGSxb':_0x36e6c5(0x140),'yVfhp':function(_0x2956d0,_0x3278ce,_0x26a018){return _0x2956d0(_0x3278ce,_0x26a018);},'QuXXw':function(_0x98b76a,_0x1365f1){return _0x98b76a+_0x1365f1;},'GexDI':function(_0xa348ff,_0x3882ca){return _0xa348ff+_0x3882ca;},'UBHKo':function(_0x4ed697,_0x264e74){return _0x4ed697+_0x264e74;},'uBTJW':function(_0x1c896a,_0x3e5a03){return _0x1c896a+_0x3e5a03;},'hXlDv':function(_0x56d92b,_0x425772){return _0x56d92b+_0x425772;},'rOdYA':function(_0x484ae7,_0x4a3942,_0x11c5f5){return _0x484ae7(_0x4a3942,_0x11c5f5);},'idYNB':function(_0x147763,_0x20f227){return _0x147763+_0x20f227;},'kcNrf':_0x36e6c5(0x1c9),'PkqDT':_0x36e6c5(0x12d),'bPLcg':function(_0x335bc2,_0x2c488b){return _0x335bc2(_0x2c488b);},'wLsNH':function(_0x220023,_0x58f946,_0x3e1d7b){return _0x220023(_0x58f946,_0x3e1d7b);},'hUrrz':function(_0x50a791,_0x1017b3){return _0x50a791(_0x1017b3);},'gTqlR':_0x36e6c5(0x180),'WnYUC':_0x36e6c5(0x148),'ompsI':_0x36e6c5(0x191),'DJAej':'request','golQn':_0x36e6c5(0x158),'yssJH':_0x36e6c5(0x1cd),'ibCBr':'exception','qVJVA':_0x36e6c5(0x177),'JtefF':'item'},_0x36d297=new Map();let _0x4f70fc=null,_0x10e2dc=0x0;const _0xd25e55=_0x28fe21[_0x36e6c5(0x121)](resolveCollectionFile,_0xf0ab3d,_0x261429),_0x182167=_0x28fe21[_0x36e6c5(0x150)](resolveCollectionName,_0xf0ab3d)||_0xd25e55,_0x405bd5=path[_0x36e6c5(0x167)](_0xd25e55),_0xab7f26='bs:addLog:'+process['pid'],_0x100c1c=_0x24d28c=>{const _0x350e7c=_0x36e6c5;try{_0x4f70fc&&_0x28fe21[_0x350e7c(0x166)](emitLog,_0x4f70fc,_0x24d28c);}catch(_0x959eb0){_0x28fe21[_0x350e7c(0x1d9)](debug,_0x350e7c(0x1d1)+_0x959eb0);}};process['on'](_0xab7f26,_0x100c1c),_0x1e9345['on'](_0x28fe21[_0x36e6c5(0x194)],()=>{const _0x56b209=_0x36e6c5;process[_0x56b209(0x105)](_0xab7f26,_0x100c1c),_0x36d297[_0x56b209(0x108)]();}),_0x1e9345['on'](_0x28fe21[_0x36e6c5(0x1eb)],(_0xb0f3c4,_0x43f67d)=>{const _0x8ec80e=_0x36e6c5;_0x43f67d&&_0x43f67d['cursor']&&(_0x10e2dc=_0x43f67d[_0x8ec80e(0x16f)]['iteration']||0x0);}),_0x1e9345['on'](_0x28fe21[_0x36e6c5(0x165)],(_0x3cab23,_0x54881e)=>{const _0x28b42c=_0x36e6c5;try{_0x4f70fc=null;const _0x1ab28b=_0x54881e[_0x28b42c(0x1e1)],_0x2c9efc=_0x1ab28b[_0x28b42c(0x1a3)]()?_0x28fe21[_0x28b42c(0x1d9)](getParentTitles,_0x1ab28b['parent']()):[],_0x3d8a1a=_0x28fe21[_0x28b42c(0x1dd)](_0x2c9efc[_0x28b42c(0x18c)],0x1)?_0x2c9efc[_0x28b42c(0x1cf)](0x1):_0x2c9efc,_0x1961bb=_0x54881e['cursor']&&_0x54881e[_0x28b42c(0x16f)][_0x28b42c(0x19f)],_0x409133={'itemName':_0x1ab28b[_0x28b42c(0x18e)],'scopes':_0x3d8a1a[_0x28b42c(0x182)]([_0x1ab28b[_0x28b42c(0x18e)]]),'location':_0xd25e55,'collectionName':_0x182167,'startedAt':new Date()[_0x28b42c(0x1e0)](),'startTimestamp':Date['now'](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x36d297[_0x28b42c(0x12e)](_0x1ab28b['id']+'_'+_0x10e2dc,_0x409133),_0x1961bb&&_0x36d297['set'](_0x1961bb+'_'+_0x10e2dc,_0x409133);}catch(_0x378379){_0x28fe21[_0x28b42c(0x1d9)](debug,_0x28b42c(0x1f5)+_0x378379);}}),_0x1e9345['on'](_0x28fe21['DJAej'],(_0x1f4243,_0x525058)=>{const _0xd0609=_0x36e6c5;try{if(!_0x525058||!_0x525058[_0xd0609(0x1e1)])return;const _0x76f87f=_0x36d297['get'](_0x525058[_0xd0609(0x1e1)]['id']+'_'+_0x10e2dc);if(!_0x76f87f)return;_0x525058[_0xd0609(0x1b3)]&&(_0x76f87f[_0xd0609(0x1f9)]=_0x525058[_0xd0609(0x1b3)][_0xd0609(0x13c)]||null);if(!_0x525058[_0xd0609(0x1c1)])return;let _0x23aa3e='',_0x2b03c9='';if(_0x525058[_0xd0609(0x1c1)]['url'])try{const _0x5a9107=_0x525058[_0xd0609(0x1c1)][_0xd0609(0x172)][_0xd0609(0x160)](),_0x6d3a5=new URL(_0x5a9107['startsWith'](_0x28fe21['vKUdA'])?_0x5a9107:_0xd0609(0x18f)+_0x5a9107);_0x23aa3e=_0x6d3a5['hostname'],_0x2b03c9=_0x28fe21[_0xd0609(0x1ab)](_0x6d3a5[_0xd0609(0x1e6)],_0x6d3a5[_0xd0609(0x197)]);}catch(_0x50f28e){_0x2b03c9=_0x525058[_0xd0609(0x1c1)][_0xd0609(0x172)][_0xd0609(0x160)]();}const _0xb371ea={};_0xb371ea[_0xd0609(0x143)]=_0x23aa3e,_0xb371ea['path']=_0x2b03c9,_0xb371ea[_0xd0609(0x114)]=_0x525058[_0xd0609(0x1c1)][_0xd0609(0x114)]||_0x28fe21[_0xd0609(0x16c)],_0xb371ea['headers']={},_0xb371ea[_0xd0609(0x171)]=_0x525058[_0xd0609(0x1b3)]?_0x525058[_0xd0609(0x1b3)][_0xd0609(0x13c)]||0x0:0x0,_0xb371ea['duration_ms']=_0x525058['response']?_0x525058[_0xd0609(0x1b3)]['responseTime']||0x0:0x0,_0x76f87f['httpLog']=_0xb371ea;}catch(_0x38c6d5){_0x28fe21[_0xd0609(0x12b)](debug,_0xd0609(0x18b)+_0x38c6d5);}}),_0x1e9345['on'](_0x28fe21['golQn'],(_0x4fa62c,_0x1002c6)=>{const _0x2e8efc=_0x36e6c5,_0xa2cb99={'gIYpw':function(_0x56c4b5,_0x5c105e,_0x1de731){const _0xa3f83a=a39_0x24d4;return _0x28fe21[_0xa3f83a(0x132)](_0x56c4b5,_0x5c105e,_0x1de731);},'PCMSP':_0x28fe21['jlpGt']};try{if(!_0x1002c6||!_0x1002c6['item'])return;const _0x5b8bf8=_0x36d297[_0x2e8efc(0x159)](_0x1002c6[_0x2e8efc(0x1e1)]['id']+'_'+_0x10e2dc);if(!_0x5b8bf8)return;const _0x1234f0=_0x1002c6[_0x2e8efc(0x158)]||_0x2e8efc(0x169)+_0x28fe21[_0x2e8efc(0x1d3)](_0x5b8bf8[_0x2e8efc(0x16d)][_0x2e8efc(0x18c)],0x1),_0x40d0dc=_0x28fe21[_0x2e8efc(0x1e2)](uuidv4),_0xe0c566=_0x5b8bf8[_0x2e8efc(0x11c)][_0x2e8efc(0x182)]([_0x1234f0])[_0x2e8efc(0x134)]('\x20');_0x5b8bf8[_0x2e8efc(0x16d)][_0x2e8efc(0x1ad)]({'uuid':_0x40d0dc,'name':_0x1234f0,'identifier':_0xe0c566,'err':_0x28fe21[_0x2e8efc(0x104)](_0x4fa62c,null)});const _0x15c452={};_0x15c452['uuid']=_0x40d0dc,_0x15c452[_0x2e8efc(0x18e)]=_0x1234f0,_0x15c452[_0x2e8efc(0x1b5)]=_0xe0c566,_0x28fe21[_0x2e8efc(0x1cb)](emitTest,HookState['PRE'],_0x15c452,_0x5b8bf8,_0x405bd5,{});_0x28fe21[_0x2e8efc(0x14c)](_0x5b8bf8[_0x2e8efc(0x16d)]['length'],0x1)&&_0x28fe21[_0x2e8efc(0x1dd)](_0x5b8bf8['bufferedLogs'][_0x2e8efc(0x18c)],0x0)&&(_0x5b8bf8[_0x2e8efc(0x186)][_0x2e8efc(0x130)](_0x5bb221=>{const _0x412a55=_0x2e8efc;_0xa2cb99[_0x412a55(0x173)](emitLog,_0x40d0dc,{'kind':_0xa2cb99[_0x412a55(0x122)],'message':_0x5bb221['message'],'level':_0x5bb221['level']});}),_0x5b8bf8['bufferedLogs']=[]);if(_0x5b8bf8['httpLog']){_0x28fe21[_0x2e8efc(0x178)](emitLog,_0x40d0dc,{'kind':_0x28fe21[_0x2e8efc(0x1ca)],'http_response':_0x5b8bf8[_0x2e8efc(0x111)]});const _0x1af4b8=_0x28fe21[_0x2e8efc(0x1a0)](_0x28fe21[_0x2e8efc(0x1ab)](_0x28fe21[_0x2e8efc(0x1d3)](_0x28fe21[_0x2e8efc(0x1bb)](_0x28fe21[_0x2e8efc(0x17b)](_0x28fe21[_0x2e8efc(0x17e)](_0x28fe21[_0x2e8efc(0x124)](_0x28fe21['oCIaS'](_0x5b8bf8[_0x2e8efc(0x111)][_0x2e8efc(0x114)]||_0x28fe21[_0x2e8efc(0x16c)],'\x20'),_0x5b8bf8['httpLog'][_0x2e8efc(0x143)]),_0x5b8bf8['httpLog']['path']),_0x28fe21[_0x2e8efc(0x1f1)]),_0x5b8bf8[_0x2e8efc(0x111)][_0x2e8efc(0x171)]),'\x20('),_0x5b8bf8[_0x2e8efc(0x111)][_0x2e8efc(0x15e)]),_0x28fe21['ewIwo']);_0x28fe21['qTQla'](emitLog,_0x40d0dc,{'kind':_0x28fe21[_0x2e8efc(0x17a)],'message':_0x1af4b8,'level':_0x28fe21[_0x2e8efc(0x1ce)]});}_0x4f70fc=_0x40d0dc;}catch(_0x15ec98){_0x28fe21[_0x2e8efc(0x16b)](debug,_0x2e8efc(0x15d)+_0x15ec98);}}),_0x1e9345['on'](_0x28fe21[_0x36e6c5(0x13a)],(_0x56c039,_0x1b778a)=>{const _0x1b302d=_0x36e6c5;try{if(!_0x1b778a)return;let _0x33b1b5=_0x4f70fc;if(!_0x33b1b5&&_0x1b778a[_0x1b302d(0x16f)]&&_0x1b778a['cursor'][_0x1b302d(0x19f)]){const _0x396a86=_0x36d297[_0x1b302d(0x159)](_0x1b778a[_0x1b302d(0x16f)][_0x1b302d(0x19f)]+'_'+_0x10e2dc);_0x396a86&&_0x28fe21[_0x1b302d(0x1dd)](_0x396a86[_0x1b302d(0x16d)][_0x1b302d(0x18c)],0x0)&&(_0x33b1b5=_0x396a86[_0x1b302d(0x16d)][_0x28fe21[_0x1b302d(0x14d)](_0x396a86[_0x1b302d(0x16d)][_0x1b302d(0x18c)],0x1)]['uuid']);}const _0x22a9ca=_0x1b778a['messages']?_0x1b778a[_0x1b302d(0x189)][_0x1b302d(0x134)](',\x20'):'';if(_0x33b1b5)_0x28fe21[_0x1b302d(0x166)](emitLog,_0x33b1b5,{'kind':_0x28fe21['jlpGt'],'message':_0x22a9ca,'level':_0x28fe21['xhntw'](normalizeLogLevel,_0x1b778a['level'])});else{if(_0x1b778a[_0x1b302d(0x16f)]&&_0x1b778a[_0x1b302d(0x16f)][_0x1b302d(0x19f)]){const _0xf8eb04=_0x36d297[_0x1b302d(0x159)](_0x1b778a[_0x1b302d(0x16f)][_0x1b302d(0x19f)]+'_'+_0x10e2dc);_0xf8eb04&&_0xf8eb04['bufferedLogs'][_0x1b302d(0x1ad)]({'timestamp':new Date()[_0x1b302d(0x1e0)](),'level':_0x28fe21['UxLfT'](normalizeLogLevel,_0x1b778a['level']),'message':_0x22a9ca});}}}catch(_0x9bfb){_0x28fe21['UxLfT'](debug,_0x1b302d(0x11e)+_0x9bfb);}}),_0x1e9345['on'](_0x28fe21['ibCBr'],(_0x480924,_0x5a18e5)=>{const _0x207dc2=_0x36e6c5;try{if(!_0x480924&&(!_0x5a18e5||!_0x5a18e5[_0x207dc2(0x112)]))return;const _0x479583=_0x480924||_0x5a18e5[_0x207dc2(0x112)],_0x4e52bb=_0x479583[_0x207dc2(0x1d7)]||_0x28fe21[_0x207dc2(0x1d9)](String,_0x479583),_0x38d1d0=_0x479583[_0x207dc2(0x141)]||_0x4e52bb;let _0x1bf87b=_0x4f70fc;if(_0x28fe21[_0x207dc2(0x199)](!_0x1bf87b,_0x5a18e5)&&_0x5a18e5[_0x207dc2(0x16f)]&&_0x5a18e5[_0x207dc2(0x16f)][_0x207dc2(0x19f)]){const _0x32c931=_0x36d297[_0x207dc2(0x159)](_0x5a18e5[_0x207dc2(0x16f)][_0x207dc2(0x19f)]+'_'+_0x10e2dc);_0x32c931&&_0x28fe21[_0x207dc2(0x1dd)](_0x32c931[_0x207dc2(0x16d)][_0x207dc2(0x18c)],0x0)&&(_0x1bf87b=_0x32c931[_0x207dc2(0x16d)][_0x28fe21[_0x207dc2(0x120)](_0x32c931[_0x207dc2(0x16d)][_0x207dc2(0x18c)],0x1)][_0x207dc2(0x14a)]);}_0x1bf87b&&_0x28fe21[_0x207dc2(0x1e4)](emitLog,_0x1bf87b,{'kind':_0x28fe21[_0x207dc2(0x17a)],'message':_0x28fe21['agbaz'](_0x28fe21[_0x207dc2(0x156)],_0x38d1d0),'level':_0x28fe21[_0x207dc2(0x1cc)]});}catch(_0x1fb9f8){_0x28fe21['CXMhf'](debug,_0x28fe21[_0x207dc2(0x1aa)](_0x28fe21[_0x207dc2(0x14e)],_0x1fb9f8));}}),_0x1e9345['on'](_0x28fe21[_0x36e6c5(0x188)],(_0x1d9536,_0x5af79a)=>{const _0x2341b1=_0x36e6c5;try{if(!_0x5af79a||!_0x5af79a[_0x2341b1(0x1ae)])return;let _0x430442=_0x4f70fc;if(!_0x430442&&_0x5af79a[_0x2341b1(0x16f)]&&_0x5af79a[_0x2341b1(0x16f)][_0x2341b1(0x19f)]){const _0x32d3a9=_0x36d297[_0x2341b1(0x159)](_0x5af79a[_0x2341b1(0x16f)][_0x2341b1(0x19f)]+'_'+_0x10e2dc);_0x32d3a9&&_0x28fe21[_0x2341b1(0x145)](_0x32d3a9[_0x2341b1(0x16d)][_0x2341b1(0x18c)],0x0)&&(_0x430442=_0x32d3a9[_0x2341b1(0x16d)][_0x28fe21[_0x2341b1(0x1fa)](_0x32d3a9[_0x2341b1(0x16d)]['length'],0x1)][_0x2341b1(0x14a)]);}if(!_0x430442)return;const _0x25c48b=_0x5af79a[_0x2341b1(0x142)]&&_0x5af79a[_0x2341b1(0x142)][_0x2341b1(0x11f)]||_0x28fe21[_0x2341b1(0x1a4)];_0x1d9536&&_0x28fe21['jSfIh'](emitLog,_0x430442,{'kind':_0x28fe21[_0x2341b1(0x17a)],'message':_0x28fe21['oCIaS'](_0x28fe21['crgUQ'](_0x28fe21[_0x2341b1(0x1bb)](_0x28fe21[_0x2341b1(0x12c)],_0x25c48b),_0x28fe21['mqBVf']),_0x1d9536['message']||_0x1d9536),'level':_0x28fe21[_0x2341b1(0x1cc)]});}catch(_0x421bf5){_0x28fe21[_0x2341b1(0x102)](debug,_0x28fe21[_0x2341b1(0x109)](_0x28fe21['kockF'],_0x421bf5));}}),_0x1e9345['on'](_0x28fe21[_0x36e6c5(0x155)],(_0x2f97af,_0x5c861d)=>{const _0x177985=_0x36e6c5,_0x463687={'zPlDm':function(_0xe52850,_0x33477d,_0x492647){const _0x455ae7=a39_0x24d4;return _0x28fe21[_0x455ae7(0x166)](_0xe52850,_0x33477d,_0x492647);},'lcxgL':_0x28fe21['jlpGt']};try{if(!_0x5c861d||!_0x5c861d[_0x177985(0x1e1)])return;const _0x3f0d3a=_0x5c861d[_0x177985(0x1e1)]['id']+'_'+_0x10e2dc,_0x2987d4=_0x36d297[_0x177985(0x159)](_0x3f0d3a);if(!_0x2987d4)return;const _0x13ce2f=new Date(),_0x3660c6=_0x28fe21[_0x177985(0x144)](_0x13ce2f[_0x177985(0x10e)](),_0x2987d4['startTimestamp']);if(_0x28fe21[_0x177985(0x145)](_0x2987d4['assertions']['length'],0x0))_0x2987d4[_0x177985(0x16d)]['forEach'](_0x429c7d=>{const _0x406971=_0x177985,_0x9414f8=!!_0x429c7d[_0x406971(0x18d)],_0x118631={'finishedAt':_0x13ce2f[_0x406971(0x1e0)](),'durationMs':_0x3660c6,'result':_0x9414f8?_0x28fe21[_0x406971(0x1dc)]:_0x28fe21[_0x406971(0x118)]};_0x9414f8&&(_0x118631[_0x406971(0x129)]=_0x429c7d[_0x406971(0x18d)]['message']||'',_0x118631[_0x406971(0x11b)]=_0x28fe21['UBGdI'](_0x429c7d['err'][_0x406971(0x18e)],_0x28fe21[_0x406971(0x163)])||_0x429c7d['err'][_0x406971(0x1d7)]&&_0x429c7d[_0x406971(0x18d)][_0x406971(0x1d7)][_0x406971(0x1c4)](_0x28fe21[_0x406971(0x10b)])?_0x28fe21[_0x406971(0x163)]:_0x28fe21[_0x406971(0x10f)],_0x118631[_0x406971(0x1a6)]=[{'backtrace':_0x429c7d[_0x406971(0x18d)][_0x406971(0x141)]?_0x429c7d[_0x406971(0x18d)][_0x406971(0x141)][_0x406971(0x1e8)]('\x0a'):[_0x429c7d[_0x406971(0x18d)][_0x406971(0x1d7)]||''],'expanded':[]}]),_0x28fe21[_0x406971(0x149)](emitTest,HookState['POST'],_0x429c7d,_0x2987d4,_0x405bd5,_0x118631);});else{const _0xe896ca=_0x28fe21['WyKTm'](uuidv4),_0xc1adaf=_0x2987d4['lastResponseCode'],_0x4ac1ae=_0x28fe21['kSYax'](_0xc1adaf,null)&&_0x28fe21[_0x177985(0x1b6)](_0xc1adaf,0xc8)&&_0x28fe21[_0x177985(0x195)](_0xc1adaf,0x190),_0x2ccd15=_0x2987d4[_0x177985(0x101)]+_0x177985(0x1ed)+_0x28fe21[_0x177985(0x104)](_0xc1adaf,_0x28fe21[_0x177985(0x187)])+')',_0x5da062={'uuid':_0xe896ca,'name':_0x2ccd15,'identifier':_0x2987d4[_0x177985(0x11c)][_0x177985(0x182)]([_0x2ccd15])['join']('\x20')},_0x253289={'finishedAt':_0x13ce2f[_0x177985(0x1e0)](),'durationMs':_0x3660c6,'result':_0x4ac1ae?_0x28fe21[_0x177985(0x118)]:_0x28fe21[_0x177985(0x1dc)]};!_0x4ac1ae&&(_0x253289['failureReason']=_0x28fe21[_0x177985(0x18a)](_0xc1adaf,null)?'HTTP\x20'+_0xc1adaf+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x28fe21[_0x177985(0x15a)],_0x253289[_0x177985(0x11b)]=_0x28fe21[_0x177985(0x10f)],_0x253289[_0x177985(0x1a6)]=[{'backtrace':[_0x253289[_0x177985(0x129)]],'expanded':[]}]);_0x28fe21['qopMd'](emitTest,HookState[_0x177985(0x1bf)],_0x5da062,_0x2987d4,_0x405bd5,{}),_0x2987d4['bufferedLogs'][_0x177985(0x130)](_0x37d810=>{const _0x394a34=_0x177985;_0x463687[_0x394a34(0x183)](emitLog,_0xe896ca,{'kind':_0x463687['lcxgL'],'message':_0x37d810['message'],'level':_0x37d810['level']});});if(_0x2987d4['httpLog']){_0x28fe21['yVfhp'](emitLog,_0xe896ca,{'kind':_0x28fe21[_0x177985(0x1ca)],'http_response':_0x2987d4[_0x177985(0x111)]});const _0x399856=_0x28fe21[_0x177985(0x179)](_0x28fe21[_0x177985(0x19d)](_0x28fe21[_0x177985(0x19c)](_0x28fe21[_0x177985(0x109)](_0x28fe21[_0x177985(0x109)](_0x28fe21['uBTJW'](_0x28fe21['UBHKo'](_0x28fe21[_0x177985(0x1bc)](_0x2987d4[_0x177985(0x111)][_0x177985(0x114)]||_0x28fe21[_0x177985(0x16c)],'\x20'),_0x2987d4[_0x177985(0x111)][_0x177985(0x143)]),_0x2987d4[_0x177985(0x111)]['path']),_0x28fe21['KbPjC']),_0x2987d4[_0x177985(0x111)]['status_code']),'\x20('),_0x2987d4['httpLog']['duration_ms']),_0x28fe21[_0x177985(0x181)]);_0x28fe21['rOdYA'](emitLog,_0xe896ca,{'kind':_0x28fe21[_0x177985(0x17a)],'message':_0x399856,'level':_0x28fe21['phJZy']});}else _0x28fe21['RmjkW'](emitLog,_0xe896ca,{'kind':_0x28fe21[_0x177985(0x17a)],'message':_0x28fe21['idYNB'](_0x28fe21['agbaz'](_0x28fe21[_0x177985(0x174)],_0x28fe21[_0x177985(0x104)](_0xc1adaf,_0x28fe21[_0x177985(0x187)])),_0x28fe21[_0x177985(0x13f)]),'level':_0x28fe21[_0x177985(0x1ce)]});_0x28fe21[_0x177985(0x1cb)](emitTest,HookState[_0x177985(0x1b2)],_0x5da062,_0x2987d4,_0x405bd5,_0x253289);}_0x36d297['delete'](_0x3f0d3a),_0x5c861d[_0x177985(0x16f)]&&_0x5c861d[_0x177985(0x16f)][_0x177985(0x19f)]&&_0x36d297['delete'](_0x5c861d['cursor']['ref']+'_'+_0x10e2dc);}catch(_0x2fe553){_0x28fe21[_0x177985(0x127)](debug,_0x177985(0x1ac)+_0x2fe553);}});}module[a39_0x150961(0x133)]=BrowserStackNewmanReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a40_0x4ef569=a40_0x3f5a;(function(_0x2cce29,_0xed245e){const _0xf11b2=a40_0x3f5a,_0x13865a=_0x2cce29();while(!![]){try{const _0x1adc36=parseInt(_0xf11b2(0x11f))/0x1+-parseInt(_0xf11b2(0xf1))/0x2*(-parseInt(_0xf11b2(0xf6))/0x3)+-parseInt(_0xf11b2(0x119))/0x4*(-parseInt(_0xf11b2(0x114))/0x5)+-parseInt(_0xf11b2(0xf8))/0x6*(parseInt(_0xf11b2(0xf9))/0x7)+parseInt(_0xf11b2(0xf4))/0x8*(parseInt(_0xf11b2(0x110))/0x9)+-parseInt(_0xf11b2(0x100))/0xa+-parseInt(_0xf11b2(0x11e))/0xb;if(_0x1adc36===_0xed245e)break;else _0x13865a['push'](_0x13865a['shift']());}catch(_0x376946){_0x13865a['push'](_0x13865a['shift']());}}}(a40_0x28aa,0xd7aac));const path=require(a40_0x4ef569(0x122)),Module=require('module'),BrowserstackCLI=require(a40_0x4ef569(0x11c)),scriptFile=process[a40_0x4ef569(0x117)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a40_0x4ef569(0xeb)][a40_0x4ef569(0xfe)](a40_0x4ef569(0x128)),process[a40_0x4ef569(0x10f)](0x1));const reporterPath=path[a40_0x4ef569(0x109)](__dirname,a40_0x4ef569(0xf5),a40_0x4ef569(0x108)),originalResolveFilename=Module['_resolveFilename'];Module[a40_0x4ef569(0xfd)]=function(_0x32bdc5,_0x4bc094,_0x52ad25,_0x25c81e){const _0x5933a1=a40_0x4ef569,_0x2c0cd6={};_0x2c0cd6[_0x5933a1(0x116)]=function(_0x854adb,_0x43c3b5){return _0x854adb===_0x43c3b5;},_0x2c0cd6[_0x5933a1(0x121)]=_0x5933a1(0x102);const _0x5c7a27=_0x2c0cd6;if(_0x5c7a27['GcCnh'](_0x32bdc5,_0x5c7a27[_0x5933a1(0x121)]))return reporterPath;return originalResolveFilename[_0x5933a1(0x113)](this,_0x32bdc5,_0x4bc094,_0x52ad25,_0x25c81e);};let limit;try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x23ab0d){limit=function(_0x25e6fd){const _0x447b64={'DNBuv':function(_0x42bb42){return _0x42bb42();}};return _0x447b64['DNBuv'](_0x25e6fd);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x4ef569(0x10e)];function a40_0x3f5a(_0x3ecc87,_0x2d8092){const _0x28aa83=a40_0x28aa();return a40_0x3f5a=function(_0x3f5acd,_0x1d33a2){_0x3f5acd=_0x3f5acd-0xea;let _0x50fc93=_0x28aa83[_0x3f5acd];return _0x50fc93;},a40_0x3f5a(_0x3ecc87,_0x2d8092);}Module[a40_0x4ef569(0x10e)]=function(_0x295282,_0x3fe7ff,_0x25dddf){const _0x552d83=a40_0x4ef569,_0xfa3846={'QoUGK':function(_0xe4735d,_0x3f7655){return _0xe4735d>_0x3f7655;},'yQPXe':function(_0x394f42,_0x35b996){return _0x394f42||_0x35b996;},'YNghT':function(_0x2f376a,_0x39cbc5,_0x3c4c5e){return _0x2f376a(_0x39cbc5,_0x3c4c5e);},'ZnLVU':function(_0x4114f3,_0x208131){return _0x4114f3(_0x208131);},'JTGoU':_0x552d83(0xee),'spqXG':function(_0x41e681,_0x252613){return _0x41e681===_0x252613;},'RFgDo':_0x552d83(0xfc),'OhAQY':function(_0x45fb24,_0x48f14b){return _0x45fb24===_0x48f14b;},'UXixE':_0x552d83(0x11a),'GoBlW':function(_0xa54a23,_0x41a9b7){return _0xa54a23!==_0x41a9b7;},'ArDBB':_0x552d83(0x106)},_0x597402=originalLoad['call'](this,_0x295282,_0x3fe7ff,_0x25dddf);if(_0xfa3846[_0x552d83(0x126)](_0x295282,_0xfa3846[_0x552d83(0x10b)]))return _0x597402;if(wrappedNewman)return wrappedNewman;const _0x467ecd=_0x597402[_0x552d83(0xf3)][_0x552d83(0x129)](_0x597402);return wrappedNewman=Object['create'](_0x597402),wrappedNewman[_0x552d83(0xf3)]=function(_0x1e2583,_0x1607ba){const _0x1bfde6=_0x552d83,_0x1479d2={'hSFMG':function(_0x43650d,_0x2a68d6){const _0x3619b2=a40_0x3f5a;return _0xfa3846[_0x3619b2(0x104)](_0x43650d,_0x2a68d6);},'qDYDd':function(_0x1d94bb,_0x448fa6){const _0x522218=a40_0x3f5a;return _0xfa3846[_0x522218(0xf2)](_0x1d94bb,_0x448fa6);},'uljSs':function(_0x3d4dab,_0x364feb,_0x4bc8bd){const _0x5ed8bf=a40_0x3f5a;return _0xfa3846[_0x5ed8bf(0xec)](_0x3d4dab,_0x364feb,_0x4bc8bd);},'gkNzT':function(_0x583b5a,_0x39eacd){return _0xfa3846['ZnLVU'](_0x583b5a,_0x39eacd);}};let _0x4b9a22=_0x1e2583[_0x1bfde6(0x111)]||[_0xfa3846[_0x1bfde6(0xed)]];_0xfa3846['spqXG'](_0x4b9a22[_0x1bfde6(0x101)](_0xfa3846['RFgDo']),-0x1)&&(_0x4b9a22=_0x4b9a22['concat']([_0xfa3846['RFgDo']]));const _0x2b9af1=_0xfa3846[_0x1bfde6(0xef)](typeof _0x1e2583[_0x1bfde6(0x10c)],_0xfa3846[_0x1bfde6(0x112)])?_0x1e2583['collection']:undefined,_0x1d738b={};_0x1d738b[_0x1bfde6(0xfb)]=_0x2b9af1;const _0x2cee67=Object[_0x1bfde6(0x124)]({},_0x1e2583[_0x1bfde6(0xf5)],{'browserstack':Object[_0x1bfde6(0x124)]({},_0x1e2583['reporter']&&_0x1e2583[_0x1bfde6(0xf5)][_0x1bfde6(0xfc)],_0x1d738b)}),_0x51ea8b={};return _0x51ea8b['reporters']=_0x4b9a22,_0x51ea8b['reporter']=_0x2cee67,_0x1e2583=Object['assign']({},_0x1e2583,_0x51ea8b),_0xfa3846['ZnLVU'](limit,function(){const _0x39a4eb={'TpMws':function(_0x1fae0a,_0x855693){const _0x342c74=a40_0x3f5a;return _0x1479d2[_0x342c74(0x115)](_0x1fae0a,_0x855693);},'tuzdg':function(_0x54c633,_0x4ab8d7){const _0x46f490=a40_0x3f5a;return _0x1479d2[_0x46f490(0xf7)](_0x54c633,_0x4ab8d7);},'MlQkf':function(_0x132dfc,_0x5ea277,_0x2647f3){const _0x3c5850=a40_0x3f5a;return _0x1479d2[_0x3c5850(0x120)](_0x132dfc,_0x5ea277,_0x2647f3);},'oAFyd':function(_0x42c81b,_0x411976){const _0x41378b=a40_0x3f5a;return _0x1479d2[_0x41378b(0x10d)](_0x42c81b,_0x411976);}};return new Promise(function(_0x1b6e67){const _0x133341=a40_0x3f5a;_0x39a4eb[_0x133341(0x103)](_0x467ecd,_0x1e2583,function(_0x154db3,_0xb071e9){const _0x5347e3=_0x133341,_0x4f9319=_0xb071e9&&_0xb071e9[_0x5347e3(0xf3)]&&(_0xb071e9['run'][_0x5347e3(0xfa)]||_0xb071e9[_0x5347e3(0xf3)][_0x5347e3(0x11d)]&&_0x39a4eb[_0x5347e3(0x123)](_0xb071e9[_0x5347e3(0xf3)][_0x5347e3(0x11d)]['length'],0x0));_0x39a4eb[_0x5347e3(0x127)](_0x4f9319,_0x154db3)&&(hasFailure=!![]),_0x1607ba&&_0x39a4eb[_0x5347e3(0x103)](_0x1607ba,_0x154db3,_0xb071e9),_0x39a4eb[_0x5347e3(0x107)](_0x1b6e67,_0xb071e9);});});});},wrappedNewman;};async function main(){const _0x5da103=a40_0x4ef569,_0x4408d0={'uEgXQ':function(_0x5b75bf,_0x7c692f){return _0x5b75bf(_0x7c692f);},'mjaEV':function(_0x395451,_0xa7d3fd){return _0x395451+_0xa7d3fd;},'GZKXz':_0x5da103(0xff)};try{await BrowserstackCLI[_0x5da103(0xea)]()[_0x5da103(0x105)]();}catch(_0x3d6ae7){}try{_0x4408d0[_0x5da103(0x10a)](require,path['resolve'](scriptFile));}catch(_0x298a7d){process[_0x5da103(0xeb)][_0x5da103(0xfe)](_0x4408d0[_0x5da103(0xf0)](_0x4408d0[_0x5da103(0xf0)](_0x4408d0['GZKXz'],_0x298a7d[_0x5da103(0x125)]||_0x298a7d),'\x0a')),process['exitCode']=0x1;}}main(),process['on']('beforeExit',function(){hasFailure&&(process['exitCode']=0x1);}),process['on']('exit',function(){const _0x4b0dc7=a40_0x4ef569,_0x167be3={};_0x167be3[_0x4b0dc7(0x11b)]=function(_0x7fba91,_0x26ca5b){return _0x7fba91===_0x26ca5b;};const _0x4e4100=_0x167be3;hasFailure&&_0x4e4100[_0x4b0dc7(0x11b)](process[_0x4b0dc7(0x118)],0x0)&&(process[_0x4b0dc7(0x118)]=0x1);});function a40_0x28aa(){const _0x54fa9a=['[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','bind','getInstance','stderr','YNghT','JTGoU','cli','OhAQY','mjaEV','511876nDGIlx','yQPXe','run','9598856aGsAlJ','reporter','12RBIyhN','qDYDd','12JtAjVU','5509532rbMsbm','error','collectionPath','browserstack','_resolveFilename','write','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','14585680rIrUmJ','indexOf','newman-reporter-browserstack','MlQkf','QoUGK','bootstrap','newman','oAFyd','index.js','join','uEgXQ','ArDBB','collection','gkNzT','_load','exit','9ZbhXvV','reporters','UXixE','call','95gIBAEM','hSFMG','GcCnh','argv','exitCode','279152xpNxoD','string','jMTkR','../v2/browserstackCLI','failures','90288NKGGLt','374719TMQvZi','uljSs','dzYtk','path','TpMws','assign','message','GoBlW','tuzdg'];a40_0x28aa=function(){return _0x54fa9a;};return a40_0x28aa();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a41_0x2119(){const _0x15ab0e=['YCjpz','debug','vZJij','isUndefined','5861247PwSBBj','yAsFb','../utils/constants','test','--config','../../helpers/BrowserStackSetup','RPEdv','OqDGG','trim','RToHk','push','Deleting\x20','winstonLogger','2032rqWLVz','245ueKbOp','77992Tgbxrh','forEach','selenium','nightwatch.conf.js','hub.browserstack.com','DGYbP','6309TIeGQa','filter','env','nightwatch-browserstack.json','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','slice','aAuKW','Zmlkz','Getting\x20your\x20nightwatch\x20configs\x20from\x20','map','useW3C','close','findIndex','2EzEhRE','EMggX','2270UleVEp','NFhOQ','XhuBc','NwBJP','inherit','join','modifyBrowserStackW3CCaps','zUjik','length','jDdCO','splice','desiredCapabilities','child\x20process\x20exited\x20with\x20code\x20','hLfoP','182730yQontt','split','3609549SzTrcB','--env','4336632DvUtET','path','78551szKRsd','config','platforms','TrNpn','port','cwd','exports','nightwatch','info','modifyBrowserStackCaps','webdriver','ZyAwg','../../helpers/logger','test_settings','writeFileSync','existsSync','wkOKD'];a41_0x2119=function(){return _0x15ab0e;};return a41_0x2119();}function a41_0x1167(_0x4a0c2e,_0x35f9cb){const _0x2119ef=a41_0x2119();return a41_0x1167=function(_0x116703,_0x184cbc){_0x116703=_0x116703-0x91;let _0x241f65=_0x2119ef[_0x116703];return _0x241f65;},a41_0x1167(_0x4a0c2e,_0x35f9cb);}const a41_0x2cbb3d=a41_0x1167;(function(_0x2e943f,_0x3b5cdd){const _0x35a023=a41_0x1167,_0x383aa4=_0x2e943f();while(!![]){try{const _0x3728e1=-parseInt(_0x35a023(0xab))/0x1+parseInt(_0x35a023(0x9b))/0x2*(parseInt(_0x35a023(0xad))/0x3)+parseInt(_0x35a023(0xd5))/0x4*(parseInt(_0x35a023(0xd4))/0x5)+-parseInt(_0x35a023(0xaf))/0x6+parseInt(_0x35a023(0xc6))/0x7+-parseInt(_0x35a023(0xd3))/0x8*(-parseInt(_0x35a023(0xdb))/0x9)+parseInt(_0x35a023(0x9d))/0xa*(-parseInt(_0x35a023(0xb1))/0xb);if(_0x3728e1===_0x3b5cdd)break;else _0x383aa4['push'](_0x383aa4['shift']());}catch(_0x4a57cd){_0x383aa4['push'](_0x383aa4['shift']());}}}(a41_0x2119,0x9e11b));const fs=require('fs'),path=require(a41_0x2cbb3d(0xb0)),{spawn}=require('child_process'),logger=require(a41_0x2cbb3d(0xbd))[a41_0x2cbb3d(0xd2)],{default:BrowserStackSetup}=require(a41_0x2cbb3d(0xcb)),helper=require('../../helpers/helper'),constants=require(a41_0x2cbb3d(0xc8)),getUserNightwatchConfigs=(_0x332d11,_0x228806)=>{const _0xe099a6=a41_0x2cbb3d,_0x1f472c={'XhuBc':_0xe099a6(0xd8),'TrNpn':'nightwatch.json','zUjik':function(_0x1d1668,_0xf22a00){return _0x1d1668(_0xf22a00);},'wkOKD':_0xe099a6(0x92)};let _0xebceb0=null,_0x4e0ed9={};const _0x428aa9=_0x228806['findIndex'](_0x22967c=>_0x22967c===_0xe099a6(0xca));if(!helper[_0xe099a6(0xc5)](_0x332d11[_0xe099a6(0xb2)])&&fs['existsSync'](path['join'](process[_0xe099a6(0xb6)](),_0x332d11['config'])))_0xebceb0=path[_0xe099a6(0xa2)](process['cwd'](),_0x332d11[_0xe099a6(0xb2)]),_0x228806['splice'](_0x428aa9,0x2);else{if(fs[_0xe099a6(0xc0)](path['join'](process[_0xe099a6(0xb6)](),_0x1f472c[_0xe099a6(0x9f)])))_0xebceb0=path[_0xe099a6(0xa2)](process[_0xe099a6(0xb6)](),_0x1f472c[_0xe099a6(0x9f)]);else fs[_0xe099a6(0xc0)](path[_0xe099a6(0xa2)](process[_0xe099a6(0xb6)](),_0x1f472c[_0xe099a6(0xb4)]))&&(_0xebceb0=path['join'](process['cwd'](),_0x1f472c['TrNpn']));}return _0xebceb0?(logger['info'](_0xe099a6(0x96)+_0xebceb0),_0x4e0ed9=_0x1f472c[_0xe099a6(0xa4)](require,_0xebceb0)):logger[_0xe099a6(0xb9)](_0x1f472c[_0xe099a6(0xc1)]),_0x4e0ed9;},removeExistingEnvs=_0x294643=>{const _0x4a4bda=a41_0x2cbb3d,_0x173e62={};_0x173e62['Zmlkz']=function(_0x3a1e3d,_0x2a5f7e){return _0x3a1e3d>_0x2a5f7e;};const _0x53c3d9=_0x173e62;let _0x58c8bb=_0x294643['findIndex'](_0x5df5fc=>_0x5df5fc===_0x4a4bda(0xae));_0x53c3d9[_0x4a4bda(0x95)](_0x58c8bb,-0x1)&&_0x294643[_0x4a4bda(0xa7)](_0x58c8bb,0x2),_0x58c8bb=_0x294643[_0x4a4bda(0x9a)](_0x4ca707=>_0x4ca707==='-e'),_0x53c3d9[_0x4a4bda(0x95)](_0x58c8bb,-0x1)&&_0x294643[_0x4a4bda(0xa7)](_0x58c8bb,0x2);};function run(_0x115989,_0xac05db,_0x3fb869){const _0x4d49fd=a41_0x2cbb3d,_0x13186c={'YCjpz':_0x4d49fd(0xb8),'EMggX':function(_0x27c315,_0x32baef){return _0x27c315+_0x32baef;},'aAuKW':'test_settings','RToHk':function(_0x24988b,_0x5d557a,_0x336aee){return _0x24988b(_0x5d557a,_0x336aee);},'RPEdv':_0x4d49fd(0xd9),'vZJij':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','hLfoP':function(_0x4b69ff,_0x1391ae){return _0x4b69ff===_0x1391ae;},'OqDGG':_0x4d49fd(0x91),'ZyAwg':function(_0x27f0e4,_0x38cf0e){return _0x27f0e4(_0x38cf0e);},'jDdCO':function(_0x20fce2,_0x2ed9ce,_0x2f9f8b,_0x5cb213){return _0x20fce2(_0x2ed9ce,_0x2f9f8b,_0x5cb213);},'bfxrS':'nightwatch.cmd','DGYbP':_0x4d49fd(0xca),'tFBYz':_0x4d49fd(0xae),'NFhOQ':_0x4d49fd(0xa1),'JdEHV':_0x4d49fd(0x99)};if(!_0x3fb869[_0x4d49fd(0xb2)])return;const _0x560703=_0x13186c[_0x4d49fd(0xcf)](getUserNightwatchConfigs,_0x115989,_0xac05db),_0x285647={};_0x285647['start_process']=![];const _0xff9e3={};_0xff9e3['host']=_0x13186c[_0x4d49fd(0xcc)],_0xff9e3[_0x4d49fd(0xb5)]=0x1bb;const _0xa1700e={};_0xa1700e[_0x4d49fd(0xbb)]=_0x285647,_0xa1700e[_0x4d49fd(0xd7)]=_0xff9e3;const _0x3469f1=_0xa1700e;logger[_0x4d49fd(0xb9)](_0x13186c[_0x4d49fd(0xc4)]);const _0x48e478={..._0x560703},_0x473440=_0x48e478,_0x149005=helper[_0x4d49fd(0x98)](_0x3fb869[_0x4d49fd(0xb2)]),_0x4dff70=[];_0x3fb869['config'][_0x4d49fd(0xb3)][_0x4d49fd(0xd6)]((_0x158650,_0x46d651)=>{const _0x3ed578=_0x4d49fd;_0x149005?_0x4dff70['push'](helper[_0x3ed578(0xa3)](_0x3fb869[_0x3ed578(0xb2)],_0x13186c[_0x3ed578(0xc2)],_0x46d651)):_0x4dff70['push'](helper[_0x3ed578(0xba)](_0x3fb869['config'],_0x13186c[_0x3ed578(0xc2)],_0x46d651));});const _0xbc1936={},_0x4339b2=[];_0x115989[_0x4d49fd(0xdd)]=_0x115989['env']||_0x115989['e'];const _0x445104=_0x115989[_0x4d49fd(0xdd)]?_0x115989[_0x4d49fd(0xdd)][_0x4d49fd(0xce)]()[_0x4d49fd(0xac)](',')[_0x4d49fd(0x97)](_0x33f968=>_0x33f968[_0x4d49fd(0xce)]())[_0x4d49fd(0xdc)](_0x497bb8=>_0x497bb8!==''):[''];_0x13186c[_0x4d49fd(0xaa)](_0x445104[_0x4d49fd(0xa5)],0x0)&&_0x445104[_0x4d49fd(0xd0)]('');_0x445104['forEach'](_0x328f43=>{const _0x5eda71=_0x4d49fd,_0x6cb45f={'yAsFb':function(_0x90eebc,_0x371ee8){const _0x44c6d5=a41_0x1167;return _0x13186c[_0x44c6d5(0x9c)](_0x90eebc,_0x371ee8);},'NwBJP':_0x13186c[_0x5eda71(0x94)]};_0x4dff70[_0x5eda71(0xd6)](_0x36089f=>{const _0x525008=_0x5eda71;let _0x529c08=_0x6cb45f[_0x525008(0xc7)](helper['getPlatformName'](_0x36089f,'_'),'_'+Date['now']());_0x328f43&&(_0x529c08+='_'+_0x328f43);if(_0x328f43&&(!_0x560703[_0x6cb45f['NwBJP']]||!_0x560703[_0x6cb45f[_0x525008(0xa0)]][_0x328f43]))return;const _0x2b384e={..._0x3469f1};_0x2b384e[_0x525008(0xa8)]=_0x36089f;const _0x1fc126=_0x2b384e;_0xbc1936[_0x529c08]=_0x328f43?helper['mergeDeep'](_0x560703[_0x6cb45f[_0x525008(0xa0)]][_0x328f43],_0x1fc126):_0x1fc126,_0x4339b2[_0x525008(0xd0)](_0x529c08);});});!_0x473440[_0x4d49fd(0xbe)]&&(_0x473440[_0x4d49fd(0xbe)]={});_0x473440[_0x4d49fd(0xbe)]={..._0x473440['test_settings'],..._0xbc1936};const _0x3ed740=path[_0x4d49fd(0xa2)](__dirname,_0x13186c[_0x4d49fd(0xcd)]);fs[_0x4d49fd(0xbf)](_0x3ed740,JSON['stringify'](_0x473440)),_0x13186c[_0x4d49fd(0xbc)](removeExistingEnvs,_0xac05db);const _0x1ffdbb=_0x13186c[_0x4d49fd(0xa6)](spawn,/^win/[_0x4d49fd(0xc9)](process['platform'])?_0x13186c['bfxrS']:_0x13186c[_0x4d49fd(0xc2)],[_0x13186c[_0x4d49fd(0xda)],_0x3ed740,..._0xac05db[_0x4d49fd(0x93)](0x1),_0x13186c['tFBYz'],_0x4339b2[_0x4d49fd(0xa2)](',')],{'stdio':_0x13186c[_0x4d49fd(0x9e)]});_0x1ffdbb['on'](_0x13186c['JdEHV'],async _0x469442=>{const _0x307593=_0x4d49fd;logger[_0x307593(0xc3)](_0x307593(0xa9)+_0x469442),logger[_0x307593(0xb9)](_0x307593(0xd1)+_0x3ed740),fs['unlinkSync'](_0x3ed740);});}module[a41_0x2cbb3d(0xb7)]=run;
|