browserstack-node-sdk 1.66.3 → 1.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a42_0x1cd11a=a42_0x2871;(function(_0x2aee69,_0x174647){const _0x31f130=a42_0x2871,_0x2e288b=_0x2aee69();while(!![]){try{const _0x2a3ffa=parseInt(_0x31f130(0x14a))/0x1*(parseInt(_0x31f130(0x128))/0x2)+-parseInt(_0x31f130(0x122))/0x3*(parseInt(_0x31f130(0x149))/0x4)+parseInt(_0x31f130(0x13d))/0x5+parseInt(_0x31f130(0x163))/0x6+-parseInt(_0x31f130(0x160))/0x7*(parseInt(_0x31f130(0x148))/0x8)+-parseInt(_0x31f130(0x139))/0x9*(-parseInt(_0x31f130(0x125))/0xa)+-parseInt(_0x31f130(0x164))/0xb;if(_0x2a3ffa===_0x174647)break;else _0x2e288b['push'](_0x2e288b['shift']());}catch(_0x2dd7d0){_0x2e288b['push'](_0x2e288b['shift']());}}}(a42_0x1b15,0xb20c3));const {v4:uuidv4}=require(a42_0x1cd11a(0x11c)),{name,version}=require('../../../../package.json'),logPatcher=require(a42_0x1cd11a(0x150)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a42_0x1cd11a(0x14f)),{consoleHolder}=require(a42_0x1cd11a(0x165)),{getPlatformVersion,isBrowserstackInfra}=require(a42_0x1cd11a(0x126)),{shouldProcessEventForTesthub}=require(a42_0x1cd11a(0x179)),{isFunction}=require(a42_0x1cd11a(0x168)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a42_0x2871(_0x44ee40,_0x103092){const _0x1b157f=a42_0x1b15();return a42_0x2871=function(_0x28711a,_0x268a7b){_0x28711a=_0x28711a-0x11c;let _0x42b78a=_0x1b157f[_0x28711a];return _0x42b78a;},a42_0x2871(_0x44ee40,_0x103092);}function a42_0x1b15(){const _0x433a9b=['failed','getPlatform','lodash','getHooksForTest','oWlLx','CBQLj','_beforeAll','getHookSkippedTests','tIpvH','hookAnalyticsId','KRADZ','ZHSUn','getSession','RXVya','AgXnR','mapTestHooks','sXLmn','ZDEUy','pid','../../../helpers/testhub/utils','uuid','QEXIG','npOUI','indexOf','slice','SrruI','519897KCAvaV','generic','Qxxlk','26620VylviY','../../../helpers/helper','\x20reported\x20against\x20run=','4dQLQeX','reduce','getBrowserVersion','markedStatus','jcLKw','ZEyjC','get','string','concat','hook','aUrtd','PRWFK','suites','parent','state','hFdeu','aHKUx','1683dSZiGa','rUvum','getHookDetails','DRCYY','6701175ioXARM','_afterEach','getCapabilities','fromEntries','tujJG','getTestEnv','wVaPo','Lxlfc','WFhMM','platformVersion','ascvU','88184cPQLlT','4BqiSdd','58452MPobwc','sendPlatformDetails','stringify','forEach','split','../../../helpers/test-observability/utils','../../utils/logPatcher','TEST_PLATFORM','browserstack','toISOString','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getBrowserName','CnRKH','rTgZE','NNpRo','hqQrm','_beforeEach','type','PuCdZ','toJSON','sendPlatformDetails:\x20session=','substring','455QLUKfn','SINFz','sVspD','4121694gpQfwL','11250855uvAHNy','../../../helpers/test-observability/constants'];a42_0x1b15=function(){return _0x433a9b;};return a42_0x1b15();}patchConsoleLogger(),exports[a42_0x1cd11a(0x142)]=()=>{const _0xf9057e=a42_0x1cd11a,_0x40cfde={'SrruI':_0xf9057e(0x123),'HhZCB':function(_0x5a50af){return _0x5a50af();}};return{'ci':_0x40cfde[_0xf9057e(0x121)],'key':_0x40cfde['HhZCB'](uuidv4),'version':version,'collector':'js-'+name};},exports[a42_0x1cd11a(0x13b)]=_0x39e101=>{const _0x3285fe=a42_0x1cd11a,_0x559b32={};_0x559b32[_0x3285fe(0x171)]=function(_0x45bd45,_0x3442b7){return _0x45bd45!==_0x3442b7;},_0x559b32[_0x3285fe(0x124)]=_0x3285fe(0x12f),_0x559b32[_0x3285fe(0x157)]=function(_0x43602d,_0x10a142){return _0x43602d!==_0x10a142;},_0x559b32[_0x3285fe(0x144)]='hook:',_0x559b32[_0x3285fe(0x13c)]=_0x3285fe(0x131);const _0x4dd18f=_0x559b32;if(!_0x39e101||_0x4dd18f[_0x3285fe(0x171)](typeof _0x39e101,_0x4dd18f[_0x3285fe(0x124)]))return[null,null];if(_0x4dd18f[_0x3285fe(0x157)](_0x39e101[_0x3285fe(0x11f)](_0x4dd18f['Lxlfc']),-0x1)){const _0x5b82c3=_0x39e101[_0x3285fe(0x14e)](_0x4dd18f[_0x3285fe(0x144)]);return[_0x5b82c3[0x0][_0x3285fe(0x120)](0x0,-0x1)['split']('\x22')[0x1],_0x5b82c3[0x1][_0x3285fe(0x15f)](0x1)];}else{if(_0x4dd18f[_0x3285fe(0x157)](_0x39e101[_0x3285fe(0x11f)](_0x4dd18f[_0x3285fe(0x13c)]),-0x1)){const _0x145eab=_0x39e101[_0x3285fe(0x14e)](_0x4dd18f[_0x3285fe(0x13c)]);return[_0x145eab[0x0][_0x3285fe(0x120)](0x0,-0x1)[_0x3285fe(0x14e)]('\x22')[0x1],_0x39e101];}}return[null,null];},exports[a42_0x1cd11a(0x169)]=_0x39dcb8=>{const _0x42b262=a42_0x1cd11a,_0x15aaf8={'AgXnR':function(_0x3469dd,_0x54a94f){return _0x3469dd(_0x54a94f);},'XdlgV':_0x42b262(0x16c),'aUrtd':'_afterAll','KRADZ':'_beforeEach','wVaPo':_0x42b262(0x13e)};if(!_0x39dcb8||!_0x39dcb8['parent'])return[];const _0x5a0703=[];return[_0x15aaf8['XdlgV'],_0x15aaf8[_0x42b262(0x132)],_0x15aaf8[_0x42b262(0x170)],_0x15aaf8[_0x42b262(0x143)]][_0x42b262(0x14d)](_0xf9ddca=>{const _0x460e8d=_0x42b262,_0x4b9688={'hqQrm':function(_0x557215,_0x278d05){const _0x1fb5cf=a42_0x2871;return _0x15aaf8[_0x1fb5cf(0x174)](_0x557215,_0x278d05);}},_0x198e7b=_0x39dcb8[_0x460e8d(0x135)][_0xf9ddca]||[];_0x198e7b['forEach'](_0x5e8b23=>{const _0x20685d=_0x460e8d;_0x5e8b23[_0x20685d(0x16f)]&&!_0x4b9688[_0x20685d(0x159)](isInternalHook,_0x5e8b23['fn'])&&_0x5a0703['push'](_0x5e8b23[_0x20685d(0x16f)]);});}),[..._0x5a0703,...exports['getHooksForTest'](_0x39dcb8['parent'])];},exports[a42_0x1cd11a(0x175)]=_0x29307c=>{const _0x460d08=a42_0x1cd11a,_0x4b59ed={'RXVya':function(_0x448e29){return _0x448e29();},'PuCdZ':function(_0x34f276,_0x1be1e0){return _0x34f276===_0x1be1e0;},'ZEyjC':_0x460d08(0x13e),'XcILj':'_beforeAll','hFdeu':'_afterAll','jcLKw':_0x460d08(0x15a)};if(!_0x29307c||!_0x29307c[_0x460d08(0x135)])return;[_0x4b59ed['XcILj'],_0x4b59ed[_0x460d08(0x137)],_0x4b59ed[_0x460d08(0x12c)],_0x4b59ed[_0x460d08(0x12d)]][_0x460d08(0x14d)](_0x2aaf3b=>{const _0x18d8db=_0x460d08,_0x15ac38={'tujJG':function(_0x389e97){const _0x5a1d8d=a42_0x2871;return _0x4b59ed[_0x5a1d8d(0x173)](_0x389e97);},'sVspD':function(_0x459706,_0x5589aa){const _0x3dd272=a42_0x2871;return _0x4b59ed[_0x3dd272(0x15c)](_0x459706,_0x5589aa);},'tIpvH':_0x4b59ed['ZEyjC']},_0x5ea13f=_0x29307c['parent'][_0x2aaf3b]||[];_0x5ea13f[_0x18d8db(0x14d)](_0x191d09=>{const _0x316201=_0x18d8db;if(!_0x191d09[_0x316201(0x16f)])_0x191d09[_0x316201(0x16f)]=_0x15ac38[_0x316201(0x141)](uuidv4);else _0x191d09[_0x316201(0x12b)]&&_0x15ac38[_0x316201(0x162)](_0x2aaf3b,_0x15ac38[_0x316201(0x16e)])&&(_0x191d09[_0x316201(0x16f)]=_0x15ac38[_0x316201(0x141)](uuidv4),delete _0x191d09['markedStatus']);});}),exports[_0x460d08(0x175)](_0x29307c['parent']);},exports[a42_0x1cd11a(0x14b)]=async(_0xc3a268,_0x1759b6)=>{const _0x37338a=a42_0x1cd11a,_0x5a094a={'fZNFe':function(_0x1514e4){return _0x1514e4();},'QEXIG':function(_0x4b639d){return _0x4b639d();},'PRWFK':_0x37338a(0x152),'rUvum':function(_0x5d26fb,_0xe9f774,_0x4ae018){return _0x5d26fb(_0xe9f774,_0x4ae018);},'npOUI':_0x37338a(0x146),'CBQLj':function(_0x177313,_0x3a5a43){return _0x177313(_0x3a5a43);},'lVTLU':function(_0xda6244,_0x44ee90){return _0xda6244===_0x44ee90;},'sXLmn':'unknown_grid','CnRKH':_0x37338a(0x151),'NNpRo':function(_0x311aaa,_0x140b77){return _0x311aaa(_0x140b77);}};try{if(!_0x5a094a['fZNFe'](shouldProcessEventForTesthub))return;const _0x474442=await _0xc3a268[_0x37338a(0x13f)](),_0x206ad0=await _0xc3a268[_0x37338a(0x172)](),_0x50eef3={},_0xa770d1=Object[_0x37338a(0x140)](_0x206ad0[_0x37338a(0x13f)]()['map_']),_0xea62ee=_0x5a094a[_0x37338a(0x11d)](isBrowserstackInfra)?_0x5a094a[_0x37338a(0x133)]:global['__cloud_provider___'],_0x549af0={'product':_0x5a094a[_0x37338a(0x13a)](getObservabilityLinkedProductName,_0xa770d1,_0xea62ee),'capabilities':_0xa770d1,'platform':_0x474442[_0x37338a(0x167)](),'platform_version':_0x474442[_0x37338a(0x12e)](_0x5a094a[_0x37338a(0x11e)])?_0x474442[_0x37338a(0x12e)](_0x5a094a[_0x37338a(0x11e)]):_0x5a094a[_0x37338a(0x16b)](getPlatformVersion,_0x5a094a['lVTLU'](_0xea62ee,_0x5a094a[_0x37338a(0x133)])),'browser':_0x474442[_0x37338a(0x155)](),'browser_version':_0x474442[_0x37338a(0x12a)](),'session_id':_0x206ad0[_0x37338a(0x15d)]()};return _0xea62ee?_0x50eef3[_0xea62ee]=_0x549af0:_0x50eef3[_0x5a094a[_0x37338a(0x176)]]=_0x549af0,_0x5a094a[_0x37338a(0x16b)](debug,_0x37338a(0x15e)+JSON[_0x37338a(0x14c)](_0x549af0['session_id'])+_0x37338a(0x127)+_0x1759b6),process['emit']('bs:addPlatformDetails:'+process[_0x37338a(0x178)],{'timestamp':new Date()[_0x37338a(0x153)](),'level':null,'message':null,'kind':_0x5a094a[_0x37338a(0x156)],'http_response':_0x50eef3,'uuid':_0x1759b6}),!![];}catch(_0x357269){return _0x5a094a[_0x37338a(0x158)](debug,_0x37338a(0x154)+_0x357269),![];}},exports[a42_0x1cd11a(0x16d)]=_0x5e1445=>{const _0x1219dd=a42_0x1cd11a,_0xd775db={};_0xd775db[_0x1219dd(0x147)]=function(_0x168766,_0x257032){return _0x168766!==_0x257032;},_0xd775db[_0x1219dd(0x177)]=_0x1219dd(0x131),_0xd775db[_0x1219dd(0x145)]=function(_0x54ecb2,_0x92cdc7){return _0x54ecb2!==_0x92cdc7;},_0xd775db[_0x1219dd(0x16a)]='passed',_0xd775db[_0x1219dd(0x161)]=function(_0x1ec7d4,_0x3e7c6d){return _0x1ec7d4!==_0x3e7c6d;},_0xd775db[_0x1219dd(0x138)]=_0x1219dd(0x166);const _0x321316=_0xd775db,_0x332c45=_0x5e1445[_0x1219dd(0x134)][_0x1219dd(0x129)]((_0x5e103c,_0x4fef3a)=>{const _0x4a1fe4=_0x1219dd,_0x211628=exports[_0x4a1fe4(0x16d)](_0x4fef3a);return _0x211628&&(_0x5e103c=_0x5e103c['concat'](_0x211628)),_0x5e103c;},[]),_0x44ae21=_0x5e1445['tests']['filter'](_0x31a79e=>{const _0x3c8f90=_0x1219dd,_0x25f64b=_0x321316[_0x3c8f90(0x147)](_0x31a79e[_0x3c8f90(0x15b)],_0x321316[_0x3c8f90(0x177)])&&!_0x31a79e[_0x3c8f90(0x12b)]&&_0x321316[_0x3c8f90(0x145)](_0x31a79e[_0x3c8f90(0x136)],_0x321316[_0x3c8f90(0x16a)])&&_0x321316[_0x3c8f90(0x161)](_0x31a79e[_0x3c8f90(0x136)],_0x321316['aHKUx'])&&!_0x31a79e['pending'];return _0x25f64b;});return _0x44ae21[_0x1219dd(0x130)](_0x332c45);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0xf76c30=a43_0x4f25;(function(_0x106aa2,_0x528b3b){const _0x19b680=a43_0x4f25,_0x5ec536=_0x106aa2();while(!![]){try{const _0x5d96c8=-parseInt(_0x19b680(0x193))/0x1+parseInt(_0x19b680(0x1fb))/0x2*(-parseInt(_0x19b680(0x158))/0x3)+parseInt(_0x19b680(0x1c6))/0x4+parseInt(_0x19b680(0x191))/0x5*(-parseInt(_0x19b680(0x1e7))/0x6)+parseInt(_0x19b680(0x1d0))/0x7+parseInt(_0x19b680(0x1a3))/0x8+parseInt(_0x19b680(0x1f3))/0x9;if(_0x5d96c8===_0x528b3b)break;else _0x5ec536['push'](_0x5ec536['shift']());}catch(_0xc02a4a){_0x5ec536['push'](_0x5ec536['shift']());}}}(a43_0x4af9,0x229c7));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0xf76c30(0x1cd)),accessibilityRetryHelper=require(a43_0xf76c30(0x178)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0xf76c30(0x1d4)),{percyAutoCapture}=require(a43_0xf76c30(0x1ff)),{sendPlatformDetails}=require(a43_0xf76c30(0x1e0)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a43_0xf76c30(0x1ea)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0xf76c30(0x1ed)),globals=require(a43_0xf76c30(0x197)),logger=require(a43_0xf76c30(0x177))[a43_0xf76c30(0x1a1)],{shouldProcessEventForTesthub}=require(a43_0xf76c30(0x162)),testHubConstants=require(a43_0xf76c30(0x1e8));try{require(a43_0xf76c30(0x1a7))[a43_0xf76c30(0x176)](a43_0xf76c30(0x20a));}catch(a43_0xfe804a){logger[a43_0xf76c30(0x19d)](a43_0xf76c30(0x1d2)+(a43_0xfe804a&&a43_0xfe804a[a43_0xf76c30(0x1f5)]));}function a43_0x4f25(_0x516ce1,_0x33a992){const _0x4af94e=a43_0x4af9();return a43_0x4f25=function(_0x4f25b0,_0xb1f5e0){_0x4f25b0=_0x4f25b0-0x157;let _0x30ded5=_0x4af94e[_0x4f25b0];return _0x30ded5;},a43_0x4f25(_0x516ce1,_0x33a992);}function a43_0x4af9(){const _0x2374f6=['currentTest','dFgYR','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ufHNT','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','mMhNC','quitCount_','SYNC','failed','warn','join','556672grbFQN','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','ZXknA','FejiJ','accessibilityScanStarted','eVamz','RAfwz','../../helpers/accessibility-automation/helper','SBYdm','bdYFv','1466325OLGbrP','KpWqs','driver-init\x20capture\x20install\x20failed:\x20','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','../utils/constants','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','percyCaptureMode','ajXUo','length','MuboI','wsEUY','wxIeV','FniIX','Euzdt','protocol','initQuit','./test-observability/mochaUtils','uEsZV','__platformCaps','UqHWh','gvIRH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','JwoWd','18MdUZqu','../../helpers/testhub/constants','Nzbjg','../../helpers/performance/performance-tester','startMonitoring','EZvjm','../../helpers/performance/constants','BROWSERSTACK_TESTHUB_UUID','drUXt','HCCvk','then','capabilities','148023emrgfb','npCPB','message','BsuVV','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','bstackA11yShouldScan','start','CdgXy','308746ElDMzh','state','SDK_HOOK','PERFORM_SCAN','../../helpers/percy/utils','RQYFa','testAnalyticsId','beforeEach','stringify','LEzAB','getGlobal','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Mocha','lVAqi','titlePath','mocha','KduGu','sessionNameSet__','SAVE_RESULTS','executeScript','__skipSessionName','setGlobal','3xYfduK','.\x20Error\x20:','OeTSS','ApdPm','command','push','EpPoq','session_','__sessionFailed','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','../../helpers/testhub/utils','env','tyryo','uUEjN','Accessibility\x20results\x20saved\x20successfully','SESSION_STATUS','XCXPb','thTestRunUuid','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','shouldScanTestForAccessibility','gZqEI','ElKNe','err','parse','TPXBU','autoScanning','now','__error_messages__','afterTest','hmdoU','installAll','../../helpers/logger','../../helpers/accessibility-automation/accessibilityRetryHelper','testcase','HMrTe','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','fSVPP','qEpMY','Passed','btrwN','timeout','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','measureWrapper','http:','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','HpNJa','rcKJH','eyODR','SESSION_NAME','Failed\x20to\x20store\x20session\x20name:\x20','NAdqK','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','driverCleanup','ENV_VAR','__drivers','bstackA11yScanOptions','186085JxsBvo','shift','42304RkHsHX','QyfUC','BVzJw','passed','../../helpers/globals','VvLPn','browserstackSessionName','dGsvq','ObservabilitySync:','end','debug','\x20-\x20','ZHIpS','PwFxq','winstonLogger','Automate\x20test\x20case\x20execution\x20has\x20started.','680040EZdvEv','qXgle','ZLGDE','dnzmQ','../../helpers/driverInitErrorReporter','KktQa','UxnZt','ZeALM','finally','TnbeC','isAccessibilityPlatform','info','index','error','JAwvK','JaqQy','QqFNO','isArray','performScanWithRetry','Accessibility\x20scan\x20completed\x20successfully','saveAccessibilityResultsWithRetry','afterAll','pVYqD','percy'];a43_0x4af9=function(){return _0x2374f6;};return a43_0x4af9();}exports['mochaHooks']={'beforeAll'(){const _0x5738fd=a43_0xf76c30,_0x360204={'gvIRH':function(_0x166f0e,_0x32b025,_0x27fae4,_0x332a1a){return _0x166f0e(_0x32b025,_0x27fae4,_0x332a1a);},'nqlxV':_0x5738fd(0x1c3),'ElKNe':'\x20|\x20','uEsZV':function(_0x23927c,_0xec1acd,_0x56b68e){return _0x23927c(_0xec1acd,_0x56b68e);},'KduGu':_0x5738fd(0x196),'HpNJa':function(_0x2ec130){return _0x2ec130();},'dGsvq':function(_0x1f9c1d,_0x469633,_0x3ffd88){return _0x1f9c1d(_0x469633,_0x3ffd88);},'JwoWd':_0x5738fd(0x1af),'lVAqi':'beforeAll'};PerformanceTester[_0x5738fd(0x1eb)]();const _0x39fb0a='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x5738fd(0x1fd)],()=>{const _0x186a7d=_0x5738fd;global['__error_messages__']=[],global[_0x186a7d(0x160)]=![],global[_0x186a7d(0x18d)]=async()=>{const _0x223f59=_0x186a7d;let _0x521d4c=![];try{await global[_0x223f59(0x18f)][0x0][_0x223f59(0x15f)],_0x521d4c=!![],global[_0x223f59(0x160)]?await _0x360204[_0x223f59(0x1e4)](markSessionStatus,global[_0x223f59(0x18f)][0x0],_0x360204['nqlxV'],global[_0x223f59(0x173)]['join'](_0x360204[_0x223f59(0x16d)])):await _0x360204[_0x223f59(0x1e1)](markSessionStatus,global[_0x223f59(0x18f)][0x0],_0x360204[_0x223f59(0x20b)]);}catch(_0x1036d0){logger[_0x223f59(0x19d)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x1036d0);}global[_0x223f59(0x173)]=[],global[_0x223f59(0x160)]=![];if(_0x521d4c)try{try{_0x360204[_0x223f59(0x185)](shouldProcessEventForTesthub)&&(global[_0x223f59(0x18f)][0x0]&&await _0x360204[_0x223f59(0x19a)](sendPlatformDetails,global['__drivers'][0x0],this[_0x223f59(0x1bb)]?this[_0x223f59(0x1bb)][_0x223f59(0x201)]:null));}catch(_0xf15444){logger[_0x223f59(0x19d)](_0x223f59(0x184)+_0xf15444);}await global[_0x223f59(0x18f)][0x0][_0x223f59(0x1df)]();}catch(_0x16d038){logger[_0x223f59(0x19d)](_0x223f59(0x1d5)+_0x16d038);}};},{'platform':_0x360204[_0x5738fd(0x19a)](nestedKeyValue,global[_0x5738fd(0x1e2)],[_0x360204[_0x5738fd(0x1e6)]]),'hookType':_0x360204[_0x5738fd(0x208)]})();},'beforeEach'(_0x577384){const _0x52beb9=a43_0xf76c30,_0x3ecc78={'JAwvK':function(_0x4f47e9){return _0x4f47e9();},'wsGzT':function(_0x1db873,_0x5db09c){return _0x1db873>_0x5db09c;},'ZeALM':'\x20-\x20','YSYjK':function(_0x355faa,_0x1a5dd4,_0x504507){return _0x355faa(_0x1a5dd4,_0x504507);},'XRKgK':function(_0x503265,_0x531d55){return _0x503265===_0x531d55;},'netPb':_0x52beb9(0x1f8),'Euzdt':_0x52beb9(0x190),'gZqEI':function(_0x249ac0){return _0x249ac0();},'JaqQy':_0x52beb9(0x1ad),'QqFNO':_0x52beb9(0x183),'tyryo':'https:','xxyVi':_0x52beb9(0x1f7),'LYOGA':_0x52beb9(0x1a2),'BsuVV':function(_0x250ae1){return _0x250ae1();},'HUECx':'browserstackTestName','EmGvM':function(_0x4ecfef,_0x2747c0,_0x2d95d2){return _0x4ecfef(_0x2747c0,_0x2d95d2);},'TnbeC':'index','ZLGDE':_0x52beb9(0x202)};globals[_0x52beb9(0x157)](_0x3ecc78['HUECx'],this['currentTest'][_0x52beb9(0x209)]()[_0x52beb9(0x1c5)](_0x3ecc78[_0x52beb9(0x1aa)])),PerformanceTester[_0x52beb9(0x182)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1b15b0=_0x52beb9,_0x34194a={'QyfUC':function(_0x218c03,_0x113005){return _0x3ecc78['wsGzT'](_0x218c03,_0x113005);},'FejiJ':function(_0x1cccd6,_0x148b44){return _0x3ecc78['wsGzT'](_0x1cccd6,_0x148b44);},'NAdqK':_0x3ecc78['ZeALM'],'FSlBu':function(_0x27c898,_0x140dfb,_0x2b33a1){return _0x3ecc78['YSYjK'](_0x27c898,_0x140dfb,_0x2b33a1);},'KpWqs':function(_0x364af2,_0x493d22){return _0x3ecc78['XRKgK'](_0x364af2,_0x493d22);},'EpPoq':_0x3ecc78['netPb'],'HCCvk':_0x3ecc78[_0x1b15b0(0x1dd)],'CdgXy':function(_0xa7cd5d){const _0x16debf=_0x1b15b0;return _0x3ecc78[_0x16debf(0x16c)](_0xa7cd5d);},'qEpMY':_0x3ecc78[_0x1b15b0(0x1b2)],'FUuhk':_0x3ecc78[_0x1b15b0(0x1b3)],'dnzmQ':_0x3ecc78[_0x1b15b0(0x164)],'ZXknA':_0x3ecc78['xxyVi'],'drUXt':_0x3ecc78['LYOGA'],'LEzAB':function(_0x1f703e){const _0x1e7731=_0x1b15b0;return _0x3ecc78[_0x1e7731(0x1f6)](_0x1f703e);}},_0xef300='browserstack internal helper hook';new Promise(async _0x85eef5=>{const _0x1d51b3=_0x1b15b0;let _0xa4601c=!![];try{_0x34194a[_0x1d51b3(0x194)](global[_0x1d51b3(0x18f)]['length'],0x1)&&(await global[_0x1d51b3(0x18d)](),global[_0x1d51b3(0x18f)][_0x1d51b3(0x192)]()),_0x34194a[_0x1d51b3(0x1c9)](global[_0x1d51b3(0x18f)][0x0][_0x1d51b3(0x1c1)],0x0)&&(_0xa4601c=![],await global[_0x1d51b3(0x18d)]());}catch(_0x5397db){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5397db);}try{Array['isArray'](global['__drivers'])&&global[_0x1d51b3(0x18f)][0x0]&&(global[_0x1d51b3(0x18f)][0x0][_0x1d51b3(0x199)]=this[_0x1d51b3(0x1bb)][_0x1d51b3(0x209)]()[_0x1d51b3(0x1c5)](_0x34194a['NAdqK'])),global[_0x1d51b3(0x199)]=this[_0x1d51b3(0x1bb)][_0x1d51b3(0x209)]()[_0x1d51b3(0x1c5)](_0x34194a[_0x1d51b3(0x18a)]);}catch(_0x39f382){logger[_0x1d51b3(0x19d)](_0x1d51b3(0x189)+_0x39f382);}this[_0x1d51b3(0x1bb)]['shouldScanTestForAccessibility']=_0x34194a['FSlBu'](shouldScanTestForAccessibility,this[_0x1d51b3(0x1bb)][_0x1d51b3(0x209)](),!![]);let _0x1c0fe2=!![];try{const _0x9cfd2b=JSON[_0x1d51b3(0x16f)](process[_0x1d51b3(0x163)][_0x1d51b3(0x1e5)]||'{}');_0x34194a['KpWqs'](_0x9cfd2b[_0x1d51b3(0x171)],![])&&(_0x1c0fe2=![]);}catch(_0x1f0646){logger[_0x1d51b3(0x19d)](_0x1d51b3(0x17b)+_0x1f0646['message']);}const _0x44b091=_0x1c0fe2&&this['currentTest'][_0x1d51b3(0x16b)];globals[_0x1d51b3(0x157)](_0x34194a[_0x1d51b3(0x15e)],_0x44b091),globals[_0x1d51b3(0x157)](_0x34194a[_0x1d51b3(0x1f0)],null),this[_0x1d51b3(0x1bb)][_0x1d51b3(0x1ca)]=this['currentTest'][_0x1d51b3(0x16b)];if(_0x34194a[_0x1d51b3(0x1fa)](isAccessibilityAutomationSession)&&_0xa4601c&&Array[_0x1d51b3(0x1b4)](global[_0x1d51b3(0x18f)])&&_0x34194a[_0x1d51b3(0x194)](global[_0x1d51b3(0x18f)][_0x1d51b3(0x1d8)],0x0)&&globals[_0x1d51b3(0x205)](_0x34194a[_0x1d51b3(0x17d)]))try{const _0x4f1135=await global[_0x1d51b3(0x18f)][0x0]['session_'];if(_0x4f1135){let _0x12da18=!![];const _0x46fe92=await global[_0x1d51b3(0x18f)][0x0]['getCurrentUrl']();let _0x3793cf;try{_0x3793cf=new URL(_0x46fe92),_0x12da18=_0x34194a['KpWqs'](_0x3793cf['protocol'],_0x34194a['FUuhk'])||_0x34194a[_0x1d51b3(0x1d1)](_0x3793cf[_0x1d51b3(0x1de)],_0x34194a[_0x1d51b3(0x1a6)]);}catch(_0x36c63d){_0x12da18=![];}_0x12da18&&(this['currentTest'][_0x1d51b3(0x16b)]&&logger[_0x1d51b3(0x1ae)](_0x34194a[_0x1d51b3(0x1c8)])),this[_0x1d51b3(0x1bb)]['accessibilityScanStarted']=this[_0x1d51b3(0x1bb)][_0x1d51b3(0x16b)],_0x44b091&&logger[_0x1d51b3(0x1ae)](_0x34194a[_0x1d51b3(0x1ef)]);}}catch(_0x155752){logger['error'](_0x1d51b3(0x161)+util['format'](_0x155752));}_0x34194a[_0x1d51b3(0x204)](_0x85eef5);})[_0x1b15b0(0x1f1)](()=>{const _0x5d3ef9=_0x1b15b0;_0x3ecc78[_0x5d3ef9(0x1b1)](_0x577384);});},{'platform':_0x3ecc78['EmGvM'](nestedKeyValue,global[_0x52beb9(0x1e2)],[_0x3ecc78[_0x52beb9(0x1ac)]]),'hookType':_0x3ecc78[_0x52beb9(0x1a5)]})();},'afterEach'(_0x4c2bf5){const _0x2d1ee8=a43_0xf76c30,_0x2c5590={'btrwN':function(_0x204464,_0x3580c2){return _0x204464!==_0x3580c2;},'npCPB':'passed','PwFxq':function(_0x4d97fe,_0x515e25,_0x4ac359){return _0x4d97fe(_0x515e25,_0x4ac359);},'QUMxl':function(_0x552be8,_0x1d615a){return _0x552be8+_0x1d615a;},'eyODR':'Failed:\x20','HMrTe':_0x2d1ee8(0x1b0),'ApdPm':_0x2d1ee8(0x17e),'Ipybu':_0x2d1ee8(0x1ae),'UxnZt':function(_0x301f40,_0x3f5ddb){return _0x301f40>_0x3f5ddb;},'PtmOj':function(_0x1b44cd,_0xe40cae){return _0x1b44cd===_0xe40cae;},'eVamz':_0x2d1ee8(0x179),'fSVPP':function(_0x20bd6e,_0x3613b0){return _0x20bd6e>_0x3613b0;},'ZHIpS':'appium:app','KktQa':function(_0x1bd319,_0x3aa67b,_0x384e3f,_0x1ef3d5){return _0x1bd319(_0x3aa67b,_0x384e3f,_0x1ef3d5);},'qXgle':_0x2d1ee8(0x1ad),'XBdTL':_0x2d1ee8(0x206),'FniIX':_0x2d1ee8(0x1f8),'XCXPb':_0x2d1ee8(0x1c7),'hmdoU':_0x2d1ee8(0x174),'OeTSS':_0x2d1ee8(0x1b6),'uUEjN':_0x2d1ee8(0x1bf),'MuboI':_0x2d1ee8(0x1d3),'kxWwm':_0x2d1ee8(0x166),'fsivO':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SBYdm':_0x2d1ee8(0x18c),'mMhNC':function(_0x5f19b0){return _0x5f19b0();},'Nzbjg':function(_0x36cbde,_0x22fd7c,_0x34cc3d){return _0x36cbde(_0x22fd7c,_0x34cc3d);},'dFgYR':function(_0x2e9fbb){return _0x2e9fbb();},'EZvjm':function(_0x26c26e,_0x56964f,_0x43bb56){return _0x26c26e(_0x56964f,_0x43bb56);},'VvLPn':_0x2d1ee8(0x19d),'ufHNT':function(_0x4d9a4c){return _0x4d9a4c();},'rcKJH':_0x2d1ee8(0x19e),'BVzJw':_0x2d1ee8(0x207),'RQYFa':'index','etuEp':'afterEach'},_0x17e4c9='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2c5590[_0x2d1ee8(0x195)]]),global['sessionName']=this['currentTest'][_0x2d1ee8(0x209)]()['join'](_0x2c5590[_0x2d1ee8(0x186)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2d1ee8(0x1fd)],()=>{const _0x3be2b9=_0x2d1ee8,_0x46b83b={};_0x46b83b[_0x3be2b9(0x1e3)]=_0x2c5590[_0x3be2b9(0x186)];const _0x4fc05a=_0x46b83b,_0x3e6ee2=async(_0x3d501e,_0x2a7255)=>{const _0x1c226d=_0x3be2b9;await global[_0x1c226d(0x18f)][0x0][_0x1c226d(0x20e)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x3d501e+',\x22level\x22:\x20\x22'+_0x2a7255+'\x22}}');};new Promise(async _0x32ae33=>{const _0x1a282a=_0x3be2b9,_0x14227b={'DzLug':function(_0x2ad7a4,_0x4aa103){const _0x54448c=a43_0x4f25;return _0x2c5590[_0x54448c(0x17f)](_0x2ad7a4,_0x4aa103);},'zbjRh':_0x2c5590[_0x1a282a(0x1f4)],'wsEUY':function(_0x3fa04f,_0x4e30ec,_0x1f0690){const _0x2ee4dd=_0x1a282a;return _0x2c5590[_0x2ee4dd(0x1a0)](_0x3fa04f,_0x4e30ec,_0x1f0690);},'Tuznx':function(_0x19d0be,_0x477504){return _0x2c5590['QUMxl'](_0x19d0be,_0x477504);},'fbhos':_0x2c5590[_0x1a282a(0x187)],'MWAHf':_0x2c5590[_0x1a282a(0x17a)],'ngVhu':_0x2c5590[_0x1a282a(0x15b)],'pVYqD':_0x2c5590['Ipybu']};try{_0x2c5590[_0x1a282a(0x1a9)](global[_0x1a282a(0x18f)][_0x1a282a(0x1d8)],0x1)&&(await global[_0x1a282a(0x18d)](),global[_0x1a282a(0x18f)][_0x1a282a(0x192)](),global[_0x1a282a(0x173)]=[],global['__sessionFailed']=![]);try{if(global[_0x1a282a(0x1ba)]&&_0x2c5590['PtmOj'](global[_0x1a282a(0x1d6)],_0x2c5590[_0x1a282a(0x1cb)])&&global[_0x1a282a(0x18f)][0x0]){const _0xf7bf18=_0x2c5590[_0x1a282a(0x17c)](global[_0x1a282a(0x1f2)]['length'],0x0)?!!global[_0x1a282a(0x1f2)][0x0]['app']||!!global[_0x1a282a(0x1f2)][0x0][_0x2c5590[_0x1a282a(0x19f)]]:![],_0xacbcb1={};_0xacbcb1['app']=_0xf7bf18,await _0x2c5590[_0x1a282a(0x1a8)](percyAutoCapture,global[_0x1a282a(0x18f)][0x0],_0x2c5590['eVamz'],_0xacbcb1);}}catch(_0x55b14e){logger[_0x1a282a(0x19d)](_0x1a282a(0x181)+_0x55b14e);}!global[_0x1a282a(0x20f)]&&(await PerformanceTester[_0x1a282a(0x182)](PerformanceAutEvents[_0x1a282a(0x188)],async()=>{const _0x50fd2c=_0x1a282a;await global[_0x50fd2c(0x18f)][0x0][_0x50fd2c(0x20e)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x50fd2c(0x203)](this[_0x50fd2c(0x1bb)][_0x50fd2c(0x209)]()[_0x50fd2c(0x1c5)](_0x4fc05a['UqHWh']))+'}}');})(),global[_0x1a282a(0x18f)][0x0][_0x1a282a(0x20c)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1a282a(0x167)],async()=>{const _0x4f4185=_0x1a282a,_0x3acda7=_0x14227b['DzLug'](this[_0x4f4185(0x1bb)][_0x4f4185(0x1fc)],_0x14227b['zbjRh']);_0x3acda7?(global[_0x4f4185(0x160)]=!![],global['__error_messages__'][_0x4f4185(0x15d)](this[_0x4f4185(0x1bb)][_0x4f4185(0x16e)][_0x4f4185(0x1f5)]),await _0x14227b[_0x4f4185(0x1da)](_0x3e6ee2,JSON['stringify'](_0x14227b['Tuznx'](_0x14227b['fbhos'],this[_0x4f4185(0x1bb)][_0x4f4185(0x16e)]['message'])),_0x14227b['MWAHf'])):await _0x14227b['wsEUY'](_0x3e6ee2,JSON[_0x4f4185(0x203)](_0x14227b['ngVhu']),_0x14227b[_0x4f4185(0x1b9)]);})();}catch(_0x429f67){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x429f67);}try{if(this['currentTest'][_0x1a282a(0x1ca)]&&globals['getGlobal'](_0x2c5590[_0x1a282a(0x1a4)])){logger[_0x1a282a(0x1ae)](_0x2c5590['XBdTL']);const _0x495f15={};_0x495f15[_0x1a282a(0x169)]=this[_0x1a282a(0x1bb)][_0x1a282a(0x201)],_0x495f15['thBuildUuid']=process[_0x1a282a(0x163)][testHubConstants[_0x1a282a(0x18e)][_0x1a282a(0x1ee)]],_0x495f15['thJwtToken']=process['env'][testHubConstants[_0x1a282a(0x18e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x397ec2=_0x495f15;logger[_0x1a282a(0x19d)](_0x1a282a(0x18b)+JSON[_0x1a282a(0x203)](_0x397ec2));if(globals[_0x1a282a(0x205)](_0x2c5590[_0x1a282a(0x1dc)])){logger[_0x1a282a(0x19d)](_0x2c5590[_0x1a282a(0x168)]);const _0x475433={};_0x475433[_0x1a282a(0x15c)]=_0x2c5590[_0x1a282a(0x175)];const _0x3001b5=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1a282a(0x1fe)],async()=>{const _0x4f47d3=_0x1a282a;return await accessibilityRetryHelper[_0x4f47d3(0x1b5)](global[_0x4f47d3(0x18f)][0x0],global[_0x4f47d3(0x199)]);},_0x475433)();_0x3001b5?logger[_0x1a282a(0x19d)](_0x2c5590[_0x1a282a(0x15a)]):logger[_0x1a282a(0x1c4)](_0x2c5590[_0x1a282a(0x165)]);}else logger[_0x1a282a(0x19d)](_0x2c5590[_0x1a282a(0x1d9)]);const _0x4f5d47=await PerformanceTester[_0x1a282a(0x182)](PerformanceA11yEvents[_0x1a282a(0x20d)],async()=>{const _0x33ea98=_0x1a282a;return await accessibilityRetryHelper[_0x33ea98(0x1b7)](global[_0x33ea98(0x18f)][0x0],_0x397ec2);})();_0x4f5d47?logger[_0x1a282a(0x19d)](_0x2c5590['kxWwm']):logger[_0x1a282a(0x1c4)](_0x2c5590['fsivO']),logger[_0x1a282a(0x1ae)](_0x2c5590[_0x1a282a(0x1ce)]);}}catch(_0xd9d332){logger[_0x1a282a(0x1b0)](_0x1a282a(0x16a)+this[_0x1a282a(0x1bb)]['titlePath']()+_0x1a282a(0x159),_0xd9d332);}try{try{if(_0x2c5590[_0x1a282a(0x1c0)](shouldProcessEventForTesthub)){global[_0x1a282a(0x18f)][0x0]&&await _0x2c5590[_0x1a282a(0x1e9)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1a282a(0x1bb)]?this[_0x1a282a(0x1bb)][_0x1a282a(0x201)]:null);if(_0x2c5590[_0x1a282a(0x1bc)](isBrowserstackInfra)){PerformanceTester[_0x1a282a(0x1f9)](PerformanceO11yEvents[_0x1a282a(0x1c2)]);const _0x186ab0=_0x1a282a(0x19b)+Date[_0x1a282a(0x172)]();await _0x2c5590['EZvjm'](_0x3e6ee2,JSON[_0x1a282a(0x203)](_0x186ab0),_0x2c5590[_0x1a282a(0x198)]),PerformanceTester['end'](PerformanceO11yEvents[_0x1a282a(0x1c2)]);}}}catch(_0x57dd71){logger[_0x1a282a(0x19d)](_0x1a282a(0x1bd)+_0x57dd71),PerformanceTester[_0x1a282a(0x19c)](PerformanceO11yEvents[_0x1a282a(0x1c2)],![],_0x57dd71);}_0x2c5590['fSVPP'](global[_0x1a282a(0x18f)][0x0][_0x1a282a(0x1c1)],0x0)&&await global[_0x1a282a(0x18d)]();}catch(_0x4f20f8){logger[_0x1a282a(0x19d)](_0x1a282a(0x1d5)+_0x4f20f8);}_0x2c5590[_0x1a282a(0x1bc)](_0x32ae33);})[_0x3be2b9(0x1f1)](()=>{const _0x524e02=_0x3be2b9;_0x2c5590[_0x524e02(0x1be)](_0x4c2bf5);});},{'platform':_0x2c5590[_0x2d1ee8(0x1ec)](nestedKeyValue,global[_0x2d1ee8(0x1e2)],[_0x2c5590[_0x2d1ee8(0x200)]]),'hookType':_0x2c5590['etuEp']})();},'afterAll'(_0x496f19){const _0x28c128=a43_0xf76c30,_0x375ce6={'ajXUo':function(_0x50ad67){return _0x50ad67();},'RAfwz':function(_0x2da817){return _0x2da817();},'TPXBU':_0x28c128(0x207),'bdYFv':function(_0x5f3955,_0x4c76f3,_0x3ebd1f){return _0x5f3955(_0x4c76f3,_0x3ebd1f);},'wxIeV':_0x28c128(0x1af),'OAyQc':_0x28c128(0x1b8)},_0x2a4006='browserstack internal helper hook';this[_0x28c128(0x180)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x375ce6[_0x28c128(0x170)]]),PerformanceTester[_0x28c128(0x182)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xe1a106=_0x28c128;new Promise(async _0x18e31e=>{const _0x1a261f=a43_0x4f25;await global['driverCleanup'](),_0x375ce6[_0x1a261f(0x1d7)](_0x18e31e);})[_0xe1a106(0x1f1)]()[_0xe1a106(0x1ab)](()=>{const _0x491a79=_0xe1a106;_0x375ce6[_0x491a79(0x1cc)](_0x496f19);});},{'platform':_0x375ce6[_0x28c128(0x1cf)](nestedKeyValue,global[_0x28c128(0x1e2)],[_0x375ce6[_0x28c128(0x1db)]]),'hookType':_0x375ce6['OAyQc']})();}};
|
|
1
|
+
const a43_0x37df49=a43_0x5dd3;function a43_0x3455(){const _0x2edcf2=['jqqYV','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','qVWpx','IgrVw','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','WXexb','uMnTO','bstackA11yShouldScan','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../utils/constants','tgbui','__error_messages__','FMKdD','shift','2099185iKQLsT','winstonLogger','https:','getCurrentUrl','42QpDwex','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','protocol','ObservabilitySync:','wttRG','Mocha','SAVE_RESULTS','YVfaH','lReVF','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','EHBLy','shouldScanTestForAccessibility','Asufm','mocha','WvulV','../../helpers/helper','TJRAr','debug','\x20|\x20','session_','format','index','__sessionFailed','Accessibility\x20scan\x20completed\x20successfully','OfQYs','__platformCaps','cceMB','./test-observability/mochaUtils','QaxvL','oeWNE','end','FMrsP','HuZSr','gbnrC','sessionName','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','accessibilityScanStarted','kWGdz','push','CwOpZ','../../helpers/driverInitErrorReporter','133PVFcCH','measureWrapper','PfjiA','BEiHe','PIspJ','18NELsBB','message','browserstackSessionName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','length','Nhrdj','__bstackPlatformReported','titlePath','RPvKC','ffexk','setGlobal','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_UUID','RWUfc','error','Automate\x20test\x20case\x20execution\x20has\x20started.','appium:app','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','EkixU','135517WecsjT','qKAfM','testAnalyticsId','gogUf','Passed','executeScript','uzOxZ','../../helpers/testhub/constants','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','VPZOa','ZPKwK','YEBFK','browserstackTestName','uOWPG','getGlobal','SESSION_STATUS','46736eFUMJE','util','Failed\x20to\x20store\x20session\x20name:\x20','finally','uTsNi','passed','afterTest','../../helpers/percy/utils','2617684wtfWUs','BDZKU','jFQjn','currentTest','bVIdv','failed','RAsOc','saveAccessibilityResultsWithRetry','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','percyCaptureMode','2697070KWpFSz','oGBbz','SDK_HOOK','twgNr','OdADS','bFxda','tXpqi','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','vBbQU','eHAIy','afterEach','parse','GRvDp','command','env','BROWSERSTACK_TESTHUB_JWT','driver-init\x20capture\x20install\x20failed:\x20','gRaXq','warn','capabilities','SYNC','../../helpers/logger','\x20-\x20','isArray','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','bWkXv','wlGAh',',\x22level\x22:\x20\x22','fBdbh','ENV_VAR','../../helpers/testhub/utils','../../helpers/performance/constants','dDNly','InwaA','fnaGP','info','now','qMwXc','__drivers','daXXi','BEnaJ','qovfs','mgONX','326915IyUOHc','SxBYW','timeout','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','beforeAll','stringify','KMilM','initQuit','lQQSC','dwObT','state','ekwFJ','JESea','then','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','YzUHe','autoScanning','obaSc','VdfhK','xyDUd','err','UQuNb','418521GeNruL','juTFU','2WJVezF','join','YEwAN','quitCount_','BceQf','driverCleanup','SdnMb','percy','dVQRD','IyBoi','__bstackOwningRunUuid','umtmZ','UyDgp'];a43_0x3455=function(){return _0x2edcf2;};return a43_0x3455();}(function(_0x32a999,_0x46bc53){const _0x897715=a43_0x5dd3,_0x102e32=_0x32a999();while(!![]){try{const _0x270508=-parseInt(_0x897715(0x1b5))/0x1*(parseInt(_0x897715(0x21a))/0x2)+parseInt(_0x897715(0x218))/0x3+-parseInt(_0x897715(0x1cd))/0x4+-parseInt(_0x897715(0x202))/0x5*(-parseInt(_0x897715(0x239))/0x6)+parseInt(_0x897715(0x262))/0x7*(-parseInt(_0x897715(0x1c5))/0x8)+-parseInt(_0x897715(0x1a1))/0x9*(-parseInt(_0x897715(0x1d7))/0xa)+parseInt(_0x897715(0x235))/0xb;if(_0x270508===_0x46bc53)break;else _0x102e32['push'](_0x102e32['shift']());}catch(_0x4d5922){_0x102e32['push'](_0x102e32['shift']());}}}(a43_0x3455,0x68205));const util=require(a43_0x37df49(0x1c6)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a43_0x37df49(0x1b3)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0x37df49(0x230)),{percyAutoCapture}=require(a43_0x37df49(0x1cc)),{sendPlatformDetails}=require(a43_0x37df49(0x254)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a43_0x37df49(0x248)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0x37df49(0x1f6)),globals=require('../../helpers/globals'),logger=require(a43_0x37df49(0x1ec))[a43_0x37df49(0x236)],{shouldProcessEventForTesthub}=require(a43_0x37df49(0x1f5)),testHubConstants=require(a43_0x37df49(0x1bc));try{require(a43_0x37df49(0x261))['installAll'](a43_0x37df49(0x246));}catch(a43_0x1c8372){logger[a43_0x37df49(0x24a)](a43_0x37df49(0x1e7)+(a43_0x1c8372&&a43_0x1c8372[a43_0x37df49(0x1a2)]));}function a43_0x5dd3(_0x3b76d7,_0x3152ed){const _0x345550=a43_0x3455();return a43_0x5dd3=function(_0x5dd39a,_0x33ae36){_0x5dd39a=_0x5dd39a-0x1a0;let _0x940f29=_0x345550[_0x5dd39a];return _0x940f29;},a43_0x5dd3(_0x3b76d7,_0x3152ed);}exports['mochaHooks']={'beforeAll'(){const _0x620b99=a43_0x37df49,_0x1af817={'IgrVw':function(_0x3e14f5,_0xc97a6,_0x3487f0,_0x537cb9){return _0x3e14f5(_0xc97a6,_0x3487f0,_0x537cb9);},'qVWpx':_0x620b99(0x1d2),'qovfs':_0x620b99(0x24b),'LROcw':function(_0x21b475,_0x5c7681,_0x507dfd){return _0x21b475(_0x5c7681,_0x507dfd);},'IqkUN':_0x620b99(0x1ca),'CwOpZ':function(_0xb85243){return _0xb85243();},'NHBvN':function(_0x1c09f8,_0x20d08f,_0x25ed20){return _0x1c09f8(_0x20d08f,_0x25ed20);},'tAfgK':function(_0x438a59,_0x259c81,_0x175f46){return _0x438a59(_0x259c81,_0x175f46);},'oGBbz':_0x620b99(0x24e),'EHBLy':_0x620b99(0x206)};PerformanceTester['startMonitoring']();const _0x59e52e='browserstack internal helper hook';PerformanceTester[_0x620b99(0x263)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x56e9f7=_0x620b99;global['__error_messages__']=[],global[_0x56e9f7(0x24f)]=![],global[_0x56e9f7(0x21f)]=async()=>{const _0x59e666=_0x56e9f7;let _0x549abb=![];try{await global[_0x59e666(0x1fd)][0x0]['session_'],_0x549abb=!![],global[_0x59e666(0x24f)]?await _0x1af817[_0x59e666(0x22a)](markSessionStatus,global[_0x59e666(0x1fd)][0x0],_0x1af817[_0x59e666(0x229)],global[_0x59e666(0x232)][_0x59e666(0x21b)](_0x1af817[_0x59e666(0x200)])):await _0x1af817['LROcw'](markSessionStatus,global[_0x59e666(0x1fd)][0x0],_0x1af817['IqkUN']);}catch(_0x54c83e){logger[_0x59e666(0x24a)](_0x59e666(0x242)+_0x54c83e);}global['__error_messages__']=[],global[_0x59e666(0x24f)]=![];if(_0x549abb)try{try{if(_0x1af817[_0x59e666(0x260)](shouldProcessEventForTesthub)){const _0x6074fb=global[_0x59e666(0x1fd)][0x0];if(_0x6074fb&&!_0x6074fb[_0x59e666(0x1a7)]&&_0x6074fb[_0x59e666(0x224)]){const _0x28f3cb=await _0x1af817['NHBvN'](sendPlatformDetails,_0x6074fb,_0x6074fb['__bstackOwningRunUuid']);_0x28f3cb&&(_0x6074fb[_0x59e666(0x1a7)]=!![]);}}}catch(_0x374927){logger[_0x59e666(0x24a)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x374927);}await global[_0x59e666(0x1fd)][0x0][_0x59e666(0x209)]();}catch(_0x2f3be2){logger[_0x59e666(0x24a)](_0x59e666(0x1b2)+_0x2f3be2);}};},{'platform':_0x1af817['tAfgK'](nestedKeyValue,global['__platformCaps'],[_0x1af817[_0x620b99(0x1d8)]]),'hookType':_0x1af817[_0x620b99(0x243)]})();},'beforeEach'(_0x199c19){const _0x2cf362=a43_0x37df49,_0x4bcb32={'wlGAh':function(_0x432696){return _0x432696();},'ffexk':function(_0x5c1ac7,_0x4c0df5){return _0x5c1ac7>_0x4c0df5;},'eHAIy':'\x20-\x20','VWqAB':function(_0x4f8412,_0x3834cc,_0x1c3778){return _0x4f8412(_0x3834cc,_0x1c3778);},'LSvYQ':function(_0x9c289f,_0x326f18){return _0x9c289f===_0x326f18;},'QcPsi':'bstackA11yShouldScan','BEnaJ':'bstackA11yScanOptions','XnoKo':_0x2cf362(0x1ac),'UyDgp':'http:','JESea':function(_0xb1fec7,_0x421678){return _0xb1fec7===_0x421678;},'Nhrdj':_0x2cf362(0x237),'SxBYW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SdnMb':_0x2cf362(0x1b0),'ekwFJ':_0x2cf362(0x1c1),'bFxda':function(_0x27d9c4,_0x4e6280,_0x270c45){return _0x27d9c4(_0x4e6280,_0x270c45);},'FMrsP':_0x2cf362(0x24e),'xGKVq':'beforeEach'};globals[_0x2cf362(0x1ab)](_0x4bcb32[_0x2cf362(0x20d)],this[_0x2cf362(0x1d0)][_0x2cf362(0x1a8)]()[_0x2cf362(0x21b)](_0x4bcb32[_0x2cf362(0x1e0)])),PerformanceTester[_0x2cf362(0x263)](PerformanceSdkEvents[_0x2cf362(0x1d9)],()=>{const _0x5fde92=_0x2cf362,_0x98e469={'RWUfc':function(_0x95e3db,_0x1d6a33){const _0x10a66b=a43_0x5dd3;return _0x4bcb32[_0x10a66b(0x1aa)](_0x95e3db,_0x1d6a33);},'GRvDp':_0x4bcb32[_0x5fde92(0x1e0)],'UVIcc':function(_0x5c952d,_0x243b29,_0x1c8a2a){return _0x4bcb32['VWqAB'](_0x5c952d,_0x243b29,_0x1c8a2a);},'YtYDw':function(_0x3fe185,_0x33ab5d){return _0x4bcb32['LSvYQ'](_0x3fe185,_0x33ab5d);},'IyBoi':_0x4bcb32['QcPsi'],'EkixU':_0x4bcb32[_0x5fde92(0x1ff)],'KMilM':function(_0x2a3e22){return _0x4bcb32['wlGAh'](_0x2a3e22);},'wttRG':_0x4bcb32['XnoKo'],'WvulV':_0x4bcb32[_0x5fde92(0x226)],'VHbIM':function(_0x542410,_0x212c28){const _0x26e2dd=_0x5fde92;return _0x4bcb32[_0x26e2dd(0x20e)](_0x542410,_0x212c28);},'gRaXq':_0x4bcb32[_0x5fde92(0x1a6)],'yrAxH':_0x4bcb32[_0x5fde92(0x203)],'pVOlW':_0x4bcb32[_0x5fde92(0x220)],'uTsNi':function(_0x3864ba){return _0x4bcb32['wlGAh'](_0x3864ba);}},_0x64aced='browserstack internal helper hook';new Promise(async _0x5d0e28=>{const _0x4e7e89=_0x5fde92;let _0x57a848=!![];try{_0x98e469[_0x4e7e89(0x1ae)](global[_0x4e7e89(0x1fd)][_0x4e7e89(0x1a5)],0x1)&&(await global[_0x4e7e89(0x21f)](),global[_0x4e7e89(0x1fd)][_0x4e7e89(0x234)]()),_0x98e469[_0x4e7e89(0x1ae)](global['__drivers'][0x0][_0x4e7e89(0x21d)],0x0)&&(_0x57a848=![],await global[_0x4e7e89(0x21f)]());}catch(_0x584394){logger[_0x4e7e89(0x24a)](_0x4e7e89(0x1b2)+_0x584394);}try{Array[_0x4e7e89(0x1ee)](global[_0x4e7e89(0x1fd)])&&global[_0x4e7e89(0x1fd)][0x0]&&(global[_0x4e7e89(0x1fd)][0x0][_0x4e7e89(0x1a3)]=this[_0x4e7e89(0x1d0)][_0x4e7e89(0x1a8)]()['join'](_0x98e469[_0x4e7e89(0x1e3)])),global[_0x4e7e89(0x1a3)]=this[_0x4e7e89(0x1d0)][_0x4e7e89(0x1a8)]()['join'](_0x98e469['GRvDp']);}catch(_0x52d7c0){logger[_0x4e7e89(0x24a)](_0x4e7e89(0x1c7)+_0x52d7c0);}this[_0x4e7e89(0x1d0)][_0x4e7e89(0x244)]=_0x98e469['UVIcc'](shouldScanTestForAccessibility,this[_0x4e7e89(0x1d0)][_0x4e7e89(0x1a8)](),!![]);let _0x184589=!![];try{const _0x470fdb=JSON[_0x4e7e89(0x1e2)](process[_0x4e7e89(0x1e5)][_0x4e7e89(0x1a4)]||'{}');_0x98e469['YtYDw'](_0x470fdb[_0x4e7e89(0x212)],![])&&(_0x184589=![]);}catch(_0x1f61ca){logger[_0x4e7e89(0x24a)](_0x4e7e89(0x1ef)+_0x1f61ca['message']);}const _0x82956a=_0x184589&&this[_0x4e7e89(0x1d0)][_0x4e7e89(0x244)];globals['setGlobal'](_0x98e469[_0x4e7e89(0x223)],_0x82956a),globals[_0x4e7e89(0x1ab)](_0x98e469[_0x4e7e89(0x1b4)],null),this[_0x4e7e89(0x1d0)][_0x4e7e89(0x25d)]=this[_0x4e7e89(0x1d0)][_0x4e7e89(0x244)];if(_0x98e469[_0x4e7e89(0x208)](isAccessibilityAutomationSession)&&_0x57a848&&Array['isArray'](global[_0x4e7e89(0x1fd)])&&_0x98e469[_0x4e7e89(0x1ae)](global[_0x4e7e89(0x1fd)][_0x4e7e89(0x1a5)],0x0)&&globals[_0x4e7e89(0x1c3)](_0x98e469[_0x4e7e89(0x23d)]))try{const _0xa2c425=await global[_0x4e7e89(0x1fd)][0x0][_0x4e7e89(0x24c)];if(_0xa2c425){let _0x5137d2=!![];const _0x428fbf=await global[_0x4e7e89(0x1fd)][0x0][_0x4e7e89(0x238)]();let _0x5bc03a;try{_0x5bc03a=new URL(_0x428fbf),_0x5137d2=_0x98e469['YtYDw'](_0x5bc03a[_0x4e7e89(0x23b)],_0x98e469[_0x4e7e89(0x247)])||_0x98e469['VHbIM'](_0x5bc03a[_0x4e7e89(0x23b)],_0x98e469[_0x4e7e89(0x1e8)]);}catch(_0x190786){_0x5137d2=![];}_0x5137d2&&(this['currentTest'][_0x4e7e89(0x244)]&&logger[_0x4e7e89(0x1fa)](_0x98e469['yrAxH'])),this['currentTest']['accessibilityScanStarted']=this[_0x4e7e89(0x1d0)][_0x4e7e89(0x244)],_0x82956a&&logger['info'](_0x98e469['pVOlW']);}}catch(_0xec51ad){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4e7e89(0x24d)](_0xec51ad));}_0x98e469[_0x4e7e89(0x1c9)](_0x5d0e28);})[_0x5fde92(0x20f)](()=>{const _0x1d96bf=_0x5fde92;_0x4bcb32[_0x1d96bf(0x1f1)](_0x199c19);});},{'platform':_0x4bcb32[_0x2cf362(0x1dc)](nestedKeyValue,global['__platformCaps'],[_0x4bcb32[_0x2cf362(0x258)]]),'hookType':_0x4bcb32['xGKVq']})();},'afterEach'(_0x3f4043){const _0x44332a=a43_0x37df49,_0x564125={'FMKdD':function(_0x2d13ef){return _0x2d13ef();},'qKAfM':function(_0x4e4253,_0x1272b2){return _0x4e4253!==_0x1272b2;},'BEiHe':_0x44332a(0x1ca),'vbrWV':function(_0x1edc99,_0x3c1163,_0x4b2ec0){return _0x1edc99(_0x3c1163,_0x4b2ec0);},'PIspJ':function(_0x36256e,_0x4f959d){return _0x36256e+_0x4f959d;},'mgONX':'Failed:\x20','TJRAr':_0x44332a(0x1af),'YzUHe':_0x44332a(0x1b9),'PfjiA':'info','sawJu':_0x44332a(0x1ed),'twgNr':function(_0x4f922a,_0x23985e){return _0x4f922a>_0x23985e;},'WXexb':function(_0x59ea9a,_0x16ba12){return _0x59ea9a===_0x16ba12;},'bVIdv':'testcase','tXpqi':_0x44332a(0x1b1),'dwObT':function(_0x5c3941,_0x470f61,_0x5c2811,_0x781c5){return _0x5c3941(_0x470f61,_0x5c2811,_0x781c5);},'vBbQU':_0x44332a(0x1ac),'BceQf':_0x44332a(0x23a),'VPZOa':_0x44332a(0x22e),'jJLib':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','EIiuc':_0x44332a(0x1cb),'qMwXc':_0x44332a(0x250),'UQuNb':_0x44332a(0x228),'YEwAN':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','umtmZ':'Accessibility\x20results\x20saved\x20successfully','QXYAr':_0x44332a(0x25c),'lReVF':_0x44332a(0x22b),'cceMB':function(_0x1d6ccc){return _0x1d6ccc();},'UTChE':function(_0x2cff02){return _0x2cff02();},'fnaGP':'debug','jFQjn':function(_0x14588a){return _0x14588a();},'OfQYs':_0x44332a(0x23e),'uEMhe':'index','daXXi':_0x44332a(0x1e1)},_0x12204e='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x564125[_0x44332a(0x251)]]),global[_0x44332a(0x25b)]=this[_0x44332a(0x1d0)][_0x44332a(0x1a8)]()['join'](_0x564125['sawJu']),PerformanceTester[_0x44332a(0x263)](PerformanceSdkEvents[_0x44332a(0x1d9)],()=>{const _0x59964f=_0x44332a,_0x1268bd={'OdADS':function(_0x10e912,_0x585dcc){const _0xb1d20=a43_0x5dd3;return _0x564125[_0xb1d20(0x1b6)](_0x10e912,_0x585dcc);},'fBdbh':_0x564125[_0x59964f(0x265)],'dVQRD':function(_0x35e055,_0x36257c,_0xf34c20){return _0x564125['vbrWV'](_0x35e055,_0x36257c,_0xf34c20);},'BDZKU':function(_0x2700f9,_0x1887bb){const _0x4210e3=_0x59964f;return _0x564125[_0x4210e3(0x1a0)](_0x2700f9,_0x1887bb);},'KFwbQ':_0x564125[_0x59964f(0x201)],'uOWPG':_0x564125[_0x59964f(0x249)],'YdyxL':_0x564125[_0x59964f(0x211)],'ZPKwK':_0x564125[_0x59964f(0x264)],'dDNly':_0x564125['sawJu'],'HuZSr':function(_0x40cd18,_0x556815){return _0x564125['twgNr'](_0x40cd18,_0x556815);},'YVfaH':function(_0x2f161b,_0x12e6ce){const _0x161168=_0x59964f;return _0x564125[_0x161168(0x22c)](_0x2f161b,_0x12e6ce);},'jDWTw':_0x564125[_0x59964f(0x1d1)],'VdfhK':function(_0x15048f,_0x46caec){const _0x168bd8=_0x59964f;return _0x564125[_0x168bd8(0x1da)](_0x15048f,_0x46caec);},'uzOxZ':_0x564125[_0x59964f(0x1dd)],'bWkXv':function(_0x52791d,_0x292882,_0x3776f7,_0x2eb2fc){const _0x22afc4=_0x59964f;return _0x564125[_0x22afc4(0x20b)](_0x52791d,_0x292882,_0x3776f7,_0x2eb2fc);},'gogUf':_0x564125[_0x59964f(0x1df)],'gbnrC':_0x564125[_0x59964f(0x21e)],'Asufm':_0x564125[_0x59964f(0x1be)],'jqqYV':_0x564125['jJLib'],'QaxvL':_0x564125['EIiuc'],'YEBFK':_0x564125[_0x59964f(0x1fc)],'obaSc':_0x564125[_0x59964f(0x217)],'RPvKC':_0x564125[_0x59964f(0x21c)],'lQQSC':_0x564125[_0x59964f(0x225)],'DAHID':_0x564125['QXYAr'],'AuiVG':_0x564125[_0x59964f(0x241)],'oeWNE':function(_0x5c7f0a){const _0x1e54b4=_0x59964f;return _0x564125[_0x1e54b4(0x253)](_0x5c7f0a);},'InwaA':function(_0x185b50){return _0x564125['UTChE'](_0x185b50);},'RAsOc':_0x564125[_0x59964f(0x1f9)],'uMnTO':function(_0x20b5d7){const _0x3cbbd0=_0x59964f;return _0x564125[_0x3cbbd0(0x1cf)](_0x20b5d7);}},_0x19d924=async(_0x5a842f,_0x541cc3)=>{const _0x280be2=_0x59964f;await global[_0x280be2(0x1fd)][0x0][_0x280be2(0x1ba)](_0x280be2(0x22f)+_0x5a842f+_0x280be2(0x1f2)+_0x541cc3+'\x22}}');};new Promise(async _0x3df2aa=>{const _0x4479a7=_0x59964f,_0x342434={};_0x342434[_0x4479a7(0x231)]=_0x1268bd[_0x4479a7(0x1f7)];const _0x2c7f20=_0x342434;try{_0x1268bd[_0x4479a7(0x259)](global[_0x4479a7(0x1fd)][_0x4479a7(0x1a5)],0x1)&&(await global[_0x4479a7(0x21f)](),global[_0x4479a7(0x1fd)][_0x4479a7(0x234)](),global['__error_messages__']=[],global[_0x4479a7(0x24f)]=![]);try{if(global[_0x4479a7(0x221)]&&_0x1268bd[_0x4479a7(0x240)](global[_0x4479a7(0x1d6)],_0x1268bd['jDWTw'])&&global['__drivers'][0x0]){const _0xa1f8bf=_0x1268bd[_0x4479a7(0x214)](global[_0x4479a7(0x1ea)][_0x4479a7(0x1a5)],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x4479a7(0x1ea)][0x0][_0x1268bd[_0x4479a7(0x1bb)]]:![],_0x273e59={};_0x273e59['app']=_0xa1f8bf,await _0x1268bd[_0x4479a7(0x1f0)](percyAutoCapture,global['__drivers'][0x0],_0x1268bd['jDWTw'],_0x273e59);}}catch(_0x5d7a4c){logger[_0x4479a7(0x24a)](_0x4479a7(0x210)+_0x5d7a4c);}!global['__skipSessionName']&&(await PerformanceTester[_0x4479a7(0x263)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x537d4e=_0x4479a7;await global[_0x537d4e(0x1fd)][0x0][_0x537d4e(0x1ba)](_0x537d4e(0x205)+JSON[_0x537d4e(0x207)](this[_0x537d4e(0x1d0)][_0x537d4e(0x1a8)]()[_0x537d4e(0x21b)](_0x2c7f20[_0x537d4e(0x231)]))+'}}');})(),global[_0x4479a7(0x1fd)][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x4479a7(0x1c4)],async()=>{const _0x4e461e=_0x4479a7,_0x1b8847=_0x1268bd[_0x4e461e(0x1db)](this[_0x4e461e(0x1d0)][_0x4e461e(0x20c)],_0x1268bd[_0x4e461e(0x1f3)]);_0x1b8847?(global[_0x4e461e(0x24f)]=!![],global['__error_messages__'][_0x4e461e(0x25f)](this['currentTest'][_0x4e461e(0x216)]['message']),await _0x1268bd[_0x4e461e(0x222)](_0x19d924,JSON[_0x4e461e(0x207)](_0x1268bd[_0x4e461e(0x1ce)](_0x1268bd['KFwbQ'],this[_0x4e461e(0x1d0)]['err'][_0x4e461e(0x1a2)])),_0x1268bd[_0x4e461e(0x1c2)])):await _0x1268bd['dVQRD'](_0x19d924,JSON[_0x4e461e(0x207)](_0x1268bd['YdyxL']),_0x1268bd[_0x4e461e(0x1bf)]);})();}catch(_0x341a95){logger[_0x4479a7(0x24a)](_0x4479a7(0x1de)+_0x341a95);}try{if(this[_0x4479a7(0x1d0)][_0x4479a7(0x25d)]&&globals['getGlobal'](_0x1268bd[_0x4479a7(0x1b8)])){logger[_0x4479a7(0x1fa)](_0x1268bd[_0x4479a7(0x25a)]);const _0x14359d={};_0x14359d['thTestRunUuid']=this[_0x4479a7(0x1d0)][_0x4479a7(0x1b7)],_0x14359d['thBuildUuid']=process[_0x4479a7(0x1e5)][testHubConstants[_0x4479a7(0x1f4)][_0x4479a7(0x1ad)]],_0x14359d['thJwtToken']=process['env'][testHubConstants[_0x4479a7(0x1f4)][_0x4479a7(0x1e6)]];const _0x3d24a8=_0x14359d;logger[_0x4479a7(0x24a)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4479a7(0x207)](_0x3d24a8));if(globals[_0x4479a7(0x1c3)](_0x1268bd[_0x4479a7(0x245)])){logger['debug'](_0x1268bd[_0x4479a7(0x227)]);const _0x5bb239={};_0x5bb239[_0x4479a7(0x1e4)]=_0x1268bd[_0x4479a7(0x255)];const _0x4f6403=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x24d982=_0x4479a7;return await accessibilityRetryHelper['performScanWithRetry'](global['__drivers'][0x0],global[_0x24d982(0x1a3)]);},_0x5bb239)();_0x4f6403?logger[_0x4479a7(0x24a)](_0x1268bd[_0x4479a7(0x1c0)]):logger[_0x4479a7(0x1e9)](_0x1268bd[_0x4479a7(0x213)]);}else logger[_0x4479a7(0x24a)](_0x1268bd[_0x4479a7(0x1a9)]);const _0x38ecc2=await PerformanceTester[_0x4479a7(0x263)](PerformanceA11yEvents[_0x4479a7(0x23f)],async()=>{const _0x1d0aa7=_0x4479a7;return await accessibilityRetryHelper[_0x1d0aa7(0x1d4)](global[_0x1d0aa7(0x1fd)][0x0],_0x3d24a8);})();_0x38ecc2?logger[_0x4479a7(0x24a)](_0x1268bd[_0x4479a7(0x20a)]):logger[_0x4479a7(0x1e9)](_0x1268bd['DAHID']),logger[_0x4479a7(0x1fa)](_0x1268bd['AuiVG']);}}catch(_0x18b653){logger['error'](_0x4479a7(0x1d5)+this[_0x4479a7(0x1d0)][_0x4479a7(0x1a8)]()+'.\x20Error\x20:',_0x18b653);}try{try{if(_0x1268bd[_0x4479a7(0x256)](shouldProcessEventForTesthub)){const _0x43d6f2=global[_0x4479a7(0x1fd)][0x0];if(_0x43d6f2){const _0x52575c=await _0x1268bd[_0x4479a7(0x222)](sendPlatformDetails,_0x43d6f2,this[_0x4479a7(0x1d0)]?this[_0x4479a7(0x1d0)][_0x4479a7(0x1b7)]:null);_0x52575c&&(_0x43d6f2[_0x4479a7(0x1a7)]=!![]);}if(_0x1268bd[_0x4479a7(0x1f8)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x4479a7(0x1eb)]);const _0x591888=_0x4479a7(0x23c)+Date[_0x4479a7(0x1fb)]();await _0x1268bd[_0x4479a7(0x222)](_0x19d924,JSON['stringify'](_0x591888),_0x1268bd[_0x4479a7(0x1d3)]),PerformanceTester[_0x4479a7(0x257)](PerformanceO11yEvents['SYNC']);}}}catch(_0x2ab4a4){logger[_0x4479a7(0x24a)](_0x4479a7(0x1bd)+_0x2ab4a4),PerformanceTester[_0x4479a7(0x257)](PerformanceO11yEvents['SYNC'],![],_0x2ab4a4);}_0x1268bd[_0x4479a7(0x214)](global[_0x4479a7(0x1fd)][0x0][_0x4479a7(0x21d)],0x0)&&await global[_0x4479a7(0x21f)]();}catch(_0x2b8839){logger[_0x4479a7(0x24a)](_0x4479a7(0x1b2)+_0x2b8839);}_0x1268bd[_0x4479a7(0x22d)](_0x3df2aa);})['then'](()=>{const _0x5b199e=_0x59964f;_0x564125[_0x5b199e(0x233)](_0x3f4043);});},{'platform':_0x564125['vbrWV'](nestedKeyValue,global[_0x44332a(0x252)],[_0x564125['uEMhe']]),'hookType':_0x564125[_0x44332a(0x1fe)]})();},'afterAll'(_0x5e0470){const _0x403f03=a43_0x37df49,_0x340c9a={'rvQsS':function(_0x4fd324){return _0x4fd324();},'juTFU':function(_0x3bd7e4){return _0x3bd7e4();},'jiCsC':'Mocha','bxjzu':function(_0x4635c8,_0x381337,_0x1299b9){return _0x4635c8(_0x381337,_0x1299b9);},'xyDUd':'index','uGLnF':'afterAll'},_0x40b77d='browserstack internal helper hook';this[_0x403f03(0x204)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x340c9a['jiCsC']]),PerformanceTester[_0x403f03(0x263)](PerformanceSdkEvents[_0x403f03(0x1d9)],()=>{const _0x13987b=_0x403f03,_0xb8b0c0={'kWGdz':function(_0x21bbd7){const _0x5aaa8f=a43_0x5dd3;return _0x340c9a[_0x5aaa8f(0x219)](_0x21bbd7);}};new Promise(async _0x5b31ac=>{const _0x25e018=a43_0x5dd3;await global[_0x25e018(0x21f)](),_0xb8b0c0[_0x25e018(0x25e)](_0x5b31ac);})[_0x13987b(0x20f)]()[_0x13987b(0x1c8)](()=>{_0x340c9a['rvQsS'](_0x5e0470);});},{'platform':_0x340c9a['bxjzu'](nestedKeyValue,global[_0x403f03(0x252)],[_0x340c9a[_0x403f03(0x215)]]),'hookType':_0x340c9a['uGLnF']})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x2d3d81=a44_0x2039;(function(_0xbf96e6,_0x5abb49){const _0x323b99=a44_0x2039,_0x4e7016=_0xbf96e6();while(!![]){try{const _0x3ca11b=parseInt(_0x323b99(0x220))/0x1+parseInt(_0x323b99(0x1ed))/0x2*(parseInt(_0x323b99(0x22b))/0x3)+-parseInt(_0x323b99(0x265))/0x4+-parseInt(_0x323b99(0x217))/0x5*(parseInt(_0x323b99(0x250))/0x6)+-parseInt(_0x323b99(0x1f3))/0x7*(-parseInt(_0x323b99(0x230))/0x8)+-parseInt(_0x323b99(0x21d))/0x9+parseInt(_0x323b99(0x234))/0xa*(-parseInt(_0x323b99(0x221))/0xb);if(_0x3ca11b===_0x5abb49)break;else _0x4e7016['push'](_0x4e7016['shift']());}catch(_0x53ac86){_0x4e7016['push'](_0x4e7016['shift']());}}}(a44_0x2d3a,0x4354c));const path=require('path'),Module=require(a44_0x2d3d81(0x211)),{fork}=require(a44_0x2d3d81(0x269)),logger=require(a44_0x2d3d81(0x223))[a44_0x2d3d81(0x258)],helper=require('../../helpers/helper'),TestHubHandler=require(a44_0x2d3d81(0x21f)),RequestQueueHandler=require(a44_0x2d3d81(0x1f1)),{FRAMEWORKS}=require(a44_0x2d3d81(0x261)),{printBuildLink}=require(a44_0x2d3d81(0x263)),BrowserstackCLI=require(a44_0x2d3d81(0x216)),CLIUtils=require('../v2/cliUtils');function registerBrowserStackReporter(){const _0x1f7a69=a44_0x2d3d81,_0xeedfc1={};_0xeedfc1[_0x1f7a69(0x22c)]=function(_0x572456,_0x3e83b2){return _0x572456===_0x3e83b2;},_0xeedfc1[_0x1f7a69(0x205)]=_0x1f7a69(0x267),_0xeedfc1['KqPdO']=_0x1f7a69(0x214),_0xeedfc1[_0x1f7a69(0x259)]=_0x1f7a69(0x255);const _0x25d71e=_0xeedfc1,_0x407ca7=path[_0x1f7a69(0x25c)](__dirname,_0x25d71e['KqPdO'],_0x25d71e[_0x1f7a69(0x259)]),_0x567f56=Module[_0x1f7a69(0x24b)];Module[_0x1f7a69(0x24b)]=function(_0x38c3d2,_0x1d298e,_0xa10b09,_0x4041db){const _0x2bac6e=_0x1f7a69;if(_0x25d71e['hFOKF'](_0x38c3d2,_0x25d71e[_0x2bac6e(0x205)]))return _0x407ca7;return _0x567f56[_0x2bac6e(0x239)](this,_0x38c3d2,_0x1d298e,_0xa10b09,_0x4041db);};}function a44_0x2039(_0x4419db,_0x67c0ee){const _0x2d3a4c=a44_0x2d3a();return a44_0x2039=function(_0x203910,_0x524520){_0x203910=_0x203910-0x1e9;let _0x4256f9=_0x2d3a4c[_0x203910];return _0x4256f9;},a44_0x2039(_0x4419db,_0x67c0ee);}function injectReporterIntoArgs(_0x3fb889){const _0x31a9e8=a44_0x2d3d81,_0x6462f6={};_0x6462f6[_0x31a9e8(0x245)]=function(_0x5e3e89,_0x31216a){return _0x5e3e89<_0x31216a;},_0x6462f6['UakAo']=function(_0x40f694,_0x31adf0){return _0x40f694===_0x31adf0;},_0x6462f6[_0x31a9e8(0x22d)]=_0x31a9e8(0x21a),_0x6462f6[_0x31a9e8(0x25a)]=function(_0x56a35a,_0x46d784){return _0x56a35a+_0x46d784;},_0x6462f6[_0x31a9e8(0x23d)]=function(_0x3db50e,_0x230f55){return _0x3db50e===_0x230f55;},_0x6462f6['kzeeN']=function(_0x25ed22,_0x4268b6){return _0x25ed22+_0x4268b6;},_0x6462f6['ICORa']='browserstack',_0x6462f6[_0x31a9e8(0x1eb)]=_0x31a9e8(0x260),_0x6462f6[_0x31a9e8(0x203)]=_0x31a9e8(0x210);const _0x30f29a=_0x6462f6,_0x548391=_0x3fb889['slice']();for(let _0x51e99b=0x0;_0x30f29a[_0x31a9e8(0x245)](_0x51e99b,_0x548391['length']);_0x51e99b++){if(_0x30f29a['UakAo'](_0x548391[_0x51e99b],'-r')||_0x30f29a[_0x31a9e8(0x240)](_0x548391[_0x51e99b],_0x30f29a[_0x31a9e8(0x22d)]))return _0x548391[_0x30f29a[_0x31a9e8(0x25a)](_0x51e99b,0x1)]&&_0x30f29a[_0x31a9e8(0x23d)](_0x548391[_0x30f29a[_0x31a9e8(0x254)](_0x51e99b,0x1)][_0x31a9e8(0x215)](_0x30f29a[_0x31a9e8(0x256)]),-0x1)&&(_0x548391[_0x30f29a['kzeeN'](_0x51e99b,0x1)]+=_0x30f29a[_0x31a9e8(0x1eb)]),_0x548391;}return _0x548391[_0x31a9e8(0x23f)]('-r',_0x30f29a[_0x31a9e8(0x203)]),_0x548391;}function a44_0x2d3a(){const _0xe5db2a=['3ESZYvU','hFOKF','SIuZQ','error','LXSLz','1108648EiKBsV','oDSRu','LCzvM','failures','590830FjZNdv','stop','exitCode','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','Failed\x20to\x20launch\x20build:\x20','call','Cgmgp','gxZlv','jbFSk','dpKxX','hKNmB','push','UakAo','length','sUzMn','XGZLF','slice','VwIcf','WbYlD','setBrowserstackConfig','newman/bin/newman','O11yHashedID','message','_resolveFilename','testObservability','newman','inherit','parallelsPerPlatform','1554CqDmdr','bdlAP','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','XRETH','kzeeN','index.js','ICORa','BROWSERSTACK_AUTOMATION','winstonLogger','BKJIG','VpVQL','package.json','join','configPath','BROWSERSTACK_TESTHUB_JWT','cwd',',browserstack','../../helpers/test-observability/constants','hPtPq','../../helpers/test-observability/utils','node','1740528IVngLf','run','newman-reporter-browserstack','.js','child_process','YZDKs','getInstance','eBUWe','ZclWM','775582dRBGul','env','jDpaG','KRvbC','../../helpers/test-observability/requestQueueHandler','YnkFu','21wviBrd','shutdown','udaCy','BROWSERSTACK_TEST_OBSERVABILITY_YML','resolve','TYKKn','sKmSR','ahclH','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','GbHBq','null','qCrVz','NKOhl','MqVtj','cliConfig','WQLmj','GurBI','zSQSh','LKEre','Tenti','fnkst','config','iVDPB','Newman\x20CLI\x20not\x20found:\x20','assign','POzmW','XXfiI','pURmp','dmiuz','cli,browserstack','module','isRunning','bootstrap','reporter','indexOf','../v2/browserstackCLI','5165WLiglR','exports','ELIFi','--reporters','true','Isxdn','518589RWSTQI','lxAoz','../../helpers/testhub/testhubHandler','291637GZOClQ','11qKUISs','concat','../../helpers/logger','NRQpf','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','setFrameworkDetail','iEHWf','endsWith','launchBuild','RmNxo'];a44_0x2d3a=function(){return _0xe5db2a;};return a44_0x2d3a();}function runNewmanCLI(_0x439579){const _0x29d7e2=a44_0x2d3d81,_0x20bcd5={'hKNmB':function(_0x567087,_0x5b3d79){return _0x567087>_0x5b3d79;},'pURmp':function(_0x165f07,_0x267733){return _0x165f07(_0x267733);},'bdlAP':function(_0xf2928c,_0x1b34eb,_0x456b60){return _0xf2928c(_0x1b34eb,_0x456b60);},'WbYlD':_0x29d7e2(0x24d),'ELIFi':_0x29d7e2(0x237),'WQLmj':function(_0x29d186,_0x21b661){return _0x29d186(_0x21b661);},'hPtPq':_0x29d7e2(0x211),'sKmSR':_0x29d7e2(0x25b),'XGZLF':_0x29d7e2(0x248),'udaCy':_0x29d7e2(0x264),'SBcAv':function(_0x23d778,_0x374f4f){return _0x23d778+_0x374f4f;},'lUJBR':_0x29d7e2(0x20a)};return new Promise(_0x5a462a=>{const _0x596ab4=_0x29d7e2,_0x1b3031={'oDSRu':function(_0x5c9e06,_0x487516){const _0x47c71f=a44_0x2039;return _0x20bcd5[_0x47c71f(0x23e)](_0x5c9e06,_0x487516);},'fnkst':function(_0x473189,_0xf4ae25){const _0x2bc903=a44_0x2039;return _0x20bcd5[_0x2bc903(0x20e)](_0x473189,_0xf4ae25);},'lxAoz':function(_0x1069c2,_0x2bd437,_0x176ed7){const _0x1934aa=a44_0x2039;return _0x20bcd5[_0x1934aa(0x251)](_0x1069c2,_0x2bd437,_0x176ed7);}};let _0x2b0c0e;try{_0x2b0c0e=helper['requireModule'](_0x20bcd5['WbYlD'],_0x20bcd5[_0x596ab4(0x246)]);}catch(_0x257a04){return logger[_0x596ab4(0x22e)](_0x20bcd5[_0x596ab4(0x219)]),_0x20bcd5[_0x596ab4(0x202)](_0x5a462a,0x1);}const _0x41a1ea=_0x2b0c0e[_0x596ab4(0x266)];_0x2b0c0e['run']=function(_0x36ace2,_0x1732bd){const _0x2af0d2=_0x596ab4;return _0x2b0c0e[_0x2af0d2(0x266)]=_0x41a1ea,_0x41a1ea[_0x2af0d2(0x239)](_0x2b0c0e,_0x36ace2,(_0x161b77,_0x1ad240)=>{const _0xa199e6=_0x2af0d2,_0x191ed9=_0x1ad240&&_0x1ad240[_0xa199e6(0x266)]&&(_0x1ad240[_0xa199e6(0x266)][_0xa199e6(0x22e)]||_0x1ad240[_0xa199e6(0x266)][_0xa199e6(0x233)]&&_0x1b3031[_0xa199e6(0x231)](_0x1ad240[_0xa199e6(0x266)]['failures'][_0xa199e6(0x241)],0x0));_0x1b3031[_0xa199e6(0x207)](_0x5a462a,_0x191ed9?0x1:0x0),_0x1732bd&&_0x1b3031[_0xa199e6(0x21e)](_0x1732bd,_0x161b77,_0x1ad240);});};try{const _0x1edc83=_0x20bcd5['WQLmj'](require,_0x20bcd5[_0x596ab4(0x262)])['createRequire'](path[_0x596ab4(0x25c)](process[_0x596ab4(0x25f)](),_0x20bcd5[_0x596ab4(0x1f9)]));_0x20bcd5[_0x596ab4(0x202)](_0x1edc83,_0x20bcd5[_0x596ab4(0x243)])([_0x20bcd5[_0x596ab4(0x1f5)],_0x20bcd5[_0x596ab4(0x246)]][_0x596ab4(0x222)](_0x439579));}catch(_0x3d6725){_0x2b0c0e[_0x596ab4(0x266)]=_0x41a1ea,logger[_0x596ab4(0x22e)](_0x20bcd5['SBcAv'](_0x20bcd5['lUJBR'],_0x3d6725['message'])),_0x20bcd5[_0x596ab4(0x20e)](_0x5a462a,0x1);}});}function runNewmanScript(_0x180ce3,_0x53ca25){const _0x50b0e9=a44_0x2d3d81,_0x10c1e5={'qCrVz':function(_0x530b3c,_0x46500c){return _0x530b3c(_0x46500c);},'XXfiI':function(_0x5652c6,_0x3c86f0){return _0x5652c6||_0x3c86f0;},'Tenti':function(_0x1a5f52,_0x15fcfb,_0x10228f,_0xd9b26f){return _0x1a5f52(_0x15fcfb,_0x10228f,_0xd9b26f);},'TYKKn':'scriptRunner.js','POzmW':_0x50b0e9(0x24e),'LXSLz':'close'};return new Promise(function(_0x135342){const _0x282aa7=_0x50b0e9,_0x2815fa=_0x10c1e5[_0x282aa7(0x206)](fork,path[_0x282aa7(0x25c)](__dirname,_0x10c1e5[_0x282aa7(0x1f8)]),[_0x180ce3,_0x10c1e5[_0x282aa7(0x1fe)](String,_0x10c1e5[_0x282aa7(0x20d)](_0x53ca25,0x0))],{'stdio':_0x10c1e5[_0x282aa7(0x20c)],'env':Object[_0x282aa7(0x20b)]({},process[_0x282aa7(0x1ee)])});_0x2815fa['on'](_0x10c1e5[_0x282aa7(0x22f)],function(_0x18f014){const _0x5e9744=_0x282aa7;_0x10c1e5[_0x5e9744(0x1fe)](_0x135342,_0x10c1e5[_0x5e9744(0x20d)](_0x18f014,0x0));});});}function hasO11yBuild(){const _0x4cd983=a44_0x2d3d81,_0x19e316={};_0x19e316[_0x4cd983(0x1ef)]=function(_0x2030e5,_0x22bbee){return _0x2030e5!==_0x22bbee;},_0x19e316[_0x4cd983(0x1ec)]=_0x4cd983(0x1fd);const _0x13c351=_0x19e316;return!!(BrowserstackCLI[_0x4cd983(0x249)]||process[_0x4cd983(0x1ee)][_0x4cd983(0x25e)]&&_0x13c351['jDpaG'](process['env'][_0x4cd983(0x25e)],_0x13c351[_0x4cd983(0x1ec)]));}function runWithoutObservability(_0x375648,_0x2285c1){const _0x2d41dc=a44_0x2d3d81,_0x414d34={'WqWxp':function(_0x380d9e,_0x5a3826){return _0x380d9e(_0x5a3826);},'gxZlv':function(_0x6e291c,_0x2d51f4){return _0x6e291c(_0x2d51f4);}};if(_0x375648)return _0x414d34['WqWxp'](require,path[_0x2d41dc(0x1f7)](_0x375648)),0x0;return _0x414d34[_0x2d41dc(0x23b)](runNewmanCLI,_0x2285c1);}module[a44_0x2d3d81(0x218)]=async function(_0x3d42d2,_0x2d9036,_0x3ba93c){const _0x24132a=a44_0x2d3d81,_0x27a550={'WAvID':_0x24132a(0x268),'ahclH':function(_0x39216c,_0x1dfdb1){return _0x39216c===_0x1dfdb1;},'iVDPB':function(_0x4d726d,_0x596876){return _0x4d726d===_0x596876;},'Isxdn':'false','zSQSh':function(_0x3d39f4,_0x110c9d,_0x263213){return _0x3d39f4(_0x110c9d,_0x263213);},'GbHBq':function(_0x12758d,_0x59e99e){return _0x12758d!=_0x59e99e;},'iEHWf':_0x24132a(0x21b),'YZDKs':_0x24132a(0x24d),'RmNxo':function(_0x2e550a,_0x241cc4){return _0x2e550a+_0x241cc4;},'KRvbC':'Failed\x20to\x20bootstrap\x20CLI:\x20','MqVtj':function(_0x4d4827,_0x2bb7ed){return _0x4d4827+_0x2bb7ed;},'Cgmgp':_0x24132a(0x238),'YnkFu':function(_0x1be70c){return _0x1be70c();},'sUzMn':_0x24132a(0x1fb),'NRQpf':function(_0x360bc9){return _0x360bc9();},'XRETH':function(_0x481f20,_0x25cc92){return _0x481f20(_0x25cc92);},'LCzvM':function(_0x4f4e54,_0x15d435){return _0x4f4e54(_0x15d435);},'dmiuz':function(_0x382a6c){return _0x382a6c();},'NKOhl':function(_0x393cfb){return _0x393cfb();},'jbFSk':_0x24132a(0x225)},_0x3fbff3=_0x2d9036[_0x24132a(0x244)](0x1),_0x3014ea=_0x3fbff3[0x0]&&_0x3fbff3[0x0][_0x24132a(0x228)](_0x27a550['WAvID'])?_0x3fbff3[0x0]:null;if(!_0x3ba93c['config']||_0x27a550[_0x24132a(0x1fa)](_0x3ba93c['config']['testObservability'],![])||_0x27a550[_0x24132a(0x209)](_0x3ba93c['config'][_0x24132a(0x24c)],_0x27a550[_0x24132a(0x21c)])){process[_0x24132a(0x236)]=await _0x27a550[_0x24132a(0x204)](runWithoutObservability,_0x3014ea,_0x3fbff3)||0x0;return;}process[_0x24132a(0x1ee)][_0x24132a(0x257)]=_0x27a550[_0x24132a(0x21c)],process[_0x24132a(0x1ee)][_0x24132a(0x252)]=_0x27a550[_0x24132a(0x21c)],process[_0x24132a(0x1ee)][_0x24132a(0x1f6)]=_0x27a550[_0x24132a(0x1fc)](_0x3ba93c[_0x24132a(0x208)][_0x24132a(0x24c)],null)?_0x3ba93c['config'][_0x24132a(0x24c)]:_0x27a550[_0x24132a(0x227)],CLIUtils[_0x24132a(0x226)](_0x27a550[_0x24132a(0x1e9)],_0x27a550[_0x24132a(0x1e9)]),BrowserstackCLI[_0x24132a(0x1ea)]()[_0x24132a(0x247)](_0x3ba93c[_0x24132a(0x208)],_0x3ba93c[_0x24132a(0x25d)],_0x3ba93c[_0x24132a(0x201)]);try{await BrowserstackCLI[_0x24132a(0x1ea)]()[_0x24132a(0x213)]();}catch(_0x14ea57){logger[_0x24132a(0x22e)](_0x27a550[_0x24132a(0x22a)](_0x27a550[_0x24132a(0x1f0)],_0x14ea57['message']||_0x14ea57));}if(!BrowserstackCLI[_0x24132a(0x1ea)]()[_0x24132a(0x212)]())try{await TestHubHandler[_0x24132a(0x229)](FRAMEWORKS['NEWMAN'],_0x3ba93c);}catch(_0x10c7e8){logger['error'](_0x27a550[_0x24132a(0x200)](_0x27a550[_0x24132a(0x23a)],_0x10c7e8[_0x24132a(0x24a)]||_0x10c7e8));}!_0x27a550[_0x24132a(0x1f2)](hasO11yBuild)&&logger['warn'](_0x27a550[_0x24132a(0x242)]);_0x27a550[_0x24132a(0x224)](registerBrowserStackReporter);let _0x25c0f6;_0x3014ea?_0x25c0f6=await _0x27a550[_0x24132a(0x204)](runNewmanScript,_0x3014ea,_0x3ba93c[_0x24132a(0x208)][_0x24132a(0x24f)]):_0x25c0f6=await _0x27a550[_0x24132a(0x253)](runNewmanCLI,_0x27a550[_0x24132a(0x232)](injectReporterIntoArgs,_0x3fbff3));try{await TestHubHandler[_0x24132a(0x235)]();}catch(_0x3aa22e){}try{await BrowserstackCLI[_0x24132a(0x1ea)]()[_0x24132a(0x235)]();}catch(_0x4de26a){}try{await RequestQueueHandler[_0x24132a(0x1ea)]()[_0x24132a(0x1f4)]();}catch(_0x514ac4){}if(_0x27a550[_0x24132a(0x20f)](hasO11yBuild))try{_0x27a550[_0x24132a(0x1ff)](printBuildLink);}catch(_0x33b173){}else logger['warn'](_0x27a550[_0x24132a(0x23c)]);process['exitCode']=_0x25c0f6;};
|
|
2
|
+
'use strict';const a44_0x51bdd9=a44_0x51f3;(function(_0x2288a3,_0x1b6eeb){const _0x310235=a44_0x51f3,_0x4f409f=_0x2288a3();while(!![]){try{const _0xe462de=-parseInt(_0x310235(0x207))/0x1+-parseInt(_0x310235(0x237))/0x2+parseInt(_0x310235(0x21d))/0x3*(parseInt(_0x310235(0x1f2))/0x4)+parseInt(_0x310235(0x236))/0x5+-parseInt(_0x310235(0x1fb))/0x6+-parseInt(_0x310235(0x20e))/0x7+-parseInt(_0x310235(0x267))/0x8*(-parseInt(_0x310235(0x1f8))/0x9);if(_0xe462de===_0x1b6eeb)break;else _0x4f409f['push'](_0x4f409f['shift']());}catch(_0x4cf75c){_0x4f409f['push'](_0x4f409f['shift']());}}}(a44_0x1f20,0x66662));const path=require(a44_0x51bdd9(0x204)),Module=require(a44_0x51bdd9(0x245)),{fork}=require('child_process'),logger=require(a44_0x51bdd9(0x240))[a44_0x51bdd9(0x1f4)],helper=require('../../helpers/helper'),TestHubHandler=require(a44_0x51bdd9(0x1f5)),RequestQueueHandler=require(a44_0x51bdd9(0x25d)),{FRAMEWORKS}=require(a44_0x51bdd9(0x208)),{printBuildLink}=require(a44_0x51bdd9(0x23d)),BrowserstackCLI=require(a44_0x51bdd9(0x22a)),CLIUtils=require(a44_0x51bdd9(0x259));function registerBrowserStackReporter(){const _0xf0488=a44_0x51bdd9,_0x35441f={};_0x35441f['aEmBj']=function(_0x14b3ce,_0xcf44d4){return _0x14b3ce===_0xcf44d4;},_0x35441f[_0xf0488(0x203)]='newman-reporter-browserstack',_0x35441f[_0xf0488(0x231)]=_0xf0488(0x22b),_0x35441f[_0xf0488(0x239)]=_0xf0488(0x24f);const _0x58fc67=_0x35441f,_0x507f69=path[_0xf0488(0x230)](__dirname,_0x58fc67[_0xf0488(0x231)],_0x58fc67['UaWgX']),_0x3a1aae=Module[_0xf0488(0x201)];Module[_0xf0488(0x201)]=function(_0x296f2a,_0x10e6b2,_0x4b692b,_0x1300c7){const _0x15c816=_0xf0488;if(_0x58fc67[_0x15c816(0x24d)](_0x296f2a,_0x58fc67[_0x15c816(0x203)]))return _0x507f69;return _0x3a1aae['call'](this,_0x296f2a,_0x10e6b2,_0x4b692b,_0x1300c7);};}function injectReporterIntoArgs(_0x1c87fa){const _0x144577=a44_0x51bdd9,_0x2a45b2={};_0x2a45b2['cmIZE']=function(_0x2cba0f,_0xf03aa){return _0x2cba0f<_0xf03aa;},_0x2a45b2[_0x144577(0x253)]=function(_0x4740d5,_0x2b13a5){return _0x4740d5===_0x2b13a5;},_0x2a45b2[_0x144577(0x25c)]=function(_0x3ac973,_0x4110b3){return _0x3ac973===_0x4110b3;},_0x2a45b2[_0x144577(0x232)]='--reporters',_0x2a45b2[_0x144577(0x22d)]=function(_0x2b9a96,_0x384d53){return _0x2b9a96+_0x384d53;},_0x2a45b2[_0x144577(0x25f)]=function(_0x5b30fd,_0x2040a4){return _0x5b30fd===_0x2040a4;},_0x2a45b2[_0x144577(0x21f)]=function(_0x109e32,_0x60e09f){return _0x109e32+_0x60e09f;},_0x2a45b2[_0x144577(0x256)]=_0x144577(0x257),_0x2a45b2['cfYfu']=function(_0x5ee56f,_0x5ee849){return _0x5ee56f+_0x5ee849;},_0x2a45b2['oHxOv']=_0x144577(0x228),_0x2a45b2['RZXfI']='cli,browserstack';const _0x23ab80=_0x2a45b2,_0x1502e0=_0x1c87fa[_0x144577(0x264)]();for(let _0x335a37=0x0;_0x23ab80[_0x144577(0x252)](_0x335a37,_0x1502e0['length']);_0x335a37++){if(_0x23ab80[_0x144577(0x253)](_0x1502e0[_0x335a37],'-r')||_0x23ab80[_0x144577(0x25c)](_0x1502e0[_0x335a37],_0x23ab80[_0x144577(0x232)]))return _0x1502e0[_0x23ab80[_0x144577(0x22d)](_0x335a37,0x1)]&&_0x23ab80[_0x144577(0x25f)](_0x1502e0[_0x23ab80['NgxPL'](_0x335a37,0x1)]['indexOf'](_0x23ab80[_0x144577(0x256)]),-0x1)&&(_0x1502e0[_0x23ab80['cfYfu'](_0x335a37,0x1)]+=_0x23ab80[_0x144577(0x250)]),_0x1502e0;}return _0x1502e0['push']('-r',_0x23ab80[_0x144577(0x213)]),_0x1502e0;}function a44_0x51f3(_0x6011f4,_0x1db48a){const _0x1f2071=a44_0x1f20();return a44_0x51f3=function(_0x51f38e,_0x1116ea){_0x51f38e=_0x51f38e-0x1f2;let _0x1d532f=_0x1f2071[_0x51f38e];return _0x1d532f;},a44_0x51f3(_0x6011f4,_0x1db48a);}function runNewmanCLI(_0x1c56bc){const _0x3979f1=a44_0x51bdd9,_0x272f8d={'Mzexo':function(_0x5b1979,_0x48d36e){return _0x5b1979>_0x48d36e;},'NaKHy':function(_0xf25371,_0x44f7b6){return _0xf25371(_0x44f7b6);},'eqNAQ':function(_0x2bff69,_0x2cd447,_0x5d078d){return _0x2bff69(_0x2cd447,_0x5d078d);},'dNzuX':_0x3979f1(0x248),'bmCsU':_0x3979f1(0x24a),'CFBNI':_0x3979f1(0x245),'ZhTrm':'package.json','ejGJh':function(_0x5dcab4,_0x16f88e){return _0x5dcab4(_0x16f88e);},'wEVTU':_0x3979f1(0x255),'sLFVf':_0x3979f1(0x20f),'BUYow':function(_0xb44217,_0x406c7b){return _0xb44217+_0x406c7b;},'xcMCR':_0x3979f1(0x1ff),'YOlIE':function(_0x3d2b17,_0x320e2b){return _0x3d2b17(_0x320e2b);}};return new Promise(_0x4172c0=>{const _0x585870=_0x3979f1,_0x4bc136={'yhPQl':function(_0x2b4c56,_0x1295ba){return _0x272f8d['Mzexo'](_0x2b4c56,_0x1295ba);},'Jyptr':function(_0x2345e0,_0xf51ee){const _0x16b3d6=a44_0x51f3;return _0x272f8d[_0x16b3d6(0x214)](_0x2345e0,_0xf51ee);},'YlXyG':function(_0x58f917,_0x1df12d,_0x1c5525){const _0x46c57d=a44_0x51f3;return _0x272f8d[_0x46c57d(0x205)](_0x58f917,_0x1df12d,_0x1c5525);}};let _0x27e270;try{_0x27e270=helper[_0x585870(0x223)](_0x272f8d['dNzuX'],_0x272f8d[_0x585870(0x246)]);}catch(_0x452f85){return logger[_0x585870(0x20c)](_0x272f8d[_0x585870(0x1fc)]),_0x272f8d[_0x585870(0x214)](_0x4172c0,0x1);}const _0x37baee=_0x27e270['run'];_0x27e270[_0x585870(0x211)]=function(_0x466e8f,_0x4381d9){const _0x1186d5=_0x585870,_0x6d017a={'msCTt':function(_0x46a3d3,_0x4c21bf){const _0x19a01b=a44_0x51f3;return _0x4bc136[_0x19a01b(0x1f6)](_0x46a3d3,_0x4c21bf);},'tGekw':function(_0x239234,_0x21f39e){const _0x323210=a44_0x51f3;return _0x4bc136[_0x323210(0x242)](_0x239234,_0x21f39e);},'nppEz':function(_0x2827c5,_0x4c80d4,_0xa2b8f){const _0x3ff3ef=a44_0x51f3;return _0x4bc136[_0x3ff3ef(0x233)](_0x2827c5,_0x4c80d4,_0xa2b8f);}};return _0x27e270['run']=_0x37baee,_0x37baee[_0x1186d5(0x1f3)](_0x27e270,_0x466e8f,(_0x592fe7,_0x456ce7)=>{const _0x214194=_0x1186d5,_0x12236f=_0x456ce7&&_0x456ce7[_0x214194(0x211)]&&(_0x456ce7[_0x214194(0x211)][_0x214194(0x20c)]||_0x456ce7[_0x214194(0x211)][_0x214194(0x260)]&&_0x6d017a['msCTt'](_0x456ce7[_0x214194(0x211)][_0x214194(0x260)][_0x214194(0x258)],0x0));_0x6d017a['tGekw'](_0x4172c0,_0x12236f?0x1:0x0),_0x4381d9&&_0x6d017a[_0x214194(0x1f7)](_0x4381d9,_0x592fe7,_0x456ce7);});};try{const _0xfb3d88=_0x272f8d[_0x585870(0x214)](require,_0x272f8d[_0x585870(0x247)])[_0x585870(0x206)](path[_0x585870(0x230)](process['cwd'](),_0x272f8d[_0x585870(0x218)]));_0x272f8d[_0x585870(0x268)](_0xfb3d88,_0x272f8d['wEVTU'])([_0x272f8d[_0x585870(0x20b)],_0x272f8d[_0x585870(0x246)]]['concat'](_0x1c56bc));}catch(_0x14f709){_0x27e270[_0x585870(0x211)]=_0x37baee,logger[_0x585870(0x20c)](_0x272f8d[_0x585870(0x235)](_0x272f8d[_0x585870(0x1fe)],_0x14f709[_0x585870(0x241)])),_0x272f8d[_0x585870(0x249)](_0x4172c0,0x1);}});}function runNewmanScript(_0x4e77c3,_0x577382){const _0x5425f5=a44_0x51bdd9,_0x209213={'FDUfQ':function(_0x1db132,_0xccbbb0){return _0x1db132(_0xccbbb0);},'gsQaD':function(_0x19832e,_0x505ba5){return _0x19832e||_0x505ba5;},'AGPKD':function(_0x16bf51,_0x2a3bc6,_0x31fea4,_0x331ef1){return _0x16bf51(_0x2a3bc6,_0x31fea4,_0x331ef1);},'Jsbqb':_0x5425f5(0x217),'hijJn':function(_0x47c08f,_0x4821aa){return _0x47c08f(_0x4821aa);},'eKMqj':_0x5425f5(0x21e),'oHblQ':_0x5425f5(0x226)};return new Promise(function(_0x4c4967){const _0x4897a8=_0x5425f5,_0x5d3ad7={'PeTqW':function(_0x3cabd8,_0x118870){const _0x2d25fc=a44_0x51f3;return _0x209213[_0x2d25fc(0x25a)](_0x3cabd8,_0x118870);},'SMCEy':function(_0x4c09a7,_0x54a967){const _0x202725=a44_0x51f3;return _0x209213[_0x202725(0x25b)](_0x4c09a7,_0x54a967);}},_0x5b8522=_0x209213[_0x4897a8(0x220)](fork,path[_0x4897a8(0x230)](__dirname,_0x209213[_0x4897a8(0x1fa)]),[_0x4e77c3,_0x209213[_0x4897a8(0x261)](String,_0x209213[_0x4897a8(0x25b)](_0x577382,0x0))],{'stdio':_0x209213[_0x4897a8(0x265)],'env':Object[_0x4897a8(0x200)]({},process[_0x4897a8(0x1fd)])});_0x5b8522['on'](_0x209213['oHblQ'],function(_0x26049b){const _0xa3a3cb=_0x4897a8;_0x5d3ad7[_0xa3a3cb(0x25e)](_0x4c4967,_0x5d3ad7['SMCEy'](_0x26049b,0x0));});});}function hasO11yBuild(){const _0x192d97=a44_0x51bdd9,_0x388d21={};_0x388d21['sWyPD']=function(_0x4a36e2,_0x52faf6){return _0x4a36e2!==_0x52faf6;},_0x388d21[_0x192d97(0x234)]='null';const _0xb47213=_0x388d21;return!!(BrowserstackCLI[_0x192d97(0x244)]||process['env'][_0x192d97(0x251)]&&_0xb47213[_0x192d97(0x209)](process[_0x192d97(0x1fd)]['BROWSERSTACK_TESTHUB_JWT'],_0xb47213[_0x192d97(0x234)]));}function runWithoutObservability(_0x22c855,_0x43651d){const _0x37d7fe=a44_0x51bdd9,_0x24c6db={'IicTP':function(_0x35444a,_0x303eb6){return _0x35444a(_0x303eb6);},'YtaWk':function(_0x3dd444,_0x201623){return _0x3dd444(_0x201623);}};if(_0x22c855)return _0x24c6db[_0x37d7fe(0x215)](require,path[_0x37d7fe(0x238)](_0x22c855)),0x0;return _0x24c6db['YtaWk'](runNewmanCLI,_0x43651d);}module[a44_0x51bdd9(0x229)]=async function(_0x427550,_0x198f64,_0x2b69c9){const _0x230864=a44_0x51bdd9,_0x18613d={'SQTfb':_0x230864(0x222),'cUVsy':function(_0x2781d4,_0x268bd3){return _0x2781d4===_0x268bd3;},'MCaCc':_0x230864(0x20a),'eSwTe':function(_0x543cfc,_0x589a96,_0x13a775){return _0x543cfc(_0x589a96,_0x13a775);},'iLOMJ':function(_0x485079,_0x252169){return _0x485079!=_0x252169;},'qIqxb':_0x230864(0x212),'qkXGS':_0x230864(0x248),'GgNEo':function(_0x2b7b7d,_0x232912){return _0x2b7b7d+_0x232912;},'xJZrJ':_0x230864(0x221),'bDcQm':function(_0x53af7e,_0x40a6b5){return _0x53af7e+_0x40a6b5;},'SvoBr':'Failed\x20to\x20launch\x20build:\x20','YHsCV':function(_0x84842c){return _0x84842c();},'tkNDo':_0x230864(0x202),'kjZnZ':function(_0x76b7b,_0x13d2f1){return _0x76b7b(_0x13d2f1);},'SXtok':function(_0x275dab,_0xbb4691){return _0x275dab(_0xbb4691);},'eyQgC':'[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.'},_0xd76262=_0x198f64['slice'](0x1),_0x18c0fc=_0xd76262[0x0]&&_0xd76262[0x0][_0x230864(0x24c)](_0x18613d[_0x230864(0x225)])?_0xd76262[0x0]:null;if(!_0x2b69c9['config']||_0x18613d['cUVsy'](_0x2b69c9[_0x230864(0x22f)]['testObservability'],![])||_0x18613d[_0x230864(0x243)](_0x2b69c9[_0x230864(0x22f)][_0x230864(0x23f)],_0x18613d['MCaCc'])){process[_0x230864(0x210)]=await _0x18613d[_0x230864(0x266)](runWithoutObservability,_0x18c0fc,_0xd76262)||0x0;return;}process[_0x230864(0x1fd)][_0x230864(0x23c)]=_0x18613d['MCaCc'],process[_0x230864(0x1fd)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x18613d['MCaCc'],process[_0x230864(0x1fd)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x18613d[_0x230864(0x23b)](_0x2b69c9['config'][_0x230864(0x23f)],null)?_0x2b69c9[_0x230864(0x22f)][_0x230864(0x23f)]:_0x18613d[_0x230864(0x22e)],CLIUtils['setFrameworkDetail'](_0x18613d['qkXGS'],_0x18613d['qkXGS']),BrowserstackCLI['getInstance']()[_0x230864(0x227)](_0x2b69c9[_0x230864(0x22f)],_0x2b69c9[_0x230864(0x20d)],_0x2b69c9['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x230864(0x21a)]();}catch(_0x3db2c0){logger[_0x230864(0x20c)](_0x18613d[_0x230864(0x22c)](_0x18613d['xJZrJ'],_0x3db2c0[_0x230864(0x241)]||_0x3db2c0));}if(!BrowserstackCLI[_0x230864(0x21c)]()['isRunning']())try{await TestHubHandler[_0x230864(0x23e)](FRAMEWORKS[_0x230864(0x254)],_0x2b69c9);}catch(_0x37b826){logger[_0x230864(0x20c)](_0x18613d[_0x230864(0x23a)](_0x18613d[_0x230864(0x1f9)],_0x37b826[_0x230864(0x241)]||_0x37b826));}!_0x18613d[_0x230864(0x219)](hasO11yBuild)&&logger[_0x230864(0x216)](_0x18613d[_0x230864(0x24b)]);_0x18613d[_0x230864(0x219)](registerBrowserStackReporter);let _0x1c5638;_0x18c0fc?_0x1c5638=await _0x18613d[_0x230864(0x266)](runNewmanScript,_0x18c0fc,_0x2b69c9[_0x230864(0x22f)][_0x230864(0x21b)]):_0x1c5638=await _0x18613d['kjZnZ'](runNewmanCLI,_0x18613d[_0x230864(0x263)](injectReporterIntoArgs,_0xd76262));try{await TestHubHandler['stop']();}catch(_0x345f57){}try{await BrowserstackCLI[_0x230864(0x21c)]()[_0x230864(0x24e)]();}catch(_0xe7888e){}try{await RequestQueueHandler[_0x230864(0x21c)]()[_0x230864(0x224)]();}catch(_0x5c7543){}if(_0x18613d[_0x230864(0x219)](hasO11yBuild))try{_0x18613d[_0x230864(0x219)](printBuildLink);}catch(_0x6f3a0e){}else logger[_0x230864(0x216)](_0x18613d[_0x230864(0x262)]);process['exitCode']=_0x1c5638;};function a44_0x1f20(){const _0x3b4efe=['gsQaD','aFLrB','../../helpers/test-observability/requestQueueHandler','PeTqW','ZsNBv','failures','hijJn','eyQgC','SXtok','slice','eKMqj','eSwTe','8184TOvsQF','ejGJh','40740FXbBAa','call','winstonLogger','../../helpers/testhub/testhubHandler','yhPQl','nppEz','13878oxlLIf','SvoBr','Jsbqb','1420992KfkEWz','bmCsU','env','xcMCR','Newman\x20CLI\x20not\x20found:\x20','assign','_resolveFilename','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','NCjqX','path','eqNAQ','createRequire','477748vfkMLK','../../helpers/test-observability/constants','sWyPD','false','sLFVf','error','configPath','2906281ywgQEx','node','exitCode','run','true','RZXfI','NaKHy','IicTP','warn','scriptRunner.js','ZhTrm','YHsCV','bootstrap','parallelsPerPlatform','getInstance','18AXmJJy','inherit','NgxPL','AGPKD','Failed\x20to\x20bootstrap\x20CLI:\x20','.js','requireModule','shutdown','SQTfb','close','setBrowserstackConfig',',browserstack','exports','../v2/browserstackCLI','reporter','GgNEo','lTQne','qIqxb','config','join','jEaSk','qVxBR','YlXyG','banTL','BUYow','1708100wgzBgS','862014KTazbF','resolve','UaWgX','bDcQm','iLOMJ','BROWSERSTACK_AUTOMATION','../../helpers/test-observability/utils','launchBuild','testObservability','../../helpers/logger','message','Jyptr','cUVsy','O11yHashedID','module','dNzuX','CFBNI','newman','YOlIE','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','tkNDo','endsWith','aEmBj','stop','index.js','oHxOv','BROWSERSTACK_TESTHUB_JWT','cmIZE','oWnUh','NEWMAN','newman/bin/newman','MOdQT','browserstack','length','../v2/cliUtils','FDUfQ'];a44_0x1f20=function(){return _0x3b4efe;};return a44_0x1f20();}
|
package/src/bin/newman/helper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45_0x35e80f=a45_0x51b2;function a45_0x1454(){const _0x34802d=['env','8252188qYZTqq','toLowerCase','16218400ihXmTm','YULVb','40448XacXgO','1713040stqvza','772dLcEUU','3taTGFA','BROWSERSTACK_FRAMEWORK','isNewman','12DgROxg','exports','VJPSs','aFmVz','oeYnG','12975huJMUh','330235sLdSzY','6830397WkixqJ','newman'];a45_0x1454=function(){return _0x34802d;};return a45_0x1454();}(function(_0x14437b,_0x73896c){const _0x42f388=a45_0x51b2,_0x4f251f=_0x14437b();while(!![]){try{const _0x323425=-parseInt(_0x42f388(0xbe))/0x1*(parseInt(_0x42f388(0xbb))/0x2)+parseInt(_0x42f388(0xb2))/0x3*(parseInt(_0x42f388(0xbd))/0x4)+parseInt(_0x42f388(0xb3))/0x5*(-parseInt(_0x42f388(0xc1))/0x6)+parseInt(_0x42f388(0xb7))/0x7+-parseInt(_0x42f388(0xbc))/0x8+parseInt(_0x42f388(0xb4))/0x9+-parseInt(_0x42f388(0xb9))/0xa;if(_0x323425===_0x73896c)break;else _0x4f251f['push'](_0x4f251f['shift']());}catch(_0x1f4776){_0x4f251f['push'](_0x4f251f['shift']());}}}(a45_0x1454,0xb597e));function isNewman(_0x3ecb25){const _0x35d69b=a45_0x51b2,_0xb371b4={'VJPSs':function(_0x2cdf1c,_0x1e6488){return _0x2cdf1c===_0x1e6488;},'oeYnG':_0x35d69b(0xb5),'YULVb':function(_0x2adee0,_0x4d2307){return _0x2adee0(_0x4d2307);},'aFmVz':function(_0x5178c3,_0x1a2a5e){return _0x5178c3||_0x1a2a5e;}},_0x272990=process[_0x35d69b(0xb6)][_0x35d69b(0xbf)]||'';let _0x948422='';_0x3ecb25&&_0x3ecb25['framework']&&(_0x948422=_0x3ecb25['framework']);const _0xd9efd1=_0xb371b4[_0x35d69b(0xaf)](_0x272990[_0x35d69b(0xb8)](),_0xb371b4[_0x35d69b(0xb1)]),_0x5696fa=_0xb371b4[_0x35d69b(0xaf)](_0xb371b4[_0x35d69b(0xba)](String,_0x948422)['toLowerCase'](),_0xb371b4['oeYnG']);return _0xb371b4[_0x35d69b(0xb0)](_0xd9efd1,_0x5696fa);}function a45_0x51b2(_0x74b673,_0x17cd43){const _0x1454d0=a45_0x1454();return a45_0x51b2=function(_0x51b262,_0x74304f){_0x51b262=_0x51b262-0xaf;let _0x3483e7=_0x1454d0[_0x51b262];return _0x3483e7;},a45_0x51b2(_0x74b673,_0x17cd43);};const a45_0x2b65f4={};a45_0x2b65f4[a45_0x35e80f(0xc0)]=isNewman,module[a45_0x35e80f(0xc2)]=a45_0x2b65f4;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a46_0x215d49=a46_0x3b0c;(function(_0x118927,_0x16adbb){const _0x32c128=a46_0x3b0c,_0xc1f1fc=_0x118927();while(!![]){try{const _0x308c26=parseInt(_0x32c128(0x12a))/0x1*(-parseInt(_0x32c128(0xfd))/0x2)+parseInt(_0x32c128(0xd7))/0x3+parseInt(_0x32c128(0x14d))/0x4*(-parseInt(_0x32c128(0x163))/0x5)+parseInt(_0x32c128(0xdc))/0x6+parseInt(_0x32c128(0x17d))/0x7*(parseInt(_0x32c128(0x183))/0x8)+parseInt(_0x32c128(0x174))/0x9*(parseInt(_0x32c128(0x121))/0xa)+-parseInt(_0x32c128(0x167))/0xb*(parseInt(_0x32c128(0xbf))/0xc);if(_0x308c26===_0x16adbb)break;else _0xc1f1fc['push'](_0xc1f1fc['shift']());}catch(_0x554ad0){_0xc1f1fc['push'](_0xc1f1fc['shift']());}}}(a46_0x4815,0x7bb23));const path=require('path'),{v4:uuidv4}=require(a46_0x215d49(0x10d)),SessionHandler=require(a46_0x215d49(0x13f)),{debug}=require(a46_0x215d49(0xc8)),logger=require(a46_0x215d49(0x11b))[a46_0x215d49(0xea)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a46_0x215d49(0x102)),HookState=require(a46_0x215d49(0xca)),LOG_LEVELS=['INFO','WARN',a46_0x215d49(0xb7),a46_0x215d49(0x189),'TRACE'];function isCLIRunning(){try{return BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x30a543){return![];}}function a46_0x4815(){const _0x300e20=['startsWith','jFbQR','AbDsD','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','hntwA','now','headers','includes','removeListener','beforeIteration','forEach','object','4iIYIJa','mbZUH','http','stack','split','PMcCP','cYtGC','HTTP\x20','join','get','expanded','nEPPi','\x20—\x20response\x20status\x20in\x20failure\x20range','tqepS','RcgXj','BHdNf','yKMnj','VMMIB','newman','Exception:\x20','SeVbV','level','1310995Jqtqfi','NIMQQ','length','exports','11pKzGWE','failureType','XvSnK','durationMs','argv','code','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','TauHq','assert','DmbqM','[Newman\x20Reporter]\x20emitLog\x20error:\x20','duration_ms','assertion','1284534vsjBaF','responseTime','http_response','listen','failure_backtrace','jsYzn','startTimestamp','run','ppAoz','695660SVZsgz','httpLog','PRE','pending','HTTP','url','24zqykxs','string','location','logs','getTime','yrimB','DEBUG','kkqaB','xTVAj','FtGrs','rdSbh','NXMOk','plyhd','FXXpY','PVsAy','CaCdt','jyJNS','HrOEj','collectionName','apply','event_type','WgUnW','failure','itNRK','script','yRTlE','parent','LogCreated','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','concat','ZDGvV','done','YRBCK','toISOString','ZReRq','SJRRD','cursor','ERROR','name','TestRunFinished','relative','collectionPath','JIdiO','POST','giWvq','15784836bNtlhT','TEST','KelNQ','stringify','messages','host','WlLMr','):\x20','status_code','../../../helpers/test-observability/utils','sgnaE','../../v2/state/hookState','ZDSLL','TEST_LOG','delete','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','foIZc','ZfhmQ','itemName','XFguG','ZGlwX','iteration','message','HvBGr','1310271KCmdlf','SCQql','uploadEventData','pathname','HPcuR','2585304hglkpw','roAph','YVnYN','set','failed','backtrace','haarv','logCreatedEvent','identifier','inVmu','TestRunStarted','cwd','PkaMe','owUvt','winstonLogger','method','QxdLe','FrqAJ','exception','pjjWN','AclwX','ASmXb','test_run_uuid','Script\x20error\x20(','XgkeH','[Newman\x20Reporter]\x20emitTest\x20error:\x20','ms)','request','NMumu','testFrameworkVersion','collection','resolve','yNnWo','4PUNNWn','timestamp','failureReason','UiAhP','Edjvj','../../v2/state/testFrameworkState','iORkK','XlApO','bufferedLogs','search','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','path','aPqpL','NXCNr','max','javascript','uuid','startedAt','ffOmR','slice','getInstance','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','event','result','JFnCS','WQEFo','item','sEAbJ','GET','testFrameworkName','../../../helpers/logger','JkUZI','ref','Assertion\x20','mfLpo','TqDcS','70IRvijp','push','WAMwM','N/A','assertions','HswHx','err','SzIzN','HrVyT','40301yQTraK','console','GDfft','kind','KLxWo','QBaDq','info','HTTP\x20Status:\x20','pvQsn','platformIndex','DviIf','smQBk','xLujX','getTestFramework','unknown','scopes','INFO','aRsZG','testFrameworkState','toString','indexOf','../../../helpers/test-observability/sessionHandler','response'];a46_0x4815=function(){return _0x300e20;};return a46_0x4815();}function getParentTitles(_0x3fa8c5){const _0x54dcbc=a46_0x215d49,_0x5aa096={'nEPPi':function(_0x146e32,_0x49aa12){return _0x146e32(_0x49aa12);}},_0x4b7cf5=[],_0x3a79d9=_0x3fa8c5['parent']();return _0x3a79d9&&_0x4b7cf5[_0x54dcbc(0x122)][_0x54dcbc(0x196)](_0x4b7cf5,_0x5aa096[_0x54dcbc(0x158)](getParentTitles,_0x3a79d9)),_0x3fa8c5['name']&&_0x4b7cf5[_0x54dcbc(0x122)](_0x5aa096[_0x54dcbc(0x158)](String,_0x3fa8c5[_0x54dcbc(0xb8)])),_0x4b7cf5;}function normalizeLogLevel(_0x3b9873){const _0x30bf2f=a46_0x215d49,_0xc5f2cf={};_0xc5f2cf[_0x30bf2f(0x120)]='INFO',_0xc5f2cf[_0x30bf2f(0x169)]=function(_0x9cfa94,_0x4fdf01){return _0x9cfa94!==_0x4fdf01;};const _0x3172c7=_0xc5f2cf;if(!_0x3b9873)return _0x3172c7[_0x30bf2f(0x120)];const _0x3cef16=_0x3b9873['toUpperCase']();return _0x3172c7[_0x30bf2f(0x169)](LOG_LEVELS[_0x30bf2f(0x13e)](_0x3cef16),-0x1)?_0x3cef16:_0x3172c7[_0x30bf2f(0x120)];}function resolveCollectionFile(_0x57604d,_0x2dc660){const _0x523e5b=a46_0x215d49,_0x4b7123={};_0x4b7123['DmbqM']=function(_0x10fa1c,_0x1f47f0){return _0x10fa1c===_0x1f47f0;},_0x4b7123['haarv']=_0x523e5b(0x184),_0x4b7123[_0x523e5b(0x132)]=_0x523e5b(0x17b),_0x4b7123[_0x523e5b(0x18b)]=function(_0x519e35,_0x108822){return _0x519e35!==_0x108822;},_0x4b7123[_0x523e5b(0x134)]=function(_0x2916c3,_0x1b014d){return _0x2916c3<_0x1b014d;},_0x4b7123[_0x523e5b(0x15b)]=function(_0x4dc7b1,_0x3ea867){return _0x4dc7b1+_0x3ea867;},_0x4b7123[_0x523e5b(0xb2)]=_0x523e5b(0xce),_0x4b7123['NIMQQ']='collection.json';const _0x168c31=_0x4b7123;try{if(_0x2dc660&&_0x2dc660[_0x523e5b(0xbb)])return path[_0x523e5b(0xba)](process[_0x523e5b(0xe7)](),path[_0x523e5b(0xfb)](_0x2dc660[_0x523e5b(0xbb)]));const _0x5eaf1c=_0x57604d[_0x523e5b(0xfa)];if(_0x168c31[_0x523e5b(0x170)](typeof _0x5eaf1c,_0x168c31[_0x523e5b(0xe2)]))return path[_0x523e5b(0xba)](process['cwd'](),path[_0x523e5b(0xfb)](_0x5eaf1c));const _0x3a084a=process[_0x523e5b(0x16b)][_0x523e5b(0x13e)](_0x168c31[_0x523e5b(0x132)]);if(_0x168c31[_0x523e5b(0x18b)](_0x3a084a,-0x1)&&_0x168c31[_0x523e5b(0x134)](_0x168c31['RcgXj'](_0x3a084a,0x1),process[_0x523e5b(0x16b)]['length'])){const _0xec418a=process['argv'][_0x168c31[_0x523e5b(0x15b)](_0x3a084a,0x1)];if(_0xec418a&&!_0xec418a[_0x523e5b(0x141)]('-'))return path[_0x523e5b(0xba)](process['cwd'](),path[_0x523e5b(0xfb)](_0xec418a));}}catch(_0x4b26f8){}return logger[_0x523e5b(0x130)](_0x168c31[_0x523e5b(0xb2)]),_0x168c31[_0x523e5b(0x164)];}function a46_0x3b0c(_0x5c6807,_0xbd3872){const _0x4815f6=a46_0x4815();return a46_0x3b0c=function(_0x3b0c1e,_0x46c2aa){_0x3b0c1e=_0x3b0c1e-0xa7;let _0x2ee315=_0x4815f6[_0x3b0c1e];return _0x2ee315;},a46_0x3b0c(_0x5c6807,_0xbd3872);}function resolveCollectionName(_0x549bae){const _0x292bde=a46_0x215d49,_0x4cd92={};_0x4cd92['SeVbV']=function(_0x10d952,_0xed75d6){return _0x10d952===_0xed75d6;},_0x4cd92[_0x292bde(0xe9)]=_0x292bde(0x14c);const _0xc3eb32=_0x4cd92;try{const _0x21eef8=_0x549bae[_0x292bde(0xfa)];if(_0x21eef8&&_0xc3eb32[_0x292bde(0x161)](typeof _0x21eef8,_0xc3eb32[_0x292bde(0xe9)]))return _0x21eef8[_0x292bde(0xb8)]||_0x21eef8[_0x292bde(0x130)]&&_0x21eef8[_0x292bde(0x130)][_0x292bde(0xb8)]||null;}catch(_0x37f690){}return null;}function emitTest(_0x5bfb43,_0x428b40,_0x433ddb,_0x4cc91c,_0x1138fe){const _0x5123a9=a46_0x215d49,_0x3e83be={'vNlcA':function(_0x1eaede){return _0x1eaede();},'CaCdt':_0x5123a9(0x180),'yKMnj':function(_0x22cc79,_0x31cc03){return _0x22cc79(_0x31cc03);},'gYMvo':_0x5123a9(0x15f),'MJPIw':_0x5123a9(0x10c),'dndMG':function(_0x38e3d9,_0x23eeb9){return _0x38e3d9!=_0x23eeb9;},'XFguG':function(_0x107aa6,_0x576d41){return _0x107aa6===_0x576d41;},'ZfhmQ':_0x5123a9(0xe6),'BWDxE':_0x5123a9(0xb9)};if(_0x3e83be['vNlcA'](isCLIRunning))try{const _0x2de762=BrowserstackCLI[_0x5123a9(0x111)]()[_0x5123a9(0x137)]();if(!_0x2de762)return;_0x2de762['trackEvent'](TestFrameworkState[_0x5123a9(0xc0)],_0x5bfb43,{'test':{'uuid':_0x428b40['uuid'],'name':_0x428b40['name'],'scopes':_0x433ddb[_0x5123a9(0x139)],'scope':_0x433ddb[_0x5123a9(0x139)][_0x5123a9(0x155)]('\x20'),'file_path':_0x4cc91c,'location':_0x433ddb[_0x5123a9(0x195)],'started_at':_0x433ddb[_0x5123a9(0x10e)],'finished_at':_0x1138fe['finishedAt']||null,'result':_0x1138fe[_0x5123a9(0x114)]||_0x3e83be[_0x5123a9(0x192)],'failure':_0x1138fe[_0x5123a9(0xa8)]||[],'failure_type':_0x1138fe[_0x5123a9(0x168)]||null,'failure_reason':_0x1138fe[_0x5123a9(0xff)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x640845){_0x3e83be[_0x5123a9(0x15d)](debug,_0x5123a9(0xf5)+_0x640845);}else{const _0x326f2c={'uuid':_0x428b40['uuid'],'name':_0x428b40[_0x5123a9(0xb8)],'framework':_0x3e83be['gYMvo'],'body':{'lang':_0x3e83be['MJPIw'],'code':null},'scope':_0x433ddb[_0x5123a9(0x139)][_0x5123a9(0x155)]('\x20'),'scopes':_0x433ddb[_0x5123a9(0x139)],'identifier':_0x428b40[_0x5123a9(0xe4)],'file_name':_0x433ddb['collectionName'],'vc_filepath':_0x433ddb[_0x5123a9(0x185)],'location':_0x433ddb[_0x5123a9(0x185)],'started_at':_0x433ddb[_0x5123a9(0x10e)],'finished_at':_0x1138fe['finishedAt']||null,'duration_in_ms':_0x3e83be['dndMG'](_0x1138fe[_0x5123a9(0x16a)],null)?Math[_0x5123a9(0x10b)](0x0,_0x1138fe['durationMs']):null,'result':_0x1138fe['result']||_0x3e83be[_0x5123a9(0x192)],'failure_reason':_0x1138fe['failureReason']||null,'failure_type':_0x1138fe['failureType']||null,'failure':_0x1138fe[_0x5123a9(0xa8)]||[],'retry_of':null,'hooks':[]};_0x326f2c['failure'][0x0]&&(_0x326f2c[_0x5123a9(0x178)]=_0x326f2c['failure'][0x0][_0x5123a9(0xe1)],_0x326f2c['failure_reason_expanded']=_0x326f2c[_0x5123a9(0xa8)][0x0][_0x5123a9(0x157)]);const _0x91acdc=_0x3e83be[_0x5123a9(0xd2)](_0x5bfb43,HookState[_0x5123a9(0x17f)])?_0x3e83be[_0x5123a9(0xd0)]:_0x3e83be['BWDxE'],_0x2c34b0={};_0x2c34b0[_0x5123a9(0x197)]=_0x91acdc,_0x2c34b0['test_run']=_0x326f2c,SessionHandler['uploadEventData'](_0x2c34b0);}}function emitLog(_0x1a7417,_0x40f0d7){const _0x5e8bce=a46_0x215d49,_0x326023={'ppAoz':_0x5e8bce(0xcc),'jsYzn':function(_0x5829d4){return _0x5829d4();},'qghRL':function(_0x28660b,_0x4eb43e){return _0x28660b===_0x4eb43e;},'WQEFo':_0x5e8bce(0x181),'PkaMe':_0x5e8bce(0x15f),'WlLMr':_0x5e8bce(0xc0),'ZGlwX':_0x5e8bce(0x13a),'GDfft':function(_0x3f56ae,_0x185416){return _0x3f56ae(_0x185416);},'iORkK':function(_0x418677,_0x17fb18){return _0x418677+_0x17fb18;},'SCQql':_0x5e8bce(0x171),'kkqaB':_0x5e8bce(0xad)},_0x38247f=_0x40f0d7[_0x5e8bce(0x12d)]||_0x326023[_0x5e8bce(0x17c)],_0xb6178d=_0x40f0d7[_0x5e8bce(0xfe)]||new Date()[_0x5e8bce(0xb3)]();if(_0x326023[_0x5e8bce(0x179)](isCLIRunning))try{const _0x4d7f14=_0x326023['qghRL'](_0x38247f,_0x326023[_0x5e8bce(0x116)])?JSON[_0x5e8bce(0xc2)](_0x40f0d7):_0x40f0d7[_0x5e8bce(0xd5)]||'',_0x2f7c4e={};_0x2f7c4e[_0x5e8bce(0x133)]=0x0,_0x2f7c4e[_0x5e8bce(0x11a)]=_0x326023[_0x5e8bce(0xe8)],_0x2f7c4e[_0x5e8bce(0xf9)]='',_0x2f7c4e[_0x5e8bce(0x13c)]=_0x326023[_0x5e8bce(0xc5)],_0x2f7c4e[_0x5e8bce(0x186)]=[{'uuid':_0x1a7417,'timestamp':_0xb6178d,'kind':_0x38247f,'level':_0x40f0d7[_0x5e8bce(0x162)]||_0x326023[_0x5e8bce(0xd3)],'message':_0x4d7f14}],GrpcClient[_0x5e8bce(0x111)]()[_0x5e8bce(0xe3)](_0x2f7c4e);}catch(_0x4e1bf3){_0x326023[_0x5e8bce(0x12c)](debug,_0x326023[_0x5e8bce(0x103)](_0x326023[_0x5e8bce(0xd8)],_0x4e1bf3));}else{const _0x583b68={};_0x583b68[_0x5e8bce(0xf2)]=_0x1a7417,_0x583b68[_0x5e8bce(0xfe)]=_0xb6178d,_0x583b68[_0x5e8bce(0x162)]=_0x40f0d7['level']||null,_0x583b68[_0x5e8bce(0xd5)]=_0x40f0d7[_0x5e8bce(0xd5)]||null,_0x583b68['kind']=_0x38247f,_0x583b68[_0x5e8bce(0x176)]=_0x40f0d7[_0x5e8bce(0x176)]||{};const _0xa6be8={};_0xa6be8[_0x5e8bce(0x197)]=_0x326023[_0x5e8bce(0x18a)],_0xa6be8[_0x5e8bce(0x186)]=[_0x583b68],SessionHandler[_0x5e8bce(0xd9)](_0xa6be8);}}function BrowserStackNewmanReporter(_0xaa33d6,_0x48dd45,_0x1d758f){const _0xb39071=a46_0x215d49,_0x51eaf9={'FXXpY':function(_0x406339,_0x4e4d48,_0x564ce3){return _0x406339(_0x4e4d48,_0x564ce3);},'plyhd':function(_0x7e34ab,_0x15d9be){return _0x7e34ab(_0x15d9be);},'JFnCS':function(_0x1b9d25,_0x62bd72){return _0x1b9d25(_0x62bd72);},'hntwA':function(_0x4b89a1,_0x1c369f){return _0x4b89a1>_0x1c369f;},'smQBk':_0xb39071(0x14f),'JIdiO':function(_0x74c0e9,_0x24dc1f){return _0x74c0e9+_0x24dc1f;},'VMMIB':_0xb39071(0x119),'WgUnW':_0xb39071(0xcc),'aPqpL':function(_0x10d187){return _0x10d187();},'SzIzN':function(_0x392e92,_0x563fe2){return _0x392e92||_0x563fe2;},'yrimB':function(_0x2b18fe,_0x13b935,_0x7a749,_0x1c7961,_0x209e6b,_0xe6f39c){return _0x2b18fe(_0x13b935,_0x7a749,_0x1c7961,_0x209e6b,_0xe6f39c);},'AasmJ':function(_0x4407c6,_0x476377){return _0x4407c6===_0x476377;},'gWRdi':function(_0x54dfe9,_0x5c1273){return _0x54dfe9>_0x5c1273;},'yRTlE':function(_0x594be4,_0x4c489e,_0x44196b){return _0x594be4(_0x4c489e,_0x44196b);},'FrqAJ':_0xb39071(0x181),'QBaDq':function(_0x1f2fc0,_0x14b7fc){return _0x1f2fc0+_0x14b7fc;},'XgkeH':function(_0x45f48f,_0x5f7fd5){return _0x45f48f+_0x5f7fd5;},'Edjvj':function(_0x264403,_0xf8f930){return _0x264403+_0xf8f930;},'TauHq':function(_0xb93767,_0x50c306){return _0xb93767+_0x50c306;},'xLujX':'\x20->\x20','DTMZJ':_0xb39071(0xf6),'HrVyT':_0xb39071(0x13a),'giWvq':function(_0x23d56a,_0x292c54){return _0x23d56a(_0x292c54);},'FtGrs':function(_0x33e14a,_0x5d664e){return _0x33e14a-_0x5d664e;},'YVnYN':function(_0x3ed471,_0x35632c){return _0x3ed471(_0x35632c);},'HPcuR':function(_0x252e45,_0x5188a5){return _0x252e45(_0x5188a5);},'FYEci':function(_0x3c8f2e,_0x114dba){return _0x3c8f2e&&_0x114dba;},'HrOEj':function(_0x1eec16,_0x2d507a){return _0x1eec16>_0x2d507a;},'SJRRD':function(_0x1f259c,_0x113474){return _0x1f259c-_0x113474;},'AclwX':function(_0x261c12,_0x6df92d){return _0x261c12+_0x6df92d;},'ZDGvV':_0xb39071(0x160),'jyJNS':_0xb39071(0xb7),'sEAbJ':_0xb39071(0x112),'pjjWN':function(_0x3bc6f0,_0x5c2aab){return _0x3bc6f0-_0x5c2aab;},'BHdNf':_0xb39071(0x138),'KelNQ':function(_0x3f9730,_0x4eb2e2,_0x4f6215){return _0x3f9730(_0x4eb2e2,_0x4f6215);},'ffOmR':function(_0x4a3e0f,_0x2412d7){return _0x4a3e0f+_0x2412d7;},'tqepS':function(_0x383255,_0x3a1500){return _0x383255+_0x3a1500;},'HvBGr':function(_0x5ad1aa,_0x4e195f){return _0x5ad1aa+_0x4e195f;},'roAph':_0xb39071(0xf3),'QxdLe':_0xb39071(0xc6),'inVmu':function(_0x5a1d0b,_0x1a1a5b){return _0x5a1d0b+_0x1a1a5b;},'mfLpo':_0xb39071(0x107),'KLxWo':_0xb39071(0xe0),'NXMOk':'passed','ASmXb':'AssertionError','jFbQR':_0xb39071(0x16f),'mbZUH':'UnhandledError','PMcCP':function(_0x370947,_0xcfb5fa){return _0x370947>_0xcfb5fa;},'ZReRq':function(_0x12062d,_0x501f5f){return _0x12062d!=_0x501f5f;},'JkUZI':function(_0x1583a6,_0x45f802){return _0x1583a6>=_0x45f802;},'yNnWo':function(_0x121449,_0xc2b845){return _0x121449<_0xc2b845;},'lMsjS':_0xb39071(0x124),'PcRiv':'No\x20HTTP\x20response\x20received','qvHNo':function(_0x36cf54,_0x36a1d9,_0x3196f5,_0x1735dc,_0x1669af,_0x2dd39b){return _0x36cf54(_0x36a1d9,_0x3196f5,_0x1735dc,_0x1669af,_0x2dd39b);},'UiAhP':function(_0x14dd46,_0x5a7851,_0x1260d3){return _0x14dd46(_0x5a7851,_0x1260d3);},'aRsZG':_0xb39071(0x131),'XlApO':'\x20(no\x20assertions)','sgnaE':function(_0x52bb5e,_0x37f294,_0x43ce38,_0x13974e,_0xf5ac32,_0x391d4b){return _0x52bb5e(_0x37f294,_0x43ce38,_0x13974e,_0xf5ac32,_0x391d4b);},'PVsAy':function(_0x286532,_0x52238a){return _0x286532(_0x52238a);},'ZDSLL':function(_0x46abf9,_0x36775e,_0x54111a){return _0x46abf9(_0x36775e,_0x54111a);},'NLNTD':_0xb39071(0xb1),'HswHx':_0xb39071(0x14a),'NMumu':'beforeItem','cYtGC':_0xb39071(0xf7),'YsFcC':_0xb39071(0x173),'foIZc':_0xb39071(0x12b),'itNRK':_0xb39071(0xee),'rdSbh':_0xb39071(0xaa),'WAMwM':'item'},_0x44ecc4=new Map();let _0x216168=null,_0x5b8057=0x0;const _0x4ca074=_0x51eaf9[_0xb39071(0xcb)](resolveCollectionFile,_0x1d758f,_0x48dd45),_0x1aba0c=_0x51eaf9['HPcuR'](resolveCollectionName,_0x1d758f)||_0x4ca074,_0x248dc3=path[_0xb39071(0xfb)](_0x4ca074),_0xb98079='bs:addLog:'+process['pid'],_0x146c4f=_0x38f704=>{const _0xef6683=_0xb39071;try{_0x216168&&_0x51eaf9[_0xef6683(0x190)](emitLog,_0x216168,_0x38f704);}catch(_0x18d94b){_0x51eaf9[_0xef6683(0x18f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x18d94b);}};process['on'](_0xb98079,_0x146c4f),_0xaa33d6['on'](_0x51eaf9['NLNTD'],()=>{const _0x295ab0=_0xb39071;process[_0x295ab0(0x149)](_0xb98079,_0x146c4f),_0x44ecc4['clear']();}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0x126)],(_0x27d86a,_0x13ddde)=>{const _0x4c337e=_0xb39071;_0x13ddde&&_0x13ddde[_0x4c337e(0xb6)]&&(_0x5b8057=_0x13ddde[_0x4c337e(0xb6)][_0x4c337e(0xd4)]||0x0);}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0xf8)],(_0x10a2bb,_0x284f6e)=>{const _0xed949a=_0xb39071;try{_0x216168=null;const _0xd68068=_0x284f6e[_0xed949a(0x117)],_0x8ea169=_0xd68068['parent']()?_0x51eaf9['JFnCS'](getParentTitles,_0xd68068[_0xed949a(0xac)]()):[],_0x158720=_0x51eaf9[_0xed949a(0x145)](_0x8ea169[_0xed949a(0x165)],0x1)?_0x8ea169[_0xed949a(0x110)](0x1):_0x8ea169,_0x1e1c1d=_0x284f6e['cursor']&&_0x284f6e[_0xed949a(0xb6)][_0xed949a(0x11d)],_0x49291f={'itemName':_0xd68068[_0xed949a(0xb8)],'scopes':_0x158720['concat']([_0xd68068[_0xed949a(0xb8)]]),'location':_0x4ca074,'collectionName':_0x1aba0c,'startedAt':new Date()['toISOString'](),'startTimestamp':Date[_0xed949a(0x146)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x44ecc4[_0xed949a(0xdf)](_0xd68068['id']+'_'+_0x5b8057,_0x49291f),_0x1e1c1d&&_0x44ecc4[_0xed949a(0xdf)](_0x1e1c1d+'_'+_0x5b8057,_0x49291f);}catch(_0x420886){_0x51eaf9[_0xed949a(0x18f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x420886);}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0x153)],(_0x31b69d,_0x3c6fc9)=>{const _0x4d134b=_0xb39071;try{if(!_0x3c6fc9||!_0x3c6fc9['item'])return;const _0x47d639=_0x44ecc4[_0x4d134b(0x156)](_0x3c6fc9[_0x4d134b(0x117)]['id']+'_'+_0x5b8057);if(!_0x47d639)return;_0x3c6fc9[_0x4d134b(0x140)]&&(_0x47d639['lastResponseCode']=_0x3c6fc9[_0x4d134b(0x140)][_0x4d134b(0x16c)]||null);if(!_0x3c6fc9['request'])return;let _0x518ef5='',_0x546b05='';if(_0x3c6fc9[_0x4d134b(0xf7)][_0x4d134b(0x182)])try{const _0x21a1dc=_0x3c6fc9[_0x4d134b(0xf7)][_0x4d134b(0x182)][_0x4d134b(0x13d)](),_0x34aba4=new URL(_0x21a1dc[_0x4d134b(0x141)](_0x51eaf9[_0x4d134b(0x135)])?_0x21a1dc:'http://'+_0x21a1dc);_0x518ef5=_0x34aba4['hostname'],_0x546b05=_0x51eaf9['JIdiO'](_0x34aba4[_0x4d134b(0xda)],_0x34aba4[_0x4d134b(0x106)]);}catch(_0x1cd498){_0x546b05=_0x3c6fc9['request']['url'][_0x4d134b(0x13d)]();}const _0x59bb01={};_0x59bb01[_0x4d134b(0xc4)]=_0x518ef5,_0x59bb01['path']=_0x546b05,_0x59bb01[_0x4d134b(0xeb)]=_0x3c6fc9[_0x4d134b(0xf7)]['method']||_0x51eaf9[_0x4d134b(0x15e)],_0x59bb01[_0x4d134b(0x147)]={},_0x59bb01[_0x4d134b(0xc7)]=_0x3c6fc9['response']?_0x3c6fc9[_0x4d134b(0x140)]['code']||0x0:0x0,_0x59bb01[_0x4d134b(0x172)]=_0x3c6fc9['response']?_0x3c6fc9['response'][_0x4d134b(0x175)]||0x0:0x0,_0x47d639[_0x4d134b(0x17e)]=_0x59bb01;}catch(_0x3e0081){_0x51eaf9[_0x4d134b(0x115)](debug,_0x4d134b(0x144)+_0x3e0081);}}),_0xaa33d6['on'](_0x51eaf9['YsFcC'],(_0x1cf322,_0x13a3f4)=>{const _0x3c0509=_0xb39071;try{if(!_0x13a3f4||!_0x13a3f4[_0x3c0509(0x117)])return;const _0xfe88e8=_0x44ecc4['get'](_0x13a3f4[_0x3c0509(0x117)]['id']+'_'+_0x5b8057);if(!_0xfe88e8)return;const _0x7ca861=_0x13a3f4['assertion']||_0x3c0509(0x11e)+_0x51eaf9[_0x3c0509(0xbc)](_0xfe88e8[_0x3c0509(0x125)][_0x3c0509(0x165)],0x1),_0x2edec6=_0x51eaf9[_0x3c0509(0x109)](uuidv4),_0x1afa21=_0xfe88e8[_0x3c0509(0x139)][_0x3c0509(0xaf)]([_0x7ca861])[_0x3c0509(0x155)]('\x20');_0xfe88e8['assertions'][_0x3c0509(0x122)]({'uuid':_0x2edec6,'name':_0x7ca861,'identifier':_0x1afa21,'err':_0x51eaf9[_0x3c0509(0x128)](_0x1cf322,null)});const _0x637031={};_0x637031[_0x3c0509(0x10d)]=_0x2edec6,_0x637031[_0x3c0509(0xb8)]=_0x7ca861,_0x637031[_0x3c0509(0xe4)]=_0x1afa21,_0x51eaf9[_0x3c0509(0x188)](emitTest,HookState[_0x3c0509(0x17f)],_0x637031,_0xfe88e8,_0x248dc3,{});_0x51eaf9['AasmJ'](_0xfe88e8[_0x3c0509(0x125)][_0x3c0509(0x165)],0x1)&&_0x51eaf9['gWRdi'](_0xfe88e8[_0x3c0509(0x105)]['length'],0x0)&&(_0xfe88e8['bufferedLogs'][_0x3c0509(0x14b)](_0x3a01fd=>{const _0x54c300=_0x3c0509;_0x51eaf9[_0x54c300(0x190)](emitLog,_0x2edec6,{'kind':_0x51eaf9['WgUnW'],'message':_0x3a01fd[_0x54c300(0xd5)],'level':_0x3a01fd[_0x54c300(0x162)]});}),_0xfe88e8['bufferedLogs']=[]);if(_0xfe88e8[_0x3c0509(0x17e)]){_0x51eaf9[_0x3c0509(0xab)](emitLog,_0x2edec6,{'kind':_0x51eaf9[_0x3c0509(0xed)],'http_response':_0xfe88e8[_0x3c0509(0x17e)]});const _0x17fb4c=_0x51eaf9[_0x3c0509(0x12f)](_0x51eaf9[_0x3c0509(0xf4)](_0x51eaf9['Edjvj'](_0x51eaf9[_0x3c0509(0xbc)](_0x51eaf9[_0x3c0509(0xf4)](_0x51eaf9['JIdiO'](_0x51eaf9[_0x3c0509(0x101)](_0x51eaf9['TauHq'](_0xfe88e8[_0x3c0509(0x17e)]['method']||_0x51eaf9[_0x3c0509(0x15e)],'\x20'),_0xfe88e8[_0x3c0509(0x17e)][_0x3c0509(0xc4)]),_0xfe88e8[_0x3c0509(0x17e)][_0x3c0509(0x108)]),_0x51eaf9[_0x3c0509(0x136)]),_0xfe88e8[_0x3c0509(0x17e)][_0x3c0509(0xc7)]),'\x20('),_0xfe88e8['httpLog'][_0x3c0509(0x172)]),_0x51eaf9['DTMZJ']);_0x51eaf9['FXXpY'](emitLog,_0x2edec6,{'kind':_0x51eaf9[_0x3c0509(0xa7)],'message':_0x17fb4c,'level':_0x51eaf9['HrVyT']});}_0x216168=_0x2edec6;}catch(_0x1357b2){_0x51eaf9[_0x3c0509(0xbe)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x1357b2);}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0xcf)],(_0x386a9c,_0x2cba53)=>{const _0x1d5128=_0xb39071;try{if(!_0x2cba53)return;let _0x18971d=_0x216168;if(!_0x18971d&&_0x2cba53['cursor']&&_0x2cba53['cursor'][_0x1d5128(0x11d)]){const _0x392e0c=_0x44ecc4[_0x1d5128(0x156)](_0x2cba53[_0x1d5128(0xb6)][_0x1d5128(0x11d)]+'_'+_0x5b8057);_0x392e0c&&_0x51eaf9[_0x1d5128(0x145)](_0x392e0c[_0x1d5128(0x125)][_0x1d5128(0x165)],0x0)&&(_0x18971d=_0x392e0c[_0x1d5128(0x125)][_0x51eaf9[_0x1d5128(0x18c)](_0x392e0c['assertions'][_0x1d5128(0x165)],0x1)][_0x1d5128(0x10d)]);}const _0x1aeabd=_0x2cba53[_0x1d5128(0xc3)]?_0x2cba53['messages'][_0x1d5128(0x155)](',\x20'):'';if(_0x18971d)_0x51eaf9[_0x1d5128(0x190)](emitLog,_0x18971d,{'kind':_0x51eaf9[_0x1d5128(0xa7)],'message':_0x1aeabd,'level':_0x51eaf9[_0x1d5128(0xbe)](normalizeLogLevel,_0x2cba53[_0x1d5128(0x162)])});else{if(_0x2cba53[_0x1d5128(0xb6)]&&_0x2cba53[_0x1d5128(0xb6)]['ref']){const _0x4e3825=_0x44ecc4[_0x1d5128(0x156)](_0x2cba53[_0x1d5128(0xb6)][_0x1d5128(0x11d)]+'_'+_0x5b8057);_0x4e3825&&_0x4e3825[_0x1d5128(0x105)][_0x1d5128(0x122)]({'timestamp':new Date()[_0x1d5128(0xb3)](),'level':_0x51eaf9[_0x1d5128(0xde)](normalizeLogLevel,_0x2cba53['level']),'message':_0x1aeabd});}}}catch(_0x29f72f){_0x51eaf9[_0x1d5128(0xdb)](debug,_0x1d5128(0xae)+_0x29f72f);}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0xa9)],(_0x553cf4,_0x2f783d)=>{const _0x139043=_0xb39071;try{if(!_0x553cf4&&(!_0x2f783d||!_0x2f783d['error']))return;const _0x293a58=_0x553cf4||_0x2f783d['error'],_0x26023d=_0x293a58['message']||_0x51eaf9[_0x139043(0x115)](String,_0x293a58),_0x385e3a=_0x293a58[_0x139043(0x150)]||_0x26023d;let _0x1e1291=_0x216168;if(_0x51eaf9['FYEci'](!_0x1e1291,_0x2f783d)&&_0x2f783d[_0x139043(0xb6)]&&_0x2f783d[_0x139043(0xb6)][_0x139043(0x11d)]){const _0x2432de=_0x44ecc4[_0x139043(0x156)](_0x2f783d[_0x139043(0xb6)][_0x139043(0x11d)]+'_'+_0x5b8057);_0x2432de&&_0x51eaf9[_0x139043(0x194)](_0x2432de[_0x139043(0x125)][_0x139043(0x165)],0x0)&&(_0x1e1291=_0x2432de['assertions'][_0x51eaf9[_0x139043(0xb5)](_0x2432de['assertions'][_0x139043(0x165)],0x1)]['uuid']);}_0x1e1291&&_0x51eaf9[_0x139043(0xab)](emitLog,_0x1e1291,{'kind':_0x51eaf9[_0x139043(0xa7)],'message':_0x51eaf9['AclwX'](_0x51eaf9[_0x139043(0xb0)],_0x385e3a),'level':_0x51eaf9[_0x139043(0x193)]});}catch(_0x571579){_0x51eaf9[_0x139043(0x115)](debug,_0x51eaf9[_0x139043(0x16e)](_0x51eaf9[_0x139043(0x118)],_0x571579));}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0x18d)],(_0x152134,_0x250a3c)=>{const _0x3eabb4=_0xb39071;try{if(!_0x250a3c||!_0x250a3c['execution'])return;let _0x1df549=_0x216168;if(!_0x1df549&&_0x250a3c[_0x3eabb4(0xb6)]&&_0x250a3c[_0x3eabb4(0xb6)][_0x3eabb4(0x11d)]){const _0x37d209=_0x44ecc4[_0x3eabb4(0x156)](_0x250a3c[_0x3eabb4(0xb6)][_0x3eabb4(0x11d)]+'_'+_0x5b8057);_0x37d209&&_0x51eaf9[_0x3eabb4(0x145)](_0x37d209[_0x3eabb4(0x125)][_0x3eabb4(0x165)],0x0)&&(_0x1df549=_0x37d209[_0x3eabb4(0x125)][_0x51eaf9[_0x3eabb4(0xef)](_0x37d209['assertions'][_0x3eabb4(0x165)],0x1)][_0x3eabb4(0x10d)]);}if(!_0x1df549)return;const _0x1bfec5=_0x250a3c[_0x3eabb4(0x113)]&&_0x250a3c['event'][_0x3eabb4(0x177)]||_0x51eaf9[_0x3eabb4(0x15c)];_0x152134&&_0x51eaf9[_0x3eabb4(0xc1)](emitLog,_0x1df549,{'kind':_0x51eaf9[_0x3eabb4(0xa7)],'message':_0x51eaf9[_0x3eabb4(0x10f)](_0x51eaf9['tqepS'](_0x51eaf9['HvBGr'](_0x51eaf9[_0x3eabb4(0xdd)],_0x1bfec5),_0x51eaf9[_0x3eabb4(0xec)]),_0x152134[_0x3eabb4(0xd5)]||_0x152134),'level':_0x51eaf9[_0x3eabb4(0x193)]});}catch(_0x5b3cef){_0x51eaf9[_0x3eabb4(0xde)](debug,_0x51eaf9[_0x3eabb4(0xe5)](_0x51eaf9[_0x3eabb4(0x11f)],_0x5b3cef));}}),_0xaa33d6['on'](_0x51eaf9[_0xb39071(0x123)],(_0x284caf,_0x170f41)=>{const _0x3600f8=_0xb39071,_0x133850={'AbDsD':function(_0x15b2d3,_0x3fa2f7,_0x1caaf4){const _0x113ea9=a46_0x3b0c;return _0x51eaf9[_0x113ea9(0xab)](_0x15b2d3,_0x3fa2f7,_0x1caaf4);},'NXCNr':_0x51eaf9[_0x3600f8(0xa7)]};try{if(!_0x170f41||!_0x170f41[_0x3600f8(0x117)])return;const _0x16a72b=_0x170f41['item']['id']+'_'+_0x5b8057,_0x4a7748=_0x44ecc4[_0x3600f8(0x156)](_0x16a72b);if(!_0x4a7748)return;const _0x452883=new Date(),_0x3872a9=_0x51eaf9[_0x3600f8(0xb5)](_0x452883[_0x3600f8(0x187)](),_0x4a7748[_0x3600f8(0x17a)]);if(_0x51eaf9[_0x3600f8(0x152)](_0x4a7748[_0x3600f8(0x125)]['length'],0x0))_0x4a7748['assertions'][_0x3600f8(0x14b)](_0x5d8174=>{const _0x1bd29c=_0x3600f8,_0x49cd72=!!_0x5d8174[_0x1bd29c(0x127)],_0x457f8f={'finishedAt':_0x452883['toISOString'](),'durationMs':_0x3872a9,'result':_0x49cd72?_0x51eaf9[_0x1bd29c(0x12e)]:_0x51eaf9['NXMOk']};_0x49cd72&&(_0x457f8f[_0x1bd29c(0xff)]=_0x5d8174[_0x1bd29c(0x127)][_0x1bd29c(0xd5)]||'',_0x457f8f[_0x1bd29c(0x168)]=_0x51eaf9['AasmJ'](_0x5d8174[_0x1bd29c(0x127)]['name'],_0x51eaf9[_0x1bd29c(0xf1)])||_0x5d8174[_0x1bd29c(0x127)]['message']&&_0x5d8174['err'][_0x1bd29c(0xd5)][_0x1bd29c(0x148)](_0x51eaf9[_0x1bd29c(0x142)])?_0x51eaf9[_0x1bd29c(0xf1)]:_0x51eaf9[_0x1bd29c(0x14e)],_0x457f8f[_0x1bd29c(0xa8)]=[{'backtrace':_0x5d8174['err'][_0x1bd29c(0x150)]?_0x5d8174[_0x1bd29c(0x127)][_0x1bd29c(0x150)][_0x1bd29c(0x151)]('\x0a'):[_0x5d8174[_0x1bd29c(0x127)][_0x1bd29c(0xd5)]||''],'expanded':[]}]),_0x51eaf9[_0x1bd29c(0x188)](emitTest,HookState[_0x1bd29c(0xbd)],_0x5d8174,_0x4a7748,_0x248dc3,_0x457f8f);});else{const _0x456cd1=_0x51eaf9[_0x3600f8(0x109)](uuidv4),_0x2562ce=_0x4a7748['lastResponseCode'],_0x503f28=_0x51eaf9[_0x3600f8(0xb4)](_0x2562ce,null)&&_0x51eaf9[_0x3600f8(0x11c)](_0x2562ce,0xc8)&&_0x51eaf9[_0x3600f8(0xfc)](_0x2562ce,0x190),_0x382933=_0x4a7748[_0x3600f8(0xd1)]+'\x20(HTTP\x20'+_0x51eaf9[_0x3600f8(0x128)](_0x2562ce,_0x51eaf9['lMsjS'])+')',_0xe8a519={'uuid':_0x456cd1,'name':_0x382933,'identifier':_0x4a7748[_0x3600f8(0x139)][_0x3600f8(0xaf)]([_0x382933])[_0x3600f8(0x155)]('\x20')},_0x151046={'finishedAt':_0x452883[_0x3600f8(0xb3)](),'durationMs':_0x3872a9,'result':_0x503f28?_0x51eaf9[_0x3600f8(0x18e)]:_0x51eaf9[_0x3600f8(0x12e)]};!_0x503f28&&(_0x151046['failureReason']=_0x51eaf9[_0x3600f8(0xb4)](_0x2562ce,null)?_0x3600f8(0x154)+_0x2562ce+_0x3600f8(0x159):_0x51eaf9['PcRiv'],_0x151046['failureType']=_0x51eaf9['mbZUH'],_0x151046[_0x3600f8(0xa8)]=[{'backtrace':[_0x151046[_0x3600f8(0xff)]],'expanded':[]}]);_0x51eaf9['qvHNo'](emitTest,HookState['PRE'],_0xe8a519,_0x4a7748,_0x248dc3,{}),_0x4a7748[_0x3600f8(0x105)]['forEach'](_0x548c86=>{const _0x157400=_0x3600f8;_0x133850[_0x157400(0x143)](emitLog,_0x456cd1,{'kind':_0x133850[_0x157400(0x10a)],'message':_0x548c86[_0x157400(0xd5)],'level':_0x548c86[_0x157400(0x162)]});});if(_0x4a7748[_0x3600f8(0x17e)]){_0x51eaf9[_0x3600f8(0xc1)](emitLog,_0x456cd1,{'kind':_0x51eaf9[_0x3600f8(0xed)],'http_response':_0x4a7748[_0x3600f8(0x17e)]});const _0x3bb0a3=_0x51eaf9[_0x3600f8(0x15a)](_0x51eaf9[_0x3600f8(0xd6)](_0x51eaf9['tqepS'](_0x51eaf9[_0x3600f8(0xe5)](_0x51eaf9[_0x3600f8(0xd6)](_0x51eaf9['tqepS'](_0x51eaf9[_0x3600f8(0xf0)](_0x51eaf9[_0x3600f8(0xf0)](_0x4a7748[_0x3600f8(0x17e)][_0x3600f8(0xeb)]||_0x51eaf9[_0x3600f8(0x15e)],'\x20'),_0x4a7748[_0x3600f8(0x17e)][_0x3600f8(0xc4)]),_0x4a7748[_0x3600f8(0x17e)][_0x3600f8(0x108)]),_0x51eaf9['xLujX']),_0x4a7748[_0x3600f8(0x17e)][_0x3600f8(0xc7)]),'\x20('),_0x4a7748[_0x3600f8(0x17e)]['duration_ms']),_0x51eaf9['DTMZJ']);_0x51eaf9[_0x3600f8(0xab)](emitLog,_0x456cd1,{'kind':_0x51eaf9[_0x3600f8(0xa7)],'message':_0x3bb0a3,'level':_0x51eaf9[_0x3600f8(0x129)]});}else _0x51eaf9[_0x3600f8(0x100)](emitLog,_0x456cd1,{'kind':_0x51eaf9['WgUnW'],'message':_0x51eaf9[_0x3600f8(0x10f)](_0x51eaf9[_0x3600f8(0xf0)](_0x51eaf9[_0x3600f8(0x13b)],_0x51eaf9[_0x3600f8(0x128)](_0x2562ce,_0x51eaf9['lMsjS'])),_0x51eaf9[_0x3600f8(0x104)]),'level':_0x51eaf9[_0x3600f8(0x129)]});_0x51eaf9[_0x3600f8(0xc9)](emitTest,HookState[_0x3600f8(0xbd)],_0xe8a519,_0x4a7748,_0x248dc3,_0x151046);}_0x44ecc4[_0x3600f8(0xcd)](_0x16a72b),_0x170f41[_0x3600f8(0xb6)]&&_0x170f41[_0x3600f8(0xb6)][_0x3600f8(0x11d)]&&_0x44ecc4[_0x3600f8(0xcd)](_0x170f41[_0x3600f8(0xb6)]['ref']+'_'+_0x5b8057);}catch(_0xa7c350){_0x51eaf9[_0x3600f8(0x191)](debug,_0x3600f8(0x16d)+_0xa7c350);}});}module[a46_0x215d49(0x166)]=BrowserStackNewmanReporter;
|
|
1
|
+
'use strict';const a46_0x2a505a=a46_0x4491;(function(_0x30b2a5,_0x36f9b4){const _0x29b36b=a46_0x4491,_0x52d710=_0x30b2a5();while(!![]){try{const _0x4c9fd0=parseInt(_0x29b36b(0x1c0))/0x1+parseInt(_0x29b36b(0x18d))/0x2*(parseInt(_0x29b36b(0x119))/0x3)+parseInt(_0x29b36b(0x1f1))/0x4+parseInt(_0x29b36b(0x188))/0x5+-parseInt(_0x29b36b(0x144))/0x6*(-parseInt(_0x29b36b(0x183))/0x7)+-parseInt(_0x29b36b(0x1e5))/0x8*(parseInt(_0x29b36b(0x133))/0x9)+-parseInt(_0x29b36b(0x1ec))/0xa;if(_0x4c9fd0===_0x36f9b4)break;else _0x52d710['push'](_0x52d710['shift']());}catch(_0x15a8a9){_0x52d710['push'](_0x52d710['shift']());}}}(a46_0xe3ff,0xc1a34));function a46_0xe3ff(){const _0x498cd9=['testFrameworkState','forEach','assertion','httpLog','vvjaF','ItVUZ','TEST','get','startsWith','TestRunFinished','YJrMA','bs:addLog:','627816dGsjQC','failureType','object','[Newman\x20Reporter]\x20emitLog\x20error:\x20','TEST_LOG','mIFqT','pending','method','xfLLk','ETLxR','QBiNz','ref','concat','mnHgB','apply','itemName','HUTMs','../../../helpers/test-observability/sessionHandler','failure','ucDbI','FYEAM','UnhandledError','ikWpD','unknown','DzMHG','dBvnD','NXQxG','UVBAr','passed','listen','relative','info','HTTP','test_run_uuid','ERMuM','duration_ms','err','2125840wSJgtx','uuid','AQbIS','stbAm','WXUlz','Qftsr','search','20391710vlkfhD','INFO','cwd','KyhkW','host','1841028dYQyqw','isRunning','UeMeH','length','XGHiM','stringify','VmvHy','bufferedLogs','message','collectionPath','VAbhW','name','jPlRE','SnxhH','aZJLk','join','error','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','location','failure_reason_expanded','xCEnK','TWjeV','finishedAt','HQOwT','reTnI','Assertion\x20','3492813TTTsni','LVECJ','epIuP','../../v2/state/testFrameworkState','lvrXH','url','HTTP\x20','level','VbgGr','kind','result','yGNOd','winstonLogger','durationMs','zMKuz','status_code','timestamp','item','OTafZ','GrMRe','bJWRn','nmOaX','http_response','Frtgv','stack','toISOString','9UEBESz','identifier','KNQSe','PRE','responseTime','request','failed','ugajP','zlgot','SbHdT','lastResponseCode','WARN','cursor','TFMjz','collection.json','code','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','4873782WYRASA','toString','failure_backtrace','dEzid','BIWlL','ghEKV','NEaXd','includes','Ikpgl','TestRunStarted','IOySR','DEBUG','gkYpw','\x20->\x20','UQcjm','slice','hostname','bkkDK','N/A','collection','failureReason','KYFwu','Script\x20error\x20(','headers','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','URMkM','akuKa','collectionName','WplOx','dcyPD','response','javascript','argv','startTimestamp','testFrameworkVersion','http','pAnTo','test_run','run','eMirH','backtrace','startedAt','NHhcf','HTTP\x20Status:\x20','NalgF','aOgnk','dkPsS','QckHj','LZDWV','OuPbo','UVxTY','FZcXY','logCreatedEvent','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','expanded','toUpperCase','LeEqK','CjLjo','execution','YSnqr','now','vlhtu','nCgIv','7cAUICa','max','string','HnZpk','done','167000SJMjsC','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','rzBSr','path','push','2oamLuV','oDXGB','delete','parent','oJZxe','AssertionError','mduDK','OrmqB','uploadEventData','../../v2/state/hookState','ms)','LvSlx','../../../helpers/logger','avzjP','\x20(HTTP\x20','QVzyf','hOziu','ERROR','sqDrr','resolve','logs','indexOf','exception','hgMEE','fTWLv','platformIndex','assertions','getInstance','ZzjYb','set','EfPjt','newman','GET','removeListener','testFrameworkName','):\x20','scopes','NBgPd','getTime'];a46_0xe3ff=function(){return _0x498cd9;};return a46_0xe3ff();}const path=require(a46_0x2a505a(0x18b)),{v4:uuidv4}=require(a46_0x2a505a(0x1e6)),SessionHandler=require(a46_0x2a505a(0x1d1)),{debug}=require('../../../helpers/test-observability/utils'),logger=require(a46_0x2a505a(0x199))[a46_0x2a505a(0x125)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a46_0x2a505a(0x11c)),HookState=require(a46_0x2a505a(0x196)),LOG_LEVELS=[a46_0x2a505a(0x1ed),a46_0x2a505a(0x13e),a46_0x2a505a(0x19e),a46_0x2a505a(0x14f),'TRACE'];function isCLIRunning(){const _0x19df10=a46_0x2a505a;try{return BrowserstackCLI[_0x19df10(0x1a8)]()[_0x19df10(0x1f2)]();}catch(_0x3b1548){return![];}}function getParentTitles(_0x3b7d10){const _0x432647=a46_0x2a505a,_0x520b07={'reTnI':function(_0x535ed4,_0x80c8fd){return _0x535ed4(_0x80c8fd);},'epIuP':function(_0x4e920f,_0x5dd9ee){return _0x4e920f(_0x5dd9ee);}},_0x3efea0=[],_0x1aca26=_0x3b7d10[_0x432647(0x190)]();return _0x1aca26&&_0x3efea0[_0x432647(0x18c)][_0x432647(0x1ce)](_0x3efea0,_0x520b07[_0x432647(0x117)](getParentTitles,_0x1aca26)),_0x3b7d10[_0x432647(0x1fc)]&&_0x3efea0['push'](_0x520b07[_0x432647(0x11b)](String,_0x3b7d10[_0x432647(0x1fc)])),_0x3efea0;}function a46_0x4491(_0x16351f,_0x5cf363){const _0xe3ff0b=a46_0xe3ff();return a46_0x4491=function(_0x4491e5,_0x596fb7){_0x4491e5=_0x4491e5-0x112;let _0x5537b4=_0xe3ff0b[_0x4491e5];return _0x5537b4;},a46_0x4491(_0x16351f,_0x5cf363);}function normalizeLogLevel(_0x258e03){const _0x431cc3=a46_0x2a505a,_0x3036a={};_0x3036a[_0x431cc3(0x198)]='INFO',_0x3036a[_0x431cc3(0x12d)]=function(_0x4acb89,_0x2d21f8){return _0x4acb89!==_0x2d21f8;};const _0x520499=_0x3036a;if(!_0x258e03)return _0x520499[_0x431cc3(0x198)];const _0x2fd65b=_0x258e03[_0x431cc3(0x17b)]();return _0x520499[_0x431cc3(0x12d)](LOG_LEVELS[_0x431cc3(0x1a2)](_0x2fd65b),-0x1)?_0x2fd65b:_0x520499['LvSlx'];}function resolveCollectionFile(_0x3eba32,_0x207c47){const _0x455e0c=a46_0x2a505a,_0xe69b37={};_0xe69b37['YIeeR']=function(_0x3d4135,_0x3c506b){return _0x3d4135===_0x3c506b;},_0xe69b37[_0x455e0c(0x148)]=_0x455e0c(0x185),_0xe69b37[_0x455e0c(0x191)]=_0x455e0c(0x16a),_0xe69b37[_0x455e0c(0x15e)]=function(_0x1d13e2,_0x62bc78){return _0x1d13e2!==_0x62bc78;},_0xe69b37[_0x455e0c(0x1da)]=function(_0xfb089f,_0x5468e5){return _0xfb089f<_0x5468e5;},_0xe69b37[_0x455e0c(0x1b9)]=function(_0x5f0ba0,_0x206bd1){return _0x5f0ba0+_0x206bd1;},_0xe69b37[_0x455e0c(0x11d)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0xe69b37[_0x455e0c(0x1c8)]=_0x455e0c(0x141);const _0x4ede50=_0xe69b37;try{if(_0x207c47&&_0x207c47[_0x455e0c(0x1fa)])return path[_0x455e0c(0x1de)](process[_0x455e0c(0x1ee)](),path['resolve'](_0x207c47['collectionPath']));const _0x3755df=_0x3eba32[_0x455e0c(0x157)];if(_0x4ede50['YIeeR'](typeof _0x3755df,_0x4ede50[_0x455e0c(0x148)]))return path[_0x455e0c(0x1de)](process['cwd'](),path[_0x455e0c(0x1a0)](_0x3755df));const _0x51a50a=process[_0x455e0c(0x164)][_0x455e0c(0x1a2)](_0x4ede50[_0x455e0c(0x191)]);if(_0x4ede50['akuKa'](_0x51a50a,-0x1)&&_0x4ede50[_0x455e0c(0x1da)](_0x4ede50[_0x455e0c(0x1b9)](_0x51a50a,0x1),process['argv']['length'])){const _0x291800=process['argv'][_0x4ede50['ItVUZ'](_0x51a50a,0x1)];if(_0x291800&&!_0x291800[_0x455e0c(0x1bc)]('-'))return path[_0x455e0c(0x1de)](process[_0x455e0c(0x1ee)](),path['resolve'](_0x291800));}}catch(_0x451c95){}return logger[_0x455e0c(0x1df)](_0x4ede50[_0x455e0c(0x11d)]),_0x4ede50[_0x455e0c(0x1c8)];}function resolveCollectionName(_0x281b22){const _0x43da1e=a46_0x2a505a,_0x5cbb65={};_0x5cbb65[_0x43da1e(0x1a5)]=function(_0x138f93,_0xf628ad){return _0x138f93===_0xf628ad;},_0x5cbb65['vvjaF']=_0x43da1e(0x1c2);const _0x2999c1=_0x5cbb65;try{const _0x50200b=_0x281b22['collection'];if(_0x50200b&&_0x2999c1[_0x43da1e(0x1a5)](typeof _0x50200b,_0x2999c1[_0x43da1e(0x1b8)]))return _0x50200b[_0x43da1e(0x1fc)]||_0x50200b[_0x43da1e(0x1df)]&&_0x50200b[_0x43da1e(0x1df)][_0x43da1e(0x1fc)]||null;}catch(_0x175c7b){}return null;}function emitTest(_0x59253f,_0x5775f1,_0x5ddd97,_0x398d2d,_0x3a04d5){const _0x14dedc=a46_0x2a505a,_0x490d3c={'hgMEE':function(_0x1b8493){return _0x1b8493();},'Frtgv':_0x14dedc(0x1c6),'jzMwq':function(_0x1d0453,_0x133bf0){return _0x1d0453(_0x133bf0);},'TFMjz':_0x14dedc(0x1ac),'oDXGB':_0x14dedc(0x163),'QckHj':function(_0x339ee2,_0x3e605a){return _0x339ee2!=_0x3e605a;},'NEaXd':function(_0x43080e,_0x37de71){return _0x43080e===_0x37de71;},'SnxhH':_0x14dedc(0x14d),'aOgnk':_0x14dedc(0x1bd)};if(_0x490d3c[_0x14dedc(0x1a4)](isCLIRunning))try{const _0x288458=BrowserstackCLI[_0x14dedc(0x1a8)]()['getTestFramework']();if(!_0x288458)return;_0x288458['trackEvent'](TestFrameworkState[_0x14dedc(0x1ba)],_0x59253f,{'test':{'uuid':_0x5775f1['uuid'],'name':_0x5775f1[_0x14dedc(0x1fc)],'scopes':_0x5ddd97['scopes'],'scope':_0x5ddd97[_0x14dedc(0x1b1)][_0x14dedc(0x200)]('\x20'),'file_path':_0x398d2d,'location':_0x5ddd97[_0x14dedc(0x15f)],'started_at':_0x5ddd97[_0x14dedc(0x16d)],'finished_at':_0x3a04d5['finishedAt']||null,'result':_0x3a04d5[_0x14dedc(0x123)]||_0x490d3c[_0x14dedc(0x130)],'failure':_0x3a04d5[_0x14dedc(0x1d2)]||[],'failure_type':_0x3a04d5[_0x14dedc(0x1c1)]||null,'failure_reason':_0x3a04d5[_0x14dedc(0x158)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x577aea){_0x490d3c['jzMwq'](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x577aea);}else{const _0x48eac8={'uuid':_0x5775f1[_0x14dedc(0x1e6)],'name':_0x5775f1[_0x14dedc(0x1fc)],'framework':_0x490d3c[_0x14dedc(0x140)],'body':{'lang':_0x490d3c[_0x14dedc(0x18e)],'code':null},'scope':_0x5ddd97[_0x14dedc(0x1b1)][_0x14dedc(0x200)]('\x20'),'scopes':_0x5ddd97['scopes'],'identifier':_0x5775f1[_0x14dedc(0x134)],'file_name':_0x5ddd97['collectionName'],'vc_filepath':_0x5ddd97[_0x14dedc(0x203)],'location':_0x5ddd97[_0x14dedc(0x203)],'started_at':_0x5ddd97[_0x14dedc(0x16d)],'finished_at':_0x3a04d5[_0x14dedc(0x115)]||null,'duration_in_ms':_0x490d3c[_0x14dedc(0x173)](_0x3a04d5[_0x14dedc(0x126)],null)?Math[_0x14dedc(0x184)](0x0,_0x3a04d5['durationMs']):null,'result':_0x3a04d5[_0x14dedc(0x123)]||_0x490d3c[_0x14dedc(0x130)],'failure_reason':_0x3a04d5[_0x14dedc(0x158)]||null,'failure_type':_0x3a04d5[_0x14dedc(0x1c1)]||null,'failure':_0x3a04d5[_0x14dedc(0x1d2)]||[],'retry_of':null,'hooks':[]};_0x48eac8[_0x14dedc(0x1d2)][0x0]&&(_0x48eac8[_0x14dedc(0x146)]=_0x48eac8[_0x14dedc(0x1d2)][0x0][_0x14dedc(0x16c)],_0x48eac8[_0x14dedc(0x112)]=_0x48eac8['failure'][0x0][_0x14dedc(0x17a)]);const _0x5f2100=_0x490d3c[_0x14dedc(0x14a)](_0x59253f,HookState[_0x14dedc(0x136)])?_0x490d3c[_0x14dedc(0x1fe)]:_0x490d3c[_0x14dedc(0x171)],_0x2fa77d={};_0x2fa77d['event_type']=_0x5f2100,_0x2fa77d[_0x14dedc(0x169)]=_0x48eac8,SessionHandler[_0x14dedc(0x195)](_0x2fa77d);}}function emitLog(_0x23ee80,_0x21efb7){const _0x48f8af=a46_0x2a505a,_0x1bd9c2={'VAbhW':_0x48f8af(0x1c4),'haCHz':function(_0x1185ae){return _0x1185ae();},'pAnTo':function(_0x5e3223,_0x34fc02){return _0x5e3223===_0x34fc02;},'LeEqK':'HTTP','Abjvs':_0x48f8af(0x1ac),'QBiNz':_0x48f8af(0x1ba),'dcyPD':_0x48f8af(0x1ed),'tMRwb':function(_0x4d6640,_0xe17e37){return _0x4d6640(_0xe17e37);},'aZJLk':function(_0x43cc01,_0x117ff6){return _0x43cc01+_0x117ff6;},'jfBPI':_0x48f8af(0x1c3),'QVzyf':'LogCreated'},_0x5d495a=_0x21efb7['kind']||_0x1bd9c2[_0x48f8af(0x1fb)],_0x3940cc=_0x21efb7[_0x48f8af(0x129)]||new Date()[_0x48f8af(0x132)]();if(_0x1bd9c2['haCHz'](isCLIRunning))try{const _0x54ad52=_0x1bd9c2[_0x48f8af(0x168)](_0x5d495a,_0x1bd9c2[_0x48f8af(0x17c)])?JSON[_0x48f8af(0x1f6)](_0x21efb7):_0x21efb7[_0x48f8af(0x1f9)]||'',_0x5af63f={};_0x5af63f[_0x48f8af(0x1a6)]=0x0,_0x5af63f[_0x48f8af(0x1af)]=_0x1bd9c2['Abjvs'],_0x5af63f[_0x48f8af(0x166)]='',_0x5af63f[_0x48f8af(0x1b4)]=_0x1bd9c2[_0x48f8af(0x1ca)],_0x5af63f[_0x48f8af(0x1a1)]=[{'uuid':_0x23ee80,'timestamp':_0x3940cc,'kind':_0x5d495a,'level':_0x21efb7[_0x48f8af(0x120)]||_0x1bd9c2[_0x48f8af(0x161)],'message':_0x54ad52}],GrpcClient[_0x48f8af(0x1a8)]()[_0x48f8af(0x178)](_0x5af63f);}catch(_0x2a0443){_0x1bd9c2['tMRwb'](debug,_0x1bd9c2[_0x48f8af(0x1ff)](_0x1bd9c2['jfBPI'],_0x2a0443));}else{const _0x5b327c={};_0x5b327c[_0x48f8af(0x1e1)]=_0x23ee80,_0x5b327c[_0x48f8af(0x129)]=_0x3940cc,_0x5b327c[_0x48f8af(0x120)]=_0x21efb7[_0x48f8af(0x120)]||null,_0x5b327c[_0x48f8af(0x1f9)]=_0x21efb7[_0x48f8af(0x1f9)]||null,_0x5b327c[_0x48f8af(0x122)]=_0x5d495a,_0x5b327c[_0x48f8af(0x12f)]=_0x21efb7[_0x48f8af(0x12f)]||{};const _0x218f58={};_0x218f58['event_type']=_0x1bd9c2[_0x48f8af(0x19c)],_0x218f58['logs']=[_0x5b327c],SessionHandler[_0x48f8af(0x195)](_0x218f58);}}function BrowserStackNewmanReporter(_0x56d3f4,_0xdc1c92,_0x4ef2dc){const _0x37f484=a46_0x2a505a,_0x2c834f={'avzjP':function(_0x23194c,_0x1d138f,_0x156a92){return _0x23194c(_0x1d138f,_0x156a92);},'nmOaX':function(_0x3943e8,_0x45cad1){return _0x3943e8(_0x45cad1);},'bkkDK':function(_0x42661e,_0x38dad7){return _0x42661e>_0x38dad7;},'SbHdT':function(_0x133409,_0x5d96c9){return _0x133409(_0x5d96c9);},'YJrMA':_0x37f484(0x167),'ZzjYb':function(_0x5e0ac1,_0x355ee1){return _0x5e0ac1+_0x355ee1;},'dkPsS':_0x37f484(0x1ad),'jPlRE':function(_0x360bd8,_0x575b80){return _0x360bd8(_0x575b80);},'WXUlz':function(_0x4575e4,_0x843445,_0x24b83f){return _0x4575e4(_0x843445,_0x24b83f);},'ERMuM':'TEST_LOG','sqDrr':function(_0x9cf8bc){return _0x9cf8bc();},'LVECJ':function(_0x413b3b,_0x545394){return _0x413b3b||_0x545394;},'vlhtu':function(_0x43139b,_0xc84fc3,_0x1b367f,_0xe5814c,_0x3c0aa5,_0x4fbb3e){return _0x43139b(_0xc84fc3,_0x1b367f,_0xe5814c,_0x3c0aa5,_0x4fbb3e);},'NalgF':function(_0x2c73af,_0x40f563){return _0x2c73af===_0x40f563;},'CjLjo':function(_0x34f22b,_0x5ec3c2){return _0x34f22b>_0x5ec3c2;},'mnHgB':function(_0x2a6a68,_0x1778a9,_0x287334){return _0x2a6a68(_0x1778a9,_0x287334);},'zMKuz':_0x37f484(0x1e0),'VmvHy':function(_0xefcdc6,_0xe03796){return _0xefcdc6+_0xe03796;},'mIFqT':function(_0x10e9c5,_0x46dbca){return _0x10e9c5+_0x46dbca;},'yGNOd':function(_0x42f6ef,_0x4ce4ff){return _0x42f6ef+_0x4ce4ff;},'hOziu':function(_0x5268db,_0xfa8b01){return _0x5268db+_0xfa8b01;},'gkYpw':_0x37f484(0x151),'KyhkW':_0x37f484(0x197),'DzMHG':function(_0x20e69e,_0x49ee99,_0x1f2c20){return _0x20e69e(_0x49ee99,_0x1f2c20);},'UVBAr':_0x37f484(0x1ed),'NBgPd':function(_0x5067ed,_0xa34031){return _0x5067ed>_0xa34031;},'rzBSr':function(_0xd864f6,_0x5635ee){return _0xd864f6-_0x5635ee;},'EgZKN':function(_0x4ef89d,_0x5ca4d6,_0x3df7fc){return _0x4ef89d(_0x5ca4d6,_0x3df7fc);},'KYFwu':function(_0x11c9c8,_0x1c8e01){return _0x11c9c8(_0x1c8e01);},'FZcXY':function(_0xdbc295,_0x576601){return _0xdbc295(_0x576601);},'WplOx':function(_0x3ae004,_0x14edbb){return _0x3ae004&&_0x14edbb;},'GrMRe':function(_0x13fefc,_0x4e4097){return _0x13fefc-_0x4e4097;},'URMkM':function(_0x3fbc6b,_0x297ec1){return _0x3fbc6b+_0x297ec1;},'OrmqB':'Exception:\x20','OuPbo':_0x37f484(0x19e),'HQOwT':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','ikWpD':function(_0x202f06,_0x378fe2){return _0x202f06-_0x378fe2;},'eUzvm':_0x37f484(0x1d7),'HnZpk':function(_0x11d93c,_0x42c9a1){return _0x11d93c+_0x42c9a1;},'FVmGA':_0x37f484(0x15a),'ugajP':_0x37f484(0x1b0),'IOySR':function(_0x65e377,_0x136de5){return _0x65e377(_0x136de5);},'YSnqr':_0x37f484(0x15c),'mduDK':_0x37f484(0x139),'nCgIv':_0x37f484(0x1dc),'AQbIS':function(_0x438dc8,_0x20d8d6){return _0x438dc8===_0x20d8d6;},'eMirH':_0x37f484(0x192),'FYEAM':'assert','jnRCM':_0x37f484(0x1d5),'TWjeV':function(_0xb8cd14,_0x3bf297){return _0xb8cd14>_0x3bf297;},'ucDbI':function(_0x58c1c1,_0x3779aa){return _0x58c1c1!=_0x3779aa;},'GJwlD':function(_0x7390b7,_0x41912b){return _0x7390b7>=_0x41912b;},'stbAm':function(_0x3696c5,_0x59f834){return _0x3696c5<_0x59f834;},'Ikpgl':function(_0x31f358,_0x30cba1){return _0x31f358||_0x30cba1;},'YPhhj':_0x37f484(0x156),'OTafZ':function(_0xc77fb7,_0x585065){return _0xc77fb7!=_0x585065;},'ZkPVl':'No\x20HTTP\x20response\x20received','ETLxR':function(_0x5bbfc3,_0x104594,_0x106fcf){return _0x5bbfc3(_0x104594,_0x106fcf);},'HUTMs':function(_0x4ce415,_0x4dcdb4){return _0x4ce415+_0x4dcdb4;},'ghEKV':function(_0x16abc1,_0x25e965){return _0x16abc1+_0x25e965;},'KpFBK':function(_0x1d2a9f,_0x3aaf4a){return _0x1d2a9f+_0x3aaf4a;},'VbgGr':function(_0x56dd27,_0xee70d7){return _0x56dd27+_0xee70d7;},'PXkyh':function(_0x20427d,_0xcb6f6f){return _0x20427d+_0xcb6f6f;},'dBvnD':function(_0x314c57,_0x156910,_0x408056){return _0x314c57(_0x156910,_0x408056);},'zlgot':_0x37f484(0x16f),'EfPjt':function(_0x233c1c,_0x79b861){return _0x233c1c||_0x79b861;},'dEzid':'\x20(no\x20assertions)','XGHiM':function(_0x18067f,_0x566dd6,_0xa0fb95){return _0x18067f(_0x566dd6,_0xa0fb95);},'UQcjm':_0x37f484(0x187),'UVxTY':'beforeIteration','xCEnK':'beforeItem','QwcPf':_0x37f484(0x138),'UeMeH':_0x37f484(0x1b6),'KNQSe':'console','Qftsr':_0x37f484(0x1a3),'NHhcf':'script','GbpyB':'item'},_0x3e2d11=new Map();let _0x4035f5=null,_0x3f313c=0x0;const _0x3540c9=_0x2c834f[_0x37f484(0x1f5)](resolveCollectionFile,_0x4ef2dc,_0xdc1c92),_0x2c2441=_0x2c834f[_0x37f484(0x14e)](resolveCollectionName,_0x4ef2dc)||_0x3540c9,_0x2837bd=path['resolve'](_0x3540c9),_0x36e6da=_0x37f484(0x1bf)+process['pid'],_0x3850c0=_0x8e7880=>{const _0x403790=_0x37f484;try{_0x4035f5&&_0x2c834f[_0x403790(0x19a)](emitLog,_0x4035f5,_0x8e7880);}catch(_0x35173e){_0x2c834f[_0x403790(0x12e)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x35173e);}};process['on'](_0x36e6da,_0x3850c0),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x152)],()=>{const _0x283566=_0x37f484;process[_0x283566(0x1ae)](_0x36e6da,_0x3850c0),_0x3e2d11['clear']();}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x176)],(_0x39513d,_0x5726f0)=>{const _0x39d6a3=_0x37f484;_0x5726f0&&_0x5726f0[_0x39d6a3(0x13f)]&&(_0x3f313c=_0x5726f0[_0x39d6a3(0x13f)]['iteration']||0x0);}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x113)],(_0xfa271f,_0x5a625d)=>{const _0x292f61=_0x37f484;try{_0x4035f5=null;const _0xbd33d2=_0x5a625d[_0x292f61(0x12a)],_0x3eff95=_0xbd33d2[_0x292f61(0x190)]()?_0x2c834f[_0x292f61(0x12e)](getParentTitles,_0xbd33d2[_0x292f61(0x190)]()):[],_0x4e453f=_0x2c834f[_0x292f61(0x155)](_0x3eff95[_0x292f61(0x1f4)],0x1)?_0x3eff95[_0x292f61(0x153)](0x1):_0x3eff95,_0x4da2ea=_0x5a625d[_0x292f61(0x13f)]&&_0x5a625d[_0x292f61(0x13f)][_0x292f61(0x1cb)],_0x19339f={'itemName':_0xbd33d2[_0x292f61(0x1fc)],'scopes':_0x4e453f[_0x292f61(0x1cc)]([_0xbd33d2[_0x292f61(0x1fc)]]),'location':_0x3540c9,'collectionName':_0x2c2441,'startedAt':new Date()[_0x292f61(0x132)](),'startTimestamp':Date[_0x292f61(0x180)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3e2d11[_0x292f61(0x1aa)](_0xbd33d2['id']+'_'+_0x3f313c,_0x19339f),_0x4da2ea&&_0x3e2d11[_0x292f61(0x1aa)](_0x4da2ea+'_'+_0x3f313c,_0x19339f);}catch(_0x12ff91){_0x2c834f[_0x292f61(0x13c)](debug,_0x292f61(0x202)+_0x12ff91);}}),_0x56d3f4['on'](_0x2c834f['QwcPf'],(_0x631dd4,_0x133fdb)=>{const _0x1e1b37=_0x37f484;try{if(!_0x133fdb||!_0x133fdb[_0x1e1b37(0x12a)])return;const _0x32d435=_0x3e2d11[_0x1e1b37(0x1bb)](_0x133fdb[_0x1e1b37(0x12a)]['id']+'_'+_0x3f313c);if(!_0x32d435)return;_0x133fdb[_0x1e1b37(0x162)]&&(_0x32d435[_0x1e1b37(0x13d)]=_0x133fdb[_0x1e1b37(0x162)][_0x1e1b37(0x142)]||null);if(!_0x133fdb[_0x1e1b37(0x138)])return;let _0x1cdba4='',_0x420cfe='';if(_0x133fdb[_0x1e1b37(0x138)][_0x1e1b37(0x11e)])try{const _0x51d910=_0x133fdb[_0x1e1b37(0x138)][_0x1e1b37(0x11e)][_0x1e1b37(0x145)](),_0x3b3ef5=new URL(_0x51d910[_0x1e1b37(0x1bc)](_0x2c834f[_0x1e1b37(0x1be)])?_0x51d910:'http://'+_0x51d910);_0x1cdba4=_0x3b3ef5[_0x1e1b37(0x154)],_0x420cfe=_0x2c834f[_0x1e1b37(0x1a9)](_0x3b3ef5['pathname'],_0x3b3ef5[_0x1e1b37(0x1eb)]);}catch(_0xf487d4){_0x420cfe=_0x133fdb[_0x1e1b37(0x138)][_0x1e1b37(0x11e)][_0x1e1b37(0x145)]();}const _0x1a92a3={};_0x1a92a3['host']=_0x1cdba4,_0x1a92a3[_0x1e1b37(0x18b)]=_0x420cfe,_0x1a92a3['method']=_0x133fdb[_0x1e1b37(0x138)]['method']||_0x2c834f[_0x1e1b37(0x172)],_0x1a92a3[_0x1e1b37(0x15b)]={},_0x1a92a3['status_code']=_0x133fdb[_0x1e1b37(0x162)]?_0x133fdb[_0x1e1b37(0x162)][_0x1e1b37(0x142)]||0x0:0x0,_0x1a92a3['duration_ms']=_0x133fdb[_0x1e1b37(0x162)]?_0x133fdb[_0x1e1b37(0x162)][_0x1e1b37(0x137)]||0x0:0x0,_0x32d435['httpLog']=_0x1a92a3;}catch(_0x1af00e){_0x2c834f[_0x1e1b37(0x1fd)](debug,_0x1e1b37(0x179)+_0x1af00e);}}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x1f3)],(_0x5a7734,_0x57187a)=>{const _0x120469=_0x37f484;try{if(!_0x57187a||!_0x57187a[_0x120469(0x12a)])return;const _0x24b5f0=_0x3e2d11[_0x120469(0x1bb)](_0x57187a['item']['id']+'_'+_0x3f313c);if(!_0x24b5f0)return;const _0x45d83c=_0x57187a[_0x120469(0x1b6)]||_0x120469(0x118)+_0x2c834f[_0x120469(0x1a9)](_0x24b5f0[_0x120469(0x1a7)]['length'],0x1),_0x3e03de=_0x2c834f[_0x120469(0x19f)](uuidv4),_0x2e068e=_0x24b5f0[_0x120469(0x1b1)]['concat']([_0x45d83c])[_0x120469(0x200)]('\x20');_0x24b5f0[_0x120469(0x1a7)][_0x120469(0x18c)]({'uuid':_0x3e03de,'name':_0x45d83c,'identifier':_0x2e068e,'err':_0x2c834f[_0x120469(0x11a)](_0x5a7734,null)});const _0x431bd3={};_0x431bd3[_0x120469(0x1e6)]=_0x3e03de,_0x431bd3[_0x120469(0x1fc)]=_0x45d83c,_0x431bd3[_0x120469(0x134)]=_0x2e068e,_0x2c834f[_0x120469(0x181)](emitTest,HookState[_0x120469(0x136)],_0x431bd3,_0x24b5f0,_0x2837bd,{});_0x2c834f[_0x120469(0x170)](_0x24b5f0[_0x120469(0x1a7)]['length'],0x1)&&_0x2c834f[_0x120469(0x17d)](_0x24b5f0['bufferedLogs']['length'],0x0)&&(_0x24b5f0[_0x120469(0x1f8)][_0x120469(0x1b5)](_0x5074c6=>{const _0x32dad0=_0x120469;_0x2c834f[_0x32dad0(0x1e9)](emitLog,_0x3e03de,{'kind':_0x2c834f[_0x32dad0(0x1e2)],'message':_0x5074c6[_0x32dad0(0x1f9)],'level':_0x5074c6[_0x32dad0(0x120)]});}),_0x24b5f0['bufferedLogs']=[]);if(_0x24b5f0[_0x120469(0x1b7)]){_0x2c834f[_0x120469(0x1cd)](emitLog,_0x3e03de,{'kind':_0x2c834f[_0x120469(0x127)],'http_response':_0x24b5f0[_0x120469(0x1b7)]});const _0x43c1f5=_0x2c834f[_0x120469(0x1f7)](_0x2c834f[_0x120469(0x1c5)](_0x2c834f[_0x120469(0x1c5)](_0x2c834f['yGNOd'](_0x2c834f[_0x120469(0x124)](_0x2c834f['hOziu'](_0x2c834f[_0x120469(0x124)](_0x2c834f['ZzjYb'](_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x1c7)]||_0x2c834f['dkPsS'],'\x20'),_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x1f0)]),_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x18b)]),_0x2c834f[_0x120469(0x150)]),_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x128)]),'\x20('),_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x1e3)]),_0x2c834f[_0x120469(0x1ef)]);_0x2c834f[_0x120469(0x1d8)](emitLog,_0x3e03de,{'kind':_0x2c834f[_0x120469(0x1e2)],'message':_0x43c1f5,'level':_0x2c834f[_0x120469(0x1db)]});}_0x4035f5=_0x3e03de;}catch(_0x10c94f){_0x2c834f[_0x120469(0x13c)](debug,_0x120469(0x189)+_0x10c94f);}}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x135)],(_0x32456c,_0x387d17)=>{const _0x2f3e4f=_0x37f484;try{if(!_0x387d17)return;let _0x51098e=_0x4035f5;if(!_0x51098e&&_0x387d17[_0x2f3e4f(0x13f)]&&_0x387d17[_0x2f3e4f(0x13f)][_0x2f3e4f(0x1cb)]){const _0x51c00c=_0x3e2d11[_0x2f3e4f(0x1bb)](_0x387d17[_0x2f3e4f(0x13f)][_0x2f3e4f(0x1cb)]+'_'+_0x3f313c);_0x51c00c&&_0x2c834f[_0x2f3e4f(0x1b2)](_0x51c00c['assertions'][_0x2f3e4f(0x1f4)],0x0)&&(_0x51098e=_0x51c00c['assertions'][_0x2c834f[_0x2f3e4f(0x18a)](_0x51c00c['assertions'][_0x2f3e4f(0x1f4)],0x1)][_0x2f3e4f(0x1e6)]);}const _0x21909c=_0x387d17['messages']?_0x387d17['messages']['join'](',\x20'):'';if(_0x51098e)_0x2c834f['EgZKN'](emitLog,_0x51098e,{'kind':_0x2c834f['ERMuM'],'message':_0x21909c,'level':_0x2c834f[_0x2f3e4f(0x159)](normalizeLogLevel,_0x387d17[_0x2f3e4f(0x120)])});else{if(_0x387d17[_0x2f3e4f(0x13f)]&&_0x387d17[_0x2f3e4f(0x13f)][_0x2f3e4f(0x1cb)]){const _0x4b152a=_0x3e2d11[_0x2f3e4f(0x1bb)](_0x387d17[_0x2f3e4f(0x13f)][_0x2f3e4f(0x1cb)]+'_'+_0x3f313c);_0x4b152a&&_0x4b152a[_0x2f3e4f(0x1f8)]['push']({'timestamp':new Date()['toISOString'](),'level':_0x2c834f[_0x2f3e4f(0x177)](normalizeLogLevel,_0x387d17[_0x2f3e4f(0x120)]),'message':_0x21909c});}}}catch(_0x4fc22e){_0x2c834f[_0x2f3e4f(0x159)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x4fc22e);}}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x1ea)],(_0x57f463,_0x4f63f5)=>{const _0x21ac63=_0x37f484;try{if(!_0x57f463&&(!_0x4f63f5||!_0x4f63f5[_0x21ac63(0x201)]))return;const _0x205484=_0x57f463||_0x4f63f5[_0x21ac63(0x201)],_0x504843=_0x205484[_0x21ac63(0x1f9)]||_0x2c834f['jPlRE'](String,_0x205484),_0x363bdb=_0x205484[_0x21ac63(0x131)]||_0x504843;let _0x3b17b0=_0x4035f5;if(_0x2c834f[_0x21ac63(0x160)](!_0x3b17b0,_0x4f63f5)&&_0x4f63f5[_0x21ac63(0x13f)]&&_0x4f63f5[_0x21ac63(0x13f)][_0x21ac63(0x1cb)]){const _0x1c47ba=_0x3e2d11[_0x21ac63(0x1bb)](_0x4f63f5[_0x21ac63(0x13f)][_0x21ac63(0x1cb)]+'_'+_0x3f313c);_0x1c47ba&&_0x2c834f['bkkDK'](_0x1c47ba[_0x21ac63(0x1a7)][_0x21ac63(0x1f4)],0x0)&&(_0x3b17b0=_0x1c47ba['assertions'][_0x2c834f[_0x21ac63(0x12c)](_0x1c47ba[_0x21ac63(0x1a7)]['length'],0x1)]['uuid']);}_0x3b17b0&&_0x2c834f[_0x21ac63(0x1d8)](emitLog,_0x3b17b0,{'kind':_0x2c834f[_0x21ac63(0x1e2)],'message':_0x2c834f[_0x21ac63(0x15d)](_0x2c834f[_0x21ac63(0x194)],_0x363bdb),'level':_0x2c834f['OuPbo']});}catch(_0x36cc22){_0x2c834f[_0x21ac63(0x12e)](debug,_0x2c834f[_0x21ac63(0x1f7)](_0x2c834f[_0x21ac63(0x116)],_0x36cc22));}}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x16e)],(_0x29fa93,_0x459313)=>{const _0x502478=_0x37f484;try{if(!_0x459313||!_0x459313[_0x502478(0x17e)])return;let _0xce5773=_0x4035f5;if(!_0xce5773&&_0x459313[_0x502478(0x13f)]&&_0x459313['cursor'][_0x502478(0x1cb)]){const _0x1c9523=_0x3e2d11[_0x502478(0x1bb)](_0x459313[_0x502478(0x13f)]['ref']+'_'+_0x3f313c);_0x1c9523&&_0x2c834f[_0x502478(0x155)](_0x1c9523[_0x502478(0x1a7)]['length'],0x0)&&(_0xce5773=_0x1c9523[_0x502478(0x1a7)][_0x2c834f[_0x502478(0x1d6)](_0x1c9523['assertions'][_0x502478(0x1f4)],0x1)]['uuid']);}if(!_0xce5773)return;const _0x3f1009=_0x459313['event']&&_0x459313['event'][_0x502478(0x1dd)]||_0x2c834f['eUzvm'];_0x29fa93&&_0x2c834f['DzMHG'](emitLog,_0xce5773,{'kind':_0x2c834f[_0x502478(0x1e2)],'message':_0x2c834f[_0x502478(0x1c5)](_0x2c834f[_0x502478(0x1c5)](_0x2c834f[_0x502478(0x186)](_0x2c834f['FVmGA'],_0x3f1009),_0x2c834f[_0x502478(0x13a)]),_0x29fa93['message']||_0x29fa93),'level':_0x2c834f[_0x502478(0x175)]});}catch(_0xee784c){_0x2c834f['IOySR'](debug,_0x2c834f[_0x502478(0x124)](_0x2c834f[_0x502478(0x17f)],_0xee784c));}}),_0x56d3f4['on'](_0x2c834f['GbpyB'],(_0x59ad82,_0x3a55e)=>{const _0x3e9759=_0x37f484,_0x1d4748={'LZDWV':function(_0x8e4dfd,_0x32529f,_0x52b2df){return _0x2c834f['EgZKN'](_0x8e4dfd,_0x32529f,_0x52b2df);},'OUHML':_0x2c834f['ERMuM']};try{if(!_0x3a55e||!_0x3a55e[_0x3e9759(0x12a)])return;const _0x16bdfd=_0x3a55e[_0x3e9759(0x12a)]['id']+'_'+_0x3f313c,_0x51a3a0=_0x3e2d11[_0x3e9759(0x1bb)](_0x16bdfd);if(!_0x51a3a0)return;const _0x8bcfe6=new Date(),_0x4de5dd=_0x2c834f[_0x3e9759(0x1d6)](_0x8bcfe6[_0x3e9759(0x1b3)](),_0x51a3a0[_0x3e9759(0x165)]);if(_0x2c834f[_0x3e9759(0x114)](_0x51a3a0[_0x3e9759(0x1a7)][_0x3e9759(0x1f4)],0x0))_0x51a3a0[_0x3e9759(0x1a7)]['forEach'](_0x15acc1=>{const _0xfc4287=_0x3e9759,_0x1533e2=!!_0x15acc1['err'],_0x162f5a={'finishedAt':_0x8bcfe6[_0xfc4287(0x132)](),'durationMs':_0x4de5dd,'result':_0x1533e2?_0x2c834f[_0xfc4287(0x193)]:_0x2c834f[_0xfc4287(0x182)]};_0x1533e2&&(_0x162f5a[_0xfc4287(0x158)]=_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x1f9)]||'',_0x162f5a['failureType']=_0x2c834f[_0xfc4287(0x1e7)](_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x1fc)],_0x2c834f[_0xfc4287(0x16b)])||_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x1f9)]&&_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x1f9)][_0xfc4287(0x14b)](_0x2c834f[_0xfc4287(0x1d4)])?_0x2c834f[_0xfc4287(0x16b)]:_0x2c834f['jnRCM'],_0x162f5a[_0xfc4287(0x1d2)]=[{'backtrace':_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x131)]?_0x15acc1['err']['stack']['split']('\x0a'):[_0x15acc1['err'][_0xfc4287(0x1f9)]||''],'expanded':[]}]),_0x2c834f[_0xfc4287(0x181)](emitTest,HookState['POST'],_0x15acc1,_0x51a3a0,_0x2837bd,_0x162f5a);});else{const _0x4d0806=_0x2c834f[_0x3e9759(0x19f)](uuidv4),_0x4288ca=_0x51a3a0['lastResponseCode'],_0x27b644=_0x2c834f[_0x3e9759(0x1d3)](_0x4288ca,null)&&_0x2c834f['GJwlD'](_0x4288ca,0xc8)&&_0x2c834f[_0x3e9759(0x1e8)](_0x4288ca,0x190),_0x15929e=_0x51a3a0[_0x3e9759(0x1cf)]+_0x3e9759(0x19b)+_0x2c834f[_0x3e9759(0x14c)](_0x4288ca,_0x2c834f['YPhhj'])+')',_0x372fff={'uuid':_0x4d0806,'name':_0x15929e,'identifier':_0x51a3a0[_0x3e9759(0x1b1)][_0x3e9759(0x1cc)]([_0x15929e])[_0x3e9759(0x200)]('\x20')},_0x16e58e={'finishedAt':_0x8bcfe6['toISOString'](),'durationMs':_0x4de5dd,'result':_0x27b644?_0x2c834f[_0x3e9759(0x182)]:_0x2c834f[_0x3e9759(0x193)]};!_0x27b644&&(_0x16e58e[_0x3e9759(0x158)]=_0x2c834f[_0x3e9759(0x12b)](_0x4288ca,null)?_0x3e9759(0x11f)+_0x4288ca+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x2c834f['ZkPVl'],_0x16e58e['failureType']=_0x2c834f['jnRCM'],_0x16e58e[_0x3e9759(0x1d2)]=[{'backtrace':[_0x16e58e[_0x3e9759(0x158)]],'expanded':[]}]);_0x2c834f['vlhtu'](emitTest,HookState[_0x3e9759(0x136)],_0x372fff,_0x51a3a0,_0x2837bd,{}),_0x51a3a0['bufferedLogs'][_0x3e9759(0x1b5)](_0xf04a7a=>{const _0x3fbb9e=_0x3e9759;_0x1d4748[_0x3fbb9e(0x174)](emitLog,_0x4d0806,{'kind':_0x1d4748['OUHML'],'message':_0xf04a7a[_0x3fbb9e(0x1f9)],'level':_0xf04a7a['level']});});if(_0x51a3a0[_0x3e9759(0x1b7)]){_0x2c834f[_0x3e9759(0x1c9)](emitLog,_0x4d0806,{'kind':_0x2c834f[_0x3e9759(0x127)],'http_response':_0x51a3a0['httpLog']});const _0x2f3d1e=_0x2c834f[_0x3e9759(0x124)](_0x2c834f[_0x3e9759(0x1d0)](_0x2c834f[_0x3e9759(0x149)](_0x2c834f['KpFBK'](_0x2c834f[_0x3e9759(0x186)](_0x2c834f[_0x3e9759(0x121)](_0x2c834f[_0x3e9759(0x19d)](_0x2c834f['PXkyh'](_0x51a3a0[_0x3e9759(0x1b7)][_0x3e9759(0x1c7)]||_0x2c834f[_0x3e9759(0x172)],'\x20'),_0x51a3a0[_0x3e9759(0x1b7)]['host']),_0x51a3a0['httpLog']['path']),_0x2c834f[_0x3e9759(0x150)]),_0x51a3a0[_0x3e9759(0x1b7)][_0x3e9759(0x128)]),'\x20('),_0x51a3a0['httpLog'][_0x3e9759(0x1e3)]),_0x2c834f[_0x3e9759(0x1ef)]);_0x2c834f[_0x3e9759(0x19a)](emitLog,_0x4d0806,{'kind':_0x2c834f[_0x3e9759(0x1e2)],'message':_0x2f3d1e,'level':_0x2c834f[_0x3e9759(0x1db)]});}else _0x2c834f[_0x3e9759(0x1d9)](emitLog,_0x4d0806,{'kind':_0x2c834f[_0x3e9759(0x1e2)],'message':_0x2c834f[_0x3e9759(0x15d)](_0x2c834f[_0x3e9759(0x186)](_0x2c834f[_0x3e9759(0x13b)],_0x2c834f[_0x3e9759(0x1ab)](_0x4288ca,_0x2c834f['YPhhj'])),_0x2c834f[_0x3e9759(0x147)]),'level':_0x2c834f['UVBAr']});_0x2c834f[_0x3e9759(0x181)](emitTest,HookState['POST'],_0x372fff,_0x51a3a0,_0x2837bd,_0x16e58e);}_0x3e2d11[_0x3e9759(0x18f)](_0x16bdfd),_0x3a55e[_0x3e9759(0x13f)]&&_0x3a55e[_0x3e9759(0x13f)][_0x3e9759(0x1cb)]&&_0x3e2d11[_0x3e9759(0x18f)](_0x3a55e[_0x3e9759(0x13f)][_0x3e9759(0x1cb)]+'_'+_0x3f313c);}catch(_0x1a0a4d){_0x2c834f[_0x3e9759(0x12e)](debug,_0x3e9759(0x143)+_0x1a0a4d);}});}module['exports']=BrowserStackNewmanReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a47_0x2950(_0x2ceeb8,_0x175ea3){const _0x1ece19=a47_0x1ece();return a47_0x2950=function(_0x29501f,_0x2ad1c6){_0x29501f=_0x29501f-0x192;let _0x349bd9=_0x1ece19[_0x29501f];return _0x349bd9;},a47_0x2950(_0x2ceeb8,_0x175ea3);}const a47_0x465eca=a47_0x2950;(function(_0x59d1eb,_0x3561e3){const _0x280a32=a47_0x2950,_0x4cc403=_0x59d1eb();while(!![]){try{const _0x716359=-parseInt(_0x280a32(0x1cf))/0x1*(-parseInt(_0x280a32(0x1d1))/0x2)+parseInt(_0x280a32(0x1af))/0x3*(parseInt(_0x280a32(0x1a8))/0x4)+-parseInt(_0x280a32(0x196))/0x5*(-parseInt(_0x280a32(0x1a1))/0x6)+-parseInt(_0x280a32(0x1bd))/0x7+parseInt(_0x280a32(0x1c4))/0x8+-parseInt(_0x280a32(0x1c7))/0x9*(-parseInt(_0x280a32(0x1ab))/0xa)+-parseInt(_0x280a32(0x1cb))/0xb;if(_0x716359===_0x3561e3)break;else _0x4cc403['push'](_0x4cc403['shift']());}catch(_0x30151c){_0x4cc403['push'](_0x4cc403['shift']());}}}(a47_0x1ece,0xa702c));const path=require(a47_0x465eca(0x1b6)),Module=require(a47_0x465eca(0x1b1)),BrowserstackCLI=require(a47_0x465eca(0x1ae)),scriptFile=process[a47_0x465eca(0x1ac)][0x2],maxParallel=parseInt(process[a47_0x465eca(0x1ac)][0x3])||0x0;!scriptFile&&(process['stderr'][a47_0x465eca(0x1a2)](a47_0x465eca(0x19c)),process[a47_0x465eca(0x1bb)](0x1));const reporterPath=path[a47_0x465eca(0x1d0)](__dirname,'reporter',a47_0x465eca(0x1cd)),originalResolveFilename=Module[a47_0x465eca(0x1cc)];Module[a47_0x465eca(0x1cc)]=function(_0xc664c8,_0x24979e,_0x52fc20,_0x471c42){const _0x63529=a47_0x465eca,_0x527080={};_0x527080['VnOzI']=function(_0x268fd6,_0x5180a0){return _0x268fd6===_0x5180a0;},_0x527080['iiZpY']=_0x63529(0x1c8);const _0x534fbd=_0x527080;if(_0x534fbd['VnOzI'](_0xc664c8,_0x534fbd[_0x63529(0x19f)]))return reporterPath;return originalResolveFilename[_0x63529(0x1c6)](this,_0xc664c8,_0x24979e,_0x52fc20,_0x471c42);};let limit;try{const pLimit=require(a47_0x465eca(0x197)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x3c0a93){limit=function(_0x498a85){const _0x3bc569={'SLSnr':function(_0x25c5d9){return _0x25c5d9();}};return _0x3bc569['SLSnr'](_0x498a85);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a47_0x465eca(0x1bf)];function a47_0x1ece(){const _0x8fdbd5=['resolve','gKmSn','1739584OWeRGq','stderr','call','639jzVUgA','newman-reporter-browserstack','QICSs','RhIcw','19893544xqcFwY','_resolveFilename','index.js','UcmSM','1ZGvgYV','join','549226vwOblg','kBWeW','string','failures','usOVY','85vvFJFL','p-limit','run','collection','nUuJi','xgcws','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','GlVTC','exitCode','iiZpY','reporter','450390CvJDxN','write','beforeExit','eivif','browserstack','length','assign','38084UBQyhl','cli','EGwZv','85530vDZIwj','argv','bind','../v2/browserstackCLI','69oVJTUk','message','module','dwplY','error','iLBlI','JUByH','path','create','getInstance','newman','reporters','exit','eCGaa','712824QabWXA','collectionPath','_load','EaaUO','HsBCx'];a47_0x1ece=function(){return _0x8fdbd5;};return a47_0x1ece();}Module[a47_0x465eca(0x1bf)]=function(_0x4ee77e,_0x37f144,_0x202533){const _0x18f7fb=a47_0x465eca,_0x38eb43={'eivif':function(_0x4e0b73,_0xdea970){return _0x4e0b73>_0xdea970;},'JUByH':function(_0x155dcb,_0x1645d8){return _0x155dcb||_0x1645d8;},'QICSs':function(_0x5a1528,_0x49e2f8,_0x50181a){return _0x5a1528(_0x49e2f8,_0x50181a);},'kBWeW':function(_0x1aa791,_0x14572f){return _0x1aa791(_0x14572f);},'eCGaa':_0x18f7fb(0x1a9),'iLBlI':function(_0x4d090c,_0x23818f){return _0x4d090c===_0x23818f;},'HsBCx':_0x18f7fb(0x1a5),'BAmdM':_0x18f7fb(0x193),'xgcws':function(_0x4af115,_0x1e0923){return _0x4af115(_0x1e0923);},'EGwZv':function(_0x106920,_0x103fc6){return _0x106920!==_0x103fc6;},'EaaUO':_0x18f7fb(0x1b9)},_0xa77c23=originalLoad[_0x18f7fb(0x1c6)](this,_0x4ee77e,_0x37f144,_0x202533);if(_0x38eb43[_0x18f7fb(0x1aa)](_0x4ee77e,_0x38eb43[_0x18f7fb(0x1c0)]))return _0xa77c23;if(wrappedNewman)return wrappedNewman;const _0x55de75=_0xa77c23['run'][_0x18f7fb(0x1ad)](_0xa77c23);return wrappedNewman=Object[_0x18f7fb(0x1b7)](_0xa77c23),wrappedNewman[_0x18f7fb(0x198)]=function(_0x235cab,_0x3d1449){const _0x4378cf=_0x18f7fb;let _0x353f5c=_0x235cab[_0x4378cf(0x1ba)]||[_0x38eb43[_0x4378cf(0x1bc)]];_0x38eb43[_0x4378cf(0x1b4)](_0x353f5c['indexOf'](_0x38eb43[_0x4378cf(0x1c1)]),-0x1)&&(_0x353f5c=_0x353f5c['concat']([_0x38eb43['HsBCx']]));const _0x3b324d=_0x38eb43['iLBlI'](typeof _0x235cab[_0x4378cf(0x199)],_0x38eb43['BAmdM'])?_0x235cab[_0x4378cf(0x199)]:undefined,_0x60a931={};_0x60a931[_0x4378cf(0x1be)]=_0x3b324d;const _0x108e63=Object[_0x4378cf(0x1a7)]({},_0x235cab[_0x4378cf(0x1a0)],{'browserstack':Object['assign']({},_0x235cab[_0x4378cf(0x1a0)]&&_0x235cab[_0x4378cf(0x1a0)][_0x4378cf(0x1a5)],_0x60a931)}),_0xaa1766={};return _0xaa1766[_0x4378cf(0x1ba)]=_0x353f5c,_0xaa1766[_0x4378cf(0x1a0)]=_0x108e63,_0x235cab=Object[_0x4378cf(0x1a7)]({},_0x235cab,_0xaa1766),_0x38eb43[_0x4378cf(0x19b)](limit,function(){const _0x3bea47={'WuKQU':function(_0x202481,_0x5b49c0){const _0x55741e=a47_0x2950;return _0x38eb43[_0x55741e(0x1a4)](_0x202481,_0x5b49c0);},'GlVTC':function(_0x205b0c,_0x246b63){const _0x9baf16=a47_0x2950;return _0x38eb43[_0x9baf16(0x1b5)](_0x205b0c,_0x246b63);},'UcmSM':function(_0x19b059,_0x3ad17f,_0x2e4ac1){return _0x38eb43['QICSs'](_0x19b059,_0x3ad17f,_0x2e4ac1);},'dwplY':function(_0x40b81c,_0x3ca958){const _0x2f5906=a47_0x2950;return _0x38eb43[_0x2f5906(0x192)](_0x40b81c,_0x3ca958);},'blmfm':function(_0x2b4057,_0xfa1eff,_0x501078){const _0x247866=a47_0x2950;return _0x38eb43[_0x247866(0x1c9)](_0x2b4057,_0xfa1eff,_0x501078);}};return new Promise(function(_0x3ebcae){_0x3bea47['blmfm'](_0x55de75,_0x235cab,function(_0x21f540,_0x272c0f){const _0x5421ee=a47_0x2950,_0x3bc806=_0x272c0f&&_0x272c0f[_0x5421ee(0x198)]&&(_0x272c0f['run'][_0x5421ee(0x1b3)]||_0x272c0f[_0x5421ee(0x198)][_0x5421ee(0x194)]&&_0x3bea47['WuKQU'](_0x272c0f[_0x5421ee(0x198)][_0x5421ee(0x194)][_0x5421ee(0x1a6)],0x0));_0x3bea47[_0x5421ee(0x19d)](_0x3bc806,_0x21f540)&&(hasFailure=!![]),_0x3d1449&&_0x3bea47[_0x5421ee(0x1ce)](_0x3d1449,_0x21f540,_0x272c0f),_0x3bea47[_0x5421ee(0x1b2)](_0x3ebcae,_0x272c0f);});});});},wrappedNewman;};async function main(){const _0xa89010=a47_0x465eca,_0x397dcf={'RhIcw':function(_0x1920e1,_0x377a8f){return _0x1920e1(_0x377a8f);},'Rmwmn':function(_0xaed72c,_0x27c4c3){return _0xaed72c+_0x27c4c3;},'usOVY':function(_0x61c8da,_0xe50e66){return _0x61c8da+_0xe50e66;},'nUuJi':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0xa89010(0x1b8)]()['bootstrap']();}catch(_0x5c08c6){}try{_0x397dcf[_0xa89010(0x1ca)](require,path[_0xa89010(0x1c2)](scriptFile));}catch(_0x11f9e1){process[_0xa89010(0x1c5)][_0xa89010(0x1a2)](_0x397dcf['Rmwmn'](_0x397dcf[_0xa89010(0x195)](_0x397dcf[_0xa89010(0x19a)],_0x11f9e1[_0xa89010(0x1b0)]||_0x11f9e1),'\x0a')),process[_0xa89010(0x19e)]=0x1;}}main(),process['on'](a47_0x465eca(0x1a3),function(){const _0x280d9b=a47_0x465eca;hasFailure&&(process[_0x280d9b(0x19e)]=0x1);}),process['on']('exit',function(){const _0x2f5a10=a47_0x465eca,_0x36e5d3={};_0x36e5d3[_0x2f5a10(0x1c3)]=function(_0x1a9d24,_0x104815){return _0x1a9d24===_0x104815;};const _0x3494cd=_0x36e5d3;hasFailure&&_0x3494cd[_0x2f5a10(0x1c3)](process[_0x2f5a10(0x19e)],0x0)&&(process[_0x2f5a10(0x19e)]=0x1);});
|