browserstack-node-sdk 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +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/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/constants.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/helper.js +1 -1
- package/src/bin/mocha/test-observability/requestQueueHandler.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.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/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/w3cMapping.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a18_0x2eef(){const _0x1ca039=['13224FPxLIq','35LfQvjY','length','oOKUf','MWCLd','snyCf','./helper','TestRunFinished','DXQVL','LYstp','eventUrl','HookRunFinished','njdia','RESETTING','aJJXe','vFRmg','mRwjU','9908228upaRaX','splice','zdwQQ','DGGiu','cOHUq','cUrgW','TEST_SCREENSHOT','ueEbM','KiSgw','wCosQ','push','JqUpw','removeEventBatchPolling','CBTSessionCreated','BNDMX','HookRunStarted','IjbWz','screenshotEventUrl','fEKAD','split','REMOVING','DdaNK','./constants','includes','add','3440817nekUog','gdjEq','bqSfN','NYdqR','shutdown','JKlRL','1MAeyaR','api/v1/batch','TestRunSkipped','unYkB','proceedWithData','CeXEp','iNQvb','slice','AphMg','107532QVhhuY','tTTQT','HhAKg','resetEventBatchPolling','4580280hiZtpX','SwjTX','IBnND','exports','startEventBatchPolling','cRGNC','ULGlO','queue','jLfOX','mTPjN','yyjin','YleYX','logs','BHnoP','qzIdy','lrpsk','kfHmU','1645Pnmrso','GOdAV','vdtRj','maKtd','api/v1/screenshots','ENqwi','RMKMM','bdEwn','started','QQOpp','4|0|5|2|3|1','QPtRP','shouldProceed','pBThx','TestRunStarted','338168XYTBfJ','pollEventBatchInterval','event_type','HhtBt','kind','33SOPheY','start','BATCH_EVENT_TYPES','306474QSkNPg','proceedWithUrl'];a18_0x2eef=function(){return _0x1ca039;};return a18_0x2eef();}const a18_0x4dff6f=a18_0x2df1;function a18_0x2df1(_0x3245e3,_0xb5f932){const _0x2eef4b=a18_0x2eef();return a18_0x2df1=function(_0x2df184,_0x6f4a41){_0x2df184=_0x2df184-0x85;let _0x508a01=_0x2eef4b[_0x2df184];return _0x508a01;},a18_0x2df1(_0x3245e3,_0xb5f932);}(function(_0x312b35,_0x114908){const _0x313bfb=a18_0x2df1,_0x2a8725=_0x312b35();while(!![]){try{const _0x421488=parseInt(_0x313bfb(0xdc))/0x1*(parseInt(_0x313bfb(0xa2))/0x2)+parseInt(_0x313bfb(0xa7))/0x3*(parseInt(_0x313bfb(0xe5))/0x4)+-parseInt(_0x313bfb(0xad))/0x5*(-parseInt(_0x313bfb(0xaa))/0x6)+-parseInt(_0x313bfb(0x93))/0x7*(-parseInt(_0x313bfb(0xac))/0x8)+parseInt(_0x313bfb(0xd6))/0x9+-parseInt(_0x313bfb(0xe9))/0xa+-parseInt(_0x313bfb(0xbd))/0xb;if(_0x421488===_0x114908)break;else _0x2a8725['push'](_0x2a8725['shift']());}catch(_0x1b3cb2){_0x2a8725['push'](_0x2a8725['shift']());}}}(a18_0x2eef,0x39366));const {BATCH_SIZE,BATCH_INTERVAL,consoleHolder}=require(a18_0x4dff6f(0xd3)),{debug,batchAndPostEvents}=require(a18_0x4dff6f(0xb2));class RequestQueueHandler{constructor(){const _0x1c49c1=a18_0x4dff6f,_0x13c55d={};_0x13c55d[_0x1c49c1(0xbc)]=_0x1c49c1(0x9d),_0x13c55d['yyjin']=_0x1c49c1(0x97),_0x13c55d[_0x1c49c1(0xea)]='LogCreated',_0x13c55d[_0x1c49c1(0x87)]=_0x1c49c1(0xca),_0x13c55d[_0x1c49c1(0x8b)]='TestRunFinished',_0x13c55d['maKtd']=_0x1c49c1(0xde),_0x13c55d[_0x1c49c1(0xc4)]=_0x1c49c1(0xb7),_0x13c55d[_0x1c49c1(0xc1)]=_0x1c49c1(0xa1),_0x13c55d[_0x1c49c1(0xd2)]=_0x1c49c1(0xcc),_0x13c55d[_0x1c49c1(0x8a)]=_0x1c49c1(0xdd);const _0xb497a8=_0x13c55d,_0x2e90d5=_0xb497a8[_0x1c49c1(0xbc)]['split']('|');let _0x1f604b=0x0;while(!![]){switch(_0x2e90d5[_0x1f604b++]){case'0':this['started']=![];continue;case'1':this[_0x1c49c1(0xa3)]=null;continue;case'2':this[_0x1c49c1(0xce)]=_0xb497a8[_0x1c49c1(0x8c)];continue;case'3':this[_0x1c49c1(0xa9)]=[_0xb497a8[_0x1c49c1(0xea)],_0xb497a8['cRGNC'],_0xb497a8[_0x1c49c1(0x8b)],_0xb497a8[_0x1c49c1(0x96)],_0xb497a8[_0x1c49c1(0xc4)],_0xb497a8['cOHUq'],_0xb497a8[_0x1c49c1(0xd2)]];continue;case'4':this[_0x1c49c1(0x89)]=[];continue;case'5':this['eventUrl']=_0xb497a8['jLfOX'];continue;}break;}}[a18_0x4dff6f(0xa8)]=()=>{const _0x22e01a=a18_0x4dff6f,_0x2dc30c={};_0x2dc30c[_0x22e01a(0xeb)]=function(_0x517caf,_0x4d21ac){return _0x517caf!==_0x4d21ac;},_0x2dc30c[_0x22e01a(0xe4)]=_0x22e01a(0xb0),_0x2dc30c['axGEx']='piTDg';const _0x569841=_0x2dc30c;if(!this[_0x22e01a(0x9b)]){if(_0x569841['IBnND'](_0x569841[_0x22e01a(0xe4)],_0x569841['axGEx']))this[_0x22e01a(0x9b)]=!![],this[_0x22e01a(0x86)]();else{const _0x23e6cd={};return _0x23e6cd[_0x22e01a(0x9f)]=!![],_0x23e6cd[_0x22e01a(0xe0)]=[_0x4bb08b],_0x23e6cd[_0x22e01a(0xab)]=this[_0x22e01a(0xce)],_0x23e6cd;}}};[a18_0x4dff6f(0xd5)]=_0x2d11e1=>{const _0x206c39=a18_0x4dff6f,_0x578fa1={'lWCgj':function(_0x4dee77,_0x2f6475){return _0x4dee77(_0x2f6475);},'gdjEq':function(_0xa4105e,_0x4eec04){return _0xa4105e===_0x4eec04;},'ZfaZX':_0x206c39(0xd1),'fEKAD':_0x206c39(0xc3),'vFRmg':'4|2|5|3|1|0','bdEwn':'LogCreated','xWIlA':_0x206c39(0xca),'HhAKg':_0x206c39(0xb3),'BNDMX':'TestRunSkipped','YleYX':'HookRunFinished','bqSfN':'TestRunStarted','UYKTe':_0x206c39(0xcc),'RMKMM':_0x206c39(0x97),'ULGlO':_0x206c39(0xdd),'aJJXe':function(_0x100b67,_0x1931b1){return _0x100b67!==_0x1931b1;},'HhtBt':'TVgUI','ZdmcK':function(_0x2dcde5,_0x157ddc){return _0x2dcde5===_0x157ddc;},'ENqwi':_0x206c39(0xb4),'oOKUf':_0x206c39(0xb8),'JKlRL':'zPkOM'};if(this[_0x206c39(0xa9)][_0x206c39(0xd4)](_0x2d11e1[_0x206c39(0xa4)])){if(_0x578fa1[_0x206c39(0xba)](_0x578fa1[_0x206c39(0xa5)],_0x578fa1[_0x206c39(0xa5)]))!this[_0x206c39(0x9b)]&&(this[_0x206c39(0x9b)]=!![],this[_0x206c39(0x86)]());else{if(_0x2d11e1['logs']&&_0x2d11e1[_0x206c39(0x8e)][0x0]&&_0x578fa1['gdjEq'](_0x2d11e1[_0x206c39(0x8e)][0x0][_0x206c39(0xa6)],_0x578fa1[_0x206c39(0xcf)])){if(_0x578fa1['ZdmcK'](_0x578fa1[_0x206c39(0x98)],_0x578fa1['ENqwi'])){const _0x48ef38={};return _0x48ef38['shouldProceed']=!![],_0x48ef38[_0x206c39(0xe0)]=[_0x2d11e1],_0x48ef38['proceedWithUrl']=this[_0x206c39(0xce)],_0x48ef38;}else{if(this[_0x206c39(0xa3)]){_0x578fa1['lWCgj'](_0x5a2960,this[_0x206c39(0xa3)]),this[_0x206c39(0xa3)]=null;if(_0x578fa1[_0x206c39(0xd7)](_0x2626ab,_0x578fa1['ZfaZX']))this[_0x206c39(0x9b)]=![];}}}this[_0x206c39(0x89)][_0x206c39(0xc7)](_0x2d11e1);let _0x43b546=null,_0x6421ac=this['shouldProceed']();if(_0x6421ac){if(_0x578fa1[_0x206c39(0xba)](_0x578fa1[_0x206c39(0xaf)],_0x578fa1[_0x206c39(0xaf)])){if(_0x347091['logs']&&_0xed81be[_0x206c39(0x8e)][0x0]&&_0x578fa1['gdjEq'](_0x11bf58[_0x206c39(0x8e)][0x0][_0x206c39(0xa6)],_0x578fa1[_0x206c39(0xcf)])){const _0x4cf3c5={};return _0x4cf3c5['shouldProceed']=!![],_0x4cf3c5[_0x206c39(0xe0)]=[_0x1d8135],_0x4cf3c5[_0x206c39(0xab)]=this['screenshotEventUrl'],_0x4cf3c5;}this[_0x206c39(0x89)][_0x206c39(0xc7)](_0x4497f8);let _0x1b5c5e=null,_0x585043=this[_0x206c39(0x9f)]();_0x585043&&(_0x1b5c5e=this[_0x206c39(0x89)]['slice'](0x0,_0x5d6eaf),this[_0x206c39(0x89)][_0x206c39(0xbe)](0x0,_0x39c55c),this[_0x206c39(0xe8)]());const _0x11d21b={};return _0x11d21b[_0x206c39(0x9f)]=_0x585043,_0x11d21b['proceedWithData']=_0x1b5c5e,_0x11d21b[_0x206c39(0xab)]=this[_0x206c39(0xb6)],_0x11d21b;}else _0x43b546=this[_0x206c39(0x89)][_0x206c39(0xe3)](0x0,BATCH_SIZE),this['queue'][_0x206c39(0xbe)](0x0,BATCH_SIZE),this[_0x206c39(0xe8)]();}const _0x2ce056={};return _0x2ce056[_0x206c39(0x9f)]=_0x6421ac,_0x2ce056['proceedWithData']=_0x43b546,_0x2ce056['proceedWithUrl']=this[_0x206c39(0xb6)],_0x2ce056;}}else{if(_0x578fa1['aJJXe'](_0x578fa1[_0x206c39(0xdb)],_0x578fa1[_0x206c39(0xdb)])){const _0x395243=_0x578fa1[_0x206c39(0xbb)][_0x206c39(0xd0)]('|');let _0x44b997=0x0;while(!![]){switch(_0x395243[_0x44b997++]){case'0':this[_0x206c39(0xa3)]=null;continue;case'1':this[_0x206c39(0xa9)]=[_0x578fa1[_0x206c39(0x9a)],_0x578fa1['xWIlA'],_0x578fa1[_0x206c39(0xe7)],_0x578fa1[_0x206c39(0xcb)],_0x578fa1[_0x206c39(0x8d)],_0x578fa1[_0x206c39(0xd8)],_0x578fa1['UYKTe']];continue;case'2':this[_0x206c39(0x9b)]=![];continue;case'3':this[_0x206c39(0xce)]=_0x578fa1[_0x206c39(0x99)];continue;case'4':this[_0x206c39(0x89)]=[];continue;case'5':this['eventUrl']=_0x578fa1[_0x206c39(0x88)];continue;}break;}}else{const _0x44dc72={};return _0x44dc72['shouldProceed']=!![],_0x44dc72;}}};[a18_0x4dff6f(0xda)]=async()=>{const _0x5dabe9=a18_0x4dff6f,_0x461b62={'LYstp':function(_0x444833,_0x5722a4){return _0x444833(_0x5722a4);},'lrpsk':function(_0x25c6ac,_0x2a3fed){return _0x25c6ac===_0x2a3fed;},'dPLBA':_0x5dabe9(0xd1),'xYvCV':function(_0x4566db,_0x1e37f0){return _0x4566db>_0x1e37f0;},'unYkB':_0x5dabe9(0x9c),'wCosQ':_0x5dabe9(0xc2),'NYdqR':function(_0x50d5a3,_0x4a59ce,_0x1302fe,_0x6de4e8){return _0x50d5a3(_0x4a59ce,_0x1302fe,_0x6de4e8);},'snyCf':'Shutdown-Queue'};this[_0x5dabe9(0xc9)](_0x461b62['dPLBA']);while(_0x461b62['xYvCV'](this[_0x5dabe9(0x89)][_0x5dabe9(0xae)],0x0)){if(_0x461b62[_0x5dabe9(0x91)](_0x461b62[_0x5dabe9(0xdf)],_0x461b62[_0x5dabe9(0xc6)])){_0x461b62[_0x5dabe9(0xb5)](_0x424123,this['pollEventBatchInterval']),this[_0x5dabe9(0xa3)]=null;if(_0x461b62[_0x5dabe9(0x91)](_0x3b92ea,_0x461b62['dPLBA']))this['started']=![];}else{const _0x5966ee=this[_0x5dabe9(0x89)][_0x5dabe9(0xe3)](0x0,BATCH_SIZE);this[_0x5dabe9(0x89)][_0x5dabe9(0xbe)](0x0,BATCH_SIZE),await _0x461b62[_0x5dabe9(0xd9)](batchAndPostEvents,this[_0x5dabe9(0xb6)],_0x461b62[_0x5dabe9(0xb1)],_0x5966ee);}}};[a18_0x4dff6f(0x86)]=()=>{const _0x5bed7e=a18_0x4dff6f,_0x13dc38={'iNQvb':function(_0x1715fd,_0x39e043){return _0x1715fd===_0x39e043;},'qzIdy':'JFfpB','vdtRj':function(_0x4cd22c,_0x5b0540){return _0x4cd22c>_0x5b0540;},'oDAJz':function(_0x377c5c,_0x2b0058){return _0x377c5c!==_0x2b0058;},'JqUpw':_0x5bed7e(0xa0),'tTTQT':function(_0x1cfec8,_0x38217d,_0x33b672,_0x4331b5){return _0x1cfec8(_0x38217d,_0x33b672,_0x4331b5);},'KBLsv':'Interval-Queue','zdwQQ':function(_0x412453,_0x126941,_0x14902a){return _0x412453(_0x126941,_0x14902a);}};this[_0x5bed7e(0xa3)]=_0x13dc38[_0x5bed7e(0xbf)](setInterval,async()=>{const _0x16e7a8=_0x5bed7e;if(_0x13dc38[_0x16e7a8(0xe2)](_0x13dc38[_0x16e7a8(0x90)],_0x13dc38[_0x16e7a8(0x90)])){if(_0x13dc38[_0x16e7a8(0x95)](this[_0x16e7a8(0x89)][_0x16e7a8(0xae)],0x0)){if(_0x13dc38['oDAJz'](_0x13dc38[_0x16e7a8(0xc8)],_0x13dc38[_0x16e7a8(0xc8)]))_0x41f8a6=this['queue'][_0x16e7a8(0xe3)](0x0,_0x2ee0ef),this[_0x16e7a8(0x89)][_0x16e7a8(0xbe)](0x0,_0x1ef400),this[_0x16e7a8(0xe8)]();else{const _0x410cf1=this[_0x16e7a8(0x89)][_0x16e7a8(0xe3)](0x0,BATCH_SIZE);this['queue'][_0x16e7a8(0xbe)](0x0,BATCH_SIZE),await _0x13dc38[_0x16e7a8(0xe6)](batchAndPostEvents,this[_0x16e7a8(0xb6)],_0x13dc38['KBLsv'],_0x410cf1);}}}else this[_0x16e7a8(0x9b)]=!![],this[_0x16e7a8(0x86)]();},BATCH_INTERVAL);};[a18_0x4dff6f(0xe8)]=()=>{const _0x52f678=a18_0x4dff6f,_0x240683={};_0x240683[_0x52f678(0xe1)]=_0x52f678(0xb9);const _0x52e509=_0x240683;this['removeEventBatchPolling'](_0x52e509[_0x52f678(0xe1)]),this[_0x52f678(0x86)]();};[a18_0x4dff6f(0xc9)]=_0x3cc28a=>{const _0x5b74ab=a18_0x4dff6f,_0x3b0527={'KiSgw':function(_0x575c2a,_0x1f6f3b){return _0x575c2a>=_0x1f6f3b;},'DGGiu':function(_0x2ed017,_0xc5fbe9){return _0x2ed017!==_0xc5fbe9;},'QPtRP':_0x5b74ab(0xcd),'GOdAV':function(_0x45dc71,_0x2c3985){return _0x45dc71(_0x2c3985);},'kfHmU':function(_0xac2254,_0x48783a){return _0xac2254===_0x48783a;},'PuHyn':_0x5b74ab(0xd1)};if(this[_0x5b74ab(0xa3)]){if(_0x3b0527[_0x5b74ab(0xc0)](_0x3b0527[_0x5b74ab(0x9e)],_0x3b0527[_0x5b74ab(0x9e)]))return _0x3b0527[_0x5b74ab(0xc5)](this['queue'][_0x5b74ab(0xae)],_0x23b366);else{_0x3b0527[_0x5b74ab(0x94)](clearInterval,this[_0x5b74ab(0xa3)]),this['pollEventBatchInterval']=null;if(_0x3b0527[_0x5b74ab(0x92)](_0x3cc28a,_0x3b0527['PuHyn']))this[_0x5b74ab(0x9b)]=![];}}};['shouldProceed']=()=>{const _0x16eb33=a18_0x4dff6f,_0x28434a={};_0x28434a[_0x16eb33(0x8f)]=function(_0x47f5e0,_0xe0ef78){return _0x47f5e0>=_0xe0ef78;};const _0x5eccc5=_0x28434a;return _0x5eccc5['BHnoP'](this[_0x16eb33(0x89)][_0x16eb33(0xae)],BATCH_SIZE);};}module[a18_0x4dff6f(0x85)]=RequestQueueHandler;
|
|
1
|
+
const a18_0x3b3377=a18_0x104f;function a18_0x29f7(){const _0x3cc059=['QKtPd','./constants','RESETTING','mzMmH','gtbis','7276986lrOHFw','jvScF','ZpBWh','started','GalLd','RgeSr','uptyU','exports','1030477JfXNiW','Tljdv','GckpO','kmyXr','shutdown','gQJnz','aDNBd','AoVZx','OKSFP','uTNLa','IassL','TestRunFinished','wBCbd','HOkMu','BYBFR','MZnJO','oOIfA','10Ujykvl','4028768uYOPTk','ThMez','HookRunStarted','obFax','ZaQBc','ohAfd','SDuiL','YhBaj','jFalO','splice','HookRunFinished','api/v1/screenshots','LogCreated','4|2|5|3|0|1','length','oeVND','PhEAv','1MAUbVc','VhVGg','UAgQx','2513156zfqAEG','nByav','split','mqJsM','ZtKUn','eventUrl','OKNFa','pollEventBatchInterval','787278anZBsk','ogPHn','OoqqE','cWHIf','TestRunSkipped','shouldProceed','sCuCF','XZnMA','kind','HGuaj','Interval-Queue','rKsbo','WYyue','jdSrn','haEIo','TestRunStarted','CBTSessionCreated','screenshotEventUrl','BATCH_EVENT_TYPES','ALoqh','logs','lCpJO','TGpVM','xcITx','EHGrV','VrEDF','3730090lqErft','pCmDD','resetEventBatchPolling','removeEventBatchPolling','event_type','LvFXz','startEventBatchPolling','3PdwpDA','kXOUF','bpVRk','REMOVING','3|5|2|1|0|4','vgxCY','eHabd','UZuCQ','JWeJb','YCoNx','KYkCw','ObWMC','api/v1/batch','push','ayNed','CvyzP','TQXTa','rRkkY','add','TEST_SCREENSHOT','jFoXW','262978NrvbYE','proceedWithData','GxVui','joEhc','includes','proceedWithUrl','SNnSu','queue','bYWLj','Shutdown-Queue','iRQwK','lkXAk','slice'];a18_0x29f7=function(){return _0x3cc059;};return a18_0x29f7();}(function(_0x475e23,_0x23127b){const _0x38d91a=a18_0x104f,_0x198f4b=_0x475e23();while(!![]){try{const _0x3b54ab=parseInt(_0x38d91a(0x142))/0x1*(-parseInt(_0x38d91a(0x183))/0x2)+parseInt(_0x38d91a(0x16e))/0x3*(-parseInt(_0x38d91a(0x145))/0x4)+-parseInt(_0x38d91a(0x130))/0x5*(parseInt(_0x38d91a(0x14d))/0x6)+-parseInt(_0x38d91a(0x11f))/0x7+parseInt(_0x38d91a(0x131))/0x8+parseInt(_0x38d91a(0x117))/0x9+parseInt(_0x38d91a(0x167))/0xa;if(_0x3b54ab===_0x23127b)break;else _0x198f4b['push'](_0x198f4b['shift']());}catch(_0x2fd657){_0x198f4b['push'](_0x198f4b['shift']());}}}(a18_0x29f7,0x7dea0));function a18_0x104f(_0x459085,_0x4fa4ce){const _0x29f7e5=a18_0x29f7();return a18_0x104f=function(_0x104f8a,_0x54e243){_0x104f8a=_0x104f8a-0x10e;let _0x239718=_0x29f7e5[_0x104f8a];return _0x239718;},a18_0x104f(_0x459085,_0x4fa4ce);}const {BATCH_SIZE,BATCH_INTERVAL,consoleHolder}=require(a18_0x3b3377(0x113)),{debug,batchAndPostEvents}=require('./helper');class RequestQueueHandler{constructor(){const _0x5edafb=a18_0x3b3377,_0x56228c={};_0x56228c[_0x5edafb(0x175)]=_0x5edafb(0x172),_0x56228c['ObWMC']=_0x5edafb(0x13d),_0x56228c[_0x5edafb(0x174)]=_0x5edafb(0x15d),_0x56228c[_0x5edafb(0x153)]=_0x5edafb(0x12a),_0x56228c[_0x5edafb(0x12b)]='TestRunSkipped',_0x56228c[_0x5edafb(0x162)]=_0x5edafb(0x13b),_0x56228c[_0x5edafb(0x186)]='TestRunStarted',_0x56228c['ZaQBc']='HookRunStarted',_0x56228c['kXOUF']=_0x5edafb(0x13c),_0x56228c[_0x5edafb(0x16c)]=_0x5edafb(0x17a);const _0x598ad9=_0x56228c,_0x54e1d7=_0x598ad9['UZuCQ'][_0x5edafb(0x147)]('|');let _0x58fb85=0x0;while(!![]){switch(_0x54e1d7[_0x58fb85++]){case'0':this[_0x5edafb(0x15f)]=[_0x598ad9[_0x5edafb(0x179)],_0x598ad9['eHabd'],_0x598ad9[_0x5edafb(0x153)],_0x598ad9[_0x5edafb(0x12b)],_0x598ad9['lCpJO'],_0x598ad9['joEhc'],_0x598ad9[_0x5edafb(0x135)]];continue;case'1':this[_0x5edafb(0x15e)]=_0x598ad9[_0x5edafb(0x16f)];continue;case'2':this['eventUrl']=_0x598ad9[_0x5edafb(0x16c)];continue;case'3':this[_0x5edafb(0x18a)]=[];continue;case'4':this[_0x5edafb(0x14c)]=null;continue;case'5':this[_0x5edafb(0x11a)]=![];continue;}break;}}['start']=()=>{const _0x4f4430=a18_0x3b3377,_0x5ee572={'CvyzP':function(_0x4d8bbf,_0x54269f){return _0x4d8bbf(_0x54269f);},'wRqOr':function(_0x3261bf,_0x581110){return _0x3261bf===_0x581110;},'ALoqh':_0x4f4430(0x171),'TGpVM':function(_0x34055c,_0x429cd9){return _0x34055c!==_0x429cd9;},'cWHIf':'LkYgV','EHGrV':_0x4f4430(0x146)};if(!this[_0x4f4430(0x11a)]){if(_0x5ee572[_0x4f4430(0x163)](_0x5ee572[_0x4f4430(0x150)],_0x5ee572[_0x4f4430(0x165)]))this['started']=!![],this['startEventBatchPolling']();else{_0x5ee572[_0x4f4430(0x17d)](_0x5083fb,this[_0x4f4430(0x14c)]),this[_0x4f4430(0x14c)]=null;if(_0x5ee572['wRqOr'](_0x5e7d36,_0x5ee572[_0x4f4430(0x160)]))this[_0x4f4430(0x11a)]=![];}}};[a18_0x3b3377(0x180)]=_0x3e0955=>{const _0x2f1887=a18_0x3b3377,_0x135b3b={};_0x135b3b[_0x2f1887(0x139)]=function(_0x343b04,_0x5ccd90){return _0x343b04===_0x5ccd90;},_0x135b3b[_0x2f1887(0x14f)]=_0x2f1887(0x181),_0x135b3b[_0x2f1887(0x136)]=function(_0x1e0044,_0x2af1ee){return _0x1e0044===_0x2af1ee;},_0x135b3b[_0x2f1887(0x15a)]='AUKqc',_0x135b3b[_0x2f1887(0x110)]=_0x2f1887(0x140),_0x135b3b[_0x2f1887(0x164)]=function(_0x4e61d6,_0x3bc612){return _0x4e61d6!==_0x3bc612;},_0x135b3b['haEIo']=_0x2f1887(0x124),_0x135b3b[_0x2f1887(0x148)]=function(_0x830d8d,_0xf0aed2){return _0x830d8d===_0xf0aed2;},_0x135b3b[_0x2f1887(0x178)]=_0x2f1887(0x125),_0x135b3b[_0x2f1887(0x12c)]='UkFqT',_0x135b3b[_0x2f1887(0x182)]=_0x2f1887(0x128);const _0x276b72=_0x135b3b;if(this[_0x2f1887(0x15f)][_0x2f1887(0x187)](_0x3e0955[_0x2f1887(0x16b)])){if(_0x276b72[_0x2f1887(0x136)](_0x276b72[_0x2f1887(0x15a)],_0x276b72[_0x2f1887(0x110)])){const _0x3f524d={};return _0x3f524d['shouldProceed']=!![],_0x3f524d['proceedWithData']=[_0x47055a],_0x3f524d[_0x2f1887(0x188)]=this['screenshotEventUrl'],_0x3f524d;}else{if(_0x3e0955[_0x2f1887(0x161)]&&_0x3e0955[_0x2f1887(0x161)][0x0]&&_0x276b72[_0x2f1887(0x139)](_0x3e0955[_0x2f1887(0x161)][0x0][_0x2f1887(0x155)],_0x276b72['OoqqE'])){if(_0x276b72['xcITx'](_0x276b72[_0x2f1887(0x15b)],_0x276b72[_0x2f1887(0x15b)]))!this[_0x2f1887(0x11a)]&&(this[_0x2f1887(0x11a)]=!![],this[_0x2f1887(0x16d)]());else{const _0x1ce7cb={};return _0x1ce7cb[_0x2f1887(0x152)]=!![],_0x1ce7cb[_0x2f1887(0x184)]=[_0x3e0955],_0x1ce7cb[_0x2f1887(0x188)]=this[_0x2f1887(0x15e)],_0x1ce7cb;}}this[_0x2f1887(0x18a)]['push'](_0x3e0955);let _0x11b1d3=null,_0x2cde1d=this['shouldProceed']();if(_0x2cde1d){if(_0x276b72[_0x2f1887(0x148)](_0x276b72['KYkCw'],_0x276b72['HOkMu'])){if(_0x29a5b2['logs']&&_0x2183f4[_0x2f1887(0x161)][0x0]&&_0x276b72[_0x2f1887(0x139)](_0x2308e9[_0x2f1887(0x161)][0x0]['kind'],_0x276b72[_0x2f1887(0x14f)])){const _0x439f85={};return _0x439f85[_0x2f1887(0x152)]=!![],_0x439f85[_0x2f1887(0x184)]=[_0x33e137],_0x439f85[_0x2f1887(0x188)]=this[_0x2f1887(0x15e)],_0x439f85;}this[_0x2f1887(0x18a)][_0x2f1887(0x17b)](_0x5a18ef);let _0x444ef1=null,_0x22050a=this['shouldProceed']();_0x22050a&&(_0x444ef1=this[_0x2f1887(0x18a)][_0x2f1887(0x111)](0x0,_0x18948b),this['queue']['splice'](0x0,_0x13c028),this[_0x2f1887(0x169)]());const _0x33cd21={};return _0x33cd21[_0x2f1887(0x152)]=_0x22050a,_0x33cd21[_0x2f1887(0x184)]=_0x444ef1,_0x33cd21[_0x2f1887(0x188)]=this['eventUrl'],_0x33cd21;}else _0x11b1d3=this[_0x2f1887(0x18a)][_0x2f1887(0x111)](0x0,BATCH_SIZE),this[_0x2f1887(0x18a)][_0x2f1887(0x13a)](0x0,BATCH_SIZE),this[_0x2f1887(0x169)]();}const _0x350957={};return _0x350957['shouldProceed']=_0x2cde1d,_0x350957[_0x2f1887(0x184)]=_0x11b1d3,_0x350957[_0x2f1887(0x188)]=this[_0x2f1887(0x14a)],_0x350957;}}else{if(_0x276b72[_0x2f1887(0x164)](_0x276b72['jFoXW'],_0x276b72['jFoXW']))this[_0x2f1887(0x11a)]=!![],this[_0x2f1887(0x16d)]();else{const _0x40d763={};return _0x40d763['shouldProceed']=!![],_0x40d763;}}};[a18_0x3b3377(0x123)]=async()=>{const _0x535f22=a18_0x3b3377,_0x28d451={'VrEDF':function(_0x49af11,_0x88aceb){return _0x49af11(_0x88aceb);},'MZnJO':function(_0x42bf69,_0x1b07b5){return _0x42bf69===_0x1b07b5;},'QKtPd':_0x535f22(0x171),'VhVGg':function(_0x18144a,_0x2274d2){return _0x18144a>_0x2274d2;},'UAgQx':function(_0x589ed9,_0x5c6d0a){return _0x589ed9!==_0x5c6d0a;},'TQXTa':'ZtauD','pCmDD':_0x535f22(0x126),'BYBFR':function(_0x3e38d1,_0x1a4618,_0x139be0,_0x1e7b32){return _0x3e38d1(_0x1a4618,_0x139be0,_0x1e7b32);},'rKsbo':_0x535f22(0x10e)};this['removeEventBatchPolling'](_0x28d451[_0x535f22(0x112)]);while(_0x28d451[_0x535f22(0x143)](this[_0x535f22(0x18a)][_0x535f22(0x13f)],0x0)){if(_0x28d451[_0x535f22(0x144)](_0x28d451[_0x535f22(0x17e)],_0x28d451[_0x535f22(0x168)])){const _0x4bfc72=this[_0x535f22(0x18a)][_0x535f22(0x111)](0x0,BATCH_SIZE);this[_0x535f22(0x18a)]['splice'](0x0,BATCH_SIZE),await _0x28d451[_0x535f22(0x12d)](batchAndPostEvents,this[_0x535f22(0x14a)],_0x28d451[_0x535f22(0x158)],_0x4bfc72);}else{if(this['pollEventBatchInterval']){_0x28d451[_0x535f22(0x166)](_0x14e9a3,this[_0x535f22(0x14c)]),this['pollEventBatchInterval']=null;if(_0x28d451[_0x535f22(0x12e)](_0x3ab126,_0x28d451['QKtPd']))this[_0x535f22(0x11a)]=![];}}}};[a18_0x3b3377(0x16d)]=()=>{const _0x5952ae=a18_0x3b3377,_0x19ae97={'gtbis':_0x5952ae(0x13e),'cKMmE':_0x5952ae(0x13d),'GckpO':_0x5952ae(0x15d),'jvScF':_0x5952ae(0x12a),'XmuUN':_0x5952ae(0x151),'vgxCY':_0x5952ae(0x13b),'RgeSr':_0x5952ae(0x15c),'YhBaj':_0x5952ae(0x133),'uptyU':_0x5952ae(0x13c),'kmyXr':'api/v1/batch','GalLd':function(_0xa3a305,_0x53b4e1){return _0xa3a305===_0x53b4e1;},'ThMez':_0x5952ae(0x10f),'ZtKUn':function(_0x1e2d95,_0x44696f){return _0x1e2d95>_0x44696f;},'ogPHn':_0x5952ae(0x119),'SDuiL':function(_0x3f9760,_0x2ceb30,_0x33c4c6,_0x55a0d2){return _0x3f9760(_0x2ceb30,_0x33c4c6,_0x55a0d2);},'GxVui':_0x5952ae(0x157),'YCoNx':function(_0x37a381,_0x31195f,_0x20058b){return _0x37a381(_0x31195f,_0x20058b);}};this[_0x5952ae(0x14c)]=_0x19ae97[_0x5952ae(0x177)](setInterval,async()=>{const _0x3bd748=_0x5952ae,_0x2334f9={};_0x2334f9[_0x3bd748(0x115)]=_0x19ae97[_0x3bd748(0x116)],_0x2334f9[_0x3bd748(0x120)]=_0x19ae97['cKMmE'],_0x2334f9[_0x3bd748(0x18b)]=_0x19ae97[_0x3bd748(0x121)],_0x2334f9['JWeJb']=_0x19ae97[_0x3bd748(0x118)],_0x2334f9[_0x3bd748(0x12f)]=_0x19ae97['XmuUN'],_0x2334f9[_0x3bd748(0x159)]=_0x19ae97[_0x3bd748(0x173)],_0x2334f9['SNnSu']=_0x19ae97[_0x3bd748(0x11c)],_0x2334f9[_0x3bd748(0x154)]=_0x19ae97[_0x3bd748(0x138)],_0x2334f9[_0x3bd748(0x17c)]=_0x19ae97[_0x3bd748(0x11d)],_0x2334f9['IassL']=_0x19ae97[_0x3bd748(0x122)];const _0x2cc272=_0x2334f9;if(_0x19ae97['GalLd'](_0x19ae97[_0x3bd748(0x132)],_0x19ae97[_0x3bd748(0x132)])){if(_0x19ae97[_0x3bd748(0x149)](this[_0x3bd748(0x18a)][_0x3bd748(0x13f)],0x0)){if(_0x19ae97[_0x3bd748(0x11b)](_0x19ae97[_0x3bd748(0x14e)],_0x19ae97['ogPHn'])){const _0x9b26b3=this[_0x3bd748(0x18a)]['slice'](0x0,BATCH_SIZE);this[_0x3bd748(0x18a)]['splice'](0x0,BATCH_SIZE),await _0x19ae97[_0x3bd748(0x137)](batchAndPostEvents,this[_0x3bd748(0x14a)],_0x19ae97[_0x3bd748(0x185)],_0x9b26b3);}else{const _0x42eafa={};return _0x42eafa[_0x3bd748(0x152)]=!![],_0x42eafa;}}}else{const _0x32c41e=_0x2cc272[_0x3bd748(0x115)][_0x3bd748(0x147)]('|');let _0x50ef8c=0x0;while(!![]){switch(_0x32c41e[_0x50ef8c++]){case'0':this[_0x3bd748(0x15f)]=[_0x2cc272[_0x3bd748(0x120)],_0x2cc272[_0x3bd748(0x18b)],_0x2cc272[_0x3bd748(0x176)],_0x2cc272[_0x3bd748(0x12f)],_0x2cc272[_0x3bd748(0x159)],_0x2cc272[_0x3bd748(0x189)],_0x2cc272[_0x3bd748(0x154)]];continue;case'1':this[_0x3bd748(0x14c)]=null;continue;case'2':this[_0x3bd748(0x11a)]=![];continue;case'3':this['screenshotEventUrl']=_0x2cc272['ayNed'];continue;case'4':this[_0x3bd748(0x18a)]=[];continue;case'5':this[_0x3bd748(0x14a)]=_0x2cc272[_0x3bd748(0x129)];continue;}break;}}},BATCH_INTERVAL);};[a18_0x3b3377(0x169)]=()=>{const _0x35ee8f=a18_0x3b3377,_0x49bfd5={};_0x49bfd5[_0x35ee8f(0x141)]=_0x35ee8f(0x114);const _0x289b3e=_0x49bfd5;this[_0x35ee8f(0x16a)](_0x289b3e[_0x35ee8f(0x141)]),this[_0x35ee8f(0x16d)]();};[a18_0x3b3377(0x16a)]=_0xc9b0dd=>{const _0x2420e9=a18_0x3b3377,_0x35f499={'bpVRk':function(_0x152c56,_0x23feac){return _0x152c56>=_0x23feac;},'HGuaj':function(_0x2e0965,_0x30f96b){return _0x2e0965===_0x30f96b;},'rRkkY':_0x2420e9(0x127),'OKNFa':function(_0x26ea04,_0x27c09d){return _0x26ea04(_0x27c09d);},'LNlzb':function(_0x9c5787,_0x36e94e){return _0x9c5787===_0x36e94e;},'obFax':_0x2420e9(0x171)};if(this[_0x2420e9(0x14c)]){if(_0x35f499[_0x2420e9(0x156)](_0x35f499[_0x2420e9(0x17f)],_0x35f499[_0x2420e9(0x17f)])){_0x35f499[_0x2420e9(0x14b)](clearInterval,this[_0x2420e9(0x14c)]),this[_0x2420e9(0x14c)]=null;if(_0x35f499['LNlzb'](_0xc9b0dd,_0x35f499[_0x2420e9(0x134)]))this[_0x2420e9(0x11a)]=![];}else return _0x35f499[_0x2420e9(0x170)](this[_0x2420e9(0x18a)][_0x2420e9(0x13f)],_0x54add8);}};[a18_0x3b3377(0x152)]=()=>{const _0xf5f228=a18_0x3b3377,_0x34f214={};_0x34f214['eosXJ']=function(_0x1b0f58,_0x11aa71){return _0x1b0f58>=_0x11aa71;};const _0x1bfc84=_0x34f214;return _0x1bfc84['eosXJ'](this['queue'][_0xf5f228(0x13f)],BATCH_SIZE);};}module[a18_0x3b3377(0x11e)]=RequestQueueHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x31b9ec=a19_0xcdcc;(function(_0x1da0e4,_0x31b1cf){const _0x1280d0=a19_0xcdcc,_0x312f27=_0x1da0e4();while(!![]){try{const _0x88b660=-parseInt(_0x1280d0(0x11b))/0x1+-parseInt(_0x1280d0(0x138))/0x2+parseInt(_0x1280d0(0x13e))/0x3+parseInt(_0x1280d0(0x111))/0x4+-parseInt(_0x1280d0(0x126))/0x5+parseInt(_0x1280d0(0x134))/0x6*(-parseInt(_0x1280d0(0x128))/0x7)+parseInt(_0x1280d0(0x132))/0x8;if(_0x88b660===_0x31b1cf)break;else _0x312f27['push'](_0x312f27['shift']());}catch(_0x221df7){_0x312f27['push'](_0x312f27['shift']());}}}(a19_0x111a,0xbde8b));const {sendPlatformDetails,isTestObservabilitySession,isBrowserstackInfra}=require(a19_0x31b9ec(0x109));function a19_0xcdcc(_0x16eb57,_0x57acb5){const _0x111a3f=a19_0x111a();return a19_0xcdcc=function(_0xcdcc67,_0x1061a9){_0xcdcc67=_0xcdcc67-0x104;let _0x174f57=_0x111a3f[_0xcdcc67];return _0x174f57;},a19_0xcdcc(_0x16eb57,_0x57acb5);}function a19_0x111a(){const _0x1ec750=['testAnalyticsId','6kJExie','yUbPw','state','message','281604IoZzhT','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','MTDjl','executeScript','Failed:\x20','ddDLL','2598750rqZjhI','OKNUi','DFoDi','err','lCEAp','join','push','__drivers','../mocha/test-observability/helper','__sessionNameProvided','pEhGX','now','titlePath','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','quitCount_','timeout','248376rgMUYO','session_','cbawM','\x20|\x20','then','mochaHooks','eChJm','bmdTp','eDRri','info','1133644vRPBFY',',\x22level\x22:\x20\x22','lKFmI','nSbMZ','driverCleanup','currentTest','sessionNameSet__','\x22}}','pwiBH','__sessionFailed','JMjWl','6787355synyYy','shift','3578449SDXNSY','BUxzq','quit','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','rsMLz','oJzxa','length','__error_messages__','stringify','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','23941176dNPigO'];a19_0x111a=function(){return _0x1ec750;};return a19_0x111a();}exports[a19_0x31b9ec(0x116)]={'beforeAll'(){const _0x444425=a19_0x31b9ec,_0x2433f8={'nSbMZ':_0x444425(0x114),'ddDLL':function(_0x159a7c){return _0x159a7c();},'MTDjl':function(_0x4f935b,_0xc0303f,_0x3fe4a0){return _0x4f935b(_0xc0303f,_0x3fe4a0);}},_0x5db239='browserstack internal helper hook';global[_0x444425(0x12f)]=[],global[_0x444425(0x108)]=[],global['__sessionFailed']=![],global[_0x444425(0x11f)]=async()=>{const _0x1d6195=_0x444425;let _0x562909=![];try{await global[_0x1d6195(0x108)][0x0][_0x1d6195(0x112)],_0x562909=!![],global[_0x1d6195(0x124)]?await global[_0x1d6195(0x108)][0x0][_0x1d6195(0x13b)](_0x1d6195(0x10e)+JSON[_0x1d6195(0x130)](global[_0x1d6195(0x12f)][_0x1d6195(0x106)](_0x2433f8[_0x1d6195(0x11e)]))+'}}'):await global['__drivers'][0x0][_0x1d6195(0x13b)](_0x1d6195(0x12b));}catch(_0xc28256){}global[_0x1d6195(0x12f)]=[],global[_0x1d6195(0x124)]=![];if(_0x562909)try{try{if(_0x2433f8[_0x1d6195(0x13d)](isTestObservabilitySession)){if(global['__drivers'][0x0])await _0x2433f8[_0x1d6195(0x13a)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1d6195(0x120)]?this['currentTest'][_0x1d6195(0x133)]:null);}}catch{}await global[_0x1d6195(0x108)][0x0][_0x1d6195(0x12a)]();}catch(_0x2c7990){}};},'beforeEach'(_0x232e06){const _0x141c26=a19_0x31b9ec,_0x24d43b={'DFoDi':function(_0x476dda,_0x38b64a){return _0x476dda>_0x38b64a;},'OKNUi':function(_0x15edc7,_0x200ca3){return _0x15edc7>_0x200ca3;},'pEhGX':function(_0x11792a){return _0x11792a();}};new Promise(async _0x40c424=>{const _0xebdc24=a19_0xcdcc,_0x4f0849='browserstack internal helper hook';try{_0x24d43b[_0xebdc24(0x140)](global[_0xebdc24(0x108)][_0xebdc24(0x12e)],0x1)&&(await global[_0xebdc24(0x11f)](),global[_0xebdc24(0x108)][_0xebdc24(0x127)]());if(_0x24d43b[_0xebdc24(0x13f)](global[_0xebdc24(0x108)][0x0][_0xebdc24(0x10f)],0x0))await global['driverCleanup']();}catch{}_0x24d43b[_0xebdc24(0x10b)](_0x40c424);})[_0x141c26(0x115)](_0x232e06);},'afterEach'(_0xabcf73){const _0x5b45d0=a19_0x31b9ec,_0x2e55af={'eChJm':function(_0x48e351,_0x320c58){return _0x48e351>_0x320c58;},'pBHus':'\x20-\x20','pwiBH':function(_0x39d2a2,_0x5af53a){return _0x39d2a2!==_0x5af53a;},'oJzxa':'passed','yUbPw':function(_0x585902,_0x138657,_0xd85acf){return _0x585902(_0x138657,_0xd85acf);},'HDpNM':function(_0x549464,_0x42107a){return _0x549464+_0x42107a;},'GhNHJ':_0x5b45d0(0x13c),'bmdTp':'error','rsMLz':'Passed','JXLfX':_0x5b45d0(0x11a),'bafAC':function(_0x29d555){return _0x29d555();},'lKFmI':function(_0x206650,_0x4baa58,_0x1b84b6){return _0x206650(_0x4baa58,_0x1b84b6);},'BUxzq':function(_0x335030,_0x1aa218,_0x33b976){return _0x335030(_0x1aa218,_0x33b976);},'eDRri':'debug','lCEAp':function(_0xab919,_0x5bcba0){return _0xab919>_0x5bcba0;},'cbawM':function(_0x15baab){return _0x15baab();}},_0x5d4925='browserstack internal helper hook';this['timeout'](0xfde8);const _0x2ae2fd=async(_0x59c9e2,_0x2c714f)=>{const _0x5dc40d=_0x5b45d0;await global[_0x5dc40d(0x108)][0x0]['executeScript'](_0x5dc40d(0x139)+_0x59c9e2+_0x5dc40d(0x11c)+_0x2c714f+_0x5dc40d(0x122));};new Promise(async _0x360e5c=>{const _0x192ab4=_0x5b45d0;try{_0x2e55af[_0x192ab4(0x117)](global[_0x192ab4(0x108)][_0x192ab4(0x12e)],0x1)&&(await global['driverCleanup'](),global[_0x192ab4(0x108)][_0x192ab4(0x127)](),global[_0x192ab4(0x12f)]=[],global[_0x192ab4(0x124)]=![]);!global[_0x192ab4(0x10a)]&&(await global[_0x192ab4(0x108)][0x0][_0x192ab4(0x13b)](_0x192ab4(0x131)+JSON[_0x192ab4(0x130)](this['currentTest'][_0x192ab4(0x10d)]()[_0x192ab4(0x106)](_0x2e55af['pBHus']))+'}}'),global[_0x192ab4(0x108)][0x0][_0x192ab4(0x121)]=!![]);const _0x1309fe=_0x2e55af[_0x192ab4(0x123)](this[_0x192ab4(0x120)][_0x192ab4(0x136)],_0x2e55af[_0x192ab4(0x12d)]);_0x1309fe?(global[_0x192ab4(0x124)]=!![],global[_0x192ab4(0x12f)][_0x192ab4(0x107)](this['currentTest']['err'][_0x192ab4(0x137)]),await _0x2e55af[_0x192ab4(0x135)](_0x2ae2fd,JSON[_0x192ab4(0x130)](_0x2e55af['HDpNM'](_0x2e55af['GhNHJ'],this['currentTest'][_0x192ab4(0x104)][_0x192ab4(0x137)])),_0x2e55af[_0x192ab4(0x118)])):await _0x2e55af[_0x192ab4(0x135)](_0x2ae2fd,JSON[_0x192ab4(0x130)](_0x2e55af[_0x192ab4(0x12c)]),_0x2e55af['JXLfX']);}catch(_0x138d16){}try{try{if(_0x2e55af['bafAC'](isTestObservabilitySession)){if(global[_0x192ab4(0x108)][0x0])await _0x2e55af[_0x192ab4(0x11d)](sendPlatformDetails,global[_0x192ab4(0x108)][0x0],this[_0x192ab4(0x120)]?this['currentTest']['testAnalyticsId']:null);if(_0x2e55af['bafAC'](isBrowserstackInfra)){const _0x6f772d='ObservabilitySync:'+Date[_0x192ab4(0x10c)]();await _0x2e55af[_0x192ab4(0x129)](_0x2ae2fd,JSON[_0x192ab4(0x130)](_0x6f772d),_0x2e55af[_0x192ab4(0x119)]);}}}catch{}if(_0x2e55af[_0x192ab4(0x105)](global[_0x192ab4(0x108)][0x0][_0x192ab4(0x10f)],0x0))await global[_0x192ab4(0x11f)]();}catch(_0x55d12a){}_0x2e55af[_0x192ab4(0x113)](_0x360e5c);})['then'](()=>_0xabcf73());},'afterAll'(_0x5aba83){const _0x2a34b6=a19_0x31b9ec,_0x349168={'JMjWl':function(_0x20b535){return _0x20b535();}},_0x2cc510='browserstack internal helper hook';this[_0x2a34b6(0x110)](0xfde8),new Promise(async _0x31a7b8=>{const _0x54a943=_0x2a34b6;await global['driverCleanup'](),_0x349168[_0x54a943(0x125)](_0x31a7b8);})[_0x2a34b6(0x115)](()=>_0x5aba83());}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a20_0x1c88(_0x3adbcf,_0x14d543){const _0x21b92d=a20_0x21b9();return a20_0x1c88=function(_0x1c880c,_0x56d61f){_0x1c880c=_0x1c880c-0x6c;let _0xcb3f24=_0x21b92d[_0x1c880c];return _0xcb3f24;},a20_0x1c88(_0x3adbcf,_0x14d543);}const a20_0x31511f=a20_0x1c88;(function(_0x28c21b,_0x36884a){const _0x268959=a20_0x1c88,_0x248c5c=_0x28c21b();while(!![]){try{const _0x36e455=parseInt(_0x268959(0xed))/0x1*(parseInt(_0x268959(0xec))/0x2)+parseInt(_0x268959(0x6c))/0x3*(-parseInt(_0x268959(0x6f))/0x4)+parseInt(_0x268959(0x98))/0x5+-parseInt(_0x268959(0xc6))/0x6*(parseInt(_0x268959(0xf0))/0x7)+-parseInt(_0x268959(0xc9))/0x8+-parseInt(_0x268959(0x74))/0x9*(-parseInt(_0x268959(0x97))/0xa)+parseInt(_0x268959(0xb8))/0xb;if(_0x36e455===_0x36884a)break;else _0x248c5c['push'](_0x248c5c['shift']());}catch(_0x548295){_0x248c5c['push'](_0x248c5c['shift']());}}}(a20_0x21b9,0x35b30));const fs=require('fs'),path=require(a20_0x31511f(0x8f)),{spawn}=require(a20_0x31511f(0xb6)),logger=require('../../helpers/logger')[a20_0x31511f(0xb2)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a20_0x31511f(0xc1)),constants=require(a20_0x31511f(0xd9)),getUserNightwatchConfigs=(_0xff5e90,_0xe75fc9)=>{const _0x224c18=a20_0x31511f,_0x3b26ca={'gCMlk':_0x224c18(0xea),'JNLnJ':function(_0xdb2952,_0x2ece4f){return _0xdb2952+_0x2ece4f;},'WMZal':_0x224c18(0xf3),'KLWTR':function(_0x343e94,_0x5be198,_0x22d8d5){return _0x343e94(_0x5be198,_0x22d8d5);},'IPobP':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','xAQvC':function(_0x7fce98,_0x3e4b51){return _0x7fce98(_0x3e4b51);},'uKypF':_0x224c18(0x9f),'ZwtIq':function(_0x287fe0,_0x3d7d97){return _0x287fe0===_0x3d7d97;},'qSnjB':_0x224c18(0xb7),'qMjfZ':_0x224c18(0xb1),'sjrKF':function(_0x504432,_0x248d5a){return _0x504432!==_0x248d5a;},'lBqWZ':_0x224c18(0xaf),'DLwoY':function(_0x56671d,_0x1843f0){return _0x56671d!==_0x1843f0;},'wpUft':_0x224c18(0xda),'jmihH':_0x224c18(0x90),'IqHDB':function(_0x22311a,_0x2fea38){return _0x22311a===_0x2fea38;},'BWGNs':_0x224c18(0x96),'TeVHA':_0x224c18(0x8a),'klgtG':function(_0x30d9e3,_0x4ab235){return _0x30d9e3(_0x4ab235);},'uiljx':_0x224c18(0x9d)};let _0x2869e0=null,_0x27629b={};const _0x4d4450=_0xe75fc9[_0x224c18(0x79)](_0xa6d18c=>_0xa6d18c==_0x224c18(0xe3));if(!helper['isUndefined'](_0xff5e90[_0x224c18(0x78)])&&fs[_0x224c18(0x76)](path['join'](process[_0x224c18(0xae)](),_0xff5e90[_0x224c18(0x78)])))_0x3b26ca[_0x224c18(0xa2)](_0x3b26ca['qSnjB'],_0x3b26ca[_0x224c18(0xe6)])?_0x46833c=_0xb1044[_0x224c18(0xe0)](_0x31c78f[_0x224c18(0xae)](),_0x3b26ca[_0x224c18(0xd7)]):(_0x2869e0=path[_0x224c18(0xe0)](process[_0x224c18(0xae)](),_0xff5e90[_0x224c18(0x78)]),_0xe75fc9[_0x224c18(0x6e)](_0x4d4450,0x2));else{if(_0x3b26ca[_0x224c18(0xcf)](_0x3b26ca[_0x224c18(0xac)],_0x3b26ca[_0x224c18(0xac)]))_0x463c94[_0x224c18(0xeb)](_0x5ee44c=>{const _0x24486a=_0x224c18;let _0x76de12=_0x3b26ca[_0x24486a(0xb9)](_0x306218['getPlatformName'](_0x5ee44c,'_'),'_'+_0x811e4c[_0x24486a(0xe8)]());if(_0x48e55c)_0x76de12+='_'+_0x119cbe;if(_0x23d54c&&(!_0x3f2925[_0x3b26ca[_0x24486a(0xa7)]]||!_0x239720[_0x3b26ca[_0x24486a(0xa7)]][_0x132ab4]))return;const _0x1fdcdd={..._0x517940};_0x1fdcdd['desiredCapabilities']=_0x5ee44c;const _0x4a9d3e=_0x1fdcdd;_0x10f7e8[_0x76de12]=_0x48a99e?_0x3b26ca['KLWTR'](_0x242acd,_0x157708[_0x3b26ca[_0x24486a(0xa7)]][_0x29eac1],_0x4a9d3e):_0x4a9d3e,_0x2abc8a[_0x24486a(0xbe)](_0x76de12);});else{if(fs[_0x224c18(0x76)](path['join'](process[_0x224c18(0xae)](),_0x3b26ca[_0x224c18(0xd7)])))_0x3b26ca['DLwoY'](_0x3b26ca[_0x224c18(0xf7)],_0x3b26ca[_0x224c18(0xf7)])?_0x584e31[_0x224c18(0xb5)](_0x3b26ca[_0x224c18(0xf4)]):_0x2869e0=path[_0x224c18(0xe0)](process[_0x224c18(0xae)](),_0x3b26ca[_0x224c18(0xd7)]);else fs['existsSync'](path[_0x224c18(0xe0)](process[_0x224c18(0xae)](),_0x3b26ca['jmihH']))&&(_0x3b26ca['IqHDB'](_0x3b26ca[_0x224c18(0xa5)],_0x3b26ca[_0x224c18(0xa5)])?_0x2869e0=path['join'](process[_0x224c18(0xae)](),_0x3b26ca[_0x224c18(0xc8)]):(_0x3a50fd[_0x224c18(0xb5)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4d53f5),_0x496965=_0x3b26ca['xAQvC'](_0x5384b3,_0x470a21)));}}if(_0x2869e0){if(_0x3b26ca[_0x224c18(0xd4)](_0x3b26ca[_0x224c18(0xc2)],_0x3b26ca[_0x224c18(0xc2)]))logger[_0x224c18(0xb5)](_0x224c18(0xe1)+_0x2869e0),_0x27629b=_0x3b26ca['klgtG'](require,_0x2869e0);else{if(_0x3c65a2)_0xdca333[_0x224c18(0xbe)](_0x40f99a['modifyBrowserStackW3CCaps'](_0x1424a1[_0x224c18(0x78)],_0x3b26ca[_0x224c18(0x9c)],_0x56efea));else _0x10b3bf[_0x224c18(0xbe)](_0x1a294f['modifyBrowserStackCaps'](_0x554553[_0x224c18(0x78)],_0x3b26ca[_0x224c18(0x9c)],_0x25db7b));}}else _0x3b26ca[_0x224c18(0xcf)](_0x3b26ca[_0x224c18(0xcb)],_0x3b26ca[_0x224c18(0xcb)])?_0x33a1e5[_0x224c18(0x6e)](_0x58197f,0x2):logger[_0x224c18(0xb5)](_0x3b26ca[_0x224c18(0xf4)]);return _0x27629b;},removeExistingEnvs=_0x4884a1=>{const _0x453db6=a20_0x31511f,_0xd9a59={'SlzvN':function(_0x314a17,_0x5ae2e5){return _0x314a17(_0x5ae2e5);},'jxusg':function(_0x98d77f,_0x362b28,_0x51510f){return _0x98d77f(_0x362b28,_0x51510f);},'pGviC':function(_0x311dd4,_0x2b7077,_0x4885a3){return _0x311dd4(_0x2b7077,_0x4885a3);},'DXGqf':function(_0x59a0e7,_0xa34df4){return _0x59a0e7>_0xa34df4;},'mzQJH':function(_0x39a6b0,_0x1fb1e1){return _0x39a6b0!==_0x1fb1e1;},'eZkwC':_0x453db6(0xe5),'kiuXn':_0x453db6(0xd1),'OBngq':_0x453db6(0xf5),'eSaeS':_0x453db6(0x7a)};let _0xee3342=_0x4884a1[_0x453db6(0x79)](_0x4e072f=>_0x4e072f==_0x453db6(0x8b));if(_0xd9a59['DXGqf'](_0xee3342,-0x1)){if(_0xd9a59[_0x453db6(0xd5)](_0xd9a59['eZkwC'],_0xd9a59[_0x453db6(0xbb)]))_0x4884a1[_0x453db6(0x6e)](_0xee3342,0x2);else for(const _0x5969c3 in _0x761443){if(_0xd9a59[_0x453db6(0xf1)](_0x1e4e6d,_0x2272d3[_0x5969c3])){if(!_0x1dbb8d[_0x5969c3])_0x3ad326['assign'](_0x1c0675,{[_0x5969c3]:{}});_0xd9a59[_0x453db6(0xc4)](_0x2d1c30,_0x32be02[_0x5969c3],_0x3bc492[_0x5969c3]);}else{const _0x1fa962={};_0x1fa962[_0x5969c3]=_0x3d1956[_0x5969c3],_0x46a2b6[_0x453db6(0xba)](_0x195f45,_0x1fa962);}}}_0xee3342=_0x4884a1[_0x453db6(0x79)](_0x293d33=>_0x293d33=='-e');if(_0xd9a59[_0x453db6(0xef)](_0xee3342,-0x1)){if(_0xd9a59[_0x453db6(0xd5)](_0xd9a59['OBngq'],_0xd9a59[_0x453db6(0x77)]))_0x4884a1[_0x453db6(0x6e)](_0xee3342,0x2);else{const _0x317370={};_0x317370[_0x52d41b]={};if(!_0x406070[_0x3e2173])_0x9c65c9['assign'](_0x1c90ff,_0x317370);_0xd9a59[_0x453db6(0xc3)](_0x33c80b,_0x18ded4[_0x2c986d],_0x4dfab3[_0x3dce95]);}}},isObject=_0x38c148=>{const _0xf6add2=a20_0x31511f,_0x160a61={};_0x160a61[_0xf6add2(0x8e)]=function(_0x43ab4c,_0x3c3496){return _0x43ab4c===_0x3c3496;},_0x160a61['XAFdp']=_0xf6add2(0xb3);const _0x11fc12=_0x160a61;return _0x38c148&&_0x11fc12[_0xf6add2(0x8e)](typeof _0x38c148,_0x11fc12[_0xf6add2(0xca)])&&!Array[_0xf6add2(0xb0)](_0x38c148);},mergeDeep=(_0xe149d9,..._0x46996b)=>{const _0x5ca3f6=a20_0x31511f,_0x5726ad={'bTGwT':function(_0x4cf3b5,_0x232be5){return _0x4cf3b5(_0x232be5);},'seFYn':function(_0x30a3ad,_0x815fb,_0x5db9d4){return _0x30a3ad(_0x815fb,_0x5db9d4);},'EdvVH':function(_0x55e4a4,_0x5a8b2e){return _0x55e4a4===_0x5a8b2e;},'ZeMVV':'object','zxloG':function(_0x538398,_0x2398b1){return _0x538398>_0x2398b1;},'xnLuM':function(_0x25ac39,_0x7c7028){return _0x25ac39>_0x7c7028;},'OEXwV':function(_0x1ba174,_0x3b758c){return _0x1ba174+_0x3b758c;},'NXhpS':_0x5ca3f6(0xf3),'dbmEm':function(_0x44b779,_0xb3175e,_0x4e62a0){return _0x44b779(_0xb3175e,_0x4e62a0);},'GBlqR':function(_0x5b5b26,_0x4ed9b7){return _0x5b5b26(_0x4ed9b7);},'kNNfK':function(_0x20ec87,_0x58f3d2){return _0x20ec87!==_0x58f3d2;},'Xwetz':_0x5ca3f6(0xf9),'zdvDF':function(_0x26a544,_0x4d2454){return _0x26a544===_0x4d2454;},'CgLrR':'slRsw','ehFaG':_0x5ca3f6(0xe4),'cNnAt':function(_0x4ad174,_0x5d4047){return _0x4ad174(_0x5d4047);},'VKlOp':_0x5ca3f6(0x88),'LbRZH':_0x5ca3f6(0xbd),'FINUv':'PEbJy','LBSXO':_0x5ca3f6(0x8c),'lVkJl':function(_0x4a4076,_0x47df04,..._0x2d95af){return _0x4a4076(_0x47df04,..._0x2d95af);}};if(!_0x46996b[_0x5ca3f6(0xaa)])return _0xe149d9;const _0x5382e2=_0x46996b['shift']();if(_0x5726ad['GBlqR'](isObject,_0xe149d9)&&_0x5726ad['bTGwT'](isObject,_0x5382e2)){if(_0x5726ad[_0x5ca3f6(0xa3)](_0x5726ad[_0x5ca3f6(0xa4)],_0x5726ad[_0x5ca3f6(0xa4)])){if(_0x5726ad[_0x5ca3f6(0xc5)](_0x35f690,_0x857401[_0x268af5])){const _0x258e7d={};_0x258e7d[_0x342a5b]={};if(!_0x114020[_0x3eea50])_0x3c1233[_0x5ca3f6(0xba)](_0x4f5719,_0x258e7d);_0x5726ad[_0x5ca3f6(0x73)](_0x1382ac,_0x1c2bdc[_0x508883],_0x5b0421[_0x1ac402]);}else{const _0x2b3bcc={};_0x2b3bcc[_0x1ee299]=_0x34defe[_0x328c69],_0xe046db['assign'](_0x40e324,_0x2b3bcc);}}else for(const _0x14234e in _0x5382e2){if(_0x5726ad[_0x5ca3f6(0xd0)](_0x5726ad[_0x5ca3f6(0xe7)],_0x5726ad['ehFaG']))return _0x327af8&&_0x5726ad[_0x5ca3f6(0x89)](typeof _0x27fd21,_0x5726ad[_0x5ca3f6(0x92)])&&!_0x31f1d6[_0x5ca3f6(0xb0)](_0x33a86e);else{if(_0x5726ad[_0x5ca3f6(0x84)](isObject,_0x5382e2[_0x14234e])){if(_0x5726ad[_0x5ca3f6(0xd0)](_0x5726ad[_0x5ca3f6(0xee)],_0x5726ad[_0x5ca3f6(0x9b)])){let _0x555baa=_0x543aea['findIndex'](_0x1efdc3=>_0x1efdc3==_0x5ca3f6(0x8b));_0x5726ad['zxloG'](_0x555baa,-0x1)&&_0x171b53[_0x5ca3f6(0x6e)](_0x555baa,0x2),_0x555baa=_0xea4759['findIndex'](_0x535b33=>_0x535b33=='-e'),_0x5726ad[_0x5ca3f6(0x7c)](_0x555baa,-0x1)&&_0x117872[_0x5ca3f6(0x6e)](_0x555baa,0x2);}else{if(!_0xe149d9[_0x14234e])Object[_0x5ca3f6(0xba)](_0xe149d9,{[_0x14234e]:{}});_0x5726ad['seFYn'](mergeDeep,_0xe149d9[_0x14234e],_0x5382e2[_0x14234e]);}}else{if(_0x5726ad[_0x5ca3f6(0xa3)](_0x5726ad[_0x5ca3f6(0xdf)],_0x5726ad[_0x5ca3f6(0x85)])){const _0x31efd6={};_0x31efd6[_0x14234e]=_0x5382e2[_0x14234e],Object[_0x5ca3f6(0xba)](_0xe149d9,_0x31efd6);}else{let _0x29835d=_0x5726ad[_0x5ca3f6(0xbf)](_0x228f16[_0x5ca3f6(0xb4)](_0x3d4dbb,'_'),'_'+_0x194b67[_0x5ca3f6(0xe8)]());if(_0x5f4c60)_0x29835d+='_'+_0x4c40c3;if(_0x573282&&(!_0x55cccc[_0x5726ad[_0x5ca3f6(0xa1)]]||!_0x1b7098[_0x5726ad[_0x5ca3f6(0xa1)]][_0x12151e]))return;const _0x217afc={..._0x3e528d};_0x217afc['desiredCapabilities']=_0x14c90a;const _0x455cbb=_0x217afc;_0x220594[_0x29835d]=_0x10d30a?_0x5726ad['dbmEm'](_0x3c7949,_0x4917e2[_0x5726ad[_0x5ca3f6(0xa1)]][_0x2a84ee],_0x455cbb):_0x455cbb,_0x198a24[_0x5ca3f6(0xbe)](_0x29835d);}}}}}return _0x5726ad[_0x5ca3f6(0x95)](mergeDeep,_0xe149d9,..._0x46996b);};function a20_0x21b9(){const _0x4feb6a=['findIndex','VJKaF','child\x20process\x20exited\x20with\x20code\x20','xnLuM','zXVrU','nzTcs','start_process','ldXST','MQNea','desiredCapabilities','nightwatch-browserstack.json','cNnAt','LBSXO','exports','hub.browserstack.com','exFKP','EdvVH','WYFkK','--env','gqYsU','split','KKfPh','path','nightwatch.json','hJEqG','ZeMVV','modifyBrowserStackW3CCaps','HSMVn','lVkJl','HLvzF','20WTlETf','48675YyJrjU','nkUjt','FCzQp','LbRZH','uKypF','cmSNL','filter','nightwatch','vDJeY','NXhpS','ZwtIq','kNNfK','Xwetz','BWGNs','GNKxf','WMZal','Ygmgh','Deleting\x20','length','RFsgh','lBqWZ','map','cwd','FaNJa','isArray','ofxyf','winstonLogger','object','getPlatformName','info','child_process','zLdTt','5412616MvxEnU','JNLnJ','assign','kiuXn','inherit','rIygJ','push','OEXwV','llZFw','../../helpers/helper','TeVHA','pGviC','jxusg','bTGwT','362334fwCetW','platforms','jmihH','1472120DWNnRj','XAFdp','uiljx','debug','KOkrx','stringify','sjrKF','zdvDF','pdMyk','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','EaEYf','IqHDB','mzQJH','trim','gCMlk','mGZKv','../utils/constants','sUoFu','nightwatch.cmd','ayZDa','VlUtH','unlinkSync','FINUv','join','Getting\x20your\x20nightwatch\x20configs\x20from\x20','host','--config','WisEs','LHoSr','qMjfZ','CgLrR','now','webdriver','nightwatch.conf.js','forEach','790gvXSis','772sXFdBI','VKlOp','DXGqf','42jKshbr','SlzvN','writeFileSync','test_settings','IPobP','ywJKM','slice','wpUft','platform','DLAMX','6lVoQFV','YSnOt','splice','762692MKKMAp','YPfyD','env','qqjcp','seFYn','1534122azEBDM','Nioum','existsSync','eSaeS','config'];a20_0x21b9=function(){return _0x4feb6a;};return a20_0x21b9();}function run(_0x39565f,_0x53142e){const _0x4f372b=a20_0x31511f,_0x36f492={'nPyny':function(_0x4d6e75,_0x2a1805){return _0x4d6e75===_0x2a1805;},'FCzQp':_0x4f372b(0xa8),'RFsgh':_0x4f372b(0x9f),'YSnOt':_0x4f372b(0x90),'EaEYf':function(_0x3dc94d,_0x383851){return _0x3dc94d===_0x383851;},'KOkrx':_0x4f372b(0x70),'MQNea':function(_0x50032a,_0x1f4c05){return _0x50032a+_0x1f4c05;},'VlUtH':_0x4f372b(0xf3),'HSMVn':function(_0x7b44b9,_0x43bf09,_0x4116d2){return _0x7b44b9(_0x43bf09,_0x4116d2);},'eynDn':'nightwatch.conf.js','vDJeY':function(_0x400cb8,_0x12a3c4){return _0x400cb8!==_0x12a3c4;},'zXVrU':'yPIFF','hJEqG':'GbJPR','tLLRW':'GtWzB','ldXST':_0x4f372b(0x87),'OnAlj':_0x4f372b(0xd2),'qqjcp':function(_0xc48451,_0x2359a0){return _0xc48451==_0x2359a0;},'HikIF':_0x4f372b(0x83),'mGZKv':function(_0x3a2343,_0x20b2d5){return _0x3a2343(_0x20b2d5);},'nkUjt':function(_0x24d353,_0x38cfe3,_0x952663,_0x3fcc64){return _0x24d353(_0x38cfe3,_0x952663,_0x3fcc64);},'ayZDa':_0x4f372b(0xdb),'HaeNW':'--config','lgWnk':_0x4f372b(0x8b),'nzTcs':_0x4f372b(0xbc),'llZFw':'close'},_0x1d69a2=new BrowserStackSetup();if(!_0x1d69a2[_0x4f372b(0x78)])return;const _0x19f0f8=_0x36f492[_0x4f372b(0x94)](getUserNightwatchConfigs,_0x39565f,_0x53142e),_0x2d94cd={};_0x2d94cd[_0x4f372b(0x7f)]=![];const _0x6256b6={};_0x6256b6[_0x4f372b(0xe2)]=_0x36f492[_0x4f372b(0x80)],_0x6256b6['port']=0x1bb;const _0x4a697b={};_0x4a697b[_0x4f372b(0xe9)]=_0x2d94cd,_0x4a697b['selenium']=_0x6256b6;const _0x46a209=_0x4a697b;logger[_0x4f372b(0xb5)](_0x36f492['OnAlj']);const _0x2c5140={..._0x19f0f8},_0x182dc3=_0x2c5140;let _0x2e355a=helper['useW3C'](_0x1d69a2['config']);const _0x797b1a=[];_0x1d69a2[_0x4f372b(0x78)][_0x4f372b(0xc7)][_0x4f372b(0xeb)]((_0x382c53,_0xd96194)=>{const _0x1c49a2=_0x4f372b;if(_0x36f492['nPyny'](_0x36f492[_0x1c49a2(0x9a)],_0x36f492[_0x1c49a2(0x9a)])){if(_0x2e355a)_0x797b1a['push'](helper[_0x1c49a2(0x93)](_0x1d69a2[_0x1c49a2(0x78)],_0x36f492['RFsgh'],_0xd96194));else _0x797b1a[_0x1c49a2(0xbe)](helper['modifyBrowserStackCaps'](_0x1d69a2[_0x1c49a2(0x78)],_0x36f492[_0x1c49a2(0xab)],_0xd96194));}else{const _0x51f621={};_0x51f621[_0x4a04b5]=_0x62db82[_0x387723],_0x57682d['assign'](_0x1806d2,_0x51f621);}});const _0x1ec07={},_0x18a7aa=[];_0x39565f[_0x4f372b(0x71)]=_0x39565f[_0x4f372b(0x71)]||_0x39565f['e'];const _0x56bea8=_0x39565f['env']?_0x39565f['env'][_0x4f372b(0xd6)]()[_0x4f372b(0x8d)](',')[_0x4f372b(0xad)](_0x18b1e3=>_0x18b1e3[_0x4f372b(0xd6)]())[_0x4f372b(0x9e)](_0x117ece=>_0x117ece!=''):[''];if(_0x36f492[_0x4f372b(0x72)](_0x56bea8['length'],0x0))_0x56bea8['push']('');_0x56bea8['forEach'](_0x157342=>{const _0x1b5525=_0x4f372b,_0x3d161b={};_0x3d161b[_0x1b5525(0x75)]=_0x36f492['eynDn'],_0x3d161b[_0x1b5525(0xa6)]=_0x36f492[_0x1b5525(0x6d)];const _0x488ad6=_0x3d161b;if(_0x36f492[_0x1b5525(0xa0)](_0x36f492[_0x1b5525(0x7d)],_0x36f492[_0x1b5525(0x7d)])){if(_0x162680[_0x1b5525(0x76)](_0x1a1407[_0x1b5525(0xe0)](_0x22dc36[_0x1b5525(0xae)](),_0x488ad6[_0x1b5525(0x75)])))_0x424abe=_0x149c47[_0x1b5525(0xe0)](_0x3f2c3d[_0x1b5525(0xae)](),_0x488ad6['Nioum']);else _0x2f75be['existsSync'](_0x5be54d['join'](_0x3991dd[_0x1b5525(0xae)](),_0x488ad6[_0x1b5525(0xa6)]))&&(_0x37fcd0=_0x485a40[_0x1b5525(0xe0)](_0x1fa820[_0x1b5525(0xae)](),_0x488ad6['GNKxf']));}else _0x797b1a['forEach'](_0x528125=>{const _0x4b83b4=_0x1b5525,_0x1700de={};_0x1700de['QqFDZ']=_0x36f492[_0x4b83b4(0x6d)];const _0x221d04=_0x1700de;if(_0x36f492[_0x4b83b4(0xd3)](_0x36f492[_0x4b83b4(0xcd)],_0x36f492[_0x4b83b4(0xcd)])){let _0x35c5d0=_0x36f492[_0x4b83b4(0x81)](helper['getPlatformName'](_0x528125,'_'),'_'+Date['now']());if(_0x157342)_0x35c5d0+='_'+_0x157342;if(_0x157342&&(!_0x19f0f8[_0x36f492['VlUtH']]||!_0x19f0f8[_0x36f492[_0x4b83b4(0xdd)]][_0x157342]))return;const _0x1244c8={..._0x46a209};_0x1244c8[_0x4b83b4(0x82)]=_0x528125;const _0x31da18=_0x1244c8;_0x1ec07[_0x35c5d0]=_0x157342?_0x36f492[_0x4b83b4(0x94)](mergeDeep,_0x19f0f8[_0x36f492[_0x4b83b4(0xdd)]][_0x157342],_0x31da18):_0x31da18,_0x18a7aa['push'](_0x35c5d0);}else _0x1e2180=_0xfaad3b[_0x4b83b4(0xe0)](_0x281fd5[_0x4b83b4(0xae)](),_0x221d04['QqFDZ']);});});if(!_0x182dc3[_0x4f372b(0xf3)])_0x182dc3[_0x4f372b(0xf3)]={};_0x182dc3['test_settings']={..._0x182dc3[_0x4f372b(0xf3)],..._0x1ec07};const _0x5c11ef=path[_0x4f372b(0xe0)](__dirname,_0x36f492['HikIF']);fs[_0x4f372b(0xf2)](_0x5c11ef,JSON[_0x4f372b(0xce)](_0x182dc3)),_0x36f492[_0x4f372b(0xd8)](removeExistingEnvs,_0x53142e);const _0x48c60b=_0x36f492[_0x4f372b(0x99)](spawn,/^win/['test'](process[_0x4f372b(0xf8)])?_0x36f492[_0x4f372b(0xdc)]:_0x36f492[_0x4f372b(0xab)],[_0x36f492['HaeNW'],_0x5c11ef,..._0x53142e[_0x4f372b(0xf6)](0x1),_0x36f492['lgWnk'],_0x18a7aa['join'](',')],{'stdio':_0x36f492[_0x4f372b(0x7e)]});_0x48c60b['on'](_0x36f492[_0x4f372b(0xc0)],async _0x9a9a15=>{const _0x12fef2=_0x4f372b;_0x36f492[_0x12fef2(0xd3)](_0x36f492[_0x12fef2(0x91)],_0x36f492['tLLRW'])?(_0x3ff3ba[_0x12fef2(0xcc)]('child\x20process\x20exited\x20with\x20code\x20'+_0x419896),_0x8247cf[_0x12fef2(0xb5)](_0x12fef2(0xa9)+_0x2e23e8),_0x25b925['unlinkSync'](_0x45b92c)):(logger[_0x12fef2(0xcc)](_0x12fef2(0x7b)+_0x9a9a15),logger[_0x12fef2(0xb5)](_0x12fef2(0xa9)+_0x5c11ef),fs[_0x12fef2(0xde)](_0x5c11ef));});}module[a20_0x31511f(0x86)]=run;
|
|
2
|
+
'use strict';const a20_0x5bcda4=a20_0x2bb4;(function(_0x4f7442,_0x4e342a){const _0x3a214f=a20_0x2bb4,_0x4b1503=_0x4f7442();while(!![]){try{const _0x1a7b83=parseInt(_0x3a214f(0xda))/0x1+-parseInt(_0x3a214f(0xe1))/0x2+-parseInt(_0x3a214f(0x13d))/0x3+parseInt(_0x3a214f(0x145))/0x4+parseInt(_0x3a214f(0x140))/0x5*(-parseInt(_0x3a214f(0x12e))/0x6)+-parseInt(_0x3a214f(0xde))/0x7+parseInt(_0x3a214f(0x158))/0x8*(parseInt(_0x3a214f(0x102))/0x9);if(_0x1a7b83===_0x4e342a)break;else _0x4b1503['push'](_0x4b1503['shift']());}catch(_0x4cb01c){_0x4b1503['push'](_0x4b1503['shift']());}}}(a20_0x1468,0x2da51));const fs=require('fs'),path=require(a20_0x5bcda4(0x103)),{spawn}=require(a20_0x5bcda4(0x10a)),logger=require(a20_0x5bcda4(0x155))[a20_0x5bcda4(0xdf)],{default:BrowserStackSetup}=require(a20_0x5bcda4(0x11c)),helper=require(a20_0x5bcda4(0x14e)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x429643,_0x33971f)=>{const _0x2a0e3a=a20_0x5bcda4,_0x3734ba={'Ahpee':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','XHdZU':_0x2a0e3a(0xef),'iVKdP':_0x2a0e3a(0x135),'lxOWT':function(_0x4ffdea,_0xd6d90a){return _0x4ffdea+_0xd6d90a;},'ZifLA':_0x2a0e3a(0x10c),'OtgDY':function(_0x3f392e,_0x27fe5f,_0x26f6da){return _0x3f392e(_0x27fe5f,_0x26f6da);},'ilsFP':function(_0x2ced2d,_0x2a568d){return _0x2ced2d(_0x2a568d);},'QuNfI':function(_0x470fb,_0x56d8c4,_0x13087a){return _0x470fb(_0x56d8c4,_0x13087a);},'zlnod':function(_0x4351ad,_0x4df261){return _0x4351ad===_0x4df261;},'AkekR':_0x2a0e3a(0xe4),'basII':function(_0x1e3bc4,_0x2548ae){return _0x1e3bc4===_0x2548ae;},'mRLAn':'DhCBd','KbxsT':function(_0x1fdd60,_0x572484){return _0x1fdd60!==_0x572484;},'SGBHH':'xxBTV','WfUuI':'oamPJ','aYJmF':function(_0x5a3a57,_0x4d2f34){return _0x5a3a57!==_0x4d2f34;},'tRqbE':_0x2a0e3a(0x160),'LeDey':_0x2a0e3a(0x14c),'aAYZG':function(_0x367e7a,_0x5e44b5){return _0x367e7a(_0x5e44b5);},'PSnxv':'TortB','zfpHO':_0x2a0e3a(0x153)};let _0xb463f4=null,_0x288397={};const _0x14461d=_0x33971f[_0x2a0e3a(0x14d)](_0x11610b=>_0x11610b=='--config');if(!helper[_0x2a0e3a(0xd7)](_0x429643[_0x2a0e3a(0x130)])&&fs[_0x2a0e3a(0x11a)](path['join'](process['cwd'](),_0x429643['config'])))_0x3734ba['zlnod'](_0x3734ba[_0x2a0e3a(0xed)],_0x3734ba['AkekR'])?(_0xb463f4=path[_0x2a0e3a(0x114)](process[_0x2a0e3a(0x15d)](),_0x429643['config']),_0x33971f[_0x2a0e3a(0x10b)](_0x14461d,0x2)):_0x17c39e[_0x2a0e3a(0x12c)](_0x3734ba['Ahpee']);else{if(_0x3734ba['basII'](_0x3734ba[_0x2a0e3a(0x106)],_0x3734ba[_0x2a0e3a(0x106)])){if(fs['existsSync'](path['join'](process['cwd'](),_0x3734ba[_0x2a0e3a(0x13c)]))){if(_0x3734ba[_0x2a0e3a(0xe2)](_0x3734ba[_0x2a0e3a(0x110)],_0x3734ba[_0x2a0e3a(0x12f)]))_0xb463f4=path[_0x2a0e3a(0x114)](process[_0x2a0e3a(0x15d)](),_0x3734ba[_0x2a0e3a(0x13c)]);else{if(_0xa32bd[_0x2a0e3a(0x11a)](_0x994e75['join'](_0x1c1f1e['cwd'](),_0x3734ba[_0x2a0e3a(0x13c)])))_0x4a14b0=_0x4ceba9[_0x2a0e3a(0x114)](_0x448cec[_0x2a0e3a(0x15d)](),_0x3734ba[_0x2a0e3a(0x13c)]);else _0x498ead[_0x2a0e3a(0x11a)](_0x4c147f[_0x2a0e3a(0x114)](_0x8be2f8[_0x2a0e3a(0x15d)](),_0x3734ba['iVKdP']))&&(_0x460e7b=_0x173652[_0x2a0e3a(0x114)](_0x4f8a45['cwd'](),_0x3734ba[_0x2a0e3a(0x14b)]));}}else fs['existsSync'](path[_0x2a0e3a(0x114)](process['cwd'](),_0x3734ba[_0x2a0e3a(0x14b)]))&&(_0x3734ba['aYJmF'](_0x3734ba['tRqbE'],_0x3734ba[_0x2a0e3a(0xff)])?_0x5b059c=_0x1b128c[_0x2a0e3a(0x114)](_0x32c90d['cwd'](),_0x3734ba[_0x2a0e3a(0x14b)]):_0xb463f4=path[_0x2a0e3a(0x114)](process[_0x2a0e3a(0x15d)](),_0x3734ba['iVKdP']));}else{let _0xe52431=_0x3734ba[_0x2a0e3a(0x156)](_0x105ec2['getPlatformName'](_0x358011,'_'),'_'+_0xf5bb1d['now']());if(_0x4739cb)_0xe52431+='_'+_0x336f24;if(_0x1172f4&&(!_0x314294[_0x3734ba[_0x2a0e3a(0x15e)]]||!_0x1c5311[_0x3734ba[_0x2a0e3a(0x15e)]][_0x5e1811]))return;const _0x2bb88c={..._0x1a0537};_0x2bb88c[_0x2a0e3a(0x132)]=_0xb4d322;const _0x49bb3b=_0x2bb88c;_0x30d7f3[_0xe52431]=_0x560ef3?_0x3734ba['OtgDY'](_0x48dada,_0x1f8e4d[_0x3734ba['ZifLA']][_0x30e4bb],_0x49bb3b):_0x49bb3b,_0x14def7[_0x2a0e3a(0xfc)](_0xe52431);}}if(_0xb463f4){if(_0x3734ba[_0x2a0e3a(0xe2)](_0x3734ba['LeDey'],_0x3734ba['LeDey']))for(const _0x3ce190 in _0x4c18f6){if(_0x3734ba['ilsFP'](_0x1d0b4b,_0x403667[_0x3ce190])){if(!_0x1c7e17[_0x3ce190])_0x33ee82[_0x2a0e3a(0xf2)](_0x3e99bd,{[_0x3ce190]:{}});_0x3734ba[_0x2a0e3a(0xf8)](_0x423303,_0x40b99a[_0x3ce190],_0x587cb4[_0x3ce190]);}else{const _0x127a1f={};_0x127a1f[_0x3ce190]=_0x527fe2[_0x3ce190],_0x1f560e['assign'](_0x1aa41c,_0x127a1f);}}else logger[_0x2a0e3a(0x12c)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0xb463f4),_0x288397=_0x3734ba['aAYZG'](require,_0xb463f4);}else _0x3734ba[_0x2a0e3a(0xe2)](_0x3734ba[_0x2a0e3a(0xf1)],_0x3734ba[_0x2a0e3a(0x141)])?logger[_0x2a0e3a(0x12c)](_0x3734ba[_0x2a0e3a(0xdb)]):(_0x82b852[_0x2a0e3a(0x12d)](_0x2a0e3a(0x116)+_0x5a113a),_0x518b03[_0x2a0e3a(0x12c)](_0x2a0e3a(0x154)+_0x3fce82),_0x21fa06[_0x2a0e3a(0x104)](_0x1624d2));return _0x288397;},removeExistingEnvs=_0x77de75=>{const _0x13fba1=a20_0x5bcda4,_0x50c248={};_0x50c248['zBkRe']=function(_0x233ce1,_0xa8fbd6){return _0x233ce1===_0xa8fbd6;},_0x50c248[_0x13fba1(0x10e)]='object',_0x50c248[_0x13fba1(0xe9)]=function(_0x32e12a,_0x3389c3){return _0x32e12a>_0x3389c3;},_0x50c248[_0x13fba1(0x113)]=function(_0x3047c0,_0x5f39fd){return _0x3047c0>_0x5f39fd;},_0x50c248[_0x13fba1(0x120)]=_0x13fba1(0x15a),_0x50c248[_0x13fba1(0x159)]='selUC',_0x50c248[_0x13fba1(0x124)]=function(_0x4fa3b3,_0x479227){return _0x4fa3b3>_0x479227;},_0x50c248[_0x13fba1(0xe7)]=function(_0x1b92fa,_0x2a601b){return _0x1b92fa!==_0x2a601b;},_0x50c248[_0x13fba1(0xeb)]='bSmQj',_0x50c248[_0x13fba1(0x137)]='yHIlg';const _0x2323f0=_0x50c248;let _0x476c33=_0x77de75[_0x13fba1(0x14d)](_0x41c64d=>_0x41c64d==_0x13fba1(0x125));if(_0x2323f0[_0x13fba1(0xe9)](_0x476c33,-0x1)){if(_0x2323f0['zBkRe'](_0x2323f0[_0x13fba1(0x120)],_0x2323f0['iaZIn']))return _0x4a3df2&&_0x2323f0[_0x13fba1(0x109)](typeof _0x391986,_0x2323f0[_0x13fba1(0x10e)])&&!_0x4238ab['isArray'](_0x2daa8f);else _0x77de75['splice'](_0x476c33,0x2);}_0x476c33=_0x77de75[_0x13fba1(0x14d)](_0x3a56d8=>_0x3a56d8=='-e');if(_0x2323f0[_0x13fba1(0x124)](_0x476c33,-0x1)){if(_0x2323f0[_0x13fba1(0xe7)](_0x2323f0[_0x13fba1(0xeb)],_0x2323f0[_0x13fba1(0x137)]))_0x77de75['splice'](_0x476c33,0x2);else{let _0x4936c0=_0x1f282d['findIndex'](_0x56e95c=>_0x56e95c==_0x13fba1(0x125));_0x2323f0[_0x13fba1(0xe9)](_0x4936c0,-0x1)&&_0x368118['splice'](_0x4936c0,0x2),_0x4936c0=_0xec2e91[_0x13fba1(0x14d)](_0x43fcaf=>_0x43fcaf=='-e'),_0x2323f0['kOnlX'](_0x4936c0,-0x1)&&_0x1576fa[_0x13fba1(0x10b)](_0x4936c0,0x2);}}},isObject=_0x15ec49=>{const _0x10279e=a20_0x5bcda4,_0x2ac45b={};_0x2ac45b['uexSS']=function(_0x32d83b,_0x533a14){return _0x32d83b===_0x533a14;},_0x2ac45b[_0x10279e(0x127)]=_0x10279e(0x14a);const _0x37b1a0=_0x2ac45b;return _0x15ec49&&_0x37b1a0[_0x10279e(0x100)](typeof _0x15ec49,_0x37b1a0[_0x10279e(0x127)])&&!Array[_0x10279e(0x146)](_0x15ec49);},mergeDeep=(_0x228071,..._0x546141)=>{const _0x8b077e=a20_0x5bcda4,_0x48f2ea={'cKPvB':function(_0x92093e,_0x165529){return _0x92093e(_0x165529);},'wgxrV':function(_0x2f2ccc,_0x510ef2,_0x427a51){return _0x2f2ccc(_0x510ef2,_0x427a51);},'ELrtR':function(_0x267973,_0x8232bf){return _0x267973+_0x8232bf;},'JmbVC':'test_settings','ruKBf':function(_0x31b21c,_0x531d25){return _0x31b21c===_0x531d25;},'NNfLW':_0x8b077e(0x14f),'EsrZs':function(_0x127d44,_0x1b0399){return _0x127d44!==_0x1b0399;},'ohogU':'peNsm','KyMsq':function(_0x25ad6e,_0x8422e5){return _0x25ad6e(_0x8422e5);},'fkAWJ':function(_0x4ee777,_0x2ece3f){return _0x4ee777===_0x2ece3f;},'miGEo':_0x8b077e(0x139),'eGknr':'WPDyb','Fgrsk':function(_0x4216ca,_0x12e939,_0x53632a){return _0x4216ca(_0x12e939,_0x53632a);},'xpMoz':_0x8b077e(0xf0),'DBwsS':_0x8b077e(0xf5)};if(!_0x546141[_0x8b077e(0x11e)])return _0x228071;const _0x511b21=_0x546141[_0x8b077e(0x117)]();if(_0x48f2ea[_0x8b077e(0x12b)](isObject,_0x228071)&&_0x48f2ea[_0x8b077e(0x12b)](isObject,_0x511b21)){if(_0x48f2ea['ruKBf'](_0x48f2ea[_0x8b077e(0x115)],_0x48f2ea[_0x8b077e(0x115)]))for(const _0x5f37ac in _0x511b21){if(_0x48f2ea[_0x8b077e(0x143)](_0x48f2ea[_0x8b077e(0xf4)],_0x48f2ea[_0x8b077e(0xf4)])){const _0x3c5c94={};_0x3c5c94[_0x432b07]=_0x1c235c[_0x55011e],_0x57a906[_0x8b077e(0xf2)](_0x28b6c6,_0x3c5c94);}else{if(_0x48f2ea['KyMsq'](isObject,_0x511b21[_0x5f37ac])){if(_0x48f2ea[_0x8b077e(0x11b)](_0x48f2ea[_0x8b077e(0xf7)],_0x48f2ea[_0x8b077e(0x112)])){if(_0x48f2ea[_0x8b077e(0x12b)](_0x2a32a9,_0x4c76ce[_0xe67ba8])){const _0x5ea441={};_0x5ea441[_0x451d81]={};if(!_0x3bafc4[_0x10ba78])_0x3d8367[_0x8b077e(0xf2)](_0x875618,_0x5ea441);_0x48f2ea[_0x8b077e(0x15b)](_0x3a0ece,_0xb7d9d3[_0x440ae4],_0x21398b[_0x1ae484]);}else{const _0x7fab45={};_0x7fab45[_0x3a8f70]=_0x5e6357[_0xaefb0a],_0x4b9fd1[_0x8b077e(0xf2)](_0x2d69b5,_0x7fab45);}}else{if(!_0x228071[_0x5f37ac])Object['assign'](_0x228071,{[_0x5f37ac]:{}});_0x48f2ea['Fgrsk'](mergeDeep,_0x228071[_0x5f37ac],_0x511b21[_0x5f37ac]);}}else{if(_0x48f2ea[_0x8b077e(0x11b)](_0x48f2ea[_0x8b077e(0x11d)],_0x48f2ea[_0x8b077e(0x149)]))_0x2295f5[_0x8b077e(0xf6)](_0x39ce40=>{const _0x1ed62e=_0x8b077e;let _0xbb2c43=_0x48f2ea[_0x1ed62e(0xfa)](_0x1e4d72[_0x1ed62e(0xf3)](_0x39ce40,'_'),'_'+_0x403697[_0x1ed62e(0x126)]());if(_0x354c9d)_0xbb2c43+='_'+_0x1a873d;if(_0x3a3c6d&&(!_0x3eba17[_0x48f2ea['JmbVC']]||!_0x3f9dc5[_0x48f2ea[_0x1ed62e(0x123)]][_0x535ab9]))return;const _0x5498c2={..._0x5c0d6e};_0x5498c2[_0x1ed62e(0x132)]=_0x39ce40;const _0x57dae5=_0x5498c2;_0x57e396[_0xbb2c43]=_0x104320?_0x48f2ea[_0x1ed62e(0x15b)](_0x2d6ee1,_0x2b83e0[_0x48f2ea[_0x1ed62e(0x123)]][_0x2c9d97],_0x57dae5):_0x57dae5,_0x22590a[_0x1ed62e(0xfc)](_0xbb2c43);});else{const _0x5da621={};_0x5da621[_0x5f37ac]=_0x511b21[_0x5f37ac],Object[_0x8b077e(0xf2)](_0x228071,_0x5da621);}}}}else _0x483222[_0x8b077e(0x10b)](_0x4de798,0x2);}return _0x48f2ea[_0x8b077e(0xfb)](mergeDeep,_0x228071,..._0x546141);};function run(_0x3bfaf6,_0x568675){const _0xf7c9c=a20_0x5bcda4,_0x239c18={'NUgbl':_0xf7c9c(0xd8),'noqHp':function(_0x337440,_0x3b4e6b){return _0x337440===_0x3b4e6b;},'EdzNp':_0xf7c9c(0x15f),'cEZQi':function(_0x5a9be7,_0x1dc9d8){return _0x5a9be7(_0x1dc9d8);},'TBcZN':function(_0x1842c6,_0x18f96d){return _0x1842c6===_0x18f96d;},'DtMtb':_0xf7c9c(0xfe),'uyQVA':function(_0x53d111,_0xd9982d){return _0x53d111+_0xd9982d;},'LGEov':_0xf7c9c(0x10c),'EDtZo':function(_0x6850b6,_0x1b004e,_0x52fe6f){return _0x6850b6(_0x1b004e,_0x52fe6f);},'BbhCK':function(_0x5dc568,_0x41ad67){return _0x5dc568===_0x41ad67;},'aZXFh':'WBTDu','FUhJr':function(_0x4b24e1,_0x1494ff){return _0x4b24e1!==_0x1494ff;},'KMPDv':_0xf7c9c(0x148),'XEmXi':function(_0x5ec39e,_0x1ec544,_0x18a1c1){return _0x5ec39e(_0x1ec544,_0x18a1c1);},'Dbslb':_0xf7c9c(0x138),'sFXgr':_0xf7c9c(0x142),'TLxxK':function(_0x56ab1b,_0x3f26a1){return _0x56ab1b==_0x3f26a1;},'CzgLx':'nightwatch-browserstack.json','QXZNC':function(_0xb409b,_0x58a214){return _0xb409b(_0x58a214);},'RLSFI':function(_0x41c912,_0x2612ae,_0x2e6e06,_0x262c5b){return _0x41c912(_0x2612ae,_0x2e6e06,_0x262c5b);},'DilXt':_0xf7c9c(0xe5),'MptUc':_0xf7c9c(0x105),'yRYYE':'--env','xvNHS':_0xf7c9c(0xe8),'zBwKz':_0xf7c9c(0x129)},_0x59106a=new BrowserStackSetup();if(!_0x59106a[_0xf7c9c(0x130)])return;const _0x2eee2a=_0x239c18[_0xf7c9c(0x136)](getUserNightwatchConfigs,_0x3bfaf6,_0x568675),_0x533a48={};_0x533a48['start_process']=![];const _0x4e2684={};_0x4e2684[_0xf7c9c(0x111)]=_0x239c18['Dbslb'],_0x4e2684[_0xf7c9c(0x134)]=0x1bb;const _0x27a651={};_0x27a651[_0xf7c9c(0xea)]=_0x533a48,_0x27a651[_0xf7c9c(0x12a)]=_0x4e2684;const _0x2efe85=_0x27a651;logger[_0xf7c9c(0x12c)](_0x239c18[_0xf7c9c(0x107)]);const _0x35c2c7={..._0x2eee2a},_0x282cdf=_0x35c2c7;let _0x20f241=helper[_0xf7c9c(0x13f)](_0x59106a[_0xf7c9c(0x130)]);const _0x1e2407=[];_0x59106a[_0xf7c9c(0x130)]['platforms'][_0xf7c9c(0xf6)]((_0x553c72,_0x2e4f70)=>{const _0x573877=_0xf7c9c;if(_0x239c18[_0x573877(0x122)](_0x239c18[_0x573877(0x147)],_0x239c18['EdzNp'])){if(_0x20f241)_0x1e2407['push'](helper[_0x573877(0x13a)](_0x59106a['config'],_0x239c18[_0x573877(0x150)],_0x2e4f70));else _0x1e2407[_0x573877(0xfc)](helper['modifyBrowserStackCaps'](_0x59106a[_0x573877(0x130)],_0x239c18['NUgbl'],_0x2e4f70));}else{if(_0x296847)_0x42ed24[_0x573877(0xfc)](_0x1b0fdb['modifyBrowserStackW3CCaps'](_0x438d23[_0x573877(0x130)],_0x239c18[_0x573877(0x150)],_0x50175f));else _0x44771a[_0x573877(0xfc)](_0x4c25a4['modifyBrowserStackCaps'](_0x473704['config'],_0x239c18[_0x573877(0x150)],_0xf647cb));}});const _0x53c59c={},_0x23925d=[];_0x3bfaf6[_0xf7c9c(0x10f)]=_0x3bfaf6[_0xf7c9c(0x10f)]||_0x3bfaf6['e'];const _0x33772a=_0x3bfaf6['env']?_0x3bfaf6['env'][_0xf7c9c(0xee)]()[_0xf7c9c(0x11f)](',')[_0xf7c9c(0x15c)](_0xe24f4d=>_0xe24f4d['trim']())['filter'](_0x43a288=>_0x43a288!=''):[''];if(_0x239c18[_0xf7c9c(0x144)](_0x33772a[_0xf7c9c(0x11e)],0x0))_0x33772a[_0xf7c9c(0xfc)]('');_0x33772a[_0xf7c9c(0xf6)](_0x2f368e=>{const _0x54ec59=_0xf7c9c,_0x1ea8c4={'Npdxe':function(_0x2eed75,_0xf9109e){return _0x239c18['TBcZN'](_0x2eed75,_0xf9109e);},'swXBY':_0x239c18[_0x54ec59(0x131)],'glEXS':function(_0x297298,_0x4cdab0){const _0x487220=_0x54ec59;return _0x239c18[_0x487220(0x151)](_0x297298,_0x4cdab0);},'iwKLG':_0x239c18[_0x54ec59(0x128)],'PNtPo':function(_0x30eb5f,_0x3a931d,_0x304140){const _0x50b8a7=_0x54ec59;return _0x239c18[_0x50b8a7(0x13b)](_0x30eb5f,_0x3a931d,_0x304140);}};_0x239c18['BbhCK'](_0x239c18[_0x54ec59(0x108)],_0x239c18[_0x54ec59(0x108)])?_0x1e2407[_0x54ec59(0xf6)](_0x52d14e=>{const _0x5d9daa=_0x54ec59;if(_0x1ea8c4[_0x5d9daa(0xd9)](_0x1ea8c4[_0x5d9daa(0x121)],_0x1ea8c4[_0x5d9daa(0x121)])){let _0x4cdf31=_0x1ea8c4[_0x5d9daa(0xf9)](helper[_0x5d9daa(0xf3)](_0x52d14e,'_'),'_'+Date[_0x5d9daa(0x126)]());if(_0x2f368e)_0x4cdf31+='_'+_0x2f368e;if(_0x2f368e&&(!_0x2eee2a[_0x1ea8c4[_0x5d9daa(0x10d)]]||!_0x2eee2a[_0x1ea8c4[_0x5d9daa(0x10d)]][_0x2f368e]))return;const _0x1ac65d={..._0x2efe85};_0x1ac65d['desiredCapabilities']=_0x52d14e;const _0x2eb74c=_0x1ac65d;_0x53c59c[_0x4cdf31]=_0x2f368e?_0x1ea8c4[_0x5d9daa(0x101)](mergeDeep,_0x2eee2a[_0x1ea8c4[_0x5d9daa(0x10d)]][_0x2f368e],_0x2eb74c):_0x2eb74c,_0x23925d['push'](_0x4cdf31);}else _0xad3903['splice'](_0xfa3519,0x2);}):(_0x7914c6[_0x54ec59(0x12c)](_0x54ec59(0xe3)+_0x294630),_0x2841f9=_0x239c18[_0x54ec59(0x133)](_0xcf999d,_0x1f03da));});if(!_0x282cdf['test_settings'])_0x282cdf[_0xf7c9c(0x10c)]={};_0x282cdf[_0xf7c9c(0x10c)]={..._0x282cdf[_0xf7c9c(0x10c)],..._0x53c59c};const _0x34cbd2=path[_0xf7c9c(0x114)](__dirname,_0x239c18['CzgLx']);fs['writeFileSync'](_0x34cbd2,JSON[_0xf7c9c(0x152)](_0x282cdf)),_0x239c18[_0xf7c9c(0xfd)](removeExistingEnvs,_0x568675);const _0x3694f3=_0x239c18[_0xf7c9c(0x157)](spawn,/^win/[_0xf7c9c(0xe6)](process[_0xf7c9c(0xdc)])?_0x239c18['DilXt']:_0x239c18[_0xf7c9c(0x150)],[_0x239c18[_0xf7c9c(0x119)],_0x34cbd2,..._0x568675[_0xf7c9c(0x13e)](0x1),_0x239c18['yRYYE'],_0x23925d['join'](',')],{'stdio':_0x239c18[_0xf7c9c(0x118)]});_0x3694f3['on'](_0x239c18['zBwKz'],async _0x2cb719=>{const _0x46e808=_0xf7c9c;_0x239c18[_0x46e808(0xdd)](_0x239c18[_0x46e808(0xe0)],_0x239c18['KMPDv'])?(_0x4edcb5=_0x47556c[_0x46e808(0x114)](_0x2d1fa0[_0x46e808(0x15d)](),_0xa33e21['config']),_0x56ef12[_0x46e808(0x10b)](_0x504c59,0x2)):(logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x2cb719),logger[_0x46e808(0x12c)](_0x46e808(0x154)+_0x34cbd2),fs['unlinkSync'](_0x34cbd2));});}function a20_0x1468(){const _0x51ffa6=['aZXFh','zBkRe','child_process','splice','test_settings','iwKLG','HLHTC','env','SGBHH','host','eGknr','kOnlX','join','NNfLW','child\x20process\x20exited\x20with\x20code\x20','shift','xvNHS','MptUc','existsSync','fkAWJ','../../helpers/BrowserStackSetup','xpMoz','length','split','HwVjU','swXBY','noqHp','JmbVC','ZLYUM','--env','now','naliq','LGEov','close','selenium','cKPvB','info','debug','2982SMbyVc','WfUuI','config','DtMtb','desiredCapabilities','cEZQi','port','nightwatch.json','XEmXi','PHYdC','hub.browserstack.com','smcsn','modifyBrowserStackW3CCaps','EDtZo','XHdZU','1099038WISmTp','slice','useW3C','2530DGrbzz','zfpHO','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','EsrZs','TLxxK','730212JDgyAc','isArray','EdzNp','ulqLz','DBwsS','object','iVKdP','AEtfm','findIndex','../../helpers/helper','WULLU','NUgbl','uyQVA','stringify','xbwTa','Deleting\x20','../../helpers/logger','lxOWT','RLSFI','28264clOEWQ','iaZIn','qDixD','wgxrV','map','cwd','ZifLA','octrh','JzmTM','isUndefined','nightwatch','Npdxe','276853KtNDmq','Ahpee','platform','FUhJr','1673476NAcivj','winstonLogger','KMPDv','555202BmFIJi','KbxsT','Getting\x20your\x20nightwatch\x20configs\x20from\x20','SNmFY','nightwatch.cmd','test','PLkYL','inherit','xgFPy','webdriver','mdkxx','exports','AkekR','trim','nightwatch.conf.js','kPhyP','PSnxv','assign','getPlatformName','ohogU','NtnCm','forEach','miGEo','QuNfI','glEXS','ELrtR','Fgrsk','push','QXZNC','yWIMO','tRqbE','uexSS','PNtPo','2196kpdtej','path','unlinkSync','--config','mRLAn','sFXgr'];a20_0x1468=function(){return _0x51ffa6;};return a20_0x1468();}function a20_0x2bb4(_0x2a4917,_0x410842){const _0x1468da=a20_0x1468();return a20_0x2bb4=function(_0x2bb44b,_0x51bb0e){_0x2bb44b=_0x2bb44b-0xd7;let _0x23e86d=_0x1468da[_0x2bb44b];return _0x23e86d;},a20_0x2bb4(_0x2a4917,_0x410842);}module[a20_0x5bcda4(0xec)]=run;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a21_0x18dfd4=a21_0x28b6;(function(_0xff2d34,_0x4e789d){const _0x5cc07f=a21_0x28b6,_0x27effd=_0xff2d34();while(!![]){try{const _0x39356a=parseInt(_0x5cc07f(0xfd))/0x1+parseInt(_0x5cc07f(0xd3))/0x2+parseInt(_0x5cc07f(0xf4))/0x3+parseInt(_0x5cc07f(0x114))/0x4*(parseInt(_0x5cc07f(0xe4))/0x5)+-parseInt(_0x5cc07f(0xd7))/0x6+parseInt(_0x5cc07f(0xdb))/0x7+-parseInt(_0x5cc07f(0xda))/0x8;if(_0x39356a===_0x4e789d)break;else _0x27effd['push'](_0x27effd['shift']());}catch(_0x26fff2){_0x27effd['push'](_0x27effd['shift']());}}}(a21_0x5745,0xe8148));const {requireModule}=require(a21_0x18dfd4(0xde)),helper=require(a21_0x18dfd4(0xde));if(process['argv'][a21_0x18dfd4(0xd2)](a21_0x18dfd4(0x10c))){if(!process['argv'][a21_0x18dfd4(0xd2)](a21_0x18dfd4(0xe2)))process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0x100)](a21_0x18dfd4(0x105));if(!process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0xd2)](a21_0x18dfd4(0x10d)))process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0x100)](a21_0x18dfd4(0x10e));if(!process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0xd2)](a21_0x18dfd4(0xf5)))process[a21_0x18dfd4(0xf0)][a21_0x18dfd4(0x100)](a21_0x18dfd4(0xe5));}const yargs=require(a21_0x18dfd4(0x110)),Constants=require('./utils/constants'),logger=require(a21_0x18dfd4(0x107))[a21_0x18dfd4(0xd4)],argv=yargs[a21_0x18dfd4(0xea)](a21_0x18dfd4(0xe8))[a21_0x18dfd4(0xe3)]('v',a21_0x18dfd4(0x106))[a21_0x18dfd4(0xed)]('v')[a21_0x18dfd4(0xe3)]('h',a21_0x18dfd4(0xf3))['help'](a21_0x18dfd4(0xf3))[a21_0x18dfd4(0xfa)](!![],Constants[a21_0x18dfd4(0xd5)][a21_0x18dfd4(0xf2)])['command'](a21_0x18dfd4(0x115),Constants[a21_0x18dfd4(0xec)][a21_0x18dfd4(0xe7)],function(_0x568930){const _0x2ba75a=a21_0x18dfd4,_0x5afd7c={'JXamR':function(_0x510ea9,_0x52640f){return _0x510ea9(_0x52640f);},'buduW':_0x2ba75a(0xd9)},_0x1cd350=process[_0x2ba75a(0xf0)][_0x2ba75a(0xf9)](0x2);return _0x5afd7c[_0x2ba75a(0x104)](require,_0x5afd7c[_0x2ba75a(0xdd)])(_0x568930[_0x2ba75a(0xf0)],_0x1cd350);})[a21_0x18dfd4(0xeb)](a21_0x18dfd4(0x10c),Constants[a21_0x18dfd4(0x109)]['INFO'],_0x565241=>{const _0x9fcb4=a21_0x18dfd4,_0x4204c4={'yUIUC':function(_0x44a190,_0xfb2c5d){return _0x44a190(_0xfb2c5d);},'yCAgV':_0x9fcb4(0xd9),'ADurV':function(_0x4029b8,_0x1387fa){return _0x4029b8!==_0x1387fa;},'mhIkK':_0x9fcb4(0x117),'BQAKc':_0x9fcb4(0x10b),'BxQIb':'Parsing\x20command\x20line\x20arguements','Hcqnu':_0x9fcb4(0xe0),'jRRQs':_0x9fcb4(0xf1),'zjuQr':_0x9fcb4(0x103),'qBuVZ':'yargs'};logger['debug'](_0x4204c4[_0x9fcb4(0xd6)]);const _0x531381=_0x4204c4[_0x9fcb4(0x108)](requireModule,_0x4204c4[_0x9fcb4(0xf7)]);delete _0x531381[_0x9fcb4(0x102)],_0x531381[_0x9fcb4(0xeb)]=[_0x4204c4[_0x9fcb4(0x112)],_0x4204c4[_0x9fcb4(0x101)]],_0x531381['handler']=function(_0x174e62){const _0x34f256=_0x9fcb4;if(_0x4204c4['ADurV'](_0x4204c4[_0x34f256(0xdf)],_0x4204c4['mhIkK'])){const _0x12227a=_0x4aa9ed['argv'][_0x34f256(0xf9)](0x2);return _0x4204c4[_0x34f256(0x108)](_0x3126d1,_0x4204c4[_0x34f256(0xe9)])(_0x268554[_0x34f256(0xf0)],_0x12227a);}else return _0x4204c4[_0x34f256(0x108)](require,_0x4204c4[_0x34f256(0xe1)])(_0x174e62);},_0x4204c4[_0x9fcb4(0x108)](require,_0x4204c4[_0x9fcb4(0x116)])['command'](_0x531381);})['command'](a21_0x18dfd4(0x111),Constants[a21_0x18dfd4(0x113)][a21_0x18dfd4(0xe7)],function(_0x88bcd0){const _0x14501b=a21_0x18dfd4,_0x23c535={'igpqj':function(_0x193f93,_0x5d079e){return _0x193f93(_0x5d079e);},'xNYmc':_0x14501b(0xf8)},_0x4b958c=process[_0x14501b(0xf0)]['slice'](0x2);return _0x23c535[_0x14501b(0x10f)](require,_0x23c535['xNYmc'])(_0x88bcd0[_0x14501b(0xf0)],_0x4b958c);})[a21_0x18dfd4(0xeb)](a21_0x18dfd4(0x10a),Constants[a21_0x18dfd4(0xfb)][a21_0x18dfd4(0xe7)],function(_0x4d2c26){const _0x68b2cb=a21_0x18dfd4,_0x19655b={'UYPIK':function(_0x1211b8,_0x54fa20){return _0x1211b8(_0x54fa20);},'dmXio':_0x68b2cb(0xdc)},_0x3a616b=process[_0x68b2cb(0xf0)][_0x68b2cb(0xf9)](0x2);return _0x19655b['UYPIK'](require,_0x19655b[_0x68b2cb(0xd8)])(_0x4d2c26[_0x68b2cb(0xf0)],_0x3a616b);})['command'](a21_0x18dfd4(0xf6),Constants[a21_0x18dfd4(0xff)][a21_0x18dfd4(0xe7)],function(_0x4d3f09){const _0xbf8843=a21_0x18dfd4,_0x10ebd7={'vazDq':function(_0x3b3b00,_0xf201da){return _0x3b3b00(_0xf201da);},'LFFey':'./nightwatch/command'},_0x5b9519=process[_0xbf8843(0xf0)][_0xbf8843(0xf9)](0x2);return _0x10ebd7['vazDq'](require,_0x10ebd7[_0xbf8843(0xfc)])(_0x4d3f09[_0xbf8843(0xf0)],_0x5b9519);})[a21_0x18dfd4(0xe6)](0x1,a21_0x18dfd4(0xd1))['wrap'](null)[a21_0x18dfd4(0xf0)];function a21_0x28b6(_0x4ebb82,_0x58e00e){const _0x574535=a21_0x5745();return a21_0x28b6=function(_0x28b611,_0x8c825c){_0x28b611=_0x28b611-0xd1;let _0x499d8f=_0x574535[_0x28b611];return _0x499d8f;},a21_0x28b6(_0x4ebb82,_0x58e00e);}function a21_0x5745(){const _0x4aa82e=['../helpers/helper','mhIkK','mocha/lib/cli/run.js','BQAKc','--opts','alias','4895kZZkDR','--no-package','demandCommand','INFO','usage:\x20$0\x20<command>\x20[args]','yCAgV','usage','command','JEST','describe','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','isUndefined','argv','$0\x20[spec..]','HELP','help','4482951tbAruo','--package','nightwatch','Hcqnu','./cucumber-js/command','slice','showHelpOnFail','VANILLA','LFFey','497051MpdFuv','error','NIGHTWATCH','push','zjuQr','handler','inspect','JXamR','--no-opts','version','../helpers/logger','yUIUC','MOCHA','node','./mocha/command','mocha','--config','--no-config','igpqj','yargs','cucumber-js','jRRQs','CUCUMBER','1348CAMvUz','jest','qBuVZ','sNQKH','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','includes','1055680cNVVVO','winstonLogger','VERSION','BxQIb','5064780YMmeDc','dmXio','./jest/command','20860432zmKhxV','10872071BRsUnY','./vanilla-js/command','buduW'];a21_0x5745=function(){return _0x4aa82e;};return a21_0x5745();}!helper[a21_0x18dfd4(0xef)](argv['_'])&&!argv['_'][0x1]&&console[a21_0x18dfd4(0xfe)](a21_0x18dfd4(0xee));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const a22_0x5e1b79=a22_0x4aaf;function a22_0x4aaf(_0x5bdcee,_0x55369f){const _0x535b6d=a22_0x535b();return a22_0x4aaf=function(_0x4aafa1,_0x4b140e){_0x4aafa1=_0x4aafa1-0x1b9;let _0x414401=_0x535b6d[_0x4aafa1];return _0x414401;},a22_0x4aaf(_0x5bdcee,_0x55369f);}(function(_0x164540,_0x41158b){const _0x539b49=a22_0x4aaf,_0xa4943c=_0x164540();while(!![]){try{const _0x3e4b7d=parseInt(_0x539b49(0x1da))/0x1+-parseInt(_0x539b49(0x1dc))/0x2*(-parseInt(_0x539b49(0x21a))/0x3)+parseInt(_0x539b49(0x213))/0x4*(parseInt(_0x539b49(0x1f3))/0x5)+-parseInt(_0x539b49(0x1d9))/0x6*(-parseInt(_0x539b49(0x1ec))/0x7)+-parseInt(_0x539b49(0x1fb))/0x8*(-parseInt(_0x539b49(0x1be))/0x9)+-parseInt(_0x539b49(0x1d5))/0xa+-parseInt(_0x539b49(0x1ca))/0xb*(parseInt(_0x539b49(0x1e3))/0xc);if(_0x3e4b7d===_0x41158b)break;else _0xa4943c['push'](_0xa4943c['shift']());}catch(_0x44d230){_0xa4943c['push'](_0xa4943c['shift']());}}}(a22_0x535b,0x9b2b7));const fs=require('fs'),yargs=require(a22_0x5e1b79(0x1f1)),logger=require('../helpers/logger')[a22_0x5e1b79(0x1fa)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFile=process[a22_0x5e1b79(0x205)]()+a22_0x5e1b79(0x1cd),packageFile=process[a22_0x5e1b79(0x205)]()+a22_0x5e1b79(0x1bb),frameworks=[a22_0x5e1b79(0x219),a22_0x5e1b79(0x1bc),a22_0x5e1b79(0x1dd),'node',a22_0x5e1b79(0x212)];logger[a22_0x5e1b79(0x1e9)](a22_0x5e1b79(0x1f7)),createConfigurationFile(yargs[a22_0x5e1b79(0x216)][a22_0x5e1b79(0x1de)],yargs[a22_0x5e1b79(0x216)][a22_0x5e1b79(0x1cf)]),addScriptInPackageJson();function createConfigurationFile(_0x47e254,_0xaacbee){const _0x134e4d=a22_0x5e1b79,_0x554070={};_0x554070['pVSSm']=_0x134e4d(0x1f2),_0x554070[_0x134e4d(0x1f9)]='YOUR_ACCESS_KEY',_0x554070['HPYol']=function(_0x51a769,_0x16fc14){return _0x51a769===_0x16fc14;},_0x554070[_0x134e4d(0x202)]=_0x134e4d(0x207),_0x554070['bMZCE']='fpQrc',_0x554070[_0x134e4d(0x214)]=function(_0x5af522,_0x478d08){return _0x5af522!==_0x478d08;},_0x554070[_0x134e4d(0x204)]=_0x134e4d(0x1f6),_0x554070[_0x134e4d(0x1c8)]='jjuDI',_0x554070['cyFKz']=function(_0x4a69b5,_0x42402e){return _0x4a69b5<_0x42402e;},_0x554070[_0x134e4d(0x1d4)]='browserstack-node-sdk',_0x554070[_0x134e4d(0x1f8)]=_0x134e4d(0x1e8),_0x554070['rjAIw']=_0x134e4d(0x21b),_0x554070[_0x134e4d(0x215)]=_0x134e4d(0x1b9),_0x554070['mlFqK']=_0x134e4d(0x1f4),_0x554070[_0x134e4d(0x206)]=_0x134e4d(0x208),_0x554070[_0x134e4d(0x1e0)]=function(_0x541431,_0x2e7d18){return _0x541431===_0x2e7d18;},_0x554070[_0x134e4d(0x1d6)]=_0x134e4d(0x20f),_0x554070['kUDRS']=_0x134e4d(0x1bd),_0x554070[_0x134e4d(0x1d3)]=function(_0x45ceea,_0x1d7a50){return _0x45ceea!==_0x1d7a50;},_0x554070['cjylF']=_0x134e4d(0x217),_0x554070[_0x134e4d(0x1e4)]=_0x134e4d(0x1c6);const _0x3d7dbb=_0x554070;try{if(_0x3d7dbb['HPYol'](_0x3d7dbb[_0x134e4d(0x1f8)],_0x3d7dbb['rjAIw']))_0x1ab726=_0x44a157[_0x134e4d(0x210)](_0x3d7dbb[_0x134e4d(0x1ba)],_0x24a644);else{let _0xae3d85=fs[_0x134e4d(0x1d7)](configFileTemplate,_0x3d7dbb['WyGQn']);_0x47e254&&(_0x3d7dbb[_0x134e4d(0x214)](_0x3d7dbb['mlFqK'],_0x3d7dbb[_0x134e4d(0x206)])?_0xae3d85=_0xae3d85[_0x134e4d(0x210)](_0x3d7dbb['pVSSm'],_0x47e254):_0x2372d4=_0x48644d[_0x134e4d(0x210)](_0x3d7dbb[_0x134e4d(0x1f9)],_0x37d752)),_0xaacbee&&(_0x3d7dbb[_0x134e4d(0x1e0)](_0x3d7dbb['raGra'],_0x3d7dbb['kUDRS'])?_0x58a0b6[_0x134e4d(0x1d8)](_0xe67cda):_0xae3d85=_0xae3d85[_0x134e4d(0x210)](_0x3d7dbb[_0x134e4d(0x1f9)],_0xaacbee)),fs['writeFileSync'](configFile,_0xae3d85,_0x2039c8=>{const _0x1a02e2=_0x134e4d;_0x3d7dbb[_0x1a02e2(0x1d1)](_0x3d7dbb['NDzwV'],_0x3d7dbb['bMZCE'])?_0x5724e2[_0x1a02e2(0x1d8)](_0x4b6882):_0x2039c8&&(_0x3d7dbb[_0x1a02e2(0x214)](_0x3d7dbb['XcoOq'],_0x3d7dbb[_0x1a02e2(0x1c8)])?logger['error'](_0x2039c8):_0x37c048&&_0x348efd[_0x1a02e2(0x1d8)](_0x203c87));});}}catch(_0x47c14e){if(_0x3d7dbb[_0x134e4d(0x1d3)](_0x3d7dbb[_0x134e4d(0x1c2)],_0x3d7dbb['phxxg']))logger[_0x134e4d(0x1d8)](_0x47c14e);else{let _0x42fae4=[],_0x3cf50b=_0x4c2156[_0x134e4d(0x20d)](_0xd4c7b4);for(let _0x2ff465=0x0;_0x3d7dbb[_0x134e4d(0x201)](_0x2ff465,_0x3cf50b[_0x134e4d(0x1ea)]);_0x2ff465+=0x1){_0x3cf50b[_0x2ff465][0x1][_0x134e4d(0x1e2)](_0x5020d2)&&!_0x3cf50b[_0x2ff465][0x1][_0x134e4d(0x1e2)](_0x3d7dbb['wEkni'])&&_0x42fae4[_0x134e4d(0x1cb)](_0x3cf50b[_0x2ff465][0x0]);}return _0x42fae4;}}}function a22_0x535b(){const _0x2226a6=['browserstack-node-sdk\x20','yargs','YOUR_USERNAME','1360375GqNwiB','GwuuL','gxYFG','hybCp','Creating\x20configuration\x20file...','OndQs','mPPGh','winstonLogger','8kIDVbB','akIKU','AjqOT','scripts','dJpKR','Setup\x20completed','cyFKz','NDzwV','bLRZJ','XcoOq','cwd','ynlEp','wrDqV','kImaL','zzoWs','stringify','CtDdW','YDhyO','entries','rnisk','Cvran','replace','dBBgv','nightwatch','4EuvRaM','UFcRn','WyGQn','argv','IZKDI','MPgUL','mocha','3219TUXxRy','unqSk','writeFileSync','KXnUk','Zvyqg','utf8','pVSSm','/package.json','jest','svROb','873009fmPVKa','veQgT','iMgQs','-browserstack','cjylF','dHwSC','XJPol','JLHLq','TGtPS','wCPUK','diMdJ','VrRxt','44VgUQzi','push','Xhjvj','/browserstack.yml','oFthx','key','NGGNx','HPYol','fBwiZ','ByFOR','wEkni','2549120ckObHB','raGra','readFileSync','error','977946OLHalf','925335CEqkQF','browserstack-node-sdk','394iAgFao','cucumber-js','username','dtkAn','RlKyW','ohHRe','includes','2334888rsAxIe','phxxg','parse','vBKVU','kBHdL','bXvgE','info','length','Adding\x20new\x20script(s)\x20in\x20package.json...','7VrEobB','VMJJY','jweFT','yyDjn'];a22_0x535b=function(){return _0x2226a6;};return a22_0x535b();}function addScriptInPackageJson(){const _0xef82f4=a22_0x5e1b79,_0x25094f={'Xhjvj':function(_0xf530cd,_0x3d6b63,_0x9b51ba){return _0xf530cd(_0x3d6b63,_0x9b51ba);},'XJPol':_0xef82f4(0x1eb),'zzoWs':function(_0x1d7ebe,_0x1303fb){return _0x1d7ebe<_0x1303fb;},'AjqOT':function(_0x4e462f,_0x3b9e7b){return _0x4e462f===_0x3b9e7b;},'VrRxt':_0xef82f4(0x1c0),'lWqll':_0xef82f4(0x1fc),'ohHRe':_0xef82f4(0x20c),'dJpKR':_0xef82f4(0x1b9),'wCPUK':function(_0x545aea,_0x488e1d){return _0x545aea<_0x488e1d;},'oFthx':_0xef82f4(0x21e),'dHwSC':function(_0xd8be2,_0x5b755a,_0xe33e8c){return _0xd8be2(_0x5b755a,_0xe33e8c);},'VMJJY':'rCKjE','gxYFG':'PyOql','ZujhW':function(_0xabdd56,_0x4f0226){return _0xabdd56<_0x4f0226;},'fBwiZ':function(_0x31faa8,_0x576042){return _0x31faa8!==_0x576042;},'KXnUk':'RiVau','dBBgv':'JudVq','CtDdW':function(_0x22d884,_0x584d78){return _0x22d884!==_0x584d78;},'sOYBB':'KKFPC','SKvqR':'MwUzX'};let _0x2b356f=JSON[_0xef82f4(0x1e5)](fs[_0xef82f4(0x1d7)](packageFile,_0x25094f[_0xef82f4(0x1ff)])),_0x21afb4=[];for(let _0x3f496c=0x0;_0x25094f[_0xef82f4(0x1c7)](_0x3f496c,frameworks[_0xef82f4(0x1ea)]);_0x3f496c+=0x1){if(_0x25094f['AjqOT'](_0x25094f['oFthx'],_0x25094f[_0xef82f4(0x1ce)])){let _0x2993dd=_0x25094f[_0xef82f4(0x1c3)](findScriptsWithFramework,_0x2b356f[_0xef82f4(0x1fe)],frameworks[_0x3f496c]);for(let _0x595aa0=0x0;_0x25094f[_0xef82f4(0x1c7)](_0x595aa0,_0x2993dd[_0xef82f4(0x1ea)]);_0x595aa0+=0x1){_0x25094f[_0xef82f4(0x1fd)](_0x25094f[_0xef82f4(0x1ed)],_0x25094f[_0xef82f4(0x1f5)])?_0x4a451b['push'](_0x25094f['Xhjvj'](_0x332adb,_0x100fb0[_0xef82f4(0x1fe)],_0x2d7155[_0x2ff6f6])):_0x21afb4[_0xef82f4(0x1cb)](_0x25094f[_0xef82f4(0x1cc)](getUpdatedCommand,_0x2b356f[_0xef82f4(0x1fe)],_0x2993dd[_0x595aa0]));}}else _0x279695['info'](_0x25094f[_0xef82f4(0x1c4)]),_0x9aed48[_0xef82f4(0x1fe)]=_0x1e759b,_0x4794be[_0xef82f4(0x21c)](_0x2b370a,_0x55fa75['stringify'](_0x59c8c7,null,0x2),_0x127f46=>{const _0x60258b=_0xef82f4;_0x127f46&&_0x1dfad8[_0x60258b(0x1d8)](_0x127f46);});}const _0x2fbb67={..._0x2b356f[_0xef82f4(0x1fe)]},_0x7f3a6f=_0x2fbb67;for(let _0x264fe8=0x0;_0x25094f['ZujhW'](_0x264fe8,_0x21afb4[_0xef82f4(0x1ea)]);_0x264fe8+=0x1){_0x25094f[_0xef82f4(0x1d2)](_0x25094f[_0xef82f4(0x21d)],_0x25094f[_0xef82f4(0x211)])?_0x7f3a6f[_0x21afb4[_0x264fe8][0x0]]=_0x21afb4[_0x264fe8][0x1]:_0x5e0813['push'](_0x306efc[_0x424c88][0x0]);}_0x25094f[_0xef82f4(0x1d2)](JSON['stringify'](_0x2b356f[_0xef82f4(0x1fe)]),JSON['stringify'](_0x7f3a6f))&&(_0x25094f[_0xef82f4(0x20b)](_0x25094f['sOYBB'],_0x25094f['SKvqR'])?(logger[_0xef82f4(0x1e9)](_0x25094f[_0xef82f4(0x1c4)]),_0x2b356f[_0xef82f4(0x1fe)]=_0x7f3a6f,fs[_0xef82f4(0x21c)](packageFile,JSON[_0xef82f4(0x20a)](_0x2b356f,null,0x2),_0x47e21d=>{const _0x7c6331=_0xef82f4,_0xf1e861={'dtkAn':function(_0x5a3d64,_0x4c841c,_0xc6630b){const _0x31b012=a22_0x4aaf;return _0x25094f[_0x31b012(0x1cc)](_0x5a3d64,_0x4c841c,_0xc6630b);},'WJNBS':function(_0x3c1f62,_0x1c5ca2){const _0x353672=a22_0x4aaf;return _0x25094f[_0x353672(0x209)](_0x3c1f62,_0x1c5ca2);}};if(_0x25094f[_0x7c6331(0x1fd)](_0x25094f[_0x7c6331(0x1c9)],_0x25094f['lWqll'])){let _0x3b5cb3=_0xf1e861[_0x7c6331(0x1df)](_0x2b3cfc,_0x2e5343[_0x7c6331(0x1fe)],_0x54102c[_0x2194bd]);for(let _0x18245e=0x0;_0xf1e861['WJNBS'](_0x18245e,_0x3b5cb3[_0x7c6331(0x1ea)]);_0x18245e+=0x1){_0x27442d[_0x7c6331(0x1cb)](_0xf1e861['dtkAn'](_0x5e75af,_0x8d8ded[_0x7c6331(0x1fe)],_0x3b5cb3[_0x18245e]));}}else{if(_0x47e21d){if(_0x25094f[_0x7c6331(0x1fd)](_0x25094f[_0x7c6331(0x1e1)],_0x25094f[_0x7c6331(0x1e1)]))logger[_0x7c6331(0x1d8)](_0x47e21d);else{let _0x2ba046=_0x1ae467+_0x7c6331(0x1c1),_0x539291='browserstack-node-sdk\x20'+_0x52e73c[_0x53c060];return[_0x2ba046,_0x539291];}}}})):_0x4d72a8[_0xef82f4(0x1d8)](_0x500c8b));};function findScriptsWithFramework(_0x309b7b,_0x1e031c){const _0x3ac3d5=a22_0x5e1b79,_0x5ae530={};_0x5ae530[_0x3ac3d5(0x1bf)]=function(_0x12973e,_0x494cba){return _0x12973e<_0x494cba;},_0x5ae530['bLRZJ']=function(_0x34b980,_0x272c2d){return _0x34b980===_0x272c2d;},_0x5ae530[_0x3ac3d5(0x1ef)]=_0x3ac3d5(0x218),_0x5ae530[_0x3ac3d5(0x1e7)]=_0x3ac3d5(0x1db),_0x5ae530[_0x3ac3d5(0x1c5)]=function(_0x5b6222,_0xb122b0){return _0x5b6222!==_0xb122b0;},_0x5ae530[_0x3ac3d5(0x20e)]=_0x3ac3d5(0x1d0),_0x5ae530['vBKVU']=_0x3ac3d5(0x1ee);const _0xdda10a=_0x5ae530;let _0x2a15a4=[],_0x5d08df=Object['entries'](_0x309b7b);for(let _0x495ee1=0x0;_0xdda10a['veQgT'](_0x495ee1,_0x5d08df[_0x3ac3d5(0x1ea)]);_0x495ee1+=0x1){_0xdda10a[_0x3ac3d5(0x203)](_0xdda10a[_0x3ac3d5(0x1ef)],_0xdda10a[_0x3ac3d5(0x1ef)])?_0x5d08df[_0x495ee1][0x1][_0x3ac3d5(0x1e2)](_0x1e031c)&&!_0x5d08df[_0x495ee1][0x1][_0x3ac3d5(0x1e2)](_0xdda10a['kBHdL'])&&(_0xdda10a[_0x3ac3d5(0x1c5)](_0xdda10a[_0x3ac3d5(0x20e)],_0xdda10a[_0x3ac3d5(0x1e6)])?_0x2a15a4[_0x3ac3d5(0x1cb)](_0x5d08df[_0x495ee1][0x0]):_0x1b937d[_0xae5551[_0x54f4b5][0x0]]=_0x3aaa50[_0x179cd9][0x1]):_0x27b5dc&&_0x346977[_0x3ac3d5(0x1d8)](_0x3305a8);}return _0x2a15a4;}function getUpdatedCommand(_0x54d1df,_0x52e45f){const _0xcf36e6=a22_0x5e1b79;let _0x57e132=_0x52e45f+_0xcf36e6(0x1c1),_0x36fde8=_0xcf36e6(0x1f0)+_0x54d1df[_0x52e45f];return[_0x57e132,_0x36fde8];}logger['info'](a22_0x5e1b79(0x200));
|
|
3
|
+
const a22_0x33baca=a22_0x2fac;(function(_0x396eed,_0x1d6f7d){const _0x2f945e=a22_0x2fac,_0x391b4f=_0x396eed();while(!![]){try{const _0xd436dc=parseInt(_0x2f945e(0x10e))/0x1+parseInt(_0x2f945e(0x124))/0x2*(parseInt(_0x2f945e(0x13d))/0x3)+-parseInt(_0x2f945e(0xf6))/0x4+-parseInt(_0x2f945e(0x131))/0x5+parseInt(_0x2f945e(0x10f))/0x6+parseInt(_0x2f945e(0x11e))/0x7*(parseInt(_0x2f945e(0xfd))/0x8)+parseInt(_0x2f945e(0xf3))/0x9;if(_0xd436dc===_0x1d6f7d)break;else _0x391b4f['push'](_0x391b4f['shift']());}catch(_0x321013){_0x391b4f['push'](_0x391b4f['shift']());}}}(a22_0x3b25,0x847cf));const fs=require('fs'),yargs=require('yargs'),logger=require('../helpers/logger')[a22_0x33baca(0xf5)],configFileTemplate=__dirname+a22_0x33baca(0x11f),configFile=process[a22_0x33baca(0xe8)]()+'/browserstack.yml',packageFile=process[a22_0x33baca(0xe8)]()+'/package.json',frameworks=[a22_0x33baca(0xdf),'jest',a22_0x33baca(0x13a),a22_0x33baca(0xe5),'nightwatch'];logger[a22_0x33baca(0x130)](a22_0x33baca(0xe2)),createConfigurationFile(yargs[a22_0x33baca(0x106)]['username'],yargs[a22_0x33baca(0x106)][a22_0x33baca(0x115)]),addScriptInPackageJson();function createConfigurationFile(_0x533455,_0x1439fb){const _0x152439=a22_0x33baca,_0x25d6c9={};_0x25d6c9[_0x152439(0xed)]=_0x152439(0x103),_0x25d6c9[_0x152439(0xe3)]=function(_0x4cd8f4,_0x2d6628){return _0x4cd8f4!==_0x2d6628;},_0x25d6c9[_0x152439(0x12d)]='hjrDB',_0x25d6c9[_0x152439(0x12c)]=function(_0x3a97ad,_0x467f47){return _0x3a97ad!==_0x467f47;},_0x25d6c9['wpezb']='zIkJm',_0x25d6c9[_0x152439(0x10b)]=_0x152439(0xfe),_0x25d6c9[_0x152439(0x121)]=_0x152439(0x129),_0x25d6c9['EkGyL']=_0x152439(0xde),_0x25d6c9['QdMQz']=function(_0x2b7b00,_0x392a25){return _0x2b7b00===_0x392a25;},_0x25d6c9[_0x152439(0x10a)]='sODBs',_0x25d6c9['DtSZE']='aiElb',_0x25d6c9[_0x152439(0x100)]=_0x152439(0xe9),_0x25d6c9[_0x152439(0x135)]=_0x152439(0x104),_0x25d6c9['xpMmn']='SYRLx',_0x25d6c9[_0x152439(0x119)]=_0x152439(0xe6);const _0x2e266a=_0x25d6c9;try{if(_0x2e266a[_0x152439(0xe3)](_0x2e266a[_0x152439(0x121)],_0x2e266a['WLyDi']))_0x2517fe&&_0xd2a53['error'](_0x2d7ed2);else{let _0x30c1dd=fs['readFileSync'](configFileTemplate,_0x2e266a[_0x152439(0xee)]);_0x533455&&(_0x2e266a[_0x152439(0x11c)](_0x2e266a['EjotG'],_0x2e266a['DtSZE'])?_0x5662b6=_0x442bcd[_0x152439(0xfa)](_0x2e266a['LRXwB'],_0x50f00d):_0x30c1dd=_0x30c1dd[_0x152439(0xfa)](_0x2e266a[_0x152439(0xed)],_0x533455)),_0x1439fb&&(_0x2e266a[_0x152439(0x11c)](_0x2e266a[_0x152439(0x100)],_0x2e266a[_0x152439(0x135)])?_0x236373[_0x152439(0x113)](_0x14d6b7):_0x30c1dd=_0x30c1dd[_0x152439(0xfa)](_0x2e266a[_0x152439(0x10b)],_0x1439fb)),fs[_0x152439(0xe0)](configFile,_0x30c1dd,_0x594e60=>{const _0x513502=_0x152439;_0x2e266a[_0x513502(0xe3)](_0x2e266a[_0x513502(0x12d)],_0x2e266a[_0x513502(0x12d)])?_0x10fe82[_0x326cb9[_0x4c237b][0x0]]=_0xb2bb84[_0x48afd7][0x1]:_0x594e60&&(_0x2e266a['RliZe'](_0x2e266a['wpezb'],_0x2e266a[_0x513502(0x10d)])?_0x563652[_0x513502(0xeb)](_0x169814[_0x188166][0x0]):logger[_0x513502(0x113)](_0x594e60));});}}catch(_0x3b2a53){_0x2e266a[_0x152439(0xe3)](_0x2e266a[_0x152439(0xe4)],_0x2e266a[_0x152439(0x119)])?logger[_0x152439(0x113)](_0x3b2a53):_0x2498c2=_0x11b936[_0x152439(0xfa)](_0x2e266a['wAjGV'],_0x359c30);}}function addScriptInPackageJson(){const _0x2af6eb=a22_0x33baca,_0x30a251={'xizgW':_0x2af6eb(0x102),'hbzGl':function(_0x1662e3,_0x5f9dd6,_0x149193){return _0x1662e3(_0x5f9dd6,_0x149193);},'lLHNT':_0x2af6eb(0xfc),'hNCBm':function(_0x1a9726,_0x1cc3a5){return _0x1a9726!==_0x1cc3a5;},'tvssr':_0x2af6eb(0x13b),'FuDcw':_0x2af6eb(0x107),'qpKJS':function(_0xee8bf0,_0x50ec34){return _0xee8bf0!==_0x50ec34;},'EvSGg':_0x2af6eb(0x110),'lAzLA':_0x2af6eb(0xde),'nOzub':function(_0x20b72b,_0x528522){return _0x20b72b<_0x528522;},'xvGuN':function(_0x542d00,_0x37c2d7){return _0x542d00===_0x37c2d7;},'lqnhp':_0x2af6eb(0x128),'AYDRE':_0x2af6eb(0x125),'Ivlkm':function(_0xada77a,_0x55d193){return _0xada77a<_0x55d193;},'ncZlA':function(_0x546d01,_0x518e37){return _0x546d01===_0x518e37;},'skFCi':_0x2af6eb(0x12f),'TwSaF':function(_0x193c93,_0x3ef884,_0x55a768){return _0x193c93(_0x3ef884,_0x55a768);},'Wrpsw':function(_0x4841d0,_0x2558b2){return _0x4841d0<_0x2558b2;},'BXbAS':_0x2af6eb(0xf1),'Fjslm':_0x2af6eb(0x112),'dDzxN':function(_0x136195,_0x99a01b){return _0x136195!==_0x99a01b;},'XFaeb':_0x2af6eb(0xea),'hlKWW':_0x2af6eb(0x122)};let _0x561e8b=JSON[_0x2af6eb(0x132)](fs[_0x2af6eb(0xe7)](packageFile,_0x30a251[_0x2af6eb(0x11a)])),_0x62f41c=[];for(let _0x1daa61=0x0;_0x30a251[_0x2af6eb(0x108)](_0x1daa61,frameworks[_0x2af6eb(0xf0)]);_0x1daa61+=0x1){if(_0x30a251[_0x2af6eb(0xec)](_0x30a251[_0x2af6eb(0x123)],_0x30a251[_0x2af6eb(0x133)]))_0x2d0751[_0x347f0f][0x1]['includes'](_0x31fa68)&&!_0x4ef765[_0x332a8f][0x1]['includes'](_0x30a251[_0x2af6eb(0x120)])&&_0x4482c0['push'](_0x538220[_0x195b1f][0x0]);else{let _0x4633fa=_0x30a251[_0x2af6eb(0xe1)](findScriptsWithFramework,_0x561e8b[_0x2af6eb(0x12e)],frameworks[_0x1daa61]);for(let _0x2b362b=0x0;_0x30a251['Ivlkm'](_0x2b362b,_0x4633fa['length']);_0x2b362b+=0x1){_0x30a251[_0x2af6eb(0x136)](_0x30a251[_0x2af6eb(0x11d)],_0x30a251[_0x2af6eb(0x11d)])?_0x62f41c[_0x2af6eb(0xeb)](_0x30a251[_0x2af6eb(0x127)](getUpdatedCommand,_0x561e8b[_0x2af6eb(0x12e)],_0x4633fa[_0x2b362b])):_0x473a05[_0x2af6eb(0xeb)](_0x30a251[_0x2af6eb(0xe1)](_0x874f8f,_0x23a1d0[_0x2af6eb(0x12e)],_0xcc4b16[_0x3e570f]));}}}const _0x1a6887={..._0x561e8b[_0x2af6eb(0x12e)]},_0x8f6e87=_0x1a6887;for(let _0x453560=0x0;_0x30a251[_0x2af6eb(0xef)](_0x453560,_0x62f41c['length']);_0x453560+=0x1){if(_0x30a251[_0x2af6eb(0xfb)](_0x30a251[_0x2af6eb(0x12a)],_0x30a251[_0x2af6eb(0xf9)]))_0x8f6e87[_0x62f41c[_0x453560][0x0]]=_0x62f41c[_0x453560][0x1];else{let _0x43f370=_0x426937+'-browserstack',_0x868c29='browserstack-node-sdk\x20'+_0xc9879a[_0x259445];return[_0x43f370,_0x868c29];}}_0x30a251[_0x2af6eb(0xfb)](JSON['stringify'](_0x561e8b['scripts']),JSON[_0x2af6eb(0xff)](_0x8f6e87))&&(_0x30a251[_0x2af6eb(0xf8)](_0x30a251[_0x2af6eb(0x114)],_0x30a251[_0x2af6eb(0x117)])?(logger[_0x2af6eb(0x130)](_0x30a251[_0x2af6eb(0x126)]),_0x561e8b[_0x2af6eb(0x12e)]=_0x8f6e87,fs[_0x2af6eb(0xe0)](packageFile,JSON['stringify'](_0x561e8b,null,0x2),_0x30613d=>{const _0xdf855f=_0x2af6eb,_0x145984={};_0x145984[_0xdf855f(0x138)]=_0x30a251[_0xdf855f(0x126)];const _0x1e40fb=_0x145984;_0x30a251['hNCBm'](_0x30a251['tvssr'],_0x30a251[_0xdf855f(0x137)])?_0x30613d&&(_0x30a251['qpKJS'](_0x30a251[_0xdf855f(0x13c)],_0x30a251['EvSGg'])?_0x5b7fac&&_0x25d5b7[_0xdf855f(0x113)](_0x29b007):logger[_0xdf855f(0x113)](_0x30613d)):(_0x17a675[_0xdf855f(0x130)](_0x1e40fb['IIGgt']),_0x34cff3[_0xdf855f(0x12e)]=_0x513678,_0x3b9cca[_0xdf855f(0xe0)](_0x418d01,_0x128716[_0xdf855f(0xff)](_0x5ce59a,null,0x2),_0x33d201=>{const _0x2b1c55=_0xdf855f;_0x33d201&&_0x3fd662[_0x2b1c55(0x113)](_0x33d201);}));})):_0x379b1e['error'](_0xcc0b91));}function a22_0x3b25(){const _0x119d3b=['xpMmn','node','FGkaX','readFileSync','cwd','yREjS','gHRzS','push','xvGuN','LRXwB','EkGyL','Wrpsw','length','HMSSP','entries','4289724TmPcfp','KdCSR','winstonLogger','1936080rjdFAR','iKCxP','dDzxN','Fjslm','replace','hNCBm','Adding\x20new\x20script(s)\x20in\x20package.json...','1888pahEov','YOUR_ACCESS_KEY','stringify','mAFYO','nPbMs','browserstack-node-sdk','YOUR_USERNAME','VoxLX','XQvZQ','argv','xlhJp','nOzub','aAOVJ','EjotG','wAjGV','HyfAz','wpezb','80557fgLwtt','73002vnHpan','aiVkg','Setup\x20completed','EIFQA','error','XFaeb','key','browserstack-node-sdk\x20','hlKWW','zuYTv','taXwY','lAzLA','ubaYR','QdMQz','skFCi','25249CveNIq','/../../browserstack.yml.sample','xizgW','WLyDi','qhDhy','lqnhp','1690vxPfLB','cOiMy','lLHNT','TwSaF','uMvvc','gwLpb','BXbAS','MaOtD','RliZe','aRRtd','scripts','zdWYp','info','2244230KhNAgc','parse','AYDRE','MXjhJ','LKqlU','ncZlA','FuDcw','IIGgt','-browserstack','cucumber-js','njJTB','EvSGg','195FwbZra','includes','utf8','mocha','writeFileSync','hbzGl','Creating\x20configuration\x20file...','JUjOA'];a22_0x3b25=function(){return _0x119d3b;};return a22_0x3b25();}function a22_0x2fac(_0x4ca96b,_0x2e507f){const _0x3b258e=a22_0x3b25();return a22_0x2fac=function(_0x2facc9,_0x25f2e0){_0x2facc9=_0x2facc9-0xde;let _0x2703f3=_0x3b258e[_0x2facc9];return _0x2703f3;},a22_0x2fac(_0x4ca96b,_0x2e507f);};function findScriptsWithFramework(_0x2a98d9,_0x373865){const _0x58bf1d=a22_0x33baca,_0x4c7007={'rbhWB':function(_0x451946,_0x53456a){return _0x451946<_0x53456a;},'XQvZQ':_0x58bf1d(0x102),'MXjhJ':function(_0x15a270,_0x33d8c8,_0x10c17d){return _0x15a270(_0x33d8c8,_0x10c17d);},'nPbMs':function(_0x159b75,_0x2836d2){return _0x159b75<_0x2836d2;},'iKCxP':function(_0xa4110e,_0xf0cbe0,_0x4f01f1){return _0xa4110e(_0xf0cbe0,_0x4f01f1);},'aAOVJ':function(_0x8a1397,_0x5c543c){return _0x8a1397<_0x5c543c;},'zuYTv':function(_0x1f3ec6,_0x255e90){return _0x1f3ec6===_0x255e90;},'ubaYR':_0x58bf1d(0x12b),'KdCSR':function(_0x5c1bb1,_0x122958){return _0x5c1bb1===_0x122958;},'HyfAz':'vbYLn'};let _0x19645e=[],_0x1e6caf=Object[_0x58bf1d(0xf2)](_0x2a98d9);for(let _0xd993cd=0x0;_0x4c7007[_0x58bf1d(0x109)](_0xd993cd,_0x1e6caf['length']);_0xd993cd+=0x1){if(_0x4c7007[_0x58bf1d(0x118)](_0x4c7007[_0x58bf1d(0x11b)],_0x4c7007[_0x58bf1d(0x11b)])){if(_0x1e6caf[_0xd993cd][0x1][_0x58bf1d(0x13e)](_0x373865)&&!_0x1e6caf[_0xd993cd][0x1][_0x58bf1d(0x13e)](_0x4c7007[_0x58bf1d(0x105)])){if(_0x4c7007[_0x58bf1d(0xf4)](_0x4c7007['HyfAz'],_0x4c7007[_0x58bf1d(0x10c)]))_0x19645e['push'](_0x1e6caf[_0xd993cd][0x0]);else{let _0x5f53b0=[],_0xa525f6=_0x449e44[_0x58bf1d(0xf2)](_0x1474a9);for(let _0x525fbd=0x0;_0x4c7007['rbhWB'](_0x525fbd,_0xa525f6[_0x58bf1d(0xf0)]);_0x525fbd+=0x1){_0xa525f6[_0x525fbd][0x1]['includes'](_0x6adad1)&&!_0xa525f6[_0x525fbd][0x1][_0x58bf1d(0x13e)](_0x4c7007[_0x58bf1d(0x105)])&&_0x5f53b0[_0x58bf1d(0xeb)](_0xa525f6[_0x525fbd][0x0]);}return _0x5f53b0;}}}else{let _0xdbb746=_0x4c7007[_0x58bf1d(0x134)](_0xa2440e,_0xa77fe9[_0x58bf1d(0x12e)],_0x799377[_0x17a995]);for(let _0x172c35=0x0;_0x4c7007[_0x58bf1d(0x101)](_0x172c35,_0xdbb746[_0x58bf1d(0xf0)]);_0x172c35+=0x1){_0x3f1d57[_0x58bf1d(0xeb)](_0x4c7007[_0x58bf1d(0xf7)](_0x41081c,_0x6725ee[_0x58bf1d(0x12e)],_0xdbb746[_0x172c35]));}}}return _0x19645e;}function getUpdatedCommand(_0x1f0717,_0x39447e){const _0x15bd04=a22_0x33baca;let _0xa1a1ee=_0x39447e+_0x15bd04(0x139),_0x1afdf7=_0x15bd04(0x116)+_0x1f0717[_0x39447e];return[_0xa1a1ee,_0x1afdf7];}logger[a22_0x33baca(0x130)](a22_0x33baca(0x111));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a23_0x27129d=a23_0xf357;(function(_0x3313d3,_0x25bc78){const _0x361d66=a23_0xf357,_0x413213=_0x3313d3();while(!![]){try{const _0x49d894=-parseInt(_0x361d66(0x210))/0x1*(parseInt(_0x361d66(0x1ed))/0x2)+-parseInt(_0x361d66(0x1cb))/0x3*(parseInt(_0x361d66(0x1f5))/0x4)+parseInt(_0x361d66(0x1d1))/0x5*(parseInt(_0x361d66(0x20c))/0x6)+parseInt(_0x361d66(0x20a))/0x7*(parseInt(_0x361d66(0x1da))/0x8)+parseInt(_0x361d66(0x24d))/0x9*(-parseInt(_0x361d66(0x20f))/0xa)+parseInt(_0x361d66(0x22b))/0xb+-parseInt(_0x361d66(0x1d9))/0xc*(-parseInt(_0x361d66(0x216))/0xd);if(_0x49d894===_0x25bc78)break;else _0x413213['push'](_0x413213['shift']());}catch(_0x391dee){_0x413213['push'](_0x413213['shift']());}}}(a23_0x2fa1,0x97fa0));function a23_0x2fa1(){const _0x28f235=['BS_TESTOPS_ALLOW_SCREENSHOTS','log','push','uCAnf','ffYvI','BS_TESTOPS_JWT','NDVOc','emittery','OyOQk','Jauyr','NfQRi','JJnuv','NlZAc','QVegJ','pipe','lCynz','vanillaWorker','vPhVL','RgzBO','oJsWD','lUzUP','Kezuf','tnJPz','ZjbDL','CNoSe','then','emit','zuYlV','IuNlU','platform-run-failure','jhPXn','SvpqX','531tzfbyl','../mocha/test-observability/helper','exit','../../helpers/logger','qATov','102dqNrcT','QLWDl','info','BS_TESTOPS_BUILD_HASHED_ID','xuMNt','results','2008920HBVMaX','BQgqu','rycxU','sPDfS','egKij','parallelVanillaRun','test-file-start','Worker','102840xapEaE','136ptVYEH','env','exitCode','\x20for','lbbKr','rXaCI','ZvLWF','throat','isQjK','getStdout','Umckw','configuration','zLqWn','bdIqo','platform-run-start','TyZwL','root_dir_path','error','platform','472810odrMCt','worker','AyZhL','send','GouWY','WZrkJ','pCjOc','getStderr','75572QCXnIE','test-file-success','parallelTestRun','stdout','aLuka','hXQOb','./testWorker.js','qspbB','taidG','DcKZX','Ejgmg','ZNEZy','platform-run-success','XjjJO','JouHF','mWJUm','ZgXHj','GBizf','all','end','obYMv','354193jKlBZs','ONHXA','18VLdtWj','test-file-failure','vOZWT','203570ujmQEC','1GCdwhm','nNnjU','json','VsNne','Workers\x20failed\x20to\x20exit\x20gracefully','map','507tcodjc','MULPW','saBuW','oZNDv','AsIMF','KWReQ','ZrIEU','FHSgP','wloqq','_child','Running\x20','YjsLd','BlIrg','zaDow','rwCDt','resolve','winstonLogger','getWorkers','stderr','failureCount','lqhim','3328171vpXNXZ','gwybY'];a23_0x2fa1=function(){return _0x28f235;};return a23_0x2fa1();}const Worker=require('jest-worker')[a23_0x27129d(0x1d8)],Emittery=require(a23_0x27129d(0x234)),throat=require(a23_0x27129d(0x1e1)),logger=require(a23_0x27129d(0x250))[a23_0x27129d(0x226)],{launchTestSession,stopBuildUpstream,isTestObservabilitySession}=require(a23_0x27129d(0x24e));function a23_0xf357(_0x42fd8b,_0x2d2112){const _0x2fa182=a23_0x2fa1();return a23_0xf357=function(_0xf3570a,_0xa8d365){_0xf3570a=_0xf3570a-0x1ca;let _0x4fe81c=_0x2fa182[_0xf3570a];return _0x4fe81c;},a23_0xf357(_0x42fd8b,_0x2d2112);}exports[a23_0x27129d(0x1f7)]=(_0x38ece2,_0x119be6,_0x58c1ee)=>new Promise(async _0x581f77=>{const _0x4aab30=a23_0x27129d,_0x544c76={'ZjbDL':_0x4aab30(0x229),'gwybY':_0x4aab30(0x1d0),'lCynz':function(_0x3712a9,_0x4aff30){return _0x3712a9+_0x4aff30;},'saBuW':function(_0x3356ce,_0x49eb04){return _0x3356ce===_0x49eb04;},'IpCyb':function(_0x29fd15,_0x4aa13b){return _0x29fd15!==_0x4aa13b;},'Kezuf':'Workers\x20failed\x20to\x20exit\x20gracefully','mVwtq':'zsFCD','ehWEL':_0x4aab30(0x230),'zLqWn':function(_0x571d17,_0x50708b){return _0x571d17===_0x50708b;},'ffYvI':'Qgamd','WZrkJ':function(_0x2c382f,_0x589bc4){return _0x2c382f+_0x589bc4;},'kMonR':function(_0x200039,_0x4fa20f){return _0x200039===_0x4fa20f;},'SvpqX':_0x4aab30(0x1cf),'ZrIEU':function(_0x58e494,_0xce79ec){return _0x58e494!==_0xce79ec;},'BlIrg':_0x4aab30(0x20e),'AsIMF':_0x4aab30(0x249),'rycxU':function(_0x87753f,_0x3c11d4){return _0x87753f!==_0x3c11d4;},'NDVOc':_0x4aab30(0x224),'DcKZX':function(_0xadde22){return _0xadde22();},'tSsxX':_0x4aab30(0x1fa),'TyZwL':_0x4aab30(0x245),'XGtnt':function(_0xc49a12,_0x3114a9){return _0xc49a12(_0x3114a9);},'aLuka':_0x4aab30(0x1e4),'JouHF':_0x4aab30(0x1d7),'RgzBO':function(_0x9ba3ff){return _0x9ba3ff();},'bdIqo':'ODXBM','qATov':function(_0xa14942,_0xb5571b){return _0xa14942(_0xb5571b);},'ZNEZy':_0x4aab30(0x1fb),'KWReQ':_0x4aab30(0x1ee),'NfQRi':_0x4aab30(0x212),'pCjOc':_0x4aab30(0x23b),'MULPW':_0x4aab30(0x1f6),'FHSgP':'test-file-failure'},_0x35274f={};if(_0x544c76[_0x4aab30(0x23f)](isTestObservabilitySession)){if(_0x544c76['IpCyb'](_0x544c76[_0x4aab30(0x1e7)],_0x544c76[_0x4aab30(0x1e7)])){const _0x598abb={};_0x598abb[_0x4aab30(0x229)]=_0x5cf447[0x1][_0x544c76[_0x4aab30(0x244)]],_0x598abb['results']=[..._0x32960d[0x1][_0x544c76['gwybY']]],_0x481fce[_0xb89d85[0x0]]=_0x598abb;}else{const _0x132edb={..._0x58c1ee};_0x132edb[_0x4aab30(0x1ea)]='';const [_0x4f914e,_0x44265a,_0x776799]=await _0x544c76[_0x4aab30(0x1ca)](launchTestSession,_0x132edb);process[_0x4aab30(0x1db)][_0x4aab30(0x232)]=_0x4f914e,process[_0x4aab30(0x1db)][_0x4aab30(0x1ce)]=_0x44265a,process[_0x4aab30(0x1db)][_0x4aab30(0x22d)]=_0x776799;}}const _0x229420=new Worker(require['resolve'](_0x544c76[_0x4aab30(0x200)],{'exposedMethods':[_0x544c76[_0x4aab30(0x21b)]],'forkOptions':{'serialization':_0x544c76[_0x4aab30(0x237)],'stdio':_0x544c76[_0x4aab30(0x1f3)]},'numWorkers':_0x119be6})),_0x146c16=new Emittery();_0x146c16['on'](_0x544c76[_0x4aab30(0x217)],_0x27a020=>{const _0xeb7ad2=_0x4aab30,_0x5e2b3d={'HZpnj':function(_0x1dc651,_0x1384db){return _0x544c76['saBuW'](_0x1dc651,_0x1384db);},'oJsWD':function(_0x58468f,_0x47d96e){return _0x544c76['IpCyb'](_0x58468f,_0x47d96e);},'Ejgmg':_0x544c76[_0xeb7ad2(0x242)]};if(_0x544c76[_0xeb7ad2(0x218)](_0x544c76['mVwtq'],_0x544c76['ehWEL']))_0x5e2b3d['HZpnj'](_0x593082,0x0)&&_0x5e2b3d[_0xeb7ad2(0x240)](_0x5040be,0x0)&&(_0x1026ee=_0x463023);else{if(_0x35274f[_0x27a020[0x0]])_0x544c76[_0xeb7ad2(0x1e6)](_0x544c76[_0xeb7ad2(0x231)],_0x544c76[_0xeb7ad2(0x231)])?(_0x35274f[_0x27a020[0x0]][_0x544c76[_0xeb7ad2(0x244)]]=_0x544c76[_0xeb7ad2(0x1f2)](_0x35274f[_0x27a020[0x0]][_0x544c76[_0xeb7ad2(0x244)]],_0x27a020[0x1][_0x544c76[_0xeb7ad2(0x244)]]),_0x35274f[_0x27a020[0x0]][_0x544c76[_0xeb7ad2(0x22c)]]=[..._0x35274f[_0x27a020[0x0]][_0x544c76['gwybY']],..._0x27a020[0x1][_0x544c76['gwybY']]]):_0x472d0d['error'](_0x5e2b3d[_0xeb7ad2(0x1ff)]);else{if(_0x544c76['kMonR'](_0x544c76['SvpqX'],_0x544c76[_0xeb7ad2(0x24c)]))_0x35274f[_0x27a020[0x0]]={'failureCount':_0x27a020[0x1][_0x544c76[_0xeb7ad2(0x244)]],'results':[..._0x27a020[0x1][_0x544c76['gwybY']]]};else{if(_0x45fdd8[_0x298f5d[0x0]])_0x3993ac[_0x12dbb7[0x0]][_0x544c76[_0xeb7ad2(0x244)]]=_0x544c76[_0xeb7ad2(0x23c)](_0x18e216[_0x3610b9[0x0]][_0x544c76['ZjbDL']],_0x1181b3[0x1][_0x544c76[_0xeb7ad2(0x244)]]),_0x4f1ba0[_0x15ef73[0x0]][_0x544c76[_0xeb7ad2(0x22c)]]=[..._0x4b9873[_0x588204[0x0]][_0x544c76[_0xeb7ad2(0x22c)]],..._0x25bd4f[0x1][_0x544c76[_0xeb7ad2(0x22c)]]];else{const _0x1dab16={};_0x1dab16[_0xeb7ad2(0x229)]=_0x3987a4[0x1][_0x544c76[_0xeb7ad2(0x244)]],_0x1dab16[_0xeb7ad2(0x1d0)]=[..._0x49bc7d[0x1][_0x544c76['gwybY']]],_0x50932b[_0x298d92[0x0]]=_0x1dab16;}}}}}),_0x146c16['on'](_0x544c76[_0x4aab30(0x21d)],_0x565d09=>console[_0x4aab30(0x22e)](_0x565d09[0x1]));if(_0x229420[_0x4aab30(0x1e3)]())_0x229420[_0x4aab30(0x1e3)]()[_0x4aab30(0x23b)](process[_0x4aab30(0x1f8)]);if(_0x229420[_0x4aab30(0x1f4)]())_0x229420[_0x4aab30(0x1f4)]()[_0x4aab30(0x23b)](process[_0x4aab30(0x228)]);const _0xb8d601=async()=>{const _0x265275=_0x4aab30;if(_0x544c76[_0x265275(0x21c)](_0x544c76[_0x265275(0x222)],_0x544c76[_0x265275(0x21a)])){const {forceExited:_0x308407}=await _0x229420[_0x265275(0x208)]();_0x308407&&(_0x544c76[_0x265275(0x1d3)](_0x544c76['NDVOc'],_0x544c76[_0x265275(0x233)])?_0x2141de[_0x265275(0x1eb)](_0x544c76[_0x265275(0x242)]):console[_0x265275(0x1eb)](_0x544c76[_0x265275(0x242)]));if(_0x544c76[_0x265275(0x1fe)](isTestObservabilitySession)){if(_0x544c76[_0x265275(0x218)](_0x544c76['tSsxX'],_0x544c76[_0x265275(0x1e9)]))return _0x139945[_0x265275(0x23d)](_0x5c2006);else await _0x544c76[_0x265275(0x1fe)](stopBuildUpstream);}_0x544c76['XGtnt'](_0x581f77,_0x35274f);}else _0x406ed5[_0x265275(0x1eb)](_0x544c76['Kezuf']);},_0x5085a0=_0x544c76[_0x4aab30(0x1ca)](throat,_0x119be6),_0x45c042=_0x5b00e5=>_0x5085a0(async()=>{const _0x5dd347=_0x4aab30;if(_0x544c76['IpCyb'](_0x544c76[_0x5dd347(0x1f9)],_0x544c76['aLuka']))_0x708765[0x0]&&_0x55f1e3[_0x5dd347(0x1cd)](_0x5dd347(0x220)+_0x5acfd8[0x1]+_0x5dd347(0x1dd),_0x524aa5[0x0]);else return await _0x146c16['emit'](_0x544c76[_0x5dd347(0x203)],_0x5b00e5),_0x229420[_0x5dd347(0x1ee)](_0x5b00e5,_0x58c1ee);});Promise['all'](_0x38ece2['map'](_0x3fae39=>_0x45c042(_0x3fae39)[_0x4aab30(0x246)](_0x7ca7f9=>_0x146c16[_0x4aab30(0x247)](_0x4aab30(0x1f6),[_0x3fae39['configuration'][_0x4aab30(0x1ec)],_0x7ca7f9]),_0x388163=>_0x146c16[_0x4aab30(0x247)](_0x4aab30(0x20d),[_0x3fae39,_0x388163]))))[_0x4aab30(0x246)](_0xb8d601,_0xb8d601);}),exports['parallelCucumberRun']=(_0x5bc119,_0x575b54,_0x26ecdd,_0xc92e3d,_0x47c293)=>{const _0x998c9=a23_0x27129d,_0x31328a={'WUYBT':function(_0x321316,_0x2f6809){return _0x321316!==_0x2f6809;},'lbbKr':_0x998c9(0x239),'qspbB':function(_0x27996a,_0x551ba7){return _0x27996a===_0x551ba7;},'uEHGS':'nNGTg','wloqq':_0x998c9(0x235),'zuYlV':function(_0x51ee0a,_0x37d99d){return _0x51ee0a!==_0x37d99d;},'BQgqu':_0x998c9(0x202),'rXaCI':_0x998c9(0x214),'AmTTQ':function(_0x3a67fd,_0x4a0190){return _0x3a67fd(_0x4a0190);},'lUzUP':'failureCount','isQjK':function(_0x419938,_0x1699c6){return _0x419938+_0x1699c6;},'GouWY':_0x998c9(0x1d0),'AyZhL':_0x998c9(0x1e8),'zaDow':_0x998c9(0x1fb),'QLWDl':'cucumberWorker','VsNne':_0x998c9(0x212),'ONHXA':_0x998c9(0x23b),'oZNDv':_0x998c9(0x201),'mWJUm':_0x998c9(0x24a),'obYMv':function(_0xd8ed05,_0xc9f9f2){return _0xd8ed05(_0xc9f9f2);}};return new Promise(_0x395df7=>{const _0x3e0f18=_0x998c9,_0x3cd3ba={'GBizf':_0x31328a[_0x3e0f18(0x241)],'KQzwE':function(_0x5f394c,_0x39555a){const _0x12ca4e=_0x3e0f18;return _0x31328a[_0x12ca4e(0x1e2)](_0x5f394c,_0x39555a);},'JJnuv':_0x31328a[_0x3e0f18(0x1f1)],'Jauyr':_0x31328a[_0x3e0f18(0x1ef)]},_0x1c8437=[],_0x56e94b=new Worker(require['resolve'](_0x31328a[_0x3e0f18(0x223)],{'exposedMethods':[_0x31328a[_0x3e0f18(0x1cc)]],'forkOptions':{'serialization':_0x31328a[_0x3e0f18(0x213)],'stdio':_0x31328a[_0x3e0f18(0x20b)]},'numWorkers':_0x5bc119['length']})),_0x1cbe71=new Emittery();_0x1cbe71['on'](_0x31328a[_0x3e0f18(0x219)],_0x37ec99=>{const _0x5011d0=_0x3e0f18;_0x31328a['WUYBT'](_0x31328a[_0x5011d0(0x1de)],_0x31328a[_0x5011d0(0x1de)])?_0x4cc283[_0x5011d0(0x22f)]([_0x566813[0x0],_0x18019e[0x1]]):_0x1c8437['push']([_0x37ec99[0x0],_0x37ec99[0x1]]);}),_0x1cbe71['on'](_0x31328a[_0x3e0f18(0x204)],_0x19f6ad=>console[_0x3e0f18(0x22e)](_0x19f6ad[0x1]));if(_0x56e94b[_0x3e0f18(0x1e3)]())_0x56e94b['getStdout']()[_0x3e0f18(0x23b)](process[_0x3e0f18(0x1f8)]);if(_0x56e94b[_0x3e0f18(0x1f4)]())_0x56e94b[_0x3e0f18(0x1f4)]()['pipe'](process[_0x3e0f18(0x228)]);const _0x51e621=async()=>{const _0x302d34=_0x3e0f18;if(_0x31328a[_0x302d34(0x1fc)](_0x31328a['uEHGS'],_0x31328a[_0x302d34(0x21e)]))_0x52c2c7=_0x4292f8;else{const {forceExited:_0x497542}=await _0x56e94b[_0x302d34(0x208)]();_0x497542&&(_0x31328a[_0x302d34(0x248)](_0x31328a[_0x302d34(0x1d2)],_0x31328a[_0x302d34(0x1d2)])?(_0xbe535[_0x2c54ae[0x0]][_0x3cd3ba[_0x302d34(0x206)]]=_0x3cd3ba['KQzwE'](_0x212bf5[_0xe5a044[0x0]][_0x3cd3ba[_0x302d34(0x206)]],_0x1853c7[0x1][_0x3cd3ba[_0x302d34(0x206)]]),_0x51b308[_0x40fc42[0x0]][_0x3cd3ba['JJnuv']]=[..._0x5d1bcd[_0x542074[0x0]][_0x3cd3ba[_0x302d34(0x238)]],..._0x1d86ee[0x1][_0x3cd3ba['JJnuv']]]):console[_0x302d34(0x1eb)](_0x31328a[_0x302d34(0x1df)])),_0x31328a['AmTTQ'](_0x395df7,_0x1c8437);}},_0x193cdb=_0x31328a[_0x3e0f18(0x209)](throat,_0x5bc119['length']),_0x9aabf0=_0x2ad5e0=>_0x193cdb(async()=>{const _0x5dd925=_0x3e0f18;return await _0x1cbe71[_0x5dd925(0x247)](_0x3cd3ba[_0x5dd925(0x236)],_0x2ad5e0),_0x56e94b['cucumberWorker'](_0x2ad5e0,_0x575b54,_0x26ecdd,_0xc92e3d,_0x47c293);});Promise[_0x3e0f18(0x207)](_0x5bc119['map'](_0x10f963=>_0x9aabf0(_0x10f963)[_0x3e0f18(0x246)](_0x44dd95=>_0x1cbe71[_0x3e0f18(0x247)](_0x3e0f18(0x201),[_0x10f963,_0x44dd95]),_0x227726=>_0x1cbe71['emit'](_0x3e0f18(0x24a),[_0x10f963,_0x227726]))))[_0x3e0f18(0x246)](_0x51e621,_0x51e621);});},exports[a23_0x27129d(0x1d6)]=(_0x32460f,_0x32e915)=>new Promise(_0x1e2539=>{const _0x24133e=a23_0x27129d,_0x2ea11d={'KBKwh':function(_0x4a4d72,_0x18cb7e){return _0x4a4d72===_0x18cb7e;},'taidG':function(_0x378698,_0x56330b){return _0x378698!==_0x56330b;},'jhPXn':_0x24133e(0x24f),'QVegJ':_0x24133e(0x214),'ZgXHj':function(_0x20cbf8,_0x37939d){return _0x20cbf8(_0x37939d);},'lqhim':_0x24133e(0x1fb),'tnJPz':'vanillaWorker','nNnjU':_0x24133e(0x212),'sPDfS':_0x24133e(0x23b),'ZvLWF':'test-file-success','HroAP':'test-file-failure','egKij':function(_0x1aa369,_0x2d5efc){return _0x1aa369(_0x2d5efc);}},_0x1487eb={},_0x5cf044=new Worker(require[_0x24133e(0x225)](_0x2ea11d[_0x24133e(0x22a)],{'exposedMethods':[_0x2ea11d[_0x24133e(0x243)]],'forkOptions':{'serialization':_0x2ea11d[_0x24133e(0x211)],'stdio':_0x2ea11d[_0x24133e(0x1d4)]},'numWorkers':_0x32e915})),_0x4f2b09=new Emittery();_0x4f2b09['on'](_0x2ea11d[_0x24133e(0x1e0)],_0x5f0727=>{const _0x3a2bd9=_0x24133e;_0x5f0727[0x0]&&logger[_0x3a2bd9(0x1cd)]('Running\x20'+_0x5f0727[0x1]+'\x20for',_0x5f0727[0x0]);}),_0x4f2b09['on'](_0x2ea11d['HroAP'],_0x3563c6=>console[_0x24133e(0x22e)](_0x3563c6[0x1]));if(_0x5cf044[_0x24133e(0x1e3)]())_0x5cf044['getStdout']()[_0x24133e(0x23b)](process[_0x24133e(0x1f8)]);if(_0x5cf044[_0x24133e(0x1f4)]())_0x5cf044[_0x24133e(0x1f4)]()[_0x24133e(0x23b)](process['stderr']);const _0x1a775d=async()=>{const _0x6fa1e9=_0x24133e,_0x1418e2={'vPhVL':function(_0x519873,_0x4c8764){return _0x2ea11d['KBKwh'](_0x519873,_0x4c8764);},'YjsLd':function(_0x3aa645,_0x2cbd94){const _0xf15ed=a23_0xf357;return _0x2ea11d[_0xf15ed(0x1fd)](_0x3aa645,_0x2cbd94);},'nAdvK':_0x2ea11d[_0x6fa1e9(0x24b)]};let _0x2983af=0x0;const _0x29c511=_0x5cf044['_workerPool'][_0x6fa1e9(0x227)](),_0xa8be55=()=>{},_0x5096f4=_0x29c511[_0x6fa1e9(0x215)](async _0x56e25f=>{const _0x4b18ea=_0x6fa1e9;_0x56e25f[_0x4b18ea(0x1f0)]([0x2,![]],_0xa8be55,_0xa8be55,_0xa8be55),_0x56e25f[_0x4b18ea(0x21f)]['on'](_0x1418e2['nAdvK'],_0x149dab=>{const _0x51c01f=_0x4b18ea;_0x1418e2[_0x51c01f(0x23e)](_0x2983af,0x0)&&_0x1418e2[_0x51c01f(0x221)](_0x149dab,0x0)&&(_0x2983af=_0x149dab);}),await _0x56e25f['waitForExit']();});await Promise[_0x6fa1e9(0x207)](_0x5096f4),process[_0x6fa1e9(0x1dc)]=_0x2983af;const {forceExited:_0x56e449}=await _0x5cf044[_0x6fa1e9(0x208)]();_0x56e449&&console[_0x6fa1e9(0x1eb)](_0x2ea11d[_0x6fa1e9(0x23a)]),_0x2ea11d[_0x6fa1e9(0x205)](_0x1e2539,_0x1487eb);},_0x45b9cf=_0x2ea11d[_0x24133e(0x1d5)](throat,_0x32e915),_0x52401d=_0x36abf9=>_0x45b9cf(async()=>{const _0x16d611=_0x24133e;return _0x5cf044[_0x16d611(0x23d)](_0x36abf9);});Promise[_0x24133e(0x207)](_0x32460f[_0x24133e(0x215)](_0x3b84cc=>_0x52401d(_0x3b84cc)[_0x24133e(0x246)](_0x535c95=>_0x4f2b09[_0x24133e(0x247)]('test-file-success',[_0x3b84cc[_0x24133e(0x1e5)]['platform'],_0x3b84cc['configuration']['file']]),_0x39de2f=>_0x4f2b09[_0x24133e(0x247)](_0x24133e(0x20d),[_0x3b84cc,_0x39de2f]))))['then'](_0x1a775d,_0x1a775d);});
|
|
1
|
+
const a23_0x5ec640=a23_0x4d57;function a23_0x4d57(_0x2e1d54,_0x525aab){const _0x139fe3=a23_0x139f();return a23_0x4d57=function(_0x4d5723,_0x1c88df){_0x4d5723=_0x4d5723-0x19a;let _0x3af260=_0x139fe3[_0x4d5723];return _0x3af260;},a23_0x4d57(_0x2e1d54,_0x525aab);}(function(_0x5da030,_0xabbc71){const _0x1298de=a23_0x4d57,_0x33bff9=_0x5da030();while(!![]){try{const _0x4b33=parseInt(_0x1298de(0x1ff))/0x1+-parseInt(_0x1298de(0x20f))/0x2*(parseInt(_0x1298de(0x1df))/0x3)+-parseInt(_0x1298de(0x1fa))/0x4+parseInt(_0x1298de(0x1ee))/0x5+-parseInt(_0x1298de(0x20c))/0x6*(-parseInt(_0x1298de(0x1bc))/0x7)+parseInt(_0x1298de(0x1b6))/0x8+-parseInt(_0x1298de(0x1e9))/0x9;if(_0x4b33===_0xabbc71)break;else _0x33bff9['push'](_0x33bff9['shift']());}catch(_0x20969d){_0x33bff9['push'](_0x33bff9['shift']());}}}(a23_0x139f,0x59bc9));const Worker=require(a23_0x5ec640(0x1b7))[a23_0x5ec640(0x1d4)],Emittery=require('emittery'),throat=require(a23_0x5ec640(0x1c1)),logger=require(a23_0x5ec640(0x1a0))[a23_0x5ec640(0x200)],{launchTestSession,stopBuildUpstream,isTestObservabilitySession}=require(a23_0x5ec640(0x1c0));exports['parallelTestRun']=(_0x2a8f31,_0x25c776,_0x28df9f)=>new Promise(async _0x186d34=>{const _0xabf176=a23_0x5ec640,_0x458187={'KRXbJ':_0xabf176(0x1ea),'uqkQv':function(_0x57a76e,_0x32a96b){return _0x57a76e+_0x32a96b;},'CkzyD':'results','BGXrP':'Workers\x20failed\x20to\x20exit\x20gracefully','pZBWP':function(_0x1dff38,_0xf696d){return _0x1dff38===_0xf696d;},'fVjYs':function(_0x1777ce,_0xf9837d){return _0x1777ce!==_0xf9837d;},'Fujnk':function(_0x3fbaa7,_0x1413e1){return _0x3fbaa7===_0x1413e1;},'QxVOo':_0xabf176(0x1da),'PbDUo':_0xabf176(0x207),'gWgCa':_0xabf176(0x1e8),'HUTsc':function(_0x1a306c,_0x57c3f9){return _0x1a306c+_0x57c3f9;},'SIjLh':_0xabf176(0x1fc),'zkYfw':function(_0x1003d2,_0x10c4e5){return _0x1003d2===_0x10c4e5;},'tPTzu':_0xabf176(0x1f4),'eZQiG':'FvcpC','tCRzF':function(_0x4c3af1){return _0x4c3af1();},'DMBKG':_0xabf176(0x1b9),'RVxRf':'tapbV','UJFmn':function(_0x2098c6,_0x4d80fa){return _0x2098c6(_0x4d80fa);},'vzgEx':function(_0x29d9fa,_0x91c6a6){return _0x29d9fa===_0x91c6a6;},'NjqdF':_0xabf176(0x1f3),'LxEoS':_0xabf176(0x1c6),'vlozx':function(_0xcc3c9d,_0x12d7bb){return _0xcc3c9d!==_0x12d7bb;},'Ejqzp':_0xabf176(0x19c),'wWTcV':_0xabf176(0x1de),'QilQT':_0xabf176(0x203),'TzaZm':'json','KChiQ':_0xabf176(0x1f0),'EtqmW':'test-file-success','hTSRI':'test-file-failure','PHAyP':function(_0x13d53b,_0x916922){return _0x13d53b(_0x916922);}},_0x51be64={};if(_0x458187[_0xabf176(0x1a9)](isTestObservabilitySession)){if(_0x458187[_0xabf176(0x1c8)](_0x458187[_0xabf176(0x19e)],_0x458187['Ejqzp']))_0x3e0ba4[_0x25c9b1[0x0]][_0x458187[_0xabf176(0x1a8)]]=_0x458187[_0xabf176(0x1a7)](_0x161627[_0x2bee49[0x0]][_0x458187[_0xabf176(0x1a8)]],_0x5210b4[0x1][_0x458187[_0xabf176(0x1a8)]]),_0x3cb971[_0x2c5456[0x0]][_0x458187[_0xabf176(0x1e1)]]=[..._0x356504[_0x167a65[0x0]][_0x458187[_0xabf176(0x1e1)]],..._0x2ad032[0x1][_0x458187[_0xabf176(0x1e1)]]];else{const _0x2434f6={..._0x28df9f};_0x2434f6['root_dir_path']='';const [_0x4711aa,_0x3a1689,_0x1754d1]=await _0x458187[_0xabf176(0x1dd)](launchTestSession,_0x2434f6);process['env'][_0xabf176(0x20a)]=_0x4711aa,process['env'][_0xabf176(0x1b3)]=_0x3a1689,process[_0xabf176(0x1b4)][_0xabf176(0x210)]=_0x1754d1;}}const _0x15c1cf=new Worker(require[_0xabf176(0x201)](_0x458187['wWTcV'],{'exposedMethods':[_0x458187[_0xabf176(0x1b8)]],'forkOptions':{'serialization':_0x458187[_0xabf176(0x1fd)],'stdio':_0x458187['KChiQ']},'numWorkers':_0x25c776})),_0x40d516=new Emittery();_0x40d516['on'](_0x458187[_0xabf176(0x1c3)],_0x393b0d=>{const _0xee02b1=_0xabf176;if(_0x458187[_0xee02b1(0x1f2)](_0x458187[_0xee02b1(0x1a6)],_0x458187[_0xee02b1(0x1a6)])){if(_0x51be64[_0x393b0d[0x0]]){if(_0x458187[_0xee02b1(0x209)](_0x458187['PbDUo'],_0x458187['gWgCa']))_0x51be64[_0x393b0d[0x0]][_0x458187[_0xee02b1(0x1a8)]]=_0x458187[_0xee02b1(0x1f1)](_0x51be64[_0x393b0d[0x0]][_0x458187[_0xee02b1(0x1a8)]],_0x393b0d[0x1][_0x458187[_0xee02b1(0x1a8)]]),_0x51be64[_0x393b0d[0x0]][_0x458187[_0xee02b1(0x1e1)]]=[..._0x51be64[_0x393b0d[0x0]][_0x458187[_0xee02b1(0x1e1)]],..._0x393b0d[0x1][_0x458187[_0xee02b1(0x1e1)]]];else{const _0x505b53={};_0x505b53[_0xee02b1(0x1ea)]=_0x407812[0x1][_0x458187['KRXbJ']],_0x505b53[_0xee02b1(0x1c4)]=[..._0x4174c2[0x1][_0x458187['CkzyD']]],_0x2e78a6[_0x405958[0x0]]=_0x505b53;}}else _0x458187[_0xee02b1(0x1f2)](_0x458187[_0xee02b1(0x1f8)],_0x458187[_0xee02b1(0x1f8)])?_0x51be64[_0x393b0d[0x0]]={'failureCount':_0x393b0d[0x1][_0x458187[_0xee02b1(0x1a8)]],'results':[..._0x393b0d[0x1][_0x458187['CkzyD']]]}:_0xe7464c['error'](_0x458187[_0xee02b1(0x1db)]);}else _0x458187['pZBWP'](_0x47b1a8,0x0)&&_0x458187[_0xee02b1(0x209)](_0x2b4598,0x0)&&(_0xd9b221=_0x50cbd1);}),_0x40d516['on'](_0x458187['hTSRI'],_0x46d901=>console[_0xabf176(0x20b)](_0x46d901[0x1]));if(_0x15c1cf[_0xabf176(0x20e)]())_0x15c1cf['getStdout']()[_0xabf176(0x1f0)](process['stdout']);if(_0x15c1cf[_0xabf176(0x1d7)]())_0x15c1cf[_0xabf176(0x1d7)]()['pipe'](process['stderr']);const _0x43969f=async()=>{const _0x4b9182=_0xabf176;if(_0x458187['zkYfw'](_0x458187['tPTzu'],_0x458187[_0x4b9182(0x206)])){const {forceExited:_0x1e0ded}=await _0x15c1cf[_0x4b9182(0x1e2)]();_0x1e0ded&&(_0x458187['pZBWP'](_0x458187['eZQiG'],_0x458187['eZQiG'])?console[_0x4b9182(0x1ae)](_0x458187['BGXrP']):_0x584858[0x0]&&_0x185440['info'](_0x4b9182(0x1ef)+_0x209202[0x1]+_0x4b9182(0x1cc),_0x3e666b[0x0])),_0x458187[_0x4b9182(0x1a9)](isTestObservabilitySession)&&(_0x458187[_0x4b9182(0x209)](_0x458187[_0x4b9182(0x1cd)],_0x458187[_0x4b9182(0x1eb)])?await _0x458187['tCRzF'](stopBuildUpstream):_0x1ceaf2['error'](_0x458187['BGXrP'])),_0x458187[_0x4b9182(0x1dd)](_0x186d34,_0x51be64);}else _0x4cc81e=_0x1241c7;},_0x38cf37=_0x458187[_0xabf176(0x1b2)](throat,_0x25c776),_0x199ef3=_0x50e1f8=>_0x38cf37(async()=>{const _0x218253=_0xabf176;if(_0x458187[_0x218253(0x1ca)](_0x458187[_0x218253(0x1ec)],_0x458187[_0x218253(0x1ec)]))return await _0x40d516[_0x218253(0x1bb)](_0x458187['LxEoS'],_0x50e1f8),_0x15c1cf['worker'](_0x50e1f8,_0x28df9f);else{if(_0x2fdad3[_0x29c2c6[0x0]])_0xc6faa[_0x521494[0x0]][_0x458187[_0x218253(0x1a8)]]=_0x458187[_0x218253(0x1a7)](_0xa69710[_0x84b7a1[0x0]][_0x458187[_0x218253(0x1a8)]],_0x1ff0c7[0x1][_0x458187[_0x218253(0x1a8)]]),_0x5eea21[_0x35f764[0x0]][_0x458187[_0x218253(0x1e1)]]=[..._0x5bb811[_0x51ef25[0x0]][_0x458187['CkzyD']],..._0x1d0d07[0x1][_0x458187[_0x218253(0x1e1)]]];else{const _0x5234b5={};_0x5234b5[_0x218253(0x1ea)]=_0x4882ad[0x1][_0x458187[_0x218253(0x1a8)]],_0x5234b5[_0x218253(0x1c4)]=[..._0x5d2e47[0x1][_0x458187['CkzyD']]],_0x96b57b[_0x20fcae[0x0]]=_0x5234b5;}}});Promise[_0xabf176(0x1e0)](_0x2a8f31[_0xabf176(0x1c7)](_0x5a7e6c=>_0x199ef3(_0x5a7e6c)['then'](_0x52a276=>_0x40d516[_0xabf176(0x1bb)](_0xabf176(0x1be),[_0x5a7e6c[_0xabf176(0x1d9)][_0xabf176(0x1b0)],_0x52a276]),_0x342cc5=>_0x40d516[_0xabf176(0x1bb)](_0xabf176(0x1ad),[_0x5a7e6c,_0x342cc5]))))['then'](_0x43969f,_0x43969f);}),exports['parallelCucumberRun']=(_0x547767,_0x35b227,_0x456807,_0x1b5f6c,_0x26bac3)=>{const _0x53e13c=a23_0x5ec640,_0x1b3c0a={'XpgCL':function(_0xb04546,_0x1d69c2){return _0xb04546!==_0x1d69c2;},'VgUdA':_0x53e13c(0x1ce),'mWldD':'KVmAX','Iruby':_0x53e13c(0x19b),'ZmQrB':_0x53e13c(0x1fb),'KgfhY':_0x53e13c(0x1f5),'eCJzd':function(_0x8b6370,_0x108e33){return _0x8b6370===_0x108e33;},'GhPal':'ZpMyu','NOMEi':function(_0x39f183,_0x2d4175){return _0x39f183(_0x2d4175);},'QPihU':_0x53e13c(0x1de),'trcYb':_0x53e13c(0x1e7),'nRPTg':_0x53e13c(0x19f),'iGett':_0x53e13c(0x1f0),'ZLYJI':_0x53e13c(0x1fe),'vcyoS':_0x53e13c(0x1b5)};return new Promise(_0x38f185=>{const _0x5e96be=_0x53e13c,_0x143ca8={'WBDPQ':_0x1b3c0a[_0x5e96be(0x1d0)],'QXuEK':function(_0x3706b6,_0x54dee8){return _0x1b3c0a['XpgCL'](_0x3706b6,_0x54dee8);},'taiWD':_0x1b3c0a[_0x5e96be(0x1d2)],'xbYmp':function(_0x588a3a,_0x415c8f){const _0x33ded0=_0x5e96be;return _0x1b3c0a[_0x33ded0(0x202)](_0x588a3a,_0x415c8f);},'nYANi':_0x1b3c0a[_0x5e96be(0x1d8)],'xSQLb':function(_0x1b56f9,_0x24a9d1){return _0x1b3c0a['NOMEi'](_0x1b56f9,_0x24a9d1);}},_0x28d6e7=[],_0x24fa5d=new Worker(require[_0x5e96be(0x201)](_0x1b3c0a[_0x5e96be(0x1a2)],{'exposedMethods':[_0x1b3c0a[_0x5e96be(0x1cf)]],'forkOptions':{'serialization':_0x1b3c0a[_0x5e96be(0x1e3)],'stdio':_0x1b3c0a[_0x5e96be(0x1c2)]},'numWorkers':_0x547767[_0x5e96be(0x1d3)]})),_0x3aa10b=new Emittery();_0x3aa10b['on'](_0x1b3c0a[_0x5e96be(0x1b1)],_0x50f5ac=>{const _0xfffb0d=_0x5e96be;if(_0x1b3c0a['XpgCL'](_0x1b3c0a[_0xfffb0d(0x1dc)],_0x1b3c0a[_0xfffb0d(0x1c9)]))_0x28d6e7['push']([_0x50f5ac[0x0],_0x50f5ac[0x1]]);else return _0x4898e2[_0xfffb0d(0x1f6)](_0x1f0ab1);}),_0x3aa10b['on'](_0x1b3c0a[_0x5e96be(0x1e6)],_0x44cf4c=>console[_0x5e96be(0x20b)](_0x44cf4c[0x1]));if(_0x24fa5d[_0x5e96be(0x20e)]())_0x24fa5d['getStdout']()[_0x5e96be(0x1f0)](process[_0x5e96be(0x1bf)]);if(_0x24fa5d['getStderr']())_0x24fa5d[_0x5e96be(0x1d7)]()[_0x5e96be(0x1f0)](process[_0x5e96be(0x1ba)]);const _0x2030ba=async()=>{const _0x42d6dd=_0x5e96be,_0x3b4b30={};_0x3b4b30[_0x42d6dd(0x208)]=_0x143ca8[_0x42d6dd(0x19a)];const _0x335fea=_0x3b4b30;if(_0x143ca8[_0x42d6dd(0x1e4)](_0x143ca8[_0x42d6dd(0x1ac)],_0x143ca8[_0x42d6dd(0x1ac)]))_0x69b07d['push']([_0x53221c[0x0],_0x24ed44[0x1]]);else{const {forceExited:_0x3045a9}=await _0x24fa5d['end']();_0x3045a9&&(_0x143ca8[_0x42d6dd(0x1f9)](_0x143ca8[_0x42d6dd(0x204)],_0x143ca8[_0x42d6dd(0x204)])?console[_0x42d6dd(0x1ae)](_0x143ca8[_0x42d6dd(0x19a)]):_0x119a12[_0x42d6dd(0x1ae)](_0x335fea['IcgWL'])),_0x143ca8[_0x42d6dd(0x1d6)](_0x38f185,_0x28d6e7);}},_0x3f69b4=_0x1b3c0a[_0x5e96be(0x1ed)](throat,_0x547767['length']),_0x659ab3=_0x4090fe=>_0x3f69b4(async()=>{return await _0x3aa10b['emit'](_0x1b3c0a['Iruby'],_0x4090fe),_0x24fa5d['cucumberWorker'](_0x4090fe,_0x35b227,_0x456807,_0x1b5f6c,_0x26bac3);});Promise[_0x5e96be(0x1e0)](_0x547767['map'](_0x3bd41b=>_0x659ab3(_0x3bd41b)['then'](_0x165ce6=>_0x3aa10b[_0x5e96be(0x1bb)]('platform-run-success',[_0x3bd41b,_0x165ce6]),_0x2ba451=>_0x3aa10b['emit']('platform-run-failure',[_0x3bd41b,_0x2ba451]))))[_0x5e96be(0x1a3)](_0x2030ba,_0x2030ba);});},exports['parallelVanillaRun']=(_0x68587a,_0x54c9e9)=>new Promise(_0x1d58d8=>{const _0x3d3ab8=a23_0x5ec640,_0x6d5bbe={'bkxtg':function(_0x144b67,_0x545367){return _0x144b67===_0x545367;},'FrtiL':function(_0x427fe8,_0x5974e5){return _0x427fe8!==_0x5974e5;},'NeGgc':'exit','cPQWc':_0x3d3ab8(0x1fb),'GVICt':function(_0x4a0768,_0x385b05){return _0x4a0768(_0x385b05);},'YOGok':_0x3d3ab8(0x1de),'ldiSS':_0x3d3ab8(0x1f6),'YpVyc':_0x3d3ab8(0x19f),'zVbYZ':_0x3d3ab8(0x1f0),'UGdZQ':_0x3d3ab8(0x1be),'SgQKD':'test-file-failure'},_0x26ddad={},_0x425e93=new Worker(require[_0x3d3ab8(0x201)](_0x6d5bbe[_0x3d3ab8(0x205)],{'exposedMethods':[_0x6d5bbe[_0x3d3ab8(0x1a1)]],'forkOptions':{'serialization':_0x6d5bbe[_0x3d3ab8(0x1aa)],'stdio':_0x6d5bbe[_0x3d3ab8(0x1c5)]},'numWorkers':_0x54c9e9})),_0x31a40d=new Emittery();_0x31a40d['on'](_0x6d5bbe[_0x3d3ab8(0x1bd)],_0x4a3c6b=>{const _0x160b2b=_0x3d3ab8;_0x4a3c6b[0x0]&&logger[_0x160b2b(0x1d1)](_0x160b2b(0x1ef)+_0x4a3c6b[0x1]+_0x160b2b(0x1cc),_0x4a3c6b[0x0]);}),_0x31a40d['on'](_0x6d5bbe[_0x3d3ab8(0x1af)],_0x3e99df=>console[_0x3d3ab8(0x20b)](_0x3e99df[0x1]));if(_0x425e93[_0x3d3ab8(0x20e)]())_0x425e93[_0x3d3ab8(0x20e)]()[_0x3d3ab8(0x1f0)](process['stdout']);if(_0x425e93['getStderr']())_0x425e93[_0x3d3ab8(0x1d7)]()[_0x3d3ab8(0x1f0)](process[_0x3d3ab8(0x1ba)]);const _0x5dfc9a=async()=>{const _0x1729f7=_0x3d3ab8;let _0x3cf19f=0x0;const _0x5de048=_0x425e93[_0x1729f7(0x19d)][_0x1729f7(0x1ab)](),_0x2ab730=()=>{},_0x25da32=_0x5de048[_0x1729f7(0x1c7)](async _0x49415f=>{const _0x464436=_0x1729f7,_0x30a32c={'zssSl':function(_0x5d0cb9,_0x41edc2){const _0x6c4102=a23_0x4d57;return _0x6d5bbe[_0x6c4102(0x1d5)](_0x5d0cb9,_0x41edc2);},'kKGhZ':function(_0x2ba92f,_0x41539d){const _0x134cab=a23_0x4d57;return _0x6d5bbe[_0x134cab(0x1e5)](_0x2ba92f,_0x41539d);}};_0x49415f['send']([0x2,![]],_0x2ab730,_0x2ab730,_0x2ab730),_0x49415f[_0x464436(0x20d)]['on'](_0x6d5bbe[_0x464436(0x1cb)],_0x3e23c0=>{_0x30a32c['zssSl'](_0x3cf19f,0x0)&&_0x30a32c['kKGhZ'](_0x3e23c0,0x0)&&(_0x3cf19f=_0x3e23c0);}),await _0x49415f[_0x464436(0x1a4)]();});await Promise[_0x1729f7(0x1e0)](_0x25da32),process['exitCode']=_0x3cf19f;const {forceExited:_0x1e9e5d}=await _0x425e93[_0x1729f7(0x1e2)]();_0x1e9e5d&&console[_0x1729f7(0x1ae)](_0x6d5bbe[_0x1729f7(0x1a5)]),_0x6d5bbe[_0x1729f7(0x1f7)](_0x1d58d8,_0x26ddad);},_0x34e27d=_0x6d5bbe['GVICt'](throat,_0x54c9e9),_0x43d824=_0x29b303=>_0x34e27d(async()=>{const _0x4978d4=_0x3d3ab8;return _0x425e93[_0x4978d4(0x1f6)](_0x29b303);});Promise[_0x3d3ab8(0x1e0)](_0x68587a[_0x3d3ab8(0x1c7)](_0x550e28=>_0x43d824(_0x550e28)[_0x3d3ab8(0x1a3)](_0x332f35=>_0x31a40d['emit'](_0x3d3ab8(0x1be),[_0x550e28['configuration'][_0x3d3ab8(0x1b0)],_0x550e28[_0x3d3ab8(0x1d9)]['file']]),_0x514640=>_0x31a40d['emit']('test-file-failure',[_0x550e28,_0x514640]))))['then'](_0x5dfc9a,_0x5dfc9a);});function a23_0x139f(){const _0x109421=['KgfhY','length','Worker','bkxtg','xSQLb','getStderr','GhPal','configuration','ZhRVx','BGXrP','VgUdA','UJFmn','./testWorker.js','24BiSCsf','all','CkzyD','end','nRPTg','QXuEK','FrtiL','vcyoS','cucumberWorker','wpozn','4603788XOQzpJ','failureCount','RVxRf','NjqdF','NOMEi','3437725ycaUtM','Running\x20','pipe','HUTsc','Fujnk','wIOem','EaPki','AWkEE','vanillaWorker','GVICt','SIjLh','xbYmp','1831996cPvEWu','Workers\x20failed\x20to\x20exit\x20gracefully','DYKtB','TzaZm','platform-run-success','240766AUHxZd','winstonLogger','resolve','eCJzd','worker','nYANi','YOGok','tPTzu','hNaOx','IcgWL','fVjYs','BS_TESTOPS_JWT','log','66oPsZal','_child','getStdout','74300QaLNtT','BS_TESTOPS_ALLOW_SCREENSHOTS','WBDPQ','platform-run-start','dtBJh','_workerPool','Ejqzp','json','../../helpers/logger','ldiSS','QPihU','then','waitForExit','cPQWc','QxVOo','uqkQv','KRXbJ','tCRzF','YpVyc','getWorkers','taiWD','test-file-failure','error','SgQKD','platform','ZLYJI','PHAyP','BS_TESTOPS_BUILD_HASHED_ID','env','platform-run-failure','3695392RBwIrb','jest-worker','QilQT','kwRTM','stderr','emit','155309NpxpOO','UGdZQ','test-file-success','stdout','../mocha/test-observability/helper','throat','iGett','EtqmW','results','zVbYZ','test-file-start','map','vlozx','mWldD','vzgEx','NeGgc','\x20for','DMBKG','cMIRZ','trcYb','ZmQrB','info'];a23_0x139f=function(){return _0x109421;};return a23_0x139f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a24_0x1e1e(){const _0x5037ef=['GkbBp','Qxkwc','91ybHpwm','70DvwuEI','62956IIYkUG','sBbxq','mocha','runCucumberTest','991353VxTCyk','KNkdd','ZmSpY','../launcher/launcher','runTest','1RKLeRQ','formatter','423918hmAqGi','run','vanilla','8uJutpX','2890701yCzeBb','160260JBdXAm','97266IPbyEF','395086TxgxJW','NMjHM'];a24_0x1e1e=function(){return _0x5037ef;};return a24_0x1e1e();}const a24_0x37a2c2=a24_0x2673;function a24_0x2673(_0x305374,_0x1898cb){const _0x1e1ebf=a24_0x1e1e();return a24_0x2673=function(_0x2673f6,_0x131f7d){_0x2673f6=_0x2673f6-0x192;let _0x330eb5=_0x1e1ebf[_0x2673f6];return _0x330eb5;},a24_0x2673(_0x305374,_0x1898cb);}(function(_0x4d1652,_0x4c15ac){const _0x3a8995=a24_0x2673,_0x424e26=_0x4d1652();while(!![]){try{const _0x1310af=parseInt(_0x3a8995(0x1a1))/0x1*(parseInt(_0x3a8995(0x192))/0x2)+parseInt(_0x3a8995(0x1a3))/0x3+-parseInt(_0x3a8995(0x198))/0x4+-parseInt(_0x3a8995(0x1a8))/0x5+-parseInt(_0x3a8995(0x1a9))/0x6*(-parseInt(_0x3a8995(0x196))/0x7)+parseInt(_0x3a8995(0x1a6))/0x8*(parseInt(_0x3a8995(0x1a7))/0x9)+-parseInt(_0x3a8995(0x197))/0xa*(parseInt(_0x3a8995(0x19c))/0xb);if(_0x1310af===_0x4c15ac)break;else _0x424e26['push'](_0x424e26['shift']());}catch(_0x5e738b){_0x424e26['push'](_0x424e26['shift']());}}}(a24_0x1e1e,0x2ee81),exports[a24_0x37a2c2(0x1a0)]=async(_0x3f9e6b,_0x40773d)=>{const _0x21897c=a24_0x37a2c2,_0x46ac22={'irqdV':function(_0x1c079f,_0x39c143){return _0x1c079f(_0x39c143);},'ZOjxo':_0x21897c(0x19f),'Qxkwc':_0x21897c(0x19a)},_0x45c5e4=_0x46ac22['irqdV'](require,_0x46ac22['ZOjxo']),_0x4bfa4c=new _0x45c5e4(_0x46ac22[_0x21897c(0x195)],_0x3f9e6b,_0x40773d);return await _0x4bfa4c[_0x21897c(0x1a4)]();},exports[a24_0x37a2c2(0x19b)]=async(_0xc0c639,_0x21c00b,_0x2f8a28,_0x2dcfcc,_0x3f1abc)=>{const _0xcc2969=a24_0x37a2c2,_0xd16c93={'ZmSpY':function(_0x1006fb,_0x2a982b){return _0x1006fb(_0x2a982b);},'sBbxq':_0xcc2969(0x19f),'PgEnj':'cucumber-js'},_0x20229a={'capability':_0xc0c639,..._0x21c00b},_0x953e67={};_0x953e67['configuration']=_0x20229a,_0x953e67[_0xcc2969(0x1a2)]=_0x3f1abc;let _0x513846=_0x953e67;const _0x4feece=_0xd16c93[_0xcc2969(0x19e)](require,_0xd16c93[_0xcc2969(0x199)]),_0xb35d11=new _0x4feece(_0xd16c93['PgEnj'],_0x513846,_0x2f8a28,_0x2dcfcc);return await _0xb35d11[_0xcc2969(0x1a4)]();},exports['runVanillaTest']=async _0x1994e2=>{const _0x6e6d1d=a24_0x37a2c2,_0x5bcae2={'NMjHM':function(_0x5b951b,_0x59e621){return _0x5b951b(_0x59e621);},'GkbBp':'../launcher/launcher','KNkdd':_0x6e6d1d(0x1a5)},_0xb59458=_0x5bcae2[_0x6e6d1d(0x193)](require,_0x5bcae2[_0x6e6d1d(0x194)]),_0x5cad26=new _0xb59458(_0x5bcae2[_0x6e6d1d(0x19d)],_0x1994e2);return await _0x5cad26['run']();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a25_0x2e9cf6=a25_0x8be9;(function(_0x1896a9,_0x5bc5d7){const _0x559dfc=a25_0x8be9,_0x8508cf=_0x1896a9();while(!![]){try{const _0x1e48fe=parseInt(_0x559dfc(0x150))/0x1+parseInt(_0x559dfc(0x158))/0x2*(-parseInt(_0x559dfc(0x14f))/0x3)+parseInt(_0x559dfc(0x154))/0x4+parseInt(_0x559dfc(0x153))/0x5+parseInt(_0x559dfc(0x14b))/0x6+parseInt(_0x559dfc(0x159))/0x7*(-parseInt(_0x559dfc(0x14c))/0x8)+-parseInt(_0x559dfc(0x157))/0x9;if(_0x1e48fe===_0x5bc5d7)break;else _0x8508cf['push'](_0x8508cf['shift']());}catch(_0x39b83f){_0x8508cf['push'](_0x8508cf['shift']());}}}(a25_0x4b3f,0xc8ff1));function a25_0x8be9(_0x3f4e69,_0x1c2080){const _0x4b3ff8=a25_0x4b3f();return a25_0x8be9=function(_0x8be953,_0xb5a4a9){_0x8be953=_0x8be953-0x14b;let _0x2bc141=_0x4b3ff8[_0x8be953];return _0x2bc141;},a25_0x8be9(_0x3f4e69,_0x1c2080);}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');function a25_0x4b3f(){const _0x3f9572=['MzhzF','2165676PImdvj','1190154Xdyxif','worker','vanillaWorker','6691735DBOQHD','2343076BuyFkQ','XjVPg','TiwWs','9663552ASFlqB','2PKLoMY','3934RscSit','3255870eOphgf','14776vafeAw','cucumberWorker'];a25_0x4b3f=function(){return _0x3f9572;};return a25_0x4b3f();}exports[a25_0x2e9cf6(0x151)]=async(_0x5cf4f2,_0x4fe742)=>{const _0x47386b=a25_0x2e9cf6,_0x231745={'TiwWs':function(_0x8939f2,_0x58f963,_0xa83e31){return _0x8939f2(_0x58f963,_0xa83e31);}};return await _0x231745[_0x47386b(0x156)](runTest,_0x5cf4f2,_0x4fe742);},exports[a25_0x2e9cf6(0x14d)]=async(_0xce5623,_0x205a14,_0x84b39d,_0x2adde6,_0x26ea79)=>{const _0x11f34e=a25_0x2e9cf6,_0x49197f={'MzhzF':function(_0x3a41a2,_0x4a7655,_0x27dc80,_0x181b72,_0x4e7c17,_0x27da02){return _0x3a41a2(_0x4a7655,_0x27dc80,_0x181b72,_0x4e7c17,_0x27da02);}};return await _0x49197f[_0x11f34e(0x14e)](runCucumberTest,_0xce5623,_0x205a14,_0x84b39d,_0x2adde6,_0x26ea79);},exports[a25_0x2e9cf6(0x152)]=async _0x5922bc=>{const _0x396be0=a25_0x2e9cf6,_0x39c6c8={'XjVPg':function(_0x1faa8e,_0x5ed757){return _0x1faa8e(_0x5ed757);}};return await _0x39c6c8[_0x396be0(0x155)](runVanillaTest,_0x5922bc);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a26_0x92158=a26_0x426e;(function(_0x21bb69,_0x43bffc){var _0x1c6767=a26_0x426e,_0x275738=_0x21bb69();while(!![]){try{var _0x1a7fe8=-parseInt(_0x1c6767(0xc0))/0x1+parseInt(_0x1c6767(0xaf))/0x2+-parseInt(_0x1c6767(0xa6))/0x3+-parseInt(_0x1c6767(0xbd))/0x4*(-parseInt(_0x1c6767(0xa2))/0x5)+-parseInt(_0x1c6767(0xac))/0x6+parseInt(_0x1c6767(0xb6))/0x7*(-parseInt(_0x1c6767(0xc3))/0x8)+parseInt(_0x1c6767(0xae))/0x9;if(_0x1a7fe8===_0x43bffc)break;else _0x275738['push'](_0x275738['shift']());}catch(_0x182c89){_0x275738['push'](_0x275738['shift']());}}}(a26_0x2bc8,0xad313));var a26_0x3a8cad={};a26_0x3a8cad[a26_0x92158(0xa0)]=a26_0x92158(0xa8),a26_0x3a8cad[a26_0x92158(0xab)]=a26_0x92158(0xb8);var a26_0x270bb1={};a26_0x270bb1['INFO']=a26_0x92158(0xbf);var a26_0x469be1={};a26_0x469be1[a26_0x92158(0xa0)]=a26_0x92158(0xbe);function a26_0x2bc8(){var _0x481fbd=['CUCUMBER','Run\x20nightwatch\x20tests\x20on\x20browserstack','acceptInsecureCerts','acceptSslCerts','1028yoAupT','Run\x20mocha\x20tests\x20on\x20browserstack','Run\x20jest\x20tests\x20on\x20browserstack','1189272asDXlb','browserVersion','edgeOptions','10214056sjxojD','NIGHTWATCH','INFO','chromeOptions','11860MzngMp','pageLoadStrategy','Run\x20cucumber-js\x20tests\x20on\x20browserstack','timeouts','2928201ztPizV','hubUrl','shows\x20version\x20information','strictFileInteractability','https://hub.browserstack.com/wd/hub','HELP','1609008EWrbws','acceptSslCert','22188285fvWdjY','2689380TwmONj','Run\x20js\x20tests\x20on\x20browserstack','VANILLA','ROOT_CAPS','browserName','unhandledPromptBehavior','JEST','7JOMGVX','exports','Specify\x20--help\x20for\x20available\x20options'];a26_0x2bc8=function(){return _0x481fbd;};return a26_0x2bc8();}var a26_0x16bf18={};a26_0x16bf18[a26_0x92158(0xa0)]=a26_0x92158(0xa4);var a26_0x3fae36={};a26_0x3fae36[a26_0x92158(0xa0)]=a26_0x92158(0xb0);var a26_0x200975={};a26_0x200975[a26_0x92158(0xa0)]=a26_0x92158(0xba);var a26_0x225a7c={};function a26_0x426e(_0x5c333a,_0x425ff7){var _0x2bc8ba=a26_0x2bc8();return a26_0x426e=function(_0x426e8a,_0x3d5dac){_0x426e8a=_0x426e8a-0xa0;var _0x180ca5=_0x2bc8ba[_0x426e8a];return _0x180ca5;},a26_0x426e(_0x5c333a,_0x425ff7);}a26_0x225a7c['VERSION']=a26_0x3a8cad,a26_0x225a7c[a26_0x92158(0xb5)]=a26_0x270bb1,a26_0x225a7c['MOCHA']=a26_0x469be1,a26_0x225a7c[a26_0x92158(0xb9)]=a26_0x16bf18,a26_0x225a7c[a26_0x92158(0xb1)]=a26_0x3fae36,a26_0x225a7c[a26_0x92158(0xc4)]=a26_0x200975,a26_0x225a7c['BSTACK_DELTA']=0x3c*0x3e8,a26_0x225a7c[a26_0x92158(0xa7)]=a26_0x92158(0xaa),a26_0x225a7c[a26_0x92158(0xb2)]=[a26_0x92158(0xbb),a26_0x92158(0xa3),a26_0x92158(0xa9),a26_0x92158(0xb4),a26_0x92158(0xa5),a26_0x92158(0xb3),a26_0x92158(0xc1),a26_0x92158(0xbc),a26_0x92158(0xad),a26_0x92158(0xa1),'firefoxOptions',a26_0x92158(0xc2),'ieOptions'],a26_0x225a7c['ROOT_REGEX']=/^[\w-]+:.*$/,module[a26_0x92158(0xb7)]=a26_0x225a7c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a27_0x4819(_0x476595,_0xa7302a){const _0x1d984e=a27_0x1d98();return a27_0x4819=function(_0x48198e,_0x19c202){_0x48198e=_0x48198e-0x1a8;let _0xcb8596=_0x1d984e[_0x48198e];return _0xcb8596;},a27_0x4819(_0x476595,_0xa7302a);}function a27_0x1d98(){const _0x5dcee0=['10QLxofT','./logReportingAPI','join','88823kNeSFN','level','1491328JHRSwQ','159108hUJvQr','66492RgONMw','layout','56AdEinR','data','timezoneOffset','2277SkdRhs','135861fLgUYS','6406790JRdbKt','log','1336gAbyPh','colouredLayout','708dUCZrO','type','63669VtqjIQ','levelStr'];a27_0x1d98=function(){return _0x5dcee0;};return a27_0x1d98();}const a27_0x243c7a=a27_0x4819;(function(_0x5000b8,_0x227e6f){const _0x435837=a27_0x4819,_0xdf7be5=_0x5000b8();while(!![]){try{const _0x3394df=parseInt(_0x435837(0x1b8))/0x1+-parseInt(_0x435837(0x1b4))/0x2*(-parseInt(_0x435837(0x1a9))/0x3)+parseInt(_0x435837(0x1b0))/0x4*(parseInt(_0x435837(0x1ab))/0x5)+parseInt(_0x435837(0x1bd))/0x6*(parseInt(_0x435837(0x1ae))/0x7)+-parseInt(_0x435837(0x1bb))/0x8*(-parseInt(_0x435837(0x1b2))/0x9)+-parseInt(_0x435837(0x1b9))/0xa+parseInt(_0x435837(0x1b7))/0xb*(-parseInt(_0x435837(0x1b1))/0xc);if(_0x3394df===_0x227e6f)break;else _0xdf7be5['push'](_0xdf7be5['shift']());}catch(_0x1234b7){_0xdf7be5['push'](_0xdf7be5['shift']());}}}(a27_0x1d98,0xc8947));const logReportingAPI=require(a27_0x243c7a(0x1ac)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x46ce8f,_0x5cb02b){return _0x28c1bb=>{const _0x193fe2=a27_0x4819;BSTestOpsLogger[_0x193fe2(0x1ba)]({'level':_0x28c1bb[_0x193fe2(0x1af)]?_0x28c1bb[_0x193fe2(0x1af)][_0x193fe2(0x1aa)]:null,'message':_0x28c1bb['data']?_0x28c1bb[_0x193fe2(0x1b5)][_0x193fe2(0x1ad)]('\x20'):null});};}exports['configure']=(_0xf68288,_0x34d41c)=>{const _0x4859e1=a27_0x243c7a,_0x15bc24={'AdeyT':function(_0x321961,_0x593473,_0x5b3206){return _0x321961(_0x593473,_0x5b3206);}};let _0x5565b3=_0x34d41c[_0x4859e1(0x1bc)];return _0xf68288[_0x4859e1(0x1b3)]&&(_0x5565b3=_0x34d41c[_0x4859e1(0x1b3)](_0xf68288[_0x4859e1(0x1b3)][_0x4859e1(0x1a8)],_0xf68288[_0x4859e1(0x1b3)])),_0x15bc24['AdeyT'](BSTestOpsLog4JSAppender,_0x5565b3,_0xf68288[_0x4859e1(0x1b6)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a28_0x25d823=a28_0x3876;(function(_0x2e9184,_0x545ec4){const _0x2edbf1=a28_0x3876,_0x14856a=_0x2e9184();while(!![]){try{const _0x44bc53=-parseInt(_0x2edbf1(0xf6))/0x1*(parseInt(_0x2edbf1(0x102))/0x2)+parseInt(_0x2edbf1(0xfd))/0x3*(-parseInt(_0x2edbf1(0x106))/0x4)+-parseInt(_0x2edbf1(0x109))/0x5+-parseInt(_0x2edbf1(0xf0))/0x6*(-parseInt(_0x2edbf1(0x104))/0x7)+-parseInt(_0x2edbf1(0xf5))/0x8+parseInt(_0x2edbf1(0xf2))/0x9*(-parseInt(_0x2edbf1(0xf7))/0xa)+parseInt(_0x2edbf1(0xf9))/0xb;if(_0x44bc53===_0x545ec4)break;else _0x14856a['push'](_0x14856a['shift']());}catch(_0x459d58){_0x14856a['push'](_0x14856a['shift']());}}}(a28_0x2624,0xe4f59));const Transport=require(a28_0x25d823(0xec)),{consoleHolder}=require(a28_0x25d823(0xfa)),a28_0x374bbd={};a28_0x374bbd[a28_0x25d823(0x107)]='INFO',a28_0x374bbd[a28_0x25d823(0xf8)]=a28_0x25d823(0xf8),a28_0x374bbd['DEBUG']=a28_0x25d823(0x101),a28_0x374bbd[a28_0x25d823(0xf4)]=a28_0x25d823(0xf4),a28_0x374bbd[a28_0x25d823(0xfc)]=a28_0x25d823(0xfc);function a28_0x2624(){const _0x372d5e=['20556cfWdfJ','TEST_LOG','TRACE','12663128GaiUhw','1688987NvwaPT','1860YuMOsY','ERROR','64286750cjUYCr','../mocha/test-observability/constants','info','WARN','15wBZMUV','toISOString','WIQKy','toUpperCase','DEBUG','2QORBmh','exports','2417611BjOtnK','error','1243492fRRHln','INFO','log','3695VYNFmF','winston-transport','logToTestOps','emit','pid','6sOFrlN','toLowerCase'];a28_0x2624=function(){return _0x372d5e;};return a28_0x2624();}function a28_0x3876(_0x263152,_0x47e6aa){const _0x2624c0=a28_0x2624();return a28_0x3876=function(_0x3876c4,_0x4f2f4b){_0x3876c4=_0x3876c4-0xec;let _0x2e62bf=_0x2624c0[_0x3876c4];return _0x2e62bf;},a28_0x3876(_0x263152,_0x47e6aa);}const LOG_LEVELS=a28_0x374bbd;class logPatcher extends Transport{constructor(_0x2b71d4){super(_0x2b71d4);}[a28_0x25d823(0xed)]=(_0x2b0487=LOG_LEVELS[a28_0x25d823(0x107)],_0x1dc564=[''])=>{const _0x42a2ac=a28_0x25d823,_0x4105a2={};_0x4105a2[_0x42a2ac(0xff)]=_0x42a2ac(0xf3);const _0x1335f5=_0x4105a2;consoleHolder[_0x2b0487[_0x42a2ac(0xf1)]()](..._0x1dc564),process[_0x42a2ac(0xee)]('bs:addLog:'+process[_0x42a2ac(0xef)],{'timestamp':new Date()[_0x42a2ac(0xfe)](),'level':_0x2b0487[_0x42a2ac(0x100)](),'message':'\x22'+_0x1dc564['join'](',\x20')+'\x22','kind':_0x1335f5['WIQKy'],'http_response':{}});};['trace']=(..._0x5c1e9f)=>{const _0x4526bd=a28_0x25d823;this['logToTestOps'](LOG_LEVELS[_0x4526bd(0xf4)],_0x5c1e9f);};['debug']=(..._0xc35cff)=>{const _0x2042ef=a28_0x25d823;this[_0x2042ef(0xed)](LOG_LEVELS['DEBUG'],_0xc35cff);};[a28_0x25d823(0xfb)]=(..._0x1d7f88)=>{const _0x16db48=a28_0x25d823;this[_0x16db48(0xed)](LOG_LEVELS[_0x16db48(0x107)],_0x1d7f88);};['warn']=(..._0x253110)=>{const _0x5284c3=a28_0x25d823;this[_0x5284c3(0xed)](LOG_LEVELS[_0x5284c3(0xfc)],_0x253110);};[a28_0x25d823(0x105)]=(..._0x443339)=>{const _0x50340d=a28_0x25d823;this[_0x50340d(0xed)](LOG_LEVELS[_0x50340d(0xf8)],_0x443339);};[a28_0x25d823(0x108)]=(..._0x10a543)=>{const _0x528e4a=a28_0x25d823;this['logToTestOps'](LOG_LEVELS[_0x528e4a(0x107)],_0x10a543);};};module[a28_0x25d823(0x103)]=logPatcher;
|