browserstack-node-sdk 1.3.0 → 1.3.2
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
|
-
const a18_0xa90ad3=a18_0x257c;function a18_0x257c(_0x1720e8,_0x17661f){const _0x10ad79=a18_0x10ad();return a18_0x257c=function(_0x257c4c,_0xb42cb5){_0x257c4c=_0x257c4c-0xb5;let _0x1baed2=_0x10ad79[_0x257c4c];return _0x1baed2;},a18_0x257c(_0x1720e8,_0x17661f);}(function(_0x35290a,_0x6e5e71){const _0x57ecf0=a18_0x257c,_0x42040f=_0x35290a();while(!![]){try{const _0x3db15e=parseInt(_0x57ecf0(0xd4))/0x1*(-parseInt(_0x57ecf0(0x112))/0x2)+parseInt(_0x57ecf0(0xd2))/0x3*(-parseInt(_0x57ecf0(0x100))/0x4)+-parseInt(_0x57ecf0(0xfa))/0x5*(parseInt(_0x57ecf0(0xf1))/0x6)+parseInt(_0x57ecf0(0xe7))/0x7*(parseInt(_0x57ecf0(0x115))/0x8)+parseInt(_0x57ecf0(0xee))/0x9*(parseInt(_0x57ecf0(0xba))/0xa)+-parseInt(_0x57ecf0(0x11a))/0xb*(-parseInt(_0x57ecf0(0xe0))/0xc)+parseInt(_0x57ecf0(0xfb))/0xd*(parseInt(_0x57ecf0(0x102))/0xe);if(_0x3db15e===_0x6e5e71)break;else _0x42040f['push'](_0x42040f['shift']());}catch(_0x1a171e){_0x42040f['push'](_0x42040f['shift']());}}}(a18_0x10ad,0x8db2e));function a18_0x10ad(){const _0x392a34=['Ljihp','startEventBatchPolling','LSXwI','zRVoZ','ileuE','TestRunSkipped','84fcqjdr','rgDYZ','slice','76200siOQDg','LogCreated','pyQMI','LcvTv','started','44HTMhxD','VBQZv','JkgZG','api/v1/batch','vbEbk','RESETTING','rFqpf','logs','TEST_SCREENSHOT','30aFCtTi','HookRunFinished','resetEventBatchPolling','TestRunFinished','eventUrl','BLBgP','aJSEm','NeuBc','vduQJ','MNqpi','jNbAk','PEvhb','GCapr','splice','wowQO','GpaKy','twidS','ycpAi','exports','start','ZWXNH','fzQmo','PqlXo','queue','33249pxSOWN','split','19824wuofoY','tPBdb','zoeGZ','SDQMY','kind','RIkKT','OprrB','NVAOe','vNwkk','mMShh','oEYbd','pollEventBatchInterval','3076104LdvkAS','icUwZ','yqOGA','proceedWithData','shouldProceed','length','add','847pdJJIS','proceedWithUrl','Shutdown-Queue','jSrdA','Buahu','event_type','BATCH_EVENT_TYPES','1238931FkxDMV','TestRunStarted','screenshotEventUrl','1698edpmhN','REMOVING','lparr','OnuJx','yoOJq','GcCnz','UDfhM','taeKP','WagIo','3715KZHkQj','3016pgNBlZ','sqoBN','pUgJW','CBTSessionCreated','KZtvF','356KyJzzg','Wglaq','1134CdahGr','push','Kmsnn','cLQNu','PFIUP','FKmvX','removeEventBatchPolling','KVRFF','HookRunStarted','xIKhH'];a18_0x10ad=function(){return _0x392a34;};return a18_0x10ad();}const {BATCH_SIZE,BATCH_INTERVAL,consoleHolder}=require('./constants'),{debug,batchAndPostEvents}=require('./helper');class RequestQueueHandler{constructor(){const _0x56fb75=a18_0x257c,_0x413cff={};_0x413cff[_0x56fb75(0x11c)]='5|2|1|0|4|3',_0x413cff['qABWw']='api/v1/screenshots',_0x413cff[_0x56fb75(0xfc)]=_0x56fb75(0x11d),_0x413cff[_0x56fb75(0x118)]=_0x56fb75(0x116),_0x413cff[_0x56fb75(0xb5)]=_0x56fb75(0xfe),_0x413cff['KZtvF']=_0x56fb75(0xbd),_0x413cff[_0x56fb75(0xc9)]=_0x56fb75(0x111),_0x413cff['MNqpi']=_0x56fb75(0xbb),_0x413cff['aJSEm']=_0x56fb75(0xef),_0x413cff[_0x56fb75(0xdd)]=_0x56fb75(0x10a);const _0x2e51ac=_0x413cff,_0x2ffecc=_0x2e51ac[_0x56fb75(0x11c)][_0x56fb75(0xd3)]('|');let _0x34e14c=0x0;while(!![]){switch(_0x2ffecc[_0x34e14c++]){case'0':this[_0x56fb75(0xf0)]=_0x2e51ac['qABWw'];continue;case'1':this[_0x56fb75(0xbe)]=_0x2e51ac['sqoBN'];continue;case'2':this[_0x56fb75(0x119)]=![];continue;case'3':this[_0x56fb75(0xdf)]=null;continue;case'4':this[_0x56fb75(0xed)]=[_0x2e51ac[_0x56fb75(0x118)],_0x2e51ac['vbEbk'],_0x2e51ac[_0x56fb75(0xff)],_0x2e51ac[_0x56fb75(0xc9)],_0x2e51ac[_0x56fb75(0xc3)],_0x2e51ac[_0x56fb75(0xc0)],_0x2e51ac[_0x56fb75(0xdd)]];continue;case'5':this[_0x56fb75(0xd1)]=[];continue;}break;}}[a18_0xa90ad3(0xcd)]=()=>{const _0x5885a4=a18_0xa90ad3,_0x2b9efb={'VBQZv':function(_0x321f56,_0x3d7ef0){return _0x321f56(_0x3d7ef0);},'oEYbd':function(_0x222da3,_0x587d79){return _0x222da3===_0x587d79;},'rgDYZ':_0x5885a4(0xf2),'cLQNu':function(_0x27d8fa,_0x1caae6){return _0x27d8fa===_0x1caae6;},'jNbAk':'Roewx','yoOJq':_0x5885a4(0xd5)};if(!this[_0x5885a4(0x119)]){if(_0x2b9efb[_0x5885a4(0x105)](_0x2b9efb[_0x5885a4(0xc4)],_0x2b9efb[_0x5885a4(0xf5)])){_0x2b9efb[_0x5885a4(0x11b)](_0x366d19,this[_0x5885a4(0xdf)]),this[_0x5885a4(0xdf)]=null;if(_0x2b9efb[_0x5885a4(0xde)](_0x68b378,_0x2b9efb[_0x5885a4(0x113)]))this[_0x5885a4(0x119)]=![];}else this[_0x5885a4(0x119)]=!![],this[_0x5885a4(0x10d)]();}};[a18_0xa90ad3(0xe6)]=_0x1326d8=>{const _0x134af7=a18_0xa90ad3,_0x12bcec={};_0x12bcec['taeKP']=_0x134af7(0xb6),_0x12bcec[_0x134af7(0xb7)]=function(_0x494901,_0x1758e3){return _0x494901===_0x1758e3;},_0x12bcec[_0x134af7(0xd7)]=_0x134af7(0xb9),_0x12bcec[_0x134af7(0xe2)]=_0x134af7(0xdb),_0x12bcec[_0x134af7(0xea)]=function(_0x3fc7b5,_0x18fb3e){return _0x3fc7b5!==_0x18fb3e;},_0x12bcec[_0x134af7(0xc1)]='UsFoG',_0x12bcec[_0x134af7(0xfd)]='ytSex',_0x12bcec[_0x134af7(0xc8)]='jwDFB',_0x12bcec['OprrB']=_0x134af7(0x110),_0x12bcec[_0x134af7(0x10c)]=_0x134af7(0xd9);const _0xffca84=_0x12bcec;if(this['BATCH_EVENT_TYPES']['includes'](_0x1326d8[_0x134af7(0xec)])){if(_0xffca84[_0x134af7(0xb7)](_0xffca84[_0x134af7(0xe2)],_0xffca84[_0x134af7(0xe2)])){if(_0x1326d8[_0x134af7(0xb8)]&&_0x1326d8['logs'][0x0]&&_0xffca84[_0x134af7(0xb7)](_0x1326d8[_0x134af7(0xb8)][0x0][_0x134af7(0xd8)],_0xffca84[_0x134af7(0xd7)])){if(_0xffca84['jSrdA'](_0xffca84[_0x134af7(0xc1)],_0xffca84[_0x134af7(0xc1)]))this[_0x134af7(0x108)](_0xffca84[_0x134af7(0xf8)]),this['startEventBatchPolling']();else{const _0x337443={};return _0x337443[_0x134af7(0xe4)]=!![],_0x337443[_0x134af7(0xe3)]=[_0x1326d8],_0x337443['proceedWithUrl']=this[_0x134af7(0xf0)],_0x337443;}}this[_0x134af7(0xd1)][_0x134af7(0x103)](_0x1326d8);let _0x30beb8=null,_0x3f280a=this[_0x134af7(0xe4)]();if(_0x3f280a){if(_0xffca84[_0x134af7(0xea)](_0xffca84['pUgJW'],_0xffca84[_0x134af7(0xc8)]))_0x30beb8=this[_0x134af7(0xd1)][_0x134af7(0x114)](0x0,BATCH_SIZE),this[_0x134af7(0xd1)]['splice'](0x0,BATCH_SIZE),this[_0x134af7(0xbc)]();else{if(_0x533c44[_0x134af7(0xb8)]&&_0x2f0e41[_0x134af7(0xb8)][0x0]&&_0xffca84[_0x134af7(0xb7)](_0x2efeed[_0x134af7(0xb8)][0x0]['kind'],_0xffca84['SDQMY'])){const _0x4041fc={};return _0x4041fc[_0x134af7(0xe4)]=!![],_0x4041fc[_0x134af7(0xe3)]=[_0x242620],_0x4041fc['proceedWithUrl']=this[_0x134af7(0xf0)],_0x4041fc;}this['queue']['push'](_0x8002fe);let _0xd53974=null,_0x6be663=this[_0x134af7(0xe4)]();_0x6be663&&(_0xd53974=this['queue'][_0x134af7(0x114)](0x0,_0x387002),this[_0x134af7(0xd1)][_0x134af7(0xc7)](0x0,_0x4a8252),this[_0x134af7(0xbc)]());const _0x554f26={};return _0x554f26[_0x134af7(0xe4)]=_0x6be663,_0x554f26[_0x134af7(0xe3)]=_0xd53974,_0x554f26[_0x134af7(0xe8)]=this[_0x134af7(0xbe)],_0x554f26;}}const _0x496a3a={};return _0x496a3a[_0x134af7(0xe4)]=_0x3f280a,_0x496a3a[_0x134af7(0xe3)]=_0x30beb8,_0x496a3a[_0x134af7(0xe8)]=this['eventUrl'],_0x496a3a;}else{const _0x6d0536={};return _0x6d0536[_0x134af7(0xe4)]=!![],_0x6d0536;}}else{if(_0xffca84[_0x134af7(0xb7)](_0xffca84[_0x134af7(0xda)],_0xffca84[_0x134af7(0x10c)])){const _0x43f33e={};return _0x43f33e[_0x134af7(0xe4)]=!![],_0x43f33e[_0x134af7(0xe3)]=[_0x1afd2f],_0x43f33e[_0x134af7(0xe8)]=this[_0x134af7(0xf0)],_0x43f33e;}else{const _0x3f88f2={};return _0x3f88f2[_0x134af7(0xe4)]=!![],_0x3f88f2;}}};['shutdown']=async()=>{const _0x39498f=a18_0xa90ad3,_0x2d9938={'Wglaq':_0x39498f(0xf2),'GcCnz':function(_0x2fb13,_0x304197){return _0x2fb13>_0x304197;},'vduQJ':function(_0x43b5f4,_0x4d0a41){return _0x43b5f4===_0x4d0a41;},'YKGbo':'JCrxB','zoeGZ':_0x39498f(0xce),'OnuJx':function(_0x29a6a2,_0x5509a9,_0x4f2f2e,_0x1404f2){return _0x29a6a2(_0x5509a9,_0x4f2f2e,_0x1404f2);},'GCapr':_0x39498f(0xe9)};this['removeEventBatchPolling'](_0x2d9938[_0x39498f(0x101)]);while(_0x2d9938[_0x39498f(0xf6)](this[_0x39498f(0xd1)][_0x39498f(0xe5)],0x0)){if(_0x2d9938[_0x39498f(0xc2)](_0x2d9938['YKGbo'],_0x2d9938[_0x39498f(0xd6)]))_0x577947=this[_0x39498f(0xd1)][_0x39498f(0x114)](0x0,_0x550b38),this[_0x39498f(0xd1)][_0x39498f(0xc7)](0x0,_0x5bc7e3),this[_0x39498f(0xbc)]();else{const _0x139fe7=this[_0x39498f(0xd1)][_0x39498f(0x114)](0x0,BATCH_SIZE);this['queue'][_0x39498f(0xc7)](0x0,BATCH_SIZE),await _0x2d9938[_0x39498f(0xf4)](batchAndPostEvents,this['eventUrl'],_0x2d9938[_0x39498f(0xc6)],_0x139fe7);}}};[a18_0xa90ad3(0x10d)]=()=>{const _0x4738f7=a18_0xa90ad3,_0x287b4b={'Kmsnn':function(_0x4bc167,_0x197881){return _0x4bc167>=_0x197881;},'zRVoZ':function(_0x65b2cd,_0x37b340){return _0x65b2cd!==_0x37b340;},'PEvhb':_0x4738f7(0xe1),'vNwkk':_0x4738f7(0x106),'Buahu':function(_0x1eb885,_0x41bd49){return _0x1eb885>_0x41bd49;},'xIKhH':_0x4738f7(0xbf),'UDfhM':function(_0x313b3b,_0x110392,_0x413ef7,_0x49838d){return _0x313b3b(_0x110392,_0x413ef7,_0x49838d);},'fzQmo':'Interval-Queue','FKmvX':function(_0x263787,_0x4ba241,_0x3cb260){return _0x263787(_0x4ba241,_0x3cb260);}};this[_0x4738f7(0xdf)]=_0x287b4b[_0x4738f7(0x107)](setInterval,async()=>{const _0x29ea33=_0x4738f7,_0x48aae8={'ycpAi':function(_0x2b7afe,_0x447070){const _0xa7aa79=a18_0x257c;return _0x287b4b[_0xa7aa79(0x104)](_0x2b7afe,_0x447070);}};if(_0x287b4b[_0x29ea33(0x10f)](_0x287b4b[_0x29ea33(0xc5)],_0x287b4b[_0x29ea33(0xdc)])){if(_0x287b4b[_0x29ea33(0xeb)](this[_0x29ea33(0xd1)][_0x29ea33(0xe5)],0x0)){if(_0x287b4b[_0x29ea33(0x10f)](_0x287b4b[_0x29ea33(0x10b)],_0x287b4b[_0x29ea33(0x10b)]))this[_0x29ea33(0x119)]=!![],this[_0x29ea33(0x10d)]();else{const _0x5c1a24=this[_0x29ea33(0xd1)]['slice'](0x0,BATCH_SIZE);this[_0x29ea33(0xd1)][_0x29ea33(0xc7)](0x0,BATCH_SIZE),await _0x287b4b[_0x29ea33(0xf7)](batchAndPostEvents,this['eventUrl'],_0x287b4b[_0x29ea33(0xcf)],_0x5c1a24);}}}else return _0x48aae8[_0x29ea33(0xcb)](this[_0x29ea33(0xd1)][_0x29ea33(0xe5)],_0x29d68b);},BATCH_INTERVAL);};[a18_0xa90ad3(0xbc)]=()=>{const _0xa132ab=a18_0xa90ad3,_0x1a337f={};_0x1a337f[_0xa132ab(0xf9)]=_0xa132ab(0xb6);const _0x16121d=_0x1a337f;this['removeEventBatchPolling'](_0x16121d[_0xa132ab(0xf9)]),this[_0xa132ab(0x10d)]();};[a18_0xa90ad3(0x108)]=_0x5a97fb=>{const _0x262573=a18_0xa90ad3,_0x41f995={'pyQMI':function(_0x2c39e2,_0x461d12){return _0x2c39e2(_0x461d12);},'qXTfj':function(_0x224972,_0x3bd392){return _0x224972===_0x3bd392;},'dRaFR':_0x262573(0xf2),'twidS':function(_0x3d46a6,_0x341d15){return _0x3d46a6!==_0x341d15;},'LSXwI':_0x262573(0xf3),'PqlXo':function(_0x2feb1b,_0x2ec73f){return _0x2feb1b===_0x2ec73f;}};if(this['pollEventBatchInterval']){if(_0x41f995[_0x262573(0xca)](_0x41f995[_0x262573(0x10e)],_0x41f995[_0x262573(0x10e)])){if(this[_0x262573(0xdf)]){_0x41f995[_0x262573(0x117)](_0x5bab33,this[_0x262573(0xdf)]),this[_0x262573(0xdf)]=null;if(_0x41f995['qXTfj'](_0x1845bc,_0x41f995['dRaFR']))this[_0x262573(0x119)]=![];}}else{_0x41f995[_0x262573(0x117)](clearInterval,this[_0x262573(0xdf)]),this[_0x262573(0xdf)]=null;if(_0x41f995[_0x262573(0xd0)](_0x5a97fb,_0x41f995['dRaFR']))this['started']=![];}}};[a18_0xa90ad3(0xe4)]=()=>{const _0x2bef3c=a18_0xa90ad3,_0x4403f3={};_0x4403f3[_0x2bef3c(0x109)]=function(_0x1718fc,_0x36119e){return _0x1718fc>=_0x36119e;};const _0x18f6c=_0x4403f3;return _0x18f6c[_0x2bef3c(0x109)](this['queue'][_0x2bef3c(0xe5)],BATCH_SIZE);};}module[a18_0xa90ad3(0xcc)]=RequestQueueHandler;
|
|
1
|
+
function a18_0x20db(){const _0x10a8f4=['pxubn','pSVOG','screenshotEventUrl','dxfyx','FDOxx','Shutdown-Queue','slice','NAkpl','muXFE','kind','fIpLD','REMOVING','add','FUGkp','sEMDe','startEventBatchPolling','gleUQ','0|3|5|1|2|4','proceedWithUrl','oVSoU','OPoWQ','iWEYf','proceedWithData','LogCreated','TMmXj','1031630GvbBLW','kmWZi','VlaNL','VOEWL','ekNOn','TestRunFinished','HookRunStarted','WAsiw','66ABBTJr','length','1501788FJlZra','gZoqi','eventUrl','avomK','ASauc','started','nGyDe','DRVJL','AmZpT','30bxXZLq','iWVLh','VnfpW','NfpMC','api/v1/batch','RESETTING','./helper','WkeQi','nqDaf','oycDz','YdDwF','PShyE','ngEMj','HNTkg','BATCH_EVENT_TYPES','GFBez','425564DINUmD','1|5|2|0|4|3','tINyq','dkyAQ','fPuoN','BvMcp','daNfk','logs','210KMtLPb','event_type','split','KZfBI','3703AOERAf','765236KwVGOe','TestRunSkipped','WGuAi','CfHcs','TlNjd','push','Ucugm','jDXOe','nCxiw','resetEventBatchPolling','wviuD','uOZsK','qMdsf','HookRunFinished','TestRunStarted','30054DeDaPS','athxd','LJlqJ','CBTSessionCreated','Interval-Queue','uMVKd','HhXkU','./constants','6228rCvJNs','shouldProceed','removeEventBatchPolling','rjTEQ','queue','YEGgO','kREft','pollEventBatchInterval','splice','7792wyrgPL','FeHNG','yUJhz','TMlcS','api/v1/screenshots'];a18_0x20db=function(){return _0x10a8f4;};return a18_0x20db();}const a18_0xdff4ab=a18_0xa695;(function(_0x1e3847,_0x3c2684){const _0xe0f748=a18_0xa695,_0x313e7f=_0x1e3847();while(!![]){try{const _0x3a9961=-parseInt(_0xe0f748(0x1ff))/0x1+-parseInt(_0xe0f748(0x20e))/0x2+parseInt(_0xe0f748(0x1d9))/0x3+parseInt(_0xe0f748(0x1f2))/0x4*(parseInt(_0xe0f748(0x1e2))/0x5)+parseInt(_0xe0f748(0x1fa))/0x6*(parseInt(_0xe0f748(0x1fe))/0x7)+-parseInt(_0xe0f748(0x21f))/0x8*(-parseInt(_0xe0f748(0x216))/0x9)+-parseInt(_0xe0f748(0x1cf))/0xa*(parseInt(_0xe0f748(0x1d7))/0xb);if(_0x3a9961===_0x3c2684)break;else _0x313e7f['push'](_0x313e7f['shift']());}catch(_0x508bb3){_0x313e7f['push'](_0x313e7f['shift']());}}}(a18_0x20db,0x69860));function a18_0xa695(_0x5324b8,_0x2bdeb7){const _0x20db5e=a18_0x20db();return a18_0xa695=function(_0xa6958,_0x52b7ab){_0xa6958=_0xa6958-0x1c7;let _0xb552b2=_0x20db5e[_0xa6958];return _0xb552b2;},a18_0xa695(_0x5324b8,_0x2bdeb7);}const {BATCH_SIZE,BATCH_INTERVAL,consoleHolder}=require(a18_0xdff4ab(0x215)),{debug,batchAndPostEvents}=require(a18_0xdff4ab(0x1e8));class RequestQueueHandler{constructor(){const _0x263080=a18_0xdff4ab,_0x296506={};_0x296506[_0x263080(0x1e1)]=_0x263080(0x1c7),_0x296506[_0x263080(0x1ce)]=_0x263080(0x223),_0x296506[_0x263080(0x219)]=_0x263080(0x1cd),_0x296506['oycDz']='CBTSessionCreated',_0x296506[_0x263080(0x203)]=_0x263080(0x1d4),_0x296506['gZoqi']=_0x263080(0x200),_0x296506[_0x263080(0x1f8)]='HookRunFinished',_0x296506['Pcqev']=_0x263080(0x20d),_0x296506[_0x263080(0x1e5)]=_0x263080(0x1d5),_0x296506[_0x263080(0x228)]=_0x263080(0x1e6);const _0x5aa5ed=_0x296506,_0x3a12ba=_0x5aa5ed['AmZpT'][_0x263080(0x1fc)]('|');let _0x1c70df=0x0;while(!![]){switch(_0x3a12ba[_0x1c70df++]){case'0':this[_0x263080(0x21a)]=[];continue;case'1':this[_0x263080(0x226)]=_0x5aa5ed[_0x263080(0x1ce)];continue;case'2':this[_0x263080(0x1f0)]=[_0x5aa5ed[_0x263080(0x219)],_0x5aa5ed[_0x263080(0x1eb)],_0x5aa5ed['TlNjd'],_0x5aa5ed[_0x263080(0x1da)],_0x5aa5ed[_0x263080(0x1f8)],_0x5aa5ed['Pcqev'],_0x5aa5ed['NfpMC']];continue;case'3':this[_0x263080(0x1de)]=![];continue;case'4':this[_0x263080(0x21d)]=null;continue;case'5':this[_0x263080(0x1db)]=_0x5aa5ed['FDOxx'];continue;}break;}}['start']=()=>{const _0x5b80ff=a18_0xdff4ab,_0x7a3dcd={};_0x7a3dcd[_0x5b80ff(0x1e9)]=function(_0x457de3,_0x51d993){return _0x457de3===_0x51d993;},_0x7a3dcd[_0x5b80ff(0x209)]=_0x5b80ff(0x1d3),_0x7a3dcd[_0x5b80ff(0x1d1)]='TdxDR';const _0x3b1b1a=_0x7a3dcd;!this[_0x5b80ff(0x1de)]&&(_0x3b1b1a['WkeQi'](_0x3b1b1a[_0x5b80ff(0x209)],_0x3b1b1a['VlaNL'])?(this[_0x5b80ff(0x1de)]=!![],this[_0x5b80ff(0x233)]()):(this['started']=!![],this[_0x5b80ff(0x233)]()));};[a18_0xdff4ab(0x230)]=_0x4b12c7=>{const _0x213bd4=a18_0xdff4ab,_0x253389={};_0x253389['pxubn']=_0x213bd4(0x1f3),_0x253389[_0x213bd4(0x1dc)]=_0x213bd4(0x223),_0x253389[_0x213bd4(0x21b)]=_0x213bd4(0x1e6),_0x253389[_0x213bd4(0x1df)]=_0x213bd4(0x1cd),_0x253389[_0x213bd4(0x1d0)]=_0x213bd4(0x211),_0x253389[_0x213bd4(0x227)]=_0x213bd4(0x1d4),_0x253389[_0x213bd4(0x202)]=_0x213bd4(0x200),_0x253389[_0x213bd4(0x20f)]=_0x213bd4(0x20c),_0x253389[_0x213bd4(0x231)]='TestRunStarted',_0x253389[_0x213bd4(0x1ca)]=_0x213bd4(0x1d5),_0x253389['mRWVz']=function(_0x2f77a6,_0x5d44c8){return _0x2f77a6>=_0x5d44c8;},_0x253389[_0x213bd4(0x234)]=_0x213bd4(0x1e7),_0x253389[_0x213bd4(0x213)]=function(_0x5d2df9,_0x628cff){return _0x5d2df9!==_0x628cff;},_0x253389[_0x213bd4(0x22c)]='UrIDU',_0x253389[_0x213bd4(0x222)]='IcWAf',_0x253389['FeHNG']=function(_0x23d691,_0x48dcfc){return _0x23d691===_0x48dcfc;},_0x253389[_0x213bd4(0x210)]='TEST_SCREENSHOT',_0x253389[_0x213bd4(0x1c9)]=function(_0x227222,_0x1bef77){return _0x227222!==_0x1bef77;},_0x253389[_0x213bd4(0x207)]=_0x213bd4(0x1f7),_0x253389['ASauc']=_0x213bd4(0x1d6),_0x253389[_0x213bd4(0x1f1)]=_0x213bd4(0x232),_0x253389[_0x213bd4(0x1ee)]='GvhsK';const _0x406d96=_0x253389;if(this['BATCH_EVENT_TYPES']['includes'](_0x4b12c7[_0x213bd4(0x1fb)])){if(_0x406d96[_0x213bd4(0x213)](_0x406d96[_0x213bd4(0x22c)],_0x406d96[_0x213bd4(0x222)])){if(_0x4b12c7[_0x213bd4(0x1f9)]&&_0x4b12c7['logs'][0x0]&&_0x406d96[_0x213bd4(0x220)](_0x4b12c7[_0x213bd4(0x1f9)][0x0][_0x213bd4(0x22d)],_0x406d96['LJlqJ'])){if(_0x406d96[_0x213bd4(0x1c9)](_0x406d96[_0x213bd4(0x207)],_0x406d96[_0x213bd4(0x1dd)])){const _0x3ecd1a={};return _0x3ecd1a[_0x213bd4(0x217)]=!![],_0x3ecd1a[_0x213bd4(0x1cc)]=[_0x4b12c7],_0x3ecd1a[_0x213bd4(0x1c8)]=this['screenshotEventUrl'],_0x3ecd1a;}else{const _0x456049=_0x406d96[_0x213bd4(0x224)][_0x213bd4(0x1fc)]('|');let _0x1d3569=0x0;while(!![]){switch(_0x456049[_0x1d3569++]){case'0':this['screenshotEventUrl']=_0x406d96[_0x213bd4(0x1dc)];continue;case'1':this['queue']=[];continue;case'2':this['eventUrl']=_0x406d96[_0x213bd4(0x21b)];continue;case'3':this[_0x213bd4(0x21d)]=null;continue;case'4':this[_0x213bd4(0x1f0)]=[_0x406d96[_0x213bd4(0x1df)],_0x406d96['kmWZi'],_0x406d96['dxfyx'],_0x406d96[_0x213bd4(0x202)],_0x406d96['athxd'],_0x406d96['FUGkp'],_0x406d96[_0x213bd4(0x1ca)]];continue;case'5':this[_0x213bd4(0x1de)]=![];continue;}break;}}}this['queue'][_0x213bd4(0x204)](_0x4b12c7);let _0xe6d0ff=null,_0x4a3192=this['shouldProceed']();if(_0x4a3192){if(_0x406d96[_0x213bd4(0x213)](_0x406d96['GFBez'],_0x406d96[_0x213bd4(0x1f1)])){const _0x518238={};return _0x518238[_0x213bd4(0x217)]=!![],_0x518238;}else _0xe6d0ff=this[_0x213bd4(0x21a)]['slice'](0x0,BATCH_SIZE),this[_0x213bd4(0x21a)][_0x213bd4(0x21e)](0x0,BATCH_SIZE),this[_0x213bd4(0x208)]();}const _0x455f16={};return _0x455f16['shouldProceed']=_0x4a3192,_0x455f16[_0x213bd4(0x1cc)]=_0xe6d0ff,_0x455f16[_0x213bd4(0x1c8)]=this[_0x213bd4(0x1db)],_0x455f16;}else return _0x406d96['mRWVz'](this[_0x213bd4(0x21a)][_0x213bd4(0x1d8)],_0x294525);}else{if(_0x406d96[_0x213bd4(0x220)](_0x406d96['ngEMj'],_0x406d96[_0x213bd4(0x1ee)])){const _0xad9eec={};return _0xad9eec[_0x213bd4(0x217)]=!![],_0xad9eec;}else this[_0x213bd4(0x218)](_0x406d96[_0x213bd4(0x234)]),this[_0x213bd4(0x233)]();}};['shutdown']=async()=>{const _0x35330d=a18_0xdff4ab,_0x48a203={'eLkoY':function(_0x2db291,_0x7a55e8){return _0x2db291===_0x7a55e8;},'PShyE':'TEST_SCREENSHOT','HokGc':_0x35330d(0x22f),'jDXOe':function(_0x4957a9,_0x2d7b6e){return _0x4957a9>_0x2d7b6e;},'VOEWL':_0x35330d(0x1fd),'VnfpW':_0x35330d(0x1e0),'xXrpG':function(_0x50cd55,_0x5a4d2b,_0x2a48c3,_0x430a6d){return _0x50cd55(_0x5a4d2b,_0x2a48c3,_0x430a6d);},'iWVLh':_0x35330d(0x229)};this[_0x35330d(0x218)](_0x48a203['HokGc']);while(_0x48a203[_0x35330d(0x206)](this[_0x35330d(0x21a)]['length'],0x0)){if(_0x48a203['eLkoY'](_0x48a203[_0x35330d(0x1d2)],_0x48a203[_0x35330d(0x1e4)])){if(_0x361a18[_0x35330d(0x1f9)]&&_0x5d17b1[_0x35330d(0x1f9)][0x0]&&_0x48a203['eLkoY'](_0x52628e[_0x35330d(0x1f9)][0x0][_0x35330d(0x22d)],_0x48a203[_0x35330d(0x1ed)])){const _0x405582={};return _0x405582[_0x35330d(0x217)]=!![],_0x405582[_0x35330d(0x1cc)]=[_0x370f76],_0x405582[_0x35330d(0x1c8)]=this['screenshotEventUrl'],_0x405582;}this[_0x35330d(0x21a)]['push'](_0x210151);let _0x5e8da6=null,_0x11591b=this[_0x35330d(0x217)]();_0x11591b&&(_0x5e8da6=this[_0x35330d(0x21a)][_0x35330d(0x22a)](0x0,_0x4ba1e2),this[_0x35330d(0x21a)][_0x35330d(0x21e)](0x0,_0x4dc0b1),this[_0x35330d(0x208)]());const _0x2216f8={};return _0x2216f8[_0x35330d(0x217)]=_0x11591b,_0x2216f8[_0x35330d(0x1cc)]=_0x5e8da6,_0x2216f8[_0x35330d(0x1c8)]=this[_0x35330d(0x1db)],_0x2216f8;}else{const _0x31890a=this[_0x35330d(0x21a)][_0x35330d(0x22a)](0x0,BATCH_SIZE);this['queue']['splice'](0x0,BATCH_SIZE),await _0x48a203['xXrpG'](batchAndPostEvents,this[_0x35330d(0x1db)],_0x48a203[_0x35330d(0x1e3)],_0x31890a);}}};['startEventBatchPolling']=()=>{const _0x54c097=a18_0xdff4ab,_0x5c5a0a={'koWkQ':function(_0x4fa7c2,_0x58eec4){return _0x4fa7c2(_0x58eec4);},'Ucugm':function(_0x16398f,_0x196db6){return _0x16398f===_0x196db6;},'yUJhz':_0x54c097(0x22f),'WGuAi':function(_0xa6b98b,_0x2a97c2){return _0xa6b98b!==_0x2a97c2;},'iWEYf':_0x54c097(0x22e),'Lhfws':'QLSOM','qMdsf':function(_0x5520b2,_0x5094fb){return _0x5520b2>_0x5094fb;},'bDnmn':_0x54c097(0x1f4),'HNTkg':_0x54c097(0x22b),'UadkY':function(_0x3d032e,_0x7260d7,_0x378dc3,_0x3ffb53){return _0x3d032e(_0x7260d7,_0x378dc3,_0x3ffb53);},'dkyAQ':_0x54c097(0x212),'uOZsK':function(_0x58f11d,_0x19e642,_0x2ee4d0){return _0x58f11d(_0x19e642,_0x2ee4d0);}};this['pollEventBatchInterval']=_0x5c5a0a[_0x54c097(0x20a)](setInterval,async()=>{const _0x4d8309=_0x54c097;if(_0x5c5a0a[_0x4d8309(0x201)](_0x5c5a0a[_0x4d8309(0x1cb)],_0x5c5a0a['Lhfws'])){if(_0x5c5a0a[_0x4d8309(0x20b)](this[_0x4d8309(0x21a)][_0x4d8309(0x1d8)],0x0)){if(_0x5c5a0a[_0x4d8309(0x205)](_0x5c5a0a['bDnmn'],_0x5c5a0a[_0x4d8309(0x1ef)]))!this[_0x4d8309(0x1de)]&&(this['started']=!![],this[_0x4d8309(0x233)]());else{const _0x200e6e=this[_0x4d8309(0x21a)][_0x4d8309(0x22a)](0x0,BATCH_SIZE);this[_0x4d8309(0x21a)][_0x4d8309(0x21e)](0x0,BATCH_SIZE),await _0x5c5a0a['UadkY'](batchAndPostEvents,this[_0x4d8309(0x1db)],_0x5c5a0a[_0x4d8309(0x1f5)],_0x200e6e);}}}else{if(this['pollEventBatchInterval']){_0x5c5a0a['koWkQ'](_0x26fbdf,this[_0x4d8309(0x21d)]),this[_0x4d8309(0x21d)]=null;if(_0x5c5a0a[_0x4d8309(0x205)](_0x2456af,_0x5c5a0a[_0x4d8309(0x221)]))this[_0x4d8309(0x1de)]=![];}}},BATCH_INTERVAL);};[a18_0xdff4ab(0x208)]=()=>{const _0x5d2a5a=a18_0xdff4ab,_0x1ff799={};_0x1ff799[_0x5d2a5a(0x225)]='RESETTING';const _0x274b67=_0x1ff799;this[_0x5d2a5a(0x218)](_0x274b67[_0x5d2a5a(0x225)]),this[_0x5d2a5a(0x233)]();};[a18_0xdff4ab(0x218)]=_0x365980=>{const _0x3247fa=a18_0xdff4ab,_0x205ae6={'nqDaf':function(_0x44bfc4,_0x5723ff){return _0x44bfc4===_0x5723ff;},'HhXkU':_0x3247fa(0x1f6),'kREft':function(_0x192c17,_0x2b806d){return _0x192c17(_0x2b806d);},'lurRY':function(_0x341e55,_0x3ff255){return _0x341e55===_0x3ff255;},'YdDwF':_0x3247fa(0x22f)};if(this['pollEventBatchInterval']){if(_0x205ae6[_0x3247fa(0x1ea)](_0x205ae6['HhXkU'],_0x205ae6[_0x3247fa(0x214)])){_0x205ae6[_0x3247fa(0x21c)](clearInterval,this[_0x3247fa(0x21d)]),this[_0x3247fa(0x21d)]=null;if(_0x205ae6['lurRY'](_0x365980,_0x205ae6[_0x3247fa(0x1ec)]))this[_0x3247fa(0x1de)]=![];}else{const _0x29ec77={};return _0x29ec77[_0x3247fa(0x217)]=!![],_0x29ec77[_0x3247fa(0x1cc)]=[_0x5be61f],_0x29ec77[_0x3247fa(0x1c8)]=this[_0x3247fa(0x226)],_0x29ec77;}}};[a18_0xdff4ab(0x217)]=()=>{const _0x164ea7=a18_0xdff4ab,_0x5d3d12={};_0x5d3d12['Xgxxu']=function(_0x3362a6,_0x4010cc){return _0x3362a6>=_0x4010cc;};const _0x2e7af1=_0x5d3d12;return _0x2e7af1['Xgxxu'](this[_0x164ea7(0x21a)][_0x164ea7(0x1d8)],BATCH_SIZE);};}module['exports']=RequestQueueHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x2f1d1d=a19_0x2891;(function(_0x1dbc1f,_0x4d1fe0){const _0x483c55=a19_0x2891,_0x44be4e=_0x1dbc1f();while(!![]){try{const _0x1079d3=-parseInt(_0x483c55(0x1b3))/0x1*(-parseInt(_0x483c55(0x1a8))/0x2)+parseInt(_0x483c55(0x1ad))/0x3+-parseInt(_0x483c55(0x199))/0x4*(-parseInt(_0x483c55(0x1a2))/0x5)+-parseInt(_0x483c55(0x194))/0x6*(parseInt(_0x483c55(0x1c7))/0x7)+parseInt(_0x483c55(0x1be))/0x8+-parseInt(_0x483c55(0x19d))/0x9+parseInt(_0x483c55(0x1cc))/0xa*(parseInt(_0x483c55(0x1b6))/0xb);if(_0x1079d3===_0x4d1fe0)break;else _0x44be4e['push'](_0x44be4e['shift']());}catch(_0x49623d){_0x44be4e['push'](_0x44be4e['shift']());}}}(a19_0x4aa1,0x249b9));function a19_0x2891(_0x505644,_0x12da38){const _0x4aa12b=a19_0x4aa1();return a19_0x2891=function(_0x2891c7,_0x285d39){_0x2891c7=_0x2891c7-0x191;let _0x1de929=_0x4aa12b[_0x2891c7];return _0x1de929;},a19_0x2891(_0x505644,_0x12da38);}function a19_0x4aa1(){const _0x43e29b=['aDXTr','error','__sessionNameProvided','4ZegYsH','test','titlePath','rnLgL','188289snsKXw','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','COUrI','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','timeout','529215NUFTEI','../mocha/test-observability/helper','NjzRJ','join','XRjvS','testAnalyticsId','6nHtJrj','mochaHooks','currentTest','pTEvq',',\x22level\x22:\x20\x22','212805lCJkIS','message','jhhUD','ObservabilitySync:','info','VFslL','48471pUjpze','icWLu','err','239041xxSPyG','\x20|\x20','stringify','FEiHZ','then','\x22}}','ctx','GYeVO','238952ytOBOB','BWyab','ySbNg','session_','KOheM','driverCleanup','state','dJEVz','passed','14ZxiEXh','__error_messages__','quit','__drivers','length','40eEVABU','push','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','debug','WqcFx','804354zBYmHN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'];a19_0x4aa1=function(){return _0x43e29b;};return a19_0x4aa1();}const {sendPlatformDetails,isTestObservabilitySession,isBrowserstackInfra}=require(a19_0x2f1d1d(0x1a3));exports[a19_0x2f1d1d(0x1a9)]={'beforeAll'(){const _0x177f79=a19_0x2f1d1d,_0x4e3596={'OupvW':function(_0x5f2948,_0x56e983){return _0x5f2948>_0x56e983;},'dJEVz':_0x177f79(0x1b7),'ORBRy':function(_0x5bfe2b){return _0x5bfe2b();},'KOheM':function(_0x585c28,_0x2b2e1e,_0x14d99a){return _0x585c28(_0x2b2e1e,_0x14d99a);},'pTEvq':_0x177f79(0x1c9)},_0x3e103f='browserstack internal helper hook';global[_0x177f79(0x1c8)]=[],global[_0x177f79(0x1ca)]=[],global[_0x177f79(0x1c3)]=async()=>{const _0x3b853b=_0x177f79;let _0x3f7b33=![];try{await global[_0x3b853b(0x1ca)][0x0][_0x3b853b(0x1c1)],_0x3f7b33=!![],_0x4e3596['OupvW'](global[_0x3b853b(0x1c8)][_0x3b853b(0x1cb)],0x0)?await global[_0x3b853b(0x1ca)][0x0][_0x3b853b(0x1ce)](_0x3b853b(0x1a0)+JSON[_0x3b853b(0x1b8)](global[_0x3b853b(0x1c8)][_0x3b853b(0x1a5)](_0x4e3596[_0x3b853b(0x1c5)]))+'}}'):await global['__drivers'][0x0]['executeScript'](_0x3b853b(0x191));}catch(_0xb032a2){}if(_0x3f7b33)try{if(_0x4e3596['ORBRy'](isTestObservabilitySession)){if(global[_0x3b853b(0x1ca)][0x0])await _0x4e3596[_0x3b853b(0x1c2)](sendPlatformDetails,global[_0x3b853b(0x1ca)][0x0],this[_0x3b853b(0x1aa)]?this[_0x3b853b(0x1aa)][_0x3b853b(0x1a7)]:null);}await global[_0x3b853b(0x1ca)][0x0][_0x3b853b(0x1c9)](_0x4e3596[_0x3b853b(0x1ab)]);}catch(_0x3ceb1a){}};},'beforeEach'(_0x3c35a0){const _0x1493cd={'hAUeP':function(_0x499580,_0x4619c0){return _0x499580>_0x4619c0;},'ySbNg':function(_0x3528a8){return _0x3528a8();}};new Promise(async _0x255f70=>{const _0x59e102=a19_0x2891,_0x55acbd='browserstack internal helper hook';_0x1493cd['hAUeP'](global[_0x59e102(0x1ca)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x59e102(0x1ca)]['shift'](),global[_0x59e102(0x1c8)]=[]),_0x1493cd[_0x59e102(0x1c0)](_0x255f70);})['then'](_0x3c35a0);},'afterEach'(_0x46cf78){const _0x4bd289=a19_0x2f1d1d,_0x2e11cd={'JhKpg':'\x20-\x20','COUrI':function(_0x1a3bcf,_0x2c92f3){return _0x1a3bcf!==_0x2c92f3;},'icWLu':_0x4bd289(0x1c6),'GYeVO':function(_0x29a72e,_0x5e9dc3,_0x574469){return _0x29a72e(_0x5e9dc3,_0x574469);},'ykXQc':function(_0x2c9ddb,_0x3d4299){return _0x2c9ddb+_0x3d4299;},'FEiHZ':'Failed:\x20','NjzRJ':_0x4bd289(0x197),'aDXTr':'Passed','kIzPV':_0x4bd289(0x1b1),'XRjvS':function(_0x46f33d){return _0x46f33d();},'WqcFx':function(_0x3e375c,_0xe35b31,_0x160a9a){return _0x3e375c(_0xe35b31,_0x160a9a);},'rnLgL':function(_0x3b863f,_0x2abd09,_0x272c1d){return _0x3b863f(_0x2abd09,_0x272c1d);},'jhhUD':_0x4bd289(0x192),'ubuUn':_0x4bd289(0x1c9),'BWyab':function(_0x3e32e4){return _0x3e32e4();}},_0x5e082e='browserstack internal helper hook';this['timeout'](0xfde8);const _0x1ace5e=async(_0x2b2bc4,_0x75e203)=>{const _0x389a29=_0x4bd289;await global[_0x389a29(0x1ca)][0x0]['executeScript'](_0x389a29(0x195)+_0x2b2bc4+_0x389a29(0x1ac)+_0x75e203+_0x389a29(0x1bb));};new Promise(async _0x5c7472=>{const _0x2e4c42=_0x4bd289;try{!global[_0x2e4c42(0x198)]&&await global[_0x2e4c42(0x1ca)][0x0]['executeScript'](_0x2e4c42(0x19e)+this[_0x2e4c42(0x1aa)][_0x2e4c42(0x19b)]()[_0x2e4c42(0x1a5)](_0x2e11cd['JhKpg'])+_0x2e4c42(0x1bb));const _0x5ac9d1=_0x2e11cd[_0x2e4c42(0x19f)](this['currentTest'][_0x2e4c42(0x1c4)],_0x2e11cd[_0x2e4c42(0x1b4)]);_0x5ac9d1?(global['__error_messages__'][_0x2e4c42(0x1cd)](this[_0x2e4c42(0x1aa)][_0x2e4c42(0x1bc)]['test'][_0x2e4c42(0x1b5)][_0x2e4c42(0x1ae)]),await _0x2e11cd[_0x2e4c42(0x1bd)](_0x1ace5e,JSON[_0x2e4c42(0x1b8)](_0x2e11cd['ykXQc'](_0x2e11cd[_0x2e4c42(0x1b9)],this[_0x2e4c42(0x1aa)][_0x2e4c42(0x1bc)][_0x2e4c42(0x19a)][_0x2e4c42(0x1b5)][_0x2e4c42(0x1ae)])),_0x2e11cd[_0x2e4c42(0x1a4)])):await _0x2e11cd[_0x2e4c42(0x1bd)](_0x1ace5e,JSON['stringify'](_0x2e11cd[_0x2e4c42(0x196)]),_0x2e11cd['kIzPV']);}catch(_0x3f403c){}try{if(_0x2e11cd[_0x2e4c42(0x1a6)](isTestObservabilitySession)){if(global[_0x2e4c42(0x1ca)][0x0])await _0x2e11cd[_0x2e4c42(0x193)](sendPlatformDetails,global[_0x2e4c42(0x1ca)][0x0],this[_0x2e4c42(0x1aa)]?this[_0x2e4c42(0x1aa)][_0x2e4c42(0x1a7)]:null);if(_0x2e11cd[_0x2e4c42(0x1a6)](isBrowserstackInfra)){const _0x5a5efa=_0x2e4c42(0x1b0)+Date['now']();await _0x2e11cd[_0x2e4c42(0x19c)](_0x1ace5e,JSON[_0x2e4c42(0x1b8)](_0x5a5efa),_0x2e11cd[_0x2e4c42(0x1af)]);}}await global[_0x2e4c42(0x1ca)][0x0][_0x2e4c42(0x1c9)](_0x2e11cd['ubuUn']);}catch(_0x51a567){}_0x2e11cd[_0x2e4c42(0x1bf)](_0x5c7472);})[_0x4bd289(0x1ba)](()=>_0x46cf78());},'afterAll'(_0x21cda0){const _0x23aa84=a19_0x2f1d1d,_0x419a28={'VFslL':function(_0x30b522){return _0x30b522();}},_0x3c0ab8='browserstack internal helper hook';this[_0x23aa84(0x1a1)](0xfde8),new Promise(async _0x3a2616=>{const _0x2c3181=_0x23aa84;await global[_0x2c3181(0x1c3)](),_0x419a28[_0x2c3181(0x1b2)](_0x3a2616);})[_0x23aa84(0x1ba)](()=>_0x21cda0());}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a20_0x41ab09=a20_0x3bf5;function a20_0x2093(){const _0x363c8e=['nightwatch.conf.js','existsSync','gKArO','push','rQNtg','2KbkcpF','SitAp','Nokgy','length','GIfvl','Getting\x20your\x20nightwatch\x20configs\x20from\x20','numQg','host','UpmJp','map','vWsaX','findIndex','WbDdz','../../helpers/helper','getPlatformName','tWpwU','rmgrt','RRhoF','HYjiz','FZDXw','QSShK','close','ROXQk','mBXaF','slice','OGnZf','MnPVH','9aTYEnm','fKGLP','hub.browserstack.com','platforms','isArray','3177630PekOhl','--env','oAitx','nYExY','WcRLe','--config','desiredCapabilities','fQlmU','AvrFC','1022972mSPfva','YjCzC','kSBIw','UcDad','jqCBC','inherit','ueXLh','nightwatch.json','wVPAh','1551902tOnTtn','config','103985nUCAcC','rOjPZ','isUndefined','MCCqg','trim','KuwiB','xXjUv','XsotB','4957MMbVnQ','path','nightwatch-browserstack.json','test_settings','JXlNZ','PaTRp','Cwfbx','cwd','port','fKaTA','child_process','ZWwBZ','wpKEz','WXEMi','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','NfVIf','split','unlinkSync','assign','object','42YDcZSv','GVGPh','ezMga','splice','forEach','debug','KkCmW','stringify','pgSXO','cLhUe','GDMgH','WivnN','info','PNVBL','child\x20process\x20exited\x20with\x20code\x20','KvGEm','KTVqA','HljvH','useW3C','ssozA','iQgUZ','filter','129496fmlVzc','wjjpV','PhcdR','zShkT','tWVBW','Deleting\x20','now','../../helpers/logger','GYPkr','shift','DDslc','cUoZD','kPLDp','webdriver','WtnBz','LblJN','nightwatch.cmd','mZsEF','env','UbAjx','cxsnr','glfey','607515vMpfqb','selenium','XvOxA','HRTqt','kQgAP','PvWpH','TBKvZ','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','mMVoq','HAkAn','tsXzg','NpDmt','aQRDg','YNfZh','join','OnGTT','winstonLogger','rElvg','lXSuQ','modifyBrowserStackW3CCaps','modifyBrowserStackCaps','FUYkR','54BycQOW','ireev'];a20_0x2093=function(){return _0x363c8e;};return a20_0x2093();}(function(_0xd033cd,_0x1d1687){const _0x55cb4a=a20_0x3bf5,_0x2e700c=_0xd033cd();while(!![]){try{const _0x4af9c6=parseInt(_0x55cb4a(0x185))/0x1*(-parseInt(_0x55cb4a(0x1e2))/0x2)+parseInt(_0x55cb4a(0x1c5))/0x3+parseInt(_0x55cb4a(0x20b))/0x4+-parseInt(_0x55cb4a(0x17d))/0x5*(parseInt(_0x55cb4a(0x1db))/0x6)+-parseInt(_0x55cb4a(0x199))/0x7*(-parseInt(_0x55cb4a(0x1af))/0x8)+-parseInt(_0x55cb4a(0x1fd))/0x9*(parseInt(_0x55cb4a(0x202))/0xa)+parseInt(_0x55cb4a(0x17b))/0xb;if(_0x4af9c6===_0x1d1687)break;else _0x2e700c['push'](_0x2e700c['shift']());}catch(_0x13cac9){_0x2e700c['push'](_0x2e700c['shift']());}}}(a20_0x2093,0x2d8bf));const fs=require('fs'),path=require(a20_0x41ab09(0x186)),{spawn}=require(a20_0x41ab09(0x18f)),logger=require(a20_0x41ab09(0x1b6))[a20_0x41ab09(0x1d5)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a20_0x41ab09(0x1ef)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0xd5cc04,_0x181d59)=>{const _0x5d29e0=a20_0x41ab09,_0x52fb1b={'HljvH':_0x5d29e0(0x1dd),'rElvg':_0x5d29e0(0x179),'wjjpV':function(_0x32084b,_0x4f5807){return _0x32084b===_0x4f5807;},'HAkAn':_0x5d29e0(0x198),'YNfZh':_0x5d29e0(0x193),'UbAjx':function(_0x3c11d4,_0x5b2fe3){return _0x3c11d4+_0x5b2fe3;},'pgSXO':_0x5d29e0(0x188),'HRTqt':function(_0xa8af7c,_0x19038d,_0x4d967c){return _0xa8af7c(_0x19038d,_0x4d967c);},'wpKEz':function(_0x1fd2ee,_0x1f6c9b,_0x56e455){return _0x1fd2ee(_0x1f6c9b,_0x56e455);},'Nokgy':'RcVXc','YjCzC':function(_0x429ff5,_0x52c3a5){return _0x429ff5===_0x52c3a5;},'eezwy':_0x5d29e0(0x1bd),'QSShK':_0x5d29e0(0x194),'FZDXw':function(_0x1d363b,_0x275862){return _0x1d363b!==_0x275862;},'WcRLe':_0x5d29e0(0x1e8),'JXlNZ':_0x5d29e0(0x17e),'TBKvZ':function(_0x255729,_0x36695f){return _0x255729===_0x36695f;},'ueXLh':_0x5d29e0(0x1fe),'cLhUe':function(_0x346ca9,_0x47b3db){return _0x346ca9!==_0x47b3db;},'KRSce':_0x5d29e0(0x1b7),'aQRDg':_0x5d29e0(0x1a6),'UcDad':function(_0x3164f8,_0x4ff716){return _0x3164f8(_0x4ff716);},'rmgrt':_0x5d29e0(0x1a9)};let _0x50f60e=null,_0x3b8094={};const _0x5316c3=_0x181d59['findIndex'](_0x4a3fda=>_0x4a3fda==_0x5d29e0(0x207));if(!helper[_0x5d29e0(0x17f)](_0xd5cc04[_0x5d29e0(0x17c)])&&fs[_0x5d29e0(0x1de)](path['join'](process[_0x5d29e0(0x18c)](),_0xd5cc04['config']))){if(_0x52fb1b[_0x5d29e0(0x1b0)](_0x52fb1b[_0x5d29e0(0x1e4)],_0x52fb1b['Nokgy']))_0x50f60e=path[_0x5d29e0(0x1d3)](process[_0x5d29e0(0x18c)](),_0xd5cc04['config']),_0x181d59[_0x5d29e0(0x19c)](_0x5316c3,0x2);else{if(_0x57a6a2['existsSync'](_0x5ddc31[_0x5d29e0(0x1d3)](_0x16c010[_0x5d29e0(0x18c)](),_0x52fb1b['HljvH'])))_0x521755=_0x3048ad['join'](_0x11bf45[_0x5d29e0(0x18c)](),_0x52fb1b[_0x5d29e0(0x1aa)]);else _0xb352fb[_0x5d29e0(0x1de)](_0x186462[_0x5d29e0(0x1d3)](_0x569d26['cwd'](),_0x52fb1b['rElvg']))&&(_0x230ee5=_0x1cf76e[_0x5d29e0(0x1d3)](_0x499444[_0x5d29e0(0x18c)](),_0x52fb1b[_0x5d29e0(0x1d6)]));}}else{if(_0x52fb1b[_0x5d29e0(0x20c)](_0x52fb1b['eezwy'],_0x52fb1b[_0x5d29e0(0x1f6)]))return _0x2d4ef3&&_0x52fb1b[_0x5d29e0(0x1b0)](typeof _0x4b56e0,_0x52fb1b[_0x5d29e0(0x1ce)])&&!_0x5a172f[_0x5d29e0(0x201)](_0x542d67);else{if(fs['existsSync'](path['join'](process[_0x5d29e0(0x18c)](),_0x52fb1b[_0x5d29e0(0x1aa)])))_0x52fb1b[_0x5d29e0(0x1f5)](_0x52fb1b[_0x5d29e0(0x206)],_0x52fb1b[_0x5d29e0(0x189)])?_0x50f60e=path[_0x5d29e0(0x1d3)](process[_0x5d29e0(0x18c)](),_0x52fb1b[_0x5d29e0(0x1aa)]):_0x21c020[_0x5d29e0(0x1a5)](_0x52fb1b[_0x5d29e0(0x1d2)]);else{if(fs[_0x5d29e0(0x1de)](path[_0x5d29e0(0x1d3)](process[_0x5d29e0(0x18c)](),_0x52fb1b[_0x5d29e0(0x1d6)]))){if(_0x52fb1b[_0x5d29e0(0x1cb)](_0x52fb1b[_0x5d29e0(0x178)],_0x52fb1b[_0x5d29e0(0x178)]))_0x50f60e=path[_0x5d29e0(0x1d3)](process[_0x5d29e0(0x18c)](),_0x52fb1b[_0x5d29e0(0x1d6)]);else{let _0x114eda=_0x52fb1b[_0x5d29e0(0x1c2)](_0x1094c9[_0x5d29e0(0x1f0)](_0x1baf1d,'_'),'_'+_0x29cd1e[_0x5d29e0(0x1b5)]());if(_0x375764)_0x114eda+='_'+_0x5b975b;if(_0x2989a6&&(!_0x3afed5[_0x52fb1b['pgSXO']]||!_0x282e7e[_0x52fb1b[_0x5d29e0(0x1a1)]][_0xff2fdf]))return;const _0x5a9c55={..._0x299404};_0x5a9c55[_0x5d29e0(0x208)]=_0x428d08;const _0x33f7e6=_0x5a9c55;_0x3cd367[_0x114eda]=_0x7d7731?_0x52fb1b[_0x5d29e0(0x1c8)](_0x43e7ca,_0x5fc73b[_0x52fb1b[_0x5d29e0(0x1a1)]][_0x4fb68e],_0x33f7e6):_0x33f7e6,_0x3744d1[_0x5d29e0(0x1e0)](_0x114eda);}}}}}if(_0x50f60e)_0x52fb1b[_0x5d29e0(0x1a2)](_0x52fb1b['KRSce'],_0x52fb1b[_0x5d29e0(0x1d1)])?(logger[_0x5d29e0(0x1a5)](_0x5d29e0(0x1e7)+_0x50f60e),_0x3b8094=_0x52fb1b[_0x5d29e0(0x175)](require,_0x50f60e)):_0xf83fda=_0x589929[_0x5d29e0(0x1d3)](_0x366190['cwd'](),_0x52fb1b[_0x5d29e0(0x1d6)]);else{if(_0x52fb1b['FZDXw'](_0x52fb1b['rmgrt'],_0x52fb1b[_0x5d29e0(0x1f2)])){const _0x4a7540={};_0x4a7540[_0x57e748]={};if(!_0xd96fc[_0x18df8a])_0x5f37d8[_0x5d29e0(0x197)](_0x6ac5c,_0x4a7540);_0x52fb1b[_0x5d29e0(0x191)](_0x574d1a,_0x192bf1[_0x347a76],_0x433a7f[_0x1f418c]);}else logger[_0x5d29e0(0x1a5)](_0x52fb1b[_0x5d29e0(0x1d2)]);}return _0x3b8094;},removeExistingEnvs=_0x374e8f=>{const _0x3dd74c=a20_0x41ab09,_0x20e7ba={};_0x20e7ba['KWXLs']=_0x3dd74c(0x1dd),_0x20e7ba[_0x3dd74c(0x1a4)]=function(_0x21bb14,_0x4c4531){return _0x21bb14>_0x4c4531;},_0x20e7ba[_0x3dd74c(0x17a)]=function(_0x52fc6a,_0x4b52ad){return _0x52fc6a!==_0x4b52ad;},_0x20e7ba[_0x3dd74c(0x192)]=_0x3dd74c(0x180),_0x20e7ba['yEsmM']=_0x3dd74c(0x1ea),_0x20e7ba['ZWwBZ']=function(_0x1ecb9c,_0x5841c6){return _0x1ecb9c!==_0x5841c6;},_0x20e7ba[_0x3dd74c(0x1ec)]='qxMEs',_0x20e7ba[_0x3dd74c(0x1d0)]=_0x3dd74c(0x1da);const _0x2b353b=_0x20e7ba;let _0x1e28bf=_0x374e8f[_0x3dd74c(0x1ed)](_0x2fcd64=>_0x2fcd64=='--env');_0x2b353b[_0x3dd74c(0x1a4)](_0x1e28bf,-0x1)&&(_0x2b353b[_0x3dd74c(0x17a)](_0x2b353b[_0x3dd74c(0x192)],_0x2b353b['yEsmM'])?_0x374e8f[_0x3dd74c(0x19c)](_0x1e28bf,0x2):(_0x199e12[_0x3dd74c(0x19e)](_0x3dd74c(0x1a7)+_0x411566),_0x473d7[_0x3dd74c(0x1a5)](_0x3dd74c(0x1b4)+_0x3eb750),_0x49d150[_0x3dd74c(0x196)](_0x3a6376))),_0x1e28bf=_0x374e8f[_0x3dd74c(0x1ed)](_0x42d7b5=>_0x42d7b5=='-e'),_0x2b353b['WivnN'](_0x1e28bf,-0x1)&&(_0x2b353b[_0x3dd74c(0x190)](_0x2b353b[_0x3dd74c(0x1ec)],_0x2b353b[_0x3dd74c(0x1d0)])?_0x374e8f['splice'](_0x1e28bf,0x2):_0x2fd683=_0x37e314[_0x3dd74c(0x1d3)](_0x149a76[_0x3dd74c(0x18c)](),_0x2b353b['KWXLs']));},isObject=_0x4d94c1=>{const _0x5d1275=a20_0x41ab09,_0x35eff2={};_0x35eff2[_0x5d1275(0x1c3)]=function(_0xd6d008,_0x2195e2){return _0xd6d008===_0x2195e2;},_0x35eff2[_0x5d1275(0x204)]=_0x5d1275(0x198);const _0x11f3eb=_0x35eff2;return _0x4d94c1&&_0x11f3eb['cxsnr'](typeof _0x4d94c1,_0x11f3eb['oAitx'])&&!Array[_0x5d1275(0x201)](_0x4d94c1);},mergeDeep=(_0x30445f,..._0x16ef67)=>{const _0x57fc5a=a20_0x41ab09,_0x151806={'zShkT':function(_0x20cdda,_0x5a181b){return _0x20cdda(_0x5a181b);},'KvGEm':function(_0x2a084c,_0x4a8e6b,_0x5b078b){return _0x2a084c(_0x4a8e6b,_0x5b078b);},'ssozA':function(_0x279221,_0x2c2b3e){return _0x279221+_0x2c2b3e;},'mZsEF':'test_settings','GIfvl':function(_0xabeafc,_0x1cb088){return _0xabeafc(_0x1cb088);},'tWpwU':function(_0x185b85,_0x2fdeee){return _0x185b85!==_0x2fdeee;},'Cwfbx':'qrvFc','lWsVg':_0x57fc5a(0x183),'mBXaF':function(_0x87312,_0xfd72d7){return _0x87312===_0xfd72d7;},'eGBFZ':_0x57fc5a(0x1a3),'gKArO':_0x57fc5a(0x1ad),'fKaTA':function(_0x3bd6f6,_0x79f81f){return _0x3bd6f6(_0x79f81f);},'nYExY':function(_0x1b9329,_0x32dbc1){return _0x1b9329!==_0x32dbc1;},'OGnZf':_0x57fc5a(0x174),'pzrTX':'jmCBn','tWVBW':function(_0x310e2e,_0x3b32c3,_0x266241){return _0x310e2e(_0x3b32c3,_0x266241);},'SzLpI':function(_0x331be9,_0x41352a){return _0x331be9!==_0x41352a;},'ireev':_0x57fc5a(0x1ee),'XsotB':function(_0x30576e,_0x3d2eef,..._0x189ba9){return _0x30576e(_0x3d2eef,..._0x189ba9);}};if(!_0x16ef67[_0x57fc5a(0x1e5)])return _0x30445f;const _0x191022=_0x16ef67[_0x57fc5a(0x1b8)]();if(_0x151806[_0x57fc5a(0x1e6)](isObject,_0x30445f)&&_0x151806[_0x57fc5a(0x1b2)](isObject,_0x191022)){if(_0x151806[_0x57fc5a(0x1f1)](_0x151806[_0x57fc5a(0x18b)],_0x151806['lWsVg']))for(const _0x280059 in _0x191022){if(_0x151806[_0x57fc5a(0x1f9)](_0x151806['eGBFZ'],_0x151806[_0x57fc5a(0x1df)]))for(const _0x43f16b in _0x45d9dc){if(_0x151806['zShkT'](_0x158c3d,_0x530713[_0x43f16b])){if(!_0x3c82af[_0x43f16b])_0x68e3e[_0x57fc5a(0x197)](_0x3ab6e0,{[_0x43f16b]:{}});_0x151806['KvGEm'](_0x254edc,_0x510d2e[_0x43f16b],_0x5e8107[_0x43f16b]);}else{const _0x417842={};_0x417842[_0x43f16b]=_0x52c100[_0x43f16b],_0x4f3b7b[_0x57fc5a(0x197)](_0x5a2c9b,_0x417842);}}else{if(_0x151806[_0x57fc5a(0x18e)](isObject,_0x191022[_0x280059])){if(_0x151806[_0x57fc5a(0x205)](_0x151806[_0x57fc5a(0x1fb)],_0x151806['pzrTX'])){if(!_0x30445f[_0x280059])Object[_0x57fc5a(0x197)](_0x30445f,{[_0x280059]:{}});_0x151806[_0x57fc5a(0x1b3)](mergeDeep,_0x30445f[_0x280059],_0x191022[_0x280059]);}else{const _0x247824={};_0x247824[_0x4e3d89]=_0x586604[_0x89440c],_0x5bd6e0[_0x57fc5a(0x197)](_0x1d5c80,_0x247824);}}else{if(_0x151806['SzLpI'](_0x151806[_0x57fc5a(0x1dc)],_0x151806['ireev']))_0x1ccd37=_0x4d3217[_0x57fc5a(0x1d3)](_0x18cc7c[_0x57fc5a(0x18c)](),_0x56432d[_0x57fc5a(0x17c)]),_0x310389[_0x57fc5a(0x19c)](_0x40b921,0x2);else{const _0x227225={};_0x227225[_0x280059]=_0x191022[_0x280059],Object[_0x57fc5a(0x197)](_0x30445f,_0x227225);}}}}else _0x248315[_0x57fc5a(0x19d)](_0x2f72f7=>{const _0x35a971=_0x57fc5a;let _0x2b5745=_0x151806[_0x35a971(0x1ac)](_0x375c54[_0x35a971(0x1f0)](_0x2f72f7,'_'),'_'+_0x2a0c56[_0x35a971(0x1b5)]());if(_0x50c8d2)_0x2b5745+='_'+_0x1134aa;if(_0x236ffb&&(!_0xe1442f[_0x151806[_0x35a971(0x1c0)]]||!_0x22afdf[_0x151806[_0x35a971(0x1c0)]][_0x5903db]))return;const _0x15a1bd={..._0x55e979};_0x15a1bd[_0x35a971(0x208)]=_0x2f72f7;const _0xb530f9=_0x15a1bd;_0xfa8dfb[_0x2b5745]=_0x3f5a05?_0x151806[_0x35a971(0x1a8)](_0x53c743,_0x5d11fd[_0x151806[_0x35a971(0x1c0)]][_0x1ac4cd],_0xb530f9):_0xb530f9,_0x3ffeb6['push'](_0x2b5745);});}return _0x151806[_0x57fc5a(0x184)](mergeDeep,_0x30445f,..._0x16ef67);};function a20_0x3bf5(_0x104465,_0x1d89de){const _0x2093fd=a20_0x2093();return a20_0x3bf5=function(_0x3bf5d5,_0x3cae5e){_0x3bf5d5=_0x3bf5d5-0x174;let _0x80f38c=_0x2093fd[_0x3bf5d5];return _0x80f38c;},a20_0x3bf5(_0x104465,_0x1d89de);}function run(_0x5ec6f8,_0x403679){const _0x484134=a20_0x41ab09,_0x5815ed={'PhcdR':function(_0x4ce2bc,_0x3aa9ad){return _0x4ce2bc(_0x3aa9ad);},'cUoZD':function(_0x5d5d31,_0x140181){return _0x5d5d31!==_0x140181;},'lXSuQ':_0x484134(0x1ca),'RRhoF':'nightwatch','OnGTT':function(_0x10b987,_0x47b157){return _0x10b987!==_0x47b157;},'DDslc':_0x484134(0x1c9),'PfdQx':_0x484134(0x20a),'Rvrma':function(_0x22d710,_0x3c619b){return _0x22d710+_0x3c619b;},'ROXQk':_0x484134(0x188),'XvOxA':function(_0x597b65,_0x52c5c6,_0x494bf6){return _0x597b65(_0x52c5c6,_0x494bf6);},'kPLDp':function(_0x4df6c1,_0x271dcd){return _0x4df6c1===_0x271dcd;},'fQlmU':_0x484134(0x1cd),'ezMga':_0x484134(0x1f4),'LblJN':function(_0x2083e2,_0x3320b6){return _0x2083e2>_0x3320b6;},'qbpYj':'TmbnG','tsXzg':_0x484134(0x1ff),'glfey':_0x484134(0x1cc),'RBpla':function(_0x35edc7,_0x4ee7dd){return _0x35edc7==_0x4ee7dd;},'KuwiB':_0x484134(0x187),'MnPVH':function(_0x3d7bd1,_0x2462c3,_0x2cb43a,_0x1002d6){return _0x3d7bd1(_0x2462c3,_0x2cb43a,_0x1002d6);},'KkCmW':_0x484134(0x1bf),'SitAp':_0x484134(0x207),'PaTRp':_0x484134(0x203),'jqCBC':_0x484134(0x177),'ndIYR':_0x484134(0x1f7)},_0x1a93f7=new BrowserStackSetup();if(!_0x1a93f7[_0x484134(0x17c)])return;const _0x3e6248=_0x5815ed[_0x484134(0x1c7)](getUserNightwatchConfigs,_0x5ec6f8,_0x403679),_0x4a3ced={};_0x4a3ced['start_process']=![];const _0x4fefbe={};_0x4fefbe[_0x484134(0x1e9)]=_0x5815ed[_0x484134(0x1cf)],_0x4fefbe[_0x484134(0x18d)]=0x1bb;const _0x4eda9c={};_0x4eda9c[_0x484134(0x1bc)]=_0x4a3ced,_0x4eda9c[_0x484134(0x1c6)]=_0x4fefbe;const _0x5c2c1a=_0x4eda9c;logger[_0x484134(0x1a5)](_0x5815ed[_0x484134(0x1c4)]);const _0xa8f0b4={..._0x3e6248},_0x460c7d=_0xa8f0b4;let _0x515a24=helper[_0x484134(0x1ab)](_0x1a93f7[_0x484134(0x17c)]);const _0x46d228=[];_0x1a93f7[_0x484134(0x17c)][_0x484134(0x200)]['forEach']((_0x349c9a,_0x1cb62f)=>{const _0x1ace8c=_0x484134;if(_0x5815ed[_0x1ace8c(0x1ba)](_0x5815ed[_0x1ace8c(0x1d7)],_0x5815ed[_0x1ace8c(0x1d7)]))_0x45233a[_0x1ace8c(0x1a5)](_0x1ace8c(0x1e7)+_0x4f91d9),_0x33a9aa=_0x5815ed[_0x1ace8c(0x1b1)](_0x5d7daa,_0xf20294);else{if(_0x515a24)_0x46d228[_0x1ace8c(0x1e0)](helper[_0x1ace8c(0x1d8)](_0x1a93f7['config'],_0x5815ed['RRhoF'],_0x1cb62f));else _0x46d228[_0x1ace8c(0x1e0)](helper[_0x1ace8c(0x1d9)](_0x1a93f7[_0x1ace8c(0x17c)],_0x5815ed['RRhoF'],_0x1cb62f));}});const _0x393889={},_0x429535=[];_0x5ec6f8[_0x484134(0x1c1)]=_0x5ec6f8[_0x484134(0x1c1)]||_0x5ec6f8['e'];const _0x4a1636=_0x5ec6f8[_0x484134(0x1c1)]?_0x5ec6f8[_0x484134(0x1c1)][_0x484134(0x181)]()[_0x484134(0x195)](',')[_0x484134(0x1eb)](_0x1c8d92=>_0x1c8d92[_0x484134(0x181)]())[_0x484134(0x1ae)](_0x2e4cd6=>_0x2e4cd6!=''):[''];if(_0x5815ed['RBpla'](_0x4a1636['length'],0x0))_0x4a1636[_0x484134(0x1e0)]('');_0x4a1636[_0x484134(0x19d)](_0x5650aa=>{const _0x10fff5=_0x484134,_0x254f9d={'rQNtg':function(_0x68acc3,_0x56ce73){const _0xea8921=a20_0x3bf5;return _0x5815ed[_0xea8921(0x1b1)](_0x68acc3,_0x56ce73);},'GVGPh':function(_0xc5e587,_0x3f670a,_0x140282){return _0x5815ed['XvOxA'](_0xc5e587,_0x3f670a,_0x140282);}};_0x5815ed[_0x10fff5(0x1bb)](_0x5815ed[_0x10fff5(0x209)],_0x5815ed[_0x10fff5(0x19b)])?_0x324ab5[_0x10fff5(0x19c)](_0x58e9c8,0x2):_0x46d228[_0x10fff5(0x19d)](_0x4666e0=>{const _0x27f010=_0x10fff5;if(_0x5815ed[_0x27f010(0x1d4)](_0x5815ed[_0x27f010(0x1b9)],_0x5815ed['PfdQx'])){let _0x29b1f1=_0x5815ed['Rvrma'](helper[_0x27f010(0x1f0)](_0x4666e0,'_'),'_'+Date['now']());if(_0x5650aa)_0x29b1f1+='_'+_0x5650aa;if(_0x5650aa&&(!_0x3e6248[_0x5815ed[_0x27f010(0x1f8)]]||!_0x3e6248[_0x5815ed[_0x27f010(0x1f8)]][_0x5650aa]))return;const _0xfb998c={..._0x5c2c1a};_0xfb998c['desiredCapabilities']=_0x4666e0;const _0x31cc5e=_0xfb998c;_0x393889[_0x29b1f1]=_0x5650aa?_0x5815ed[_0x27f010(0x1c7)](mergeDeep,_0x3e6248[_0x5815ed['ROXQk']][_0x5650aa],_0x31cc5e):_0x31cc5e,_0x429535['push'](_0x29b1f1);}else{if(_0x254f9d[_0x27f010(0x1e1)](_0x5e2f76,_0x34724b[_0x4dd772])){const _0x5eb21a={};_0x5eb21a[_0x4a3ab5]={};if(!_0x4459da[_0x3b43a3])_0x14a973[_0x27f010(0x197)](_0x5a96d7,_0x5eb21a);_0x254f9d[_0x27f010(0x19a)](_0x4dc78b,_0x4396e9[_0x4a4c0d],_0x53679b[_0x5f9311]);}else{const _0x19aada={};_0x19aada[_0x24ccbe]=_0x267506[_0x28dcfb],_0xf0cc41[_0x27f010(0x197)](_0x25c7a0,_0x19aada);}}});});if(!_0x460c7d[_0x484134(0x188)])_0x460c7d[_0x484134(0x188)]={};_0x460c7d['test_settings']={..._0x460c7d[_0x484134(0x188)],..._0x393889};const _0x3c31e2=path[_0x484134(0x1d3)](__dirname,_0x5815ed[_0x484134(0x182)]);fs['writeFileSync'](_0x3c31e2,JSON[_0x484134(0x1a0)](_0x460c7d)),_0x5815ed[_0x484134(0x1b1)](removeExistingEnvs,_0x403679);const _0x1bc054=_0x5815ed[_0x484134(0x1fc)](spawn,/^win/['test'](process['platform'])?_0x5815ed[_0x484134(0x19f)]:_0x5815ed[_0x484134(0x1f3)],[_0x5815ed[_0x484134(0x1e3)],_0x3c31e2,..._0x403679[_0x484134(0x1fa)](0x1),_0x5815ed[_0x484134(0x18a)],_0x429535[_0x484134(0x1d3)](',')],{'stdio':_0x5815ed[_0x484134(0x176)]});_0x1bc054['on'](_0x5815ed['ndIYR'],async _0x124050=>{const _0x4ae4da=_0x484134;if(_0x5815ed['kPLDp'](_0x5815ed['qbpYj'],_0x5815ed['qbpYj']))logger[_0x4ae4da(0x19e)](_0x4ae4da(0x1a7)+_0x124050),logger['info'](_0x4ae4da(0x1b4)+_0x3c31e2),fs[_0x4ae4da(0x196)](_0x3c31e2);else{let _0x2c0323=_0x16251d[_0x4ae4da(0x1ed)](_0x234022=>_0x234022==_0x4ae4da(0x203));_0x5815ed[_0x4ae4da(0x1be)](_0x2c0323,-0x1)&&_0x1014ce[_0x4ae4da(0x19c)](_0x2c0323,0x2),_0x2c0323=_0x67ab52[_0x4ae4da(0x1ed)](_0x3f8aa2=>_0x3f8aa2=='-e'),_0x5815ed[_0x4ae4da(0x1be)](_0x2c0323,-0x1)&&_0xac2847[_0x4ae4da(0x19c)](_0x2c0323,0x2);}});}module['exports']=run;
|
|
2
|
+
'use strict';const a20_0x22276e=a20_0x4903;(function(_0x1c9aeb,_0x533817){const _0x409653=a20_0x4903,_0xc1e668=_0x1c9aeb();while(!![]){try{const _0x214ccd=parseInt(_0x409653(0x209))/0x1*(parseInt(_0x409653(0x22f))/0x2)+-parseInt(_0x409653(0x1c4))/0x3+parseInt(_0x409653(0x1bd))/0x4+parseInt(_0x409653(0x219))/0x5*(-parseInt(_0x409653(0x23f))/0x6)+parseInt(_0x409653(0x1dc))/0x7+-parseInt(_0x409653(0x1b9))/0x8+parseInt(_0x409653(0x1b8))/0x9*(parseInt(_0x409653(0x20d))/0xa);if(_0x214ccd===_0x533817)break;else _0xc1e668['push'](_0xc1e668['shift']());}catch(_0x3114c7){_0xc1e668['push'](_0xc1e668['shift']());}}}(a20_0x43e3,0x69417));function a20_0x43e3(){const _0x30f89b=['DDCIB','push','sOpKZ','pTZjB','../../helpers/BrowserStackSetup','pNnik','oWKrt','close','info','yxKGp','nightwatch.json','efxBW','forEach','aPgGz','DleiX','writeFileSync','ujIZw','12OjICFi','slice','uXKOp','KxEfr','selenium','jrENV','existsSync','DZosS','join','cwd','nJMFy','CkNiu','IHRcC','platform','goCmm','eYkCN','318gjfYzD','Yridx','HrOoB','stringify','Deleting\x20','child_process','test_settings','OXrlx','150831tEyrkc','2356232uzKCuQ','LUzhx','nightwatch','DSKYx','1819788AXwgia','GFthO','MTKUh','EABYH','TAtkI','SDDNa','QLpFF','835740eejgjb','USFzR','mMhar','port','mTiHP','wKtvU','desiredCapabilities','MsbSt','isArray','mKjFc','CjkUY','PKMjW','Getting\x20your\x20nightwatch\x20configs\x20from\x20','lgZIl','nightwatch-browserstack.json','assign','PVdcK','KoUSu','ztDEC','WvvfR','LFJrc','aYoht','rFanJ','DhRDs','1317638zSDkto','OxLxc','inherit','test','vrncf','modifyBrowserStackW3CCaps','dtESY','iWfbL','HegGe','webdriver','ujhtF','fgWBv','KNFoH','aplBi','OhKeX','--config','YSNUE','yeGYd','SoOPu','ZWkpk','huGGv','idBBb','filter','HIjDi','EpGmX','KeYuE','HqPYE','--env','CWXuR','rqztb','pWDzB','findIndex','cHnku','../utils/constants','pUifK','OPBCw','SrOZj','udbHe','PWbEP','../../helpers/helper','now','path','splice','shift','config','49534GWLCaL','useW3C','UviNd','trim','180PNARvu','nightwatch.conf.js','getPlatformName','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','split','length','vWJix','env','tyaaN','isUndefined','wflhi','object','22435FWwNyK','PZeuS','Ogjeo','gGACh','LzYkU'];a20_0x43e3=function(){return _0x30f89b;};return a20_0x43e3();}const fs=require('fs'),path=require(a20_0x22276e(0x205)),{spawn}=require(a20_0x22276e(0x1b5)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a20_0x22276e(0x222)),helper=require(a20_0x22276e(0x203)),constants=require(a20_0x22276e(0x1fd)),getUserNightwatchConfigs=(_0x566b34,_0x3f216c)=>{const _0x35d92d=a20_0x22276e,_0x215f03={'TAtkI':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','QLpFF':function(_0x145db2,_0x42b58b){return _0x145db2===_0x42b58b;},'UviNd':_0x35d92d(0x218),'OxLxc':_0x35d92d(0x20e),'OhKeX':'nightwatch.json','MTKUh':function(_0x4a61ca,_0x9193d6){return _0x4a61ca!==_0x9193d6;},'cCPXI':_0x35d92d(0x22b),'oWKrt':_0x35d92d(0x1f4),'DDCIB':function(_0x24d4da,_0x5d1315){return _0x24d4da!==_0x5d1315;},'jrENV':_0x35d92d(0x221),'idBBb':'zQndC','IHRcC':_0x35d92d(0x239),'zuQsR':_0x35d92d(0x21c),'KNFoH':function(_0x4963c5,_0x497390){return _0x4963c5!==_0x497390;},'aplBi':_0x35d92d(0x1d6),'wflhi':_0x35d92d(0x1cd),'vWJix':_0x35d92d(0x1f0),'yxKGp':function(_0x561a86,_0x4ec964){return _0x561a86(_0x4ec964);},'KxEfr':'wXAcV','SrOZj':_0x35d92d(0x1da)};let _0x418611=null,_0x106f95={};const _0x320eef=_0x3f216c[_0x35d92d(0x1fb)](_0x5500b0=>_0x5500b0==_0x35d92d(0x1eb));if(!helper[_0x35d92d(0x216)](_0x566b34[_0x35d92d(0x208)])&&fs[_0x35d92d(0x235)](path[_0x35d92d(0x237)](process['cwd'](),_0x566b34[_0x35d92d(0x208)])))_0x215f03[_0x35d92d(0x1bf)](_0x215f03['cCPXI'],_0x215f03[_0x35d92d(0x224)])?(_0x418611=path[_0x35d92d(0x237)](process['cwd'](),_0x566b34[_0x35d92d(0x208)]),_0x3f216c[_0x35d92d(0x206)](_0x320eef,0x2)):_0x276e52[_0x35d92d(0x226)](_0x215f03[_0x35d92d(0x1c1)]);else{if(_0x215f03[_0x35d92d(0x21e)](_0x215f03[_0x35d92d(0x234)],_0x215f03[_0x35d92d(0x1f1)])){if(fs[_0x35d92d(0x235)](path[_0x35d92d(0x237)](process[_0x35d92d(0x238)](),_0x215f03[_0x35d92d(0x1dd)]))){if(_0x215f03[_0x35d92d(0x1c3)](_0x215f03[_0x35d92d(0x23b)],_0x215f03['zuQsR']))return _0x45d8de&&_0x215f03[_0x35d92d(0x1c3)](typeof _0x3bf33b,_0x215f03[_0x35d92d(0x20b)])&&!_0x47d6ac[_0x35d92d(0x1cc)](_0x25ede6);else _0x418611=path[_0x35d92d(0x237)](process[_0x35d92d(0x238)](),_0x215f03[_0x35d92d(0x1dd)]);}else fs['existsSync'](path[_0x35d92d(0x237)](process[_0x35d92d(0x238)](),_0x215f03[_0x35d92d(0x1ea)]))&&(_0x215f03[_0x35d92d(0x1e8)](_0x215f03[_0x35d92d(0x1e9)],_0x215f03[_0x35d92d(0x217)])?_0x418611=path[_0x35d92d(0x237)](process['cwd'](),_0x215f03['OhKeX']):_0x3507cd[_0x35d92d(0x206)](_0xaa00eb,0x2));}else _0x5dd799=_0x1c3e84[_0x35d92d(0x237)](_0x203d64[_0x35d92d(0x238)](),_0x116d9f['config']),_0x4f1d5a[_0x35d92d(0x206)](_0x36621d,0x2);}if(_0x418611){if(_0x215f03['QLpFF'](_0x215f03[_0x35d92d(0x213)],_0x215f03[_0x35d92d(0x213)]))logger[_0x35d92d(0x226)](_0x35d92d(0x1d0)+_0x418611),_0x106f95=_0x215f03[_0x35d92d(0x227)](require,_0x418611);else{const _0x45be8d={};_0x45be8d[_0x1c1a95]=_0x19276e[_0x574596],_0x19bbd4[_0x35d92d(0x1d3)](_0x552a0f,_0x45be8d);}}else{if(_0x215f03['DDCIB'](_0x215f03[_0x35d92d(0x232)],_0x215f03[_0x35d92d(0x200)]))logger[_0x35d92d(0x226)](_0x215f03[_0x35d92d(0x1c1)]);else{if(_0x3d23a9['existsSync'](_0x3b1a73[_0x35d92d(0x237)](_0x4415a7[_0x35d92d(0x238)](),_0x215f03[_0x35d92d(0x1dd)])))_0x25e270=_0x11c3f7['join'](_0x107a9e[_0x35d92d(0x238)](),_0x215f03['OxLxc']);else _0xfea3[_0x35d92d(0x235)](_0x1004c2[_0x35d92d(0x237)](_0x41ed96[_0x35d92d(0x238)](),_0x215f03['OhKeX']))&&(_0x168e58=_0x3aaa19[_0x35d92d(0x237)](_0x2618b2[_0x35d92d(0x238)](),_0x215f03[_0x35d92d(0x1ea)]));}}return _0x106f95;},removeExistingEnvs=_0x9712d1=>{const _0x482e4d=a20_0x22276e,_0x1e0254={'mMhar':function(_0x3e3a5d,_0x5331a2,_0x1e3e73){return _0x3e3a5d(_0x5331a2,_0x1e3e73);},'pYkWr':_0x482e4d(0x20e),'ujhtF':function(_0x12c6d4,_0x27be1b){return _0x12c6d4>_0x27be1b;},'wKtvU':function(_0x509550,_0x200e4b){return _0x509550===_0x200e4b;},'CWXuR':_0x482e4d(0x22c),'ShFwZ':function(_0x477ef7,_0x16f8b4){return _0x477ef7!==_0x16f8b4;},'PZeuS':_0x482e4d(0x1ff)};let _0x5a5de1=_0x9712d1[_0x482e4d(0x1fb)](_0x5941c9=>_0x5941c9==_0x482e4d(0x1f7));if(_0x1e0254[_0x482e4d(0x1e6)](_0x5a5de1,-0x1)){if(_0x1e0254[_0x482e4d(0x1c9)](_0x1e0254[_0x482e4d(0x1f8)],_0x1e0254[_0x482e4d(0x1f8)]))_0x9712d1[_0x482e4d(0x206)](_0x5a5de1,0x2);else{const _0x593bd9={};_0x593bd9[_0x4d470c]={};if(!_0x2b4a3d[_0x11b06b])_0x2ae416[_0x482e4d(0x1d3)](_0x4b43ab,_0x593bd9);_0x1e0254[_0x482e4d(0x1c6)](_0x12a29a,_0x3593b6[_0x766403],_0x3fb8ae[_0x53f7c7]);}}_0x5a5de1=_0x9712d1[_0x482e4d(0x1fb)](_0xd74c72=>_0xd74c72=='-e'),_0x1e0254[_0x482e4d(0x1e6)](_0x5a5de1,-0x1)&&(_0x1e0254['ShFwZ'](_0x1e0254[_0x482e4d(0x21a)],_0x1e0254[_0x482e4d(0x21a)])?_0x2bfad6=_0x19ae54[_0x482e4d(0x237)](_0x5c5071[_0x482e4d(0x238)](),_0x1e0254['pYkWr']):_0x9712d1[_0x482e4d(0x206)](_0x5a5de1,0x2));},isObject=_0x137f90=>{const _0x501a6d=a20_0x22276e,_0x472855={};_0x472855['USFzR']=function(_0x386f24,_0x32722b){return _0x386f24===_0x32722b;},_0x472855[_0x501a6d(0x1e3)]=_0x501a6d(0x218);const _0x54c946=_0x472855;return _0x137f90&&_0x54c946[_0x501a6d(0x1c5)](typeof _0x137f90,_0x54c946['iWfbL'])&&!Array[_0x501a6d(0x1cc)](_0x137f90);},mergeDeep=(_0x5726e7,..._0x190a61)=>{const _0x329e2d=a20_0x22276e,_0x8cd76f={'eYkCN':function(_0x2a12ea,_0x4956e8){return _0x2a12ea(_0x4956e8);},'pWDzB':_0x329e2d(0x228),'efxBW':function(_0x2543d3,_0x9973d9){return _0x2543d3>_0x9973d9;},'PVdcK':function(_0x570f26,_0x39efda){return _0x570f26(_0x39efda);},'rDpyN':function(_0x37b8fb,_0x1a751b){return _0x37b8fb(_0x1a751b);},'LFJrc':function(_0x181ce9,_0x4089d9){return _0x181ce9===_0x4089d9;},'gVIGS':'mDKRS','KeYuE':_0x329e2d(0x236),'ZWkpk':_0x329e2d(0x1e0),'vciCW':_0x329e2d(0x22e),'aYoht':function(_0x183951,_0x17f8fd){return _0x183951(_0x17f8fd);},'HrOoB':function(_0x23f471,_0x5a3bc){return _0x23f471===_0x5a3bc;},'pKaxm':_0x329e2d(0x1d1),'PWbEP':_0x329e2d(0x1ec),'HegGe':function(_0xf111a9,_0x343325,_0x50051a){return _0xf111a9(_0x343325,_0x50051a);},'KoUSu':_0x329e2d(0x220),'uXKOp':function(_0x50f58e,_0x2d94a4,..._0x30d3f5){return _0x50f58e(_0x2d94a4,..._0x30d3f5);}};if(!_0x190a61[_0x329e2d(0x212)])return _0x5726e7;const _0x4744e2=_0x190a61[_0x329e2d(0x207)]();if(_0x8cd76f[_0x329e2d(0x1d4)](isObject,_0x5726e7)&&_0x8cd76f['rDpyN'](isObject,_0x4744e2)){if(_0x8cd76f[_0x329e2d(0x1d8)](_0x8cd76f['gVIGS'],_0x8cd76f[_0x329e2d(0x1f5)]))_0x573697['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x1e996b),_0x429f7d=_0x8cd76f[_0x329e2d(0x23e)](_0x4ef006,_0x13ac73);else for(const _0x529646 in _0x4744e2){if(_0x8cd76f[_0x329e2d(0x1d8)](_0x8cd76f[_0x329e2d(0x1ef)],_0x8cd76f['vciCW']))_0x3c1387=_0x2aacc7[_0x329e2d(0x237)](_0x172e06[_0x329e2d(0x238)](),_0x8cd76f[_0x329e2d(0x1fa)]);else{if(_0x8cd76f[_0x329e2d(0x1d9)](isObject,_0x4744e2[_0x529646])){if(_0x8cd76f[_0x329e2d(0x241)](_0x8cd76f['pKaxm'],_0x8cd76f[_0x329e2d(0x202)])){let _0x3dde22=_0x2bef3b[_0x329e2d(0x1fb)](_0x287792=>_0x287792==_0x329e2d(0x1f7));_0x8cd76f[_0x329e2d(0x229)](_0x3dde22,-0x1)&&_0x454c8b[_0x329e2d(0x206)](_0x3dde22,0x2),_0x3dde22=_0x458f44['findIndex'](_0x3996ef=>_0x3996ef=='-e'),_0x8cd76f[_0x329e2d(0x229)](_0x3dde22,-0x1)&&_0x4219ec['splice'](_0x3dde22,0x2);}else{if(!_0x5726e7[_0x529646])Object[_0x329e2d(0x1d3)](_0x5726e7,{[_0x529646]:{}});_0x8cd76f[_0x329e2d(0x1e4)](mergeDeep,_0x5726e7[_0x529646],_0x4744e2[_0x529646]);}}else{if(_0x8cd76f[_0x329e2d(0x241)](_0x8cd76f[_0x329e2d(0x1d5)],_0x8cd76f[_0x329e2d(0x1d5)])){const _0x36f827={};_0x36f827[_0x529646]=_0x4744e2[_0x529646],Object[_0x329e2d(0x1d3)](_0x5726e7,_0x36f827);}else _0x11033b[_0x329e2d(0x206)](_0x457504,0x2);}}}}return _0x8cd76f[_0x329e2d(0x231)](mergeDeep,_0x5726e7,..._0x190a61);};function a20_0x4903(_0x1066cf,_0x591b4f){const _0x43e303=a20_0x43e3();return a20_0x4903=function(_0x490361,_0x1cf3b1){_0x490361=_0x490361-0x1b5;let _0x3fab7a=_0x43e303[_0x490361];return _0x3fab7a;},a20_0x4903(_0x1066cf,_0x591b4f);}function run(_0x57f366,_0x17253d){const _0x51778a=a20_0x22276e,_0x38fb98={'LzYkU':function(_0xb8e27e,_0x5e0fdb){return _0xb8e27e(_0x5e0fdb);},'SDDNa':function(_0x149542,_0x1bb201,_0x272913){return _0x149542(_0x1bb201,_0x272913);},'dtESY':function(_0x207957,_0x59aef4){return _0x207957!==_0x59aef4;},'crNdp':_0x51778a(0x1be),'nxpVK':_0x51778a(0x1cf),'WvvfR':_0x51778a(0x1bb),'HIjDi':function(_0x3206ae,_0x4b0285,_0x244116){return _0x3206ae(_0x4b0285,_0x244116);},'DSKYx':function(_0x27b9a4,_0x1d2b36){return _0x27b9a4!==_0x1d2b36;},'NaaGe':_0x51778a(0x1ce),'goCmm':_0x51778a(0x23a),'Yridx':function(_0x369fd2,_0x329d0a){return _0x369fd2+_0x329d0a;},'OXrlx':_0x51778a(0x1b6),'pNnik':function(_0x4afcc3,_0x543fc6){return _0x4afcc3===_0x543fc6;},'tyaaN':_0x51778a(0x1f9),'Ogjeo':function(_0x1512d5,_0x3db810){return _0x1512d5+_0x3db810;},'yeGYd':function(_0x285795,_0x33009f){return _0x285795!==_0x33009f;},'SoOPu':'ikEih','DhRDs':function(_0x5219a9,_0x139810,_0x141c96){return _0x5219a9(_0x139810,_0x141c96);},'udbHe':'hub.browserstack.com','wuJvf':_0x51778a(0x210),'MsbSt':function(_0x428a4e,_0x193f89){return _0x428a4e==_0x193f89;},'EABYH':_0x51778a(0x1d2),'LUzhx':function(_0x180eac,_0x353094,_0x3b22ff,_0x32995f){return _0x180eac(_0x353094,_0x3b22ff,_0x32995f);},'MKYyt':'nightwatch.cmd','fgWBv':_0x51778a(0x1eb),'cHnku':'--env','pUifK':_0x51778a(0x1de),'OspPS':_0x51778a(0x225)},_0x28deeb=new BrowserStackSetup();if(!_0x28deeb[_0x51778a(0x208)])return;const _0x193188=_0x38fb98[_0x51778a(0x1db)](getUserNightwatchConfigs,_0x57f366,_0x17253d),_0x4b991e={};_0x4b991e['start_process']=![];const _0xfc97bf={};_0xfc97bf['host']=_0x38fb98[_0x51778a(0x201)],_0xfc97bf[_0x51778a(0x1c7)]=0x1bb;const _0x44257e={};_0x44257e[_0x51778a(0x1e5)]=_0x4b991e,_0x44257e[_0x51778a(0x233)]=_0xfc97bf;const _0x27439b=_0x44257e;logger[_0x51778a(0x226)](_0x38fb98['wuJvf']);const _0x5d5149={..._0x193188},_0x549ac9=_0x5d5149;let _0x52c483=helper[_0x51778a(0x20a)](_0x28deeb[_0x51778a(0x208)]);const _0x101708=[];_0x28deeb[_0x51778a(0x208)]['platforms'][_0x51778a(0x22a)]((_0x19c170,_0x50937c)=>{const _0x52563e=_0x51778a,_0x5c9517={'RWvru':function(_0xdf4899,_0x3b929d){return _0x38fb98['LzYkU'](_0xdf4899,_0x3b929d);},'bCQRc':function(_0x380a23,_0x1ea9dd,_0x3058a6){return _0x38fb98['SDDNa'](_0x380a23,_0x1ea9dd,_0x3058a6);}};if(_0x38fb98[_0x52563e(0x1e2)](_0x38fb98['crNdp'],_0x38fb98['nxpVK'])){if(_0x52c483)_0x101708[_0x52563e(0x21f)](helper[_0x52563e(0x1e1)](_0x28deeb[_0x52563e(0x208)],_0x38fb98[_0x52563e(0x1d7)],_0x50937c));else _0x101708['push'](helper['modifyBrowserStackCaps'](_0x28deeb[_0x52563e(0x208)],_0x38fb98[_0x52563e(0x1d7)],_0x50937c));}else for(const _0x3f1acc in _0x18bd6c){if(_0x5c9517['RWvru'](_0x2eb989,_0x580402[_0x3f1acc])){if(!_0x529774[_0x3f1acc])_0x5a381f[_0x52563e(0x1d3)](_0x2340cc,{[_0x3f1acc]:{}});_0x5c9517['bCQRc'](_0x125f9d,_0x16fad7[_0x3f1acc],_0x358b3e[_0x3f1acc]);}else{const _0x412848={};_0x412848[_0x3f1acc]=_0x1d9a70[_0x3f1acc],_0x32fc1c['assign'](_0x2cc6e2,_0x412848);}}});const _0x2ae7c1={},_0x36d334=[];_0x57f366[_0x51778a(0x214)]=_0x57f366[_0x51778a(0x214)]||_0x57f366['e'];const _0x2a7e6a=_0x57f366[_0x51778a(0x214)]?_0x57f366[_0x51778a(0x214)][_0x51778a(0x20c)]()[_0x51778a(0x211)](',')['map'](_0x289437=>_0x289437[_0x51778a(0x20c)]())[_0x51778a(0x1f2)](_0x4e7529=>_0x4e7529!=''):[''];if(_0x38fb98[_0x51778a(0x1cb)](_0x2a7e6a[_0x51778a(0x212)],0x0))_0x2a7e6a[_0x51778a(0x21f)]('');_0x2a7e6a[_0x51778a(0x22a)](_0x548e9b=>{const _0x51a577=_0x51778a,_0x10e2da={};_0x10e2da[_0x51a577(0x1c8)]=_0x38fb98[_0x51a577(0x1d7)];const _0x11817a=_0x10e2da;if(_0x38fb98[_0x51a577(0x223)](_0x38fb98[_0x51a577(0x215)],_0x38fb98[_0x51a577(0x215)]))_0x101708[_0x51a577(0x22a)](_0x40a4b9=>{const _0x18729e=_0x51a577,_0x2f92bd={'NYDLv':function(_0x3083ea,_0x42316a){const _0x132f77=a20_0x4903;return _0x38fb98[_0x132f77(0x21d)](_0x3083ea,_0x42316a);},'HqPYE':function(_0xba738,_0x19cba7,_0x4cf85a){const _0xe9a216=a20_0x4903;return _0x38fb98[_0xe9a216(0x1f3)](_0xba738,_0x19cba7,_0x4cf85a);}};if(_0x38fb98[_0x18729e(0x1bc)](_0x38fb98['NaaGe'],_0x38fb98[_0x18729e(0x23d)])){let _0x12b43f=_0x38fb98[_0x18729e(0x240)](helper[_0x18729e(0x20f)](_0x40a4b9,'_'),'_'+Date[_0x18729e(0x204)]());if(_0x548e9b)_0x12b43f+='_'+_0x548e9b;if(_0x548e9b&&(!_0x193188[_0x38fb98[_0x18729e(0x1b7)]]||!_0x193188[_0x38fb98[_0x18729e(0x1b7)]][_0x548e9b]))return;const _0x8c3f1c={..._0x27439b};_0x8c3f1c[_0x18729e(0x1ca)]=_0x40a4b9;const _0x4bd8f0=_0x8c3f1c;_0x2ae7c1[_0x12b43f]=_0x548e9b?_0x38fb98[_0x18729e(0x1c2)](mergeDeep,_0x193188[_0x38fb98[_0x18729e(0x1b7)]][_0x548e9b],_0x4bd8f0):_0x4bd8f0,_0x36d334[_0x18729e(0x21f)](_0x12b43f);}else{if(_0x2f92bd['NYDLv'](_0x2e9401,_0x1af820[_0x286fb7])){const _0x16bf44={};_0x16bf44[_0x292fa7]={};if(!_0x3550e3[_0x2fd2b2])_0x2c8326[_0x18729e(0x1d3)](_0x237878,_0x16bf44);_0x2f92bd[_0x18729e(0x1f6)](_0x4223a5,_0x25960[_0x57e500],_0x5b6f5a[_0x1636e7]);}else{const _0x470149={};_0x470149[_0x2200b4]=_0x1f0624[_0x3024de],_0x59b9bc[_0x18729e(0x1d3)](_0x38bf3b,_0x470149);}}});else{if(_0xf5b6ef)_0x537361[_0x51a577(0x21f)](_0x3f8d60[_0x51a577(0x1e1)](_0x332008[_0x51a577(0x208)],_0x11817a[_0x51a577(0x1c8)],_0x4e6a99));else _0x1892f0[_0x51a577(0x21f)](_0x2394b6['modifyBrowserStackCaps'](_0x3d6d97[_0x51a577(0x208)],_0x11817a[_0x51a577(0x1c8)],_0x194aca));}});if(!_0x549ac9['test_settings'])_0x549ac9[_0x51778a(0x1b6)]={};_0x549ac9['test_settings']={..._0x549ac9[_0x51778a(0x1b6)],..._0x2ae7c1};const _0x231b55=path['join'](__dirname,_0x38fb98[_0x51778a(0x1c0)]);fs[_0x51778a(0x22d)](_0x231b55,JSON[_0x51778a(0x242)](_0x549ac9)),_0x38fb98['LzYkU'](removeExistingEnvs,_0x17253d);const _0xa46c29=_0x38fb98[_0x51778a(0x1ba)](spawn,/^win/[_0x51778a(0x1df)](process[_0x51778a(0x23c)])?_0x38fb98['MKYyt']:_0x38fb98[_0x51778a(0x1d7)],[_0x38fb98[_0x51778a(0x1e7)],_0x231b55,..._0x17253d[_0x51778a(0x230)](0x1),_0x38fb98[_0x51778a(0x1fc)],_0x36d334[_0x51778a(0x237)](',')],{'stdio':_0x38fb98[_0x51778a(0x1fe)]});_0xa46c29['on'](_0x38fb98['OspPS'],async _0x55e04e=>{const _0x418cd9=_0x51778a;if(_0x38fb98[_0x418cd9(0x1ed)](_0x38fb98[_0x418cd9(0x1ee)],_0x38fb98['SoOPu'])){let _0x1c9937=_0x38fb98[_0x418cd9(0x21b)](_0x1c132c[_0x418cd9(0x20f)](_0x4eed89,'_'),'_'+_0x1d9d5c[_0x418cd9(0x204)]());if(_0x4ae06a)_0x1c9937+='_'+_0x370d4d;if(_0x252d07&&(!_0x25a815[_0x38fb98['OXrlx']]||!_0x1ff9c7[_0x38fb98[_0x418cd9(0x1b7)]][_0x532b37]))return;const _0x49edd1={..._0x3d512f};_0x49edd1[_0x418cd9(0x1ca)]=_0x13d13a;const _0x49f028=_0x49edd1;_0x231d1f[_0x1c9937]=_0x392785?_0x38fb98[_0x418cd9(0x1c2)](_0x2340a2,_0xdef1bb[_0x38fb98[_0x418cd9(0x1b7)]][_0x2f6e4a],_0x49f028):_0x49f028,_0x3e44e6[_0x418cd9(0x21f)](_0x1c9937);}else logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x55e04e),logger[_0x418cd9(0x226)](_0x418cd9(0x243)+_0x231b55),fs['unlinkSync'](_0x231b55);});}module['exports']=run;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a21_0x13be(_0x116b11,_0x7f015f){const _0x2ab4bb=a21_0x2ab4();return a21_0x13be=function(_0x13be35,_0x1591a7){_0x13be35=_0x13be35-0x91;let _0x3e26d1=_0x2ab4bb[_0x13be35];return _0x3e26d1;},a21_0x13be(_0x116b11,_0x7f015f);}function a21_0x2ab4(){const _0x4e4e90=['./vanilla-js/command','PkKQM','cQgWJ','usage','isUndefined','7347330OwDRth','handler','OVLxO','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','version','ILoJE','2911614RCUSse','7091740jCDVEp','yfwvA','./jest/command','winstonLogger','Dpstt','./cucumber-js/command','3JGKGYF','usage:\x20$0\x20<command>\x20[args]','cucumber-js','argv','--opts','push','Yzwaj','--no-opts','848812FqHqvl','11HLZnEj','showHelpOnFail','--package','5xjzLcQ','inspect','79330hpqKAE','./nightwatch/command','jest','command','jIKPx','MOcoe','includes','MOCHA','--config','help','NIGHTWATCH','3702489HPnfVx','nightwatch','yomjB','JPiNN','../helpers/helper','Parsing\x20command\x20line\x20arguements','slice','debug','error','PVfRl','../helpers/logger','mocha/lib/cli/run.js','VERSION','INFO','uubou','glLdL','alias','--no-package','VANILLA','mocha','wrap','HELP','hbnwh','3jEIUkW','./utils/constants','4442296ujGuXz','yargs'];a21_0x2ab4=function(){return _0x4e4e90;};return a21_0x2ab4();}const a21_0x16ec3e=a21_0x13be;(function(_0x1f7117,_0x2b63f0){const _0x552f2f=a21_0x13be,_0x508d7d=_0x1f7117();while(!![]){try{const _0x139380=-parseInt(_0x552f2f(0x9f))/0x1*(-parseInt(_0x552f2f(0xc3))/0x2)+parseInt(_0x552f2f(0xb5))/0x3*(-parseInt(_0x552f2f(0xbd))/0x4)+-parseInt(_0x552f2f(0xc1))/0x5*(-parseInt(_0x552f2f(0xae))/0x6)+parseInt(_0x552f2f(0xce))/0x7+-parseInt(_0x552f2f(0xa1))/0x8+parseInt(_0x552f2f(0xa8))/0x9+-parseInt(_0x552f2f(0xaf))/0xa*(parseInt(_0x552f2f(0xbe))/0xb);if(_0x139380===_0x2b63f0)break;else _0x508d7d['push'](_0x508d7d['shift']());}catch(_0x15c857){_0x508d7d['push'](_0x508d7d['shift']());}}}(a21_0x2ab4,0x73741));const {requireModule}=require(a21_0x16ec3e(0xd2)),helper=require(a21_0x16ec3e(0xd2));if(process[a21_0x16ec3e(0xb8)][a21_0x16ec3e(0xc9)](a21_0x16ec3e(0x9b))){if(!process['argv'][a21_0x16ec3e(0xc9)](a21_0x16ec3e(0xb9)))process['argv'][a21_0x16ec3e(0xba)](a21_0x16ec3e(0xbc));if(!process[a21_0x16ec3e(0xb8)][a21_0x16ec3e(0xc9)](a21_0x16ec3e(0xcb)))process[a21_0x16ec3e(0xb8)][a21_0x16ec3e(0xba)]('--no-config');if(!process['argv']['includes']('--package'))process[a21_0x16ec3e(0xb8)][a21_0x16ec3e(0xba)](a21_0x16ec3e(0x99));}const yargs=require(a21_0x16ec3e(0xa2)),Constants=require(a21_0x16ec3e(0xa0)),logger=require(a21_0x16ec3e(0x92))[a21_0x16ec3e(0xb2)],argv=yargs[a21_0x16ec3e(0xa6)](a21_0x16ec3e(0xb6))[a21_0x16ec3e(0x98)]('v',a21_0x16ec3e(0xac))['describe']('v')[a21_0x16ec3e(0x98)]('h','help')[a21_0x16ec3e(0xcc)]('help')[a21_0x16ec3e(0xbf)](!![],Constants[a21_0x16ec3e(0x94)][a21_0x16ec3e(0x9d)])[a21_0x16ec3e(0xc6)](a21_0x16ec3e(0xc5),Constants['JEST'][a21_0x16ec3e(0x95)],function(_0x1c9251){const _0x1c9baa=a21_0x16ec3e,_0x114364={'hbnwh':function(_0x2f4e45,_0x1b05e7){return _0x2f4e45(_0x1b05e7);},'jIKPx':_0x1c9baa(0xb1)},_0x29909c=process[_0x1c9baa(0xb8)][_0x1c9baa(0xd4)](0x2);return _0x114364[_0x1c9baa(0x9e)](require,_0x114364[_0x1c9baa(0xc7)])(_0x1c9251[_0x1c9baa(0xb8)],_0x29909c);})['command'](a21_0x16ec3e(0x9b),Constants[a21_0x16ec3e(0xca)][a21_0x16ec3e(0x95)],_0x46faab=>{const _0x5bcc23=a21_0x16ec3e,_0x12d437={'PUAcL':_0x5bcc23(0xb9),'PVfRl':_0x5bcc23(0xcb),'wnXOF':'--no-config','cQgWJ':_0x5bcc23(0xc0),'LNMNP':_0x5bcc23(0x99),'TKZiH':function(_0x2f6dd6,_0x49330f){return _0x2f6dd6!==_0x49330f;},'OVLxO':'WILCo','uubou':function(_0x44768f,_0xb3b5bf){return _0x44768f(_0xb3b5bf);},'Jkjrx':'./mocha/command','sXfCM':_0x5bcc23(0xd3),'Dpstt':_0x5bcc23(0x93),'yomjB':'$0\x20[spec..]','MOcoe':_0x5bcc23(0xc2),'ILoJE':_0x5bcc23(0xa2)};logger[_0x5bcc23(0xd5)](_0x12d437['sXfCM']);const _0x20b446=_0x12d437[_0x5bcc23(0x96)](requireModule,_0x12d437[_0x5bcc23(0xb3)]);delete _0x20b446[_0x5bcc23(0xa9)],_0x20b446[_0x5bcc23(0xc6)]=[_0x12d437[_0x5bcc23(0xd0)],_0x12d437[_0x5bcc23(0xc8)]],_0x20b446[_0x5bcc23(0xa9)]=function(_0x4fa0be){const _0x31b921=_0x5bcc23;if(_0x12d437['TKZiH'](_0x12d437[_0x31b921(0xaa)],_0x12d437['OVLxO'])){if(!_0x5cad30[_0x31b921(0xb8)][_0x31b921(0xc9)](_0x12d437['PUAcL']))_0x427a1d[_0x31b921(0xb8)]['push'](_0x31b921(0xbc));if(!_0x30a4a2[_0x31b921(0xb8)][_0x31b921(0xc9)](_0x12d437[_0x31b921(0x91)]))_0x452424[_0x31b921(0xb8)][_0x31b921(0xba)](_0x12d437['wnXOF']);if(!_0x4727ed[_0x31b921(0xb8)][_0x31b921(0xc9)](_0x12d437[_0x31b921(0xa5)]))_0x305f05[_0x31b921(0xb8)][_0x31b921(0xba)](_0x12d437['LNMNP']);}else return _0x12d437['uubou'](require,_0x12d437['Jkjrx'])(_0x4fa0be);},_0x12d437[_0x5bcc23(0x96)](require,_0x12d437[_0x5bcc23(0xad)])[_0x5bcc23(0xc6)](_0x20b446);})['command'](a21_0x16ec3e(0xb7),Constants['CUCUMBER'][a21_0x16ec3e(0x95)],function(_0x5b9437){const _0x30f927=a21_0x16ec3e,_0x5aa00d={'yfwvA':function(_0x422b8b,_0x4a41eb){return _0x422b8b(_0x4a41eb);},'Yzwaj':_0x30f927(0xb4)},_0x469e80=process['argv'][_0x30f927(0xd4)](0x2);return _0x5aa00d[_0x30f927(0xb0)](require,_0x5aa00d[_0x30f927(0xbb)])(_0x5b9437[_0x30f927(0xb8)],_0x469e80);})[a21_0x16ec3e(0xc6)]('node',Constants[a21_0x16ec3e(0x9a)]['INFO'],function(_0x4a24fe){const _0x5dd476=a21_0x16ec3e,_0x2e9991={'glLdL':function(_0x160c6a,_0x3bd8c0){return _0x160c6a(_0x3bd8c0);},'JPiNN':_0x5dd476(0xa3)},_0x1305ec=process[_0x5dd476(0xb8)][_0x5dd476(0xd4)](0x2);return _0x2e9991[_0x5dd476(0x97)](require,_0x2e9991[_0x5dd476(0xd1)])(_0x4a24fe[_0x5dd476(0xb8)],_0x1305ec);})[a21_0x16ec3e(0xc6)](a21_0x16ec3e(0xcf),Constants[a21_0x16ec3e(0xcd)]['INFO'],function(_0x182241){const _0x28fab5=a21_0x16ec3e,_0x38924c={'xgbRH':function(_0x4452c9,_0x301516){return _0x4452c9(_0x301516);},'PkKQM':_0x28fab5(0xc4)},_0x3462b2=process[_0x28fab5(0xb8)][_0x28fab5(0xd4)](0x2);return _0x38924c['xgbRH'](require,_0x38924c[_0x28fab5(0xa4)])(_0x182241[_0x28fab5(0xb8)],_0x3462b2);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a21_0x16ec3e(0x9c)](null)[a21_0x16ec3e(0xb8)];!helper[a21_0x16ec3e(0xa7)](argv['_'])&&!argv['_'][0x1]&&console[a21_0x16ec3e(0xd6)](a21_0x16ec3e(0xab));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const a22_0x124313=a22_0x28b1;(function(_0x4828f6,_0x5e6a75){const _0x37e366=a22_0x28b1,_0x1d9baf=_0x4828f6();while(!![]){try{const _0x2c1b7d=-parseInt(_0x37e366(0x13d))/0x1*(parseInt(_0x37e366(0x191))/0x2)+parseInt(_0x37e366(0x143))/0x3*(-parseInt(_0x37e366(0x158))/0x4)+parseInt(_0x37e366(0x189))/0x5*(-parseInt(_0x37e366(0x165))/0x6)+parseInt(_0x37e366(0x160))/0x7+-parseInt(_0x37e366(0x151))/0x8*(parseInt(_0x37e366(0x185))/0x9)+parseInt(_0x37e366(0x15f))/0xa*(-parseInt(_0x37e366(0x17e))/0xb)+parseInt(_0x37e366(0x139))/0xc*(parseInt(_0x37e366(0x17c))/0xd);if(_0x2c1b7d===_0x5e6a75)break;else _0x1d9baf['push'](_0x1d9baf['shift']());}catch(_0x146bc6){_0x1d9baf['push'](_0x1d9baf['shift']());}}}(a22_0x3900,0x36f61));const fs=require('fs'),yargs=require(a22_0x124313(0x18d)),logger=require(a22_0x124313(0x15e))[a22_0x124313(0x18f)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFile=process[a22_0x124313(0x146)]()+a22_0x124313(0x18c),packageFile=process[a22_0x124313(0x146)]()+a22_0x124313(0x13e),frameworks=['mocha',a22_0x124313(0x13b),'cucumber-js',a22_0x124313(0x153),a22_0x124313(0x177)];function a22_0x3900(){const _0x6ae684=['GaRBR','lBoTM','QdlZH','aTepT','XNXNH','BwuAZ','key','replace','BrHPJ','ggvEd','bQCSM','browserstack-node-sdk\x20','HAgoE','entries','nightwatch','HWODR','zzmjR','nNzTY','scripts','71422BPmHwG','MgyLz','11mdJqgZ','LeyCH','jisjP','ZcKxq','PFtMB','Sgpcv','OuzqH','3987wxQtqg','zxPrJ','writeFileSync','QGuXI','5hOXNFH','Rzymv','utf8','/browserstack.yml','yargs','YOUR_USERNAME','winstonLogger','jHYTW','974zzrHyP','NqKXd','NtGZw','BpAIu','SkoPf','WfrUY','xYdzc','2820qlMUhz','username','jest','SpGdt','423OfMaUB','/package.json','wAWDL','stringify','xzBca','readFileSync','19785FHjfYJ','BRBCa','RSkVS','cwd','argv','XqenI','cBrKv','Xuaau','utBjv','error','Creating\x20configuration\x20file...','rvJaM','ijhBg','uGcch','6872ENVriK','includes','node','FBeop','browserstack-node-sdk','parse','QospL','20CEsxCb','info','ysJFD','ISmgF','mnkgn','LEPjB','../helpers/logger','4483770ppliFL','1078994eEljER','length','bbGmv','EzNkH','hGoNT','913326NxaUas','push','Adding\x20new\x20script(s)\x20in\x20package.json...','FQXZZ'];a22_0x3900=function(){return _0x6ae684;};return a22_0x3900();}function a22_0x28b1(_0x369352,_0x1f84b3){const _0x390017=a22_0x3900();return a22_0x28b1=function(_0x28b10a,_0x1781e2){_0x28b10a=_0x28b10a-0x134;let _0x5b78a5=_0x390017[_0x28b10a];return _0x5b78a5;},a22_0x28b1(_0x369352,_0x1f84b3);}logger[a22_0x124313(0x159)](a22_0x124313(0x14d)),createConfigurationFile(yargs[a22_0x124313(0x147)][a22_0x124313(0x13a)],yargs[a22_0x124313(0x147)][a22_0x124313(0x16f)]),addScriptInPackageJson();function createConfigurationFile(_0x620529,_0x44e7b5){const _0x24d6b1=a22_0x124313,_0x9fedab={};_0x9fedab[_0x24d6b1(0x175)]=function(_0x2d756f,_0x4aac71){return _0x2d756f<_0x4aac71;},_0x9fedab[_0x24d6b1(0x15a)]=_0x24d6b1(0x155),_0x9fedab[_0x24d6b1(0x179)]='YOUR_ACCESS_KEY',_0x9fedab[_0x24d6b1(0x15c)]=function(_0x2b77c1,_0x214d97){return _0x2b77c1!==_0x214d97;},_0x9fedab['Xuaau']=_0x24d6b1(0x136),_0x9fedab['OuzqH']=function(_0x5ab3bd,_0x3264de){return _0x5ab3bd===_0x3264de;},_0x9fedab[_0x24d6b1(0x188)]=_0x24d6b1(0x173),_0x9fedab[_0x24d6b1(0x154)]=_0x24d6b1(0x148),_0x9fedab[_0x24d6b1(0x16d)]='utf8',_0x9fedab['fUbAF']=function(_0x28379b,_0x48f427){return _0x28379b===_0x48f427;},_0x9fedab[_0x24d6b1(0x141)]=_0x24d6b1(0x168),_0x9fedab['nNzTY']=_0x24d6b1(0x18e),_0x9fedab['jisjP']=_0x24d6b1(0x14f),_0x9fedab[_0x24d6b1(0x150)]=function(_0x2be96d,_0x487d7c){return _0x2be96d===_0x487d7c;},_0x9fedab[_0x24d6b1(0x172)]='LVUwt';const _0x1a2ee8=_0x9fedab;try{if(_0x1a2ee8[_0x24d6b1(0x15c)](_0x1a2ee8['FBeop'],_0x1a2ee8[_0x24d6b1(0x154)]))_0x19e04d[_0x24d6b1(0x166)](_0x2a878a[_0x492359][0x0]);else{let _0x482ece=fs[_0x24d6b1(0x142)](configFileTemplate,_0x1a2ee8[_0x24d6b1(0x16d)]);if(_0x620529){if(_0x1a2ee8['fUbAF'](_0x1a2ee8[_0x24d6b1(0x141)],_0x1a2ee8[_0x24d6b1(0x141)]))_0x482ece=_0x482ece[_0x24d6b1(0x170)](_0x1a2ee8[_0x24d6b1(0x17a)],_0x620529);else{let _0x13a002=[],_0xe56df4=_0x3708df[_0x24d6b1(0x176)](_0x444332);for(let _0x1337cf=0x0;_0x1a2ee8[_0x24d6b1(0x175)](_0x1337cf,_0xe56df4[_0x24d6b1(0x161)]);_0x1337cf+=0x1){_0xe56df4[_0x1337cf][0x1][_0x24d6b1(0x152)](_0x4f7201)&&!_0xe56df4[_0x1337cf][0x1]['includes'](_0x1a2ee8[_0x24d6b1(0x15a)])&&_0x13a002[_0x24d6b1(0x166)](_0xe56df4[_0x1337cf][0x0]);}return _0x13a002;}}_0x44e7b5&&(_0x1a2ee8[_0x24d6b1(0x15c)](_0x1a2ee8['jisjP'],_0x1a2ee8[_0x24d6b1(0x180)])?_0x3b9ad6=_0x2d61e5[_0x24d6b1(0x170)](_0x1a2ee8[_0x24d6b1(0x179)],_0x36f9e0):_0x482ece=_0x482ece[_0x24d6b1(0x170)](_0x1a2ee8[_0x24d6b1(0x179)],_0x44e7b5)),fs[_0x24d6b1(0x187)](configFile,_0x482ece,_0x12e480=>{const _0x459e88=_0x24d6b1;_0x1a2ee8[_0x459e88(0x15c)](_0x1a2ee8[_0x459e88(0x14a)],_0x1a2ee8[_0x459e88(0x14a)])?_0x2f926a&&_0x44ecd4[_0x459e88(0x14c)](_0x2c544b):_0x12e480&&(_0x1a2ee8[_0x459e88(0x184)](_0x1a2ee8['QGuXI'],_0x1a2ee8['QGuXI'])?logger['error'](_0x12e480):_0x36cd77[_0x459e88(0x14c)](_0x16e385));});}}catch(_0x55d80f){_0x1a2ee8[_0x24d6b1(0x150)](_0x1a2ee8[_0x24d6b1(0x172)],_0x1a2ee8[_0x24d6b1(0x172)])?logger['error'](_0x55d80f):_0xc64abe[_0x314109][0x1][_0x24d6b1(0x152)](_0x3c5263)&&!_0x1056db[_0x4eb471][0x1][_0x24d6b1(0x152)](_0x1a2ee8['ysJFD'])&&_0xb8de45[_0x24d6b1(0x166)](_0xa13c9a[_0x174744][0x0]);}}function addScriptInPackageJson(){const _0x164973=a22_0x124313,_0x77c6d3={'BRBCa':_0x164973(0x18e),'HWODR':_0x164973(0x167),'SpGdt':function(_0x406eff,_0x2beca4){return _0x406eff===_0x2beca4;},'BrHPJ':_0x164973(0x15b),'Rzymv':_0x164973(0x192),'BpAIu':function(_0x440f79,_0x101cbe){return _0x440f79!==_0x101cbe;},'kyPle':_0x164973(0x16c),'LEPjB':function(_0xedb67e,_0x5da77f,_0x343493){return _0xedb67e(_0x5da77f,_0x343493);},'QdlZH':function(_0x19efd6,_0x10e8ec){return _0x19efd6<_0x10e8ec;},'GaRBR':_0x164973(0x18b),'jHYTW':function(_0x273dc7,_0x2df836){return _0x273dc7<_0x2df836;},'EzNkH':function(_0x5a73b2,_0x2d33af){return _0x5a73b2!==_0x2d33af;},'LeyCH':_0x164973(0x138),'Sgpcv':'ZxIfO','bbGmv':function(_0x462afc,_0x7052a9,_0x552284){return _0x462afc(_0x7052a9,_0x552284);},'hIryf':function(_0x162672,_0x3c6f43){return _0x162672<_0x3c6f43;},'tyQcZ':function(_0xb2269f,_0x28a9fd){return _0xb2269f!==_0x28a9fd;},'rvJaM':_0x164973(0x149),'bhmEm':_0x164973(0x145),'wAWDL':function(_0x2bd45f,_0x29b80f){return _0x2bd45f!==_0x29b80f;},'QospL':'bPTck','czvJk':'AlAVO'};let _0x173cd9=JSON[_0x164973(0x156)](fs['readFileSync'](packageFile,_0x77c6d3[_0x164973(0x169)])),_0x4986d8=[];for(let _0x20f7a3=0x0;_0x77c6d3['jHYTW'](_0x20f7a3,frameworks[_0x164973(0x161)]);_0x20f7a3+=0x1){if(_0x77c6d3['EzNkH'](_0x77c6d3[_0x164973(0x17f)],_0x77c6d3['LeyCH']))_0x26c063=_0x189145['replace'](_0x77c6d3[_0x164973(0x144)],_0x84886c);else{let _0x274bb9=_0x77c6d3[_0x164973(0x15d)](findScriptsWithFramework,_0x173cd9[_0x164973(0x17b)],frameworks[_0x20f7a3]);for(let _0x57f354=0x0;_0x77c6d3[_0x164973(0x190)](_0x57f354,_0x274bb9[_0x164973(0x161)]);_0x57f354+=0x1){_0x77c6d3[_0x164973(0x163)](_0x77c6d3[_0x164973(0x183)],_0x77c6d3['Sgpcv'])?_0x81a0f1&&_0x3ef23f['error'](_0x13b525):_0x4986d8[_0x164973(0x166)](_0x77c6d3[_0x164973(0x162)](getUpdatedCommand,_0x173cd9['scripts'],_0x274bb9[_0x57f354]));}}}const _0x37b7b8={..._0x173cd9[_0x164973(0x17b)]},_0x1457a8=_0x37b7b8;for(let _0x4e809a=0x0;_0x77c6d3['hIryf'](_0x4e809a,_0x4986d8[_0x164973(0x161)]);_0x4e809a+=0x1){_0x77c6d3['tyQcZ'](_0x77c6d3[_0x164973(0x14e)],_0x77c6d3['bhmEm'])?_0x1457a8[_0x4986d8[_0x4e809a][0x0]]=_0x4986d8[_0x4e809a][0x1]:_0x3d1bd2[_0x164973(0x14c)](_0x4cb9a8);}if(_0x77c6d3['wAWDL'](JSON[_0x164973(0x140)](_0x173cd9[_0x164973(0x17b)]),JSON[_0x164973(0x140)](_0x1457a8))){if(_0x77c6d3[_0x164973(0x13f)](_0x77c6d3[_0x164973(0x157)],_0x77c6d3['czvJk']))logger['info'](_0x77c6d3[_0x164973(0x178)]),_0x173cd9[_0x164973(0x17b)]=_0x1457a8,fs[_0x164973(0x187)](packageFile,JSON[_0x164973(0x140)](_0x173cd9,null,0x2),_0x10bfb5=>{const _0x5d4130=_0x164973,_0x5c87b5={};_0x5c87b5['MgyLz']=_0x77c6d3[_0x5d4130(0x178)];const _0x1e2cd6=_0x5c87b5;_0x77c6d3[_0x5d4130(0x13c)](_0x77c6d3[_0x5d4130(0x171)],_0x77c6d3[_0x5d4130(0x18a)])?_0x2affeb[_0x5d4130(0x14c)](_0x3486e5):_0x10bfb5&&(_0x77c6d3[_0x5d4130(0x135)](_0x77c6d3['kyPle'],_0x77c6d3['kyPle'])?(_0x308744[_0x5d4130(0x159)](_0x1e2cd6[_0x5d4130(0x17d)]),_0x800e13['scripts']=_0x320e15,_0x329f3e['writeFileSync'](_0x310f56,_0x45769d[_0x5d4130(0x140)](_0x3f970f,null,0x2),_0x3bdf54=>{const _0x6bbe95=_0x5d4130;_0x3bdf54&&_0x107896[_0x6bbe95(0x14c)](_0x3bdf54);})):logger[_0x5d4130(0x14c)](_0x10bfb5));});else{let _0x278078=_0x77c6d3[_0x164973(0x15d)](_0x1a56a4,_0x163b33[_0x164973(0x17b)],_0x219ba8[_0x22caa1]);for(let _0x5ce4be=0x0;_0x77c6d3[_0x164973(0x16b)](_0x5ce4be,_0x278078[_0x164973(0x161)]);_0x5ce4be+=0x1){_0x1c8181[_0x164973(0x166)](_0x77c6d3['LEPjB'](_0x452ee6,_0x21ad73['scripts'],_0x278078[_0x5ce4be]));}}}};function findScriptsWithFramework(_0x4f1bd2,_0x17ef87){const _0x2070b4=a22_0x124313,_0x201ee6={'PFtMB':function(_0x4eb8b8,_0x5b00af,_0x1d6e82){return _0x4eb8b8(_0x5b00af,_0x1d6e82);},'ANFTh':function(_0x2b740d,_0x31a016){return _0x2b740d<_0x31a016;},'zxPrJ':function(_0x21fe8d,_0x256c24){return _0x21fe8d!==_0x256c24;},'BwuAZ':'dMwHD','NtGZw':_0x2070b4(0x16a),'WfrUY':_0x2070b4(0x155),'ZcKxq':function(_0x57aaba,_0x53402d){return _0x57aaba===_0x53402d;},'utBjv':_0x2070b4(0x164)};let _0x56aad2=[],_0x38d8e6=Object['entries'](_0x4f1bd2);for(let _0x29f82d=0x0;_0x201ee6['ANFTh'](_0x29f82d,_0x38d8e6[_0x2070b4(0x161)]);_0x29f82d+=0x1){_0x201ee6[_0x2070b4(0x186)](_0x201ee6[_0x2070b4(0x16e)],_0x201ee6[_0x2070b4(0x134)])?_0x38d8e6[_0x29f82d][0x1][_0x2070b4(0x152)](_0x17ef87)&&!_0x38d8e6[_0x29f82d][0x1]['includes'](_0x201ee6[_0x2070b4(0x137)])&&(_0x201ee6[_0x2070b4(0x181)](_0x201ee6[_0x2070b4(0x14b)],_0x201ee6[_0x2070b4(0x14b)])?_0x56aad2[_0x2070b4(0x166)](_0x38d8e6[_0x29f82d][0x0]):_0x4a232f[_0x2070b4(0x166)](_0x201ee6[_0x2070b4(0x182)](_0x1251f5,_0xeb47f8[_0x2070b4(0x17b)],_0x2e6bd5[_0x3bf257]))):_0x45dde1[_0x2b5cb1[_0x1d7a51][0x0]]=_0x22a2f6[_0x5ed602][0x1];}return _0x56aad2;}function getUpdatedCommand(_0x3f077b,_0x55f9e8){const _0x113c0a=a22_0x124313;let _0x44053a=_0x55f9e8+'-browserstack',_0x14413d=_0x113c0a(0x174)+_0x3f077b[_0x55f9e8];return[_0x44053a,_0x14413d];}logger[a22_0x124313(0x159)]('Setup\x20completed');
|
|
3
|
+
const a22_0x1053a0=a22_0x4015;(function(_0x12d621,_0x4ca125){const _0x2c7b85=a22_0x4015,_0x206ab6=_0x12d621();while(!![]){try{const _0x5c52c6=parseInt(_0x2c7b85(0x1f9))/0x1*(parseInt(_0x2c7b85(0x1f5))/0x2)+-parseInt(_0x2c7b85(0x1d6))/0x3+-parseInt(_0x2c7b85(0x211))/0x4+parseInt(_0x2c7b85(0x203))/0x5*(parseInt(_0x2c7b85(0x202))/0x6)+parseInt(_0x2c7b85(0x1f4))/0x7*(parseInt(_0x2c7b85(0x1e1))/0x8)+parseInt(_0x2c7b85(0x1c0))/0x9+parseInt(_0x2c7b85(0x1fd))/0xa*(parseInt(_0x2c7b85(0x1b7))/0xb);if(_0x5c52c6===_0x4ca125)break;else _0x206ab6['push'](_0x206ab6['shift']());}catch(_0x505615){_0x206ab6['push'](_0x206ab6['shift']());}}}(a22_0x5df5,0xc2441));function a22_0x5df5(){const _0x126a49=['stringify','yargs','oYZtm','AorkG','6UIRwoW','2930800OOBxUP','NLmWv','entries','abYUQ','GdAHL','hTMvY','winstonLogger','MxcGg','readFileSync','sSXwi','OGJlf','Cobkc','olkIn','YOUR_USERNAME','5335492NipeYA','length','../helpers/logger','osTdu','DwsiI','cDqIP','WbXCc','BdqTv','UWfkN','jPuAp','UFjxB','11IlEKVQ','info','lFptN','cucumber-js','JhuWk','cYflV','Autut','QRBYS','ERlPO','7214661tTCJLH','nHqJT','PWzpA','-browserstack','TWSkE','IMVsG','bYgsg','key','WwoUx','scripts','username','jest','TVQlU','dIhot','uCJVy','aolLS','push','nightwatch','WAfZi','/package.json','TearY','browserstack-node-sdk\x20','3288441ahBpKn','DaEHZ','writeFileSync','iRkOV','TywtQ','hjqjd','replace','VPfQy','HveSG','XpxMA','nlLoe','24sCjUAV','DdccB','includes','kPNOV','argv','parse','LiVrb','USFXl','puifw','error','cwd','Creating\x20configuration\x20file...','EsSRg','pMzFX','TcrDt','FytYo','vQctc','node','Adding\x20new\x20script(s)\x20in\x20package.json...','1669381WvFzme','95276JDtDDU','DeWms','cucMq','euNOf','14SixMTA','utf8','browserstack-node-sdk','Bzcjt','4555630BjKzoU'];a22_0x5df5=function(){return _0x126a49;};return a22_0x5df5();}const fs=require('fs'),yargs=require(a22_0x1053a0(0x1ff)),logger=require(a22_0x1053a0(0x1ae))[a22_0x1053a0(0x209)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFile=process['cwd']()+'/browserstack.yml',packageFile=process[a22_0x1053a0(0x1eb)]()+a22_0x1053a0(0x1d3),frameworks=['mocha',a22_0x1053a0(0x1cb),a22_0x1053a0(0x1ba),a22_0x1053a0(0x1f2),a22_0x1053a0(0x1d1)];logger[a22_0x1053a0(0x1b8)](a22_0x1053a0(0x1ec)),createConfigurationFile(yargs[a22_0x1053a0(0x1e5)][a22_0x1053a0(0x1ca)],yargs[a22_0x1053a0(0x1e5)][a22_0x1053a0(0x1c7)]),addScriptInPackageJson();function a22_0x4015(_0x3a38e5,_0x4c2ac1){const _0x5df528=a22_0x5df5();return a22_0x4015=function(_0x401574,_0x3a5588){_0x401574=_0x401574-0x1ad;let _0x33c7ce=_0x5df528[_0x401574];return _0x33c7ce;},a22_0x4015(_0x3a38e5,_0x4c2ac1);}function createConfigurationFile(_0x55757f,_0x19ac14){const _0x3e0038=a22_0x1053a0,_0xb1c5d6={};_0xb1c5d6[_0x3e0038(0x1b3)]=_0x3e0038(0x210),_0xb1c5d6[_0x3e0038(0x1b4)]=function(_0x538f38,_0x5e692b){return _0x538f38<_0x5e692b;},_0xb1c5d6[_0x3e0038(0x1f7)]=_0x3e0038(0x1fb),_0xb1c5d6['pMzFX']='YOUR_ACCESS_KEY',_0xb1c5d6[_0x3e0038(0x1db)]=function(_0x312ad5,_0x9f4b00){return _0x312ad5!==_0x9f4b00;},_0xb1c5d6['jPuAp']=_0x3e0038(0x1f0),_0xb1c5d6[_0x3e0038(0x1ed)]=_0x3e0038(0x1e9),_0xb1c5d6[_0x3e0038(0x1c5)]=function(_0x201ed0,_0x455955){return _0x201ed0===_0x455955;},_0xb1c5d6[_0x3e0038(0x1c4)]=_0x3e0038(0x20d),_0xb1c5d6[_0x3e0038(0x1d9)]=_0x3e0038(0x1f3),_0xb1c5d6[_0x3e0038(0x1cf)]=_0x3e0038(0x1b1),_0xb1c5d6['BYJTP']=_0x3e0038(0x1bb),_0xb1c5d6[_0x3e0038(0x1de)]=_0x3e0038(0x1fa),_0xb1c5d6[_0x3e0038(0x1b6)]=function(_0x5049c0,_0x227095){return _0x5049c0!==_0x227095;},_0xb1c5d6['kJJGn']=_0x3e0038(0x1c2),_0xb1c5d6[_0x3e0038(0x1dd)]=_0x3e0038(0x1b9),_0xb1c5d6[_0x3e0038(0x1bc)]=_0x3e0038(0x20e),_0xb1c5d6[_0x3e0038(0x1bf)]=_0x3e0038(0x1fc);const _0x303389=_0xb1c5d6;try{if(_0x303389['IMVsG'](_0x303389[_0x3e0038(0x1cf)],_0x303389['BYJTP']))_0x175345=_0x45823d['replace'](_0x303389['BdqTv'],_0x1c5caa);else{let _0x41ca17=fs[_0x3e0038(0x20b)](configFileTemplate,_0x303389['HveSG']);_0x55757f&&(_0x303389['UFjxB'](_0x303389['kJJGn'],_0x303389[_0x3e0038(0x1dd)])?_0x41ca17=_0x41ca17[_0x3e0038(0x1dc)](_0x303389[_0x3e0038(0x1b3)],_0x55757f):_0x53568e[_0x541b5d[_0xf2c8c5][0x0]]=_0x283663[_0x49d892][0x1]);if(_0x19ac14){if(_0x303389[_0x3e0038(0x1c5)](_0x303389['cYflV'],_0x303389[_0x3e0038(0x1bc)]))_0x41ca17=_0x41ca17[_0x3e0038(0x1dc)](_0x303389[_0x3e0038(0x1ee)],_0x19ac14);else{let _0x5ced2b=[],_0x3c0ec8=_0x18f38d[_0x3e0038(0x205)](_0x2f8b10);for(let _0x2f8baf=0x0;_0x303389[_0x3e0038(0x1b4)](_0x2f8baf,_0x3c0ec8[_0x3e0038(0x1ad)]);_0x2f8baf+=0x1){_0x3c0ec8[_0x2f8baf][0x1][_0x3e0038(0x1e3)](_0xf09de9)&&!_0x3c0ec8[_0x2f8baf][0x1][_0x3e0038(0x1e3)](_0x303389[_0x3e0038(0x1f7)])&&_0x5ced2b[_0x3e0038(0x1d0)](_0x3c0ec8[_0x2f8baf][0x0]);}return _0x5ced2b;}}fs['writeFileSync'](configFile,_0x41ca17,_0x5af070=>{const _0x55b9a0=_0x3e0038,_0x35aa46={};_0x35aa46[_0x55b9a0(0x1f8)]=_0x303389['pMzFX'];const _0x333ace=_0x35aa46;_0x303389[_0x55b9a0(0x1db)](_0x303389[_0x55b9a0(0x1b5)],_0x303389['EsSRg'])?_0x5af070&&(_0x303389[_0x55b9a0(0x1c5)](_0x303389[_0x55b9a0(0x1c4)],_0x303389[_0x55b9a0(0x1c4)])?logger[_0x55b9a0(0x1ea)](_0x5af070):_0x29c9f5[_0x55b9a0(0x1d0)](_0x5c6639[_0x32f06a][0x0])):_0x1c16d1=_0x365c6a[_0x55b9a0(0x1dc)](_0x333ace[_0x55b9a0(0x1f8)],_0x3312c7);});}}catch(_0x5c2f23){_0x303389[_0x3e0038(0x1c5)](_0x303389['ERlPO'],_0x303389['ERlPO'])?logger[_0x3e0038(0x1ea)](_0x5c2f23):(_0x195355[_0x3e0038(0x1b8)](_0x303389[_0x3e0038(0x1d9)]),_0x5b004b['scripts']=_0x265f68,_0x518839[_0x3e0038(0x1d8)](_0x4c46cb,_0x521ad1[_0x3e0038(0x1fe)](_0x2306cb,null,0x2),_0x527c1f=>{const _0x2433e7=_0x3e0038;_0x527c1f&&_0x123f83[_0x2433e7(0x1ea)](_0x527c1f);}));}}function addScriptInPackageJson(){const _0x5696b0=a22_0x1053a0,_0x3182af={'TywtQ':function(_0x2cbb75,_0x5eba9d,_0x5360df){return _0x2cbb75(_0x5eba9d,_0x5360df);},'dqBtN':function(_0x4e72b4,_0x21cd33){return _0x4e72b4===_0x21cd33;},'GdAHL':_0x5696b0(0x1f1),'TVQlU':function(_0x20c81d,_0x3bd8de){return _0x20c81d===_0x3bd8de;},'WwoUx':_0x5696b0(0x1be),'LiVrb':'BVPnb','DdccB':'utf8','DaEHZ':function(_0x34354d,_0x518207){return _0x34354d<_0x518207;},'kPNOV':function(_0x14cafc,_0x175294){return _0x14cafc===_0x175294;},'hTMvY':_0x5696b0(0x201),'AincJ':function(_0x205bd2,_0x3b4f5f){return _0x205bd2<_0x3b4f5f;},'WbXCc':function(_0x3e4478,_0x5d63e5){return _0x3e4478===_0x5d63e5;},'nlLoe':_0x5696b0(0x1ef),'dIhot':'VvKPd','MxcGg':function(_0x2b3d5a,_0x2646ac,_0x4de41e){return _0x2b3d5a(_0x2646ac,_0x4de41e);},'osTdu':function(_0x5598a6,_0x5974f1){return _0x5598a6<_0x5974f1;},'OoPrk':function(_0x467bf5,_0x5e5ae9){return _0x467bf5===_0x5e5ae9;},'bYgsg':_0x5696b0(0x20f),'oYZtm':function(_0x444d70,_0x397975){return _0x444d70!==_0x397975;},'Autut':_0x5696b0(0x1c1),'USFXl':_0x5696b0(0x1d2),'TearY':_0x5696b0(0x1f3)};let _0x452c79=JSON[_0x5696b0(0x1e6)](fs[_0x5696b0(0x20b)](packageFile,_0x3182af[_0x5696b0(0x1e2)])),_0x109a03=[];for(let _0x428fc2=0x0;_0x3182af[_0x5696b0(0x1d7)](_0x428fc2,frameworks[_0x5696b0(0x1ad)]);_0x428fc2+=0x1){if(_0x3182af[_0x5696b0(0x1e4)](_0x3182af[_0x5696b0(0x208)],_0x3182af[_0x5696b0(0x208)])){let _0x2c8912=_0x3182af[_0x5696b0(0x1da)](findScriptsWithFramework,_0x452c79[_0x5696b0(0x1c9)],frameworks[_0x428fc2]);for(let _0x1e79c8=0x0;_0x3182af['AincJ'](_0x1e79c8,_0x2c8912['length']);_0x1e79c8+=0x1){_0x3182af[_0x5696b0(0x1b2)](_0x3182af[_0x5696b0(0x1e0)],_0x3182af[_0x5696b0(0x1cd)])?_0x7c0675[_0x5696b0(0x1ea)](_0x398180):_0x109a03[_0x5696b0(0x1d0)](_0x3182af[_0x5696b0(0x20a)](getUpdatedCommand,_0x452c79[_0x5696b0(0x1c9)],_0x2c8912[_0x1e79c8]));}}else _0x4d5893[_0x5696b0(0x1ea)](_0x29609f);}const _0x2cec34={..._0x452c79['scripts']},_0x5f2050=_0x2cec34;for(let _0xe6c2c8=0x0;_0x3182af[_0x5696b0(0x1af)](_0xe6c2c8,_0x109a03[_0x5696b0(0x1ad)]);_0xe6c2c8+=0x1){_0x3182af['OoPrk'](_0x3182af[_0x5696b0(0x1c6)],_0x3182af[_0x5696b0(0x1c6)])?_0x5f2050[_0x109a03[_0xe6c2c8][0x0]]=_0x109a03[_0xe6c2c8][0x1]:_0xf1760b[_0x5696b0(0x1d0)](_0x3182af['TywtQ'](_0x3b3e01,_0x29d781[_0x5696b0(0x1c9)],_0x4de076[_0x46e6ec]));}_0x3182af[_0x5696b0(0x200)](JSON[_0x5696b0(0x1fe)](_0x452c79[_0x5696b0(0x1c9)]),JSON[_0x5696b0(0x1fe)](_0x5f2050))&&(_0x3182af[_0x5696b0(0x1cc)](_0x3182af[_0x5696b0(0x1bd)],_0x3182af[_0x5696b0(0x1e8)])?_0x5a7629&&_0xc3b499[_0x5696b0(0x1ea)](_0x1c1a40):(logger[_0x5696b0(0x1b8)](_0x3182af[_0x5696b0(0x1d4)]),_0x452c79[_0x5696b0(0x1c9)]=_0x5f2050,fs['writeFileSync'](packageFile,JSON[_0x5696b0(0x1fe)](_0x452c79,null,0x2),_0x440f02=>{const _0x4d3cc5=_0x5696b0;_0x3182af['dqBtN'](_0x3182af[_0x4d3cc5(0x207)],_0x3182af[_0x4d3cc5(0x207)])?_0x440f02&&(_0x3182af['TVQlU'](_0x3182af[_0x4d3cc5(0x1c8)],_0x3182af[_0x4d3cc5(0x1e7)])?_0x54945e[_0x4d3cc5(0x1ea)](_0x392900):logger[_0x4d3cc5(0x1ea)](_0x440f02)):_0x396eb9&&_0x3060b2[_0x4d3cc5(0x1ea)](_0x5d008a);})));};function findScriptsWithFramework(_0x29d7ef,_0x5e7a92){const _0x53908a=a22_0x1053a0,_0x370527={};_0x370527[_0x53908a(0x1df)]=_0x53908a(0x1fb),_0x370527['NLmWv']=function(_0x500c10,_0x430c56){return _0x500c10<_0x430c56;},_0x370527['uCJVy']=function(_0x1df2ba,_0x4e5708){return _0x1df2ba===_0x4e5708;},_0x370527[_0x53908a(0x20c)]='vBlyZ',_0x370527[_0x53908a(0x206)]='TRzMe',_0x370527['DwsiI']=_0x53908a(0x1f6);const _0x1c60ed=_0x370527;let _0x87dbff=[],_0x12c186=Object['entries'](_0x29d7ef);for(let _0x1a556d=0x0;_0x1c60ed[_0x53908a(0x204)](_0x1a556d,_0x12c186[_0x53908a(0x1ad)]);_0x1a556d+=0x1){if(_0x1c60ed[_0x53908a(0x1ce)](_0x1c60ed[_0x53908a(0x20c)],_0x1c60ed[_0x53908a(0x20c)])){if(_0x12c186[_0x1a556d][0x1]['includes'](_0x5e7a92)&&!_0x12c186[_0x1a556d][0x1]['includes'](_0x1c60ed['XpxMA'])){if(_0x1c60ed[_0x53908a(0x1ce)](_0x1c60ed[_0x53908a(0x206)],_0x1c60ed[_0x53908a(0x1b0)])){let _0x4ec753=_0x4e29a1+_0x53908a(0x1c3),_0x1312b8=_0x53908a(0x1d5)+_0x2c63a5[_0x500861];return[_0x4ec753,_0x1312b8];}else _0x87dbff[_0x53908a(0x1d0)](_0x12c186[_0x1a556d][0x0]);}}else _0x2a8add[_0xd731eb][0x1]['includes'](_0x282a10)&&!_0x4c3979[_0x21e4c7][0x1][_0x53908a(0x1e3)](_0x1c60ed[_0x53908a(0x1df)])&&_0x1b6e02[_0x53908a(0x1d0)](_0x32b203[_0x2a632c][0x0]);}return _0x87dbff;}function getUpdatedCommand(_0x314f2e,_0x125b36){const _0x5400bf=a22_0x1053a0;let _0x196999=_0x125b36+_0x5400bf(0x1c3),_0x5b951d=_0x5400bf(0x1d5)+_0x314f2e[_0x125b36];return[_0x196999,_0x5b951d];}logger[a22_0x1053a0(0x1b8)]('Setup\x20completed');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a23_0x4788(_0x1d8f5e,_0x425e9a){const _0x314c51=a23_0x314c();return a23_0x4788=function(_0x478812,_0x22374a){_0x478812=_0x478812-0x13f;let _0x320300=_0x314c51[_0x478812];return _0x320300;},a23_0x4788(_0x1d8f5e,_0x425e9a);}const a23_0x432452=a23_0x4788;(function(_0x4ee410,_0x39ffa5){const _0x2372b2=a23_0x4788,_0x1f1c9f=_0x4ee410();while(!![]){try{const _0x421eb9=-parseInt(_0x2372b2(0x154))/0x1+parseInt(_0x2372b2(0x176))/0x2*(-parseInt(_0x2372b2(0x179))/0x3)+-parseInt(_0x2372b2(0x165))/0x4+-parseInt(_0x2372b2(0x193))/0x5+-parseInt(_0x2372b2(0x17d))/0x6+-parseInt(_0x2372b2(0x1af))/0x7+parseInt(_0x2372b2(0x1b2))/0x8;if(_0x421eb9===_0x39ffa5)break;else _0x1f1c9f['push'](_0x1f1c9f['shift']());}catch(_0x49a5ac){_0x1f1c9f['push'](_0x1f1c9f['shift']());}}}(a23_0x314c,0xe5e3f));function a23_0x314c(){const _0x479afe=['mtWVS','./testWorker.js','SMQSa','BS_TESTOPS_BUILD_HASHED_ID','qaQUS','AYPwT','worker','error','results','uzJBw','baqhn','hKKgF','exit','length','FNQxq','BS_TESTOPS_JWT','stdout','vvMGq','rpMCa','hhoyU','lIGoB','2213610gftnGG','winstonLogger','IccCt','json','../mocha/test-observability/helper','MuYmu','lbNYh','getStdout','Yzrov','iNPyW','test-file-success','qZtCX','env','XZCML','hYOtj','failureCount','jKQcH','UcVDK','wgEkR','iupnx','VuFkp','emit','oOsUg','end','resolve','RsLoG','rHVuY','pNjzU','5523420DXNtWF','platform-run-start','cucumberWorker','60242664CWTKWL','yIgFT','KPUmG','hkReA','Tunvg','parallelVanillaRun','RhVQM','exitCode','vNuos','pRhMb','then','Running\x20','pipe','pOohM','sMGay','XfEgi','oFGtJ','test-file-failure','kBpHC','ysVWE','file','platform','JpGuw','RruTL','MYoda','cacfl','Bvflw','ZugGg','YbqRC','YTKfD','wpaEa','getStderr','platform-run-failure','1042776nnsCCb','Xwrdn','coFVI','../../helpers/logger','cbrhM','iZPCL','pAMql','IzWPB','root_dir_path','rXmBF','platform-run-success','Worker','_child','all','push','FraSW','map','7269076GzlkXR','parallelCucumberRun','throat','ucyMB','BS_TESTOPS_ALLOW_SCREENSHOTS','Workers\x20failed\x20to\x20exit\x20gracefully','AqcUk','configuration','jest-worker','nBKtO','NOZnK','stderr','log','IwcAG','gkGFW','uCToz','Kykkg','1442158qSxKjT','getWorkers','info','3YEFHfP','_workerPool','ijwIk','VCTth','10654776wcufVD'];a23_0x314c=function(){return _0x479afe;};return a23_0x314c();}const Worker=require(a23_0x432452(0x16d))[a23_0x432452(0x15f)],Emittery=require('emittery'),throat=require(a23_0x432452(0x167)),logger=require(a23_0x432452(0x157))[a23_0x432452(0x194)],{launchTestSession,stopBuildUpstream,isTestObservabilitySession}=require(a23_0x432452(0x197));exports['parallelTestRun']=(_0x333104,_0x2dab0d,_0xc86449)=>new Promise(async _0x30ad79=>{const _0x4bcd88=a23_0x432452,_0x478eea={'baqhn':'failureCount','qcDph':function(_0x38699a,_0x44f7e0){return _0x38699a+_0x44f7e0;},'vvMGq':_0x4bcd88(0x186),'gkGFW':function(_0x4cec45,_0x332b11){return _0x4cec45===_0x332b11;},'XfEgi':_0x4bcd88(0x1ae),'EffYM':_0x4bcd88(0x183),'uzJBw':_0x4bcd88(0x1a0),'IwcAG':function(_0x479b4d,_0x10841b){return _0x479b4d!==_0x10841b;},'JpGuw':_0x4bcd88(0x14e),'UcVDK':'MtgtI','kBpHC':'Workers\x20failed\x20to\x20exit\x20gracefully','KPUmG':function(_0x12e8fd,_0x16a4e9){return _0x12e8fd+_0x16a4e9;},'iadWl':_0x4bcd88(0x174),'hKKgF':_0x4bcd88(0x182),'aCBLo':function(_0x3a7c40,_0x103605){return _0x3a7c40===_0x103605;},'ijwIk':'aYyVj','CpEcS':_0x4bcd88(0x1a1),'RhVQM':function(_0x28eda5){return _0x28eda5();},'yIgFT':'wweRJ','nBKtO':function(_0x5c8811,_0x337ab8){return _0x5c8811(_0x337ab8);},'seRxi':function(_0x2c9c11,_0x2a03e7){return _0x2c9c11===_0x2a03e7;},'pAMql':_0x4bcd88(0x18c),'hkReA':'test-file-start','pRhMb':function(_0x409c54){return _0x409c54();},'ucyMB':function(_0xce3f92,_0x3e9bf1){return _0xce3f92!==_0x3e9bf1;},'MYoda':_0x4bcd88(0x156),'rXmBF':'./testWorker.js','cacfl':'worker','ghpdh':_0x4bcd88(0x196),'qjlsz':_0x4bcd88(0x13f),'YTKfD':_0x4bcd88(0x19d),'EdSfA':_0x4bcd88(0x144),'wpaEa':function(_0x4c99dc,_0x1e2357){return _0x4c99dc(_0x1e2357);}},_0x5c9626={};if(_0x478eea[_0x4bcd88(0x1bb)](isTestObservabilitySession)){if(_0x478eea[_0x4bcd88(0x168)](_0x478eea[_0x4bcd88(0x14b)],_0x478eea['MYoda']))_0xf6e53[0x0]&&_0x5e66a1[_0x4bcd88(0x178)](_0x4bcd88(0x1bd)+_0x213cdd[0x1]+'\x20for',_0x6fb401[0x0]);else{const _0x293981={..._0xc86449};_0x293981[_0x4bcd88(0x15c)]='';const [_0x119d04,_0x5f4b7e,_0x4c04fc]=await _0x478eea['nBKtO'](launchTestSession,_0x293981);process[_0x4bcd88(0x19f)][_0x4bcd88(0x18d)]=_0x119d04,process[_0x4bcd88(0x19f)][_0x4bcd88(0x181)]=_0x5f4b7e,process['env'][_0x4bcd88(0x169)]=_0x4c04fc;}}const _0x5cc6be=new Worker(require['resolve'](_0x478eea[_0x4bcd88(0x15d)],{'exposedMethods':[_0x478eea[_0x4bcd88(0x14c)]],'forkOptions':{'serialization':_0x478eea['ghpdh'],'stdio':_0x478eea['qjlsz']},'numWorkers':_0x2dab0d})),_0x1d077c=new Emittery();_0x1d077c['on'](_0x478eea[_0x4bcd88(0x150)],_0x5ad0e2=>{const _0x3aa641=_0x4bcd88;if(_0x478eea[_0x3aa641(0x173)](_0x478eea[_0x3aa641(0x142)],_0x478eea['EffYM']))return _0x19d423['vanillaWorker'](_0x4ba25f);else _0x5c9626[_0x5ad0e2[0x0]]?_0x478eea['gkGFW'](_0x478eea[_0x3aa641(0x187)],_0x478eea[_0x3aa641(0x187)])?(_0x5c9626[_0x5ad0e2[0x0]][_0x478eea[_0x3aa641(0x188)]]=_0x478eea['qcDph'](_0x5c9626[_0x5ad0e2[0x0]][_0x478eea[_0x3aa641(0x188)]],_0x5ad0e2[0x1][_0x478eea['baqhn']]),_0x5c9626[_0x5ad0e2[0x0]][_0x478eea[_0x3aa641(0x18f)]]=[..._0x5c9626[_0x5ad0e2[0x0]][_0x478eea[_0x3aa641(0x18f)]],..._0x5ad0e2[0x1][_0x478eea[_0x3aa641(0x18f)]]]):(_0x283de9[_0x4aa94c[0x0]][_0x478eea[_0x3aa641(0x188)]]=_0x478eea['qcDph'](_0x33fbbb[_0x506c3d[0x0]][_0x478eea[_0x3aa641(0x188)]],_0x3c8364[0x1][_0x478eea[_0x3aa641(0x188)]]),_0x545839[_0x158992[0x0]][_0x478eea[_0x3aa641(0x18f)]]=[..._0x14286b[_0x3d84e9[0x0]][_0x478eea[_0x3aa641(0x18f)]],..._0x589600[0x1][_0x478eea['vvMGq']]]):_0x478eea[_0x3aa641(0x172)](_0x478eea[_0x3aa641(0x149)],_0x478eea[_0x3aa641(0x1a4)])?_0x5c9626[_0x5ad0e2[0x0]]={'failureCount':_0x5ad0e2[0x1][_0x478eea['baqhn']],'results':[..._0x5ad0e2[0x1][_0x478eea[_0x3aa641(0x18f)]]]}:_0x35f4bc[_0x3aa641(0x162)]([_0x33fd77[0x0],_0x58d73f[0x1]]);}),_0x1d077c['on'](_0x478eea['EdSfA'],_0x4bbea0=>console[_0x4bcd88(0x171)](_0x4bbea0[0x1]));if(_0x5cc6be['getStdout']())_0x5cc6be[_0x4bcd88(0x19a)]()[_0x4bcd88(0x13f)](process['stdout']);if(_0x5cc6be[_0x4bcd88(0x152)]())_0x5cc6be['getStderr']()['pipe'](process[_0x4bcd88(0x170)]);const _0x10d686=async()=>{const _0x12a7f5=_0x4bcd88,_0x294c22={'Tunvg':_0x478eea[_0x12a7f5(0x188)],'YbqRC':function(_0x46d58e,_0x18d881){const _0x3aa530=_0x12a7f5;return _0x478eea[_0x3aa530(0x1b4)](_0x46d58e,_0x18d881);},'jKQcH':_0x478eea[_0x12a7f5(0x18f)]};if(_0x478eea['gkGFW'](_0x478eea['iadWl'],_0x478eea[_0x12a7f5(0x189)]))_0x422feb=_0x3d00bf;else{const {forceExited:_0x8a35be}=await _0x5cc6be[_0x12a7f5(0x1aa)]();_0x8a35be&&(_0x478eea['aCBLo'](_0x478eea[_0x12a7f5(0x17b)],_0x478eea['CpEcS'])?_0x3b1479[_0x12a7f5(0x185)](_0x478eea[_0x12a7f5(0x145)]):console[_0x12a7f5(0x185)](_0x478eea[_0x12a7f5(0x145)]));if(_0x478eea[_0x12a7f5(0x1b8)](isTestObservabilitySession)){if(_0x478eea[_0x12a7f5(0x173)](_0x478eea['yIgFT'],_0x478eea[_0x12a7f5(0x1b3)]))await _0x478eea[_0x12a7f5(0x1b8)](stopBuildUpstream);else{if(_0x52b5b1[_0x425629[0x0]])_0x15225b[_0x3c3e00[0x0]][_0x294c22['Tunvg']]=_0x294c22[_0x12a7f5(0x14f)](_0x86d246[_0x6f5f29[0x0]][_0x294c22[_0x12a7f5(0x1b6)]],_0x28d39d[0x1][_0x294c22[_0x12a7f5(0x1b6)]]),_0x5d40d4[_0x1999d7[0x0]][_0x294c22[_0x12a7f5(0x1a3)]]=[..._0x1d7201[_0x39fafc[0x0]][_0x294c22[_0x12a7f5(0x1a3)]],..._0x28d12d[0x1][_0x294c22['jKQcH']]];else{const _0x3d95e2={};_0x3d95e2[_0x12a7f5(0x1a2)]=_0xf42ef2[0x1][_0x294c22[_0x12a7f5(0x1b6)]],_0x3d95e2[_0x12a7f5(0x186)]=[..._0x19d01b[0x1][_0x294c22[_0x12a7f5(0x1a3)]]],_0x27f266[_0x3d1995[0x0]]=_0x3d95e2;}}}_0x478eea[_0x12a7f5(0x16e)](_0x30ad79,_0x5c9626);}},_0x37def9=_0x478eea[_0x4bcd88(0x151)](throat,_0x2dab0d),_0x5875ee=_0x279bcf=>_0x37def9(async()=>{const _0xaa872e=_0x4bcd88;if(_0x478eea['seRxi'](_0x478eea[_0xaa872e(0x15a)],_0x478eea[_0xaa872e(0x15a)]))return await _0x1d077c[_0xaa872e(0x1a8)](_0x478eea[_0xaa872e(0x1b5)],_0x279bcf),_0x5cc6be[_0xaa872e(0x184)](_0x279bcf,_0xc86449);else _0x52bb22[_0xaa872e(0x185)](_0x478eea['kBpHC']);});Promise[_0x4bcd88(0x161)](_0x333104[_0x4bcd88(0x164)](_0x462ccf=>_0x5875ee(_0x462ccf)[_0x4bcd88(0x1bc)](_0xfa95a3=>_0x1d077c[_0x4bcd88(0x1a8)]('test-file-success',[_0x462ccf[_0x4bcd88(0x16c)][_0x4bcd88(0x148)],_0xfa95a3]),_0x251b82=>_0x1d077c[_0x4bcd88(0x1a8)]('test-file-failure',[_0x462ccf,_0x251b82]))))[_0x4bcd88(0x1bc)](_0x10d686,_0x10d686);}),exports[a23_0x432452(0x166)]=(_0x51f2f6,_0x5d5daf,_0x2ecf92,_0x388030,_0x2ef016)=>{const _0x3d9c90=a23_0x432452,_0x280809={'rMFDy':_0x3d9c90(0x16a),'eNIjJ':function(_0x516f1d,_0x4efbda){return _0x516f1d===_0x4efbda;},'rpMCa':_0x3d9c90(0x1ad),'wgEkR':'failureCount','XBDyZ':_0x3d9c90(0x186),'XlvSr':function(_0x86f8dc,_0x2ef5ef){return _0x86f8dc===_0x2ef5ef;},'lIGoB':function(_0x2bd38d,_0x1f5b9a){return _0x2bd38d!==_0x1f5b9a;},'ysVWE':function(_0x8e723c,_0x5b9770){return _0x8e723c!==_0x5b9770;},'Bvflw':_0x3d9c90(0x1ac),'FraSW':_0x3d9c90(0x1ba),'JJwaH':_0x3d9c90(0x16b),'iupnx':function(_0xf29862,_0x6cd7cc){return _0xf29862(_0x6cd7cc);},'Xwrdn':_0x3d9c90(0x1b0),'eiSBx':_0x3d9c90(0x17f),'IccCt':_0x3d9c90(0x1b1),'SMQSa':_0x3d9c90(0x196),'Kykkg':_0x3d9c90(0x13f),'WywDa':_0x3d9c90(0x15e),'NOZnK':_0x3d9c90(0x153),'pOohM':function(_0x41447a,_0x10de8e){return _0x41447a(_0x10de8e);}};return new Promise(_0x4fa002=>{const _0x41e4ff=_0x3d9c90,_0x5f1bac={};_0x5f1bac[_0x41e4ff(0x159)]=_0x280809[_0x41e4ff(0x155)];const _0x657ecd=_0x5f1bac,_0x388be5=[],_0x13117c=new Worker(require[_0x41e4ff(0x1ab)](_0x280809['eiSBx'],{'exposedMethods':[_0x280809[_0x41e4ff(0x195)]],'forkOptions':{'serialization':_0x280809[_0x41e4ff(0x180)],'stdio':_0x280809[_0x41e4ff(0x175)]},'numWorkers':_0x51f2f6[_0x41e4ff(0x18b)]})),_0x2aa49c=new Emittery();_0x2aa49c['on'](_0x280809['WywDa'],_0xf0365b=>{const _0x1f9f30=_0x41e4ff,_0x316810={};_0x316810['Yzrov']=_0x280809['rMFDy'];const _0x26c60b=_0x316810;_0x280809['eNIjJ'](_0x280809[_0x1f9f30(0x190)],_0x280809[_0x1f9f30(0x190)])?_0x388be5[_0x1f9f30(0x162)]([_0xf0365b[0x0],_0xf0365b[0x1]]):_0x2ea995[_0x1f9f30(0x185)](_0x26c60b[_0x1f9f30(0x19b)]);}),_0x2aa49c['on'](_0x280809[_0x41e4ff(0x16f)],_0x411f10=>console[_0x41e4ff(0x171)](_0x411f10[0x1]));if(_0x13117c['getStdout']())_0x13117c[_0x41e4ff(0x19a)]()[_0x41e4ff(0x13f)](process['stdout']);if(_0x13117c['getStderr']())_0x13117c['getStderr']()[_0x41e4ff(0x13f)](process[_0x41e4ff(0x170)]);const _0x14dd60=async()=>{const _0x44352a=_0x41e4ff,_0x1fe6ff={'sMGay':_0x280809[_0x44352a(0x1a5)],'cbrhM':_0x280809['XBDyZ'],'MuYmu':function(_0x18d8ee,_0x567926){return _0x280809['XlvSr'](_0x18d8ee,_0x567926);},'VuFkp':function(_0x271127,_0x5e4ce0){const _0x31a7a5=_0x44352a;return _0x280809[_0x31a7a5(0x192)](_0x271127,_0x5e4ce0);}};if(_0x280809[_0x44352a(0x146)](_0x280809[_0x44352a(0x14d)],_0x280809[_0x44352a(0x14d)])){const _0xb9481f={};_0xb9481f[_0x44352a(0x1a2)]=_0x25f9ea[0x1][_0x1fe6ff[_0x44352a(0x141)]],_0xb9481f[_0x44352a(0x186)]=[..._0x4c6c48[0x1][_0x1fe6ff[_0x44352a(0x158)]]],_0x3fbe25[_0x5c2e57[0x0]]=_0xb9481f;}else{const {forceExited:_0x25ea36}=await _0x13117c[_0x44352a(0x1aa)]();_0x25ea36&&(_0x280809['XlvSr'](_0x280809[_0x44352a(0x163)],_0x280809['JJwaH'])?_0x1fe6ff[_0x44352a(0x198)](_0x5d571b,0x0)&&_0x1fe6ff[_0x44352a(0x1a7)](_0x31466d,0x0)&&(_0xbc1ab4=_0xea5553):console['error'](_0x280809['rMFDy'])),_0x280809[_0x44352a(0x1a6)](_0x4fa002,_0x388be5);}},_0x23fb33=_0x280809[_0x41e4ff(0x140)](throat,_0x51f2f6[_0x41e4ff(0x18b)]),_0x1d3533=_0x296a6b=>_0x23fb33(async()=>{const _0x224baf=_0x41e4ff;return await _0x2aa49c[_0x224baf(0x1a8)](_0x657ecd[_0x224baf(0x159)],_0x296a6b),_0x13117c['cucumberWorker'](_0x296a6b,_0x5d5daf,_0x2ecf92,_0x388030,_0x2ef016);});Promise[_0x41e4ff(0x161)](_0x51f2f6[_0x41e4ff(0x164)](_0x6a8d64=>_0x1d3533(_0x6a8d64)[_0x41e4ff(0x1bc)](_0x22d9da=>_0x2aa49c[_0x41e4ff(0x1a8)](_0x41e4ff(0x15e),[_0x6a8d64,_0x22d9da]),_0x18757b=>_0x2aa49c['emit'](_0x41e4ff(0x153),[_0x6a8d64,_0x18757b]))))[_0x41e4ff(0x1bc)](_0x14dd60,_0x14dd60);});},exports[a23_0x432452(0x1b7)]=(_0x49f738,_0x183af8)=>new Promise(_0x476b18=>{const _0x366094=a23_0x432452,_0x295342={'RruTL':function(_0x1660f2,_0x4c50ed){return _0x1660f2===_0x4c50ed;},'rgewn':function(_0x5a67e0,_0x2cccfe){return _0x5a67e0!==_0x2cccfe;},'VCTth':_0x366094(0x18a),'mtWVS':_0x366094(0x16a),'iNPyW':function(_0x112654,_0x4e0eec){return _0x112654(_0x4e0eec);},'lbNYh':_0x366094(0x17f),'IzWPB':'vanillaWorker','sZcaV':'json','oOsUg':_0x366094(0x13f),'oFGtJ':_0x366094(0x19d),'hhoyU':'test-file-failure'},_0x3a29c2={},_0x507fd5=new Worker(require['resolve'](_0x295342[_0x366094(0x199)],{'exposedMethods':[_0x295342[_0x366094(0x15b)]],'forkOptions':{'serialization':_0x295342['sZcaV'],'stdio':_0x295342[_0x366094(0x1a9)]},'numWorkers':_0x183af8})),_0x35292f=new Emittery();_0x35292f['on'](_0x295342[_0x366094(0x143)],_0x2bd120=>{const _0x5ab847=_0x366094;_0x2bd120[0x0]&&logger[_0x5ab847(0x178)](_0x5ab847(0x1bd)+_0x2bd120[0x1]+'\x20for',_0x2bd120[0x0]);}),_0x35292f['on'](_0x295342[_0x366094(0x191)],_0x1d7f39=>console[_0x366094(0x171)](_0x1d7f39[0x1]));if(_0x507fd5[_0x366094(0x19a)]())_0x507fd5[_0x366094(0x19a)]()['pipe'](process[_0x366094(0x18e)]);if(_0x507fd5[_0x366094(0x152)]())_0x507fd5['getStderr']()[_0x366094(0x13f)](process['stderr']);const _0xe9afa8=async()=>{const _0x794e70=_0x366094;let _0x452d39=0x0;const _0x3f9fa1=_0x507fd5[_0x794e70(0x17a)][_0x794e70(0x177)](),_0x465161=()=>{},_0xadb595=_0x3f9fa1['map'](async _0x26b8d4=>{const _0x2086e8=_0x794e70,_0x2e8a44={'qZtCX':function(_0x31afb8,_0x502827){const _0x5e35bb=a23_0x4788;return _0x295342[_0x5e35bb(0x14a)](_0x31afb8,_0x502827);},'BDFfe':function(_0x8514a1,_0x3a7f6f){return _0x295342['rgewn'](_0x8514a1,_0x3a7f6f);}};_0x26b8d4['send']([0x2,![]],_0x465161,_0x465161,_0x465161),_0x26b8d4[_0x2086e8(0x160)]['on'](_0x295342[_0x2086e8(0x17c)],_0x537633=>{const _0x299e85=_0x2086e8;_0x2e8a44[_0x299e85(0x19e)](_0x452d39,0x0)&&_0x2e8a44['BDFfe'](_0x537633,0x0)&&(_0x452d39=_0x537633);}),await _0x26b8d4['waitForExit']();});await Promise[_0x794e70(0x161)](_0xadb595),process[_0x794e70(0x1b9)]=_0x452d39;const {forceExited:_0x4fbcc0}=await _0x507fd5[_0x794e70(0x1aa)]();_0x4fbcc0&&console[_0x794e70(0x185)](_0x295342[_0x794e70(0x17e)]),_0x295342[_0x794e70(0x19c)](_0x476b18,_0x3a29c2);},_0x17aed3=_0x295342['iNPyW'](throat,_0x183af8),_0x401177=_0x33f77b=>_0x17aed3(async()=>{return _0x507fd5['vanillaWorker'](_0x33f77b);});Promise[_0x366094(0x161)](_0x49f738[_0x366094(0x164)](_0xc09027=>_0x401177(_0xc09027)[_0x366094(0x1bc)](_0x22defd=>_0x35292f['emit']('test-file-success',[_0xc09027[_0x366094(0x16c)]['platform'],_0xc09027[_0x366094(0x16c)][_0x366094(0x147)]]),_0x281438=>_0x35292f[_0x366094(0x1a8)](_0x366094(0x144),[_0xc09027,_0x281438]))))[_0x366094(0x1bc)](_0xe9afa8,_0xe9afa8);});
|
|
1
|
+
function a23_0xf56d(_0x3e4041,_0x484e52){const _0xf3835e=a23_0xf383();return a23_0xf56d=function(_0xf56d32,_0x138ecf){_0xf56d32=_0xf56d32-0x197;let _0x382737=_0xf3835e[_0xf56d32];return _0x382737;},a23_0xf56d(_0x3e4041,_0x484e52);}const a23_0x21bde5=a23_0xf56d;(function(_0x43099b,_0x1a5b1f){const _0x34b58b=a23_0xf56d,_0xa9f296=_0x43099b();while(!![]){try{const _0x58d2cf=-parseInt(_0x34b58b(0x1da))/0x1+parseInt(_0x34b58b(0x1b5))/0x2+-parseInt(_0x34b58b(0x21d))/0x3+-parseInt(_0x34b58b(0x20b))/0x4+parseInt(_0x34b58b(0x1a7))/0x5+-parseInt(_0x34b58b(0x210))/0x6*(parseInt(_0x34b58b(0x21a))/0x7)+parseInt(_0x34b58b(0x1f2))/0x8;if(_0x58d2cf===_0x1a5b1f)break;else _0xa9f296['push'](_0xa9f296['shift']());}catch(_0x5c6f71){_0xa9f296['push'](_0xa9f296['shift']());}}}(a23_0xf383,0x8c222));const Worker=require(a23_0x21bde5(0x200))[a23_0x21bde5(0x1a3)],Emittery=require('emittery'),throat=require('throat'),logger=require(a23_0x21bde5(0x1d8))[a23_0x21bde5(0x1d4)],{launchTestSession,stopBuildUpstream,isTestObservabilitySession}=require(a23_0x21bde5(0x1e0));exports[a23_0x21bde5(0x1f7)]=(_0x4882d8,_0x45c8aa,_0x5c8ca5)=>new Promise(async _0x3284ce=>{const _0x49fc93=a23_0x21bde5,_0x553eba={'ENxkE':function(_0x26bcdc,_0x1ac066){return _0x26bcdc===_0x1ac066;},'pjIiM':function(_0x285067,_0xacaa98){return _0x285067!==_0xacaa98;},'yYXhW':_0x49fc93(0x216),'KdjfW':_0x49fc93(0x1ca),'XoXTn':_0x49fc93(0x1c9),'bODDK':function(_0x333c8a,_0x5e4d44){return _0x333c8a===_0x5e4d44;},'zhDzq':_0x49fc93(0x214),'fgDqZ':function(_0x270686,_0x1021dc){return _0x270686+_0x1021dc;},'hagwB':function(_0x51e328,_0x383bd5){return _0x51e328===_0x383bd5;},'isaHj':_0x49fc93(0x1d1),'gZSjE':_0x49fc93(0x1e2),'wIhOf':function(_0x1d7bac,_0x10ccce){return _0x1d7bac!==_0x10ccce;},'fPzLv':'OPjMf','fVZTQ':_0x49fc93(0x1ee),'YOgPo':_0x49fc93(0x1b1),'QPYGa':function(_0x3d4bdd){return _0x3d4bdd();},'NMVRZ':'LupkI','RBIhl':'QLoGD','khPxP':function(_0x850f27,_0x11efd7){return _0x850f27(_0x11efd7);},'oJMEf':function(_0x57bb7e,_0x3cf899){return _0x57bb7e!==_0x3cf899;},'wjRMI':_0x49fc93(0x1ad),'NwuYO':_0x49fc93(0x1f9),'WhPko':_0x49fc93(0x1eb),'WgRkE':function(_0x1d4d99,_0x22c149){return _0x1d4d99!==_0x22c149;},'zrAsS':_0x49fc93(0x19a),'FBAnu':'./testWorker.js','qCDkC':'worker','LWHDW':_0x49fc93(0x1de),'ucDPM':'pipe','lmJvI':_0x49fc93(0x1bb),'dIzWq':'test-file-failure'},_0x591529={};if(_0x553eba['QPYGa'](isTestObservabilitySession)){if(_0x553eba[_0x49fc93(0x1c1)](_0x553eba[_0x49fc93(0x1ae)],_0x553eba[_0x49fc93(0x1ae)]))_0x553eba['ENxkE'](_0x721bee,0x0)&&_0x553eba[_0x49fc93(0x1f5)](_0x4d3a49,0x0)&&(_0x12b68a=_0x3c9c4c);else{const _0x1fe77d={..._0x5c8ca5};_0x1fe77d[_0x49fc93(0x1e7)]='';const [_0x4b0ac4,_0x80366d,_0x310579]=await _0x553eba[_0x49fc93(0x20d)](launchTestSession,_0x1fe77d);process[_0x49fc93(0x1cd)][_0x49fc93(0x1ec)]=_0x4b0ac4,process[_0x49fc93(0x1cd)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x80366d,process[_0x49fc93(0x1cd)][_0x49fc93(0x21b)]=_0x310579;}}const _0x2a8545=new Worker(require[_0x49fc93(0x1f3)](_0x553eba[_0x49fc93(0x213)],{'exposedMethods':[_0x553eba['qCDkC']],'forkOptions':{'serialization':_0x553eba[_0x49fc93(0x1a6)],'stdio':_0x553eba[_0x49fc93(0x1c4)]},'numWorkers':_0x45c8aa})),_0x258cdd=new Emittery();_0x258cdd['on'](_0x553eba['lmJvI'],_0x393a12=>{const _0x113bd3=_0x49fc93;if(_0x553eba[_0x113bd3(0x1f5)](_0x553eba['XoXTn'],_0x553eba[_0x113bd3(0x19f)]))return _0x2f12a4[_0x113bd3(0x1b8)](_0x1b31be);else{if(_0x591529[_0x393a12[0x0]]){if(_0x553eba[_0x113bd3(0x1af)](_0x553eba[_0x113bd3(0x1b0)],_0x553eba[_0x113bd3(0x1b0)]))_0x591529[_0x393a12[0x0]][_0x553eba[_0x113bd3(0x215)]]=_0x553eba['fgDqZ'](_0x591529[_0x393a12[0x0]][_0x553eba[_0x113bd3(0x215)]],_0x393a12[0x1][_0x553eba[_0x113bd3(0x215)]]),_0x591529[_0x393a12[0x0]][_0x553eba[_0x113bd3(0x197)]]=[..._0x591529[_0x393a12[0x0]][_0x553eba['KdjfW']],..._0x393a12[0x1][_0x553eba[_0x113bd3(0x197)]]];else{const _0x2187fb={};_0x2187fb[_0x113bd3(0x216)]=_0x565aa3[0x1][_0x553eba[_0x113bd3(0x215)]],_0x2187fb[_0x113bd3(0x1ca)]=[..._0x138174[0x1][_0x553eba['KdjfW']]],_0x2fc691[_0x1af038[0x0]]=_0x2187fb;}}else _0x553eba[_0x113bd3(0x1fb)](_0x553eba[_0x113bd3(0x1a2)],_0x553eba[_0x113bd3(0x1a2)])?_0x591529[_0x393a12[0x0]]={'failureCount':_0x393a12[0x1][_0x553eba[_0x113bd3(0x215)]],'results':[..._0x393a12[0x1][_0x553eba['KdjfW']]]}:_0x180563=_0x290f29;}}),_0x258cdd['on'](_0x553eba[_0x49fc93(0x1e4)],_0x12aedf=>console[_0x49fc93(0x1fa)](_0x12aedf[0x1]));if(_0x2a8545[_0x49fc93(0x1f8)]())_0x2a8545['getStdout']()[_0x49fc93(0x1a8)](process[_0x49fc93(0x1ce)]);if(_0x2a8545[_0x49fc93(0x207)]())_0x2a8545['getStderr']()[_0x49fc93(0x1a8)](process[_0x49fc93(0x205)]);const _0x4c26d5=async()=>{const _0x92489c=_0x49fc93,_0x266c4a={};_0x266c4a['USwio']=_0x553eba[_0x92489c(0x217)];const _0x50be17=_0x266c4a;if(_0x553eba[_0x92489c(0x1e1)](_0x553eba[_0x92489c(0x1e6)],_0x553eba[_0x92489c(0x1e6)]))_0x24fe28[_0x92489c(0x1aa)]([_0x5b77ee[0x0],_0x4f10fd[0x1]]);else{const {forceExited:_0x212a53}=await _0x2a8545[_0x92489c(0x1e3)]();_0x212a53&&(_0x553eba[_0x92489c(0x1f5)](_0x553eba[_0x92489c(0x1c0)],_0x553eba[_0x92489c(0x1ba)])?console[_0x92489c(0x1fc)](_0x553eba[_0x92489c(0x217)]):_0x45658b[0x0]&&_0x5b12c4['info'](_0x92489c(0x198)+_0x47e074[0x1]+'\x20for',_0x1a65c0[0x0])),_0x553eba['QPYGa'](isTestObservabilitySession)&&(_0x553eba[_0x92489c(0x1e1)](_0x553eba[_0x92489c(0x19c)],_0x553eba[_0x92489c(0x1a4)])?await _0x553eba['QPYGa'](stopBuildUpstream):_0x25f13b[_0x92489c(0x1fc)](_0x50be17['USwio'])),_0x553eba['khPxP'](_0x3284ce,_0x591529);}},_0xeee31a=_0x553eba[_0x49fc93(0x20d)](throat,_0x45c8aa),_0x4b5b05=_0xb9e8b=>_0xeee31a(async()=>{const _0x5ece10=_0x49fc93,_0x2b2e54={'BhArx':_0x553eba[_0x5ece10(0x215)],'JWxtj':function(_0x273664,_0x7a2bfe){const _0x196aa0=_0x5ece10;return _0x553eba[_0x196aa0(0x1ab)](_0x273664,_0x7a2bfe);},'BUzIw':_0x553eba[_0x5ece10(0x197)]};if(_0x553eba[_0x5ece10(0x1c8)](_0x553eba['wjRMI'],_0x553eba[_0x5ece10(0x218)]))return await _0x258cdd['emit'](_0x553eba[_0x5ece10(0x1dc)],_0xb9e8b),_0x2a8545[_0x5ece10(0x1d3)](_0xb9e8b,_0x5c8ca5);else{if(_0x2104a4[_0x3b391c[0x0]])_0x5bc3ae[_0x427081[0x0]][_0x2b2e54['BhArx']]=_0x2b2e54[_0x5ece10(0x1f1)](_0x58799a[_0x5b1be2[0x0]][_0x2b2e54[_0x5ece10(0x209)]],_0x468d99[0x1][_0x2b2e54[_0x5ece10(0x209)]]),_0x5e0f19[_0x5f7c00[0x0]][_0x2b2e54[_0x5ece10(0x1a5)]]=[..._0x26fdb4[_0x42ef92[0x0]][_0x2b2e54[_0x5ece10(0x1a5)]],..._0x1a725c[0x1][_0x2b2e54[_0x5ece10(0x1a5)]]];else{const _0x6f79dc={};_0x6f79dc[_0x5ece10(0x216)]=_0x77378b[0x1][_0x2b2e54[_0x5ece10(0x209)]],_0x6f79dc[_0x5ece10(0x1ca)]=[..._0x325093[0x1][_0x2b2e54['BUzIw']]],_0x4f8cce[_0x963280[0x0]]=_0x6f79dc;}}});Promise['all'](_0x4882d8[_0x49fc93(0x21e)](_0x5b1b2c=>_0x4b5b05(_0x5b1b2c)[_0x49fc93(0x1e8)](_0x33127a=>_0x258cdd[_0x49fc93(0x211)](_0x49fc93(0x1bb),[_0x5b1b2c[_0x49fc93(0x1f4)][_0x49fc93(0x19b)],_0x33127a]),_0x3e6001=>_0x258cdd['emit'](_0x49fc93(0x1b4),[_0x5b1b2c,_0x3e6001]))))['then'](_0x4c26d5,_0x4c26d5);}),exports['parallelCucumberRun']=(_0x5dcfb4,_0x2a6d60,_0x55690c,_0x5e0a04,_0x1ab220)=>{const _0x5ced1f=a23_0x21bde5,_0x1368ab={'yCbLr':'platform-run-start','YweIn':_0x5ced1f(0x216),'UPBMn':function(_0x4441d7,_0xfbc9da){return _0x4441d7+_0xfbc9da;},'dxGjw':_0x5ced1f(0x1ca),'fSsCI':function(_0x467d5f,_0x408c84){return _0x467d5f===_0x408c84;},'uHTZk':_0x5ced1f(0x199),'zFTlG':_0x5ced1f(0x1c2),'mQIcn':_0x5ced1f(0x1e2),'WKdqx':function(_0x5de03b,_0x5b18fa){return _0x5de03b===_0x5b18fa;},'MYctD':_0x5ced1f(0x19e),'EVXro':_0x5ced1f(0x1bd),'FTfkB':function(_0x3ac7ca,_0x1b84dc){return _0x3ac7ca(_0x1b84dc);},'tLrmz':_0x5ced1f(0x1d9),'bpWox':_0x5ced1f(0x1cb),'hakay':_0x5ced1f(0x1de),'OUztY':_0x5ced1f(0x1a8),'RwVsS':_0x5ced1f(0x1ef),'ENitp':_0x5ced1f(0x202)};return new Promise(_0x349f71=>{const _0x38ffe7=_0x5ced1f,_0x2017fd={'oRthc':_0x1368ab['YweIn'],'NtSgc':function(_0x413273,_0xb29c43){return _0x1368ab['UPBMn'](_0x413273,_0xb29c43);},'ajnRO':_0x1368ab[_0x38ffe7(0x1bf)],'uDZPt':function(_0x3896ab,_0x130b06){return _0x1368ab['fSsCI'](_0x3896ab,_0x130b06);},'UYssm':_0x1368ab[_0x38ffe7(0x1f6)],'xvleM':_0x1368ab[_0x38ffe7(0x1d7)],'uMsbh':_0x1368ab[_0x38ffe7(0x20e)],'mIZSP':function(_0x36fd20,_0x43fd7c){const _0x545c7c=_0x38ffe7;return _0x1368ab[_0x545c7c(0x20a)](_0x36fd20,_0x43fd7c);},'SiPnU':_0x1368ab[_0x38ffe7(0x1b7)],'PSqjU':function(_0x2d79c4,_0x4f7693){const _0x271e2f=_0x38ffe7;return _0x1368ab[_0x271e2f(0x20a)](_0x2d79c4,_0x4f7693);},'qLjqe':_0x1368ab['EVXro'],'ErmyH':function(_0x494f95,_0x177353){return _0x1368ab['FTfkB'](_0x494f95,_0x177353);}},_0x4b6a2d=[],_0x1abe44=new Worker(require[_0x38ffe7(0x1f3)](_0x1368ab[_0x38ffe7(0x20f)],{'exposedMethods':[_0x1368ab['bpWox']],'forkOptions':{'serialization':_0x1368ab[_0x38ffe7(0x1b2)],'stdio':_0x1368ab['OUztY']},'numWorkers':_0x5dcfb4['length']})),_0x478383=new Emittery();_0x478383['on'](_0x1368ab[_0x38ffe7(0x1c3)],_0x31e347=>{const _0x542af5=_0x38ffe7,_0x1e06b0={'DWqyI':_0x2017fd[_0x542af5(0x1cc)],'CNAku':function(_0x3034b0,_0x3aa39f){const _0x22a1aa=_0x542af5;return _0x2017fd[_0x22a1aa(0x1be)](_0x3034b0,_0x3aa39f);},'lqYAN':_0x2017fd[_0x542af5(0x1cf)]};_0x2017fd['uDZPt'](_0x2017fd[_0x542af5(0x1b3)],_0x2017fd[_0x542af5(0x1d6)])?(_0x2d32b3[_0x3b5ba5[0x0]][_0x1e06b0['DWqyI']]=_0x1e06b0[_0x542af5(0x219)](_0x47c5ab[_0xdeffbc[0x0]][_0x1e06b0[_0x542af5(0x21c)]],_0x4d1829[0x1][_0x1e06b0['DWqyI']]),_0x3b3f1f[_0x1cdba7[0x0]][_0x1e06b0['lqYAN']]=[..._0x1595e7[_0x50b724[0x0]][_0x1e06b0[_0x542af5(0x203)]],..._0x2110f6[0x1][_0x1e06b0['lqYAN']]]):_0x4b6a2d[_0x542af5(0x1aa)]([_0x31e347[0x0],_0x31e347[0x1]]);}),_0x478383['on'](_0x1368ab[_0x38ffe7(0x1bc)],_0x3c3618=>console[_0x38ffe7(0x1fa)](_0x3c3618[0x1]));if(_0x1abe44[_0x38ffe7(0x1f8)]())_0x1abe44[_0x38ffe7(0x1f8)]()[_0x38ffe7(0x1a8)](process['stdout']);if(_0x1abe44[_0x38ffe7(0x207)]())_0x1abe44[_0x38ffe7(0x207)]()[_0x38ffe7(0x1a8)](process[_0x38ffe7(0x205)]);const _0x2ec1e3=async()=>{const _0x1e21a2=_0x38ffe7;if(_0x2017fd[_0x1e21a2(0x1f0)](_0x2017fd[_0x1e21a2(0x1d0)],_0x2017fd[_0x1e21a2(0x1d0)])){const {forceExited:_0x3570d6}=await _0x1abe44[_0x1e21a2(0x1e3)]();_0x3570d6&&(_0x2017fd[_0x1e21a2(0x212)](_0x2017fd[_0x1e21a2(0x1d2)],_0x2017fd[_0x1e21a2(0x1d2)])?console[_0x1e21a2(0x1fc)](_0x2017fd[_0x1e21a2(0x208)]):_0x129bdb[_0x1e21a2(0x1fc)](_0x2017fd[_0x1e21a2(0x208)])),_0x2017fd[_0x1e21a2(0x1d5)](_0x349f71,_0x4b6a2d);}else _0x5dec07[_0x1e21a2(0x1fc)](_0x2017fd[_0x1e21a2(0x208)]);},_0x6e7eff=_0x1368ab[_0x38ffe7(0x1b9)](throat,_0x5dcfb4[_0x38ffe7(0x206)]),_0x5ea6fa=_0x260869=>_0x6e7eff(async()=>{const _0x5de9ab=_0x38ffe7;return await _0x478383[_0x5de9ab(0x211)](_0x1368ab['yCbLr'],_0x260869),_0x1abe44[_0x5de9ab(0x1cb)](_0x260869,_0x2a6d60,_0x55690c,_0x5e0a04,_0x1ab220);});Promise[_0x38ffe7(0x1e5)](_0x5dcfb4[_0x38ffe7(0x21e)](_0x2c940e=>_0x5ea6fa(_0x2c940e)[_0x38ffe7(0x1e8)](_0xf89a6a=>_0x478383['emit']('platform-run-success',[_0x2c940e,_0xf89a6a]),_0x51bf85=>_0x478383['emit'](_0x38ffe7(0x202),[_0x2c940e,_0x51bf85]))))[_0x38ffe7(0x1e8)](_0x2ec1e3,_0x2ec1e3);});},exports[a23_0x21bde5(0x1a0)]=(_0x2672c2,_0x96f5e1)=>new Promise(_0x416685=>{const _0x4473ee=a23_0x21bde5,_0x54e05b={'BtqrP':function(_0x51febc,_0x40b069){return _0x51febc===_0x40b069;},'vxKrU':function(_0x5b289d,_0x2fba51){return _0x5b289d!==_0x2fba51;},'fzkAu':_0x4473ee(0x1c5),'YPIwP':_0x4473ee(0x1e2),'jFtNh':function(_0x10c412,_0x12d61f){return _0x10c412(_0x12d61f);},'DeDvT':_0x4473ee(0x1d9),'MjXXt':_0x4473ee(0x1b8),'JwJJY':_0x4473ee(0x1de),'MQbYW':'pipe','XyXsD':'test-file-success','SitdF':_0x4473ee(0x1b4)},_0x5986ea={},_0x24d504=new Worker(require[_0x4473ee(0x1f3)](_0x54e05b[_0x4473ee(0x204)],{'exposedMethods':[_0x54e05b[_0x4473ee(0x1fd)]],'forkOptions':{'serialization':_0x54e05b[_0x4473ee(0x1c7)],'stdio':_0x54e05b[_0x4473ee(0x1db)]},'numWorkers':_0x96f5e1})),_0x43c30c=new Emittery();_0x43c30c['on'](_0x54e05b['XyXsD'],_0x272edf=>{const _0x246483=_0x4473ee;_0x272edf[0x0]&&logger[_0x246483(0x1a9)](_0x246483(0x198)+_0x272edf[0x1]+_0x246483(0x1fe),_0x272edf[0x0]);}),_0x43c30c['on'](_0x54e05b[_0x4473ee(0x1dd)],_0x51bd35=>console[_0x4473ee(0x1fa)](_0x51bd35[0x1]));if(_0x24d504[_0x4473ee(0x1f8)]())_0x24d504[_0x4473ee(0x1f8)]()[_0x4473ee(0x1a8)](process[_0x4473ee(0x1ce)]);if(_0x24d504[_0x4473ee(0x207)]())_0x24d504[_0x4473ee(0x207)]()[_0x4473ee(0x1a8)](process[_0x4473ee(0x205)]);const _0x24db47=async()=>{const _0x2ea562=_0x4473ee;let _0x16e17e=0x0;const _0xe5c55c=_0x24d504[_0x2ea562(0x1e9)]['getWorkers'](),_0x19b4e6=()=>{},_0x28838f=_0xe5c55c['map'](async _0x47092c=>{const _0x2f8c08=_0x2ea562,_0x1bd8cc={'Vyzsa':function(_0x55f729,_0x2cbc4e){const _0x44f574=a23_0xf56d;return _0x54e05b[_0x44f574(0x1a1)](_0x55f729,_0x2cbc4e);},'LdCXI':function(_0x5b201b,_0x2bd990){const _0x4b1d48=a23_0xf56d;return _0x54e05b[_0x4b1d48(0x1ed)](_0x5b201b,_0x2bd990);}};_0x47092c[_0x2f8c08(0x1ea)]([0x2,![]],_0x19b4e6,_0x19b4e6,_0x19b4e6),_0x47092c[_0x2f8c08(0x1ff)]['on'](_0x54e05b[_0x2f8c08(0x20c)],_0x21de06=>{const _0x1a29eb=_0x2f8c08;_0x1bd8cc[_0x1a29eb(0x1df)](_0x16e17e,0x0)&&_0x1bd8cc[_0x1a29eb(0x201)](_0x21de06,0x0)&&(_0x16e17e=_0x21de06);}),await _0x47092c[_0x2f8c08(0x1ac)]();});await Promise[_0x2ea562(0x1e5)](_0x28838f),process[_0x2ea562(0x1b6)]=_0x16e17e;const {forceExited:_0x511648}=await _0x24d504[_0x2ea562(0x1e3)]();_0x511648&&console[_0x2ea562(0x1fc)](_0x54e05b[_0x2ea562(0x19d)]),_0x54e05b[_0x2ea562(0x1c6)](_0x416685,_0x5986ea);},_0x2eb0f8=_0x54e05b['jFtNh'](throat,_0x96f5e1),_0x2aca90=_0x4d1fc9=>_0x2eb0f8(async()=>{const _0xde0e86=_0x4473ee;return _0x24d504[_0xde0e86(0x1b8)](_0x4d1fc9);});Promise[_0x4473ee(0x1e5)](_0x2672c2[_0x4473ee(0x21e)](_0x3c0d78=>_0x2aca90(_0x3c0d78)[_0x4473ee(0x1e8)](_0x1b756c=>_0x43c30c[_0x4473ee(0x211)]('test-file-success',[_0x3c0d78[_0x4473ee(0x1f4)][_0x4473ee(0x19b)],_0x3c0d78[_0x4473ee(0x1f4)]['file']]),_0x324bb2=>_0x43c30c[_0x4473ee(0x211)]('test-file-failure',[_0x3c0d78,_0x324bb2]))))[_0x4473ee(0x1e8)](_0x24db47,_0x24db47);});function a23_0xf383(){const _0x317763=['NwuYO','CNAku','5986043kdmjWL','BS_TESTOPS_ALLOW_SCREENSHOTS','DWqyI','2009391WsqJZd','map','KdjfW','Running\x20','hdTyB','orRaJ','platform','NMVRZ','YPIwP','aYBCK','XoXTn','parallelVanillaRun','BtqrP','isaHj','Worker','RBIhl','BUzIw','LWHDW','4851180OrSBbo','pipe','info','push','fgDqZ','waitForExit','iOTWD','zrAsS','bODDK','zhDzq','MeqCR','hakay','UYssm','test-file-failure','147224wzeDSR','exitCode','MYctD','vanillaWorker','FTfkB','YOgPo','test-file-success','ENitp','Jzcmw','NtSgc','dxGjw','fVZTQ','WgRkE','CmGFe','RwVsS','ucDPM','exit','jFtNh','JwJJY','oJMEf','CdKYe','results','cucumberWorker','oRthc','env','stdout','ajnRO','SiPnU','HlgrJ','qLjqe','worker','winstonLogger','ErmyH','xvleM','zFTlG','../../helpers/logger','./testWorker.js','89293rZNWfI','MQbYW','WhPko','SitdF','json','Vyzsa','../mocha/test-observability/helper','wIhOf','Workers\x20failed\x20to\x20exit\x20gracefully','end','dIzWq','all','fPzLv','root_dir_path','then','_workerPool','send','test-file-start','BS_TESTOPS_JWT','vxKrU','dgQEc','platform-run-success','mIZSP','JWxtj','9325824EDwxZR','resolve','configuration','pjIiM','uHTZk','parallelTestRun','getStdout','ahpyR','log','hagwB','error','MjXXt','\x20for','_child','jest-worker','LdCXI','platform-run-failure','lqYAN','DeDvT','stderr','length','getStderr','uMsbh','BhArx','WKdqx','85404wPcqoO','fzkAu','khPxP','mQIcn','tLrmz','6JgavGD','emit','PSqjU','FBAnu','cspgn','yYXhW','failureCount','gZSjE'];a23_0xf383=function(){return _0x317763;};return a23_0xf383();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a24_0x276a(_0x120719,_0x3f32b8){const _0x34881a=a24_0x3488();return a24_0x276a=function(_0x276a28,_0x19acad){_0x276a28=_0x276a28-0x15a;let _0x4e3421=_0x34881a[_0x276a28];return _0x4e3421;},a24_0x276a(_0x120719,_0x3f32b8);}function a24_0x3488(){const _0x118658=['configuration','38350ZHgIXO','runCucumberTest','2400504eQOSte','mocha','runTest','5601IHGrBd','1453371JLxkjH','run','2084435mirIQe','BLsIT','619654rpRdON','egZbI','cucumber-js','4WOrCVg','945hBKnvD','runVanillaTest','40hchpDA','../launcher/launcher','6ItoxmU','Qwmsc','99EvVYMi','QFSWN','vanilla','jqvRT','37980fMrTpC'];a24_0x3488=function(){return _0x118658;};return a24_0x3488();}const a24_0x4017fc=a24_0x276a;(function(_0x397c80,_0x1b1c79){const _0x3986ea=a24_0x276a,_0x7aed13=_0x397c80();while(!![]){try{const _0x4a0969=-parseInt(_0x3986ea(0x173))/0x1*(parseInt(_0x3986ea(0x166))/0x2)+-parseInt(_0x3986ea(0x15a))/0x3+-parseInt(_0x3986ea(0x161))/0x4*(-parseInt(_0x3986ea(0x15c))/0x5)+parseInt(_0x3986ea(0x170))/0x6+-parseInt(_0x3986ea(0x15e))/0x7*(parseInt(_0x3986ea(0x164))/0x8)+parseInt(_0x3986ea(0x162))/0x9*(parseInt(_0x3986ea(0x16e))/0xa)+-parseInt(_0x3986ea(0x168))/0xb*(parseInt(_0x3986ea(0x16c))/0xc);if(_0x4a0969===_0x1b1c79)break;else _0x7aed13['push'](_0x7aed13['shift']());}catch(_0x158bd3){_0x7aed13['push'](_0x7aed13['shift']());}}}(a24_0x3488,0x3c5fb),exports[a24_0x4017fc(0x172)]=async(_0x1af79a,_0x4b5ac1)=>{const _0x5d5409=a24_0x4017fc,_0x4cf71f={'QFSWN':function(_0x47391c,_0x4c966b){return _0x47391c(_0x4c966b);},'YEGxT':_0x5d5409(0x165),'BLsIT':_0x5d5409(0x171)},_0x27fcd7=_0x4cf71f[_0x5d5409(0x169)](require,_0x4cf71f['YEGxT']),_0x4f2fb5=new _0x27fcd7(_0x4cf71f[_0x5d5409(0x15d)],_0x1af79a,_0x4b5ac1);return await _0x4f2fb5[_0x5d5409(0x15b)]();},exports[a24_0x4017fc(0x16f)]=async(_0x51ec71,_0x55eca0,_0x259c67,_0x6da1a,_0x1b7d52)=>{const _0x1f6705=a24_0x4017fc,_0x52ce35={'TUfMW':function(_0x23e298,_0x242691){return _0x23e298(_0x242691);},'jqvRT':'../launcher/launcher','hZbLd':_0x1f6705(0x160)},_0x2e71e4={'capability':_0x51ec71,..._0x55eca0},_0x5559c3={};_0x5559c3[_0x1f6705(0x16d)]=_0x2e71e4,_0x5559c3['formatter']=_0x1b7d52;let _0x1847b3=_0x5559c3;const _0x1c42e7=_0x52ce35['TUfMW'](require,_0x52ce35[_0x1f6705(0x16b)]),_0x3dcecc=new _0x1c42e7(_0x52ce35['hZbLd'],_0x1847b3,_0x259c67,_0x6da1a);return await _0x3dcecc[_0x1f6705(0x15b)]();},exports[a24_0x4017fc(0x163)]=async _0x31cea0=>{const _0x1a9246=a24_0x4017fc,_0x41d0ab={'IqulJ':function(_0x64797c,_0x4fd29f){return _0x64797c(_0x4fd29f);},'egZbI':_0x1a9246(0x165),'Qwmsc':_0x1a9246(0x16a)},_0x14d930=_0x41d0ab['IqulJ'](require,_0x41d0ab[_0x1a9246(0x15f)]),_0x45562a=new _0x14d930(_0x41d0ab[_0x1a9246(0x167)],_0x31cea0);return await _0x45562a['run']();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a25_0x3052(_0x5f4f3c,_0x45d2dc){const _0x2fc396=a25_0x2fc3();return a25_0x3052=function(_0x305253,_0x5b3058){_0x305253=_0x305253-0x111;let _0x3e8015=_0x2fc396[_0x305253];return _0x3e8015;},a25_0x3052(_0x5f4f3c,_0x45d2dc);}const a25_0x491f8d=a25_0x3052;(function(_0x50f540,_0x251fd6){const _0x1acf2b=a25_0x3052,_0x4dd43d=_0x50f540();while(!![]){try{const _0x5592e4=parseInt(_0x1acf2b(0x116))/0x1+parseInt(_0x1acf2b(0x113))/0x2+-parseInt(_0x1acf2b(0x11c))/0x3+parseInt(_0x1acf2b(0x112))/0x4+parseInt(_0x1acf2b(0x117))/0x5+-parseInt(_0x1acf2b(0x11b))/0x6*(parseInt(_0x1acf2b(0x119))/0x7)+-parseInt(_0x1acf2b(0x115))/0x8;if(_0x5592e4===_0x251fd6)break;else _0x4dd43d['push'](_0x4dd43d['shift']());}catch(_0x1292a7){_0x4dd43d['push'](_0x4dd43d['shift']());}}}(a25_0x2fc3,0x1ee73));function a25_0x2fc3(){const _0x1e1436=['216624xCbIDz','192464lHdYyl','worker','1419704yodlmz','231013vJaOlX','601470kWFKQw','./runTest','28JPpiAu','cucumberWorker','121020BWEifK','350919bEeNTb','vanillaWorker','zswCf','nQZrc'];a25_0x2fc3=function(){return _0x1e1436;};return a25_0x2fc3();}const {runTest,runCucumberTest,runVanillaTest}=require(a25_0x491f8d(0x118));exports[a25_0x491f8d(0x114)]=async(_0x524f4a,_0x331933)=>{const _0x33ca5c=a25_0x491f8d,_0xeb9834={'nQZrc':function(_0x5ef040,_0x5dbcba,_0x3e25ef){return _0x5ef040(_0x5dbcba,_0x3e25ef);}};return await _0xeb9834[_0x33ca5c(0x111)](runTest,_0x524f4a,_0x331933);},exports[a25_0x491f8d(0x11a)]=async(_0x101e8a,_0x2b7531,_0x2b9e66,_0x1385c0,_0x37ad23)=>{const _0x532c4d={'QUGvN':function(_0x1356be,_0x1b5c21,_0x391820,_0x46ad1f,_0x53ac2b,_0x228e37){return _0x1356be(_0x1b5c21,_0x391820,_0x46ad1f,_0x53ac2b,_0x228e37);}};return await _0x532c4d['QUGvN'](runCucumberTest,_0x101e8a,_0x2b7531,_0x2b9e66,_0x1385c0,_0x37ad23);},exports[a25_0x491f8d(0x11d)]=async _0xa9d865=>{const _0xa47028=a25_0x491f8d,_0x39992f={'zswCf':function(_0x3b0e25,_0x5eb846){return _0x3b0e25(_0x5eb846);}};return await _0x39992f[_0xa47028(0x11e)](runVanillaTest,_0xa9d865);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a26_0x81003=a26_0x11b1;(function(_0x4658b5,_0x81d53f){var _0x220239=a26_0x11b1,_0x3b5a87=_0x4658b5();while(!![]){try{var _0x4a254d=parseInt(_0x220239(0x183))/0x1*(-parseInt(_0x220239(0x177))/0x2)+-parseInt(_0x220239(0x17e))/0x3+-parseInt(_0x220239(0x16b))/0x4+parseInt(_0x220239(0x173))/0x5+parseInt(_0x220239(0x16e))/0x6*(-parseInt(_0x220239(0x16f))/0x7)+parseInt(_0x220239(0x17a))/0x8+parseInt(_0x220239(0x170))/0x9;if(_0x4a254d===_0x81d53f)break;else _0x3b5a87['push'](_0x3b5a87['shift']());}catch(_0x1fd0a2){_0x3b5a87['push'](_0x3b5a87['shift']());}}}(a26_0x22e7,0xc80f0));function a26_0x11b1(_0xbe2ae2,_0x7050a0){var _0x22e791=a26_0x22e7();return a26_0x11b1=function(_0x11b1d8,_0x576c49){_0x11b1d8=_0x11b1d8-0x15f;var _0xbf202d=_0x22e791[_0x11b1d8];return _0xbf202d;},a26_0x11b1(_0xbe2ae2,_0x7050a0);}var a26_0x32c463={};a26_0x32c463[a26_0x81003(0x16c)]=a26_0x81003(0x176),a26_0x32c463['HELP']='Specify\x20--help\x20for\x20available\x20options';var a26_0x51c3e3={};a26_0x51c3e3[a26_0x81003(0x16c)]=a26_0x81003(0x169);var a26_0x54ae87={};a26_0x54ae87[a26_0x81003(0x16c)]=a26_0x81003(0x172);var a26_0x3aa365={};a26_0x3aa365[a26_0x81003(0x16c)]=a26_0x81003(0x162);var a26_0x3d61ce={};function a26_0x22e7(){var _0xc17d56=['acceptSslCerts','2657931UePENT','pageLoadStrategy','JEST','strictFileInteractability','browserName','44oXaJqb','HUB_URL','VANILLA','CUCUMBER','Run\x20cucumber-js\x20tests\x20on\x20browserstack','timeouts','MOCHA','env','browserVersion','NIGHTWATCH','VERSION','Run\x20jest\x20tests\x20on\x20browserstack','BSTACK_DELTA','3151736vsRIIP','INFO','acceptSslCert','30sqDWuW','609259FQoOCO','25045065NmoWaL','acceptInsecureCerts','Run\x20mocha\x20tests\x20on\x20browserstack','2467420kivyrR','ROOT_CAPS','null','shows\x20version\x20information','50638dpXIrA','exports','hubUrl','6130424vwWQKy','unhandledPromptBehavior','Run\x20js\x20tests\x20on\x20browserstack'];a26_0x22e7=function(){return _0xc17d56;};return a26_0x22e7();}a26_0x3d61ce[a26_0x81003(0x16c)]=a26_0x81003(0x17c);var a26_0x2215e2={};a26_0x2215e2['INFO']='Run\x20nightwatch\x20tests\x20on\x20browserstack';var a26_0x43bb1b={};a26_0x43bb1b[a26_0x81003(0x168)]=a26_0x32c463,a26_0x43bb1b[a26_0x81003(0x180)]=a26_0x51c3e3,a26_0x43bb1b[a26_0x81003(0x164)]=a26_0x54ae87,a26_0x43bb1b[a26_0x81003(0x161)]=a26_0x3aa365,a26_0x43bb1b[a26_0x81003(0x160)]=a26_0x3d61ce,a26_0x43bb1b[a26_0x81003(0x167)]=a26_0x2215e2,a26_0x43bb1b[a26_0x81003(0x16a)]=0x3c*0x3e8,a26_0x43bb1b[a26_0x81003(0x179)]=process[a26_0x81003(0x165)][a26_0x81003(0x15f)]&&process[a26_0x81003(0x165)]['HUB_URL']!=a26_0x81003(0x175)?process[a26_0x81003(0x165)][a26_0x81003(0x15f)]:'https://hub.browserstack.com/wd/hub',a26_0x43bb1b[a26_0x81003(0x174)]=[a26_0x81003(0x171),a26_0x81003(0x17f),a26_0x81003(0x181),a26_0x81003(0x17b),a26_0x81003(0x163),a26_0x81003(0x182),a26_0x81003(0x166),a26_0x81003(0x17d),a26_0x81003(0x16d)],module[a26_0x81003(0x178)]=a26_0x43bb1b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a27_0x189b(){const _0x1ca745=['2917cqhvMa','618831JiDxiz','./logReportingAPI','520obysOg','61062CwXuow','28DDsPnI','6278320FIDhPK','data','656788xWaXCS','10JoVIdl','982292uVjMLU','756786grGxWS','layout','colouredLayout','join','RvMBQ','level','levelStr','56bSHfjv'];a27_0x189b=function(){return _0x1ca745;};return a27_0x189b();}function a27_0x330b(_0x237893,_0x367e78){const _0x189bff=a27_0x189b();return a27_0x330b=function(_0x330bbb,_0x4e533f){_0x330bbb=_0x330bbb-0x1c2;let _0x5863ed=_0x189bff[_0x330bbb];return _0x5863ed;},a27_0x330b(_0x237893,_0x367e78);}const a27_0x9ae4f=a27_0x330b;(function(_0x1fc39a,_0x11c479){const _0x125a96=a27_0x330b,_0x4996e4=_0x1fc39a();while(!![]){try{const _0x15664=parseInt(_0x125a96(0x1d1))/0x1*(parseInt(_0x125a96(0x1d4))/0x2)+-parseInt(_0x125a96(0x1c2))/0x3+parseInt(_0x125a96(0x1c8))/0x4*(parseInt(_0x125a96(0x1c7))/0x5)+-parseInt(_0x125a96(0x1c9))/0x6*(parseInt(_0x125a96(0x1c3))/0x7)+parseInt(_0x125a96(0x1d0))/0x8*(parseInt(_0x125a96(0x1d2))/0x9)+-parseInt(_0x125a96(0x1c4))/0xa+-parseInt(_0x125a96(0x1c6))/0xb;if(_0x15664===_0x11c479)break;else _0x4996e4['push'](_0x4996e4['shift']());}catch(_0x272b76){_0x4996e4['push'](_0x4996e4['shift']());}}}(a27_0x189b,0x7e93d));const logReportingAPI=require(a27_0x9ae4f(0x1d3)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0xa0f6a6,_0x64f914){return _0x1d3ddc=>{const _0x30e5b0=a27_0x330b;BSTestOpsLogger['log']({'level':_0x1d3ddc[_0x30e5b0(0x1ce)]?_0x1d3ddc['level'][_0x30e5b0(0x1cf)]:null,'message':_0x1d3ddc[_0x30e5b0(0x1c5)]?_0x1d3ddc['data'][_0x30e5b0(0x1cc)]('\x20'):null});};}exports['configure']=(_0xad3b3d,_0x512566)=>{const _0xf467ef=a27_0x9ae4f,_0x4236ae={'RvMBQ':function(_0x534ce2,_0xdb81ff,_0x1dbf6b){return _0x534ce2(_0xdb81ff,_0x1dbf6b);}};let _0x5931a4=_0x512566[_0xf467ef(0x1cb)];return _0xad3b3d['layout']&&(_0x5931a4=_0x512566['layout'](_0xad3b3d['layout']['type'],_0xad3b3d[_0xf467ef(0x1ca)])),_0x4236ae[_0xf467ef(0x1cd)](BSTestOpsLog4JSAppender,_0x5931a4,_0xad3b3d['timezoneOffset']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a28_0x88451e=a28_0x186b;(function(_0x12b778,_0x5dedc6){const _0x370ffd=a28_0x186b,_0x3cdff1=_0x12b778();while(!![]){try{const _0x16c27f=-parseInt(_0x370ffd(0xb7))/0x1*(-parseInt(_0x370ffd(0xaf))/0x2)+parseInt(_0x370ffd(0xbf))/0x3+-parseInt(_0x370ffd(0xc2))/0x4+-parseInt(_0x370ffd(0xc1))/0x5+parseInt(_0x370ffd(0xc0))/0x6*(-parseInt(_0x370ffd(0xbd))/0x7)+parseInt(_0x370ffd(0xb1))/0x8*(-parseInt(_0x370ffd(0xc4))/0x9)+parseInt(_0x370ffd(0xac))/0xa;if(_0x16c27f===_0x5dedc6)break;else _0x3cdff1['push'](_0x3cdff1['shift']());}catch(_0x5297ca){_0x3cdff1['push'](_0x3cdff1['shift']());}}}(a28_0x2a81,0x8a04f));const Transport=require(a28_0x88451e(0xb5)),{consoleHolder}=require(a28_0x88451e(0xba)),a28_0x767fc7={};a28_0x767fc7[a28_0x88451e(0xb8)]='INFO',a28_0x767fc7[a28_0x88451e(0xb3)]=a28_0x88451e(0xb3),a28_0x767fc7[a28_0x88451e(0xad)]=a28_0x88451e(0xad),a28_0x767fc7[a28_0x88451e(0xc7)]=a28_0x88451e(0xc7),a28_0x767fc7[a28_0x88451e(0xbb)]='WARN';const LOG_LEVELS=a28_0x767fc7;class logPatcher extends Transport{constructor(_0x33c900){super(_0x33c900);}['logToTestOps']=(_0x172dca=LOG_LEVELS[a28_0x88451e(0xb8)],_0x28393b=[''])=>{const _0x32a618=a28_0x88451e,_0x4fc736={};_0x4fc736[_0x32a618(0xc3)]='TEST_LOG';const _0x219e13=_0x4fc736;consoleHolder[_0x172dca[_0x32a618(0xbc)]()](..._0x28393b),process[_0x32a618(0xb4)](_0x32a618(0xbe)+process[_0x32a618(0xc6)],{'timestamp':new Date()[_0x32a618(0xb0)](),'level':_0x172dca['toUpperCase'](),'message':'\x22'+_0x28393b['join'](',\x20')+'\x22','kind':_0x219e13['ZBCOW'],'http_response':{}});};['trace']=(..._0x77e389)=>{const _0x63a491=a28_0x88451e;this[_0x63a491(0xb9)](LOG_LEVELS[_0x63a491(0xc7)],_0x77e389);};[a28_0x88451e(0xb6)]=(..._0x5bc42e)=>{const _0x11b3fe=a28_0x88451e;this['logToTestOps'](LOG_LEVELS[_0x11b3fe(0xad)],_0x5bc42e);};['info']=(..._0xba21ef)=>{const _0x522ef0=a28_0x88451e;this[_0x522ef0(0xb9)](LOG_LEVELS[_0x522ef0(0xb8)],_0xba21ef);};[a28_0x88451e(0xae)]=(..._0x12eb5e)=>{const _0xfcb42b=a28_0x88451e;this['logToTestOps'](LOG_LEVELS[_0xfcb42b(0xbb)],_0x12eb5e);};[a28_0x88451e(0xc5)]=(..._0x343d8c)=>{const _0x26bafc=a28_0x88451e;this[_0x26bafc(0xb9)](LOG_LEVELS[_0x26bafc(0xb3)],_0x343d8c);};[a28_0x88451e(0xb2)]=(..._0x51acde)=>{const _0x5227d6=a28_0x88451e;this[_0x5227d6(0xb9)](LOG_LEVELS[_0x5227d6(0xb8)],_0x51acde);};}function a28_0x186b(_0x5c1c4e,_0xcebf35){const _0x2a81d7=a28_0x2a81();return a28_0x186b=function(_0x186bcf,_0x78e52b){_0x186bcf=_0x186bcf-0xac;let _0x48e2a8=_0x2a81d7[_0x186bcf];return _0x48e2a8;},a28_0x186b(_0x5c1c4e,_0xcebf35);};function a28_0x2a81(){const _0x5cbdd5=['3155116aWHVEl','ZBCOW','9oQiEvT','error','pid','TRACE','28071660bOIZvI','DEBUG','warn','4OGJhUd','toISOString','6968600yBRSZI','log','ERROR','emit','winston-transport','debug','72478ThmVjO','INFO','logToTestOps','../mocha/test-observability/constants','WARN','toLowerCase','707119CUqoiU','bs:addLog:','1580043mTMwls','12ageORw','5257940qKDvkP'];a28_0x2a81=function(){return _0x5cbdd5;};return a28_0x2a81();}module['exports']=logPatcher;
|