browserstack-node-sdk 1.34.52 → 1.34.53
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/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/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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.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/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/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/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/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.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/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/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/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.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/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
|
-
function a22_0x1f63(_0x564fee,_0xc2690e){const _0x357d73=a22_0x357d();return a22_0x1f63=function(_0x1f632b,_0xd18c69){_0x1f632b=_0x1f632b-0x136;let _0x30e806=_0x357d73[_0x1f632b];return _0x30e806;},a22_0x1f63(_0x564fee,_0xc2690e);}const a22_0x739ddf=a22_0x1f63;(function(_0x15837f,_0x3cb889){const _0xc6395d=a22_0x1f63,_0x120b95=_0x15837f();while(!![]){try{const _0x5277fe=-parseInt(_0xc6395d(0x19a))/0x1+parseInt(_0xc6395d(0x1ec))/0x2+parseInt(_0xc6395d(0x158))/0x3+parseInt(_0xc6395d(0x138))/0x4+-parseInt(_0xc6395d(0x1a9))/0x5+-parseInt(_0xc6395d(0x139))/0x6*(-parseInt(_0xc6395d(0x1cb))/0x7)+-parseInt(_0xc6395d(0x13c))/0x8;if(_0x5277fe===_0x3cb889)break;else _0x120b95['push'](_0x120b95['shift']());}catch(_0x1fdda6){_0x120b95['push'](_0x120b95['shift']());}}}(a22_0x357d,0x19795));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a22_0x739ddf(0x161)),SessionHandler=require(a22_0x739ddf(0x18a)),{v4:uuidv4}=require(a22_0x739ddf(0x1e6)),{name,version}=require('../../../../package.json'),stackTrace=require(a22_0x739ddf(0x1ad)),path=require(a22_0x739ddf(0x186)),fs=require('fs'),TestDetails=require(a22_0x739ddf(0x1aa)),{FRAMEWORKS}=require(a22_0x739ddf(0x1e2)),{o11yClassErrorHandler}=require(a22_0x739ddf(0x1e3)),{getGitMetaData}=require(a22_0x739ddf(0x178)),{appendTesthubParams,setCurrentTestData}=require(a22_0x739ddf(0x143)),a22_0xa95899={};a22_0xa95899[a22_0x739ddf(0x16e)]=a22_0x739ddf(0x13b),a22_0xa95899[a22_0x739ddf(0x1ed)]=a22_0x739ddf(0x180),a22_0xa95899[a22_0x739ddf(0x1c2)]=a22_0x739ddf(0x13a);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a22_0xa95899,a22_0x534062={};a22_0x534062[a22_0x739ddf(0x15d)]='BEFORE_ALL',a22_0x534062[a22_0x739ddf(0x137)]=a22_0x739ddf(0x1b2),a22_0x534062['beforeEach']='BEFORE_EACH',a22_0x534062[a22_0x739ddf(0x1ac)]='AFTER_EACH';function a22_0x357d(){const _0x3d47fa=['RryfD','ZjOiL','YvVKE','DslmV','current_test','OruQp','duration','location_prefix','failure_type','AlznB','JCHiE','QfgFm','findGitConfig','javascript','408780lFrSte','./test-details','split','afterEach','stack-trace','getFileName','wueok','NhdnW','state','AFTER_ALL','getHooksForTest','analyticsResult','cwd','XVJxd','finished_at','generic','EWWgo','failed\x20to\x20get\x20root\x20parent\x20file\x20','relative','test_run','cgcdk','registerListeners','wRoQD','BGQDE','ckAlF','STATE_PENDING','jest-circus',':testAnalyticsId','File\x20path\x20could\x20not\x20be\x20found','toString','LdNJb','aYFNN','hook_run_uuid','tpuct','39613yqXxYw','LvHNZ','OAVeA','tgaVO','UOkdn','includes','ROOT_DESCRIBE_BLOCK','vcItS','backtrace','vCLTC','name','kpcDI','DLtkW','started_at','sPsUz','TestRunFinished','failure_backtrace','JEST','FVXkT','testAnalyticsId','WTvIH','AgIFH','test_run_uuid','../../utils/constants','../../../helpers/test-observability/error-handler','EaejK','hook_data','uuid','getRootParentFile','pid','configureGit','err','wYaOL','303418jCsfPl','STATE_FAILED','testObservability','yKFyL','appendTestItemLog','asyncError','event_type','MeCsF','vRHgN','ktoru',':hookAnalyticsId','logs','hook_type','statSync','beforeEach','TestRunSkipped','length','getTime','nVutN','prefixTestPath','getTestUUID','afterAll','62640RdljIA','48mmzUHE','pending','passed','553752kYRRXq','expanded','\x20with\x20error\x20:\x20','dirname','Jhmke','hook_failure','sendTestRunEvent','../../../helpers/testhub/utils','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','ZaZwO','root','retryOf','WVCcq','yMnfN','getName','match','ObservabilityReporter','HBolc','ydqOS','_gitConfigured','test','getHierarchy','CBTSessionCreated','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','result','LogCreated','title','UMeUM','423129fUVYEx','exports','mapTestHooks','IMHto','bind','beforeAll','wRdGh','config','.git','../../../helpers/test-observability/utils','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','reverse','wxJQf','now','parse','skipped','frEeP','_gitConfigPath','removeAllListeners','http_response','2|0|6|1|5|3|4','ZzmDT','STATE_PASSED','file','iLsFw','lkzBs','IqWFi','whBOu','js-','HookRunFinished','getTestEnv','toISOString','../../../helpers/helper','type','Ibtpj','STGjb','isJestInternalHook','parent','pdHRF','uploadEventData','failed','appendTestPlatform','setTestUUID','ypzmL','errorsDetailed','inspect','path','hookAnalyticsId','QKCRO','hook_run','../../../helpers/test-observability/sessionHandler','testStarted','HUdSh','hooks','oaIEs','forEach','_testEnv','join','bs:addLog:','call','push','wWTbM','resetTestHooks','fcfXC','tpTbR','REmiM','98368cYiOtp'];a22_0x357d=function(){return _0x3d47fa;};return a22_0x357d();}const HOOK_TYPES_MAP=a22_0x534062;module[a22_0x739ddf(0x159)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x54396a=a22_0x739ddf,_0x867020={'MeCsF':_0x54396a(0x16c),'OAVeA':function(_0x4dc0a4){return _0x4dc0a4();}},_0x459c69=_0x867020[_0x54396a(0x1f3)]['split']('|');let _0x57c338=0x0;while(!![]){switch(_0x459c69[_0x57c338++]){case'0':this['_testResults']=[];continue;case'1':this['_paths']=new PathHelper({'cwd':process[_0x54396a(0x1b5)]()},this[_0x54396a(0x190)][_0x54396a(0x1a2)]);continue;case'2':this[_0x54396a(0x1ee)]=_0x867020[_0x54396a(0x1cd)](isTestObservabilitySession);continue;case'3':this[_0x54396a(0x14f)]=![];continue;case'4':this[_0x54396a(0x169)]=null;continue;case'5':this[_0x54396a(0x1e5)]=[];continue;case'6':this[_0x54396a(0x190)]=this[_0x54396a(0x176)]();continue;}break;}}[a22_0x739ddf(0x176)]=()=>{const _0x233b35=a22_0x739ddf,_0x396a6c={'vRHgN':_0x233b35(0x1b8),'tpTbR':function(_0x537235){return _0x537235();}};return{'ci':_0x396a6c[_0x233b35(0x1f4)],'key':_0x396a6c[_0x233b35(0x198)](uuidv4),'version':version,'collector':_0x233b35(0x174)+name};};[a22_0x739ddf(0x1be)](){const _0x560388=a22_0x739ddf;process[_0x560388(0x16a)](_0x560388(0x192)+process[_0x560388(0x1e8)]),process['on'](_0x560388(0x192)+process[_0x560388(0x1e8)],this['appendTestItemLog'][_0x560388(0x15c)](this)),process[_0x560388(0x16a)]('bs:addPlatformDetails:'+process[_0x560388(0x1e8)]),process['on']('bs:addPlatformDetails:'+process[_0x560388(0x1e8)],this['appendTestPlatform'][_0x560388(0x15c)](this));}[a22_0x739ddf(0x18b)]=async _0x4cab04=>{const _0xb08e4b=a22_0x739ddf,_0x3de083={'ZjOiL':function(_0x438d6d,_0x4bb435){return _0x438d6d>_0x4bb435;},'Ibtpj':function(_0x4ff407,_0x5c39d3){return _0x4ff407===_0x5c39d3;},'YvVKE':'TestRunStarted','BGQDE':function(_0x4226a3,_0x2e638){return _0x4226a3(_0x2e638);}};try{const _0x5e0551=this['current_test'];this[_0xb08e4b(0x19f)]=_0x4cab04,_0x4cab04[_0xb08e4b(0x147)]=null,_0x4cab04[_0xb08e4b(0x1de)]=TestDetails[_0xb08e4b(0x182)](process['pid']+_0xb08e4b(0x1c4)),_0x4cab04['started_at']=new Date()[_0xb08e4b(0x177)](),_0x3de083[_0xb08e4b(0x19c)](_0x4cab04['_currentRetry'],0x0)&&_0x5e0551&&_0x3de083[_0xb08e4b(0x17a)](_0x5e0551[_0xb08e4b(0x156)],_0x4cab04[_0xb08e4b(0x156)])?(_0x4cab04[_0xb08e4b(0x147)]=_0x5e0551['testAnalyticsId'],await this[_0xb08e4b(0x142)](_0x4cab04,undefined,![],_0x3de083[_0xb08e4b(0x19d)]),_0x5e0551[_0xb08e4b(0x1b1)]=STATE_FAILED,await this[_0xb08e4b(0x142)](_0x5e0551,undefined,!![])):await this[_0xb08e4b(0x142)](_0x4cab04,undefined,![],_0x3de083['YvVKE']);}catch(_0x130603){_0x3de083[_0xb08e4b(0x1c0)](debug,_0xb08e4b(0x162)+_0x130603);}};[a22_0x739ddf(0x14a)](_0x4de913){const _0x218f6a=a22_0x739ddf,_0xded9f3={};_0xded9f3[_0x218f6a(0x1af)]=function(_0x478a7d,_0x573aaf){return _0x478a7d!==_0x573aaf;},_0xded9f3[_0x218f6a(0x1d6)]=_0x218f6a(0x150);const _0x19e796=_0xded9f3;if(_0x19e796[_0x218f6a(0x1af)](_0x4de913[_0x218f6a(0x179)],_0x19e796[_0x218f6a(0x1d6)]))return'\x22'+_0x4de913[_0x218f6a(0x179)]+'\x22\x20hook\x20for\x20\x22'+(_0x4de913[_0x218f6a(0x17d)]&&_0x4de913[_0x218f6a(0x17d)]['name'])+'\x22';return _0x4de913['name'];}['sendTestRunEvent']=async(_0x1d9913,_0x53ceb0=undefined,_0x42c5f4=![],_0x25ee9f=a22_0x739ddf(0x1da))=>{const _0x57c686=a22_0x739ddf,_0x3ee7cd={'ZzmDT':'3|0|1|2|4','LdNJb':_0x57c686(0x189),'wRoQD':_0x57c686(0x1a3),'HUdSh':_0x57c686(0x1bc),'pdHRF':_0x57c686(0x154),'lkzBs':'failure_reason','sPsUz':'failure','FfdaG':function(_0x4640c9,_0x160bd9){return _0x4640c9(_0x160bd9);},'AlznB':_0x57c686(0x1c3),'tgaVO':function(_0x37038c,_0x3493cb){return _0x37038c(_0x3493cb);},'hHtMm':'util','UOkdn':function(_0x11df91,_0x42494b){return _0x11df91!==_0x42494b;},'IMHto':_0x57c686(0x150),'tZgVh':function(_0x35d2cb,_0x34e94c){return _0x35d2cb!==_0x34e94c;},'wxJQf':_0x57c686(0x1ea),'gSBiw':function(_0x5d861c,_0x21d03){return _0x5d861c!==_0x21d03;},'ckAlF':function(_0x2d8996,_0xd8c138){return _0x2d8996!==_0xd8c138;},'UKgBo':_0x57c686(0x1c5),'qyntN':_0x57c686(0x1a8),'aYFNN':function(_0x25ff40,_0x4a62b8){return _0x25ff40===_0x4a62b8;},'ktoru':_0x57c686(0x1fb),'FVXkT':_0x57c686(0x167),'UMeUM':function(_0x4f30d5,_0x92356f){return _0x4f30d5>_0x92356f;},'HBolc':_0x57c686(0x180),'DslmV':_0x57c686(0x13b),'EWWgo':function(_0x5a9da4,_0x276b22){return _0x5a9da4-_0x276b22;},'WTvIH':function(_0x15e682,_0x471478){return _0x15e682(_0x471478);},'REmiM':function(_0x3bdd8a,_0x40ffef,_0x238e40,_0x450511,_0x2be03b){return _0x3bdd8a(_0x40ffef,_0x238e40,_0x450511,_0x2be03b);},'wWTbM':function(_0x53a03c,_0x3872c2){return _0x53a03c===_0x3872c2;},'tpuct':_0x57c686(0x1d8),'CxDyq':_0x57c686(0x1b7),'RryfD':function(_0x534437,_0x1d5c41){return _0x534437===_0x1d5c41;},'wYaOL':_0x57c686(0x175),'vcItS':_0x57c686(0x1db),'mgFNw':_0x57c686(0x1d3),'NhdnW':'failure_reason_expanded','pvlfv':_0x57c686(0x13d),'OruQp':_0x57c686(0x1da),'QfgFm':_0x57c686(0x1f8),'nVutN':function(_0x55b960,_0x2ebd3a){return _0x55b960>_0x2ebd3a;},'KuUGZ':_0x57c686(0x15d),'yKFyL':function(_0x5a828b,_0x1b92f8,_0x4bc9b3){return _0x5a828b(_0x1b92f8,_0x4bc9b3);},'Jhmke':function(_0x1d0b91,_0x35c531){return _0x1d0b91(_0x35c531);}};try{if(_0x1d9913['fn']&&_0x1d9913['fn'][_0x57c686(0x1c6)]()[_0x57c686(0x14b)](/browserstack internal helper hook/))return;await this['configureGit']();let _0x266f97;try{_0x266f97=this[_0x57c686(0x1e7)](_0x1d9913);}catch(_0x2a4c7f){_0x3ee7cd['FfdaG'](debug,_0x57c686(0x1ba)+_0x2a4c7f),_0x266f97=null;}if(_0x266f97[_0x57c686(0x1d0)](_0x3ee7cd[_0x57c686(0x1a4)]))return;const _0x3b80ad=_0x3ee7cd[_0x57c686(0x1ce)](require,_0x3ee7cd['hHtMm']);let _0x4c0595=[];if(_0x3ee7cd[_0x57c686(0x1cf)](_0x1d9913[_0x57c686(0x184)],undefined))_0x4c0595=[_0x1d9913[_0x57c686(0x184)],_0x3ee7cd[_0x57c686(0x15b)]];else _0x3ee7cd['tZgVh'](_0x53ceb0,undefined)?_0x4c0595=[_0x53ceb0,_0x3ee7cd[_0x57c686(0x164)]]:_0x4c0595=[];const _0xa0b0dc=_0x3ee7cd['gSBiw'](_0x1d9913[_0x57c686(0x184)],undefined)?_0x3b80ad[_0x57c686(0x185)](_0x1d9913['errorsDetailed'][0x0]):_0x3ee7cd[_0x57c686(0x1c1)](_0x53ceb0,undefined)?_0x53ceb0[_0x57c686(0x1c6)]():undefined,_0x32b95c=_0x266f97?this['_paths'][_0x57c686(0x1ff)](this['getRootParentFile'](_0x1d9913)):_0x3ee7cd['UKgBo'],_0x16fa3b={'framework':FRAMEWORKS[_0x57c686(0x1dc)],'uuid':_0x1d9913[_0x57c686(0x1de)]||_0x1d9913[_0x57c686(0x187)],'name':this['getName'](_0x1d9913),'body':{'lang':_0x3ee7cd['qyntN'],'code':_0x1d9913['fn']['toString']()},'scopes':this['getHierarchy'](_0x1d9913),'file_name':_0x32b95c,'vc_filepath':this[_0x57c686(0x169)]&&_0x266f97?path[_0x57c686(0x1bb)](this[_0x57c686(0x169)],_0x266f97):null,'location':_0x32b95c,'result':_0x3ee7cd['aYFNN'](_0x25ee9f,_0x3ee7cd[_0x57c686(0x1f5)])?_0x3ee7cd[_0x57c686(0x1dd)]:this[_0x57c686(0x1b4)](_0x1d9913[_0x57c686(0x184)]&&_0x3ee7cd[_0x57c686(0x157)](_0x1d9913[_0x57c686(0x184)][_0x57c686(0x1fc)],0x0)?_0x3ee7cd['HBolc']:_0x3ee7cd['DslmV']),'failure_reason':_0xa0b0dc,'duration_in_ms':_0x1d9913[_0x57c686(0x1a1)]||(_0x25ee9f[_0x57c686(0x14b)](/Finished/)||_0x25ee9f['match'](/Skipped/)?_0x3ee7cd[_0x57c686(0x1b9)](Date[_0x57c686(0x165)](),new Date(_0x1d9913['started_at'])[_0x57c686(0x1fd)]()):null),'started_at':_0x1d9913[_0x57c686(0x1d8)],'finished_at':_0x25ee9f['match'](/Finished/)||_0x25ee9f['match'](/Skipped/)?new Date()['toISOString']():null,'failure':failureData['apply'](null,_0x4c0595),'failure_type':!_0xa0b0dc?null:_0x3ee7cd[_0x57c686(0x1df)](getFailureType,_0xa0b0dc),'retry_of':_0x1d9913[_0x57c686(0x147)]};_0x3ee7cd[_0x57c686(0x199)](appendTesthubParams,_0x16fa3b,_0x25ee9f,_0x1d9913,FRAMEWORKS[_0x57c686(0x1dc)]);_0x3ee7cd[_0x57c686(0x195)](_0x25ee9f,_0x3ee7cd[_0x57c686(0x1f5)])&&!_0x16fa3b[_0x3ee7cd[_0x57c686(0x1ca)]]&&(_0x16fa3b[_0x3ee7cd['tpuct']]=_0x16fa3b[_0x3ee7cd['CxDyq']]);if(_0x25ee9f['match'](/HookRun/))[_0x16fa3b['hook_type'],_0x16fa3b[_0x57c686(0x1d5)]]=[_0x1d9913[_0x57c686(0x179)],this['getName'](_0x1d9913)],_0x3ee7cd[_0x57c686(0x19b)](_0x25ee9f,_0x3ee7cd[_0x57c686(0x1eb)])&&(_0x3ee7cd[_0x57c686(0x1cf)](_0x16fa3b[_0x57c686(0x154)],_0x3ee7cd[_0x57c686(0x14d)])&&(_0x16fa3b[_0x57c686(0x154)]=_0x3ee7cd[_0x57c686(0x19e)]));else _0x25ee9f['match'](/TestRun/)&&this[_0x57c686(0x15a)](_0x1d9913);const _0x33d160=_0x16fa3b[_0x3ee7cd[_0x57c686(0x1d9)]][0x0];_0x33d160&&(_0x16fa3b[_0x3ee7cd[_0x57c686(0x1d2)]]=_0x33d160[_0x3ee7cd['mgFNw']],_0x16fa3b[_0x3ee7cd[_0x57c686(0x1b0)]]=_0x33d160[_0x3ee7cd['pvlfv']]);[_0x3ee7cd[_0x57c686(0x1a0)],_0x3ee7cd[_0x57c686(0x1f5)]][_0x57c686(0x1d0)](_0x25ee9f)&&(this['_testResults']['push'](_0x16fa3b),_0x16fa3b[_0x57c686(0x18d)]=this[_0x57c686(0x1b3)](_0x1d9913),this['resetTestHooks'](_0x1d9913));const _0xbf0354={'event_type':_0x3ee7cd[_0x57c686(0x1c8)](_0x25ee9f,_0x3ee7cd['ktoru'])?_0x3ee7cd[_0x57c686(0x1a0)]:_0x25ee9f};_0x25ee9f[_0x57c686(0x14b)](/HookRun/)?(_0x16fa3b[_0x3ee7cd[_0x57c686(0x1a6)]]=HOOK_TYPES_MAP[_0x16fa3b[_0x3ee7cd[_0x57c686(0x1a6)]]],_0xbf0354[_0x3ee7cd[_0x57c686(0x1c7)]]=_0x16fa3b):_0xbf0354[_0x3ee7cd['HUdSh']]=_0x16fa3b;_0x3ee7cd[_0x57c686(0x1fe)](this[_0x57c686(0x1e5)][_0x57c686(0x1fc)],0x0)&&[_0x3ee7cd[_0x57c686(0x1a0)],_0x3ee7cd[_0x57c686(0x1f5)]][_0x57c686(0x1d0)](_0x25ee9f)&&(this[_0x57c686(0x1e5)][_0x57c686(0x18f)](async _0x424250=>{const _0x4964c2=_0x57c686,_0x19f2a6=_0x3ee7cd[_0x4964c2(0x16d)][_0x4964c2(0x1ab)]('|');let _0xf80928=0x0;while(!![]){switch(_0x19f2a6[_0xf80928++]){case'0':_0x424250[_0x3ee7cd[_0x4964c2(0x1c7)]][_0x3ee7cd['wRoQD']]=_0xbf0354[_0x3ee7cd[_0x4964c2(0x18c)]][_0x3ee7cd['wRoQD']];continue;case'1':_0x424250[_0x3ee7cd['LdNJb']][_0x3ee7cd['pdHRF']]=_0xbf0354[_0x3ee7cd[_0x4964c2(0x18c)]][_0x3ee7cd['pdHRF']];continue;case'2':_0x424250[_0x3ee7cd[_0x4964c2(0x1c7)]][_0x3ee7cd[_0x4964c2(0x171)]]=_0xbf0354[_0x3ee7cd[_0x4964c2(0x18c)]][_0x3ee7cd[_0x4964c2(0x171)]];continue;case'3':_0x424250[_0x3ee7cd[_0x4964c2(0x1c7)]][_0x3ee7cd[_0x4964c2(0x1d9)]]=_0xbf0354[_0x3ee7cd[_0x4964c2(0x18c)]][_0x3ee7cd['sPsUz']];continue;case'4':await SessionHandler[_0x4964c2(0x17f)](_0x424250);continue;}break;}}),this[_0x57c686(0x1e5)]=[]);if(_0x3ee7cd[_0x57c686(0x195)](this[_0x57c686(0x141)],_0x1d9913[_0x57c686(0x179)])){this[_0x57c686(0x1e5)][_0x57c686(0x194)](_0xbf0354);return;}_0x3ee7cd[_0x57c686(0x19b)](this[_0x57c686(0x141)],_0x3ee7cd['KuUGZ'])&&_0xbf0354[_0x3ee7cd[_0x57c686(0x18c)]]&&(_0xbf0354[_0x3ee7cd[_0x57c686(0x18c)]][_0x3ee7cd[_0x57c686(0x17e)]]=_0x3ee7cd[_0x57c686(0x1dd)],_0xbf0354[_0x3ee7cd['HUdSh']][_0x3ee7cd['sPsUz']]=null,_0xbf0354[_0x3ee7cd[_0x57c686(0x18c)]][_0x3ee7cd[_0x57c686(0x1bf)]]=null),_0x3ee7cd[_0x57c686(0x1ef)](setCurrentTestData,FRAMEWORKS[_0x57c686(0x1dc)],_0xbf0354),await SessionHandler[_0x57c686(0x17f)](_0xbf0354);}catch(_0x38cd40){_0x3ee7cd[_0x57c686(0x140)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x25ee9f+_0x57c686(0x13e)+_0x38cd40);}};[a22_0x739ddf(0x1a7)](_0x18359e){const _0x1e8802=a22_0x739ddf,_0x34cc7c={};_0x34cc7c[_0x1e8802(0x15e)]=function(_0x110f07,_0x5f0788){return _0x110f07==_0x5f0788;},_0x34cc7c[_0x1e8802(0x1d4)]=function(_0x10888a,_0x5bf86a){return _0x10888a===_0x5bf86a;},_0x34cc7c[_0x1e8802(0x197)]=function(_0x1a93a7,_0x4a8e0e){return _0x1a93a7===_0x4a8e0e;},_0x34cc7c[_0x1e8802(0x1a5)]=function(_0x2e7455,_0x3cc87b){return _0x2e7455===_0x3cc87b;},_0x34cc7c[_0x1e8802(0x17b)]=_0x1e8802(0x160),_0x34cc7c[_0x1e8802(0x1b6)]=_0x1e8802(0x15f);const _0x2f45cf=_0x34cc7c,_0x39c9d5=path['sep'];if(_0x2f45cf[_0x1e8802(0x15e)](_0x18359e,null)||_0x2f45cf['vCLTC'](_0x18359e,'')||_0x2f45cf[_0x1e8802(0x197)](_0x18359e,_0x39c9d5)||_0x2f45cf[_0x1e8802(0x1a5)](_0x18359e,path[_0x1e8802(0x13f)](_0x18359e)))return null;try{return fs[_0x1e8802(0x1f9)](path[_0x1e8802(0x191)](_0x18359e,_0x2f45cf[_0x1e8802(0x17b)],_0x2f45cf[_0x1e8802(0x1b6)])),_0x18359e;}catch(_0x26178a){const _0x4f73b0=path[_0x1e8802(0x13f)](_0x18359e);return this[_0x1e8802(0x1a7)](_0x4f73b0);}}['appendTestItemLog']=async _0x19eeb2=>{const _0x3d08a2=a22_0x739ddf,_0x4e8cc9={'whBOu':_0x3d08a2(0x155),'QKLcY':function(_0x386455,_0x2d5262){return _0x386455(_0x2d5262);}},_0x55cf38=TestDetails[_0x3d08a2(0x136)](process[_0x3d08a2(0x1e8)]+_0x3d08a2(0x1f6)),_0x1ce687=TestDetails[_0x3d08a2(0x136)](process['pid']+_0x3d08a2(0x1c4));try{(_0x55cf38||this['current_hook']&&!this['current_hook']['markedStatus'])&&(_0x19eeb2[_0x3d08a2(0x1c9)]=_0x55cf38);!_0x19eeb2['hook_run_uuid']&&_0x1ce687&&(_0x19eeb2[_0x3d08a2(0x1e1)]=_0x1ce687);if(_0x19eeb2[_0x3d08a2(0x1c9)]||_0x19eeb2[_0x3d08a2(0x1e1)]){const _0x169a0f={};_0x169a0f[_0x3d08a2(0x1f2)]=_0x4e8cc9[_0x3d08a2(0x173)],_0x169a0f[_0x3d08a2(0x1f7)]=[_0x19eeb2],await SessionHandler[_0x3d08a2(0x17f)](_0x169a0f);}}catch(_0x5e2b84){_0x4e8cc9['QKLcY'](debug,_0x3d08a2(0x153)+_0x5e2b84);}};['appendTestPlatform']=async _0x205f85=>{const _0x2c09dc=a22_0x739ddf,_0x3d58d0={'EaejK':_0x2c09dc(0x16b),'yMnfN':_0x2c09dc(0x152),'qFoNI':function(_0x4e272a,_0x43d1ba){return _0x4e272a(_0x43d1ba);}};try{const _0x47a98e={'uuid':_0x205f85[_0x2c09dc(0x1e6)]||TestDetails[_0x2c09dc(0x136)](process['pid']+_0x2c09dc(0x1c4)),'integrations':_0x205f85[_0x3d58d0[_0x2c09dc(0x1e4)]]},_0x171cb6={};_0x171cb6['event_type']=_0x3d58d0[_0x2c09dc(0x149)],_0x171cb6[_0x2c09dc(0x1bc)]=_0x47a98e,await SessionHandler[_0x2c09dc(0x17f)](_0x171cb6);}catch(_0x3b6bdf){_0x3d58d0['qFoNI'](debug,_0x2c09dc(0x144)+_0x3b6bdf);}};async['configureGit'](){const _0x36a17b=a22_0x739ddf,_0xc2554e={'iLsFw':function(_0x777f17){return _0x777f17();}};if(this[_0x36a17b(0x14f)])return this['_gitConfigPath'];const _0x5ee96c=await _0xc2554e[_0x36a17b(0x170)](getGitMetaData);_0x5ee96c&&(this[_0x36a17b(0x169)]=_0x5ee96c[_0x36a17b(0x146)]),this[_0x36a17b(0x14f)]=!![];}[a22_0x739ddf(0x1b4)](_0x4cdad5){const _0x59be2e=a22_0x739ddf,_0x2a11aa={};_0x2a11aa[_0x59be2e(0x183)]='passed',_0x2a11aa[_0x59be2e(0x1cc)]='pending',_0x2a11aa[_0x59be2e(0x145)]=_0x59be2e(0x180);const _0x1ec9ab=_0x2a11aa,_0x373bd9={};return _0x373bd9[STATE_PASSED]=_0x1ec9ab[_0x59be2e(0x183)],_0x373bd9[STATE_PENDING]=_0x1ec9ab[_0x59be2e(0x1cc)],_0x373bd9[STATE_FAILED]=_0x1ec9ab[_0x59be2e(0x145)],_0x373bd9[_0x4cdad5];}[a22_0x739ddf(0x151)](_0xb264ca){const _0x2a470a=a22_0x739ddf,_0x19bc44={};_0x19bc44[_0x2a470a(0x148)]=function(_0x187b5a,_0x3df055){return _0x187b5a!==_0x3df055;},_0x19bc44[_0x2a470a(0x168)]=_0x2a470a(0x1d1);const _0x152a55=_0x19bc44,_0x2b04fd=[];if(_0xb264ca&&_0xb264ca['parent']){let _0x5c361e=_0xb264ca[_0x2a470a(0x17d)];while(_0x5c361e&&_0x152a55[_0x2a470a(0x148)](_0x5c361e['name'],'')&&_0x152a55['WVCcq'](_0x5c361e[_0x2a470a(0x1d5)],_0x152a55[_0x2a470a(0x168)])){_0x2b04fd['push'](_0x5c361e[_0x2a470a(0x1d5)]),_0x5c361e=_0x5c361e[_0x2a470a(0x17d)];}}return _0x2b04fd[_0x2a470a(0x163)](),_0x2b04fd;}[a22_0x739ddf(0x1e7)]=_0x27fbfe=>{const _0xc772a2=a22_0x739ddf;if(_0x27fbfe[_0xc772a2(0x1f1)]){const _0x325fb9=stackTrace[_0xc772a2(0x166)][_0xc772a2(0x193)](stackTrace,_0x27fbfe['asyncError']);return _0x325fb9[0x0][_0xc772a2(0x1ae)]();}if(_0x27fbfe[_0xc772a2(0x16f)])return _0x27fbfe[_0xc772a2(0x16f)];return null;};[a22_0x739ddf(0x15a)]=_0x470c20=>{const _0x535576=a22_0x739ddf;if(!_0x470c20||!_0x470c20[_0x535576(0x17d)])return;_0x470c20[_0x535576(0x17d)]['hooks'][_0x535576(0x18f)](_0x1f2c5a=>{const _0x4d1ef5=_0x535576;!_0x1f2c5a[_0x4d1ef5(0x187)]&&(_0x1f2c5a['hookAnalyticsId']=TestDetails['setTestUUID'](process[_0x4d1ef5(0x1e8)]+_0x4d1ef5(0x1f6)));}),this[_0x535576(0x15a)](_0x470c20[_0x535576(0x17d)]);};['resetTestHooks']=_0x30ca3f=>{const _0x69dae2=a22_0x739ddf,_0x7ad14f={};_0x7ad14f[_0x69dae2(0x1bd)]=_0x69dae2(0x1fa),_0x7ad14f[_0x69dae2(0x18e)]=_0x69dae2(0x1ac);const _0x15019c=_0x7ad14f;if(!_0x30ca3f||!_0x30ca3f[_0x69dae2(0x17d)])return;_0x30ca3f['parent'][_0x69dae2(0x18d)]['forEach'](_0x53e7b4=>{const _0x93d067=_0x69dae2;[_0x15019c[_0x93d067(0x1bd)],_0x15019c[_0x93d067(0x18e)]]['includes'](_0x53e7b4[_0x93d067(0x179)])&&_0x53e7b4[_0x93d067(0x187)]&&(_0x53e7b4['hookAnalyticsId']=null);}),this[_0x69dae2(0x15a)](_0x30ca3f['parent']);};[a22_0x739ddf(0x17c)](_0x416b4f){const _0xe6413c=a22_0x739ddf,_0x3455b2={'DLtkW':_0xe6413c(0x1c3),'ydqOS':function(_0x2574c8,_0x33e688){return _0x2574c8(_0x33e688);},'AgIFH':function(_0x150ca7,_0x579579){return _0x150ca7+_0x579579;},'QKCRO':'Exception\x20in\x20getting\x20file\x20for\x20hook\x20'};try{const _0x54d145=this[_0xe6413c(0x1e7)](_0x416b4f);return _0x54d145[_0xe6413c(0x1d0)](_0x3455b2[_0xe6413c(0x1d7)]);}catch(_0x50ecf1){_0x3455b2[_0xe6413c(0x14e)](debug,_0x3455b2[_0xe6413c(0x1e0)](_0x3455b2[_0xe6413c(0x188)],_0x50ecf1));}return![];}[a22_0x739ddf(0x1b3)]=_0x2d081c=>{const _0x48e2b7=a22_0x739ddf,_0x5a9688={'IqWFi':function(_0x384cd6,_0x140eca){return _0x384cd6(_0x140eca);}};if(!_0x2d081c||!_0x2d081c[_0x48e2b7(0x17d)])return[];const _0x7f0e2b=[];return _0x2d081c[_0x48e2b7(0x17d)]['hooks'][_0x48e2b7(0x18f)](_0x563758=>{const _0x4e12c4=_0x48e2b7;_0x563758[_0x4e12c4(0x187)]&&!_0x5a9688[_0x4e12c4(0x172)](isInternalHook,_0x563758['fn'])&&!this[_0x4e12c4(0x17c)](_0x563758)&&_0x7f0e2b[_0x4e12c4(0x194)](_0x563758['hookAnalyticsId']);}),[..._0x7f0e2b,...this[_0x48e2b7(0x1b3)](_0x2d081c[_0x48e2b7(0x17d)])];};},[a22_0x739ddf(0x176),a22_0x739ddf(0x1be),a22_0x739ddf(0x18b),a22_0x739ddf(0x14a),a22_0x739ddf(0x142),a22_0x739ddf(0x1a7),a22_0x739ddf(0x1f0),a22_0x739ddf(0x181),a22_0x739ddf(0x1b4),a22_0x739ddf(0x151),a22_0x739ddf(0x1e7),a22_0x739ddf(0x15a),a22_0x739ddf(0x196),a22_0x739ddf(0x1b3),a22_0x739ddf(0x1e9)],a22_0x739ddf(0x14c));
|
|
1
|
+
const a22_0x5475d0=a22_0x3bfc;(function(_0x2b19b9,_0x41bc6e){const _0x2c780a=a22_0x3bfc,_0x7f5c1a=_0x2b19b9();while(!![]){try{const _0x274677=-parseInt(_0x2c780a(0x1d1))/0x1+parseInt(_0x2c780a(0x26c))/0x2+parseInt(_0x2c780a(0x210))/0x3*(parseInt(_0x2c780a(0x223))/0x4)+-parseInt(_0x2c780a(0x229))/0x5*(parseInt(_0x2c780a(0x221))/0x6)+parseInt(_0x2c780a(0x1c5))/0x7*(-parseInt(_0x2c780a(0x253))/0x8)+parseInt(_0x2c780a(0x1e3))/0x9+parseInt(_0x2c780a(0x20b))/0xa;if(_0x274677===_0x41bc6e)break;else _0x7f5c1a['push'](_0x7f5c1a['shift']());}catch(_0x47214c){_0x7f5c1a['push'](_0x7f5c1a['shift']());}}}(a22_0x3dc6,0x2ddd5));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a22_0x5475d0(0x1ba)),SessionHandler=require(a22_0x5475d0(0x262)),{v4:uuidv4}=require('uuid'),{name,version}=require(a22_0x5475d0(0x261)),stackTrace=require(a22_0x5475d0(0x209)),path=require('path'),fs=require('fs'),TestDetails=require(a22_0x5475d0(0x20d)),{FRAMEWORKS}=require(a22_0x5475d0(0x269)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{getGitMetaData}=require(a22_0x5475d0(0x1e9)),{appendTesthubParams,setCurrentTestData}=require(a22_0x5475d0(0x1f8)),a22_0x5a1956={};a22_0x5a1956['STATE_PASSED']=a22_0x5475d0(0x26b),a22_0x5a1956[a22_0x5475d0(0x241)]=a22_0x5475d0(0x25f),a22_0x5a1956[a22_0x5475d0(0x1cb)]='pending';const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a22_0x5a1956,a22_0x410fab={};a22_0x410fab['beforeAll']='BEFORE_ALL',a22_0x410fab[a22_0x5475d0(0x20f)]='AFTER_ALL',a22_0x410fab[a22_0x5475d0(0x1be)]='BEFORE_EACH',a22_0x410fab[a22_0x5475d0(0x1c4)]='AFTER_EACH';function a22_0x3bfc(_0x326ef8,_0x510843){const _0x3dc671=a22_0x3dc6();return a22_0x3bfc=function(_0x3bfcce,_0x282a2e){_0x3bfcce=_0x3bfcce-0x1ad;let _0x20f7d7=_0x3dc671[_0x3bfcce];return _0x20f7d7;},a22_0x3bfc(_0x326ef8,_0x510843);}const HOOK_TYPES_MAP=a22_0x410fab;function a22_0x3dc6(){const _0x30479c=['../../../helpers/test-observability/utils','expanded','QKCSw','_testEnv','beforeEach','hdVpC','vcrZY','_paths','YzwnL','reverse','afterEach','519995WarjRI','duration','getRootParentFile','lkFFQ','NagDV','appendTestPlatform','STATE_PENDING','test','jXcKn','exports','split','DQAYF','330084ZdnvNE','mapTestHooks','logs','hook_data','KmBxw','bAWcY','inspect','LogCreated','jxnWe','getName','uploadEventData',':testAnalyticsId','rlOdy','MlRek','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','registerListeners','backtrace','igVhS','622656sUQpqs','FgLZo','PIadZ','getHooksForTest','getFileName','apply','../../../helpers/helper','hook_type','isJestInternalHook','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','pending','getTestEnv','prefixTestPath','HookRunFinished','nqNcS','NRcXp','0|1|3|4|2','_gitConfigured','bIUtN','FdTCl','\x22\x20hook\x20for\x20\x22','../../../helpers/testhub/utils','findGitConfig','started_at','NVuLp','Wvfxk','getHierarchy','asyncError','hooks','.git','nkein','beforeAll','relative','file','root','failure_backtrace','ZXXDU','oYTzW','stack-trace','failure','3814800JMCqDU','GRtus','./test-details','finished_at','afterAll','38949mivZod','setTestUUID','xsQXq','_testResults','getTestUUID','type','resetTestHooks','HIrth','js-','appendTestItemLog','CBTSessionCreated','JEST','statSync',':hookAnalyticsId','wuvzz','tbZrg','markedStatus','12jJMmlv','kKSgf','36uzCBmx','ezvaf','bs:addPlatformDetails:','voUNY','retryOf','failure_reason','609755ddLshg','_gitConfigPath','lQQsp','jrpuK','location_prefix','WtSva','test_run','wSers','cwd','skipped','current_hook','uuid','current_test','Ltfnx','TestRunStarted','hook_run_uuid','PVORO','generic','MWXhY','KtqyB','hookAnalyticsId','sendTestRunEvent','testObservability','errorsDetailed','STATE_FAILED','http_response','fWBQk','title','bind','pEKJj','analyticsResult','AJnxT','length','javascript','removeAllListeners','AgEvu','kUxmX','imAJE','6|0|3|5|2|1|4','configureGit','toString','hssmK','16mgdBhe','pid','parent','eidtR','name','call','event_type','push','hook_failure','WMbla','test_run_uuid','failure_reason_expanded','failed','YMBEn','../../../../package.json','../../../helpers/test-observability/sessionHandler','jZcAZ','zzCjn','sFjYA','TestRunFinished','toISOString','forEach','../../utils/constants','match','passed','685812RfclpR','parse','now','YHnqn','jest-circus','ObservabilityReporter','bs:addLog:','result','dirname','CJylK','includes','HogCc','OTMNM','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','testAnalyticsId'];a22_0x3dc6=function(){return _0x30479c;};return a22_0x3dc6();}module[a22_0x5475d0(0x1ce)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x1f3368=a22_0x5475d0,_0x266af3={'WMbla':_0x1f3368(0x24f),'NagDV':function(_0x57d3b8){return _0x57d3b8();}},_0x2d74fa=_0x266af3[_0x1f3368(0x25c)][_0x1f3368(0x1cf)]('|');let _0x40dff9=0x0;while(!![]){switch(_0x2d74fa[_0x40dff9++]){case'0':this['_testResults']=[];continue;case'1':this['_gitConfigured']=![];continue;case'2':this[_0x1f3368(0x1d4)]=[];continue;case'3':this[_0x1f3368(0x1bd)]=this[_0x1f3368(0x1ee)]();continue;case'4':this[_0x1f3368(0x22a)]=null;continue;case'5':this['_paths']=new PathHelper({'cwd':process[_0x1f3368(0x231)]()},this[_0x1f3368(0x1bd)][_0x1f3368(0x22d)]);continue;case'6':this[_0x1f3368(0x23f)]=_0x266af3[_0x1f3368(0x1c9)](isTestObservabilitySession);continue;}break;}}['getTestEnv']=()=>{const _0x4bd759=a22_0x5475d0,_0xd2722c={'wBauy':_0x4bd759(0x23a),'NRcXp':function(_0x1398df){return _0x1398df();}};return{'ci':_0xd2722c['wBauy'],'key':_0xd2722c[_0x4bd759(0x1f2)](uuidv4),'version':version,'collector':_0x4bd759(0x218)+name};};[a22_0x5475d0(0x1e0)](){const _0x15b7c0=a22_0x5475d0;process['removeAllListeners'](_0x15b7c0(0x1b1)+process[_0x15b7c0(0x254)]),process['on'](_0x15b7c0(0x1b1)+process['pid'],this[_0x15b7c0(0x219)][_0x15b7c0(0x245)](this)),process[_0x15b7c0(0x24b)](_0x15b7c0(0x225)+process[_0x15b7c0(0x254)]),process['on'](_0x15b7c0(0x225)+process[_0x15b7c0(0x254)],this[_0x15b7c0(0x1ca)][_0x15b7c0(0x245)](this));}['testStarted']=async _0x25e18c=>{const _0x29cb63=a22_0x5475d0,_0x231843={'KmBxw':function(_0xcd7b14,_0x3789c4){return _0xcd7b14>_0x3789c4;},'fjXJP':function(_0xea22cc,_0x4385f0){return _0xea22cc===_0x4385f0;},'pEKJj':_0x29cb63(0x237),'lQQsp':function(_0x3bb6d3,_0x2cf849){return _0x3bb6d3(_0x2cf849);}};try{const _0x255fd8=this[_0x29cb63(0x235)];this[_0x29cb63(0x235)]=_0x25e18c,_0x25e18c[_0x29cb63(0x227)]=null,_0x25e18c[_0x29cb63(0x1b9)]=TestDetails[_0x29cb63(0x211)](process[_0x29cb63(0x254)]+_0x29cb63(0x1dc)),_0x25e18c['started_at']=new Date()[_0x29cb63(0x267)](),_0x231843[_0x29cb63(0x1d5)](_0x25e18c['_currentRetry'],0x0)&&_0x255fd8&&_0x231843['fjXJP'](_0x255fd8['title'],_0x25e18c[_0x29cb63(0x244)])?(_0x25e18c['retryOf']=_0x255fd8[_0x29cb63(0x1b9)],await this[_0x29cb63(0x23e)](_0x25e18c,undefined,![],_0x231843[_0x29cb63(0x246)]),_0x255fd8['state']=STATE_FAILED,await this[_0x29cb63(0x23e)](_0x255fd8,undefined,!![])):await this[_0x29cb63(0x23e)](_0x25e18c,undefined,![],_0x231843[_0x29cb63(0x246)]);}catch(_0x1a3ea8){_0x231843[_0x29cb63(0x22b)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x1a3ea8);}};[a22_0x5475d0(0x1da)](_0x25b257){const _0x206495=a22_0x5475d0,_0x52df8e={};_0x52df8e[_0x206495(0x217)]=function(_0x1e94ee,_0x13f292){return _0x1e94ee!==_0x13f292;},_0x52df8e['sFjYA']=_0x206495(0x1cc);const _0x2d175a=_0x52df8e;if(_0x2d175a[_0x206495(0x217)](_0x25b257['type'],_0x2d175a[_0x206495(0x265)]))return'\x22'+_0x25b257[_0x206495(0x215)]+_0x206495(0x1f7)+(_0x25b257[_0x206495(0x255)]&&_0x25b257[_0x206495(0x255)][_0x206495(0x257)])+'\x22';return _0x25b257[_0x206495(0x257)];}['sendTestRunEvent']=async(_0x356ada,_0x45ad52=undefined,_0x184a16=![],_0x5f4ba7=a22_0x5475d0(0x266))=>{const _0x36c342=a22_0x5475d0,_0x4f77da={'zzCjn':_0x36c342(0x1f3),'jZcAZ':'hook_run','YzwnL':_0x36c342(0x20a),'jrpuK':_0x36c342(0x22f),'eidtR':'failure_type','OTMNM':'result','EIRhC':_0x36c342(0x228),'fWBQk':function(_0x34da25,_0x97e73d){return _0x34da25(_0x97e73d);},'yCWgG':_0x36c342(0x1af),'wuvzz':'util','Ltfnx':function(_0x184120,_0x307ec4){return _0x184120!==_0x307ec4;},'Dbenw':'test','rlOdy':'err','ZRQXu':function(_0x3b1413,_0xa82d49){return _0x3b1413!==_0xa82d49;},'kKSgf':'File\x20path\x20could\x20not\x20be\x20found','wSers':_0x36c342(0x24a),'PVORO':function(_0x457394,_0x7c474d){return _0x457394===_0x7c474d;},'MlRek':'TestRunSkipped','xsQXq':_0x36c342(0x232),'FgLZo':function(_0x11c58c,_0x249fac){return _0x11c58c>_0x249fac;},'YMBEn':'failed','PIadZ':_0x36c342(0x26b),'DQAYF':function(_0x2f49e4,_0x5d4fa8){return _0x2f49e4-_0x5d4fa8;},'imAJE':function(_0x2ebda4,_0x171d0c){return _0x2ebda4(_0x171d0c);},'voUNY':function(_0x2ca012,_0x30f2a0,_0x292e8a,_0x190e1c,_0x3f5abd){return _0x2ca012(_0x30f2a0,_0x292e8a,_0x190e1c,_0x3f5abd);},'bAWcY':function(_0x427dee,_0x507c11){return _0x427dee===_0x507c11;},'VvTsl':_0x36c342(0x1fa),'oYTzW':_0x36c342(0x20e),'tbZrg':function(_0x32c3d4,_0xa3eae){return _0x32c3d4===_0xa3eae;},'GRtus':_0x36c342(0x1f0),'nVZPh':_0x36c342(0x206),'ARZhl':_0x36c342(0x1e1),'xAPBr':_0x36c342(0x25e),'vzJNf':_0x36c342(0x1bb),'YHnqn':_0x36c342(0x266),'vcrZY':'hook_type','jxnWe':function(_0x32cee6,_0x3ee68a){return _0x32cee6>_0x3ee68a;},'NVuLp':function(_0x3c61d3,_0x256384){return _0x3c61d3===_0x256384;},'hssmK':_0x36c342(0x202),'OGcGM':function(_0x131772,_0x1cb91a,_0x3d37f6){return _0x131772(_0x1cb91a,_0x3d37f6);},'HogCc':function(_0x444629,_0x2423f5){return _0x444629(_0x2423f5);}};try{if(_0x356ada['fn']&&_0x356ada['fn'][_0x36c342(0x251)]()[_0x36c342(0x26a)](/browserstack internal helper hook/))return;await this['configureGit']();let _0x1bb1a3;try{_0x1bb1a3=this[_0x36c342(0x1c7)](_0x356ada);}catch(_0xffaf2e){_0x4f77da[_0x36c342(0x243)](debug,'failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0xffaf2e),_0x1bb1a3=null;}if(_0x1bb1a3[_0x36c342(0x1b5)](_0x4f77da['yCWgG']))return;const _0x1e27fa=_0x4f77da[_0x36c342(0x243)](require,_0x4f77da[_0x36c342(0x21e)]);let _0x3631e2=[];if(_0x4f77da['Ltfnx'](_0x356ada['errorsDetailed'],undefined))_0x3631e2=[_0x356ada[_0x36c342(0x240)],_0x4f77da['Dbenw']];else _0x4f77da[_0x36c342(0x236)](_0x45ad52,undefined)?_0x3631e2=[_0x45ad52,_0x4f77da[_0x36c342(0x1dd)]]:_0x3631e2=[];const _0xd381e8=_0x4f77da[_0x36c342(0x236)](_0x356ada[_0x36c342(0x240)],undefined)?_0x1e27fa[_0x36c342(0x1d7)](_0x356ada[_0x36c342(0x240)][0x0]):_0x4f77da['ZRQXu'](_0x45ad52,undefined)?_0x45ad52[_0x36c342(0x251)]():undefined,_0x548c1d=_0x1bb1a3?this[_0x36c342(0x1c1)][_0x36c342(0x1ef)](this['getRootParentFile'](_0x356ada)):_0x4f77da[_0x36c342(0x222)],_0x3cc08a={'framework':FRAMEWORKS[_0x36c342(0x21b)],'uuid':_0x356ada['testAnalyticsId']||_0x356ada['hookAnalyticsId'],'name':this[_0x36c342(0x1da)](_0x356ada),'body':{'lang':_0x4f77da[_0x36c342(0x230)],'code':_0x356ada['fn']['toString']()},'scopes':this[_0x36c342(0x1fd)](_0x356ada),'file_name':_0x548c1d,'vc_filepath':this[_0x36c342(0x22a)]&&_0x1bb1a3?path[_0x36c342(0x203)](this[_0x36c342(0x22a)],_0x1bb1a3):null,'location':_0x548c1d,'result':_0x4f77da[_0x36c342(0x239)](_0x5f4ba7,_0x4f77da['MlRek'])?_0x4f77da[_0x36c342(0x212)]:this[_0x36c342(0x247)](_0x356ada[_0x36c342(0x240)]&&_0x4f77da[_0x36c342(0x1e4)](_0x356ada[_0x36c342(0x240)][_0x36c342(0x249)],0x0)?_0x4f77da[_0x36c342(0x260)]:_0x4f77da[_0x36c342(0x1e5)]),'failure_reason':_0xd381e8,'duration_in_ms':_0x356ada[_0x36c342(0x1c6)]||(_0x5f4ba7[_0x36c342(0x26a)](/Finished/)||_0x5f4ba7['match'](/Skipped/)?_0x4f77da[_0x36c342(0x1d0)](Date[_0x36c342(0x1ad)](),new Date(_0x356ada[_0x36c342(0x1fa)])['getTime']()):null),'started_at':_0x356ada['started_at'],'finished_at':_0x5f4ba7['match'](/Finished/)||_0x5f4ba7[_0x36c342(0x26a)](/Skipped/)?new Date()[_0x36c342(0x267)]():null,'failure':failureData[_0x36c342(0x1e8)](null,_0x3631e2),'failure_type':!_0xd381e8?null:_0x4f77da[_0x36c342(0x24e)](getFailureType,_0xd381e8),'retry_of':_0x356ada[_0x36c342(0x227)]};_0x4f77da[_0x36c342(0x226)](appendTesthubParams,_0x3cc08a,_0x5f4ba7,_0x356ada,FRAMEWORKS['JEST']);_0x4f77da[_0x36c342(0x1d6)](_0x5f4ba7,_0x4f77da[_0x36c342(0x1de)])&&!_0x3cc08a[_0x4f77da['VvTsl']]&&(_0x3cc08a[_0x4f77da['VvTsl']]=_0x3cc08a[_0x4f77da[_0x36c342(0x208)]]);if(_0x5f4ba7[_0x36c342(0x26a)](/HookRun/))[_0x3cc08a[_0x36c342(0x1ea)],_0x3cc08a['name']]=[_0x356ada['type'],this[_0x36c342(0x1da)](_0x356ada)],_0x4f77da[_0x36c342(0x21f)](_0x5f4ba7,_0x4f77da[_0x36c342(0x20c)])&&(_0x4f77da[_0x36c342(0x236)](_0x3cc08a[_0x36c342(0x1b2)],_0x4f77da['YMBEn'])&&(_0x3cc08a['result']=_0x4f77da[_0x36c342(0x1e5)]));else _0x5f4ba7[_0x36c342(0x26a)](/TestRun/)&&this[_0x36c342(0x1d2)](_0x356ada);const _0x513643=_0x3cc08a[_0x4f77da[_0x36c342(0x1c2)]][0x0];_0x513643&&(_0x3cc08a[_0x4f77da['nVZPh']]=_0x513643[_0x4f77da['ARZhl']],_0x3cc08a[_0x4f77da['xAPBr']]=_0x513643[_0x4f77da['vzJNf']]);[_0x4f77da[_0x36c342(0x1ae)],_0x4f77da[_0x36c342(0x1de)]][_0x36c342(0x1b5)](_0x5f4ba7)&&(this[_0x36c342(0x213)]['push'](_0x3cc08a),_0x3cc08a[_0x36c342(0x1ff)]=this[_0x36c342(0x1e6)](_0x356ada),this['resetTestHooks'](_0x356ada));const _0x28c546={'event_type':_0x4f77da['bAWcY'](_0x5f4ba7,_0x4f77da[_0x36c342(0x1de)])?_0x4f77da[_0x36c342(0x1ae)]:_0x5f4ba7};_0x5f4ba7[_0x36c342(0x26a)](/HookRun/)?(_0x3cc08a[_0x4f77da[_0x36c342(0x1c0)]]=HOOK_TYPES_MAP[_0x3cc08a[_0x4f77da['vcrZY']]],_0x28c546[_0x4f77da[_0x36c342(0x263)]]=_0x3cc08a):_0x28c546[_0x4f77da[_0x36c342(0x22c)]]=_0x3cc08a;_0x4f77da[_0x36c342(0x1d9)](this['hook_data']['length'],0x0)&&[_0x4f77da[_0x36c342(0x1ae)],_0x4f77da[_0x36c342(0x1de)]][_0x36c342(0x1b5)](_0x5f4ba7)&&(this[_0x36c342(0x1d4)][_0x36c342(0x268)](async _0x1bd45e=>{const _0x2a9721=_0x36c342,_0xca9dac=_0x4f77da[_0x2a9721(0x264)]['split']('|');let _0x1cb10f=0x0;while(!![]){switch(_0xca9dac[_0x1cb10f++]){case'0':_0x1bd45e[_0x4f77da[_0x2a9721(0x263)]][_0x4f77da[_0x2a9721(0x1c2)]]=_0x28c546[_0x4f77da[_0x2a9721(0x22c)]][_0x4f77da['YzwnL']];continue;case'1':_0x1bd45e[_0x4f77da[_0x2a9721(0x263)]][_0x4f77da[_0x2a9721(0x256)]]=_0x28c546[_0x4f77da[_0x2a9721(0x22c)]][_0x4f77da[_0x2a9721(0x256)]];continue;case'2':await SessionHandler[_0x2a9721(0x1db)](_0x1bd45e);continue;case'3':_0x1bd45e[_0x4f77da[_0x2a9721(0x263)]][_0x4f77da[_0x2a9721(0x1b7)]]=_0x28c546[_0x4f77da['jrpuK']][_0x4f77da[_0x2a9721(0x1b7)]];continue;case'4':_0x1bd45e[_0x4f77da['jZcAZ']][_0x4f77da['EIRhC']]=_0x28c546[_0x4f77da[_0x2a9721(0x22c)]][_0x4f77da['EIRhC']];continue;}break;}}),this[_0x36c342(0x1d4)]=[]);if(_0x4f77da[_0x36c342(0x239)](this[_0x36c342(0x25b)],_0x356ada[_0x36c342(0x215)])){this[_0x36c342(0x1d4)][_0x36c342(0x25a)](_0x28c546);return;}_0x4f77da[_0x36c342(0x1fb)](this['hook_failure'],_0x4f77da[_0x36c342(0x252)])&&_0x28c546[_0x4f77da[_0x36c342(0x22c)]]&&(_0x28c546[_0x4f77da['jrpuK']][_0x4f77da[_0x36c342(0x1b7)]]=_0x4f77da[_0x36c342(0x212)],_0x28c546[_0x4f77da[_0x36c342(0x22c)]][_0x4f77da['YzwnL']]=null,_0x28c546[_0x4f77da[_0x36c342(0x22c)]][_0x4f77da[_0x36c342(0x256)]]=null),_0x4f77da['OGcGM'](setCurrentTestData,FRAMEWORKS[_0x36c342(0x21b)],_0x28c546),await SessionHandler[_0x36c342(0x1db)](_0x28c546);}catch(_0x1053fa){_0x4f77da[_0x36c342(0x1b6)](debug,_0x36c342(0x1df)+_0x5f4ba7+'\x20with\x20error\x20:\x20'+_0x1053fa);}};['findGitConfig'](_0x2c5495){const _0x70869c=a22_0x5475d0,_0x1801b1={};_0x1801b1['FdTCl']=function(_0x99710a,_0x20be2d){return _0x99710a==_0x20be2d;},_0x1801b1['KtqyB']=function(_0x49270f,_0x4e1b9f){return _0x49270f===_0x4e1b9f;},_0x1801b1[_0x70869c(0x1cd)]=_0x70869c(0x200),_0x1801b1[_0x70869c(0x1f1)]='config';const _0x2b8eca=_0x1801b1,_0x4b9c04=path['sep'];if(_0x2b8eca[_0x70869c(0x1f6)](_0x2c5495,null)||_0x2b8eca[_0x70869c(0x23c)](_0x2c5495,'')||_0x2b8eca['KtqyB'](_0x2c5495,_0x4b9c04)||_0x2b8eca['KtqyB'](_0x2c5495,path[_0x70869c(0x1b3)](_0x2c5495)))return null;try{return fs[_0x70869c(0x21c)](path['join'](_0x2c5495,_0x2b8eca[_0x70869c(0x1cd)],_0x2b8eca[_0x70869c(0x1f1)])),_0x2c5495;}catch(_0x34aa3e){const _0x38e09d=path[_0x70869c(0x1b3)](_0x2c5495);return this[_0x70869c(0x1f9)](_0x38e09d);}}[a22_0x5475d0(0x219)]=async _0x479470=>{const _0x7c9ef5=a22_0x5475d0,_0x64bfd8={'MpgUh':_0x7c9ef5(0x1d8),'DjGqd':function(_0x19d73f,_0x28d283){return _0x19d73f(_0x28d283);}},_0x4ef02c=TestDetails[_0x7c9ef5(0x214)](process[_0x7c9ef5(0x254)]+_0x7c9ef5(0x21d)),_0x3c14e5=TestDetails[_0x7c9ef5(0x214)](process['pid']+':testAnalyticsId');try{(_0x4ef02c||this[_0x7c9ef5(0x233)]&&!this[_0x7c9ef5(0x233)][_0x7c9ef5(0x220)])&&(_0x479470['hook_run_uuid']=_0x4ef02c);!_0x479470[_0x7c9ef5(0x238)]&&_0x3c14e5&&(_0x479470[_0x7c9ef5(0x25d)]=_0x3c14e5);if(_0x479470[_0x7c9ef5(0x238)]||_0x479470[_0x7c9ef5(0x25d)]){const _0x27fdc1={};_0x27fdc1['event_type']=_0x64bfd8['MpgUh'],_0x27fdc1[_0x7c9ef5(0x1d3)]=[_0x479470],await SessionHandler['uploadEventData'](_0x27fdc1);}}catch(_0x188561){_0x64bfd8['DjGqd'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x188561);}};[a22_0x5475d0(0x1ca)]=async _0x285bc4=>{const _0x5225f1=a22_0x5475d0,_0x3450eb={'oHShI':_0x5225f1(0x242),'ezvaf':_0x5225f1(0x21a),'bIUtN':function(_0x2c8235,_0x4bf109){return _0x2c8235(_0x4bf109);}};try{const _0x3201cc={'uuid':_0x285bc4[_0x5225f1(0x234)]||TestDetails[_0x5225f1(0x214)](process[_0x5225f1(0x254)]+':testAnalyticsId'),'integrations':_0x285bc4[_0x3450eb['oHShI']]},_0x37f7ff={};_0x37f7ff[_0x5225f1(0x259)]=_0x3450eb[_0x5225f1(0x224)],_0x37f7ff[_0x5225f1(0x22f)]=_0x3201cc,await SessionHandler[_0x5225f1(0x1db)](_0x37f7ff);}catch(_0xa9cde){_0x3450eb[_0x5225f1(0x1f5)](debug,_0x5225f1(0x1b8)+_0xa9cde);}};async[a22_0x5475d0(0x250)](){const _0x29c963=a22_0x5475d0,_0x3029ec={'MWXhY':function(_0x286257){return _0x286257();}};if(this[_0x29c963(0x1f4)])return this[_0x29c963(0x22a)];const _0x5267ee=await _0x3029ec[_0x29c963(0x23b)](getGitMetaData);_0x5267ee&&(this['_gitConfigPath']=_0x5267ee[_0x29c963(0x205)]),this[_0x29c963(0x1f4)]=!![];}[a22_0x5475d0(0x247)](_0x5765c9){const _0x22ae1e=a22_0x5475d0,_0x490efb={};_0x490efb['AgEvu']=_0x22ae1e(0x26b),_0x490efb[_0x22ae1e(0x1bf)]=_0x22ae1e(0x1ed),_0x490efb[_0x22ae1e(0x1b4)]=_0x22ae1e(0x25f);const _0x16daa2=_0x490efb,_0x48e05d={};return _0x48e05d[STATE_PASSED]=_0x16daa2[_0x22ae1e(0x24c)],_0x48e05d[STATE_PENDING]=_0x16daa2[_0x22ae1e(0x1bf)],_0x48e05d[STATE_FAILED]=_0x16daa2[_0x22ae1e(0x1b4)],_0x48e05d[_0x5765c9];}[a22_0x5475d0(0x1fd)](_0x276fba){const _0x20981f=a22_0x5475d0,_0x398723={};_0x398723[_0x20981f(0x24d)]=function(_0x84f8f9,_0x1735fc){return _0x84f8f9!==_0x1735fc;},_0x398723[_0x20981f(0x22e)]=function(_0x6299d,_0x3ea611){return _0x6299d!==_0x3ea611;},_0x398723['lkFFQ']='ROOT_DESCRIBE_BLOCK';const _0x1a76d8=_0x398723,_0x97b52d=[];if(_0x276fba&&_0x276fba[_0x20981f(0x255)]){let _0x2109b2=_0x276fba[_0x20981f(0x255)];while(_0x2109b2&&_0x1a76d8[_0x20981f(0x24d)](_0x2109b2[_0x20981f(0x257)],'')&&_0x1a76d8[_0x20981f(0x22e)](_0x2109b2[_0x20981f(0x257)],_0x1a76d8[_0x20981f(0x1c8)])){_0x97b52d[_0x20981f(0x25a)](_0x2109b2[_0x20981f(0x257)]),_0x2109b2=_0x2109b2[_0x20981f(0x255)];}}return _0x97b52d[_0x20981f(0x1c3)](),_0x97b52d;}[a22_0x5475d0(0x1c7)]=_0x881210=>{const _0x3496fc=a22_0x5475d0;if(_0x881210[_0x3496fc(0x1fe)]){const _0x5b9eab=stackTrace[_0x3496fc(0x26d)][_0x3496fc(0x258)](stackTrace,_0x881210[_0x3496fc(0x1fe)]);return _0x5b9eab[0x0][_0x3496fc(0x1e7)]();}if(_0x881210[_0x3496fc(0x204)])return _0x881210[_0x3496fc(0x204)];return null;};[a22_0x5475d0(0x1d2)]=_0x393c33=>{const _0x53f053=a22_0x5475d0;if(!_0x393c33||!_0x393c33['parent'])return;_0x393c33[_0x53f053(0x255)][_0x53f053(0x1ff)]['forEach'](_0x32873b=>{const _0x59e9de=_0x53f053;!_0x32873b['hookAnalyticsId']&&(_0x32873b[_0x59e9de(0x23d)]=TestDetails[_0x59e9de(0x211)](process['pid']+_0x59e9de(0x21d)));}),this[_0x53f053(0x1d2)](_0x393c33['parent']);};[a22_0x5475d0(0x216)]=_0x2478b4=>{const _0x4f3994=a22_0x5475d0,_0x48228a={};_0x48228a[_0x4f3994(0x201)]=_0x4f3994(0x1be),_0x48228a['Wvfxk']=_0x4f3994(0x1c4);const _0x2b6a02=_0x48228a;if(!_0x2478b4||!_0x2478b4[_0x4f3994(0x255)])return;_0x2478b4['parent'][_0x4f3994(0x1ff)]['forEach'](_0x20d5f0=>{const _0x524a26=_0x4f3994;[_0x2b6a02['nkein'],_0x2b6a02[_0x524a26(0x1fc)]][_0x524a26(0x1b5)](_0x20d5f0[_0x524a26(0x215)])&&_0x20d5f0[_0x524a26(0x23d)]&&(_0x20d5f0['hookAnalyticsId']=null);}),this[_0x4f3994(0x1d2)](_0x2478b4[_0x4f3994(0x255)]);};[a22_0x5475d0(0x1eb)](_0x956204){const _0xcf4d57=a22_0x5475d0,_0x512e74={'QKCSw':_0xcf4d57(0x1af),'igVhS':function(_0x38be9b,_0x209c8f){return _0x38be9b(_0x209c8f);},'AJnxT':function(_0x290146,_0x4f2c13){return _0x290146+_0x4f2c13;},'ZXXDU':_0xcf4d57(0x1ec)};try{const _0xf96bcf=this[_0xcf4d57(0x1c7)](_0x956204);return _0xf96bcf[_0xcf4d57(0x1b5)](_0x512e74[_0xcf4d57(0x1bc)]);}catch(_0x18dbc6){_0x512e74[_0xcf4d57(0x1e2)](debug,_0x512e74[_0xcf4d57(0x248)](_0x512e74[_0xcf4d57(0x207)],_0x18dbc6));}return![];}[a22_0x5475d0(0x1e6)]=_0x21b90f=>{const _0x20cd9c=a22_0x5475d0,_0xb059f1={'Mdibf':function(_0x121c9e,_0x56e856){return _0x121c9e(_0x56e856);}};if(!_0x21b90f||!_0x21b90f[_0x20cd9c(0x255)])return[];const _0x1f6c7d=[];return _0x21b90f[_0x20cd9c(0x255)][_0x20cd9c(0x1ff)][_0x20cd9c(0x268)](_0x963d0=>{const _0x55ed2c=_0x20cd9c;_0x963d0['hookAnalyticsId']&&!_0xb059f1['Mdibf'](isInternalHook,_0x963d0['fn'])&&!this[_0x55ed2c(0x1eb)](_0x963d0)&&_0x1f6c7d[_0x55ed2c(0x25a)](_0x963d0[_0x55ed2c(0x23d)]);}),[..._0x1f6c7d,...this[_0x20cd9c(0x1e6)](_0x21b90f[_0x20cd9c(0x255)])];};},[a22_0x5475d0(0x1ee),'registerListeners','testStarted',a22_0x5475d0(0x1da),a22_0x5475d0(0x23e),a22_0x5475d0(0x1f9),a22_0x5475d0(0x219),a22_0x5475d0(0x1ca),a22_0x5475d0(0x247),a22_0x5475d0(0x1fd),a22_0x5475d0(0x1c7),'mapTestHooks',a22_0x5475d0(0x216),a22_0x5475d0(0x1e6),a22_0x5475d0(0x250)],a22_0x5475d0(0x1b0));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a23_0x4785(){const _0x100ad2=['9caFtQO','homedir','tests','setTestUUID','recursive','readFileSync','toString','814070dNIbad','getTestData','mkdirSync','.json','NeSzz','uuid','FKlmA','getFilePath','removeTestUUID','273eozDXI','setTestData','IXtpo','getTestUUID','ekjvg','BROWSERSTACK_TESTHUB_UUID','537862sbSYyf','unlinkSync','16788pVXWVK','jest-o11y-','_test','.browserstack','parse','rmSync','TPSbB','PvJws','exports','285652VnyElB','ZFEvF','76515fNlLIb','NsWCf','env','dirPath','retry','testData.json','existsSync','648576ENvdxe','../../../helpers/helper','stringify','shutdown','2070664LriXmn','join'];a23_0x4785=function(){return _0x100ad2;};return a23_0x4785();}function a23_0x77e7(_0x1e32f6,_0x373385){const _0x478507=a23_0x4785();return a23_0x77e7=function(_0x77e718,_0x70ecd4){_0x77e718=_0x77e718-0x177;let _0x280c29=_0x478507[_0x77e718];return _0x280c29;},a23_0x77e7(_0x1e32f6,_0x373385);}const a23_0x554117=a23_0x77e7;(function(_0x4c7825,_0x3325db){const _0x2cef65=a23_0x77e7,_0x3e2043=_0x4c7825();while(!![]){try{const _0x3b8800=parseInt(_0x2cef65(0x18c))/0x1+parseInt(_0x2cef65(0x17f))/0x2+-parseInt(_0x2cef65(0x199))/0x3*(parseInt(_0x2cef65(0x18a))/0x4)+parseInt(_0x2cef65(0x1a0))/0x5+-parseInt(_0x2cef65(0x181))/0x6*(parseInt(_0x2cef65(0x179))/0x7)+parseInt(_0x2cef65(0x197))/0x8+-parseInt(_0x2cef65(0x193))/0x9;if(_0x3b8800===_0x3325db)break;else _0x3e2043['push'](_0x3e2043['shift']());}catch(_0x496c5b){_0x3e2043['push'](_0x3e2043['shift']());}}}(a23_0x4785,0x5abd4));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a23_0x554117(0x1a5)),helper=require(a23_0x554117(0x194)),testHubConstants=require('../../../helpers/testhub/constants');class TestDetails{static [a23_0x554117(0x19b)]={};static [a23_0x554117(0x18f)]=path[a23_0x554117(0x198)](helper[a23_0x554117(0x19a)](),a23_0x554117(0x184),a23_0x554117(0x182)+process[a23_0x554117(0x18e)][testHubConstants['ENV_VAR'][a23_0x554117(0x17e)]]);static['setup'](){const _0x38c64b=a23_0x554117,_0x10071b={};_0x10071b['PvJws']=_0x38c64b(0x184);const _0x32d2ef=_0x10071b;this['dirPath']=path[_0x38c64b(0x198)](helper['homedir'](),_0x32d2ef[_0x38c64b(0x188)],_0x38c64b(0x182)+process[_0x38c64b(0x18e)][testHubConstants['ENV_VAR'][_0x38c64b(0x17e)]]),this[_0x38c64b(0x196)]();const _0x4f1baa={};_0x4f1baa[_0x38c64b(0x19d)]=!![],fs[_0x38c64b(0x1a2)](this[_0x38c64b(0x18f)],_0x4f1baa);}static[a23_0x554117(0x177)](_0x225f7b){const _0x69e24a=a23_0x554117,_0xfef685={};_0xfef685[_0x69e24a(0x1a4)]=function(_0x1d4e64,_0x4b9c18){return _0x1d4e64+_0x4b9c18;},_0xfef685[_0x69e24a(0x18b)]=_0x69e24a(0x1a3);const _0x1af530=_0xfef685;return path[_0x69e24a(0x198)](this[_0x69e24a(0x18f)],_0x1af530[_0x69e24a(0x1a4)](_0x225f7b,_0x1af530['ZFEvF']));}static['getTestRunIdFromTestInfo'](_0x21cceb){const _0x2038a0=a23_0x554117,_0x6443b8={};_0x6443b8['ekjvg']=function(_0x417b1f,_0x202733){return _0x417b1f+_0x202733;},_0x6443b8['IXtpo']=function(_0xdfd3ad,_0x295cf6){return _0xdfd3ad+_0x295cf6;};const _0x306396=_0x6443b8;return _0x306396[_0x2038a0(0x17d)](_0x306396[_0x2038a0(0x17d)](_0x306396['IXtpo'](_0x306396[_0x2038a0(0x17b)](_0x21cceb[_0x2038a0(0x183)]['_projectId'],'-'),_0x21cceb['_test']['id']),'-'),_0x21cceb[_0x2038a0(0x190)]);}static[a23_0x554117(0x17c)](_0xd1cb4){const _0x268534=a23_0x554117,_0x1db3a7=this['getFilePath'](_0xd1cb4);if(fs['existsSync'](_0x1db3a7)){const _0x2c03a4=JSON[_0x268534(0x185)](fs[_0x268534(0x19e)](_0x1db3a7)[_0x268534(0x19f)]());return this[_0x268534(0x19b)][_0xd1cb4]=_0x2c03a4,this['tests'][_0xd1cb4][_0x268534(0x1a5)];}}static[a23_0x554117(0x17a)](_0x305ff1){const _0x3004ac=a23_0x554117,_0x2f6b17={};_0x2f6b17[_0x3004ac(0x18d)]=_0x3004ac(0x191);const _0x53c3f5=_0x2f6b17,_0x64c06=path[_0x3004ac(0x198)](this[_0x3004ac(0x18f)],_0x53c3f5[_0x3004ac(0x18d)]);fs['writeFileSync'](_0x64c06,JSON[_0x3004ac(0x195)](_0x305ff1));}static[a23_0x554117(0x1a1)](){const _0x474aa6=a23_0x554117,_0x134124={};_0x134124[_0x474aa6(0x187)]=_0x474aa6(0x191);const _0x201617=_0x134124,_0x1f4a6a=path[_0x474aa6(0x198)](this[_0x474aa6(0x18f)],_0x201617[_0x474aa6(0x187)]);let _0x39fd0a={};try{return _0x1f4a6a&&fs['existsSync'](_0x1f4a6a)&&(_0x39fd0a=JSON['parse'](fs[_0x474aa6(0x19e)](_0x1f4a6a)[_0x474aa6(0x19f)]())),_0x39fd0a;}catch(_0xc8b3a8){return _0x39fd0a;}}static[a23_0x554117(0x19c)](_0x2b9281){const _0x1271a8=a23_0x554117,_0x1cbce3={'FKlmA':function(_0x598fe0){return _0x598fe0();}},_0x1763be=this[_0x1271a8(0x177)](_0x2b9281);return this[_0x1271a8(0x19b)][_0x2b9281]={'uuid':_0x1cbce3[_0x1271a8(0x1a6)](uuidv4)},fs['writeFileSync'](_0x1763be,JSON[_0x1271a8(0x195)](this[_0x1271a8(0x19b)][_0x2b9281])),this[_0x1271a8(0x19b)][_0x2b9281][_0x1271a8(0x1a5)];}static[a23_0x554117(0x178)](_0x5173ef){const _0xbffa0c=a23_0x554117,_0x4936fc=this['getFilePath'](_0x5173ef);_0x4936fc&&(fs[_0xbffa0c(0x192)](_0x4936fc)&&fs[_0xbffa0c(0x180)](_0x4936fc));}static['shutdown'](){const _0x27aefb=a23_0x554117,_0x57d21d={};_0x57d21d[_0x27aefb(0x19d)]=!![],_0x57d21d['force']=!![],fs[_0x27aefb(0x186)](this['dirPath'],_0x57d21d);}}module[a23_0x554117(0x189)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a24_0x4d9e6b=a24_0xb267;(function(_0x1e17ec,_0x33b193){const _0x413a47=a24_0xb267,_0xc9fd7b=_0x1e17ec();while(!![]){try{const _0x10b80c=parseInt(_0x413a47(0xd2))/0x1+-parseInt(_0x413a47(0xdc))/0x2*(-parseInt(_0x413a47(0xd7))/0x3)+parseInt(_0x413a47(0xd3))/0x4*(-parseInt(_0x413a47(0xdb))/0x5)+-parseInt(_0x413a47(0xd1))/0x6*(parseInt(_0x413a47(0xd6))/0x7)+-parseInt(_0x413a47(0xde))/0x8*(parseInt(_0x413a47(0xd8))/0x9)+-parseInt(_0x413a47(0xd5))/0xa+-parseInt(_0x413a47(0xd9))/0xb*(-parseInt(_0x413a47(0xda))/0xc);if(_0x10b80c===_0x33b193)break;else _0xc9fd7b['push'](_0xc9fd7b['shift']());}catch(_0x1533e3){_0xc9fd7b['push'](_0xc9fd7b['shift']());}}}(a24_0xb80d,0xa7d18));const {requireModule}=require(a24_0x4d9e6b(0xe0));function a24_0xb267(_0x23d576,_0x2a468d){const _0xb80d40=a24_0xb80d();return a24_0xb267=function(_0xb26712,_0x35b87a){_0xb26712=_0xb26712-0xd0;let _0x16ed5e=_0xb80d40[_0xb26712];return _0x16ed5e;},a24_0xb267(_0x23d576,_0x2a468d);}function a24_0xb80d(){const _0x419bb7=['__webdriver','6032MYgeUq','../../helpers/setKeepAlive','../../helpers/helper','selenium-webdriver','939270HKzmvR','154870FHKXyR','1183828AZsHjs','keys','325160bQEojh','42JxldMs','1032918KoqvfV','8109BYJYsO','77011BuJjTL','3660bPzotq','5RgeXjg','2sXIJvJ'];a24_0xb80d=function(){return _0x419bb7;};return a24_0xb80d();}require(a24_0x4d9e6b(0xdf))();const __wd__=requireModule(a24_0x4d9e6b(0xd0));for(const key of Object[a24_0x4d9e6b(0xd4)](global[a24_0x4d9e6b(0xdd)])){__wd__[key]=global[a24_0x4d9e6b(0xdd)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x1368c3=a25_0x7f91;(function(_0x4be844,_0x25877f){const _0x48f4c6=a25_0x7f91,_0x25a734=_0x4be844();while(!![]){try{const _0xddb2ff=parseInt(_0x48f4c6(0x132))/0x1*(parseInt(_0x48f4c6(0x142))/0x2)+parseInt(_0x48f4c6(0x150))/0x3+parseInt(_0x48f4c6(0x154))/0x4+-parseInt(_0x48f4c6(0x12f))/0x5*(-parseInt(_0x48f4c6(0x151))/0x6)+-parseInt(_0x48f4c6(0x14e))/0x7*(-parseInt(_0x48f4c6(0x14a))/0x8)+-parseInt(_0x48f4c6(0x13d))/0x9+parseInt(_0x48f4c6(0x149))/0xa*(-parseInt(_0x48f4c6(0x146))/0xb);if(_0xddb2ff===_0x25877f)break;else _0x25a734['push'](_0x25a734['shift']());}catch(_0x4716b0){_0x25a734['push'](_0x25a734['shift']());}}}(a25_0x557b,0x8da73));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x1368c3(0x141)),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require(a25_0x1368c3(0x14c)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a25_0x1368c3(0x148)),helper=require(a25_0x1368c3(0x141)),PerformanceTester=require(a25_0x1368c3(0x147)),PerformanceEvents=require(a25_0x1368c3(0x13e))['EVENTS'],{commandRepository}=require(a25_0x1368c3(0x153));class Launcher{constructor(_0x57173f,_0x3d3dbc,_0x40671d,_0x1517a3=[]){const _0x336037=a25_0x1368c3,_0x3a90cf={'mwRXF':'19|0|5|4|11|16|12|23|1|17|10|20|14|22|21|18|15|3|7|2|13|6|8|9','DjRhv':function(_0x32def6){return _0x32def6();},'UNASM':function(_0x19deae){return _0x19deae();}},_0x17e1b0=_0x3a90cf[_0x336037(0x152)]['split']('|');let _0x10fe42=0x0;while(!![]){switch(_0x17e1b0[_0x10fe42++]){case'0':this['_configuration']=_0x3d3dbc['configuration']||{};continue;case'1':this['_bsConfig']=_0x40671d;continue;case'2':global[_0x336037(0x13b)]=0x0;continue;case'3':global[_0x336037(0x157)]=0x0;continue;case'4':this[_0x336037(0x134)]=_0x3d3dbc['mochaOpts'];continue;case'5':this[_0x336037(0x130)]['framework']=_0x57173f;continue;case'6':global['testsAmbiguous']=0x0;continue;case'7':global['testSuitesFailed']=0x0;continue;case'8':global[_0x336037(0x140)]={};continue;case'9':!constants['AI_ENABLED_FRAMEWORK'][_0x336037(0x139)](_0x57173f)&&(commandRepository[_0x336037(0x13a)](_0x40671d),commandRepository[_0x336037(0x133)](_0x57173f));continue;case'10':this['_accessibilityAutomation']=_0x3a90cf[_0x336037(0x14d)](isAccessibilityAutomationSession);continue;case'11':this[_0x336037(0x144)]=_0x3d3dbc[_0x336037(0x137)];continue;case'12':global['__platform__']=this['_configuration'][_0x336037(0x13c)];continue;case'13':global[_0x336037(0x136)]=0x0;continue;case'14':global[_0x336037(0x138)]=0x0;continue;case'15':global[_0x336037(0x14b)]=0x0;continue;case'16':this[_0x336037(0x135)]=this[_0x336037(0x130)]['capability'];continue;case'17':this['_testObservability']=_0x3a90cf['UNASM'](isTestObservabilitySession);continue;case'18':global[_0x336037(0x143)]=0x0;continue;case'19':this[_0x336037(0x131)]=_0x57173f;continue;case'20':global[_0x336037(0x155)]=this['_configuration'][_0x336037(0x145)]||{};continue;case'21':global[_0x336037(0x13f)]=0x0;continue;case'22':global['totalTests']=0x0;continue;case'23':this['_argv']=_0x1517a3;continue;}break;}}[a25_0x1368c3(0x156)](_0x19bef3,_0x5613b4,_0x346462){const _0x5381e1=a25_0x1368c3,_0x383e79=_0x19bef3[_0x5381e1(0x14f)];_0x19bef3.resolvePaths=async function(){const pathResults=await _0x383e79.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x346462));return pathResults;},_0x5613b4.push('--format'),_0x5613b4.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x7f91(_0x45a657,_0x404aa7){const _0x557b1b=a25_0x557b();return a25_0x7f91=function(_0x7f9162,_0x50a87b){_0x7f9162=_0x7f9162-0x12f;let _0x2ab820=_0x557b1b[_0x7f9162];return _0x2ab820;},a25_0x7f91(_0x45a657,_0x404aa7);}module.exports=Launcher;function a25_0x557b(){const _0xd02763=['1001SJzczg','../../helpers/performance/performance-tester','../../helpers/test-observability/utils','155890ZdvgWz','6172312FOEKuA','testsPending','../../helpers/accessibility-automation/helper','DjRhv','7bxIfWc','resolvePaths','614598YxoKaM','3312876KcTmoR','mwRXF','../../helpers/ai-sdk/autoHealHelper','414620vfJgPy','__platformCaps','setupCucumber','testsSkipped','10YWKoyN','_configuration','_framework','5fwBrsw','setFramework','_mochaOpts','_capability','testsUnknown','formatter','testSuites','includes','setConfig','testsUndefined','platform','9054918yGpAga','../../helpers/performance/constants','testsPassed','testsErrorMessage','../../helpers/helper','328224KoJDCM','testsFailed','_formatter','platformCaps'];a25_0x557b=function(){return _0xd02763;};return a25_0x557b();}
|
|
1
|
+
const a25_0x2e9558=a25_0x4559;(function(_0x242e40,_0x5414ca){const _0x44abdf=a25_0x4559,_0x4c67a5=_0x242e40();while(!![]){try{const _0x2dc9a8=-parseInt(_0x44abdf(0x16a))/0x1+parseInt(_0x44abdf(0x16b))/0x2*(-parseInt(_0x44abdf(0x178))/0x3)+-parseInt(_0x44abdf(0x160))/0x4*(parseInt(_0x44abdf(0x166))/0x5)+parseInt(_0x44abdf(0x186))/0x6*(-parseInt(_0x44abdf(0x191))/0x7)+parseInt(_0x44abdf(0x161))/0x8*(parseInt(_0x44abdf(0x190))/0x9)+-parseInt(_0x44abdf(0x183))/0xa*(-parseInt(_0x44abdf(0x18f))/0xb)+parseInt(_0x44abdf(0x18e))/0xc*(parseInt(_0x44abdf(0x193))/0xd);if(_0x2dc9a8===_0x5414ca)break;else _0x4c67a5['push'](_0x4c67a5['shift']());}catch(_0x3b028d){_0x4c67a5['push'](_0x4c67a5['shift']());}}}(a25_0x1ca6,0xcd6a7));const path=require(a25_0x2e9558(0x196)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x2e9558(0x194)),constants=require(a25_0x2e9558(0x18d)),{isAccessibilityAutomationSession}=require(a25_0x2e9558(0x163)),RequestQueueHandler=require(a25_0x2e9558(0x168)),{isTestObservabilitySession}=require(a25_0x2e9558(0x164)),helper=require(a25_0x2e9558(0x194)),PerformanceTester=require(a25_0x2e9558(0x170)),PerformanceEvents=require('../../helpers/performance/constants')[a25_0x2e9558(0x17f)],{commandRepository}=require(a25_0x2e9558(0x176));class Launcher{constructor(_0xf8971c,_0x280738,_0x40f106,_0x3e4531=[]){const _0x4ff654=a25_0x2e9558,_0x2a5e1f={'ZUwpl':_0x4ff654(0x184),'IDIbW':function(_0x377299){return _0x377299();},'kgTPP':function(_0x1395db){return _0x1395db();}},_0x2bb688=_0x2a5e1f[_0x4ff654(0x179)][_0x4ff654(0x17b)]('|');let _0x538147=0x0;while(!![]){switch(_0x2bb688[_0x538147++]){case'0':global[_0x4ff654(0x17a)]=0x0;continue;case'1':global[_0x4ff654(0x171)]={};continue;case'2':this[_0x4ff654(0x167)]=_0x2a5e1f[_0x4ff654(0x187)](isTestObservabilitySession);continue;case'3':this[_0x4ff654(0x18b)]=_0x280738[_0x4ff654(0x185)]||{};continue;case'4':this[_0x4ff654(0x18b)][_0x4ff654(0x177)]=_0xf8971c;continue;case'5':global[_0x4ff654(0x17c)]=0x0;continue;case'6':global[_0x4ff654(0x16f)]=this['_configuration'][_0x4ff654(0x169)]||{};continue;case'7':this[_0x4ff654(0x175)]=this['_configuration'][_0x4ff654(0x181)];continue;case'8':this[_0x4ff654(0x182)]=_0x280738['mochaOpts'];continue;case'9':this[_0x4ff654(0x192)]=_0x2a5e1f[_0x4ff654(0x195)](isAccessibilityAutomationSession);continue;case'10':!constants[_0x4ff654(0x197)]['includes'](_0xf8971c)&&(commandRepository[_0x4ff654(0x17e)](_0x40f106),commandRepository[_0x4ff654(0x173)](_0xf8971c));continue;case'11':this['_bsConfig']=_0x40f106;continue;case'12':global[_0x4ff654(0x165)]=0x0;continue;case'13':global['testsUndefined']=0x0;continue;case'14':global[_0x4ff654(0x18a)]=this[_0x4ff654(0x18b)][_0x4ff654(0x172)];continue;case'15':global['testSuites']=0x0;continue;case'16':global[_0x4ff654(0x162)]=0x0;continue;case'17':this[_0x4ff654(0x174)]=_0x280738[_0x4ff654(0x17d)];continue;case'18':global[_0x4ff654(0x16c)]=0x0;continue;case'19':global[_0x4ff654(0x189)]=0x0;continue;case'20':this[_0x4ff654(0x16d)]=_0x3e4531;continue;case'21':global[_0x4ff654(0x188)]=0x0;continue;case'22':this[_0x4ff654(0x18c)]=_0xf8971c;continue;case'23':global[_0x4ff654(0x16e)]=0x0;continue;}break;}}[a25_0x2e9558(0x15f)](_0x260b32,_0x2c79ca,_0x26a727){const _0x4a0363=a25_0x2e9558,_0x2a62f0=_0x260b32[_0x4a0363(0x180)];_0x260b32.resolvePaths=async function(){const pathResults=await _0x2a62f0.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x26a727));return pathResults;},_0x2c79ca.push('--format'),_0x2c79ca.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x4559(_0x2fa63f,_0x357986){const _0x1ca6cc=a25_0x1ca6();return a25_0x4559=function(_0x45591a,_0x4a3a4d){_0x45591a=_0x45591a-0x15f;let _0x17e78b=_0x1ca6cc[_0x45591a];return _0x17e78b;},a25_0x4559(_0x2fa63f,_0x357986);}function a25_0x1ca6(){const _0x518888=['capability','_mochaOpts','10UIoHoQ','22|3|4|8|17|7|14|20|11|2|9|6|15|12|23|0|5|16|18|13|19|21|1|10','configuration','120VOtfGe','IDIbW','testsAmbiguous','testsUnknown','__platform__','_configuration','_framework','../utils/constants','13320qLFsFo','14046978TXQuZS','36ftLnsy','273028KNEScy','_accessibilityAutomation','35009kofyVz','../../helpers/helper','kgTPP','path','AI_ENABLED_FRAMEWORK','setupCucumber','5087780fzQxki','361408ObjIft','testsSkipped','../../helpers/accessibility-automation/helper','../../helpers/test-observability/utils','totalTests','5nnHSTC','_testObservability','../../helpers/test-observability/requestQueueHandler','platformCaps','1398255ikJipx','2HuRdWH','testSuitesFailed','_argv','testsPassed','__platformCaps','../../helpers/performance/performance-tester','testsErrorMessage','platform','setFramework','_formatter','_capability','../../helpers/ai-sdk/autoHealHelper','framework','465807AKEbSl','ZUwpl','testsFailed','split','testsPending','formatter','setConfig','EVENTS','resolvePaths'];a25_0x1ca6=function(){return _0x518888;};return a25_0x1ca6();}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x45de8d=a26_0x4ce4;function a26_0x4ce4(_0xb52540,_0x57f679){const _0x2f3805=a26_0x2f38();return a26_0x4ce4=function(_0x4ce4ec,_0xe69064){_0x4ce4ec=_0x4ce4ec-0x156;let _0x54b58d=_0x2f3805[_0x4ce4ec];return _0x54b58d;},a26_0x4ce4(_0xb52540,_0x57f679);}(function(_0x235742,_0x43781b){const _0x42f8f4=a26_0x4ce4,_0x2a29d6=_0x235742();while(!![]){try{const _0x409471=-parseInt(_0x42f8f4(0x1a2))/0x1+-parseInt(_0x42f8f4(0x19a))/0x2*(-parseInt(_0x42f8f4(0x1a1))/0x3)+parseInt(_0x42f8f4(0x17c))/0x4+parseInt(_0x42f8f4(0x186))/0x5*(parseInt(_0x42f8f4(0x191))/0x6)+parseInt(_0x42f8f4(0x160))/0x7+parseInt(_0x42f8f4(0x16e))/0x8+parseInt(_0x42f8f4(0x173))/0x9*(-parseInt(_0x42f8f4(0x159))/0xa);if(_0x409471===_0x43781b)break;else _0x2a29d6['push'](_0x2a29d6['shift']());}catch(_0x1bcc37){_0x2a29d6['push'](_0x2a29d6['shift']());}}}(a26_0x2f38,0xbb00b));const path=require(a26_0x45de8d(0x15a)),os=require('os'),util=require(a26_0x45de8d(0x15d)),bsSetupHelper=require(a26_0x45de8d(0x18b)),globals=require(a26_0x45de8d(0x198)),logger=require('../../../helpers/logger')[a26_0x45de8d(0x19f)];exports[a26_0x45de8d(0x177)]=_0x70dee4=>{const _0x1148e4=a26_0x45de8d,_0x31fc81={};_0x31fc81[_0x1148e4(0x194)]=_0x1148e4(0x168),_0x31fc81[_0x1148e4(0x18c)]=_0x1148e4(0x16a),_0x31fc81[_0x1148e4(0x15f)]='isAccessibilityPlatform',_0x31fc81[_0x1148e4(0x16f)]='browserstack.accessibilityOptions';const _0x554538=_0x31fc81;try{const _0x7c2162=_0x70dee4[_0x1148e4(0x16c)]||{};if(_0x7c2162[_0x554538[_0x1148e4(0x194)]]&&_0x7c2162[_0x554538[_0x1148e4(0x194)]]['accessibility']||_0x70dee4[_0x1148e4(0x16c)][_0x554538[_0x1148e4(0x18c)]]){globals['setGlobal'](_0x554538[_0x1148e4(0x15f)],!![]);if(_0x7c2162[_0x554538[_0x1148e4(0x194)]]){if(_0x7c2162[_0x554538[_0x1148e4(0x194)]]['accessibilityOptions'])_0x7c2162[_0x554538['rbZAa']][_0x1148e4(0x18f)][_0x1148e4(0x164)]=process[_0x1148e4(0x163)][_0x1148e4(0x1a3)];else{const _0x53dc04={};_0x53dc04['authToken']=process[_0x1148e4(0x163)]['BS_A11Y_JWT'],_0x7c2162[_0x554538[_0x1148e4(0x194)]][_0x1148e4(0x18f)]=_0x53dc04;}_0x7c2162[_0x554538['rbZAa']][_0x1148e4(0x18f)][_0x1148e4(0x1a4)]=JSON[_0x1148e4(0x170)](process['env'][_0x1148e4(0x15b)])[_0x1148e4(0x1a4)];}else{if(_0x70dee4[_0x1148e4(0x16c)][_0x554538['pVmEM']]){if(_0x7c2162[_0x554538[_0x1148e4(0x16f)]])_0x7c2162[_0x554538['NrfxW']]['authToken']=process['env']['BS_A11Y_JWT'];else{const _0x56f4b4={};_0x56f4b4['authToken']=process['env']['BS_A11Y_JWT'],_0x7c2162[_0x554538[_0x1148e4(0x16f)]]=_0x56f4b4;}_0x7c2162[_0x554538['NrfxW']][_0x1148e4(0x1a4)]=JSON[_0x1148e4(0x170)](process[_0x1148e4(0x163)][_0x1148e4(0x15b)])[_0x1148e4(0x1a4)];}}}}catch(_0x63e7b6){logger['debug'](_0x1148e4(0x1a6)+_0x63e7b6);}},exports[a26_0x45de8d(0x178)]=(_0x2e03a8,_0x5b1583)=>{const _0x3db226=a26_0x45de8d,_0x221dc2={};_0x221dc2[_0x3db226(0x196)]=_0x3db226(0x168),_0x221dc2[_0x3db226(0x182)]=function(_0x2d9e43,_0x24baee){return _0x2d9e43!==_0x24baee;},_0x221dc2[_0x3db226(0x195)]=_0x3db226(0x190),_0x221dc2[_0x3db226(0x175)]=function(_0x19de44,_0x557910){return _0x19de44!==_0x557910;},_0x221dc2[_0x3db226(0x156)]='chrome',_0x221dc2[_0x3db226(0x15c)]=_0x3db226(0x172),_0x221dc2[_0x3db226(0x19b)]=function(_0x599281,_0x4faed3){return _0x599281===_0x4faed3;},_0x221dc2['farzy']=_0x3db226(0x1a0),_0x221dc2[_0x3db226(0x188)]=function(_0x43b02f,_0x252a50){return _0x43b02f>_0x252a50;},_0x221dc2[_0x3db226(0x17f)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x221dc2[_0x3db226(0x16b)]=_0x3db226(0x187),_0x221dc2['LxnIY']='selenium-webdriver',_0x221dc2[_0x3db226(0x18e)]=_0x3db226(0x174),_0x221dc2[_0x3db226(0x19c)]=_0x3db226(0x197),_0x221dc2['tJDcC']='chromeOptions',_0x221dc2[_0x3db226(0x185)]=_0x3db226(0x184),_0x221dc2[_0x3db226(0x16d)]=_0x3db226(0x199);const _0x3ea0e5=_0x221dc2;try{const _0x2013c5=_0x5b1583[_0x3db226(0x16c)]||{},_0x224c37=(_0x2013c5[_0x3ea0e5[_0x3db226(0x196)]]?_0x2013c5[_0x3ea0e5[_0x3db226(0x196)]][_0x3db226(0x167)]:_0x2013c5[_0x3db226(0x193)])||'';if(_0x3ea0e5['hWXSA'](_0x224c37,''))return logger[_0x3db226(0x169)](_0x3ea0e5[_0x3db226(0x195)]),![];const _0x4c978b=_0x2013c5[_0x3db226(0x18d)]||_0x2e03a8['capabilities_']['getBrowserName']();if(_0x3ea0e5['Kghkg'](_0x4c978b[_0x3db226(0x18a)](),_0x3ea0e5[_0x3db226(0x156)]))return logger['warn'](_0x3ea0e5[_0x3db226(0x15c)]),![];const _0x48b182=_0x2013c5[_0x3db226(0x166)]||_0x2013c5[_0x3db226(0x161)]||_0x2e03a8[_0x3db226(0x158)][_0x3db226(0x1a7)]();if(!bsSetupHelper[_0x3db226(0x1a5)](_0x48b182)&&!(_0x3ea0e5[_0x3db226(0x19b)](_0x48b182,_0x3ea0e5[_0x3db226(0x192)])||_0x3ea0e5[_0x3db226(0x188)](_0x48b182,0x5e)))return logger[_0x3db226(0x169)](_0x3ea0e5[_0x3db226(0x17f)]),![];let _0x44f779;try{_0x44f779=bsSetupHelper[_0x3db226(0x181)](_0x3ea0e5[_0x3db226(0x16b)],_0x3ea0e5[_0x3db226(0x183)]);}catch(_0x536e37){return![];}const _0x442f91=new _0x44f779[(_0x3db226(0x15e))](_0x2e03a8[_0x3db226(0x189)]),_0x224d02=bsSetupHelper[_0x3db226(0x19e)](_0x442f91,[_0x3ea0e5[_0x3db226(0x18e)],_0x3ea0e5[_0x3db226(0x19c)]])||bsSetupHelper[_0x3db226(0x19e)](_0x2e03a8[_0x3db226(0x158)][_0x3db226(0x162)](_0x3ea0e5['bevaA']),[_0x3ea0e5[_0x3db226(0x176)],_0x3ea0e5['ZFFOK']])||bsSetupHelper['nestedKeyValue'](_0x2e03a8['capabilities_'][_0x3db226(0x162)](_0x3ea0e5['tJDcC']),[_0x3ea0e5[_0x3db226(0x19c)]])||[];if(_0x224d02['includes'](_0x3ea0e5['hseNi']))return logger[_0x3db226(0x169)](_0x3ea0e5['CsYyR']),![];return!![];}catch(_0x3b9f08){logger[_0x3db226(0x17d)](_0x3db226(0x17a)+util[_0x3db226(0x17e)](_0x3b9f08));}return![];},exports['fetchPlatformDetails']=async _0x17d55b=>{const _0x5ab043=a26_0x45de8d,_0x230547={};_0x230547['JHYjH']=function(_0xc3a5da,_0xe38384){return _0xc3a5da===_0xe38384;},_0x230547[_0x5ab043(0x157)]=_0x5ab043(0x19d);const _0x31fe36=_0x230547;let _0x2a6bd2={};try{const _0x29cf24=await _0x17d55b[_0x5ab043(0x171)]();_0x2a6bd2={'os_name':_0x29cf24[_0x5ab043(0x180)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x31fe36[_0x5ab043(0x165)](global[_0x5ab043(0x17b)],_0x31fe36[_0x5ab043(0x157)])),'browser_name':_0x29cf24['getBrowserName'](),'browser_version':_0x29cf24[_0x5ab043(0x1a7)]()};}catch(_0xedc037){logger[_0x5ab043(0x17d)](_0x5ab043(0x179)+_0xedc037);}return _0x2a6bd2;};function a26_0x2f38(){const _0x26f905=['Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Exception\x20in\x20setExtension\x20Error:\x20','__cloud_provider___','5604832pUmxtC','debug','format','bRTTD','getPlatform','requireModule','hWXSA','LxnIY','--headless','hseNi','5sBvdEL','selenium-webdriver/chrome.js','djxUc','chromeOptions_','toLowerCase','../../../helpers/helper','pVmEM','browserName','wBROP','accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','4450986OiYXgl','farzy','device','rbZAa','TNYQi','bevaA','args','../../../helpers/globals','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','6748zBMdGQ','poSGS','ZFFOK','browserstack','nestedKeyValue','winstonLogger','latest','87YZWvGd','281613pMRbkc','BS_A11Y_JWT','scannerVersion','isUndefined','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','getBrowserVersion','bDwqi','dyacz','capabilities_','20157490JCYCVx','path','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','xjMIp','util','Options','yGaze','5264665VAKvCz','browser_version','get','env','authToken','JHYjH','browserVersion','deviceName','bstack:options','warn','browserstack.accessibility','Ypylr','capability','CsYyR','562760AYWlXS','NrfxW','parse','getCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','9KPrTzr','options_','Kghkg','tJDcC','setAccessibilityCapabilities','setExtension'];a26_0x2f38=function(){return _0x26f905;};return a26_0x2f38();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a27_0x369c67=a27_0x1651;function a27_0x2e7f(){const _0x4b065e=['tRYaN','%s\x20','parent','TestRunFinished','TnXds','assign','mocha/lib/reporters/','uuid','bs:addLog:','err','started_at','IuhZC','oTMET','_upstreamConfig','jMtKU','current_hook','Reporter','redirectUrl','otSbz','__platform__','kRzxo','appendTesthubParams','duration','Fmbnq','</dt>','<dl>','lywda','match','Dksej','responseCode','6349707azpaRV','error','../../../helpers/test-observability/requestQueueHandler','ctx','IGTrI','TcTxa','appendTestItemLog','mKEDI','failCount','cVKkb','hooks','getRootParentFile','nVQfo','shouldProcessEventForTesthub','fast','originalTitle','failure_reason_expanded','failed','TBshS','__indents','failure','root','dVVvl','hookAnalyticsId','toString','logs','lcnc','AFTER_EACH','body','EVENT','state','ERpLB','YjKcx','fFZuY','SNsUn','decreaseIndent','RHBoU','hook_type','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','rUQIQ','fgnJd','pid','qlvJA','oYpeW','sendTestRunEvent','dot','now','aaqWG','sep','once','GMEfV','apply','kRVWr','testAnalyticsId','expanded','6332wdblBM','Hjoqp','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','RRClH','test','results','finalResults','\x20(%dms)','RxQsN','mNNcn','titlePath','CBTSessionCreated','WnFMB','</code></pre></dd>','BEFORE_ALL','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','fail','scope','gnHSX','finished_at','removeAllListeners','ToLqz','dfNQs','5010828UUYgSg','title','\x20%s','KdeVh','CQTJK','eICss','UnhandledError','ssakM','../../../helpers/central-scanner/helpers','split','green','xDODl','GtZta','findGitConfig','constants','MOCHA','current_test','increaseIndent','DkpyY','oOItx','analyticsResult','type','KskIN','prefixTestPath','xunit','speed','gZzbl','_testResults','mocha/lib/utils.js','../../../helpers/logger','wDUZd','spec','2|1|4|0|3','winstonLogger','push','kAuat','../../../helpers/helper','237xhNkPi','length','\x20\x20<dd\x20class=\x22error\x22><pre><code>','LogCreated','slice','symbols','\x20\x20<dt\x20class=\x22error\x22>','trim','after\x20each','_buildCreated','pKSad','7178820fCwdRv','ZIxYc','runner','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','<section\x20class=\x22suite\x22>','util','PJoJn','Runner','currentRetry','stdout','\x20-\x20','../../../helpers/test-observability/constants','hook_run','../../../helpers/metadata','pending','HookFinished','relative','YViRi','test_run_uuid','write','FCwmX','ulEAp','dirname','bang','oTOwp','getTime','appendTestPlatform','HookStarted','4049526PPsrVr','_paths','yljWC','suite','tIQZs','call','Qxmng','FeWES','_testEnv','RVohm','TestRunSkipped','setCentralScannerData','<h1>','vKHpz','WLXys','JxOmU','uploadEventData','color','vsIDu','../test-observability/mochaUtils','file','setGlobal','XPtmG','mIKsR','currentTest','SGZtx','ciYbP','includes','mocha/lib/reporters/base.js','result','HookRunFinished','msamj','hfLPm','.git','location_prefix','prWUo','mocha','bs:addPlatformDetails:','LfUpr','clean','SfGXr','registerListeners','docAppend','\x20\x20<dt>','join','forEach','dpJgA','after\x20all','testanalyticsid','</section>','_indents','before\x20all','odmta','</h1>','hook_run_uuid','mocha/lib/runnable.js','passed','docHtml','yMLxt','bind','markedStatus','indent','RUNNING','XKPTd','pHVqQ','BEFORE_EACH','prototype','lZRiB','fullTitle','.js','VmZWh','exports','inspect','get','Zdtaa','EXdQL','escape','yzTbp','scopes','HLoyB','suites','TestRunStarted','Mocha','test_run','suiteCount','BTxxR','tkWgC','XXwri','OWAne','../../../helpers/testhub/constants','toISOString','reporterOption','XaGyw','COMPLETED','consoleLog','http_response','27511208GXiADB','testRunUUID','../../../helpers/test-observability/sessionHandler','../../../helpers/test-observability/utils','config','path','lqsno','integrations','AssertionError','HookRunStarted','fXACy','event_type','fnBvh','testObservability','retryOf','DxInV','vYaTV','dHIOt','kgaHe','Qihxu','3019112cDeAnm','failure_backtrace','CnvpI','AFTER_ALL'];a27_0x2e7f=function(){return _0x4b065e;};return a27_0x2e7f();}(function(_0x279022,_0x29fafd){const _0x17767e=a27_0x1651,_0x381677=_0x279022();while(!![]){try{const _0x41a328=-parseInt(_0x17767e(0x242))/0x1*(-parseInt(_0x17767e(0x206))/0x2)+-parseInt(_0x17767e(0x269))/0x3+-parseInt(_0x17767e(0x2dd))/0x4+-parseInt(_0x17767e(0x24d))/0x5+-parseInt(_0x17767e(0x21d))/0x6+parseInt(_0x17767e(0x2ff))/0x7+parseInt(_0x17767e(0x2c9))/0x8;if(_0x41a328===_0x29fafd)break;else _0x381677['push'](_0x381677['shift']());}catch(_0x2a244b){_0x381677['push'](_0x381677['shift']());}}}(a27_0x2e7f,0xaffb6));function a27_0x1651(_0x18cd40,_0x5b368f){const _0x2e7f28=a27_0x2e7f();return a27_0x1651=function(_0x1651d1,_0x19f894){_0x1651d1=_0x1651d1-0x1e8;let _0x2b4aa9=_0x2e7f28[_0x1651d1];return _0x2b4aa9;},a27_0x1651(_0x18cd40,_0x5b368f);}const util=require(a27_0x369c67(0x252)),fs=require('fs'),path=require(a27_0x369c67(0x2ce)),{requireModule,getCentralUser}=require(a27_0x369c67(0x241)),Base=requireModule(a27_0x369c67(0x285),a27_0x369c67(0x28d)),utils=requireModule(a27_0x369c67(0x239),a27_0x369c67(0x28d)),color=Base['color'],Mocha=requireModule(a27_0x369c67(0x28d)),Runnable=requireModule(a27_0x369c67(0x2a0),a27_0x369c67(0x28d)),{v4:uuidv4}=require(a27_0x369c67(0x2e8)),bsSetupHelper=require(a27_0x369c67(0x241)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x369c67(0x225)),testHubConstants=require(a27_0x369c67(0x2c2)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),globals=require('../../../helpers/globals'),logger=require(a27_0x369c67(0x23a))[a27_0x369c67(0x23e)],TestMetadata=require(a27_0x369c67(0x25a)),a27_0x124835={};a27_0x124835[a27_0x369c67(0x29c)]=a27_0x369c67(0x214),a27_0x124835[a27_0x369c67(0x298)]=a27_0x369c67(0x2e0),a27_0x124835['before\x20each']=a27_0x369c67(0x2aa),a27_0x124835[a27_0x369c67(0x24a)]=a27_0x369c67(0x1ea);const HOOK_TYPES_MAP=a27_0x124835,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x369c67(0x254)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x369c67(0x22b)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x369c67(0x27c)),{consoleHolder}=require(a27_0x369c67(0x258)),SessionHandler=require(a27_0x369c67(0x2cb)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x369c67(0x2cc)),RequestQueueHandler=require(a27_0x369c67(0x301)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x46b7a3,_0x273341){const _0x4f668f=a27_0x369c67,_0x3df81c={'XPtmG':function(_0x458f53,_0x308ae5){return _0x458f53===_0x308ae5;},'CQTJK':_0x4f668f(0x23c),'oTOwp':function(_0x35b684,_0x195f65){return _0x35b684===_0x195f65;},'ulEAp':function(_0x435be7,_0x307994){return _0x435be7+_0x307994;},'Qihxu':function(_0x4c743d,_0x37e598){return _0x4c743d+_0x37e598;},'HLoyB':function(_0x49bf9a,_0x243b9b,_0x445c2d){return _0x49bf9a(_0x243b9b,_0x445c2d);},'kRzxo':_0x4f668f(0x227),'kRVWr':_0x4f668f(0x2e2),'LfUpr':'light','GMEfV':'%s\x20-\x20%s','kgaHe':_0x4f668f(0x2a7),'wDUZd':function(_0x251c86,_0x43d042){return _0x251c86===_0x43d042;},'vKHpz':'doc','bYpkn':function(_0x5f3a40,_0x2e8ccf){return _0x5f3a40===_0x2e8ccf;},'prWUo':function(_0x2702bb){return _0x2702bb();},'ssakM':_0x4f668f(0x2d2),'vsIDu':function(_0x4f9864,_0x11b7f3){return _0x4f9864===_0x11b7f3;},'jMtKU':_0x4f668f(0x287),'CWnJc':_0x4f668f(0x2a1),'gnHSX':_0x4f668f(0x30d),'Zdtaa':'checkmark','FCwmX':'pass','Qxmng':_0x4f668f(0x21f),'EXdQL':function(_0x1a03c1,_0x50f0db){return _0x1a03c1+_0x50f0db;},'GtZta':function(_0x5880d2,_0x50fef4){return _0x5880d2+_0x50fef4;},'SGZtx':function(_0x380aa8,_0x542cef,_0x28966d){return _0x380aa8(_0x542cef,_0x28966d);},'ERpLB':function(_0x38aa87,_0xebd45f,_0x58abf9){return _0x38aa87(_0xebd45f,_0x58abf9);},'Hjoqp':function(_0x586c1c,_0x511b2f,_0x32056e){return _0x586c1c(_0x511b2f,_0x32056e);},'XKPTd':_0x4f668f(0x20d),'mNNcn':function(_0xaa5c39,_0x3e1fe8,_0x193fde){return _0xaa5c39(_0x3e1fe8,_0x193fde);},'xDODl':_0x4f668f(0x216),'wttGd':'\x20\x20%d)\x20%s','lywda':function(_0x4a2d42,_0x1d35b8){return _0x4a2d42+_0x1d35b8;},'DxInV':function(_0x188aad,_0xffe2cf,_0x2ff180){return _0x188aad(_0xffe2cf,_0x2ff180);},'PJoJn':'bright\x20yellow','ciYbP':function(_0x196e02,_0x1d8353,_0x1503b6){return _0x196e02(_0x1d8353,_0x1503b6);},'UPNJn':_0x4f668f(0x2c6),'lZRiB':function(_0x199af8,_0x593a94){return _0x199af8===_0x593a94;},'hfLPm':'dot','OWAne':'slow','ToLqz':function(_0x26c269,_0x1755c3){return _0x26c269===_0x1755c3;},'vhGkL':_0x4f668f(0x23d),'fgnJd':function(_0x1fb5e4,_0x4bddd8){return _0x1fb5e4===_0x4bddd8;},'KskIN':function(_0x48be65,_0x3f82ce){return _0x48be65===_0x3f82ce;},'FeWES':_0x4f668f(0x25b),'aaqWG':_0x4f668f(0x273),'rUQIQ':function(_0x106445,_0x583ad3){return _0x106445===_0x583ad3;},'fXACy':function(_0x114c58,_0x5d1e6c){return _0x114c58===_0x5d1e6c;},'NxNCq':function(_0x4cf661,_0xea353d){return _0x4cf661(_0xea353d);},'SPEYi':function(_0x8f19cf,_0x229421){return _0x8f19cf(_0x229421);},'lWsYd':function(_0x2fa4bf,_0x4e659a){return _0x2fa4bf===_0x4e659a;},'qlvJA':function(_0x2d165e){return _0x2d165e();},'QERLM':_0x4f668f(0x235),'RVohm':function(_0x58fbc4,_0x573e60,_0x160dc6){return _0x58fbc4(_0x573e60,_0x160dc6);},'IGTrI':_0x4f668f(0x28d),'KdeVh':function(_0xb796dd,_0x1dbae9){return _0xb796dd(_0x1dbae9);},'XaGyw':function(_0x416a02,_0x502fe1){return _0x416a02!==_0x502fe1;}};this[_0x4f668f(0x232)]=_0x273341[_0x4f668f(0x2c4)][_0x4f668f(0x232)],this[_0x4f668f(0x2d6)]=_0x3df81c[_0x4f668f(0x1f9)](isTestObservabilitySession),Base[_0x4f668f(0x26e)](this,_0x46b7a3,_0x273341),this[_0x4f668f(0x29b)]=0x0,this[_0x4f668f(0x307)]=0x0,this[_0x4f668f(0x20b)]=[],this[_0x4f668f(0x20c)]=[],this[_0x4f668f(0x2bd)]=0x0,this[_0x4f668f(0x24b)]=![],this[_0x4f668f(0x238)]=[],this[_0x4f668f(0x271)]=_0x3df81c[_0x4f668f(0x28c)](getTestEnv),this[_0x4f668f(0x26a)]=new PathHelper({'cwd':process['cwd']()},this[_0x4f668f(0x271)][_0x4f668f(0x28b)]),this[_0x4f668f(0x2ee)]=_0x273341[_0x4f668f(0x2c4)]['bsConfig'],this[_0x4f668f(0x292)]();_0x3df81c[_0x4f668f(0x27f)](this[_0x4f668f(0x232)],_0x3df81c[_0x4f668f(0x276)])&&(this[_0x4f668f(0x2a2)]='',this[_0x4f668f(0x312)]=0x2);_0x46b7a3[_0x4f668f(0x200)](EVENT_RUN_BEGIN,async()=>{const _0x168d5c=_0x4f668f;_0x3df81c['XPtmG'](this['type'],_0x3df81c[_0x168d5c(0x221)])&&Base[_0x168d5c(0x2c7)]();})['on'](EVENT_SUITE_BEGIN,_0x58a8a0=>{const _0x29a42d=_0x4f668f;if(_0x58a8a0[_0x29a42d(0x314)])return;if(_0x3df81c[_0x29a42d(0x265)](this['type'],_0x3df81c['CQTJK']))this[_0x29a42d(0x22e)](),Base[_0x29a42d(0x2c7)](_0x3df81c[_0x29a42d(0x262)](_0x3df81c[_0x29a42d(0x2dc)](this['indent'](),_0x3df81c[_0x29a42d(0x2b8)](color,_0x3df81c[_0x29a42d(0x2f5)],_0x3df81c[_0x29a42d(0x203)])),_0x3df81c[_0x29a42d(0x2b8)](color,_0x3df81c[_0x29a42d(0x28f)],_0x3df81c[_0x29a42d(0x201)])),_0x3df81c[_0x29a42d(0x2db)],_0x58a8a0[_0x29a42d(0x21e)],global[_0x29a42d(0x2f4)]);else _0x3df81c[_0x29a42d(0x23b)](this['type'],_0x3df81c[_0x29a42d(0x276)])&&(this[_0x29a42d(0x293)](this[_0x29a42d(0x2a6)]()+_0x29a42d(0x251)),++this[_0x29a42d(0x312)],this[_0x29a42d(0x293)](this['indent']()+_0x29a42d(0x275)+utils[_0x29a42d(0x2b5)](_0x58a8a0[_0x29a42d(0x21e)]+_0x29a42d(0x257)+global[_0x29a42d(0x2f4)])+_0x29a42d(0x29e)),this['docAppend'](this['indent']()+_0x29a42d(0x2fa)));})['on'](EVENT_HOOK_BEGIN,async _0x1b2bf9=>{const _0x43530d=_0x4f668f;if(_0x3df81c['bYpkn'](testhubUtils[_0x43530d(0x30c)](testHubConstants[_0x43530d(0x1ec)][_0x43530d(0x268)]),!![])){if(!_0x1b2bf9['hookAnalyticsId'])_0x1b2bf9[_0x43530d(0x316)]=_0x3df81c[_0x43530d(0x28c)](uuidv4);else _0x1b2bf9[_0x43530d(0x2a5)]&&(_0x1b2bf9['hookAnalyticsId']=_0x3df81c[_0x43530d(0x28c)](uuidv4),delete _0x1b2bf9[_0x43530d(0x2a5)]);_0x1b2bf9[_0x43530d(0x2eb)]=new Date()[_0x43530d(0x2c3)](),this[_0x43530d(0x2f0)]=_0x1b2bf9,await this[_0x43530d(0x1fb)](_0x1b2bf9,undefined,![],_0x3df81c[_0x43530d(0x224)]);}})['on'](EVENT_HOOK_END,async _0x108487=>{const _0x294c83=_0x4f668f;_0x3df81c[_0x294c83(0x27b)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT']['HookFinished']),!![])&&(!_0x108487[_0x294c83(0x2a5)]&&(_0x108487[_0x294c83(0x2a5)]=!![],await this[_0x294c83(0x1fb)](_0x108487,undefined,![],_0x3df81c[_0x294c83(0x2ef)])));})['on'](EVENT_SUITE_END,_0x2954f6=>{const _0x11b2d4=_0x4f668f;if(_0x2954f6['root'])return;if(_0x3df81c[_0x11b2d4(0x27f)](this[_0x11b2d4(0x232)],_0x3df81c['CQTJK']))Base['consoleLog'](),Base[_0x11b2d4(0x2c7)](_0x3df81c['ulEAp'](_0x3df81c[_0x11b2d4(0x2fb)](this[_0x11b2d4(0x2a6)](),_0x3df81c[_0x11b2d4(0x2d8)](color,_0x3df81c[_0x11b2d4(0x253)],_0x3df81c['kRVWr'])),_0x3df81c[_0x11b2d4(0x283)](color,_0x3df81c['LfUpr'],_0x3df81c[_0x11b2d4(0x201)])),_0x3df81c['UPNJn'],_0x2954f6[_0x11b2d4(0x21e)],global[_0x11b2d4(0x2f4)]),this[_0x11b2d4(0x20b)][_0x11b2d4(0x296)](_0xf732f=>{const _0x266a0b=_0x11b2d4;if(_0x3df81c['vsIDu'](_0xf732f[_0x266a0b(0x1ed)],_0x3df81c['CWnJc'])){var _0x4fbf89;_0x3df81c[_0x266a0b(0x27f)](_0xf732f[_0x266a0b(0x236)],_0x3df81c[_0x266a0b(0x218)])?(_0x4fbf89=_0x3df81c['Qihxu'](_0x3df81c['Qihxu'](this[_0x266a0b(0x2a6)](),_0x3df81c[_0x266a0b(0x2b8)](color,_0x3df81c[_0x266a0b(0x2b3)],_0x3df81c[_0x266a0b(0x262)]('\x20\x20',Base[_0x266a0b(0x247)]['ok']))),_0x3df81c[_0x266a0b(0x2b8)](color,_0x3df81c[_0x266a0b(0x261)],_0x3df81c[_0x266a0b(0x26f)])),Base[_0x266a0b(0x2c7)](_0x4fbf89,_0xf732f[_0x266a0b(0x21e)])):(_0x4fbf89=_0x3df81c[_0x266a0b(0x2b4)](_0x3df81c[_0x266a0b(0x229)](_0x3df81c[_0x266a0b(0x2dc)](this['indent'](),_0x3df81c[_0x266a0b(0x282)](color,_0x3df81c['Zdtaa'],_0x3df81c[_0x266a0b(0x2b4)]('\x20\x20',Base[_0x266a0b(0x247)]['ok']))),_0x3df81c[_0x266a0b(0x1ee)](color,_0x3df81c['FCwmX'],_0x3df81c[_0x266a0b(0x26f)])),_0x3df81c[_0x266a0b(0x207)](color,_0xf732f['speed'],_0x3df81c[_0x266a0b(0x2a8)])),Base[_0x266a0b(0x2c7)](_0x4fbf89,_0xf732f[_0x266a0b(0x21e)],_0xf732f[_0x266a0b(0x2f7)]));}else Base[_0x266a0b(0x2c7)](_0x3df81c[_0x266a0b(0x229)](this[_0x266a0b(0x2a6)](),_0x3df81c[_0x266a0b(0x20f)](color,_0x3df81c[_0x266a0b(0x228)],_0x3df81c['wttGd'])),++this[_0x266a0b(0x307)],_0xf732f[_0x266a0b(0x21e)]);}),this[_0x11b2d4(0x1f2)]();else _0x3df81c[_0x11b2d4(0x27f)](this[_0x11b2d4(0x232)],_0x3df81c[_0x11b2d4(0x276)])&&(this['docAppend'](this['indent']()+'</dl>'),--this['__indents'],this[_0x11b2d4(0x293)](this[_0x11b2d4(0x2a6)]()+_0x11b2d4(0x29a)),--this[_0x11b2d4(0x312)]);Array[_0x11b2d4(0x2ab)][_0x11b2d4(0x23f)][_0x11b2d4(0x202)](this['finalResults'],this[_0x11b2d4(0x20b)]),this[_0x11b2d4(0x20b)]=[];})['on'](EVENT_TEST_PASS,async _0x5ae489=>{const _0x154ac9=_0x4f668f;this['results'][_0x154ac9(0x23f)]({'speed':_0x5ae489[_0x154ac9(0x236)],'suite':_0x5ae489[_0x154ac9(0x2e3)][_0x154ac9(0x21e)],'title':_0x5ae489['title'],'fullTitle':_0x5ae489[_0x154ac9(0x2ad)](),'duration':_0x5ae489[_0x154ac9(0x2f7)],'state':_0x5ae489[_0x154ac9(0x1ed)],'err':{},'currentRetry':_0x5ae489['currentRetry'](),'titlePathV':_0x5ae489[_0x154ac9(0x210)](),'isPending':_0x5ae489['isPending']()});if(_0x3df81c[_0x154ac9(0x2ac)](this['type'],_0x3df81c[_0x154ac9(0x289)]))_0x3df81c['oTOwp'](_0x5ae489[_0x154ac9(0x236)],_0x3df81c[_0x154ac9(0x2c1)])?process[_0x154ac9(0x256)][_0x154ac9(0x260)](Base['color'](_0x3df81c[_0x154ac9(0x253)],Base['symbols'][_0x154ac9(0x1fc)])):process[_0x154ac9(0x256)][_0x154ac9(0x260)](Base[_0x154ac9(0x27a)](_0x5ae489[_0x154ac9(0x236)],Base[_0x154ac9(0x247)][_0x154ac9(0x1fc)]));else{if(_0x3df81c[_0x154ac9(0x21b)](this[_0x154ac9(0x232)],_0x3df81c['vKHpz'])){this[_0x154ac9(0x293)](this[_0x154ac9(0x2a6)]()+_0x154ac9(0x294)+utils[_0x154ac9(0x2b5)](_0x5ae489[_0x154ac9(0x21e)])+_0x154ac9(0x2f9)),this[_0x154ac9(0x293)](this[_0x154ac9(0x2a6)]()+_0x154ac9(0x294)+utils[_0x154ac9(0x2b5)](_0x5ae489[_0x154ac9(0x27d)])+'</dt>');var _0x823f01=utils[_0x154ac9(0x2b5)](utils[_0x154ac9(0x290)](_0x5ae489[_0x154ac9(0x1eb)]));this[_0x154ac9(0x293)](this['indent']()+'\x20\x20<dd><pre><code>'+_0x823f01+_0x154ac9(0x213));}}_0x3df81c[_0x154ac9(0x265)](testhubUtils[_0x154ac9(0x30c)](),!![])&&(!_0x5ae489[_0x154ac9(0x2a5)]&&(_0x5ae489[_0x154ac9(0x2a5)]=!![],await this[_0x154ac9(0x1fb)](_0x5ae489)));})['on'](EVENT_TEST_FAIL,async(_0x434603,_0x459509)=>{const _0x1bcb7d=_0x4f668f;this[_0x1bcb7d(0x20b)][_0x1bcb7d(0x23f)]({'title':_0x434603[_0x1bcb7d(0x21e)],'suite':_0x434603['parent'][_0x1bcb7d(0x21e)],'state':_0x434603[_0x1bcb7d(0x1ed)],'err':{'message':util[_0x1bcb7d(0x2b1)](_0x459509)},'fullTitle':_0x434603[_0x1bcb7d(0x2ad)](),'speed':_0x434603['speed'],'currentRetry':_0x434603[_0x1bcb7d(0x255)](),'titlePathV':_0x434603['titlePath']()});if(_0x3df81c[_0x1bcb7d(0x23b)](this[_0x1bcb7d(0x232)],_0x3df81c[_0x1bcb7d(0x289)]))process[_0x1bcb7d(0x256)]['write'](Base[_0x1bcb7d(0x27a)](_0x3df81c[_0x1bcb7d(0x228)],Base['symbols'][_0x1bcb7d(0x264)]));else{if(_0x3df81c['ToLqz'](this[_0x1bcb7d(0x232)],_0x3df81c[_0x1bcb7d(0x276)])){const _0x106a6a=_0x3df81c['vhGkL'][_0x1bcb7d(0x226)]('|');let _0x45f6ce=0x0;while(!![]){switch(_0x106a6a[_0x45f6ce++]){case'0':this[_0x1bcb7d(0x293)](this['indent']()+_0x1bcb7d(0x244)+_0x5ea7b0+_0x1bcb7d(0x213));continue;case'1':this['docAppend'](this[_0x1bcb7d(0x2a6)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x434603[_0x1bcb7d(0x27d)])+_0x1bcb7d(0x2f9));continue;case'2':this[_0x1bcb7d(0x293)](this['indent']()+_0x1bcb7d(0x248)+utils['escape'](_0x434603['title'])+_0x1bcb7d(0x2f9));continue;case'3':this[_0x1bcb7d(0x293)](this[_0x1bcb7d(0x2a6)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x1bcb7d(0x2b5)](_0x434603[_0x1bcb7d(0x2ea)])+'</dd>');continue;case'4':var _0x5ea7b0=utils[_0x1bcb7d(0x2b5)](utils[_0x1bcb7d(0x290)](_0x434603[_0x1bcb7d(0x1eb)]));continue;}break;}}}if(_0x3df81c[_0x1bcb7d(0x1f7)](testhubUtils[_0x1bcb7d(0x30c)](testHubConstants['EVENT'][_0x1bcb7d(0x25c)]),!![])){if(!_0x434603[_0x1bcb7d(0x2a5)]){_0x434603[_0x1bcb7d(0x2a5)]=!![];if(_0x434603[_0x1bcb7d(0x204)])await this[_0x1bcb7d(0x1fb)](_0x434603,_0x459509);else _0x434603['hookAnalyticsId']&&await this[_0x1bcb7d(0x1fb)](_0x434603,_0x459509,![],_0x3df81c['jMtKU']);}}})['on'](EVENT_TEST_PENDING,async _0x471fe6=>{const _0x6f6942=_0x4f668f;this['results'][_0x6f6942(0x23f)]({'title':_0x471fe6['title'],'suite':_0x471fe6[_0x6f6942(0x2e3)][_0x6f6942(0x21e)],'state':_0x471fe6['state'],'err':{},'fullTitle':_0x471fe6['fullTitle'](),'speed':_0x471fe6[_0x6f6942(0x236)],'currentRetry':_0x471fe6[_0x6f6942(0x255)](),'titlePathV':_0x471fe6[_0x6f6942(0x210)]()}),_0x3df81c[_0x6f6942(0x233)](this[_0x6f6942(0x232)],_0x3df81c[_0x6f6942(0x289)])&&process['stdout'][_0x6f6942(0x260)](Base['color'](_0x3df81c[_0x6f6942(0x270)],Base[_0x6f6942(0x247)]['comma'])),_0x3df81c[_0x6f6942(0x23b)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x471fe6[_0x6f6942(0x204)]&&(_0x471fe6[_0x6f6942(0x204)]=_0x3df81c[_0x6f6942(0x28c)](uuidv4)),!_0x471fe6[_0x6f6942(0x2a5)]&&(_0x471fe6[_0x6f6942(0x2a5)]=!![],await this[_0x6f6942(0x1fb)](_0x471fe6,undefined,![],_0x3df81c[_0x6f6942(0x1fe)])));})['on'](EVENT_TEST_BEGIN,async _0x3b2692=>{const _0x4d220b=_0x4f668f;_0x3df81c[_0x4d220b(0x1f6)](testhubUtils[_0x4d220b(0x30c)](),!![])&&await this['testStarted'](_0x3b2692);})['on'](EVENT_TEST_END,async _0x27dca5=>{const _0x240865=_0x4f668f;_0x3df81c[_0x240865(0x2d3)](testhubUtils[_0x240865(0x30c)](),!![])&&(!_0x27dca5[_0x240865(0x2a5)]&&(_0x27dca5[_0x240865(0x2a5)]=!![],await this[_0x240865(0x1fb)](_0x27dca5)));})[_0x4f668f(0x200)](EVENT_RUN_END,async()=>{const _0x1d3fa9=_0x4f668f;try{if(_0x3df81c[_0x1d3fa9(0x233)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x1b272d=_0x3df81c['NxNCq'](getHookSkippedTests,this[_0x1d3fa9(0x24f)][_0x1d3fa9(0x26c)]);for(const _0x190967 of _0x1b272d){!_0x190967[_0x1d3fa9(0x204)]&&(_0x190967[_0x1d3fa9(0x204)]=_0x3df81c['prWUo'](uuidv4)),await this[_0x1d3fa9(0x1fb)](_0x190967,undefined,![],_0x3df81c[_0x1d3fa9(0x1fe)]);}}}catch(_0x3daac3){_0x3df81c['SPEYi'](debug,_0x1d3fa9(0x1f5)+_0x3daac3);}await requestQueueHandler['shutdown'](),_0x3df81c['lWsYd'](this[_0x1d3fa9(0x232)],_0x3df81c[_0x1d3fa9(0x276)])&&Base['consoleLog'](this[_0x1d3fa9(0x2a2)]);});if(this[_0x4f668f(0x232)]&&![_0x3df81c[_0x4f668f(0x276)],_0x3df81c['QERLM'],_0x3df81c[_0x4f668f(0x221)],_0x3df81c[_0x4f668f(0x289)]][_0x4f668f(0x284)](this[_0x4f668f(0x232)])){const _0x1726d2=this[_0x4f668f(0x232)][_0x4f668f(0x249)]();this['Reporter']=null;try{this[_0x4f668f(0x2f1)]=_0x3df81c[_0x4f668f(0x272)](requireModule,_0x4f668f(0x2e7)+_0x1726d2+_0x4f668f(0x2ae),_0x3df81c[_0x4f668f(0x303)]);}catch(_0x5c3f08){_0x3df81c['SPEYi'](debug,_0x4f668f(0x250)+_0x5c3f08);}if(_0x3df81c[_0x4f668f(0x1f6)](this['Reporter'],null))try{this[_0x4f668f(0x2f1)]=_0x3df81c[_0x4f668f(0x220)](require,_0x1726d2);}catch(_0x261458){console[_0x4f668f(0x300)]('Failed\x20to\x20load\x20reporter\x20'+_0x1726d2);}if(_0x3df81c[_0x4f668f(0x2c5)](this[_0x4f668f(0x2f1)],null)){const _0x4cfc77={};_0x4cfc77['reporterOptions']=_0x273341[_0x4f668f(0x2c4)],this[_0x4f668f(0x2f1)]=new this[(_0x4f668f(0x2f1))](_0x46b7a3,_0x4cfc77);}}}[a27_0x369c67(0x2a6)](){const _0x4bd75c=a27_0x369c67,_0x5e4f6b={'otSbz':function(_0x19d08f,_0x12ae6b){return _0x19d08f(_0x12ae6b);}};return _0x5e4f6b[_0x4bd75c(0x2f3)](Array,this['_indents'])[_0x4bd75c(0x295)]('\x20\x20');}[a27_0x369c67(0x22e)](){const _0x4f29cb=a27_0x369c67;this[_0x4f29cb(0x29b)]++;}[a27_0x369c67(0x1f2)](){const _0x444c96=a27_0x369c67;this[_0x444c96(0x29b)]--;}['docAppend'](_0x9250a4){const _0x504a98=a27_0x369c67;this[_0x504a98(0x2a2)]+=_0x9250a4;}['done'](_0x3a9288,_0x4e3754){const _0x240a68=a27_0x369c67,_0x4f8a60={'vYaTV':function(_0x5ee65c,_0x5079c4){return _0x5ee65c(_0x5079c4);}},_0x4852ae={};_0x4852ae['failureCount']=_0x3a9288,_0x4852ae['results']=this['finalResults'],_0x4f8a60[_0x240a68(0x2d9)](_0x4e3754,_0x4852ae);}['registerListeners'](){const _0x168ad1=a27_0x369c67;process[_0x168ad1(0x21a)](_0x168ad1(0x2e9)+process[_0x168ad1(0x1f8)]),process['on'](_0x168ad1(0x2e9)+process[_0x168ad1(0x1f8)],this[_0x168ad1(0x305)][_0x168ad1(0x2a4)](this)),process['removeAllListeners'](_0x168ad1(0x28e)+process['pid']),process['on'](_0x168ad1(0x28e)+process[_0x168ad1(0x1f8)],this[_0x168ad1(0x267)]['bind'](this));}['testStarted']=async _0x2f655f=>{const _0xb21e4c=a27_0x369c67,_0x1d86a9={'OMrvu':function(_0x378286){return _0x378286();},'RHBoU':_0xb21e4c(0x2ca),'dpJgA':function(_0x3c57ea,_0x4dd255){return _0x3c57ea>_0x4dd255;},'XXwri':function(_0x32a012,_0x1f8fd6){return _0x32a012===_0x1f8fd6;},'tIQZs':_0xb21e4c(0x2ba),'yMLxt':function(_0x6777a4,_0x3091e2){return _0x6777a4(_0x3091e2);}};try{const _0x5cbb29=this[_0xb21e4c(0x22d)];this['current_test']=_0x2f655f,_0x2f655f[_0xb21e4c(0x2d7)]=null,_0x2f655f['testAnalyticsId']=_0x1d86a9['OMrvu'](uuidv4),globals[_0xb21e4c(0x27e)](_0x1d86a9[_0xb21e4c(0x1f3)],_0x2f655f[_0xb21e4c(0x204)]),_0x2f655f[_0xb21e4c(0x2eb)]=new Date()['toISOString'](),_0x1d86a9[_0xb21e4c(0x297)](_0x2f655f['_currentRetry'],0x0)&&_0x5cbb29&&_0x1d86a9[_0xb21e4c(0x2c0)](_0x5cbb29[_0xb21e4c(0x21e)],_0x2f655f[_0xb21e4c(0x21e)])?(_0x2f655f[_0xb21e4c(0x2d7)]=_0x5cbb29[_0xb21e4c(0x204)],await this[_0xb21e4c(0x1fb)](_0x2f655f,undefined,![],_0x1d86a9[_0xb21e4c(0x26d)]),_0x5cbb29['state']=STATE_FAILED,await this['sendTestRunEvent'](_0x5cbb29,undefined,!![])):await this['sendTestRunEvent'](_0x2f655f,undefined,![],_0x1d86a9[_0xb21e4c(0x26d)]);}catch(_0x79c928){_0x1d86a9[_0xb21e4c(0x2a3)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x79c928);}};[a27_0x369c67(0x1fb)]=async(_0x225b56,_0x1c0c90=undefined,_0x36a304=![],_0x1d0d54=a27_0x369c67(0x2e4))=>{const _0x351fc8=a27_0x369c67,_0x2ce90c={'pHVqQ':function(_0x22b5eb,_0x469bc0){return _0x22b5eb===_0x469bc0;},'TnXds':function(_0x21670e,_0x449c25){return _0x21670e!==_0x449c25;},'DkpyY':_0x351fc8(0x20a),'ZIxYc':_0x351fc8(0x2ea),'cVKkb':'File\x20path\x20could\x20not\x20be\x20found','gZzbl':_0x351fc8(0x2bb),'Fmbnq':'javascript','IuhZC':_0x351fc8(0x273),'JxOmU':'skipped','dVVvl':function(_0x3cc625,_0x5bf4a8){return _0x3cc625-_0x5bf4a8;},'oOItx':_0x351fc8(0x2d1),'tkWgC':_0x351fc8(0x223),'BTxxR':_0x351fc8(0x2e4),'UnqrZ':'TestRunStarted','msamj':function(_0x109c17){return _0x109c17();},'fFZuY':function(_0x4b6176,_0x537a70){return _0x4b6176===_0x537a70;},'TcTxa':_0x351fc8(0x2eb),'WnFMB':_0x351fc8(0x219),'YjKcx':function(_0x1f363e,_0x487b90){return _0x1f363e(_0x487b90);},'RxQsN':function(_0xb669ca,_0x156355){return _0xb669ca===_0x156355;},'HlhKc':_0x351fc8(0x287),'nVQfo':function(_0x37f91a,_0x1b6b8b){return _0x37f91a!==_0x1b6b8b;},'mKEDI':_0x351fc8(0x310),'VmZWh':_0x351fc8(0x2a1),'odmta':'before\x20each','xhEQp':_0x351fc8(0x313),'kAuat':_0x351fc8(0x2de),'Ttatv':'backtrace','oYpeW':_0x351fc8(0x30f),'TBshS':_0x351fc8(0x205),'dfNQs':function(_0x3a2341,_0x107024){return _0x3a2341(_0x107024);},'SfGXr':function(_0x3be1e3,_0x3072db){return _0x3be1e3===_0x3072db;},'fnBvh':_0x351fc8(0x1f4),'CnvpI':_0x351fc8(0x259),'pBJUc':_0x351fc8(0x2bc),'FsPfQ':function(_0x240d33,_0x549293){return _0x240d33(_0x549293);}};try{if(_0x225b56[_0x351fc8(0x1eb)]&&_0x225b56[_0x351fc8(0x1eb)][_0x351fc8(0x2fc)](/browserstack internal helper hook/))return;let _0x3f0034=[];if(_0x2ce90c[_0x351fc8(0x2a9)](_0x225b56[_0x351fc8(0x1ed)],STATE_FAILED)){if(_0x2ce90c[_0x351fc8(0x2e5)](_0x225b56[_0x351fc8(0x2ea)],undefined))_0x3f0034=_0x225b56['err']['multiple']?[_0x225b56[_0x351fc8(0x2ea)]['multiple'],_0x2ce90c[_0x351fc8(0x22f)]]:[_0x225b56[_0x351fc8(0x2ea)],_0x2ce90c['ZIxYc']];else _0x2ce90c[_0x351fc8(0x2e5)](_0x1c0c90,undefined)?_0x3f0034=[_0x1c0c90,_0x2ce90c[_0x351fc8(0x24e)]]:_0x3f0034=[];}const _0x4ec284=_0x2ce90c[_0x351fc8(0x2e5)](_0x225b56[_0x351fc8(0x2ea)],undefined)?_0x225b56[_0x351fc8(0x2ea)][_0x351fc8(0x317)]():_0x2ce90c[_0x351fc8(0x2e5)](_0x1c0c90,undefined)?_0x1c0c90[_0x351fc8(0x317)]():undefined;let _0x5538f0;try{_0x5538f0=this[_0x351fc8(0x30a)](_0x225b56);}catch(_0x3808b9){_0x5538f0=null;}const _0x13b998=_0x5538f0?this[_0x351fc8(0x22a)](_0x5538f0):null,_0x46753b=_0x5538f0?this[_0x351fc8(0x26a)][_0x351fc8(0x234)](this[_0x351fc8(0x30a)](_0x225b56)):_0x2ce90c[_0x351fc8(0x308)],_0x439471={'framework':_0x2ce90c[_0x351fc8(0x237)],'uuid':_0x225b56['testAnalyticsId']||_0x225b56[_0x351fc8(0x316)],'name':_0x225b56[_0x351fc8(0x21e)],'body':{'lang':_0x2ce90c[_0x351fc8(0x2f8)],'code':_0x225b56[_0x351fc8(0x1eb)]},'scope':this[_0x351fc8(0x217)](_0x225b56),'scopes':this[_0x351fc8(0x2b7)](_0x225b56),'identifier':_0x225b56[_0x351fc8(0x2ad)](),'file_name':_0x46753b,'vc_filepath':_0x13b998?path[_0x351fc8(0x25d)](_0x13b998,_0x5538f0):null,'location':_0x46753b,'result':_0x2ce90c[_0x351fc8(0x2a9)](_0x1d0d54,_0x2ce90c['IuhZC'])?_0x2ce90c[_0x351fc8(0x278)]:this['analyticsResult'](_0x225b56[_0x351fc8(0x1ed)]),'failure_reason':_0x4ec284,'duration_in_ms':_0x225b56[_0x351fc8(0x2f7)]||(_0x1d0d54['match'](/Finished/)||_0x1d0d54[_0x351fc8(0x2fc)](/Skipped/)?_0x2ce90c[_0x351fc8(0x315)](Date[_0x351fc8(0x1fd)](),new Date(_0x225b56[_0x351fc8(0x2eb)])[_0x351fc8(0x266)]()):null),'started_at':_0x225b56[_0x351fc8(0x2eb)],'finished_at':_0x1d0d54[_0x351fc8(0x2fc)](/Finished/)||_0x1d0d54[_0x351fc8(0x2fc)](/Skipped/)?new Date()[_0x351fc8(0x2c3)]():null,'failure':failureData[_0x351fc8(0x202)](null,_0x3f0034),'failure_type':!_0x4ec284?null:_0x4ec284['match'](/AssertionError/)?_0x2ce90c[_0x351fc8(0x230)]:_0x2ce90c[_0x351fc8(0x2bf)],'retry_of':_0x225b56[_0x351fc8(0x2d7)]};if([_0x2ce90c[_0x351fc8(0x2ec)],_0x2ce90c[_0x351fc8(0x2be)],_0x2ce90c['UnqrZ']][_0x351fc8(0x284)](_0x1d0d54)){if(_0x2ce90c[_0x351fc8(0x288)](getCentralUser)[_0x351fc8(0x1e9)]){const _0x4a6530=TestMetadata[_0x351fc8(0x2b2)](_0x225b56[_0x351fc8(0x299)]);if(_0x4a6530){const _0x40c9ce={};_0x40c9ce['lcnc']=_0x4a6530,Object[_0x351fc8(0x2e6)](_0x439471,_0x40c9ce);}}}testhubUtils[_0x351fc8(0x2f6)](_0x439471,_0x1d0d54,_0x225b56,FRAMEWORKS[_0x351fc8(0x22c)]);(_0x225b56[_0x351fc8(0x2fe)]||_0x225b56[_0x351fc8(0x2f2)])&¢ralScannerUtils[_0x351fc8(0x274)](_0x439471,_0x225b56['responseCode'],_0x225b56[_0x351fc8(0x2f2)]);_0x2ce90c[_0x351fc8(0x1f0)](_0x1d0d54,_0x2ce90c['IuhZC'])&&!_0x439471[_0x2ce90c[_0x351fc8(0x304)]]&&(_0x439471[_0x2ce90c[_0x351fc8(0x304)]]=_0x439471[_0x2ce90c[_0x351fc8(0x212)]]);if(_0x1d0d54['match'](/HookRun/))[_0x439471[_0x351fc8(0x1f4)],_0x439471['name']]=_0x2ce90c['YjKcx'](getHookDetails,_0x225b56[_0x351fc8(0x2ad)]()||_0x225b56[_0x351fc8(0x30e)]||_0x225b56[_0x351fc8(0x21e)]),_0x2ce90c[_0x351fc8(0x20e)](_0x1d0d54,_0x2ce90c['HlhKc'])&&(_0x2ce90c[_0x351fc8(0x30b)](_0x439471[_0x351fc8(0x286)],_0x2ce90c[_0x351fc8(0x306)])&&(_0x439471[_0x351fc8(0x286)]=_0x2ce90c[_0x351fc8(0x2af)]),_0x2ce90c[_0x351fc8(0x1f0)](_0x439471[_0x351fc8(0x1f4)],_0x2ce90c[_0x351fc8(0x29d)])&&_0x2ce90c['RxQsN'](_0x439471[_0x351fc8(0x286)],_0x2ce90c[_0x351fc8(0x306)])&&!_0x225b56[_0x351fc8(0x302)]['currentTest'][_0x351fc8(0x2a5)]&&(_0x225b56[_0x351fc8(0x302)][_0x351fc8(0x281)][_0x351fc8(0x2a5)]=!![],_0x225b56['ctx'][_0x351fc8(0x281)][_0x351fc8(0x1ed)]=STATE_FAILED,await this['sendTestRunEvent'](_0x225b56[_0x351fc8(0x302)][_0x351fc8(0x281)],undefined,!![])));else _0x1d0d54[_0x351fc8(0x2fc)](/TestRun/)&&_0x2ce90c[_0x351fc8(0x1ef)](mapTestHooks,_0x225b56);const _0x5316a7=_0x439471[_0x2ce90c['xhEQp']][0x0];_0x5316a7&&(_0x439471[_0x2ce90c[_0x351fc8(0x240)]]=_0x5316a7[_0x2ce90c['Ttatv']],_0x439471[_0x2ce90c[_0x351fc8(0x1fa)]]=_0x5316a7[_0x2ce90c[_0x351fc8(0x311)]]);[_0x2ce90c[_0x351fc8(0x2be)],_0x2ce90c[_0x351fc8(0x2ec)]][_0x351fc8(0x284)](_0x1d0d54)&&(this[_0x351fc8(0x238)][_0x351fc8(0x23f)](_0x439471),_0x439471[_0x351fc8(0x309)]=_0x2ce90c[_0x351fc8(0x21c)](getHooksForTest,_0x225b56));const _0x3ada4d={'event_type':_0x2ce90c[_0x351fc8(0x291)](_0x1d0d54,_0x2ce90c[_0x351fc8(0x2ec)])?_0x2ce90c[_0x351fc8(0x2be)]:_0x1d0d54};_0x1d0d54['match'](/HookRun/)?(_0x439471[_0x2ce90c[_0x351fc8(0x2d5)]]=HOOK_TYPES_MAP[_0x439471[_0x2ce90c['fnBvh']]],_0x3ada4d[_0x2ce90c[_0x351fc8(0x2df)]]=_0x439471):_0x3ada4d[_0x2ce90c['pBJUc']]=_0x439471,testhubUtils['setCurrentTestData'](FRAMEWORKS['MOCHA'],_0x3ada4d),await SessionHandler[_0x351fc8(0x279)](_0x3ada4d);}catch(_0x101c05){_0x2ce90c['FsPfQ'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1d0d54+'\x20with\x20error\x20:\x20'+_0x101c05);}};[a27_0x369c67(0x22a)](_0x1073e3){const _0x32d7f0=a27_0x369c67,_0xe3bbb3={};_0xe3bbb3[_0x32d7f0(0x2e1)]=function(_0x537e91,_0x2cbab9){return _0x537e91===_0x2cbab9;},_0xe3bbb3['TRfgU']=function(_0x55eda7,_0x49555b){return _0x55eda7===_0x49555b;},_0xe3bbb3[_0x32d7f0(0x1f1)]=_0x32d7f0(0x28a),_0xe3bbb3[_0x32d7f0(0x2da)]=_0x32d7f0(0x2cd);const _0x36ebbc=_0xe3bbb3,_0x28efaf=path[_0x32d7f0(0x1ff)];if(_0x36ebbc[_0x32d7f0(0x2e1)](_0x1073e3,null)||_0x36ebbc[_0x32d7f0(0x2e1)](_0x1073e3,'')||_0x36ebbc['tRYaN'](_0x1073e3,_0x28efaf)||_0x36ebbc['TRfgU'](_0x1073e3,path[_0x32d7f0(0x263)](_0x1073e3)))return null;try{return fs['statSync'](path[_0x32d7f0(0x295)](_0x1073e3,_0x36ebbc[_0x32d7f0(0x1f1)],_0x36ebbc['dHIOt'])),_0x1073e3;}catch(_0xb8eb91){const _0x58f33e=path['dirname'](_0x1073e3);return this[_0x32d7f0(0x22a)](_0x58f33e);}}[a27_0x369c67(0x305)]=async _0x2c9cf9=>{const _0x25b198=a27_0x369c67,_0x3a3b72={'mIKsR':_0x25b198(0x245),'YViRi':function(_0x472217,_0x1119a7){return _0x472217(_0x1119a7);}};try{this[_0x25b198(0x2f0)]&&!this['current_hook']['markedStatus']&&(_0x2c9cf9['hook_run_uuid']=this['current_hook'][_0x25b198(0x316)]);!_0x2c9cf9[_0x25b198(0x29f)]&&this['current_test']&&!this[_0x25b198(0x22d)][_0x25b198(0x2a5)]&&(_0x2c9cf9['test_run_uuid']=this[_0x25b198(0x22d)]['testAnalyticsId']);if(_0x2c9cf9[_0x25b198(0x29f)]||_0x2c9cf9[_0x25b198(0x25f)]){const _0x2ae789={};_0x2ae789[_0x25b198(0x2d4)]=_0x3a3b72[_0x25b198(0x280)],_0x2ae789[_0x25b198(0x1e8)]=[_0x2c9cf9],await SessionHandler[_0x25b198(0x279)](_0x2ae789);}}catch(_0x7e1282){_0x3a3b72[_0x25b198(0x25e)](debug,_0x25b198(0x208)+_0x7e1282);}};[a27_0x369c67(0x267)]=async _0x51b339=>{const _0x2864c7=a27_0x369c67,_0x1507a0={'RRClH':_0x2864c7(0x2c8),'WLXys':_0x2864c7(0x211),'Dksej':function(_0x102577,_0x1f4ac8){return _0x102577(_0x1f4ac8);}};try{const _0x1c8974={};_0x1c8974[_0x2864c7(0x2e8)]=_0x51b339[_0x2864c7(0x2e8)]||this['current_test']['testAnalyticsId'],_0x1c8974[_0x2864c7(0x2d0)]=_0x51b339[_0x1507a0[_0x2864c7(0x209)]];const _0x1b6378=_0x1c8974,_0x3e9d11={};_0x3e9d11[_0x2864c7(0x2d4)]=_0x1507a0[_0x2864c7(0x277)],_0x3e9d11[_0x2864c7(0x2bc)]=_0x1b6378,await SessionHandler['uploadEventData'](_0x3e9d11);}catch(_0x5c5b71){_0x1507a0[_0x2864c7(0x2fd)](debug,_0x2864c7(0x215)+_0x5c5b71);}};[a27_0x369c67(0x231)](_0x4f1d13){const _0x3d6d24=a27_0x369c67,_0x55601f={};_0x55601f[_0x3d6d24(0x26b)]=_0x3d6d24(0x2a1),_0x55601f[_0x3d6d24(0x2cf)]=_0x3d6d24(0x25b),_0x55601f[_0x3d6d24(0x2b6)]=_0x3d6d24(0x310);const _0x388189=_0x55601f,_0x24d213={};return _0x24d213[STATE_PASSED]=_0x388189['yljWC'],_0x24d213[STATE_PENDING]=_0x388189[_0x3d6d24(0x2cf)],_0x24d213[STATE_FAILED]=_0x388189[_0x3d6d24(0x2b6)],_0x24d213[_0x4f1d13];}['scope'](_0x22f287){const _0x5a35da=a27_0x369c67,_0x57ec46={};_0x57ec46[_0x5a35da(0x24c)]=function(_0x215d03,_0x5ac8d9){return _0x215d03-_0x5ac8d9;};const _0x1fe1cb=_0x57ec46,_0x719878=_0x22f287[_0x5a35da(0x210)]();return _0x719878[_0x5a35da(0x246)](0x0,_0x1fe1cb[_0x5a35da(0x24c)](_0x719878['length'],0x1))[_0x5a35da(0x295)]('\x20');}[a27_0x369c67(0x2b7)](_0x5025d8){const _0x4c12e0=a27_0x369c67,_0x48c6bd={};_0x48c6bd[_0x4c12e0(0x222)]=function(_0x14d058,_0x28ae23){return _0x14d058-_0x28ae23;};const _0x5f4c20=_0x48c6bd,_0x21ca6b=_0x5025d8[_0x4c12e0(0x210)]();return _0x21ca6b[_0x4c12e0(0x246)](0x0,_0x5f4c20[_0x4c12e0(0x222)](_0x21ca6b[_0x4c12e0(0x243)],0x1));}[a27_0x369c67(0x30a)](_0x3b654e){const _0x764728=a27_0x369c67,_0x1d07e3={};_0x1d07e3[_0x764728(0x2ed)]=function(_0x3be0f7,_0x58ce93){return _0x3be0f7>_0x58ce93;};const _0x52e0f9=_0x1d07e3;if(_0x3b654e[_0x764728(0x27d)])return _0x3b654e[_0x764728(0x27d)];if(_0x3b654e[_0x764728(0x302)]){const _0x1098b3=_0x3b654e[_0x764728(0x302)][_0x764728(0x281)]?this[_0x764728(0x30a)](_0x3b654e['ctx'][_0x764728(0x281)]):null;if(_0x1098b3)return _0x1098b3;}if(_0x3b654e['parent']){const _0x24bd99=this['getRootParentFile'](_0x3b654e[_0x764728(0x2e3)])||(_0x3b654e[_0x764728(0x2e3)][_0x764728(0x302)]&&_0x3b654e[_0x764728(0x2e3)]['ctx'][_0x764728(0x281)]?this[_0x764728(0x30a)](_0x3b654e['parent'][_0x764728(0x302)]['currentTest']):null);if(_0x24bd99)return _0x24bd99;_0x3b654e[_0x764728(0x2e3)][_0x764728(0x2b9)]&&_0x52e0f9[_0x764728(0x2ed)](_0x3b654e[_0x764728(0x2e3)]['suites']['length'],0x0)&&_0x3b654e['parent'][_0x764728(0x2b9)]['forEach'](_0x53009a=>{const _0x115aaf=_0x764728,_0x4414b2=_0x53009a[_0x115aaf(0x302)]?this[_0x115aaf(0x30a)](_0x53009a[_0x115aaf(0x302)]):null;if(_0x4414b2)return _0x4414b2;});}return null;}}module[a27_0x369c67(0x2b0)]=MyReporter;
|
|
1
|
+
'use strict';const a27_0x4fef41=a27_0x58fd;function a27_0x58fd(_0x5f1d24,_0x52545f){const _0x48857c=a27_0x4885();return a27_0x58fd=function(_0x58fd71,_0x4197ff){_0x58fd71=_0x58fd71-0x71;let _0x145aab=_0x48857c[_0x58fd71];return _0x145aab;},a27_0x58fd(_0x5f1d24,_0x52545f);}(function(_0x3fc05d,_0x17f910){const _0x3b1ea7=a27_0x58fd,_0x52af95=_0x3fc05d();while(!![]){try{const _0x1e7216=parseInt(_0x3b1ea7(0x10f))/0x1+-parseInt(_0x3b1ea7(0xf0))/0x2*(-parseInt(_0x3b1ea7(0x184))/0x3)+parseInt(_0x3b1ea7(0xb3))/0x4*(parseInt(_0x3b1ea7(0x13a))/0x5)+parseInt(_0x3b1ea7(0x173))/0x6+-parseInt(_0x3b1ea7(0xc8))/0x7*(parseInt(_0x3b1ea7(0x95))/0x8)+parseInt(_0x3b1ea7(0x138))/0x9*(-parseInt(_0x3b1ea7(0x120))/0xa)+parseInt(_0x3b1ea7(0x12b))/0xb;if(_0x1e7216===_0x17f910)break;else _0x52af95['push'](_0x52af95['shift']());}catch(_0x345051){_0x52af95['push'](_0x52af95['shift']());}}}(a27_0x4885,0xafc90));const util=require(a27_0x4fef41(0x10e)),fs=require('fs'),path=require(a27_0x4fef41(0xf3)),{requireModule,getCentralUser}=require(a27_0x4fef41(0x12f)),Base=requireModule('mocha/lib/reporters/base.js','mocha'),utils=requireModule(a27_0x4fef41(0x17c),a27_0x4fef41(0x183)),color=Base[a27_0x4fef41(0xf6)],Mocha=requireModule(a27_0x4fef41(0x183)),Runnable=requireModule('mocha/lib/runnable.js','mocha'),{v4:uuidv4}=require(a27_0x4fef41(0x83)),bsSetupHelper=require(a27_0x4fef41(0x12f)),testhubUtils=require(a27_0x4fef41(0x17a)),centralScannerUtils=require(a27_0x4fef41(0x146)),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a27_0x4fef41(0x154)),globals=require(a27_0x4fef41(0x140)),logger=require(a27_0x4fef41(0xed))[a27_0x4fef41(0x108)],TestMetadata=require('../../../helpers/metadata'),a27_0x3ff832={};a27_0x3ff832[a27_0x4fef41(0xd0)]=a27_0x4fef41(0x15a),a27_0x3ff832[a27_0x4fef41(0xbb)]=a27_0x4fef41(0x88),a27_0x3ff832[a27_0x4fef41(0x136)]=a27_0x4fef41(0x11d),a27_0x3ff832[a27_0x4fef41(0x1a0)]=a27_0x4fef41(0x12a);function a27_0x4885(){const _0x2e4175=['BEFORE_EACH','passed','TNzHs','93690vhjGvr','result','tMGmZ','backtrace','inZHB','uFNjO','currentTest','suite','Jqjqw','uqugC','AFTER_EACH','6610978YpAxzk','state','fullTitle','nnfpt','../../../helpers/helper','NJzeh','TestRunSkipped','iFibh','ZtGRc','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','kZInC','before\x20each','Mfthi','1305PqTPjW','Vhere','85jNJDzW','err','push','<dl>','exports','logs','../../../helpers/globals','toString','</h1>','hook_run_uuid','spIQB','UDaRP','../../../helpers/central-scanner/helpers','_testResults','results','length','failure','kCHaz','bind','fail','join','_paths','bs:addPlatformDetails:','fast','redirectUrl','includes','../../../helpers/test-observability/constants','markedStatus','LRuKw','findGitConfig','dEcJP','symbols','BEFORE_ALL','Jajzu','registerListeners','lYXCt','GBhow','czCUf','EcqJQ','pTJXL','pFuho','consoleLog','inspect','yQyNv','docHtml','__platform__','sep','qJxyJ','shutdown','sendTestRunEvent','match','constants','kUuVe','title','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','setCentralScannerData','aSoEk','1431474fTMUky','location_prefix','fuECp','RBess','getRootParentFile','EJdlj','OVbEw','../../../helpers/testhub/utils','.git','mocha/lib/utils.js','IeILc','nUJOS','reporterOption','hook_type','.js','HNdOX','mocha','25089yvEwcP','QVOlm','GGMdz','testStarted','fZGOr','COMPLETED','pid','sozjI','oIzCh','TestRunFinished','croNA','spec','afOCI','PgLAl','ynMCL','relative','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','DjHFR','HookFinished','suites','wBnGp','aJwMn','jddEd','dFzUr','docAppend','yEECQ','kxstk','loQjp','after\x20each','</dt>','file','xkNfz','WKSrI','testObservability','CTmyN','Cdftt','failure_reason_expanded','rwORq','multiple','speed','File\x20path\x20could\x20not\x20be\x20found','checkmark','forEach','scope','FaQov','PMMyn','craCs','trim','szZya','testanalyticsid','isPending','Djntf','CLQoM','responseCode','<section\x20class=\x22suite\x22>','ZCzsm','test_run_uuid','hookAnalyticsId','uuid','bRXzx','current_hook','TvIWQ','Mocha','AFTER_ALL','failed','bUBKT','JNjiJ','increaseIndent','../../../helpers/test-observability/sessionHandler','HookRunFinished','FyVpF','testAnalyticsId','__indents','green','stdout','setGlobal','828392KqmVgu','</dd>','KVESp','slice','bright\x20yellow','cwd','ivkNT','apply','scopes','PhzxX','JGCSU','bang','javascript','KZUyk','bsConfig','clean','integrations','appendTestItemLog','ewmFA','hook_run','parent','done','BHcxu','skipped','_testEnv','type','CMchU','light','../test-observability/mochaUtils','\x20-\x20','249648VPzrmg','HXjfW','name','gcXpF','failureCount','HookRunStarted','gmbEw','NAsUu','after\x20all','yeVyh','TaFKo','iLtoP','bs:addLog:','get','_indents','kksKd','VAxga','Reporter','../../../helpers/test-observability/utils','comma','nkHHv','35zVhvdY','LgLFr','\x20\x20<dt>','started_at','YJzcY','PIilJ','\x20(%dms)','assign','before\x20all','CBTSessionCreated','finished_at','IMeeC','\x20\x20<dt\x20class=\x22error\x22>','pending','current_test','dot','failure_backtrace','root','currentRetry','</dl>','XaSGE','RlNDC','test_run','retryOf','LnQuN','TestRunStarted','BVbox','error','znqhd','oVaeV','%s\x20','MOCHA','xunit','duration','titlePath','slow','now','../../../helpers/logger','getInstance','uploadEventData','70ezhqNx','bukzC','KuRna','path','analyticsResult','vVSHm','color','removeAllListeners','HHwtl','originalTitle','appendTesthubParams','</code></pre></dd>','call','EVENT','shouldProcessEventForTesthub','suiteCount','escape','LogCreated','YQIVY','\x20\x20<dd\x20class=\x22error\x22><pre><code>','Failed\x20to\x20load\x20reporter\x20','doc','once','decreaseIndent','winstonLogger','OHWvV','finalResults','http_response','body','dirname','util','402980yLuvQX','ctx','\x20\x20<dd><pre><code>','toISOString','wFEEJ','write','event_type','MPjUZ','indent','failCount','statSync','QfpFy','appendTestPlatform','OSXQa'];a27_0x4885=function(){return _0x2e4175;};return a27_0x4885();}const HOOK_TYPES_MAP=a27_0x3ff832,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a27_0x4fef41(0x16d)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x4fef41(0x16d)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x4fef41(0xb1)),{consoleHolder}=require(a27_0x4fef41(0x154)),SessionHandler=require(a27_0x4fef41(0x8d)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x4fef41(0xc5)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a27_0x4fef41(0xee)]();class MyReporter{constructor(_0x29cd1c,_0x3e82fb){const _0x2993d3=a27_0x4fef41,_0x2674e9={'spIQB':function(_0x3c3f83,_0x3f6eb2){return _0x3c3f83===_0x3f6eb2;},'pTJXL':_0x2993d3(0x18f),'GBhow':function(_0x4ebbdb,_0x24bed6){return _0x4ebbdb+_0x24bed6;},'HXjfW':function(_0x5eb492,_0x7f6cb0){return _0x5eb492+_0x7f6cb0;},'RBess':function(_0x4815d9,_0x1555d8,_0x2bda61){return _0x4815d9(_0x1555d8,_0x2bda61);},'BHcxu':_0x2993d3(0x92),'OVbEw':_0x2993d3(0xe6),'TvIWQ':function(_0x4ca500,_0x2ecaa2,_0x5385b9){return _0x4ca500(_0x2ecaa2,_0x5385b9);},'bRXzx':_0x2993d3(0xb0),'pFuho':'%s\x20-\x20%s','DjHFR':'RUNNING','iLtoP':function(_0x14f0a6,_0x36d3bb){return _0x14f0a6===_0x36d3bb;},'WKSrI':_0x2993d3(0x105),'PMMyn':function(_0x4250a9){return _0x4250a9();},'RlNDC':function(_0x13a697){return _0x13a697();},'sjTUB':_0x2993d3(0xb8),'rwORq':function(_0x25cc02,_0x311569){return _0x25cc02===_0x311569;},'IeILc':'HookRunFinished','ZeqTm':_0x2993d3(0x11e),'TaFKo':_0x2993d3(0x151),'nUJOS':function(_0x2dd528,_0x2cc045){return _0x2dd528+_0x2cc045;},'dFzUr':function(_0x443710,_0x490c28){return _0x443710+_0x490c28;},'BVbox':_0x2993d3(0x72),'DCtIg':'pass','KOLam':'\x20%s','znqhd':function(_0xb4690e,_0x575bca){return _0xb4690e+_0x575bca;},'qJxyJ':function(_0x515947,_0x5c0b7a){return _0x515947+_0x5c0b7a;},'oVaeV':_0x2993d3(0xce),'kksKd':function(_0xaaeeaf,_0x3f8916){return _0xaaeeaf+_0x3f8916;},'fuECp':_0x2993d3(0x14d),'sMETT':'\x20\x20%d)\x20%s','PLyRz':function(_0x24a102,_0x2778f0,_0x1bb11b){return _0x24a102(_0x2778f0,_0x1bb11b);},'wDuiw':_0x2993d3(0x99),'Vhere':function(_0x3de123,_0xcec02c,_0x16ec02){return _0x3de123(_0xcec02c,_0x16ec02);},'NbHSX':_0x2993d3(0x189),'LnQuN':_0x2993d3(0xd7),'QfpFy':function(_0x373f6c,_0x12c650){return _0x373f6c===_0x12c650;},'Jajzu':_0x2993d3(0xeb),'gYlKE':function(_0x1ec41b,_0x3485e7){return _0x1ec41b===_0x3485e7;},'fZGOr':function(_0x2e41b8,_0x15356f){return _0x2e41b8===_0x15356f;},'bukzC':'2|0|3|4|1','inZHB':function(_0x478a56,_0x35a336){return _0x478a56===_0x35a336;},'Djntf':_0x2993d3(0xd5),'KuRna':_0x2993d3(0x131),'kCHaz':function(_0x5026ac,_0x1cff97){return _0x5026ac===_0x1cff97;},'jddEd':function(_0x17a37e,_0x4594f8){return _0x17a37e===_0x4594f8;},'dEcJP':function(_0x687db0,_0x24e6c6){return _0x687db0(_0x24e6c6);},'sozjI':function(_0x3a6e6a,_0x2ad45b){return _0x3a6e6a(_0x2ad45b);},'agCEd':function(_0x25d5d8,_0x18e8d0){return _0x25d5d8===_0x18e8d0;},'NAsUu':_0x2993d3(0xe8),'kZInC':function(_0x453523,_0x1cd84a,_0x3a548f){return _0x453523(_0x1cd84a,_0x3a548f);},'EJdlj':_0x2993d3(0x183),'UDaRP':function(_0xfb4285,_0x55d55f){return _0xfb4285(_0x55d55f);},'HNdOX':function(_0x5c10ec,_0x4496d6){return _0x5c10ec!==_0x4496d6;}};this[_0x2993d3(0xae)]=_0x3e82fb[_0x2993d3(0x17f)]['type'],this[_0x2993d3(0x1a5)]=_0x2674e9[_0x2993d3(0x76)](isTestObservabilitySession),Base[_0x2993d3(0xfc)](this,_0x29cd1c,_0x3e82fb),this[_0x2993d3(0xc1)]=0x0,this[_0x2993d3(0x118)]=0x0,this[_0x2993d3(0x148)]=[],this[_0x2993d3(0x10a)]=[],this[_0x2993d3(0xff)]=0x0,this['_buildCreated']=![],this[_0x2993d3(0x147)]=[],this['_testEnv']=_0x2674e9['PMMyn'](getTestEnv),this[_0x2993d3(0x14f)]=new PathHelper({'cwd':process[_0x2993d3(0x9a)]()},this[_0x2993d3(0xad)][_0x2993d3(0x174)]),this['_upstreamConfig']=_0x3e82fb[_0x2993d3(0x17f)][_0x2993d3(0xa3)],this[_0x2993d3(0x15c)]();_0x2674e9['spIQB'](this[_0x2993d3(0xae)],_0x2674e9[_0x2993d3(0x1a4)])&&(this[_0x2993d3(0x166)]='',this[_0x2993d3(0x91)]=0x2);_0x29cd1c['once'](EVENT_RUN_BEGIN,async()=>{const _0x3cbffb=_0x2993d3;_0x2674e9[_0x3cbffb(0x144)](this[_0x3cbffb(0xae)],_0x2674e9[_0x3cbffb(0x161)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x42a84c=>{const _0x285fb4=_0x2993d3;if(_0x42a84c[_0x285fb4(0xd9)])return;if(_0x2674e9[_0x285fb4(0x144)](this[_0x285fb4(0xae)],_0x2674e9[_0x285fb4(0x161)]))this['increaseIndent'](),Base[_0x285fb4(0x163)](_0x2674e9[_0x285fb4(0x15e)](_0x2674e9[_0x285fb4(0xb4)](this[_0x285fb4(0x117)](),_0x2674e9[_0x285fb4(0x176)](color,_0x2674e9[_0x285fb4(0xab)],_0x2674e9[_0x285fb4(0x179)])),_0x2674e9['TvIWQ'](color,_0x2674e9[_0x285fb4(0x84)],_0x2674e9['pFuho'])),_0x2674e9[_0x285fb4(0x195)],_0x42a84c[_0x285fb4(0x16f)],global[_0x285fb4(0x167)]);else _0x2674e9['iLtoP'](this[_0x285fb4(0xae)],_0x2674e9['WKSrI'])&&(this[_0x285fb4(0x19c)](this[_0x285fb4(0x117)]()+_0x285fb4(0x7f)),++this[_0x285fb4(0x91)],this[_0x285fb4(0x19c)](this[_0x285fb4(0x117)]()+'<h1>'+utils[_0x285fb4(0x100)](_0x42a84c[_0x285fb4(0x16f)]+_0x285fb4(0xb2)+global[_0x285fb4(0x167)])+_0x285fb4(0x142)),this[_0x285fb4(0x19c)](this[_0x285fb4(0x117)]()+_0x285fb4(0x13d)));})['on'](EVENT_HOOK_BEGIN,async _0x7ac4e9=>{const _0x470051=_0x2993d3;if(_0x2674e9[_0x470051(0xbe)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x470051(0xfd)]['HookStarted']),!![])){if(!_0x7ac4e9['hookAnalyticsId'])_0x7ac4e9[_0x470051(0x82)]=_0x2674e9['PMMyn'](uuidv4);else _0x7ac4e9[_0x470051(0x155)]&&(_0x7ac4e9['hookAnalyticsId']=_0x2674e9[_0x470051(0xdd)](uuidv4),delete _0x7ac4e9[_0x470051(0x155)]);_0x7ac4e9[_0x470051(0xcb)]=new Date()[_0x470051(0x112)](),this[_0x470051(0x85)]=_0x7ac4e9,await this['sendTestRunEvent'](_0x7ac4e9,undefined,![],_0x2674e9['sjTUB']);}})['on'](EVENT_HOOK_END,async _0x62db8=>{const _0x1ae26e=_0x2993d3;_0x2674e9[_0x1ae26e(0x1a9)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x1ae26e(0xfd)][_0x1ae26e(0x196)]),!![])&&(!_0x62db8[_0x1ae26e(0x155)]&&(_0x62db8['markedStatus']=!![],await this[_0x1ae26e(0x16b)](_0x62db8,undefined,![],_0x2674e9[_0x1ae26e(0x17d)])));})['on'](EVENT_SUITE_END,_0x20a040=>{const _0x4b382d=_0x2993d3,_0x29c457={'aSoEk':function(_0x24adba,_0x1a74cf){const _0x2d2520=a27_0x58fd;return _0x2674e9[_0x2d2520(0xbe)](_0x24adba,_0x1a74cf);},'uFNjO':_0x2674e9['ZeqTm'],'lbCYp':_0x2674e9[_0x4b382d(0xbd)],'LgLFr':function(_0x13211b,_0x315e1f){const _0x503268=_0x4b382d;return _0x2674e9[_0x503268(0x17e)](_0x13211b,_0x315e1f);},'QVOlm':function(_0x59989d,_0x5d67aa){const _0xdea50e=_0x4b382d;return _0x2674e9[_0xdea50e(0x19b)](_0x59989d,_0x5d67aa);},'afOCI':function(_0x25a9a8,_0x3e30b7,_0xbed35d){const _0x2a0a31=_0x4b382d;return _0x2674e9[_0x2a0a31(0x86)](_0x25a9a8,_0x3e30b7,_0xbed35d);},'KVESp':_0x2674e9[_0x4b382d(0xe2)],'VAxga':function(_0x4d47fe,_0x1f14f5,_0x428aa2){const _0x2f02f8=_0x4b382d;return _0x2674e9[_0x2f02f8(0x86)](_0x4d47fe,_0x1f14f5,_0x428aa2);},'PhzxX':_0x2674e9['DCtIg'],'yeVyh':_0x2674e9['KOLam'],'tMGmZ':function(_0x3810b9,_0x21d584){const _0x5a8ae9=_0x4b382d;return _0x2674e9[_0x5a8ae9(0xe4)](_0x3810b9,_0x21d584);},'JGCSU':function(_0x4e39e8,_0x5bd863){const _0x4c2b02=_0x4b382d;return _0x2674e9[_0x4c2b02(0xb4)](_0x4e39e8,_0x5bd863);},'vYlqZ':function(_0x5c9401,_0x584108){const _0xe93af4=_0x4b382d;return _0x2674e9[_0xe93af4(0x169)](_0x5c9401,_0x584108);},'ZCzsm':_0x2674e9[_0x4b382d(0xe5)],'uqugC':function(_0x1c3c05,_0xa43a17){const _0x4e4bd8=_0x4b382d;return _0x2674e9[_0x4e4bd8(0xc2)](_0x1c3c05,_0xa43a17);},'woOor':_0x2674e9[_0x4b382d(0x175)],'CTmyN':_0x2674e9['sMETT']};if(_0x20a040['root'])return;if(_0x2674e9[_0x4b382d(0xbe)](this[_0x4b382d(0xae)],_0x2674e9['pTJXL']))Base[_0x4b382d(0x163)](),Base[_0x4b382d(0x163)](_0x2674e9['GBhow'](_0x2674e9[_0x4b382d(0x19b)](this[_0x4b382d(0x117)](),_0x2674e9['PLyRz'](color,_0x2674e9['wDuiw'],_0x2674e9[_0x4b382d(0x179)])),_0x2674e9[_0x4b382d(0x139)](color,_0x2674e9['bRXzx'],_0x2674e9[_0x4b382d(0x162)])),_0x2674e9['NbHSX'],_0x20a040['title'],global[_0x4b382d(0x167)]),this[_0x4b382d(0x148)][_0x4b382d(0x73)](_0x393f7f=>{const _0x47378f=_0x4b382d;if(_0x29c457['aSoEk'](_0x393f7f[_0x47378f(0x12c)],_0x29c457[_0x47378f(0x125)])){var _0x431caa;_0x29c457[_0x47378f(0x172)](_0x393f7f[_0x47378f(0x1ab)],_0x29c457['lbCYp'])?(_0x431caa=_0x29c457[_0x47378f(0xc9)](_0x29c457[_0x47378f(0x185)](this[_0x47378f(0x117)](),_0x29c457[_0x47378f(0x190)](color,_0x29c457[_0x47378f(0x97)],_0x29c457[_0x47378f(0x185)]('\x20\x20',Base[_0x47378f(0x159)]['ok']))),_0x29c457[_0x47378f(0xc3)](color,_0x29c457['PhzxX'],_0x29c457[_0x47378f(0xbc)])),Base[_0x47378f(0x163)](_0x431caa,_0x393f7f[_0x47378f(0x16f)])):(_0x431caa=_0x29c457[_0x47378f(0x122)](_0x29c457[_0x47378f(0x9f)](_0x29c457['JGCSU'](this[_0x47378f(0x117)](),_0x29c457[_0x47378f(0xc3)](color,_0x29c457['KVESp'],_0x29c457['vYlqZ']('\x20\x20',Base['symbols']['ok']))),_0x29c457[_0x47378f(0xc3)](color,_0x29c457[_0x47378f(0x9e)],_0x29c457[_0x47378f(0xbc)])),_0x29c457[_0x47378f(0xc3)](color,_0x393f7f[_0x47378f(0x1ab)],_0x29c457[_0x47378f(0x80)])),Base['consoleLog'](_0x431caa,_0x393f7f[_0x47378f(0x16f)],_0x393f7f[_0x47378f(0xe9)]));}else Base['consoleLog'](_0x29c457[_0x47378f(0x129)](this['indent'](),_0x29c457[_0x47378f(0xc3)](color,_0x29c457['woOor'],_0x29c457[_0x47378f(0x1a6)])),++this[_0x47378f(0x118)],_0x393f7f[_0x47378f(0x16f)]);}),this[_0x4b382d(0x107)]();else _0x2674e9[_0x4b382d(0xbe)](this[_0x4b382d(0xae)],_0x2674e9[_0x4b382d(0x1a4)])&&(this[_0x4b382d(0x19c)](this[_0x4b382d(0x117)]()+_0x4b382d(0xdb)),--this[_0x4b382d(0x91)],this[_0x4b382d(0x19c)](this[_0x4b382d(0x117)]()+'</section>'),--this[_0x4b382d(0x91)]);Array['prototype']['push']['apply'](this[_0x4b382d(0x10a)],this['results']),this[_0x4b382d(0x148)]=[];})['on'](EVENT_TEST_PASS,async _0x1bbb3f=>{const _0x56dc51=_0x2993d3;this[_0x56dc51(0x148)][_0x56dc51(0x13c)]({'speed':_0x1bbb3f[_0x56dc51(0x1ab)],'suite':_0x1bbb3f[_0x56dc51(0xa9)][_0x56dc51(0x16f)],'title':_0x1bbb3f[_0x56dc51(0x16f)],'fullTitle':_0x1bbb3f[_0x56dc51(0x12d)](),'duration':_0x1bbb3f[_0x56dc51(0xe9)],'state':_0x1bbb3f[_0x56dc51(0x12c)],'err':{},'currentRetry':_0x1bbb3f[_0x56dc51(0xda)](),'titlePathV':_0x1bbb3f['titlePath'](),'isPending':_0x1bbb3f[_0x56dc51(0x7b)]()});if(_0x2674e9[_0x56dc51(0x144)](this[_0x56dc51(0xae)],_0x2674e9[_0x56dc51(0xe0)]))_0x2674e9['QfpFy'](_0x1bbb3f[_0x56dc51(0x1ab)],_0x2674e9[_0x56dc51(0x15b)])?process[_0x56dc51(0x93)][_0x56dc51(0x114)](Base[_0x56dc51(0xf6)](_0x2674e9['wDuiw'],Base[_0x56dc51(0x159)][_0x56dc51(0xd7)])):process['stdout'][_0x56dc51(0x114)](Base[_0x56dc51(0xf6)](_0x1bbb3f[_0x56dc51(0x1ab)],Base['symbols'][_0x56dc51(0xd7)]));else{if(_0x2674e9['spIQB'](this[_0x56dc51(0xae)],_0x2674e9[_0x56dc51(0x1a4)])){this[_0x56dc51(0x19c)](this[_0x56dc51(0x117)]()+_0x56dc51(0xca)+utils[_0x56dc51(0x100)](_0x1bbb3f[_0x56dc51(0x16f)])+_0x56dc51(0x1a1)),this['docAppend'](this[_0x56dc51(0x117)]()+'\x20\x20<dt>'+utils[_0x56dc51(0x100)](_0x1bbb3f[_0x56dc51(0x1a2)])+_0x56dc51(0x1a1));var _0x42fb4e=utils['escape'](utils['clean'](_0x1bbb3f[_0x56dc51(0x10c)]));this[_0x56dc51(0x19c)](this[_0x56dc51(0x117)]()+_0x56dc51(0x111)+_0x42fb4e+_0x56dc51(0xfb));}}_0x2674e9['gYlKE'](testhubUtils[_0x56dc51(0xfe)](),!![])&&(!_0x1bbb3f[_0x56dc51(0x155)]&&(_0x1bbb3f[_0x56dc51(0x155)]=!![],await this[_0x56dc51(0x16b)](_0x1bbb3f)));})['on'](EVENT_TEST_FAIL,async(_0x59651a,_0x129f68)=>{const _0x45ed0b=_0x2993d3;this['results'][_0x45ed0b(0x13c)]({'title':_0x59651a['title'],'suite':_0x59651a['parent'][_0x45ed0b(0x16f)],'state':_0x59651a[_0x45ed0b(0x12c)],'err':{'message':util[_0x45ed0b(0x164)](_0x129f68)},'fullTitle':_0x59651a['fullTitle'](),'speed':_0x59651a[_0x45ed0b(0x1ab)],'currentRetry':_0x59651a[_0x45ed0b(0xda)](),'titlePathV':_0x59651a[_0x45ed0b(0xea)]()});if(_0x2674e9[_0x45ed0b(0x11a)](this['type'],_0x2674e9['LnQuN']))process[_0x45ed0b(0x93)][_0x45ed0b(0x114)](Base[_0x45ed0b(0xf6)](_0x2674e9[_0x45ed0b(0x175)],Base[_0x45ed0b(0x159)][_0x45ed0b(0xa0)]));else{if(_0x2674e9[_0x45ed0b(0x188)](this['type'],_0x2674e9[_0x45ed0b(0x1a4)])){const _0x55d3c0=_0x2674e9[_0x45ed0b(0xf1)]['split']('|');let _0x3df4ca=0x0;while(!![]){switch(_0x55d3c0[_0x3df4ca++]){case'0':this[_0x45ed0b(0x19c)](this['indent']()+_0x45ed0b(0xd4)+utils[_0x45ed0b(0x100)](_0x59651a[_0x45ed0b(0x1a2)])+_0x45ed0b(0x1a1));continue;case'1':this[_0x45ed0b(0x19c)](this[_0x45ed0b(0x117)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x45ed0b(0x100)](_0x59651a[_0x45ed0b(0x13b)])+_0x45ed0b(0x96));continue;case'2':this[_0x45ed0b(0x19c)](this['indent']()+_0x45ed0b(0xd4)+utils[_0x45ed0b(0x100)](_0x59651a[_0x45ed0b(0x16f)])+_0x45ed0b(0x1a1));continue;case'3':var _0x6c7463=utils[_0x45ed0b(0x100)](utils[_0x45ed0b(0xa4)](_0x59651a[_0x45ed0b(0x10c)]));continue;case'4':this[_0x45ed0b(0x19c)](this['indent']()+_0x45ed0b(0x103)+_0x6c7463+'</code></pre></dd>');continue;}break;}}}if(_0x2674e9[_0x45ed0b(0x144)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x45ed0b(0xfd)]['HookFinished']),!![])){if(!_0x59651a['markedStatus']){_0x59651a['markedStatus']=!![];if(_0x59651a[_0x45ed0b(0x90)])await this[_0x45ed0b(0x16b)](_0x59651a,_0x129f68);else _0x59651a[_0x45ed0b(0x82)]&&await this[_0x45ed0b(0x16b)](_0x59651a,_0x129f68,![],_0x2674e9[_0x45ed0b(0x17d)]);}}})['on'](EVENT_TEST_PENDING,async _0x2bf018=>{const _0x152800=_0x2993d3;this[_0x152800(0x148)][_0x152800(0x13c)]({'title':_0x2bf018[_0x152800(0x16f)],'suite':_0x2bf018[_0x152800(0xa9)]['title'],'state':_0x2bf018['state'],'err':{},'fullTitle':_0x2bf018[_0x152800(0x12d)](),'speed':_0x2bf018['speed'],'currentRetry':_0x2bf018[_0x152800(0xda)](),'titlePathV':_0x2bf018[_0x152800(0xea)]()}),_0x2674e9[_0x152800(0x124)](this[_0x152800(0xae)],_0x2674e9[_0x152800(0xe0)])&&process[_0x152800(0x93)][_0x152800(0x114)](Base[_0x152800(0xf6)](_0x2674e9[_0x152800(0x7c)],Base[_0x152800(0x159)][_0x152800(0xc6)])),_0x2674e9[_0x152800(0xbe)](testhubUtils[_0x152800(0xfe)](),!![])&&(!_0x2bf018['testAnalyticsId']&&(_0x2bf018[_0x152800(0x90)]=_0x2674e9['RlNDC'](uuidv4)),!_0x2bf018[_0x152800(0x155)]&&(_0x2bf018[_0x152800(0x155)]=!![],await this['sendTestRunEvent'](_0x2bf018,undefined,![],_0x2674e9['KuRna'])));})['on'](EVENT_TEST_BEGIN,async _0x32461f=>{const _0x2a72ee=_0x2993d3;_0x2674e9[_0x2a72ee(0x14b)](testhubUtils[_0x2a72ee(0xfe)](),!![])&&await this[_0x2a72ee(0x187)](_0x32461f);})['on'](EVENT_TEST_END,async _0xeba039=>{const _0x28219e=_0x2993d3;_0x2674e9[_0x28219e(0x19a)](testhubUtils[_0x28219e(0xfe)](),!![])&&(!_0xeba039[_0x28219e(0x155)]&&(_0xeba039[_0x28219e(0x155)]=!![],await this[_0x28219e(0x16b)](_0xeba039)));})[_0x2993d3(0x106)](EVENT_RUN_END,async()=>{const _0x43ec1f=_0x2993d3;try{if(_0x2674e9[_0x43ec1f(0x124)](testhubUtils[_0x43ec1f(0xfe)](),!![])){const _0x4779d8=_0x2674e9[_0x43ec1f(0x158)](getHookSkippedTests,this['runner'][_0x43ec1f(0x127)]);for(const _0x103ddb of _0x4779d8){!_0x103ddb[_0x43ec1f(0x90)]&&(_0x103ddb[_0x43ec1f(0x90)]=_0x2674e9[_0x43ec1f(0xdd)](uuidv4)),await this[_0x43ec1f(0x16b)](_0x103ddb,undefined,![],_0x2674e9[_0x43ec1f(0xf2)]);}}}catch(_0x14f933){_0x2674e9[_0x43ec1f(0x18b)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x14f933);}await requestQueueHandler[_0x43ec1f(0x16a)](),_0x2674e9['agCEd'](this['type'],_0x2674e9[_0x43ec1f(0x1a4)])&&Base[_0x43ec1f(0x163)](this[_0x43ec1f(0x166)]);});if(this[_0x2993d3(0xae)]&&![_0x2674e9[_0x2993d3(0x1a4)],_0x2674e9[_0x2993d3(0xba)],_0x2674e9[_0x2993d3(0x161)],_0x2674e9[_0x2993d3(0xe0)]][_0x2993d3(0x153)](this[_0x2993d3(0xae)])){const _0x48323f=this[_0x2993d3(0xae)][_0x2993d3(0x78)]();this[_0x2993d3(0xc4)]=null;try{this[_0x2993d3(0xc4)]=_0x2674e9[_0x2993d3(0x135)](requireModule,'mocha/lib/reporters/'+_0x48323f+_0x2993d3(0x181),_0x2674e9[_0x2993d3(0x178)]);}catch(_0x8685f9){_0x2674e9[_0x2993d3(0x145)](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x8685f9);}if(_0x2674e9[_0x2993d3(0x19a)](this[_0x2993d3(0xc4)],null))try{this[_0x2993d3(0xc4)]=_0x2674e9['dEcJP'](require,_0x48323f);}catch(_0x234e41){console[_0x2993d3(0xe3)](_0x2993d3(0x104)+_0x48323f);}if(_0x2674e9[_0x2993d3(0x182)](this['Reporter'],null)){const _0x770cf7={};_0x770cf7['reporterOptions']=_0x3e82fb['reporterOption'],this[_0x2993d3(0xc4)]=new this[(_0x2993d3(0xc4))](_0x29cd1c,_0x770cf7);}}}[a27_0x4fef41(0x117)](){const _0x1a7828=a27_0x4fef41,_0x17951f={'vVSHm':function(_0x13df76,_0x288810){return _0x13df76(_0x288810);}};return _0x17951f[_0x1a7828(0xf5)](Array,this[_0x1a7828(0xc1)])[_0x1a7828(0x14e)]('\x20\x20');}[a27_0x4fef41(0x8c)](){this['_indents']++;}[a27_0x4fef41(0x107)](){const _0x26f5eb=a27_0x4fef41;this[_0x26f5eb(0xc1)]--;}[a27_0x4fef41(0x19c)](_0x70ff99){const _0x37716b=a27_0x4fef41;this[_0x37716b(0x166)]+=_0x70ff99;}[a27_0x4fef41(0xaa)](_0x194cb3,_0xa0533e){const _0x2e6caa=a27_0x4fef41,_0x1b128b={'nkHHv':function(_0x9a99fd,_0x49fdfd){return _0x9a99fd(_0x49fdfd);}},_0x945544={};_0x945544[_0x2e6caa(0xb7)]=_0x194cb3,_0x945544['results']=this[_0x2e6caa(0x10a)],_0x1b128b[_0x2e6caa(0xc7)](_0xa0533e,_0x945544);}[a27_0x4fef41(0x15c)](){const _0x4b32cf=a27_0x4fef41;process[_0x4b32cf(0xf7)](_0x4b32cf(0xbf)+process[_0x4b32cf(0x18a)]),process['on'](_0x4b32cf(0xbf)+process[_0x4b32cf(0x18a)],this[_0x4b32cf(0xa6)][_0x4b32cf(0x14c)](this)),process[_0x4b32cf(0xf7)](_0x4b32cf(0x150)+process['pid']),process['on']('bs:addPlatformDetails:'+process[_0x4b32cf(0x18a)],this[_0x4b32cf(0x11b)]['bind'](this));}[a27_0x4fef41(0x187)]=async _0x85fbd1=>{const _0x55715f=a27_0x4fef41,_0x43eb2a={'LRuKw':function(_0x5f1452){return _0x5f1452();},'Mfthi':'testRunUUID','YcLNN':function(_0x4b976e,_0x4f7355){return _0x4b976e>_0x4f7355;},'JNjiJ':function(_0x837af2,_0x60b38b){return _0x837af2===_0x60b38b;},'gcXpF':_0x55715f(0xe1),'vYZwc':function(_0x33fa6b,_0x235eea){return _0x33fa6b(_0x235eea);}};try{const _0x132bee=this[_0x55715f(0xd6)];this['current_test']=_0x85fbd1,_0x85fbd1[_0x55715f(0xdf)]=null,_0x85fbd1['testAnalyticsId']=_0x43eb2a[_0x55715f(0x156)](uuidv4),globals[_0x55715f(0x94)](_0x43eb2a[_0x55715f(0x137)],_0x85fbd1['testAnalyticsId']),_0x85fbd1[_0x55715f(0xcb)]=new Date()[_0x55715f(0x112)](),_0x43eb2a['YcLNN'](_0x85fbd1['_currentRetry'],0x0)&&_0x132bee&&_0x43eb2a[_0x55715f(0x8b)](_0x132bee['title'],_0x85fbd1[_0x55715f(0x16f)])?(_0x85fbd1[_0x55715f(0xdf)]=_0x132bee['testAnalyticsId'],await this['sendTestRunEvent'](_0x85fbd1,undefined,![],_0x43eb2a[_0x55715f(0xb6)]),_0x132bee[_0x55715f(0x12c)]=STATE_FAILED,await this[_0x55715f(0x16b)](_0x132bee,undefined,!![])):await this[_0x55715f(0x16b)](_0x85fbd1,undefined,![],_0x43eb2a[_0x55715f(0xb6)]);}catch(_0x3f59ff){_0x43eb2a['vYZwc'](debug,_0x55715f(0x134)+_0x3f59ff);}};[a27_0x4fef41(0x16b)]=async(_0x324b36,_0x264acd=undefined,_0xb5ddd5=![],_0x2c304d=a27_0x4fef41(0x18d))=>{const _0x4f5571=a27_0x4fef41,_0x408a33={'wFEEJ':function(_0x111720,_0x581ba0){return _0x111720===_0x581ba0;},'ivkNT':function(_0x40b928,_0x566319){return _0x40b928!==_0x566319;},'CMchU':'test','yQyNv':_0x4f5571(0x13b),'oIzCh':function(_0x56516f,_0x3aa814){return _0x56516f!==_0x3aa814;},'szZya':_0x4f5571(0x71),'TNzHs':_0x4f5571(0x87),'Jqjqw':_0x4f5571(0xa1),'FaQov':function(_0x5298ef,_0x23cb74){return _0x5298ef===_0x23cb74;},'OHWvV':_0x4f5571(0x131),'wBnGp':_0x4f5571(0xac),'gmbEw':function(_0x2d448a,_0x4a79d2){return _0x2d448a-_0x4a79d2;},'rxrDi':'AssertionError','FyVpF':'UnhandledError','ynMCL':_0x4f5571(0x18d),'czCUf':'TestRunStarted','IoiIQ':function(_0x4bdb4a){return _0x4bdb4a();},'YJzcY':function(_0x30b18f,_0x55478f){return _0x30b18f===_0x55478f;},'MPjUZ':_0x4f5571(0xcb),'YQIVY':_0x4f5571(0xd2),'CLQoM':function(_0x44883d,_0x42ad22){return _0x44883d(_0x42ad22);},'HHwtl':function(_0x3e4fcc,_0x369da5){return _0x3e4fcc===_0x369da5;},'ewmFA':_0x4f5571(0x8e),'bUBKT':_0x4f5571(0x89),'UVeuP':'passed','NJzeh':_0x4f5571(0x136),'GGMdz':function(_0x2005e0,_0x2c68fe){return _0x2005e0===_0x2c68fe;},'craCs':_0x4f5571(0x14a),'XaSGE':_0x4f5571(0xd8),'croNA':_0x4f5571(0x123),'nnfpt':_0x4f5571(0x1a8),'eUEdi':'expanded','IMeeC':function(_0x11b215,_0x6993b2){return _0x11b215===_0x6993b2;},'yEECQ':_0x4f5571(0x180),'dzMGv':_0x4f5571(0xa8),'PgLAl':_0x4f5571(0xde)};try{if(_0x324b36[_0x4f5571(0x10c)]&&_0x324b36[_0x4f5571(0x10c)][_0x4f5571(0x16c)](/browserstack internal helper hook/))return;let _0x1b0f90=[];if(_0x408a33[_0x4f5571(0x113)](_0x324b36[_0x4f5571(0x12c)],STATE_FAILED)){if(_0x408a33[_0x4f5571(0x9b)](_0x324b36[_0x4f5571(0x13b)],undefined))_0x1b0f90=_0x324b36['err'][_0x4f5571(0x1aa)]?[_0x324b36[_0x4f5571(0x13b)][_0x4f5571(0x1aa)],_0x408a33[_0x4f5571(0xaf)]]:[_0x324b36[_0x4f5571(0x13b)],_0x408a33[_0x4f5571(0x165)]];else _0x408a33['ivkNT'](_0x264acd,undefined)?_0x1b0f90=[_0x264acd,_0x408a33[_0x4f5571(0x165)]]:_0x1b0f90=[];}const _0x750647=_0x408a33[_0x4f5571(0x9b)](_0x324b36[_0x4f5571(0x13b)],undefined)?_0x324b36[_0x4f5571(0x13b)][_0x4f5571(0x141)]():_0x408a33[_0x4f5571(0x18c)](_0x264acd,undefined)?_0x264acd[_0x4f5571(0x141)]():undefined;let _0xee05d0;try{_0xee05d0=this[_0x4f5571(0x177)](_0x324b36);}catch(_0x21820b){_0xee05d0=null;}const _0x448234=_0xee05d0?this[_0x4f5571(0x157)](_0xee05d0):null,_0x5888aa=_0xee05d0?this[_0x4f5571(0x14f)]['prefixTestPath'](this['getRootParentFile'](_0x324b36)):_0x408a33[_0x4f5571(0x79)],_0x1ae856={'framework':_0x408a33[_0x4f5571(0x11f)],'uuid':_0x324b36[_0x4f5571(0x90)]||_0x324b36[_0x4f5571(0x82)],'name':_0x324b36[_0x4f5571(0x16f)],'body':{'lang':_0x408a33[_0x4f5571(0x128)],'code':_0x324b36['body']},'scope':this[_0x4f5571(0x74)](_0x324b36),'scopes':this[_0x4f5571(0x9d)](_0x324b36),'identifier':_0x324b36[_0x4f5571(0x12d)](),'file_name':_0x5888aa,'vc_filepath':_0x448234?path[_0x4f5571(0x193)](_0x448234,_0xee05d0):null,'location':_0x5888aa,'result':_0x408a33[_0x4f5571(0x75)](_0x2c304d,_0x408a33[_0x4f5571(0x109)])?_0x408a33[_0x4f5571(0x198)]:this[_0x4f5571(0xf4)](_0x324b36[_0x4f5571(0x12c)]),'failure_reason':_0x750647,'duration_in_ms':_0x324b36[_0x4f5571(0xe9)]||(_0x2c304d[_0x4f5571(0x16c)](/Finished/)||_0x2c304d[_0x4f5571(0x16c)](/Skipped/)?_0x408a33[_0x4f5571(0xb9)](Date[_0x4f5571(0xec)](),new Date(_0x324b36['started_at'])['getTime']()):null),'started_at':_0x324b36[_0x4f5571(0xcb)],'finished_at':_0x2c304d['match'](/Finished/)||_0x2c304d[_0x4f5571(0x16c)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x4f5571(0x9c)](null,_0x1b0f90),'failure_type':!_0x750647?null:_0x750647['match'](/AssertionError/)?_0x408a33['rxrDi']:_0x408a33[_0x4f5571(0x8f)],'retry_of':_0x324b36[_0x4f5571(0xdf)]};if([_0x408a33[_0x4f5571(0x109)],_0x408a33[_0x4f5571(0x192)],_0x408a33[_0x4f5571(0x15f)]][_0x4f5571(0x153)](_0x2c304d)){if(_0x408a33['IoiIQ'](getCentralUser)['lcnc']){const _0x2cfb09=TestMetadata[_0x4f5571(0xc0)](_0x324b36[_0x4f5571(0x7a)]);if(_0x2cfb09){const _0x3ca08f={};_0x3ca08f['lcnc']=_0x2cfb09,Object[_0x4f5571(0xcf)](_0x1ae856,_0x3ca08f);}}}testhubUtils[_0x4f5571(0xfa)](_0x1ae856,_0x2c304d,_0x324b36,FRAMEWORKS['MOCHA']);(_0x324b36[_0x4f5571(0x7e)]||_0x324b36[_0x4f5571(0x152)])&¢ralScannerUtils[_0x4f5571(0x171)](_0x1ae856,_0x324b36[_0x4f5571(0x7e)],_0x324b36[_0x4f5571(0x152)]);_0x408a33[_0x4f5571(0xcc)](_0x2c304d,_0x408a33[_0x4f5571(0x109)])&&!_0x1ae856[_0x408a33[_0x4f5571(0x116)]]&&(_0x1ae856[_0x408a33[_0x4f5571(0x116)]]=_0x1ae856[_0x408a33[_0x4f5571(0x102)]]);if(_0x2c304d[_0x4f5571(0x16c)](/HookRun/))[_0x1ae856[_0x4f5571(0x180)],_0x1ae856[_0x4f5571(0xb5)]]=_0x408a33[_0x4f5571(0x7d)](getHookDetails,_0x324b36['fullTitle']()||_0x324b36[_0x4f5571(0xf9)]||_0x324b36['title']),_0x408a33[_0x4f5571(0xf8)](_0x2c304d,_0x408a33[_0x4f5571(0xa7)])&&(_0x408a33[_0x4f5571(0x18c)](_0x1ae856[_0x4f5571(0x121)],_0x408a33['bUBKT'])&&(_0x1ae856[_0x4f5571(0x121)]=_0x408a33['UVeuP']),_0x408a33[_0x4f5571(0x75)](_0x1ae856[_0x4f5571(0x180)],_0x408a33[_0x4f5571(0x130)])&&_0x408a33[_0x4f5571(0x186)](_0x1ae856[_0x4f5571(0x121)],_0x408a33[_0x4f5571(0x8a)])&&!_0x324b36[_0x4f5571(0x110)][_0x4f5571(0x126)][_0x4f5571(0x155)]&&(_0x324b36[_0x4f5571(0x110)]['currentTest'][_0x4f5571(0x155)]=!![],_0x324b36[_0x4f5571(0x110)][_0x4f5571(0x126)][_0x4f5571(0x12c)]=STATE_FAILED,await this[_0x4f5571(0x16b)](_0x324b36[_0x4f5571(0x110)][_0x4f5571(0x126)],undefined,!![])));else _0x2c304d['match'](/TestRun/)&&_0x408a33[_0x4f5571(0x7d)](mapTestHooks,_0x324b36);const _0x367fe3=_0x1ae856[_0x408a33[_0x4f5571(0x77)]][0x0];_0x367fe3&&(_0x1ae856[_0x408a33[_0x4f5571(0xdc)]]=_0x367fe3[_0x408a33[_0x4f5571(0x18e)]],_0x1ae856[_0x408a33[_0x4f5571(0x12e)]]=_0x367fe3[_0x408a33['eUEdi']]);[_0x408a33[_0x4f5571(0x192)],_0x408a33['OHWvV']][_0x4f5571(0x153)](_0x2c304d)&&(this[_0x4f5571(0x147)]['push'](_0x1ae856),_0x1ae856['hooks']=_0x408a33[_0x4f5571(0x7d)](getHooksForTest,_0x324b36));const _0x559fc1={'event_type':_0x408a33[_0x4f5571(0xd3)](_0x2c304d,_0x408a33[_0x4f5571(0x109)])?_0x408a33[_0x4f5571(0x192)]:_0x2c304d};_0x2c304d[_0x4f5571(0x16c)](/HookRun/)?(_0x1ae856[_0x408a33[_0x4f5571(0x19d)]]=HOOK_TYPES_MAP[_0x1ae856[_0x408a33[_0x4f5571(0x19d)]]],_0x559fc1[_0x408a33['dzMGv']]=_0x1ae856):_0x559fc1[_0x408a33[_0x4f5571(0x191)]]=_0x1ae856,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x4f5571(0xe7)],_0x559fc1),await SessionHandler[_0x4f5571(0xef)](_0x559fc1);}catch(_0x6fe531){_0x408a33['CLQoM'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x2c304d+'\x20with\x20error\x20:\x20'+_0x6fe531);}};[a27_0x4fef41(0x157)](_0x30632f){const _0x3158df=a27_0x4fef41,_0x346844={};_0x346844[_0x3158df(0xcd)]=function(_0x325bba,_0x11cc5e){return _0x325bba===_0x11cc5e;},_0x346844['iFibh']=function(_0x378ecf,_0x345844){return _0x378ecf===_0x345844;},_0x346844[_0x3158df(0x16e)]=function(_0x31481c,_0x11366f){return _0x31481c===_0x11366f;},_0x346844[_0x3158df(0x11c)]=_0x3158df(0x17b),_0x346844[_0x3158df(0x133)]='config';const _0x1c541d=_0x346844,_0x2ee812=path[_0x3158df(0x168)];if(_0x1c541d['PIilJ'](_0x30632f,null)||_0x1c541d[_0x3158df(0x132)](_0x30632f,'')||_0x1c541d['kUuVe'](_0x30632f,_0x2ee812)||_0x1c541d['kUuVe'](_0x30632f,path[_0x3158df(0x10d)](_0x30632f)))return null;try{return fs[_0x3158df(0x119)](path[_0x3158df(0x14e)](_0x30632f,_0x1c541d[_0x3158df(0x11c)],_0x1c541d[_0x3158df(0x133)])),_0x30632f;}catch(_0x5e8632){const _0x50e126=path[_0x3158df(0x10d)](_0x30632f);return this[_0x3158df(0x157)](_0x50e126);}}[a27_0x4fef41(0xa6)]=async _0x1e57bb=>{const _0x195f58=a27_0x4fef41,_0x2297d1={'xkNfz':_0x195f58(0x101),'Cdftt':function(_0x4db386,_0xdc9199){return _0x4db386(_0xdc9199);}};try{this[_0x195f58(0x85)]&&!this[_0x195f58(0x85)][_0x195f58(0x155)]&&(_0x1e57bb['hook_run_uuid']=this[_0x195f58(0x85)][_0x195f58(0x82)]);!_0x1e57bb[_0x195f58(0x143)]&&this['current_test']&&!this[_0x195f58(0xd6)][_0x195f58(0x155)]&&(_0x1e57bb[_0x195f58(0x81)]=this['current_test'][_0x195f58(0x90)]);if(_0x1e57bb[_0x195f58(0x143)]||_0x1e57bb[_0x195f58(0x81)]){const _0x1268ad={};_0x1268ad[_0x195f58(0x115)]=_0x2297d1[_0x195f58(0x1a3)],_0x1268ad[_0x195f58(0x13f)]=[_0x1e57bb],await SessionHandler[_0x195f58(0xef)](_0x1268ad);}}catch(_0x2d3a04){_0x2297d1[_0x195f58(0x1a7)](debug,_0x195f58(0x170)+_0x2d3a04);}};[a27_0x4fef41(0x11b)]=async _0x25752a=>{const _0x2ade15=a27_0x4fef41,_0x1b2cb9={'KZUyk':_0x2ade15(0x10b),'mgJCH':_0x2ade15(0xd1),'xYdmL':function(_0x40f87d,_0x19f71c){return _0x40f87d(_0x19f71c);}};try{const _0x5128c9={};_0x5128c9[_0x2ade15(0x83)]=_0x25752a[_0x2ade15(0x83)]||this[_0x2ade15(0xd6)]['testAnalyticsId'],_0x5128c9[_0x2ade15(0xa5)]=_0x25752a[_0x1b2cb9[_0x2ade15(0xa2)]];const _0x2412f1=_0x5128c9,_0x5677e5={};_0x5677e5[_0x2ade15(0x115)]=_0x1b2cb9['mgJCH'],_0x5677e5[_0x2ade15(0xde)]=_0x2412f1,await SessionHandler[_0x2ade15(0xef)](_0x5677e5);}catch(_0x2b3758){_0x1b2cb9['xYdmL'](debug,_0x2ade15(0x194)+_0x2b3758);}};['analyticsResult'](_0x3ffbe1){const _0x52fa5a=a27_0x4fef41,_0x59c616={};_0x59c616[_0x52fa5a(0x160)]=_0x52fa5a(0x11e),_0x59c616[_0x52fa5a(0x15d)]=_0x52fa5a(0xd5),_0x59c616['gOlVW']=_0x52fa5a(0x89);const _0x174454=_0x59c616,_0x2c813b={};return _0x2c813b[STATE_PASSED]=_0x174454['EcqJQ'],_0x2c813b[STATE_PENDING]=_0x174454[_0x52fa5a(0x15d)],_0x2c813b[STATE_FAILED]=_0x174454['gOlVW'],_0x2c813b[_0x3ffbe1];}[a27_0x4fef41(0x74)](_0x232ec4){const _0x49d107=a27_0x4fef41,_0x2dfcde={};_0x2dfcde['kxstk']=function(_0x342a39,_0x5a0f09){return _0x342a39-_0x5a0f09;};const _0x25fbda=_0x2dfcde,_0x4ed48e=_0x232ec4[_0x49d107(0xea)]();return _0x4ed48e[_0x49d107(0x98)](0x0,_0x25fbda[_0x49d107(0x19e)](_0x4ed48e[_0x49d107(0x149)],0x1))['join']('\x20');}[a27_0x4fef41(0x9d)](_0x520106){const _0x56dd4c=a27_0x4fef41,_0x57f07e={};_0x57f07e['loQjp']=function(_0x316379,_0x51746c){return _0x316379-_0x51746c;};const _0x1ea61a=_0x57f07e,_0x2dab1d=_0x520106[_0x56dd4c(0xea)]();return _0x2dab1d['slice'](0x0,_0x1ea61a[_0x56dd4c(0x19f)](_0x2dab1d['length'],0x1));}[a27_0x4fef41(0x177)](_0x11ed45){const _0x22c661=a27_0x4fef41,_0x5ee7cf={};_0x5ee7cf['aJwMn']=function(_0x1b7be6,_0x20a86d){return _0x1b7be6>_0x20a86d;};const _0x2239e7=_0x5ee7cf;if(_0x11ed45[_0x22c661(0x1a2)])return _0x11ed45[_0x22c661(0x1a2)];if(_0x11ed45[_0x22c661(0x110)]){const _0x358b05=_0x11ed45['ctx'][_0x22c661(0x126)]?this[_0x22c661(0x177)](_0x11ed45[_0x22c661(0x110)]['currentTest']):null;if(_0x358b05)return _0x358b05;}if(_0x11ed45['parent']){const _0x1984e4=this[_0x22c661(0x177)](_0x11ed45[_0x22c661(0xa9)])||(_0x11ed45['parent'][_0x22c661(0x110)]&&_0x11ed45[_0x22c661(0xa9)][_0x22c661(0x110)]['currentTest']?this[_0x22c661(0x177)](_0x11ed45['parent'][_0x22c661(0x110)][_0x22c661(0x126)]):null);if(_0x1984e4)return _0x1984e4;_0x11ed45['parent'][_0x22c661(0x197)]&&_0x2239e7[_0x22c661(0x199)](_0x11ed45['parent'][_0x22c661(0x197)][_0x22c661(0x149)],0x0)&&_0x11ed45[_0x22c661(0xa9)][_0x22c661(0x197)][_0x22c661(0x73)](_0x14101d=>{const _0x38ccd0=_0x22c661,_0x21abf5=_0x14101d[_0x38ccd0(0x110)]?this[_0x38ccd0(0x177)](_0x14101d[_0x38ccd0(0x110)]):null;if(_0x21abf5)return _0x21abf5;});}return null;}}module[a27_0x4fef41(0x13e)]=MyReporter;
|