browserstack-node-sdk 1.65.6 → 1.66.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/generated/sdk-messages_pb.d.ts +118 -0
- package/generated/sdk-messages_pb.js +908 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +74 -0
- 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 -0
- package/src/bin/detox/command.js +2 -0
- package/src/bin/detox/modifyDetoxConf.js +1 -0
- package/src/bin/detox/traEmitter.js +1 -0
- 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/detox-driver/a11y.js +574 -0
- package/src/detox-driver/allocationDriver.js +26 -0
- package/src/detox-driver/cloudPlatformAction.js +111 -0
- package/src/detox-driver/environment.js +253 -0
- package/src/detox-driver/expect.js +44 -0
- package/src/detox-driver/index.js +12 -0
- package/src/detox-driver/login-timeout-preload.js +25 -0
- package/src/detox-driver/runtimeDriver.js +351 -0
- package/src/detox-driver/session-reporter.js +41 -0
- package/src/detox-driver/tra-capture.js +81 -0
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a42_0x347a(){const _0x420beb=['jDHMq','JVQDK','failed','getHookDetails','__cloud_provider___','getHookSkippedTests','PgKCy','filter','SMLxy','split','4953213NzUchr','_afterAll','hook','HIsfF','KRYQV','slice','push','forEach','getCapabilities','sendPlatformDetails','toISOString','concat','NNlfD','wHexp','getSession','gtVfi','pending','5PtgCTM','getBrowserName','getTestEnv','../../utils/logPatcher','rvdxE','state','parent','indexOf','ZTpwi','tSGmt','../../../helpers/test-observability/constants','reduce','DEcqC','4121856YedZAl','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','passed','_beforeAll','suites','5018769iPPEKX','rZCfa','platformVersion','js-','getHooksForTest','kvmOB','BGQyA','map_','../../../../package.json','eyPjT','getBrowserVersion','lodash','type','hQmSJ','TEST_PLATFORM','mapTestHooks','tMKcB','EMasZ','getPlatform','../../../helpers/testhub/utils','substring','hmyMp','generic','markedStatus','gDdKr','../../../helpers/test-observability/utils','EiWTj','browserstack','pbvSf','1PqqqDG','1760271LFgENR','bs:addPlatformDetails:','BGBHK','string','_afterEach','ijUhD','926360bPZxEb','hookAnalyticsId','../../../helpers/helper','3603612WQbWIn','oUQWe','hook:','65664GZkShD','MknNH','get','pid'];a42_0x347a=function(){return _0x420beb;};return a42_0x347a();}const a42_0x592e1e=a42_0x3f32;(function(_0xdbfcc6,_0x229661){const _0x31b78f=a42_0x3f32,_0x113c87=_0xdbfcc6();while(!![]){try{const _0x156eae=parseInt(_0x31b78f(0x139))/0x1*(-parseInt(_0x31b78f(0x140))/0x2)+parseInt(_0x31b78f(0x13a))/0x3+-parseInt(_0x31b78f(0x143))/0x4*(-parseInt(_0x31b78f(0x165))/0x5)+parseInt(_0x31b78f(0x146))/0x6+parseInt(_0x31b78f(0x11c))/0x7+-parseInt(_0x31b78f(0x117))/0x8+-parseInt(_0x31b78f(0x154))/0x9;if(_0x156eae===_0x229661)break;else _0x113c87['push'](_0x113c87['shift']());}catch(_0x1cd7c5){_0x113c87['push'](_0x113c87['shift']());}}}(a42_0x347a,0xa7ad2));const {v4:uuidv4}=require('uuid'),{name,version}=require(a42_0x592e1e(0x124)),logPatcher=require(a42_0x592e1e(0x168)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a42_0x592e1e(0x16f)),{getPlatformVersion,isBrowserstackInfra}=require(a42_0x592e1e(0x142)),{shouldProcessEventForTesthub}=require(a42_0x592e1e(0x12f)),{isFunction}=require(a42_0x592e1e(0x127)),{patchConsoleLogger}=require(a42_0x592e1e(0x135));function a42_0x3f32(_0x33057d,_0x3f2a78){const _0x347ab5=a42_0x347a();return a42_0x3f32=function(_0x3f3277,_0x5a7fc7){_0x3f3277=_0x3f3277-0x116;let _0x27cb8c=_0x347ab5[_0x3f3277];return _0x27cb8c;},a42_0x3f32(_0x33057d,_0x3f2a78);}patchConsoleLogger(),exports[a42_0x592e1e(0x167)]=()=>{const _0x16eeff=a42_0x592e1e,_0x31d66f={'rvdxE':_0x16eeff(0x132),'tSGmt':function(_0x23c403){return _0x23c403();}};return{'ci':_0x31d66f[_0x16eeff(0x169)],'key':_0x31d66f[_0x16eeff(0x16e)](uuidv4),'version':version,'collector':_0x16eeff(0x11f)+name};},exports[a42_0x592e1e(0x14d)]=_0x2541f3=>{const _0x20736c=a42_0x592e1e,_0x3e4d8c={};_0x3e4d8c[_0x20736c(0x13f)]=function(_0x45be7e,_0x531f6b){return _0x45be7e!==_0x531f6b;},_0x3e4d8c[_0x20736c(0x116)]=_0x20736c(0x13d),_0x3e4d8c['HIsfF']=_0x20736c(0x145),_0x3e4d8c[_0x20736c(0x160)]=function(_0x4de743,_0x38bb2f){return _0x4de743!==_0x38bb2f;},_0x3e4d8c['BGQyA']=_0x20736c(0x156);const _0x35469f=_0x3e4d8c;if(!_0x2541f3||_0x35469f[_0x20736c(0x13f)](typeof _0x2541f3,_0x35469f[_0x20736c(0x116)]))return[null,null];if(_0x35469f[_0x20736c(0x13f)](_0x2541f3[_0x20736c(0x16c)](_0x35469f[_0x20736c(0x157)]),-0x1)){const _0x2e986a=_0x2541f3[_0x20736c(0x153)](_0x35469f[_0x20736c(0x157)]);return[_0x2e986a[0x0][_0x20736c(0x159)](0x0,-0x1)[_0x20736c(0x153)]('\x22')[0x1],_0x2e986a[0x1][_0x20736c(0x130)](0x1)];}else{if(_0x35469f[_0x20736c(0x160)](_0x2541f3[_0x20736c(0x16c)](_0x35469f[_0x20736c(0x122)]),-0x1)){const _0x53545f=_0x2541f3['split'](_0x35469f[_0x20736c(0x122)]);return[_0x53545f[0x0]['slice'](0x0,-0x1)[_0x20736c(0x153)]('\x22')[0x1],_0x2541f3];}}return[null,null];},exports[a42_0x592e1e(0x120)]=_0x321011=>{const _0x3e5744=a42_0x592e1e,_0x2a78b0={'jDHMq':function(_0x4c46cd,_0x348f9f){return _0x4c46cd(_0x348f9f);},'BwXgm':_0x3e5744(0x11a),'pbvSf':'_afterAll','KRYQV':'_beforeEach','hQmSJ':_0x3e5744(0x13e)};if(!_0x321011||!_0x321011[_0x3e5744(0x16b)])return[];const _0x450a98=[];return[_0x2a78b0['BwXgm'],_0x2a78b0[_0x3e5744(0x138)],_0x2a78b0[_0x3e5744(0x158)],_0x2a78b0[_0x3e5744(0x129)]][_0x3e5744(0x15b)](_0x3b2ac2=>{const _0x8fe405=_0x3e5744,_0x3a5fe4=_0x321011[_0x8fe405(0x16b)][_0x3b2ac2]||[];_0x3a5fe4[_0x8fe405(0x15b)](_0x4d1d87=>{const _0x2de320=_0x8fe405;_0x4d1d87['hookAnalyticsId']&&!_0x2a78b0[_0x2de320(0x14a)](isInternalHook,_0x4d1d87['fn'])&&_0x450a98[_0x2de320(0x15a)](_0x4d1d87[_0x2de320(0x141)]);});}),[..._0x450a98,...exports[_0x3e5744(0x120)](_0x321011[_0x3e5744(0x16b)])];},exports[a42_0x592e1e(0x12b)]=_0x401e99=>{const _0xa943b8=a42_0x592e1e,_0x5459d0={'oUQWe':function(_0x77c3f2){return _0x77c3f2();},'gtVfi':function(_0x464e53,_0x1ac4ba){return _0x464e53===_0x1ac4ba;},'EMasZ':_0xa943b8(0x13e),'QXyVx':function(_0x12a88f){return _0x12a88f();},'SMLxy':'_beforeAll','rZCfa':_0xa943b8(0x155),'BGBHK':'_beforeEach'};if(!_0x401e99||!_0x401e99[_0xa943b8(0x16b)])return;[_0x5459d0[_0xa943b8(0x152)],_0x5459d0[_0xa943b8(0x11d)],_0x5459d0[_0xa943b8(0x13c)],_0x5459d0['EMasZ']]['forEach'](_0x3f3ff0=>{const _0xdc744c=_0x401e99['parent'][_0x3f3ff0]||[];_0xdc744c['forEach'](_0x533112=>{const _0x1ffb12=a42_0x3f32;if(!_0x533112[_0x1ffb12(0x141)])_0x533112[_0x1ffb12(0x141)]=_0x5459d0[_0x1ffb12(0x144)](uuidv4);else _0x533112[_0x1ffb12(0x133)]&&_0x5459d0[_0x1ffb12(0x163)](_0x3f3ff0,_0x5459d0[_0x1ffb12(0x12d)])&&(_0x533112[_0x1ffb12(0x141)]=_0x5459d0['QXyVx'](uuidv4),delete _0x533112['markedStatus']);});}),exports[_0xa943b8(0x12b)](_0x401e99[_0xa943b8(0x16b)]);},exports[a42_0x592e1e(0x15d)]=async(_0x24006a,_0xf0d2db)=>{const _0x521ef5=a42_0x592e1e,_0x5cad9c={'JVQDK':function(_0x3a1ef6){return _0x3a1ef6();},'zWQWp':function(_0xb5d4d0){return _0xb5d4d0();},'kvmOB':_0x521ef5(0x137),'GENMb':function(_0x5d55c2,_0x1022a6,_0x3fe169){return _0x5d55c2(_0x1022a6,_0x3fe169);},'WCxem':_0x521ef5(0x11e),'PgKCy':function(_0x13e701,_0x5e2182){return _0x13e701(_0x5e2182);},'gDdKr':function(_0x5a341e,_0x204655){return _0x5a341e===_0x204655;},'wHexp':'unknown_grid','tMKcB':_0x521ef5(0x12a),'MknNH':function(_0x562331,_0x41d577){return _0x562331(_0x41d577);}};try{if(!_0x5cad9c[_0x521ef5(0x14b)](shouldProcessEventForTesthub))return;const _0x3836c9=await _0x24006a[_0x521ef5(0x15c)](),_0x290943=await _0x24006a[_0x521ef5(0x162)](),_0x457e90={},_0x2ebf55=Object['fromEntries'](_0x290943['getCapabilities']()[_0x521ef5(0x123)]),_0x62db74=_0x5cad9c['zWQWp'](isBrowserstackInfra)?_0x5cad9c[_0x521ef5(0x121)]:global[_0x521ef5(0x14e)],_0x2ab027={'product':_0x5cad9c['GENMb'](getObservabilityLinkedProductName,_0x2ebf55,_0x62db74),'capabilities':_0x2ebf55,'platform':_0x3836c9[_0x521ef5(0x12e)](),'platform_version':_0x3836c9[_0x521ef5(0x148)](_0x5cad9c['WCxem'])?_0x3836c9['get'](_0x5cad9c['WCxem']):_0x5cad9c[_0x521ef5(0x150)](getPlatformVersion,_0x5cad9c[_0x521ef5(0x134)](_0x62db74,_0x5cad9c[_0x521ef5(0x121)])),'browser':_0x3836c9[_0x521ef5(0x166)](),'browser_version':_0x3836c9[_0x521ef5(0x126)](),'session_id':_0x290943['toJSON']()};_0x62db74?_0x457e90[_0x62db74]=_0x2ab027:_0x457e90[_0x5cad9c[_0x521ef5(0x161)]]=_0x2ab027,process['emit'](_0x521ef5(0x13b)+process[_0x521ef5(0x149)],{'timestamp':new Date()[_0x521ef5(0x15e)](),'level':null,'message':null,'kind':_0x5cad9c[_0x521ef5(0x12c)],'http_response':_0x457e90,'uuid':_0xf0d2db});}catch(_0x307429){_0x5cad9c[_0x521ef5(0x147)](debug,_0x521ef5(0x118)+_0x307429);}},exports[a42_0x592e1e(0x14f)]=_0x5200b9=>{const _0x3c4eae=a42_0x592e1e,_0x17814c={};_0x17814c[_0x3c4eae(0x125)]=function(_0x356d5a,_0xb8dce9){return _0x356d5a!==_0xb8dce9;},_0x17814c[_0x3c4eae(0x131)]=_0x3c4eae(0x156),_0x17814c[_0x3c4eae(0x16d)]=_0x3c4eae(0x119),_0x17814c[_0x3c4eae(0x136)]=_0x3c4eae(0x14c);const _0x295bd9=_0x17814c,_0x420a5e=_0x5200b9[_0x3c4eae(0x11b)][_0x3c4eae(0x170)]((_0x1fb628,_0x23a164)=>{const _0x4c1b27=_0x3c4eae,_0x17d3e6=exports[_0x4c1b27(0x14f)](_0x23a164);return _0x17d3e6&&(_0x1fb628=_0x1fb628[_0x4c1b27(0x15f)](_0x17d3e6)),_0x1fb628;},[]),_0x1304ad=_0x5200b9['tests'][_0x3c4eae(0x151)](_0x1c4076=>{const _0x360c59=_0x3c4eae,_0x4b19fd=_0x295bd9[_0x360c59(0x125)](_0x1c4076[_0x360c59(0x128)],_0x295bd9['hmyMp'])&&!_0x1c4076[_0x360c59(0x133)]&&_0x295bd9['eyPjT'](_0x1c4076['state'],_0x295bd9[_0x360c59(0x16d)])&&_0x295bd9[_0x360c59(0x125)](_0x1c4076[_0x360c59(0x16a)],_0x295bd9[_0x360c59(0x136)])&&!_0x1c4076[_0x360c59(0x164)];return _0x4b19fd;});return _0x1304ad['concat'](_0x420a5e);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a39_0x46ee(){const _0x2c4abc=['\x20|\x20','index','yYoIx','join','./test-observability/mochaUtils','app','eJNSe','2844680jFmWJc','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','dqPBM','zyDMr','percy','hxwdv','winstonLogger','Asqyf','testcase','LxNqO','MBDvf','finally','../utils/constants','getGlobal','SESSION_STATUS','457013YSQHHU','Zqhgx','PDVEA','titlePath','Accessibility\x20scan\x20completed\x20successfully','getCurrentUrl','tftdj','stringify','thBuildUuid','gpZbu','atkiO','UiyyD','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','XJZLC','JhIPu','driverCleanup','IafIc','jHMFz','command','VeLMX','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','\x20-\x20','shift','JrxHD','timeout','../../helpers/globals','isAccessibilityPlatform','QpRUB','PERFORM_SCAN','quitCount_','__platformCaps','sessionName','beforeEach','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','bstackA11yScanOptions','1202086QDZlvQ','__error_messages__','BROWSERSTACK_TESTHUB_UUID','iZPoz','__sessionFailed','564624iNOKGx','../../helpers/testhub/utils','browserstackSessionName','length','GTkNm','parse','AltKT','Failed\x20to\x20store\x20session\x20name:\x20','slIti','appium:app','CILGf','\x22}}','ieQdG','EMhtB','QshzW','nnFCR','PPPsi','cFXxA','format','../../helpers/accessibility-automation/helper','SESSION_NAME','mAyrA','isArray','message','__drivers',',\x22level\x22:\x20\x22','http:','FEXvJ','thTestRunUuid','info','Mocha','95wvzkCu','bNYUM','wEjTT','Accessibility\x20results\x20saved\x20successfully','JsUIr','CdLgo','FRWDw','BROWSERSTACK_TESTHUB_JWT','nxsMK','aozqz','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','https:','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','KHtRM','iJlgZ','testAnalyticsId','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','51888bDfBRS','YgPEi','uPRcA','wditY','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','EyBfD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','pguJX','passed','../../helpers/testhub/constants','autoScanning','then','env','mocha','setGlobal','bstackA11yShouldScan','eRgdE','currentTest','fzUwS','../../helpers/logger','NPZnO','IfZEk','ObservabilitySync:','start','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','iqfdQ','hOdnF','error','shouldScanTestForAccessibility','sEJHf','Failed:\x20','ThPQk','77tuyCzb','performScanWithRetry','installAll','state','tXxtU','util','bOtcW','HbkSd','WTOYL','push','session_','BCueZ','WRWKm','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','__skipSessionName','KYcKd','SDK_HOOK','UaznL','NzmAE','afterTest','thJwtToken','executeScript','ajcNj','ruYQH','warn','qTBSw','jLgcA','GtkVD','Passed','yclbT','egkYU','IogLi','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','135092QEhvaG','YVkrK','../../helpers/performance/constants','GKpky','oODil','SYNC','measureWrapper','cYShq','end','jIpRC','afterEach','mochaHooks','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','QJVIi','yXBEk','rnglG','beforeAll','foyKT','99318uQtKgq','err','UgRJC','XeaRt','../../helpers/accessibility-automation/accessibilityRetryHelper','failed','now','driver-init\x20capture\x20install\x20failed:\x20','Ockym','startMonitoring','mIIEM','debug','PLbTu','sNePa'];a39_0x46ee=function(){return _0x2c4abc;};return a39_0x46ee();}const a39_0x2f605a=a39_0xb330;(function(_0x102833,_0x412f82){const _0x22c766=a39_0xb330,_0x531f71=_0x102833();while(!![]){try{const _0x109d72=parseInt(_0x22c766(0x242))/0x1+parseInt(_0x22c766(0x265))/0x2+parseInt(_0x22c766(0x1c9))/0x3+parseInt(_0x22c766(0x20c))/0x4*(-parseInt(_0x22c766(0x1b8))/0x5)+-parseInt(_0x22c766(0x21e))/0x6*(-parseInt(_0x22c766(0x1eb))/0x7)+-parseInt(_0x22c766(0x233))/0x8+parseInt(_0x22c766(0x26a))/0x9;if(_0x109d72===_0x412f82)break;else _0x531f71['push'](_0x531f71['shift']());}catch(_0x567ae9){_0x531f71['push'](_0x531f71['shift']());}}}(a39_0x46ee,0x4ed53));function a39_0xb330(_0x4c761d,_0x5b7916){const _0x46eec4=a39_0x46ee();return a39_0xb330=function(_0xb3302b,_0x42ea03){_0xb3302b=_0xb3302b-0x19a;let _0x384436=_0x46eec4[_0xb3302b];return _0x384436;},a39_0xb330(_0x4c761d,_0x5b7916);}const util=require(a39_0x2f605a(0x1f0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a39_0x2f605a(0x1ac)),accessibilityRetryHelper=require(a39_0x2f605a(0x222)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a39_0x2f605a(0x23f)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a39_0x2f605a(0x230)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a39_0x2f605a(0x20e)),globals=require(a39_0x2f605a(0x25b)),logger=require(a39_0x2f605a(0x1de))[a39_0x2f605a(0x239)],{shouldProcessEventForTesthub}=require(a39_0x2f605a(0x19a)),testHubConstants=require(a39_0x2f605a(0x1d4));try{require('../../helpers/driverInitErrorReporter')[a39_0x2f605a(0x1ed)](a39_0x2f605a(0x1d8));}catch(a39_0xe91688){logger[a39_0x2f605a(0x229)](a39_0x2f605a(0x225)+(a39_0xe91688&&a39_0xe91688[a39_0x2f605a(0x1b0)]));}exports[a39_0x2f605a(0x217)]={'beforeAll'(){const _0x1969ae=a39_0x2f605a,_0x3420d9={'ThPQk':function(_0x58eb1e,_0x213345,_0x32f585,_0x861cb){return _0x58eb1e(_0x213345,_0x32f585,_0x861cb);},'pguJX':_0x1969ae(0x223),'WTOYL':_0x1969ae(0x22c),'CdLgo':function(_0x21f699,_0x1939a0,_0x204272){return _0x21f699(_0x1939a0,_0x204272);},'Asqyf':_0x1969ae(0x1d3),'KUdFE':function(_0x212a0f){return _0x212a0f();},'GtkVD':_0x1969ae(0x22d),'ajcNj':_0x1969ae(0x21c)};PerformanceTester[_0x1969ae(0x227)]();const _0x54f41c='browserstack internal helper hook';PerformanceTester[_0x1969ae(0x212)](PerformanceSdkEvents[_0x1969ae(0x1fb)],()=>{const _0x36583b=_0x1969ae,_0x49c69c={'JsUIr':function(_0x17cc10,_0x3b8da9,_0x668d1e,_0x313f28){const _0x5d7f42=a39_0xb330;return _0x3420d9[_0x5d7f42(0x1ea)](_0x17cc10,_0x3b8da9,_0x668d1e,_0x313f28);},'sNePa':_0x3420d9[_0x36583b(0x1d2)],'jIpRC':_0x3420d9[_0x36583b(0x1f3)],'HaHny':function(_0x4c0bb9,_0x106627,_0x219cb8){const _0x31418b=_0x36583b;return _0x3420d9[_0x31418b(0x1bd)](_0x4c0bb9,_0x106627,_0x219cb8);},'VoYbY':_0x3420d9[_0x36583b(0x23a)],'iJlgZ':function(_0x277fff){return _0x3420d9['KUdFE'](_0x277fff);}};global[_0x36583b(0x266)]=[],global[_0x36583b(0x269)]=![],global[_0x36583b(0x251)]=async()=>{const _0x12ae63=_0x36583b;let _0x135ab3=![];try{await global[_0x12ae63(0x1b1)][0x0][_0x12ae63(0x1f5)],_0x135ab3=!![],global[_0x12ae63(0x269)]?await _0x49c69c[_0x12ae63(0x1bc)](markSessionStatus,global['__drivers'][0x0],_0x49c69c[_0x12ae63(0x22b)],global[_0x12ae63(0x266)][_0x12ae63(0x22f)](_0x49c69c[_0x12ae63(0x215)])):await _0x49c69c['HaHny'](markSessionStatus,global[_0x12ae63(0x1b1)][0x0],_0x49c69c['VoYbY']);}catch(_0x56f97a){logger[_0x12ae63(0x229)](_0x12ae63(0x234)+_0x56f97a);}global['__error_messages__']=[],global[_0x12ae63(0x269)]=![];if(_0x135ab3)try{try{_0x49c69c[_0x12ae63(0x1c6)](shouldProcessEventForTesthub)&&(global[_0x12ae63(0x1b1)][0x0]&&await _0x49c69c['HaHny'](sendPlatformDetails,global[_0x12ae63(0x1b1)][0x0],this[_0x12ae63(0x1dc)]?this[_0x12ae63(0x1dc)][_0x12ae63(0x1c7)]:null));}catch(_0x34470b){logger[_0x12ae63(0x229)](_0x12ae63(0x1f8)+_0x34470b);}await global[_0x12ae63(0x1b1)][0x0]['initQuit']();}catch(_0x1b022b){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1b022b);}};},{'platform':_0x3420d9['CdLgo'](nestedKeyValue,global[_0x1969ae(0x260)],[_0x3420d9[_0x1969ae(0x206)]]),'hookType':_0x3420d9[_0x1969ae(0x201)]})();},'beforeEach'(_0x29ecd4){const _0x4b9ee3=a39_0x2f605a,_0x5687f7={'IafIc':function(_0x4a67db){return _0x4a67db();},'pbNuw':function(_0x1547fd,_0x3f2778){return _0x1547fd>_0x3f2778;},'slIti':function(_0x7255ce,_0x1c9647){return _0x7255ce>_0x1c9647;},'BCueZ':_0x4b9ee3(0x257),'HbkSd':function(_0x3dc6d8,_0xecaa97,_0x264d29){return _0x3dc6d8(_0xecaa97,_0x264d29);},'bNYUM':function(_0x1384b4,_0x4308f4){return _0x1384b4===_0x4308f4;},'iZPoz':_0x4b9ee3(0x1da),'Ztwwa':_0x4b9ee3(0x264),'CILGf':_0x4b9ee3(0x25c),'tftdj':_0x4b9ee3(0x1b3),'UiyyD':_0x4b9ee3(0x1c3),'JrxHD':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SzUwf':_0x4b9ee3(0x1cd),'QshzW':'browserstackTestName','IfZEk':'index','CvXZN':_0x4b9ee3(0x262)};globals[_0x4b9ee3(0x1d9)](_0x5687f7[_0x4b9ee3(0x1a7)],this[_0x4b9ee3(0x1dc)][_0x4b9ee3(0x245)]()['join'](_0x5687f7[_0x4b9ee3(0x1f6)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4b9ee3(0x1fb)],()=>{const _0x4678e1=_0x4b9ee3,_0x32f7c1={'JhIPu':function(_0x49e5c1,_0x3996ca){return _0x5687f7['pbNuw'](_0x49e5c1,_0x3996ca);},'yYoIx':function(_0x1cc36f,_0x1f9c36){const _0x1d1e7e=a39_0xb330;return _0x5687f7[_0x1d1e7e(0x1a1)](_0x1cc36f,_0x1f9c36);},'UgRJC':_0x5687f7[_0x4678e1(0x1f6)],'nnFCR':function(_0x8331a1,_0x2d5690,_0x116ec9){const _0x3a01e9=_0x4678e1;return _0x5687f7[_0x3a01e9(0x1f2)](_0x8331a1,_0x2d5690,_0x116ec9);},'uPRcA':function(_0x1029db,_0x3a095e){const _0x54ac2a=_0x4678e1;return _0x5687f7[_0x54ac2a(0x1b9)](_0x1029db,_0x3a095e);},'LCcjF':_0x5687f7[_0x4678e1(0x268)],'yXBEk':_0x5687f7['Ztwwa'],'NPZnO':function(_0x113d06){const _0xa012ba=_0x4678e1;return _0x5687f7[_0xa012ba(0x252)](_0x113d06);},'gpZbu':_0x5687f7[_0x4678e1(0x1a3)],'QJVIi':_0x5687f7[_0x4678e1(0x248)],'JGjoo':function(_0x1253ff,_0x4479cf){return _0x5687f7['bNYUM'](_0x1253ff,_0x4479cf);},'KiwxG':_0x5687f7[_0x4678e1(0x24d)],'ieQdG':_0x5687f7[_0x4678e1(0x259)],'baBZe':_0x5687f7['SzUwf']},_0x9160dd='browserstack internal helper hook';new Promise(async _0x554928=>{const _0x2464c5=_0x4678e1;let _0x1ca0f6=!![];try{_0x32f7c1[_0x2464c5(0x250)](global[_0x2464c5(0x1b1)][_0x2464c5(0x19c)],0x1)&&(await global[_0x2464c5(0x251)](),global[_0x2464c5(0x1b1)][_0x2464c5(0x258)]()),_0x32f7c1[_0x2464c5(0x22e)](global[_0x2464c5(0x1b1)][0x0][_0x2464c5(0x25f)],0x0)&&(_0x1ca0f6=![],await global['driverCleanup']());}catch(_0x5a2190){logger[_0x2464c5(0x229)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5a2190);}try{Array[_0x2464c5(0x1af)](global['__drivers'])&&global[_0x2464c5(0x1b1)][0x0]&&(global[_0x2464c5(0x1b1)][0x0][_0x2464c5(0x19b)]=this[_0x2464c5(0x1dc)][_0x2464c5(0x245)]()[_0x2464c5(0x22f)](_0x32f7c1[_0x2464c5(0x220)])),global[_0x2464c5(0x19b)]=this[_0x2464c5(0x1dc)]['titlePath']()[_0x2464c5(0x22f)](_0x32f7c1['UgRJC']);}catch(_0xc39f6b){logger[_0x2464c5(0x229)](_0x2464c5(0x1a0)+_0xc39f6b);}this[_0x2464c5(0x1dc)][_0x2464c5(0x1e7)]=_0x32f7c1[_0x2464c5(0x1a8)](shouldScanTestForAccessibility,this['currentTest'][_0x2464c5(0x245)](),!![]);let _0x3d4e9f=!![];try{const _0x32d72f=JSON[_0x2464c5(0x19e)](process[_0x2464c5(0x1d7)][_0x2464c5(0x1d1)]||'{}');_0x32f7c1[_0x2464c5(0x1cb)](_0x32d72f[_0x2464c5(0x1d5)],![])&&(_0x3d4e9f=![]);}catch(_0x1ad862){logger['debug'](_0x2464c5(0x1cf)+_0x1ad862[_0x2464c5(0x1b0)]);}const _0x13f8b4=_0x3d4e9f&&this[_0x2464c5(0x1dc)][_0x2464c5(0x1e7)];globals['setGlobal'](_0x32f7c1['LCcjF'],_0x13f8b4),globals['setGlobal'](_0x32f7c1[_0x2464c5(0x21a)],null),this[_0x2464c5(0x1dc)]['accessibilityScanStarted']=this[_0x2464c5(0x1dc)]['shouldScanTestForAccessibility'];if(_0x32f7c1[_0x2464c5(0x1df)](isAccessibilityAutomationSession)&&_0x1ca0f6&&Array[_0x2464c5(0x1af)](global[_0x2464c5(0x1b1)])&&_0x32f7c1[_0x2464c5(0x250)](global[_0x2464c5(0x1b1)][_0x2464c5(0x19c)],0x0)&&globals['getGlobal'](_0x32f7c1[_0x2464c5(0x24b)]))try{const _0x330406=await global['__drivers'][0x0]['session_'];if(_0x330406){let _0xb21b8e=!![];const _0x148ef3=await global['__drivers'][0x0][_0x2464c5(0x247)]();let _0x4292eb;try{_0x4292eb=new URL(_0x148ef3),_0xb21b8e=_0x32f7c1[_0x2464c5(0x1cb)](_0x4292eb['protocol'],_0x32f7c1[_0x2464c5(0x219)])||_0x32f7c1['JGjoo'](_0x4292eb['protocol'],_0x32f7c1['KiwxG']);}catch(_0x26ba75){_0xb21b8e=![];}_0xb21b8e&&(this[_0x2464c5(0x1dc)][_0x2464c5(0x1e7)]&&logger[_0x2464c5(0x1b6)](_0x32f7c1[_0x2464c5(0x1a5)])),this[_0x2464c5(0x1dc)]['accessibilityScanStarted']=this['currentTest'][_0x2464c5(0x1e7)],_0x13f8b4&&logger['info'](_0x32f7c1['baBZe']);}}catch(_0x2757d6){logger[_0x2464c5(0x1e6)](_0x2464c5(0x1c4)+util[_0x2464c5(0x1ab)](_0x2757d6));}_0x32f7c1[_0x2464c5(0x1df)](_0x554928);})[_0x4678e1(0x1d6)](()=>{_0x5687f7['IafIc'](_0x29ecd4);});},{'platform':_0x5687f7[_0x4b9ee3(0x1f2)](nestedKeyValue,global[_0x4b9ee3(0x260)],[_0x5687f7[_0x4b9ee3(0x1e0)]]),'hookType':_0x5687f7['CvXZN']})();},'afterEach'(_0x17786e){const _0x3d1282=a39_0x2f605a,_0x358f75={'hxwdv':function(_0x1226ee){return _0x1226ee();},'Ockym':_0x3d1282(0x257),'UUthP':function(_0x2ca2fd,_0x349293){return _0x2ca2fd!==_0x349293;},'qTBSw':'passed','AltKT':function(_0x41bfcb,_0x41b04a,_0x3d705e){return _0x41bfcb(_0x41b04a,_0x3d705e);},'VeLMX':function(_0x3d837e,_0x4342eb){return _0x3d837e+_0x4342eb;},'bSRpJ':_0x3d1282(0x1e9),'JHLDJ':_0x3d1282(0x1e6),'jLgcA':_0x3d1282(0x207),'zyDMr':_0x3d1282(0x1b6),'rnglG':function(_0x585e2c,_0x850806){return _0x585e2c>_0x850806;},'XJZLC':function(_0x320407,_0x9a050e){return _0x320407===_0x9a050e;},'egkYU':_0x3d1282(0x23b),'fzUwS':function(_0x4ad1a9,_0x1a0982){return _0x4ad1a9>_0x1a0982;},'eRgdE':_0x3d1282(0x1a2),'cYShq':function(_0x2d9186,_0x252be8,_0xaaec55,_0x28cc3f){return _0x2d9186(_0x252be8,_0xaaec55,_0x28cc3f);},'IogLi':'isAccessibilityPlatform','tXxtU':_0x3d1282(0x1e3),'mIIEM':'bstackA11yShouldScan','LxNqO':_0x3d1282(0x218),'FRWDw':_0x3d1282(0x1fe),'okzLV':_0x3d1282(0x246),'QpRUB':_0x3d1282(0x263),'bOtcW':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','jMDoX':_0x3d1282(0x1bb),'aozqz':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','nxsMK':_0x3d1282(0x1c8),'WiKUZ':function(_0x579671){return _0x579671();},'iqfdQ':function(_0x2cb106){return _0x2cb106();},'grsZv':_0x3d1282(0x229),'IDiXb':_0x3d1282(0x1b7),'YgPEi':_0x3d1282(0x22d),'sEJHf':_0x3d1282(0x216)},_0x7f15c8='browserstack internal helper hook';this[_0x3d1282(0x25a)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x358f75['IDiXb']]),global[_0x3d1282(0x261)]=this[_0x3d1282(0x1dc)]['titlePath']()[_0x3d1282(0x22f)](_0x358f75[_0x3d1282(0x226)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3d1282(0x1fb)],()=>{const _0x1697d9=_0x3d1282,_0x4d7ea3={'dqPBM':_0x358f75['Ockym'],'FEXvJ':function(_0x556894,_0x34c04a){return _0x358f75['UUthP'](_0x556894,_0x34c04a);},'KHtRM':_0x358f75[_0x1697d9(0x204)],'UIuoh':function(_0xbab6a1,_0x170932,_0x4e6757){return _0x358f75['AltKT'](_0xbab6a1,_0x170932,_0x4e6757);},'foyKT':function(_0xbab8c5,_0x10a4b0){const _0x368317=_0x1697d9;return _0x358f75[_0x368317(0x255)](_0xbab8c5,_0x10a4b0);},'wEjTT':_0x358f75['bSRpJ'],'GKpky':_0x358f75['JHLDJ'],'lEJdQ':_0x358f75[_0x1697d9(0x205)],'mAyrA':_0x358f75[_0x1697d9(0x236)],'zubNO':function(_0xc2f6d4,_0x38db2b){const _0x5ac87b=_0x1697d9;return _0x358f75[_0x5ac87b(0x21b)](_0xc2f6d4,_0x38db2b);},'NzmAE':function(_0xd6da2d,_0x356340){const _0x385a2e=_0x1697d9;return _0x358f75[_0x385a2e(0x24f)](_0xd6da2d,_0x356340);},'MBDvf':_0x358f75[_0x1697d9(0x209)],'jLMkS':function(_0x5141a5,_0x306908){const _0x2412e2=_0x1697d9;return _0x358f75[_0x2412e2(0x1dd)](_0x5141a5,_0x306908);},'eJNSe':_0x358f75[_0x1697d9(0x1db)],'WRWKm':function(_0x3fada2,_0x49b2c4,_0x17e6d1,_0x333a1e){const _0x4b920c=_0x1697d9;return _0x358f75[_0x4b920c(0x213)](_0x3fada2,_0x49b2c4,_0x17e6d1,_0x333a1e);},'TqFXj':_0x358f75[_0x1697d9(0x20a)],'atkiO':_0x358f75[_0x1697d9(0x1ef)],'UaznL':_0x358f75[_0x1697d9(0x228)],'fXKkl':_0x358f75[_0x1697d9(0x23c)],'cFXxA':_0x358f75[_0x1697d9(0x1be)],'NSVvO':_0x358f75['okzLV'],'GTkNm':_0x358f75[_0x1697d9(0x25d)],'JdOni':_0x358f75[_0x1697d9(0x1f1)],'XeaRt':_0x358f75['jMDoX'],'EyBfD':_0x358f75[_0x1697d9(0x1c1)],'EMhtB':_0x358f75[_0x1697d9(0x1c0)],'jHMFz':function(_0x1ffd64){return _0x358f75['WiKUZ'](_0x1ffd64);},'wditY':function(_0x149cf4,_0x2fbeda,_0x1a3bde){const _0x2220f7=_0x1697d9;return _0x358f75[_0x2220f7(0x19f)](_0x149cf4,_0x2fbeda,_0x1a3bde);},'MuVef':function(_0x9abd){const _0x55b978=_0x1697d9;return _0x358f75[_0x55b978(0x1e4)](_0x9abd);},'eMgqQ':_0x358f75['grsZv'],'XEDqu':function(_0x9f5b38,_0x4bcf4b){const _0x62b879=_0x1697d9;return _0x358f75[_0x62b879(0x21b)](_0x9f5b38,_0x4bcf4b);}},_0x253af2=async(_0x167749,_0x18e236)=>{const _0x15ea1c=_0x1697d9;await global['__drivers'][0x0][_0x15ea1c(0x200)](_0x15ea1c(0x256)+_0x167749+_0x15ea1c(0x1b2)+_0x18e236+_0x15ea1c(0x1a4));};new Promise(async _0x5ab305=>{const _0x5b7a59=_0x1697d9,_0x2f2d9d={'LkivJ':function(_0x2484c4,_0xd8f0e1){const _0x1224ee=a39_0xb330;return _0x4d7ea3[_0x1224ee(0x1b4)](_0x2484c4,_0xd8f0e1);},'PLbTu':_0x4d7ea3[_0x5b7a59(0x1c5)],'ruYQH':function(_0x22dfef,_0x75a765,_0x379751){return _0x4d7ea3['UIuoh'](_0x22dfef,_0x75a765,_0x379751);},'YVkrK':function(_0x530479,_0x402bd4){const _0x34897a=_0x5b7a59;return _0x4d7ea3[_0x34897a(0x21d)](_0x530479,_0x402bd4);},'yclbT':_0x4d7ea3[_0x5b7a59(0x1ba)],'PDVEA':_0x4d7ea3[_0x5b7a59(0x20f)],'pLhLb':_0x4d7ea3['lEJdQ'],'Zqhgx':_0x4d7ea3[_0x5b7a59(0x1ae)]};try{_0x4d7ea3['zubNO'](global['__drivers']['length'],0x1)&&(await global[_0x5b7a59(0x251)](),global[_0x5b7a59(0x1b1)][_0x5b7a59(0x258)](),global[_0x5b7a59(0x266)]=[],global['__sessionFailed']=![]);try{if(global[_0x5b7a59(0x237)]&&_0x4d7ea3[_0x5b7a59(0x1fd)](global['percyCaptureMode'],_0x4d7ea3[_0x5b7a59(0x23d)])&&global[_0x5b7a59(0x1b1)][0x0]){const _0x34eaf7=_0x4d7ea3['jLMkS'](global['capabilities'][_0x5b7a59(0x19c)],0x0)?!!global['capabilities'][0x0][_0x5b7a59(0x231)]||!!global['capabilities'][0x0][_0x4d7ea3[_0x5b7a59(0x232)]]:![],_0x2384be={};_0x2384be[_0x5b7a59(0x231)]=_0x34eaf7,await _0x4d7ea3[_0x5b7a59(0x1f7)](percyAutoCapture,global[_0x5b7a59(0x1b1)][0x0],_0x4d7ea3['MBDvf'],_0x2384be);}}catch(_0x40ddfb){logger[_0x5b7a59(0x229)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x40ddfb);}!global[_0x5b7a59(0x1f9)]&&(await PerformanceTester[_0x5b7a59(0x212)](PerformanceAutEvents[_0x5b7a59(0x1ad)],async()=>{const _0x52217b=_0x5b7a59;await global[_0x52217b(0x1b1)][0x0][_0x52217b(0x200)](_0x52217b(0x24e)+JSON[_0x52217b(0x249)](this[_0x52217b(0x1dc)][_0x52217b(0x245)]()[_0x52217b(0x22f)](_0x4d7ea3[_0x52217b(0x235)]))+'}}');})(),global[_0x5b7a59(0x1b1)][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5b7a59(0x241)],async()=>{const _0x36ddce=_0x5b7a59,_0x1f57b7=_0x2f2d9d['LkivJ'](this[_0x36ddce(0x1dc)][_0x36ddce(0x1ee)],_0x2f2d9d[_0x36ddce(0x22a)]);_0x1f57b7?(global[_0x36ddce(0x269)]=!![],global[_0x36ddce(0x266)][_0x36ddce(0x1f4)](this[_0x36ddce(0x1dc)][_0x36ddce(0x21f)]['message']),await _0x2f2d9d['ruYQH'](_0x253af2,JSON['stringify'](_0x2f2d9d[_0x36ddce(0x20d)](_0x2f2d9d[_0x36ddce(0x208)],this['currentTest'][_0x36ddce(0x21f)][_0x36ddce(0x1b0)])),_0x2f2d9d[_0x36ddce(0x244)])):await _0x2f2d9d[_0x36ddce(0x202)](_0x253af2,JSON[_0x36ddce(0x249)](_0x2f2d9d['pLhLb']),_0x2f2d9d[_0x36ddce(0x243)]);})();}catch(_0x1cc50c){logger[_0x5b7a59(0x229)](_0x5b7a59(0x1c2)+_0x1cc50c);}try{if(this[_0x5b7a59(0x1dc)]['accessibilityScanStarted']&&globals[_0x5b7a59(0x240)](_0x4d7ea3['TqFXj'])){logger[_0x5b7a59(0x1b6)](_0x4d7ea3[_0x5b7a59(0x24c)]);const _0x4ce537={};_0x4ce537[_0x5b7a59(0x1b5)]=this[_0x5b7a59(0x1dc)][_0x5b7a59(0x1c7)],_0x4ce537[_0x5b7a59(0x24a)]=process[_0x5b7a59(0x1d7)][testHubConstants['ENV_VAR'][_0x5b7a59(0x267)]],_0x4ce537[_0x5b7a59(0x1ff)]=process[_0x5b7a59(0x1d7)][testHubConstants['ENV_VAR'][_0x5b7a59(0x1bf)]];const _0x486704=_0x4ce537;logger[_0x5b7a59(0x229)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x5b7a59(0x249)](_0x486704));if(globals[_0x5b7a59(0x240)](_0x4d7ea3[_0x5b7a59(0x1fc)])){logger['debug'](_0x4d7ea3['fXKkl']);const _0x34bab5={};_0x34bab5[_0x5b7a59(0x254)]=_0x4d7ea3[_0x5b7a59(0x1aa)];const _0x591ade=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5b7a59(0x25e)],async()=>{const _0x331fa4=_0x5b7a59;return await accessibilityRetryHelper[_0x331fa4(0x1ec)](global[_0x331fa4(0x1b1)][0x0],global[_0x331fa4(0x19b)]);},_0x34bab5)();_0x591ade?logger[_0x5b7a59(0x229)](_0x4d7ea3['NSVvO']):logger[_0x5b7a59(0x203)](_0x4d7ea3[_0x5b7a59(0x19d)]);}else logger[_0x5b7a59(0x229)](_0x4d7ea3['JdOni']);const _0x56115a=await PerformanceTester[_0x5b7a59(0x212)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x9f3c80=_0x5b7a59;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x9f3c80(0x1b1)][0x0],_0x486704);})();_0x56115a?logger[_0x5b7a59(0x229)](_0x4d7ea3[_0x5b7a59(0x221)]):logger[_0x5b7a59(0x203)](_0x4d7ea3[_0x5b7a59(0x1d0)]),logger[_0x5b7a59(0x1b6)](_0x4d7ea3[_0x5b7a59(0x1a6)]);}}catch(_0x7bb943){logger[_0x5b7a59(0x1e6)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x5b7a59(0x1dc)][_0x5b7a59(0x245)]()+'.\x20Error\x20:',_0x7bb943);}try{try{if(_0x4d7ea3[_0x5b7a59(0x253)](shouldProcessEventForTesthub)){global[_0x5b7a59(0x1b1)][0x0]&&await _0x4d7ea3[_0x5b7a59(0x1cc)](sendPlatformDetails,global[_0x5b7a59(0x1b1)][0x0],this[_0x5b7a59(0x1dc)]?this[_0x5b7a59(0x1dc)][_0x5b7a59(0x1c7)]:null);if(_0x4d7ea3['MuVef'](isBrowserstackInfra)){PerformanceTester[_0x5b7a59(0x1e2)](PerformanceO11yEvents[_0x5b7a59(0x211)]);const _0x2e7cec=_0x5b7a59(0x1e1)+Date[_0x5b7a59(0x224)]();await _0x4d7ea3['UIuoh'](_0x253af2,JSON['stringify'](_0x2e7cec),_0x4d7ea3['eMgqQ']),PerformanceTester[_0x5b7a59(0x214)](PerformanceO11yEvents[_0x5b7a59(0x211)]);}}}catch(_0x2a09f4){logger['debug'](_0x5b7a59(0x20b)+_0x2a09f4),PerformanceTester[_0x5b7a59(0x214)](PerformanceO11yEvents[_0x5b7a59(0x211)],![],_0x2a09f4);}_0x4d7ea3['XEDqu'](global[_0x5b7a59(0x1b1)][0x0][_0x5b7a59(0x25f)],0x0)&&await global[_0x5b7a59(0x251)]();}catch(_0x50b8e6){logger[_0x5b7a59(0x229)](_0x5b7a59(0x1ce)+_0x50b8e6);}_0x4d7ea3[_0x5b7a59(0x253)](_0x5ab305);})[_0x1697d9(0x1d6)](()=>{const _0x157dce=_0x1697d9;_0x358f75[_0x157dce(0x238)](_0x17786e);});},{'platform':_0x358f75[_0x3d1282(0x19f)](nestedKeyValue,global[_0x3d1282(0x260)],[_0x358f75[_0x3d1282(0x1ca)]]),'hookType':_0x358f75[_0x3d1282(0x1e8)]})();},'afterAll'(_0x17e8fa){const _0x444ce4=a39_0x2f605a,_0x380e2b={'KYcKd':function(_0x4c226d){return _0x4c226d();},'oODil':function(_0x331e78){return _0x331e78();},'JWMyT':'Mocha','PPPsi':function(_0x15f225,_0x42d166,_0x41666c){return _0x15f225(_0x42d166,_0x41666c);},'hOdnF':_0x444ce4(0x22d),'EyqHz':'afterAll'},_0x15ab20='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x380e2b['JWMyT']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x444ce4(0x1fb)],()=>{const _0x36358c=_0x444ce4;new Promise(async _0x3f1a56=>{const _0x2c3d6b=a39_0xb330;await global[_0x2c3d6b(0x251)](),_0x380e2b[_0x2c3d6b(0x1fa)](_0x3f1a56);})[_0x36358c(0x1d6)]()[_0x36358c(0x23e)](()=>{const _0x4261f6=_0x36358c;_0x380e2b[_0x4261f6(0x210)](_0x17e8fa);});},{'platform':_0x380e2b[_0x444ce4(0x1a9)](nestedKeyValue,global['__platformCaps'],[_0x380e2b[_0x444ce4(0x1e5)]]),'hookType':_0x380e2b['EyqHz']})();}};
|
|
1
|
+
const a43_0xea509f=a43_0xfb3e;function a43_0xfb3e(_0xd80e16,_0x474e33){const _0x486a76=a43_0x486a();return a43_0xfb3e=function(_0xfb3ee5,_0x1d366e){_0xfb3ee5=_0xfb3ee5-0xc3;let _0x198579=_0x486a76[_0xfb3ee5];return _0x198579;},a43_0xfb3e(_0xd80e16,_0x474e33);}function a43_0x486a(){const _0x192e69=['.\x20Error\x20:','cxHRt','sfKbk','THWoT','RtEtb','1882390UNcWRL','__sessionFailed','isArray','warn','zyZZN','kyShP','VEvCM','passed','Automate\x20test\x20case\x20execution\x20has\x20started.','KRNug','74398iROSmV','oeklO','stringify','jqbeM','fhxKB','XWGAu','LalQw','kAoWG','paDGy','Umxnn','debug','finally','rHZpL','command','accessibilityScanStarted','tBLre','dQvmJ','length','dPqft','KCIXJ','YSGJd','cqVgH','yIOzi','../../helpers/globals','performScanWithRetry','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','ZTCNB','bstackA11yShouldScan','Failed\x20to\x20store\x20session\x20name:\x20','4221784tllcKl','ENV_VAR','appium:app','gkpcB','1654860FZDCkJ','ORjuT','afterTest','Jjrvt','mocha','410984LlSMES','ywslF','YvvbJ','failed','XWDgs','__drivers','initQuit','YoUYJ','PGFhj','mbaro','thBuildUuid','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','pzVMR','coprK','bBRzS','nhdJZ','Accessibility\x20scan\x20completed\x20successfully','installAll','currentTest','CPods','driver-init\x20capture\x20install\x20failed:\x20','Zphau','OHgfY','Passed','fNiFX','11byjbbL','thTestRunUuid','\x22}}','isAccessibilityPlatform','Mocha','afterEach','browserstackTestName','saveAccessibilityResultsWithRetry','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','jIqsI','\x20-\x20','winstonLogger','rQGIN','XdBrd','titlePath','EcSBv','212442wMyhUO','Accessibility\x20results\x20saved\x20successfully','__error_messages__','ngAYt','twudV','beforeAll','push','luoof','sessionName','ZwbJW','../../helpers/performance/performance-tester','HoaAL','wrgmG','VrFje','then','thJwtToken','PLxaW','iBjxI','MkjRS','qGGIr','SAVE_RESULTS','jQfHp','join','BROWSERSTACK_TESTHUB_UUID','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','WRDEg','driverCleanup','getGlobal','session_','__skipSessionName','bHfrL','AiSvT','bZgLv','shouldScanTestForAccessibility','testcase','eyGMJ','executeScript','EMdQx','SDK_HOOK','DmReL','fRpVc','state','ObservabilitySync:','SHCbf','PERFORM_SCAN','../../helpers/driverInitErrorReporter','shift','ZxZQs','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','pBQcj','DvapN','QOORq','getCurrentUrl','index','format','../../helpers/performance/constants','setGlobal','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','elyIM','xUNOS','percy','UzWjx','./test-observability/mochaUtils','fOHdn','protocol','quitCount_','parse','afterAll','info','SYNC','AYSYV','../../helpers/accessibility-automation/helper','Enhnf','xTcKy','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','KpsCA','rKyFD','OehEo','EhAwz','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','wCzjB','sGtxo','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','startMonitoring','__platformCaps','bstackA11yScanOptions','BROWSERSTACK_TESTHUB_JWT','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Failed:\x20','error','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','iRAHG','lrhNY','sEbQH','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','hDwiu','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','util','testAnalyticsId','start','3494004kykBeL','opoaP','uecuY','sessionNameSet__','../../helpers/helper','percyCaptureMode','message','QZQRP','measureWrapper','env','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','OUBCN','autoScanning','capabilities','app'];a43_0x486a=function(){return _0x192e69;};return a43_0x486a();}(function(_0x39cf8e,_0x2ebb74){const _0x1f05b3=a43_0xfb3e,_0x23851b=_0x39cf8e();while(!![]){try{const _0x19929c=parseInt(_0x1f05b3(0xc3))/0x1*(parseInt(_0x1f05b3(0x156))/0x2)+-parseInt(_0x1f05b3(0xd3))/0x3+parseInt(_0x1f05b3(0x137))/0x4+-parseInt(_0x1f05b3(0x14c))/0x5+parseInt(_0x1f05b3(0x177))/0x6+-parseInt(_0x1f05b3(0x17c))/0x7+-parseInt(_0x1f05b3(0x173))/0x8;if(_0x19929c===_0x2ebb74)break;else _0x23851b['push'](_0x23851b['shift']());}catch(_0x526123){_0x23851b['push'](_0x23851b['shift']());}}}(a43_0x486a,0x801e5));const util=require(a43_0xea509f(0x134)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0xea509f(0x11a)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a43_0xea509f(0x111)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a43_0xea509f(0x13b)),PerformanceTester=require(a43_0xea509f(0xdd)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0xea509f(0x10a)),globals=require(a43_0xea509f(0x16d)),logger=require('../../helpers/logger')[a43_0xea509f(0xce)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');try{require(a43_0xea509f(0x100))[a43_0xea509f(0x18d)](a43_0xea509f(0x17b));}catch(a43_0x208837){logger[a43_0xea509f(0x160)](a43_0xea509f(0x190)+(a43_0x208837&&a43_0x208837[a43_0xea509f(0x13d)]));}exports['mochaHooks']={'beforeAll'(){const _0x15302b=a43_0xea509f,_0x340e8f={'kAoWG':function(_0x4717bc,_0x96387b,_0x1ae7ce,_0x48ede1){return _0x4717bc(_0x96387b,_0x1ae7ce,_0x48ede1);},'OehEo':_0x15302b(0x17f),'sGtxo':'\x20|\x20','elyIM':function(_0x532f66,_0x56e858,_0x267f3c){return _0x532f66(_0x56e858,_0x267f3c);},'MkjRS':'passed','KRNug':function(_0x3f2252){return _0x3f2252();},'fNiFX':'index','ORjuT':_0x15302b(0xd8)};PerformanceTester[_0x15302b(0x126)]();const _0x4f6286='browserstack internal helper hook';PerformanceTester[_0x15302b(0x13f)](PerformanceSdkEvents[_0x15302b(0xf9)],()=>{const _0x6676f7=_0x15302b;global[_0x6676f7(0xd5)]=[],global[_0x6676f7(0x14d)]=![],global[_0x6676f7(0xed)]=async()=>{const _0x1c93f9=_0x6676f7;let _0x1f6c8b=![];try{await global[_0x1c93f9(0x181)][0x0][_0x1c93f9(0xef)],_0x1f6c8b=!![],global[_0x1c93f9(0x14d)]?await _0x340e8f[_0x1c93f9(0x15d)](markSessionStatus,global[_0x1c93f9(0x181)][0x0],_0x340e8f[_0x1c93f9(0x120)],global[_0x1c93f9(0xd5)][_0x1c93f9(0xe9)](_0x340e8f[_0x1c93f9(0x124)])):await _0x340e8f['elyIM'](markSessionStatus,global[_0x1c93f9(0x181)][0x0],_0x340e8f[_0x1c93f9(0xe5)]);}catch(_0x3ea5ac){logger[_0x1c93f9(0x160)](_0x1c93f9(0x125)+_0x3ea5ac);}global[_0x1c93f9(0xd5)]=[],global[_0x1c93f9(0x14d)]=![];if(_0x1f6c8b)try{try{_0x340e8f[_0x1c93f9(0x155)](shouldProcessEventForTesthub)&&(global[_0x1c93f9(0x181)][0x0]&&await _0x340e8f[_0x1c93f9(0x10d)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x1c93f9(0x18e)][_0x1c93f9(0x135)]:null));}catch(_0x42aad0){logger['debug'](_0x1c93f9(0x12d)+_0x42aad0);}await global['__drivers'][0x0][_0x1c93f9(0x182)]();}catch(_0x393878){logger[_0x1c93f9(0x160)](_0x1c93f9(0xeb)+_0x393878);}};},{'platform':_0x340e8f[_0x15302b(0x10d)](nestedKeyValue,global[_0x15302b(0x127)],[_0x340e8f[_0x15302b(0x194)]]),'hookType':_0x340e8f[_0x15302b(0x178)]})();},'beforeEach'(_0x56f7d4){const _0x452c29=a43_0xea509f,_0x578ebd={'fhxKB':function(_0x57458c){return _0x57458c();},'mbaro':function(_0x4cc800,_0xfe4228){return _0x4cc800>_0xfe4228;},'EMdQx':function(_0x53e6c,_0x3659ae){return _0x53e6c>_0x3659ae;},'zyZZN':_0x452c29(0xcd),'Umxnn':function(_0x39b129,_0x2249e0,_0x18eeb5){return _0x39b129(_0x2249e0,_0x18eeb5);},'nXcrW':function(_0x28b3d0,_0x56ea42){return _0x28b3d0===_0x56ea42;},'AiSvT':_0x452c29(0x171),'opoaP':_0x452c29(0x128),'Jjrvt':function(_0x3921e8,_0x49e10f){return _0x3921e8>_0x49e10f;},'DIHak':_0x452c29(0xc6),'ywslF':'http:','sfKbk':'https:','iWDts':_0x452c29(0x187),'HqWAE':_0x452c29(0x154),'jIqsI':_0x452c29(0xc9),'hDwiu':_0x452c29(0x108),'lrhNY':'beforeEach'};globals[_0x452c29(0x10b)](_0x578ebd[_0x452c29(0xcc)],this[_0x452c29(0x18e)][_0x452c29(0xd1)]()['join'](_0x578ebd[_0x452c29(0x150)])),PerformanceTester[_0x452c29(0x13f)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x29e9c7=_0x452c29,_0x35d07d={'cxHRt':function(_0x227b33,_0x2e9a1d){const _0x456ee0=a43_0xfb3e;return _0x578ebd[_0x456ee0(0x185)](_0x227b33,_0x2e9a1d);},'XaHbS':function(_0x4a9978,_0x3191ce){const _0x34e814=a43_0xfb3e;return _0x578ebd[_0x34e814(0xf8)](_0x4a9978,_0x3191ce);},'CPods':_0x578ebd[_0x29e9c7(0x150)],'HoaAL':function(_0x30c7ef,_0x502624,_0x3e2822){const _0x260984=_0x29e9c7;return _0x578ebd[_0x260984(0x15f)](_0x30c7ef,_0x502624,_0x3e2822);},'jqbeM':function(_0x2a1a51,_0x183efa){return _0x578ebd['nXcrW'](_0x2a1a51,_0x183efa);},'WRDEg':_0x578ebd[_0x29e9c7(0xf2)],'XdBrd':_0x578ebd[_0x29e9c7(0x138)],'ONdeN':function(_0x1350c0){const _0x35e033=_0x29e9c7;return _0x578ebd[_0x35e033(0x15a)](_0x1350c0);},'tBLre':function(_0x4eadcc,_0x4475f1){const _0x74dcd1=_0x29e9c7;return _0x578ebd[_0x74dcd1(0x17a)](_0x4eadcc,_0x4475f1);},'RtEtb':_0x578ebd['DIHak'],'wrgmG':_0x578ebd[_0x29e9c7(0x17d)],'sEbQH':_0x578ebd[_0x29e9c7(0x149)],'SHCbf':_0x578ebd['iWDts'],'bHfrL':_0x578ebd['HqWAE']},_0x3c89a6='browserstack internal helper hook';new Promise(async _0x5d9882=>{const _0x349f54=_0x29e9c7;let _0x270c51=!![];try{_0x35d07d[_0x349f54(0x148)](global[_0x349f54(0x181)][_0x349f54(0x167)],0x1)&&(await global['driverCleanup'](),global[_0x349f54(0x181)][_0x349f54(0x101)]()),_0x35d07d['XaHbS'](global['__drivers'][0x0][_0x349f54(0x114)],0x0)&&(_0x270c51=![],await global[_0x349f54(0xed)]());}catch(_0x32d765){logger[_0x349f54(0x160)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x32d765);}try{Array['isArray'](global[_0x349f54(0x181)])&&global[_0x349f54(0x181)][0x0]&&(global[_0x349f54(0x181)][0x0]['browserstackSessionName']=this[_0x349f54(0x18e)][_0x349f54(0xd1)]()[_0x349f54(0xe9)](_0x35d07d['CPods'])),global['browserstackSessionName']=this[_0x349f54(0x18e)][_0x349f54(0xd1)]()[_0x349f54(0xe9)](_0x35d07d[_0x349f54(0x18f)]);}catch(_0x4ab7f7){logger[_0x349f54(0x160)](_0x349f54(0x172)+_0x4ab7f7);}this[_0x349f54(0x18e)][_0x349f54(0xf4)]=_0x35d07d[_0x349f54(0xde)](shouldScanTestForAccessibility,this[_0x349f54(0x18e)][_0x349f54(0xd1)](),!![]);let _0x4428e7=!![];try{const _0x5821f3=JSON[_0x349f54(0x115)](process['env'][_0x349f54(0x142)]||'{}');_0x35d07d['jqbeM'](_0x5821f3[_0x349f54(0x144)],![])&&(_0x4428e7=![]);}catch(_0x3fc66a){logger[_0x349f54(0x160)](_0x349f54(0x10c)+_0x3fc66a[_0x349f54(0x13d)]);}const _0x292381=_0x4428e7&&this['currentTest'][_0x349f54(0xf4)];globals[_0x349f54(0x10b)](_0x35d07d[_0x349f54(0xec)],_0x292381),globals[_0x349f54(0x10b)](_0x35d07d[_0x349f54(0xd0)],null),this[_0x349f54(0x18e)][_0x349f54(0x164)]=this[_0x349f54(0x18e)][_0x349f54(0xf4)];if(_0x35d07d['ONdeN'](isAccessibilityAutomationSession)&&_0x270c51&&Array[_0x349f54(0x14e)](global[_0x349f54(0x181)])&&_0x35d07d[_0x349f54(0x165)](global['__drivers'][_0x349f54(0x167)],0x0)&&globals[_0x349f54(0xee)](_0x35d07d[_0x349f54(0x14b)]))try{const _0x1188d8=await global['__drivers'][0x0][_0x349f54(0xef)];if(_0x1188d8){let _0x5b6dd5=!![];const _0xb7b3d0=await global['__drivers'][0x0][_0x349f54(0x107)]();let _0xbd1759;try{_0xbd1759=new URL(_0xb7b3d0),_0x5b6dd5=_0x35d07d[_0x349f54(0x159)](_0xbd1759[_0x349f54(0x113)],_0x35d07d[_0x349f54(0xdf)])||_0x35d07d[_0x349f54(0x159)](_0xbd1759['protocol'],_0x35d07d[_0x349f54(0x130)]);}catch(_0x3eaed4){_0x5b6dd5=![];}_0x5b6dd5&&(this[_0x349f54(0x18e)][_0x349f54(0xf4)]&&logger[_0x349f54(0x117)](_0x35d07d[_0x349f54(0xfe)])),this['currentTest'][_0x349f54(0x164)]=this[_0x349f54(0x18e)]['shouldScanTestForAccessibility'],_0x292381&&logger[_0x349f54(0x117)](_0x35d07d[_0x349f54(0xf1)]);}}catch(_0x1868a3){logger[_0x349f54(0x12c)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x349f54(0x109)](_0x1868a3));}_0x35d07d['ONdeN'](_0x5d9882);})[_0x29e9c7(0xe1)](()=>{_0x578ebd['fhxKB'](_0x56f7d4);});},{'platform':_0x578ebd['Umxnn'](nestedKeyValue,global[_0x452c29(0x127)],[_0x578ebd[_0x452c29(0x132)]]),'hookType':_0x578ebd[_0x452c29(0x12f)]})();},'afterEach'(_0xa0276f){const _0x21e848=a43_0xea509f,_0x461e59={'oeklO':'\x20-\x20','UyqbB':function(_0x558d1c,_0x14afeb){return _0x558d1c!==_0x14afeb;},'XAKVu':_0x21e848(0x153),'luoof':function(_0x3eaab8,_0x8bf3af,_0x36e290){return _0x3eaab8(_0x8bf3af,_0x36e290);},'eEnIq':function(_0x1a8527,_0x21079c){return _0x1a8527+_0x21079c;},'ZTCNB':_0x21e848(0x12b),'nNpyj':_0x21e848(0x12c),'cTzcL':_0x21e848(0x193),'twudV':_0x21e848(0x117),'uecuY':function(_0x4b3558,_0x3ef63b){return _0x4b3558>_0x3ef63b;},'QZQRP':function(_0x18c319,_0x3d8302){return _0x18c319===_0x3d8302;},'VetXy':_0x21e848(0xf5),'Enhnf':_0x21e848(0x175),'fOHdn':function(_0x422608,_0x5e5471,_0x4d28b8,_0x55b14b){return _0x422608(_0x5e5471,_0x4d28b8,_0x55b14b);},'XWDgs':'isAccessibilityPlatform','xTcKy':_0x21e848(0x11d),'Knszx':_0x21e848(0x171),'dPqft':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','UzWjx':_0x21e848(0x179),'HLELQ':_0x21e848(0x18c),'YSGJd':_0x21e848(0xcb),'bBRzS':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','TgPhc':_0x21e848(0xd4),'mJUfN':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SIRfE':_0x21e848(0x12a),'yIOzi':function(_0x1be05a){return _0x1be05a();},'PGFhj':function(_0x4e7c49,_0x30b4cf,_0x48b155){return _0x4e7c49(_0x30b4cf,_0x48b155);},'PLxaW':function(_0x124e52){return _0x124e52();},'yvkxm':_0x21e848(0x160),'RnifK':function(_0x538e84,_0x40a7f8){return _0x538e84>_0x40a7f8;},'LalQw':_0x21e848(0xc7),'THWoT':_0x21e848(0x108),'VMrMU':_0x21e848(0xc8)},_0x1f8080='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x461e59[_0x21e848(0x15c)]]),global[_0x21e848(0xdb)]=this[_0x21e848(0x18e)]['titlePath']()[_0x21e848(0xe9)](_0x461e59['oeklO']),PerformanceTester[_0x21e848(0x13f)](PerformanceSdkEvents[_0x21e848(0xf9)],()=>{const _0x2a15fe=_0x21e848,_0x531554={'iOYEE':_0x461e59[_0x2a15fe(0x157)],'YoUYJ':function(_0x333ffd,_0x56bb1c){return _0x461e59['UyqbB'](_0x333ffd,_0x56bb1c);},'xUNOS':_0x461e59['XAKVu'],'kyShP':function(_0x1dce75,_0xd49636,_0x2a20f9){return _0x461e59['luoof'](_0x1dce75,_0xd49636,_0x2a20f9);},'wUIfi':function(_0x5f2f3b,_0x598e13){return _0x461e59['eEnIq'](_0x5f2f3b,_0x598e13);},'YvvbJ':_0x461e59[_0x2a15fe(0x170)],'VEvCM':_0x461e59['nNpyj'],'elRIz':_0x461e59['cTzcL'],'EhAwz':_0x461e59[_0x2a15fe(0xd7)],'iBjxI':function(_0x14829c,_0x83ad33){const _0x3a0605=_0x2a15fe;return _0x461e59[_0x3a0605(0x139)](_0x14829c,_0x83ad33);},'fRpVc':function(_0xa623cb,_0x3dacd1){const _0x1c58b1=_0x2a15fe;return _0x461e59[_0x1c58b1(0x13e)](_0xa623cb,_0x3dacd1);},'jQfHp':_0x461e59['VetXy'],'qGGIr':_0x461e59[_0x2a15fe(0x11b)],'pBQcj':function(_0x4a2413,_0x10bf04,_0x312963,_0x49253c){const _0x4df2a3=_0x2a15fe;return _0x461e59[_0x4df2a3(0x112)](_0x4a2413,_0x10bf04,_0x312963,_0x49253c);},'ZwbJW':_0x461e59[_0x2a15fe(0x180)],'rKyFD':_0x461e59[_0x2a15fe(0x11c)],'DmReL':_0x461e59['Knszx'],'OHgfY':_0x461e59[_0x2a15fe(0x168)],'AYSYV':_0x461e59[_0x2a15fe(0x110)],'Zphau':_0x461e59['HLELQ'],'DvapN':_0x461e59[_0x2a15fe(0x16a)],'wCzjB':_0x461e59[_0x2a15fe(0x18a)],'AIoMj':_0x461e59['TgPhc'],'EcSBv':_0x461e59['mJUfN'],'AlsLz':_0x461e59['SIRfE'],'paDGy':function(_0xce1523){const _0x262758=_0x2a15fe;return _0x461e59[_0x262758(0x16c)](_0xce1523);},'gkpcB':function(_0x28e652,_0x2242d7,_0x47c035){const _0x143617=_0x2a15fe;return _0x461e59[_0x143617(0x184)](_0x28e652,_0x2242d7,_0x47c035);},'nhdJZ':function(_0x237d70){const _0x2cde41=_0x2a15fe;return _0x461e59[_0x2cde41(0xe3)](_0x237d70);},'XWGAu':_0x461e59['yvkxm'],'bZgLv':function(_0x3e079b,_0x5ddadb){return _0x461e59['RnifK'](_0x3e079b,_0x5ddadb);},'ngAYt':function(_0x56d10a){const _0x5aea6f=_0x2a15fe;return _0x461e59[_0x5aea6f(0xe3)](_0x56d10a);}},_0x3f0ab9=async(_0x2228fa,_0x2302f8)=>{const _0x21f977=_0x2a15fe;await global[_0x21f977(0x181)][0x0][_0x21f977(0xf7)](_0x21f977(0x141)+_0x2228fa+',\x22level\x22:\x20\x22'+_0x2302f8+_0x21f977(0xc5));};new Promise(async _0x3d68c9=>{const _0x589f2b=_0x2a15fe,_0x49ed02={'VPtov':function(_0xb6f196,_0x5d2248){const _0x5cee32=a43_0xfb3e;return _0x531554[_0x5cee32(0x183)](_0xb6f196,_0x5d2248);},'cqVgH':_0x531554[_0x589f2b(0x10e)],'ZxZQs':function(_0x4cfeef,_0x481e2e,_0x32b095){const _0x1395f6=_0x589f2b;return _0x531554[_0x1395f6(0x151)](_0x4cfeef,_0x481e2e,_0x32b095);},'KpsCA':function(_0x1379ae,_0x3028ae){return _0x531554['wUIfi'](_0x1379ae,_0x3028ae);},'VrFje':_0x531554[_0x589f2b(0x17e)],'dQvmJ':_0x531554[_0x589f2b(0x152)],'iRAHG':function(_0x270e30,_0x2a2762,_0x490892){const _0xc27dd4=_0x589f2b;return _0x531554[_0xc27dd4(0x151)](_0x270e30,_0x2a2762,_0x490892);},'XFAdv':_0x531554['elRIz'],'rQGIN':_0x531554[_0x589f2b(0x121)]};try{_0x531554[_0x589f2b(0xe4)](global[_0x589f2b(0x181)][_0x589f2b(0x167)],0x1)&&(await global[_0x589f2b(0xed)](),global[_0x589f2b(0x181)][_0x589f2b(0x101)](),global[_0x589f2b(0xd5)]=[],global['__sessionFailed']=![]);try{if(global[_0x589f2b(0x10f)]&&_0x531554[_0x589f2b(0xfb)](global[_0x589f2b(0x13c)],_0x531554[_0x589f2b(0xe8)])&&global['__drivers'][0x0]){const _0x3cb73d=_0x531554[_0x589f2b(0xe4)](global[_0x589f2b(0x145)][_0x589f2b(0x167)],0x0)?!!global[_0x589f2b(0x145)][0x0][_0x589f2b(0x146)]||!!global[_0x589f2b(0x145)][0x0][_0x531554[_0x589f2b(0xe6)]]:![],_0x63b1df={};_0x63b1df['app']=_0x3cb73d,await _0x531554[_0x589f2b(0x104)](percyAutoCapture,global[_0x589f2b(0x181)][0x0],_0x531554['jQfHp'],_0x63b1df);}}catch(_0x145c16){logger['debug'](_0x589f2b(0x131)+_0x145c16);}!global[_0x589f2b(0xf0)]&&(await PerformanceTester[_0x589f2b(0x13f)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x379f88=_0x589f2b;await global[_0x379f88(0x181)][0x0][_0x379f88(0xf7)](_0x379f88(0x103)+JSON[_0x379f88(0x158)](this['currentTest'][_0x379f88(0xd1)]()[_0x379f88(0xe9)](_0x531554['iOYEE']))+'}}');})(),global[_0x589f2b(0x181)][0x0][_0x589f2b(0x13a)]=!![]),await PerformanceTester[_0x589f2b(0x13f)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x6bbbee=_0x589f2b,_0xd27bf2=_0x49ed02['VPtov'](this[_0x6bbbee(0x18e)][_0x6bbbee(0xfc)],_0x49ed02[_0x6bbbee(0x16b)]);_0xd27bf2?(global[_0x6bbbee(0x14d)]=!![],global[_0x6bbbee(0xd5)][_0x6bbbee(0xd9)](this['currentTest']['err'][_0x6bbbee(0x13d)]),await _0x49ed02[_0x6bbbee(0x102)](_0x3f0ab9,JSON[_0x6bbbee(0x158)](_0x49ed02[_0x6bbbee(0x11e)](_0x49ed02[_0x6bbbee(0xe0)],this['currentTest']['err']['message'])),_0x49ed02[_0x6bbbee(0x166)])):await _0x49ed02[_0x6bbbee(0x12e)](_0x3f0ab9,JSON[_0x6bbbee(0x158)](_0x49ed02['XFAdv']),_0x49ed02[_0x6bbbee(0xcf)]);})();}catch(_0x101052){logger[_0x589f2b(0x160)](_0x589f2b(0x16f)+_0x101052);}try{if(this[_0x589f2b(0x18e)]['accessibilityScanStarted']&&globals[_0x589f2b(0xee)](_0x531554[_0x589f2b(0xdc)])){logger['info'](_0x531554[_0x589f2b(0x11f)]);const _0x156810={};_0x156810[_0x589f2b(0xc4)]=this['currentTest'][_0x589f2b(0x135)],_0x156810[_0x589f2b(0x186)]=process['env'][testHubConstants[_0x589f2b(0x174)][_0x589f2b(0xea)]],_0x156810[_0x589f2b(0xe2)]=process[_0x589f2b(0x140)][testHubConstants['ENV_VAR'][_0x589f2b(0x129)]];const _0x2130ce=_0x156810;logger[_0x589f2b(0x160)](_0x589f2b(0x133)+JSON['stringify'](_0x2130ce));if(globals['getGlobal'](_0x531554[_0x589f2b(0xfa)])){logger[_0x589f2b(0x160)](_0x531554[_0x589f2b(0x192)]);const _0x3d724e={};_0x3d724e[_0x589f2b(0x163)]=_0x531554[_0x589f2b(0x119)];const _0x34acc6=await PerformanceTester[_0x589f2b(0x13f)](PerformanceA11yEvents[_0x589f2b(0xff)],async()=>{const _0x169efa=_0x589f2b;return await accessibilityRetryHelper[_0x169efa(0x16e)](global[_0x169efa(0x181)][0x0],global['browserstackSessionName']);},_0x3d724e)();_0x34acc6?logger[_0x589f2b(0x160)](_0x531554[_0x589f2b(0x191)]):logger[_0x589f2b(0x14f)](_0x531554[_0x589f2b(0x105)]);}else logger[_0x589f2b(0x160)](_0x531554[_0x589f2b(0x123)]);const _0x17b9a8=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x589f2b(0xe7)],async()=>{const _0x2aad3e=_0x589f2b;return await accessibilityRetryHelper[_0x2aad3e(0xca)](global['__drivers'][0x0],_0x2130ce);})();_0x17b9a8?logger['debug'](_0x531554['AIoMj']):logger[_0x589f2b(0x14f)](_0x531554[_0x589f2b(0xd2)]),logger[_0x589f2b(0x117)](_0x531554['AlsLz']);}}catch(_0x3d24c0){logger[_0x589f2b(0x12c)](_0x589f2b(0x122)+this[_0x589f2b(0x18e)][_0x589f2b(0xd1)]()+_0x589f2b(0x147),_0x3d24c0);}try{try{if(_0x531554[_0x589f2b(0x15e)](shouldProcessEventForTesthub)){global[_0x589f2b(0x181)][0x0]&&await _0x531554[_0x589f2b(0x176)](sendPlatformDetails,global[_0x589f2b(0x181)][0x0],this['currentTest']?this[_0x589f2b(0x18e)]['testAnalyticsId']:null);if(_0x531554[_0x589f2b(0x18b)](isBrowserstackInfra)){PerformanceTester[_0x589f2b(0x136)](PerformanceO11yEvents[_0x589f2b(0x118)]);const _0x1bd8df=_0x589f2b(0xfd)+Date['now']();await _0x531554[_0x589f2b(0x151)](_0x3f0ab9,JSON[_0x589f2b(0x158)](_0x1bd8df),_0x531554[_0x589f2b(0x15b)]),PerformanceTester['end'](PerformanceO11yEvents[_0x589f2b(0x118)]);}}}catch(_0x42d17a){logger[_0x589f2b(0x160)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x42d17a),PerformanceTester['end'](PerformanceO11yEvents[_0x589f2b(0x118)],![],_0x42d17a);}_0x531554[_0x589f2b(0xf3)](global[_0x589f2b(0x181)][0x0][_0x589f2b(0x114)],0x0)&&await global[_0x589f2b(0xed)]();}catch(_0x3597a7){logger[_0x589f2b(0x160)](_0x589f2b(0xeb)+_0x3597a7);}_0x531554[_0x589f2b(0xd6)](_0x3d68c9);})[_0x2a15fe(0xe1)](()=>{const _0x314d57=_0x2a15fe;_0x531554[_0x314d57(0xd6)](_0xa0276f);});},{'platform':_0x461e59[_0x21e848(0xda)](nestedKeyValue,global['__platformCaps'],[_0x461e59[_0x21e848(0x14a)]]),'hookType':_0x461e59['VMrMU']})();},'afterAll'(_0x48981d){const _0x458c7d=a43_0xea509f,_0x191569={'pzVMR':function(_0x431505){return _0x431505();},'eyGMJ':function(_0x13597b){return _0x13597b();},'KCIXJ':_0x458c7d(0xc7),'SZGFS':function(_0x260eb7,_0x550f8c,_0x3af7bd){return _0x260eb7(_0x550f8c,_0x3af7bd);},'QOORq':'index','coprK':_0x458c7d(0x116)},_0x4c87d5='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x191569[_0x458c7d(0x169)]]),PerformanceTester[_0x458c7d(0x13f)](PerformanceSdkEvents[_0x458c7d(0xf9)],()=>{const _0x5f00f7=_0x458c7d,_0x3f4bdc={'OUBCN':function(_0xec67ec){const _0x4a7e6b=a43_0xfb3e;return _0x191569[_0x4a7e6b(0x188)](_0xec67ec);},'rHZpL':function(_0x40fcd1){const _0x19241e=a43_0xfb3e;return _0x191569[_0x19241e(0xf6)](_0x40fcd1);}};new Promise(async _0x482b7c=>{const _0x597bbc=a43_0xfb3e;await global['driverCleanup'](),_0x3f4bdc[_0x597bbc(0x143)](_0x482b7c);})[_0x5f00f7(0xe1)]()[_0x5f00f7(0x161)](()=>{const _0x33a826=_0x5f00f7;_0x3f4bdc[_0x33a826(0x162)](_0x48981d);});},{'platform':_0x191569['SZGFS'](nestedKeyValue,global[_0x458c7d(0x127)],[_0x191569[_0x458c7d(0x106)]]),'hookType':_0x191569[_0x458c7d(0x189)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a40_0x474d7c=a40_0x4064;(function(_0x9ec2e,_0x43d7d8){const _0x1abc8c=a40_0x4064,_0x44f524=_0x9ec2e();while(!![]){try{const _0x4cedc1=parseInt(_0x1abc8c(0xde))/0x1+-parseInt(_0x1abc8c(0xd9))/0x2*(-parseInt(_0x1abc8c(0x76))/0x3)+-parseInt(_0x1abc8c(0xbc))/0x4*(parseInt(_0x1abc8c(0xc9))/0x5)+parseInt(_0x1abc8c(0x7f))/0x6+parseInt(_0x1abc8c(0xcd))/0x7*(-parseInt(_0x1abc8c(0x98))/0x8)+parseInt(_0x1abc8c(0x8f))/0x9+-parseInt(_0x1abc8c(0xa4))/0xa;if(_0x4cedc1===_0x43d7d8)break;else _0x44f524['push'](_0x44f524['shift']());}catch(_0x159c20){_0x44f524['push'](_0x44f524['shift']());}}}(a40_0x345d,0xd8f7f));function a40_0x345d(){const _0x206e40=['null','testObservability','FPdiQ','browserstack','getInstance','kocqy','VDgzk','26802250HaqkQg','cli,browserstack','Failed\x20to\x20bootstrap\x20CLI:\x20','shutdown','true','ozsyf','qkhan','lhfCT','ZYTan','plExs','length','RHnWV','false','setBrowserstackConfig','env','uizJQ','createRequire','parallelsPerPlatform','isRunning','BROWSERSTACK_TEST_OBSERVABILITY_YML','failures','nSUNK','path','exports','12TtFzEq','Failed\x20to\x20launch\x20build:\x20','izFtR','dSFDX','Newman\x20CLI\x20not\x20found:\x20','newman-reporter-browserstack','close','slice','jwyHN','LwFLY','mBhkZ','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','../../helpers/helper','912485rxUEBT','index.js','AutVe','package.json','14QChMSn','OsLTX','CURgm','lBSDK','../../helpers/logger','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','cliConfig','EvNTB','JVqDb','exitCode','launchBuild','message','2739190xJMbnO','push','--reporters','KhTFn','setFrameworkDetail','792261hiOtZb','xoQoY','concat','EcmKf','AiVXq','xKiOq','../../helpers/test-observability/utils','ijIpr','configPath','WSlNk','O11yHashedID','requireModule','bootstrap','hDbrw','Wourk','wEpVQ','HbWTG','resolve','newman','_resolveFilename','assign','../v2/browserstackCLI','bClWD','3voNjdW','XoNRe','reporter','sQZna','module','JbiKT','../../helpers/test-observability/requestQueueHandler','kugvc','mJpmn','7536486Usqrfm','IwTwa','cwd','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','../../helpers/testhub/testhubHandler','config','../v2/cliUtils','OILuV','indexOf','NEWMAN','join','child_process','warn','DcQHR','eNmFc','SoFmf','12864150lFyJIO','run','PKclv','MzxgX','node','error','scriptRunner.js','kcgjR','UNpUs','2923472WVDGdl',',browserstack','stop','DAiUR','.js'];a40_0x345d=function(){return _0x206e40;};return a40_0x345d();}const path=require(a40_0x474d7c(0xba)),Module=require(a40_0x474d7c(0x7a)),{fork}=require(a40_0x474d7c(0x8a)),logger=require(a40_0x474d7c(0xd1))['winstonLogger'],helper=require(a40_0x474d7c(0xc8)),TestHubHandler=require(a40_0x474d7c(0x83)),RequestQueueHandler=require(a40_0x474d7c(0x7c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a40_0x474d7c(0xe4)),BrowserstackCLI=require(a40_0x474d7c(0x74)),CLIUtils=require(a40_0x474d7c(0x85));function registerBrowserStackReporter(){const _0xf71ec3=a40_0x474d7c,_0x446430={};_0x446430['ozsyf']=function(_0x586bd5,_0x304e9d){return _0x586bd5===_0x304e9d;},_0x446430[_0xf71ec3(0xc4)]=_0xf71ec3(0xc1),_0x446430['WTYJJ']=_0xf71ec3(0x78),_0x446430[_0xf71ec3(0xb3)]=_0xf71ec3(0xca);const _0x5bcbdc=_0x446430,_0x15c517=path['join'](__dirname,_0x5bcbdc['WTYJJ'],_0x5bcbdc[_0xf71ec3(0xb3)]),_0x1f9568=Module['_resolveFilename'];Module[_0xf71ec3(0x72)]=function(_0xeaebfc,_0x464ad9,_0x345a44,_0x1035c6){const _0x37ec03=_0xf71ec3;if(_0x5bcbdc[_0x37ec03(0xa9)](_0xeaebfc,_0x5bcbdc[_0x37ec03(0xc4)]))return _0x15c517;return _0x1f9568['call'](this,_0xeaebfc,_0x464ad9,_0x345a44,_0x1035c6);};}function injectReporterIntoArgs(_0x36ecc4){const _0x5d93d6=a40_0x474d7c,_0x3882cc={};_0x3882cc['bxVjw']=function(_0x44d44c,_0x142d94){return _0x44d44c<_0x142d94;},_0x3882cc[_0x5d93d6(0xa3)]=function(_0x155918,_0x1f5090){return _0x155918===_0x1f5090;},_0x3882cc['RJlDb']=function(_0xb4f5cd,_0x10631d){return _0xb4f5cd===_0x10631d;},_0x3882cc[_0x5d93d6(0xe3)]=_0x5d93d6(0xdb),_0x3882cc[_0x5d93d6(0xbe)]=function(_0x10ec56,_0x3f9b0a){return _0x10ec56+_0x3f9b0a;},_0x3882cc[_0x5d93d6(0x9b)]=function(_0x567e7e,_0x17346f){return _0x567e7e===_0x17346f;},_0x3882cc[_0x5d93d6(0x6c)]=function(_0xc94f37,_0x4f3965){return _0xc94f37+_0x4f3965;},_0x3882cc[_0x5d93d6(0x7b)]=_0x5d93d6(0xa0),_0x3882cc[_0x5d93d6(0x6f)]=function(_0x38dd1d,_0x5d139a){return _0x38dd1d+_0x5d139a;},_0x3882cc[_0x5d93d6(0xc5)]=_0x5d93d6(0x99),_0x3882cc['OsLTX']=_0x5d93d6(0xa5);const _0x3959b0=_0x3882cc,_0x261ecf=_0x36ecc4[_0x5d93d6(0xc3)]();for(let _0x28e69e=0x0;_0x3959b0['bxVjw'](_0x28e69e,_0x261ecf[_0x5d93d6(0xae)]);_0x28e69e++){if(_0x3959b0[_0x5d93d6(0xa3)](_0x261ecf[_0x28e69e],'-r')||_0x3959b0['RJlDb'](_0x261ecf[_0x28e69e],_0x3959b0['xKiOq']))return _0x261ecf[_0x3959b0[_0x5d93d6(0xbe)](_0x28e69e,0x1)]&&_0x3959b0[_0x5d93d6(0x9b)](_0x261ecf[_0x3959b0[_0x5d93d6(0x6c)](_0x28e69e,0x1)][_0x5d93d6(0x87)](_0x3959b0[_0x5d93d6(0x7b)]),-0x1)&&(_0x261ecf[_0x3959b0[_0x5d93d6(0x6f)](_0x28e69e,0x1)]+=_0x3959b0[_0x5d93d6(0xc5)]),_0x261ecf;}return _0x261ecf[_0x5d93d6(0xda)]('-r',_0x3959b0[_0x5d93d6(0xce)]),_0x261ecf;}function runNewmanCLI(_0x239f48){const _0x100622=a40_0x474d7c,_0x36d717={'lBSDK':function(_0x276bcc,_0x331273){return _0x276bcc>_0x331273;},'MzxgX':function(_0x508f27,_0x974ae0){return _0x508f27(_0x974ae0);},'ZYTan':function(_0x3b34cf,_0x19e007,_0x18f502){return _0x3b34cf(_0x19e007,_0x18f502);},'RHnWV':_0x100622(0x71),'eeuzQ':_0x100622(0x82),'AutVe':function(_0xac944c,_0x51b366){return _0xac944c(_0x51b366);},'PKclv':_0x100622(0x7a),'XBtID':_0x100622(0xcc),'plExs':'newman/bin/newman','ijIpr':_0x100622(0x93),'kugvc':function(_0x276c6a,_0x17b2d2){return _0x276c6a+_0x17b2d2;},'kocqy':_0x100622(0xc0)};return new Promise(_0xc42d55=>{const _0x42381a=_0x100622,_0x214030={'qkhan':function(_0x157175,_0x319cca){const _0x399af8=a40_0x4064;return _0x36d717[_0x399af8(0xd0)](_0x157175,_0x319cca);},'WSlNk':function(_0x4af198,_0x2f9193){const _0x1b1e73=a40_0x4064;return _0x36d717[_0x1b1e73(0x92)](_0x4af198,_0x2f9193);},'CURgm':function(_0x5e5e62,_0x4305f9,_0x3cf8d9){const _0x44e90e=a40_0x4064;return _0x36d717[_0x44e90e(0xac)](_0x5e5e62,_0x4305f9,_0x3cf8d9);}};let _0x42df0f;try{_0x42df0f=helper[_0x42381a(0x6a)](_0x36d717[_0x42381a(0xaf)],_0x36d717[_0x42381a(0xaf)]);}catch(_0x55e8ef){return logger[_0x42381a(0x94)](_0x36d717['eeuzQ']),_0x36d717[_0x42381a(0xcb)](_0xc42d55,0x1);}const _0x1c00bd=_0x42df0f[_0x42381a(0x90)];_0x42df0f[_0x42381a(0x90)]=function(_0x4f1f40,_0x5e60a2){const _0x5ddfd2=_0x42381a;return _0x42df0f[_0x5ddfd2(0x90)]=_0x1c00bd,_0x1c00bd['call'](_0x42df0f,_0x4f1f40,(_0x30c56d,_0xa9e036)=>{const _0x4a3ed7=_0x5ddfd2,_0x5e4241=_0xa9e036&&_0xa9e036[_0x4a3ed7(0x90)]&&(_0xa9e036['run'][_0x4a3ed7(0x94)]||_0xa9e036['run']['failures']&&_0x214030[_0x4a3ed7(0xaa)](_0xa9e036[_0x4a3ed7(0x90)][_0x4a3ed7(0xb8)][_0x4a3ed7(0xae)],0x0));_0x214030[_0x4a3ed7(0x68)](_0xc42d55,_0x5e4241?0x1:0x0),_0x5e60a2&&_0x214030[_0x4a3ed7(0xcf)](_0x5e60a2,_0x30c56d,_0xa9e036);});};try{const _0x1d5ec3=_0x36d717[_0x42381a(0xcb)](require,_0x36d717[_0x42381a(0x91)])[_0x42381a(0xb4)](path['join'](process[_0x42381a(0x81)](),_0x36d717['XBtID']));_0x36d717[_0x42381a(0xcb)](_0x1d5ec3,_0x36d717[_0x42381a(0xad)])([_0x36d717[_0x42381a(0xe5)],_0x36d717[_0x42381a(0xaf)]][_0x42381a(0xe0)](_0x239f48));}catch(_0x346148){_0x42df0f['run']=_0x1c00bd,logger[_0x42381a(0x94)](_0x36d717[_0x42381a(0x7d)](_0x36d717[_0x42381a(0xa2)],_0x346148[_0x42381a(0xd8)])),_0x36d717[_0x42381a(0x92)](_0xc42d55,0x1);}});}function runNewmanScript(_0x170d24,_0x50f0ae){const _0x15a9f8=a40_0x474d7c,_0x2523a3={'EcmKf':function(_0x22a445,_0x5b8e09){return _0x22a445(_0x5b8e09);},'OILuV':function(_0x21616c,_0x5ee005){return _0x21616c||_0x5ee005;},'sQZna':function(_0x134748,_0xb38243,_0x209ba7,_0x551b24){return _0x134748(_0xb38243,_0x209ba7,_0x551b24);},'Wourk':_0x15a9f8(0x95),'DcQHR':'inherit','FPdiQ':_0x15a9f8(0xc2)};return new Promise(function(_0x5cb8fe){const _0xa927e3=_0x15a9f8,_0x23fbef=_0x2523a3[_0xa927e3(0x79)](fork,path[_0xa927e3(0x89)](__dirname,_0x2523a3[_0xa927e3(0x6d)]),[_0x170d24,_0x2523a3['EcmKf'](String,_0x2523a3['OILuV'](_0x50f0ae,0x0))],{'stdio':_0x2523a3[_0xa927e3(0x8c)],'env':Object[_0xa927e3(0x73)]({},process['env'])});_0x23fbef['on'](_0x2523a3[_0xa927e3(0x9f)],function(_0x4d0155){const _0x15b309=_0xa927e3;_0x2523a3[_0x15b309(0xe1)](_0x5cb8fe,_0x2523a3[_0x15b309(0x86)](_0x4d0155,0x0));});});}function hasO11yBuild(){const _0x102d2e=a40_0x474d7c,_0x1f4996={};_0x1f4996[_0x102d2e(0x8d)]=function(_0x5e3e8b,_0x5cdeee){return _0x5e3e8b!==_0x5cdeee;},_0x1f4996[_0x102d2e(0x96)]=_0x102d2e(0x9d);const _0x48a0fc=_0x1f4996;return!!(BrowserstackCLI[_0x102d2e(0x69)]||process[_0x102d2e(0xb2)]['BROWSERSTACK_TESTHUB_JWT']&&_0x48a0fc[_0x102d2e(0x8d)](process[_0x102d2e(0xb2)]['BROWSERSTACK_TESTHUB_JWT'],_0x48a0fc['kcgjR']));}function runWithoutObservability(_0xe06e45,_0x555c06){const _0x19bac9=a40_0x474d7c,_0x16b04e={'JVqDb':function(_0x38e61d,_0x2ff743){return _0x38e61d(_0x2ff743);},'vhYMj':function(_0x30093,_0x3fe93b){return _0x30093(_0x3fe93b);}};if(_0xe06e45)return _0x16b04e[_0x19bac9(0xd5)](require,path[_0x19bac9(0x70)](_0xe06e45)),0x0;return _0x16b04e['vhYMj'](runNewmanCLI,_0x555c06);}function a40_0x4064(_0x3f1b4e,_0x33b5e0){const _0x345d84=a40_0x345d();return a40_0x4064=function(_0x406476,_0x39c5c3){_0x406476=_0x406476-0x68;let _0x2bf174=_0x345d84[_0x406476];return _0x2bf174;},a40_0x4064(_0x3f1b4e,_0x33b5e0);}module[a40_0x474d7c(0xbb)]=async function(_0x79fd16,_0xbb5574,_0x522fdd){const _0x28bfc8=a40_0x474d7c,_0x18ab59={'IwTwa':_0x28bfc8(0x9c),'ANuQb':function(_0x29e5f6,_0x40d454){return _0x29e5f6===_0x40d454;},'EvNTB':function(_0x1de543,_0x4400b2){return _0x1de543===_0x4400b2;},'bClWD':_0x28bfc8(0xb0),'XoNRe':function(_0x3f7ade,_0x2b6ed3,_0x54e006){return _0x3f7ade(_0x2b6ed3,_0x54e006);},'mBhkZ':function(_0x5872da,_0x2ba2d8){return _0x5872da!=_0x2ba2d8;},'AiVXq':_0x28bfc8(0xa8),'UNpUs':_0x28bfc8(0x71),'NhIux':function(_0x4085dc,_0x2c9bff){return _0x4085dc+_0x2c9bff;},'xoQoY':_0x28bfc8(0xa6),'lhfCT':function(_0x373297,_0x30c334){return _0x373297+_0x30c334;},'dSFDX':_0x28bfc8(0xbd),'XVVpo':function(_0x975bdf){return _0x975bdf();},'wEpVQ':_0x28bfc8(0xc7),'SoFmf':function(_0x3b8eed){return _0x3b8eed();},'KhTFn':function(_0x4dbc6a,_0x10b5ee){return _0x4dbc6a(_0x10b5ee);},'mJpmn':function(_0x16ef37,_0x4e90e8){return _0x16ef37(_0x4e90e8);},'qIbuy':function(_0x293a99){return _0x293a99();},'nSUNK':_0x28bfc8(0xd2)},_0x1c1f17=_0xbb5574[_0x28bfc8(0xc3)](0x1),_0x388210=_0x1c1f17[0x0]&&_0x1c1f17[0x0]['endsWith'](_0x18ab59[_0x28bfc8(0x80)])?_0x1c1f17[0x0]:null;if(!_0x522fdd[_0x28bfc8(0x84)]||_0x18ab59['ANuQb'](_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0x9e)],![])||_0x18ab59[_0x28bfc8(0xd4)](_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0x9e)],_0x18ab59['bClWD'])){process[_0x28bfc8(0xd6)]=await _0x18ab59[_0x28bfc8(0x77)](runWithoutObservability,_0x388210,_0x1c1f17)||0x0;return;}process[_0x28bfc8(0xb2)]['BROWSERSTACK_AUTOMATION']=_0x18ab59[_0x28bfc8(0x75)],process[_0x28bfc8(0xb2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x18ab59[_0x28bfc8(0x75)],process[_0x28bfc8(0xb2)][_0x28bfc8(0xb7)]=_0x18ab59[_0x28bfc8(0xc6)](_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0x9e)],null)?_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0x9e)]:_0x18ab59[_0x28bfc8(0xe2)],CLIUtils[_0x28bfc8(0xdd)](_0x18ab59['UNpUs'],_0x18ab59[_0x28bfc8(0x97)]),BrowserstackCLI[_0x28bfc8(0xa1)]()[_0x28bfc8(0xb1)](_0x522fdd['config'],_0x522fdd[_0x28bfc8(0xe6)],_0x522fdd[_0x28bfc8(0xd3)]);try{await BrowserstackCLI['getInstance']()[_0x28bfc8(0x6b)]();}catch(_0x141bdd){logger['error'](_0x18ab59['NhIux'](_0x18ab59[_0x28bfc8(0xdf)],_0x141bdd['message']||_0x141bdd));}if(!BrowserstackCLI[_0x28bfc8(0xa1)]()[_0x28bfc8(0xb6)]())try{await TestHubHandler[_0x28bfc8(0xd7)](FRAMEWORKS[_0x28bfc8(0x88)],_0x522fdd);}catch(_0x25e74b){logger[_0x28bfc8(0x94)](_0x18ab59[_0x28bfc8(0xab)](_0x18ab59[_0x28bfc8(0xbf)],_0x25e74b['message']||_0x25e74b));}!_0x18ab59['XVVpo'](hasO11yBuild)&&logger['warn'](_0x18ab59[_0x28bfc8(0x6e)]);_0x18ab59[_0x28bfc8(0x8e)](registerBrowserStackReporter);let _0x5dfcb8;_0x388210?_0x5dfcb8=await _0x18ab59[_0x28bfc8(0x77)](runNewmanScript,_0x388210,_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0xb5)]):_0x5dfcb8=await _0x18ab59[_0x28bfc8(0xdc)](runNewmanCLI,_0x18ab59[_0x28bfc8(0x7e)](injectReporterIntoArgs,_0x1c1f17));try{await TestHubHandler[_0x28bfc8(0x9a)]();}catch(_0x4c36e9){}try{await BrowserstackCLI[_0x28bfc8(0xa1)]()['stop']();}catch(_0x1dd035){}try{await RequestQueueHandler[_0x28bfc8(0xa1)]()[_0x28bfc8(0xa7)]();}catch(_0x553dd2){}if(_0x18ab59['qIbuy'](hasO11yBuild))try{_0x18ab59['SoFmf'](printBuildLink);}catch(_0xe9646c){}else logger[_0x28bfc8(0x8b)](_0x18ab59[_0x28bfc8(0xb9)]);process[_0x28bfc8(0xd6)]=_0x5dfcb8;};
|
|
2
|
+
'use strict';const a44_0x29f5df=a44_0x297a;(function(_0x455870,_0x2749d7){const _0x46f11f=a44_0x297a,_0x2904fd=_0x455870();while(!![]){try{const _0x245e71=-parseInt(_0x46f11f(0x20f))/0x1*(-parseInt(_0x46f11f(0x1cb))/0x2)+parseInt(_0x46f11f(0x218))/0x3+-parseInt(_0x46f11f(0x231))/0x4*(parseInt(_0x46f11f(0x1fb))/0x5)+parseInt(_0x46f11f(0x1d3))/0x6+-parseInt(_0x46f11f(0x211))/0x7*(parseInt(_0x46f11f(0x1cd))/0x8)+-parseInt(_0x46f11f(0x234))/0x9+parseInt(_0x46f11f(0x1fc))/0xa;if(_0x245e71===_0x2749d7)break;else _0x2904fd['push'](_0x2904fd['shift']());}catch(_0x3c9d0c){_0x2904fd['push'](_0x2904fd['shift']());}}}(a44_0xe357,0x73541));function a44_0x297a(_0x632a14,_0x11fc8c){const _0xe357cd=a44_0xe357();return a44_0x297a=function(_0x297acb,_0x485e6d){_0x297acb=_0x297acb-0x1c5;let _0x51c5fc=_0xe357cd[_0x297acb];return _0x51c5fc;},a44_0x297a(_0x632a14,_0x11fc8c);}const path=require(a44_0x29f5df(0x1f9)),Module=require(a44_0x29f5df(0x227)),{fork}=require(a44_0x29f5df(0x220)),logger=require('../../helpers/logger')[a44_0x29f5df(0x1c8)],helper=require('../../helpers/helper'),TestHubHandler=require(a44_0x29f5df(0x210)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a44_0x29f5df(0x228)),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a44_0x29f5df(0x233));function registerBrowserStackReporter(){const _0x29ddb7=a44_0x29f5df,_0x441a79={};_0x441a79[_0x29ddb7(0x203)]=function(_0x4896d8,_0x3eb7e5){return _0x4896d8===_0x3eb7e5;},_0x441a79[_0x29ddb7(0x1f1)]=_0x29ddb7(0x1f2),_0x441a79[_0x29ddb7(0x209)]=_0x29ddb7(0x22e),_0x441a79[_0x29ddb7(0x1ce)]=_0x29ddb7(0x217);const _0x581b20=_0x441a79,_0x515124=path[_0x29ddb7(0x1da)](__dirname,_0x581b20['Mmslu'],_0x581b20['Vjsat']),_0x4cb63a=Module[_0x29ddb7(0x20c)];Module[_0x29ddb7(0x20c)]=function(_0x2253df,_0x2ad97d,_0x369083,_0x52eabc){if(_0x581b20['VBPgO'](_0x2253df,_0x581b20['kzxLv']))return _0x515124;return _0x4cb63a['call'](this,_0x2253df,_0x2ad97d,_0x369083,_0x52eabc);};}function injectReporterIntoArgs(_0x9669d9){const _0x3fc636=a44_0x29f5df,_0x6b06df={};_0x6b06df[_0x3fc636(0x214)]=function(_0x3be190,_0x58c8bf){return _0x3be190<_0x58c8bf;},_0x6b06df[_0x3fc636(0x1e5)]=function(_0x256a5a,_0x4bf6ed){return _0x256a5a===_0x4bf6ed;},_0x6b06df['uSwIJ']=function(_0x1fce5e,_0x4f0337){return _0x1fce5e===_0x4f0337;},_0x6b06df[_0x3fc636(0x1f5)]=_0x3fc636(0x22d),_0x6b06df['gwQOS']=function(_0x117a51,_0x4399d3){return _0x117a51+_0x4399d3;},_0x6b06df['lLceH']=function(_0x58af12,_0x2bf43e){return _0x58af12===_0x2bf43e;},_0x6b06df[_0x3fc636(0x1cf)]=function(_0x2beb9a,_0x52187a){return _0x2beb9a+_0x52187a;},_0x6b06df[_0x3fc636(0x224)]='browserstack',_0x6b06df[_0x3fc636(0x20a)]=',browserstack',_0x6b06df[_0x3fc636(0x219)]=_0x3fc636(0x1d5);const _0x562091=_0x6b06df,_0x29c448=_0x9669d9[_0x3fc636(0x22b)]();for(let _0x5a9da0=0x0;_0x562091[_0x3fc636(0x214)](_0x5a9da0,_0x29c448[_0x3fc636(0x221)]);_0x5a9da0++){if(_0x562091['BJRkb'](_0x29c448[_0x5a9da0],'-r')||_0x562091['uSwIJ'](_0x29c448[_0x5a9da0],_0x562091[_0x3fc636(0x1f5)]))return _0x29c448[_0x562091[_0x3fc636(0x1fe)](_0x5a9da0,0x1)]&&_0x562091[_0x3fc636(0x213)](_0x29c448[_0x562091[_0x3fc636(0x1cf)](_0x5a9da0,0x1)]['indexOf'](_0x562091['pomtF']),-0x1)&&(_0x29c448[_0x562091[_0x3fc636(0x1cf)](_0x5a9da0,0x1)]+=_0x562091[_0x3fc636(0x20a)]),_0x29c448;}return _0x29c448[_0x3fc636(0x1eb)]('-r',_0x562091[_0x3fc636(0x219)]),_0x29c448;}function runNewmanCLI(_0x30eeca){const _0x238a61=a44_0x29f5df,_0x5d45bf={'DuNoh':function(_0x23c051,_0x46118e){return _0x23c051>_0x46118e;},'BzcAE':function(_0x30e679,_0x177fb4){return _0x30e679(_0x177fb4);},'fMAiE':function(_0x361b47,_0x39139b,_0x13ff33){return _0x361b47(_0x39139b,_0x13ff33);},'hPpBQ':_0x238a61(0x232),'fcppq':_0x238a61(0x1d2),'sbHlq':_0x238a61(0x227),'zdqAE':'package.json','OXFAt':_0x238a61(0x1d0),'xezIA':_0x238a61(0x1c6),'ovudB':function(_0x16c9e6,_0x47e0dd){return _0x16c9e6+_0x47e0dd;},'fUBqm':_0x238a61(0x230),'WHBUE':function(_0x45667d,_0x3adc9f){return _0x45667d(_0x3adc9f);}};return new Promise(_0x489ef1=>{const _0x8557af=_0x238a61,_0x3ded9b={'tqqAC':function(_0x2d21f6,_0x5ec66f){const _0x1fbdea=a44_0x297a;return _0x5d45bf[_0x1fbdea(0x1dc)](_0x2d21f6,_0x5ec66f);},'oSgQk':function(_0x5554ba,_0x4bb8d6){const _0x338546=a44_0x297a;return _0x5d45bf[_0x338546(0x1e3)](_0x5554ba,_0x4bb8d6);},'SwCxE':function(_0x125650,_0x1fbaaf,_0x4e679e){const _0x2c0a95=a44_0x297a;return _0x5d45bf[_0x2c0a95(0x1ea)](_0x125650,_0x1fbaaf,_0x4e679e);}};let _0x2466e4;try{_0x2466e4=helper[_0x8557af(0x223)](_0x5d45bf[_0x8557af(0x229)],_0x5d45bf[_0x8557af(0x229)]);}catch(_0x5ea77b){return logger['error'](_0x5d45bf['fcppq']),_0x5d45bf[_0x8557af(0x1e3)](_0x489ef1,0x1);}const _0x41edf3=_0x2466e4[_0x8557af(0x1e2)];_0x2466e4['run']=function(_0xb23c60,_0x4bf2b){const _0x18acec=_0x8557af;return _0x2466e4[_0x18acec(0x1e2)]=_0x41edf3,_0x41edf3['call'](_0x2466e4,_0xb23c60,(_0x38c778,_0x5ec754)=>{const _0x693207=_0x18acec,_0x4313eb=_0x5ec754&&_0x5ec754[_0x693207(0x1e2)]&&(_0x5ec754[_0x693207(0x1e2)][_0x693207(0x1d9)]||_0x5ec754[_0x693207(0x1e2)][_0x693207(0x1c5)]&&_0x3ded9b[_0x693207(0x21c)](_0x5ec754[_0x693207(0x1e2)][_0x693207(0x1c5)]['length'],0x0));_0x3ded9b[_0x693207(0x1f3)](_0x489ef1,_0x4313eb?0x1:0x0),_0x4bf2b&&_0x3ded9b['SwCxE'](_0x4bf2b,_0x38c778,_0x5ec754);});};try{const _0x3c4789=_0x5d45bf[_0x8557af(0x1e3)](require,_0x5d45bf['sbHlq'])[_0x8557af(0x1c9)](path[_0x8557af(0x1da)](process[_0x8557af(0x1e6)](),_0x5d45bf[_0x8557af(0x1d1)]));_0x5d45bf[_0x8557af(0x1e3)](_0x3c4789,_0x5d45bf[_0x8557af(0x206)])([_0x5d45bf[_0x8557af(0x22a)],_0x5d45bf['hPpBQ']]['concat'](_0x30eeca));}catch(_0x3794b0){_0x2466e4[_0x8557af(0x1e2)]=_0x41edf3,logger[_0x8557af(0x1d9)](_0x5d45bf[_0x8557af(0x1f7)](_0x5d45bf[_0x8557af(0x1f4)],_0x3794b0[_0x8557af(0x20b)])),_0x5d45bf[_0x8557af(0x22f)](_0x489ef1,0x1);}});}function runNewmanScript(_0x4efd5c,_0x291a79){const _0x2ff9f0=a44_0x29f5df,_0x59e7d3={'iFxoF':function(_0x57b1cc,_0x56473b){return _0x57b1cc(_0x56473b);},'QCNDB':function(_0x153747,_0x12529a){return _0x153747||_0x12529a;},'vRRgz':function(_0x45fc43,_0x47604f,_0x5cf1e1,_0x334c25){return _0x45fc43(_0x47604f,_0x5cf1e1,_0x334c25);},'nwZTM':'scriptRunner.js','tmLZR':function(_0x5451e7,_0x7f922c){return _0x5451e7(_0x7f922c);},'cAfCQ':'inherit','wBGFf':_0x2ff9f0(0x1db)};return new Promise(function(_0x44e619){const _0x2d6c4c=_0x2ff9f0,_0x219e9d=_0x59e7d3[_0x2d6c4c(0x20d)](fork,path[_0x2d6c4c(0x1da)](__dirname,_0x59e7d3['nwZTM']),[_0x4efd5c,_0x59e7d3[_0x2d6c4c(0x1fd)](String,_0x59e7d3['QCNDB'](_0x291a79,0x0))],{'stdio':_0x59e7d3[_0x2d6c4c(0x1c7)],'env':Object[_0x2d6c4c(0x1e1)]({},process[_0x2d6c4c(0x1ed)])});_0x219e9d['on'](_0x59e7d3['wBGFf'],function(_0x479d13){const _0x3839ff=_0x2d6c4c;_0x59e7d3['iFxoF'](_0x44e619,_0x59e7d3[_0x3839ff(0x1ef)](_0x479d13,0x0));});});}function hasO11yBuild(){const _0x2cea6a=a44_0x29f5df,_0x49699e={};_0x49699e[_0x2cea6a(0x1ee)]=function(_0x356f73,_0x4c9fdd){return _0x356f73!==_0x4c9fdd;},_0x49699e['HDaNf']=_0x2cea6a(0x202);const _0x5465b5=_0x49699e;return!!(BrowserstackCLI[_0x2cea6a(0x201)]||process[_0x2cea6a(0x1ed)]['BROWSERSTACK_TESTHUB_JWT']&&_0x5465b5[_0x2cea6a(0x1ee)](process[_0x2cea6a(0x1ed)][_0x2cea6a(0x21f)],_0x5465b5[_0x2cea6a(0x1d6)]));}function runWithoutObservability(_0x757691,_0x1459c7){const _0x2ff0f2=a44_0x29f5df,_0x2f6c5c={'CdQoK':function(_0x50c09f,_0x38a3b9){return _0x50c09f(_0x38a3b9);}};if(_0x757691)return _0x2f6c5c[_0x2ff0f2(0x1d7)](require,path[_0x2ff0f2(0x215)](_0x757691)),0x0;return _0x2f6c5c['CdQoK'](runNewmanCLI,_0x1459c7);}module[a44_0x29f5df(0x22c)]=async function(_0x35eff8,_0x319c82,_0x5b403e){const _0x291354=a44_0x29f5df,_0x5f5790={'sFmKi':_0x291354(0x1f0),'BGHEY':function(_0x1c6fd7,_0x219ec4){return _0x1c6fd7===_0x219ec4;},'fueed':function(_0x2889c4,_0x5c1586){return _0x2889c4===_0x5c1586;},'rWCwI':'false','oPvTb':function(_0xa76a63,_0x846f21,_0x41e2dd){return _0xa76a63(_0x846f21,_0x41e2dd);},'rzPDL':function(_0x5b6a18,_0x470b2d){return _0x5b6a18!=_0x470b2d;},'YiCWl':_0x291354(0x1df),'ZptBY':_0x291354(0x232),'XGomD':function(_0x357985,_0x3c50fe){return _0x357985+_0x3c50fe;},'avwGz':_0x291354(0x1ff),'VLsNi':function(_0x548ff6,_0xc2fe35){return _0x548ff6+_0xc2fe35;},'rmZTP':'Failed\x20to\x20launch\x20build:\x20','HxrYz':function(_0x481ea7){return _0x481ea7();},'rvsVp':'[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','wrIyU':function(_0x419cf8,_0x58d8c7,_0x34ad62){return _0x419cf8(_0x58d8c7,_0x34ad62);},'HYDCa':function(_0x4a378e,_0x737410){return _0x4a378e(_0x737410);},'wGGdr':function(_0x386d75){return _0x386d75();},'DIfVH':_0x291354(0x1fa)},_0x357e14=_0x319c82[_0x291354(0x22b)](0x1),_0x5f2fb7=_0x357e14[0x0]&&_0x357e14[0x0][_0x291354(0x20e)](_0x5f5790['sFmKi'])?_0x357e14[0x0]:null;if(!_0x5b403e['config']||_0x5f5790[_0x291354(0x1d8)](_0x5b403e[_0x291354(0x1e4)][_0x291354(0x1e7)],![])||_0x5f5790[_0x291354(0x1e0)](_0x5b403e[_0x291354(0x1e4)]['testObservability'],_0x5f5790['rWCwI'])){process['exitCode']=await _0x5f5790['oPvTb'](runWithoutObservability,_0x5f2fb7,_0x357e14)||0x0;return;}process[_0x291354(0x1ed)][_0x291354(0x1cc)]=_0x5f5790[_0x291354(0x208)],process[_0x291354(0x1ed)][_0x291354(0x21e)]=_0x5f5790[_0x291354(0x208)],process[_0x291354(0x1ed)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5f5790['rzPDL'](_0x5b403e[_0x291354(0x1e4)][_0x291354(0x1e7)],null)?_0x5b403e[_0x291354(0x1e4)]['testObservability']:_0x5f5790[_0x291354(0x1dd)],CLIUtils[_0x291354(0x1f6)](_0x5f5790['ZptBY'],_0x5f5790[_0x291354(0x207)]),BrowserstackCLI[_0x291354(0x1e9)]()[_0x291354(0x1ec)](_0x5b403e[_0x291354(0x1e4)],_0x5b403e[_0x291354(0x21d)],_0x5b403e['cliConfig']);try{await BrowserstackCLI[_0x291354(0x1e9)]()[_0x291354(0x205)]();}catch(_0x2811ab){logger['error'](_0x5f5790[_0x291354(0x212)](_0x5f5790[_0x291354(0x200)],_0x2811ab['message']||_0x2811ab));}if(!BrowserstackCLI[_0x291354(0x1e9)]()[_0x291354(0x216)]())try{await TestHubHandler[_0x291354(0x204)](FRAMEWORKS[_0x291354(0x1ca)],_0x5b403e);}catch(_0x17db88){logger[_0x291354(0x1d9)](_0x5f5790[_0x291354(0x21b)](_0x5f5790['rmZTP'],_0x17db88[_0x291354(0x20b)]||_0x17db88));}!_0x5f5790['HxrYz'](hasO11yBuild)&&logger[_0x291354(0x235)](_0x5f5790[_0x291354(0x1de)]);_0x5f5790[_0x291354(0x1e8)](registerBrowserStackReporter);let _0x5d1632;_0x5f2fb7?_0x5d1632=await _0x5f5790[_0x291354(0x21a)](runNewmanScript,_0x5f2fb7,_0x5b403e[_0x291354(0x1e4)][_0x291354(0x1f8)]):_0x5d1632=await _0x5f5790[_0x291354(0x226)](runNewmanCLI,_0x5f5790[_0x291354(0x226)](injectReporterIntoArgs,_0x357e14));try{await TestHubHandler[_0x291354(0x1d4)]();}catch(_0x3c2d59){}try{await BrowserstackCLI[_0x291354(0x1e9)]()['stop']();}catch(_0x485b17){}try{await RequestQueueHandler[_0x291354(0x1e9)]()[_0x291354(0x225)]();}catch(_0x1b3c4b){}if(_0x5f5790[_0x291354(0x222)](hasO11yBuild))try{_0x5f5790['HxrYz'](printBuildLink);}catch(_0x4a761d){}else logger[_0x291354(0x235)](_0x5f5790['DIfVH']);process['exitCode']=_0x5d1632;};function a44_0xe357(){const _0x32ed80=['tqqAC','configPath','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','BROWSERSTACK_TESTHUB_JWT','child_process','length','wGGdr','requireModule','pomtF','shutdown','HYDCa','module','../../helpers/test-observability/constants','hPpBQ','xezIA','slice','exports','--reporters','reporter','WHBUE','Newman\x20CLI\x20not\x20found:\x20','313756GmbsLS','newman','../v2/cliUtils','3774717foxRui','warn','failures','node','cAfCQ','winstonLogger','createRequire','NEWMAN','28fkjoOI','BROWSERSTACK_AUTOMATION','216sRLVkM','Vjsat','DvQGS','newman/bin/newman','zdqAE','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','3015894QcZwdi','stop','cli,browserstack','HDaNf','CdQoK','BGHEY','error','join','close','DuNoh','YiCWl','rvsVp','true','fueed','assign','run','BzcAE','config','BJRkb','cwd','testObservability','HxrYz','getInstance','fMAiE','push','setBrowserstackConfig','env','DnjAb','QCNDB','.js','kzxLv','newman-reporter-browserstack','oSgQk','fUBqm','cctYH','setFrameworkDetail','ovudB','parallelsPerPlatform','path','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','45LyhTNT','13122410AyeMRY','tmLZR','gwQOS','Failed\x20to\x20bootstrap\x20CLI:\x20','avwGz','O11yHashedID','null','VBPgO','launchBuild','bootstrap','OXFAt','ZptBY','rWCwI','Mmslu','DcFdi','message','_resolveFilename','vRRgz','endsWith','22223HGQgHH','../../helpers/testhub/testhubHandler','240947XwegRa','XGomD','lLceH','OUPTE','resolve','isRunning','index.js','1203312uJMwOj','ceIvj','wrIyU','VLsNi'];a44_0xe357=function(){return _0x32ed80;};return a44_0xe357();}
|
package/src/bin/newman/helper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45_0x3cbc80=a45_0x5984;(function(_0x53b264,_0x5770f0){const _0x39c1a5=a45_0x5984,_0x58a7d6=_0x53b264();while(!![]){try{const _0x44d47c=-parseInt(_0x39c1a5(0x150))/0x1+-parseInt(_0x39c1a5(0x158))/0x2*(-parseInt(_0x39c1a5(0x15b))/0x3)+parseInt(_0x39c1a5(0x157))/0x4+parseInt(_0x39c1a5(0x14e))/0x5*(parseInt(_0x39c1a5(0x155))/0x6)+-parseInt(_0x39c1a5(0x151))/0x7*(-parseInt(_0x39c1a5(0x14d))/0x8)+parseInt(_0x39c1a5(0x15c))/0x9+-parseInt(_0x39c1a5(0x160))/0xa;if(_0x44d47c===_0x5770f0)break;else _0x58a7d6['push'](_0x58a7d6['shift']());}catch(_0x399d39){_0x58a7d6['push'](_0x58a7d6['shift']());}}}(a45_0x109e,0x35a72));function isNewman(_0x1b69d0){const _0x856f8=a45_0x5984,_0x5efa54={'Juckr':function(_0x34197b,_0x27d849){return _0x34197b===_0x27d849;},'molQj':_0x856f8(0x15f),'WXOWA':function(_0x2a02f5,_0x4e2d09){return _0x2a02f5(_0x4e2d09);},'RNhPX':function(_0x393699,_0x1c02f7){return _0x393699||_0x1c02f7;}},_0x506ed0=process['env'][_0x856f8(0x159)]||'';let _0x3641d5='';_0x1b69d0&&_0x1b69d0[_0x856f8(0x15d)]&&(_0x3641d5=_0x1b69d0[_0x856f8(0x15d)]);const _0x24faea=_0x5efa54['Juckr'](_0x506ed0[_0x856f8(0x156)](),_0x5efa54[_0x856f8(0x15e)]),_0x29bbdb=_0x5efa54[_0x856f8(0x14f)](_0x5efa54[_0x856f8(0x153)](String,_0x3641d5)[_0x856f8(0x156)](),_0x5efa54[_0x856f8(0x15e)]);return _0x5efa54[_0x856f8(0x154)](_0x24faea,_0x29bbdb);};function a45_0x5984(_0x20086b,_0x257091){const _0x109e80=a45_0x109e();return a45_0x5984=function(_0x598452,_0x94f11a){_0x598452=_0x598452-0x14d;let _0x448d59=_0x109e80[_0x598452];return _0x448d59;},a45_0x5984(_0x20086b,_0x257091);}function a45_0x109e(){const _0x1be309=['isNewman','9USQAjf','1768221DDaqrt','framework','molQj','newman','3777080oXaAuN','13576dnHQka','1933320DxZKKn','Juckr','368513uTkLFX','553wKfFSN','exports','WXOWA','RNhPX','6MXaiWd','toLowerCase','273000nrGZiV','120358nhfQbm','BROWSERSTACK_FRAMEWORK'];a45_0x109e=function(){return _0x1be309;};return a45_0x109e();}const a45_0x526797={};a45_0x526797[a45_0x3cbc80(0x15a)]=isNewman,module[a45_0x3cbc80(0x152)]=a45_0x526797;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a42_0x3a5ade=a42_0x89e9;(function(_0xa9f79c,_0xf5156){const _0x67c4ed=a42_0x89e9,_0x354a0b=_0xa9f79c();while(!![]){try{const _0x343b47=-parseInt(_0x67c4ed(0x219))/0x1*(parseInt(_0x67c4ed(0x21a))/0x2)+parseInt(_0x67c4ed(0x180))/0x3*(parseInt(_0x67c4ed(0x1f9))/0x4)+-parseInt(_0x67c4ed(0x1c1))/0x5+-parseInt(_0x67c4ed(0x191))/0x6+parseInt(_0x67c4ed(0x209))/0x7+-parseInt(_0x67c4ed(0x16d))/0x8+parseInt(_0x67c4ed(0x210))/0x9;if(_0x343b47===_0xf5156)break;else _0x354a0b['push'](_0x354a0b['shift']());}catch(_0x12977b){_0x354a0b['push'](_0x354a0b['shift']());}}}(a42_0xa1bb,0xcf78b));const path=require(a42_0x3a5ade(0x18f)),{v4:uuidv4}=require(a42_0x3a5ade(0x237)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a42_0x3a5ade(0x22c)),logger=require('../../../helpers/logger')[a42_0x3a5ade(0x1fa)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a42_0x3a5ade(0x1c5)),LOG_LEVELS=['INFO',a42_0x3a5ade(0x1e2),a42_0x3a5ade(0x1f8),'DEBUG',a42_0x3a5ade(0x1dd)];function isCLIRunning(){const _0x228d33=a42_0x3a5ade;try{return BrowserstackCLI[_0x228d33(0x204)]()['isRunning']();}catch(_0x22a9c6){return![];}}function getParentTitles(_0x1b5825){const _0x4166ec=a42_0x3a5ade,_0x37c441={'yYFYu':function(_0x25919f,_0x4521f3){return _0x25919f(_0x4521f3);}},_0x205b9f=[],_0x1947fb=_0x1b5825['parent']();return _0x1947fb&&_0x205b9f[_0x4166ec(0x20f)]['apply'](_0x205b9f,_0x37c441[_0x4166ec(0x223)](getParentTitles,_0x1947fb)),_0x1b5825[_0x4166ec(0x1bf)]&&_0x205b9f[_0x4166ec(0x20f)](_0x37c441[_0x4166ec(0x223)](String,_0x1b5825['name'])),_0x205b9f;}function normalizeLogLevel(_0x2072bb){const _0x859761=a42_0x3a5ade,_0x16b7dd={};_0x16b7dd[_0x859761(0x18c)]=_0x859761(0x231),_0x16b7dd['zAxtT']=function(_0x4b3f43,_0x3e7179){return _0x4b3f43!==_0x3e7179;};const _0x4b3937=_0x16b7dd;if(!_0x2072bb)return _0x4b3937[_0x859761(0x18c)];const _0x121c9a=_0x2072bb[_0x859761(0x208)]();return _0x4b3937[_0x859761(0x1fe)](LOG_LEVELS[_0x859761(0x1cc)](_0x121c9a),-0x1)?_0x121c9a:_0x4b3937[_0x859761(0x18c)];}function resolveCollectionFile(_0x2ed8b4,_0x337650){const _0x8d4ce9=a42_0x3a5ade,_0x1299c2={};_0x1299c2['UEQmd']=function(_0x12e27c,_0x480e5d){return _0x12e27c===_0x480e5d;},_0x1299c2[_0x8d4ce9(0x1a4)]=_0x8d4ce9(0x20c),_0x1299c2['CtjbB']=_0x8d4ce9(0x22d),_0x1299c2[_0x8d4ce9(0x1e9)]=function(_0x4cddbc,_0x30e031){return _0x4cddbc!==_0x30e031;},_0x1299c2[_0x8d4ce9(0x213)]=function(_0x58e3e0,_0xfeb024){return _0x58e3e0<_0xfeb024;},_0x1299c2[_0x8d4ce9(0x164)]=function(_0x5f23c0,_0x71a0f1){return _0x5f23c0+_0x71a0f1;},_0x1299c2[_0x8d4ce9(0x222)]=_0x8d4ce9(0x1d2),_0x1299c2[_0x8d4ce9(0x1df)]=_0x8d4ce9(0x1b2);const _0xd8486=_0x1299c2;try{if(_0x337650&&_0x337650[_0x8d4ce9(0x239)])return path[_0x8d4ce9(0x221)](process['cwd'](),path[_0x8d4ce9(0x19b)](_0x337650[_0x8d4ce9(0x239)]));const _0x3bfd49=_0x2ed8b4[_0x8d4ce9(0x1cd)];if(_0xd8486['UEQmd'](typeof _0x3bfd49,_0xd8486[_0x8d4ce9(0x1a4)]))return path[_0x8d4ce9(0x221)](process[_0x8d4ce9(0x192)](),path['resolve'](_0x3bfd49));const _0x1d6b7d=process[_0x8d4ce9(0x1da)][_0x8d4ce9(0x1cc)](_0xd8486[_0x8d4ce9(0x1e7)]);if(_0xd8486[_0x8d4ce9(0x1e9)](_0x1d6b7d,-0x1)&&_0xd8486[_0x8d4ce9(0x213)](_0xd8486['nZjNO'](_0x1d6b7d,0x1),process['argv']['length'])){const _0x19fa56=process[_0x8d4ce9(0x1da)][_0xd8486[_0x8d4ce9(0x164)](_0x1d6b7d,0x1)];if(_0x19fa56&&!_0x19fa56['startsWith']('-'))return path[_0x8d4ce9(0x221)](process['cwd'](),path[_0x8d4ce9(0x19b)](_0x19fa56));}}catch(_0x1a01c7){}return logger[_0x8d4ce9(0x19c)](_0xd8486[_0x8d4ce9(0x222)]),_0xd8486[_0x8d4ce9(0x1df)];}function resolveCollectionName(_0x277364){const _0x510724=a42_0x3a5ade,_0x552c47={};_0x552c47[_0x510724(0x23a)]=function(_0x3435e2,_0x462650){return _0x3435e2===_0x462650;},_0x552c47[_0x510724(0x1ef)]=_0x510724(0x17f);const _0x4a07b3=_0x552c47;try{const _0x73d75c=_0x277364[_0x510724(0x1cd)];if(_0x73d75c&&_0x4a07b3[_0x510724(0x23a)](typeof _0x73d75c,_0x4a07b3[_0x510724(0x1ef)]))return _0x73d75c[_0x510724(0x1bf)]||_0x73d75c['info']&&_0x73d75c['info'][_0x510724(0x1bf)]||null;}catch(_0x5c3b1b){}return null;}function a42_0x89e9(_0x2f3e3f,_0x386658){const _0xa1bb31=a42_0xa1bb();return a42_0x89e9=function(_0x89e918,_0x5e61f9){_0x89e918=_0x89e918-0x160;let _0x2bea43=_0xa1bb31[_0x89e918];return _0x2bea43;},a42_0x89e9(_0x2f3e3f,_0x386658);}function emitTest(_0x27f00a,_0x39ef31,_0x4b3059,_0x597da6,_0x18a1b8){const _0x36a853=a42_0x3a5ade,_0x323388={'tzJsl':function(_0x173aac){return _0x173aac();},'YgeXg':_0x36a853(0x16e),'inHDD':function(_0x5f410b,_0x12b4a7){return _0x5f410b(_0x12b4a7);},'hSfvY':_0x36a853(0x1b3),'Rcwgr':_0x36a853(0x1f3),'iWmYI':function(_0x101a39,_0x3e675e){return _0x101a39!=_0x3e675e;},'LmFEJ':function(_0x531107,_0x3f60f5){return _0x531107===_0x3f60f5;},'ubsSj':_0x36a853(0x206),'CMYrx':_0x36a853(0x21b)};if(_0x323388[_0x36a853(0x1af)](isCLIRunning))try{const _0x352159=BrowserstackCLI[_0x36a853(0x204)]()[_0x36a853(0x201)]();if(!_0x352159)return;_0x352159['trackEvent'](TestFrameworkState[_0x36a853(0x230)],_0x27f00a,{'test':{'uuid':_0x39ef31[_0x36a853(0x237)],'name':_0x39ef31[_0x36a853(0x1bf)],'scopes':_0x4b3059[_0x36a853(0x1f2)],'scope':_0x4b3059[_0x36a853(0x1f2)][_0x36a853(0x20b)]('\x20'),'file_path':_0x597da6,'location':_0x4b3059[_0x36a853(0x1ac)],'started_at':_0x4b3059[_0x36a853(0x1d6)],'finished_at':_0x18a1b8[_0x36a853(0x1ba)]||null,'result':_0x18a1b8[_0x36a853(0x1ca)]||_0x323388[_0x36a853(0x175)],'failure':_0x18a1b8[_0x36a853(0x165)]||[],'failure_type':_0x18a1b8['failureType']||null,'failure_reason':_0x18a1b8[_0x36a853(0x232)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x1dcc4a){_0x323388[_0x36a853(0x1b6)](debug,_0x36a853(0x1fd)+_0x1dcc4a);}else{const _0x1f72be={'uuid':_0x39ef31[_0x36a853(0x237)],'name':_0x39ef31['name'],'framework':_0x323388[_0x36a853(0x1b8)],'body':{'lang':_0x323388['Rcwgr'],'code':null},'scope':_0x4b3059['scopes'][_0x36a853(0x20b)]('\x20'),'scopes':_0x4b3059[_0x36a853(0x1f2)],'identifier':_0x39ef31[_0x36a853(0x217)],'file_name':_0x4b3059[_0x36a853(0x1ac)],'vc_filepath':_0x4b3059['location'],'location':_0x4b3059[_0x36a853(0x236)],'started_at':_0x4b3059[_0x36a853(0x1d6)],'finished_at':_0x18a1b8['finishedAt']||null,'duration_in_ms':_0x323388['iWmYI'](_0x18a1b8[_0x36a853(0x1a5)],null)?Math['max'](0x0,_0x18a1b8[_0x36a853(0x1a5)]):null,'result':_0x18a1b8[_0x36a853(0x1ca)]||_0x323388[_0x36a853(0x175)],'failure_reason':_0x18a1b8[_0x36a853(0x232)]||null,'failure_type':_0x18a1b8[_0x36a853(0x17b)]||null,'failure':_0x18a1b8[_0x36a853(0x165)]||[],'retry_of':null,'hooks':[]};_0x1f72be[_0x36a853(0x165)][0x0]&&(_0x1f72be[_0x36a853(0x228)]=_0x1f72be[_0x36a853(0x165)][0x0]['backtrace'],_0x1f72be['failure_reason_expanded']=_0x1f72be[_0x36a853(0x165)][0x0][_0x36a853(0x1c7)]);const _0x2efb8a=_0x323388[_0x36a853(0x214)](_0x27f00a,HookState['PRE'])?_0x323388['ubsSj']:_0x323388['CMYrx'],_0x460d03={};_0x460d03['event_type']=_0x2efb8a,_0x460d03[_0x36a853(0x226)]=_0x1f72be,SessionHandler['uploadEventData'](_0x460d03);}}function emitLog(_0x29d084,_0x5aad66){const _0x1bdd12=a42_0x3a5ade,_0x76052f={'PKUeo':'TEST_LOG','bCmdD':function(_0x3668d1){return _0x3668d1();},'WrRjt':function(_0x13cac4,_0x2d1950){return _0x13cac4===_0x2d1950;},'vihDo':_0x1bdd12(0x1a9),'tJoJJ':_0x1bdd12(0x1b3),'oJDXv':'TEST','HmdzY':'INFO','DcuUT':function(_0xda226f,_0x341be1){return _0xda226f(_0x341be1);},'vIjkT':function(_0x2191b8,_0x312ad6){return _0x2191b8+_0x312ad6;},'KurLN':_0x1bdd12(0x179),'qHpXv':_0x1bdd12(0x189)},_0x5ea74e=_0x5aad66[_0x1bdd12(0x1f5)]||_0x76052f['PKUeo'],_0x311b22=_0x5aad66[_0x1bdd12(0x1a6)]||new Date()[_0x1bdd12(0x224)]();if(_0x76052f[_0x1bdd12(0x1cf)](isCLIRunning))try{const _0x2b92a1=_0x76052f[_0x1bdd12(0x247)](_0x5ea74e,_0x76052f[_0x1bdd12(0x243)])?JSON[_0x1bdd12(0x23d)](_0x5aad66):_0x5aad66['message']||'',_0x18ca35={};_0x18ca35[_0x1bdd12(0x193)]=0x0,_0x18ca35[_0x1bdd12(0x1aa)]=_0x76052f[_0x1bdd12(0x1a0)],_0x18ca35['testFrameworkVersion']='',_0x18ca35['testFrameworkState']=_0x76052f[_0x1bdd12(0x1b7)],_0x18ca35['logs']=[{'uuid':_0x29d084,'timestamp':_0x311b22,'kind':_0x5ea74e,'level':_0x5aad66['level']||_0x76052f[_0x1bdd12(0x17a)],'message':_0x2b92a1}],GrpcClient[_0x1bdd12(0x204)]()['logCreatedEvent'](_0x18ca35);}catch(_0x4f9fa4){_0x76052f['DcuUT'](debug,_0x76052f['vIjkT'](_0x76052f['KurLN'],_0x4f9fa4));}else{const _0x43c3b7={};_0x43c3b7[_0x1bdd12(0x1c2)]=_0x29d084,_0x43c3b7[_0x1bdd12(0x1a6)]=_0x311b22,_0x43c3b7['level']=_0x5aad66[_0x1bdd12(0x1eb)]||null,_0x43c3b7['message']=_0x5aad66[_0x1bdd12(0x1d5)]||null,_0x43c3b7[_0x1bdd12(0x1f5)]=_0x5ea74e,_0x43c3b7['http_response']=_0x5aad66[_0x1bdd12(0x1f1)]||{};const _0x4c082e={};_0x4c082e['event_type']=_0x76052f[_0x1bdd12(0x1ab)],_0x4c082e[_0x1bdd12(0x1a8)]=[_0x43c3b7],SessionHandler['uploadEventData'](_0x4c082e);}}function BrowserStackNewmanReporter(_0x8f3ba,_0x5a7974,_0x2bd700){const _0x5a4fd2=a42_0x3a5ade,_0x146cf8={'nECpE':function(_0x1c1bcd,_0x4b833f,_0x33362c){return _0x1c1bcd(_0x4b833f,_0x33362c);},'RCWMw':function(_0x262b7c,_0x11015c){return _0x262b7c(_0x11015c);},'WxvcS':function(_0x58c4df,_0x298f02){return _0x58c4df(_0x298f02);},'nWfOI':function(_0x22b0ca,_0x499eec){return _0x22b0ca>_0x499eec;},'AkpUO':_0x5a4fd2(0x1d4),'rdTKT':function(_0x5d6195,_0x4ac4e9){return _0x5d6195+_0x4ac4e9;},'ALJKB':'GET','hikio':function(_0x3be6cc,_0x303d7e){return _0x3be6cc(_0x303d7e);},'EcaKE':_0x5a4fd2(0x170),'yaHxy':function(_0x4050ae,_0x21ac2a){return _0x4050ae+_0x21ac2a;},'WjSuR':function(_0x4fe653){return _0x4fe653();},'hljEq':function(_0x1eee35,_0x3e3cf5){return _0x1eee35||_0x3e3cf5;},'NhHRd':function(_0xfd7382,_0x5d40a3,_0x349bbf,_0x5cb195,_0x17c63a,_0x579d1a){return _0xfd7382(_0x5d40a3,_0x349bbf,_0x5cb195,_0x17c63a,_0x579d1a);},'tDOBt':function(_0x533766,_0xbc58c6){return _0x533766===_0xbc58c6;},'nYoIM':_0x5a4fd2(0x1a9),'npwyq':function(_0x315ba7,_0x11cfd6){return _0x315ba7+_0x11cfd6;},'bagag':function(_0x451348,_0x5888d0){return _0x451348+_0x5888d0;},'hcnMb':function(_0x187255,_0x38590b){return _0x187255+_0x38590b;},'vbYPl':function(_0x21fcde,_0x47ebcd){return _0x21fcde+_0x47ebcd;},'YfJOz':_0x5a4fd2(0x1ec),'nnAQo':'ms)','rZbRA':_0x5a4fd2(0x231),'rajzG':function(_0x595795,_0x3e1e52){return _0x595795-_0x3e1e52;},'GSoei':function(_0x448093,_0x44cc89){return _0x448093(_0x44cc89);},'kpnFP':function(_0x3981e3,_0x3039b7){return _0x3981e3(_0x3039b7);},'SGsKJ':function(_0x335b3d,_0x4d7482){return _0x335b3d(_0x4d7482);},'mHTNF':function(_0x5afb48,_0xffd441){return _0x5afb48&&_0xffd441;},'xkIJW':function(_0x2a947a,_0x643a81,_0x2db79a){return _0x2a947a(_0x643a81,_0x2db79a);},'ywXSa':_0x5a4fd2(0x163),'bdQjx':_0x5a4fd2(0x1f8),'GVOMy':function(_0x68ea28,_0x3fcab1){return _0x68ea28(_0x3fcab1);},'QaIHA':_0x5a4fd2(0x162),'Wrwvn':function(_0x42cce9,_0x7cc072){return _0x42cce9>_0x7cc072;},'YCNVr':function(_0x4e454b,_0x57e516){return _0x4e454b-_0x57e516;},'zyqXA':_0x5a4fd2(0x1d8),'vGXlR':function(_0x4e137c,_0x31b78f,_0xb2230a){return _0x4e137c(_0x31b78f,_0xb2230a);},'kAwkr':function(_0x3a5673,_0x3874b5){return _0x3a5673+_0x3874b5;},'uFPNB':'Script\x20error\x20(','FZTUg':_0x5a4fd2(0x17d),'edWOk':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','TyqqT':_0x5a4fd2(0x177),'vvsbC':_0x5a4fd2(0x1e5),'SESff':_0x5a4fd2(0x19d),'LzUWi':_0x5a4fd2(0x172),'GmRQb':_0x5a4fd2(0x16b),'nRPKB':function(_0x2cc23a,_0x229dd8,_0xfeeee2){return _0x2cc23a(_0x229dd8,_0xfeeee2);},'NFPny':function(_0x751699,_0x3165ea){return _0x751699-_0x3165ea;},'ouEnN':function(_0x3c818f,_0x3ab781){return _0x3c818f!=_0x3ab781;},'GGfXf':function(_0x45be7e,_0x322ecc){return _0x45be7e>=_0x322ecc;},'UFsXC':function(_0x2da53c,_0x309b63){return _0x2da53c<_0x309b63;},'dLZdi':_0x5a4fd2(0x1e4),'PHQVg':_0x5a4fd2(0x215),'isDQz':function(_0x55ca99,_0x76ec8b,_0x33ab12,_0x3d979b,_0x48184a,_0x131161){return _0x55ca99(_0x76ec8b,_0x33ab12,_0x3d979b,_0x48184a,_0x131161);},'wylJX':function(_0xbbf1e0,_0x5f3da8,_0x585211){return _0xbbf1e0(_0x5f3da8,_0x585211);},'CmFNv':function(_0x5f318f,_0xb51bc1){return _0x5f318f+_0xb51bc1;},'DVVXj':function(_0x361b8c,_0x1ecd6d){return _0x361b8c+_0x1ecd6d;},'yWIAw':function(_0x310c31,_0x551341){return _0x310c31+_0x551341;},'LKrsK':function(_0x147641,_0x25b51b){return _0x147641+_0x25b51b;},'mBKct':function(_0x2661b3,_0x3e11cf){return _0x2661b3+_0x3e11cf;},'MDrRN':function(_0x36b092,_0x32d24b,_0x524b81){return _0x36b092(_0x32d24b,_0x524b81);},'Stjvt':'HTTP\x20Status:\x20','OhKTn':function(_0x366f6c,_0x3f0cdc){return _0x366f6c||_0x3f0cdc;},'kXzDp':_0x5a4fd2(0x169),'bfKHt':function(_0x4afedf,_0x46646f){return _0x4afedf(_0x46646f);},'lYIDW':'done','TAweo':_0x5a4fd2(0x1d1),'nmoIn':'beforeItem','qPLyJ':_0x5a4fd2(0x1e1),'RJeDP':_0x5a4fd2(0x245),'SlLOP':_0x5a4fd2(0x198),'mpUPZ':_0x5a4fd2(0x1f4),'KhkCr':_0x5a4fd2(0x186),'xIvwz':_0x5a4fd2(0x227)},_0xd71b8=new Map();let _0x4aedb9=null,_0x5d4f84=0x0;const _0x31c306=_0x146cf8[_0x5a4fd2(0x1d0)](resolveCollectionFile,_0x2bd700,_0x5a7974),_0x474787=_0x146cf8[_0x5a4fd2(0x196)](resolveCollectionName,_0x2bd700)||_0x31c306,_0x134339=path['resolve'](_0x31c306),_0x44f251='bs:addLog:'+process[_0x5a4fd2(0x1d7)],_0x42c621=_0x4b4ae3=>{const _0x5b01af=_0x5a4fd2;try{_0x4aedb9&&_0x146cf8[_0x5b01af(0x1a2)](emitLog,_0x4aedb9,_0x4b4ae3);}catch(_0xdad138){_0x146cf8[_0x5b01af(0x181)](debug,_0x5b01af(0x23e)+_0xdad138);}};process['on'](_0x44f251,_0x42c621),_0x8f3ba['on'](_0x146cf8['lYIDW'],()=>{const _0x424126=_0x5a4fd2;process['removeListener'](_0x44f251,_0x42c621),_0xd71b8[_0x424126(0x161)]();}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x1bc)],(_0x31c225,_0x292722)=>{_0x292722&&_0x292722['cursor']&&(_0x5d4f84=_0x292722['cursor']['iteration']||0x0);}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x202)],(_0x1fb0c8,_0x70ebf2)=>{const _0x25775a=_0x5a4fd2;try{_0x4aedb9=null;const _0x5e4518=_0x70ebf2[_0x25775a(0x227)],_0x247ab8=_0x5e4518[_0x25775a(0x1cb)]()?_0x146cf8[_0x25775a(0x1c3)](getParentTitles,_0x5e4518[_0x25775a(0x1cb)]()):[],_0x505127=_0x146cf8[_0x25775a(0x19e)](_0x247ab8[_0x25775a(0x238)],0x1)?_0x247ab8[_0x25775a(0x1e0)](0x1):_0x247ab8,_0x54a38e=_0x70ebf2['cursor']&&_0x70ebf2[_0x25775a(0x20e)][_0x25775a(0x225)],_0x7419e7={'itemName':_0x5e4518[_0x25775a(0x1bf)],'scopes':_0x505127['concat']([_0x5e4518[_0x25775a(0x1bf)]]),'location':_0x31c306,'collectionName':_0x474787,'startedAt':new Date()[_0x25775a(0x224)](),'startTimestamp':Date[_0x25775a(0x1b0)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0xd71b8[_0x25775a(0x22a)](_0x5e4518['id']+'_'+_0x5d4f84,_0x7419e7),_0x54a38e&&_0xd71b8[_0x25775a(0x22a)](_0x54a38e+'_'+_0x5d4f84,_0x7419e7);}catch(_0x44be53){_0x146cf8['RCWMw'](debug,_0x25775a(0x200)+_0x44be53);}}),_0x8f3ba['on'](_0x146cf8['qPLyJ'],(_0x1ec426,_0x9150fe)=>{const _0x39b141=_0x5a4fd2;try{if(!_0x9150fe||!_0x9150fe[_0x39b141(0x227)])return;const _0x5546a0=_0xd71b8['get'](_0x9150fe['item']['id']+'_'+_0x5d4f84);if(!_0x5546a0)return;_0x9150fe[_0x39b141(0x234)]&&(_0x5546a0['lastResponseCode']=_0x9150fe[_0x39b141(0x234)][_0x39b141(0x166)]||null);if(!_0x9150fe[_0x39b141(0x1e1)])return;let _0x301ea6='',_0x1f6558='';if(_0x9150fe['request'][_0x39b141(0x174)])try{const _0x345e5e=_0x9150fe[_0x39b141(0x1e1)][_0x39b141(0x174)][_0x39b141(0x199)](),_0x2cb8ba=new URL(_0x345e5e[_0x39b141(0x216)](_0x146cf8[_0x39b141(0x16f)])?_0x345e5e:'http://'+_0x345e5e);_0x301ea6=_0x2cb8ba[_0x39b141(0x242)],_0x1f6558=_0x146cf8[_0x39b141(0x1e6)](_0x2cb8ba[_0x39b141(0x1e8)],_0x2cb8ba[_0x39b141(0x229)]);}catch(_0x875491){_0x1f6558=_0x9150fe[_0x39b141(0x1e1)]['url'][_0x39b141(0x199)]();}const _0x57c5c2={};_0x57c5c2[_0x39b141(0x176)]=_0x301ea6,_0x57c5c2['path']=_0x1f6558,_0x57c5c2[_0x39b141(0x1f6)]=_0x9150fe[_0x39b141(0x1e1)]['method']||_0x146cf8['ALJKB'],_0x57c5c2[_0x39b141(0x1ff)]={},_0x57c5c2[_0x39b141(0x22b)]=_0x9150fe['response']?_0x9150fe[_0x39b141(0x234)][_0x39b141(0x166)]||0x0:0x0,_0x57c5c2[_0x39b141(0x1a3)]=_0x9150fe[_0x39b141(0x234)]?_0x9150fe['response']['responseTime']||0x0:0x0,_0x5546a0[_0x39b141(0x20a)]=_0x57c5c2;}catch(_0x41661f){_0x146cf8[_0x39b141(0x1b9)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x41661f);}}),_0x8f3ba['on'](_0x146cf8['RJeDP'],(_0x362a51,_0x4dd647)=>{const _0x1cb6db=_0x5a4fd2,_0x3f7c63={'hdKjS':function(_0x4f6fcf,_0x5a1dff,_0x3b0bea){const _0x19d5e1=a42_0x89e9;return _0x146cf8[_0x19d5e1(0x1a2)](_0x4f6fcf,_0x5a1dff,_0x3b0bea);},'PSqbM':_0x146cf8['EcaKE']};try{if(!_0x4dd647||!_0x4dd647['item'])return;const _0x4c4e50=_0xd71b8[_0x1cb6db(0x233)](_0x4dd647[_0x1cb6db(0x227)]['id']+'_'+_0x5d4f84);if(!_0x4c4e50)return;const _0x34fae7=_0x4dd647[_0x1cb6db(0x245)]||_0x1cb6db(0x185)+_0x146cf8[_0x1cb6db(0x1de)](_0x4c4e50[_0x1cb6db(0x197)][_0x1cb6db(0x238)],0x1),_0x50d5b9=_0x146cf8['WjSuR'](uuidv4),_0x38ab4a=_0x4c4e50['scopes'][_0x1cb6db(0x211)]([_0x34fae7])[_0x1cb6db(0x20b)]('\x20');_0x4c4e50[_0x1cb6db(0x197)]['push']({'uuid':_0x50d5b9,'name':_0x34fae7,'identifier':_0x38ab4a,'err':_0x146cf8[_0x1cb6db(0x246)](_0x362a51,null)});const _0x162233={};_0x162233[_0x1cb6db(0x237)]=_0x50d5b9,_0x162233[_0x1cb6db(0x1bf)]=_0x34fae7,_0x162233[_0x1cb6db(0x217)]=_0x38ab4a,_0x146cf8[_0x1cb6db(0x1a7)](emitTest,HookState['PRE'],_0x162233,_0x4c4e50,_0x134339,{});_0x146cf8[_0x1cb6db(0x1b1)](_0x4c4e50[_0x1cb6db(0x197)][_0x1cb6db(0x238)],0x1)&&_0x146cf8[_0x1cb6db(0x19e)](_0x4c4e50[_0x1cb6db(0x244)][_0x1cb6db(0x238)],0x0)&&(_0x4c4e50[_0x1cb6db(0x244)]['forEach'](_0x5577a8=>{const _0xdbc0d9=_0x1cb6db;_0x3f7c63['hdKjS'](emitLog,_0x50d5b9,{'kind':_0x3f7c63[_0xdbc0d9(0x1bd)],'message':_0x5577a8['message'],'level':_0x5577a8['level']});}),_0x4c4e50[_0x1cb6db(0x244)]=[]);if(_0x4c4e50[_0x1cb6db(0x20a)]){_0x146cf8[_0x1cb6db(0x1a2)](emitLog,_0x50d5b9,{'kind':_0x146cf8[_0x1cb6db(0x23f)],'http_response':_0x4c4e50[_0x1cb6db(0x20a)]});const _0x179c30=_0x146cf8[_0x1cb6db(0x17c)](_0x146cf8[_0x1cb6db(0x1d3)](_0x146cf8[_0x1cb6db(0x220)](_0x146cf8['yaHxy'](_0x146cf8['vbYPl'](_0x146cf8[_0x1cb6db(0x17c)](_0x146cf8[_0x1cb6db(0x17c)](_0x146cf8[_0x1cb6db(0x1a1)](_0x4c4e50[_0x1cb6db(0x20a)]['method']||_0x146cf8['ALJKB'],'\x20'),_0x4c4e50['httpLog']['host']),_0x4c4e50[_0x1cb6db(0x20a)][_0x1cb6db(0x18f)]),_0x146cf8[_0x1cb6db(0x18d)]),_0x4c4e50[_0x1cb6db(0x20a)][_0x1cb6db(0x22b)]),'\x20('),_0x4c4e50[_0x1cb6db(0x20a)][_0x1cb6db(0x1a3)]),_0x146cf8[_0x1cb6db(0x183)]);_0x146cf8[_0x1cb6db(0x1a2)](emitLog,_0x50d5b9,{'kind':_0x146cf8[_0x1cb6db(0x248)],'message':_0x179c30,'level':_0x146cf8[_0x1cb6db(0x194)]});}_0x4aedb9=_0x50d5b9;}catch(_0x4a4121){_0x146cf8[_0x1cb6db(0x1c3)](debug,_0x1cb6db(0x21c)+_0x4a4121);}}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x1c8)],(_0x2d9626,_0x4d37fd)=>{const _0x5e91c8=_0x5a4fd2;try{if(!_0x4d37fd)return;let _0x593aee=_0x4aedb9;if(!_0x593aee&&_0x4d37fd['cursor']&&_0x4d37fd['cursor']['ref']){const _0x587984=_0xd71b8[_0x5e91c8(0x233)](_0x4d37fd[_0x5e91c8(0x20e)][_0x5e91c8(0x225)]+'_'+_0x5d4f84);_0x587984&&_0x146cf8[_0x5e91c8(0x19e)](_0x587984[_0x5e91c8(0x197)][_0x5e91c8(0x238)],0x0)&&(_0x593aee=_0x587984['assertions'][_0x146cf8[_0x5e91c8(0x1c4)](_0x587984[_0x5e91c8(0x197)][_0x5e91c8(0x238)],0x1)][_0x5e91c8(0x237)]);}const _0x5533b2=_0x4d37fd['messages']?_0x4d37fd['messages']['join'](',\x20'):'';if(_0x593aee)_0x146cf8['nECpE'](emitLog,_0x593aee,{'kind':_0x146cf8[_0x5e91c8(0x248)],'message':_0x5533b2,'level':_0x146cf8[_0x5e91c8(0x196)](normalizeLogLevel,_0x4d37fd[_0x5e91c8(0x1eb)])});else{if(_0x4d37fd[_0x5e91c8(0x20e)]&&_0x4d37fd['cursor']['ref']){const _0x414d15=_0xd71b8[_0x5e91c8(0x233)](_0x4d37fd[_0x5e91c8(0x20e)]['ref']+'_'+_0x5d4f84);_0x414d15&&_0x414d15[_0x5e91c8(0x244)]['push']({'timestamp':new Date()['toISOString'](),'level':_0x146cf8[_0x5e91c8(0x18b)](normalizeLogLevel,_0x4d37fd['level']),'message':_0x5533b2});}}}catch(_0x51c258){_0x146cf8[_0x5e91c8(0x182)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x51c258);}}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x18e)],(_0x19dc05,_0x4279e3)=>{const _0x1b0907=_0x5a4fd2;try{if(!_0x19dc05&&(!_0x4279e3||!_0x4279e3[_0x1b0907(0x1ea)]))return;const _0x282b56=_0x19dc05||_0x4279e3[_0x1b0907(0x1ea)],_0x4faae2=_0x282b56[_0x1b0907(0x1d5)]||_0x146cf8[_0x1b0907(0x1c3)](String,_0x282b56),_0xa54de3=_0x282b56[_0x1b0907(0x1ed)]||_0x4faae2;let _0x2d73f6=_0x4aedb9;if(_0x146cf8[_0x1b0907(0x212)](!_0x2d73f6,_0x4279e3)&&_0x4279e3[_0x1b0907(0x20e)]&&_0x4279e3['cursor'][_0x1b0907(0x225)]){const _0x138bad=_0xd71b8[_0x1b0907(0x233)](_0x4279e3['cursor']['ref']+'_'+_0x5d4f84);_0x138bad&&_0x146cf8['nWfOI'](_0x138bad[_0x1b0907(0x197)][_0x1b0907(0x238)],0x0)&&(_0x2d73f6=_0x138bad[_0x1b0907(0x197)][_0x146cf8[_0x1b0907(0x1c4)](_0x138bad[_0x1b0907(0x197)][_0x1b0907(0x238)],0x1)][_0x1b0907(0x237)]);}_0x2d73f6&&_0x146cf8[_0x1b0907(0x1ae)](emitLog,_0x2d73f6,{'kind':_0x146cf8[_0x1b0907(0x248)],'message':_0x146cf8['hcnMb'](_0x146cf8[_0x1b0907(0x1b5)],_0xa54de3),'level':_0x146cf8[_0x1b0907(0x241)]});}catch(_0x191f56){_0x146cf8[_0x1b0907(0x1f7)](debug,_0x146cf8[_0x1b0907(0x17c)](_0x146cf8[_0x1b0907(0x190)],_0x191f56));}}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x160)],(_0x57f249,_0x48337a)=>{const _0x54bdf0=_0x5a4fd2;try{if(!_0x48337a||!_0x48337a[_0x54bdf0(0x207)])return;let _0x2c55ff=_0x4aedb9;if(!_0x2c55ff&&_0x48337a[_0x54bdf0(0x20e)]&&_0x48337a[_0x54bdf0(0x20e)][_0x54bdf0(0x225)]){const _0x5809a3=_0xd71b8[_0x54bdf0(0x233)](_0x48337a[_0x54bdf0(0x20e)][_0x54bdf0(0x225)]+'_'+_0x5d4f84);_0x5809a3&&_0x146cf8['Wrwvn'](_0x5809a3[_0x54bdf0(0x197)][_0x54bdf0(0x238)],0x0)&&(_0x2c55ff=_0x5809a3[_0x54bdf0(0x197)][_0x146cf8[_0x54bdf0(0x168)](_0x5809a3['assertions']['length'],0x1)][_0x54bdf0(0x237)]);}if(!_0x2c55ff)return;const _0x46988f=_0x48337a['event']&&_0x48337a[_0x54bdf0(0x1bb)][_0x54bdf0(0x1ce)]||_0x146cf8['zyqXA'];_0x57f249&&_0x146cf8[_0x54bdf0(0x1ee)](emitLog,_0x2c55ff,{'kind':_0x146cf8[_0x54bdf0(0x248)],'message':_0x146cf8[_0x54bdf0(0x1db)](_0x146cf8['rdTKT'](_0x146cf8[_0x54bdf0(0x1e6)](_0x146cf8[_0x54bdf0(0x1d9)],_0x46988f),_0x146cf8[_0x54bdf0(0x203)]),_0x57f249['message']||_0x57f249),'level':_0x146cf8[_0x54bdf0(0x241)]});}catch(_0x41aa56){_0x146cf8['GSoei'](debug,_0x146cf8['hcnMb'](_0x146cf8[_0x54bdf0(0x1dc)],_0x41aa56));}}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x187)],(_0x294f43,_0x395da2)=>{const _0x2ff83e=_0x5a4fd2,_0x38edf3={'ltkXN':function(_0x4e04e4,_0x5e849d,_0x4dca1f){const _0x3f9e9a=a42_0x89e9;return _0x146cf8[_0x3f9e9a(0x1ad)](_0x4e04e4,_0x5e849d,_0x4dca1f);},'ffLiL':_0x146cf8[_0x2ff83e(0x248)]};try{if(!_0x395da2||!_0x395da2[_0x2ff83e(0x227)])return;const _0x1faf0f=_0x395da2['item']['id']+'_'+_0x5d4f84,_0x534cd1=_0xd71b8[_0x2ff83e(0x233)](_0x1faf0f);if(!_0x534cd1)return;const _0x69010d=new Date(),_0x4cc4c8=_0x146cf8[_0x2ff83e(0x16a)](_0x69010d['getTime'](),_0x534cd1[_0x2ff83e(0x21f)]);if(_0x146cf8[_0x2ff83e(0x19e)](_0x534cd1[_0x2ff83e(0x197)]['length'],0x0))_0x534cd1[_0x2ff83e(0x197)][_0x2ff83e(0x23c)](_0x17cb34=>{const _0x3e310b=_0x2ff83e,_0x7b3372=!!_0x17cb34['err'],_0x5ba85a={'finishedAt':_0x69010d[_0x3e310b(0x224)](),'durationMs':_0x4cc4c8,'result':_0x7b3372?_0x146cf8[_0x3e310b(0x21e)]:_0x146cf8[_0x3e310b(0x1fc)]};_0x7b3372&&(_0x5ba85a[_0x3e310b(0x232)]=_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1d5)]||'',_0x5ba85a['failureType']=_0x146cf8['tDOBt'](_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1bf)],_0x146cf8[_0x3e310b(0x1be)])||_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1d5)]&&_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1d5)][_0x3e310b(0x240)](_0x146cf8[_0x3e310b(0x22e)])?_0x146cf8[_0x3e310b(0x1be)]:_0x146cf8[_0x3e310b(0x218)],_0x5ba85a[_0x3e310b(0x165)]=[{'backtrace':_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1ed)]?_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1ed)][_0x3e310b(0x21d)]('\x0a'):[_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1d5)]||''],'expanded':[]}]),_0x146cf8[_0x3e310b(0x1a7)](emitTest,HookState['POST'],_0x17cb34,_0x534cd1,_0x134339,_0x5ba85a);});else{const _0xcab4b3=_0x146cf8[_0x2ff83e(0x23b)](uuidv4),_0x3a4703=_0x534cd1[_0x2ff83e(0x184)],_0x22bd74=_0x146cf8[_0x2ff83e(0x1c6)](_0x3a4703,null)&&_0x146cf8['GGfXf'](_0x3a4703,0xc8)&&_0x146cf8[_0x2ff83e(0x16c)](_0x3a4703,0x190),_0x5ee656=_0x534cd1['itemName']+'\x20(HTTP\x20'+_0x146cf8[_0x2ff83e(0x246)](_0x3a4703,_0x146cf8['dLZdi'])+')',_0x4c8cbb={'uuid':_0xcab4b3,'name':_0x5ee656,'identifier':_0x534cd1['scopes'][_0x2ff83e(0x211)]([_0x5ee656])['join']('\x20')},_0x19bfc5={'finishedAt':_0x69010d['toISOString'](),'durationMs':_0x4cc4c8,'result':_0x22bd74?_0x146cf8['vvsbC']:_0x146cf8[_0x2ff83e(0x21e)]};!_0x22bd74&&(_0x19bfc5[_0x2ff83e(0x232)]=_0x146cf8[_0x2ff83e(0x1c6)](_0x3a4703,null)?'HTTP\x20'+_0x3a4703+_0x2ff83e(0x1c9):_0x146cf8[_0x2ff83e(0x195)],_0x19bfc5['failureType']=_0x146cf8[_0x2ff83e(0x218)],_0x19bfc5['failure']=[{'backtrace':[_0x19bfc5[_0x2ff83e(0x232)]],'expanded':[]}]);_0x146cf8[_0x2ff83e(0x1e3)](emitTest,HookState[_0x2ff83e(0x171)],_0x4c8cbb,_0x534cd1,_0x134339,{}),_0x534cd1[_0x2ff83e(0x244)][_0x2ff83e(0x23c)](_0x48dc4d=>{const _0x3767da=_0x2ff83e;_0x38edf3['ltkXN'](emitLog,_0xcab4b3,{'kind':_0x38edf3[_0x3767da(0x235)],'message':_0x48dc4d['message'],'level':_0x48dc4d[_0x3767da(0x1eb)]});});if(_0x534cd1[_0x2ff83e(0x20a)]){_0x146cf8[_0x2ff83e(0x178)](emitLog,_0xcab4b3,{'kind':_0x146cf8[_0x2ff83e(0x23f)],'http_response':_0x534cd1[_0x2ff83e(0x20a)]});const _0x18ee1c=_0x146cf8[_0x2ff83e(0x167)](_0x146cf8['DVVXj'](_0x146cf8[_0x2ff83e(0x18a)](_0x146cf8[_0x2ff83e(0x19f)](_0x146cf8[_0x2ff83e(0x19f)](_0x146cf8[_0x2ff83e(0x17c)](_0x146cf8[_0x2ff83e(0x205)](_0x146cf8[_0x2ff83e(0x20d)](_0x534cd1[_0x2ff83e(0x20a)]['method']||_0x146cf8[_0x2ff83e(0x1f0)],'\x20'),_0x534cd1[_0x2ff83e(0x20a)][_0x2ff83e(0x176)]),_0x534cd1[_0x2ff83e(0x20a)][_0x2ff83e(0x18f)]),_0x146cf8[_0x2ff83e(0x18d)]),_0x534cd1[_0x2ff83e(0x20a)]['status_code']),'\x20('),_0x534cd1['httpLog'][_0x2ff83e(0x1a3)]),_0x146cf8[_0x2ff83e(0x183)]);_0x146cf8['MDrRN'](emitLog,_0xcab4b3,{'kind':_0x146cf8['EcaKE'],'message':_0x18ee1c,'level':_0x146cf8[_0x2ff83e(0x194)]});}else _0x146cf8[_0x2ff83e(0x1a2)](emitLog,_0xcab4b3,{'kind':_0x146cf8['EcaKE'],'message':_0x146cf8[_0x2ff83e(0x167)](_0x146cf8[_0x2ff83e(0x167)](_0x146cf8[_0x2ff83e(0x22f)],_0x146cf8[_0x2ff83e(0x1fb)](_0x3a4703,_0x146cf8[_0x2ff83e(0x1c0)])),_0x146cf8[_0x2ff83e(0x173)]),'level':_0x146cf8['rZbRA']});_0x146cf8[_0x2ff83e(0x1e3)](emitTest,HookState[_0x2ff83e(0x17e)],_0x4c8cbb,_0x534cd1,_0x134339,_0x19bfc5);}_0xd71b8['delete'](_0x1faf0f),_0x395da2[_0x2ff83e(0x20e)]&&_0x395da2['cursor']['ref']&&_0xd71b8[_0x2ff83e(0x19a)](_0x395da2[_0x2ff83e(0x20e)]['ref']+'_'+_0x5d4f84);}catch(_0x5a36ee){_0x146cf8['bfKHt'](debug,_0x2ff83e(0x188)+_0x5a36ee);}});}module['exports']=BrowserStackNewmanReporter;function a42_0xa1bb(){const _0x946058=['object','27Kdnxcp','RCWMw','SGsKJ','nnAQo','lastResponseCode','Assertion\x20','script','xIvwz','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','LogCreated','yWIAw','kpnFP','EEsQB','YfJOz','mpUPZ','path','QaIHA','7567680UDDboF','cwd','platformIndex','rZbRA','PHQVg','GSoei','assertions','console','toString','delete','resolve','info','AssertionError','nWfOI','LKrsK','tJoJJ','vbYPl','nECpE','duration_ms','tFYtF','durationMs','timestamp','NhHRd','logs','HTTP','testFrameworkName','qHpXv','collectionName','nRPKB','xkIJW','tzJsl','now','tDOBt','collection.json','newman','err','ywXSa','inHDD','oJDXv','hSfvY','hikio','finishedAt','event','TAweo','PSqbM','SESff','name','dLZdi','2339550iKRTTb','test_run_uuid','WxvcS','rajzG','../../v2/state/hookState','ouEnN','expanded','SlLOP','\x20—\x20response\x20status\x20in\x20failure\x20range','result','parent','indexOf','collection','listen','bCmdD','MDrRN','beforeIteration','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','bagag','http','message','startedAt','pid','unknown','uFPNB','argv','kAwkr','edWOk','TRACE','yaHxy','KQJyd','slice','request','WARN','isDQz','N/A','passed','rdTKT','CtjbB','pathname','DHIaR','error','level','\x20->\x20','stack','vGXlR','lDvsh','ALJKB','http_response','scopes','javascript','exception','kind','method','GVOMy','ERROR','350816frvGXe','winstonLogger','OhKTn','vvsbC','[Newman\x20Reporter]\x20emitTest\x20error:\x20','zAxtT','headers','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','getTestFramework','nmoIn','FZTUg','getInstance','DVVXj','TestRunStarted','execution','toUpperCase','9476047ydyQJj','httpLog','join','string','mBKct','cursor','push','14514300SwDpvi','concat','mHTNF','FPSkH','LmFEJ','No\x20HTTP\x20response\x20received','startsWith','identifier','GmRQb','2VwRYmv','128290UJGzHp','TestRunFinished','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','split','TyqqT','startTimestamp','hcnMb','relative','uIxSA','yYFYu','toISOString','ref','test_run','item','failure_backtrace','search','set','status_code','../../../helpers/test-observability/utils','run','LzUWi','Stjvt','TEST','INFO','failureReason','get','response','ffLiL','location','uuid','length','collectionPath','Fvadg','WjSuR','forEach','stringify','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','nYoIM','includes','bdQjx','hostname','vihDo','bufferedLogs','assertion','hljEq','WrRjt','EcaKE','KhkCr','clear','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','Exception:\x20','nZjNO','failure','code','CmFNv','YCNVr','\x20(no\x20assertions)','NFPny','UnhandledError','UFsXC','8387792etSEYm','pending','AkpUO','TEST_LOG','PRE','assert','kXzDp','url','YgeXg','host','failed','wylJX','[Newman\x20Reporter]\x20emitLog\x20error:\x20','HmdzY','failureType','npwyq','):\x20','POST'];a42_0xa1bb=function(){return _0x946058;};return a42_0xa1bb();}
|
|
1
|
+
'use strict';function a46_0x1a9b(_0x341a6e,_0x149a89){const _0x1a5ec2=a46_0x1a5e();return a46_0x1a9b=function(_0x1a9bc0,_0x48bb9c){_0x1a9bc0=_0x1a9bc0-0x116;let _0x266244=_0x1a5ec2[_0x1a9bc0];return _0x266244;},a46_0x1a9b(_0x341a6e,_0x149a89);}function a46_0x1a5e(){const _0xfd952e=['\x20(HTTP\x20','ZUedv','PRE','newman','QVmeJ','PzFBc','ms)','AGdCr','lUwng','forEach','bs:addLog:','beforeItem','TEST_LOG','kind','timestamp','result','XDujE','edUeR','code','expanded','HyIBm','dliRu','durationMs','105120gvhGPU','UnhandledError','backtrace','collectionName','199jYyjza','testFrameworkVersion','http','relative','efUiK','RgGDN','EmmYW','../../v2/browserstackCLI','listen','../../../helpers/logger','failureReason','nYCbN','ipdPU','apply','http_response','RhGsr','max','ezCWE','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','message','set','Luxjr','MFrbR','1120ZZCeWa','bMkhZ','url','failed','http://','path','Exception:\x20','):\x20','itemName','startedAt','messages','PtdOa','event_type','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','yBcfu','collection.json','KUDms','LNDfS','GzCjj','pending','collection','HTTP\x20','ucbYo','beforeIteration','meTEG','bufferedLogs','scopes','collectionPath','event','error','SbjJg','request','\x20->\x20','mOHwl','testFrameworkName','cWOba','getInstance','No\x20HTTP\x20response\x20received','mEUaz','TRACE','VOLyc','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','level','241028NfHOWr','oocUP','length','name','ORwXF','object','pathname','get','jfgFb','indexOf','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','GzboJ','httpLog','lastResponseCode','platformIndex','XoECG','execution','BPcnM','join','failure_reason_expanded','7678195WgsWyx','host','pid','unknown','Assertion\x20','getTestFramework','assertions','108gOgurI','BBwbn','DEBUG','exception','TestRunStarted','POST','XciZs','KyTkJ','headers','CZsnZ','uploadEventData','method','TestRunFinished','../../v2/state/testFrameworkState','12135lOUImb','iEasD','9640472VsJbAZ','vLPIe','ref','removeListener','identifier','location','parent','HTTP','uPuoi','XWKOy','2918196KADBrD','yNSmo','\x20—\x20response\x20status\x20in\x20failure\x20range','passed','DIBVX','stringify','delete','eWlfX','WAeoi','ABoBe','xctAW','logs','string','javascript','CfwVo','WARN','\x20(no\x20assertions)','uuid','status_code','QFBCU','test_run','includes','TKTeD','cursor','push','ERROR','failure','ZAfYQ','cwd','qShEv','9626WJRnAR','resolve','N/A','../../../helpers/test-observability/utils','item','sZWqk','[Newman\x20Reporter]\x20emitTest\x20error:\x20','assertion','toString','search','VHlez','EzdXH','toUpperCase','IaSPl','luHwO','121oizWPk','tbfpF','KMgfn','finishedAt','../../../helpers/test-observability/sessionHandler','trackEvent','pBFZU','jzMof','TEST','tOfXi','INFO','MtTSb','argv','jkhkN','concat','MsXKt','Oqzey','UjNgf','chRmu','LogCreated','stack','../../v2/state/hookState','KdBxG','err','9kQwdhT','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','gYGLc','now','wlqFQ','console','hostname','IauAO','script','split','AssertionError','FrbfP','failureType','HIKwi','mHxXZ','slice','SyaVv','wqZRN','rHKTb','LfJQC','startsWith','testFrameworkState','../../v2/grpcClient','cERde','responseTime','UnzJO','test_run_uuid','response','USLXy','info','toISOString','exports','duration_ms'];a46_0x1a5e=function(){return _0xfd952e;};return a46_0x1a5e();}const a46_0xe264cc=a46_0x1a9b;(function(_0x32a5ff,_0xafe9e2){const _0x5589ac=a46_0x1a9b,_0x25936a=_0x32a5ff();while(!![]){try{const _0x1eda70=-parseInt(_0x5589ac(0x15c))/0x1*(parseInt(_0x5589ac(0x1f2))/0x2)+parseInt(_0x5589ac(0x120))/0x3*(parseInt(_0x5589ac(0x19f))/0x4)+-parseInt(_0x5589ac(0x1c8))/0x5*(parseInt(_0x5589ac(0x1ba))/0x6)+-parseInt(_0x5589ac(0x1b3))/0x7+parseInt(_0x5589ac(0x1ca))/0x8+parseInt(_0x5589ac(0x158))/0x9*(-parseInt(_0x5589ac(0x173))/0xa)+-parseInt(_0x5589ac(0x201))/0xb*(-parseInt(_0x5589ac(0x1d4))/0xc);if(_0x1eda70===_0xafe9e2)break;else _0x25936a['push'](_0x25936a['shift']());}catch(_0x52775a){_0x25936a['push'](_0x25936a['shift']());}}}(a46_0x1a5e,0x9fbf5));const path=require(a46_0xe264cc(0x178)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a46_0xe264cc(0x205)),{debug}=require(a46_0xe264cc(0x1f5)),logger=require(a46_0xe264cc(0x165))['winstonLogger'],BrowserstackCLI=require(a46_0xe264cc(0x163)),GrpcClient=require(a46_0xe264cc(0x136)),TestFrameworkState=require(a46_0xe264cc(0x1c7)),HookState=require(a46_0xe264cc(0x11d)),LOG_LEVELS=[a46_0xe264cc(0x20b),a46_0xe264cc(0x1e3),a46_0xe264cc(0x1ed),a46_0xe264cc(0x1bc),a46_0xe264cc(0x19a)];function isCLIRunning(){try{return BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x42c475){return![];}}function getParentTitles(_0x4ab2a4){const _0x5dc702=a46_0xe264cc,_0x5d0218={'oocUP':function(_0x3907cd,_0x3b5d9a){return _0x3907cd(_0x3b5d9a);},'UnzJO':function(_0x3e4b29,_0x5d7133){return _0x3e4b29(_0x5d7133);}},_0x5753cc=[],_0x4c4b02=_0x4ab2a4['parent']();return _0x4c4b02&&_0x5753cc[_0x5dc702(0x1ec)][_0x5dc702(0x169)](_0x5753cc,_0x5d0218[_0x5dc702(0x1a0)](getParentTitles,_0x4c4b02)),_0x4ab2a4[_0x5dc702(0x1a2)]&&_0x5753cc[_0x5dc702(0x1ec)](_0x5d0218[_0x5dc702(0x139)](String,_0x4ab2a4[_0x5dc702(0x1a2)])),_0x5753cc;}function normalizeLogLevel(_0x38bb68){const _0x4dfc02=a46_0xe264cc,_0x4bf12b={};_0x4bf12b[_0x4dfc02(0x18b)]=_0x4dfc02(0x20b),_0x4bf12b[_0x4dfc02(0x1e2)]=function(_0x29edd3,_0xee5751){return _0x29edd3!==_0xee5751;};const _0x28e988=_0x4bf12b;if(!_0x38bb68)return _0x28e988[_0x4dfc02(0x18b)];const _0x3fe993=_0x38bb68[_0x4dfc02(0x1fe)]();return _0x28e988['CfwVo'](LOG_LEVELS[_0x4dfc02(0x1a8)](_0x3fe993),-0x1)?_0x3fe993:_0x28e988[_0x4dfc02(0x18b)];}function resolveCollectionFile(_0x2e64ba,_0x42a843){const _0x50a572=a46_0xe264cc,_0xdc1e27={};_0xdc1e27[_0x50a572(0x130)]=function(_0x47c64a,_0x3701bc){return _0x47c64a===_0x3701bc;},_0xdc1e27[_0x50a572(0x1c9)]=_0x50a572(0x1e0),_0xdc1e27[_0x50a572(0x132)]='run',_0xdc1e27[_0x50a572(0x1bb)]=function(_0x41ef4e,_0x3628fc){return _0x41ef4e!==_0x3628fc;},_0xdc1e27['ZVaPY']=function(_0x6c6be3,_0x1bef07){return _0x6c6be3<_0x1bef07;},_0xdc1e27[_0x50a572(0x1d2)]=function(_0xc2313f,_0x3ef364){return _0xc2313f+_0x3ef364;},_0xdc1e27[_0x50a572(0x160)]=function(_0x498e63,_0x4f94b1){return _0x498e63+_0x4f94b1;},_0xdc1e27[_0x50a572(0x1ff)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0xdc1e27['jhfYb']=_0x50a572(0x182);const _0x21b026=_0xdc1e27;try{if(_0x42a843&&_0x42a843[_0x50a572(0x18e)])return path[_0x50a572(0x15f)](process[_0x50a572(0x1f0)](),path[_0x50a572(0x1f3)](_0x42a843['collectionPath']));const _0x4925af=_0x2e64ba['collection'];if(_0x21b026[_0x50a572(0x130)](typeof _0x4925af,_0x21b026[_0x50a572(0x1c9)]))return path[_0x50a572(0x15f)](process[_0x50a572(0x1f0)](),path[_0x50a572(0x1f3)](_0x4925af));const _0x27f1a0=process['argv'][_0x50a572(0x1a8)](_0x21b026[_0x50a572(0x132)]);if(_0x21b026[_0x50a572(0x1bb)](_0x27f1a0,-0x1)&&_0x21b026['ZVaPY'](_0x21b026[_0x50a572(0x1d2)](_0x27f1a0,0x1),process[_0x50a572(0x20d)][_0x50a572(0x1a1)])){const _0x20af77=process['argv'][_0x21b026[_0x50a572(0x160)](_0x27f1a0,0x1)];if(_0x20af77&&!_0x20af77[_0x50a572(0x134)]('-'))return path[_0x50a572(0x15f)](process[_0x50a572(0x1f0)](),path[_0x50a572(0x1f3)](_0x20af77));}}catch(_0x3c2a15){}return logger['info'](_0x21b026[_0x50a572(0x1ff)]),_0x21b026['jhfYb'];}function resolveCollectionName(_0x49b31c){const _0x29cdc7=a46_0xe264cc,_0x424e9f={};_0x424e9f['edUeR']=function(_0x5d3982,_0x13fb0a){return _0x5d3982===_0x13fb0a;},_0x424e9f[_0x29cdc7(0x208)]=_0x29cdc7(0x1a4);const _0x52a384=_0x424e9f;try{const _0x21d39f=_0x49b31c[_0x29cdc7(0x187)];if(_0x21d39f&&_0x52a384[_0x29cdc7(0x152)](typeof _0x21d39f,_0x52a384[_0x29cdc7(0x208)]))return _0x21d39f[_0x29cdc7(0x1a2)]||_0x21d39f[_0x29cdc7(0x13d)]&&_0x21d39f[_0x29cdc7(0x13d)][_0x29cdc7(0x1a2)]||null;}catch(_0xc72a80){}return null;}function emitTest(_0x2cc736,_0xd9d4de,_0x4aa0b,_0x183e05,_0x1c3139){const _0x48c2b9=a46_0xe264cc,_0xbe05ef={'QFBCU':function(_0x282385){return _0x282385();},'lOhOF':_0x48c2b9(0x186),'bMkhZ':function(_0x4b806b,_0x5c3c4f){return _0x4b806b(_0x5c3c4f);},'yBcfu':_0x48c2b9(0x144),'nMbIq':_0x48c2b9(0x1e1),'mHxXZ':function(_0x3cca65,_0x459bf6){return _0x3cca65!=_0x459bf6;},'jkhkN':function(_0x41706a,_0x28d9cb){return _0x41706a===_0x28d9cb;},'iyMDl':_0x48c2b9(0x1be),'KMgfn':_0x48c2b9(0x1c6)};if(_0xbe05ef[_0x48c2b9(0x1e7)](isCLIRunning))try{const _0x516fd8=BrowserstackCLI[_0x48c2b9(0x197)]()[_0x48c2b9(0x1b8)]();if(!_0x516fd8)return;_0x516fd8[_0x48c2b9(0x206)](TestFrameworkState['TEST'],_0x2cc736,{'test':{'uuid':_0xd9d4de['uuid'],'name':_0xd9d4de[_0x48c2b9(0x1a2)],'scopes':_0x4aa0b[_0x48c2b9(0x18d)],'scope':_0x4aa0b[_0x48c2b9(0x18d)]['join']('\x20'),'file_path':_0x183e05,'location':_0x4aa0b[_0x48c2b9(0x15b)],'started_at':_0x4aa0b[_0x48c2b9(0x17c)],'finished_at':_0x1c3139[_0x48c2b9(0x204)]||null,'result':_0x1c3139[_0x48c2b9(0x150)]||_0xbe05ef['lOhOF'],'failure':_0x1c3139[_0x48c2b9(0x1ee)]||[],'failure_type':_0x1c3139['failureType']||null,'failure_reason':_0x1c3139['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x81c9f7){_0xbe05ef[_0x48c2b9(0x174)](debug,_0x48c2b9(0x1f8)+_0x81c9f7);}else{const _0x14b681={'uuid':_0xd9d4de[_0x48c2b9(0x1e5)],'name':_0xd9d4de[_0x48c2b9(0x1a2)],'framework':_0xbe05ef[_0x48c2b9(0x181)],'body':{'lang':_0xbe05ef['nMbIq'],'code':null},'scope':_0x4aa0b[_0x48c2b9(0x18d)][_0x48c2b9(0x1b1)]('\x20'),'scopes':_0x4aa0b[_0x48c2b9(0x18d)],'identifier':_0xd9d4de[_0x48c2b9(0x1ce)],'file_name':_0x4aa0b[_0x48c2b9(0x15b)],'vc_filepath':_0x4aa0b[_0x48c2b9(0x1cf)],'location':_0x4aa0b['location'],'started_at':_0x4aa0b[_0x48c2b9(0x17c)],'finished_at':_0x1c3139['finishedAt']||null,'duration_in_ms':_0xbe05ef[_0x48c2b9(0x12e)](_0x1c3139[_0x48c2b9(0x157)],null)?Math[_0x48c2b9(0x16c)](0x0,_0x1c3139[_0x48c2b9(0x157)]):null,'result':_0x1c3139['result']||_0xbe05ef['lOhOF'],'failure_reason':_0x1c3139[_0x48c2b9(0x166)]||null,'failure_type':_0x1c3139[_0x48c2b9(0x12c)]||null,'failure':_0x1c3139[_0x48c2b9(0x1ee)]||[],'retry_of':null,'hooks':[]};_0x14b681[_0x48c2b9(0x1ee)][0x0]&&(_0x14b681['failure_backtrace']=_0x14b681['failure'][0x0][_0x48c2b9(0x15a)],_0x14b681[_0x48c2b9(0x1b2)]=_0x14b681['failure'][0x0][_0x48c2b9(0x154)]);const _0x50b908=_0xbe05ef[_0x48c2b9(0x20e)](_0x2cc736,HookState[_0x48c2b9(0x143)])?_0xbe05ef['iyMDl']:_0xbe05ef[_0x48c2b9(0x203)],_0x4c0b93={};_0x4c0b93[_0x48c2b9(0x17f)]=_0x50b908,_0x4c0b93[_0x48c2b9(0x1e8)]=_0x14b681,SessionHandler[_0x48c2b9(0x1c4)](_0x4c0b93);}}function emitLog(_0x5225e6,_0x12e99e){const _0x278d16=a46_0xe264cc,_0x2ad04f={'HMuSt':'TEST_LOG','FjtHb':function(_0x37c344){return _0x37c344();},'Etfqi':function(_0x12a4a7,_0x61dcda){return _0x12a4a7===_0x61dcda;},'ORwXF':_0x278d16(0x1d1),'gwAGb':'newman','jfgFb':_0x278d16(0x209),'VOLyc':'INFO','lUwng':function(_0x1e783e,_0x94e022){return _0x1e783e(_0x94e022);},'qShEv':function(_0x4b99cf,_0x29bb4a){return _0x4b99cf+_0x29bb4a;},'ReRIa':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','Suczl':_0x278d16(0x11b)},_0x9b4141=_0x12e99e[_0x278d16(0x14e)]||_0x2ad04f['HMuSt'],_0x4453cd=_0x12e99e['timestamp']||new Date()[_0x278d16(0x13e)]();if(_0x2ad04f['FjtHb'](isCLIRunning))try{const _0x5e09cc=_0x2ad04f['Etfqi'](_0x9b4141,_0x2ad04f[_0x278d16(0x1a3)])?JSON[_0x278d16(0x1d9)](_0x12e99e):_0x12e99e[_0x278d16(0x16f)]||'',_0x3fa8be={};_0x3fa8be[_0x278d16(0x1ad)]=0x0,_0x3fa8be[_0x278d16(0x195)]=_0x2ad04f['gwAGb'],_0x3fa8be[_0x278d16(0x15d)]='',_0x3fa8be[_0x278d16(0x135)]=_0x2ad04f[_0x278d16(0x1a7)],_0x3fa8be['logs']=[{'uuid':_0x5225e6,'timestamp':_0x4453cd,'kind':_0x9b4141,'level':_0x12e99e[_0x278d16(0x19e)]||_0x2ad04f[_0x278d16(0x19b)],'message':_0x5e09cc}],GrpcClient[_0x278d16(0x197)]()['logCreatedEvent'](_0x3fa8be);}catch(_0xecb84e){_0x2ad04f[_0x278d16(0x149)](debug,_0x2ad04f[_0x278d16(0x1f1)](_0x2ad04f['ReRIa'],_0xecb84e));}else{const _0x5b9c8b={};_0x5b9c8b[_0x278d16(0x13a)]=_0x5225e6,_0x5b9c8b[_0x278d16(0x14f)]=_0x4453cd,_0x5b9c8b[_0x278d16(0x19e)]=_0x12e99e[_0x278d16(0x19e)]||null,_0x5b9c8b[_0x278d16(0x16f)]=_0x12e99e['message']||null,_0x5b9c8b[_0x278d16(0x14e)]=_0x9b4141,_0x5b9c8b[_0x278d16(0x16a)]=_0x12e99e[_0x278d16(0x16a)]||{};const _0x1981fc={};_0x1981fc['event_type']=_0x2ad04f['Suczl'],_0x1981fc[_0x278d16(0x1df)]=[_0x5b9c8b],SessionHandler[_0x278d16(0x1c4)](_0x1981fc);}}function BrowserStackNewmanReporter(_0x35bfc7,_0x25057e,_0x523ceb){const _0x5265fa=a46_0xe264cc,_0x28bec6={'pBFZU':function(_0x5c3fce,_0x140d34,_0xd62b97){return _0x5c3fce(_0x140d34,_0xd62b97);},'DIBVX':function(_0x152b31,_0x629d08){return _0x152b31(_0x629d08);},'XDujE':function(_0x407b12,_0x49f621){return _0x407b12(_0x49f621);},'TKTeD':function(_0x22bb9f,_0x14ed81){return _0x22bb9f>_0x14ed81;},'MsXKt':function(_0x5c87ab,_0x55541b){return _0x5c87ab(_0x55541b);},'ezCWE':_0x5265fa(0x15e),'cWOba':function(_0x50d64b,_0x1d722f){return _0x50d64b+_0x1d722f;},'wlqFQ':'GET','QVmeJ':function(_0x19dc29,_0x467312){return _0x19dc29(_0x467312);},'AGdCr':function(_0x2ddaf0,_0x20421f,_0x3c544d){return _0x2ddaf0(_0x20421f,_0x3c544d);},'WAeoi':_0x5265fa(0x14d),'cERde':function(_0x4ad0d8){return _0x4ad0d8();},'PtdOa':function(_0x462a7d,_0x53fdae){return _0x462a7d||_0x53fdae;},'XoECG':function(_0x5bb7ef,_0x52400a,_0x4d7904,_0x5d0176,_0x2f9cbe,_0x17ca45){return _0x5bb7ef(_0x52400a,_0x4d7904,_0x5d0176,_0x2f9cbe,_0x17ca45);},'nYCbN':function(_0x372ee4,_0xeb46a1){return _0x372ee4===_0xeb46a1;},'IauAO':function(_0x5d51f8,_0x398edc){return _0x5d51f8>_0x398edc;},'mOHwl':function(_0x15a615,_0x534a3b,_0x240bf5){return _0x15a615(_0x534a3b,_0x240bf5);},'Luxjr':'HTTP','xctAW':function(_0x84905c,_0xfd5d1d){return _0x84905c+_0xfd5d1d;},'XWKOy':function(_0x53e747,_0x523e3d){return _0x53e747+_0x523e3d;},'SbjJg':_0x5265fa(0x193),'sZWqk':_0x5265fa(0x147),'USLXy':_0x5265fa(0x20b),'eWlfX':function(_0x471cda,_0x182441){return _0x471cda-_0x182441;},'ucbYo':function(_0x26ab04,_0x1ab2ab){return _0x26ab04(_0x1ab2ab);},'FrbfP':function(_0x21df55,_0x55573c){return _0x21df55(_0x55573c);},'CYcYS':function(_0x584615,_0x469770){return _0x584615(_0x469770);},'Dqbqn':function(_0x1b7634,_0x522cdb){return _0x1b7634&&_0x522cdb;},'ipdPU':function(_0x4b7360,_0x5468df,_0x1a7ae5){return _0x4b7360(_0x5468df,_0x1a7ae5);},'dpOhS':_0x5265fa(0x179),'GzCjj':_0x5265fa(0x1ed),'XciZs':function(_0x475b1b,_0x3f8b26){return _0x475b1b+_0x3f8b26;},'BPcnM':_0x5265fa(0x19c),'HIKwi':function(_0x1776d9,_0x38a1b2){return _0x1776d9>_0x38a1b2;},'fFIha':_0x5265fa(0x1b6),'CZsnZ':function(_0x4efea7,_0x563e43,_0x4df8b9){return _0x4efea7(_0x563e43,_0x4df8b9);},'chRmu':'Script\x20error\x20(','RgGDN':_0x5265fa(0x17a),'luHwO':function(_0xd5e1b1,_0x5cc29c){return _0xd5e1b1(_0x5cc29c);},'Oqzey':function(_0x34d00b,_0x3e8216){return _0x34d00b+_0x3e8216;},'mEUaz':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','KyTkJ':_0x5265fa(0x176),'ZAfYQ':_0x5265fa(0x1d7),'CnrxX':_0x5265fa(0x12a),'ZUedv':'assert','UjNgf':_0x5265fa(0x159),'pxSyk':function(_0x4e569a,_0x5566cc){return _0x4e569a!=_0x5566cc;},'ABoBe':function(_0x1d51c5,_0x2e16a7){return _0x1d51c5>=_0x2e16a7;},'KUDms':function(_0x507c8d,_0xfc6050){return _0x507c8d<_0xfc6050;},'KdBxG':_0x5265fa(0x1f4),'MtTSb':function(_0x1648f6,_0x5a695e){return _0x1648f6!=_0x5a695e;},'YJTWN':_0x5265fa(0x198),'tebgT':function(_0x1e02be,_0x360e68){return _0x1e02be+_0x360e68;},'GzboJ':function(_0x5b5df7,_0x39d6d3){return _0x5b5df7+_0x39d6d3;},'EmmYW':function(_0x301235,_0x234848){return _0x301235+_0x234848;},'yNSmo':function(_0x38f9a2,_0x2df3fb){return _0x38f9a2+_0x2df3fb;},'gYGLc':function(_0x4af8c4,_0x2de40a,_0x4da3a9){return _0x4af8c4(_0x2de40a,_0x4da3a9);},'wqZRN':function(_0x22dc42,_0x3d0cb9){return _0x22dc42+_0x3d0cb9;},'LNDfS':'HTTP\x20Status:\x20','vLPIe':function(_0x106d4c,_0x1fe5d4){return _0x106d4c||_0x1fe5d4;},'LfJQC':_0x5265fa(0x1e4),'dliRu':function(_0x150c03,_0x2f48fb,_0x546796){return _0x150c03(_0x2f48fb,_0x546796);},'tVpjU':'done','NWwXL':_0x5265fa(0x18a),'MFrbR':_0x5265fa(0x14c),'tbfpF':_0x5265fa(0x192),'pwcMT':_0x5265fa(0x1f9),'HyIBm':_0x5265fa(0x125),'LzjzE':_0x5265fa(0x1bd),'RhGsr':_0x5265fa(0x128),'PzFBc':'item'},_0x19590d=new Map();let _0x230dd6=null,_0x13bd8c=0x0;const _0x36a33d=_0x28bec6[_0x5265fa(0x156)](resolveCollectionFile,_0x523ceb,_0x25057e),_0xcc1547=_0x28bec6[_0x5265fa(0x151)](resolveCollectionName,_0x523ceb)||_0x36a33d,_0x247788=path[_0x5265fa(0x1f3)](_0x36a33d),_0x6098da=_0x5265fa(0x14b)+process[_0x5265fa(0x1b5)],_0x428acf=_0xfd1b61=>{const _0x516687=_0x5265fa;try{_0x230dd6&&_0x28bec6[_0x516687(0x207)](emitLog,_0x230dd6,_0xfd1b61);}catch(_0x342178){_0x28bec6[_0x516687(0x1d8)](debug,_0x516687(0x16e)+_0x342178);}};process['on'](_0x6098da,_0x428acf),_0x35bfc7['on'](_0x28bec6['tVpjU'],()=>{const _0x1be6ce=_0x5265fa;process[_0x1be6ce(0x1cd)](_0x6098da,_0x428acf),_0x19590d['clear']();}),_0x35bfc7['on'](_0x28bec6['NWwXL'],(_0x30a7be,_0x929830)=>{const _0x340ade=_0x5265fa;_0x929830&&_0x929830[_0x340ade(0x1eb)]&&(_0x13bd8c=_0x929830[_0x340ade(0x1eb)]['iteration']||0x0);}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x172)],(_0x57c8ba,_0x46314c)=>{const _0x525bb0=_0x5265fa;try{_0x230dd6=null;const _0x46cbe2=_0x46314c[_0x525bb0(0x1f6)],_0x4429df=_0x46cbe2[_0x525bb0(0x1d0)]()?_0x28bec6['XDujE'](getParentTitles,_0x46cbe2[_0x525bb0(0x1d0)]()):[],_0x372d9f=_0x28bec6[_0x525bb0(0x1ea)](_0x4429df['length'],0x1)?_0x4429df[_0x525bb0(0x12f)](0x1):_0x4429df,_0x338bf5=_0x46314c[_0x525bb0(0x1eb)]&&_0x46314c['cursor']['ref'],_0x3274aa={'itemName':_0x46cbe2[_0x525bb0(0x1a2)],'scopes':_0x372d9f['concat']([_0x46cbe2[_0x525bb0(0x1a2)]]),'location':_0x36a33d,'collectionName':_0xcc1547,'startedAt':new Date()[_0x525bb0(0x13e)](),'startTimestamp':Date[_0x525bb0(0x123)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x19590d[_0x525bb0(0x170)](_0x46cbe2['id']+'_'+_0x13bd8c,_0x3274aa),_0x338bf5&&_0x19590d[_0x525bb0(0x170)](_0x338bf5+'_'+_0x13bd8c,_0x3274aa);}catch(_0xdd83a9){_0x28bec6[_0x525bb0(0x117)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0xdd83a9);}}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x202)],(_0x2775a9,_0x314e7d)=>{const _0x33a8be=_0x5265fa;try{if(!_0x314e7d||!_0x314e7d['item'])return;const _0x14445f=_0x19590d[_0x33a8be(0x1a6)](_0x314e7d[_0x33a8be(0x1f6)]['id']+'_'+_0x13bd8c);if(!_0x14445f)return;_0x314e7d['response']&&(_0x14445f['lastResponseCode']=_0x314e7d['response'][_0x33a8be(0x153)]||null);if(!_0x314e7d[_0x33a8be(0x192)])return;let _0x57484c='',_0x880386='';if(_0x314e7d[_0x33a8be(0x192)][_0x33a8be(0x175)])try{const _0x226f44=_0x314e7d[_0x33a8be(0x192)][_0x33a8be(0x175)][_0x33a8be(0x1fa)](),_0x1808af=new URL(_0x226f44[_0x33a8be(0x134)](_0x28bec6[_0x33a8be(0x16d)])?_0x226f44:_0x33a8be(0x177)+_0x226f44);_0x57484c=_0x1808af[_0x33a8be(0x126)],_0x880386=_0x28bec6[_0x33a8be(0x196)](_0x1808af[_0x33a8be(0x1a5)],_0x1808af[_0x33a8be(0x1fb)]);}catch(_0x2581dc){_0x880386=_0x314e7d['request'][_0x33a8be(0x175)][_0x33a8be(0x1fa)]();}const _0x41db9e={};_0x41db9e[_0x33a8be(0x1b4)]=_0x57484c,_0x41db9e[_0x33a8be(0x178)]=_0x880386,_0x41db9e[_0x33a8be(0x1c5)]=_0x314e7d['request'][_0x33a8be(0x1c5)]||_0x28bec6['wlqFQ'],_0x41db9e[_0x33a8be(0x1c2)]={},_0x41db9e[_0x33a8be(0x1e6)]=_0x314e7d[_0x33a8be(0x13b)]?_0x314e7d[_0x33a8be(0x13b)][_0x33a8be(0x153)]||0x0:0x0,_0x41db9e[_0x33a8be(0x140)]=_0x314e7d[_0x33a8be(0x13b)]?_0x314e7d[_0x33a8be(0x13b)][_0x33a8be(0x138)]||0x0:0x0,_0x14445f[_0x33a8be(0x1ab)]=_0x41db9e;}catch(_0x1d5e04){_0x28bec6[_0x33a8be(0x145)](debug,_0x33a8be(0x180)+_0x1d5e04);}}),_0x35bfc7['on'](_0x28bec6['pwcMT'],(_0xe20da4,_0x5001db)=>{const _0x3c777d=_0x5265fa,_0x2298f8={'JaJmL':function(_0x202d32,_0x192fea,_0x1ac69a){const _0x45337f=a46_0x1a9b;return _0x28bec6[_0x45337f(0x148)](_0x202d32,_0x192fea,_0x1ac69a);},'tOfXi':_0x28bec6[_0x3c777d(0x1dc)]};try{if(!_0x5001db||!_0x5001db[_0x3c777d(0x1f6)])return;const _0xf2caa2=_0x19590d[_0x3c777d(0x1a6)](_0x5001db[_0x3c777d(0x1f6)]['id']+'_'+_0x13bd8c);if(!_0xf2caa2)return;const _0x244931=_0x5001db[_0x3c777d(0x1f9)]||_0x3c777d(0x1b7)+_0x28bec6[_0x3c777d(0x196)](_0xf2caa2[_0x3c777d(0x1b9)][_0x3c777d(0x1a1)],0x1),_0x597fa6=_0x28bec6[_0x3c777d(0x137)](uuidv4),_0x45010f=_0xf2caa2['scopes'][_0x3c777d(0x116)]([_0x244931])[_0x3c777d(0x1b1)]('\x20');_0xf2caa2[_0x3c777d(0x1b9)]['push']({'uuid':_0x597fa6,'name':_0x244931,'identifier':_0x45010f,'err':_0x28bec6[_0x3c777d(0x17e)](_0xe20da4,null)});const _0x4c02da={};_0x4c02da[_0x3c777d(0x1e5)]=_0x597fa6,_0x4c02da[_0x3c777d(0x1a2)]=_0x244931,_0x4c02da[_0x3c777d(0x1ce)]=_0x45010f,_0x28bec6[_0x3c777d(0x1ae)](emitTest,HookState[_0x3c777d(0x143)],_0x4c02da,_0xf2caa2,_0x247788,{});_0x28bec6[_0x3c777d(0x167)](_0xf2caa2[_0x3c777d(0x1b9)][_0x3c777d(0x1a1)],0x1)&&_0x28bec6['IauAO'](_0xf2caa2[_0x3c777d(0x18c)][_0x3c777d(0x1a1)],0x0)&&(_0xf2caa2[_0x3c777d(0x18c)][_0x3c777d(0x14a)](_0x4f087d=>{const _0x3e9cc9=_0x3c777d;_0x2298f8['JaJmL'](emitLog,_0x597fa6,{'kind':_0x2298f8[_0x3e9cc9(0x20a)],'message':_0x4f087d[_0x3e9cc9(0x16f)],'level':_0x4f087d[_0x3e9cc9(0x19e)]});}),_0xf2caa2[_0x3c777d(0x18c)]=[]);if(_0xf2caa2[_0x3c777d(0x1ab)]){_0x28bec6[_0x3c777d(0x194)](emitLog,_0x597fa6,{'kind':_0x28bec6[_0x3c777d(0x171)],'http_response':_0xf2caa2[_0x3c777d(0x1ab)]});const _0x8b11ce=_0x28bec6[_0x3c777d(0x196)](_0x28bec6['cWOba'](_0x28bec6[_0x3c777d(0x196)](_0x28bec6[_0x3c777d(0x1de)](_0x28bec6[_0x3c777d(0x1d3)](_0x28bec6['xctAW'](_0x28bec6[_0x3c777d(0x196)](_0x28bec6['xctAW'](_0xf2caa2['httpLog'][_0x3c777d(0x1c5)]||_0x28bec6[_0x3c777d(0x124)],'\x20'),_0xf2caa2['httpLog']['host']),_0xf2caa2['httpLog'][_0x3c777d(0x178)]),_0x28bec6[_0x3c777d(0x191)]),_0xf2caa2[_0x3c777d(0x1ab)]['status_code']),'\x20('),_0xf2caa2[_0x3c777d(0x1ab)]['duration_ms']),_0x28bec6[_0x3c777d(0x1f7)]);_0x28bec6[_0x3c777d(0x207)](emitLog,_0x597fa6,{'kind':_0x28bec6['WAeoi'],'message':_0x8b11ce,'level':_0x28bec6[_0x3c777d(0x13c)]});}_0x230dd6=_0x597fa6;}catch(_0x537995){_0x28bec6[_0x3c777d(0x151)](debug,_0x3c777d(0x19d)+_0x537995);}}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x155)],(_0x4c3c3a,_0x172072)=>{const _0x551087=_0x5265fa;try{if(!_0x172072)return;let _0x6571f5=_0x230dd6;if(!_0x6571f5&&_0x172072[_0x551087(0x1eb)]&&_0x172072[_0x551087(0x1eb)][_0x551087(0x1cc)]){const _0x196ac6=_0x19590d[_0x551087(0x1a6)](_0x172072[_0x551087(0x1eb)][_0x551087(0x1cc)]+'_'+_0x13bd8c);_0x196ac6&&_0x28bec6[_0x551087(0x127)](_0x196ac6[_0x551087(0x1b9)][_0x551087(0x1a1)],0x0)&&(_0x6571f5=_0x196ac6[_0x551087(0x1b9)][_0x28bec6[_0x551087(0x1db)](_0x196ac6[_0x551087(0x1b9)][_0x551087(0x1a1)],0x1)][_0x551087(0x1e5)]);}const _0x518859=_0x172072['messages']?_0x172072[_0x551087(0x17d)]['join'](',\x20'):'';if(_0x6571f5)_0x28bec6[_0x551087(0x148)](emitLog,_0x6571f5,{'kind':_0x28bec6['WAeoi'],'message':_0x518859,'level':_0x28bec6['DIBVX'](normalizeLogLevel,_0x172072[_0x551087(0x19e)])});else{if(_0x172072[_0x551087(0x1eb)]&&_0x172072[_0x551087(0x1eb)]['ref']){const _0x175a5c=_0x19590d[_0x551087(0x1a6)](_0x172072[_0x551087(0x1eb)][_0x551087(0x1cc)]+'_'+_0x13bd8c);_0x175a5c&&_0x175a5c[_0x551087(0x18c)][_0x551087(0x1ec)]({'timestamp':new Date()['toISOString'](),'level':_0x28bec6[_0x551087(0x189)](normalizeLogLevel,_0x172072['level']),'message':_0x518859});}}}catch(_0x313183){_0x28bec6[_0x551087(0x12b)](debug,_0x551087(0x1a9)+_0x313183);}}),_0x35bfc7['on'](_0x28bec6['LzjzE'],(_0x4a1861,_0x1d4e2c)=>{const _0x10a49c=_0x5265fa;try{if(!_0x4a1861&&(!_0x1d4e2c||!_0x1d4e2c[_0x10a49c(0x190)]))return;const _0x2bdf9a=_0x4a1861||_0x1d4e2c[_0x10a49c(0x190)],_0x314021=_0x2bdf9a['message']||_0x28bec6['CYcYS'](String,_0x2bdf9a),_0x32f566=_0x2bdf9a[_0x10a49c(0x11c)]||_0x314021;let _0x1ab42c=_0x230dd6;if(_0x28bec6['Dqbqn'](!_0x1ab42c,_0x1d4e2c)&&_0x1d4e2c[_0x10a49c(0x1eb)]&&_0x1d4e2c['cursor']['ref']){const _0x321559=_0x19590d[_0x10a49c(0x1a6)](_0x1d4e2c[_0x10a49c(0x1eb)][_0x10a49c(0x1cc)]+'_'+_0x13bd8c);_0x321559&&_0x28bec6['TKTeD'](_0x321559[_0x10a49c(0x1b9)][_0x10a49c(0x1a1)],0x0)&&(_0x1ab42c=_0x321559[_0x10a49c(0x1b9)][_0x28bec6[_0x10a49c(0x1db)](_0x321559[_0x10a49c(0x1b9)]['length'],0x1)]['uuid']);}_0x1ab42c&&_0x28bec6[_0x10a49c(0x168)](emitLog,_0x1ab42c,{'kind':_0x28bec6[_0x10a49c(0x1dc)],'message':_0x28bec6[_0x10a49c(0x196)](_0x28bec6['dpOhS'],_0x32f566),'level':_0x28bec6[_0x10a49c(0x185)]});}catch(_0x5932e6){_0x28bec6[_0x10a49c(0x189)](debug,_0x28bec6[_0x10a49c(0x1c0)](_0x28bec6[_0x10a49c(0x1b0)],_0x5932e6));}}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x16b)],(_0x30784e,_0x3c471a)=>{const _0x573115=_0x5265fa;try{if(!_0x3c471a||!_0x3c471a[_0x573115(0x1af)])return;let _0x27580f=_0x230dd6;if(!_0x27580f&&_0x3c471a[_0x573115(0x1eb)]&&_0x3c471a[_0x573115(0x1eb)][_0x573115(0x1cc)]){const _0x17dff4=_0x19590d[_0x573115(0x1a6)](_0x3c471a[_0x573115(0x1eb)][_0x573115(0x1cc)]+'_'+_0x13bd8c);_0x17dff4&&_0x28bec6[_0x573115(0x12d)](_0x17dff4['assertions'][_0x573115(0x1a1)],0x0)&&(_0x27580f=_0x17dff4['assertions'][_0x28bec6[_0x573115(0x1db)](_0x17dff4['assertions'][_0x573115(0x1a1)],0x1)]['uuid']);}if(!_0x27580f)return;const _0x589d46=_0x3c471a[_0x573115(0x18f)]&&_0x3c471a[_0x573115(0x18f)][_0x573115(0x164)]||_0x28bec6['fFIha'];_0x30784e&&_0x28bec6[_0x573115(0x1c3)](emitLog,_0x27580f,{'kind':_0x28bec6[_0x573115(0x1dc)],'message':_0x28bec6[_0x573115(0x1d3)](_0x28bec6[_0x573115(0x1de)](_0x28bec6[_0x573115(0x1c0)](_0x28bec6[_0x573115(0x11a)],_0x589d46),_0x28bec6[_0x573115(0x161)]),_0x30784e[_0x573115(0x16f)]||_0x30784e),'level':_0x28bec6['GzCjj']});}catch(_0x5e7c20){_0x28bec6[_0x573115(0x200)](debug,_0x28bec6[_0x573115(0x118)](_0x28bec6[_0x573115(0x199)],_0x5e7c20));}}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x146)],(_0x107ed8,_0x253f90)=>{const _0x2e251a=_0x5265fa,_0x3912cc={'EzdXH':function(_0x166395,_0x4c8130,_0x171afd){const _0x253f33=a46_0x1a9b;return _0x28bec6[_0x253f33(0x148)](_0x166395,_0x4c8130,_0x171afd);},'VHlez':_0x28bec6['WAeoi']};try{if(!_0x253f90||!_0x253f90[_0x2e251a(0x1f6)])return;const _0x245f39=_0x253f90[_0x2e251a(0x1f6)]['id']+'_'+_0x13bd8c,_0x3a9820=_0x19590d[_0x2e251a(0x1a6)](_0x245f39);if(!_0x3a9820)return;const _0x146d3f=new Date(),_0x29117c=_0x28bec6[_0x2e251a(0x1db)](_0x146d3f['getTime'](),_0x3a9820['startTimestamp']);if(_0x28bec6['TKTeD'](_0x3a9820['assertions'][_0x2e251a(0x1a1)],0x0))_0x3a9820[_0x2e251a(0x1b9)][_0x2e251a(0x14a)](_0x17cce6=>{const _0x29d3f2=_0x2e251a,_0xa396a8=!!_0x17cce6[_0x29d3f2(0x11f)],_0x437fff={'finishedAt':_0x146d3f['toISOString'](),'durationMs':_0x29117c,'result':_0xa396a8?_0x28bec6[_0x29d3f2(0x1c1)]:_0x28bec6[_0x29d3f2(0x1ef)]};_0xa396a8&&(_0x437fff[_0x29d3f2(0x166)]=_0x17cce6[_0x29d3f2(0x11f)][_0x29d3f2(0x16f)]||'',_0x437fff['failureType']=_0x28bec6[_0x29d3f2(0x167)](_0x17cce6['err'][_0x29d3f2(0x1a2)],_0x28bec6['CnrxX'])||_0x17cce6[_0x29d3f2(0x11f)]['message']&&_0x17cce6[_0x29d3f2(0x11f)][_0x29d3f2(0x16f)][_0x29d3f2(0x1e9)](_0x28bec6[_0x29d3f2(0x142)])?_0x28bec6['CnrxX']:_0x28bec6[_0x29d3f2(0x119)],_0x437fff[_0x29d3f2(0x1ee)]=[{'backtrace':_0x17cce6[_0x29d3f2(0x11f)]['stack']?_0x17cce6[_0x29d3f2(0x11f)]['stack'][_0x29d3f2(0x129)]('\x0a'):[_0x17cce6['err'][_0x29d3f2(0x16f)]||''],'expanded':[]}]),_0x28bec6['XoECG'](emitTest,HookState[_0x29d3f2(0x1bf)],_0x17cce6,_0x3a9820,_0x247788,_0x437fff);});else{const _0x8761c=_0x28bec6[_0x2e251a(0x137)](uuidv4),_0x4a080d=_0x3a9820[_0x2e251a(0x1ac)],_0xa74b5e=_0x28bec6['pxSyk'](_0x4a080d,null)&&_0x28bec6[_0x2e251a(0x1dd)](_0x4a080d,0xc8)&&_0x28bec6[_0x2e251a(0x183)](_0x4a080d,0x190),_0x28a90f=_0x3a9820[_0x2e251a(0x17b)]+_0x2e251a(0x141)+_0x28bec6[_0x2e251a(0x17e)](_0x4a080d,_0x28bec6[_0x2e251a(0x11e)])+')',_0x5e285f={'uuid':_0x8761c,'name':_0x28a90f,'identifier':_0x3a9820['scopes'][_0x2e251a(0x116)]([_0x28a90f])[_0x2e251a(0x1b1)]('\x20')},_0x470163={'finishedAt':_0x146d3f[_0x2e251a(0x13e)](),'durationMs':_0x29117c,'result':_0xa74b5e?_0x28bec6[_0x2e251a(0x1ef)]:_0x28bec6[_0x2e251a(0x1c1)]};!_0xa74b5e&&(_0x470163['failureReason']=_0x28bec6[_0x2e251a(0x20c)](_0x4a080d,null)?_0x2e251a(0x188)+_0x4a080d+_0x2e251a(0x1d6):_0x28bec6['YJTWN'],_0x470163[_0x2e251a(0x12c)]=_0x28bec6[_0x2e251a(0x119)],_0x470163[_0x2e251a(0x1ee)]=[{'backtrace':[_0x470163[_0x2e251a(0x166)]],'expanded':[]}]);_0x28bec6[_0x2e251a(0x1ae)](emitTest,HookState[_0x2e251a(0x143)],_0x5e285f,_0x3a9820,_0x247788,{}),_0x3a9820[_0x2e251a(0x18c)][_0x2e251a(0x14a)](_0x2eb44a=>{const _0x22aa4c=_0x2e251a;_0x3912cc[_0x22aa4c(0x1fd)](emitLog,_0x8761c,{'kind':_0x3912cc[_0x22aa4c(0x1fc)],'message':_0x2eb44a[_0x22aa4c(0x16f)],'level':_0x2eb44a[_0x22aa4c(0x19e)]});});if(_0x3a9820['httpLog']){_0x28bec6['CZsnZ'](emitLog,_0x8761c,{'kind':_0x28bec6['Luxjr'],'http_response':_0x3a9820[_0x2e251a(0x1ab)]});const _0x1b77e2=_0x28bec6[_0x2e251a(0x196)](_0x28bec6['cWOba'](_0x28bec6['tebgT'](_0x28bec6[_0x2e251a(0x1aa)](_0x28bec6[_0x2e251a(0x162)](_0x28bec6[_0x2e251a(0x1d5)](_0x28bec6[_0x2e251a(0x1de)](_0x28bec6['XWKOy'](_0x3a9820[_0x2e251a(0x1ab)][_0x2e251a(0x1c5)]||_0x28bec6[_0x2e251a(0x124)],'\x20'),_0x3a9820[_0x2e251a(0x1ab)]['host']),_0x3a9820[_0x2e251a(0x1ab)][_0x2e251a(0x178)]),_0x28bec6['SbjJg']),_0x3a9820[_0x2e251a(0x1ab)][_0x2e251a(0x1e6)]),'\x20('),_0x3a9820[_0x2e251a(0x1ab)][_0x2e251a(0x140)]),_0x28bec6[_0x2e251a(0x1f7)]);_0x28bec6[_0x2e251a(0x122)](emitLog,_0x8761c,{'kind':_0x28bec6[_0x2e251a(0x1dc)],'message':_0x1b77e2,'level':_0x28bec6[_0x2e251a(0x13c)]});}else _0x28bec6[_0x2e251a(0x207)](emitLog,_0x8761c,{'kind':_0x28bec6[_0x2e251a(0x1dc)],'message':_0x28bec6[_0x2e251a(0x131)](_0x28bec6[_0x2e251a(0x131)](_0x28bec6[_0x2e251a(0x184)],_0x28bec6[_0x2e251a(0x1cb)](_0x4a080d,_0x28bec6[_0x2e251a(0x11e)])),_0x28bec6[_0x2e251a(0x133)]),'level':_0x28bec6['USLXy']});_0x28bec6[_0x2e251a(0x1ae)](emitTest,HookState['POST'],_0x5e285f,_0x3a9820,_0x247788,_0x470163);}_0x19590d[_0x2e251a(0x1da)](_0x245f39),_0x253f90[_0x2e251a(0x1eb)]&&_0x253f90[_0x2e251a(0x1eb)]['ref']&&_0x19590d[_0x2e251a(0x1da)](_0x253f90[_0x2e251a(0x1eb)][_0x2e251a(0x1cc)]+'_'+_0x13bd8c);}catch(_0x2af55e){_0x28bec6[_0x2e251a(0x189)](debug,_0x2e251a(0x121)+_0x2af55e);}});}module[a46_0xe264cc(0x13f)]=BrowserStackNewmanReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a47_0x17cca0=a47_0x3622;(function(_0x2707d5,_0x13eae7){const _0x245d77=a47_0x3622,_0x15c8a6=_0x2707d5();while(!![]){try{const _0x166b00=-parseInt(_0x245d77(0x12e))/0x1+parseInt(_0x245d77(0x140))/0x2+-parseInt(_0x245d77(0x139))/0x3+parseInt(_0x245d77(0x12d))/0x4+-parseInt(_0x245d77(0x15e))/0x5*(-parseInt(_0x245d77(0x149))/0x6)+parseInt(_0x245d77(0x14a))/0x7+parseInt(_0x245d77(0x143))/0x8*(-parseInt(_0x245d77(0x147))/0x9);if(_0x166b00===_0x13eae7)break;else _0x15c8a6['push'](_0x15c8a6['shift']());}catch(_0x3445f6){_0x15c8a6['push'](_0x15c8a6['shift']());}}}(a47_0x892e,0x4deab));const path=require('path'),Module=require('module'),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process[a47_0x17cca0(0x129)][0x2],maxParallel=parseInt(process[a47_0x17cca0(0x129)][0x3])||0x0;function a47_0x3622(_0x4f789a,_0x3c41d8){const _0x892e82=a47_0x892e();return a47_0x3622=function(_0x362211,_0x37a256){_0x362211=_0x362211-0x127;let _0xd8ebd9=_0x892e82[_0x362211];return _0xd8ebd9;},a47_0x3622(_0x4f789a,_0x3c41d8);}function a47_0x892e(){const _0x135d9f=['IDzfM','AWzpi','length','kQlUi','5rdPnGR','UhUpb','p-limit','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','YheEP','beforeExit','cli','lOVlg','OSWLO','join','argv','newman','_resolveFilename','reporters','2511288sGXFMN','46912uIyTyS','jplKc','bind','_load','write','eFAiI','IKPrq','GiEMA','exitCode','newman-reporter-browserstack','bootstrap','632904oktDDf','browserstack','exit','string','zSsQv','EnIFS','reporter','506356OyIqLz','faNbB','lCZuC','52856JIwTZc','run','indexOf','index.js','1611pjSpgt','assign','2729778qOArZP','2966019pBbYYF','wurHA','yMppM','failures','BmBeG','YocLV','DwTFP','error','zGask','ikTdm','concat','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','message','stderr','NcWeg','NtJcl'];a47_0x892e=function(){return _0x135d9f;};return a47_0x892e();}!scriptFile&&(process[a47_0x17cca0(0x157)][a47_0x17cca0(0x132)](a47_0x17cca0(0x161)),process[a47_0x17cca0(0x13b)](0x1));const reporterPath=path[a47_0x17cca0(0x128)](__dirname,a47_0x17cca0(0x13f),a47_0x17cca0(0x146)),originalResolveFilename=Module[a47_0x17cca0(0x12b)];Module[a47_0x17cca0(0x12b)]=function(_0x24efc6,_0x580db3,_0x40c1eb,_0x1a889a){const _0x1a7c9e=a47_0x17cca0,_0x33d9dd={};_0x33d9dd[_0x1a7c9e(0x15d)]=function(_0xa53a17,_0xae0581){return _0xa53a17===_0xae0581;},_0x33d9dd[_0x1a7c9e(0x150)]=_0x1a7c9e(0x137);const _0x198659=_0x33d9dd;if(_0x198659[_0x1a7c9e(0x15d)](_0x24efc6,_0x198659[_0x1a7c9e(0x150)]))return reporterPath;return originalResolveFilename['call'](this,_0x24efc6,_0x580db3,_0x40c1eb,_0x1a889a);};let limit;try{const pLimit=require(a47_0x17cca0(0x160)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x23a23f){limit=function(_0x2bb876){const _0x1dbd8e={'yQMBh':function(_0x38ac57){return _0x38ac57();}};return _0x1dbd8e['yQMBh'](_0x2bb876);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a47_0x17cca0(0x131)];Module[a47_0x17cca0(0x131)]=function(_0x58cc60,_0x462dde,_0x1a582a){const _0x4150d5=a47_0x17cca0,_0x24dd70={'bpDPz':function(_0x509b0b,_0x55d34c){return _0x509b0b>_0x55d34c;},'sdbQE':function(_0x479efb,_0x118f02){return _0x479efb||_0x118f02;},'NtJcl':function(_0x4c4418,_0x5ab8de,_0x2af84a){return _0x4c4418(_0x5ab8de,_0x2af84a);},'ENoUC':function(_0xe583c8,_0x45e283){return _0xe583c8(_0x45e283);},'fuUpC':_0x4150d5(0x164),'OSWLO':function(_0x129a53,_0x49262a){return _0x129a53===_0x49262a;},'EnIFS':'browserstack','YheEP':function(_0x3ed3f9,_0x415673){return _0x3ed3f9===_0x415673;},'BmBeG':_0x4150d5(0x13c),'HiBvc':function(_0x1157aa,_0xf4bb92){return _0x1157aa(_0xf4bb92);},'NcWeg':function(_0x1407c0,_0x5805ca){return _0x1407c0!==_0x5805ca;},'ikTdm':_0x4150d5(0x12a)},_0x146dbb=originalLoad['call'](this,_0x58cc60,_0x462dde,_0x1a582a);if(_0x24dd70[_0x4150d5(0x158)](_0x58cc60,_0x24dd70[_0x4150d5(0x153)]))return _0x146dbb;if(wrappedNewman)return wrappedNewman;const _0x5df47a=_0x146dbb[_0x4150d5(0x144)][_0x4150d5(0x130)](_0x146dbb);return wrappedNewman=Object['create'](_0x146dbb),wrappedNewman[_0x4150d5(0x144)]=function(_0x2b108a,_0x25306d){const _0x544911=_0x4150d5,_0x5d11e0={'lCZuC':function(_0x4d02b6,_0x225a31){return _0x24dd70['bpDPz'](_0x4d02b6,_0x225a31);},'AWzpi':function(_0x12950c,_0x35e645){return _0x24dd70['sdbQE'](_0x12950c,_0x35e645);},'UhUpb':function(_0x2f712a,_0x295e84,_0x49ab79){const _0x3d01e8=a47_0x3622;return _0x24dd70[_0x3d01e8(0x159)](_0x2f712a,_0x295e84,_0x49ab79);},'YocLV':function(_0x33f44a,_0x2cfe1f){return _0x24dd70['ENoUC'](_0x33f44a,_0x2cfe1f);}};let _0x670d8a=_0x2b108a[_0x544911(0x12c)]||[_0x24dd70['fuUpC']];_0x24dd70[_0x544911(0x127)](_0x670d8a[_0x544911(0x145)](_0x24dd70[_0x544911(0x13e)]),-0x1)&&(_0x670d8a=_0x670d8a[_0x544911(0x154)]([_0x24dd70[_0x544911(0x13e)]]));const _0x559681=_0x24dd70[_0x544911(0x162)](typeof _0x2b108a['collection'],_0x24dd70[_0x544911(0x14e)])?_0x2b108a['collection']:undefined,_0x779abc={};_0x779abc['collectionPath']=_0x559681;const _0x3c7fad=Object[_0x544911(0x148)]({},_0x2b108a[_0x544911(0x13f)],{'browserstack':Object[_0x544911(0x148)]({},_0x2b108a[_0x544911(0x13f)]&&_0x2b108a[_0x544911(0x13f)][_0x544911(0x13a)],_0x779abc)}),_0x32be1b={};return _0x32be1b[_0x544911(0x12c)]=_0x670d8a,_0x32be1b['reporter']=_0x3c7fad,_0x2b108a=Object[_0x544911(0x148)]({},_0x2b108a,_0x32be1b),_0x24dd70['HiBvc'](limit,function(){const _0x108651={'zSsQv':function(_0x5bb550,_0x5a9fca){const _0x1d9d6a=a47_0x3622;return _0x5d11e0[_0x1d9d6a(0x142)](_0x5bb550,_0x5a9fca);},'zGask':function(_0x2f23e3,_0x140040){const _0x28f2ef=a47_0x3622;return _0x5d11e0[_0x28f2ef(0x15b)](_0x2f23e3,_0x140040);},'LWIqj':function(_0xe66b81,_0x309dc7,_0x246576){const _0x4d0cf7=a47_0x3622;return _0x5d11e0[_0x4d0cf7(0x15f)](_0xe66b81,_0x309dc7,_0x246576);},'IKPrq':function(_0x54c9be,_0x35e3cc){const _0x12abab=a47_0x3622;return _0x5d11e0[_0x12abab(0x14f)](_0x54c9be,_0x35e3cc);}};return new Promise(function(_0x4f9eeb){const _0x4e78a0={'eFAiI':function(_0x24e75,_0x28ed1){const _0x509a94=a47_0x3622;return _0x108651[_0x509a94(0x13d)](_0x24e75,_0x28ed1);},'lOVlg':function(_0x2ff40a,_0x5ab86a){const _0x192758=a47_0x3622;return _0x108651[_0x192758(0x152)](_0x2ff40a,_0x5ab86a);},'IDzfM':function(_0x292fc5,_0x3e961d,_0x3da8fa){return _0x108651['LWIqj'](_0x292fc5,_0x3e961d,_0x3da8fa);},'jplKc':function(_0x58d70c,_0x3abc02){const _0x527196=a47_0x3622;return _0x108651[_0x527196(0x134)](_0x58d70c,_0x3abc02);}};_0x108651['LWIqj'](_0x5df47a,_0x2b108a,function(_0x30822a,_0x3306aa){const _0x5b46cc=a47_0x3622,_0x7ea532=_0x3306aa&&_0x3306aa[_0x5b46cc(0x144)]&&(_0x3306aa['run'][_0x5b46cc(0x151)]||_0x3306aa[_0x5b46cc(0x144)][_0x5b46cc(0x14d)]&&_0x4e78a0[_0x5b46cc(0x133)](_0x3306aa['run']['failures'][_0x5b46cc(0x15c)],0x0));_0x4e78a0[_0x5b46cc(0x165)](_0x7ea532,_0x30822a)&&(hasFailure=!![]),_0x25306d&&_0x4e78a0[_0x5b46cc(0x15a)](_0x25306d,_0x30822a,_0x3306aa),_0x4e78a0[_0x5b46cc(0x12f)](_0x4f9eeb,_0x3306aa);});});});},wrappedNewman;};async function main(){const _0xfed9cc=a47_0x17cca0,_0x4c752d={'faNbB':function(_0x3217f7,_0x4febdc){return _0x3217f7(_0x4febdc);},'yMppM':function(_0x553c42,_0x436e01){return _0x553c42+_0x436e01;},'GiEMA':_0xfed9cc(0x155)};try{await BrowserstackCLI['getInstance']()[_0xfed9cc(0x138)]();}catch(_0x4beae9){}try{_0x4c752d[_0xfed9cc(0x141)](require,path['resolve'](scriptFile));}catch(_0xd8ec9b){process[_0xfed9cc(0x157)][_0xfed9cc(0x132)](_0x4c752d[_0xfed9cc(0x14c)](_0x4c752d[_0xfed9cc(0x14c)](_0x4c752d[_0xfed9cc(0x135)],_0xd8ec9b[_0xfed9cc(0x156)]||_0xd8ec9b),'\x0a')),process[_0xfed9cc(0x136)]=0x1;}}main(),process['on'](a47_0x17cca0(0x163),function(){const _0x3e4ee0=a47_0x17cca0;hasFailure&&(process[_0x3e4ee0(0x136)]=0x1);}),process['on'](a47_0x17cca0(0x13b),function(){const _0x3320f4=a47_0x17cca0,_0x985b34={};_0x985b34['wurHA']=function(_0x5cf304,_0x5a63d4){return _0x5cf304===_0x5a63d4;};const _0x3b38a4=_0x985b34;hasFailure&&_0x3b38a4[_0x3320f4(0x14b)](process['exitCode'],0x0)&&(process[_0x3320f4(0x136)]=0x1);});
|