browserstack-node-sdk 1.63.4 → 1.63.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41_0x549370=a41_0x7a6c;(function(_0x454931,_0x35d411){const _0x44fa23=a41_0x7a6c,_0x434cfe=_0x454931();while(!![]){try{const _0xc62f26=parseInt(_0x44fa23(0x1a2))/0x1*(parseInt(_0x44fa23(0x1cc))/0x2)+parseInt(_0x44fa23(0x1c8))/0x3+-parseInt(_0x44fa23(0x1fc))/0x4+parseInt(_0x44fa23(0x1a8))/0x5+parseInt(_0x44fa23(0x258))/0x6*(-parseInt(_0x44fa23(0x1e9))/0x7)+parseInt(_0x44fa23(0x24e))/0x8+-parseInt(_0x44fa23(0x205))/0x9;if(_0xc62f26===_0x35d411)break;else _0x434cfe['push'](_0x434cfe['shift']());}catch(_0x555e73){_0x434cfe['push'](_0x434cfe['shift']());}}}(a41_0x2018,0x52efe));function a41_0x7a6c(_0x589424,_0x4df72d){const _0x20181b=a41_0x2018();return a41_0x7a6c=function(_0x7a6c98,_0x3d3436){_0x7a6c98=_0x7a6c98-0x19c;let _0x3dda1e=_0x20181b[_0x7a6c98];return _0x3dda1e;},a41_0x7a6c(_0x589424,_0x4df72d);}const util=require(a41_0x549370(0x221)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a41_0x549370(0x23e)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a41_0x549370(0x261)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a41_0x549370(0x20a)),PerformanceTester=require(a41_0x549370(0x240)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a41_0x549370(0x201)),logger=require(a41_0x549370(0x20b))[a41_0x549370(0x24a)],{shouldProcessEventForTesthub}=require(a41_0x549370(0x251)),testHubConstants=require(a41_0x549370(0x253));function a41_0x2018(){const _0xeed4a=['installAll','sessionNameSet__','CJsrb','startMonitoring','initQuit','./test-observability/mochaUtils','qHCnv','now','FGKdx','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','setGlobal','BROWSERSTACK_TESTHUB_UUID','https:','Jgjuv','SDK_HOOK','lIHos','467GWjkbK','meQiR','NTMpP','capabilities','command','diJRr','1063195ymlNsr','GGIwe','thJwtToken','browserstackSessionName','SESSION_STATUS','Accessibility\x20results\x20saved\x20successfully','__sessionFailed','PJSmh','ibCzN','HiDYn','EPGae','quitCount_','ObservabilitySync:','PEtVC','hvpNr','getCurrentUrl','SdebJ','debug','Failed:\x20','then','__drivers','VCOuN','shift','autoScanning','percy','FbhmP','message','ryWkY','ZGtgE','currentTest','percyCaptureMode','__skipSessionName','549279zXYyMs','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','GHXjw','1682EbZXOc','start','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','fZOsw','mochaHooks','dCfWI','pWwmP','zDnQq','err','VJGtw','Mplsg',',\x22level\x22:\x20\x22','msVWf','qIYgc','http:','getGlobal','accessibilityScanStarted','rzJLV','timeout','mQyWg','wmBMh','ENV_VAR','end','error','kwecY','.\x20Error\x20:','saveAccessibilityResultsWithRetry','VAMUM','112hVJojR','TcrWy','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ZnEaV','cKcoY','info','performScanWithRetry','eVxxs','index','isArray','jYffi','bePAN','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','appium:app','Qmgle','ggEtT','passed','BROWSERSTACK_TESTHUB_JWT','1116220LYYlMT','stringify','VmpTE','__error_messages__','session_','../../helpers/globals','protocol','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','sIMLy','3136248dWLdcy','LELUA','driverCleanup','wDAxk','eaBeb','../../helpers/helper','../../helpers/logger','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','bstackA11yScanOptions','warn','finally','Mocha','../../helpers/driverInitErrorReporter','CPapZ','YvhDC','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','join','thTestRunUuid','eioKO','mocha','rMigV','bSWdd','xDqgF','WCfTX','SAVE_RESULTS','afterAll','UzWaW','aPkfE','util','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Cqtth','tPoZT','OUlcD','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Failed\x20to\x20store\x20session\x20name:\x20','HnuLQ','afterTest','beforeAll','app','testcase','SYNC','length','state','CKCYm','isAccessibilityPlatform','format','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__platformCaps','browserstackTestName','pFIsV','bbExY','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','titlePath','liGup','env','QpXpb','PLnIj','../../helpers/accessibility-automation/accessibilityRetryHelper','Tnror','../../helpers/performance/performance-tester','driver-init\x20capture\x20install\x20failed:\x20','bstackA11yShouldScan','thBuildUuid','OHUGW','executeScript','sfOUz','Accessibility\x20scan\x20completed\x20successfully','\x20-\x20','DYqqP','winstonLogger','YUoKI','testAnalyticsId','wMRtS','2693552DNxlXa','GhkdS','gyyXc','../../helpers/testhub/utils','HudGC','../../helpers/testhub/constants','failed','Passed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Automate\x20test\x20case\x20execution\x20has\x20started.','59226jJfYEO','dMAfR','measureWrapper','shouldScanTestForAccessibility'];a41_0x2018=function(){return _0xeed4a;};return a41_0x2018();}try{require(a41_0x549370(0x211))[a41_0x549370(0x25c)](a41_0x549370(0x218));}catch(a41_0x51f317){logger[a41_0x549370(0x1b9)](a41_0x549370(0x241)+(a41_0x51f317&&a41_0x51f317[a41_0x549370(0x1c2)]));}exports[a41_0x549370(0x1d1)]={'beforeAll'(){const _0x132b48=a41_0x549370,_0x3ea07c={'GGIwe':function(_0x597950,_0x24cc85,_0x28edae,_0xf8de38){return _0x597950(_0x24cc85,_0x28edae,_0xf8de38);},'PKnnY':_0x132b48(0x254),'Tnror':'\x20|\x20','SQhSJ':function(_0xc3c395,_0x5e5580,_0x4ec88e){return _0xc3c395(_0x5e5580,_0x4ec88e);},'wmBMh':'passed','YUoKI':function(_0xbd29f9){return _0xbd29f9();},'bSWdd':function(_0x453bc1,_0x3e7242,_0x3f97f6){return _0x453bc1(_0x3e7242,_0x3f97f6);},'aPkfE':function(_0x1622c1,_0x344d7f,_0xefb465){return _0x1622c1(_0x344d7f,_0xefb465);},'zDnQq':_0x132b48(0x1f2),'wDAxk':_0x132b48(0x22a)};PerformanceTester[_0x132b48(0x25f)]();const _0x21848b='browserstack internal helper hook';PerformanceTester[_0x132b48(0x25a)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x34d4=_0x132b48;global[_0x34d4(0x1ff)]=[],global[_0x34d4(0x1ae)]=![],global[_0x34d4(0x207)]=async()=>{const _0x31abca=_0x34d4;let _0x1637b0=![];try{await global[_0x31abca(0x1bc)][0x0][_0x31abca(0x200)],_0x1637b0=!![],global['__sessionFailed']?await _0x3ea07c[_0x31abca(0x1a9)](markSessionStatus,global[_0x31abca(0x1bc)][0x0],_0x3ea07c['PKnnY'],global['__error_messages__'][_0x31abca(0x215)](_0x3ea07c[_0x31abca(0x23f)])):await _0x3ea07c['SQhSJ'](markSessionStatus,global['__drivers'][0x0],_0x3ea07c[_0x31abca(0x1e1)]);}catch(_0x591eee){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x591eee);}global['__error_messages__']=[],global[_0x31abca(0x1ae)]=![];if(_0x1637b0)try{try{_0x3ea07c[_0x31abca(0x24b)](shouldProcessEventForTesthub)&&(global[_0x31abca(0x1bc)][0x0]&&await _0x3ea07c[_0x31abca(0x21a)](sendPlatformDetails,global[_0x31abca(0x1bc)][0x0],this[_0x31abca(0x1c5)]?this[_0x31abca(0x1c5)][_0x31abca(0x24c)]:null));}catch(_0xadf536){logger[_0x31abca(0x1b9)](_0x31abca(0x1f6)+_0xadf536);}await global[_0x31abca(0x1bc)][0x0][_0x31abca(0x260)]();}catch(_0x44c75a){logger[_0x31abca(0x1b9)](_0x31abca(0x20c)+_0x44c75a);}};},{'platform':_0x3ea07c[_0x132b48(0x220)](nestedKeyValue,global['__platformCaps'],[_0x3ea07c[_0x132b48(0x1d4)]]),'hookType':_0x3ea07c[_0x132b48(0x208)]})();},'beforeEach'(_0x774100){const _0x59c7fa=a41_0x549370,_0x55da8c={'diJRr':function(_0x4344c8){return _0x4344c8();},'Qmgle':function(_0x4ac98f,_0x1a36a0){return _0x4ac98f>_0x1a36a0;},'DYqqP':_0x59c7fa(0x248),'ZGtgE':function(_0x30dfc9,_0x8a8e8b,_0x4dd6e6){return _0x30dfc9(_0x8a8e8b,_0x4dd6e6);},'tPoZT':function(_0x272527,_0xf26a9a){return _0x272527===_0xf26a9a;},'dCfWI':'bstackA11yShouldScan','meQiR':_0x59c7fa(0x20d),'ibCzN':function(_0x5650ac){return _0x5650ac();},'HudGC':function(_0x1390d5,_0x4622cd){return _0x1390d5>_0x4622cd;},'bbExY':_0x59c7fa(0x231),'rzJLV':_0x59c7fa(0x1db),'EPGae':_0x59c7fa(0x19e),'CJsrb':_0x59c7fa(0x238),'PqSjb':_0x59c7fa(0x257),'FbhmP':_0x59c7fa(0x235),'QpXpb':function(_0x56724c,_0x4453fe,_0x4cb009){return _0x56724c(_0x4453fe,_0x4cb009);},'HiDYn':'index','eioKO':'beforeEach'};globals[_0x59c7fa(0x19c)](_0x55da8c[_0x59c7fa(0x1c1)],this['currentTest'][_0x59c7fa(0x239)]()[_0x59c7fa(0x215)](_0x55da8c[_0x59c7fa(0x249)])),PerformanceTester[_0x59c7fa(0x25a)](PerformanceSdkEvents[_0x59c7fa(0x1a0)],()=>{const _0x181c33=_0x59c7fa,_0x5a8c11={'FGKdx':function(_0x5015b2,_0x13772c){return _0x55da8c['Qmgle'](_0x5015b2,_0x13772c);},'TcrWy':function(_0x4b90b8,_0x24c9b4){const _0x5d93ca=a41_0x7a6c;return _0x55da8c[_0x5d93ca(0x1f8)](_0x4b90b8,_0x24c9b4);},'rMigV':_0x55da8c[_0x181c33(0x249)],'HNoFF':function(_0x37df8d,_0xe05897,_0xcb7141){const _0x566dcf=_0x181c33;return _0x55da8c[_0x566dcf(0x1c4)](_0x37df8d,_0xe05897,_0xcb7141);},'NKQnU':function(_0x13fd4e,_0x14da20){const _0x23d816=_0x181c33;return _0x55da8c[_0x23d816(0x224)](_0x13fd4e,_0x14da20);},'PLnIj':_0x55da8c[_0x181c33(0x1d2)],'SdebJ':_0x55da8c[_0x181c33(0x1a3)],'CPapZ':function(_0x161927){const _0x180bf1=_0x181c33;return _0x55da8c[_0x180bf1(0x1b0)](_0x161927);},'WCfTX':function(_0x569031,_0x31fc26){const _0x2c86cc=_0x181c33;return _0x55da8c[_0x2c86cc(0x252)](_0x569031,_0x31fc26);},'jYffi':_0x55da8c[_0x181c33(0x237)],'LELUA':_0x55da8c[_0x181c33(0x1de)],'gyyXc':_0x55da8c[_0x181c33(0x1b2)],'jDOxM':_0x55da8c[_0x181c33(0x25e)],'Jgjuv':_0x55da8c['PqSjb']},_0x1474f0='browserstack internal helper hook';new Promise(async _0x1e8b03=>{const _0x3ffa52=_0x181c33;let _0x1c0aae=!![];try{_0x5a8c11[_0x3ffa52(0x264)](global[_0x3ffa52(0x1bc)]['length'],0x1)&&(await global[_0x3ffa52(0x207)](),global[_0x3ffa52(0x1bc)][_0x3ffa52(0x1be)]()),_0x5a8c11[_0x3ffa52(0x1ea)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x1c0aae=![],await global[_0x3ffa52(0x207)]());}catch(_0x25bf60){logger[_0x3ffa52(0x1b9)](_0x3ffa52(0x20c)+_0x25bf60);}try{Array[_0x3ffa52(0x1f3)](global[_0x3ffa52(0x1bc)])&&global[_0x3ffa52(0x1bc)][0x0]&&(global[_0x3ffa52(0x1bc)][0x0][_0x3ffa52(0x1ab)]=this['currentTest'][_0x3ffa52(0x239)]()[_0x3ffa52(0x215)](_0x5a8c11['rMigV'])),global[_0x3ffa52(0x1ab)]=this[_0x3ffa52(0x1c5)][_0x3ffa52(0x239)]()[_0x3ffa52(0x215)](_0x5a8c11[_0x3ffa52(0x219)]);}catch(_0x32aa24){logger[_0x3ffa52(0x1b9)](_0x3ffa52(0x227)+_0x32aa24);}this[_0x3ffa52(0x1c5)][_0x3ffa52(0x25b)]=_0x5a8c11['HNoFF'](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]);let _0x4ee933=!![];try{const _0x1a5280=JSON['parse'](process[_0x3ffa52(0x23b)][_0x3ffa52(0x1ec)]||'{}');_0x5a8c11['NKQnU'](_0x1a5280[_0x3ffa52(0x1bf)],![])&&(_0x4ee933=![]);}catch(_0x17b4de){logger[_0x3ffa52(0x1b9)](_0x3ffa52(0x1eb)+_0x17b4de[_0x3ffa52(0x1c2)]);}const _0x121fe0=_0x4ee933&&this['currentTest'][_0x3ffa52(0x25b)];globals[_0x3ffa52(0x19c)](_0x5a8c11[_0x3ffa52(0x23d)],_0x121fe0),globals[_0x3ffa52(0x19c)](_0x5a8c11[_0x3ffa52(0x1b8)],null),this[_0x3ffa52(0x1c5)][_0x3ffa52(0x1dd)]=this[_0x3ffa52(0x1c5)][_0x3ffa52(0x25b)];if(_0x5a8c11['CPapZ'](isAccessibilityAutomationSession)&&_0x1c0aae&&Array['isArray'](global['__drivers'])&&_0x5a8c11[_0x3ffa52(0x21c)](global[_0x3ffa52(0x1bc)][_0x3ffa52(0x22e)],0x0)&&globals[_0x3ffa52(0x1dc)](_0x5a8c11[_0x3ffa52(0x1f4)]))try{const _0x3012b4=await global['__drivers'][0x0]['session_'];if(_0x3012b4){let _0x173570=!![];const _0x281797=await global[_0x3ffa52(0x1bc)][0x0][_0x3ffa52(0x1b7)]();let _0x99c587;try{_0x99c587=new URL(_0x281797),_0x173570=_0x5a8c11['NKQnU'](_0x99c587[_0x3ffa52(0x202)],_0x5a8c11[_0x3ffa52(0x206)])||_0x5a8c11['NKQnU'](_0x99c587[_0x3ffa52(0x202)],_0x5a8c11[_0x3ffa52(0x250)]);}catch(_0x413383){_0x173570=![];}_0x173570&&(this['currentTest'][_0x3ffa52(0x25b)]&&logger[_0x3ffa52(0x1ef)](_0x5a8c11['jDOxM'])),this[_0x3ffa52(0x1c5)]['accessibilityScanStarted']=this[_0x3ffa52(0x1c5)][_0x3ffa52(0x25b)],_0x121fe0&&logger[_0x3ffa52(0x1ef)](_0x5a8c11[_0x3ffa52(0x19f)]);}}catch(_0x31f6f3){logger[_0x3ffa52(0x1e4)](_0x3ffa52(0x222)+util[_0x3ffa52(0x232)](_0x31f6f3));}_0x5a8c11[_0x3ffa52(0x212)](_0x1e8b03);})[_0x181c33(0x1bb)](()=>{const _0x1b4bcc=_0x181c33;_0x55da8c[_0x1b4bcc(0x1a7)](_0x774100);});},{'platform':_0x55da8c[_0x59c7fa(0x23c)](nestedKeyValue,global['__platformCaps'],[_0x55da8c[_0x59c7fa(0x1b1)]]),'hookType':_0x55da8c[_0x59c7fa(0x217)]})();},'afterEach'(_0x22e08b){const _0x29a726=a41_0x549370,_0x5a8e77={'dMAfR':function(_0x334dcb,_0x4aa330){return _0x334dcb!==_0x4aa330;},'owhoy':_0x29a726(0x1fa),'xDqgF':function(_0x5182b5,_0x6924be,_0x3ba002){return _0x5182b5(_0x6924be,_0x3ba002);},'NTMpP':function(_0x212643,_0x3a540f){return _0x212643+_0x3a540f;},'eVxxs':_0x29a726(0x1ba),'msVWf':_0x29a726(0x1e4),'cKcoY':_0x29a726(0x255),'klJQa':_0x29a726(0x1ef),'qIYgc':function(_0xe423ac,_0x4d89b3){return _0xe423ac>_0x4d89b3;},'Mplsg':function(_0x2f0f23,_0x19eda3){return _0x2f0f23===_0x19eda3;},'GHXjw':_0x29a726(0x22c),'ggEtT':function(_0x53f3a5,_0x46a712){return _0x53f3a5>_0x46a712;},'Txpbe':_0x29a726(0x1f7),'HbTQf':function(_0x1eba8b,_0x12348b,_0x21e276,_0x3e525e){return _0x1eba8b(_0x12348b,_0x21e276,_0x3e525e);},'OHUGW':_0x29a726(0x231),'oBiTn':_0x29a726(0x265),'VJGtw':_0x29a726(0x242),'UzWaW':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','Cqtth':_0x29a726(0x229),'lIHos':_0x29a726(0x247),'PJSmh':_0x29a726(0x226),'sfOUz':_0x29a726(0x203),'OUlcD':_0x29a726(0x1ad),'liGup':_0x29a726(0x214),'pFIsV':_0x29a726(0x1ca),'ryWkY':function(_0x4f5170){return _0x4f5170();},'HnuLQ':function(_0x186035,_0x2f6f65,_0xafaefc){return _0x186035(_0x2f6f65,_0xafaefc);},'mQyWg':function(_0x34c96f){return _0x34c96f();},'CKCYm':_0x29a726(0x1b9),'VAMUM':function(_0x5ad87f,_0x3c9056){return _0x5ad87f>_0x3c9056;},'ZnEaV':function(_0x84496e){return _0x84496e();},'eaBeb':_0x29a726(0x248),'hvpNr':_0x29a726(0x210),'bePAN':_0x29a726(0x1f2),'YvhDC':'afterEach'},_0x383fcf='browserstack internal helper hook';this[_0x29a726(0x1df)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5a8e77[_0x29a726(0x1b6)]]),global['sessionName']=this['currentTest']['titlePath']()[_0x29a726(0x215)](_0x5a8e77[_0x29a726(0x209)]),PerformanceTester[_0x29a726(0x25a)](PerformanceSdkEvents[_0x29a726(0x1a0)],()=>{const _0x2486a2=_0x29a726,_0x57bcf3={'exOPe':_0x5a8e77[_0x2486a2(0x209)],'wMRtS':function(_0x17c726){const _0x53e861=_0x2486a2;return _0x5a8e77[_0x53e861(0x1e0)](_0x17c726);}},_0x2e3337=async(_0x3ab1f0,_0x5ae63b)=>{const _0x6a2ad4=_0x2486a2;await global[_0x6a2ad4(0x1bc)][0x0][_0x6a2ad4(0x245)](_0x6a2ad4(0x233)+_0x3ab1f0+_0x6a2ad4(0x1d8)+_0x5ae63b+'\x22}}');};new Promise(async _0x3d094f=>{const _0x52d4c8=_0x2486a2,_0x4171d5={'fZOsw':function(_0x369de6,_0x381f0b){const _0x15498e=a41_0x7a6c;return _0x5a8e77[_0x15498e(0x259)](_0x369de6,_0x381f0b);},'VCOuN':_0x5a8e77['owhoy'],'qHCnv':function(_0x5a2d9e,_0x351346,_0x500765){const _0x2435ec=a41_0x7a6c;return _0x5a8e77[_0x2435ec(0x21b)](_0x5a2d9e,_0x351346,_0x500765);},'GhkdS':function(_0x29332a,_0x206d8b){const _0x20fc7f=a41_0x7a6c;return _0x5a8e77[_0x20fc7f(0x1a4)](_0x29332a,_0x206d8b);},'LHpGr':_0x5a8e77[_0x52d4c8(0x1f1)],'PEtVC':_0x5a8e77[_0x52d4c8(0x1d9)],'VmpTE':_0x5a8e77[_0x52d4c8(0x1ee)],'nCqBL':_0x5a8e77['klJQa']};try{_0x5a8e77[_0x52d4c8(0x1da)](global['__drivers'][_0x52d4c8(0x22e)],0x1)&&(await global[_0x52d4c8(0x207)](),global[_0x52d4c8(0x1bc)]['shift'](),global['__error_messages__']=[],global[_0x52d4c8(0x1ae)]=![]);try{if(global[_0x52d4c8(0x1c0)]&&_0x5a8e77[_0x52d4c8(0x1d7)](global[_0x52d4c8(0x1c6)],_0x5a8e77[_0x52d4c8(0x1cb)])&&global[_0x52d4c8(0x1bc)][0x0]){const _0xc13fc4=_0x5a8e77[_0x52d4c8(0x1f9)](global[_0x52d4c8(0x1a5)][_0x52d4c8(0x22e)],0x0)?!!global['capabilities'][0x0][_0x52d4c8(0x22b)]||!!global[_0x52d4c8(0x1a5)][0x0][_0x5a8e77['Txpbe']]:![],_0x83a805={};_0x83a805[_0x52d4c8(0x22b)]=_0xc13fc4,await _0x5a8e77['HbTQf'](percyAutoCapture,global['__drivers'][0x0],_0x5a8e77[_0x52d4c8(0x1cb)],_0x83a805);}}catch(_0x3c0ed1){logger[_0x52d4c8(0x1b9)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x3c0ed1);}!global[_0x52d4c8(0x1c7)]&&(await PerformanceTester[_0x52d4c8(0x25a)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0xffb2a8=_0x52d4c8;await global[_0xffb2a8(0x1bc)][0x0][_0xffb2a8(0x245)](_0xffb2a8(0x1ce)+JSON['stringify'](this['currentTest'][_0xffb2a8(0x239)]()[_0xffb2a8(0x215)](_0x57bcf3['exOPe']))+'}}');})(),global[_0x52d4c8(0x1bc)][0x0][_0x52d4c8(0x25d)]=!![]),await PerformanceTester[_0x52d4c8(0x25a)](PerformanceAutEvents[_0x52d4c8(0x1ac)],async()=>{const _0x50f007=_0x52d4c8,_0x6dd641=_0x4171d5[_0x50f007(0x1d0)](this['currentTest'][_0x50f007(0x22f)],_0x4171d5[_0x50f007(0x1bd)]);_0x6dd641?(global[_0x50f007(0x1ae)]=!![],global['__error_messages__']['push'](this[_0x50f007(0x1c5)][_0x50f007(0x1d5)][_0x50f007(0x1c2)]),await _0x4171d5[_0x50f007(0x262)](_0x2e3337,JSON[_0x50f007(0x1fd)](_0x4171d5[_0x50f007(0x24f)](_0x4171d5['LHpGr'],this[_0x50f007(0x1c5)][_0x50f007(0x1d5)][_0x50f007(0x1c2)])),_0x4171d5[_0x50f007(0x1b5)])):await _0x4171d5[_0x50f007(0x262)](_0x2e3337,JSON[_0x50f007(0x1fd)](_0x4171d5[_0x50f007(0x1fe)]),_0x4171d5['nCqBL']);})();}catch(_0xb2de2b){logger[_0x52d4c8(0x1b9)](_0x52d4c8(0x1c9)+_0xb2de2b);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x52d4c8(0x1dc)](_0x5a8e77[_0x52d4c8(0x244)])){logger[_0x52d4c8(0x1ef)](_0x5a8e77['oBiTn']);const _0x91f87f={};_0x91f87f[_0x52d4c8(0x216)]=this[_0x52d4c8(0x1c5)][_0x52d4c8(0x24c)],_0x91f87f[_0x52d4c8(0x243)]=process['env'][testHubConstants[_0x52d4c8(0x1e2)][_0x52d4c8(0x19d)]],_0x91f87f[_0x52d4c8(0x1aa)]=process[_0x52d4c8(0x23b)][testHubConstants[_0x52d4c8(0x1e2)][_0x52d4c8(0x1fb)]];const _0x5e6263=_0x91f87f;logger['debug'](_0x52d4c8(0x256)+JSON[_0x52d4c8(0x1fd)](_0x5e6263));if(globals[_0x52d4c8(0x1dc)](_0x5a8e77[_0x52d4c8(0x1d6)])){logger['debug'](_0x5a8e77[_0x52d4c8(0x21f)]);const _0x2db91e={};_0x2db91e[_0x52d4c8(0x1a6)]=_0x5a8e77[_0x52d4c8(0x223)];const _0x458474=await PerformanceTester[_0x52d4c8(0x25a)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x8b8cf4=_0x52d4c8;return await accessibilityRetryHelper[_0x8b8cf4(0x1f0)](global[_0x8b8cf4(0x1bc)][0x0],global['browserstackSessionName']);},_0x2db91e)();_0x458474?logger['debug'](_0x5a8e77[_0x52d4c8(0x1a1)]):logger[_0x52d4c8(0x20e)](_0x5a8e77[_0x52d4c8(0x1af)]);}else logger[_0x52d4c8(0x1b9)](_0x5a8e77[_0x52d4c8(0x246)]);const _0x34c04c=await PerformanceTester[_0x52d4c8(0x25a)](PerformanceA11yEvents[_0x52d4c8(0x21d)],async()=>{const _0xe40d07=_0x52d4c8;return await accessibilityRetryHelper[_0xe40d07(0x1e7)](global[_0xe40d07(0x1bc)][0x0],_0x5e6263);})();_0x34c04c?logger['debug'](_0x5a8e77[_0x52d4c8(0x225)]):logger[_0x52d4c8(0x20e)](_0x5a8e77[_0x52d4c8(0x23a)]),logger['info'](_0x5a8e77[_0x52d4c8(0x236)]);}}catch(_0x289745){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x52d4c8(0x1c5)][_0x52d4c8(0x239)]()+_0x52d4c8(0x1e6),_0x289745);}try{try{if(_0x5a8e77[_0x52d4c8(0x1c3)](shouldProcessEventForTesthub)){global[_0x52d4c8(0x1bc)][0x0]&&await _0x5a8e77['HnuLQ'](sendPlatformDetails,global[_0x52d4c8(0x1bc)][0x0],this[_0x52d4c8(0x1c5)]?this[_0x52d4c8(0x1c5)][_0x52d4c8(0x24c)]:null);if(_0x5a8e77[_0x52d4c8(0x1e0)](isBrowserstackInfra)){PerformanceTester[_0x52d4c8(0x1cd)](PerformanceO11yEvents[_0x52d4c8(0x22d)]);const _0x1fb4f7=_0x52d4c8(0x1b4)+Date[_0x52d4c8(0x263)]();await _0x5a8e77[_0x52d4c8(0x21b)](_0x2e3337,JSON[_0x52d4c8(0x1fd)](_0x1fb4f7),_0x5a8e77[_0x52d4c8(0x230)]),PerformanceTester[_0x52d4c8(0x1e3)](PerformanceO11yEvents['SYNC']);}}}catch(_0x3a768d){logger['debug'](_0x52d4c8(0x1cf)+_0x3a768d),PerformanceTester[_0x52d4c8(0x1e3)](PerformanceO11yEvents[_0x52d4c8(0x22d)],![],_0x3a768d);}_0x5a8e77[_0x52d4c8(0x1e8)](global['__drivers'][0x0][_0x52d4c8(0x1b3)],0x0)&&await global[_0x52d4c8(0x207)]();}catch(_0x44d7c6){logger[_0x52d4c8(0x1b9)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x44d7c6);}_0x5a8e77[_0x52d4c8(0x1ed)](_0x3d094f);})['then'](()=>{const _0x371681=_0x2486a2;_0x57bcf3[_0x371681(0x24d)](_0x22e08b);});},{'platform':_0x5a8e77[_0x29a726(0x228)](nestedKeyValue,global[_0x29a726(0x234)],[_0x5a8e77[_0x29a726(0x1f5)]]),'hookType':_0x5a8e77[_0x29a726(0x213)]})();},'afterAll'(_0x3f0523){const _0x1b4d10=a41_0x549370,_0x35ff56={'dEOqQ':function(_0x2f6786){return _0x2f6786();},'sIMLy':_0x1b4d10(0x210),'xQSyk':function(_0x3041be,_0x35a944,_0x4d2b71){return _0x3041be(_0x35a944,_0x4d2b71);},'pWwmP':'index','gtpxU':_0x1b4d10(0x21e)},_0x5501c5='browserstack internal helper hook';this[_0x1b4d10(0x1df)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x35ff56[_0x1b4d10(0x204)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1b4d10(0x1a0)],()=>{const _0xbf1232=_0x1b4d10,_0x4d8ef2={'kwecY':function(_0x2a3b0c){return _0x35ff56['dEOqQ'](_0x2a3b0c);}};new Promise(async _0x2afe65=>{const _0xae8f9e=a41_0x7a6c;await global['driverCleanup'](),_0x4d8ef2[_0xae8f9e(0x1e5)](_0x2afe65);})[_0xbf1232(0x1bb)]()[_0xbf1232(0x20f)](()=>{_0x35ff56['dEOqQ'](_0x3f0523);});},{'platform':_0x35ff56['xQSyk'](nestedKeyValue,global[_0x1b4d10(0x234)],[_0x35ff56[_0x1b4d10(0x1d3)]]),'hookType':_0x35ff56['gtpxU']})();}};
|
|
1
|
+
const a41_0x507e2d=a41_0x30e7;function a41_0x24df(){const _0x548575=['isAccessibilityPlatform','env','initQuit','../../helpers/globals','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','browserstackSessionName','qNUhz','executeScript','err','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','shouldScanTestForAccessibility','SESSION_NAME','PrMRE','Passed','PERFORM_SCAN','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','timeout','.\x20Error\x20:','shift','ACElK','winstonLogger','469aSAKdh','__sessionFailed','__drivers','cEczJ','zvrLJ','vTrxX','JEtCK','Accessibility\x20results\x20saved\x20successfully','percyCaptureMode','MMQOK','index','saveAccessibilityResultsWithRetry','wRjGL','xGlCr','Clgml','11554qOpwHp','\x20-\x20','zqiqC','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','aMFfL','beforeAll','installAll','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','AuKhs','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','state','mochaHooks','qyZwD','./test-observability/mochaUtils','../../helpers/performance/performance-tester','afterEach','RIsru','ZGGPc','percy','nNpJe','65368tKYNqn','stringify','LBozx','rawci','testAnalyticsId','19670GbgwPf','adjQY','afterTest','BFJIu','EQvGn','qFOiP','SDK_HOOK','../../helpers/logger','xNupC','finally','appium:app','tANjy','push','FwBXP','getCurrentUrl','Wfvwg','PsSlx','format','driver-init\x20capture\x20install\x20failed:\x20','DNKBE','SosHC','443418zUNpmQ','message','beforeEach','Automate\x20test\x20case\x20execution\x20has\x20started.','BROWSERSTACK_TESTHUB_UUID','SESSION_STATUS','isArray','OnjFu','pveWe','../../helpers/testhub/utils','JUzNm','vQzIP','__error_messages__','passed','join','nPkRz','mocha','currentTest','JwTmB','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','hLbjl','2212605nnNVEY','testcase','Cediu','dZcDR','then','10120wxiTtz','wvhbT','hvAGI','tIwHe','session_','iBaXD','thBuildUuid','TWfKD','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','sKlnY','bstackA11yShouldScan','LInvO','Failed\x20to\x20store\x20session\x20name:\x20','amjww','measureWrapper','204XGAOqX','length','3549176TEpKtK','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','sessionNameSet__','GQmsn','csFIv','protocol','Accessibility\x20scan\x20completed\x20successfully','../../helpers/accessibility-automation/accessibilityRetryHelper','../../helpers/testhub/constants','AkwZR','parse','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','oovfZ','orrgB','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','start','\x22}}','LbzYm','info','NgJbj','capabilities','https:','titlePath','Mocha','afterAll','debug','ayxWP','DebEM','2302758QbwrvR','app','BROWSERSTACK_TESTHUB_JWT','__skipSessionName','../../helpers/helper','getGlobal','end','startMonitoring','PPFgu','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','performScanWithRetry','driverCleanup','ENV_VAR','error','warn','__platformCaps','abymN','now','tZbwC','quitCount_','25shrUyv','accessibilityScanStarted','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20',',\x22level\x22:\x20\x22','setGlobal','SYNC'];a41_0x24df=function(){return _0x548575;};return a41_0x24df();}(function(_0x4d3e4e,_0x40f04f){const _0x29d071=a41_0x30e7,_0x459734=_0x4d3e4e();while(!![]){try{const _0x515463=parseInt(_0x29d071(0x1d1))/0x1*(parseInt(_0x29d071(0x174))/0x2)+-parseInt(_0x29d071(0x193))/0x3+parseInt(_0x29d071(0x176))/0x4+parseInt(_0x29d071(0x1a7))/0x5*(parseInt(_0x29d071(0x14a))/0x6)+parseInt(_0x29d071(0x1c2))/0x7*(parseInt(_0x29d071(0x1e5))/0x8)+parseInt(_0x29d071(0x15f))/0x9+-parseInt(_0x29d071(0x1ea))/0xa*(parseInt(_0x29d071(0x164))/0xb);if(_0x515463===_0x40f04f)break;else _0x459734['push'](_0x459734['shift']());}catch(_0x3b39a8){_0x459734['push'](_0x459734['shift']());}}}(a41_0x24df,0x9f081));function a41_0x30e7(_0x559002,_0x21fedb){const _0x24df97=a41_0x24df();return a41_0x30e7=function(_0x30e76,_0x501389){_0x30e76=_0x30e76-0x13a;let _0x294e8c=_0x24df97[_0x30e76];return _0x294e8c;},a41_0x30e7(_0x559002,_0x21fedb);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a41_0x507e2d(0x17d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a41_0x507e2d(0x1de)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a41_0x507e2d(0x197)),PerformanceTester=require(a41_0x507e2d(0x1df)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a41_0x507e2d(0x1b0)),logger=require(a41_0x507e2d(0x13c))[a41_0x507e2d(0x1c1)],{shouldProcessEventForTesthub}=require(a41_0x507e2d(0x153)),testHubConstants=require(a41_0x507e2d(0x17e));try{require('../../helpers/driverInitErrorReporter')[a41_0x507e2d(0x1d7)](a41_0x507e2d(0x15a));}catch(a41_0x492ac8){logger['debug'](a41_0x507e2d(0x147)+(a41_0x492ac8&&a41_0x492ac8['message']));}exports[a41_0x507e2d(0x1dc)]={'beforeAll'(){const _0x41e4d3=a41_0x507e2d,_0x547ffa={'KSHzC':function(_0x44c28f,_0x2f969e,_0x76e3ce,_0x475ea6){return _0x44c28f(_0x2f969e,_0x76e3ce,_0x475ea6);},'xNupC':'failed','csFIv':'\x20|\x20','FAFdq':function(_0x3ceb0c,_0x5582f8,_0x2105e0){return _0x3ceb0c(_0x5582f8,_0x2105e0);},'vTrxX':_0x41e4d3(0x157),'mdMHl':function(_0x1f19dd){return _0x1f19dd();},'hvAGI':function(_0x5d9e49,_0x4d1d6f,_0x2a1dd4){return _0x5d9e49(_0x4d1d6f,_0x2a1dd4);},'vQzIP':function(_0x4c773d,_0x4614a7,_0x44e096){return _0x4c773d(_0x4614a7,_0x44e096);},'abymN':_0x41e4d3(0x1cc),'JUzNm':_0x41e4d3(0x1d6)};PerformanceTester[_0x41e4d3(0x19a)]();const _0x4ba28e='browserstack internal helper hook';PerformanceTester[_0x41e4d3(0x173)](PerformanceSdkEvents[_0x41e4d3(0x13b)],()=>{const _0x5eba02=_0x41e4d3;global[_0x5eba02(0x156)]=[],global[_0x5eba02(0x1c3)]=![],global[_0x5eba02(0x19e)]=async()=>{const _0x245726=_0x5eba02;let _0xce1785=![];try{await global['__drivers'][0x0][_0x245726(0x168)],_0xce1785=!![],global[_0x245726(0x1c3)]?await _0x547ffa['KSHzC'](markSessionStatus,global[_0x245726(0x1c4)][0x0],_0x547ffa[_0x245726(0x13d)],global[_0x245726(0x156)]['join'](_0x547ffa[_0x245726(0x17a)])):await _0x547ffa['FAFdq'](markSessionStatus,global[_0x245726(0x1c4)][0x0],_0x547ffa[_0x245726(0x1c7)]);}catch(_0x37ba57){logger[_0x245726(0x190)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x37ba57);}global[_0x245726(0x156)]=[],global[_0x245726(0x1c3)]=![];if(_0xce1785)try{try{_0x547ffa['mdMHl'](shouldProcessEventForTesthub)&&(global[_0x245726(0x1c4)][0x0]&&await _0x547ffa[_0x245726(0x166)](sendPlatformDetails,global[_0x245726(0x1c4)][0x0],this[_0x245726(0x15b)]?this['currentTest'][_0x245726(0x1e9)]:null));}catch(_0x1d679b){logger[_0x245726(0x190)](_0x245726(0x1da)+_0x1d679b);}await global[_0x245726(0x1c4)][0x0][_0x245726(0x1af)]();}catch(_0x266dbb){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x266dbb);}};},{'platform':_0x547ffa[_0x41e4d3(0x155)](nestedKeyValue,global[_0x41e4d3(0x1a2)],[_0x547ffa[_0x41e4d3(0x1a3)]]),'hookType':_0x547ffa[_0x41e4d3(0x154)]})();},'beforeEach'(_0x1581c3){const _0x1f9559=a41_0x507e2d,_0x15e4c7={'nNpJe':function(_0x7dbabb,_0x32267f){return _0x7dbabb>_0x32267f;},'OnjFu':function(_0x266a06,_0x139bde){return _0x266a06>_0x139bde;},'PsSlx':'\x20-\x20','wRjGL':function(_0x3891e8,_0xffc315,_0x36b894){return _0x3891e8(_0xffc315,_0x36b894);},'LbzYm':function(_0x2743cb,_0x38f9c5){return _0x2743cb===_0x38f9c5;},'LBozx':_0x1f9559(0x16f),'JEtCK':'bstackA11yScanOptions','hLbjl':function(_0x460bad){return _0x460bad();},'fsSIo':_0x1f9559(0x1ad),'HdoHs':'http:','orrgB':_0x1f9559(0x18c),'ayxWP':_0x1f9559(0x1d4),'SosHC':_0x1f9559(0x14d),'JwTmB':'browserstackTestName','Clgml':function(_0x201249,_0x2514fa,_0x2bff39){return _0x201249(_0x2514fa,_0x2bff39);},'iBaXD':_0x1f9559(0x1cc),'dZcDR':_0x1f9559(0x14c)};globals[_0x1f9559(0x1ab)](_0x15e4c7[_0x1f9559(0x15c)],this[_0x1f9559(0x15b)][_0x1f9559(0x18d)]()[_0x1f9559(0x158)](_0x15e4c7[_0x1f9559(0x145)])),PerformanceTester[_0x1f9559(0x173)](PerformanceSdkEvents[_0x1f9559(0x13b)],()=>{const _0x18cae5=_0x1f9559,_0x2962e1={'PPFgu':function(_0x349a43){const _0x4f4cb1=a41_0x30e7;return _0x15e4c7[_0x4f4cb1(0x15e)](_0x349a43);}},_0x21e307='browserstack internal helper hook';new Promise(async _0x48229f=>{const _0x433273=a41_0x30e7;let _0x5f5ca6=!![];try{_0x15e4c7[_0x433273(0x1e4)](global[_0x433273(0x1c4)][_0x433273(0x175)],0x1)&&(await global[_0x433273(0x19e)](),global[_0x433273(0x1c4)]['shift']()),_0x15e4c7[_0x433273(0x151)](global[_0x433273(0x1c4)][0x0]['quitCount_'],0x0)&&(_0x5f5ca6=![],await global[_0x433273(0x19e)]());}catch(_0x465a7b){logger['debug'](_0x433273(0x1d8)+_0x465a7b);}try{Array[_0x433273(0x150)](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x433273(0x1c4)][0x0][_0x433273(0x1b2)]=this['currentTest'][_0x433273(0x18d)]()[_0x433273(0x158)](_0x15e4c7[_0x433273(0x145)])),global[_0x433273(0x1b2)]=this[_0x433273(0x15b)][_0x433273(0x18d)]()[_0x433273(0x158)](_0x15e4c7['PsSlx']);}catch(_0x1c423a){logger['debug'](_0x433273(0x171)+_0x1c423a);}this[_0x433273(0x15b)]['shouldScanTestForAccessibility']=_0x15e4c7[_0x433273(0x1ce)](shouldScanTestForAccessibility,this[_0x433273(0x15b)][_0x433273(0x18d)](),!![]);let _0x14cfff=!![];try{const _0x1c2538=JSON[_0x433273(0x180)](process[_0x433273(0x1ae)][_0x433273(0x184)]||'{}');_0x15e4c7[_0x433273(0x188)](_0x1c2538['autoScanning'],![])&&(_0x14cfff=![]);}catch(_0x452600){logger[_0x433273(0x190)](_0x433273(0x1b1)+_0x452600['message']);}const _0x4b5047=_0x14cfff&&this[_0x433273(0x15b)]['shouldScanTestForAccessibility'];globals[_0x433273(0x1ab)](_0x15e4c7[_0x433273(0x1e7)],_0x4b5047),globals[_0x433273(0x1ab)](_0x15e4c7[_0x433273(0x1c8)],null),this[_0x433273(0x15b)][_0x433273(0x1a8)]=this['currentTest'][_0x433273(0x1b7)];if(_0x15e4c7[_0x433273(0x15e)](isAccessibilityAutomationSession)&&_0x5f5ca6&&Array[_0x433273(0x150)](global['__drivers'])&&_0x15e4c7[_0x433273(0x151)](global[_0x433273(0x1c4)][_0x433273(0x175)],0x0)&&globals[_0x433273(0x198)](_0x15e4c7['fsSIo']))try{const _0x8c4b28=await global[_0x433273(0x1c4)][0x0]['session_'];if(_0x8c4b28){let _0xe0eadf=!![];const _0x1a0129=await global[_0x433273(0x1c4)][0x0][_0x433273(0x143)]();let _0x55462b;try{_0x55462b=new URL(_0x1a0129),_0xe0eadf=_0x15e4c7[_0x433273(0x188)](_0x55462b['protocol'],_0x15e4c7['HdoHs'])||_0x15e4c7[_0x433273(0x188)](_0x55462b[_0x433273(0x17b)],_0x15e4c7[_0x433273(0x183)]);}catch(_0xc3b970){_0xe0eadf=![];}_0xe0eadf&&(this['currentTest'][_0x433273(0x1b7)]&&logger[_0x433273(0x189)](_0x15e4c7[_0x433273(0x191)])),this[_0x433273(0x15b)]['accessibilityScanStarted']=this[_0x433273(0x15b)]['shouldScanTestForAccessibility'],_0x4b5047&&logger[_0x433273(0x189)](_0x15e4c7[_0x433273(0x149)]);}}catch(_0x3ca88b){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x433273(0x146)](_0x3ca88b));}_0x15e4c7[_0x433273(0x15e)](_0x48229f);})[_0x18cae5(0x163)](()=>{const _0x5f3608=_0x18cae5;_0x2962e1[_0x5f3608(0x19b)](_0x1581c3);});},{'platform':_0x15e4c7[_0x1f9559(0x1d0)](nestedKeyValue,global[_0x1f9559(0x1a2)],[_0x15e4c7[_0x1f9559(0x169)]]),'hookType':_0x15e4c7[_0x1f9559(0x162)]})();},'afterEach'(_0x3b5fd9){const _0x598f2d=a41_0x507e2d,_0x367fc6={'zvrLJ':_0x598f2d(0x1d2),'qNUhz':function(_0x4c15cd,_0x2526c7){return _0x4c15cd>_0x2526c7;},'xGlCr':function(_0x5267c1,_0x43548f){return _0x5267c1===_0x43548f;},'EQvGn':_0x598f2d(0x160),'TWfKD':_0x598f2d(0x13f),'FwBXP':function(_0x50a0aa,_0x467192,_0x4f536c,_0x51668b){return _0x50a0aa(_0x467192,_0x4f536c,_0x51668b);},'DNKBE':_0x598f2d(0x1ad),'NgJbj':_0x598f2d(0x177),'qFOiP':_0x598f2d(0x16f),'amjww':_0x598f2d(0x16d),'sKlnY':_0x598f2d(0x1ec),'bMKyx':_0x598f2d(0x17c),'xzeDV':_0x598f2d(0x19c),'tZbwC':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','Cediu':_0x598f2d(0x1c9),'vojlI':_0x598f2d(0x1b6),'RIsru':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','PWVzs':function(_0x4e2194){return _0x4e2194();},'PrMRE':function(_0x10b786,_0x158bf6,_0x5e1d39){return _0x10b786(_0x158bf6,_0x5e1d39);},'GQmsn':function(_0x3dca8e){return _0x3dca8e();},'Wfvwg':function(_0x23851e,_0x51b92e,_0x5e7f46){return _0x23851e(_0x51b92e,_0x5e7f46);},'oovfZ':_0x598f2d(0x190),'WlMYF':function(_0x3d1551,_0xe66ac2){return _0x3d1551!==_0xe66ac2;},'qyZwD':'passed','pveWe':function(_0x5e071a,_0x291ecd,_0x2bf8cb){return _0x5e071a(_0x291ecd,_0x2bf8cb);},'MMQOK':function(_0x5825a2,_0x5e48cb){return _0x5825a2+_0x5e48cb;},'tIwHe':'Failed:\x20','wvhbT':_0x598f2d(0x1a0),'cEczJ':_0x598f2d(0x1ba),'ciYMB':_0x598f2d(0x189),'DebEM':_0x598f2d(0x18e),'nPkRz':function(_0x385d04,_0x504d0b,_0x444eda){return _0x385d04(_0x504d0b,_0x444eda);},'AkwZR':_0x598f2d(0x1cc),'LInvO':_0x598f2d(0x1e0)},_0x3c0195='browserstack internal helper hook';this[_0x598f2d(0x1bd)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x367fc6[_0x598f2d(0x192)]]),global['sessionName']=this[_0x598f2d(0x15b)]['titlePath']()['join'](_0x367fc6['zvrLJ']),PerformanceTester[_0x598f2d(0x173)](PerformanceSdkEvents[_0x598f2d(0x13b)],()=>{const _0x57385b=_0x598f2d,_0x211ded={'ZNjFg':function(_0x3ebe40,_0x5286e2){return _0x367fc6['WlMYF'](_0x3ebe40,_0x5286e2);},'BFJIu':_0x367fc6[_0x57385b(0x1dd)],'adjQY':function(_0x4d8c19,_0x565db4,_0x5ae66d){const _0x4eb505=_0x57385b;return _0x367fc6[_0x4eb505(0x152)](_0x4d8c19,_0x565db4,_0x5ae66d);},'ukbzL':function(_0x2f95a0,_0x311017){const _0x3b29e6=_0x57385b;return _0x367fc6[_0x3b29e6(0x1cb)](_0x2f95a0,_0x311017);},'XdTnB':_0x367fc6[_0x57385b(0x167)],'ZGGPc':_0x367fc6[_0x57385b(0x165)],'zqiqC':function(_0x4106e5,_0x47b7e6,_0x4be657){const _0x2eb0a3=_0x57385b;return _0x367fc6[_0x2eb0a3(0x152)](_0x4106e5,_0x47b7e6,_0x4be657);},'ByUue':_0x367fc6[_0x57385b(0x1c5)],'aMFfL':_0x367fc6['ciYMB'],'rawci':function(_0x183001){return _0x367fc6['PWVzs'](_0x183001);}},_0x12d71f=async(_0x10b77a,_0xcb867b)=>{const _0x496310=_0x57385b;await global[_0x496310(0x1c4)][0x0]['executeScript'](_0x496310(0x16c)+_0x10b77a+_0x496310(0x1aa)+_0xcb867b+_0x496310(0x187));};new Promise(async _0x42bcd5=>{const _0x4d2e16=_0x57385b,_0xf98798={};_0xf98798['tANjy']=_0x367fc6[_0x4d2e16(0x1c6)];const _0x2b77ca=_0xf98798;try{_0x367fc6[_0x4d2e16(0x1b3)](global['__drivers'][_0x4d2e16(0x175)],0x1)&&(await global[_0x4d2e16(0x19e)](),global[_0x4d2e16(0x1c4)][_0x4d2e16(0x1bf)](),global[_0x4d2e16(0x156)]=[],global['__sessionFailed']=![]);try{if(global[_0x4d2e16(0x1e3)]&&_0x367fc6[_0x4d2e16(0x1cf)](global[_0x4d2e16(0x1ca)],_0x367fc6['EQvGn'])&&global['__drivers'][0x0]){const _0x53b2e2=_0x367fc6[_0x4d2e16(0x1b3)](global[_0x4d2e16(0x18b)]['length'],0x0)?!!global[_0x4d2e16(0x18b)][0x0][_0x4d2e16(0x194)]||!!global[_0x4d2e16(0x18b)][0x0][_0x367fc6[_0x4d2e16(0x16b)]]:![],_0x3deb63={};_0x3deb63[_0x4d2e16(0x194)]=_0x53b2e2,await _0x367fc6[_0x4d2e16(0x142)](percyAutoCapture,global[_0x4d2e16(0x1c4)][0x0],_0x367fc6[_0x4d2e16(0x1ee)],_0x3deb63);}}catch(_0x5d1102){logger[_0x4d2e16(0x190)](_0x4d2e16(0x181)+_0x5d1102);}!global[_0x4d2e16(0x196)]&&(await PerformanceTester[_0x4d2e16(0x173)](PerformanceAutEvents[_0x4d2e16(0x1b8)],async()=>{const _0x5acb6b=_0x4d2e16;await global[_0x5acb6b(0x1c4)][0x0][_0x5acb6b(0x1b4)](_0x5acb6b(0x15d)+JSON['stringify'](this[_0x5acb6b(0x15b)][_0x5acb6b(0x18d)]()[_0x5acb6b(0x158)](_0x2b77ca[_0x5acb6b(0x140)]))+'}}');})(),global[_0x4d2e16(0x1c4)][0x0][_0x4d2e16(0x178)]=!![]),await PerformanceTester[_0x4d2e16(0x173)](PerformanceAutEvents[_0x4d2e16(0x14f)],async()=>{const _0x5cc4aa=_0x4d2e16,_0xbd1655=_0x211ded['ZNjFg'](this[_0x5cc4aa(0x15b)][_0x5cc4aa(0x1db)],_0x211ded[_0x5cc4aa(0x1ed)]);_0xbd1655?(global[_0x5cc4aa(0x1c3)]=!![],global[_0x5cc4aa(0x156)][_0x5cc4aa(0x141)](this[_0x5cc4aa(0x15b)][_0x5cc4aa(0x1b5)]['message']),await _0x211ded[_0x5cc4aa(0x1eb)](_0x12d71f,JSON[_0x5cc4aa(0x1e6)](_0x211ded['ukbzL'](_0x211ded['XdTnB'],this[_0x5cc4aa(0x15b)][_0x5cc4aa(0x1b5)][_0x5cc4aa(0x14b)])),_0x211ded[_0x5cc4aa(0x1e2)])):await _0x211ded[_0x5cc4aa(0x1d3)](_0x12d71f,JSON[_0x5cc4aa(0x1e6)](_0x211ded['ByUue']),_0x211ded[_0x5cc4aa(0x1d5)]);})();}catch(_0x539095){logger['debug'](_0x4d2e16(0x185)+_0x539095);}try{if(this[_0x4d2e16(0x15b)][_0x4d2e16(0x1a8)]&&globals[_0x4d2e16(0x198)](_0x367fc6[_0x4d2e16(0x148)])){logger[_0x4d2e16(0x189)](_0x367fc6[_0x4d2e16(0x18a)]);const _0x4d7cb6={};_0x4d7cb6['thTestRunUuid']=this[_0x4d2e16(0x15b)][_0x4d2e16(0x1e9)],_0x4d7cb6[_0x4d2e16(0x16a)]=process[_0x4d2e16(0x1ae)][testHubConstants['ENV_VAR'][_0x4d2e16(0x14e)]],_0x4d7cb6['thJwtToken']=process[_0x4d2e16(0x1ae)][testHubConstants[_0x4d2e16(0x19f)][_0x4d2e16(0x195)]];const _0x5245a4=_0x4d7cb6;logger[_0x4d2e16(0x190)](_0x4d2e16(0x1bc)+JSON['stringify'](_0x5245a4));if(globals['getGlobal'](_0x367fc6[_0x4d2e16(0x13a)])){logger['debug'](_0x367fc6[_0x4d2e16(0x172)]);const _0x2f959a={};_0x2f959a['command']=_0x367fc6[_0x4d2e16(0x16e)];const _0x3149d9=await PerformanceTester[_0x4d2e16(0x173)](PerformanceA11yEvents[_0x4d2e16(0x1bb)],async()=>{const _0x21ce4a=_0x4d2e16;return await accessibilityRetryHelper[_0x21ce4a(0x19d)](global[_0x21ce4a(0x1c4)][0x0],global[_0x21ce4a(0x1b2)]);},_0x2f959a)();_0x3149d9?logger[_0x4d2e16(0x190)](_0x367fc6['bMKyx']):logger[_0x4d2e16(0x1a1)](_0x367fc6['xzeDV']);}else logger[_0x4d2e16(0x190)](_0x367fc6[_0x4d2e16(0x1a5)]);const _0xae6d81=await PerformanceTester[_0x4d2e16(0x173)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x154879=_0x4d2e16;return await accessibilityRetryHelper[_0x154879(0x1cd)](global[_0x154879(0x1c4)][0x0],_0x5245a4);})();_0xae6d81?logger[_0x4d2e16(0x190)](_0x367fc6[_0x4d2e16(0x161)]):logger[_0x4d2e16(0x1a1)](_0x367fc6['vojlI']),logger['info'](_0x367fc6[_0x4d2e16(0x1e1)]);}}catch(_0x5b6465){logger[_0x4d2e16(0x1a0)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x4d2e16(0x15b)][_0x4d2e16(0x18d)]()+_0x4d2e16(0x1be),_0x5b6465);}try{try{if(_0x367fc6['PWVzs'](shouldProcessEventForTesthub)){global[_0x4d2e16(0x1c4)][0x0]&&await _0x367fc6[_0x4d2e16(0x1b9)](sendPlatformDetails,global[_0x4d2e16(0x1c4)][0x0],this[_0x4d2e16(0x15b)]?this['currentTest'][_0x4d2e16(0x1e9)]:null);if(_0x367fc6[_0x4d2e16(0x179)](isBrowserstackInfra)){PerformanceTester[_0x4d2e16(0x186)](PerformanceO11yEvents[_0x4d2e16(0x1ac)]);const _0x3430fd='ObservabilitySync:'+Date[_0x4d2e16(0x1a4)]();await _0x367fc6[_0x4d2e16(0x144)](_0x12d71f,JSON[_0x4d2e16(0x1e6)](_0x3430fd),_0x367fc6[_0x4d2e16(0x182)]),PerformanceTester[_0x4d2e16(0x199)](PerformanceO11yEvents[_0x4d2e16(0x1ac)]);}}}catch(_0x4ee3a9){logger[_0x4d2e16(0x190)](_0x4d2e16(0x1a9)+_0x4ee3a9),PerformanceTester[_0x4d2e16(0x199)](PerformanceO11yEvents[_0x4d2e16(0x1ac)],![],_0x4ee3a9);}_0x367fc6[_0x4d2e16(0x1b3)](global[_0x4d2e16(0x1c4)][0x0][_0x4d2e16(0x1a6)],0x0)&&await global[_0x4d2e16(0x19e)]();}catch(_0x2283ff){logger[_0x4d2e16(0x190)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2283ff);}_0x367fc6['PWVzs'](_0x42bcd5);})['then'](()=>{const _0x3dcf19=_0x57385b;_0x211ded[_0x3dcf19(0x1e8)](_0x3b5fd9);});},{'platform':_0x367fc6[_0x598f2d(0x159)](nestedKeyValue,global['__platformCaps'],[_0x367fc6[_0x598f2d(0x17f)]]),'hookType':_0x367fc6[_0x598f2d(0x170)]})();},'afterAll'(_0x2555a4){const _0x2181db=a41_0x507e2d,_0xeb454d={'AuKhs':function(_0x4f7358){return _0x4f7358();},'MFnlk':_0x2181db(0x18e),'ACElK':function(_0x473d03,_0x1e6e14,_0x293be9){return _0x473d03(_0x1e6e14,_0x293be9);},'ajgGw':_0x2181db(0x1cc),'DUhuV':_0x2181db(0x18f)},_0x392769='browserstack internal helper hook';this[_0x2181db(0x1bd)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xeb454d['MFnlk']]),PerformanceTester[_0x2181db(0x173)](PerformanceSdkEvents[_0x2181db(0x13b)],()=>{const _0x462aeb=_0x2181db;new Promise(async _0x1ea424=>{const _0x52afe1=a41_0x30e7;await global['driverCleanup'](),_0xeb454d[_0x52afe1(0x1d9)](_0x1ea424);})['then']()[_0x462aeb(0x13e)](()=>{const _0x2b3b25=_0x462aeb;_0xeb454d[_0x2b3b25(0x1d9)](_0x2555a4);});},{'platform':_0xeb454d[_0x2181db(0x1c0)](nestedKeyValue,global[_0x2181db(0x1a2)],[_0xeb454d['ajgGw']]),'hookType':_0xeb454d['DUhuV']})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a42_0x282f(){const _0x41f09d=['fHJZQ','mfLGX','reporter','MbHUY','UlrsH','Failed\x20to\x20launch\x20build:\x20','24LFcVaa','17485GKUuae','resolve','.js','slice','createRequire','run','BROWSERSTACK_TEST_OBSERVABILITY_YML','CDZXo','Mwwiw','cli,browserstack','bciIX','../../helpers/test-observability/utils','NzjlG','rRKHO','BHxsP','assign','rfmuY','SvzGu','_resolveFilename','GquWv','NEWMAN','winstonLogger','../v2/cliUtils','concat','ZLkQi','zyDya','isRunning','cwd','parallelsPerPlatform','606745HVZIIM','eCfQa','747492RmYSQx','--reporters','../../helpers/test-observability/requestQueueHandler','true','newman/bin/newman','GJzFA','lDWPt','dcFkE','RBQRO','gylyC','29211HIRWXk','GcyUz','CzhgC','ALVXX','length','failures','exports','call','env','configPath','nxSnb','gtMpk','ZMGzE','../../helpers/testhub/testhubHandler','PKBuN','module','stop','false','warn','dgnuM','aTonV','../../helpers/test-observability/constants','vGool','TSvEa','browserstack','72iIkQGx','BROWSERSTACK_AUTOMATION','1010270nJQfrs','iBnvT','config','error','ufNJW',',browserstack','yHBFr','scriptRunner.js','58XngnhI','node','KHQxU','message','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','QqJNT','VcpcM','../../helpers/logger','path','GtTBy','join','newman','null','wckHS','3606360DwBrFp','vDbZU','vYfJX','fSnry','329961XKKmMA','child_process','pKQEw','../../helpers/helper','NYNYb','requireModule','testObservability','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getInstance','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','exitCode','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','BROWSERSTACK_TESTHUB_JWT','cliConfig','inherit','TIPue','ytmFD','RjQgh','FIpmB','indexOf','iemgJ','setBrowserstackConfig','O11yHashedID','Failed\x20to\x20bootstrap\x20CLI:\x20','LKXRc','zvOJB','WotQZ'];a42_0x282f=function(){return _0x41f09d;};return a42_0x282f();}const a42_0x2c8c19=a42_0x4ca4;(function(_0xac73dc,_0x3e96bf){const _0x1441b3=a42_0x4ca4,_0x24a75b=_0xac73dc();while(!![]){try{const _0x14c3ce=-parseInt(_0x1441b3(0xaa))/0x1*(parseInt(_0x1441b3(0xf6))/0x2)+parseInt(_0x1441b3(0x108))/0x3+-parseInt(_0x1441b3(0xc9))/0x4+parseInt(_0x1441b3(0xc7))/0x5*(parseInt(_0x1441b3(0x129))/0x6)+-parseInt(_0x1441b3(0xd3))/0x7+-parseInt(_0x1441b3(0x104))/0x8+-parseInt(_0x1441b3(0xec))/0x9*(-parseInt(_0x1441b3(0xee))/0xa);if(_0x14c3ce===_0x3e96bf)break;else _0x24a75b['push'](_0x24a75b['shift']());}catch(_0x2753c6){_0x24a75b['push'](_0x24a75b['shift']());}}}(a42_0x282f,0x3e2e5));const path=require(a42_0x2c8c19(0xfe)),Module=require(a42_0x2c8c19(0xe2)),{fork}=require(a42_0x2c8c19(0x109)),logger=require(a42_0x2c8c19(0xfd))[a42_0x2c8c19(0xbf)],helper=require(a42_0x2c8c19(0x10b)),TestHubHandler=require(a42_0x2c8c19(0xe0)),RequestQueueHandler=require(a42_0x2c8c19(0xcb)),{FRAMEWORKS}=require(a42_0x2c8c19(0xe8)),{printBuildLink}=require(a42_0x2c8c19(0xb5)),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a42_0x2c8c19(0xc0));function a42_0x4ca4(_0x3c3e0f,_0x5f7075){const _0x282fe4=a42_0x282f();return a42_0x4ca4=function(_0x4ca49b,_0x1d25c8){_0x4ca49b=_0x4ca49b-0xaa;let _0x2b3e0d=_0x282fe4[_0x4ca49b];return _0x2b3e0d;},a42_0x4ca4(_0x3c3e0f,_0x5f7075);}function registerBrowserStackReporter(){const _0x5829a4=a42_0x2c8c19,_0x57a427={};_0x57a427['GJzFA']=function(_0x331218,_0x59844b){return _0x331218===_0x59844b;},_0x57a427[_0x5829a4(0x103)]='newman-reporter-browserstack',_0x57a427[_0x5829a4(0x107)]=_0x5829a4(0x125),_0x57a427[_0x5829a4(0xdd)]='index.js';const _0x52c7d9=_0x57a427,_0x46078d=path[_0x5829a4(0x100)](__dirname,_0x52c7d9[_0x5829a4(0x107)],_0x52c7d9['nxSnb']),_0x582daf=Module[_0x5829a4(0xbc)];Module['_resolveFilename']=function(_0x30239f,_0x5b61ce,_0x44873a,_0x42890d){const _0x76cd3f=_0x5829a4;if(_0x52c7d9[_0x76cd3f(0xce)](_0x30239f,_0x52c7d9[_0x76cd3f(0x103)]))return _0x46078d;return _0x582daf[_0x76cd3f(0xda)](this,_0x30239f,_0x5b61ce,_0x44873a,_0x42890d);};}function injectReporterIntoArgs(_0x22c4ad){const _0x483e7c=a42_0x2c8c19,_0x49ab5f={};_0x49ab5f['oaxhe']=function(_0x317bd8,_0x4378df){return _0x317bd8<_0x4378df;},_0x49ab5f[_0x483e7c(0xfb)]=function(_0x40960a,_0x15e2a3){return _0x40960a===_0x15e2a3;},_0x49ab5f['VcpcM']=_0x483e7c(0xca),_0x49ab5f[_0x483e7c(0xb8)]=function(_0x5ce362,_0x214221){return _0x5ce362+_0x214221;},_0x49ab5f[_0x483e7c(0xbb)]=function(_0x5f4e26,_0x3ee59c){return _0x5f4e26+_0x3ee59c;},_0x49ab5f[_0x483e7c(0xf2)]=_0x483e7c(0xeb),_0x49ab5f[_0x483e7c(0x10c)]=_0x483e7c(0xf3),_0x49ab5f[_0x483e7c(0x122)]=_0x483e7c(0xb3);const _0x58f058=_0x49ab5f,_0x3fd6ac=_0x22c4ad[_0x483e7c(0xad)]();for(let _0x42ae4e=0x0;_0x58f058['oaxhe'](_0x42ae4e,_0x3fd6ac[_0x483e7c(0xd7)]);_0x42ae4e++){if(_0x58f058[_0x483e7c(0xfb)](_0x3fd6ac[_0x42ae4e],'-r')||_0x58f058[_0x483e7c(0xfb)](_0x3fd6ac[_0x42ae4e],_0x58f058[_0x483e7c(0xfc)]))return _0x3fd6ac[_0x58f058[_0x483e7c(0xb8)](_0x42ae4e,0x1)]&&_0x58f058['QqJNT'](_0x3fd6ac[_0x58f058[_0x483e7c(0xbb)](_0x42ae4e,0x1)][_0x483e7c(0x11b)](_0x58f058['ufNJW']),-0x1)&&(_0x3fd6ac[_0x58f058[_0x483e7c(0xb8)](_0x42ae4e,0x1)]+=_0x58f058[_0x483e7c(0x10c)]),_0x3fd6ac;}return _0x3fd6ac['push']('-r',_0x58f058[_0x483e7c(0x122)]),_0x3fd6ac;}function runNewmanCLI(_0x2317fc){const _0x29f7c6=a42_0x2c8c19,_0x46630b={'iemgJ':function(_0x33bd55,_0xe0108b){return _0x33bd55>_0xe0108b;},'Mwwiw':function(_0x32867f,_0x3eff35){return _0x32867f(_0x3eff35);},'TIPue':function(_0xe075d3,_0x324509,_0x3134b7){return _0xe075d3(_0x324509,_0x3134b7);},'zvOJB':_0x29f7c6(0x101),'RjQgh':_0x29f7c6(0x111),'iBnvT':function(_0x444dec,_0x5596ae){return _0x444dec(_0x5596ae);},'KHQxU':_0x29f7c6(0xe2),'rRKHO':'package.json','GquWv':function(_0x3a691f,_0x135fe8){return _0x3a691f(_0x135fe8);},'eCfQa':_0x29f7c6(0xcd),'gtMpk':_0x29f7c6(0xf7),'PKBuN':function(_0x53ea94,_0xe1d478){return _0x53ea94+_0xe1d478;},'pKQEw':'Newman\x20CLI\x20not\x20found:\x20','dcFkE':function(_0x22ebb5,_0x5df307){return _0x22ebb5(_0x5df307);}};return new Promise(_0x3ebc07=>{const _0x237675=_0x29f7c6,_0x3a4d08={'CzhgC':function(_0x307525,_0x6bb872){const _0x1298af=a42_0x4ca4;return _0x46630b[_0x1298af(0x11c)](_0x307525,_0x6bb872);},'FIpmB':function(_0x45450b,_0x32c7c5){return _0x46630b['Mwwiw'](_0x45450b,_0x32c7c5);},'fHJZQ':function(_0x856826,_0x585d8d,_0x3d8bd5){const _0x338f9e=a42_0x4ca4;return _0x46630b[_0x338f9e(0x117)](_0x856826,_0x585d8d,_0x3d8bd5);}};let _0x4fac7c;try{_0x4fac7c=helper[_0x237675(0x10d)](_0x46630b[_0x237675(0x121)],_0x46630b['zvOJB']);}catch(_0x4c664d){return logger[_0x237675(0xf1)](_0x46630b[_0x237675(0x119)]),_0x46630b[_0x237675(0xb2)](_0x3ebc07,0x1);}const _0x5cc869=_0x4fac7c['run'];_0x4fac7c[_0x237675(0xaf)]=function(_0x2c64c0,_0x42f67a){const _0x2f776b=_0x237675;return _0x4fac7c[_0x2f776b(0xaf)]=_0x5cc869,_0x5cc869[_0x2f776b(0xda)](_0x4fac7c,_0x2c64c0,(_0x1ecb1d,_0x40d37c)=>{const _0xb3d2a7=_0x2f776b,_0x51318a=_0x40d37c&&_0x40d37c['run']&&(_0x40d37c[_0xb3d2a7(0xaf)][_0xb3d2a7(0xf1)]||_0x40d37c['run'][_0xb3d2a7(0xd8)]&&_0x3a4d08[_0xb3d2a7(0xd5)](_0x40d37c[_0xb3d2a7(0xaf)][_0xb3d2a7(0xd8)][_0xb3d2a7(0xd7)],0x0));_0x3a4d08[_0xb3d2a7(0x11a)](_0x3ebc07,_0x51318a?0x1:0x0),_0x42f67a&&_0x3a4d08[_0xb3d2a7(0x123)](_0x42f67a,_0x1ecb1d,_0x40d37c);});};try{const _0x8bbed5=_0x46630b[_0x237675(0xef)](require,_0x46630b[_0x237675(0xf8)])[_0x237675(0xae)](path[_0x237675(0x100)](process[_0x237675(0xc5)](),_0x46630b[_0x237675(0xb7)]));_0x46630b[_0x237675(0xbd)](_0x8bbed5,_0x46630b[_0x237675(0xc8)])([_0x46630b[_0x237675(0xde)],_0x46630b[_0x237675(0x121)]][_0x237675(0xc1)](_0x2317fc));}catch(_0x2ae919){_0x4fac7c[_0x237675(0xaf)]=_0x5cc869,logger['error'](_0x46630b[_0x237675(0xe1)](_0x46630b[_0x237675(0x10a)],_0x2ae919[_0x237675(0xf9)])),_0x46630b[_0x237675(0xd0)](_0x3ebc07,0x1);}});}function runNewmanScript(_0x19860a,_0x2124c0){const _0x523fb5=a42_0x2c8c19,_0x2b54ec={'mfLGX':function(_0x3d572,_0x210b1a){return _0x3d572(_0x210b1a);},'ShEkJ':function(_0xee5da5,_0x375170){return _0xee5da5||_0x375170;},'zyDya':function(_0x42f4d1,_0x2ca883,_0x1eab42,_0x2cd3de){return _0x42f4d1(_0x2ca883,_0x1eab42,_0x2cd3de);},'GcyUz':_0x523fb5(0xf5),'gylyC':function(_0x21026f,_0x4bc431){return _0x21026f||_0x4bc431;},'MbHUY':_0x523fb5(0x116),'TSvEa':'close'};return new Promise(function(_0x28a7e4){const _0x490686=_0x523fb5,_0x479e92={'aTonV':function(_0x35ec3b,_0x464f78){const _0x191fc4=a42_0x4ca4;return _0x2b54ec[_0x191fc4(0x124)](_0x35ec3b,_0x464f78);},'ytmFD':function(_0x5e9eb7,_0x58c251){return _0x2b54ec['ShEkJ'](_0x5e9eb7,_0x58c251);}},_0x108dca=_0x2b54ec[_0x490686(0xc3)](fork,path['join'](__dirname,_0x2b54ec[_0x490686(0xd4)]),[_0x19860a,_0x2b54ec[_0x490686(0x124)](String,_0x2b54ec[_0x490686(0xd2)](_0x2124c0,0x0))],{'stdio':_0x2b54ec[_0x490686(0x126)],'env':Object[_0x490686(0xb9)]({},process[_0x490686(0xdb)])});_0x108dca['on'](_0x2b54ec[_0x490686(0xea)],function(_0x25997b){const _0x2b0cd5=_0x490686;_0x479e92[_0x2b0cd5(0xe7)](_0x28a7e4,_0x479e92[_0x2b0cd5(0x118)](_0x25997b,0x0));});});}function hasO11yBuild(){const _0x579b07=a42_0x2c8c19,_0x5dd983={};_0x5dd983['UlrsH']=function(_0x40ac42,_0x3fe67f){return _0x40ac42!==_0x3fe67f;},_0x5dd983[_0x579b07(0xf4)]=_0x579b07(0x102);const _0x5b4200=_0x5dd983;return!!(BrowserstackCLI[_0x579b07(0x11e)]||process[_0x579b07(0xdb)][_0x579b07(0x114)]&&_0x5b4200[_0x579b07(0x127)](process['env'][_0x579b07(0x114)],_0x5b4200[_0x579b07(0xf4)]));}function runWithoutObservability(_0x15069d,_0x27d065){const _0x27db00=a42_0x2c8c19,_0x101d77={'vDbZU':function(_0x322ef8,_0x57aade){return _0x322ef8(_0x57aade);}};if(_0x15069d)return _0x101d77[_0x27db00(0x105)](require,path[_0x27db00(0xab)](_0x15069d)),0x0;return _0x101d77[_0x27db00(0x105)](runNewmanCLI,_0x27d065);}module[a42_0x2c8c19(0xd9)]=async function(_0x51f16b,_0x1ede77,_0x3030d1){const _0x485874=a42_0x2c8c19,_0xeb98f0={'ALVXX':_0x485874(0xac),'bciIX':function(_0x5213ea,_0x7ab4a8){return _0x5213ea===_0x7ab4a8;},'vGool':_0x485874(0xe4),'ZMGzE':function(_0x540c23,_0xf251fb,_0x52fcab){return _0x540c23(_0xf251fb,_0x52fcab);},'GtTBy':function(_0x2131f4,_0x469138){return _0x2131f4!=_0x469138;},'RYABN':_0x485874(0xcc),'LKXRc':_0x485874(0x101),'rfmuY':function(_0x2ca27c,_0x1190dd){return _0x2ca27c+_0x1190dd;},'lDWPt':_0x485874(0x11f),'ZLkQi':function(_0x4ad882,_0x2178a7){return _0x4ad882+_0x2178a7;},'CDZXo':_0x485874(0x128),'dgnuM':function(_0x40fec3){return _0x40fec3();},'xLZjf':_0x485874(0xfa),'NzjlG':function(_0x17988a){return _0x17988a();},'sXxvP':function(_0x29b926,_0x40cdbe,_0x43391e){return _0x29b926(_0x40cdbe,_0x43391e);},'RBQRO':function(_0x2248e7,_0x50b17a){return _0x2248e7(_0x50b17a);},'vYfJX':function(_0xa0251){return _0xa0251();},'Zyqpo':_0x485874(0x113)},_0x4e2ae5=_0x1ede77[_0x485874(0xad)](0x1),_0x462d62=_0x4e2ae5[0x0]&&_0x4e2ae5[0x0]['endsWith'](_0xeb98f0[_0x485874(0xd6)])?_0x4e2ae5[0x0]:null;if(!_0x3030d1[_0x485874(0xf0)]||_0xeb98f0[_0x485874(0xb4)](_0x3030d1['config']['testObservability'],![])||_0xeb98f0['bciIX'](_0x3030d1['config'][_0x485874(0x10e)],_0xeb98f0[_0x485874(0xe9)])){process[_0x485874(0x112)]=await _0xeb98f0[_0x485874(0xdf)](runWithoutObservability,_0x462d62,_0x4e2ae5)||0x0;return;}process[_0x485874(0xdb)][_0x485874(0xed)]=_0xeb98f0[_0x485874(0xe9)],process['env'][_0x485874(0x10f)]=_0xeb98f0[_0x485874(0xe9)],process[_0x485874(0xdb)][_0x485874(0xb0)]=_0xeb98f0[_0x485874(0xff)](_0x3030d1[_0x485874(0xf0)][_0x485874(0x10e)],null)?_0x3030d1[_0x485874(0xf0)]['testObservability']:_0xeb98f0['RYABN'],CLIUtils['setFrameworkDetail'](_0xeb98f0[_0x485874(0x120)],_0xeb98f0['LKXRc']),BrowserstackCLI['getInstance']()[_0x485874(0x11d)](_0x3030d1[_0x485874(0xf0)],_0x3030d1[_0x485874(0xdc)],_0x3030d1[_0x485874(0x115)]);try{await BrowserstackCLI[_0x485874(0x110)]()['bootstrap']();}catch(_0x5e3569){logger['error'](_0xeb98f0[_0x485874(0xba)](_0xeb98f0[_0x485874(0xcf)],_0x5e3569[_0x485874(0xf9)]||_0x5e3569));}if(!BrowserstackCLI[_0x485874(0x110)]()[_0x485874(0xc4)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x485874(0xbe)],_0x3030d1);}catch(_0x435bd6){logger[_0x485874(0xf1)](_0xeb98f0[_0x485874(0xc2)](_0xeb98f0[_0x485874(0xb1)],_0x435bd6[_0x485874(0xf9)]||_0x435bd6));}!_0xeb98f0[_0x485874(0xe6)](hasO11yBuild)&&logger[_0x485874(0xe5)](_0xeb98f0['xLZjf']);_0xeb98f0[_0x485874(0xb6)](registerBrowserStackReporter);let _0x49187b;_0x462d62?_0x49187b=await _0xeb98f0['sXxvP'](runNewmanScript,_0x462d62,_0x3030d1[_0x485874(0xf0)][_0x485874(0xc6)]):_0x49187b=await _0xeb98f0[_0x485874(0xd1)](runNewmanCLI,_0xeb98f0[_0x485874(0xd1)](injectReporterIntoArgs,_0x4e2ae5));try{await TestHubHandler[_0x485874(0xe3)]();}catch(_0x2f7067){}try{await BrowserstackCLI[_0x485874(0x110)]()['stop']();}catch(_0x61f5c7){}try{await RequestQueueHandler[_0x485874(0x110)]()['shutdown']();}catch(_0x34dbdf){}if(_0xeb98f0[_0x485874(0x106)](hasO11yBuild))try{_0xeb98f0[_0x485874(0x106)](printBuildLink);}catch(_0x326150){}else logger[_0x485874(0xe5)](_0xeb98f0['Zyqpo']);process['exitCode']=_0x49187b;};
|
|
2
|
+
'use strict';const a42_0x546cdd=a42_0x2091;function a42_0x50f6(){const _0x2c6424=['resolve','assign','svnqu','QmWeS','Newman\x20CLI\x20not\x20found:\x20','bootstrap','call','env','module','error','shutdown','message','endsWith','false','WukjU','exports','path','inherit',',browserstack','slice','O11yHashedID','VDVww','FEIZo','bZFgr','BROWSERSTACK_AUTOMATION','71701eWpajZ','PdEKg','KWyTM','TenKn','522nhhJpi','configPath','../../helpers/test-observability/utils','ZObMq','IJxxD','kbEMb','setFrameworkDetail','pIpYa','newman','newman-reporter-browserstack','newman/bin/newman','../v2/cliUtils','GdjVH','mobED','DTVzV','push','../../helpers/helper','PaZCR','testObservability','dMnUG','yZBks','--reporters','Wided','wKmhA','cWJiS','failures','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','join','../v2/browserstackCLI','indexOf','iyxQM','iRlVw','config','Failed\x20to\x20launch\x20build:\x20','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','500YdMqvS','MuobF','winstonLogger','isRunning','stop','ZWuTl','174159dqBppm','qzhvx','getInstance','jxLEe','.js','cliConfig','node','Zcdpk','JVyIn','1410222eQbgOU','IjRyF','BROWSERSTACK_TEST_OBSERVABILITY_YML','vMGwy','kJMmV','child_process','2180aZPSbL','AhSCh','HvbgH','6tNqFKZ','warn','DyBhq','cwd','run','idaDf','2388EEeSiL','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','../../helpers/test-observability/requestQueueHandler','gNLTf','true','close','VIeGR','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','baKbv','5475136TSCinr','exitCode','zeRwl','_resolveFilename','browserstack','tDsoP','HPLeg','EcoSh','yspje','1783423pvudMl','BmaTT','NEWMAN','../../helpers/logger','671628iNyKCZ','cli,browserstack','../../helpers/testhub/testhubHandler','wwlXD','BROWSERSTACK_TESTHUB_JWT','package.json'];a42_0x50f6=function(){return _0x2c6424;};return a42_0x50f6();}(function(_0x3f731e,_0x136819){const _0x1a5571=a42_0x2091,_0x37942c=_0x3f731e();while(!![]){try{const _0x5ab741=parseInt(_0x1a5571(0x23b))/0x1+-parseInt(_0x1a5571(0x23f))/0x2*(parseInt(_0x1a5571(0x223))/0x3)+-parseInt(_0x1a5571(0x229))/0x4*(-parseInt(_0x1a5571(0x220))/0x5)+parseInt(_0x1a5571(0x1e8))/0x6*(-parseInt(_0x1a5571(0x1e4))/0x7)+-parseInt(_0x1a5571(0x232))/0x8+parseInt(_0x1a5571(0x211))/0x9*(parseInt(_0x1a5571(0x20b))/0xa)+parseInt(_0x1a5571(0x21a))/0xb;if(_0x5ab741===_0x136819)break;else _0x37942c['push'](_0x37942c['shift']());}catch(_0x97832){_0x37942c['push'](_0x37942c['shift']());}}}(a42_0x50f6,0xd9d92));const path=require(a42_0x546cdd(0x1db)),Module=require(a42_0x546cdd(0x24d)),{fork}=require(a42_0x546cdd(0x21f)),logger=require(a42_0x546cdd(0x23e))[a42_0x546cdd(0x20d)],helper=require(a42_0x546cdd(0x1f8)),TestHubHandler=require(a42_0x546cdd(0x241)),RequestQueueHandler=require(a42_0x546cdd(0x22b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a42_0x546cdd(0x1ea)),BrowserstackCLI=require(a42_0x546cdd(0x204)),CLIUtils=require(a42_0x546cdd(0x1f3));function registerBrowserStackReporter(){const _0x5eafc2=a42_0x546cdd,_0x5ed3ec={};_0x5ed3ec[_0x5eafc2(0x23c)]=function(_0x525fa7,_0x955da6){return _0x525fa7===_0x955da6;},_0x5ed3ec[_0x5eafc2(0x1f6)]=_0x5eafc2(0x1f1),_0x5ed3ec[_0x5eafc2(0x218)]='reporter',_0x5ed3ec['iRlVw']='index.js';const _0x480b0e=_0x5ed3ec,_0x5df133=path[_0x5eafc2(0x203)](__dirname,_0x480b0e[_0x5eafc2(0x218)],_0x480b0e[_0x5eafc2(0x207)]),_0x15321a=Module['_resolveFilename'];Module[_0x5eafc2(0x235)]=function(_0x351822,_0x3e3ebf,_0x52867c,_0x5ee3af){const _0x445ac7=_0x5eafc2;if(_0x480b0e[_0x445ac7(0x23c)](_0x351822,_0x480b0e[_0x445ac7(0x1f6)]))return _0x5df133;return _0x15321a[_0x445ac7(0x24b)](this,_0x351822,_0x3e3ebf,_0x52867c,_0x5ee3af);};}function injectReporterIntoArgs(_0x33f814){const _0x3d986d=a42_0x546cdd,_0x5c51c8={};_0x5c51c8[_0x3d986d(0x21d)]=function(_0x59ee65,_0x1658a9){return _0x59ee65<_0x1658a9;},_0x5c51c8[_0x3d986d(0x22f)]=function(_0xd9a4e,_0x170bcc){return _0xd9a4e===_0x170bcc;},_0x5c51c8[_0x3d986d(0x200)]=function(_0x5d1a27,_0x1ab637){return _0x5d1a27===_0x1ab637;},_0x5c51c8['gNLTf']=_0x3d986d(0x1fd),_0x5c51c8[_0x3d986d(0x206)]=function(_0x13de3e,_0x103497){return _0x13de3e+_0x103497;},_0x5c51c8[_0x3d986d(0x20c)]=function(_0x4a1448,_0x26bc74){return _0x4a1448===_0x26bc74;},_0x5c51c8[_0x3d986d(0x221)]=function(_0x78fe1b,_0x52289d){return _0x78fe1b+_0x52289d;},_0x5c51c8[_0x3d986d(0x231)]=_0x3d986d(0x236),_0x5c51c8[_0x3d986d(0x222)]=function(_0x44efa4,_0x39dcd4){return _0x44efa4+_0x39dcd4;},_0x5c51c8['GdjVH']=_0x3d986d(0x1dd),_0x5c51c8['FDfhG']=_0x3d986d(0x240);const _0x99a5c5=_0x5c51c8,_0x5b2c99=_0x33f814[_0x3d986d(0x1de)]();for(let _0x891d21=0x0;_0x99a5c5[_0x3d986d(0x21d)](_0x891d21,_0x5b2c99['length']);_0x891d21++){if(_0x99a5c5['VIeGR'](_0x5b2c99[_0x891d21],'-r')||_0x99a5c5[_0x3d986d(0x200)](_0x5b2c99[_0x891d21],_0x99a5c5[_0x3d986d(0x22c)]))return _0x5b2c99[_0x99a5c5[_0x3d986d(0x206)](_0x891d21,0x1)]&&_0x99a5c5[_0x3d986d(0x20c)](_0x5b2c99[_0x99a5c5['AhSCh'](_0x891d21,0x1)][_0x3d986d(0x205)](_0x99a5c5[_0x3d986d(0x231)]),-0x1)&&(_0x5b2c99[_0x99a5c5[_0x3d986d(0x222)](_0x891d21,0x1)]+=_0x99a5c5[_0x3d986d(0x1f4)]),_0x5b2c99;}return _0x5b2c99[_0x3d986d(0x1f7)]('-r',_0x99a5c5['FDfhG']),_0x5b2c99;}function runNewmanCLI(_0xc8d923){const _0x55a27e=a42_0x546cdd,_0x5b8494={'KWyTM':function(_0x22337b,_0x365e80){return _0x22337b>_0x365e80;},'VDVww':function(_0x207436,_0x42cdbd){return _0x207436(_0x42cdbd);},'FyfHl':function(_0x41862e,_0x390cd3,_0x13dd5d){return _0x41862e(_0x390cd3,_0x13dd5d);},'yspje':_0x55a27e(0x1f0),'svnqu':_0x55a27e(0x22a),'HPLeg':function(_0x120805,_0x38e5ff){return _0x120805(_0x38e5ff);},'Izdli':_0x55a27e(0x24d),'CWFrM':_0x55a27e(0x244),'lCKQL':_0x55a27e(0x1f2),'WukjU':_0x55a27e(0x217),'FEIZo':function(_0x39bffb,_0x368fc7){return _0x39bffb+_0x368fc7;},'MqDRf':_0x55a27e(0x249)};return new Promise(_0x3e96a3=>{const _0x55664d=_0x55a27e,_0x239164={'vYIvn':function(_0x5cfef5,_0x223f06){const _0x5702a6=a42_0x2091;return _0x5b8494[_0x5702a6(0x1e6)](_0x5cfef5,_0x223f06);},'jxLEe':function(_0x13196b,_0x287818){const _0x5a1828=a42_0x2091;return _0x5b8494[_0x5a1828(0x1e0)](_0x13196b,_0x287818);},'ZWuTl':function(_0xece800,_0x607b12,_0x35fa3a){return _0x5b8494['FyfHl'](_0xece800,_0x607b12,_0x35fa3a);}};let _0x5a0aed;try{_0x5a0aed=helper['requireModule'](_0x5b8494['yspje'],_0x5b8494[_0x55664d(0x23a)]);}catch(_0x5b627a){return logger[_0x55664d(0x24e)](_0x5b8494[_0x55664d(0x247)]),_0x5b8494[_0x55664d(0x238)](_0x3e96a3,0x1);}const _0x1db985=_0x5a0aed[_0x55664d(0x227)];_0x5a0aed['run']=function(_0x354582,_0x212989){return _0x5a0aed['run']=_0x1db985,_0x1db985['call'](_0x5a0aed,_0x354582,(_0x2aa4a4,_0x114a81)=>{const _0x452755=a42_0x2091,_0x35daf2=_0x114a81&&_0x114a81['run']&&(_0x114a81[_0x452755(0x227)]['error']||_0x114a81[_0x452755(0x227)][_0x452755(0x201)]&&_0x239164['vYIvn'](_0x114a81['run'][_0x452755(0x201)]['length'],0x0));_0x239164[_0x452755(0x214)](_0x3e96a3,_0x35daf2?0x1:0x0),_0x212989&&_0x239164[_0x452755(0x210)](_0x212989,_0x2aa4a4,_0x114a81);});};try{const _0x1d0abd=_0x5b8494['HPLeg'](require,_0x5b8494['Izdli'])['createRequire'](path[_0x55664d(0x203)](process[_0x55664d(0x226)](),_0x5b8494['CWFrM']));_0x5b8494['VDVww'](_0x1d0abd,_0x5b8494['lCKQL'])([_0x5b8494[_0x55664d(0x1d9)],_0x5b8494[_0x55664d(0x23a)]]['concat'](_0xc8d923));}catch(_0x18d188){_0x5a0aed[_0x55664d(0x227)]=_0x1db985,logger[_0x55664d(0x24e)](_0x5b8494[_0x55664d(0x1e1)](_0x5b8494['MqDRf'],_0x18d188[_0x55664d(0x1d6)])),_0x5b8494[_0x55664d(0x238)](_0x3e96a3,0x1);}});}function runNewmanScript(_0x5eac02,_0x413f94){const _0x2ce95e=a42_0x546cdd,_0x52df96={'PaZCR':function(_0x3f68f6,_0x5eecb3){return _0x3f68f6(_0x5eecb3);},'dMnUG':function(_0x30cde1,_0x206cd0){return _0x30cde1||_0x206cd0;},'BzlUp':function(_0x5d5436,_0x1351e0,_0x86b5fd,_0x521666){return _0x5d5436(_0x1351e0,_0x86b5fd,_0x521666);},'wKmhA':'scriptRunner.js','idaDf':function(_0x1abec5,_0x274d0d){return _0x1abec5(_0x274d0d);},'EcoSh':_0x2ce95e(0x1dc),'ZObMq':_0x2ce95e(0x22e)};return new Promise(function(_0xfaf5fd){const _0xfe62ca=_0x2ce95e,_0xa2021a=_0x52df96['BzlUp'](fork,path[_0xfe62ca(0x203)](__dirname,_0x52df96[_0xfe62ca(0x1ff)]),[_0x5eac02,_0x52df96[_0xfe62ca(0x228)](String,_0x52df96[_0xfe62ca(0x1fb)](_0x413f94,0x0))],{'stdio':_0x52df96[_0xfe62ca(0x239)],'env':Object[_0xfe62ca(0x246)]({},process['env'])});_0xa2021a['on'](_0x52df96[_0xfe62ca(0x1eb)],function(_0x53ee64){const _0x17c4fa=_0xfe62ca;_0x52df96[_0x17c4fa(0x1f9)](_0xfaf5fd,_0x52df96[_0x17c4fa(0x1fb)](_0x53ee64,0x0));});});}function hasO11yBuild(){const _0x5eecf7=a42_0x546cdd,_0x1721c9={};_0x1721c9['bZFgr']=function(_0x3314f6,_0xebe496){return _0x3314f6!==_0xebe496;},_0x1721c9[_0x5eecf7(0x1fc)]='null';const _0xc9eea7=_0x1721c9;return!!(BrowserstackCLI[_0x5eecf7(0x1df)]||process['env'][_0x5eecf7(0x243)]&&_0xc9eea7[_0x5eecf7(0x1e2)](process[_0x5eecf7(0x24c)][_0x5eecf7(0x243)],_0xc9eea7[_0x5eecf7(0x1fc)]));}function runWithoutObservability(_0x55a4b8,_0x2fa07a){const _0x2bda2f=a42_0x546cdd,_0x4ba289={'Wided':function(_0x115cc0,_0xef5a0f){return _0x115cc0(_0xef5a0f);},'QmWeS':function(_0x1e4bcf,_0x260ef1){return _0x1e4bcf(_0x260ef1);}};if(_0x55a4b8)return _0x4ba289[_0x2bda2f(0x1fe)](require,path[_0x2bda2f(0x245)](_0x55a4b8)),0x0;return _0x4ba289[_0x2bda2f(0x248)](runNewmanCLI,_0x2fa07a);}function a42_0x2091(_0x29680a,_0x3dc7f4){const _0x50f625=a42_0x50f6();return a42_0x2091=function(_0x2091bf,_0x105ee8){_0x2091bf=_0x2091bf-0x1d5;let _0x14f1f5=_0x50f625[_0x2091bf];return _0x14f1f5;},a42_0x2091(_0x29680a,_0x3dc7f4);}module[a42_0x546cdd(0x1da)]=async function(_0xa5e9ea,_0x470c2d,_0x7def18){const _0xa28294=a42_0x546cdd,_0x41c96e={'IjRyF':_0xa28294(0x215),'NTkVm':function(_0x2d0de7,_0xe41285){return _0x2d0de7===_0xe41285;},'JVyIn':function(_0x1a34fa,_0x8a1b15){return _0x1a34fa===_0x8a1b15;},'zeRwl':_0xa28294(0x1d8),'PdEKg':function(_0x4cd196,_0xded40f,_0x528b9e){return _0x4cd196(_0xded40f,_0x528b9e);},'qzhvx':function(_0x51114c,_0x5bfa09){return _0x51114c!=_0x5bfa09;},'kbEMb':_0xa28294(0x22d),'IJxxD':_0xa28294(0x1f0),'wwlXD':function(_0x3ad365,_0x18908c){return _0x3ad365+_0x18908c;},'MiMER':'Failed\x20to\x20bootstrap\x20CLI:\x20','mobED':function(_0x3b9549,_0x94f10c){return _0x3b9549+_0x94f10c;},'kJMmV':_0xa28294(0x209),'TenKn':function(_0x27c5ed){return _0x27c5ed();},'NWueS':_0xa28294(0x20a),'pIpYa':function(_0x21c37a){return _0x21c37a();},'tDsoP':function(_0x54f55a,_0x559b1a,_0x1c3cc3){return _0x54f55a(_0x559b1a,_0x1c3cc3);},'DyBhq':function(_0xde5e90,_0x3370e4){return _0xde5e90(_0x3370e4);},'BlrYe':_0xa28294(0x202)},_0x389942=_0x470c2d[_0xa28294(0x1de)](0x1),_0x28eaf6=_0x389942[0x0]&&_0x389942[0x0][_0xa28294(0x1d7)](_0x41c96e[_0xa28294(0x21b)])?_0x389942[0x0]:null;if(!_0x7def18[_0xa28294(0x208)]||_0x41c96e['NTkVm'](_0x7def18[_0xa28294(0x208)][_0xa28294(0x1fa)],![])||_0x41c96e[_0xa28294(0x219)](_0x7def18[_0xa28294(0x208)][_0xa28294(0x1fa)],_0x41c96e[_0xa28294(0x234)])){process[_0xa28294(0x233)]=await _0x41c96e[_0xa28294(0x1e5)](runWithoutObservability,_0x28eaf6,_0x389942)||0x0;return;}process[_0xa28294(0x24c)][_0xa28294(0x1e3)]=_0x41c96e['zeRwl'],process[_0xa28294(0x24c)][_0xa28294(0x230)]=_0x41c96e[_0xa28294(0x234)],process[_0xa28294(0x24c)][_0xa28294(0x21c)]=_0x41c96e[_0xa28294(0x212)](_0x7def18['config'][_0xa28294(0x1fa)],null)?_0x7def18[_0xa28294(0x208)][_0xa28294(0x1fa)]:_0x41c96e[_0xa28294(0x1ed)],CLIUtils[_0xa28294(0x1ee)](_0x41c96e[_0xa28294(0x1ec)],_0x41c96e[_0xa28294(0x1ec)]),BrowserstackCLI[_0xa28294(0x213)]()['setBrowserstackConfig'](_0x7def18[_0xa28294(0x208)],_0x7def18[_0xa28294(0x1e9)],_0x7def18[_0xa28294(0x216)]);try{await BrowserstackCLI['getInstance']()[_0xa28294(0x24a)]();}catch(_0x1812f7){logger[_0xa28294(0x24e)](_0x41c96e[_0xa28294(0x242)](_0x41c96e['MiMER'],_0x1812f7[_0xa28294(0x1d6)]||_0x1812f7));}if(!BrowserstackCLI[_0xa28294(0x213)]()[_0xa28294(0x20e)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0xa28294(0x23d)],_0x7def18);}catch(_0x4b50a7){logger[_0xa28294(0x24e)](_0x41c96e[_0xa28294(0x1f5)](_0x41c96e[_0xa28294(0x21e)],_0x4b50a7[_0xa28294(0x1d6)]||_0x4b50a7));}!_0x41c96e[_0xa28294(0x1e7)](hasO11yBuild)&&logger[_0xa28294(0x224)](_0x41c96e['NWueS']);_0x41c96e[_0xa28294(0x1ef)](registerBrowserStackReporter);let _0x19af05;_0x28eaf6?_0x19af05=await _0x41c96e[_0xa28294(0x237)](runNewmanScript,_0x28eaf6,_0x7def18[_0xa28294(0x208)]['parallelsPerPlatform']):_0x19af05=await _0x41c96e[_0xa28294(0x225)](runNewmanCLI,_0x41c96e['DyBhq'](injectReporterIntoArgs,_0x389942));try{await TestHubHandler[_0xa28294(0x20f)]();}catch(_0x2c4277){}try{await BrowserstackCLI['getInstance']()[_0xa28294(0x20f)]();}catch(_0x21703b){}try{await RequestQueueHandler[_0xa28294(0x213)]()[_0xa28294(0x1d5)]();}catch(_0x1acdab){}if(_0x41c96e[_0xa28294(0x1e7)](hasO11yBuild))try{_0x41c96e['pIpYa'](printBuildLink);}catch(_0x57c770){}else logger['warn'](_0x41c96e['BlrYe']);process['exitCode']=_0x19af05;};
|
package/src/bin/newman/helper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a43_0x57f669=a43_0x5a86;(function(_0x210e67,_0x33c852){const _0x3568f1=a43_0x5a86,_0x413b68=_0x210e67();while(!![]){try{const _0x32236b=parseInt(_0x3568f1(0x1b0))/0x1*(-parseInt(_0x3568f1(0x1ab))/0x2)+-parseInt(_0x3568f1(0x1a8))/0x3+parseInt(_0x3568f1(0x1a3))/0x4*(-parseInt(_0x3568f1(0x1a5))/0x5)+-parseInt(_0x3568f1(0x1ae))/0x6*(parseInt(_0x3568f1(0x1a1))/0x7)+parseInt(_0x3568f1(0x1b1))/0x8*(-parseInt(_0x3568f1(0x1af))/0x9)+parseInt(_0x3568f1(0x19f))/0xa*(parseInt(_0x3568f1(0x1a6))/0xb)+parseInt(_0x3568f1(0x1a2))/0xc*(parseInt(_0x3568f1(0x1a4))/0xd);if(_0x32236b===_0x33c852)break;else _0x413b68['push'](_0x413b68['shift']());}catch(_0x395cde){_0x413b68['push'](_0x413b68['shift']());}}}(a43_0x570f,0xb678a));function isNewman(_0x2965b6){const _0x4630e7=a43_0x5a86,_0x595f09={'NfyTz':function(_0x2b4d1e,_0x56e3a8){return _0x2b4d1e===_0x56e3a8;},'lQatZ':_0x4630e7(0x1b3),'UwtFz':function(_0x1be82e,_0x155b51){return _0x1be82e(_0x155b51);},'cpNaS':function(_0x12e469,_0x3c535a){return _0x12e469||_0x3c535a;}},_0x4b715e=process[_0x4630e7(0x1a9)][_0x4630e7(0x1a0)]||'';let _0x599758='';_0x2965b6&&_0x2965b6[_0x4630e7(0x1ad)]&&(_0x599758=_0x2965b6[_0x4630e7(0x1ad)]);const _0x5b2653=_0x595f09[_0x4630e7(0x1b2)](_0x4b715e['toLowerCase'](),_0x595f09[_0x4630e7(0x1ac)]),_0x57a2f9=_0x595f09['NfyTz'](_0x595f09['UwtFz'](String,_0x599758)[_0x4630e7(0x1a7)](),_0x595f09[_0x4630e7(0x1ac)]);return _0x595f09['cpNaS'](_0x5b2653,_0x57a2f9);};const a43_0x5ee23e={};function a43_0x570f(){const _0x487d16=['exports','315626fCHCNK','lQatZ','framework','78mJqWFA','192636sGXZcI','7caGVSf','344EiQsvy','NfyTz','newman','150jDOvvw','BROWSERSTACK_FRAMEWORK','62209auMlRH','3168nkIDLP','4iCgRJM','154141oSPmpz','2196470vThZxj','970167fBpBFk','toLowerCase','3377739OQgRJF','env'];a43_0x570f=function(){return _0x487d16;};return a43_0x570f();}function a43_0x5a86(_0xc3c7cd,_0x3b9b12){const _0x570f44=a43_0x570f();return a43_0x5a86=function(_0x5a866a,_0x17d0b6){_0x5a866a=_0x5a866a-0x19f;let _0x25ec4f=_0x570f44[_0x5a866a];return _0x25ec4f;},a43_0x5a86(_0xc3c7cd,_0x3b9b12);}a43_0x5ee23e['isNewman']=isNewman,module[a43_0x57f669(0x1aa)]=a43_0x5ee23e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a44_0x55a253=a44_0x348e;(function(_0x17e491,_0x1afe4d){const _0x55535d=a44_0x348e,_0x44524b=_0x17e491();while(!![]){try{const _0x490a31=parseInt(_0x55535d(0x24a))/0x1+parseInt(_0x55535d(0x1f0))/0x2+parseInt(_0x55535d(0x204))/0x3+parseInt(_0x55535d(0x20c))/0x4*(parseInt(_0x55535d(0x19e))/0x5)+parseInt(_0x55535d(0x242))/0x6*(parseInt(_0x55535d(0x218))/0x7)+parseInt(_0x55535d(0x253))/0x8*(parseInt(_0x55535d(0x1a5))/0x9)+-parseInt(_0x55535d(0x1dc))/0xa;if(_0x490a31===_0x1afe4d)break;else _0x44524b['push'](_0x44524b['shift']());}catch(_0x12a78f){_0x44524b['push'](_0x44524b['shift']());}}}(a44_0xf009,0xd6ee1));const path=require('path'),{v4:uuidv4}=require(a44_0x55a253(0x1d7)),SessionHandler=require(a44_0x55a253(0x1c0)),{debug}=require(a44_0x55a253(0x276)),logger=require('../../../helpers/logger')[a44_0x55a253(0x1f1)],BrowserstackCLI=require(a44_0x55a253(0x233)),GrpcClient=require(a44_0x55a253(0x280)),TestFrameworkState=require(a44_0x55a253(0x25a)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a44_0x55a253(0x1b0),a44_0x55a253(0x1ff),a44_0x55a253(0x1b5),a44_0x55a253(0x1ce),a44_0x55a253(0x203)];function isCLIRunning(){const _0x56db97=a44_0x55a253;try{return BrowserstackCLI[_0x56db97(0x287)]()[_0x56db97(0x210)]();}catch(_0x9ad1c0){return![];}}function getParentTitles(_0x1ca0be){const _0x59b3b6=a44_0x55a253,_0x21d21e={'acsAC':function(_0x43188f,_0x426cc2){return _0x43188f(_0x426cc2);},'tQgBt':function(_0x2b33db,_0x1769b5){return _0x2b33db(_0x1769b5);}},_0x24808a=[],_0x2e29e9=_0x1ca0be[_0x59b3b6(0x241)]();return _0x2e29e9&&_0x24808a[_0x59b3b6(0x200)][_0x59b3b6(0x1e9)](_0x24808a,_0x21d21e['acsAC'](getParentTitles,_0x2e29e9)),_0x1ca0be[_0x59b3b6(0x24e)]&&_0x24808a['push'](_0x21d21e[_0x59b3b6(0x1c1)](String,_0x1ca0be['name'])),_0x24808a;}function normalizeLogLevel(_0x38977f){const _0x108034=a44_0x55a253,_0x93cade={};_0x93cade[_0x108034(0x24b)]=_0x108034(0x1b0),_0x93cade[_0x108034(0x21e)]=function(_0xd3d1e5,_0x24d89b){return _0xd3d1e5!==_0x24d89b;};const _0x530306=_0x93cade;if(!_0x38977f)return _0x530306['kPAtX'];const _0x1f934a=_0x38977f['toUpperCase']();return _0x530306[_0x108034(0x21e)](LOG_LEVELS[_0x108034(0x222)](_0x1f934a),-0x1)?_0x1f934a:_0x530306[_0x108034(0x24b)];}function resolveCollectionFile(_0x3fd275,_0x3417ff){const _0x2d6196=a44_0x55a253,_0x489316={};_0x489316['VwrsH']=function(_0x1abcfe,_0x4e00f8){return _0x1abcfe===_0x4e00f8;},_0x489316[_0x2d6196(0x1de)]=_0x2d6196(0x20e),_0x489316[_0x2d6196(0x1ae)]='run',_0x489316['bXuqt']=function(_0x98ce0,_0x503c7c){return _0x98ce0!==_0x503c7c;},_0x489316[_0x2d6196(0x1f9)]=function(_0x41e2cb,_0x1a9c8a){return _0x41e2cb<_0x1a9c8a;},_0x489316['QjkeK']=function(_0x70b697,_0x2c73dd){return _0x70b697+_0x2c73dd;},_0x489316[_0x2d6196(0x1ca)]=_0x2d6196(0x27e),_0x489316[_0x2d6196(0x236)]=_0x2d6196(0x228);const _0x5d2519=_0x489316;try{if(_0x3417ff&&_0x3417ff[_0x2d6196(0x207)])return path[_0x2d6196(0x21b)](process['cwd'](),path['resolve'](_0x3417ff[_0x2d6196(0x207)]));const _0x26e84c=_0x3fd275[_0x2d6196(0x1bc)];if(_0x5d2519[_0x2d6196(0x198)](typeof _0x26e84c,_0x5d2519[_0x2d6196(0x1de)]))return path[_0x2d6196(0x21b)](process['cwd'](),path[_0x2d6196(0x239)](_0x26e84c));const _0x2f15d4=process['argv'][_0x2d6196(0x222)](_0x5d2519[_0x2d6196(0x1ae)]);if(_0x5d2519[_0x2d6196(0x284)](_0x2f15d4,-0x1)&&_0x5d2519[_0x2d6196(0x1f9)](_0x5d2519[_0x2d6196(0x1ee)](_0x2f15d4,0x1),process[_0x2d6196(0x21a)][_0x2d6196(0x1d2)])){const _0x52c805=process[_0x2d6196(0x21a)][_0x5d2519[_0x2d6196(0x1ee)](_0x2f15d4,0x1)];if(_0x52c805&&!_0x52c805[_0x2d6196(0x1f7)]('-'))return path[_0x2d6196(0x21b)](process[_0x2d6196(0x24f)](),path['resolve'](_0x52c805));}}catch(_0x5208d8){}return logger['info'](_0x5d2519[_0x2d6196(0x1ca)]),_0x5d2519['WRLmh'];}function resolveCollectionName(_0x6182fc){const _0xaf0cb3=a44_0x55a253,_0x20f12a={};_0x20f12a['TBNSp']=function(_0x1afc76,_0x31d974){return _0x1afc76===_0x31d974;},_0x20f12a[_0xaf0cb3(0x211)]='object';const _0x4991e3=_0x20f12a;try{const _0x1edf01=_0x6182fc[_0xaf0cb3(0x1bc)];if(_0x1edf01&&_0x4991e3[_0xaf0cb3(0x24d)](typeof _0x1edf01,_0x4991e3[_0xaf0cb3(0x211)]))return _0x1edf01['name']||_0x1edf01[_0xaf0cb3(0x20f)]&&_0x1edf01[_0xaf0cb3(0x20f)][_0xaf0cb3(0x24e)]||null;}catch(_0x506511){}return null;}function emitTest(_0x4f0726,_0x44402f,_0x4e7b37,_0x51e5bb,_0x5207a6){const _0x3309bd=a44_0x55a253,_0x563c24={'vQwtv':function(_0xe95995){return _0xe95995();},'wuQsN':_0x3309bd(0x1a0),'sMwEx':function(_0x3b8520,_0x56b4dc){return _0x3b8520(_0x56b4dc);},'DcVRq':_0x3309bd(0x1b6),'cZfPI':_0x3309bd(0x270),'wwqGp':function(_0x2d3017,_0xdf9011){return _0x2d3017!=_0xdf9011;},'nYHTS':function(_0x2576e7,_0x596aca){return _0x2576e7===_0x596aca;},'utWQR':_0x3309bd(0x285),'bITyi':'TestRunFinished'};if(_0x563c24['vQwtv'](isCLIRunning))try{const _0x19736c=BrowserstackCLI[_0x3309bd(0x287)]()[_0x3309bd(0x1d1)]();if(!_0x19736c)return;_0x19736c[_0x3309bd(0x237)](TestFrameworkState[_0x3309bd(0x1d4)],_0x4f0726,{'test':{'uuid':_0x44402f[_0x3309bd(0x1d7)],'name':_0x44402f[_0x3309bd(0x24e)],'scopes':_0x4e7b37[_0x3309bd(0x256)],'scope':_0x4e7b37[_0x3309bd(0x256)][_0x3309bd(0x245)]('\x20'),'file_path':_0x51e5bb,'location':_0x4e7b37[_0x3309bd(0x244)],'started_at':_0x4e7b37[_0x3309bd(0x23f)],'finished_at':_0x5207a6[_0x3309bd(0x1c9)]||null,'result':_0x5207a6[_0x3309bd(0x1b3)]||_0x563c24['wuQsN'],'failure':_0x5207a6[_0x3309bd(0x281)]||[],'failure_type':_0x5207a6['failureType']||null,'failure_reason':_0x5207a6['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0xd3727d){_0x563c24['sMwEx'](debug,_0x3309bd(0x261)+_0xd3727d);}else{const _0x49c30d={'uuid':_0x44402f[_0x3309bd(0x1d7)],'name':_0x44402f[_0x3309bd(0x24e)],'framework':_0x563c24[_0x3309bd(0x209)],'body':{'lang':_0x563c24[_0x3309bd(0x1a9)],'code':null},'scope':_0x4e7b37[_0x3309bd(0x256)][_0x3309bd(0x245)]('\x20'),'scopes':_0x4e7b37[_0x3309bd(0x256)],'identifier':_0x44402f[_0x3309bd(0x25d)],'file_name':_0x4e7b37[_0x3309bd(0x244)],'vc_filepath':_0x4e7b37[_0x3309bd(0x27c)],'location':_0x4e7b37[_0x3309bd(0x27c)],'started_at':_0x4e7b37[_0x3309bd(0x23f)],'finished_at':_0x5207a6[_0x3309bd(0x1c9)]||null,'duration_in_ms':_0x563c24[_0x3309bd(0x286)](_0x5207a6[_0x3309bd(0x248)],null)?Math[_0x3309bd(0x1e0)](0x0,_0x5207a6[_0x3309bd(0x248)]):null,'result':_0x5207a6['result']||_0x563c24[_0x3309bd(0x258)],'failure_reason':_0x5207a6[_0x3309bd(0x23c)]||null,'failure_type':_0x5207a6[_0x3309bd(0x26d)]||null,'failure':_0x5207a6[_0x3309bd(0x281)]||[],'retry_of':null,'hooks':[]};_0x49c30d['failure'][0x0]&&(_0x49c30d[_0x3309bd(0x1f4)]=_0x49c30d[_0x3309bd(0x281)][0x0][_0x3309bd(0x20b)],_0x49c30d['failure_reason_expanded']=_0x49c30d[_0x3309bd(0x281)][0x0][_0x3309bd(0x27f)]);const _0x55cb45=_0x563c24[_0x3309bd(0x1e7)](_0x4f0726,HookState['PRE'])?_0x563c24[_0x3309bd(0x259)]:_0x563c24['bITyi'],_0x16db58={};_0x16db58[_0x3309bd(0x1fd)]=_0x55cb45,_0x16db58[_0x3309bd(0x22b)]=_0x49c30d,SessionHandler[_0x3309bd(0x1bf)](_0x16db58);}}function a44_0x348e(_0x315276,_0x36eb3c){const _0xf009d0=a44_0xf009();return a44_0x348e=function(_0x348e45,_0x58fded){_0x348e45=_0x348e45-0x197;let _0x56db66=_0xf009d0[_0x348e45];return _0x56db66;},a44_0x348e(_0x315276,_0x36eb3c);}function a44_0xf009(){const _0x57e99d=['indexOf','concat','Atenl','now','includes','bpCRV','collection.json','err','error','test_run','ivkhM','VhqXn','eRuKL','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','startTimestamp','xMtkO','testFrameworkName','../../v2/browserstackCLI','dUUAH','FeFlY','WRLmh','trackEvent','\x20(no\x20assertions)','resolve','jsuRd','puCLQ','failureReason','message','platformIndex','startedAt','cdKHR','parent','12wdvVhh','YlYLo','collectionName','join','YSHdp','method','durationMs','SBkzi','1065515dEgTqt','kPAtX','http','TBNSp','name','cwd','wWEAo','moCpG','http_response','456ZMXnaH','Cowzh','logCreatedEvent','scopes','pathname','wuQsN','utWQR','../../v2/state/testFrameworkState','xesKA','csepJ','identifier','ndcJR','request','jYkEp','[Newman\x20Reporter]\x20emitTest\x20error:\x20','listen','gJDJK','HTTP\x20','ZKDXF','YyFpv','path','sThSu','done','stringify','uVYBq','\x20—\x20response\x20status\x20in\x20failure\x20range','failureType','ayMQw','httpLog','javascript','aXTmW','FVPMq','status_code','Wkgxs','item','../../../helpers/test-observability/utils','ZntaY','Assertion\x20','vmyQy','wZnAx','UmQPw','location','VBbQK','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','expanded','../../v2/grpcClient','failure','response','bkvYr','bXuqt','TestRunStarted','wwqGp','getInstance','iteration','execution','rwtnu','cursor','Script\x20error\x20(','XqMEd','search','VwrsH','duration_ms','test_run_uuid','otzgB','headers','KzFXf','291920fqXqph','PRE','pending','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','toISOString','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','passed','245313tbRYrd','jVzPf','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','delete','cZfPI','lastResponseCode','level','MvwOc','Sgxdw','cXDdK','bQvdK','INFO','MGbDl','UfHMM','result','FiSjf','ERROR','newman','QRJJM','[Newman\x20Reporter]\x20emitLog\x20error:\x20','szHIG','logs','HTTP','collection','timestamp','WaRwR','uploadEventData','../../../helpers/test-observability/sessionHandler','tQgBt','console','HTTP\x20Status:\x20','script','Xrlav','SvmUS','bs:addLog:','AfvRG','finishedAt','TGBXF','ms)','BFPtr','host','DEBUG','set','wAytK','getTestFramework','length','fhXYx','TEST','PXett','removeListener','uuid','AssertionError','assertions','split','GHXIN','39111930lvDbeP','Qvcpv','zmoYK','XFOCE','max','TEST_LOG','UYaNc','Lytgh','UnhandledError','WhmZG','clear','nYHTS','N/A','apply','Exception:\x20','bROpB','stack','zHkIo','QjkeK','TudAu','777802fqqHfH','winstonLogger','kind','eZRta','failure_backtrace','sNgZM','code','startsWith','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','DAlzP','forEach','exports','MuZwM','event_type','bufferedLogs','WARN','push','CDKnD','getTime','TRACE','585429RhQoNA','toString','ETnQi','collectionPath','url','DcVRq','get','backtrace','24BPdTZP','itemName','string','info','isRunning','LFbDl','assert','svoNV','):\x20','event','pdLWY','rrlvl','4333119Wocfwk','gxXkl','argv','relative','ref','zTSJR','pcpkn','messages','ChRWD','POST'];a44_0xf009=function(){return _0x57e99d;};return a44_0xf009();}function emitLog(_0x4f07f3,_0x5e9566){const _0x3294a5=a44_0x55a253,_0x4f0a9f={'XqMEd':_0x3294a5(0x1e1),'Lytgh':function(_0x22dcc7){return _0x22dcc7();},'dUUAH':function(_0x420015,_0x15efad){return _0x420015===_0x15efad;},'jYkEp':_0x3294a5(0x1bb),'WhmZG':_0x3294a5(0x1b6),'sThSu':_0x3294a5(0x1d4),'WaRwR':_0x3294a5(0x1b0),'LyVlV':function(_0x102e9f,_0xdb8322){return _0x102e9f(_0xdb8322);},'Qvcpv':function(_0x2ec87a,_0x261e2a){return _0x2ec87a+_0x261e2a;},'DwZvP':_0x3294a5(0x1b8),'jVzPf':'LogCreated'},_0x14b593=_0x5e9566['kind']||_0x4f0a9f[_0x3294a5(0x28d)],_0x46fcb1=_0x5e9566[_0x3294a5(0x1bd)]||new Date()[_0x3294a5(0x1a2)]();if(_0x4f0a9f[_0x3294a5(0x1e3)](isCLIRunning))try{const _0x2ac633=_0x4f0a9f[_0x3294a5(0x234)](_0x14b593,_0x4f0a9f[_0x3294a5(0x260)])?JSON[_0x3294a5(0x26a)](_0x5e9566):_0x5e9566[_0x3294a5(0x23d)]||'',_0x2bb17a={};_0x2bb17a[_0x3294a5(0x23e)]=0x0,_0x2bb17a[_0x3294a5(0x232)]=_0x4f0a9f[_0x3294a5(0x1e5)],_0x2bb17a['testFrameworkVersion']='',_0x2bb17a['testFrameworkState']=_0x4f0a9f[_0x3294a5(0x268)],_0x2bb17a['logs']=[{'uuid':_0x4f07f3,'timestamp':_0x46fcb1,'kind':_0x14b593,'level':_0x5e9566[_0x3294a5(0x1ab)]||_0x4f0a9f[_0x3294a5(0x1be)],'message':_0x2ac633}],GrpcClient['getInstance']()[_0x3294a5(0x255)](_0x2bb17a);}catch(_0x59d290){_0x4f0a9f['LyVlV'](debug,_0x4f0a9f[_0x3294a5(0x1dd)](_0x4f0a9f['DwZvP'],_0x59d290));}else{const _0x39d18f={};_0x39d18f[_0x3294a5(0x19a)]=_0x4f07f3,_0x39d18f[_0x3294a5(0x1bd)]=_0x46fcb1,_0x39d18f[_0x3294a5(0x1ab)]=_0x5e9566[_0x3294a5(0x1ab)]||null,_0x39d18f[_0x3294a5(0x23d)]=_0x5e9566['message']||null,_0x39d18f[_0x3294a5(0x1f2)]=_0x14b593,_0x39d18f[_0x3294a5(0x252)]=_0x5e9566[_0x3294a5(0x252)]||{};const _0x563968={};_0x563968['event_type']=_0x4f0a9f[_0x3294a5(0x1a6)],_0x563968[_0x3294a5(0x1ba)]=[_0x39d18f],SessionHandler[_0x3294a5(0x1bf)](_0x563968);}}function BrowserStackNewmanReporter(_0x5f1c2b,_0x5bd003,_0x4f1af9){const _0x1e869a=a44_0x55a253,_0x540219={'bROpB':function(_0x303027,_0x171f9e,_0x2f7a26){return _0x303027(_0x171f9e,_0x2f7a26);},'ETnQi':function(_0x24ebe8,_0x1713ce){return _0x24ebe8(_0x1713ce);},'PXett':function(_0x4e61ad,_0x7e619d){return _0x4e61ad>_0x7e619d;},'gJDJK':function(_0x59aa0b,_0x34a89a){return _0x59aa0b(_0x34a89a);},'wZnAx':_0x1e869a(0x24c),'sNgZM':function(_0x3776f4,_0x3ba3bf){return _0x3776f4+_0x3ba3bf;},'XFOCE':'GET','VhqXn':function(_0x469845,_0x3f9754){return _0x469845(_0x3f9754);},'UfHMM':_0x1e869a(0x1e1),'szHIG':function(_0x47d2db){return _0x47d2db();},'ayMQw':function(_0x109e65,_0x5c493a){return _0x109e65||_0x5c493a;},'QRJJM':function(_0x4d1d0a,_0x395d98,_0x2fa339,_0x1982d5,_0x490b0f,_0x45e3d4){return _0x4d1d0a(_0x395d98,_0x2fa339,_0x1982d5,_0x490b0f,_0x45e3d4);},'XjUhx':function(_0x771483,_0x173e9f){return _0x771483===_0x173e9f;},'wAytK':_0x1e869a(0x1bb),'Wkgxs':function(_0x5824dc,_0x2bdb69){return _0x5824dc+_0x2bdb69;},'otzgB':function(_0x1bbb9f,_0x4a1d00){return _0x1bbb9f+_0x4a1d00;},'fhXYx':function(_0x22e35b,_0x5354cd){return _0x22e35b+_0x5354cd;},'jsuRd':function(_0x537df,_0x440d77){return _0x537df+_0x440d77;},'Cowzh':'\x20->\x20','pdLWY':_0x1e869a(0x1cb),'eZRta':_0x1e869a(0x1b0),'aXTmW':function(_0x8857e0,_0x58c04f){return _0x8857e0>_0x58c04f;},'moCpG':function(_0x2825e1,_0x2c6971){return _0x2825e1-_0x2c6971;},'YSHdp':function(_0x5f0de0,_0x37eb9f,_0xb5d9e0){return _0x5f0de0(_0x37eb9f,_0xb5d9e0);},'bQvdK':function(_0x1157be,_0x4c655b){return _0x1157be(_0x4c655b);},'xesKA':function(_0x3bbb45,_0x325d2f){return _0x3bbb45&&_0x325d2f;},'TudAu':function(_0x8169c7,_0x3d6a3a){return _0x8169c7+_0x3d6a3a;},'lpitW':_0x1e869a(0x1ea),'rwtnu':_0x1e869a(0x1b5),'svoNV':function(_0x21d961,_0x3dee05){return _0x21d961(_0x3dee05);},'ZntaY':_0x1e869a(0x1a7),'SvmUS':function(_0x4bee2f,_0x3bfdf5){return _0x4bee2f>_0x3bfdf5;},'YlYLo':function(_0xc3da03,_0x511585){return _0xc3da03-_0x511585;},'ChRWD':'unknown','yTocS':function(_0x226cbb,_0x438677,_0x169955){return _0x226cbb(_0x438677,_0x169955);},'CDKnD':function(_0x1ade10,_0x529e1a){return _0x1ade10+_0x529e1a;},'kOPDE':function(_0xe5bf0c,_0x159418){return _0xe5bf0c+_0x159418;},'KzFXf':_0x1e869a(0x28c),'ndcJR':_0x1e869a(0x214),'uVYBq':function(_0x13c8f8,_0x362fed){return _0x13c8f8+_0x362fed;},'VBbQK':_0x1e869a(0x1f8),'AfvRG':'failed','Atenl':_0x1e869a(0x1a4),'FiSjf':function(_0x1376b8,_0x412a6d){return _0x1376b8===_0x412a6d;},'zTSJR':_0x1e869a(0x1d8),'UYaNc':_0x1e869a(0x212),'bpCRV':_0x1e869a(0x1e4),'vmyQy':function(_0x450cc8,_0xacbc8a){return _0x450cc8>_0xacbc8a;},'UixTf':function(_0x29a364){return _0x29a364();},'Xrlav':function(_0x4b5fa6,_0xaab11c){return _0x4b5fa6!=_0xaab11c;},'GpVgJ':function(_0x41b5df,_0x35fa64){return _0x41b5df>=_0x35fa64;},'ruxAM':function(_0x365ebf,_0x80892d){return _0x365ebf<_0x80892d;},'MuZwM':_0x1e869a(0x1e8),'SBkzi':'No\x20HTTP\x20response\x20received','eRuKL':function(_0x363015,_0x263b37,_0xe240ef){return _0x363015(_0x263b37,_0xe240ef);},'UmQPw':function(_0x36c040,_0x36e062){return _0x36c040+_0x36e062;},'cTqrS':function(_0x140b9e,_0x1480a0){return _0x140b9e+_0x1480a0;},'Sgxdw':function(_0x39add2,_0x3bb67f){return _0x39add2+_0x3bb67f;},'BFPtr':function(_0x5ced59,_0x296861){return _0x5ced59+_0x296861;},'xMtkO':function(_0x5a3e17,_0x29be4a,_0x3d0231){return _0x5a3e17(_0x29be4a,_0x3d0231);},'CvzoG':function(_0x3c7e83,_0x177b8c){return _0x3c7e83+_0x177b8c;},'MvwOc':function(_0x3697a2,_0xee263d){return _0x3697a2+_0xee263d;},'gxXkl':_0x1e869a(0x1c3),'wWEAo':_0x1e869a(0x238),'tZqTj':function(_0x4086a4,_0x56ead6){return _0x4086a4(_0x56ead6);},'cdKHR':_0x1e869a(0x269),'qJKXs':'beforeIteration','dYBAB':'beforeItem','FVPMq':_0x1e869a(0x25f),'ivkhM':'assertion','ZneWK':_0x1e869a(0x1c2),'rrlvl':'exception','csepJ':_0x1e869a(0x1c4),'wCQff':_0x1e869a(0x275)},_0x1c6efa=new Map();let _0x26fa04=null,_0x24de38=0x0;const _0x2449ba=_0x540219['bROpB'](resolveCollectionFile,_0x4f1af9,_0x5bd003),_0xe5ca6e=_0x540219[_0x1e869a(0x213)](resolveCollectionName,_0x4f1af9)||_0x2449ba,_0x5ea8ed=path[_0x1e869a(0x239)](_0x2449ba),_0x4af559=_0x1e869a(0x1c7)+process['pid'],_0x2a8b47=_0xcc225a=>{const _0x4226b1=_0x1e869a;try{_0x26fa04&&_0x540219['bROpB'](emitLog,_0x26fa04,_0xcc225a);}catch(_0x37510f){_0x540219[_0x4226b1(0x206)](debug,_0x4226b1(0x1a1)+_0x37510f);}};process['on'](_0x4af559,_0x2a8b47),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x240)],()=>{const _0x435946=_0x1e869a;process[_0x435946(0x1d6)](_0x4af559,_0x2a8b47),_0x1c6efa[_0x435946(0x1e6)]();}),_0x5f1c2b['on'](_0x540219['qJKXs'],(_0x296672,_0xbc72a8)=>{const _0xb10812=_0x1e869a;_0xbc72a8&&_0xbc72a8[_0xb10812(0x28b)]&&(_0x24de38=_0xbc72a8[_0xb10812(0x28b)][_0xb10812(0x288)]||0x0);}),_0x5f1c2b['on'](_0x540219['dYBAB'],(_0x2d28cc,_0x5f2566)=>{const _0x5bc50b=_0x1e869a;try{_0x26fa04=null;const _0x4a042c=_0x5f2566['item'],_0x53702b=_0x4a042c[_0x5bc50b(0x241)]()?_0x540219[_0x5bc50b(0x206)](getParentTitles,_0x4a042c[_0x5bc50b(0x241)]()):[],_0x5841e7=_0x540219[_0x5bc50b(0x1d5)](_0x53702b['length'],0x1)?_0x53702b['slice'](0x1):_0x53702b,_0x4a5caf=_0x5f2566['cursor']&&_0x5f2566[_0x5bc50b(0x28b)]['ref'],_0x49c1af={'itemName':_0x4a042c[_0x5bc50b(0x24e)],'scopes':_0x5841e7[_0x5bc50b(0x223)]([_0x4a042c[_0x5bc50b(0x24e)]]),'location':_0x2449ba,'collectionName':_0xe5ca6e,'startedAt':new Date()[_0x5bc50b(0x1a2)](),'startTimestamp':Date[_0x5bc50b(0x225)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1c6efa['set'](_0x4a042c['id']+'_'+_0x24de38,_0x49c1af),_0x4a5caf&&_0x1c6efa[_0x5bc50b(0x1cf)](_0x4a5caf+'_'+_0x24de38,_0x49c1af);}catch(_0x256d7c){_0x540219[_0x5bc50b(0x263)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x256d7c);}}),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x272)],(_0x5e140b,_0x182af0)=>{const _0x1b08dd=_0x1e869a;try{if(!_0x182af0||!_0x182af0['item'])return;const _0x510260=_0x1c6efa[_0x1b08dd(0x20a)](_0x182af0['item']['id']+'_'+_0x24de38);if(!_0x510260)return;_0x182af0[_0x1b08dd(0x282)]&&(_0x510260[_0x1b08dd(0x1aa)]=_0x182af0[_0x1b08dd(0x282)][_0x1b08dd(0x1f6)]||null);if(!_0x182af0[_0x1b08dd(0x25f)])return;let _0x38968a='',_0x4ec497='';if(_0x182af0[_0x1b08dd(0x25f)][_0x1b08dd(0x208)])try{const _0x568d67=_0x182af0[_0x1b08dd(0x25f)][_0x1b08dd(0x208)][_0x1b08dd(0x205)](),_0x20cdd5=new URL(_0x568d67[_0x1b08dd(0x1f7)](_0x540219[_0x1b08dd(0x27a)])?_0x568d67:'http://'+_0x568d67);_0x38968a=_0x20cdd5['hostname'],_0x4ec497=_0x540219[_0x1b08dd(0x1f5)](_0x20cdd5[_0x1b08dd(0x257)],_0x20cdd5[_0x1b08dd(0x197)]);}catch(_0x15e601){_0x4ec497=_0x182af0[_0x1b08dd(0x25f)][_0x1b08dd(0x208)]['toString']();}const _0x1e7ae4={};_0x1e7ae4[_0x1b08dd(0x1cd)]=_0x38968a,_0x1e7ae4['path']=_0x4ec497,_0x1e7ae4['method']=_0x182af0['request'][_0x1b08dd(0x247)]||_0x540219['XFOCE'],_0x1e7ae4[_0x1b08dd(0x19c)]={},_0x1e7ae4[_0x1b08dd(0x273)]=_0x182af0[_0x1b08dd(0x282)]?_0x182af0[_0x1b08dd(0x282)][_0x1b08dd(0x1f6)]||0x0:0x0,_0x1e7ae4[_0x1b08dd(0x199)]=_0x182af0[_0x1b08dd(0x282)]?_0x182af0[_0x1b08dd(0x282)]['responseTime']||0x0:0x0,_0x510260[_0x1b08dd(0x26f)]=_0x1e7ae4;}catch(_0x24cbd2){_0x540219[_0x1b08dd(0x22d)](debug,_0x1b08dd(0x1a3)+_0x24cbd2);}}),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x22c)],(_0x22f88d,_0x5d8608)=>{const _0x40cee5=_0x1e869a,_0x62309f={'ZKDXF':function(_0x503055,_0x55b165,_0x30a8c6){return _0x540219['bROpB'](_0x503055,_0x55b165,_0x30a8c6);},'puCLQ':_0x540219['UfHMM']};try{if(!_0x5d8608||!_0x5d8608[_0x40cee5(0x275)])return;const _0x511ed3=_0x1c6efa['get'](_0x5d8608[_0x40cee5(0x275)]['id']+'_'+_0x24de38);if(!_0x511ed3)return;const _0x331a05=_0x5d8608['assertion']||_0x40cee5(0x278)+_0x540219[_0x40cee5(0x1f5)](_0x511ed3[_0x40cee5(0x1d9)][_0x40cee5(0x1d2)],0x1),_0x460df6=_0x540219[_0x40cee5(0x1b9)](uuidv4),_0x19650c=_0x511ed3[_0x40cee5(0x256)][_0x40cee5(0x223)]([_0x331a05])['join']('\x20');_0x511ed3[_0x40cee5(0x1d9)][_0x40cee5(0x200)]({'uuid':_0x460df6,'name':_0x331a05,'identifier':_0x19650c,'err':_0x540219[_0x40cee5(0x26e)](_0x22f88d,null)});const _0x11240a={};_0x11240a[_0x40cee5(0x1d7)]=_0x460df6,_0x11240a[_0x40cee5(0x24e)]=_0x331a05,_0x11240a[_0x40cee5(0x25d)]=_0x19650c,_0x540219['QRJJM'](emitTest,HookState[_0x40cee5(0x19f)],_0x11240a,_0x511ed3,_0x5ea8ed,{});_0x540219['XjUhx'](_0x511ed3[_0x40cee5(0x1d9)][_0x40cee5(0x1d2)],0x1)&&_0x540219[_0x40cee5(0x1d5)](_0x511ed3[_0x40cee5(0x1fe)][_0x40cee5(0x1d2)],0x0)&&(_0x511ed3['bufferedLogs'][_0x40cee5(0x1fa)](_0x342d18=>{const _0x84ea5e=_0x40cee5;_0x62309f[_0x84ea5e(0x265)](emitLog,_0x460df6,{'kind':_0x62309f[_0x84ea5e(0x23b)],'message':_0x342d18[_0x84ea5e(0x23d)],'level':_0x342d18[_0x84ea5e(0x1ab)]});}),_0x511ed3[_0x40cee5(0x1fe)]=[]);if(_0x511ed3['httpLog']){_0x540219[_0x40cee5(0x1eb)](emitLog,_0x460df6,{'kind':_0x540219[_0x40cee5(0x1d0)],'http_response':_0x511ed3[_0x40cee5(0x26f)]});const _0x533b7b=_0x540219[_0x40cee5(0x1f5)](_0x540219['sNgZM'](_0x540219[_0x40cee5(0x274)](_0x540219[_0x40cee5(0x19b)](_0x540219[_0x40cee5(0x1d3)](_0x540219[_0x40cee5(0x274)](_0x540219[_0x40cee5(0x19b)](_0x540219['jsuRd'](_0x511ed3[_0x40cee5(0x26f)][_0x40cee5(0x247)]||_0x540219[_0x40cee5(0x1df)],'\x20'),_0x511ed3[_0x40cee5(0x26f)][_0x40cee5(0x1cd)]),_0x511ed3[_0x40cee5(0x26f)][_0x40cee5(0x267)]),_0x540219['Cowzh']),_0x511ed3[_0x40cee5(0x26f)]['status_code']),'\x20('),_0x511ed3[_0x40cee5(0x26f)][_0x40cee5(0x199)]),_0x540219[_0x40cee5(0x216)]);_0x540219['bROpB'](emitLog,_0x460df6,{'kind':_0x540219[_0x40cee5(0x1b2)],'message':_0x533b7b,'level':_0x540219[_0x40cee5(0x1f3)]});}_0x26fa04=_0x460df6;}catch(_0x1e767c){_0x540219[_0x40cee5(0x263)](debug,_0x40cee5(0x22f)+_0x1e767c);}}),_0x5f1c2b['on'](_0x540219['ZneWK'],(_0x8cc99e,_0x2dfa80)=>{const _0x51d023=_0x1e869a;try{if(!_0x2dfa80)return;let _0x3d4b3c=_0x26fa04;if(!_0x3d4b3c&&_0x2dfa80['cursor']&&_0x2dfa80[_0x51d023(0x28b)]['ref']){const _0x27f846=_0x1c6efa[_0x51d023(0x20a)](_0x2dfa80[_0x51d023(0x28b)][_0x51d023(0x21c)]+'_'+_0x24de38);_0x27f846&&_0x540219['aXTmW'](_0x27f846[_0x51d023(0x1d9)][_0x51d023(0x1d2)],0x0)&&(_0x3d4b3c=_0x27f846[_0x51d023(0x1d9)][_0x540219[_0x51d023(0x251)](_0x27f846[_0x51d023(0x1d9)][_0x51d023(0x1d2)],0x1)][_0x51d023(0x1d7)]);}const _0x2c7005=_0x2dfa80[_0x51d023(0x21f)]?_0x2dfa80[_0x51d023(0x21f)]['join'](',\x20'):'';if(_0x3d4b3c)_0x540219[_0x51d023(0x246)](emitLog,_0x3d4b3c,{'kind':_0x540219[_0x51d023(0x1b2)],'message':_0x2c7005,'level':_0x540219[_0x51d023(0x1af)](normalizeLogLevel,_0x2dfa80['level'])});else{if(_0x2dfa80[_0x51d023(0x28b)]&&_0x2dfa80[_0x51d023(0x28b)]['ref']){const _0x4bddf1=_0x1c6efa[_0x51d023(0x20a)](_0x2dfa80[_0x51d023(0x28b)][_0x51d023(0x21c)]+'_'+_0x24de38);_0x4bddf1&&_0x4bddf1[_0x51d023(0x1fe)][_0x51d023(0x200)]({'timestamp':new Date()[_0x51d023(0x1a2)](),'level':_0x540219[_0x51d023(0x206)](normalizeLogLevel,_0x2dfa80[_0x51d023(0x1ab)]),'message':_0x2c7005});}}}catch(_0x2135a7){_0x540219[_0x51d023(0x206)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x2135a7);}}),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x217)],(_0x43d166,_0x52e019)=>{const _0x593992=_0x1e869a;try{if(!_0x43d166&&(!_0x52e019||!_0x52e019[_0x593992(0x22a)]))return;const _0x293a9a=_0x43d166||_0x52e019['error'],_0x3b1618=_0x293a9a[_0x593992(0x23d)]||_0x540219['bQvdK'](String,_0x293a9a),_0x12b40d=_0x293a9a[_0x593992(0x1ec)]||_0x3b1618;let _0x200710=_0x26fa04;if(_0x540219[_0x593992(0x25b)](!_0x200710,_0x52e019)&&_0x52e019[_0x593992(0x28b)]&&_0x52e019['cursor'][_0x593992(0x21c)]){const _0x3ca3a7=_0x1c6efa[_0x593992(0x20a)](_0x52e019[_0x593992(0x28b)][_0x593992(0x21c)]+'_'+_0x24de38);_0x3ca3a7&&_0x540219[_0x593992(0x271)](_0x3ca3a7[_0x593992(0x1d9)][_0x593992(0x1d2)],0x0)&&(_0x200710=_0x3ca3a7[_0x593992(0x1d9)][_0x540219['moCpG'](_0x3ca3a7[_0x593992(0x1d9)]['length'],0x1)][_0x593992(0x1d7)]);}_0x200710&&_0x540219[_0x593992(0x246)](emitLog,_0x200710,{'kind':_0x540219[_0x593992(0x1b2)],'message':_0x540219[_0x593992(0x1ef)](_0x540219['lpitW'],_0x12b40d),'level':_0x540219[_0x593992(0x28a)]});}catch(_0x5d7a36){_0x540219[_0x593992(0x213)](debug,_0x540219[_0x593992(0x23a)](_0x540219[_0x593992(0x277)],_0x5d7a36));}}),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x25c)],(_0x205fdc,_0x15a2c2)=>{const _0x432893=_0x1e869a;try{if(!_0x15a2c2||!_0x15a2c2[_0x432893(0x289)])return;let _0x5e557b=_0x26fa04;if(!_0x5e557b&&_0x15a2c2[_0x432893(0x28b)]&&_0x15a2c2[_0x432893(0x28b)]['ref']){const _0x5d08e8=_0x1c6efa['get'](_0x15a2c2['cursor']['ref']+'_'+_0x24de38);_0x5d08e8&&_0x540219[_0x432893(0x1c6)](_0x5d08e8[_0x432893(0x1d9)]['length'],0x0)&&(_0x5e557b=_0x5d08e8[_0x432893(0x1d9)][_0x540219[_0x432893(0x243)](_0x5d08e8[_0x432893(0x1d9)]['length'],0x1)][_0x432893(0x1d7)]);}if(!_0x5e557b)return;const _0x4529b7=_0x15a2c2[_0x432893(0x215)]&&_0x15a2c2[_0x432893(0x215)][_0x432893(0x262)]||_0x540219[_0x432893(0x220)];_0x205fdc&&_0x540219['yTocS'](emitLog,_0x5e557b,{'kind':_0x540219[_0x432893(0x1b2)],'message':_0x540219[_0x432893(0x201)](_0x540219[_0x432893(0x1d3)](_0x540219['kOPDE'](_0x540219[_0x432893(0x19d)],_0x4529b7),_0x540219[_0x432893(0x25e)]),_0x205fdc['message']||_0x205fdc),'level':_0x540219[_0x432893(0x28a)]});}catch(_0x15504c){_0x540219[_0x432893(0x206)](debug,_0x540219[_0x432893(0x26b)](_0x540219[_0x432893(0x27d)],_0x15504c));}}),_0x5f1c2b['on'](_0x540219['wCQff'],(_0x5f0e85,_0x3fa116)=>{const _0x4e9477=_0x1e869a,_0x49e5d4={'FeFlY':_0x540219['AfvRG'],'MGbDl':_0x540219[_0x4e9477(0x224)],'GHXIN':function(_0x555def,_0x2c7aab){const _0x502288=_0x4e9477;return _0x540219[_0x502288(0x1b4)](_0x555def,_0x2c7aab);},'bkvYr':_0x540219[_0x4e9477(0x21d)],'PHtSb':_0x540219[_0x4e9477(0x1e2)],'YyFpv':_0x540219['bpCRV'],'zHkIo':function(_0x41305c,_0x5d0a59,_0x34b204,_0x512718,_0x350ca2,_0x2dbb78){const _0x39cfbb=_0x4e9477;return _0x540219[_0x39cfbb(0x1b7)](_0x41305c,_0x5d0a59,_0x34b204,_0x512718,_0x350ca2,_0x2dbb78);}};try{if(!_0x3fa116||!_0x3fa116[_0x4e9477(0x275)])return;const _0x2a1364=_0x3fa116[_0x4e9477(0x275)]['id']+'_'+_0x24de38,_0x28be27=_0x1c6efa[_0x4e9477(0x20a)](_0x2a1364);if(!_0x28be27)return;const _0x3718b0=new Date(),_0xfb69e1=_0x540219[_0x4e9477(0x243)](_0x3718b0[_0x4e9477(0x202)](),_0x28be27[_0x4e9477(0x230)]);if(_0x540219[_0x4e9477(0x279)](_0x28be27[_0x4e9477(0x1d9)][_0x4e9477(0x1d2)],0x0))_0x28be27[_0x4e9477(0x1d9)][_0x4e9477(0x1fa)](_0x3e164c=>{const _0x51f4ac=_0x4e9477,_0x4d0c9a=!!_0x3e164c['err'],_0x4ebf5e={'finishedAt':_0x3718b0[_0x51f4ac(0x1a2)](),'durationMs':_0xfb69e1,'result':_0x4d0c9a?_0x49e5d4[_0x51f4ac(0x235)]:_0x49e5d4[_0x51f4ac(0x1b1)]};_0x4d0c9a&&(_0x4ebf5e[_0x51f4ac(0x23c)]=_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x23d)]||'',_0x4ebf5e[_0x51f4ac(0x26d)]=_0x49e5d4[_0x51f4ac(0x1db)](_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x24e)],_0x49e5d4[_0x51f4ac(0x283)])||_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x23d)]&&_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x23d)][_0x51f4ac(0x226)](_0x49e5d4['PHtSb'])?_0x49e5d4[_0x51f4ac(0x283)]:_0x49e5d4[_0x51f4ac(0x266)],_0x4ebf5e[_0x51f4ac(0x281)]=[{'backtrace':_0x3e164c[_0x51f4ac(0x229)]['stack']?_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x1ec)][_0x51f4ac(0x1da)]('\x0a'):[_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x23d)]||''],'expanded':[]}]),_0x49e5d4[_0x51f4ac(0x1ed)](emitTest,HookState[_0x51f4ac(0x221)],_0x3e164c,_0x28be27,_0x5ea8ed,_0x4ebf5e);});else{const _0x170b58=_0x540219['UixTf'](uuidv4),_0x2f232b=_0x28be27['lastResponseCode'],_0x5c0c0f=_0x540219[_0x4e9477(0x1c5)](_0x2f232b,null)&&_0x540219['GpVgJ'](_0x2f232b,0xc8)&&_0x540219['ruxAM'](_0x2f232b,0x190),_0x396816=_0x28be27[_0x4e9477(0x20d)]+'\x20(HTTP\x20'+_0x540219['ayMQw'](_0x2f232b,_0x540219['MuZwM'])+')',_0xd6934d={'uuid':_0x170b58,'name':_0x396816,'identifier':_0x28be27[_0x4e9477(0x256)][_0x4e9477(0x223)]([_0x396816])[_0x4e9477(0x245)]('\x20')},_0x2bbe80={'finishedAt':_0x3718b0[_0x4e9477(0x1a2)](),'durationMs':_0xfb69e1,'result':_0x5c0c0f?_0x540219[_0x4e9477(0x224)]:_0x540219[_0x4e9477(0x1c8)]};!_0x5c0c0f&&(_0x2bbe80[_0x4e9477(0x23c)]=_0x540219[_0x4e9477(0x1c5)](_0x2f232b,null)?_0x4e9477(0x264)+_0x2f232b+_0x4e9477(0x26c):_0x540219[_0x4e9477(0x249)],_0x2bbe80[_0x4e9477(0x26d)]=_0x540219[_0x4e9477(0x227)],_0x2bbe80[_0x4e9477(0x281)]=[{'backtrace':[_0x2bbe80[_0x4e9477(0x23c)]],'expanded':[]}]);_0x540219[_0x4e9477(0x1b7)](emitTest,HookState[_0x4e9477(0x19f)],_0xd6934d,_0x28be27,_0x5ea8ed,{}),_0x28be27[_0x4e9477(0x1fe)]['forEach'](_0x5d1ea7=>{const _0x5ad86a=_0x4e9477;_0x540219[_0x5ad86a(0x246)](emitLog,_0x170b58,{'kind':_0x540219[_0x5ad86a(0x1b2)],'message':_0x5d1ea7[_0x5ad86a(0x23d)],'level':_0x5d1ea7[_0x5ad86a(0x1ab)]});});if(_0x28be27[_0x4e9477(0x26f)]){_0x540219[_0x4e9477(0x22e)](emitLog,_0x170b58,{'kind':_0x540219[_0x4e9477(0x1d0)],'http_response':_0x28be27[_0x4e9477(0x26f)]});const _0x40d821=_0x540219[_0x4e9477(0x27b)](_0x540219[_0x4e9477(0x23a)](_0x540219['cTqrS'](_0x540219[_0x4e9477(0x1d3)](_0x540219[_0x4e9477(0x1d3)](_0x540219[_0x4e9477(0x1ad)](_0x540219[_0x4e9477(0x1cc)](_0x540219[_0x4e9477(0x1ef)](_0x28be27[_0x4e9477(0x26f)][_0x4e9477(0x247)]||_0x540219['XFOCE'],'\x20'),_0x28be27[_0x4e9477(0x26f)][_0x4e9477(0x1cd)]),_0x28be27[_0x4e9477(0x26f)][_0x4e9477(0x267)]),_0x540219[_0x4e9477(0x254)]),_0x28be27['httpLog'][_0x4e9477(0x273)]),'\x20('),_0x28be27[_0x4e9477(0x26f)]['duration_ms']),_0x540219[_0x4e9477(0x216)]);_0x540219[_0x4e9477(0x246)](emitLog,_0x170b58,{'kind':_0x540219[_0x4e9477(0x1b2)],'message':_0x40d821,'level':_0x540219[_0x4e9477(0x1f3)]});}else _0x540219[_0x4e9477(0x231)](emitLog,_0x170b58,{'kind':_0x540219[_0x4e9477(0x1b2)],'message':_0x540219['CvzoG'](_0x540219[_0x4e9477(0x1ac)](_0x540219[_0x4e9477(0x219)],_0x540219[_0x4e9477(0x26e)](_0x2f232b,_0x540219[_0x4e9477(0x1fc)])),_0x540219[_0x4e9477(0x250)]),'level':_0x540219[_0x4e9477(0x1f3)]});_0x540219[_0x4e9477(0x1b7)](emitTest,HookState[_0x4e9477(0x221)],_0xd6934d,_0x28be27,_0x5ea8ed,_0x2bbe80);}_0x1c6efa[_0x4e9477(0x1a8)](_0x2a1364),_0x3fa116[_0x4e9477(0x28b)]&&_0x3fa116['cursor']['ref']&&_0x1c6efa[_0x4e9477(0x1a8)](_0x3fa116[_0x4e9477(0x28b)]['ref']+'_'+_0x24de38);}catch(_0x102648){_0x540219['tZqTj'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20item:\x20'+_0x102648);}});}module[a44_0x55a253(0x1fb)]=BrowserStackNewmanReporter;
|
|
1
|
+
'use strict';const a44_0x4de891=a44_0x2d7b;(function(_0x4a057e,_0x4ea5b0){const _0x2c32ed=a44_0x2d7b,_0x3852fe=_0x4a057e();while(!![]){try{const _0x27d4b0=-parseInt(_0x2c32ed(0x1b0))/0x1+parseInt(_0x2c32ed(0x205))/0x2*(parseInt(_0x2c32ed(0x1c9))/0x3)+parseInt(_0x2c32ed(0x273))/0x4+-parseInt(_0x2c32ed(0x1ad))/0x5*(parseInt(_0x2c32ed(0x258))/0x6)+parseInt(_0x2c32ed(0x1e4))/0x7*(-parseInt(_0x2c32ed(0x22e))/0x8)+-parseInt(_0x2c32ed(0x1b8))/0x9+-parseInt(_0x2c32ed(0x1a3))/0xa*(-parseInt(_0x2c32ed(0x1be))/0xb);if(_0x27d4b0===_0x4ea5b0)break;else _0x3852fe['push'](_0x3852fe['shift']());}catch(_0x1219b4){_0x3852fe['push'](_0x3852fe['shift']());}}}(a44_0x3aa7,0x1d51f));function a44_0x2d7b(_0x43c721,_0x5ba310){const _0x3aa73b=a44_0x3aa7();return a44_0x2d7b=function(_0x2d7b0c,_0x167f10){_0x2d7b0c=_0x2d7b0c-0x196;let _0x37d9d3=_0x3aa73b[_0x2d7b0c];return _0x37d9d3;},a44_0x2d7b(_0x43c721,_0x5ba310);}const path=require('path'),{v4:uuidv4}=require(a44_0x4de891(0x254)),SessionHandler=require(a44_0x4de891(0x251)),{debug}=require('../../../helpers/test-observability/utils'),logger=require('../../../helpers/logger')[a44_0x4de891(0x23f)],BrowserstackCLI=require(a44_0x4de891(0x266)),GrpcClient=require(a44_0x4de891(0x1ec)),TestFrameworkState=require(a44_0x4de891(0x23e)),HookState=require(a44_0x4de891(0x28c)),LOG_LEVELS=[a44_0x4de891(0x1bf),a44_0x4de891(0x253),a44_0x4de891(0x257),'DEBUG',a44_0x4de891(0x24d)];function isCLIRunning(){const _0x3bfc98=a44_0x4de891;try{return BrowserstackCLI['getInstance']()[_0x3bfc98(0x1c8)]();}catch(_0x392812){return![];}}function getParentTitles(_0x34b370){const _0x120963=a44_0x4de891,_0x1f1a7e={'PXnmx':function(_0x3b3058,_0x49f02b){return _0x3b3058(_0x49f02b);},'YGNSj':function(_0x49d4f9,_0x20d313){return _0x49d4f9(_0x20d313);}},_0x317b6e=[],_0x3df55b=_0x34b370[_0x120963(0x241)]();return _0x3df55b&&_0x317b6e['push'][_0x120963(0x1ba)](_0x317b6e,_0x1f1a7e['PXnmx'](getParentTitles,_0x3df55b)),_0x34b370[_0x120963(0x23b)]&&_0x317b6e['push'](_0x1f1a7e[_0x120963(0x1f7)](String,_0x34b370[_0x120963(0x23b)])),_0x317b6e;}function normalizeLogLevel(_0xb10116){const _0x1600bc=a44_0x4de891,_0xe5dde1={};_0xe5dde1[_0x1600bc(0x1cc)]=_0x1600bc(0x1bf),_0xe5dde1[_0x1600bc(0x1da)]=function(_0x3a4e86,_0x5537ce){return _0x3a4e86!==_0x5537ce;};const _0x26040d=_0xe5dde1;if(!_0xb10116)return _0x26040d[_0x1600bc(0x1cc)];const _0x2adb9c=_0xb10116['toUpperCase']();return _0x26040d[_0x1600bc(0x1da)](LOG_LEVELS[_0x1600bc(0x202)](_0x2adb9c),-0x1)?_0x2adb9c:_0x26040d[_0x1600bc(0x1cc)];}function resolveCollectionFile(_0x3fa8cf,_0x2615b7){const _0x352dcd=a44_0x4de891,_0xd12434={};_0xd12434[_0x352dcd(0x222)]=function(_0x40fa7f,_0x31b6a0){return _0x40fa7f===_0x31b6a0;},_0xd12434['kLoxo']=_0x352dcd(0x1a2),_0xd12434[_0x352dcd(0x28e)]=_0x352dcd(0x1dc),_0xd12434[_0x352dcd(0x1f2)]=function(_0x477495,_0x218256){return _0x477495!==_0x218256;},_0xd12434['vLzWx']=function(_0x3fedac,_0x15ceb8){return _0x3fedac<_0x15ceb8;},_0xd12434['IRXUS']=function(_0x4532b8,_0x331b43){return _0x4532b8+_0x331b43;},_0xd12434[_0x352dcd(0x19c)]=function(_0x4e7ea3,_0x421aa5){return _0x4e7ea3+_0x421aa5;},_0xd12434[_0x352dcd(0x1b1)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0xd12434[_0x352dcd(0x1fe)]=_0x352dcd(0x290);const _0x1920a9=_0xd12434;try{if(_0x2615b7&&_0x2615b7[_0x352dcd(0x1a1)])return path[_0x352dcd(0x1f3)](process[_0x352dcd(0x1ac)](),path[_0x352dcd(0x20d)](_0x2615b7['collectionPath']));const _0x29bf26=_0x3fa8cf[_0x352dcd(0x1bb)];if(_0x1920a9[_0x352dcd(0x222)](typeof _0x29bf26,_0x1920a9[_0x352dcd(0x1f6)]))return path[_0x352dcd(0x1f3)](process[_0x352dcd(0x1ac)](),path[_0x352dcd(0x20d)](_0x29bf26));const _0x14e495=process['argv'][_0x352dcd(0x202)](_0x1920a9['Bqivg']);if(_0x1920a9[_0x352dcd(0x1f2)](_0x14e495,-0x1)&&_0x1920a9['vLzWx'](_0x1920a9[_0x352dcd(0x24a)](_0x14e495,0x1),process[_0x352dcd(0x1ee)][_0x352dcd(0x1b7)])){const _0xdcd08d=process['argv'][_0x1920a9[_0x352dcd(0x19c)](_0x14e495,0x1)];if(_0xdcd08d&&!_0xdcd08d[_0x352dcd(0x1a6)]('-'))return path['relative'](process[_0x352dcd(0x1ac)](),path['resolve'](_0xdcd08d));}}catch(_0x1ff4f8){}return logger[_0x352dcd(0x219)](_0x1920a9[_0x352dcd(0x1b1)]),_0x1920a9[_0x352dcd(0x1fe)];}function resolveCollectionName(_0x136662){const _0x3536aa=a44_0x4de891,_0x7cd7b={};_0x7cd7b[_0x3536aa(0x260)]=function(_0x771139,_0x5299a5){return _0x771139===_0x5299a5;},_0x7cd7b[_0x3536aa(0x269)]=_0x3536aa(0x19a);const _0x4d394d=_0x7cd7b;try{const _0x51dbfa=_0x136662[_0x3536aa(0x1bb)];if(_0x51dbfa&&_0x4d394d['YRnyK'](typeof _0x51dbfa,_0x4d394d[_0x3536aa(0x269)]))return _0x51dbfa[_0x3536aa(0x23b)]||_0x51dbfa[_0x3536aa(0x219)]&&_0x51dbfa[_0x3536aa(0x219)]['name']||null;}catch(_0x50d852){}return null;}function emitTest(_0x2952f7,_0x171ae5,_0x2445a9,_0x10e618,_0x28899a){const _0x364986=a44_0x4de891,_0x270edf={'QbBgj':function(_0xa2e2e2){return _0xa2e2e2();},'biMKz':_0x364986(0x20a),'fSZAZ':function(_0x48b2e9,_0x5c4694){return _0x48b2e9(_0x5c4694);},'gAADR':_0x364986(0x23d),'ujlkf':_0x364986(0x234),'jGilG':function(_0x32da8d,_0x23a1c5){return _0x32da8d!=_0x23a1c5;},'uOOje':function(_0x4c278c,_0x5c58ab){return _0x4c278c===_0x5c58ab;},'hbZzV':_0x364986(0x235),'ADaJW':_0x364986(0x1ea)};if(_0x270edf[_0x364986(0x27d)](isCLIRunning))try{const _0x261125=BrowserstackCLI[_0x364986(0x1d9)]()[_0x364986(0x233)]();if(!_0x261125)return;_0x261125[_0x364986(0x246)](TestFrameworkState[_0x364986(0x274)],_0x2952f7,{'test':{'uuid':_0x171ae5['uuid'],'name':_0x171ae5[_0x364986(0x23b)],'scopes':_0x2445a9[_0x364986(0x1ae)],'scope':_0x2445a9[_0x364986(0x1ae)][_0x364986(0x21f)]('\x20'),'file_path':_0x10e618,'location':_0x2445a9[_0x364986(0x1fa)],'started_at':_0x2445a9[_0x364986(0x249)],'finished_at':_0x28899a[_0x364986(0x214)]||null,'result':_0x28899a[_0x364986(0x238)]||_0x270edf['biMKz'],'failure':_0x28899a['failure']||[],'failure_type':_0x28899a[_0x364986(0x203)]||null,'failure_reason':_0x28899a['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x15ec09){_0x270edf['fSZAZ'](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x15ec09);}else{const _0x80c8b1={'uuid':_0x171ae5[_0x364986(0x254)],'name':_0x171ae5['name'],'framework':_0x270edf[_0x364986(0x1d7)],'body':{'lang':_0x270edf[_0x364986(0x1e1)],'code':null},'scope':_0x2445a9[_0x364986(0x1ae)][_0x364986(0x21f)]('\x20'),'scopes':_0x2445a9['scopes'],'identifier':_0x171ae5['identifier'],'file_name':_0x2445a9[_0x364986(0x1fa)],'vc_filepath':_0x2445a9[_0x364986(0x292)],'location':_0x2445a9[_0x364986(0x292)],'started_at':_0x2445a9[_0x364986(0x249)],'finished_at':_0x28899a[_0x364986(0x214)]||null,'duration_in_ms':_0x270edf[_0x364986(0x196)](_0x28899a[_0x364986(0x22d)],null)?Math[_0x364986(0x1af)](0x0,_0x28899a[_0x364986(0x22d)]):null,'result':_0x28899a[_0x364986(0x238)]||_0x270edf['biMKz'],'failure_reason':_0x28899a[_0x364986(0x1f4)]||null,'failure_type':_0x28899a[_0x364986(0x203)]||null,'failure':_0x28899a[_0x364986(0x216)]||[],'retry_of':null,'hooks':[]};_0x80c8b1[_0x364986(0x216)][0x0]&&(_0x80c8b1[_0x364986(0x278)]=_0x80c8b1[_0x364986(0x216)][0x0][_0x364986(0x1e5)],_0x80c8b1[_0x364986(0x225)]=_0x80c8b1[_0x364986(0x216)][0x0]['expanded']);const _0x45887c=_0x270edf[_0x364986(0x239)](_0x2952f7,HookState[_0x364986(0x247)])?_0x270edf[_0x364986(0x206)]:_0x270edf[_0x364986(0x25a)],_0x1635ca={};_0x1635ca[_0x364986(0x201)]=_0x45887c,_0x1635ca[_0x364986(0x26d)]=_0x80c8b1,SessionHandler['uploadEventData'](_0x1635ca);}}function emitLog(_0x34390d,_0x350e4f){const _0x51d960=a44_0x4de891,_0x14f148={'pbJWF':_0x51d960(0x243),'Bahpu':function(_0x5eae1b){return _0x5eae1b();},'TXmXZ':function(_0x4c7df3,_0x10b621){return _0x4c7df3===_0x10b621;},'exuhH':_0x51d960(0x1a5),'cmASb':_0x51d960(0x23d),'SiUYo':_0x51d960(0x274),'yYGSG':_0x51d960(0x1bf),'ruJzE':function(_0x5551e8,_0x52a059){return _0x5551e8(_0x52a059);},'nCYDW':function(_0x23675d,_0x28696e){return _0x23675d+_0x28696e;},'yuMxY':_0x51d960(0x1aa),'VYTjN':'LogCreated'},_0x4c94b5=_0x350e4f['kind']||_0x14f148[_0x51d960(0x1c0)],_0x42394c=_0x350e4f['timestamp']||new Date()[_0x51d960(0x281)]();if(_0x14f148['Bahpu'](isCLIRunning))try{const _0x448ac9=_0x14f148['TXmXZ'](_0x4c94b5,_0x14f148[_0x51d960(0x1e6)])?JSON[_0x51d960(0x21d)](_0x350e4f):_0x350e4f[_0x51d960(0x283)]||'',_0x4afb7e={};_0x4afb7e[_0x51d960(0x19b)]=0x0,_0x4afb7e[_0x51d960(0x285)]=_0x14f148[_0x51d960(0x1df)],_0x4afb7e[_0x51d960(0x27b)]='',_0x4afb7e[_0x51d960(0x1c1)]=_0x14f148['SiUYo'],_0x4afb7e[_0x51d960(0x221)]=[{'uuid':_0x34390d,'timestamp':_0x42394c,'kind':_0x4c94b5,'level':_0x350e4f[_0x51d960(0x1a9)]||_0x14f148['yYGSG'],'message':_0x448ac9}],GrpcClient[_0x51d960(0x1d9)]()[_0x51d960(0x25f)](_0x4afb7e);}catch(_0x4f971e){_0x14f148[_0x51d960(0x1de)](debug,_0x14f148[_0x51d960(0x1cd)](_0x14f148[_0x51d960(0x25d)],_0x4f971e));}else{const _0xdbfadb={};_0xdbfadb[_0x51d960(0x1bc)]=_0x34390d,_0xdbfadb[_0x51d960(0x1ab)]=_0x42394c,_0xdbfadb[_0x51d960(0x1a9)]=_0x350e4f[_0x51d960(0x1a9)]||null,_0xdbfadb['message']=_0x350e4f['message']||null,_0xdbfadb[_0x51d960(0x275)]=_0x4c94b5,_0xdbfadb[_0x51d960(0x279)]=_0x350e4f['http_response']||{};const _0x42c1f2={};_0x42c1f2['event_type']=_0x14f148[_0x51d960(0x1b3)],_0x42c1f2[_0x51d960(0x221)]=[_0xdbfadb],SessionHandler['uploadEventData'](_0x42c1f2);}}function BrowserStackNewmanReporter(_0x17633c,_0x3488f7,_0x1df616){const _0x2c1264=a44_0x4de891,_0x3c9270={'mXzDu':function(_0x1aea64,_0x5c2e01,_0x3155af){return _0x1aea64(_0x5c2e01,_0x3155af);},'VmouG':function(_0x5bb4ea,_0x56bea8){return _0x5bb4ea(_0x56bea8);},'IBVFl':function(_0xc3f4b8,_0x4379e2){return _0xc3f4b8(_0x4379e2);},'CSjNV':function(_0x3bc700,_0x305bdb){return _0x3bc700>_0x305bdb;},'OHYfr':function(_0x512688,_0x47f5ab){return _0x512688(_0x47f5ab);},'XoAcX':'http','xqXcP':function(_0x5e3d98,_0x112a37){return _0x5e3d98+_0x112a37;},'jmayZ':_0x2c1264(0x1ff),'wNmRX':function(_0x4a0fba,_0x1b46f8,_0x33637c){return _0x4a0fba(_0x1b46f8,_0x33637c);},'rzIFj':_0x2c1264(0x243),'zofLh':function(_0x1e402c,_0x373ffa){return _0x1e402c+_0x373ffa;},'nkbHF':function(_0x4ddb4c){return _0x4ddb4c();},'NeLTZ':function(_0x576662,_0x3fc24b){return _0x576662||_0x3fc24b;},'LcBRd':function(_0x49fa81,_0x32d79a,_0x2af8e9,_0x342848,_0x2b490b,_0x5548d7){return _0x49fa81(_0x32d79a,_0x2af8e9,_0x342848,_0x2b490b,_0x5548d7);},'exSIa':function(_0x2410ea,_0x64cc93){return _0x2410ea===_0x64cc93;},'zbFiv':function(_0x1c1d46,_0x26ee68){return _0x1c1d46>_0x26ee68;},'djvPj':function(_0x522182,_0x29e85f,_0x53ef17){return _0x522182(_0x29e85f,_0x53ef17);},'nCsrn':_0x2c1264(0x1a5),'GXmEF':function(_0x3da711,_0x2c6cbb){return _0x3da711+_0x2c6cbb;},'RMIMe':function(_0x326b1a,_0x105ee3){return _0x326b1a+_0x105ee3;},'KTCer':function(_0x33977f,_0x67cfb1){return _0x33977f+_0x67cfb1;},'NbYPv':function(_0x209998,_0x7a1ae){return _0x209998+_0x7a1ae;},'UEpIJ':_0x2c1264(0x1c3),'XPDMg':'ms)','lDXMv':'INFO','nIdPU':function(_0x352f35,_0x4500fe){return _0x352f35(_0x4500fe);},'lBCCQ':function(_0x200f1d,_0xfc92f2){return _0x200f1d>_0xfc92f2;},'iernM':function(_0x5689f4,_0x5cceca){return _0x5689f4-_0x5cceca;},'cwhgi':function(_0x2041f4,_0x22fb7c){return _0x2041f4(_0x22fb7c);},'rDQoq':function(_0x457d04,_0x494951){return _0x457d04(_0x494951);},'XCrOj':function(_0x32c5eb,_0x20e795){return _0x32c5eb&&_0x20e795;},'jFndO':function(_0x4b0483,_0x76383e){return _0x4b0483>_0x76383e;},'HVWWx':function(_0x58aacf,_0x9e76ee){return _0x58aacf+_0x9e76ee;},'NxzLK':'Exception:\x20','IpHtx':_0x2c1264(0x257),'PfnOZ':function(_0x1bc881,_0x118dd6){return _0x1bc881(_0x118dd6);},'mOBMz':function(_0x509b6e,_0x4a8406){return _0x509b6e+_0x4a8406;},'GgKSY':_0x2c1264(0x286),'QKhHB':function(_0x12bf32,_0x7826a5){return _0x12bf32>_0x7826a5;},'hUWms':function(_0x285221,_0x408f12){return _0x285221-_0x408f12;},'apCEl':_0x2c1264(0x208),'JdvJy':function(_0x429018,_0x490b83,_0x2fb9ba){return _0x429018(_0x490b83,_0x2fb9ba);},'yQStg':function(_0x256f55,_0xc8779d){return _0x256f55+_0xc8779d;},'GgZCO':_0x2c1264(0x20f),'NUqXL':'):\x20','QZlIp':function(_0x425a2e,_0x5c397c){return _0x425a2e(_0x5c397c);},'hSKKb':_0x2c1264(0x24f),'Lkunc':'failed','xJxkl':_0x2c1264(0x27a),'kzIBi':function(_0x1000c4,_0x4ee241){return _0x1000c4===_0x4ee241;},'pxZOV':_0x2c1264(0x1b6),'BRexQ':_0x2c1264(0x1c2),'GwqLE':'UnhandledError','hpZdQ':function(_0x1542b5,_0x15e55a,_0x31d7b9,_0x3ceac5,_0x43130a,_0xcde442){return _0x1542b5(_0x15e55a,_0x31d7b9,_0x3ceac5,_0x43130a,_0xcde442);},'DkFCn':function(_0x2e445d,_0x26dc00){return _0x2e445d>_0x26dc00;},'pdiCK':function(_0x592078){return _0x592078();},'TaZIO':function(_0x5101ab,_0x45b987){return _0x5101ab!=_0x45b987;},'YcQiG':function(_0x1f14f5,_0x49c13d){return _0x1f14f5>=_0x49c13d;},'HHdfV':function(_0xcb7c30,_0x2f0faf){return _0xcb7c30<_0x2f0faf;},'hWZWq':_0x2c1264(0x228),'pnuKv':function(_0x43320e,_0x63d3c4){return _0x43320e!=_0x63d3c4;},'TJcRu':_0x2c1264(0x224),'oGhyx':function(_0x222e1b,_0x45b3a4){return _0x222e1b+_0x45b3a4;},'fYWdP':function(_0x34bfcc,_0x44efc7){return _0x34bfcc+_0x44efc7;},'HHMPx':function(_0x395e5f,_0x2fe45c){return _0x395e5f+_0x2fe45c;},'JegxD':function(_0x5d287f,_0x4d5279){return _0x5d287f+_0x4d5279;},'MZUcI':function(_0x44ccbd,_0x4304d4){return _0x44ccbd+_0x4304d4;},'VYwiJ':function(_0x1ac445,_0xa4b458){return _0x1ac445+_0xa4b458;},'eZpNQ':'HTTP\x20Status:\x20','MUmqb':_0x2c1264(0x26b),'XmRLU':function(_0x535c84,_0x47dbf4,_0x4db09f,_0x22d1fe,_0x4d132d,_0xda4c9){return _0x535c84(_0x47dbf4,_0x4db09f,_0x22d1fe,_0x4d132d,_0xda4c9);},'rQALi':function(_0x79703e,_0x5a4c92,_0x3575a){return _0x79703e(_0x5a4c92,_0x3575a);},'oReGO':_0x2c1264(0x27e),'DsdIf':_0x2c1264(0x20e),'OhaVE':_0x2c1264(0x1d4),'IrdRk':_0x2c1264(0x1ce),'kwbWu':_0x2c1264(0x270),'EWmqQ':_0x2c1264(0x211),'MJYpo':'exception','jIwPN':_0x2c1264(0x291),'DWeeS':_0x2c1264(0x1c5)},_0x1ffa58=new Map();let _0x4d0431=null,_0x50d2ff=0x0;const _0x210078=_0x3c9270[_0x2c1264(0x1d3)](resolveCollectionFile,_0x1df616,_0x3488f7),_0x2f77be=_0x3c9270[_0x2c1264(0x207)](resolveCollectionName,_0x1df616)||_0x210078,_0x5f2b28=path[_0x2c1264(0x20d)](_0x210078),_0x1b40d5=_0x2c1264(0x1a7)+process[_0x2c1264(0x282)],_0x9d92d0=_0x5bb230=>{const _0x47074c=_0x2c1264;try{_0x4d0431&&_0x3c9270[_0x47074c(0x212)](emitLog,_0x4d0431,_0x5bb230);}catch(_0x4ac9db){_0x3c9270['VmouG'](debug,_0x47074c(0x227)+_0x4ac9db);}};process['on'](_0x1b40d5,_0x9d92d0),_0x17633c['on'](_0x3c9270[_0x2c1264(0x1e8)],()=>{const _0x38d674=_0x2c1264;process[_0x38d674(0x209)](_0x1b40d5,_0x9d92d0),_0x1ffa58[_0x38d674(0x22f)]();}),_0x17633c['on'](_0x3c9270['DsdIf'],(_0x3e2e46,_0x19bab2)=>{_0x19bab2&&_0x19bab2['cursor']&&(_0x50d2ff=_0x19bab2['cursor']['iteration']||0x0);}),_0x17633c['on'](_0x3c9270[_0x2c1264(0x1f9)],(_0x125549,_0x11fcbc)=>{const _0x3cbddb=_0x2c1264;try{_0x4d0431=null;const _0x46638a=_0x11fcbc['item'],_0x3e54fa=_0x46638a['parent']()?_0x3c9270[_0x3cbddb(0x1d8)](getParentTitles,_0x46638a[_0x3cbddb(0x241)]()):[],_0x596eef=_0x3c9270['CSjNV'](_0x3e54fa[_0x3cbddb(0x1b7)],0x1)?_0x3e54fa['slice'](0x1):_0x3e54fa,_0x244f34=_0x11fcbc[_0x3cbddb(0x25b)]&&_0x11fcbc[_0x3cbddb(0x25b)][_0x3cbddb(0x1d1)],_0x3bbf0e={'itemName':_0x46638a[_0x3cbddb(0x23b)],'scopes':_0x596eef['concat']([_0x46638a[_0x3cbddb(0x23b)]]),'location':_0x210078,'collectionName':_0x2f77be,'startedAt':new Date()[_0x3cbddb(0x281)](),'startTimestamp':Date[_0x3cbddb(0x197)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1ffa58[_0x3cbddb(0x1e0)](_0x46638a['id']+'_'+_0x50d2ff,_0x3bbf0e),_0x244f34&&_0x1ffa58[_0x3cbddb(0x1e0)](_0x244f34+'_'+_0x50d2ff,_0x3bbf0e);}catch(_0x626f2d){_0x3c9270['OHYfr'](debug,_0x3cbddb(0x1ef)+_0x626f2d);}}),_0x17633c['on'](_0x3c9270['IrdRk'],(_0x47d4dd,_0x1ec289)=>{const _0x338e49=_0x2c1264;try{if(!_0x1ec289||!_0x1ec289[_0x338e49(0x1c5)])return;const _0x2bf37a=_0x1ffa58['get'](_0x1ec289[_0x338e49(0x1c5)]['id']+'_'+_0x50d2ff);if(!_0x2bf37a)return;_0x1ec289[_0x338e49(0x220)]&&(_0x2bf37a[_0x338e49(0x259)]=_0x1ec289['response'][_0x338e49(0x237)]||null);if(!_0x1ec289[_0x338e49(0x1ce)])return;let _0x21a564='',_0x24ff2d='';if(_0x1ec289[_0x338e49(0x1ce)][_0x338e49(0x264)])try{const _0x57a428=_0x1ec289['request'][_0x338e49(0x264)][_0x338e49(0x1cb)](),_0x56b623=new URL(_0x57a428['startsWith'](_0x3c9270[_0x338e49(0x1ca)])?_0x57a428:_0x338e49(0x1e9)+_0x57a428);_0x21a564=_0x56b623[_0x338e49(0x27c)],_0x24ff2d=_0x3c9270['xqXcP'](_0x56b623[_0x338e49(0x1f1)],_0x56b623[_0x338e49(0x276)]);}catch(_0x2e5ebf){_0x24ff2d=_0x1ec289[_0x338e49(0x1ce)]['url'][_0x338e49(0x1cb)]();}const _0x779131={};_0x779131[_0x338e49(0x210)]=_0x21a564,_0x779131[_0x338e49(0x245)]=_0x24ff2d,_0x779131['method']=_0x1ec289['request'][_0x338e49(0x25e)]||_0x3c9270[_0x338e49(0x1a8)],_0x779131[_0x338e49(0x231)]={},_0x779131['status_code']=_0x1ec289[_0x338e49(0x220)]?_0x1ec289[_0x338e49(0x220)][_0x338e49(0x237)]||0x0:0x0,_0x779131[_0x338e49(0x1d5)]=_0x1ec289[_0x338e49(0x220)]?_0x1ec289[_0x338e49(0x220)]['responseTime']||0x0:0x0,_0x2bf37a[_0x338e49(0x217)]=_0x779131;}catch(_0x2f8f15){_0x3c9270[_0x338e49(0x1d8)](debug,_0x338e49(0x1d6)+_0x2f8f15);}}),_0x17633c['on'](_0x3c9270[_0x2c1264(0x28f)],(_0x13be49,_0x246caa)=>{const _0x35e373=_0x2c1264;try{if(!_0x246caa||!_0x246caa['item'])return;const _0x3e37bb=_0x1ffa58['get'](_0x246caa['item']['id']+'_'+_0x50d2ff);if(!_0x3e37bb)return;const _0x241008=_0x246caa[_0x35e373(0x270)]||_0x35e373(0x1dd)+_0x3c9270['zofLh'](_0x3e37bb[_0x35e373(0x280)][_0x35e373(0x1b7)],0x1),_0x53c3df=_0x3c9270['nkbHF'](uuidv4),_0x570c60=_0x3e37bb[_0x35e373(0x1ae)][_0x35e373(0x1b9)]([_0x241008])[_0x35e373(0x21f)]('\x20');_0x3e37bb['assertions'][_0x35e373(0x267)]({'uuid':_0x53c3df,'name':_0x241008,'identifier':_0x570c60,'err':_0x3c9270[_0x35e373(0x19e)](_0x13be49,null)});const _0xcbbb0c={};_0xcbbb0c[_0x35e373(0x254)]=_0x53c3df,_0xcbbb0c['name']=_0x241008,_0xcbbb0c[_0x35e373(0x1f0)]=_0x570c60,_0x3c9270[_0x35e373(0x26a)](emitTest,HookState[_0x35e373(0x247)],_0xcbbb0c,_0x3e37bb,_0x5f2b28,{});_0x3c9270[_0x35e373(0x1b2)](_0x3e37bb[_0x35e373(0x280)][_0x35e373(0x1b7)],0x1)&&_0x3c9270[_0x35e373(0x213)](_0x3e37bb[_0x35e373(0x24c)]['length'],0x0)&&(_0x3e37bb[_0x35e373(0x24c)][_0x35e373(0x22c)](_0xab3609=>{const _0x17c672=_0x35e373;_0x3c9270[_0x17c672(0x284)](emitLog,_0x53c3df,{'kind':_0x3c9270['rzIFj'],'message':_0xab3609[_0x17c672(0x283)],'level':_0xab3609['level']});}),_0x3e37bb['bufferedLogs']=[]);if(_0x3e37bb[_0x35e373(0x217)]){_0x3c9270['djvPj'](emitLog,_0x53c3df,{'kind':_0x3c9270['nCsrn'],'http_response':_0x3e37bb[_0x35e373(0x217)]});const _0x394309=_0x3c9270[_0x35e373(0x1a4)](_0x3c9270['xqXcP'](_0x3c9270['xqXcP'](_0x3c9270[_0x35e373(0x1a4)](_0x3c9270[_0x35e373(0x1e3)](_0x3c9270[_0x35e373(0x1c4)](_0x3c9270[_0x35e373(0x240)](_0x3c9270[_0x35e373(0x240)](_0x3e37bb[_0x35e373(0x217)][_0x35e373(0x25e)]||_0x3c9270[_0x35e373(0x1a8)],'\x20'),_0x3e37bb[_0x35e373(0x217)][_0x35e373(0x210)]),_0x3e37bb[_0x35e373(0x217)][_0x35e373(0x245)]),_0x3c9270['UEpIJ']),_0x3e37bb[_0x35e373(0x217)][_0x35e373(0x21b)]),'\x20('),_0x3e37bb['httpLog'][_0x35e373(0x1d5)]),_0x3c9270[_0x35e373(0x1fb)]);_0x3c9270[_0x35e373(0x212)](emitLog,_0x53c3df,{'kind':_0x3c9270[_0x35e373(0x1d0)],'message':_0x394309,'level':_0x3c9270['lDXMv']});}_0x4d0431=_0x53c3df;}catch(_0x45b6d7){_0x3c9270[_0x35e373(0x244)](debug,_0x35e373(0x223)+_0x45b6d7);}}),_0x17633c['on'](_0x3c9270[_0x2c1264(0x1d2)],(_0x2a204e,_0x218c6c)=>{const _0x30ec2a=_0x2c1264;try{if(!_0x218c6c)return;let _0x5e2dcb=_0x4d0431;if(!_0x5e2dcb&&_0x218c6c[_0x30ec2a(0x25b)]&&_0x218c6c['cursor'][_0x30ec2a(0x1d1)]){const _0x59c614=_0x1ffa58[_0x30ec2a(0x26e)](_0x218c6c[_0x30ec2a(0x25b)][_0x30ec2a(0x1d1)]+'_'+_0x50d2ff);_0x59c614&&_0x3c9270[_0x30ec2a(0x261)](_0x59c614[_0x30ec2a(0x280)][_0x30ec2a(0x1b7)],0x0)&&(_0x5e2dcb=_0x59c614[_0x30ec2a(0x280)][_0x3c9270[_0x30ec2a(0x1eb)](_0x59c614[_0x30ec2a(0x280)]['length'],0x1)][_0x30ec2a(0x254)]);}const _0x35f857=_0x218c6c[_0x30ec2a(0x1b5)]?_0x218c6c['messages'][_0x30ec2a(0x21f)](',\x20'):'';if(_0x5e2dcb)_0x3c9270[_0x30ec2a(0x200)](emitLog,_0x5e2dcb,{'kind':_0x3c9270[_0x30ec2a(0x1d0)],'message':_0x35f857,'level':_0x3c9270[_0x30ec2a(0x21a)](normalizeLogLevel,_0x218c6c[_0x30ec2a(0x1a9)])});else{if(_0x218c6c[_0x30ec2a(0x25b)]&&_0x218c6c['cursor'][_0x30ec2a(0x1d1)]){const _0x72eea5=_0x1ffa58[_0x30ec2a(0x26e)](_0x218c6c[_0x30ec2a(0x25b)][_0x30ec2a(0x1d1)]+'_'+_0x50d2ff);_0x72eea5&&_0x72eea5[_0x30ec2a(0x24c)]['push']({'timestamp':new Date()[_0x30ec2a(0x281)](),'level':_0x3c9270[_0x30ec2a(0x19f)](normalizeLogLevel,_0x218c6c[_0x30ec2a(0x1a9)]),'message':_0x35f857});}}}catch(_0x5177f0){_0x3c9270['rDQoq'](debug,_0x30ec2a(0x1a0)+_0x5177f0);}}),_0x17633c['on'](_0x3c9270[_0x2c1264(0x22a)],(_0x45dbcf,_0x35862e)=>{const _0x3fa918=_0x2c1264;try{if(!_0x45dbcf&&(!_0x35862e||!_0x35862e[_0x3fa918(0x1bd)]))return;const _0x2bfddd=_0x45dbcf||_0x35862e[_0x3fa918(0x1bd)],_0x9ca92d=_0x2bfddd[_0x3fa918(0x283)]||_0x3c9270[_0x3fa918(0x19f)](String,_0x2bfddd),_0x3c5a57=_0x2bfddd[_0x3fa918(0x27f)]||_0x9ca92d;let _0x1840ec=_0x4d0431;if(_0x3c9270[_0x3fa918(0x198)](!_0x1840ec,_0x35862e)&&_0x35862e[_0x3fa918(0x25b)]&&_0x35862e[_0x3fa918(0x25b)]['ref']){const _0x5021d8=_0x1ffa58[_0x3fa918(0x26e)](_0x35862e[_0x3fa918(0x25b)]['ref']+'_'+_0x50d2ff);_0x5021d8&&_0x3c9270[_0x3fa918(0x28d)](_0x5021d8[_0x3fa918(0x280)][_0x3fa918(0x1b7)],0x0)&&(_0x1840ec=_0x5021d8[_0x3fa918(0x280)][_0x3c9270[_0x3fa918(0x1eb)](_0x5021d8[_0x3fa918(0x280)][_0x3fa918(0x1b7)],0x1)][_0x3fa918(0x254)]);}_0x1840ec&&_0x3c9270[_0x3fa918(0x200)](emitLog,_0x1840ec,{'kind':_0x3c9270['rzIFj'],'message':_0x3c9270[_0x3fa918(0x1f5)](_0x3c9270[_0x3fa918(0x288)],_0x3c5a57),'level':_0x3c9270[_0x3fa918(0x256)]});}catch(_0xa81c81){_0x3c9270[_0x3fa918(0x207)](debug,_0x3c9270[_0x3fa918(0x1b4)](_0x3c9270[_0x3fa918(0x23c)],_0xa81c81));}}),_0x17633c['on'](_0x3c9270['jIwPN'],(_0xc5e792,_0x5af408)=>{const _0x2164ef=_0x2c1264;try{if(!_0x5af408||!_0x5af408[_0x2164ef(0x20c)])return;let _0x22598b=_0x4d0431;if(!_0x22598b&&_0x5af408['cursor']&&_0x5af408[_0x2164ef(0x25b)][_0x2164ef(0x1d1)]){const _0x4a6b2e=_0x1ffa58[_0x2164ef(0x26e)](_0x5af408[_0x2164ef(0x25b)][_0x2164ef(0x1d1)]+'_'+_0x50d2ff);_0x4a6b2e&&_0x3c9270[_0x2164ef(0x218)](_0x4a6b2e[_0x2164ef(0x280)][_0x2164ef(0x1b7)],0x0)&&(_0x22598b=_0x4a6b2e['assertions'][_0x3c9270[_0x2164ef(0x1c6)](_0x4a6b2e[_0x2164ef(0x280)]['length'],0x1)][_0x2164ef(0x254)]);}if(!_0x22598b)return;const _0x5a0221=_0x5af408[_0x2164ef(0x25c)]&&_0x5af408[_0x2164ef(0x25c)][_0x2164ef(0x229)]||_0x3c9270[_0x2164ef(0x199)];_0xc5e792&&_0x3c9270[_0x2164ef(0x19d)](emitLog,_0x22598b,{'kind':_0x3c9270['rzIFj'],'message':_0x3c9270[_0x2164ef(0x287)](_0x3c9270[_0x2164ef(0x1e3)](_0x3c9270[_0x2164ef(0x1b4)](_0x3c9270[_0x2164ef(0x28b)],_0x5a0221),_0x3c9270['NUqXL']),_0xc5e792['message']||_0xc5e792),'level':_0x3c9270[_0x2164ef(0x256)]});}catch(_0x29e32f){_0x3c9270[_0x2164ef(0x1f8)](debug,_0x3c9270[_0x2164ef(0x287)](_0x3c9270[_0x2164ef(0x272)],_0x29e32f));}}),_0x17633c['on'](_0x3c9270[_0x2c1264(0x20b)],(_0x1913eb,_0x4a9db5)=>{const _0x515b81=_0x2c1264;try{if(!_0x4a9db5||!_0x4a9db5[_0x515b81(0x1c5)])return;const _0x3677f6=_0x4a9db5[_0x515b81(0x1c5)]['id']+'_'+_0x50d2ff,_0x52aeb8=_0x1ffa58[_0x515b81(0x26e)](_0x3677f6);if(!_0x52aeb8)return;const _0x27ed5d=new Date(),_0x227dc7=_0x3c9270[_0x515b81(0x1eb)](_0x27ed5d[_0x515b81(0x268)](),_0x52aeb8[_0x515b81(0x236)]);if(_0x3c9270[_0x515b81(0x24e)](_0x52aeb8[_0x515b81(0x280)][_0x515b81(0x1b7)],0x0))_0x52aeb8[_0x515b81(0x280)][_0x515b81(0x22c)](_0x582092=>{const _0x4b6914=_0x515b81,_0x38e7ce=!!_0x582092[_0x4b6914(0x232)],_0x2b95f4={'finishedAt':_0x27ed5d[_0x4b6914(0x281)](),'durationMs':_0x227dc7,'result':_0x38e7ce?_0x3c9270[_0x4b6914(0x226)]:_0x3c9270[_0x4b6914(0x230)]};_0x38e7ce&&(_0x2b95f4[_0x4b6914(0x1f4)]=_0x582092['err'][_0x4b6914(0x283)]||'',_0x2b95f4[_0x4b6914(0x203)]=_0x3c9270[_0x4b6914(0x1e7)](_0x582092[_0x4b6914(0x232)][_0x4b6914(0x23b)],_0x3c9270[_0x4b6914(0x28a)])||_0x582092['err']['message']&&_0x582092['err'][_0x4b6914(0x283)][_0x4b6914(0x24b)](_0x3c9270['BRexQ'])?_0x3c9270['pxZOV']:_0x3c9270[_0x4b6914(0x250)],_0x2b95f4[_0x4b6914(0x216)]=[{'backtrace':_0x582092[_0x4b6914(0x232)][_0x4b6914(0x27f)]?_0x582092['err'][_0x4b6914(0x27f)]['split']('\x0a'):[_0x582092[_0x4b6914(0x232)][_0x4b6914(0x283)]||''],'expanded':[]}]),_0x3c9270[_0x4b6914(0x22b)](emitTest,HookState['POST'],_0x582092,_0x52aeb8,_0x5f2b28,_0x2b95f4);});else{const _0x105697=_0x3c9270[_0x515b81(0x263)](uuidv4),_0x236e83=_0x52aeb8['lastResponseCode'],_0x364908=_0x3c9270['TaZIO'](_0x236e83,null)&&_0x3c9270[_0x515b81(0x271)](_0x236e83,0xc8)&&_0x3c9270[_0x515b81(0x1ed)](_0x236e83,0x190),_0x461685=_0x52aeb8[_0x515b81(0x262)]+_0x515b81(0x265)+_0x3c9270['NeLTZ'](_0x236e83,_0x3c9270[_0x515b81(0x1db)])+')',_0x3a695d={'uuid':_0x105697,'name':_0x461685,'identifier':_0x52aeb8[_0x515b81(0x1ae)][_0x515b81(0x1b9)]([_0x461685])[_0x515b81(0x21f)]('\x20')},_0x51c053={'finishedAt':_0x27ed5d[_0x515b81(0x281)](),'durationMs':_0x227dc7,'result':_0x364908?_0x3c9270['xJxkl']:_0x3c9270['Lkunc']};!_0x364908&&(_0x51c053[_0x515b81(0x1f4)]=_0x3c9270[_0x515b81(0x23a)](_0x236e83,null)?_0x515b81(0x21c)+_0x236e83+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x3c9270[_0x515b81(0x204)],_0x51c053[_0x515b81(0x203)]=_0x3c9270[_0x515b81(0x250)],_0x51c053[_0x515b81(0x216)]=[{'backtrace':[_0x51c053[_0x515b81(0x1f4)]],'expanded':[]}]);_0x3c9270[_0x515b81(0x22b)](emitTest,HookState['PRE'],_0x3a695d,_0x52aeb8,_0x5f2b28,{}),_0x52aeb8[_0x515b81(0x24c)]['forEach'](_0x4895cf=>{const _0x4d9ae1=_0x515b81;_0x3c9270[_0x4d9ae1(0x284)](emitLog,_0x105697,{'kind':_0x3c9270[_0x4d9ae1(0x1d0)],'message':_0x4895cf['message'],'level':_0x4895cf['level']});});if(_0x52aeb8[_0x515b81(0x217)]){_0x3c9270['djvPj'](emitLog,_0x105697,{'kind':_0x3c9270[_0x515b81(0x1fc)],'http_response':_0x52aeb8[_0x515b81(0x217)]});const _0x1f52ec=_0x3c9270[_0x515b81(0x1cf)](_0x3c9270[_0x515b81(0x242)](_0x3c9270[_0x515b81(0x1e2)](_0x3c9270[_0x515b81(0x1fd)](_0x3c9270[_0x515b81(0x21e)](_0x3c9270[_0x515b81(0x248)](_0x3c9270[_0x515b81(0x1cf)](_0x3c9270[_0x515b81(0x240)](_0x52aeb8['httpLog'][_0x515b81(0x25e)]||_0x3c9270[_0x515b81(0x1a8)],'\x20'),_0x52aeb8[_0x515b81(0x217)][_0x515b81(0x210)]),_0x52aeb8[_0x515b81(0x217)][_0x515b81(0x245)]),_0x3c9270[_0x515b81(0x255)]),_0x52aeb8[_0x515b81(0x217)][_0x515b81(0x21b)]),'\x20('),_0x52aeb8['httpLog'][_0x515b81(0x1d5)]),_0x3c9270[_0x515b81(0x1fb)]);_0x3c9270[_0x515b81(0x19d)](emitLog,_0x105697,{'kind':_0x3c9270[_0x515b81(0x1d0)],'message':_0x1f52ec,'level':_0x3c9270[_0x515b81(0x215)]});}else _0x3c9270[_0x515b81(0x284)](emitLog,_0x105697,{'kind':_0x3c9270[_0x515b81(0x1d0)],'message':_0x3c9270[_0x515b81(0x289)](_0x3c9270[_0x515b81(0x248)](_0x3c9270[_0x515b81(0x252)],_0x3c9270[_0x515b81(0x19e)](_0x236e83,_0x3c9270['hWZWq'])),_0x3c9270[_0x515b81(0x26f)]),'level':_0x3c9270[_0x515b81(0x215)]});_0x3c9270['XmRLU'](emitTest,HookState[_0x515b81(0x1c7)],_0x3a695d,_0x52aeb8,_0x5f2b28,_0x51c053);}_0x1ffa58[_0x515b81(0x277)](_0x3677f6),_0x4a9db5[_0x515b81(0x25b)]&&_0x4a9db5[_0x515b81(0x25b)]['ref']&&_0x1ffa58[_0x515b81(0x277)](_0x4a9db5[_0x515b81(0x25b)][_0x515b81(0x1d1)]+'_'+_0x50d2ff);}catch(_0x1b2bac){_0x3c9270[_0x515b81(0x207)](debug,_0x515b81(0x26c)+_0x1b2bac);}});}function a44_0x3aa7(){const _0x2485a9=['Bqivg','kwbWu','collection.json','script','location','jGilG','now','XCrOj','apCEl','object','platformIndex','HOVWK','JdvJy','NeLTZ','cwhgi','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','collectionPath','string','34210aayYSx','GXmEF','HTTP','startsWith','bs:addLog:','jmayZ','level','[Newman\x20Reporter]\x20emitLog\x20error:\x20','timestamp','cwd','755MaHiFY','scopes','max','104159vdgpws','jKsVl','exSIa','VYTjN','mOBMz','messages','AssertionError','length','1388169MMDGWf','concat','apply','collection','test_run_uuid','error','781uiiTan','INFO','pbJWF','testFrameworkState','assert','\x20->\x20','KTCer','item','hUWms','POST','isRunning','3inXBzL','XoAcX','toString','MlLwi','nCYDW','request','oGhyx','rzIFj','ref','EWmqQ','rQALi','beforeItem','duration_ms','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','gAADR','IBVFl','getInstance','vDbHf','hWZWq','run','Assertion\x20','ruJzE','cmASb','set','ujlkf','HHMPx','RMIMe','7bvgoJx','backtrace','exuhH','kzIBi','oReGO','http://','TestRunFinished','iernM','../../v2/grpcClient','HHdfV','argv','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','identifier','pathname','kmCOE','relative','failureReason','HVWWx','kLoxo','YGNSj','QZlIp','OhaVE','collectionName','XPDMg','nCsrn','JegxD','rNidB','GET','djvPj','event_type','indexOf','failureType','TJcRu','176722GCWxuS','hbZzV','PfnOZ','unknown','removeListener','pending','DWeeS','execution','resolve','beforeIteration','Script\x20error\x20(','host','console','mXzDu','zbFiv','finishedAt','lDXMv','failure','httpLog','QKhHB','info','OHYfr','status_code','HTTP\x20','stringify','MZUcI','join','response','logs','yJtHJ','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','No\x20HTTP\x20response\x20received','failure_reason_expanded','Lkunc','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','N/A','listen','MJYpo','hpZdQ','forEach','durationMs','627944CizZxS','clear','xJxkl','headers','err','getTestFramework','javascript','TestRunStarted','startTimestamp','code','result','uOOje','pnuKv','name','GgKSY','newman','../../v2/state/testFrameworkState','winstonLogger','NbYPv','parent','fYWdP','TEST_LOG','nIdPU','path','trackEvent','PRE','zofLh','startedAt','IRXUS','includes','bufferedLogs','TRACE','DkFCn','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','GwqLE','../../../helpers/test-observability/sessionHandler','eZpNQ','WARN','uuid','UEpIJ','IpHtx','ERROR','1842gybord','lastResponseCode','ADaJW','cursor','event','yuMxY','method','logCreatedEvent','YRnyK','lBCCQ','itemName','pdiCK','url','\x20(HTTP\x20','../../v2/browserstackCLI','push','getTime','ljigY','LcBRd','\x20(no\x20assertions)','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','test_run','get','MUmqb','assertion','YcQiG','hSKKb','688372EJnuEO','TEST','kind','search','delete','failure_backtrace','http_response','passed','testFrameworkVersion','hostname','QbBgj','done','stack','assertions','toISOString','pid','message','wNmRX','testFrameworkName','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','yQStg','NxzLK','VYwiJ','pxZOV','GgZCO','../../v2/state/hookState','jFndO'];a44_0x3aa7=function(){return _0x2485a9;};return a44_0x3aa7();}module['exports']=BrowserStackNewmanReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a45_0x4928(_0x12e749,_0x29a4fc){const _0x122a1a=a45_0x122a();return a45_0x4928=function(_0x492898,_0x36acb8){_0x492898=_0x492898-0x129;let _0x30e2f4=_0x122a1a[_0x492898];return _0x30e2f4;},a45_0x4928(_0x12e749,_0x29a4fc);}const a45_0x182029=a45_0x4928;(function(_0x5bc0b1,_0x20da9e){const _0x135f13=a45_0x4928,_0x1b8cc6=_0x5bc0b1();while(!![]){try{const _0x1ad2e5=-parseInt(_0x135f13(0x13a))/0x1+-parseInt(_0x135f13(0x151))/0x2*(-parseInt(_0x135f13(0x132))/0x3)+-parseInt(_0x135f13(0x135))/0x4+parseInt(_0x135f13(0x139))/0x5*(-parseInt(_0x135f13(0x146))/0x6)+-parseInt(_0x135f13(0x16c))/0x7+parseInt(_0x135f13(0x141))/0x8+parseInt(_0x135f13(0x13d))/0x9*(parseInt(_0x135f13(0x140))/0xa);if(_0x1ad2e5===_0x20da9e)break;else _0x1b8cc6['push'](_0x1b8cc6['shift']());}catch(_0xd38f30){_0x1b8cc6['push'](_0x1b8cc6['shift']());}}}(a45_0x122a,0x735bd));const path=require(a45_0x182029(0x15e)),Module=require(a45_0x182029(0x160)),BrowserstackCLI=require(a45_0x182029(0x131)),scriptFile=process[a45_0x182029(0x138)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a45_0x182029(0x166)][a45_0x182029(0x14c)](a45_0x182029(0x15d)),process[a45_0x182029(0x155)](0x1));const reporterPath=path[a45_0x182029(0x142)](__dirname,'reporter',a45_0x182029(0x165)),originalResolveFilename=Module[a45_0x182029(0x15f)];Module[a45_0x182029(0x15f)]=function(_0x3badac,_0x46f3d4,_0x5e90d2,_0x559a1a){const _0x2020ee=a45_0x182029,_0x85e97a={};_0x85e97a['CoKij']=function(_0x3eee40,_0x36d522){return _0x3eee40===_0x36d522;},_0x85e97a[_0x2020ee(0x143)]='newman-reporter-browserstack';const _0x4d1abf=_0x85e97a;if(_0x4d1abf[_0x2020ee(0x12d)](_0x3badac,_0x4d1abf[_0x2020ee(0x143)]))return reporterPath;return originalResolveFilename[_0x2020ee(0x14d)](this,_0x3badac,_0x46f3d4,_0x5e90d2,_0x559a1a);};let limit;try{const pLimit=require(a45_0x182029(0x150)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x3e638d){limit=function(_0x25dbff){const _0x212b8b=a45_0x182029,_0x34dd15={'IDXdN':function(_0x52f996){return _0x52f996();}};return _0x34dd15[_0x212b8b(0x12b)](_0x25dbff);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a45_0x182029(0x13e)];Module[a45_0x182029(0x13e)]=function(_0x4597a6,_0x2d7f68,_0x16fa43){const _0x5b271f=a45_0x182029,_0x548967={'PNDWW':function(_0x40bcd7,_0x2dbcd3){return _0x40bcd7>_0x2dbcd3;},'DBvkx':function(_0x22a153,_0x5bb15f){return _0x22a153||_0x5bb15f;},'nyEmd':function(_0x18862b,_0x6752b4,_0x5e42e2){return _0x18862b(_0x6752b4,_0x5e42e2);},'ANOWD':function(_0x11013e,_0x36bfa0){return _0x11013e(_0x36bfa0);},'BONos':function(_0x48040f,_0x27cf18,_0x37923c){return _0x48040f(_0x27cf18,_0x37923c);},'AgExl':'cli','llaUm':function(_0x19d397,_0x2f2f72){return _0x19d397===_0x2f2f72;},'KHZNM':'browserstack','VOmqs':_0x5b271f(0x147),'kGwFp':function(_0x584f9d,_0x4073bc){return _0x584f9d(_0x4073bc);},'whGBs':function(_0x2d4572,_0x299a5a){return _0x2d4572!==_0x299a5a;},'RPaeD':_0x5b271f(0x156)},_0x166db4=originalLoad[_0x5b271f(0x14d)](this,_0x4597a6,_0x2d7f68,_0x16fa43);if(_0x548967[_0x5b271f(0x15c)](_0x4597a6,_0x548967[_0x5b271f(0x168)]))return _0x166db4;if(wrappedNewman)return wrappedNewman;const _0x120c27=_0x166db4[_0x5b271f(0x134)][_0x5b271f(0x13c)](_0x166db4);return wrappedNewman=Object[_0x5b271f(0x164)](_0x166db4),wrappedNewman[_0x5b271f(0x134)]=function(_0x475370,_0x56c7a9){const _0x4b52ff=_0x5b271f;let _0xa84eb2=_0x475370[_0x4b52ff(0x12f)]||[_0x548967[_0x4b52ff(0x149)]];_0x548967[_0x4b52ff(0x14a)](_0xa84eb2[_0x4b52ff(0x13f)](_0x548967[_0x4b52ff(0x162)]),-0x1)&&(_0xa84eb2=_0xa84eb2[_0x4b52ff(0x14b)]([_0x548967['KHZNM']]));const _0x112699=_0x548967['llaUm'](typeof _0x475370[_0x4b52ff(0x157)],_0x548967[_0x4b52ff(0x12a)])?_0x475370[_0x4b52ff(0x157)]:undefined,_0x2230c0={};_0x2230c0[_0x4b52ff(0x12e)]=_0x112699;const _0x453776=Object[_0x4b52ff(0x154)]({},_0x475370[_0x4b52ff(0x169)],{'browserstack':Object[_0x4b52ff(0x154)]({},_0x475370[_0x4b52ff(0x169)]&&_0x475370[_0x4b52ff(0x169)][_0x4b52ff(0x153)],_0x2230c0)}),_0x1287db={};return _0x1287db[_0x4b52ff(0x12f)]=_0xa84eb2,_0x1287db['reporter']=_0x453776,_0x475370=Object[_0x4b52ff(0x154)]({},_0x475370,_0x1287db),_0x548967['kGwFp'](limit,function(){const _0x542911={'OKziT':function(_0x1c011a,_0x3a6585){const _0x57ba30=a45_0x4928;return _0x548967[_0x57ba30(0x159)](_0x1c011a,_0x3a6585);},'WjDaF':function(_0x207084,_0x4a8974){const _0x4873ba=a45_0x4928;return _0x548967[_0x4873ba(0x158)](_0x207084,_0x4a8974);},'ixilm':function(_0x10d705,_0xd4cf69,_0x4b9de3){const _0x519dcf=a45_0x4928;return _0x548967[_0x519dcf(0x144)](_0x10d705,_0xd4cf69,_0x4b9de3);},'aHeZB':function(_0x54dfc9,_0x983a97){const _0x1fccbc=a45_0x4928;return _0x548967[_0x1fccbc(0x14f)](_0x54dfc9,_0x983a97);},'xKnqL':function(_0x3a9b94,_0x1d15cb,_0x33328e){const _0x1ee4e0=a45_0x4928;return _0x548967[_0x1ee4e0(0x16b)](_0x3a9b94,_0x1d15cb,_0x33328e);}};return new Promise(function(_0x5e1557){const _0x862052=a45_0x4928;_0x542911[_0x862052(0x130)](_0x120c27,_0x475370,function(_0x44c883,_0x553d14){const _0x3d4140=_0x862052,_0x1e6d83=_0x553d14&&_0x553d14[_0x3d4140(0x134)]&&(_0x553d14[_0x3d4140(0x134)][_0x3d4140(0x152)]||_0x553d14[_0x3d4140(0x134)][_0x3d4140(0x129)]&&_0x542911[_0x3d4140(0x15a)](_0x553d14[_0x3d4140(0x134)][_0x3d4140(0x129)][_0x3d4140(0x148)],0x0));_0x542911[_0x3d4140(0x15b)](_0x1e6d83,_0x44c883)&&(hasFailure=!![]),_0x56c7a9&&_0x542911[_0x3d4140(0x16a)](_0x56c7a9,_0x44c883,_0x553d14),_0x542911[_0x3d4140(0x133)](_0x5e1557,_0x553d14);});});});},wrappedNewman;};async function main(){const _0x3b6860=a45_0x182029,_0x395a84={'DWwWu':function(_0x363a0a,_0x1e03e9){return _0x363a0a(_0x1e03e9);},'XHCFl':function(_0x5b83f5,_0x1b3be5){return _0x5b83f5+_0x1b3be5;},'cYgGG':_0x3b6860(0x136)};try{await BrowserstackCLI[_0x3b6860(0x167)]()[_0x3b6860(0x145)]();}catch(_0x1cd6d3){}try{_0x395a84[_0x3b6860(0x14e)](require,path['resolve'](scriptFile));}catch(_0x266e22){process[_0x3b6860(0x166)][_0x3b6860(0x14c)](_0x395a84['XHCFl'](_0x395a84[_0x3b6860(0x12c)](_0x395a84[_0x3b6860(0x13b)],_0x266e22['message']||_0x266e22),'\x0a')),process[_0x3b6860(0x163)]=0x1;}}main(),process['on'](a45_0x182029(0x161),function(){const _0x3fc2b6=a45_0x182029;hasFailure&&(process[_0x3fc2b6(0x163)]=0x1);}),process['on'](a45_0x182029(0x155),function(){const _0x5362f5=a45_0x182029,_0x3658eb={};_0x3658eb['Crlfk']=function(_0x202d2a,_0xbf370b){return _0x202d2a===_0xbf370b;};const _0x37d5b7=_0x3658eb;hasFailure&&_0x37d5b7[_0x5362f5(0x137)](process['exitCode'],0x0)&&(process[_0x5362f5(0x163)]=0x1);});function a45_0x122a(){const _0x153b87=['VOmqs','IDXdN','XHCFl','CoKij','collectionPath','reporters','xKnqL','../v2/browserstackCLI','536136oqzZmN','aHeZB','run','1767384dKWwAC','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','Crlfk','argv','988885ArLlII','144005ZBfOBA','cYgGG','bind','9LTgJUF','_load','indexOf','12972390KZVBiH','994872XdanfY','join','ktcBY','nyEmd','bootstrap','6xWetTb','string','length','AgExl','llaUm','concat','write','call','DWwWu','ANOWD','p-limit','4aXIHYA','error','browserstack','assign','exit','newman','collection','DBvkx','PNDWW','OKziT','WjDaF','whGBs','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','path','_resolveFilename','module','beforeExit','KHZNM','exitCode','create','index.js','stderr','getInstance','RPaeD','reporter','ixilm','BONos','3660195ogtnIy','failures'];a45_0x122a=function(){return _0x153b87;};return a45_0x122a();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a46_0x448a(){const _0x43bcdb=['selenium','test','22BEEYcN','modifyBrowserStackW3CCaps','../../helpers/BrowserStackSetup','cwd','info','Getting\x20your\x20nightwatch\x20configs\x20from\x20','kQTZu','4mRZZxb','50rlQVsE','RvVCR','nightwatch-browserstack.json','KASDH','filter','warn','5823485uprkPD','128016OhitrF','stringify','env','44722yXogOO','resolveWithinCwd','../../helpers/logger','desiredCapabilities','60432eyZguj','6WLPdTm','LwTqB','test_settings','existsSync','inherit','port','--config','BROWSERSTACK_FRAMEWORK','config','fJsSU','nightwatch.cmd','child\x20process\x20exited\x20with\x20code\x20','--require\x20','host','getPlatformName','AWbIy','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','2977716UOTzPv','fibBX','isUndefined','assign','join','modifyBrowserStackCaps','Ignoring\x20--config\x20path\x20\x22','now','1683729zZpbrh','resolve','nightwatch.json','length','unlinkSync','Deleting\x20','split','writeFileSync','973ImQEAY','20412396wtrsJk','ummDF','trim','webdriver','forEach','ShvDd','nightwatch.conf.js','findIndex','nightwatch','CUoGB','iTzkP','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','rMmbm','splice','msbLs','mergeDeep','../../helpers/helper','hub.browserstack.com','push','pQFUT','ovcpb','--env','SNxmb','map'];a46_0x448a=function(){return _0x43bcdb;};return a46_0x448a();}const a46_0x5c1fa5=a46_0x1e25;(function(_0x4257e5,_0x511ef4){const _0x2d99dd=a46_0x1e25,_0x2c6171=_0x4257e5();while(!![]){try{const _0x46e615=-parseInt(_0x2d99dd(0x111))/0x1+-parseInt(_0x2d99dd(0x10e))/0x2+-parseInt(_0x2d99dd(0xd4))/0x3*(-parseInt(_0x2d99dd(0x106))/0x4)+-parseInt(_0x2d99dd(0x10d))/0x5*(-parseInt(_0x2d99dd(0x116))/0x6)+parseInt(_0x2d99dd(0xe4))/0x7*(parseInt(_0x2d99dd(0x115))/0x8)+parseInt(_0x2d99dd(0xdc))/0x9*(parseInt(_0x2d99dd(0x107))/0xa)+-parseInt(_0x2d99dd(0xff))/0xb*(parseInt(_0x2d99dd(0xe5))/0xc);if(_0x46e615===_0x511ef4)break;else _0x2c6171['push'](_0x2c6171['shift']());}catch(_0x19cd4a){_0x2c6171['push'](_0x2c6171['shift']());}}}(a46_0x448a,0x9a44c));function a46_0x1e25(_0x31e1f5,_0x141f66){const _0x448a9b=a46_0x448a();return a46_0x1e25=function(_0x1e257a,_0x221c25){_0x1e257a=_0x1e257a-0xc7;let _0x580c07=_0x448a9b[_0x1e257a];return _0x580c07;},a46_0x1e25(_0x31e1f5,_0x141f66);}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a46_0x5c1fa5(0x113))['winstonLogger'],{default:BrowserStackSetup}=require(a46_0x5c1fa5(0x101)),helper=require(a46_0x5c1fa5(0xf5)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0xee70e0,_0x533f90)=>{const _0x157995=a46_0x5c1fa5,_0x317b65={'RvVCR':_0x157995(0xeb),'kQTZu':_0x157995(0xde),'ummDF':function(_0x27caea,_0x2c58ea){return _0x27caea(_0x2c58ea);},'AWbIy':_0x157995(0xd3)};let _0xadedd6=null,_0x5eed1f={};const _0x36588f=_0x533f90['findIndex'](_0x265dd7=>_0x265dd7===_0x157995(0xc9)),_0x49c0b7=!helper[_0x157995(0xd6)](_0xee70e0[_0x157995(0xcb)])?helper[_0x157995(0x112)](_0xee70e0[_0x157995(0xcb)]):null;!helper[_0x157995(0xd6)](_0xee70e0['config'])&&!_0x49c0b7&&logger[_0x157995(0x10c)](_0x157995(0xda)+_0xee70e0[_0x157995(0xcb)]+'\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.');if(_0x49c0b7&&fs[_0x157995(0x119)](_0x49c0b7))_0xadedd6=_0x49c0b7,_0x533f90[_0x157995(0xf2)](_0x36588f,0x2);else{if(fs[_0x157995(0x119)](path['join'](process[_0x157995(0x102)](),_0x317b65[_0x157995(0x108)])))_0xadedd6=path[_0x157995(0xd8)](process[_0x157995(0x102)](),_0x317b65[_0x157995(0x108)]);else fs[_0x157995(0x119)](path[_0x157995(0xd8)](process[_0x157995(0x102)](),_0x317b65[_0x157995(0x105)]))&&(_0xadedd6=path[_0x157995(0xd8)](process[_0x157995(0x102)](),_0x317b65['kQTZu']));}return _0xadedd6?(logger[_0x157995(0x103)](_0x157995(0x104)+_0xadedd6),_0x5eed1f=_0x317b65[_0x157995(0xe6)](require,_0xadedd6)):logger[_0x157995(0x103)](_0x317b65[_0x157995(0xd2)]),_0x5eed1f;},removeExistingEnvs=_0x304396=>{const _0x37e5e6=a46_0x5c1fa5,_0x113031={};_0x113031[_0x37e5e6(0xf9)]=function(_0x40aece,_0xc13b2d){return _0x40aece>_0xc13b2d;};const _0x32f400=_0x113031;let _0x14c36a=_0x304396[_0x37e5e6(0xec)](_0x18ac98=>_0x18ac98===_0x37e5e6(0xfa));_0x32f400[_0x37e5e6(0xf9)](_0x14c36a,-0x1)&&_0x304396[_0x37e5e6(0xf2)](_0x14c36a,0x2),_0x14c36a=_0x304396[_0x37e5e6(0xec)](_0x4a264b=>_0x4a264b==='-e'),_0x32f400[_0x37e5e6(0xf9)](_0x14c36a,-0x1)&&_0x304396[_0x37e5e6(0xf2)](_0x14c36a,0x2);};function run(_0x48a06f,_0x298643,_0x38f625){const _0x4f2c6a=a46_0x5c1fa5,_0x90cc4b={'msbLs':_0x4f2c6a(0xed),'XSNVp':function(_0x72d916,_0x43bc6f){return _0x72d916+_0x43bc6f;},'CUoGB':'test_settings','pQFUT':function(_0xcd00e0,_0x229103,_0x2f476e){return _0xcd00e0(_0x229103,_0x2f476e);},'RGpTO':_0x4f2c6a(0xf6),'fibBX':_0x4f2c6a(0xf0),'nxAYJ':function(_0x32043e,_0x42bdec){return _0x32043e===_0x42bdec;},'LwTqB':_0x4f2c6a(0x109),'ZwIQd':function(_0x25d475,_0x338c4f){return _0x25d475(_0x338c4f);},'iTzkP':'../../index','KASDH':function(_0x4924a6,_0x5f1638,_0x3ec7b5,_0x1abca3){return _0x4924a6(_0x5f1638,_0x3ec7b5,_0x1abca3);},'SNxmb':_0x4f2c6a(0xcd),'rMmbm':_0x4f2c6a(0xc9),'ShvDd':_0x4f2c6a(0xfa),'fJsSU':_0x4f2c6a(0xc7),'GMtjm':'close'};if(!_0x38f625[_0x4f2c6a(0xcb)])return;const _0x2c84da=_0x90cc4b[_0x4f2c6a(0xf8)](getUserNightwatchConfigs,_0x48a06f,_0x298643),_0x6fdf4a={};_0x6fdf4a['start_process']=![];const _0x1b9b43={};_0x1b9b43[_0x4f2c6a(0xd0)]=_0x90cc4b['RGpTO'],_0x1b9b43[_0x4f2c6a(0xc8)]=0x1bb;const _0x3e5382={};_0x3e5382[_0x4f2c6a(0xe8)]=_0x6fdf4a,_0x3e5382[_0x4f2c6a(0xfd)]=_0x1b9b43;const _0x1f0eca=_0x3e5382;logger[_0x4f2c6a(0x103)](_0x90cc4b[_0x4f2c6a(0xd5)]);const _0x29e9e2={..._0x2c84da},_0x5ea251=_0x29e9e2,_0x113754=helper['useW3C'](_0x38f625['config']),_0x4b6ac3=[];_0x38f625[_0x4f2c6a(0xcb)]['platforms']['forEach']((_0x93e2a2,_0x1a3aa1)=>{const _0xd83553=_0x4f2c6a;_0x113754?_0x4b6ac3['push'](helper[_0xd83553(0x100)](_0x38f625[_0xd83553(0xcb)],_0x90cc4b[_0xd83553(0xf3)],_0x1a3aa1)):_0x4b6ac3[_0xd83553(0xf7)](helper[_0xd83553(0xd9)](_0x38f625[_0xd83553(0xcb)],_0x90cc4b['msbLs'],_0x1a3aa1));});const _0x2caa2e={},_0xeae73c=[];_0x48a06f[_0x4f2c6a(0x110)]=_0x48a06f[_0x4f2c6a(0x110)]||_0x48a06f['e'];const _0x8344ec=_0x48a06f[_0x4f2c6a(0x110)]?_0x48a06f['env'][_0x4f2c6a(0xe7)]()[_0x4f2c6a(0xe2)](',')[_0x4f2c6a(0xfc)](_0x292cbb=>_0x292cbb[_0x4f2c6a(0xe7)]())[_0x4f2c6a(0x10b)](_0x5a73ef=>_0x5a73ef!==''):[''];_0x90cc4b['nxAYJ'](_0x8344ec[_0x4f2c6a(0xdf)],0x0)&&_0x8344ec['push']('');_0x8344ec[_0x4f2c6a(0xe9)](_0x9eacad=>{_0x4b6ac3['forEach'](_0x2330b7=>{const _0x56b936=a46_0x1e25;let _0x37dd93=_0x90cc4b['XSNVp'](helper[_0x56b936(0xd1)](_0x2330b7,'_'),'_'+Date[_0x56b936(0xdb)]());_0x9eacad&&(_0x37dd93+='_'+_0x9eacad);if(_0x9eacad&&(!_0x2c84da[_0x90cc4b[_0x56b936(0xee)]]||!_0x2c84da[_0x90cc4b['CUoGB']][_0x9eacad]))return;const _0x3ad842={..._0x1f0eca};_0x3ad842[_0x56b936(0x114)]=_0x2330b7;const _0x230614=_0x3ad842;_0x2caa2e[_0x37dd93]=_0x9eacad?helper[_0x56b936(0xf4)](_0x2c84da[_0x90cc4b['CUoGB']][_0x9eacad],_0x230614):_0x230614,_0xeae73c[_0x56b936(0xf7)](_0x37dd93);});});!_0x5ea251[_0x4f2c6a(0x118)]&&(_0x5ea251[_0x4f2c6a(0x118)]={});_0x5ea251['test_settings']={..._0x5ea251[_0x4f2c6a(0x118)],..._0x2caa2e};const _0x194b0c=path[_0x4f2c6a(0xd8)](__dirname,_0x90cc4b[_0x4f2c6a(0x117)]);fs[_0x4f2c6a(0xe3)](_0x194b0c,JSON[_0x4f2c6a(0x10f)](_0x5ea251)),_0x90cc4b['ZwIQd'](removeExistingEnvs,_0x298643);const _0x3f8286=require[_0x4f2c6a(0xdd)](_0x90cc4b[_0x4f2c6a(0xef)]),_0x5a6332=process['env']['NODE_OPTIONS']||'',_0x3e92f0=_0x4f2c6a(0xcf)+JSON[_0x4f2c6a(0x10f)](_0x3f8286),_0x861613=_0x5a6332?_0x5a6332+'\x20'+_0x3e92f0:_0x3e92f0,_0xa9d552=Object[_0x4f2c6a(0xd7)]({},process[_0x4f2c6a(0x110)],{'NODE_OPTIONS':_0x861613,'BROWSERSTACK_FRAMEWORK':process[_0x4f2c6a(0x110)][_0x4f2c6a(0xca)]||_0x90cc4b[_0x4f2c6a(0xf3)]}),_0x698cc8=_0x90cc4b[_0x4f2c6a(0x10a)](spawn,/^win/[_0x4f2c6a(0xfe)](process['platform'])?_0x90cc4b[_0x4f2c6a(0xfb)]:_0x90cc4b[_0x4f2c6a(0xf3)],[_0x90cc4b[_0x4f2c6a(0xf1)],_0x194b0c,..._0x298643['slice'](0x1),_0x90cc4b[_0x4f2c6a(0xea)],_0xeae73c['join'](',')],{'stdio':_0x90cc4b[_0x4f2c6a(0xcc)],'env':_0xa9d552});_0x698cc8['on'](_0x90cc4b['GMtjm'],async _0x3d2815=>{const _0x54533d=_0x4f2c6a;logger['debug'](_0x54533d(0xce)+_0x3d2815),logger['info'](_0x54533d(0xe1)+_0x194b0c),fs[_0x54533d(0xe0)](_0x194b0c);});}module['exports']=run;
|