browserstack-node-sdk 1.25.1 → 1.25.3
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/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/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/templates/hub-deployment.yaml +0 -3
- package/ats/src/templates/metrics-server/deployment.yaml +3 -0
- 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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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/browserstack.pw.yml.sample +78 -0
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/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.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/jest/command.js +1 -1
- package/src/bin/jest/customEnvironment.js +1 -1
- package/src/bin/jest/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/constants.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/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/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/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/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.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/performance-tester.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/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x3e89e0=a27_0xc35e;(function(_0x147b8a,_0x950dc){const _0xc9e39f=a27_0xc35e,_0x5aa601=_0x147b8a();while(!![]){try{const _0x59cb43=-parseInt(_0xc9e39f(0x1f8))/0x1*(-parseInt(_0xc9e39f(0x1aa))/0x2)+-parseInt(_0xc9e39f(0x29c))/0x3+parseInt(_0xc9e39f(0x256))/0x4*(-parseInt(_0xc9e39f(0x126))/0x5)+-parseInt(_0xc9e39f(0x13f))/0x6+-parseInt(_0xc9e39f(0x1a3))/0x7+parseInt(_0xc9e39f(0x1be))/0x8*(parseInt(_0xc9e39f(0x1ae))/0x9)+-parseInt(_0xc9e39f(0x286))/0xa*(-parseInt(_0xc9e39f(0x220))/0xb);if(_0x59cb43===_0x950dc)break;else _0x5aa601['push'](_0x5aa601['shift']());}catch(_0x332052){_0x5aa601['push'](_0x5aa601['shift']());}}}(a27_0x253b,0x64411));function a27_0x253b(){const _0x12488f=['tYVmK','reportLogs','1686047HPxytg','filter','\x20-\x20','EzwPe','JmBro','zFEpi','RrEwG','getScope','zjIju','aWGVx','ApAWA','existsSync','yCNcO','ibNYr','poLvL','NMBVP','ddrKD','jaQfj','finishedAt','setStepIdentifier','cbghl','JOmpC','START_TIME','mcbpv','../../../helpers/test-observability/constants','DPgps','object','Lbtpd','relative','duration','onStepBegin','After\x20Hooks','gjVxM','QkEUj','eDvEa','EipLR','dBCuV','Qgqss','RuAJp','zSERn','location','failed','stop','KeDZI','getTime','uRHqF','NZvbi','sqHAn','onTestBegin','lIigl','kVYvX','retry_of','QUMIl','EWXFC','32116dGInAO','MAaxv','bYgWn','qznkI','join','beforeEach\x20hook','cPaVU','file','wgAJu','twKDp','gzYro','gITVx','ZUGfn','onStepEnd','util','UlLJZ','EEctd','getTestIdentifier','TFEDZ','YezLv','yFiIw','attachments','XbBMB','DDSEq','yWbsu','qnXmG','retry','Umolt','XYoHd','length','env','aIjcE','SXzrm','endSession','CDwKh','configureGit','tbrPn','EpKpm','mtime','HzKqo','TEST_STEP','smNaW','LogCreated','expanded','CNYrB','ztQGR','XNjOh','startsWith','140awrmpl','GkXlT','rWtdr','eNZWF','tLezq','../../../helpers/test-observability/utils','tooev','UxRhi','qpZKU','QheMc','XlOlx','EFBlj','meta','VZbrj','IYCym','err','ivRSO','toISOString','pWbGg','startedAt','ZiqlU','sendTestRunEvent','1798194NjbGIW','VAYUo','HAYAJ','path','DXWxr','LheVx','ulPoj','biypb','options','AhQgn','../../../helpers/test-observability/error-handler','shutdown','getHierarchy','CJxdg','TzfyX','startTime','WqWVr','CojDo','RFZfU','dLDpW','pending','PaJDh','name','rlnVY','VSKxO','CVlht','map','jrYJi','eVuwQ','TRogE','FuGrn','ZvFkA','TEST_SCREENSHOT','XoSoN','qxTzc','IhNhA','LQuzo','SbFrR','tnTTH','nToiB','addTestUIDAndReportLog','MFxEA','460hWDkSa','hGMjf','backtrace','aegUO','1|2|0|3|4|5','message','logs','gFOmz','FqhrR','NIilI','HookRunFinished','aIasR','result','YAbMF','wZbnh','test_run_uuid','cLLHp','uGHTZ','pVQUJ','FUiwd','IfkMb','DgUHJ','cMEdx','syGxS','pWHHj','3600756UzSolX','hZCBN','krLEo','tStHh','../../../helpers/helper','wKOhc','errors','RmCps','getHookType','push','onBegin','njbaH','uIraV','KEBLS','OhdFh','YfzdY','gHpKy','yRKfY','SBmOQ','ViVSI','tfJTn','SHqUR','afterAll\x20hook','DsYek','jVVFi','iBfUl','wsOWY','screenshot','bqqRI','xKuDL','RVPax','WIkiL','PLAYWRIGHT','TestRunStarted','VerLq','sendHookRunEvent','./test-details','WqaId','vOoLn','_tests','statSync','TijEO','HvceG','USSWt','QNvTx','stack','mvoOT','failure','qIiKW','_gitConfigPath','DUpQd','hMUHZ','status','qXKMn','otHRC','nHhhL','fJXZL','eLjwa','root','ZeMFZ','PKoeJ','skocx','boMMW','reverse','Vzqvm','oUgPI','JkVrj','getTestRunIdentifier','OyjTC','DDIIm','needToReportStep','HooWr','NdChD','qWVKL','jMLUP','KVegb','CBTSessionCreated','adeNu','rxYfE','vymSC','eWUhV','ZlwDA','fGfVx','HPbtx','getStepIdentifier','XDutv','AqXYe','test_run','base64','CYJvT','event_type','readFileSync','\x20for\x20','Wkhqn','KwTsB','test','BEFORE_ALL','AWtCb','xeJlH','onEnd','2146277GacIoU','PKkoV','EOggc','_projectId','hook_run_uuid','yAnFS','qFnpC','646ZWFLXi','ThxIM','lXyhm','printsToStdio','9haJZkE','dTbpp','setup','xcgfZ','TwTmT','uuid','PqIcq','xKoVk','iTAuP','Expected\x20to\x20fail,\x20but\x20passed.','bGZKn','kZoVe','opNoy','TestRunFinished','BVvrl','MySNk','19648BvvZPa','BRDFX','WrPbV','airfj','XinnR','VvIFA','HNKUH','sendSessionDetails','nuHcM','Sending\x20session\x20details\x20for\x20','ubokB','CUJTa','afterEach\x20hook','HookRunStarted','tfkzv','GByrp','xTEEY','JCHRF','qqkyp','beforeAll\x20hook','hPRMo','pFMGg','sLpMP','ZsASP','iNhzL','exports','oFpyb','BrEMC','eEFYk','SUgXa','performance-report-reporter.json','startMonitoring','bsCIO','category','AFTER_ALL','hook','_gitConfigured','mcfhI','fdWKk','ZcGdn','indexOf','timedOut','split','failure_reason','cwd','toString','kTUbN','_testHooksMap','YMkcC','lLTKK','fwCRi','inspect','getTestUUID','BRBdO','oqzEC','Error\x20in\x20calculating\x20performance:\x20','skipped','VyCbX','1570jUPAiE','RNwaD','passed','eKVup','mICMU','BROWSERSTACK_O11Y_PERF_MEASUREMENT','title','Jizzx','../../../helpers/test-observability/performance-tester','qEkYG','xyWwR','WeKob','AYVpo','onTestEnd','error','_bs_hookIdentifier','uploadEventData','ZQdih','NzOPf','splice','MUdkH','ZWglD','jaARV','MuFTH','NKdkm','getStepsAndLogs','zPuBm','yKdiB','parent','failure_type','jdOYv','vqazK','hooks','steps','SwEDE','fesyb','../../../helpers/test-observability/requestQueueHandler','qctGi'];a27_0x253b=function(){return _0x12488f;};return a27_0x253b();}const RequestQueueHandler=require(a27_0x3e89e0(0x21c)),{calculatePerformance,getTagsFromTitle}=require('./pwUtils'),{v4:uuidv4}=require('uuid'),path=require(a27_0x3e89e0(0x29f)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData}=require(a27_0x3e89e0(0x28b)),{getGitMetaData}=require(a27_0x3e89e0(0x143)),TestDetails=require(a27_0x3e89e0(0x163)),fs=require('fs'),util=require(a27_0x3e89e0(0x264)),{o11yClassErrorHandler}=require(a27_0x3e89e0(0x106)),PerformanceTester=require(a27_0x3e89e0(0x200)),{FRAMEWORKS}=require(a27_0x3e89e0(0x238)),SessionHandler=require('../../../helpers/test-observability/sessionHandler');class MyReporter{constructor(_0x4eb6e7){const _0x45c343=a27_0x3e89e0,_0x31d67e={};_0x31d67e[_0x45c343(0x152)]=function(_0x8eac4,_0xc2918e){return _0x8eac4+_0xc2918e;},_0x31d67e[_0x45c343(0x298)]=function(_0x5b542f,_0x43a0b7){return _0x5b542f+_0x43a0b7;},_0x31d67e[_0x45c343(0x287)]=function(_0x4c55ef,_0x17b802){return _0x4c55ef===_0x17b802;},_0x31d67e[_0x45c343(0x1a5)]='sFQns',_0x31d67e[_0x45c343(0x1fc)]=_0x45c343(0x1dc);const _0x13ecf6=_0x31d67e;if(process[_0x45c343(0x274)][_0x45c343(0x1fd)]){if(_0x13ecf6['GkXlT'](_0x13ecf6[_0x45c343(0x1a5)],_0x13ecf6[_0x45c343(0x1a5)]))PerformanceTester[_0x45c343(0x1dd)](_0x13ecf6[_0x45c343(0x1fc)]),process['env']['START_TIME']=new Date()[_0x45c343(0x297)]();else return _0x13ecf6[_0x45c343(0x152)](_0x13ecf6['pWbGg'](this[_0x45c343(0x267)](_0x49af5e),'-'),_0x471adc);}this[_0x45c343(0x166)]={},this[_0x45c343(0x1ed)]={},this[_0x45c343(0x104)]=_0x4eb6e7,this[_0x45c343(0x1e2)]=![],this[_0x45c343(0x170)]=null;}async['onBegin'](){const _0x57c9fb=a27_0x3e89e0;TestDetails[_0x57c9fb(0x1b0)](),await this[_0x57c9fb(0x279)]();}async[a27_0x3e89e0(0x250)](_0x13689b,_0x21e3fb){const _0x47f195=a27_0x3e89e0,_0x23cd62={};_0x23cd62['njbaH']=_0x47f195(0x160);const _0x3ff9a5=_0x23cd62,_0x16effa=this['getTestIdentifier'](_0x13689b);this[_0x47f195(0x166)][_0x16effa]={'uuid':TestDetails[_0x47f195(0x1f2)](this['getTestRunIdentifier'](_0x13689b,_0x21e3fb[_0x47f195(0x270)])),'startedAt':_0x21e3fb[_0x47f195(0x10b)]},await this[_0x47f195(0x29b)](_0x13689b,_0x3ff9a5[_0x47f195(0x14a)],_0x21e3fb);}async[a27_0x3e89e0(0x23e)](_0x4c66bf,_0xa7a0d1,_0xd89804){const _0x742630=a27_0x3e89e0,_0x23670f={};_0x23670f[_0x742630(0x15c)]=function(_0x54a8cf,_0x582b48){return _0x54a8cf===_0x582b48;},_0x23670f[_0x742630(0x1bf)]=_0x742630(0x1f6),_0x23670f[_0x742630(0x226)]=_0x742630(0x1fa),_0x23670f[_0x742630(0x1c8)]=function(_0x4f6996,_0x4fd842){return _0x4f6996!==_0x4fd842;},_0x23670f['VSKxO']=_0x742630(0x29d),_0x23670f[_0x742630(0x230)]=function(_0x52827f,_0x8c2cf9){return _0x52827f===_0x8c2cf9;},_0x23670f[_0x742630(0x1bd)]='UcFfY',_0x23670f[_0x742630(0x10d)]=_0x742630(0x228),_0x23670f[_0x742630(0x117)]=_0x742630(0x1cb);const _0x54f44c=_0x23670f;if(!this[_0x742630(0x185)](_0xd89804,_0x4c66bf)){if(_0x54f44c[_0x742630(0x1c8)](_0x54f44c[_0x742630(0x114)],_0x54f44c[_0x742630(0x114)]))_0x4a97bc[_0x742630(0x132)]=_0x54f44c[_0x742630(0x15c)](_0x36a528['status'],_0x54f44c['BRDFX'])?_0x54f44c[_0x742630(0x1bf)]:_0x54f44c['RrEwG'];else return;}const _0x52e473=this[_0x742630(0x233)](_0x4c66bf,_0xd89804);this[_0x742630(0x166)][_0x52e473]={'uuid':TestDetails['getTestUUID'](_0x52e473),'startedAt':_0xd89804[_0x742630(0x10b)][_0x742630(0x297)]()};const _0x4eaccb=this[_0x742630(0x182)](_0x4c66bf,_0xa7a0d1[_0x742630(0x270)]);!this[_0x742630(0x1ed)][_0x4eaccb]&&(_0x54f44c['ddrKD'](_0x54f44c[_0x742630(0x1bd)],_0x54f44c['CojDo'])?_0x45dbaa[_0x742630(0x132)]=_0x54f44c[_0x742630(0x226)]:this[_0x742630(0x1ed)][_0x4eaccb]=[]),this['_testHooksMap'][_0x4eaccb][_0x742630(0x148)](this['_tests'][_0x52e473][_0x742630(0x1b3)]),await this[_0x742630(0x162)](_0x4c66bf,_0xd89804,_0x54f44c[_0x742630(0x117)],_0xa7a0d1);}async[a27_0x3e89e0(0x263)](_0x505adc,_0x477695,_0x52f6c8){const _0x1f99a8=a27_0x3e89e0,_0x54ae10={};_0x54ae10[_0x1f99a8(0x24f)]=function(_0x2ab627,_0x5b96e4){return _0x2ab627+_0x5b96e4;},_0x54ae10['TFEDZ']=function(_0x4f5ca2,_0x4062ca){return _0x4f5ca2+_0x4062ca;},_0x54ae10[_0x1f99a8(0x284)]=function(_0x4340fb,_0x5d8c9e){return _0x4340fb===_0x5d8c9e;},_0x54ae10[_0x1f99a8(0x1b4)]=_0x1f99a8(0x1ac),_0x54ae10[_0x1f99a8(0x141)]=_0x1f99a8(0x12f),_0x54ae10[_0x1f99a8(0x246)]=_0x1f99a8(0x130);const _0x52c6d2=_0x54ae10;if(!this['needToReportStep'](_0x52f6c8,_0x505adc)){if(_0x52c6d2[_0x1f99a8(0x284)](_0x52c6d2['PqIcq'],_0x52c6d2[_0x1f99a8(0x141)]))return _0x52c6d2[_0x1f99a8(0x24f)](_0x52c6d2[_0x1f99a8(0x268)](_0x3003cf[_0x1f99a8(0x1a6)],'-'),_0x5db727['id']);else return;}const _0x3a55a7=this[_0x1f99a8(0x193)](_0x505adc,_0x52f6c8);this[_0x1f99a8(0x166)][_0x3a55a7]={...this[_0x1f99a8(0x166)][_0x3a55a7]||{},'finishedAt':new Date(_0x52c6d2[_0x1f99a8(0x24f)](_0x52f6c8[_0x1f99a8(0x10b)]['getTime'](),_0x52f6c8[_0x1f99a8(0x23d)]))},await this['sendHookRunEvent'](_0x505adc,_0x52f6c8,_0x52c6d2[_0x1f99a8(0x246)],_0x477695);}async[a27_0x3e89e0(0x205)](_0xcf7745,_0x1db1ca){const _0x291363=a27_0x3e89e0,_0x8ad18d={'fwCRi':function(_0x599426,_0x3a2106){return _0x599426===_0x3a2106;},'eNZWF':_0x291363(0x19e),'ibNYr':_0x291363(0x135),'CNYrB':_0x291363(0x1a7),'WqWVr':_0x291363(0x27e),'nPacT':_0x291363(0x249),'gjVxM':_0x291363(0x1fa),'novHZ':function(_0x559c9c,_0x42d8bc){return _0x559c9c(_0x42d8bc);},'FqhrR':function(_0x58013b,_0x592f73){return _0x58013b===_0x592f73;},'XinnR':'screenshot','yFiIw':'TEST_SCREENSHOT','DgUHJ':_0x291363(0x197),'GQpIE':_0x291363(0x23a),'oFpyb':function(_0x5a80d2,_0x18cbd4){return _0x5a80d2!==_0x18cbd4;},'jMLUP':_0x291363(0x1c4),'otHRC':function(_0x2857a0,_0x1582d0){return _0x2857a0!==_0x1582d0;},'AqXYe':_0x291363(0x17a),'txwWA':_0x291363(0x1c3),'ftZYD':_0x291363(0x119),'XbBMB':_0x291363(0x159),'TijEO':function(_0x57fb88,_0xa526bf){return _0x57fb88+_0xa526bf;},'oUgPI':_0x291363(0x1bb),'ZsASP':function(_0x16c58d,_0x3f0f3e){return _0x16c58d!==_0x3f0f3e;},'UxRhi':_0x291363(0x14d),'NRFsp':function(_0x347bb1,_0x18faee){return _0x347bb1>_0x18faee;}},_0x1bf33f=this[_0x291363(0x267)](_0xcf7745),_0x471e62=TestDetails[_0x291363(0x1f2)](this[_0x291363(0x182)](_0xcf7745,_0x1db1ca[_0x291363(0x270)]));this['_tests'][_0x1bf33f]={...this['_tests'][_0x1bf33f]||{},'finishedAt':new Date(_0x8ad18d[_0x291363(0x168)](_0x1db1ca['startTime'][_0x291363(0x24c)](),_0x1db1ca[_0x291363(0x23d)]))},await this[_0x291363(0x29b)](_0xcf7745,_0x8ad18d[_0x291363(0x180)],_0x1db1ca);const _0xd8a900=[];if(_0x1db1ca[_0x291363(0x26b)]){if(_0x8ad18d[_0x291363(0x1d5)](_0x8ad18d['UxRhi'],_0x8ad18d[_0x291363(0x28d)])){const _0x35f5ab=_0x8ad18d[_0x291363(0x1f0)](_0x14eef1,_0x8ad18d[_0x291363(0x289)])?_0x8ad18d[_0x291363(0x22d)]:_0x8ad18d[_0x291363(0x282)];_0x3da12d[_0x291363(0x148)]({'kind':_0x8ad18d[_0x291363(0x10c)],[_0x35f5ab]:_0x9c1ec4,'message':_0xab5579[_0x291363(0x1fe)],'timestamp':_0x1c58df['startTime'][_0x291363(0x297)](),'level':_0x3177ab[_0x291363(0x206)]?_0x8ad18d['nPacT']:_0x8ad18d[_0x291363(0x240)],'duration':_0xe9f3f3[_0x291363(0x23d)],'failure':_0x2b39aa[_0x291363(0x206)]&&_0xe4543a['error'][_0x291363(0x12b)]&&_0x8ad18d['novHZ'](_0x23b961,_0x3c07d7[_0x291363(0x206)][_0x291363(0x12b)]),'failure_type':_0x8ad18d['novHZ'](_0x2c6e48,_0x823caa[_0x291363(0x206)]&&_0x3b6bf5[_0x291363(0x206)][_0x291363(0x12b)])});}else _0x1db1ca[_0x291363(0x26b)]['map'](_0x44ec04=>{const _0x52d20e=_0x291363;if(_0x8ad18d[_0x52d20e(0x1d8)](_0x8ad18d[_0x52d20e(0x189)],_0x8ad18d[_0x52d20e(0x189)])){const _0x35d126={'zErQT':function(_0x348860,_0x11ee2b){const _0x3f465a=_0x52d20e;return _0x8ad18d[_0x3f465a(0x12e)](_0x348860,_0x11ee2b);},'xyWwR':_0x8ad18d[_0x52d20e(0x1c2)],'ThxIM':_0x8ad18d[_0x52d20e(0x26a)],'lLTKK':_0x8ad18d[_0x52d20e(0x13b)]};_0x22b055[_0x52d20e(0x26b)][_0x52d20e(0x116)](_0x77600a=>{const _0x549f75=_0x52d20e;if(_0x35d126['zErQT'](_0x77600a[_0x549f75(0x112)],_0x35d126[_0x549f75(0x202)])){if(!_0x12bcf7[_0x549f75(0x22b)](_0x77600a[_0x549f75(0x29f)]))return;_0x40e2f2[_0x549f75(0x148)]({'test_run_uuid':_0x41c350,'timestamp':_0x29d9dd[_0x549f75(0x167)](_0x77600a[_0x549f75(0x29f)])[_0x549f75(0x27c)],'kind':_0x35d126[_0x549f75(0x1ab)],'message':_0x61351e[_0x549f75(0x19a)](_0x77600a[_0x549f75(0x29f)],{'encoding':_0x35d126[_0x549f75(0x1ef)]})});}});}else{if(_0x8ad18d[_0x52d20e(0x12e)](_0x44ec04[_0x52d20e(0x112)],_0x8ad18d[_0x52d20e(0x1c2)])){if(_0x8ad18d[_0x52d20e(0x175)](_0x8ad18d[_0x52d20e(0x195)],_0x8ad18d['txwWA'])){if(!fs['existsSync'](_0x44ec04[_0x52d20e(0x29f)])){if(_0x8ad18d[_0x52d20e(0x12e)](_0x8ad18d['ftZYD'],_0x8ad18d[_0x52d20e(0x26c)]))_0x58df09[_0x52d20e(0x148)](_0x55906d['title']),_0x12c731=_0x1dfb83[_0x52d20e(0x214)];else return;}_0xd8a900[_0x52d20e(0x148)]({'test_run_uuid':_0x471e62,'timestamp':fs[_0x52d20e(0x167)](_0x44ec04[_0x52d20e(0x29f)])['mtime'],'kind':_0x8ad18d[_0x52d20e(0x26a)],'message':fs[_0x52d20e(0x19a)](_0x44ec04[_0x52d20e(0x29f)],{'encoding':_0x8ad18d[_0x52d20e(0x13b)]})});}else{let _0x3c4ff7=_0x2c4127['parent'];return _0x8ad18d['FqhrR'](typeof _0x32abba[_0x52d20e(0x214)],_0x8ad18d['GQpIE'])&&(_0x3c4ff7=_0x3c4ff7[_0x52d20e(0x1fe)]),_0x3c4ff7+'\x20-\x20'+_0x5f50fa['title'];}}}});}if(_0x8ad18d['NRFsp'](_0xd8a900[_0x291363(0x273)],0x0))await MyReporter[_0x291363(0x21f)](_0xd8a900);}async[a27_0x3e89e0(0x277)](){const _0x247a93=a27_0x3e89e0;await RequestQueueHandler['getInstance']()[_0x247a93(0x107)](),await SessionHandler[_0x247a93(0x24a)](),TestDetails['shutdown']();}async[a27_0x3e89e0(0x1a2)](_0x24d12c){const _0x15dde6=a27_0x3e89e0,_0x1c7d4f={'VRRPs':function(_0x375974,_0x4d66ec){return _0x375974-_0x4d66ec;},'oqzEC':_0x15dde6(0x19f),'qFnpC':_0x15dde6(0x11c),'HgUQK':_0x15dde6(0x197),'jVVFi':function(_0x1bdf98){return _0x1bdf98();},'RNwaD':function(_0x28eeb7,_0x4c58ec){return _0x28eeb7===_0x4c58ec;},'nToiB':_0x15dde6(0x187),'MuFTH':_0x15dde6(0x28f),'PnSqF':_0x15dde6(0x14f),'qXKMn':_0x15dde6(0x177),'CvHiU':function(_0x58f8d0){return _0x58f8d0();},'VyCbX':function(_0x5194e7,_0x261de0){return _0x5194e7===_0x261de0;},'nuHcM':_0x15dde6(0x272),'wgAJu':_0x15dde6(0x18e),'BZMYF':function(_0x205767,_0x4e4352){return _0x205767(_0x4e4352);}};await this[_0x15dde6(0x277)](),_0x1c7d4f[_0x15dde6(0x157)](printBuildLink);try{if(_0x1c7d4f[_0x15dde6(0x1f9)](_0x1c7d4f[_0x15dde6(0x123)],_0x1c7d4f[_0x15dde6(0x20f)]))_0x23f3ab[_0x15dde6(0x253)]=_0x1688f8['getTestUUID'](this['getTestRunIdentifier'](_0x3593ff,_0x1c7d4f['VRRPs'](_0x319a7b[_0x15dde6(0x270)],0x1)));else{if(process[_0x15dde6(0x274)][_0x15dde6(0x1fd)]){if(_0x1c7d4f[_0x15dde6(0x1f9)](_0x1c7d4f['PnSqF'],_0x1c7d4f[_0x15dde6(0x174)]))return _0x1c7d4f[_0x15dde6(0x1f4)];else await _0x1c7d4f['CvHiU'](calculatePerformance);}}}catch(_0x5788c7){if(_0x1c7d4f[_0x15dde6(0x1f7)](_0x1c7d4f[_0x15dde6(0x1c6)],_0x1c7d4f[_0x15dde6(0x25e)])){if(!_0x4a511f[_0x15dde6(0x22b)](_0x21cc9e[_0x15dde6(0x29f)]))return;_0x3dc35c['push']({'test_run_uuid':_0x52fabe,'timestamp':_0x737f3[_0x15dde6(0x167)](_0x8ddf99[_0x15dde6(0x29f)])[_0x15dde6(0x27c)],'kind':_0x1c7d4f[_0x15dde6(0x1a9)],'message':_0x2ca1b9[_0x15dde6(0x19a)](_0x54ac73[_0x15dde6(0x29f)],{'encoding':_0x1c7d4f['HgUQK']})});}else _0x1c7d4f['BZMYF'](debug,_0x15dde6(0x1f5)+_0x5788c7[_0x15dde6(0x1eb)]());}}static async[a27_0x3e89e0(0x124)](_0x5d223a,_0x59a063){const _0x36d45a=a27_0x3e89e0;_0x59a063[_0x36d45a(0x135)]=TestDetails[_0x36d45a(0x1f2)](_0x5d223a),await this[_0x36d45a(0x21f)]([_0x59a063]);}static async[a27_0x3e89e0(0x21f)](_0x2148e9){const _0x2ca39c=a27_0x3e89e0,_0x49ec05={};_0x49ec05[_0x2ca39c(0x24d)]=_0x2ca39c(0x280);const _0x386bec=_0x49ec05,_0x2eacde={};_0x2eacde[_0x2ca39c(0x199)]=_0x386bec[_0x2ca39c(0x24d)],_0x2eacde['logs']=_0x2148e9,await SessionHandler[_0x2ca39c(0x208)](_0x2eacde);}async['sendHookRunEvent'](_0x29dc6a,_0x50d1d9,_0x555b4e,_0x115bfc){const _0x5439f4=a27_0x3e89e0,_0x1d2280={'mcbpv':function(_0x51867b,_0x51006e,_0x2dd1ad){return _0x51867b(_0x51006e,_0x2dd1ad);},'bqqRI':function(_0x5dd212,_0x2e86c,_0x121470){return _0x5dd212(_0x2e86c,_0x121470);},'eLjwa':function(_0x171e4a){return _0x171e4a();},'adeNu':'failed','tfkzv':_0x5439f4(0x1fa),'yRKfY':function(_0x4cf05e,_0x1a5895){return _0x4cf05e(_0x1a5895);},'sLpMP':function(_0x19ae2f,_0x1e2a13,_0x42ef94){return _0x19ae2f(_0x1e2a13,_0x42ef94);},'DDIIm':'hook','Jizzx':'javascript','pvVhQ':_0x5439f4(0x110),'CTuVw':function(_0x4b631b,_0x36ea81){return _0x4b631b>=_0x36ea81;},'xeJlH':function(_0x1cadfe,_0x1de8c2){return _0x1cadfe===_0x1de8c2;},'HPbtx':'HookRunFinished','qYegs':function(_0x150441,_0x1ce009){return _0x150441!==_0x1ce009;},'QkEUj':'GPcsO','IYCym':_0x5439f4(0x231),'qznkI':function(_0x167090,_0x43c38c){return _0x167090>_0x43c38c;},'KwTsB':function(_0x281139,_0x31acd9){return _0x281139===_0x31acd9;},'NzOPf':_0x5439f4(0x111),'KEBLS':function(_0x1a275e,_0x3e8668){return _0x1a275e===_0x3e8668;},'XlOlx':_0x5439f4(0x1c0),'poLvL':_0x5439f4(0x1b9),'zPuBm':function(_0x1d3544,_0x5ec2cd){return _0x1d3544(_0x5ec2cd);},'DsYek':function(_0x5d9660,_0x4a11f9,_0x2aee4f){return _0x5d9660(_0x4a11f9,_0x2aee4f);},'qeXCw':_0x5439f4(0x295),'crryh':function(_0x5d656d,_0x10db80){return _0x5d656d===_0x10db80;},'nHhhL':_0x5439f4(0x1cd),'JkVrj':_0x5439f4(0x105),'EWXFC':'nnoPm'},_0x2c5196=this[_0x5439f4(0x193)](_0x29dc6a,_0x50d1d9),_0x10f0f3=this[_0x5439f4(0x166)][_0x2c5196],_0x284013={'uuid':_0x10f0f3[_0x5439f4(0x1b3)],'type':_0x1d2280[_0x5439f4(0x184)],'hook_type':this[_0x5439f4(0x147)](_0x50d1d9[_0x5439f4(0x1fe)]),'name':_0x50d1d9[_0x5439f4(0x1fe)],'scope':this['getScope'](_0x50d1d9),'scopes':this['getHierarchy'](_0x29dc6a),'body':{'lang':_0x1d2280[_0x5439f4(0x1ff)],'code':null},'identifier':_0x2c5196,'file_name':path['relative'](process[_0x5439f4(0x1ea)](),_0x29dc6a[_0x5439f4(0x248)][_0x5439f4(0x25d)]),'location':path['relative'](process[_0x5439f4(0x1ea)](),_0x29dc6a[_0x5439f4(0x248)][_0x5439f4(0x25d)]),'result':_0x1d2280['pvVhQ'],'duration_in_ms':_0x1d2280['CTuVw'](_0x50d1d9[_0x5439f4(0x23d)],0x0)?_0x50d1d9['duration']:undefined,'vc_filepath':this[_0x5439f4(0x170)]&&_0x29dc6a['location'][_0x5439f4(0x25d)]?path['relative'](this[_0x5439f4(0x170)],_0x29dc6a[_0x5439f4(0x248)][_0x5439f4(0x25d)]):undefined,'started_at':_0x10f0f3[_0x5439f4(0x299)],'finished_at':_0x10f0f3[_0x5439f4(0x232)],'framework':FRAMEWORKS[_0x5439f4(0x15f)]};if(_0x1d2280[_0x5439f4(0x1a1)](_0x555b4e,_0x1d2280[_0x5439f4(0x192)])){if(_0x1d2280['qYegs'](_0x1d2280[_0x5439f4(0x241)],_0x1d2280[_0x5439f4(0x294)])){const {steps:_0x2b4e15,logs:_0x423bae}=this[_0x5439f4(0x211)](_0x50d1d9[_0x5439f4(0x219)],_0x10f0f3['uuid'],_0x1d2280['DDIIm']);_0x423bae&&_0x1d2280[_0x5439f4(0x259)](_0x423bae['length'],0x0)&&(_0x1d2280[_0x5439f4(0x19d)](_0x1d2280['NzOPf'],_0x1d2280[_0x5439f4(0x20a)])?await MyReporter['reportLogs'](_0x423bae):_0x1d2280[_0x5439f4(0x237)](_0x4dff4d,_0xdc69a5,![]));const _0x3da48d={};_0x3da48d[_0x5439f4(0x219)]=_0x2b4e15,_0x284013[_0x5439f4(0x292)]=_0x3da48d;if(_0x50d1d9[_0x5439f4(0x206)]){if(_0x1d2280[_0x5439f4(0x14c)](_0x1d2280[_0x5439f4(0x290)],_0x1d2280[_0x5439f4(0x22e)]))_0x1d2280[_0x5439f4(0x15b)](_0x5bfb1e,_0x5ce4c1,!![]);else{_0x284013[_0x5439f4(0x132)]=_0x1d2280[_0x5439f4(0x18c)],_0x284013[_0x5439f4(0x1e9)]=_0x1d2280[_0x5439f4(0x150)](removeAnsiColors,_0x50d1d9[_0x5439f4(0x206)][_0x5439f4(0x12b)]),_0x284013['failure_type']=_0x1d2280[_0x5439f4(0x212)](getFailureType,_0x50d1d9[_0x5439f4(0x206)]['message']);const _0xbcae29=_0x1d2280[_0x5439f4(0x156)](failureData,_0x50d1d9[_0x5439f4(0x206)],_0x1d2280['qeXCw']);if(_0xbcae29&&_0x1d2280['crryh'](_0xbcae29[_0x5439f4(0x273)],0x0)){if(_0x1d2280[_0x5439f4(0x1a1)](_0x1d2280[_0x5439f4(0x176)],_0x1d2280[_0x5439f4(0x181)])){let _0x3461ef=_0x18be4a[_0x5439f4(0x1fe)]+_0x5439f4(0x19b)+this[_0x5439f4(0x267)](_0x19fe92);return this[_0x5439f4(0x166)][_0x3461ef]&&(_0x3461ef=_0x3461ef+_0x5439f4(0x222)+_0x1d2280[_0x5439f4(0x178)](_0x3e447d)),_0x23958d[_0x5439f4(0x207)]=_0x3461ef,_0x3461ef;}else{const _0x20a192={};_0x20a192[_0x5439f4(0x128)]=[_0x284013[_0x5439f4(0x1e9)]],_0x20a192[_0x5439f4(0x281)]=[],_0xbcae29[_0x5439f4(0x148)](_0x20a192);}}_0x284013['failure']=_0xbcae29;}}else{if(_0x1d2280['KEBLS'](_0x1d2280[_0x5439f4(0x255)],_0x1d2280[_0x5439f4(0x255)]))_0x284013[_0x5439f4(0x132)]=_0x1d2280[_0x5439f4(0x1cc)];else{!_0x55f23f&&_0x2c91a8['push']({'id':_0x1d2280['eLjwa'](_0x521509),'text':_0x1b27dd[_0x5439f4(0x1fe)],'keyword':_0x12ca37,'started_at':_0x13d61e[_0x5439f4(0x10b)][_0x5439f4(0x297)](),'duration':_0x409253[_0x5439f4(0x23d)],'result':_0x38fd95[_0x5439f4(0x206)]?_0x1d2280[_0x5439f4(0x18c)]:_0x1d2280[_0x5439f4(0x1cc)],'failure':_0x45ec0e['error']&&_0x2cc9e8['error'][_0x5439f4(0x12b)]&&_0x1d2280['yRKfY'](_0x5c07e3,_0x1b230c[_0x5439f4(0x206)][_0x5439f4(0x12b)]),'failure_type':_0x1d2280[_0x5439f4(0x150)](_0x370654,_0x3c19f6[_0x5439f4(0x206)]&&_0x115a52['error'][_0x5439f4(0x12b)])});for(const _0x2ccc07 of _0x522b02[_0x5439f4(0x219)]){_0x1d2280[_0x5439f4(0x1d4)](_0x1fc710,_0x2ccc07,!![]);}}}}else return![];}const _0xf02fea={};_0xf02fea[_0x5439f4(0x199)]=_0x555b4e,_0xf02fea['hook_run']=_0x284013;const _0x122a18=_0xf02fea;await SessionHandler[_0x5439f4(0x208)](_0x122a18);}[a27_0x3e89e0(0x211)](_0x49c54a,_0x2d22ad,_0xbd3a8e){const _0x4dfb6e=a27_0x3e89e0,_0x7f2bd={'yAnFS':function(_0x3dce8e,_0x4328f2){return _0x3dce8e(_0x4328f2);},'rlnVY':function(_0x35aab1,_0x4b27f4){return _0x35aab1(_0x4b27f4);},'PKoeJ':function(_0xfbd8e1,_0x2ffb28,_0x1270ef){return _0xfbd8e1(_0x2ffb28,_0x1270ef);},'HIFVv':'test','SbFrR':function(_0x4d1fa6,_0x5272b3){return _0x4d1fa6===_0x5272b3;},'tYVmK':'AFTER_EACH','VerLq':function(_0x1fbc19,_0x740071){return _0x1fbc19!==_0x740071;},'QNvTx':_0x4dfb6e(0x266),'fdWKk':'DfKpf','gzYro':function(_0x5c97a3,_0x13caea){return _0x5c97a3===_0x13caea;},'Lbtpd':_0x4dfb6e(0x1e1),'cPaVU':function(_0x53199f,_0x1c1150){return _0x53199f===_0x1c1150;},'EzwPe':_0x4dfb6e(0x23f),'Umolt':'Before\x20Hooks','tooev':_0x4dfb6e(0x13e),'AWtCb':_0x4dfb6e(0x10f),'NMBVP':_0x4dfb6e(0x1e0),'CVlht':'PqcGs','eVQLn':_0x4dfb6e(0x125),'IVZLo':function(_0x5a246a,_0x7778e0){return _0x5a246a===_0x7778e0;},'mvoOT':_0x4dfb6e(0x14b),'cMEdx':_0x4dfb6e(0x216),'FtWpV':'test_run_uuid','acODD':'hook_run_uuid','HvceG':'TEST_STEP','JOmpC':_0x4dfb6e(0x249),'JCHRF':_0x4dfb6e(0x1fa),'NZvbi':_0x4dfb6e(0x27f),'aIjcE':_0x4dfb6e(0x1b8),'stWDo':function(_0x17a108,_0x31d3c3){return _0x17a108===_0x31d3c3;},'hZCBN':_0x4dfb6e(0x20e),'SUgXa':_0x4dfb6e(0x1af),'ulPoj':function(_0x42c97a){return _0x42c97a();},'TzfyX':function(_0x588a13,_0x150de2){return _0x588a13(_0x150de2);},'IhNhA':function(_0x1c6c5b,_0x44dd97){return _0x1c6c5b!==_0x44dd97;},'ivRSO':_0x4dfb6e(0x101),'vohEF':_0x4dfb6e(0x29e),'airfj':function(_0x86eb3a,_0x337f03){return _0x86eb3a===_0x337f03;},'zgOCi':'ySbFj','EFBlj':function(_0x1414c8,_0xf80ae8,_0x47f395){return _0x1414c8(_0xf80ae8,_0x47f395);}},_0x3be68c=[],_0x1c7335=[],_0x33e8a6=_0x49c54a[_0x4dfb6e(0x221)](_0x5d65c1=>{const _0x529321=_0x4dfb6e,_0xc6c0bb={'qnXmG':function(_0xbac1f1,_0x1b0e69){const _0x1402c0=a27_0xc35e;return _0x7f2bd[_0x1402c0(0x1a8)](_0xbac1f1,_0x1b0e69);},'qctGi':function(_0x35c69c,_0x4f528f){const _0x4d78e6=a27_0xc35e;return _0x7f2bd[_0x4d78e6(0x113)](_0x35c69c,_0x4f528f);},'uGHTZ':function(_0x1713fc,_0x444ac2,_0x2fbe25){const _0x2c32bc=a27_0xc35e;return _0x7f2bd[_0x2c32bc(0x17b)](_0x1713fc,_0x444ac2,_0x2fbe25);},'WIkiL':_0x7f2bd['HIFVv'],'kVYvX':function(_0xe14e37,_0x1f2a22){const _0xe726a0=a27_0xc35e;return _0x7f2bd[_0xe726a0(0x121)](_0xe14e37,_0x1f2a22);},'KVegb':_0x7f2bd[_0x529321(0x21e)]};if(_0x7f2bd[_0x529321(0x161)](_0x7f2bd[_0x529321(0x16b)],_0x7f2bd[_0x529321(0x1e4)])){if(_0x7f2bd['gzYro'](_0x5d65c1[_0x529321(0x1df)],_0x7f2bd[_0x529321(0x23b)])&&(_0x7f2bd['cPaVU'](_0x5d65c1[_0x529321(0x1fe)],_0x7f2bd[_0x529321(0x223)])||_0x7f2bd[_0x529321(0x25c)](_0x5d65c1[_0x529321(0x1fe)],_0x7f2bd[_0x529321(0x271)]))){if(_0x7f2bd['VerLq'](_0x7f2bd[_0x529321(0x28c)],_0x7f2bd[_0x529321(0x1a0)]))return![];else{_0x510fc2[_0x529321(0x1e9)]=_0xc6c0bb[_0x529321(0x26f)](_0x1b791c,_0x308ad4[_0x529321(0x206)]['message']),_0x59e68d['failure_type']=_0xc6c0bb[_0x529321(0x21d)](_0x40ebfa,_0x83948[_0x529321(0x206)][_0x529321(0x12b)]);const _0x18f579=_0xc6c0bb[_0x529321(0x137)](_0x15bbea,_0x1c174c['errors'],_0xc6c0bb[_0x529321(0x15e)]);if(_0x18f579&&_0xc6c0bb[_0x529321(0x252)](_0x18f579[_0x529321(0x273)],0x0)){const _0x13e47c={};_0x13e47c[_0x529321(0x128)]=[_0x3e14c5['failure_reason']],_0x13e47c[_0x529321(0x281)]=[],_0x18f579['push'](_0x13e47c);}_0x2c2ef2[_0x529321(0x16e)]=_0x18f579;}}return!![];}else return _0xc6c0bb[_0x529321(0x18a)];}),_0x23390f=(_0x197cd8,_0x5c76fd=![])=>{const _0x320de0=_0x4dfb6e,_0x11a912={};_0x11a912[_0x320de0(0x203)]=_0x7f2bd[_0x320de0(0x22f)];const _0x54731d=_0x11a912;if(_0x7f2bd[_0x320de0(0x121)](_0x7f2bd[_0x320de0(0x115)],_0x7f2bd['eVQLn'])){const _0x192aae=[];if(_0x5bc6c1&&_0x25098d[_0x320de0(0x214)]){let _0xad7fc3=_0x4fb70a[_0x320de0(0x214)];while(_0xad7fc3&&_0x7f2bd['VerLq'](_0xad7fc3['title'],'')){_0x192aae[_0x320de0(0x148)](_0xad7fc3[_0x320de0(0x1fe)]),_0xad7fc3=_0xad7fc3[_0x320de0(0x214)];}}return _0x192aae[_0x320de0(0x17e)]()[_0x320de0(0x20b)](0x0,0x2),_0x192aae;}else{if(_0x7f2bd['IVZLo'](_0x197cd8['steps'][_0x320de0(0x273)],0x0)){if(_0x7f2bd['SbFrR'](_0x7f2bd[_0x320de0(0x16d)],_0x7f2bd[_0x320de0(0x13c)]))this[_0x320de0(0x170)]=_0x6bb5fa[_0x320de0(0x179)];else{const _0x48ad69=_0x7f2bd[_0x320de0(0x260)](_0xbd3a8e,_0x7f2bd['HIFVv'])?_0x7f2bd['FtWpV']:_0x7f2bd['acODD'];_0x1c7335[_0x320de0(0x148)]({'kind':_0x7f2bd[_0x320de0(0x169)],[_0x48ad69]:_0x2d22ad,'message':_0x197cd8[_0x320de0(0x1fe)],'timestamp':_0x197cd8['startTime']['toISOString'](),'level':_0x197cd8[_0x320de0(0x206)]?_0x7f2bd[_0x320de0(0x235)]:_0x7f2bd[_0x320de0(0x1cf)],'duration':_0x197cd8[_0x320de0(0x23d)],'failure':_0x197cd8[_0x320de0(0x206)]&&_0x197cd8[_0x320de0(0x206)][_0x320de0(0x12b)]&&_0x7f2bd['rlnVY'](removeAnsiColors,_0x197cd8['error'][_0x320de0(0x12b)]),'failure_type':_0x7f2bd[_0x320de0(0x1a8)](getFailureType,_0x197cd8[_0x320de0(0x206)]&&_0x197cd8[_0x320de0(0x206)][_0x320de0(0x12b)])});}}else{if(_0x7f2bd[_0x320de0(0x25c)](_0x7f2bd[_0x320de0(0x24e)],_0x7f2bd[_0x320de0(0x275)]))return![];else{if(!_0x5c76fd){if(_0x7f2bd['stWDo'](_0x7f2bd[_0x320de0(0x140)],_0x7f2bd[_0x320de0(0x1db)]))return _0x54731d[_0x320de0(0x203)];else _0x3be68c[_0x320de0(0x148)]({'id':_0x7f2bd[_0x320de0(0x102)](uuidv4),'text':_0x197cd8['title'],'keyword':undefined,'started_at':_0x197cd8[_0x320de0(0x10b)][_0x320de0(0x297)](),'duration':_0x197cd8['duration'],'result':_0x197cd8[_0x320de0(0x206)]?_0x7f2bd[_0x320de0(0x235)]:_0x7f2bd[_0x320de0(0x1cf)],'failure':_0x197cd8['error']&&_0x197cd8[_0x320de0(0x206)][_0x320de0(0x12b)]&&_0x7f2bd[_0x320de0(0x10a)](removeAnsiColors,_0x197cd8['error'][_0x320de0(0x12b)]),'failure_type':_0x7f2bd[_0x320de0(0x10a)](getFailureType,_0x197cd8['error']&&_0x197cd8[_0x320de0(0x206)][_0x320de0(0x12b)])});}for(const _0x5788a1 of _0x197cd8[_0x320de0(0x219)]){if(_0x7f2bd[_0x320de0(0x11f)](_0x7f2bd[_0x320de0(0x296)],_0x7f2bd['vohEF']))_0x7f2bd['PKoeJ'](_0x23390f,_0x5788a1,!![]);else return;}}}}};for(const _0x8ae077 of _0x33e8a6){if(_0x7f2bd[_0x4dfb6e(0x11f)](_0x7f2bd['zgOCi'],_0x7f2bd['zgOCi'])){if(_0x7f2bd['stWDo'](_0x38087e[_0x4dfb6e(0x1df)],_0x7f2bd[_0x4dfb6e(0x23b)])&&(_0x7f2bd[_0x4dfb6e(0x260)](_0x121d27[_0x4dfb6e(0x1fe)],_0x7f2bd[_0x4dfb6e(0x223)])||_0x7f2bd[_0x4dfb6e(0x1c1)](_0x2538f8[_0x4dfb6e(0x1fe)],_0x7f2bd[_0x4dfb6e(0x271)])))return![];return!![];}else _0x7f2bd[_0x4dfb6e(0x291)](_0x23390f,_0x8ae077,![]);}const _0xae087={};return _0xae087[_0x4dfb6e(0x219)]=_0x3be68c,_0xae087[_0x4dfb6e(0x12c)]=_0x1c7335,_0xae087;}async[a27_0x3e89e0(0x29b)](_0x1f2992,_0x21683f,_0x247d92){const _0x38e5f0=a27_0x3e89e0,_0x35159e={'DXWxr':function(_0x5b6b18){return _0x5b6b18();},'ZlwDA':'BEFORE_EACH','pFMGg':function(_0x3ad767){return _0x3ad767();},'aegUO':_0x38e5f0(0x249),'VZbrj':'passed','rWtdr':function(_0x3595d5,_0x40a3da){return _0x3595d5(_0x40a3da);},'rxYfE':function(_0x299284,_0x9b35fc){return _0x299284(_0x9b35fc);},'YAbMF':function(_0x1b21e7,_0x5d7d7f){return _0x1b21e7(_0x5d7d7f);},'KeDZI':'test','wVhyc':'javascript','YfzdY':'pending','cLLHp':function(_0x50c421,_0x569bad){return _0x50c421(_0x569bad);},'RFZfU':function(_0x2e55b5,_0x31ad2d){return _0x2e55b5>_0x31ad2d;},'RVPax':function(_0x51ae75,_0x22c0b4){return _0x51ae75===_0x22c0b4;},'qpZKU':'fwQaO','LQuzo':function(_0x5288a0,_0x1e90a4){return _0x5288a0-_0x1e90a4;},'tbrPn':_0x38e5f0(0x1bb),'CUJTa':function(_0x1700f9,_0x5035c3){return _0x1700f9===_0x5035c3;},'boMMW':_0x38e5f0(0x239),'tnTTH':_0x38e5f0(0x165),'PKkoV':function(_0x7b6e99,_0x2dcbef){return _0x7b6e99===_0x2dcbef;},'XlvxF':'miKot','ZvFkA':_0x38e5f0(0x21a),'yWbsu':_0x38e5f0(0x1f6),'NKdkm':function(_0x276270,_0x576838){return _0x276270!==_0x576838;},'QUMIl':_0x38e5f0(0x25f),'PmZNd':_0x38e5f0(0x1e7),'HooWr':_0x38e5f0(0x1ba),'aIasR':_0x38e5f0(0x138),'YMkcC':function(_0x19e008,_0x3fca52){return _0x19e008===_0x3fca52;},'wKOhc':_0x38e5f0(0x194),'eEFYk':_0x38e5f0(0x1b7),'rVNOc':function(_0x256d55,_0x136206){return _0x256d55===_0x136206;},'ZiqlU':_0x38e5f0(0x265),'dBCuV':_0x38e5f0(0x27d),'swPPL':function(_0x55b15c,_0x476f2b,_0x253de1){return _0x55b15c(_0x476f2b,_0x253de1);},'iBfUl':function(_0x4687fe,_0x5d26b3){return _0x4687fe===_0x5d26b3;},'hGMjf':'haUnL'},_0x88e98=this['getTestIdentifier'](_0x1f2992),_0x3e36a4=this[_0x38e5f0(0x227)](_0x1f2992),_0x23fab3=this[_0x38e5f0(0x166)][_0x88e98],_0x5cb0f4=path['relative'](process[_0x38e5f0(0x1ea)](),_0x1f2992[_0x38e5f0(0x248)]['file']);await this['configureGit']();const _0x27fff0={'uuid':_0x23fab3['uuid'],'type':_0x35159e[_0x38e5f0(0x24b)],'name':_0x1f2992[_0x38e5f0(0x1fe)],'body':{'lang':_0x35159e['wVhyc'],'code':_0x1f2992['fn'][_0x38e5f0(0x1eb)]()},'scope':_0x3e36a4,'scopes':this[_0x38e5f0(0x108)](_0x1f2992),'identifier':_0x88e98,'file_name':_0x5cb0f4,'location':_0x5cb0f4,'result':_0x35159e[_0x38e5f0(0x14e)],'duration_in_ms':_0x247d92&&_0x247d92[_0x38e5f0(0x23d)]?_0x247d92['duration']:null,'vc_filepath':this[_0x38e5f0(0x170)]&&_0x1f2992[_0x38e5f0(0x248)][_0x38e5f0(0x25d)]?path[_0x38e5f0(0x23c)](this['_gitConfigPath'],_0x1f2992[_0x38e5f0(0x248)][_0x38e5f0(0x25d)]):undefined,'started_at':_0x23fab3[_0x38e5f0(0x299)],'finished_at':_0x23fab3[_0x38e5f0(0x232)],'framework':FRAMEWORKS[_0x38e5f0(0x15f)],'customRerunParam':{'rerun_name':_0x1f2992['titlePath']()[_0x38e5f0(0x25a)]('\x20')},'tags':_0x35159e[_0x38e5f0(0x136)](getTagsFromTitle,_0x1f2992['title'])};if(_0x247d92&&_0x35159e[_0x38e5f0(0x10e)](_0x247d92[_0x38e5f0(0x270)],0x0)){if(_0x35159e['RVPax'](_0x35159e[_0x38e5f0(0x28e)],_0x35159e[_0x38e5f0(0x28e)]))_0x27fff0[_0x38e5f0(0x253)]=TestDetails[_0x38e5f0(0x1f2)](this[_0x38e5f0(0x182)](_0x1f2992,_0x35159e[_0x38e5f0(0x120)](_0x247d92[_0x38e5f0(0x270)],0x1)));else{const _0x372494={};_0x372494[_0x38e5f0(0x128)]=[_0x8d4cfa['failure_reason']],_0x372494[_0x38e5f0(0x281)]=[],_0x34c026['push'](_0x372494);}}if(_0x35159e[_0x38e5f0(0x15d)](_0x21683f,_0x35159e[_0x38e5f0(0x27a)])){if(_0x35159e['CUJTa'](_0x35159e[_0x38e5f0(0x17d)],_0x35159e[_0x38e5f0(0x122)]))_0x200f6f=_0x115b50+_0x38e5f0(0x222)+_0x35159e[_0x38e5f0(0x2a0)](_0x3ff6a9);else{_0x27fff0[_0x38e5f0(0x132)]=_0x247d92[_0x38e5f0(0x173)];if(_0x35159e['CUJTa'](_0x247d92[_0x38e5f0(0x173)],_0x1f2992['expectedStatus'])){if(_0x35159e['PKkoV'](_0x35159e['XlvxF'],_0x35159e[_0x38e5f0(0x11b)]))return _0x35159e[_0x38e5f0(0x190)];else _0x27fff0['result']=_0x35159e[_0x38e5f0(0x15d)](_0x247d92[_0x38e5f0(0x173)],_0x35159e['yWbsu'])?_0x35159e[_0x38e5f0(0x26e)]:_0x35159e[_0x38e5f0(0x293)];}else{if(_0x35159e[_0x38e5f0(0x210)](_0x35159e[_0x38e5f0(0x254)],_0x35159e['QUMIl']))_0x33eff4=_0x41a873[_0x38e5f0(0x1fe)];else{(_0x35159e[_0x38e5f0(0x1c9)](_0x27fff0[_0x38e5f0(0x132)],_0x35159e[_0x38e5f0(0x293)])||_0x35159e[_0x38e5f0(0x1a4)](_0x27fff0['result'],_0x35159e['aegUO'])||_0x35159e['CUJTa'](_0x27fff0[_0x38e5f0(0x132)],_0x35159e['PmZNd']))&&(_0x35159e[_0x38e5f0(0x210)](_0x35159e[_0x38e5f0(0x186)],_0x35159e[_0x38e5f0(0x131)])?_0x27fff0[_0x38e5f0(0x132)]=_0x35159e[_0x38e5f0(0x129)]:this[_0x38e5f0(0x1ed)][_0x4e0946]=[]);if(_0x35159e['CUJTa'](_0x247d92[_0x38e5f0(0x173)],_0x35159e['VZbrj'])&&_0x35159e[_0x38e5f0(0x1ee)](_0x1f2992['expectedStatus'],_0x35159e[_0x38e5f0(0x129)])){if(_0x35159e[_0x38e5f0(0x210)](_0x35159e[_0x38e5f0(0x144)],_0x35159e['wKOhc']))_0x2284d1[_0x38e5f0(0x148)]({'id':_0x35159e[_0x38e5f0(0x1d3)](_0x2baa2c),'text':_0x574fa5[_0x38e5f0(0x1fe)],'keyword':_0x5b2bd0,'started_at':_0x2021d9[_0x38e5f0(0x10b)][_0x38e5f0(0x297)](),'duration':_0x2a8968[_0x38e5f0(0x23d)],'result':_0x5d920a['error']?_0x35159e['aegUO']:_0x35159e[_0x38e5f0(0x293)],'failure':_0xf8b64[_0x38e5f0(0x206)]&&_0xae5d7a['error'][_0x38e5f0(0x12b)]&&_0x35159e[_0x38e5f0(0x288)](_0x40f20b,_0x23f4ad[_0x38e5f0(0x206)][_0x38e5f0(0x12b)]),'failure_type':_0x35159e[_0x38e5f0(0x18d)](_0x329239,_0x1bcbf6[_0x38e5f0(0x206)]&&_0x10b185[_0x38e5f0(0x206)][_0x38e5f0(0x12b)])});else{const _0xe0518b={};_0xe0518b['message']=_0x35159e[_0x38e5f0(0x1da)],_0xe0518b['stack']=_0x35159e[_0x38e5f0(0x1da)],_0x247d92[_0x38e5f0(0x206)]=_0xe0518b,_0x247d92[_0x38e5f0(0x145)]=[_0x247d92[_0x38e5f0(0x206)]];}}}}const _0x329581=this[_0x38e5f0(0x182)](_0x1f2992,_0x247d92[_0x38e5f0(0x270)]);_0x27fff0[_0x38e5f0(0x218)]=this[_0x38e5f0(0x1ed)][_0x329581];const {steps:_0x53036c,logs:_0x481c46}=this[_0x38e5f0(0x211)](_0x247d92[_0x38e5f0(0x219)],_0x23fab3[_0x38e5f0(0x1b3)],_0x35159e['KeDZI']);await MyReporter[_0x38e5f0(0x21f)](_0x481c46);const _0x1a0ef6={};_0x1a0ef6['steps']=_0x53036c,_0x27fff0['meta']=_0x1a0ef6;if(_0x247d92[_0x38e5f0(0x206)]){if(_0x35159e['rVNOc'](_0x35159e[_0x38e5f0(0x29a)],_0x35159e[_0x38e5f0(0x244)])){const _0x43f7fa=_0xfc513a['_bs_hookIdentifier'];if(_0x43f7fa)return _0x43f7fa;return _0x29f3e2['title']+_0x38e5f0(0x19b)+this[_0x38e5f0(0x267)](_0x3226c3);}else{_0x27fff0[_0x38e5f0(0x1e9)]=_0x35159e[_0x38e5f0(0x133)](removeAnsiColors,_0x247d92[_0x38e5f0(0x206)][_0x38e5f0(0x12b)]),_0x27fff0[_0x38e5f0(0x215)]=_0x35159e['YAbMF'](getFailureType,_0x247d92[_0x38e5f0(0x206)]['message']);const _0x13ee0d=_0x35159e['swPPL'](failureData,_0x247d92[_0x38e5f0(0x145)],_0x35159e[_0x38e5f0(0x24b)]);if(_0x13ee0d&&_0x35159e[_0x38e5f0(0x15d)](_0x13ee0d[_0x38e5f0(0x273)],0x0)){if(_0x35159e[_0x38e5f0(0x158)](_0x35159e[_0x38e5f0(0x127)],_0x35159e[_0x38e5f0(0x127)])){const _0xaf2df7={};_0xaf2df7[_0x38e5f0(0x128)]=[_0x27fff0['failure_reason']],_0xaf2df7['expanded']=[],_0x13ee0d[_0x38e5f0(0x148)](_0xaf2df7);}else _0x35159e[_0x38e5f0(0x133)](_0x244dc8,'Error\x20in\x20calculating\x20performance:\x20'+_0x161d3b[_0x38e5f0(0x1eb)]());}_0x27fff0[_0x38e5f0(0x16e)]=_0x13ee0d;}}}}const _0x9efd04={};_0x9efd04[_0x38e5f0(0x199)]=_0x21683f,_0x9efd04[_0x38e5f0(0x196)]=_0x27fff0;const _0x317af7=_0x9efd04;await SessionHandler['uploadEventData'](_0x317af7);}static async[a27_0x3e89e0(0x1c5)](_0x4965b7,_0x3127bd){const _0x39fab2=a27_0x3e89e0,_0x13b404={'bsCIO':function(_0x2ce81d,_0xc26c5c){return _0x2ce81d(_0xc26c5c);},'fGfVx':_0x39fab2(0x18b)};let _0x484c6b={'uuid':TestDetails['getTestUUID'](_0x4965b7),'integrations':_0x3127bd};const _0x162624={};_0x162624['depth']=null,_0x13b404[_0x39fab2(0x1de)](debug,_0x39fab2(0x1c7)+_0x4965b7+',\x20'+util[_0x39fab2(0x1f1)](_0x3127bd,_0x162624));const _0x96d9eb={};_0x96d9eb[_0x39fab2(0x199)]=_0x13b404[_0x39fab2(0x191)],_0x96d9eb[_0x39fab2(0x196)]=_0x484c6b,await SessionHandler[_0x39fab2(0x208)](_0x96d9eb);}async[a27_0x3e89e0(0x279)](){const _0x1cc3a8=a27_0x3e89e0,_0xe04a8e={'SHqUR':function(_0x50f3cf,_0x37f59b){return _0x50f3cf!==_0x37f59b;},'AYVpo':function(_0x4dd4fe,_0xb11432){return _0x4dd4fe===_0xb11432;},'CDwKh':_0x1cc3a8(0x26d),'ZWglD':_0x1cc3a8(0x213),'ztQGR':function(_0x14318c){return _0x14318c();},'BrEMC':_0x1cc3a8(0x262)};if(this['_gitConfigured']){if(_0xe04a8e[_0x1cc3a8(0x204)](_0xe04a8e[_0x1cc3a8(0x278)],_0xe04a8e[_0x1cc3a8(0x20d)]))return![];else return;}const _0xb02261=await _0xe04a8e[_0x1cc3a8(0x283)](getGitMetaData);if(_0xb02261){if(_0xe04a8e[_0x1cc3a8(0x204)](_0xe04a8e[_0x1cc3a8(0x1d9)],_0xe04a8e[_0x1cc3a8(0x1d9)]))this[_0x1cc3a8(0x170)]=_0xb02261['root'];else{let _0x369732=_0x42b04d['parent'];while(_0x369732&&_0xe04a8e[_0x1cc3a8(0x154)](_0x369732[_0x1cc3a8(0x1fe)],'')){_0x4009bc[_0x1cc3a8(0x148)](_0x369732['title']),_0x369732=_0x369732[_0x1cc3a8(0x214)];}}}this[_0x1cc3a8(0x1e2)]=!![];}[a27_0x3e89e0(0x108)](_0x399532){const _0x38d016=a27_0x3e89e0,_0x3dba39={};_0x3dba39[_0x38d016(0x1b2)]=function(_0xeeacb3,_0x32a6b7){return _0xeeacb3===_0x32a6b7;},_0x3dba39['xKoVk']=_0x38d016(0x1fa),_0x3dba39[_0x38d016(0x109)]=_0x38d016(0x249),_0x3dba39[_0x38d016(0x243)]='timedOut',_0x3dba39[_0x38d016(0x1ce)]=_0x38d016(0x1b7),_0x3dba39[_0x38d016(0x201)]=function(_0x21131c,_0xf2c80){return _0x21131c!==_0xf2c80;},_0x3dba39[_0x38d016(0x12d)]=_0x38d016(0x103),_0x3dba39['LkIQU']=function(_0x5ec8d9,_0x27cc65){return _0x5ec8d9!==_0x27cc65;},_0x3dba39[_0x38d016(0x242)]=_0x38d016(0x217);const _0x21cc07=_0x3dba39,_0x3abac4=[];if(_0x399532&&_0x399532['parent']){if(_0x21cc07['qEkYG'](_0x21cc07[_0x38d016(0x12d)],_0x21cc07[_0x38d016(0x12d)]))return;else{let _0x3df964=_0x399532['parent'];while(_0x3df964&&_0x21cc07['LkIQU'](_0x3df964['title'],'')){if(_0x21cc07[_0x38d016(0x201)](_0x21cc07['eDvEa'],_0x21cc07[_0x38d016(0x242)])){(_0x21cc07['TwTmT'](_0x3d924a['result'],_0x21cc07[_0x38d016(0x1b5)])||_0x21cc07[_0x38d016(0x1b2)](_0x47230d[_0x38d016(0x132)],_0x21cc07[_0x38d016(0x109)])||_0x21cc07[_0x38d016(0x1b2)](_0x219220[_0x38d016(0x132)],_0x21cc07[_0x38d016(0x243)]))&&(_0xa016c7[_0x38d016(0x132)]=_0x21cc07[_0x38d016(0x109)]);if(_0x21cc07[_0x38d016(0x1b2)](_0x30df0b[_0x38d016(0x173)],_0x21cc07['xKoVk'])&&_0x21cc07[_0x38d016(0x1b2)](_0xdf6c99['expectedStatus'],_0x21cc07[_0x38d016(0x109)])){const _0x294ef0={};_0x294ef0[_0x38d016(0x12b)]=_0x21cc07[_0x38d016(0x1ce)],_0x294ef0['stack']=_0x21cc07[_0x38d016(0x1ce)],_0x586152[_0x38d016(0x206)]=_0x294ef0,_0x186843[_0x38d016(0x145)]=[_0x41eacb[_0x38d016(0x206)]];}}else _0x3abac4[_0x38d016(0x148)](_0x3df964[_0x38d016(0x1fe)]),_0x3df964=_0x3df964[_0x38d016(0x214)];}}}return _0x3abac4[_0x38d016(0x17e)]()['splice'](0x0,0x2),_0x3abac4;}[a27_0x3e89e0(0x185)](_0x5b363b){const _0x4b5218=a27_0x3e89e0,_0x46d1da={};_0x46d1da[_0x4b5218(0x22c)]=function(_0xdfd952,_0x560887){return _0xdfd952!==_0x560887;},_0x46d1da[_0x4b5218(0x22a)]='hook',_0x46d1da[_0x4b5218(0x1b1)]=function(_0x49282e,_0x24f49d){return _0x49282e===_0x24f49d;},_0x46d1da[_0x4b5218(0x139)]='beforeEach\x20hook',_0x46d1da[_0x4b5218(0x251)]=_0x4b5218(0x1d1),_0x46d1da[_0x4b5218(0x224)]='afterAll\x20hook',_0x46d1da[_0x4b5218(0x229)]=_0x4b5218(0x1ca),_0x46d1da[_0x4b5218(0x1ec)]=function(_0x19566d,_0x413d00){return _0x19566d===_0x413d00;},_0x46d1da['MUdkH']=_0x4b5218(0x171),_0x46d1da['RmCps']=_0x4b5218(0x27b);const _0x505369=_0x46d1da;if(_0x505369[_0x4b5218(0x22c)](_0x5b363b[_0x4b5218(0x1df)],_0x505369[_0x4b5218(0x22a)]))return![];if(_0x505369[_0x4b5218(0x1b1)]([_0x505369['FUiwd'],_0x505369[_0x4b5218(0x251)],_0x505369['JmBro'],_0x505369['aWGVx']]['indexOf'](_0x5b363b['title']),-0x1))return _0x505369[_0x4b5218(0x1ec)](_0x505369[_0x4b5218(0x20c)],_0x505369[_0x4b5218(0x146)])?_0x3fac3f:![];return!![];}[a27_0x3e89e0(0x193)](_0xcb123f,_0x3a6777){const _0x358c13=a27_0x3e89e0,_0x13f55e={};_0x13f55e['KSWJQ']=function(_0x1ea153,_0x5990ea){return _0x1ea153!==_0x5990ea;},_0x13f55e[_0x358c13(0x198)]=_0x358c13(0x1e1),_0x13f55e[_0x358c13(0x11e)]=function(_0x29d52f,_0x106191){return _0x29d52f===_0x106191;},_0x13f55e[_0x358c13(0x1f3)]=_0x358c13(0x25b),_0x13f55e[_0x358c13(0x18f)]=_0x358c13(0x1d1),_0x13f55e[_0x358c13(0x225)]='afterAll\x20hook',_0x13f55e[_0x358c13(0x153)]=_0x358c13(0x1ca),_0x13f55e[_0x358c13(0x1d6)]='cetOr';const _0x25ae20=_0x13f55e,_0x371f52=_0x3a6777[_0x358c13(0x207)];if(_0x371f52){if(_0x25ae20[_0x358c13(0x11e)](_0x25ae20[_0x358c13(0x1d6)],_0x25ae20['iNhzL']))return _0x371f52;else{if(_0x25ae20['KSWJQ'](_0x3af4d5[_0x358c13(0x1df)],_0x25ae20[_0x358c13(0x198)]))return![];if(_0x25ae20[_0x358c13(0x11e)]([_0x25ae20[_0x358c13(0x1f3)],_0x25ae20[_0x358c13(0x18f)],_0x25ae20[_0x358c13(0x225)],_0x25ae20[_0x358c13(0x153)]][_0x358c13(0x1e6)](_0x6ed34f[_0x358c13(0x1fe)]),-0x1))return![];return!![];}}return _0x3a6777[_0x358c13(0x1fe)]+'\x20for\x20'+this[_0x358c13(0x267)](_0xcb123f);}[a27_0x3e89e0(0x233)](_0x2c08b4,_0x393534){const _0x7ef600=a27_0x3e89e0,_0x4f1f7d={'fesyb':function(_0x2668e6,_0x1f2efe){return _0x2668e6===_0x1f2efe;},'BVvrl':_0x7ef600(0x15a),'wZbnh':_0x7ef600(0x11c),'XtMbf':_0x7ef600(0x197),'ZQdih':_0x7ef600(0x1e5),'XoSoN':function(_0x24db30){return _0x24db30();}};let _0x21510e=_0x393534['title']+_0x7ef600(0x19b)+this[_0x7ef600(0x267)](_0x2c08b4);if(this[_0x7ef600(0x166)][_0x21510e]){if(_0x4f1f7d[_0x7ef600(0x21b)](_0x4f1f7d[_0x7ef600(0x209)],_0x4f1f7d['ZQdih']))_0x21510e=_0x21510e+_0x7ef600(0x222)+_0x4f1f7d[_0x7ef600(0x11d)](uuidv4);else{if(_0x4f1f7d[_0x7ef600(0x21b)](_0x2ff225[_0x7ef600(0x112)],_0x4f1f7d[_0x7ef600(0x1bc)])){if(!_0x243ef7['existsSync'](_0x3ed27d[_0x7ef600(0x29f)]))return;_0x4234bf[_0x7ef600(0x148)]({'test_run_uuid':_0x15a663,'timestamp':_0x2b388d[_0x7ef600(0x167)](_0x58c5b9[_0x7ef600(0x29f)])[_0x7ef600(0x27c)],'kind':_0x4f1f7d[_0x7ef600(0x134)],'message':_0x518e99['readFileSync'](_0x3fdb68[_0x7ef600(0x29f)],{'encoding':_0x4f1f7d['XtMbf']})});}}}return _0x393534[_0x7ef600(0x207)]=_0x21510e,_0x21510e;}[a27_0x3e89e0(0x267)]=_0x444ae4=>{const _0x4d8f92=a27_0x3e89e0,_0x16710c={};_0x16710c[_0x4d8f92(0x164)]=function(_0x3c3d28,_0x388d1c){return _0x3c3d28+_0x388d1c;};const _0x4bc737=_0x16710c;return _0x4bc737[_0x4d8f92(0x164)](_0x4bc737[_0x4d8f92(0x164)](_0x444ae4[_0x4d8f92(0x1a6)],'-'),_0x444ae4['id']);};[a27_0x3e89e0(0x182)]=(_0xa47c0c,_0x47174e)=>{const _0x13aba3=a27_0x3e89e0,_0x29d9fe={};_0x29d9fe['hPRMo']=function(_0x22f52d,_0x43640f){return _0x22f52d+_0x43640f;},_0x29d9fe[_0x13aba3(0x257)]=function(_0x3f1439,_0x447249){return _0x3f1439+_0x447249;};const _0x2e00e4=_0x29d9fe;return _0x2e00e4[_0x13aba3(0x1d2)](_0x2e00e4['MAaxv'](this[_0x13aba3(0x267)](_0xa47c0c),'-'),_0x47174e);};[a27_0x3e89e0(0x147)]=_0x7c1f7a=>{const _0x1c0f47=a27_0x3e89e0,_0x1387b1={'iJBHf':_0x1c0f47(0x249),'qIiKW':function(_0x27d931,_0x129fc5){return _0x27d931(_0x129fc5);},'fynsK':function(_0x590d00,_0x1252f5,_0x266a5f){return _0x590d00(_0x1252f5,_0x266a5f);},'WYKZe':_0x1c0f47(0x295),'skocx':function(_0xfbda3a,_0x287b6c){return _0xfbda3a===_0x287b6c;},'SBmOQ':_0x1c0f47(0x1b7),'ECCfw':_0x1c0f47(0x12a),'syGxS':'performance-report-reporter.json','XaNbH':_0x1c0f47(0x25b),'mcfhI':function(_0x5cfcc5,_0x5cdaa2){return _0x5cfcc5===_0x5cdaa2;},'ofBxl':_0x1c0f47(0x1fb),'SXzrm':_0x1c0f47(0x261),'tStHh':'BEFORE_EACH','YezLv':'beforeAll\x20hook','MNczb':_0x1c0f47(0x19c),'VDzWS':_0x1c0f47(0x247),'DrroK':_0x1c0f47(0x19f),'Qgqss':_0x1c0f47(0x1ca),'GmcyI':function(_0x170b08,_0x17c39c){return _0x170b08!==_0x17c39c;},'USSWt':'FEAyJ','IfkMb':'AFTER_EACH','cbghl':_0x1c0f47(0x155),'bYgWn':function(_0x35057a,_0x1298ea){return _0x35057a!==_0x1298ea;},'FuGrn':'gszKr','Vzqvm':_0x1c0f47(0x1e0),'eVuwQ':'unknown'};if(_0x7c1f7a[_0x1c0f47(0x285)](_0x1387b1['XaNbH'])){if(_0x1387b1[_0x1c0f47(0x1e3)](_0x1387b1['ofBxl'],_0x1387b1[_0x1c0f47(0x276)]))return;else return _0x1387b1[_0x1c0f47(0x142)];}else{if(_0x7c1f7a[_0x1c0f47(0x285)](_0x1387b1[_0x1c0f47(0x269)])){if(_0x1387b1[_0x1c0f47(0x17c)](_0x1387b1['MNczb'],_0x1387b1['VDzWS'])){_0x5ac509[_0x1c0f47(0x132)]=_0x1387b1['iJBHf'],_0x524cde[_0x1c0f47(0x1e9)]=_0x1387b1[_0x1c0f47(0x16f)](_0x4b1ba1,_0x52665a[_0x1c0f47(0x206)][_0x1c0f47(0x12b)]),_0x3a2cbc[_0x1c0f47(0x215)]=_0x1387b1[_0x1c0f47(0x16f)](_0x59ae6c,_0x59818e['error'][_0x1c0f47(0x12b)]);const _0x148d0d=_0x1387b1['fynsK'](_0xf28609,_0x2162c0['error'],_0x1387b1['WYKZe']);if(_0x148d0d&&_0x1387b1[_0x1c0f47(0x17c)](_0x148d0d['length'],0x0)){const _0x4ecaa0={};_0x4ecaa0['backtrace']=[_0x53012e[_0x1c0f47(0x1e9)]],_0x4ecaa0['expanded']=[],_0x148d0d[_0x1c0f47(0x148)](_0x4ecaa0);}_0x570595[_0x1c0f47(0x16e)]=_0x148d0d;}else return _0x1387b1['DrroK'];}else{if(_0x7c1f7a['startsWith'](_0x1387b1[_0x1c0f47(0x245)])){if(_0x1387b1['GmcyI'](_0x1387b1[_0x1c0f47(0x16a)],_0x1387b1[_0x1c0f47(0x16a)])){const _0x2a08f3={};_0x2a08f3[_0x1c0f47(0x12b)]=_0x1387b1[_0x1c0f47(0x151)],_0x2a08f3[_0x1c0f47(0x16c)]=_0x1387b1[_0x1c0f47(0x151)],_0x43ffb6[_0x1c0f47(0x206)]=_0x2a08f3,_0x4f81e4[_0x1c0f47(0x145)]=[_0xe64ce2[_0x1c0f47(0x206)]];}else return _0x1387b1[_0x1c0f47(0x13a)];}else{if(_0x7c1f7a[_0x1c0f47(0x285)](_0x1387b1[_0x1c0f47(0x234)])){if(_0x1387b1[_0x1c0f47(0x258)](_0x1387b1['FuGrn'],_0x1387b1[_0x1c0f47(0x11a)])){const _0x23b09e=_0x1387b1['ECCfw'][_0x1c0f47(0x1e8)]('|');let _0xbd53a1=0x0;while(!![]){switch(_0x23b09e[_0xbd53a1++]){case'0':this['_testHooksMap']={};continue;case'1':_0x271426[_0x1c0f47(0x274)][_0x1c0f47(0x1fd)]&&(_0x3343ec[_0x1c0f47(0x1dd)](_0x1387b1[_0x1c0f47(0x13d)]),_0x3e0a1d['env']['START_TIME']=new _0x72ac3()['toISOString']());continue;case'2':this[_0x1c0f47(0x166)]={};continue;case'3':this[_0x1c0f47(0x104)]=_0x4856ce;continue;case'4':this[_0x1c0f47(0x1e2)]=![];continue;case'5':this['_gitConfigPath']=null;continue;}break;}}else return _0x1387b1[_0x1c0f47(0x17f)];}}}}return _0x1387b1[_0x1c0f47(0x118)];};[a27_0x3e89e0(0x227)]=_0x399757=>{const _0x1e61be=a27_0x3e89e0,_0x26cd72={};_0x26cd72['hMUHZ']=_0x1e61be(0x1dc),_0x26cd72[_0x1e61be(0x1d0)]=function(_0x25115d,_0x48a93e){return _0x25115d===_0x48a93e;},_0x26cd72['tLezq']=_0x1e61be(0x23a),_0x26cd72[_0x1e61be(0x1b6)]=function(_0x6d6c77,_0x365ba1){return _0x6d6c77!==_0x365ba1;},_0x26cd72['OyjTC']=_0x1e61be(0x188);const _0x19df5a=_0x26cd72;let _0x3b1c59=_0x399757['parent'];return _0x19df5a['qqkyp'](typeof _0x399757[_0x1e61be(0x214)],_0x19df5a[_0x1e61be(0x28a)])&&(_0x19df5a[_0x1e61be(0x1b6)](_0x19df5a[_0x1e61be(0x183)],_0x19df5a[_0x1e61be(0x183)])?(_0x26214e[_0x1e61be(0x1dd)](_0x19df5a[_0x1e61be(0x172)]),_0x145dc4[_0x1e61be(0x274)][_0x1e61be(0x236)]=new _0x256387()[_0x1e61be(0x297)]()):_0x3b1c59=_0x3b1c59['title']),_0x3b1c59+'\x20-\x20'+_0x399757[_0x1e61be(0x1fe)];};[a27_0x3e89e0(0x1ad)](){return![];}}function a27_0xc35e(_0x1fe9f0,_0x253a23){const _0x253b65=a27_0x253b();return a27_0xc35e=function(_0xc35e1c,_0x5da916){_0xc35e1c=_0xc35e1c-0x101;let _0x3bd39b=_0x253b65[_0xc35e1c];return _0x3bd39b;},a27_0xc35e(_0x1fe9f0,_0x253a23);}module[a27_0x3e89e0(0x1d7)]=o11yClassErrorHandler(MyReporter,[a27_0x3e89e0(0x149),a27_0x3e89e0(0x277),a27_0x3e89e0(0x250),a27_0x3e89e0(0x205),a27_0x3e89e0(0x23e),a27_0x3e89e0(0x263),a27_0x3e89e0(0x1c5)]);
|
|
1
|
+
function a27_0x4992(){const _0x73454c=['inNVx','gXRJk','wSqrI','MVUkG','tKZpq','setup','EofYr','nawvy','uploadEventData','AXtwr','hooks','hook','FJOGj','xvYjd','./pwUtils','VlrWd','fcXRJ','backtrace','rEmzo','PsZCn','JtIIq','AlpNS','parent','PiDXg','LRirs','SiiMN','qugQN','IXLdp','MRsNH','rjSri','passed','XhFgz','eVkVz','dwDTf','mmjyq','ebvqN','EMOMl','WmlnG','BQvBP','DEapP','needToReportStep','toISOString','WYexM','UDBJM','object','RhnEi','test_run_uuid','tparD','path','onStepEnd','reportLogs','UNbIr','hLqLx','relative','onBegin','../../../helpers/test-observability/utils','QKzis','Ndzlc','ewdpo','mtime','sendSessionDetails','errors','QvfMA','BylRS','vGfdl','AMSCx','wNVAV','getTestIdentifier','RnUxB','MMMYk','BROWSERSTACK_O11Y_PERF_MEASUREMENT','LeIiE','uqewq','spgqo','addTestUIDAndReportLog','SCTWN','stop','Gbuwl','iZopN','kRxUv','TssDM','gPuYm','qdjUv','fIGYz','root','YxNOa','hook_run_uuid','rxWqv','uXOQV','VRNQd','KBOKP','haoec','../../../helpers/test-observability/performance-tester','IwIMm','vfZop','jKsJh','KNTqb','failure_reason','javascript','START_TIME','\x20-\x20','_projectId','CTQxI','DRipr','pending','env','NaJmf','duration','oamYd','VfhQp','vfyiJ','efwsv','GsZKv','hQbbn','pgVpR','cUfxh','beforeEach\x20hook','ykbwA','trVUv','getStepsAndLogs','LVLif','HgCxe','error','TSTAP','581607iceOkv','AjaFY','oJsoL','lRixy','Expected\x20to\x20fail,\x20but\x20passed.','NxkFq','../../../helpers/test-observability/error-handler','wSllc','onTestBegin','test_run','egokd','PLAYWRIGHT','oNLvi','OyqXa','nxMeU','retry','iXjca','lvsIx','cpPzP','sendTestRunEvent','qrogj','BEFORE_ALL','uCofh','wcJFv','onTestEnd','stack','result','screenshot','CeDqA','WcxcQ','42bucQfk','depth','kOjLL','timedOut','460774BussvE','IOxdu','ykfyG','endSession','printsToStdio','ZYuJe','sendHookRunEvent','getTestUUID','XGaao','PxBWG','HookRunStarted','cCGsh','vAtXd','mPOrt','zcXVd','VpUAX','vjslZ','_gitConfigured','EffDy','114632ZBcMeq','shutdown','FpNLB','reverse','jDnhu','PXwxv','qFfKd','afterEach\x20hook','KGxHx','cOOWM','1124888aIsxNh','title','90630FpYrTN','MvlJV','test','gHhMQ','exports','hBBCh','name','CMmkL','AFTER_ALL','oplMr','AjYVp','Before\x20Hooks','3092752BChfad','gkENW','IMqGg','failed','../../../helpers/helper','dLtNH','tGvPI','cwd','CBTSessionCreated','vzPNQ','eNSmG','getScope','RzfGG','startsWith','sidmR','./test-details','myxjo','file','KLSJZ','FeKfS','VDGdz','wwwxO','HNOwE','LgOtb','../../../helpers/test-observability/constants','ZItZv','expanded','dfkQV','jsAOd','jjfmF','vspzO','PbrvI','failure','getTestRunIdentifier','UqwWX','logs','AaWQZ','_bs_hookIdentifier','TOICY','gGVRb','VTXXR','JJujY','bRbMd','9oJFkQB','OOXtM','_tests','Error\x20in\x20calculating\x20performance:\x20','EouyD','cJRKd','wetsj','getHookType','RJVRq','BmRvd','BEFORE_EACH','jqESi','failure_type','dStyB','kifxh','existsSync','XZQVO','zpuQw','YrLFf','codsB','EEgGj','316500nDwLeY','fFTWj','AYcMc','ibKVr','Sending\x20session\x20details\x20for\x20','uuid','_testHooksMap','fedGr','onEnd','lbOju','JppkF','nlFEm','kNnLS','toString','indexOf','vKHOo','Pmshs','mwbfo','sXdxT','tEDeX','pETBm','bdQCd','LogCreated','LMhhy','length','nnUgK','err','Dintc','tPIuX','MbXzM','xXOsI','MJbiS','getStepIdentifier','YyGYc','pLSXg','getInstance','YNUHa','meta','EPWgc','wqLDT','fTyug','uhUQt','Mxorw','jsDEy','bfjGf','retry_of','uIirg','cTUyb','message','GGVkj','icMXj','startTime','CcIuq','dVnKg','jkQlz','cexid','TEST_SCREENSHOT','qHMnm','options','UOEXQ','startedAt','fYtlO','vKQoA','kasCQ','FrxMj','xnOCJ','ACrVo','kvNQA','xXVRC','afterAll\x20hook','category','cVVwy','startMonitoring','After\x20Hooks','xcLTU','zgFyE','MEonr','ncJva','mshgS','hook_run','statSync','IGnlV','EkZhI','steps','push','QDqkj','lwriY','RbISo','wsneg','_gitConfigPath','gKrlg','TJdYy','jWDkK','HZfGb','TEST_STEP','base64','qxVEU','NxUPm','znfic','onStepBegin','PWbyF','expectedStatus','skDkb','getHierarchy','stgWb','dMHis','MNTVo','readFileSync','ycWRv','AFTER_EACH','oWLTA','configureGit','uDCoL','PhLnX','hTJEc','jRoBZ','\x20for\x20','performance-report-reporter.json','finishedAt','location','skipped','hkwQf','BAGsm','Lnhaw','KxtzL','CjmfZ','QzHVK','brGFY','BkaoU','filter','KLYzb','ACqeu','attachments','AOpga','cziJL','lZvGP','TestRunFinished','klrKq','splice','PlCuR','status','beforeAll\x20hook','map','ufiCg','AkmMV','EBKWG','event_type'];a27_0x4992=function(){return _0x73454c;};return a27_0x4992();}const a27_0x188243=a27_0x396c;(function(_0x13334c,_0x5bf2d2){const _0x2c5593=a27_0x396c,_0x2690c3=_0x13334c();while(!![]){try{const _0x34122e=-parseInt(_0x2c5593(0x27f))/0x1+-parseInt(_0x2c5593(0x260))/0x2+parseInt(_0x2c5593(0x23e))/0x3+-parseInt(_0x2c5593(0x27d))/0x4+parseInt(_0x2c5593(0x2cb))/0x5+-parseInt(_0x2c5593(0x25c))/0x6*(-parseInt(_0x2c5593(0x273))/0x7)+-parseInt(_0x2c5593(0x28b))/0x8*(-parseInt(_0x2c5593(0x2b6))/0x9);if(_0x34122e===_0x5bf2d2)break;else _0x2690c3['push'](_0x2690c3['shift']());}catch(_0x1a7ed3){_0x2690c3['push'](_0x2690c3['shift']());}}}(a27_0x4992,0x261fc));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTagsFromTitle}=require(a27_0x188243(0x1d0)),{v4:uuidv4}=require('uuid'),path=require(a27_0x188243(0x1f2)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData}=require(a27_0x188243(0x1f9)),{getGitMetaData}=require(a27_0x188243(0x28f)),TestDetails=require(a27_0x188243(0x29a)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a27_0x188243(0x244)),PerformanceTester=require(a27_0x188243(0x21e)),{FRAMEWORKS}=require(a27_0x188243(0x2a3)),SessionHandler=require('../../../helpers/test-observability/sessionHandler');function a27_0x396c(_0x178f88,_0x28eb85){const _0x49927b=a27_0x4992();return a27_0x396c=function(_0x396cad,_0x1860bd){_0x396cad=_0x396cad-0x1ab;let _0x537e86=_0x49927b[_0x396cad];return _0x537e86;},a27_0x396c(_0x178f88,_0x28eb85);}class MyReporter{constructor(_0x5ddaa3){const _0x17fa53=a27_0x188243,_0x30c773={};_0x30c773[_0x17fa53(0x2ec)]='4|5|0|1|2|3',_0x30c773[_0x17fa53(0x284)]=_0x17fa53(0x340),_0x30c773[_0x17fa53(0x207)]=function(_0x5394ef,_0x22c4ef){return _0x5394ef===_0x22c4ef;},_0x30c773[_0x17fa53(0x21f)]=_0x17fa53(0x213);const _0x1478a6=_0x30c773;if(process['env'][_0x17fa53(0x208)]){if(_0x1478a6[_0x17fa53(0x207)](_0x1478a6['IwIMm'],_0x1478a6[_0x17fa53(0x21f)]))PerformanceTester['startMonitoring'](_0x1478a6['hBBCh']),process[_0x17fa53(0x22b)][_0x17fa53(0x225)]=new Date()[_0x17fa53(0x1eb)]();else{const _0xf915d5=_0x1478a6[_0x17fa53(0x2ec)]['split']('|');let _0x208cee=0x0;while(!![]){switch(_0xf915d5[_0x208cee++]){case'0':this[_0x17fa53(0x2d1)]={};continue;case'1':this[_0x17fa53(0x305)]=_0x1eb099;continue;case'2':this[_0x17fa53(0x271)]=![];continue;case'3':this[_0x17fa53(0x324)]=null;continue;case'4':_0x4c159a['env'][_0x17fa53(0x208)]&&(_0x1ba866[_0x17fa53(0x313)](_0x1478a6[_0x17fa53(0x284)]),_0x49aab0[_0x17fa53(0x22b)][_0x17fa53(0x225)]=new _0x4b43ac()['toISOString']());continue;case'5':this[_0x17fa53(0x2b8)]={};continue;}break;}}}this['_tests']={},this[_0x17fa53(0x2d1)]={},this[_0x17fa53(0x305)]=_0x5ddaa3,this[_0x17fa53(0x271)]=![],this[_0x17fa53(0x324)]=null;}async[a27_0x188243(0x1f8)](){const _0x94a956=a27_0x188243;TestDetails[_0x94a956(0x1c7)](),await this[_0x94a956(0x33a)]();}async[a27_0x188243(0x246)](_0x4364f3,_0x55b317){const _0x3480e7=a27_0x188243,_0x3cc5c3={};_0x3cc5c3[_0x3480e7(0x1d7)]='TestRunStarted';const _0x34dc57=_0x3cc5c3,_0x681605=this['getTestIdentifier'](_0x4364f3);this['_tests'][_0x681605]={'uuid':TestDetails['getTestUUID'](this['getTestRunIdentifier'](_0x4364f3,_0x55b317[_0x3480e7(0x24d)])),'startedAt':_0x55b317[_0x3480e7(0x2fe)]},await this[_0x3480e7(0x251)](_0x4364f3,_0x34dc57['AlpNS'],_0x55b317);}async['onStepBegin'](_0xf0e724,_0x3c81e2,_0x53935f){const _0x9d3122=a27_0x188243,_0x2a1fc4={'fyHTQ':'passed','hkwQf':function(_0x7e572c){return _0x7e572c();},'FeKfS':function(_0x3c1c7c,_0xc23ee3){return _0x3c1c7c!==_0xc23ee3;},'TSTAP':_0x9d3122(0x312),'kXLpJ':function(_0xf5338b,_0x3ccd80){return _0xf5338b!==_0x3ccd80;},'jWfaX':_0x9d3122(0x231),'tHcyQ':_0x9d3122(0x280),'BkaoU':_0x9d3122(0x26a)};if(!this[_0x9d3122(0x1ea)](_0x53935f,_0xf0e724)){if(_0x2a1fc4[_0x9d3122(0x29e)](_0x2a1fc4[_0x9d3122(0x23d)],_0x2a1fc4[_0x9d3122(0x23d)]))_0x13955f[_0x9d3122(0x258)]=_0x2a1fc4['fyHTQ'];else return;}const _0x1e8b6b=this['setStepIdentifier'](_0xf0e724,_0x53935f);this[_0x9d3122(0x2b8)][_0x1e8b6b]={'uuid':TestDetails[_0x9d3122(0x267)](_0x1e8b6b),'startedAt':_0x53935f['startTime'][_0x9d3122(0x1eb)]()};const _0x20b109=this[_0x9d3122(0x2ac)](_0xf0e724,_0x3c81e2[_0x9d3122(0x24d)]);if(!this[_0x9d3122(0x2d1)][_0x20b109]){if(_0x2a1fc4['kXLpJ'](_0x2a1fc4['jWfaX'],_0x2a1fc4['tHcyQ']))this[_0x9d3122(0x2d1)][_0x20b109]=[];else{let _0x14fa61=_0x46b385['title']+_0x9d3122(0x33f)+this[_0x9d3122(0x205)](_0x25f27e);return this[_0x9d3122(0x2b8)][_0x14fa61]&&(_0x14fa61=_0x14fa61+_0x9d3122(0x226)+_0x2a1fc4[_0x9d3122(0x344)](_0x577e85)),_0x2a6733[_0x9d3122(0x2b0)]=_0x14fa61,_0x14fa61;}}this['_testHooksMap'][_0x20b109][_0x9d3122(0x31f)](this['_tests'][_0x1e8b6b][_0x9d3122(0x2d0)]),await this[_0x9d3122(0x266)](_0xf0e724,_0x53935f,_0x2a1fc4[_0x9d3122(0x1af)],_0x3c81e2);}async[a27_0x188243(0x1f3)](_0x381775,_0x47617f,_0x3273cc){const _0x1f9b6d=a27_0x188243,_0x140cc2={};_0x140cc2[_0x1f9b6d(0x1ce)]=function(_0x1cee6b,_0x4cee91){return _0x1cee6b===_0x4cee91;},_0x140cc2['UqwWX']=_0x1f9b6d(0x346),_0x140cc2[_0x1f9b6d(0x1ef)]=_0x1f9b6d(0x331),_0x140cc2[_0x1f9b6d(0x1e1)]=function(_0x7e63c6,_0x477e19){return _0x7e63c6+_0x477e19;},_0x140cc2['YWSOB']='HookRunFinished';const _0xb5d471=_0x140cc2;if(!this[_0x1f9b6d(0x1ea)](_0x3273cc,_0x381775)){if(_0xb5d471[_0x1f9b6d(0x1ce)](_0xb5d471[_0x1f9b6d(0x2ad)],_0xb5d471[_0x1f9b6d(0x1ef)]))return;else return;}const _0x1a3317=this[_0x1f9b6d(0x2eb)](_0x381775,_0x3273cc);this[_0x1f9b6d(0x2b8)][_0x1a3317]={...this['_tests'][_0x1a3317]||{},'finishedAt':new Date(_0xb5d471[_0x1f9b6d(0x1e1)](_0x3273cc[_0x1f9b6d(0x2fe)]['getTime'](),_0x3273cc[_0x1f9b6d(0x22d)]))},await this[_0x1f9b6d(0x266)](_0x381775,_0x3273cc,_0xb5d471['YWSOB'],_0x47617f);}async[a27_0x188243(0x256)](_0xf62079,_0x118e65){const _0x300958=a27_0x188243,_0x12e5ec={};_0x12e5ec[_0x300958(0x250)]=_0x300958(0x28e),_0x12e5ec[_0x300958(0x301)]=_0x300958(0x338),_0x12e5ec[_0x300958(0x21a)]=function(_0x255982,_0x42f966){return _0x255982!==_0x42f966;},_0x12e5ec['KLYzb']=function(_0xe22d9a,_0xbbd99){return _0xe22d9a===_0xbbd99;},_0x12e5ec[_0x300958(0x32b)]='uVsei',_0x12e5ec[_0x300958(0x241)]=_0x300958(0x210),_0x12e5ec[_0x300958(0x275)]=_0x300958(0x259),_0x12e5ec['CmYig']=_0x300958(0x2a0),_0x12e5ec[_0x300958(0x2a4)]=_0x300958(0x23b),_0x12e5ec[_0x300958(0x294)]=function(_0x42c066,_0x40b80d){return _0x42c066!==_0x40b80d;},_0x12e5ec[_0x300958(0x1c2)]=_0x300958(0x269),_0x12e5ec[_0x300958(0x1c8)]=_0x300958(0x1e8),_0x12e5ec['EkZhI']=_0x300958(0x303),_0x12e5ec[_0x300958(0x1cf)]='base64',_0x12e5ec[_0x300958(0x1f6)]=function(_0xfd148a,_0x9330f2){return _0xfd148a+_0x9330f2;},_0x12e5ec['fTyug']=_0x300958(0x1b7),_0x12e5ec[_0x300958(0x29b)]=_0x300958(0x2bc),_0x12e5ec[_0x300958(0x2c7)]=function(_0x5a0941,_0x2138d3){return _0x5a0941>_0x2138d3;};const _0x172c73=_0x12e5ec,_0x252f8a=this[_0x300958(0x205)](_0xf62079),_0x4348e2=TestDetails[_0x300958(0x267)](this[_0x300958(0x2ac)](_0xf62079,_0x118e65[_0x300958(0x24d)]));this[_0x300958(0x2b8)][_0x252f8a]={...this['_tests'][_0x252f8a]||{},'finishedAt':new Date(_0x172c73['hLqLx'](_0x118e65[_0x300958(0x2fe)]['getTime'](),_0x118e65[_0x300958(0x22d)]))},await this['sendTestRunEvent'](_0xf62079,_0x172c73[_0x300958(0x2f3)],_0x118e65);const _0x4c11cc=[];_0x118e65[_0x300958(0x1b3)]&&(_0x172c73['uXOQV'](_0x172c73[_0x300958(0x29b)],_0x172c73['myxjo'])?_0x2d191b[_0x300958(0x258)]=_0x172c73['cpPzP']:_0x118e65[_0x300958(0x1b3)][_0x300958(0x1bd)](_0x66a305=>{const _0x1c8d2a=_0x300958;if(_0x172c73[_0x1c8d2a(0x1b1)](_0x172c73[_0x1c8d2a(0x32b)],_0x172c73[_0x1c8d2a(0x241)])){const _0x551961=_0x386ad6[_0x1c8d2a(0x2b0)];if(_0x551961)return _0x551961;return _0x554708['title']+_0x1c8d2a(0x33f)+this[_0x1c8d2a(0x205)](_0x43cfcb);}else{if(_0x172c73['KLYzb'](_0x66a305[_0x1c8d2a(0x285)],_0x172c73[_0x1c8d2a(0x275)])){if(_0x172c73['uXOQV'](_0x172c73['CmYig'],_0x172c73[_0x1c8d2a(0x2a4)])){if(!fs[_0x1c8d2a(0x2c5)](_0x66a305[_0x1c8d2a(0x1f2)])){if(_0x172c73[_0x1c8d2a(0x294)](_0x172c73[_0x1c8d2a(0x1c2)],_0x172c73['EofYr']))return;else return _0x172c73[_0x1c8d2a(0x301)];}_0x4c11cc['push']({'test_run_uuid':_0x4348e2,'timestamp':fs['statSync'](_0x66a305[_0x1c8d2a(0x1f2)])[_0x1c8d2a(0x1fd)],'kind':_0x172c73[_0x1c8d2a(0x31d)],'message':fs[_0x1c8d2a(0x336)](_0x66a305['path'],{'encoding':_0x172c73[_0x1c8d2a(0x1cf)]})});}else{let _0x156b5c=_0x5793a7['parent'];while(_0x156b5c&&_0x172c73[_0x1c8d2a(0x21a)](_0x156b5c['title'],'')){_0x448239[_0x1c8d2a(0x31f)](_0x156b5c[_0x1c8d2a(0x27e)]),_0x156b5c=_0x156b5c['parent'];}}}}}));if(_0x172c73[_0x300958(0x2c7)](_0x4c11cc['length'],0x0))await MyReporter[_0x300958(0x1f4)](_0x4c11cc);}async['endSession'](){const _0x53b2c9=a27_0x188243;await RequestQueueHandler[_0x53b2c9(0x2ee)]()['shutdown'](),await SessionHandler[_0x53b2c9(0x20e)](),TestDetails[_0x53b2c9(0x274)]();}async[a27_0x188243(0x2d3)](_0x124ca8){const _0x2a1b89=a27_0x188243,_0x406315={'VlrWd':'Expected\x20to\x20fail,\x20but\x20passed.','rASbP':function(_0x129f7f,_0xf42d23){return _0x129f7f+_0xf42d23;},'gHhMQ':function(_0x1cc903,_0x53dc0b){return _0x1cc903+_0x53dc0b;},'ibKVr':function(_0x2ad9f3,_0x5f3b3d){return _0x2ad9f3===_0x5f3b3d;},'RlUwB':_0x2a1b89(0x1cd),'QKzis':function(_0x4c1e9f,_0x52ca96){return _0x4c1e9f===_0x52ca96;},'GGVkj':_0x2a1b89(0x314),'gXRJk':function(_0xa0d776,_0x491ea2){return _0xa0d776===_0x491ea2;},'haoec':_0x2a1b89(0x28a),'oWLTA':function(_0x53b9d2){return _0x53b9d2();},'ncJva':function(_0x53634a,_0x5b9cde){return _0x53634a===_0x5b9cde;},'jjfmF':_0x2a1b89(0x1ed),'PlCuR':_0x2a1b89(0x20d),'OyqXa':_0x2a1b89(0x211),'fTDTO':_0x2a1b89(0x2f6),'YNUHa':function(_0x13cdbf){return _0x13cdbf();},'jDnhu':function(_0x2523e5,_0x4ab31f){return _0x2523e5===_0x4ab31f;},'EffDy':_0x2a1b89(0x2e6),'MFdBi':function(_0xc6b8c3,_0x3bd815){return _0xc6b8c3(_0x3bd815);}};await this[_0x2a1b89(0x263)](),_0x406315[_0x2a1b89(0x339)](printBuildLink);try{if(_0x406315['ncJva'](_0x406315[_0x2a1b89(0x2a8)],_0x406315[_0x2a1b89(0x1ba)])){const _0x4e278e={};_0x4e278e['message']=_0x406315['VlrWd'],_0x4e278e[_0x2a1b89(0x257)]=_0x406315[_0x2a1b89(0x1d1)],_0x321926[_0x2a1b89(0x23c)]=_0x4e278e,_0x358159[_0x2a1b89(0x1ff)]=[_0x45e038[_0x2a1b89(0x23c)]];}else{if(process[_0x2a1b89(0x22b)][_0x2a1b89(0x208)]){if(_0x406315[_0x2a1b89(0x318)](_0x406315[_0x2a1b89(0x24b)],_0x406315['fTDTO']))return _0x406315['rASbP'](_0x406315[_0x2a1b89(0x282)](_0x193e13['_projectId'],'-'),_0x57c588['id']);else await _0x406315[_0x2a1b89(0x2ef)](calculatePerformance);}}}catch(_0x3c0724){if(_0x406315[_0x2a1b89(0x277)](_0x406315['EffDy'],_0x406315[_0x2a1b89(0x272)]))_0x406315['MFdBi'](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x3c0724[_0x2a1b89(0x2d8)]());else{if(_0x406315[_0x2a1b89(0x2ce)](_0x2f9d0a['category'],_0x406315['RlUwB'])&&(_0x406315[_0x2a1b89(0x1fa)](_0x1c913e[_0x2a1b89(0x27e)],_0x406315[_0x2a1b89(0x2fc)])||_0x406315[_0x2a1b89(0x1c3)](_0xb8aa67[_0x2a1b89(0x27e)],_0x406315[_0x2a1b89(0x21d)])))return![];return!![];}}}static async[a27_0x188243(0x20c)](_0x27fa4c,_0x544a65){const _0xab7332=a27_0x188243;_0x544a65[_0xab7332(0x1f0)]=TestDetails['getTestUUID'](_0x27fa4c),await this[_0xab7332(0x1f4)]([_0x544a65]);}static async[a27_0x188243(0x1f4)](_0x4e84d7){const _0x3d5cfb=a27_0x188243,_0x2f7114={};_0x2f7114['ryrUq']=_0x3d5cfb(0x2e1);const _0xf9dc2f=_0x2f7114,_0x4bd1b2={};_0x4bd1b2[_0x3d5cfb(0x1c1)]=_0xf9dc2f['ryrUq'],_0x4bd1b2[_0x3d5cfb(0x2ae)]=_0x4e84d7,await SessionHandler[_0x3d5cfb(0x1ca)](_0x4bd1b2);}async[a27_0x188243(0x266)](_0x3fb81d,_0x2426c2,_0x474be0,_0x472e4e){const _0xfb00d1=a27_0x188243,_0x53b89a={'VRNQd':function(_0x360df7,_0x9015fc){return _0x360df7(_0x9015fc);},'GsZKv':function(_0x382ed9,_0x356e8b){return _0x382ed9(_0x356e8b);},'VTXXR':function(_0x55d35a,_0x561f43,_0x3f44bb){return _0x55d35a(_0x561f43,_0x3f44bb);},'kNnLS':_0xfb00d1(0x281),'LMhhy':function(_0x5b3adc,_0x2c2d33){return _0x5b3adc===_0x2c2d33;},'uCosm':function(_0xcfe252,_0x241373){return _0xcfe252+_0x241373;},'HQMVk':function(_0x1a671b,_0x3f093b){return _0x1a671b+_0x3f093b;},'AMSCx':function(_0x562dcc,_0x241408){return _0x562dcc===_0x241408;},'gkENW':_0xfb00d1(0x1e0),'EBKWG':'failed','DEapP':function(_0x1c8e3b,_0x1efa2a){return _0x1c8e3b===_0x1efa2a;},'wcJFv':_0xfb00d1(0x25f),'OOXtM':_0xfb00d1(0x242),'PbrvI':'TEST_SCREENSHOT','HZfGb':'base64','uqewq':_0xfb00d1(0x1cd),'qHMnm':'javascript','vKQoA':'pending','ytcHa':function(_0x4485db,_0x4877ac){return _0x4485db>=_0x4877ac;},'YrLFf':function(_0xa60605,_0x100987){return _0xa60605===_0x100987;},'kifxh':'HookRunFinished','RHYYr':_0xfb00d1(0x30b),'dRmgs':_0xfb00d1(0x26d),'fIGYz':function(_0x569e7d,_0x28481b){return _0x569e7d>_0x28481b;},'EMOMl':function(_0x3cfeb1,_0x3db113){return _0x3cfeb1!==_0x3db113;},'vfyiJ':_0xfb00d1(0x33b),'MEonr':'RNUhW','IGnlV':_0xfb00d1(0x220),'xXVRC':function(_0x13141f,_0x22269e){return _0x13141f(_0x22269e);},'ZYuJe':_0xfb00d1(0x2e5),'MNTVo':function(_0x205cdf,_0x6c0d5a){return _0x205cdf===_0x6c0d5a;},'cOOWM':function(_0x7f9757,_0x44e484){return _0x7f9757!==_0x44e484;},'AjYVp':_0xfb00d1(0x2e7),'JJujY':'LfMQf','iXjca':function(_0x34d9ae,_0x37bd09){return _0x34d9ae===_0x37bd09;},'AjaFY':_0xfb00d1(0x2a9)},_0x8a301d=this[_0xfb00d1(0x2eb)](_0x3fb81d,_0x2426c2),_0x3d1407=this[_0xfb00d1(0x2b8)][_0x8a301d],_0x5ca11c={'uuid':_0x3d1407['uuid'],'type':_0x53b89a[_0xfb00d1(0x20a)],'hook_type':this[_0xfb00d1(0x2bd)](_0x2426c2[_0xfb00d1(0x27e)]),'name':_0x2426c2[_0xfb00d1(0x27e)],'scope':this['getScope'](_0x2426c2),'scopes':this[_0xfb00d1(0x332)](_0x3fb81d),'body':{'lang':_0x53b89a[_0xfb00d1(0x304)],'code':null},'identifier':_0x8a301d,'file_name':path['relative'](process['cwd'](),_0x3fb81d[_0xfb00d1(0x342)]['file']),'location':path[_0xfb00d1(0x1f7)](process['cwd'](),_0x3fb81d[_0xfb00d1(0x342)][_0xfb00d1(0x29c)]),'result':_0x53b89a[_0xfb00d1(0x309)],'duration_in_ms':_0x53b89a['ytcHa'](_0x2426c2[_0xfb00d1(0x22d)],0x0)?_0x2426c2[_0xfb00d1(0x22d)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x3fb81d['location']['file']?path['relative'](this[_0xfb00d1(0x324)],_0x3fb81d[_0xfb00d1(0x342)]['file']):undefined,'started_at':_0x3d1407[_0xfb00d1(0x307)],'finished_at':_0x3d1407[_0xfb00d1(0x341)],'framework':FRAMEWORKS[_0xfb00d1(0x249)]};if(_0x53b89a[_0xfb00d1(0x2c8)](_0x474be0,_0x53b89a[_0xfb00d1(0x2c4)])){if(_0x53b89a[_0xfb00d1(0x2c8)](_0x53b89a['RHYYr'],_0x53b89a['dRmgs'])){_0x3d4744[_0xfb00d1(0x223)]=_0x53b89a['VRNQd'](_0x419d06,_0x11716c['error'][_0xfb00d1(0x2fb)]),_0x35c8dd['failure_type']=_0x53b89a[_0xfb00d1(0x232)](_0x2c10c9,_0x2d97c9[_0xfb00d1(0x23c)][_0xfb00d1(0x2fb)]);const _0x4fcbb9=_0x53b89a[_0xfb00d1(0x2b3)](_0x4758c8,_0x53c683[_0xfb00d1(0x1ff)],_0x53b89a[_0xfb00d1(0x2d7)]);if(_0x4fcbb9&&_0x53b89a[_0xfb00d1(0x2e2)](_0x4fcbb9[_0xfb00d1(0x2e3)],0x0)){const _0xcc22e1={};_0xcc22e1[_0xfb00d1(0x1d3)]=[_0x41fd27['failure_reason']],_0xcc22e1[_0xfb00d1(0x2a5)]=[],_0x4fcbb9[_0xfb00d1(0x31f)](_0xcc22e1);}_0xe71ae1[_0xfb00d1(0x2ab)]=_0x4fcbb9;}else{const {steps:_0x368b39,logs:_0x35944e}=this[_0xfb00d1(0x239)](_0x2426c2['steps'],_0x3d1407[_0xfb00d1(0x2d0)],_0x53b89a[_0xfb00d1(0x20a)]);if(_0x35944e&&_0x53b89a[_0xfb00d1(0x215)](_0x35944e['length'],0x0)){if(_0x53b89a[_0xfb00d1(0x1e6)](_0x53b89a[_0xfb00d1(0x230)],_0x53b89a[_0xfb00d1(0x317)]))await MyReporter[_0xfb00d1(0x1f4)](_0x35944e);else return _0x53b89a['uCosm'](_0x53b89a['HQMVk'](this['getTestIdentifier'](_0x289970),'-'),_0x53465d);}const _0x52ec9a={};_0x52ec9a[_0xfb00d1(0x31e)]=_0x368b39,_0x5ca11c[_0xfb00d1(0x2f0)]=_0x52ec9a;if(_0x2426c2['error']){if(_0x53b89a[_0xfb00d1(0x2c8)](_0x53b89a[_0xfb00d1(0x31c)],_0x53b89a[_0xfb00d1(0x31c)])){_0x5ca11c[_0xfb00d1(0x258)]=_0x53b89a[_0xfb00d1(0x1c0)],_0x5ca11c[_0xfb00d1(0x223)]=_0x53b89a[_0xfb00d1(0x30f)](removeAnsiColors,_0x2426c2['error']['message']),_0x5ca11c['failure_type']=_0x53b89a[_0xfb00d1(0x21b)](getFailureType,_0x2426c2[_0xfb00d1(0x23c)]['message']);const _0xc8ec35=_0x53b89a[_0xfb00d1(0x2b3)](failureData,_0x2426c2['error'],_0x53b89a[_0xfb00d1(0x265)]);if(_0xc8ec35&&_0x53b89a[_0xfb00d1(0x335)](_0xc8ec35[_0xfb00d1(0x2e3)],0x0)){if(_0x53b89a[_0xfb00d1(0x27c)](_0x53b89a[_0xfb00d1(0x289)],_0x53b89a[_0xfb00d1(0x2b4)])){const _0x8c84f2={};_0x8c84f2[_0xfb00d1(0x1d3)]=[_0x5ca11c[_0xfb00d1(0x223)]],_0x8c84f2['expanded']=[],_0xc8ec35[_0xfb00d1(0x31f)](_0x8c84f2);}else{(_0x53b89a[_0xfb00d1(0x203)](_0x4430fa[_0xfb00d1(0x258)],_0x53b89a['gkENW'])||_0x53b89a[_0xfb00d1(0x2e2)](_0x191ab8[_0xfb00d1(0x258)],_0x53b89a[_0xfb00d1(0x1c0)])||_0x53b89a[_0xfb00d1(0x1e9)](_0x17405b[_0xfb00d1(0x258)],_0x53b89a[_0xfb00d1(0x255)]))&&(_0x5e041e[_0xfb00d1(0x258)]=_0x53b89a[_0xfb00d1(0x1c0)]);if(_0x53b89a[_0xfb00d1(0x203)](_0x5a4dab[_0xfb00d1(0x1bb)],_0x53b89a[_0xfb00d1(0x28c)])&&_0x53b89a[_0xfb00d1(0x2e2)](_0x2c73a1['expectedStatus'],_0x53b89a[_0xfb00d1(0x1c0)])){const _0x211c02={};_0x211c02[_0xfb00d1(0x2fb)]=_0x53b89a['OOXtM'],_0x211c02['stack']=_0x53b89a[_0xfb00d1(0x2b7)],_0x5cae3c['error']=_0x211c02,_0x3e44af[_0xfb00d1(0x1ff)]=[_0x217079[_0xfb00d1(0x23c)]];}}}_0x5ca11c['failure']=_0xc8ec35;}else{if(!_0x378c4a[_0xfb00d1(0x2c5)](_0x312337[_0xfb00d1(0x1f2)]))return;_0x3b84c3[_0xfb00d1(0x31f)]({'test_run_uuid':_0x1680a3,'timestamp':_0x3c15aa[_0xfb00d1(0x31b)](_0x4a01b3[_0xfb00d1(0x1f2)])[_0xfb00d1(0x1fd)],'kind':_0x53b89a[_0xfb00d1(0x2aa)],'message':_0x14bd32['readFileSync'](_0x196a14['path'],{'encoding':_0x53b89a[_0xfb00d1(0x328)]})});}}else{if(_0x53b89a[_0xfb00d1(0x24e)](_0x53b89a[_0xfb00d1(0x23f)],_0x53b89a[_0xfb00d1(0x23f)]))_0x5ca11c[_0xfb00d1(0x258)]=_0x53b89a['gkENW'];else{const _0x102318={};_0x102318[_0xfb00d1(0x1d3)]=[_0x4d4a80[_0xfb00d1(0x223)]],_0x102318[_0xfb00d1(0x2a5)]=[],_0x4f0225[_0xfb00d1(0x31f)](_0x102318);}}}}const _0x5ac7ef={};_0x5ac7ef[_0xfb00d1(0x1c1)]=_0x474be0,_0x5ac7ef[_0xfb00d1(0x31a)]=_0x5ca11c;const _0x20d57d=_0x5ac7ef;await SessionHandler[_0xfb00d1(0x1ca)](_0x20d57d);}[a27_0x188243(0x239)](_0x1d8cf2,_0x5bf70f,_0x476774){const _0x249ebd=a27_0x188243,_0x2595c1={'cUfxh':function(_0x393b2a){return _0x393b2a();},'ebvqN':_0x249ebd(0x28e),'WcxcQ':_0x249ebd(0x1e0),'JppkF':function(_0x42e4cf,_0x492e82){return _0x42e4cf(_0x492e82);},'PWbyF':function(_0x56bf7d,_0x5304d7){return _0x56bf7d===_0x5304d7;},'QvfMA':_0x249ebd(0x243),'wQxXR':'xwGcq','ykfyG':'hook','cexid':'After\x20Hooks','oplMr':function(_0x4f6f41,_0x12895c){return _0x4f6f41===_0x12895c;},'gxwpd':_0x249ebd(0x28a),'gKrlg':function(_0x3b2cfb,_0x9c60c8){return _0x3b2cfb!==_0x9c60c8;},'Pmshs':_0x249ebd(0x237),'WmlnG':_0x249ebd(0x253),'XZQVO':_0x249ebd(0x278),'KxtzL':function(_0x2336ef,_0x13db37){return _0x2336ef===_0x13db37;},'LgOtb':'MaBmb','XGaao':'wlFBw','tKZpq':'test','ewdpo':_0x249ebd(0x1f0),'dMHis':_0x249ebd(0x218),'kOjLL':_0x249ebd(0x329),'hQbbn':_0x249ebd(0x201),'cziJL':_0x249ebd(0x26e),'hTJEc':function(_0x2cb4cd,_0x443ba1){return _0x2cb4cd!==_0x443ba1;},'dfkQV':'abeUO','Bawif':function(_0x3f2abc,_0x4ed019){return _0x3f2abc(_0x4ed019);},'lvsIx':_0x249ebd(0x2ff),'sidmR':function(_0x1d519f,_0x1ba262,_0xdb90cc){return _0x1d519f(_0x1ba262,_0xdb90cc);},'jRoBZ':function(_0x2f27a6,_0x497511){return _0x2f27a6(_0x497511);},'ACrVo':function(_0x271616,_0x256e6){return _0x271616===_0x256e6;},'LeIiE':_0x249ebd(0x2c1),'jKsJh':function(_0x16363a,_0x33ba9d,_0x33f08e){return _0x16363a(_0x33ba9d,_0x33f08e);}},_0x1e5a4e=[],_0x48e863=[],_0x3064e3=_0x1d8cf2[_0x249ebd(0x1b0)](_0x3e505c=>{const _0x2b239c=_0x249ebd,_0x4995c8={'RzfGG':function(_0x4bbbd8){return _0x2595c1['cUfxh'](_0x4bbbd8);},'txFVu':_0x2595c1[_0x2b239c(0x1e5)],'JtIIq':_0x2595c1[_0x2b239c(0x25b)],'fcXRJ':function(_0x318c28,_0x505c45){const _0x125638=_0x2b239c;return _0x2595c1[_0x125638(0x2d5)](_0x318c28,_0x505c45);}};if(_0x2595c1[_0x2b239c(0x32f)](_0x2595c1[_0x2b239c(0x200)],_0x2595c1['wQxXR']))_0x415985[_0x2b239c(0x31f)]({'id':_0x4995c8[_0x2b239c(0x297)](_0x8cd1b1),'text':_0x4940b2['title'],'keyword':_0x5b05a3,'started_at':_0x4dd747['startTime'][_0x2b239c(0x1eb)](),'duration':_0x38db1b[_0x2b239c(0x22d)],'result':_0x555bdc[_0x2b239c(0x23c)]?_0x4995c8['txFVu']:_0x4995c8[_0x2b239c(0x1d6)],'failure':_0x40d4c0[_0x2b239c(0x23c)]&&_0x50f597[_0x2b239c(0x23c)][_0x2b239c(0x2fb)]&&_0x4995c8[_0x2b239c(0x1d2)](_0x1ecb05,_0x1fbdf8[_0x2b239c(0x23c)][_0x2b239c(0x2fb)]),'failure_type':_0x4995c8[_0x2b239c(0x1d2)](_0x4b0cfa,_0x41f37c[_0x2b239c(0x23c)]&&_0x22bcc6['error'][_0x2b239c(0x2fb)])});else{if(_0x2595c1[_0x2b239c(0x32f)](_0x3e505c[_0x2b239c(0x311)],_0x2595c1[_0x2b239c(0x262)])&&(_0x2595c1['PWbyF'](_0x3e505c[_0x2b239c(0x27e)],_0x2595c1[_0x2b239c(0x302)])||_0x2595c1[_0x2b239c(0x288)](_0x3e505c[_0x2b239c(0x27e)],_0x2595c1['gxwpd']))){if(_0x2595c1['gKrlg'](_0x2595c1[_0x2b239c(0x2db)],_0x2595c1[_0x2b239c(0x2db)]))_0x383529['push'](_0x5f4866['title']),_0x1715da=_0x1999cc[_0x2b239c(0x1d8)];else return![];}return!![];}}),_0x2b7f53=(_0x2e9393,_0x1b4e19=![])=>{const _0x18b6ab=_0x249ebd;if(_0x2595c1[_0x18b6ab(0x32f)](_0x2595c1[_0x18b6ab(0x2c6)],_0x2595c1[_0x18b6ab(0x2c6)])){if(_0x2595c1[_0x18b6ab(0x1ab)](_0x2e9393[_0x18b6ab(0x31e)][_0x18b6ab(0x2e3)],0x0)){if(_0x2595c1['KxtzL'](_0x2595c1[_0x18b6ab(0x2a2)],_0x2595c1[_0x18b6ab(0x268)]))return _0x2595c1[_0x18b6ab(0x1e7)];else{const _0x589510=_0x2595c1[_0x18b6ab(0x32f)](_0x476774,_0x2595c1[_0x18b6ab(0x1c6)])?_0x2595c1[_0x18b6ab(0x1fc)]:_0x2595c1[_0x18b6ab(0x334)];_0x48e863[_0x18b6ab(0x31f)]({'kind':_0x2595c1[_0x18b6ab(0x25e)],[_0x589510]:_0x5bf70f,'message':_0x2e9393['title'],'timestamp':_0x2e9393[_0x18b6ab(0x2fe)]['toISOString'](),'level':_0x2e9393[_0x18b6ab(0x23c)]?_0x2595c1[_0x18b6ab(0x1e5)]:_0x2595c1[_0x18b6ab(0x25b)],'duration':_0x2e9393['duration'],'failure':_0x2e9393['error']&&_0x2e9393['error']['message']&&_0x2595c1[_0x18b6ab(0x2d5)](removeAnsiColors,_0x2e9393[_0x18b6ab(0x23c)][_0x18b6ab(0x2fb)]),'failure_type':_0x2595c1[_0x18b6ab(0x2d5)](getFailureType,_0x2e9393[_0x18b6ab(0x23c)]&&_0x2e9393[_0x18b6ab(0x23c)]['message'])});}}else{if(_0x2595c1[_0x18b6ab(0x325)](_0x2595c1[_0x18b6ab(0x233)],_0x2595c1[_0x18b6ab(0x1b5)])){if(!_0x1b4e19){if(_0x2595c1[_0x18b6ab(0x33d)](_0x2595c1[_0x18b6ab(0x2a6)],_0x2595c1[_0x18b6ab(0x2a6)])){const _0x448738={};_0x448738[_0x18b6ab(0x1d3)]=[_0x17ed7f[_0x18b6ab(0x223)]],_0x448738[_0x18b6ab(0x2a5)]=[],_0xa47b47[_0x18b6ab(0x31f)](_0x448738);}else _0x1e5a4e[_0x18b6ab(0x31f)]({'id':_0x2595c1[_0x18b6ab(0x235)](uuidv4),'text':_0x2e9393[_0x18b6ab(0x27e)],'keyword':undefined,'started_at':_0x2e9393[_0x18b6ab(0x2fe)]['toISOString'](),'duration':_0x2e9393[_0x18b6ab(0x22d)],'result':_0x2e9393['error']?_0x2595c1['ebvqN']:_0x2595c1[_0x18b6ab(0x25b)],'failure':_0x2e9393[_0x18b6ab(0x23c)]&&_0x2e9393[_0x18b6ab(0x23c)][_0x18b6ab(0x2fb)]&&_0x2595c1['Bawif'](removeAnsiColors,_0x2e9393['error'][_0x18b6ab(0x2fb)]),'failure_type':_0x2595c1['JppkF'](getFailureType,_0x2e9393['error']&&_0x2e9393[_0x18b6ab(0x23c)][_0x18b6ab(0x2fb)])});}for(const _0x30a2aa of _0x2e9393[_0x18b6ab(0x31e)]){if(_0x2595c1['KxtzL'](_0x2595c1[_0x18b6ab(0x24f)],_0x2595c1['lvsIx']))_0x2595c1[_0x18b6ab(0x299)](_0x2b7f53,_0x30a2aa,!![]);else return;}}else{const _0x56a0e4=[];if(_0x44747a&&_0x43c7ee[_0x18b6ab(0x1d8)]){let _0x34d500=_0x5cae5a[_0x18b6ab(0x1d8)];while(_0x34d500&&_0x2595c1[_0x18b6ab(0x325)](_0x34d500['title'],'')){_0x56a0e4[_0x18b6ab(0x31f)](_0x34d500['title']),_0x34d500=_0x34d500[_0x18b6ab(0x1d8)];}}return _0x56a0e4[_0x18b6ab(0x276)]()[_0x18b6ab(0x1b9)](0x0,0x2),_0x56a0e4;}}}else return;};for(const _0x417689 of _0x3064e3){_0x2595c1[_0x249ebd(0x30d)](_0x2595c1['LeIiE'],_0x2595c1[_0x249ebd(0x209)])?_0x2595c1[_0x249ebd(0x221)](_0x2b7f53,_0x417689,![]):_0x2595c1[_0x249ebd(0x33e)](_0x41ba65,_0x249ebd(0x2b9)+_0x1c889f[_0x249ebd(0x2d8)]());}const _0x4fa73c={};return _0x4fa73c[_0x249ebd(0x31e)]=_0x1e5a4e,_0x4fa73c[_0x249ebd(0x2ae)]=_0x48e863,_0x4fa73c;}async[a27_0x188243(0x251)](_0x4fc9a5,_0xb7131d,_0x59d255){const _0x3288eb=a27_0x188243,_0x21a896={'rEmzo':function(_0x50c270,_0x457a0c){return _0x50c270===_0x457a0c;},'bRbMd':_0x3288eb(0x1ee),'UNbIr':_0x3288eb(0x340),'kasCQ':_0x3288eb(0x2c0),'wsneg':_0x3288eb(0x28e),'Mxorw':function(_0x2f9820,_0x2a3f9e){return _0x2f9820(_0x2a3f9e);},'nGfxi':function(_0x28925e,_0xb9813e,_0x5763bb){return _0x28925e(_0xb9813e,_0x5763bb);},'wNVAV':_0x3288eb(0x2e5),'tGvPI':function(_0xff9faf,_0x5f07cb){return _0xff9faf===_0x5f07cb;},'trVUv':_0x3288eb(0x281),'ecWPu':_0x3288eb(0x224),'mwbfo':_0x3288eb(0x22a),'MRsNH':function(_0x2c3c37,_0x4390e4){return _0x2c3c37(_0x4390e4);},'cqmHX':function(_0x506853,_0x3df712){return _0x506853>_0x3df712;},'UOEXQ':_0x3288eb(0x326),'nVotr':function(_0x2896fe,_0x59830f){return _0x2896fe-_0x59830f;},'codsB':function(_0x1addd9,_0x3db8c9){return _0x1addd9===_0x3db8c9;},'ufiCg':_0x3288eb(0x1b7),'txNPl':_0x3288eb(0x333),'oNLvi':'wbStn','rjSri':function(_0x3b439a,_0x570d55){return _0x3b439a===_0x570d55;},'cJRKd':_0x3288eb(0x2dd),'znfic':'Fffkr','gGVRb':_0x3288eb(0x343),'KLSJZ':'passed','nIheh':function(_0x2d415e,_0x32ea30){return _0x2d415e!==_0x32ea30;},'DRipr':_0x3288eb(0x20b),'eNSmG':function(_0x400f19,_0x1b5c62){return _0x400f19===_0x1b5c62;},'nxMeU':_0x3288eb(0x25f),'icMXj':function(_0x55250a,_0x37d9b2){return _0x55250a===_0x37d9b2;},'tpTYO':_0x3288eb(0x1dd),'pZJCh':function(_0x4746e0,_0x1ab13e){return _0x4746e0===_0x1ab13e;},'belKO':_0x3288eb(0x270),'AYcMc':_0x3288eb(0x254),'vAtXd':_0x3288eb(0x242),'YxNOa':function(_0x4da268,_0x850ed2){return _0x4da268!==_0x850ed2;},'aNuXr':_0x3288eb(0x29f),'dkLqD':_0x3288eb(0x23a),'PcHPi':function(_0x30553e,_0x151bcd){return _0x30553e(_0x151bcd);},'NxUPm':function(_0x4a7789,_0x5dcb29){return _0x4a7789(_0x5dcb29);},'CTQxI':function(_0x30fd57,_0x17a7b1,_0x30ae5c){return _0x30fd57(_0x17a7b1,_0x30ae5c);},'pLSXg':function(_0x1b2b9f,_0x4be7ec){return _0x1b2b9f===_0x4be7ec;},'lZvGP':function(_0x3f1c99,_0x4dae68){return _0x3f1c99===_0x4dae68;},'BmRvd':_0x3288eb(0x1fb)},_0xc83779=this[_0x3288eb(0x205)](_0x4fc9a5),_0x266d76=this['getScope'](_0x4fc9a5),_0x93d56f=this['_tests'][_0xc83779],_0x213b07=path['relative'](process[_0x3288eb(0x292)](),_0x4fc9a5[_0x3288eb(0x342)][_0x3288eb(0x29c)]);await this['configureGit']();const _0x12c5ac={'uuid':_0x93d56f['uuid'],'type':_0x21a896[_0x3288eb(0x238)],'name':_0x4fc9a5[_0x3288eb(0x27e)],'body':{'lang':_0x21a896['ecWPu'],'code':_0x4fc9a5['fn']['toString']()},'scope':_0x266d76,'scopes':this['getHierarchy'](_0x4fc9a5),'identifier':_0xc83779,'file_name':_0x213b07,'location':_0x213b07,'result':_0x21a896[_0x3288eb(0x2dc)],'duration_in_ms':_0x59d255&&_0x59d255['duration']?_0x59d255[_0x3288eb(0x22d)]:null,'vc_filepath':this['_gitConfigPath']&&_0x4fc9a5[_0x3288eb(0x342)]['file']?path['relative'](this[_0x3288eb(0x324)],_0x4fc9a5[_0x3288eb(0x342)]['file']):undefined,'started_at':_0x93d56f[_0x3288eb(0x307)],'finished_at':_0x93d56f[_0x3288eb(0x341)],'framework':FRAMEWORKS[_0x3288eb(0x249)],'customRerunParam':{'rerun_name':_0x4fc9a5['titlePath']()['join']('\x20')},'tags':_0x21a896[_0x3288eb(0x1de)](getTagsFromTitle,_0x4fc9a5[_0x3288eb(0x27e)])};if(_0x59d255&&_0x21a896['cqmHX'](_0x59d255[_0x3288eb(0x24d)],0x0)){if(_0x21a896[_0x3288eb(0x291)](_0x21a896[_0x3288eb(0x306)],_0x21a896[_0x3288eb(0x306)]))_0x12c5ac[_0x3288eb(0x2f8)]=TestDetails[_0x3288eb(0x267)](this[_0x3288eb(0x2ac)](_0x4fc9a5,_0x21a896['nVotr'](_0x59d255[_0x3288eb(0x24d)],0x1)));else{let _0x247ad6=_0x59f3af['parent'];return _0x21a896[_0x3288eb(0x1d4)](typeof _0x13448d[_0x3288eb(0x1d8)],_0x21a896[_0x3288eb(0x2b5)])&&(_0x247ad6=_0x247ad6[_0x3288eb(0x27e)]),_0x247ad6+_0x3288eb(0x226)+_0xc34522[_0x3288eb(0x27e)];}}if(_0x21a896[_0x3288eb(0x2c9)](_0xb7131d,_0x21a896[_0x3288eb(0x1be)])){if(_0x21a896[_0x3288eb(0x1d4)](_0x21a896['txNPl'],_0x21a896[_0x3288eb(0x24a)]))_0x4bdceb['startMonitoring'](_0x21a896[_0x3288eb(0x1f5)]),_0x4681d3[_0x3288eb(0x22b)][_0x3288eb(0x225)]=new _0x1c4c13()['toISOString']();else{_0x12c5ac['result']=_0x59d255['status'];if(_0x21a896['rjSri'](_0x59d255[_0x3288eb(0x1bb)],_0x4fc9a5[_0x3288eb(0x330)])){if(_0x21a896['rjSri'](_0x21a896[_0x3288eb(0x2bb)],_0x21a896[_0x3288eb(0x32d)]))return _0x21a896[_0x3288eb(0x30a)];else _0x12c5ac[_0x3288eb(0x258)]=_0x21a896[_0x3288eb(0x2c9)](_0x59d255['status'],_0x21a896[_0x3288eb(0x2b2)])?_0x21a896[_0x3288eb(0x2b2)]:_0x21a896['KLSJZ'];}else{if(_0x21a896['nIheh'](_0x21a896[_0x3288eb(0x229)],_0x21a896[_0x3288eb(0x229)]))return![];else{(_0x21a896['codsB'](_0x12c5ac[_0x3288eb(0x258)],_0x21a896[_0x3288eb(0x29d)])||_0x21a896[_0x3288eb(0x1df)](_0x12c5ac[_0x3288eb(0x258)],_0x21a896[_0x3288eb(0x323)])||_0x21a896[_0x3288eb(0x295)](_0x12c5ac[_0x3288eb(0x258)],_0x21a896[_0x3288eb(0x24c)]))&&(_0x21a896[_0x3288eb(0x2fd)](_0x21a896['tpTYO'],_0x21a896['tpTYO'])?_0x12c5ac['result']=_0x21a896[_0x3288eb(0x323)]:this['_gitConfigPath']=_0x138669['root']);if(_0x21a896[_0x3288eb(0x1df)](_0x59d255['status'],_0x21a896[_0x3288eb(0x29d)])&&_0x21a896['pZJCh'](_0x4fc9a5[_0x3288eb(0x330)],_0x21a896[_0x3288eb(0x323)])){if(_0x21a896[_0x3288eb(0x1df)](_0x21a896['belKO'],_0x21a896[_0x3288eb(0x2cd)]))_0x43de59=_0x25e21d['title'];else{const _0x865f63={};_0x865f63['message']=_0x21a896[_0x3288eb(0x26c)],_0x865f63[_0x3288eb(0x257)]=_0x21a896['vAtXd'],_0x59d255[_0x3288eb(0x23c)]=_0x865f63,_0x59d255['errors']=[_0x59d255[_0x3288eb(0x23c)]];}}}}const _0x5f5cc5=this[_0x3288eb(0x2ac)](_0x4fc9a5,_0x59d255[_0x3288eb(0x24d)]);_0x12c5ac[_0x3288eb(0x1cc)]=this[_0x3288eb(0x2d1)][_0x5f5cc5];const {steps:_0x1f92af,logs:_0x2f39e4}=this['getStepsAndLogs'](_0x59d255[_0x3288eb(0x31e)],_0x93d56f[_0x3288eb(0x2d0)],_0x21a896['trVUv']);await MyReporter['reportLogs'](_0x2f39e4);const _0x3320d8={};_0x3320d8[_0x3288eb(0x31e)]=_0x1f92af,_0x12c5ac[_0x3288eb(0x2f0)]=_0x3320d8;if(_0x59d255['error']){if(_0x21a896[_0x3288eb(0x217)](_0x21a896['aNuXr'],_0x21a896['dkLqD'])){_0x12c5ac['failure_reason']=_0x21a896['PcHPi'](removeAnsiColors,_0x59d255[_0x3288eb(0x23c)][_0x3288eb(0x2fb)]),_0x12c5ac[_0x3288eb(0x2c2)]=_0x21a896[_0x3288eb(0x32c)](getFailureType,_0x59d255['error'][_0x3288eb(0x2fb)]);const _0x2b24c9=_0x21a896[_0x3288eb(0x228)](failureData,_0x59d255['errors'],_0x21a896[_0x3288eb(0x238)]);if(_0x2b24c9&&_0x21a896[_0x3288eb(0x2ed)](_0x2b24c9[_0x3288eb(0x2e3)],0x0)){if(_0x21a896[_0x3288eb(0x1b6)](_0x21a896['BmRvd'],_0x21a896[_0x3288eb(0x2bf)])){const _0x38f4da={};_0x38f4da[_0x3288eb(0x1d3)]=[_0x12c5ac[_0x3288eb(0x223)]],_0x38f4da[_0x3288eb(0x2a5)]=[],_0x2b24c9[_0x3288eb(0x31f)](_0x38f4da);}else{_0x1c2ae1[_0x3288eb(0x258)]=_0x21a896['wsneg'],_0xe6310b[_0x3288eb(0x223)]=_0x21a896[_0x3288eb(0x2f5)](_0x280ec0,_0x18d152[_0x3288eb(0x23c)][_0x3288eb(0x2fb)]),_0x51d6fe[_0x3288eb(0x2c2)]=_0x21a896[_0x3288eb(0x2f5)](_0x413b1e,_0x59060e[_0x3288eb(0x23c)][_0x3288eb(0x2fb)]);const _0x2366ad=_0x21a896['nGfxi'](_0x5ae1aa,_0x9cbc49[_0x3288eb(0x23c)],_0x21a896[_0x3288eb(0x204)]);if(_0x2366ad&&_0x21a896[_0x3288eb(0x291)](_0x2366ad[_0x3288eb(0x2e3)],0x0)){const _0x3edb97={};_0x3edb97[_0x3288eb(0x1d3)]=[_0x5d0fa2[_0x3288eb(0x223)]],_0x3edb97[_0x3288eb(0x2a5)]=[],_0x2366ad[_0x3288eb(0x31f)](_0x3edb97);}_0x18d8ae[_0x3288eb(0x2ab)]=_0x2366ad;}}_0x12c5ac[_0x3288eb(0x2ab)]=_0x2b24c9;}else return![];}}}const _0x58eba2={};_0x58eba2['event_type']=_0xb7131d,_0x58eba2[_0x3288eb(0x247)]=_0x12c5ac;const _0x3bf576=_0x58eba2;await SessionHandler[_0x3288eb(0x1ca)](_0x3bf576);}static async[a27_0x188243(0x1fe)](_0x595743,_0x59fce8){const _0x45fb6c=a27_0x188243,_0x13968a={'KGxHx':function(_0x38a0ee,_0x20b7df){return _0x38a0ee(_0x20b7df);},'CjmfZ':_0x45fb6c(0x293)};let _0x55aaf5={'uuid':TestDetails[_0x45fb6c(0x267)](_0x595743),'integrations':_0x59fce8};const _0x124d3d={};_0x124d3d[_0x45fb6c(0x25d)]=null,_0x13968a[_0x45fb6c(0x27b)](debug,_0x45fb6c(0x2cf)+_0x595743+',\x20'+util['inspect'](_0x59fce8,_0x124d3d));const _0x4e8e99={};_0x4e8e99[_0x45fb6c(0x1c1)]=_0x13968a[_0x45fb6c(0x1ac)],_0x4e8e99[_0x45fb6c(0x247)]=_0x55aaf5,await SessionHandler[_0x45fb6c(0x1ca)](_0x4e8e99);}async['configureGit'](){const _0x1bfc64=a27_0x188243,_0x5d8d71={'uhUQt':function(_0x56ac62,_0x464ec9){return _0x56ac62!==_0x464ec9;},'xXOsI':'hook','oamYd':function(_0x4d95f1,_0x273c6c){return _0x4d95f1===_0x273c6c;},'wSllc':_0x1bfc64(0x236),'xcLTU':_0x1bfc64(0x1bc),'nawvy':_0x1bfc64(0x310),'RnUxB':_0x1bfc64(0x27a),'KvXEM':function(_0x3141de,_0xb7d2b4){return _0x3141de!==_0xb7d2b4;},'vGfdl':_0x1bfc64(0x1ae),'IOxdu':function(_0x544ed0){return _0x544ed0();},'wqLDT':_0x1bfc64(0x308)};if(this[_0x1bfc64(0x271)]){if(_0x5d8d71['KvXEM'](_0x5d8d71['vGfdl'],_0x5d8d71[_0x1bfc64(0x202)]))return![];else return;}const _0x1baf1b=await _0x5d8d71[_0x1bfc64(0x261)](getGitMetaData);if(_0x1baf1b){if(_0x5d8d71['oamYd'](_0x5d8d71[_0x1bfc64(0x2f2)],_0x5d8d71['wqLDT']))this['_gitConfigPath']=_0x1baf1b[_0x1bfc64(0x216)];else{if(_0x5d8d71[_0x1bfc64(0x2f4)](_0x4cdd4e[_0x1bfc64(0x311)],_0x5d8d71[_0x1bfc64(0x2e9)]))return![];if(_0x5d8d71[_0x1bfc64(0x22e)]([_0x5d8d71[_0x1bfc64(0x245)],_0x5d8d71[_0x1bfc64(0x315)],_0x5d8d71[_0x1bfc64(0x1c9)],_0x5d8d71[_0x1bfc64(0x206)]][_0x1bfc64(0x2d9)](_0x2cda98['title']),-0x1))return![];return!![];}}this['_gitConfigured']=!![];}[a27_0x188243(0x332)](_0x2fe263){const _0x53b84a=a27_0x188243,_0xbdcf46={'ACqeu':function(_0x21b027){return _0x21b027();},'pETBm':_0x53b84a(0x28e),'KBOKP':_0x53b84a(0x1e0),'mshgS':function(_0x5272de,_0x99ec45){return _0x5272de(_0x99ec45);},'kvNQA':function(_0x58d879,_0x26f4bf,_0x5366ef){return _0x58d879(_0x26f4bf,_0x5366ef);},'qFfKd':function(_0x5f3d7a,_0x3229da){return _0x5f3d7a-_0x3229da;},'jWDkK':function(_0x1383e5,_0x5cad0a){return _0x1383e5!==_0x5cad0a;},'dLtNH':_0x53b84a(0x2e8),'dVnKg':_0x53b84a(0x1da),'VfhQp':function(_0x49ec19,_0x5a2ac4){return _0x49ec19!==_0x5a2ac4;},'HNOwE':function(_0xeb78b0,_0x838a58){return _0xeb78b0===_0x838a58;},'SiiMN':_0x53b84a(0x2be)},_0x152013=[];if(_0x2fe263&&_0x2fe263[_0x53b84a(0x1d8)]){if(_0xbdcf46[_0x53b84a(0x327)](_0xbdcf46[_0x53b84a(0x290)],_0xbdcf46[_0x53b84a(0x300)])){let _0x5cb845=_0x2fe263['parent'];while(_0x5cb845&&_0xbdcf46[_0x53b84a(0x22f)](_0x5cb845[_0x53b84a(0x27e)],'')){if(_0xbdcf46[_0x53b84a(0x2a1)](_0xbdcf46[_0x53b84a(0x1db)],_0xbdcf46[_0x53b84a(0x1db)]))_0x152013[_0x53b84a(0x31f)](_0x5cb845[_0x53b84a(0x27e)]),_0x5cb845=_0x5cb845[_0x53b84a(0x1d8)];else{!_0x20d7ed&&_0x783251[_0x53b84a(0x31f)]({'id':_0xbdcf46[_0x53b84a(0x1b2)](_0x4eb706),'text':_0xdd910c[_0x53b84a(0x27e)],'keyword':_0x2625cc,'started_at':_0x1a8c97[_0x53b84a(0x2fe)][_0x53b84a(0x1eb)](),'duration':_0x5045ff[_0x53b84a(0x22d)],'result':_0x233597['error']?_0xbdcf46[_0x53b84a(0x2df)]:_0xbdcf46[_0x53b84a(0x21c)],'failure':_0xfa6591[_0x53b84a(0x23c)]&&_0x21cc7b['error'][_0x53b84a(0x2fb)]&&_0xbdcf46[_0x53b84a(0x319)](_0x65727c,_0x1142d6['error'][_0x53b84a(0x2fb)]),'failure_type':_0xbdcf46['mshgS'](_0x1be87c,_0xc534e0[_0x53b84a(0x23c)]&&_0x9b8c08[_0x53b84a(0x23c)][_0x53b84a(0x2fb)])});for(const _0x12edd7 of _0x1937b2[_0x53b84a(0x31e)]){_0xbdcf46[_0x53b84a(0x30e)](_0x450833,_0x12edd7,!![]);}}}}else _0x50eedc[_0x53b84a(0x2f8)]=_0x4cadf1[_0x53b84a(0x267)](this[_0x53b84a(0x2ac)](_0x5a69da,_0xbdcf46[_0x53b84a(0x279)](_0x275f9f[_0x53b84a(0x24d)],0x1)));}return _0x152013['reverse']()[_0x53b84a(0x1b9)](0x0,0x2),_0x152013;}['needToReportStep'](_0x1ae29f){const _0x71475=a27_0x188243,_0x87889b={};_0x87889b['xhAGC']=function(_0xd44a1d,_0x1e9a56){return _0xd44a1d!==_0x1e9a56;},_0x87889b[_0x71475(0x1b8)]=_0x71475(0x1cd),_0x87889b[_0x71475(0x322)]=function(_0x5c11f5,_0x527c9c){return _0x5c11f5===_0x527c9c;},_0x87889b[_0x71475(0x2b1)]=_0x71475(0x236),_0x87889b[_0x71475(0x2ea)]=_0x71475(0x1bc),_0x87889b['lbOju']=_0x71475(0x310),_0x87889b['rxWqv']=_0x71475(0x27a),_0x87889b[_0x71475(0x2e4)]=function(_0x157bd7,_0x3d628d){return _0x157bd7!==_0x3d628d;},_0x87889b['pgVpR']=_0x71475(0x214);const _0x5910b0=_0x87889b;if(_0x5910b0['xhAGC'](_0x1ae29f[_0x71475(0x311)],_0x5910b0[_0x71475(0x1b8)]))return![];if(_0x5910b0[_0x71475(0x322)]([_0x5910b0[_0x71475(0x2b1)],_0x5910b0[_0x71475(0x2ea)],_0x5910b0[_0x71475(0x2d4)],_0x5910b0[_0x71475(0x219)]][_0x71475(0x2d9)](_0x1ae29f[_0x71475(0x27e)]),-0x1)){if(_0x5910b0[_0x71475(0x2e4)](_0x5910b0[_0x71475(0x234)],_0x5910b0[_0x71475(0x234)]))return;else return![];}return!![];}[a27_0x188243(0x2eb)](_0x10ce87,_0x3af145){const _0x1a44fd=a27_0x188243,_0x573fb9={};_0x573fb9[_0x1a44fd(0x33c)]=function(_0x443604,_0x50a9f2){return _0x443604!==_0x50a9f2;},_0x573fb9[_0x1a44fd(0x1b4)]=_0x1a44fd(0x2e0);const _0x1acd39=_0x573fb9,_0x3b35b1=_0x3af145[_0x1a44fd(0x2b0)];if(_0x3b35b1)return _0x1acd39[_0x1a44fd(0x33c)](_0x1acd39['AOpga'],_0x1acd39['AOpga'])?_0x4d92a5:_0x3b35b1;return _0x3af145[_0x1a44fd(0x27e)]+_0x1a44fd(0x33f)+this[_0x1a44fd(0x205)](_0x10ce87);}['setStepIdentifier'](_0x5a9952,_0x5780c3){const _0x508889=a27_0x188243,_0x4f3cec={'qrogj':function(_0x5aadba,_0x151b81){return _0x5aadba===_0x151b81;},'ycWRv':_0x508889(0x343),'egokd':_0x508889(0x1e0),'cCGsh':function(_0x3cdfee,_0x386cad){return _0x3cdfee===_0x386cad;},'wSqrI':'ESbdP','kOgRU':_0x508889(0x320),'zgFyE':function(_0x5c5de5){return _0x5c5de5();}};let _0x151fb2=_0x5780c3['title']+'\x20for\x20'+this[_0x508889(0x205)](_0x5a9952);return this[_0x508889(0x2b8)][_0x151fb2]&&(_0x4f3cec[_0x508889(0x26b)](_0x4f3cec[_0x508889(0x1c4)],_0x4f3cec['kOgRU'])?_0x29f075['result']=_0x4f3cec[_0x508889(0x252)](_0x5dafea[_0x508889(0x1bb)],_0x4f3cec[_0x508889(0x337)])?_0x4f3cec['ycWRv']:_0x4f3cec[_0x508889(0x248)]:_0x151fb2=_0x151fb2+_0x508889(0x226)+_0x4f3cec[_0x508889(0x316)](uuidv4)),_0x5780c3['_bs_hookIdentifier']=_0x151fb2,_0x151fb2;}[a27_0x188243(0x205)]=_0x3ba503=>{const _0x59ac72=a27_0x188243,_0x45a696={};_0x45a696[_0x59ac72(0x28d)]=function(_0x2a6762,_0x6832cc){return _0x2a6762+_0x6832cc;},_0x45a696[_0x59ac72(0x1ad)]=function(_0x3c1e60,_0x397a84){return _0x3c1e60+_0x397a84;};const _0x2309f1=_0x45a696;return _0x2309f1['IMqGg'](_0x2309f1[_0x59ac72(0x1ad)](_0x3ba503[_0x59ac72(0x227)],'-'),_0x3ba503['id']);};[a27_0x188243(0x2ac)]=(_0x63fb75,_0x1f7107)=>{const _0x224049=a27_0x188243,_0x22c0cc={};_0x22c0cc[_0x224049(0x1e3)]=function(_0x360609,_0x3afff0){return _0x360609+_0x3afff0;},_0x22c0cc['CeDqA']=function(_0x532703,_0x1fac2e){return _0x532703+_0x1fac2e;};const _0x59c4f6=_0x22c0cc;return _0x59c4f6[_0x224049(0x1e3)](_0x59c4f6[_0x224049(0x25a)](this['getTestIdentifier'](_0x63fb75),'-'),_0x1f7107);};[a27_0x188243(0x2bd)]=_0x4ee292=>{const _0x5314c6=a27_0x188243,_0x18f973={'xnOCJ':function(_0x2f7746,_0x351cf7){return _0x2f7746===_0x351cf7;},'AXtwr':_0x5314c6(0x259),'Gbuwl':_0x5314c6(0x303),'bfjGf':_0x5314c6(0x32a),'nlFEm':function(_0x17a562,_0x30e0ee){return _0x17a562===_0x30e0ee;},'fFTWj':_0x5314c6(0x281),'ZcsZI':_0x5314c6(0x1f0),'YIfJX':_0x5314c6(0x218),'EouyD':'TEST_STEP','tEDeX':_0x5314c6(0x28e),'TssDM':_0x5314c6(0x1e0),'PsZCn':function(_0x8ce9aa,_0x21b708){return _0x8ce9aa(_0x21b708);},'WYexM':function(_0x3ec391){return _0x3ec391();},'MVUkG':_0x5314c6(0x236),'BAGsm':function(_0x34a88e,_0x58b13f){return _0x34a88e!==_0x58b13f;},'NaJmf':_0x5314c6(0x2f1),'KNTqb':_0x5314c6(0x2fa),'PiDXg':_0x5314c6(0x2c0),'LqmMs':_0x5314c6(0x1bc),'AaWQZ':_0x5314c6(0x2a7),'CMmkL':_0x5314c6(0x253),'fedGr':'afterEach\x20hook','vKHOo':_0x5314c6(0x1e4),'RkLRN':_0x5314c6(0x2f9),'dStyB':_0x5314c6(0x338),'hGWil':'afterAll\x20hook','GTumq':function(_0x14be32,_0x2b44d6){return _0x14be32===_0x2b44d6;},'AkmMV':_0x5314c6(0x240),'eVkVz':_0x5314c6(0x287),'tparD':'unknown'};if(_0x4ee292[_0x5314c6(0x298)](_0x18f973[_0x5314c6(0x1c5)])){if(_0x18f973['BAGsm'](_0x18f973[_0x5314c6(0x22c)],_0x18f973[_0x5314c6(0x222)]))return _0x18f973[_0x5314c6(0x1d9)];else{if(_0x18f973[_0x5314c6(0x30c)](_0x3a40d7[_0x5314c6(0x285)],_0x18f973[_0x5314c6(0x1cb)])){if(!_0x1fa370[_0x5314c6(0x2c5)](_0x68cfde['path']))return;_0x41b407[_0x5314c6(0x31f)]({'test_run_uuid':_0x6e192f,'timestamp':_0xb679b7[_0x5314c6(0x31b)](_0xc4d6f8[_0x5314c6(0x1f2)])[_0x5314c6(0x1fd)],'kind':_0x18f973[_0x5314c6(0x20f)],'message':_0x14c3e5[_0x5314c6(0x336)](_0xfbdf77['path'],{'encoding':_0x18f973[_0x5314c6(0x2f7)]})});}}}else{if(_0x4ee292[_0x5314c6(0x298)](_0x18f973['LqmMs'])){if(_0x18f973[_0x5314c6(0x345)](_0x18f973[_0x5314c6(0x2af)],_0x18f973['AaWQZ'])){const _0x43d90e=_0x18f973[_0x5314c6(0x2d6)](_0x5c400c,_0x18f973[_0x5314c6(0x2cc)])?_0x18f973['ZcsZI']:_0x18f973['YIfJX'];_0x38fe2d[_0x5314c6(0x31f)]({'kind':_0x18f973[_0x5314c6(0x2ba)],[_0x43d90e]:_0x5c498b,'message':_0x59b56e[_0x5314c6(0x27e)],'timestamp':_0x1c89c0[_0x5314c6(0x2fe)][_0x5314c6(0x1eb)](),'level':_0x50530f[_0x5314c6(0x23c)]?_0x18f973[_0x5314c6(0x2de)]:_0x18f973[_0x5314c6(0x212)],'duration':_0xbf9d1f[_0x5314c6(0x22d)],'failure':_0x1cec42[_0x5314c6(0x23c)]&&_0x576d76[_0x5314c6(0x23c)][_0x5314c6(0x2fb)]&&_0x18f973[_0x5314c6(0x1d5)](_0x58e309,_0x2dffa1[_0x5314c6(0x23c)][_0x5314c6(0x2fb)]),'failure_type':_0x18f973[_0x5314c6(0x1d5)](_0x3b2c01,_0x3d1574[_0x5314c6(0x23c)]&&_0x3a1deb[_0x5314c6(0x23c)][_0x5314c6(0x2fb)])});}else return _0x18f973[_0x5314c6(0x286)];}else{if(_0x4ee292['startsWith'](_0x18f973[_0x5314c6(0x2d2)])){if(_0x18f973[_0x5314c6(0x2d6)](_0x18f973[_0x5314c6(0x2da)],_0x18f973['RkLRN']))_0x5be960=_0x47ad28+'\x20-\x20'+_0x18f973[_0x5314c6(0x1ec)](_0xa8c16e);else return _0x18f973[_0x5314c6(0x2c3)];}else{if(_0x4ee292['startsWith'](_0x18f973['hGWil'])){if(_0x18f973['GTumq'](_0x18f973[_0x5314c6(0x1bf)],_0x18f973[_0x5314c6(0x1bf)]))return _0x18f973[_0x5314c6(0x1e2)];else _0x13381c['attachments'][_0x5314c6(0x1bd)](_0x19ec84=>{const _0x51b7dc=_0x5314c6;if(_0x18f973[_0x51b7dc(0x30c)](_0x19ec84['name'],_0x18f973[_0x51b7dc(0x1cb)])){if(!_0x38cd3f[_0x51b7dc(0x2c5)](_0x19ec84['path']))return;_0x5b6adb[_0x51b7dc(0x31f)]({'test_run_uuid':_0x5e6dbe,'timestamp':_0x12ee36[_0x51b7dc(0x31b)](_0x19ec84[_0x51b7dc(0x1f2)])[_0x51b7dc(0x1fd)],'kind':_0x18f973[_0x51b7dc(0x20f)],'message':_0x1a30c0[_0x51b7dc(0x336)](_0x19ec84[_0x51b7dc(0x1f2)],{'encoding':_0x18f973[_0x51b7dc(0x2f7)]})});}});}}}}return _0x18f973[_0x5314c6(0x1f1)];};[a27_0x188243(0x296)]=_0x276dc7=>{const _0x200b15=a27_0x188243,_0x359f1b={};_0x359f1b['qugQN']=function(_0x316767,_0x70439e){return _0x316767===_0x70439e;},_0x359f1b['lwriY']=_0x200b15(0x1ee),_0x359f1b[_0x200b15(0x26f)]=_0x200b15(0x2ca);const _0x26182e=_0x359f1b;let _0x58b24b=_0x276dc7['parent'];return _0x26182e[_0x200b15(0x1dc)](typeof _0x276dc7['parent'],_0x26182e[_0x200b15(0x321)])&&(_0x26182e['qugQN'](_0x26182e[_0x200b15(0x26f)],_0x26182e[_0x200b15(0x26f)])?_0x58b24b=_0x58b24b[_0x200b15(0x27e)]:this[_0x200b15(0x2d1)][_0x2cf3fc]=[]),_0x58b24b+'\x20-\x20'+_0x276dc7[_0x200b15(0x27e)];};[a27_0x188243(0x264)](){return![];}}module[a27_0x188243(0x283)]=o11yClassErrorHandler(MyReporter,['onBegin',a27_0x188243(0x263),a27_0x188243(0x246),'onTestEnd',a27_0x188243(0x32e),a27_0x188243(0x1f3),'sendSessionDetails']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a28_0x1527(_0x2abb7f,_0x487f33){const _0x5e29a0=a28_0x5e29();return a28_0x1527=function(_0x15270f,_0x4c4889){_0x15270f=_0x15270f-0x1a6;let _0x1c7287=_0x5e29a0[_0x15270f];return _0x1c7287;},a28_0x1527(_0x2abb7f,_0x487f33);}const a28_0x12318d=a28_0x1527;(function(_0x1d159e,_0x23f09c){const _0x3d66ab=a28_0x1527,_0x417cfe=_0x1d159e();while(!![]){try{const _0x1f1ed7=parseInt(_0x3d66ab(0x1aa))/0x1+-parseInt(_0x3d66ab(0x1b0))/0x2+parseInt(_0x3d66ab(0x1a7))/0x3+-parseInt(_0x3d66ab(0x1c7))/0x4*(parseInt(_0x3d66ab(0x1cf))/0x5)+parseInt(_0x3d66ab(0x1b7))/0x6*(parseInt(_0x3d66ab(0x1b9))/0x7)+parseInt(_0x3d66ab(0x1a8))/0x8+parseInt(_0x3d66ab(0x1d2))/0x9;if(_0x1f1ed7===_0x23f09c)break;else _0x417cfe['push'](_0x417cfe['shift']());}catch(_0x277806){_0x417cfe['push'](_0x417cfe['shift']());}}}(a28_0x5e29,0x48cf3));const fs=require('fs'),path=require(a28_0x12318d(0x1c4)),{v4:uuidv4}=require(a28_0x12318d(0x1c8)),{TEMP_STORE_DIR_NAME}=require(a28_0x12318d(0x1bf));function a28_0x5e29(){const _0x2b31bb=['FkfgO','_projectId','DFAxR','nKEng','hZxSX','OAEVx','retry','existsSync','mkdirSync','OBCBZ','332001VSrsfJ','2431416qeShpd','SgYdr','366328PLusQj','nFLAS','IrQOJ','TUEaI','QGXik','toString','567338dQWHnz','join','zXiwZ','.json','dirPath','exports','_test','989694fOSacr','kECtL','7TDHyWH','parse','cOtvj','WLLcy','getTestDetails','SJgcv','../../../helpers/test-observability/constants','jYOAU','EcrFB','WkRdu','string','path','recursive','RzFTR','145044yxgZFf','uuid','OcEJp','UoFRv','force','getFilePath','gjtDN','BBFdm','75fFcDYU','stringify','NNPcE','1619460sATAsL','tests','UYvIC','readFileSync','writeFileSync','shutdown'];a28_0x5e29=function(){return _0x2b31bb;};return a28_0x5e29();}class TestDetails{static [a28_0x12318d(0x1d3)]={};static [a28_0x12318d(0x1b4)]=path[a28_0x12318d(0x1b1)](process['cwd'](),TEMP_STORE_DIR_NAME);static['setup'](){const _0x58cab8=a28_0x12318d;this['shutdown']();const _0x150202={};_0x150202[_0x58cab8(0x1c5)]=!![],fs[_0x58cab8(0x1e0)](this['dirPath'],_0x150202);}static[a28_0x12318d(0x1cc)](_0x5333a6){const _0x3922ba=a28_0x12318d,_0x54ff44={};_0x54ff44[_0x3922ba(0x1b8)]=function(_0xf3a975,_0x5ab325){return _0xf3a975+_0x5ab325;},_0x54ff44[_0x3922ba(0x1c0)]=_0x3922ba(0x1b3);const _0x1a4c9b=_0x54ff44;return path[_0x3922ba(0x1b1)](this['dirPath'],_0x1a4c9b['kECtL'](_0x5333a6,_0x1a4c9b[_0x3922ba(0x1c0)]));}static['getTestRunIdFromTestInfo'](_0x215b38){const _0x1e8b9b=a28_0x12318d,_0x37a063={};_0x37a063[_0x1e8b9b(0x1ac)]=function(_0x49caf4,_0x42269c){return _0x49caf4+_0x42269c;},_0x37a063['qSscW']=function(_0x40f0fa,_0x4131fb){return _0x40f0fa+_0x4131fb;};const _0xf6d2d3=_0x37a063;return _0xf6d2d3[_0x1e8b9b(0x1ac)](_0xf6d2d3[_0x1e8b9b(0x1ac)](_0xf6d2d3[_0x1e8b9b(0x1ac)](_0xf6d2d3['qSscW'](_0x215b38['_test'][_0x1e8b9b(0x1d9)],'-'),_0x215b38[_0x1e8b9b(0x1b6)]['id']),'-'),_0x215b38[_0x1e8b9b(0x1de)]);}static['getTestUUID'](_0x5d8c70){const _0x5c9769=a28_0x12318d,_0x208ff3={'cOtvj':function(_0x40a9fb,_0x5ca77a){return _0x40a9fb===_0x5ca77a;},'WkRdu':_0x5c9769(0x1c3),'UoFRv':function(_0x108214){return _0x108214();},'ryUlP':function(_0x5e3777,_0x21eb25){return _0x5e3777===_0x21eb25;},'QGXik':function(_0x3e8153,_0x3860f6){return _0x3e8153!==_0x3860f6;},'TUEaI':'olixl','UYvIC':function(_0x916f25,_0x4c1542){return _0x916f25===_0x4c1542;},'nKEng':_0x5c9769(0x1d8),'zXiwZ':_0x5c9769(0x1a9)};if(this[_0x5c9769(0x1d3)][_0x5d8c70]&&_0x208ff3['ryUlP'](typeof this[_0x5c9769(0x1d3)][_0x5d8c70][_0x5c9769(0x1c8)],_0x208ff3[_0x5c9769(0x1c2)]))return _0x208ff3[_0x5c9769(0x1ae)](_0x208ff3[_0x5c9769(0x1ad)],_0x208ff3[_0x5c9769(0x1ad)])?this[_0x5c9769(0x1d3)][_0x5b706c][_0x5c9769(0x1c8)]:this[_0x5c9769(0x1d3)][_0x5d8c70][_0x5c9769(0x1c8)];const _0x25f288=this[_0x5c9769(0x1cc)](_0x5d8c70);if(fs['existsSync'](_0x25f288)){if(_0x208ff3[_0x5c9769(0x1d4)](_0x208ff3[_0x5c9769(0x1db)],_0x208ff3[_0x5c9769(0x1b2)])){if(this['tests'][_0x52380e]&&_0x208ff3[_0x5c9769(0x1bb)](typeof this[_0x5c9769(0x1d3)][_0x5654f3][_0x5c9769(0x1c8)],_0x208ff3[_0x5c9769(0x1c2)]))return this[_0x5c9769(0x1d3)][_0x16639e]['uuid'];const _0x264c3c=this['getFilePath'](_0x5fc507);if(_0x28b81b[_0x5c9769(0x1df)](_0x264c3c)){const _0x5c2621=_0x2e9c5c[_0x5c9769(0x1ba)](_0x31744f[_0x5c9769(0x1d5)](_0x264c3c)['toString']());return this[_0x5c9769(0x1d3)][_0x2f2bd9]=_0x5c2621,this[_0x5c9769(0x1d3)][_0x3fe61c][_0x5c9769(0x1c8)];}return this['tests'][_0x3aba0a]={'uuid':_0x208ff3['UoFRv'](_0x175532)},_0xc94e7[_0x5c9769(0x1d6)](_0x264c3c,_0x1fbe3c[_0x5c9769(0x1d0)](this[_0x5c9769(0x1d3)][_0x4b85a0])),this[_0x5c9769(0x1d3)][_0x455dcb][_0x5c9769(0x1c8)];}else{const _0x3b3f95=JSON[_0x5c9769(0x1ba)](fs[_0x5c9769(0x1d5)](_0x25f288)['toString']());return this[_0x5c9769(0x1d3)][_0x5d8c70]=_0x3b3f95,this[_0x5c9769(0x1d3)][_0x5d8c70][_0x5c9769(0x1c8)];}}return this['tests'][_0x5d8c70]={'uuid':_0x208ff3[_0x5c9769(0x1ca)](uuidv4)},fs[_0x5c9769(0x1d6)](_0x25f288,JSON[_0x5c9769(0x1d0)](this['tests'][_0x5d8c70])),this['tests'][_0x5d8c70][_0x5c9769(0x1c8)];}static['shutdown'](){const _0x3c56d8=a28_0x12318d,_0x27d542={};_0x27d542['recursive']=!![],_0x27d542['force']=!![],fs['rmSync'](this[_0x3c56d8(0x1b4)],_0x27d542);}static[a28_0x12318d(0x1bd)](_0x2e3364){const _0x22ce20=a28_0x12318d,_0x20c874={};_0x20c874[_0x22ce20(0x1c1)]=function(_0x12ae01,_0x3f3974){return _0x12ae01!==_0x3f3974;},_0x20c874[_0x22ce20(0x1ab)]=_0x22ce20(0x1da),_0x20c874[_0x22ce20(0x1bc)]=_0x22ce20(0x1dc),_0x20c874[_0x22ce20(0x1c9)]=function(_0x88b577,_0x47d401){return _0x88b577===_0x47d401;},_0x20c874['gjtDN']=_0x22ce20(0x1c6);const _0x12d39f=_0x20c874;if(this[_0x22ce20(0x1d3)][_0x2e3364]){if(_0x12d39f[_0x22ce20(0x1c1)](_0x12d39f['nFLAS'],_0x12d39f['WLLcy']))return this[_0x22ce20(0x1d3)][_0x2e3364];else{const _0x2b63bb=this['getFilePath'](_0x2b80fe);if(_0x3f6d83[_0x22ce20(0x1df)](_0x2b63bb)){const _0x5abb70=_0x43c353[_0x22ce20(0x1ba)](_0x34e552[_0x22ce20(0x1d5)](_0x2b63bb)['toString']()),_0x47e6bb={..._0x5abb70,..._0x73a383};this['tests'][_0x2f725f]=_0x47e6bb;}else this[_0x22ce20(0x1d3)][_0x2ed3f0]=_0x6adcec;_0x1c04bd[_0x22ce20(0x1d6)](_0x2b63bb,this['tests'][_0x392da9]);}}const _0x4d5b8d=this[_0x22ce20(0x1cc)](_0x2e3364);if(fs[_0x22ce20(0x1df)](_0x4d5b8d)){if(_0x12d39f[_0x22ce20(0x1c9)](_0x12d39f[_0x22ce20(0x1cd)],_0x12d39f['gjtDN'])){const _0x14f02d=JSON[_0x22ce20(0x1ba)](fs['readFileSync'](_0x4d5b8d)[_0x22ce20(0x1af)]());return this[_0x22ce20(0x1d3)][_0x2e3364]=_0x14f02d,_0x14f02d;}else{const _0x21aba5={};_0x21aba5[_0x22ce20(0x1c5)]=!![],_0x21aba5[_0x22ce20(0x1cb)]=!![],_0x520325['rmSync'](this[_0x22ce20(0x1b4)],_0x21aba5);}}return{};}static['setTestDetails'](_0x3e4c51,_0x3a4a3a){const _0x41e89b=a28_0x12318d,_0x537c78={};_0x537c78[_0x41e89b(0x1be)]=function(_0x44f92b,_0x392885){return _0x44f92b!==_0x392885;},_0x537c78[_0x41e89b(0x1d1)]='RlZsK',_0x537c78['BBFdm']=function(_0x3a1147,_0x2fda4b){return _0x3a1147===_0x2fda4b;},_0x537c78[_0x41e89b(0x1a6)]=_0x41e89b(0x1dd);const _0x1a0488=_0x537c78,_0x2a7be4=this[_0x41e89b(0x1cc)](_0x3e4c51);if(fs[_0x41e89b(0x1df)](_0x2a7be4)){if(_0x1a0488[_0x41e89b(0x1be)](_0x1a0488[_0x41e89b(0x1d1)],_0x1a0488[_0x41e89b(0x1d1)])){this[_0x41e89b(0x1d7)]();const _0x4c2dfa={};_0x4c2dfa[_0x41e89b(0x1c5)]=!![],_0x57f4b0[_0x41e89b(0x1e0)](this[_0x41e89b(0x1b4)],_0x4c2dfa);}else{const _0x34d701=JSON[_0x41e89b(0x1ba)](fs['readFileSync'](_0x2a7be4)[_0x41e89b(0x1af)]()),_0x3d3ab8={..._0x34d701,..._0x3a4a3a};this[_0x41e89b(0x1d3)][_0x3e4c51]=_0x3d3ab8;}}else{if(_0x1a0488[_0x41e89b(0x1ce)](_0x1a0488['OBCBZ'],_0x1a0488['OBCBZ']))this[_0x41e89b(0x1d3)][_0x3e4c51]=_0x3a4a3a;else return this[_0x41e89b(0x1d3)][_0x1651e7];}fs[_0x41e89b(0x1d6)](_0x2a7be4,this[_0x41e89b(0x1d3)][_0x3e4c51]);}}module[a28_0x12318d(0x1b5)]=TestDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a29_0x5bd9f5=a29_0x194f;(function(_0xa818b,_0x41c8f8){const _0x49aa81=a29_0x194f,_0x14f50e=_0xa818b();while(!![]){try{const _0x239f20=parseInt(_0x49aa81(0xfe))/0x1*(-parseInt(_0x49aa81(0xd2))/0x2)+parseInt(_0x49aa81(0x125))/0x3+parseInt(_0x49aa81(0xf7))/0x4+-parseInt(_0x49aa81(0x13f))/0x5*(parseInt(_0x49aa81(0xdb))/0x6)+-parseInt(_0x49aa81(0x143))/0x7*(parseInt(_0x49aa81(0x11d))/0x8)+parseInt(_0x49aa81(0x105))/0x9*(parseInt(_0x49aa81(0xd1))/0xa)+parseInt(_0x49aa81(0xea))/0xb*(parseInt(_0x49aa81(0xf4))/0xc);if(_0x239f20===_0x41c8f8)break;else _0x14f50e['push'](_0x14f50e['shift']());}catch(_0x1988cc){_0x14f50e['push'](_0x14f50e['shift']());}}}(a29_0x20c8,0x9abd4));const fs=require('fs'),path=require(a29_0x5bd9f5(0x10d)),util=require('util'),{requireModule}=require('../helpers/helper'),helper=require(a29_0x5bd9f5(0xd0)),captureError=async(_0x20dcfd,_0x4fdaa5,_0x38a1f1=null)=>{const _0x1a8d66=a29_0x5bd9f5,_0xaef1f4={'BqpkT':'.local-not-set.json','vvpkT':function(_0x3d7f79,_0x1e2a01,_0xdcf4a4){return _0x3d7f79(_0x1e2a01,_0xdcf4a4);},'hEHwC':function(_0x35601d,_0x27fc84){return _0x35601d(_0x27fc84);},'JGnHx':_0x1a8d66(0x126),'PpTXE':_0x1a8d66(0xf5),'lgUmE':function(_0x3c5cc9,_0x21e38b,_0x33e278,_0x5a446f){return _0x3c5cc9(_0x21e38b,_0x33e278,_0x5a446f);},'iMwLo':_0x1a8d66(0x13c),'dyPAs':function(_0x4ec6cb,_0x1a58a5){return _0x4ec6cb!==_0x1a58a5;},'vNTEY':'TmnWP','trGGZ':_0x1a8d66(0xeb),'VgNLZ':_0x1a8d66(0x12c),'LwEAC':function(_0x25e6a1,_0x3bc0b8){return _0x25e6a1===_0x3bc0b8;},'atMZi':_0x1a8d66(0x12d),'jAeRf':_0x1a8d66(0xfc),'wXVgZ':'rIjaJ','SOvdQ':_0x1a8d66(0x132)};try{if(_0xaef1f4[_0x1a8d66(0xe4)](_0xaef1f4[_0x1a8d66(0x121)],_0xaef1f4[_0x1a8d66(0xdc)]))await _0xaef1f4[_0x1a8d66(0x11f)](_0x20dcfd,_0x4fdaa5,_0x38a1f1);else{const _0x1c64cd=_0x17766b[_0x1a8d66(0x128)](_0x2f99b6,_0xaef1f4[_0x1a8d66(0x140)]);_0x48a3a5[_0x1a8d66(0xe1)](_0x1c64cd)&&_0x1d2dc5[_0x1a8d66(0x116)](_0x1c64cd);}}catch(_0x5aa24f){if(_0xaef1f4[_0x1a8d66(0xe4)](_0xaef1f4[_0x1a8d66(0x130)],_0xaef1f4[_0x1a8d66(0x130)]))return _0xaef1f4[_0x1a8d66(0x11f)](_0x18677b,_0xaef1f4[_0x1a8d66(0xd4)](_0x1eca3e,_0xaef1f4[_0x1a8d66(0x131)]),_0x55b547);else{process[_0x1a8d66(0x13a)]=0x1,logger[_0x1a8d66(0x13e)](util[_0x1a8d66(0xd5)](_0x5aa24f));const _0xc5f336={};_0xc5f336[_0x1a8d66(0x13e)]=_0x5aa24f['message'];const _0x359a53=_0xc5f336;if(helper['isUndefined'](global['config'])&&helper[_0x1a8d66(0x11e)](global[_0x1a8d66(0xcd)]))return;try{if(_0xaef1f4['LwEAC'](_0xaef1f4[_0x1a8d66(0xef)],_0xaef1f4[_0x1a8d66(0xef)]))helper[_0x1a8d66(0xde)](_0xaef1f4[_0x1a8d66(0x139)],_0x359a53,global[_0x1a8d66(0x127)],global[_0x1a8d66(0xcd)]);else{let _0x2edd13=_0x59ada1['join'](_0x23f908[_0x1a8d66(0xd3)](),_0xaef1f4[_0x1a8d66(0x117)]);if(_0x133955[_0x1a8d66(0xe1)](_0x2edd13)){const _0x21461b=_0x1d07bb['join'](_0x2edd13,_0xaef1f4[_0x1a8d66(0x140)]);_0xf95c0b[_0x1a8d66(0xe1)](_0x21461b)&&_0x48224c[_0x1a8d66(0x116)](_0x21461b);}}}catch(_0x4dd9f9){if(_0xaef1f4[_0x1a8d66(0xe2)](_0xaef1f4[_0x1a8d66(0xe5)],_0xaef1f4[_0x1a8d66(0xd9)])){const _0x76eec0=_0x113ae0[_0x1a8d66(0x122)][_0x1a8d66(0x107)](0x2);return _0xaef1f4[_0x1a8d66(0x108)](_0x586709,_0xaef1f4[_0x1a8d66(0xd4)](_0x312cce,_0xaef1f4[_0x1a8d66(0x103)]),_0x2aeadc[_0x1a8d66(0x122)],_0x76eec0);}else logger[_0x1a8d66(0xee)](_0x1a8d66(0xe6)+_0x4dd9f9);}}}};function a29_0x194f(_0x24342f,_0x3fe4b9){const _0x20c8e3=a29_0x20c8();return a29_0x194f=function(_0x194f89,_0x45339b){_0x194f89=_0x194f89-0xc8;let _0x5816e5=_0x20c8e3[_0x194f89];return _0x5816e5;},a29_0x194f(_0x24342f,_0x3fe4b9);}try{let browserstackFolderPath=path[a29_0x5bd9f5(0x128)](helper['homedir'](),a29_0x5bd9f5(0xf5));if(fs[a29_0x5bd9f5(0xe1)](browserstackFolderPath)){const filePath=path[a29_0x5bd9f5(0x128)](browserstackFolderPath,'.local-not-set.json');fs['existsSync'](filePath)&&fs[a29_0x5bd9f5(0x116)](filePath);}}catch(a29_0x577312){logger[a29_0x5bd9f5(0xee)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a29_0x577312[a29_0x5bd9f5(0x104)]);}if(process['argv'][a29_0x5bd9f5(0xe9)](a29_0x5bd9f5(0xfb))){if(!process[a29_0x5bd9f5(0x122)][a29_0x5bd9f5(0xe9)]('--opts'))process['argv']['push'](a29_0x5bd9f5(0xdf));if(!process['argv'][a29_0x5bd9f5(0xe9)]('--config'))process[a29_0x5bd9f5(0x122)]['push'](a29_0x5bd9f5(0x134));if(!process[a29_0x5bd9f5(0x122)][a29_0x5bd9f5(0xe9)](a29_0x5bd9f5(0xf1)))process[a29_0x5bd9f5(0x122)][a29_0x5bd9f5(0xcf)](a29_0x5bd9f5(0x115));}const yargs=require(a29_0x5bd9f5(0xe3)),Constants=require(a29_0x5bd9f5(0x10f)),logger=require('../helpers/logger')[a29_0x5bd9f5(0x144)],a29_0x4fd0f7={};a29_0x4fd0f7[a29_0x5bd9f5(0xd7)]=![];const argv=yargs['parserConfiguration'](a29_0x4fd0f7)[a29_0x5bd9f5(0x11c)](a29_0x5bd9f5(0xff))['alias']('v',a29_0x5bd9f5(0x124))[a29_0x5bd9f5(0x10a)]('v')[a29_0x5bd9f5(0x102)]('h',a29_0x5bd9f5(0xcc))[a29_0x5bd9f5(0xcc)](a29_0x5bd9f5(0xcc))[a29_0x5bd9f5(0x112)](!![],Constants[a29_0x5bd9f5(0xec)][a29_0x5bd9f5(0x12e)])['command'](a29_0x5bd9f5(0xca),Constants[a29_0x5bd9f5(0x12b)][a29_0x5bd9f5(0xdd)],function(_0x1de74b){const _0xc72242=a29_0x5bd9f5,_0x4335c6={'LbFdS':function(_0x548be9,_0x4702f1,_0x161444,_0x40b400){return _0x548be9(_0x4702f1,_0x161444,_0x40b400);},'lLmtA':function(_0x55328b,_0x30792c){return _0x55328b(_0x30792c);},'IzBoi':_0xc72242(0x129)},_0x162ba2=process[_0xc72242(0x122)]['slice'](0x2);return _0x4335c6[_0xc72242(0xf6)](captureError,_0x4335c6[_0xc72242(0xda)](require,_0x4335c6[_0xc72242(0x10b)]),_0x1de74b[_0xc72242(0x122)],_0x162ba2);})[a29_0x5bd9f5(0xcb)](a29_0x5bd9f5(0xfb),Constants[a29_0x5bd9f5(0x142)][a29_0x5bd9f5(0xdd)],_0x50cdb2=>{const _0x4eafa5=a29_0x5bd9f5,_0x4dfac4={'irOAU':'SDKTestSuccessful','jTRKm':function(_0x3047e5,_0xfa910a){return _0x3047e5!==_0xfa910a;},'AnxRm':_0x4eafa5(0xed),'baIay':'hfulX','ytUZx':function(_0x595704,_0x1963a2,_0x4d5c1e){return _0x595704(_0x1963a2,_0x4d5c1e);},'gQQYL':function(_0x2bd3c2,_0x7d7f06){return _0x2bd3c2(_0x7d7f06);},'axXgs':'./mocha/command','fHWKg':_0x4eafa5(0xe0),'LNfIo':function(_0x20d0a3,_0x412149){return _0x20d0a3(_0x412149);},'kKtxy':'mocha/lib/cli/run.js','RJxhN':function(_0x146575,_0x26d643){return _0x146575(_0x26d643);},'cvUjn':'mocha/lib/cli/commands.js','roSQd':function(_0x2b8a4c,_0x2820ec){return _0x2b8a4c(_0x2820ec);},'SNLyx':_0x4eafa5(0x145),'XATvu':function(_0x56b132){return _0x56b132();}};logger[_0x4eafa5(0xee)](_0x4dfac4['fHWKg']);const _0x53883d=_0x4dfac4['LNfIo'](requireModule,_0x4dfac4[_0x4eafa5(0x123)]),_0x42a533=_0x4dfac4[_0x4eafa5(0x133)](requireModule,_0x4dfac4['cvUjn']);process[_0x4eafa5(0x122)]=process['argv']['slice'](0x1),delete _0x53883d[_0x4eafa5(0xc8)],_0x53883d[_0x4eafa5(0xc8)]=function(_0x57f0f3){const _0x2ccf0b=_0x4eafa5,_0x5abb58={};_0x5abb58[_0x2ccf0b(0x111)]=_0x4dfac4[_0x2ccf0b(0x137)];const _0x597dce=_0x5abb58;if(_0x4dfac4[_0x2ccf0b(0xd8)](_0x4dfac4['AnxRm'],_0x4dfac4['baIay']))return _0x4dfac4[_0x2ccf0b(0x100)](captureError,_0x4dfac4[_0x2ccf0b(0x110)](require,_0x4dfac4[_0x2ccf0b(0x106)]),_0x57f0f3);else _0x117b9e['fireFunnelTestEvent'](_0x597dce[_0x2ccf0b(0x111)],_0x37f5c0,_0x18c328[_0x2ccf0b(0x127)],_0x31645a[_0x2ccf0b(0xcd)]);},_0x42a533[_0x4eafa5(0x12a)]=_0x53883d;const {main:_0x2a485e}=_0x4dfac4[_0x4eafa5(0xf3)](requireModule,_0x4dfac4[_0x4eafa5(0x138)]);_0x4dfac4[_0x4eafa5(0x10c)](_0x2a485e);})['command'](a29_0x5bd9f5(0xc9),Constants[a29_0x5bd9f5(0x135)][a29_0x5bd9f5(0xdd)],function(_0x359c0f){const _0x36cea9=a29_0x5bd9f5,_0x248061={'auNQg':function(_0x500de9,_0x2a6a0b,_0x8a1f84,_0x593fd9){return _0x500de9(_0x2a6a0b,_0x8a1f84,_0x593fd9);},'enIvP':function(_0x4cd3ff,_0x271727){return _0x4cd3ff(_0x271727);},'FGGml':_0x36cea9(0x12f)},_0x24e397=process['argv'][_0x36cea9(0x107)](0x2);return _0x248061[_0x36cea9(0xf0)](captureError,_0x248061[_0x36cea9(0x11b)](require,_0x248061[_0x36cea9(0x118)]),_0x359c0f[_0x36cea9(0x122)],_0x24e397);})[a29_0x5bd9f5(0xcb)]('node',Constants[a29_0x5bd9f5(0xe7)][a29_0x5bd9f5(0xdd)],function(_0xf6dab9){const _0x4dc45d=a29_0x5bd9f5,_0x4122b1={'GQZbG':function(_0x408209,_0x33d2d6,_0x32f362,_0x2ac629){return _0x408209(_0x33d2d6,_0x32f362,_0x2ac629);},'mxTFv':function(_0x45727b,_0x4bb14e){return _0x45727b(_0x4bb14e);},'SLzFe':'./vanilla-js/command'},_0x5df622=process[_0x4dc45d(0x122)][_0x4dc45d(0x107)](0x2);return _0x4122b1['GQZbG'](captureError,_0x4122b1[_0x4dc45d(0x13b)](require,_0x4122b1['SLzFe']),_0xf6dab9['argv'],_0x5df622);})['command']('nightwatch',Constants['NIGHTWATCH'][a29_0x5bd9f5(0xdd)],function(_0x133269){const _0x5902e4=a29_0x5bd9f5,_0x524f88={'wVXOw':function(_0x2360eb,_0x2f8522,_0x57c19e,_0x2bc05b){return _0x2360eb(_0x2f8522,_0x57c19e,_0x2bc05b);},'TXKUP':function(_0x155232,_0x595dea){return _0x155232(_0x595dea);},'fLhoq':'./nightwatch/command'},_0x330b08=process[_0x5902e4(0x122)]['slice'](0x2);return _0x524f88[_0x5902e4(0x114)](captureError,_0x524f88['TXKUP'](require,_0x524f88[_0x5902e4(0xe8)]),_0x133269[_0x5902e4(0x122)],_0x330b08);})[a29_0x5bd9f5(0xcb)](a29_0x5bd9f5(0xce),Constants[a29_0x5bd9f5(0x109)][a29_0x5bd9f5(0xdd)],function(_0x215005){const _0x72ed8a=a29_0x5bd9f5,_0x30fd60={'rHkIe':function(_0x561018,_0xee1d9a,_0x183673,_0x22c543){return _0x561018(_0xee1d9a,_0x183673,_0x22c543);},'tMZEb':function(_0x2903f3,_0x24e8ab){return _0x2903f3(_0x24e8ab);},'VmfAb':'./codeceptjs/command'},_0xed61ad=process[_0x72ed8a(0x122)][_0x72ed8a(0x107)](0x2);return _0x30fd60[_0x72ed8a(0x11a)](captureError,_0x30fd60[_0x72ed8a(0xfd)](require,_0x30fd60[_0x72ed8a(0x113)]),_0x215005[_0x72ed8a(0x122)],_0xed61ad);})[a29_0x5bd9f5(0xcb)](a29_0x5bd9f5(0x10e),Constants[a29_0x5bd9f5(0x120)][a29_0x5bd9f5(0xdd)],function(_0x85f62){const _0x51fbca=a29_0x5bd9f5,_0x56d420={'GEqYY':function(_0x800c8a,_0x3a497f,_0x26e779){return _0x800c8a(_0x3a497f,_0x26e779);},'DQpIe':function(_0x23140d,_0x26239d){return _0x23140d(_0x26239d);},'lpKnh':'../../ats/src/index'},_0x530da8=process['argv'][_0x51fbca(0x107)](0x2);return _0x56d420[_0x51fbca(0xfa)](captureError,_0x56d420[_0x51fbca(0x119)](require,_0x56d420[_0x51fbca(0xf9)]),_0x85f62);})['command'](a29_0x5bd9f5(0x101),Constants['PLAYWRIGHT'][a29_0x5bd9f5(0xdd)],function(_0x4f2966){const _0x55f4ea=a29_0x5bd9f5,_0x38e61={'CMfBy':function(_0x52b5e9,_0x39bbf1,_0x32d501,_0x41b6c7){return _0x52b5e9(_0x39bbf1,_0x32d501,_0x41b6c7);},'VRcoF':function(_0x2f77bf,_0x2223c1){return _0x2f77bf(_0x2223c1);},'LCHcA':'./playwright/command'},_0x3f4f73=process[_0x55f4ea(0x122)][_0x55f4ea(0x107)](0x2);return _0x38e61[_0x55f4ea(0x136)](captureError,_0x38e61[_0x55f4ea(0xf8)](require,_0x38e61['LCHcA']),_0x4f2966[_0x55f4ea(0x122)],_0x3f4f73);})[a29_0x5bd9f5(0xf2)](0x1,a29_0x5bd9f5(0x141))[a29_0x5bd9f5(0x13d)](null)['argv'];function a29_0x20c8(){const _0x5f4103=['isUndefined','vvpkT','HST','vNTEY','argv','kKtxy','version','2082927wLEkxd','./mocha/command','config','join','./jest/command','run','JEST','twgWa','RIaTx','HELP','./cucumber-js/command','VgNLZ','JGnHx','LfPPQ','RJxhN','--no-config','CUCUMBER','CMfBy','irOAU','SNLyx','jAeRf','exitCode','mxTFv','./nightwatch/command','wrap','error','3997255wtCxBW','BqpkT','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','MOCHA','42CcnaCv','winstonLogger','mocha/lib/cli/cli.js','handler','cucumber-js','jest','command','help','framework','codeceptjs','push','../helpers/helper','798610aXskmi','6EqMWvY','homedir','hEHwC','format','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','dot-notation','jTRKm','SOvdQ','lLmtA','6AEEUPP','trGGZ','INFO','fireFunnelTestEvent','--no-opts','Parsing\x20command\x20line\x20arguements','existsSync','LwEAC','yargs','dyPAs','wXVgZ','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','VANILLA','fLhoq','includes','1156903CuGgUB','QSnWH','VERSION','QUulF','debug','atMZi','auNQg','--package','demandCommand','roSQd','24uwhBSM','.browserstack','LbFdS','4869040pwlFaF','VRcoF','lpKnh','GEqYY','mocha','SDKTestSuccessful','tMZEb','147630eXgsCj','usage:\x20$0\x20<command>\x20[args]','ytUZx','playwright','alias','iMwLo','message','36FGsBiZ','axXgs','slice','lgUmE','CODECEPTJS','describe','IzBoi','XATvu','path','ats','./utils/constants','gQQYL','bVmlK','showHelpOnFail','VmfAb','wVXOw','--no-package','unlinkSync','PpTXE','FGGml','DQpIe','rHkIe','enIvP','usage','753608OKCzVk'];a29_0x20c8=function(){return _0x5f4103;};return a29_0x20c8();}!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a29_0x5bd9f5(0x10e)&&console[a29_0x5bd9f5(0x13e)](a29_0x5bd9f5(0xd6));
|
|
2
|
+
'use strict';const a29_0x3e955c=a29_0x5244;(function(_0x1ded71,_0x2d16dd){const _0x48fb9d=a29_0x5244,_0x1607f5=_0x1ded71();while(!![]){try{const _0x57af93=parseInt(_0x48fb9d(0x20b))/0x1*(-parseInt(_0x48fb9d(0x206))/0x2)+parseInt(_0x48fb9d(0x245))/0x3+-parseInt(_0x48fb9d(0x20c))/0x4+-parseInt(_0x48fb9d(0x222))/0x5*(-parseInt(_0x48fb9d(0x204))/0x6)+parseInt(_0x48fb9d(0x208))/0x7*(-parseInt(_0x48fb9d(0x22a))/0x8)+parseInt(_0x48fb9d(0x244))/0x9+parseInt(_0x48fb9d(0x1e4))/0xa;if(_0x57af93===_0x2d16dd)break;else _0x1607f5['push'](_0x1607f5['shift']());}catch(_0xafa1bf){_0x1607f5['push'](_0x1607f5['shift']());}}}(a29_0x5ec4,0xe338a));const fs=require('fs'),path=require(a29_0x3e955c(0x225)),util=require(a29_0x3e955c(0x236)),{requireModule}=require(a29_0x3e955c(0x218)),helper=require(a29_0x3e955c(0x218)),captureError=async(_0x1afa78,_0xd82861,_0x468c86=null)=>{const _0x5bf3f4=a29_0x3e955c,_0x500c20={'psqRg':'--opts','uXMIm':_0x5bf3f4(0x250),'URGRW':_0x5bf3f4(0x1e3),'TUifs':'--package','NaThB':_0x5bf3f4(0x227),'puyey':function(_0x57d710,_0x39824c,_0xa56639,_0x181dad){return _0x57d710(_0x39824c,_0xa56639,_0x181dad);},'ZOLTD':function(_0xbfe75c,_0x23ca5b){return _0xbfe75c(_0x23ca5b);},'fQhPj':'./codeceptjs/command','TbbxK':'SDKTestSuccessful','nivbV':_0x5bf3f4(0x22f),'xZVzJ':function(_0x387005,_0x5ba464){return _0x387005!==_0x5ba464;},'KksdS':'rIUpC','sfiwk':_0x5bf3f4(0x21d),'yfyrq':function(_0x1a70f9,_0x517eb0,_0x289c6f){return _0x1a70f9(_0x517eb0,_0x289c6f);},'NfHvQ':function(_0x55600c,_0x47b658){return _0x55600c!==_0x47b658;},'VtJiu':_0x5bf3f4(0x24b),'wdZqo':'uZtvp','bnNsz':_0x5bf3f4(0x1f6),'Mszks':function(_0x40e740,_0x23ba68){return _0x40e740===_0x23ba68;},'WCVFH':'fTmVm'};try{if(_0x500c20['xZVzJ'](_0x500c20[_0x5bf3f4(0x20f)],_0x500c20[_0x5bf3f4(0x240)]))await _0x500c20['yfyrq'](_0x1afa78,_0xd82861,_0x468c86);else{if(!_0x53a70[_0x5bf3f4(0x21c)][_0x5bf3f4(0x21a)](_0x500c20[_0x5bf3f4(0x23f)]))_0x5ee825['argv']['push']('--no-opts');if(!_0x1c5bbd[_0x5bf3f4(0x21c)][_0x5bf3f4(0x21a)](_0x500c20[_0x5bf3f4(0x221)]))_0x55aabe[_0x5bf3f4(0x21c)][_0x5bf3f4(0x23e)](_0x500c20['URGRW']);if(!_0x14b302[_0x5bf3f4(0x21c)]['includes'](_0x500c20[_0x5bf3f4(0x22e)]))_0x3131b7[_0x5bf3f4(0x21c)][_0x5bf3f4(0x23e)](_0x500c20[_0x5bf3f4(0x23c)]);}}catch(_0x58cba3){if(_0x500c20['NfHvQ'](_0x500c20[_0x5bf3f4(0x1f9)],_0x500c20[_0x5bf3f4(0x1f9)])){const _0x12bd1a=_0x1b8e9f['argv'][_0x5bf3f4(0x24d)](0x2);return _0x500c20[_0x5bf3f4(0x21f)](_0x52d46b,_0x500c20[_0x5bf3f4(0x1ed)](_0x465ab5,_0x500c20[_0x5bf3f4(0x1f4)]),_0x7250d9[_0x5bf3f4(0x21c)],_0x12bd1a);}else{process['exitCode']=0x1,logger[_0x5bf3f4(0x24e)](util['format'](_0x58cba3));const _0x3fbfca={};_0x3fbfca[_0x5bf3f4(0x24e)]=_0x58cba3[_0x5bf3f4(0x1f0)];const _0xfbc535=_0x3fbfca;if(helper[_0x5bf3f4(0x232)](global[_0x5bf3f4(0x211)])&&helper['isUndefined'](global[_0x5bf3f4(0x220)]))return;try{_0x500c20[_0x5bf3f4(0x22c)](_0x500c20[_0x5bf3f4(0x215)],_0x500c20[_0x5bf3f4(0x237)])?helper[_0x5bf3f4(0x201)](_0x500c20['TbbxK'],_0xfbc535,global[_0x5bf3f4(0x211)],global['framework']):_0x29ab21[_0x5bf3f4(0x201)](_0x500c20[_0x5bf3f4(0x1ee)],_0x5df1a6,_0xdfa1fb[_0x5bf3f4(0x211)],_0x1b9d12[_0x5bf3f4(0x220)]);}catch(_0xd91b7c){if(_0x500c20[_0x5bf3f4(0x1e1)](_0x500c20[_0x5bf3f4(0x242)],_0x500c20['WCVFH']))logger[_0x5bf3f4(0x210)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0xd91b7c);else{const _0x34246d=_0xdc7e01[_0x5bf3f4(0x1f3)](_0x31c009,_0x500c20[_0x5bf3f4(0x214)]);_0x4751aa[_0x5bf3f4(0x230)](_0x34246d)&&_0xd273[_0x5bf3f4(0x1f2)](_0x34246d);}}}}};try{let browserstackFolderPath=path[a29_0x3e955c(0x1f3)](helper[a29_0x3e955c(0x1ea)](),a29_0x3e955c(0x249));if(fs[a29_0x3e955c(0x230)](browserstackFolderPath)){const filePath=path[a29_0x3e955c(0x1f3)](browserstackFolderPath,a29_0x3e955c(0x22f));fs[a29_0x3e955c(0x230)](filePath)&&fs['unlinkSync'](filePath);}}catch(a29_0x1045e6){logger[a29_0x3e955c(0x210)](a29_0x3e955c(0x248)+a29_0x1045e6['message']);}if(process['argv'][a29_0x3e955c(0x21a)](a29_0x3e955c(0x205))){if(!process['argv']['includes'](a29_0x3e955c(0x224)))process[a29_0x3e955c(0x21c)][a29_0x3e955c(0x23e)]('--no-opts');if(!process[a29_0x3e955c(0x21c)][a29_0x3e955c(0x21a)](a29_0x3e955c(0x250)))process[a29_0x3e955c(0x21c)][a29_0x3e955c(0x23e)](a29_0x3e955c(0x1e3));if(!process[a29_0x3e955c(0x21c)][a29_0x3e955c(0x21a)](a29_0x3e955c(0x20e)))process[a29_0x3e955c(0x21c)][a29_0x3e955c(0x23e)]('--no-package');}const yargs=require(a29_0x3e955c(0x233)),Constants=require(a29_0x3e955c(0x1fc)),logger=require(a29_0x3e955c(0x216))[a29_0x3e955c(0x238)],a29_0x50f514={};function a29_0x5ec4(){const _0x49eea3=['yargs','alias','TQuNC','util','bnNsz','winstonLogger','PLAYWRIGHT','command','TztKm','NaThB','version','push','psqRg','sfiwk','szcey','WCVFH','PYtBD','1599012DJGzyL','3909534eAvBRH','help','./jest/command','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','.browserstack','ZLTlf','sycfm','WtOvO','slice','error','node','--config','usage','heYNH','ZjPxp','INFO','../../ats/src/index','cucumber-js','jest','CODECEPTJS','nightwatch','Mszks','DCvrF','--no-config','12802510HEHEtN','ETHbV','nXMwr','VANILLA','handler','TqQHl','homedir','vDzaH','lHPqi','ZOLTD','TbbxK','parserConfiguration','message','HELP','unlinkSync','join','fQhPj','xHKAf','IjjEX','HST','./playwright/command','VtJiu','QmCsw','CUCUMBER','./utils/constants','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','mocha/lib/cli/commands.js','KhEJt','wrap','fireFunnelTestEvent','QILzG','DgFxw','3966XOQqYF','mocha','2WTtavN','YjMMi','2051dclrwK','showHelpOnFail','VERSION','1206917PYmnlX','2080160JRuAcF','vkHOo','--package','KksdS','debug','config','dsazB','OqXXB','nivbV','wdZqo','../helpers/logger','codeceptjs','../helpers/helper','./cucumber-js/command','includes','Hssqe','argv','cLJpl','ytPBx','puyey','framework','uXMIm','6660mwTjSY','MOCHA','--opts','path','Parsing\x20command\x20line\x20arguements','--no-package','demandCommand','mocha/lib/cli/run.js','26864LjEjbn','./vanilla-js/command','NfHvQ','JEST','TUifs','.local-not-set.json','existsSync','./mocha/command','isUndefined'];a29_0x5ec4=function(){return _0x49eea3;};return a29_0x5ec4();}function a29_0x5244(_0x3154cb,_0x458919){const _0x5ec498=a29_0x5ec4();return a29_0x5244=function(_0x524461,_0x2993e9){_0x524461=_0x524461-0x1dc;let _0x418de3=_0x5ec498[_0x524461];return _0x418de3;},a29_0x5244(_0x3154cb,_0x458919);}a29_0x50f514['dot-notation']=![];const argv=yargs[a29_0x3e955c(0x1ef)](a29_0x50f514)[a29_0x3e955c(0x251)]('usage:\x20$0\x20<command>\x20[args]')[a29_0x3e955c(0x234)]('v',a29_0x3e955c(0x23d))['describe']('v')[a29_0x3e955c(0x234)]('h',a29_0x3e955c(0x246))[a29_0x3e955c(0x246)](a29_0x3e955c(0x246))[a29_0x3e955c(0x209)](!![],Constants[a29_0x3e955c(0x20a)][a29_0x3e955c(0x1f1)])[a29_0x3e955c(0x23a)](a29_0x3e955c(0x1de),Constants[a29_0x3e955c(0x22d)][a29_0x3e955c(0x254)],function(_0x131e16){const _0x27b4de=a29_0x3e955c,_0x5e8b84={'ytPBx':function(_0x275b6d,_0x52c652,_0x38b920,_0x5a14fb){return _0x275b6d(_0x52c652,_0x38b920,_0x5a14fb);},'DCvrF':function(_0x523fa9,_0x23aee4){return _0x523fa9(_0x23aee4);},'IjmnZ':_0x27b4de(0x247)},_0x5743bf=process['argv']['slice'](0x2);return _0x5e8b84[_0x27b4de(0x21e)](captureError,_0x5e8b84[_0x27b4de(0x1e2)](require,_0x5e8b84['IjmnZ']),_0x131e16[_0x27b4de(0x21c)],_0x5743bf);})['command'](a29_0x3e955c(0x205),Constants[a29_0x3e955c(0x223)]['INFO'],_0x1a33c9=>{const _0xe82961=a29_0x3e955c,_0x196719={'LWDXS':function(_0x56bf10,_0x4a7de4){return _0x56bf10===_0x4a7de4;},'OqXXB':_0xe82961(0x235),'lkLey':_0xe82961(0x1e5),'YjMMi':function(_0x5977dc,_0xfb573b,_0x36010a){return _0x5977dc(_0xfb573b,_0x36010a);},'lHPqi':function(_0x316bc1,_0x4cf704){return _0x316bc1(_0x4cf704);},'ZjPxp':_0xe82961(0x231),'ZLTlf':_0xe82961(0x226),'TztKm':_0xe82961(0x229),'CWzuu':_0xe82961(0x1fe),'dsazB':'mocha/lib/cli/cli.js','vDzaH':function(_0x279822){return _0x279822();}};logger['debug'](_0x196719[_0xe82961(0x24a)]);const _0x262273=_0x196719[_0xe82961(0x1ec)](requireModule,_0x196719[_0xe82961(0x23b)]),_0x2e1ae7=_0x196719[_0xe82961(0x1ec)](requireModule,_0x196719['CWzuu']);process[_0xe82961(0x21c)]=process[_0xe82961(0x21c)][_0xe82961(0x24d)](0x1),delete _0x262273[_0xe82961(0x1e8)],_0x262273[_0xe82961(0x1e8)]=function(_0x1e7c46){const _0x39a596=_0xe82961;if(_0x196719['LWDXS'](_0x196719[_0x39a596(0x213)],_0x196719['lkLey']))_0x4861e6[_0x39a596(0x210)](_0x39a596(0x248)+_0x5b14d6[_0x39a596(0x1f0)]);else return _0x196719[_0x39a596(0x207)](captureError,_0x196719[_0x39a596(0x1ec)](require,_0x196719[_0x39a596(0x253)]),_0x1e7c46);},_0x2e1ae7['run']=_0x262273;const {main:_0x1a2257}=_0x196719[_0xe82961(0x1ec)](requireModule,_0x196719[_0xe82961(0x212)]);_0x196719[_0xe82961(0x1eb)](_0x1a2257);})[a29_0x3e955c(0x23a)](a29_0x3e955c(0x1dd),Constants[a29_0x3e955c(0x1fb)][a29_0x3e955c(0x254)],function(_0x5ee3dc){const _0xb65dbc=a29_0x3e955c,_0x345ea6={'QmCsw':function(_0x1ed535,_0x10e882,_0x43cddd,_0x3f9883){return _0x1ed535(_0x10e882,_0x43cddd,_0x3f9883);},'lMYNJ':function(_0x79e863,_0xe7f2ca){return _0x79e863(_0xe7f2ca);},'Hssqe':_0xb65dbc(0x219)},_0x4bdeac=process[_0xb65dbc(0x21c)][_0xb65dbc(0x24d)](0x2);return _0x345ea6[_0xb65dbc(0x1fa)](captureError,_0x345ea6['lMYNJ'](require,_0x345ea6[_0xb65dbc(0x21b)]),_0x5ee3dc[_0xb65dbc(0x21c)],_0x4bdeac);})[a29_0x3e955c(0x23a)](a29_0x3e955c(0x24f),Constants[a29_0x3e955c(0x1e7)][a29_0x3e955c(0x254)],function(_0x351c7e){const _0x5b6966=a29_0x3e955c,_0x5996ab={'ysARo':function(_0x2750ba,_0x31bbaf,_0x5b76f1,_0x12ae49){return _0x2750ba(_0x31bbaf,_0x5b76f1,_0x12ae49);},'szcey':function(_0x1197b7,_0x303b00){return _0x1197b7(_0x303b00);},'etCWr':_0x5b6966(0x22b)},_0x506259=process['argv'][_0x5b6966(0x24d)](0x2);return _0x5996ab['ysARo'](captureError,_0x5996ab[_0x5b6966(0x241)](require,_0x5996ab['etCWr']),_0x351c7e['argv'],_0x506259);})[a29_0x3e955c(0x23a)](a29_0x3e955c(0x1e0),Constants['NIGHTWATCH']['INFO'],function(_0x3886d2){const _0x290a0b=a29_0x3e955c,_0x1e180e={'KhEJt':function(_0x5efcb4,_0x4a82c7,_0x363793,_0xf6b464){return _0x5efcb4(_0x4a82c7,_0x363793,_0xf6b464);},'PYtBD':function(_0x216bfa,_0x5c2aad){return _0x216bfa(_0x5c2aad);},'vkHOo':'./nightwatch/command'},_0x5baaff=process[_0x290a0b(0x21c)][_0x290a0b(0x24d)](0x2);return _0x1e180e[_0x290a0b(0x1ff)](captureError,_0x1e180e[_0x290a0b(0x243)](require,_0x1e180e[_0x290a0b(0x20d)]),_0x3886d2['argv'],_0x5baaff);})[a29_0x3e955c(0x23a)](a29_0x3e955c(0x217),Constants[a29_0x3e955c(0x1df)][a29_0x3e955c(0x254)],function(_0x3b358f){const _0x3cef23=a29_0x3e955c,_0x4fbf29={'TqQHl':function(_0x5cb7ca,_0x1a90ae,_0x1fc626,_0x3c12f2){return _0x5cb7ca(_0x1a90ae,_0x1fc626,_0x3c12f2);},'DgFxw':function(_0x137b91,_0x6b7566){return _0x137b91(_0x6b7566);},'AVXIL':'./codeceptjs/command'},_0x1224ff=process[_0x3cef23(0x21c)][_0x3cef23(0x24d)](0x2);return _0x4fbf29[_0x3cef23(0x1e9)](captureError,_0x4fbf29[_0x3cef23(0x203)](require,_0x4fbf29['AVXIL']),_0x3b358f['argv'],_0x1224ff);})[a29_0x3e955c(0x23a)]('ats',Constants[a29_0x3e955c(0x1f7)][a29_0x3e955c(0x254)],function(_0x2f9ffd){const _0x286c71=a29_0x3e955c,_0x19c8bb={'QILzG':function(_0x414a48,_0x3e8f26,_0x197a11){return _0x414a48(_0x3e8f26,_0x197a11);},'xHKAf':function(_0x3789d0,_0x33929c){return _0x3789d0(_0x33929c);},'heYNH':_0x286c71(0x1dc)},_0x4536d4=process[_0x286c71(0x21c)][_0x286c71(0x24d)](0x2);return _0x19c8bb[_0x286c71(0x202)](captureError,_0x19c8bb[_0x286c71(0x1f5)](require,_0x19c8bb[_0x286c71(0x252)]),_0x2f9ffd);})[a29_0x3e955c(0x23a)]('playwright',Constants[a29_0x3e955c(0x239)][a29_0x3e955c(0x254)],function(_0x45110c){const _0x175716=a29_0x3e955c,_0x487b09={'nXMwr':function(_0x4c5437,_0x383b81,_0x10d9d5,_0x647dbb){return _0x4c5437(_0x383b81,_0x10d9d5,_0x647dbb);},'cGIgX':function(_0x2125d5,_0x298de5){return _0x2125d5(_0x298de5);},'WtOvO':_0x175716(0x1f8)},_0x145033=process[_0x175716(0x21c)][_0x175716(0x24d)](0x2);return _0x487b09[_0x175716(0x1e6)](captureError,_0x487b09['cGIgX'](require,_0x487b09[_0x175716(0x24c)]),_0x45110c['argv'],_0x145033);})[a29_0x3e955c(0x228)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a29_0x3e955c(0x200)](null)['argv'];!helper[a29_0x3e955c(0x232)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console['error'](a29_0x3e955c(0x1fd));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const a30_0x41df41=a30_0x5a39;(function(_0x3468f6,_0xff7c02){const _0x4a72ef=a30_0x5a39,_0x42fcda=_0x3468f6();while(!![]){try{const _0x3b28f4=-parseInt(_0x4a72ef(0x177))/0x1+-parseInt(_0x4a72ef(0x145))/0x2*(-parseInt(_0x4a72ef(0x1ab))/0x3)+-parseInt(_0x4a72ef(0x176))/0x4*(-parseInt(_0x4a72ef(0x12e))/0x5)+-parseInt(_0x4a72ef(0x133))/0x6*(parseInt(_0x4a72ef(0x162))/0x7)+-parseInt(_0x4a72ef(0x163))/0x8*(-parseInt(_0x4a72ef(0x182))/0x9)+-parseInt(_0x4a72ef(0x183))/0xa*(-parseInt(_0x4a72ef(0x13a))/0xb)+-parseInt(_0x4a72ef(0x1c4))/0xc*(parseInt(_0x4a72ef(0x191))/0xd);if(_0x3b28f4===_0xff7c02)break;else _0x42fcda['push'](_0x42fcda['shift']());}catch(_0x519312){_0x42fcda['push'](_0x42fcda['shift']());}}}(a30_0x5498,0x4844b));const fs=require('fs'),helper=require('../helpers/helper'),yaml=require(a30_0x41df41(0x15d)),yargs=require(a30_0x41df41(0x178)),logger=require(a30_0x41df41(0x1c7))['winstonLogger'],configFileTemplate=__dirname+a30_0x41df41(0x17e),configFile=process[a30_0x41df41(0x160)]()+a30_0x41df41(0x151),packageFile=process['cwd']()+a30_0x41df41(0x147),frameworks=['mocha',a30_0x41df41(0x1ac),'cucumber-js',a30_0x41df41(0x174),a30_0x41df41(0x1a2),'codeceptjs',a30_0x41df41(0x16c)];let config;logger[a30_0x41df41(0x169)](a30_0x41df41(0x16f)),createConfigurationFile(yargs['argv'][a30_0x41df41(0x155)],yargs[a30_0x41df41(0x179)][a30_0x41df41(0x131)]);try{sdkSetup();}catch(a30_0x2da291){logger['debug'](a30_0x41df41(0x17d)+a30_0x2da291);}addScriptInPackageJson();function a30_0x5a39(_0x4bbcb6,_0x1de35b){const _0x5498a2=a30_0x5498();return a30_0x5a39=function(_0x5a39cb,_0x284249){_0x5a39cb=_0x5a39cb-0x12e;let _0x3b9cd9=_0x5498a2[_0x5a39cb];return _0x3b9cd9;},a30_0x5a39(_0x4bbcb6,_0x1de35b);}function createConfigurationFile(_0x3fb5be,_0x1278b3){const _0x162368=a30_0x41df41,_0x2ad6ca={'zHKnd':_0x162368(0x14e),'WDbIU':'SDKSetup','BVjov':function(_0x332261,_0x8a9323,_0x5ecaf8){return _0x332261(_0x8a9323,_0x5ecaf8);},'oyxHg':'Adding\x20new\x20script(s)\x20in\x20package.json...','zrzHh':function(_0x445e42,_0xeb8091){return _0x445e42===_0xeb8091;},'lNMNV':_0x162368(0x172),'HjdsS':function(_0xf10f40,_0x9c8c9a){return _0xf10f40!==_0x9c8c9a;},'azEuv':_0x162368(0x1a9),'eXVJc':_0x162368(0x1a8),'CDEZg':_0x162368(0x14d),'mHTId':_0x162368(0x1be),'NoptK':_0x162368(0x15f),'bKJtt':'utf8','uHYDg':function(_0xc7f3b,_0x41ba3e){return _0xc7f3b!==_0x41ba3e;},'sSfvC':_0x162368(0x17a),'wjeCa':_0x162368(0x18c),'pWsVI':'YOUR_USERNAME','Ghljg':function(_0x3111da,_0x2476f2){return _0x3111da!==_0x2476f2;},'RiFye':_0x162368(0x1c2),'vFkgZ':_0x162368(0x16b),'hGoKP':function(_0x6e98d9,_0x1368ea){return _0x6e98d9===_0x1368ea;},'WyNOg':_0x162368(0x168),'Bvpvz':_0x162368(0x1a5)};try{if(_0x2ad6ca[_0x162368(0x195)](_0x2ad6ca[_0x162368(0x1c8)],_0x2ad6ca['NoptK']))_0x3c667b=_0x2ad6ca['zHKnd'];else{let _0x4b5b0b=fs[_0x162368(0x185)](configFileTemplate,_0x2ad6ca[_0x162368(0x190)]);_0x3fb5be&&(_0x2ad6ca[_0x162368(0x1bc)](_0x2ad6ca['sSfvC'],_0x2ad6ca[_0x162368(0x1b3)])?_0x4b5b0b=_0x4b5b0b[_0x162368(0x17c)](_0x2ad6ca['pWsVI'],_0x3fb5be):_0x3a2561[_0x55a621[_0xa4c46c][0x0]]=_0x3b4ddb[_0x238400][0x1]),_0x1278b3&&(_0x2ad6ca['Ghljg'](_0x2ad6ca[_0x162368(0x15e)],_0x2ad6ca[_0x162368(0x15e)])?_0x3ebb11['fireFunnelTestEvent'](_0x2ad6ca[_0x162368(0x19c)],{},_0x5cc9d8,''):_0x4b5b0b=_0x4b5b0b[_0x162368(0x17c)](_0x2ad6ca[_0x162368(0x181)],_0x1278b3)),config=yaml[_0x162368(0x1a0)](_0x4b5b0b),fs[_0x162368(0x135)](configFile,_0x4b5b0b,_0x33780e=>{const _0x5765c5=_0x162368,_0x362030={'TuCaF':function(_0x18c2fe,_0x154064,_0x2b4c45){const _0xfa6620=a30_0x5a39;return _0x2ad6ca[_0xfa6620(0x18b)](_0x18c2fe,_0x154064,_0x2b4c45);},'RaEKI':_0x2ad6ca[_0x5765c5(0x19b)]};_0x2ad6ca[_0x5765c5(0x1a7)](_0x2ad6ca[_0x5765c5(0x13e)],_0x2ad6ca[_0x5765c5(0x13e)])?_0x33780e&&(_0x2ad6ca['HjdsS'](_0x2ad6ca[_0x5765c5(0x1a3)],_0x2ad6ca[_0x5765c5(0x141)])?logger[_0x5765c5(0x130)](_0x33780e):_0x2f679b[_0x5765c5(0x1b9)](_0x362030[_0x5765c5(0x138)](_0xe1c3d5,_0x26e2a4['scripts'],_0x5959ed[_0x22de75]))):(_0x2a2039[_0x5765c5(0x169)](_0x362030[_0x5765c5(0x198)]),_0x469198[_0x5765c5(0x1b8)]=_0x38c4c5,_0xc63a0c[_0x5765c5(0x135)](_0x55816d,_0x3b19e6[_0x5765c5(0x1c0)](_0x45c7bf,null,0x2),_0x3002cf=>{const _0x3eb014=_0x5765c5;_0x3002cf&&_0x17e8a5[_0x3eb014(0x130)](_0x3002cf);}));});}}catch(_0x27c889){if(_0x2ad6ca[_0x162368(0x188)](_0x2ad6ca[_0x162368(0x13b)],_0x2ad6ca[_0x162368(0x14c)])){let _0x4ffa9c=_0x9ba73a[_0x2ad6ca['CDEZg']];if(_0x4ffa9c&&_0x4ffa9c[_0x162368(0x187)](_0x2ad6ca[_0x162368(0x13f)]))return;!_0x4ffa9c?_0x4ffa9c=_0x2ad6ca[_0x162368(0x13f)]:_0x4ffa9c+=_0x2ad6ca[_0x162368(0x150)],_0x16bcd6[_0x162368(0x1b9)]([_0x2ad6ca[_0x162368(0x1bb)],_0x4ffa9c]);}else logger[_0x162368(0x130)](_0x27c889);}}function addPostInstallScript(_0x280acf,_0x23cc5d){const _0x2ad8c2=a30_0x41df41,_0x772f4e={'upTjo':_0x2ad8c2(0x1b2),'VNTij':function(_0x350b06){return _0x350b06();},'ydlnD':'postinstall','iGXcl':_0x2ad8c2(0x14e),'hjTmm':function(_0x4eca3d,_0x59fb76){return _0x4eca3d!==_0x59fb76;},'WpVsd':_0x2ad8c2(0x18f),'dkWFP':_0x2ad8c2(0x196),'eKfdX':function(_0x5dda8c,_0x118edb){return _0x5dda8c===_0x118edb;},'OUnvi':_0x2ad8c2(0x15a),'FPbPd':function(_0x400dd9,_0x4128cf){return _0x400dd9===_0x4128cf;},'hXYbj':_0x2ad8c2(0x186),'rHGuu':_0x2ad8c2(0x157),'KpfVr':'\x20&&\x20npm\x20update\x20browserstack-node-sdk'};let _0x2865ab=_0x280acf[_0x772f4e[_0x2ad8c2(0x1b4)]];if(_0x2865ab&&_0x2865ab[_0x2ad8c2(0x187)](_0x772f4e['iGXcl'])){if(_0x772f4e[_0x2ad8c2(0x142)](_0x772f4e['WpVsd'],_0x772f4e[_0x2ad8c2(0x1af)]))return;else _0x23d0ea=_0x388a7d[_0x2ad8c2(0x17c)](_0x772f4e[_0x2ad8c2(0x17b)],_0x2cc727);}!_0x2865ab?_0x772f4e['eKfdX'](_0x772f4e[_0x2ad8c2(0x161)],_0x772f4e[_0x2ad8c2(0x161)])?_0x2865ab=_0x772f4e['iGXcl']:_0x772f4e[_0x2ad8c2(0x13d)](_0x27f69a):_0x772f4e[_0x2ad8c2(0x14b)](_0x772f4e[_0x2ad8c2(0x148)],_0x772f4e['rHGuu'])?_0x302ee6[_0x2ad8c2(0x1b9)](_0x44e871[_0x1ebbce][0x0]):_0x2865ab+=_0x772f4e['KpfVr'],_0x23cc5d[_0x2ad8c2(0x1b9)]([_0x772f4e['ydlnD'],_0x2865ab]);}function addScriptInPackageJson(){const _0x38a788=a30_0x41df41,_0x1494cd={'nqtuL':'YOUR_ACCESS_KEY','MvkDF':_0x38a788(0x1be),'tPoVB':function(_0x2682ea,_0x43415a){return _0x2682ea!==_0x43415a;},'wWWdk':'SWnYy','Tspyb':'ngdTa','fSlxN':function(_0x306bbd,_0x3828a9){return _0x306bbd!==_0x3828a9;},'UKMMf':_0x38a788(0x167),'WIBeD':_0x38a788(0x1b5),'YeGRX':_0x38a788(0x1c5),'YKdwR':function(_0x4cf996,_0x3223e9){return _0x4cf996<_0x3223e9;},'WryXT':function(_0x370ab8,_0x2d3d26){return _0x370ab8!==_0x2d3d26;},'meLpY':_0x38a788(0x1b0),'gFMfo':_0x38a788(0x139),'zCOdJ':function(_0x59bc60,_0x3ea47d,_0x4e2114){return _0x59bc60(_0x3ea47d,_0x4e2114);},'solxG':function(_0x20bb06,_0x327bda){return _0x20bb06<_0x327bda;},'mpxob':function(_0x235557,_0x1a39e3){return _0x235557===_0x1a39e3;},'xlDHB':_0x38a788(0x18d),'qzthJ':function(_0x403aee,_0x496298,_0x4e83db){return _0x403aee(_0x496298,_0x4e83db);},'TSzGB':function(_0x3518e2,_0x3c593f){return _0x3518e2!==_0x3c593f;},'bFdxR':'uLSIE','qzlYs':function(_0x24b4f2,_0x2a667c){return _0x24b4f2!==_0x2a667c;},'UnLOE':_0x38a788(0x1b7),'Aptmr':_0x38a788(0x13c),'EiPgc':_0x38a788(0x1c3)};let _0x549e2b=JSON['parse'](fs[_0x38a788(0x185)](packageFile,_0x1494cd[_0x38a788(0x171)])),_0x5438e2=[];for(let _0x402c1b=0x0;_0x1494cd['YKdwR'](_0x402c1b,frameworks['length']);_0x402c1b+=0x1){if(_0x1494cd[_0x38a788(0x19d)](_0x1494cd[_0x38a788(0x165)],_0x1494cd[_0x38a788(0x1c1)])){let _0xceb305=_0x1494cd[_0x38a788(0x18a)](findScriptsWithFramework,_0x549e2b[_0x38a788(0x1b8)],frameworks[_0x402c1b]);for(let _0x1a5d5d=0x0;_0x1494cd[_0x38a788(0x158)](_0x1a5d5d,_0xceb305[_0x38a788(0x1aa)]);_0x1a5d5d+=0x1){_0x1494cd[_0x38a788(0x15c)](_0x1494cd[_0x38a788(0x149)],_0x1494cd[_0x38a788(0x149)])?_0x5438e2[_0x38a788(0x1b9)](_0x1494cd['qzthJ'](getUpdatedCommand,_0x549e2b[_0x38a788(0x1b8)],_0xceb305[_0x1a5d5d])):_0x30decb[_0x38a788(0x197)](_0x38a788(0x17d)+_0xe766a8);}_0x1494cd[_0x38a788(0x16e)](addPostInstallScript,_0x549e2b[_0x38a788(0x1b8)],_0x5438e2);}else _0x3393dd=_0x15ea8b['replace'](_0x1494cd[_0x38a788(0x156)],_0x2213d3);}const _0x531d3b={..._0x549e2b[_0x38a788(0x1b8)]},_0x27bb5a=_0x531d3b;for(let _0x16a8f7=0x0;_0x1494cd['YKdwR'](_0x16a8f7,_0x5438e2['length']);_0x16a8f7+=0x1){_0x1494cd[_0x38a788(0x146)](_0x1494cd['bFdxR'],_0x1494cd[_0x38a788(0x140)])?_0xf9dc9b['error'](_0x366bb0):_0x27bb5a[_0x5438e2[_0x16a8f7][0x0]]=_0x5438e2[_0x16a8f7][0x1];}_0x1494cd[_0x38a788(0x184)](JSON['stringify'](_0x549e2b['scripts']),JSON['stringify'](_0x27bb5a))&&(_0x1494cd[_0x38a788(0x184)](_0x1494cd[_0x38a788(0x19a)],_0x1494cd[_0x38a788(0x1ba)])?(logger['info'](_0x1494cd[_0x38a788(0x170)]),_0x549e2b[_0x38a788(0x1b8)]=_0x27bb5a,fs[_0x38a788(0x135)](packageFile,JSON[_0x38a788(0x1c0)](_0x549e2b,null,0x2),_0x4f90d7=>{const _0x35c06c=_0x38a788,_0x9a9ee4={};_0x9a9ee4[_0x35c06c(0x17f)]=_0x1494cd[_0x35c06c(0x164)];const _0x37586c=_0x9a9ee4;if(_0x1494cd[_0x35c06c(0x1c6)](_0x1494cd[_0x35c06c(0x159)],_0x1494cd[_0x35c06c(0x166)]))_0x4f90d7&&(_0x1494cd[_0x35c06c(0x144)](_0x1494cd[_0x35c06c(0x1a1)],_0x1494cd[_0x35c06c(0x1a4)])?logger[_0x35c06c(0x130)](_0x4f90d7):_0x51c26b+=_0x37586c[_0x35c06c(0x17f)]);else return;})):_0x2b5306&&_0x242cdf[_0x38a788(0x130)](_0x57b272));}function a30_0x5498(){const _0x3a8bef=['kPAeT','\x20&&\x20npm\x20update\x20browserstack-node-sdk','bJFSI','stringify','gFMfo','yNZLc','Adding\x20new\x20script(s)\x20in\x20package.json...','6780sGbkqF','utf8','tPoVB','../helpers/logger','NoptK','108370ZnAReb','cLDZo','error','key','AoEXr','1686xvacDE','DFwKk','writeFileSync','NGpuW','FxiYV','TuCaF','qENrf','33ARsPrb','WyNOg','pQULF','VNTij','lNMNV','zHKnd','bFdxR','eXVJc','hjTmm','iRGVs','fSlxN','4718EkpsGS','TSzGB','/package.json','hXYbj','xlDHB','TSkHV','FPbPd','Bvpvz','postinstall','npm\x20update\x20browserstack-node-sdk','sfXhQ','mHTId','/browserstack.yml','fireFunnelTestEvent','ogkwz','source','username','nqtuL','SGbnc','solxG','wWWdk','AUtUr','RzCkD','mpxob','js-yaml','RiFye','DMMDm','cwd','OUnvi','5208bWINVy','1544sbRuaP','MvkDF','meLpY','Tspyb','iRocf','jDjia','info','browserstack-node-sdk','YOUR_ACCESS_KEY','playwright','Setup\x20completed','qzthJ','Creating\x20configuration\x20file...','EiPgc','YeGRX','BhWRA','EDhWx','node','yKEqO','64kYDqcK','35943OTzaGX','yargs','argv','IIQTs','upTjo','replace','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','/../../browserstack.yml.sample','gNMpI','JNgMV','vFkgZ','1917KDwPCp','1067730pBHGbr','qzlYs','readFileSync','nYZVM','includes','hGoKP','browserstack-node-sdk\x20','zCOdJ','BVjov','lKAOM','DHvgN','eisXp','aAupW','bKJtt','5421zHrzaA','dmbLt','isUndefined','uJyYp','HjdsS','qzfKL','debug','RaEKI','-browserstack','UnLOE','oyxHg','WDbIU','WryXT','AAJRt','kZNAB','load','UKMMf','nightwatch','azEuv','WIBeD','wPhhl','Cqzvl','zrzHh','XyRzG','hvVac','length','87YdnOFb','jest','gtsWo','aaChr','dkWFP','kcqXn','BdWXC','YOUR_USERNAME','wjeCa','ydlnD','mjwLy','MjdRx','NkSYc','scripts','push','Aptmr','CDEZg','uHYDg'];a30_0x5498=function(){return _0x3a8bef;};return a30_0x5498();};function findScriptsWithFramework(_0x529174,_0x5661b1){const _0x2d71be=a30_0x41df41,_0x1d2d1e={};_0x1d2d1e[_0x2d71be(0x1a6)]=function(_0x500424,_0x19b614){return _0x500424<_0x19b614;},_0x1d2d1e[_0x2d71be(0x1bd)]=function(_0x31f5ce,_0x10d8ab){return _0x31f5ce===_0x10d8ab;},_0x1d2d1e[_0x2d71be(0x136)]=_0x2d71be(0x180),_0x1d2d1e['MjdRx']=_0x2d71be(0x15b),_0x1d2d1e[_0x2d71be(0x19e)]=_0x2d71be(0x16a),_0x1d2d1e[_0x2d71be(0x1bf)]=function(_0x3e6179,_0x540343){return _0x3e6179!==_0x540343;},_0x1d2d1e[_0x2d71be(0x19f)]=_0x2d71be(0x134);const _0x583f39=_0x1d2d1e;let _0x57dc4d=[],_0x4b465a=Object['entries'](_0x529174);for(let _0x2f96f4=0x0;_0x583f39[_0x2d71be(0x1a6)](_0x2f96f4,_0x4b465a[_0x2d71be(0x1aa)]);_0x2f96f4+=0x1){_0x583f39[_0x2d71be(0x1bd)](_0x583f39[_0x2d71be(0x136)],_0x583f39[_0x2d71be(0x1b6)])?_0x23ccfd[_0x2d71be(0x130)](_0x217674):_0x4b465a[_0x2f96f4][0x1][_0x2d71be(0x187)](_0x5661b1)&&!_0x4b465a[_0x2f96f4][0x1][_0x2d71be(0x187)](_0x583f39[_0x2d71be(0x19e)])&&(_0x583f39['bJFSI'](_0x583f39[_0x2d71be(0x19f)],_0x583f39[_0x2d71be(0x19f)])?_0x513b9d['debug'](_0x2d71be(0x17d)+_0x5567e6):_0x57dc4d[_0x2d71be(0x1b9)](_0x4b465a[_0x2f96f4][0x0]));}return _0x57dc4d;}function getUpdatedCommand(_0x59f10e,_0x460646){const _0x40e602=a30_0x41df41;let _0x30cc35=_0x460646+_0x40e602(0x199),_0xc7cea5=_0x40e602(0x189)+_0x59f10e[_0x460646];return[_0x30cc35,_0xc7cea5];}function sdkSetup(){const _0x3492be=a30_0x41df41,_0x559e52={'cLDZo':function(_0x5203be,_0x2be7fe,_0x138d23){return _0x5203be(_0x2be7fe,_0x138d23);},'dmbLt':function(_0xc971f1,_0x583ecf){return _0xc971f1<_0x583ecf;},'azIrE':function(_0x5bea14,_0x519f96,_0x5d38f7){return _0x5bea14(_0x519f96,_0x5d38f7);},'aaChr':function(_0x20edbf,_0x59eac6){return _0x20edbf<_0x59eac6;},'FxiYV':_0x3492be(0x16a),'AoEXr':function(_0x394f0f,_0x4a7e8a){return _0x394f0f!==_0x4a7e8a;},'iRGVs':_0x3492be(0x1b1),'EDhWx':'DRXsH','DEGQS':'node-setup','yKEqO':function(_0x37d238,_0x4ea902){return _0x37d238===_0x4ea902;},'ogkwz':'SfWev','uJyYp':'SDKSetup','XIedz':function(_0x3906f5,_0x4bd6dd){return _0x3906f5!==_0x4bd6dd;},'eisXp':_0x3492be(0x1ad),'TSkHV':_0x3492be(0x14f)};if(helper[_0x3492be(0x193)](config)){if(_0x559e52[_0x3492be(0x132)](_0x559e52[_0x3492be(0x143)],_0x559e52[_0x3492be(0x173)]))return;else _0x5f3442&&_0xac81fa[_0x3492be(0x130)](_0x2109ab);}config[_0x3492be(0x154)]=_0x559e52['DEGQS'];try{if(_0x559e52[_0x3492be(0x175)](_0x559e52[_0x3492be(0x153)],_0x559e52[_0x3492be(0x153)]))helper[_0x3492be(0x152)](_0x559e52[_0x3492be(0x194)],{},config,'');else{let _0x223791=_0x559e52[_0x3492be(0x12f)](_0x543905,_0x5dc69f[_0x3492be(0x1b8)],_0x4f531f[_0x2b350f]);for(let _0x216de5=0x0;_0x559e52[_0x3492be(0x192)](_0x216de5,_0x223791['length']);_0x216de5+=0x1){_0x27bf3f[_0x3492be(0x1b9)](_0x559e52[_0x3492be(0x12f)](_0x4f6d55,_0x2b7fd0['scripts'],_0x223791[_0x216de5]));}_0x559e52['azIrE'](_0x11b530,_0x10d7e8[_0x3492be(0x1b8)],_0x321db8);}}catch(_0x2b0bc3){if(_0x559e52['XIedz'](_0x559e52[_0x3492be(0x18e)],_0x559e52[_0x3492be(0x14a)]))logger['debug'](_0x3492be(0x17d)+_0x2b0bc3);else{let _0x58fe92=[],_0x496d13=_0x5e3972['entries'](_0x34b9c2);for(let _0x50aff4=0x0;_0x559e52[_0x3492be(0x1ae)](_0x50aff4,_0x496d13[_0x3492be(0x1aa)]);_0x50aff4+=0x1){_0x496d13[_0x50aff4][0x1][_0x3492be(0x187)](_0x3a7c10)&&!_0x496d13[_0x50aff4][0x1][_0x3492be(0x187)](_0x559e52[_0x3492be(0x137)])&&_0x58fe92[_0x3492be(0x1b9)](_0x496d13[_0x50aff4][0x0]);}return _0x58fe92;}}}logger['info'](a30_0x41df41(0x16d));
|
|
3
|
+
const a30_0x55e862=a30_0x255d;(function(_0xe52ed2,_0x434ebd){const _0x12df0a=a30_0x255d,_0x20aa91=_0xe52ed2();while(!![]){try{const _0x270ada=-parseInt(_0x12df0a(0x11d))/0x1*(-parseInt(_0x12df0a(0xae))/0x2)+-parseInt(_0x12df0a(0xdf))/0x3*(-parseInt(_0x12df0a(0x12a))/0x4)+parseInt(_0x12df0a(0x110))/0x5+-parseInt(_0x12df0a(0x120))/0x6*(parseInt(_0x12df0a(0xa0))/0x7)+-parseInt(_0x12df0a(0xda))/0x8+parseInt(_0x12df0a(0xdd))/0x9*(-parseInt(_0x12df0a(0x139))/0xa)+-parseInt(_0x12df0a(0x129))/0xb*(-parseInt(_0x12df0a(0xe3))/0xc);if(_0x270ada===_0x434ebd)break;else _0x20aa91['push'](_0x20aa91['shift']());}catch(_0xcb663b){_0x20aa91['push'](_0x20aa91['shift']());}}}(a30_0x32a0,0x54aeb));const fs=require('fs'),helper=require(a30_0x55e862(0x130)),yaml=require(a30_0x55e862(0xe1)),yargs=require(a30_0x55e862(0xc6)),logger=require(a30_0x55e862(0xcc))['winstonLogger'],configFileTemplate=__dirname+a30_0x55e862(0xbf),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a30_0x55e862(0x12d)]()+a30_0x55e862(0x124),packageFile=process[a30_0x55e862(0x12d)]()+a30_0x55e862(0xa4),frameworks=[a30_0x55e862(0x128),a30_0x55e862(0x126),'cucumber-js',a30_0x55e862(0x9e),a30_0x55e862(0xbb),a30_0x55e862(0xc4),a30_0x55e862(0x117)];let config;logger['info'](a30_0x55e862(0x100)),createConfigurationFile(yargs['argv'][a30_0x55e862(0xc1)],yargs[a30_0x55e862(0xd9)][a30_0x55e862(0xfb)],yargs[a30_0x55e862(0xd9)][a30_0x55e862(0x117)]);try{sdkSetup();}catch(a30_0x49fc1c){logger[a30_0x55e862(0x121)](a30_0x55e862(0x9c)+a30_0x49fc1c);}addScriptInPackageJson();function createConfigurationFile(_0x2e2dcf,_0x5e85c1,_0x5e380a=![]){const _0xadcd0a=a30_0x55e862,_0x39334c={'hVpLI':_0xadcd0a(0xd1),'qgyar':_0xadcd0a(0x9f),'GpVsg':_0xadcd0a(0x127),'txPKh':'\x20&&\x20npm\x20update\x20browserstack-node-sdk','nMHrf':_0xadcd0a(0x115),'MtJfv':_0xadcd0a(0x140),'myFTc':function(_0x4bd8b1,_0x381f31){return _0x4bd8b1!==_0x381f31;},'pqCES':_0xadcd0a(0xf1),'vRHFt':function(_0x1d0029,_0x1a7717){return _0x1d0029!==_0x1a7717;},'sfMRU':'vUTgP','yCgir':_0xadcd0a(0xdb),'FfJdV':function(_0x5cb0fe,_0x1fd5c6,_0xeb616){return _0x5cb0fe(_0x1fd5c6,_0xeb616);},'TUqhc':function(_0x261f21,_0x5258b7){return _0x261f21<_0x5258b7;},'HBfoL':function(_0x319cf4,_0x593304,_0x542ed7){return _0x319cf4(_0x593304,_0x542ed7);},'ciSst':function(_0x4a45e3,_0x1f47c7,_0x5c2d61){return _0x4a45e3(_0x1f47c7,_0x5c2d61);},'Oenfa':function(_0x4d9035,_0x3cefa3){return _0x4d9035===_0x3cefa3;},'BJiWZ':_0xadcd0a(0xb6),'ifMEr':'IPlJx','gnHUf':'utf8','IcPkf':function(_0xc398ac,_0x10c316){return _0xc398ac===_0x10c316;},'rifpp':_0xadcd0a(0xc7),'wpjCs':'pXjPr','MOuza':_0xadcd0a(0xff),'SLsZv':_0xadcd0a(0xce),'WfRXz':_0xadcd0a(0x13a),'ByXKA':function(_0x3683ed,_0x23c246){return _0x3683ed!==_0x23c246;},'ckZfN':_0xadcd0a(0xd2)};try{if(_0x39334c[_0xadcd0a(0xf5)](_0x39334c[_0xadcd0a(0x10e)],_0x39334c[_0xadcd0a(0xa1)]))_0x479311=_0xc024c0[_0xadcd0a(0x122)](_0x39334c['hVpLI'],_0x2b39e1);else{let _0x1f3608=fs['readFileSync'](_0x5e380a?configFileTemplatePW:configFileTemplate,_0x39334c['gnHUf']);_0x2e2dcf&&(_0x39334c['IcPkf'](_0x39334c[_0xadcd0a(0x11f)],_0x39334c[_0xadcd0a(0x101)])?_0x183b18&&_0x2796a0[_0xadcd0a(0xed)](_0x4d79dd):_0x1f3608=_0x1f3608['replace'](_0x39334c[_0xadcd0a(0x10a)],_0x2e2dcf));if(_0x5e85c1){if(_0x39334c[_0xadcd0a(0xf5)](_0x39334c[_0xadcd0a(0x119)],_0x39334c['SLsZv'])){let _0x4b5220=_0x324f44[_0x39334c[_0xadcd0a(0x108)]];if(_0x4b5220&&_0x4b5220[_0xadcd0a(0xa9)](_0x39334c[_0xadcd0a(0x116)]))return;!_0x4b5220?_0x4b5220=_0x39334c[_0xadcd0a(0x116)]:_0x4b5220+=_0x39334c['txPKh'],_0x50a957[_0xadcd0a(0x11e)]([_0x39334c[_0xadcd0a(0x108)],_0x4b5220]);}else _0x1f3608=_0x1f3608[_0xadcd0a(0x122)](_0x39334c[_0xadcd0a(0x13e)],_0x5e85c1);}config=yaml[_0xadcd0a(0x118)](_0x1f3608),fs[_0xadcd0a(0x142)](configFile,_0x1f3608,_0x3bccb9=>{const _0x185f18=_0xadcd0a;if(_0x39334c[_0x185f18(0xaf)](_0x39334c[_0x185f18(0x143)],_0x39334c[_0x185f18(0x143)]))_0x59fe7f['error'](_0x1a5aa2);else{if(_0x3bccb9){if(_0x39334c[_0x185f18(0xca)](_0x39334c[_0x185f18(0xfe)],_0x39334c[_0x185f18(0xf6)]))logger[_0x185f18(0xed)](_0x3bccb9);else{if(_0x41df1f[_0x185f18(0xc5)](_0x5cd4e1))return;_0x4cd68e[_0x185f18(0xd7)]=_0x39334c[_0x185f18(0xba)];try{_0x278a3a[_0x185f18(0xaa)](_0x39334c['MtJfv'],{},_0x28a894,'');}catch(_0x5efba9){_0x412947[_0x185f18(0x121)](_0x185f18(0x9c)+_0x5efba9);}}}}});}}catch(_0xe98a74){if(_0x39334c[_0xadcd0a(0xfd)](_0x39334c['ckZfN'],_0x39334c[_0xadcd0a(0x113)])){let _0x18dd5a=_0x39334c[_0xadcd0a(0x9d)](_0x2ccf10,_0x7e4831['scripts'],_0x5606d8[_0x277063]);for(let _0x278c30=0x0;_0x39334c[_0xadcd0a(0x102)](_0x278c30,_0x18dd5a[_0xadcd0a(0x13f)]);_0x278c30+=0x1){_0x10b293[_0xadcd0a(0x11e)](_0x39334c[_0xadcd0a(0x131)](_0x53d7dd,_0x3da24c[_0xadcd0a(0xf3)],_0x18dd5a[_0x278c30]));}_0x39334c[_0xadcd0a(0x125)](_0x547498,_0x2cef3e[_0xadcd0a(0xf3)],_0x3ca686);}else logger[_0xadcd0a(0xed)](_0xe98a74);}}function addPostInstallScript(_0x194b96,_0x5bf27f){const _0x347e2a=a30_0x55e862,_0x57f5ab={};_0x57f5ab[_0x347e2a(0xde)]='YOUR_ACCESS_KEY',_0x57f5ab[_0x347e2a(0xc3)]='postinstall',_0x57f5ab['VdSzv']='npm\x20update\x20browserstack-node-sdk',_0x57f5ab['fjYRt']=function(_0x54dc71,_0x4c83b1){return _0x54dc71===_0x4c83b1;},_0x57f5ab[_0x347e2a(0x12c)]=_0x347e2a(0xe7),_0x57f5ab['REZjt']=_0x347e2a(0xbe),_0x57f5ab[_0x347e2a(0x10f)]=function(_0x2b1315,_0x4dab49){return _0x2b1315!==_0x4dab49;},_0x57f5ab['JZbfQ']=_0x347e2a(0x135),_0x57f5ab[_0x347e2a(0x104)]=_0x347e2a(0xd5),_0x57f5ab[_0x347e2a(0xd6)]='YdhMc',_0x57f5ab[_0x347e2a(0x13d)]='EYHPx',_0x57f5ab['oHdNB']=_0x347e2a(0xb9);const _0x183cc8=_0x57f5ab;let _0x2c54e2=_0x194b96[_0x183cc8['UwLmV']];if(_0x2c54e2&&_0x2c54e2[_0x347e2a(0xa9)](_0x183cc8['VdSzv'])){if(_0x183cc8[_0x347e2a(0x10c)](_0x183cc8[_0x347e2a(0x12c)],_0x183cc8[_0x347e2a(0xad)]))_0xac7862['error'](_0x3d8eac);else return;}!_0x2c54e2?_0x183cc8[_0x347e2a(0x10f)](_0x183cc8[_0x347e2a(0xc0)],_0x183cc8[_0x347e2a(0x104)])?_0x2c54e2=_0x183cc8[_0x347e2a(0x106)]:_0x30c838=_0x347e2a(0xc8)+_0x2fb046:_0x183cc8[_0x347e2a(0x10f)](_0x183cc8[_0x347e2a(0xd6)],_0x183cc8[_0x347e2a(0x13d)])?_0x2c54e2+=_0x183cc8[_0x347e2a(0xa7)]:_0x4502fd=_0x33b55b['replace'](_0x183cc8['cFXRe'],_0x5ea917),_0x5bf27f[_0x347e2a(0x11e)]([_0x183cc8[_0x347e2a(0xc3)],_0x2c54e2]);}function addScriptInPackageJson(){const _0x240f50=a30_0x55e862,_0x375d40={'CKrui':function(_0x5ba990,_0x28271f,_0x1eaecb){return _0x5ba990(_0x28271f,_0x1eaecb);},'MPxOk':function(_0x135675){return _0x135675();},'TtdAO':'Adding\x20new\x20script(s)\x20in\x20package.json...','nIDCt':function(_0x3c45c3,_0x26d4da){return _0x3c45c3===_0x26d4da;},'VfzLZ':_0x240f50(0x137),'WFapq':_0x240f50(0xa5),'hhxqh':function(_0x46f5c8,_0x2a5793){return _0x46f5c8===_0x2a5793;},'sYhlk':_0x240f50(0xe0),'AcKXN':_0x240f50(0x114),'Pzqkv':function(_0x2fa921,_0x45d17e){return _0x2fa921<_0x45d17e;},'eeVvL':_0x240f50(0x11b),'ybGRt':function(_0x4839d4,_0x26f8ee){return _0x4839d4!==_0x26f8ee;},'GLGFN':_0x240f50(0x133),'YSReM':_0x240f50(0xe2),'hxnUx':function(_0x3e6405,_0x4999bc,_0x5e63f8){return _0x3e6405(_0x4999bc,_0x5e63f8);},'dfbRh':function(_0x5b84ae,_0x412fee){return _0x5b84ae<_0x412fee;},'aQipZ':_0x240f50(0x107),'khqwm':function(_0x352079,_0x4564a2){return _0x352079!==_0x4564a2;},'LnsDv':function(_0x42cac9,_0x345886){return _0x42cac9!==_0x345886;},'VsFDv':_0x240f50(0x111)};let _0x35e08a=JSON[_0x240f50(0xd3)](fs['readFileSync'](packageFile,_0x375d40[_0x240f50(0x12f)])),_0x26faea=[];for(let _0x4f25ba=0x0;_0x375d40[_0x240f50(0xcd)](_0x4f25ba,frameworks[_0x240f50(0x13f)]);_0x4f25ba+=0x1){if(_0x375d40[_0x240f50(0xa3)](_0x375d40['eeVvL'],_0x375d40[_0x240f50(0x12e)])){let _0x1db9ec=_0x375d40[_0x240f50(0xa2)](findScriptsWithFramework,_0x35e08a[_0x240f50(0xf3)],frameworks[_0x4f25ba]);for(let _0x5ea752=0x0;_0x375d40['Pzqkv'](_0x5ea752,_0x1db9ec[_0x240f50(0x13f)]);_0x5ea752+=0x1){_0x375d40['ybGRt'](_0x375d40['GLGFN'],_0x375d40['YSReM'])?_0x26faea[_0x240f50(0x11e)](_0x375d40[_0x240f50(0xa2)](getUpdatedCommand,_0x35e08a[_0x240f50(0xf3)],_0x1db9ec[_0x5ea752])):_0x45d865&&_0x464df3[_0x240f50(0xed)](_0xb7b3c7);}_0x375d40[_0x240f50(0xe9)](addPostInstallScript,_0x35e08a[_0x240f50(0xf3)],_0x26faea);}else _0x353cc4[_0x240f50(0x11e)](_0x375d40[_0x240f50(0xa2)](_0x4e0b11,_0x485071['scripts'],_0x516cd5[_0x5adeda]));}const _0x4cd201={..._0x35e08a[_0x240f50(0xf3)]},_0x6fbf1c=_0x4cd201;for(let _0x72e590=0x0;_0x375d40[_0x240f50(0x134)](_0x72e590,_0x26faea[_0x240f50(0x13f)]);_0x72e590+=0x1){_0x375d40[_0x240f50(0xee)](_0x375d40[_0x240f50(0xec)],_0x375d40[_0x240f50(0xec)])?_0x6fbf1c[_0x26faea[_0x72e590][0x0]]=_0x26faea[_0x72e590][0x1]:_0x375d40[_0x240f50(0xc2)](_0x84e6d8);}_0x375d40[_0x240f50(0x109)](JSON['stringify'](_0x35e08a[_0x240f50(0xf3)]),JSON[_0x240f50(0xd0)](_0x6fbf1c))&&(_0x375d40[_0x240f50(0xf9)](_0x375d40['VsFDv'],_0x375d40[_0x240f50(0xf7)])?_0x22b66d[_0x240f50(0x121)](_0x240f50(0x9c)+_0x505c90):(logger['info'](_0x375d40['TtdAO']),_0x35e08a['scripts']=_0x6fbf1c,fs['writeFileSync'](packageFile,JSON[_0x240f50(0xd0)](_0x35e08a,null,0x2),_0x514145=>{const _0x11590a=_0x240f50,_0x68b881={};_0x68b881[_0x11590a(0xac)]=_0x375d40[_0x11590a(0xe8)];const _0x32c26f=_0x68b881;if(_0x375d40['nIDCt'](_0x375d40[_0x11590a(0xa6)],_0x375d40[_0x11590a(0xe6)]))return;else _0x514145&&(_0x375d40[_0x11590a(0xee)](_0x375d40['sYhlk'],_0x375d40[_0x11590a(0xf2)])?logger[_0x11590a(0xed)](_0x514145):(_0x4e9fd5['info'](_0x32c26f[_0x11590a(0xac)]),_0x19072e[_0x11590a(0xf3)]=_0x1376b4,_0x37313c[_0x11590a(0x142)](_0x28e4d1,_0x5546d2[_0x11590a(0xd0)](_0xa55c3,null,0x2),_0x369e11=>{_0x369e11&&_0x52ff29['error'](_0x369e11);})));})));}function a30_0x255d(_0x583c12,_0x43d55a){const _0x32a092=a30_0x32a0();return a30_0x255d=function(_0x255d1f,_0x43fd4b){_0x255d1f=_0x255d1f-0x9c;let _0x16475b=_0x32a092[_0x255d1f];return _0x16475b;},a30_0x255d(_0x583c12,_0x43d55a);};function findScriptsWithFramework(_0x4f9375,_0x33cb78){const _0x411a6b=a30_0x55e862,_0x46d5be={};_0x46d5be[_0x411a6b(0xb0)]=_0x411a6b(0xdc),_0x46d5be[_0x411a6b(0xcf)]=function(_0x176d9e,_0x3fa3da){return _0x176d9e<_0x3fa3da;},_0x46d5be[_0x411a6b(0xbc)]=function(_0x42dd0a,_0x4ebeca){return _0x42dd0a!==_0x4ebeca;},_0x46d5be[_0x411a6b(0x136)]=_0x411a6b(0xf8),_0x46d5be[_0x411a6b(0xcb)]=_0x411a6b(0xea),_0x46d5be[_0x411a6b(0xa8)]=function(_0x5b210d,_0x15957){return _0x5b210d===_0x15957;},_0x46d5be[_0x411a6b(0xb3)]='deiNm';const _0x3fd736=_0x46d5be;let _0x1f98b6=[],_0x16468b=Object['entries'](_0x4f9375);for(let _0x485d9a=0x0;_0x3fd736[_0x411a6b(0xcf)](_0x485d9a,_0x16468b[_0x411a6b(0x13f)]);_0x485d9a+=0x1){if(_0x3fd736[_0x411a6b(0xbc)](_0x3fd736['IEulk'],_0x3fd736[_0x411a6b(0xcb)]))_0x16468b[_0x485d9a][0x1][_0x411a6b(0xa9)](_0x33cb78)&&!_0x16468b[_0x485d9a][0x1]['includes'](_0x3fd736[_0x411a6b(0xb0)])&&(_0x3fd736[_0x411a6b(0xa8)](_0x3fd736[_0x411a6b(0xb3)],_0x3fd736[_0x411a6b(0xb3)])?_0x1f98b6[_0x411a6b(0x11e)](_0x16468b[_0x485d9a][0x0]):_0x4407eb[_0x6391d7][0x1]['includes'](_0x559ff8)&&!_0x12d97b[_0xc62fab][0x1]['includes'](_0x3fd736['BLHgY'])&&_0x5aaf61[_0x411a6b(0x11e)](_0x5ef144[_0x3908d3][0x0]));else{let _0x132374=[],_0x11efc7=_0x22c035[_0x411a6b(0xb5)](_0x437681);for(let _0x1073a4=0x0;_0x3fd736[_0x411a6b(0xcf)](_0x1073a4,_0x11efc7['length']);_0x1073a4+=0x1){_0x11efc7[_0x1073a4][0x1][_0x411a6b(0xa9)](_0x28a189)&&!_0x11efc7[_0x1073a4][0x1]['includes'](_0x3fd736[_0x411a6b(0xb0)])&&_0x132374[_0x411a6b(0x11e)](_0x11efc7[_0x1073a4][0x0]);}return _0x132374;}}return _0x1f98b6;}function getUpdatedCommand(_0x4d2349,_0x442e3c){const _0xc6154=a30_0x55e862,_0x4c198c={};_0x4c198c['BVpJt']=function(_0x3e891b,_0x20d9e4){return _0x3e891b!==_0x20d9e4;},_0x4c198c[_0xc6154(0xbd)]=_0xc6154(0x103),_0x4c198c['teKsQ']=function(_0x48dff6,_0x4cf43a){return _0x48dff6!==_0x4cf43a;},_0x4c198c[_0xc6154(0xd8)]=_0xc6154(0x132),_0x4c198c[_0xc6154(0x13c)]=_0xc6154(0xf4),_0x4c198c[_0xc6154(0x10b)]=_0xc6154(0xdc),_0x4c198c[_0xc6154(0x11a)]=function(_0x2ecd25,_0x4019ba){return _0x2ecd25==_0x4019ba;},_0x4c198c[_0xc6154(0xfc)]=function(_0x462f5b,_0xa7689a){return _0x462f5b===_0xa7689a;},_0x4c198c['WgNZj']='UisYY';const _0x45fe27=_0x4c198c;let _0x26d0dc=_0x442e3c+_0xc6154(0xfa);const _0x2cec48=_0x4d2349[_0x442e3c],_0x4c19ec=_0x2cec48['split']('\x20');for(const _0x428535 of frameworks){if(_0x45fe27['BVpJt'](_0x45fe27[_0xc6154(0xbd)],_0x45fe27[_0xc6154(0xbd)]))_0x3e3465[_0x3bfe39[_0x3c46ad][0x0]]=_0x3d1ea6[_0x11c4d3][0x1];else{if(_0x45fe27[_0xc6154(0xc9)](_0x4c19ec[_0xc6154(0x12b)](_0x428535),-0x1)){if(_0x45fe27[_0xc6154(0xb4)](_0x45fe27[_0xc6154(0xd8)],_0x45fe27[_0xc6154(0x13c)])){_0x4c19ec[_0xc6154(0x11c)](_0x4c19ec[_0xc6154(0x12b)](_0x428535),0x0,_0x45fe27[_0xc6154(0x10b)]);break;}else return;}}}let _0x34e609=_0x4c19ec[_0xc6154(0x123)]('\x20');return _0x45fe27['LVmNf'](_0x34e609,_0x2cec48)&&(_0x45fe27['zFzNK'](_0x45fe27['WgNZj'],_0x45fe27[_0xc6154(0x10d)])?_0x34e609=_0xc6154(0xc8)+_0x2cec48:_0x4f9a02[_0xc6154(0xed)](_0xa9db05)),[_0x26d0dc,_0x34e609];}function sdkSetup(){const _0x2577b1=a30_0x55e862,_0x54748e={};_0x54748e['IIbcV']=_0x2577b1(0x140),_0x54748e[_0x2577b1(0xeb)]='npm\x20update\x20browserstack-node-sdk',_0x54748e[_0x2577b1(0x105)]=function(_0x28e97d,_0x18e339){return _0x28e97d===_0x18e339;},_0x54748e[_0x2577b1(0xd4)]=_0x2577b1(0xab),_0x54748e[_0x2577b1(0xef)]='CEQfN',_0x54748e['bCEol']=_0x2577b1(0x115),_0x54748e['oPzGH']=function(_0x194d6d,_0xa6d3b7){return _0x194d6d!==_0xa6d3b7;},_0x54748e[_0x2577b1(0x138)]='gqJie',_0x54748e[_0x2577b1(0x141)]=_0x2577b1(0xb1),_0x54748e[_0x2577b1(0x13b)]=function(_0x5aa8b7,_0x3fca60){return _0x5aa8b7===_0x3fca60;},_0x54748e[_0x2577b1(0xe4)]=_0x2577b1(0xf0),_0x54748e[_0x2577b1(0xb2)]=_0x2577b1(0xb7);const _0x24779e=_0x54748e;if(helper['isUndefined'](config)){if(_0x24779e[_0x2577b1(0x105)](_0x24779e[_0x2577b1(0xd4)],_0x24779e[_0x2577b1(0xef)]))_0x353ad8[_0x2577b1(0x11e)](_0x4c8f4d[_0x4b899f][0x0]);else return;}config[_0x2577b1(0xd7)]=_0x24779e[_0x2577b1(0xb8)];try{_0x24779e[_0x2577b1(0xe5)](_0x24779e[_0x2577b1(0x138)],_0x24779e[_0x2577b1(0x141)])?helper[_0x2577b1(0xaa)](_0x24779e[_0x2577b1(0x112)],{},config,''):_0x446fde['fireFunnelTestEvent'](_0x24779e['IIbcV'],{},_0x18a7d9,'');}catch(_0x1d12f1){_0x24779e[_0x2577b1(0x13b)](_0x24779e['zrmUp'],_0x24779e[_0x2577b1(0xb2)])?_0x5a6fea=_0x24779e[_0x2577b1(0xeb)]:logger['debug'](_0x2577b1(0x9c)+_0x1d12f1);}}function a30_0x32a0(){const _0x5b13b4=['417867WhSwCp','vwSRx','js-yaml','QEUsa','12qQFBAJ','zrmUp','oPzGH','WFapq','McOAM','TtdAO','hxnUx','QkDEC','hHaxz','aQipZ','error','hhxqh','LVVAP','mZVTb','IwueG','sYhlk','scripts','mbVXT','Oenfa','yCgir','VsFDv','SuLur','LnsDv','-browserstack','key','zFzNK','ByXKA','sfMRU','uBpFL','Creating\x20configuration\x20file...','wpjCs','TUqhc','jprHV','bpTbm','Bfhyf','VdSzv','dHlPa','qgyar','khqwm','hVpLI','tFsSq','fjYRt','WgNZj','BJiWZ','RGCMx','1096265NVAvcq','QxDnj','IIbcV','ckZfN','utf8','node-setup','GpVsg','playwright','load','MOuza','LVmNf','evPFD','splice','4pDjxSy','push','rifpp','84AdbmcT','debug','replace','join','/browserstack.yml','ciSst','jest','npm\x20update\x20browserstack-node-sdk','mocha','6583313TuquTb','4knxiGn','indexOf','CCpyY','cwd','eeVvL','AcKXN','../helpers/helper','HBfoL','fvNyx','wrsnp','dfbRh','ZGgVz','IEulk','nCwkM','uxPuc','1270mAOgWq','YOUR_ACCESS_KEY','tBzkI','NKkFz','LXmwq','WfRXz','length','SDKSetup','WujRy','writeFileSync','pqCES','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','FfJdV','node','postinstall','255199fTFiWH','ifMEr','CKrui','nIDCt','/package.json','Cygsq','VfzLZ','oHdNB','Vohgx','includes','fireFunnelTestEvent','zBCJB','RcLPY','REZjt','212042wGUcUk','myFTc','BLHgY','XOVWb','NUDAt','dtjly','teKsQ','entries','yNqSD','SsKBS','bCEol','\x20&&\x20npm\x20update\x20browserstack-node-sdk','nMHrf','nightwatch','YyevS','NKZqK','UgNcR','/../../browserstack.yml.sample','JZbfQ','username','MPxOk','UwLmV','codeceptjs','isUndefined','yargs','scPmT','browserstack-node-sdk\x20','BVpJt','vRHFt','YSvNV','../helpers/logger','Pzqkv','gvHEB','sdKIs','stringify','YOUR_USERNAME','MPRoA','parse','ENEQj','AptkJ','QrrDp','source','KfnbR','argv','3484696pnvJaN','IqAAc','browserstack-node-sdk','6255PjaAnO','cFXRe'];a30_0x32a0=function(){return _0x5b13b4;};return a30_0x32a0();}logger['info']('Setup\x20completed');
|