browserstack-node-sdk 1.32.11 → 1.32.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x75854a=a22_0x261c;(function(_0x172da9,_0x52232e){const _0x2793ea=a22_0x261c,_0xe94b7e=_0x172da9();while(!![]){try{const _0xef3f7c=-parseInt(_0x2793ea(0x122))/0x1*(-parseInt(_0x2793ea(0x118))/0x2)+parseInt(_0x2793ea(0x123))/0x3*(parseInt(_0x2793ea(0x11f))/0x4)+-parseInt(_0x2793ea(0x117))/0x5+parseInt(_0x2793ea(0x121))/0x6+-parseInt(_0x2793ea(0x11d))/0x7*(parseInt(_0x2793ea(0x120))/0x8)+-parseInt(_0x2793ea(0x119))/0x9*(-parseInt(_0x2793ea(0x11a))/0xa)+-parseInt(_0x2793ea(0x11e))/0xb;if(_0xef3f7c===_0x52232e)break;else _0xe94b7e['push'](_0xe94b7e['shift']());}catch(_0x49a7b5){_0xe94b7e['push'](_0xe94b7e['shift']());}}}(a22_0x27ab,0xad22d));const {requireModule}=require(a22_0x75854a(0x124));require('../../helpers/setKeepAlive')();function a22_0x27ab(){const _0xa36ad7=['216xNWmaT','6359400epXtoI','7GHmEWN','6LlaZkV','../../helpers/helper','2081215DSRDDC','357788NlPAwT','8130411daiexJ','10WXOons','__webdriver','selenium-webdriver','277725GIPFNT','11954866ndmeWd','135804nCmTAK'];a22_0x27ab=function(){return _0xa36ad7;};return a22_0x27ab();}function a22_0x261c(_0x2910ca,_0xf7ab4e){const _0x27ab22=a22_0x27ab();return a22_0x261c=function(_0x261ce4,_0x27b7dc){_0x261ce4=_0x261ce4-0x117;let _0x597a23=_0x27ab22[_0x261ce4];return _0x597a23;},a22_0x261c(_0x2910ca,_0xf7ab4e);}const __wd__=requireModule(a22_0x75854a(0x11c));for(const key of Object['keys'](global[a22_0x75854a(0x11b)])){__wd__[key]=global[a22_0x75854a(0x11b)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a23_0x375b(_0xfb73ce,_0x1e4561){const _0x4b2376=a23_0x4b23();return a23_0x375b=function(_0x375b3d,_0x56745e){_0x375b3d=_0x375b3d-0x19f;let _0x5580b3=_0x4b2376[_0x375b3d];return _0x5580b3;},a23_0x375b(_0xfb73ce,_0x1e4561);}const a23_0x253166=a23_0x375b;(function(_0x3d8d62,_0x3db366){const _0x380328=a23_0x375b,_0xa232dc=_0x3d8d62();while(!![]){try{const _0x397d85=-parseInt(_0x380328(0x1a6))/0x1+-parseInt(_0x380328(0x1c2))/0x2*(-parseInt(_0x380328(0x1ad))/0x3)+parseInt(_0x380328(0x1a2))/0x4+parseInt(_0x380328(0x1af))/0x5*(parseInt(_0x380328(0x1bd))/0x6)+-parseInt(_0x380328(0x1a1))/0x7*(parseInt(_0x380328(0x1a7))/0x8)+parseInt(_0x380328(0x1c5))/0x9*(-parseInt(_0x380328(0x1bc))/0xa)+-parseInt(_0x380328(0x1a5))/0xb;if(_0x397d85===_0x3db366)break;else _0xa232dc['push'](_0xa232dc['shift']());}catch(_0x26d47c){_0xa232dc['push'](_0xa232dc['shift']());}}}(a23_0x4b23,0x2ca88));function a23_0x4b23(){const _0x37a356=['_argv','../../helpers/accessibility-automation/helper','mochaOpts','testSuites','../utils/constants','testsSkipped','../../helpers/test-observability/requestQueueHandler','platformCaps','configuration','__platform__','testsPassed','19|2|15|11|1|0|18|3|7|21|6|8|12|4|14|10|13|5|17|16|20|9','10RHqKXG','6UyGZLM','platform','split','__platformCaps','_formatter','74182cSjpDq','testSuitesFailed','setupCucumber','3277152oeHPgw','testsErrorMessage','_testObservability','../../helpers/test-observability/utils','resolvePaths','49rIUQsJ','1385920wwhjrc','totalTests','_capability','1263944XomgDQ','51797kqIyWH','52952plbgqr','../../helpers/helper','IyTdn','testsPending','formatter','_configuration','12QXHucu','testsFailed','1326190xhjIuX'];a23_0x4b23=function(){return _0x37a356;};return a23_0x4b23();}const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x253166(0x1a8)),constants=require(a23_0x253166(0x1b4)),{isAccessibilityAutomationSession}=require(a23_0x253166(0x1b1)),RequestQueueHandler=require(a23_0x253166(0x1b6)),{isTestObservabilitySession}=require(a23_0x253166(0x19f)),helper=require(a23_0x253166(0x1a8));class Launcher{constructor(_0x59f8f2,_0x5c14da,_0x3391c9,_0x2e851f=[]){const _0x8c2ff2=a23_0x253166,_0x3a88bf={'paAEH':_0x8c2ff2(0x1bb),'IyTdn':function(_0x1e830b){return _0x1e830b();}},_0x1e435e=_0x3a88bf['paAEH'][_0x8c2ff2(0x1bf)]('|');let _0x3f3abb=0x0;while(!![]){switch(_0x1e435e[_0x3f3abb++]){case'0':global[_0x8c2ff2(0x1b9)]=this[_0x8c2ff2(0x1ac)][_0x8c2ff2(0x1be)];continue;case'1':this[_0x8c2ff2(0x1a4)]=this[_0x8c2ff2(0x1ac)]['capability'];continue;case'2':this['_configuration']=_0x5c14da[_0x8c2ff2(0x1b8)]||{};continue;case'3':this['_bsConfig']=_0x3391c9;continue;case'4':global[_0x8c2ff2(0x1ba)]=0x0;continue;case'5':global[_0x8c2ff2(0x1c3)]=0x0;continue;case'6':global[_0x8c2ff2(0x1c0)]=this[_0x8c2ff2(0x1ac)][_0x8c2ff2(0x1b7)]||{};continue;case'7':this[_0x8c2ff2(0x1c7)]=_0x3a88bf[_0x8c2ff2(0x1a9)](isTestObservabilitySession);continue;case'8':global[_0x8c2ff2(0x1b3)]=0x0;continue;case'9':global[_0x8c2ff2(0x1c6)]={};continue;case'10':global[_0x8c2ff2(0x1aa)]=0x0;continue;case'11':this[_0x8c2ff2(0x1c1)]=_0x5c14da[_0x8c2ff2(0x1ab)];continue;case'12':global[_0x8c2ff2(0x1a3)]=0x0;continue;case'13':global[_0x8c2ff2(0x1b5)]=0x0;continue;case'14':global[_0x8c2ff2(0x1ae)]=0x0;continue;case'15':this['_mochaOpts']=_0x5c14da[_0x8c2ff2(0x1b2)];continue;case'16':global['testsUnknown']=0x0;continue;case'17':global['testsUndefined']=0x0;continue;case'18':this[_0x8c2ff2(0x1b0)]=_0x2e851f;continue;case'19':this['_framework']=_0x59f8f2;continue;case'20':global['testsAmbiguous']=0x0;continue;case'21':this['_accessibilityAutomation']=_0x3a88bf[_0x8c2ff2(0x1a9)](isAccessibilityAutomationSession);continue;}break;}}[a23_0x253166(0x1c4)](_0x15e869,_0x194889,_0x19e0e2){const _0x13db06=a23_0x253166,_0x274aa2=_0x15e869[_0x13db06(0x1a0)];_0x15e869.resolvePaths=async function(){const pathResults=await _0x274aa2.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x19e0e2));return pathResults;},_0x194889.push('--format'),_0x194889.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
1
|
+
const a23_0x1ebc84=a23_0x23ad;(function(_0x2f3049,_0x9da487){const _0x25fd05=a23_0x23ad,_0x345c10=_0x2f3049();while(!![]){try{const _0x319e78=parseInt(_0x25fd05(0x178))/0x1+parseInt(_0x25fd05(0x160))/0x2+-parseInt(_0x25fd05(0x16c))/0x3*(-parseInt(_0x25fd05(0x157))/0x4)+-parseInt(_0x25fd05(0x16e))/0x5+-parseInt(_0x25fd05(0x16f))/0x6*(parseInt(_0x25fd05(0x161))/0x7)+parseInt(_0x25fd05(0x164))/0x8*(-parseInt(_0x25fd05(0x17d))/0x9)+parseInt(_0x25fd05(0x177))/0xa*(parseInt(_0x25fd05(0x171))/0xb);if(_0x319e78===_0x9da487)break;else _0x345c10['push'](_0x345c10['shift']());}catch(_0x1b4e5d){_0x345c10['push'](_0x345c10['shift']());}}}(a23_0x2161,0x83357));function a23_0x23ad(_0x689436,_0x36a1de){const _0x216177=a23_0x2161();return a23_0x23ad=function(_0x23ad3c,_0x2d973a){_0x23ad3c=_0x23ad3c-0x156;let _0xd05a29=_0x216177[_0x23ad3c];return _0xd05a29;},a23_0x23ad(_0x689436,_0x36a1de);}const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x1ebc84(0x16b)),constants=require(a23_0x1ebc84(0x158)),{isAccessibilityAutomationSession}=require(a23_0x1ebc84(0x17b)),RequestQueueHandler=require(a23_0x1ebc84(0x159)),{isTestObservabilitySession}=require(a23_0x1ebc84(0x167)),helper=require(a23_0x1ebc84(0x16b));function a23_0x2161(){const _0x23458c=['__platform__','testsPending','NrIgp','_framework','514906nWHCVl','1318261Lpphwc','testsPassed','_mochaOpts','334664CHNtVH','testSuitesFailed','testSuites','../../helpers/test-observability/utils','resolvePaths','testsErrorMessage','testsAmbiguous','../../helpers/helper','69921JrORwy','_accessibilityAutomation','2039835aWcBfG','6rMGCfN','__platformCaps','667843PigFZB','configuration','_formatter','testsSkipped','testsUndefined','formatter','10DgXHfC','524515KHkSfk','setupCucumber','_testObservability','../../helpers/accessibility-automation/helper','split','153aIPiQL','totalTests','_argv','testsFailed','sZedR','172LMldRx','../utils/constants','../../helpers/test-observability/requestQueueHandler','UbgFe','_configuration'];a23_0x2161=function(){return _0x23458c;};return a23_0x2161();}class Launcher{constructor(_0x532c06,_0x178a49,_0x24f5e6,_0x5e0921=[]){const _0x11aba3=a23_0x1ebc84,_0x2fd456={'sZedR':'17|1|7|16|11|21|3|15|14|12|8|20|0|4|2|9|13|5|18|19|10|6','NrIgp':function(_0x298fb8){return _0x298fb8();},'UbgFe':function(_0x22ba7a){return _0x22ba7a();}},_0x34b2d6=_0x2fd456[_0x11aba3(0x156)][_0x11aba3(0x17c)]('|');let _0x11a7ab=0x0;while(!![]){switch(_0x34b2d6[_0x11a7ab++]){case'0':global[_0x11aba3(0x17e)]=0x0;continue;case'1':this['_configuration']=_0x178a49[_0x11aba3(0x172)]||{};continue;case'2':global[_0x11aba3(0x180)]=0x0;continue;case'3':this[_0x11aba3(0x17f)]=_0x5e0921;continue;case'4':global[_0x11aba3(0x162)]=0x0;continue;case'5':global[_0x11aba3(0x165)]=0x0;continue;case'6':global[_0x11aba3(0x169)]={};continue;case'7':this[_0x11aba3(0x163)]=_0x178a49['mochaOpts'];continue;case'8':global[_0x11aba3(0x170)]=this[_0x11aba3(0x15b)]['platformCaps']||{};continue;case'9':global[_0x11aba3(0x15d)]=0x0;continue;case'10':global[_0x11aba3(0x16a)]=0x0;continue;case'11':this['_capability']=this[_0x11aba3(0x15b)]['capability'];continue;case'12':this[_0x11aba3(0x16d)]=_0x2fd456[_0x11aba3(0x15e)](isAccessibilityAutomationSession);continue;case'13':global[_0x11aba3(0x174)]=0x0;continue;case'14':this[_0x11aba3(0x17a)]=_0x2fd456[_0x11aba3(0x15a)](isTestObservabilitySession);continue;case'15':this['_bsConfig']=_0x24f5e6;continue;case'16':this[_0x11aba3(0x173)]=_0x178a49[_0x11aba3(0x176)];continue;case'17':this[_0x11aba3(0x15f)]=_0x532c06;continue;case'18':global[_0x11aba3(0x175)]=0x0;continue;case'19':global['testsUnknown']=0x0;continue;case'20':global[_0x11aba3(0x166)]=0x0;continue;case'21':global[_0x11aba3(0x15c)]=this[_0x11aba3(0x15b)]['platform'];continue;}break;}}[a23_0x1ebc84(0x179)](_0xaa6d62,_0x43829e,_0x55e56f){const _0x55bf1b=a23_0x1ebc84,_0x5a3c1a=_0xaa6d62[_0x55bf1b(0x168)];_0xaa6d62.resolvePaths=async function(){const pathResults=await _0x5a3c1a.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x55e56f));return pathResults;},_0x43829e.push('--format'),_0x43829e.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a24_0x436a(_0x536c71,_0x126e1c){const _0xbd9340=a24_0xbd93();return a24_0x436a=function(_0x436a98,_0x5ee48b){_0x436a98=_0x436a98-0xf9;let _0x378fdd=_0xbd9340[_0x436a98];return _0x378fdd;},a24_0x436a(_0x536c71,_0x126e1c);}const a24_0x26ae3b=a24_0x436a;(function(_0x270fc,_0x486b3b){const _0x4b4434=a24_0x436a,_0x4d4a43=_0x270fc();while(!![]){try{const _0x3d159b=parseInt(_0x4b4434(0x131))/0x1*(-parseInt(_0x4b4434(0x137))/0x2)+-parseInt(_0x4b4434(0x134))/0x3*(parseInt(_0x4b4434(0x139))/0x4)+-parseInt(_0x4b4434(0x107))/0x5*(-parseInt(_0x4b4434(0x144))/0x6)+parseInt(_0x4b4434(0x102))/0x7*(-parseInt(_0x4b4434(0x130))/0x8)+parseInt(_0x4b4434(0x13e))/0x9*(parseInt(_0x4b4434(0x13b))/0xa)+-parseInt(_0x4b4434(0x113))/0xb+parseInt(_0x4b4434(0x143))/0xc*(parseInt(_0x4b4434(0x142))/0xd);if(_0x3d159b===_0x486b3b)break;else _0x4d4a43['push'](_0x4d4a43['shift']());}catch(_0x237c82){_0x4d4a43['push'](_0x4d4a43['shift']());}}}(a24_0xbd93,0x6b214));const path=require(a24_0x26ae3b(0x12b)),os=require('os'),util=require('util'),bsSetupHelper=require(a24_0x26ae3b(0x105)),globals=require(a24_0x26ae3b(0xfa)),logger=require('../../../helpers/logger')[a24_0x26ae3b(0x149)];function a24_0xbd93(){const _0xc71153=['options_','TeMkO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','mrULF','setAccessibilityCapabilities','browser_version','XGoWX','get','YxxWO','__cloud_provider___','path','browserstack','setExtension','warn','Options','23672Fjvsmm','773AOBjEV','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','bstack:options','27kBihxE','LhFKe','includes','34uXIYlY','scannerVersion','49132PSsLud','chromeOptions_','7313470gcvnAp','BfOsG','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','9XZpKov','args','selenium-webdriver/chrome.js','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','77103FrBeoe','588jgBlzq','6DHjADm','NKmwJ','browserVersion','DHpdi','wtLbg','winstonLogger','accessibilityOptions','parse','env','deviceName','itlYy','../../../helpers/globals','oLizI','BS_A11Y_JWT','capability','NPTZE','ptRwS','--headless','huDGo','1337RtQpgu','getBrowserName','getCapabilities','../../../helpers/helper','gqPpR','2135435HzDdof','epThZ','TxIFr','romHm','ZPjaz','toLowerCase','browserstack.accessibility','IvxKo','nestedKeyValue','Exception\x20in\x20setExtension\x20Error:\x20','accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','3535312uFlQwL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserName','chromeOptions','debug','format','authToken','KiVjd','capabilities_','isUndefined','getPlatformVersion','vLYDQ','setGlobal','getBrowserVersion'];a24_0xbd93=function(){return _0xc71153;};return a24_0xbd93();}exports[a24_0x26ae3b(0x125)]=_0x3d51b7=>{const _0xd58f46=a24_0x26ae3b,_0x24c404={};_0x24c404[_0xd58f46(0x10a)]=_0xd58f46(0x133),_0x24c404[_0xd58f46(0xff)]=_0xd58f46(0x10d),_0x24c404['itlYy']='isAccessibilityPlatform',_0x24c404[_0xd58f46(0xfe)]='browserstack.accessibilityOptions';const _0x427bdc=_0x24c404;try{const _0x120ef9=_0x3d51b7[_0xd58f46(0xfd)]||{};if(_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]]&&_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x111)]||_0x3d51b7[_0xd58f46(0xfd)][_0x427bdc[_0xd58f46(0xff)]]){globals[_0xd58f46(0x11f)](_0x427bdc[_0xd58f46(0xf9)],!![]);if(_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]]){if(_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x14a)])_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x14a)][_0xd58f46(0x119)]=process['env'][_0xd58f46(0xfc)];else{const _0x5d6b0a={};_0x5d6b0a['authToken']=process[_0xd58f46(0x14c)][_0xd58f46(0xfc)],_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x14a)]=_0x5d6b0a;}_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x14a)][_0xd58f46(0x138)]=JSON[_0xd58f46(0x14b)](process[_0xd58f46(0x14c)][_0xd58f46(0x112)])[_0xd58f46(0x138)];}else{if(_0x3d51b7[_0xd58f46(0xfd)][_0x427bdc[_0xd58f46(0xff)]]){if(_0x120ef9[_0x427bdc[_0xd58f46(0xfe)]])_0x120ef9[_0x427bdc[_0xd58f46(0xfe)]][_0xd58f46(0x119)]=process[_0xd58f46(0x14c)][_0xd58f46(0xfc)];else{const _0x1f6b13={};_0x1f6b13['authToken']=process['env'][_0xd58f46(0xfc)],_0x120ef9[_0x427bdc[_0xd58f46(0xfe)]]=_0x1f6b13;}_0x120ef9[_0x427bdc[_0xd58f46(0xfe)]][_0xd58f46(0x138)]=JSON[_0xd58f46(0x14b)](process[_0xd58f46(0x14c)][_0xd58f46(0x112)])[_0xd58f46(0x138)];}}}}catch(_0x14a1ac){logger[_0xd58f46(0x117)](_0xd58f46(0x132)+_0x14a1ac);}},exports[a24_0x26ae3b(0x12d)]=(_0x2ebea6,_0x848860)=>{const _0x4b304e=a24_0x26ae3b,_0x1f9d60={};_0x1f9d60[_0x4b304e(0xfb)]='bstack:options',_0x1f9d60['vLYDQ']=function(_0x5f2408,_0x3fef90){return _0x5f2408!==_0x3fef90;},_0x1f9d60[_0x4b304e(0x109)]=_0x4b304e(0x114),_0x1f9d60[_0x4b304e(0x106)]=function(_0x37082e,_0xa95f2d){return _0x37082e!==_0xa95f2d;},_0x1f9d60[_0x4b304e(0x101)]='chrome',_0x1f9d60[_0x4b304e(0x108)]=_0x4b304e(0x123),_0x1f9d60[_0x4b304e(0x13c)]=function(_0x3bb489,_0x283c68){return _0x3bb489===_0x283c68;},_0x1f9d60[_0x4b304e(0x122)]='latest',_0x1f9d60[_0x4b304e(0x135)]=function(_0x5bf4c7,_0x532d3f){return _0x5bf4c7>_0x532d3f;},_0x1f9d60[_0x4b304e(0x147)]=_0x4b304e(0x141),_0x1f9d60['wtLbg']=_0x4b304e(0x140),_0x1f9d60[_0x4b304e(0x124)]=_0x4b304e(0x121),_0x1f9d60[_0x4b304e(0x145)]=_0x4b304e(0x13f),_0x1f9d60['XGoWX']=_0x4b304e(0x116),_0x1f9d60['KiVjd']=_0x4b304e(0x100),_0x1f9d60[_0x4b304e(0x10b)]=_0x4b304e(0x13d);const _0x847c97=_0x1f9d60;try{const _0x55a3f8=_0x848860[_0x4b304e(0xfd)]||{},_0x4a1321=(_0x55a3f8[_0x847c97[_0x4b304e(0xfb)]]?_0x55a3f8[_0x847c97['oLizI']][_0x4b304e(0x14d)]:_0x55a3f8['device'])||'';if(_0x847c97[_0x4b304e(0x11e)](_0x4a1321,''))return logger[_0x4b304e(0x12e)](_0x847c97['TxIFr']),![];const _0x2828f4=_0x55a3f8[_0x4b304e(0x115)];if(_0x847c97[_0x4b304e(0x106)](_0x2828f4[_0x4b304e(0x10c)](),_0x847c97[_0x4b304e(0x101)]))return logger[_0x4b304e(0x12e)](_0x847c97[_0x4b304e(0x108)]),![];const _0x307060=_0x55a3f8[_0x4b304e(0x146)]||_0x55a3f8[_0x4b304e(0x126)];if(!bsSetupHelper[_0x4b304e(0x11c)](_0x307060)&&!(_0x847c97[_0x4b304e(0x13c)](_0x307060,_0x847c97[_0x4b304e(0x122)])||_0x847c97[_0x4b304e(0x135)](_0x307060,0x5e)))return logger['warn'](_0x847c97[_0x4b304e(0x147)]),![];let _0x209f86;try{_0x209f86=bsSetupHelper['requireModule'](_0x847c97[_0x4b304e(0x148)]);}catch(_0x2944e6){return![];}const _0x334ae4=new _0x209f86[(_0x4b304e(0x12f))](_0x2ebea6[_0x4b304e(0x13a)]),_0x4c9d81=bsSetupHelper[_0x4b304e(0x10f)](_0x334ae4,[_0x847c97[_0x4b304e(0x124)],_0x847c97[_0x4b304e(0x145)]])||bsSetupHelper[_0x4b304e(0x10f)](_0x2ebea6['capabilities_'][_0x4b304e(0x128)](_0x847c97[_0x4b304e(0xfb)]),[_0x847c97[_0x4b304e(0x127)],_0x847c97[_0x4b304e(0x145)]])||bsSetupHelper['nestedKeyValue'](_0x2ebea6[_0x4b304e(0x11b)][_0x4b304e(0x128)](_0x847c97['XGoWX']),[_0x847c97[_0x4b304e(0x145)]])||[];if(_0x4c9d81[_0x4b304e(0x136)](_0x847c97[_0x4b304e(0x11a)]))return logger['warn'](_0x847c97[_0x4b304e(0x10b)]),![];return!![];}catch(_0x125dfd){logger['debug'](_0x4b304e(0x110)+util[_0x4b304e(0x118)](_0x125dfd));}return![];},exports['fetchPlatformDetails']=async _0x1cfb63=>{const _0x5d8c03=a24_0x26ae3b,_0x57973e={};_0x57973e['IvxKo']=function(_0x3be26b,_0x120601){return _0x3be26b===_0x120601;},_0x57973e[_0x5d8c03(0x129)]=_0x5d8c03(0x12c);const _0x362a8e=_0x57973e;let _0x111cf1={};try{const _0x3e6de6=await _0x1cfb63[_0x5d8c03(0x104)]();_0x111cf1={'os_name':_0x3e6de6['getPlatform'](),'os_version':bsSetupHelper[_0x5d8c03(0x11d)](_0x362a8e[_0x5d8c03(0x10e)](global[_0x5d8c03(0x12a)],_0x362a8e[_0x5d8c03(0x129)])),'browser_name':_0x3e6de6[_0x5d8c03(0x103)](),'browser_version':_0x3e6de6[_0x5d8c03(0x120)]()};}catch(_0x245c10){logger[_0x5d8c03(0x117)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x245c10);}return _0x111cf1;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a25_0x7118(){const _0x557654=['stdout','speed','bind','passed','jPELl','LogCreated','VzKzJ','suite','UksXL','uKPvm','reporterOptions','RUNNING','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','ISBfW','__indents','File\x20path\x20could\x20not\x20be\x20found','eACpf','file','test_run','retryOf','Pdkxh','</dt>','WnkaC','SqjmI','HNZVi','exports','cLrOs','BEFORE_EACH','WzZlG','current_test','exUWR','VYYSA','failure_backtrace','UcoVS','currentTest','finalResults','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','LsgQn','pending','lsoQU','\x20\x20<dt>','../../../helpers/helper','bs:addLog:','3142185KAvpoN','.git','siZhg','Reporter','yXojd','reporterOption','path','mocha','MgohS','pass','decreaseIndent','trim','xunit','write','body','started_at','\x20\x20<dt\x20class=\x22error\x22>','OjYAM','toString','slice','failCount','results','iOrxs','test_run_uuid','relative','pTPly','wWucj','../../../helpers/test-observability/requestQueueHandler','hzrHv','event_type','3059408GoCnnC','analyticsResult','VwJqa','EkOwO','match','config','name','light','HHJiZ','http_response','1890924cgpRnS','toISOString','../../../helpers/test-observability/constants','XrrrN','uwhHK','once','testObservability','jIhzE','shutdown','meWuQ','_currentRetry','constants','IujKl','jXrNG','getTime','color','qryGb','increaseIndent','tlHqI','originalTitle','812507vByaRM','../../../helpers/test-observability/utils','bsConfig','after\x20all','failed','mocha/lib/reporters/','ieyHl','XdbGu','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','JoZtQ','uuid','ZepBE','ThMBz','escape','parent','bright\x20yellow','statSync','542062pjkyhQ','before\x20each','\x20\x20<dd\x20class=\x22error\x22>','DbNlK','bs:addPlatformDetails:','VHIHx','Ebszp','ZWoGh','quXNQ','failure','state','dZwvZ','checkmark','dirname','xSIOI','registerListeners','hooks','ugJUl','titlePath','jBcAh','ctx','cIiQx','\x20\x20<dd><pre><code>','expanded','COMPLETED','isPending','CBTSessionCreated','apply','AaQRe','sendTestRunEvent','currentRetry','current_hook','TestRunFinished','BEFORE_ALL','javascript','scopes','10569568pegYgx','EAUaZ','WPyBk','after\x20each','YQUdo','HookRunFinished','testStarted','AssertionError','docAppend','dmNeD','kgnQG','NgFzh','%s\x20-\x20%s','push','_indents','\x20with\x20error\x20:\x20','bSbQt','GqwOg','ozTgJ','scope','</code></pre></dd>','pid','result','hook_run_uuid','TestRunSkipped','consoleLog','fOoAG','cAOFS','getInstance','oRtPP','fast','call','util','dot','appendTestItemLog','indent','\x20\x20%d)\x20%s','WYrer','AFTER_EACH','location_prefix','2|4|0|3|1','mocha/lib/runnable.js','tpQft','getRootParentFile','_upstreamConfig','_testResults','KdLfl','slow','<section\x20class=\x22suite\x22>','markedStatus','root','Runner','mocha/lib/reporters/base.js','AFTER_ALL','logs','\x20-\x20','KOoRl','multiple','done','SQIFg','XfPGG','err','ZPKgc','IenDr','rqwrW','cwd','<h1>','split','cDFJb','suites','\x20\x20<dd\x20class=\x22error\x22><pre><code>','TgEsk','forEach','hook_type','title','docHtml','NSAnd','TestRunStarted','duration','HookRunStarted','runner','UnhandledError','Failed\x20to\x20load\x20reporter\x20','vaxSE','type','</dd>','uoOZz','tVNIn','mocha/lib/utils.js','YHlKS','hookAnalyticsId','%s\x20','vDXdf','BVBpp','testAnalyticsId','_buildCreated','includes','uploadEventData','phDeY','<dl>','doc','failureCount','comma','findGitConfig','zBVAO','KubQZ','clean','CGkXo','bang','.js','zGwmL','4911795ykOnie','GqhrD','IXhRu','3lpmzlL','symbols','fullTitle','XvCQj','suiteCount','_paths','sDbRq','length','rHcqa','now','join','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','prefixTestPath','MkqYE'];a25_0x7118=function(){return _0x557654;};return a25_0x7118();}function a25_0x4217(_0x511d49,_0x4f4a3f){const _0x7118d7=a25_0x7118();return a25_0x4217=function(_0x4217d7,_0x4d07a3){_0x4217d7=_0x4217d7-0x108;let _0xbfb894=_0x7118d7[_0x4217d7];return _0xbfb894;},a25_0x4217(_0x511d49,_0x4f4a3f);}const a25_0x33f433=a25_0x4217;(function(_0x17ffee,_0x3d386f){const _0x29b5a4=a25_0x4217,_0x263c42=_0x17ffee();while(!![]){try{const _0x5b8bc3=-parseInt(_0x29b5a4(0x17e))/0x1+-parseInt(_0x29b5a4(0x18f))/0x2+parseInt(_0x29b5a4(0x109))/0x3*(-parseInt(_0x29b5a4(0x160))/0x4)+parseInt(_0x29b5a4(0x142))/0x5+-parseInt(_0x29b5a4(0x16a))/0x6+parseInt(_0x29b5a4(0x222))/0x7+parseInt(_0x29b5a4(0x1b3))/0x8;if(_0x5b8bc3===_0x3d386f)break;else _0x263c42['push'](_0x263c42['shift']());}catch(_0x2f4c1c){_0x263c42['push'](_0x263c42['shift']());}}}(a25_0x7118,0x7715e));const util=require(a25_0x33f433(0x1d3)),fs=require('fs'),path=require(a25_0x33f433(0x148)),{requireModule}=require(a25_0x33f433(0x140)),Base=requireModule(a25_0x33f433(0x1e7)),utils=requireModule(a25_0x33f433(0x20b)),color=Base[a25_0x33f433(0x179)],Mocha=requireModule(a25_0x33f433(0x149)),Runnable=requireModule(a25_0x33f433(0x1dc)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a25_0x33f433(0x140)),a25_0x220a7d={};a25_0x220a7d['before\x20all']=a25_0x33f433(0x1b0),a25_0x220a7d[a25_0x33f433(0x181)]=a25_0x33f433(0x1e8),a25_0x220a7d[a25_0x33f433(0x190)]=a25_0x33f433(0x132),a25_0x220a7d[a25_0x33f433(0x1b6)]=a25_0x33f433(0x1d9);const HOOK_TYPES_MAP=a25_0x220a7d,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a25_0x33f433(0x1e6)][a25_0x33f433(0x175)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x33f433(0x175)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a25_0x33f433(0x16c)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x33f433(0x17f)),RequestQueueHandler=require(a25_0x33f433(0x15d)),requestQueueHandler=RequestQueueHandler[a25_0x33f433(0x1cf)]();class MyReporter{constructor(_0x364d31,_0x3cd978){const _0x2ca692=a25_0x33f433,_0xed09b5={'oRtPP':function(_0x30699f,_0x2f481a){return _0x30699f===_0x2f481a;},'ozTgJ':'spec','uoOZz':function(_0x1d7de4,_0x162a85){return _0x1d7de4===_0x162a85;},'jPELl':function(_0x138ce4,_0x800421){return _0x138ce4+_0x800421;},'EAUaZ':function(_0xd0f4f3,_0x5a800e,_0x2d6f6b){return _0xd0f4f3(_0x5a800e,_0x2d6f6b);},'vtvhH':'green','ZWoGh':_0x2ca692(0x20e),'JoZtQ':_0x2ca692(0x167),'dRbdU':_0x2ca692(0x1bf),'YQUdo':_0x2ca692(0x122),'WnkaC':_0x2ca692(0x217),'zBVAO':function(_0x118e20,_0x530f83){return _0x118e20===_0x530f83;},'fkpGd':function(_0x261763){return _0x261763();},'jrdcp':function(_0x2571ce){return _0x2571ce();},'wWucj':_0x2ca692(0x202),'hzrHv':function(_0x2459fa,_0x3f4973){return _0x2459fa===_0x3f4973;},'cDFJb':_0x2ca692(0x1b8),'FmLVH':function(_0x4e2ceb,_0x29d4bc){return _0x4e2ceb===_0x29d4bc;},'ThMBz':_0x2ca692(0x11a),'cIiQx':_0x2ca692(0x1d1),'sDbRq':function(_0x1c2405,_0x27932e){return _0x1c2405+_0x27932e;},'XrrrN':_0x2ca692(0x19b),'xSIOI':function(_0x3b3f9c,_0x322de7){return _0x3b3f9c+_0x322de7;},'qryGb':_0x2ca692(0x14b),'phDeY':'\x20%s','XfPGG':function(_0x277dae,_0x2f7705){return _0x277dae+_0x2f7705;},'KdLfl':function(_0x5b5746,_0xe2b68d,_0x16255a){return _0x5b5746(_0xe2b68d,_0x16255a);},'OjYAM':function(_0xa3aecb,_0x29ee24,_0x316ede){return _0xa3aecb(_0x29ee24,_0x316ede);},'isNzH':function(_0x4c38c2,_0x2df0f9,_0x58c614){return _0x4c38c2(_0x2df0f9,_0x58c614);},'QPgbC':'\x20(%dms)','vDXdf':function(_0x14cf03,_0x1ee73d,_0x375385){return _0x14cf03(_0x1ee73d,_0x375385);},'siZhg':'fail','uKPvm':_0x2ca692(0x1d7),'cAOFS':_0x2ca692(0x18d),'eyUvo':function(_0x3eca26,_0x26b51c,_0x7673bb){return _0x3eca26(_0x26b51c,_0x7673bb);},'meWuQ':_0x2ca692(0x1a7),'HHJiZ':_0x2ca692(0x1d4),'eACpf':function(_0x5b84a9,_0x2e3b31){return _0x5b84a9===_0x2e3b31;},'VzKzJ':_0x2ca692(0x1e2),'tpQft':function(_0x1c3e70,_0x4b0530){return _0x1c3e70===_0x4b0530;},'IXhRu':function(_0x5da065,_0x4d5dc8){return _0x5da065===_0x4d5dc8;},'ZepBE':_0x2ca692(0x1db),'bSbQt':function(_0x3d81cc,_0x573738){return _0x3d81cc===_0x573738;},'MgohS':'pending','tVNIn':function(_0x1ef0cc,_0x506c0b){return _0x1ef0cc===_0x506c0b;},'BVBpp':function(_0x4b6621){return _0x4b6621();},'jXrNG':'TestRunSkipped','rqwrW':function(_0x3f504a,_0x59f3ba){return _0x3f504a===_0x59f3ba;},'PYNfi':function(_0x3114f4,_0x1fee09){return _0x3114f4===_0x1fee09;},'ugJUl':function(_0x106f7b,_0x4ab336){return _0x106f7b(_0x4ab336);},'quXNQ':function(_0x586743){return _0x586743();},'cLrOs':function(_0x1b4071,_0x5aaae1){return _0x1b4071===_0x5aaae1;},'ISBfW':_0x2ca692(0x14e),'tlHqI':function(_0x1cf542,_0x39512e){return _0x1cf542===_0x39512e;},'ekFrC':function(_0xd232a6,_0x1a4646){return _0xd232a6(_0x1a4646);},'vaxSE':function(_0x232c18,_0x1a4b10){return _0x232c18!==_0x1a4b10;}};this[_0x2ca692(0x207)]=_0x3cd978[_0x2ca692(0x147)]['type'],this[_0x2ca692(0x170)]=_0xed09b5[_0x2ca692(0x197)](isTestObservabilitySession),Base[_0x2ca692(0x1d2)](this,_0x364d31,_0x3cd978),this[_0x2ca692(0x1c1)]=0x0,this['failCount']=0x0,this[_0x2ca692(0x157)]=[],this[_0x2ca692(0x13a)]=[],this[_0x2ca692(0x10d)]=0x0,this[_0x2ca692(0x212)]=![],this['_testResults']=[],this['_testEnv']=_0xed09b5['BVBpp'](getTestEnv),this[_0x2ca692(0x10e)]=new PathHelper({'cwd':process[_0x2ca692(0x1f4)]()},this['_testEnv'][_0x2ca692(0x1da)]),this[_0x2ca692(0x1df)]=_0x3cd978[_0x2ca692(0x147)][_0x2ca692(0x180)],this[_0x2ca692(0x19e)]();_0xed09b5[_0x2ca692(0x131)](this[_0x2ca692(0x207)],_0xed09b5['WnkaC'])&&(this[_0x2ca692(0x1fe)]='',this[_0x2ca692(0x125)]=0x2);_0x364d31[_0x2ca692(0x16f)](EVENT_RUN_BEGIN,async()=>{const _0x3818b1=_0x2ca692;_0xed09b5['oRtPP'](this[_0x3818b1(0x207)],_0xed09b5['ozTgJ'])&&Base[_0x3818b1(0x1cc)]();})['on'](EVENT_SUITE_BEGIN,_0x1a9889=>{const _0x5da732=_0x2ca692;if(_0x1a9889[_0x5da732(0x1e5)])return;if(_0xed09b5[_0x5da732(0x209)](this['type'],_0xed09b5['ozTgJ']))this[_0x5da732(0x17b)](),Base[_0x5da732(0x1cc)](_0xed09b5[_0x5da732(0x11b)](_0xed09b5[_0x5da732(0x11b)](this['indent'](),_0xed09b5['EAUaZ'](color,_0xed09b5['vtvhH'],_0xed09b5[_0x5da732(0x196)])),_0xed09b5[_0x5da732(0x1b4)](color,_0xed09b5[_0x5da732(0x187)],_0xed09b5['dRbdU'])),_0xed09b5[_0x5da732(0x1b7)],_0x1a9889['title'],global['__platform__']);else _0xed09b5[_0x5da732(0x1d0)](this['type'],_0xed09b5[_0x5da732(0x12d)])&&(this[_0x5da732(0x1bb)](this[_0x5da732(0x1d6)]()+_0x5da732(0x1e3)),++this['__indents'],this[_0x5da732(0x1bb)](this[_0x5da732(0x1d6)]()+_0x5da732(0x1f5)+utils[_0x5da732(0x18b)](_0x1a9889['title']+_0x5da732(0x1ea)+global['__platform__'])+'</h1>'),this['docAppend'](this['indent']()+_0x5da732(0x216)));})['on'](EVENT_HOOK_BEGIN,async _0xee9184=>{const _0xb985f=_0x2ca692;if(_0xed09b5[_0xb985f(0x21b)](this[_0xb985f(0x170)],!![])){if(!_0xee9184['hookAnalyticsId'])_0xee9184[_0xb985f(0x20d)]=_0xed09b5['fkpGd'](uuidv4);else _0xee9184['markedStatus']&&(_0xee9184['hookAnalyticsId']=_0xed09b5['jrdcp'](uuidv4),delete _0xee9184[_0xb985f(0x1e4)]);_0xee9184[_0xb985f(0x151)]=new Date()[_0xb985f(0x16b)](),this[_0xb985f(0x1ae)]=_0xee9184,await this['sendTestRunEvent'](_0xee9184,undefined,![],_0xed09b5[_0xb985f(0x15c)]);}})['on'](EVENT_HOOK_END,async _0x340c50=>{const _0x5be48b=_0x2ca692;_0xed09b5[_0x5be48b(0x15e)](this['testObservability'],!![])&&(!_0x340c50[_0x5be48b(0x1e4)]&&(_0x340c50[_0x5be48b(0x1e4)]=!![],await this[_0x5be48b(0x1ac)](_0x340c50,undefined,![],_0xed09b5[_0x5be48b(0x1f7)])));})['on'](EVENT_SUITE_END,_0x36db9c=>{const _0xfef98f=_0x2ca692;if(_0x36db9c['root'])return;if(_0xed09b5[_0xfef98f(0x1d0)](this[_0xfef98f(0x207)],_0xed09b5[_0xfef98f(0x1c5)]))Base[_0xfef98f(0x1cc)](),Base[_0xfef98f(0x1cc)](_0xed09b5[_0xfef98f(0x10f)](_0xed09b5['xSIOI'](this[_0xfef98f(0x1d6)](),_0xed09b5[_0xfef98f(0x153)](color,_0xed09b5[_0xfef98f(0x1ce)],_0xed09b5['ZWoGh'])),_0xed09b5['eyUvo'](color,_0xed09b5[_0xfef98f(0x187)],_0xed09b5['dRbdU'])),_0xed09b5[_0xfef98f(0x173)],_0x36db9c[_0xfef98f(0x1fd)],global['__platform__']),this[_0xfef98f(0x157)][_0xfef98f(0x1fb)](_0x2bd659=>{const _0x50d055=_0xfef98f;if(_0xed09b5['FmLVH'](_0x2bd659['state'],_0xed09b5[_0x50d055(0x18a)])){var _0x24a7ec;_0xed09b5[_0x50d055(0x1d0)](_0x2bd659[_0x50d055(0x118)],_0xed09b5[_0x50d055(0x1a4)])?(_0x24a7ec=_0xed09b5['sDbRq'](_0xed09b5[_0x50d055(0x11b)](this[_0x50d055(0x1d6)](),_0xed09b5[_0x50d055(0x1b4)](color,_0xed09b5[_0x50d055(0x16d)],_0xed09b5[_0x50d055(0x19d)]('\x20\x20',Base['symbols']['ok']))),_0xed09b5[_0x50d055(0x1b4)](color,_0xed09b5[_0x50d055(0x17a)],_0xed09b5[_0x50d055(0x215)])),Base[_0x50d055(0x1cc)](_0x24a7ec,_0x2bd659['title'])):(_0x24a7ec=_0xed09b5['jPELl'](_0xed09b5['jPELl'](_0xed09b5[_0x50d055(0x1ef)](this[_0x50d055(0x1d6)](),_0xed09b5[_0x50d055(0x1e1)](color,_0xed09b5[_0x50d055(0x16d)],_0xed09b5[_0x50d055(0x10f)]('\x20\x20',Base['symbols']['ok']))),_0xed09b5[_0x50d055(0x153)](color,_0xed09b5[_0x50d055(0x17a)],_0xed09b5[_0x50d055(0x215)])),_0xed09b5['isNzH'](color,_0x2bd659['speed'],_0xed09b5['QPgbC'])),Base['consoleLog'](_0x24a7ec,_0x2bd659[_0x50d055(0x1fd)],_0x2bd659[_0x50d055(0x201)]));}else Base['consoleLog'](_0xed09b5['jPELl'](this['indent'](),_0xed09b5[_0x50d055(0x20f)](color,_0xed09b5[_0x50d055(0x144)],_0xed09b5[_0x50d055(0x120)])),++this[_0x50d055(0x156)],_0x2bd659[_0x50d055(0x1fd)]);}),this[_0xfef98f(0x14c)]();else _0xed09b5[_0xfef98f(0x209)](this['type'],_0xed09b5['WnkaC'])&&(this['docAppend'](this[_0xfef98f(0x1d6)]()+'</dl>'),--this[_0xfef98f(0x125)],this[_0xfef98f(0x1bb)](this['indent']()+'</section>'),--this[_0xfef98f(0x125)]);Array['prototype']['push'][_0xfef98f(0x1aa)](this[_0xfef98f(0x13a)],this[_0xfef98f(0x157)]),this[_0xfef98f(0x157)]=[];})['on'](EVENT_TEST_PASS,async _0x32ad34=>{const _0x48f9db=_0x2ca692;this['results'][_0x48f9db(0x1c0)]({'speed':_0x32ad34[_0x48f9db(0x118)],'suite':_0x32ad34[_0x48f9db(0x18c)]['title'],'title':_0x32ad34[_0x48f9db(0x1fd)],'fullTitle':_0x32ad34[_0x48f9db(0x10b)](),'duration':_0x32ad34[_0x48f9db(0x201)],'state':_0x32ad34[_0x48f9db(0x199)],'err':{},'currentRetry':_0x32ad34[_0x48f9db(0x1ad)](),'titlePathV':_0x32ad34[_0x48f9db(0x1a1)](),'isPending':_0x32ad34[_0x48f9db(0x1a8)]()});if(_0xed09b5[_0x48f9db(0x21b)](this[_0x48f9db(0x207)],_0xed09b5[_0x48f9db(0x168)]))_0xed09b5[_0x48f9db(0x127)](_0x32ad34[_0x48f9db(0x118)],_0xed09b5[_0x48f9db(0x11d)])?process[_0x48f9db(0x117)]['write'](Base[_0x48f9db(0x179)](_0xed09b5[_0x48f9db(0x1ce)],Base[_0x48f9db(0x10a)]['dot'])):process[_0x48f9db(0x117)][_0x48f9db(0x14f)](Base['color'](_0x32ad34[_0x48f9db(0x118)],Base[_0x48f9db(0x10a)]['dot']));else{if(_0xed09b5[_0x48f9db(0x21b)](this[_0x48f9db(0x207)],_0xed09b5[_0x48f9db(0x12d)])){this[_0x48f9db(0x1bb)](this[_0x48f9db(0x1d6)]()+'\x20\x20<dt>'+utils[_0x48f9db(0x18b)](_0x32ad34['title'])+_0x48f9db(0x12c)),this['docAppend'](this[_0x48f9db(0x1d6)]()+_0x48f9db(0x13f)+utils[_0x48f9db(0x18b)](_0x32ad34['file'])+_0x48f9db(0x12c));var _0x4706b5=utils['escape'](utils[_0x48f9db(0x21d)](_0x32ad34[_0x48f9db(0x150)]));this[_0x48f9db(0x1bb)](this['indent']()+_0x48f9db(0x1a5)+_0x4706b5+'</code></pre></dd>');}}_0xed09b5[_0x48f9db(0x209)](this[_0x48f9db(0x170)],!![])&&(!_0x32ad34[_0x48f9db(0x1e4)]&&(_0x32ad34[_0x48f9db(0x1e4)]=!![],await this[_0x48f9db(0x1ac)](_0x32ad34)));})['on'](EVENT_TEST_FAIL,async(_0x3d60ff,_0x334d40)=>{const _0x34e3e6=_0x2ca692;this[_0x34e3e6(0x157)][_0x34e3e6(0x1c0)]({'title':_0x3d60ff[_0x34e3e6(0x1fd)],'suite':_0x3d60ff['parent'][_0x34e3e6(0x1fd)],'state':_0x3d60ff['state'],'err':{'message':util['inspect'](_0x334d40)},'fullTitle':_0x3d60ff[_0x34e3e6(0x10b)](),'speed':_0x3d60ff[_0x34e3e6(0x118)],'currentRetry':_0x3d60ff[_0x34e3e6(0x1ad)](),'titlePathV':_0x3d60ff[_0x34e3e6(0x1a1)]()});if(_0xed09b5[_0x34e3e6(0x1dd)](this[_0x34e3e6(0x207)],_0xed09b5[_0x34e3e6(0x168)]))process[_0x34e3e6(0x117)][_0x34e3e6(0x14f)](Base[_0x34e3e6(0x179)](_0xed09b5[_0x34e3e6(0x144)],Base['symbols'][_0x34e3e6(0x21f)]));else{if(_0xed09b5[_0x34e3e6(0x108)](this['type'],_0xed09b5['WnkaC'])){const _0x3edbc0=_0xed09b5[_0x34e3e6(0x189)][_0x34e3e6(0x1f6)]('|');let _0x6fb782=0x0;while(!![]){switch(_0x3edbc0[_0x6fb782++]){case'0':var _0x44d089=utils['escape'](utils[_0x34e3e6(0x21d)](_0x3d60ff[_0x34e3e6(0x150)]));continue;case'1':this[_0x34e3e6(0x1bb)](this[_0x34e3e6(0x1d6)]()+_0x34e3e6(0x191)+utils['escape'](_0x3d60ff[_0x34e3e6(0x1f0)])+_0x34e3e6(0x208));continue;case'2':this[_0x34e3e6(0x1bb)](this['indent']()+_0x34e3e6(0x152)+utils[_0x34e3e6(0x18b)](_0x3d60ff[_0x34e3e6(0x1fd)])+_0x34e3e6(0x12c));continue;case'3':this[_0x34e3e6(0x1bb)](this[_0x34e3e6(0x1d6)]()+_0x34e3e6(0x1f9)+_0x44d089+_0x34e3e6(0x1c7));continue;case'4':this['docAppend'](this[_0x34e3e6(0x1d6)]()+_0x34e3e6(0x152)+utils[_0x34e3e6(0x18b)](_0x3d60ff[_0x34e3e6(0x128)])+'</dt>');continue;}break;}}}if(_0xed09b5[_0x34e3e6(0x108)](this[_0x34e3e6(0x170)],!![])){if(!_0x3d60ff[_0x34e3e6(0x1e4)]){_0x3d60ff['markedStatus']=!![];if(_0x3d60ff[_0x34e3e6(0x211)])await this[_0x34e3e6(0x1ac)](_0x3d60ff,_0x334d40);else _0x3d60ff['hookAnalyticsId']&&await this[_0x34e3e6(0x1ac)](_0x3d60ff,_0x334d40,![],_0xed09b5[_0x34e3e6(0x1f7)]);}}})['on'](EVENT_TEST_PENDING,async _0x976b52=>{const _0xb813b7=_0x2ca692;this[_0xb813b7(0x157)][_0xb813b7(0x1c0)]({'title':_0x976b52[_0xb813b7(0x1fd)],'suite':_0x976b52[_0xb813b7(0x18c)]['title'],'state':_0x976b52[_0xb813b7(0x199)],'err':{},'fullTitle':_0x976b52[_0xb813b7(0x10b)](),'speed':_0x976b52[_0xb813b7(0x118)],'currentRetry':_0x976b52[_0xb813b7(0x1ad)](),'titlePathV':_0x976b52[_0xb813b7(0x1a1)]()}),_0xed09b5[_0xb813b7(0x1c3)](this['type'],_0xed09b5[_0xb813b7(0x168)])&&process[_0xb813b7(0x117)][_0xb813b7(0x14f)](Base[_0xb813b7(0x179)](_0xed09b5[_0xb813b7(0x14a)],Base['symbols'][_0xb813b7(0x219)])),_0xed09b5[_0xb813b7(0x20a)](this[_0xb813b7(0x170)],!![])&&(!_0x976b52[_0xb813b7(0x211)]&&(_0x976b52[_0xb813b7(0x211)]=_0xed09b5[_0xb813b7(0x210)](uuidv4)),!_0x976b52[_0xb813b7(0x1e4)]&&(_0x976b52[_0xb813b7(0x1e4)]=!![],await this[_0xb813b7(0x1ac)](_0x976b52,undefined,![],_0xed09b5[_0xb813b7(0x177)])));})['on'](EVENT_TEST_BEGIN,async _0x4bb970=>{const _0xe15695=_0x2ca692;_0xed09b5[_0xe15695(0x1f3)](this[_0xe15695(0x170)],!![])&&await this[_0xe15695(0x1b9)](_0x4bb970);})['on'](EVENT_TEST_END,async _0x3f592b=>{const _0x2abdac=_0x2ca692;_0xed09b5['zBVAO'](this['testObservability'],!![])&&(!_0x3f592b[_0x2abdac(0x1e4)]&&(_0x3f592b[_0x2abdac(0x1e4)]=!![],await this['sendTestRunEvent'](_0x3f592b)));})[_0x2ca692(0x16f)](EVENT_RUN_END,async()=>{const _0x112b44=_0x2ca692;try{if(_0xed09b5['PYNfi'](this[_0x112b44(0x170)],!![])){const _0x554a56=_0xed09b5[_0x112b44(0x1a0)](getHookSkippedTests,this[_0x112b44(0x203)][_0x112b44(0x11e)]);for(const _0x266ed6 of _0x554a56){!_0x266ed6['testAnalyticsId']&&(_0x266ed6[_0x112b44(0x211)]=_0xed09b5['quXNQ'](uuidv4)),await this['sendTestRunEvent'](_0x266ed6,undefined,![],_0xed09b5[_0x112b44(0x177)]);}}}catch(_0x1757d1){_0xed09b5['ugJUl'](debug,_0x112b44(0x13b)+_0x1757d1);}await requestQueueHandler[_0x112b44(0x172)](),_0xed09b5[_0x112b44(0x15e)](this[_0x112b44(0x207)],_0xed09b5[_0x112b44(0x12d)])&&Base[_0x112b44(0x1cc)](this[_0x112b44(0x1fe)]);});if(this[_0x2ca692(0x207)]&&![_0xed09b5[_0x2ca692(0x12d)],_0xed09b5[_0x2ca692(0x124)],_0xed09b5['ozTgJ'],_0xed09b5[_0x2ca692(0x168)]][_0x2ca692(0x213)](this[_0x2ca692(0x207)])){const _0x2f4981=this['type'][_0x2ca692(0x14d)]();this[_0x2ca692(0x145)]=null;try{this[_0x2ca692(0x145)]=_0xed09b5[_0x2ca692(0x1a0)](requireModule,_0x2ca692(0x183)+_0x2f4981+_0x2ca692(0x220));}catch{}if(_0xed09b5[_0x2ca692(0x17c)](this[_0x2ca692(0x145)],null))try{this['Reporter']=_0xed09b5['ekFrC'](require,_0x2f4981);}catch(_0x54eec1){console['error'](_0x2ca692(0x205)+_0x2f4981);}if(_0xed09b5[_0x2ca692(0x206)](this[_0x2ca692(0x145)],null)){const _0x168964={};_0x168964[_0x2ca692(0x121)]=_0x3cd978[_0x2ca692(0x147)],this['Reporter']=new this[(_0x2ca692(0x145))](_0x364d31,_0x168964);}}}[a25_0x33f433(0x1d6)](){const _0x5b5e79=a25_0x33f433,_0x4fbb1e={'IujKl':function(_0x3d86c2,_0x333afb){return _0x3d86c2(_0x333afb);}};return _0x4fbb1e[_0x5b5e79(0x176)](Array,this[_0x5b5e79(0x1c1)])[_0x5b5e79(0x113)]('\x20\x20');}['increaseIndent'](){const _0x3a51bb=a25_0x33f433;this[_0x3a51bb(0x1c1)]++;}[a25_0x33f433(0x14c)](){const _0x35ec8b=a25_0x33f433;this[_0x35ec8b(0x1c1)]--;}['docAppend'](_0x34bbde){const _0x307b86=a25_0x33f433;this[_0x307b86(0x1fe)]+=_0x34bbde;}[a25_0x33f433(0x1ed)](_0x53ddda,_0x50b774){const _0x4c045f=a25_0x33f433,_0x364525={'iOrxs':function(_0x5ca9f1,_0x3a5df0){return _0x5ca9f1(_0x3a5df0);}},_0x20a0c1={};_0x20a0c1[_0x4c045f(0x218)]=_0x53ddda,_0x20a0c1['results']=this[_0x4c045f(0x13a)],_0x364525[_0x4c045f(0x158)](_0x50b774,_0x20a0c1);}[a25_0x33f433(0x19e)](){const _0x5b6fe0=a25_0x33f433;process['removeAllListeners'](_0x5b6fe0(0x141)+process[_0x5b6fe0(0x1c8)]),process['on']('bs:addLog:'+process[_0x5b6fe0(0x1c8)],this[_0x5b6fe0(0x1d5)][_0x5b6fe0(0x119)](this)),process['removeAllListeners'](_0x5b6fe0(0x193)+process[_0x5b6fe0(0x1c8)]),process['on']('bs:addPlatformDetails:'+process[_0x5b6fe0(0x1c8)],this['appendTestPlatform'][_0x5b6fe0(0x119)](this));}[a25_0x33f433(0x1b9)]=async _0x35b420=>{const _0x381b20=a25_0x33f433,_0x999351={'UksXL':function(_0x409c38){return _0x409c38();},'CGkXo':function(_0x424b15,_0x522566){return _0x424b15>_0x522566;},'WYfcA':function(_0x52a543,_0x3c6d2c){return _0x52a543===_0x3c6d2c;},'XvCQj':_0x381b20(0x200),'pTPly':function(_0x475289,_0x46e5b4){return _0x475289(_0x46e5b4);}};try{const _0x185b56=this[_0x381b20(0x134)];this[_0x381b20(0x134)]=_0x35b420,_0x35b420['retryOf']=null,_0x35b420[_0x381b20(0x211)]=_0x999351[_0x381b20(0x11f)](uuidv4),_0x35b420[_0x381b20(0x151)]=new Date()[_0x381b20(0x16b)](),_0x999351[_0x381b20(0x21e)](_0x35b420[_0x381b20(0x174)],0x0)&&_0x185b56&&_0x999351['WYfcA'](_0x185b56[_0x381b20(0x1fd)],_0x35b420['title'])?(_0x35b420[_0x381b20(0x12a)]=_0x185b56['testAnalyticsId'],await this[_0x381b20(0x1ac)](_0x35b420,undefined,![],_0x999351[_0x381b20(0x10c)]),_0x185b56[_0x381b20(0x199)]=STATE_FAILED,await this[_0x381b20(0x1ac)](_0x185b56,undefined,!![])):await this['sendTestRunEvent'](_0x35b420,undefined,![],_0x999351[_0x381b20(0x10c)]);}catch(_0x1aecc8){_0x999351[_0x381b20(0x15b)](debug,_0x381b20(0x186)+_0x1aecc8);}};['sendTestRunEvent']=async(_0x5d3564,_0x22e726=undefined,_0x51696b=![],_0x378a9e=a25_0x33f433(0x1af))=>{const _0x49abcd=a25_0x33f433,_0x5cf0c6={'dmNeD':function(_0x4d0dda,_0xd463e){return _0x4d0dda===_0xd463e;},'SqjmI':function(_0x5539d4,_0x204d2b){return _0x5539d4!==_0x204d2b;},'Pdkxh':'test','YHlKS':'err','ubDdz':function(_0x31b290,_0x435404){return _0x31b290!==_0x435404;},'jIhzE':function(_0x2acb1c,_0x15cd59){return _0x2acb1c!==_0x15cd59;},'NSAnd':_0x49abcd(0x126),'ieyHl':'Mocha','dcgsM':_0x49abcd(0x1b1),'GqhrD':_0x49abcd(0x1cb),'exUWR':'skipped','EkOwO':function(_0x107dda,_0x5ea15e){return _0x107dda-_0x5ea15e;},'HNZVi':_0x49abcd(0x1ba),'Ebszp':_0x49abcd(0x204),'IenDr':function(_0x182116,_0x335b8b){return _0x182116===_0x335b8b;},'dZwvZ':_0x49abcd(0x151),'rHcqa':'finished_at','lwZsQ':function(_0x53788e,_0x531c6e){return _0x53788e(_0x531c6e);},'MkJwM':_0x49abcd(0x1b8),'VHIHx':_0x49abcd(0x182),'VwJqa':_0x49abcd(0x11a),'WzZlG':'before\x20each','kNSMf':function(_0x15a7c3,_0x2e092f){return _0x15a7c3===_0x2e092f;},'LsgQn':_0x49abcd(0x198),'SQIFg':_0x49abcd(0x137),'NgFzh':'backtrace','gTsoC':'failure_reason_expanded','uwhHK':_0x49abcd(0x1a6),'KOoRl':_0x49abcd(0x1af),'XdbGu':function(_0x396927,_0x19dcb2){return _0x396927===_0x19dcb2;},'kgnQG':_0x49abcd(0x1fc),'jBcAh':'hook_run','mfMEE':_0x49abcd(0x129),'WYrer':function(_0x493354,_0xbb2bd8){return _0x493354(_0xbb2bd8);}};try{if(_0x5d3564[_0x49abcd(0x150)]&&_0x5d3564[_0x49abcd(0x150)][_0x49abcd(0x164)](/browserstack internal helper hook/))return;let _0x33987d=[];if(_0x5cf0c6[_0x49abcd(0x1bc)](_0x5d3564[_0x49abcd(0x199)],STATE_FAILED)){if(_0x5cf0c6[_0x49abcd(0x12e)](_0x5d3564[_0x49abcd(0x1f0)],undefined))_0x33987d=_0x5d3564[_0x49abcd(0x1f0)][_0x49abcd(0x1ec)]?[_0x5d3564['err'][_0x49abcd(0x1ec)],_0x5cf0c6[_0x49abcd(0x12b)]]:[_0x5d3564[_0x49abcd(0x1f0)],_0x5cf0c6[_0x49abcd(0x20c)]];else _0x5cf0c6[_0x49abcd(0x12e)](_0x22e726,undefined)?_0x33987d=[_0x22e726,_0x5cf0c6['YHlKS']]:_0x33987d=[];}const _0x422cd4=_0x5cf0c6['ubDdz'](_0x5d3564[_0x49abcd(0x1f0)],undefined)?_0x5d3564[_0x49abcd(0x1f0)]['toString']():_0x5cf0c6[_0x49abcd(0x171)](_0x22e726,undefined)?_0x22e726[_0x49abcd(0x154)]():undefined;let _0x54a993;try{_0x54a993=this['getRootParentFile'](_0x5d3564);}catch(_0x2bf251){_0x54a993=null;}const _0x1ee5ef=_0x54a993?this[_0x49abcd(0x21a)](_0x54a993):null,_0x37ae18=_0x54a993?this[_0x49abcd(0x10e)][_0x49abcd(0x115)](this[_0x49abcd(0x1de)](_0x5d3564)):_0x5cf0c6[_0x49abcd(0x1ff)],_0x19679e={'framework':_0x5cf0c6[_0x49abcd(0x184)],'uuid':_0x5d3564[_0x49abcd(0x211)]||_0x5d3564[_0x49abcd(0x20d)],'name':_0x5d3564[_0x49abcd(0x1fd)],'body':{'lang':_0x5cf0c6['dcgsM'],'code':_0x5d3564[_0x49abcd(0x150)]},'scope':this[_0x49abcd(0x1c6)](_0x5d3564),'scopes':this[_0x49abcd(0x1b2)](_0x5d3564),'identifier':_0x5d3564['fullTitle'](),'file_name':_0x37ae18,'vc_filepath':_0x1ee5ef?path[_0x49abcd(0x15a)](_0x1ee5ef,_0x54a993):null,'location':_0x37ae18,'result':_0x5cf0c6[_0x49abcd(0x1bc)](_0x378a9e,_0x5cf0c6[_0x49abcd(0x223)])?_0x5cf0c6[_0x49abcd(0x135)]:this[_0x49abcd(0x161)](_0x5d3564[_0x49abcd(0x199)]),'failure_reason':_0x422cd4,'duration_in_ms':_0x5d3564['duration']||(_0x378a9e[_0x49abcd(0x164)](/Finished/)||_0x378a9e[_0x49abcd(0x164)](/Skipped/)?_0x5cf0c6[_0x49abcd(0x163)](Date[_0x49abcd(0x112)](),new Date(_0x5d3564[_0x49abcd(0x151)])[_0x49abcd(0x178)]()):null),'started_at':_0x5d3564['started_at'],'finished_at':_0x378a9e[_0x49abcd(0x164)](/Finished/)||_0x378a9e[_0x49abcd(0x164)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x49abcd(0x1aa)](null,_0x33987d),'failure_type':!_0x422cd4?null:_0x422cd4[_0x49abcd(0x164)](/AssertionError/)?_0x5cf0c6[_0x49abcd(0x12f)]:_0x5cf0c6[_0x49abcd(0x195)],'retry_of':_0x5d3564['retryOf']};_0x5cf0c6[_0x49abcd(0x1f2)](_0x378a9e,_0x5cf0c6[_0x49abcd(0x223)])&&!_0x19679e[_0x5cf0c6[_0x49abcd(0x19a)]]&&(_0x19679e[_0x5cf0c6[_0x49abcd(0x19a)]]=_0x19679e[_0x5cf0c6[_0x49abcd(0x111)]]);if(_0x378a9e[_0x49abcd(0x164)](/HookRun/))[_0x19679e['hook_type'],_0x19679e[_0x49abcd(0x166)]]=_0x5cf0c6['lwZsQ'](getHookDetails,_0x5d3564[_0x49abcd(0x10b)]()||_0x5d3564[_0x49abcd(0x17d)]||_0x5d3564[_0x49abcd(0x1fd)]),_0x5cf0c6[_0x49abcd(0x1bc)](_0x378a9e,_0x5cf0c6['MkJwM'])&&(_0x5cf0c6[_0x49abcd(0x171)](_0x19679e[_0x49abcd(0x1c9)],_0x5cf0c6[_0x49abcd(0x194)])&&(_0x19679e[_0x49abcd(0x1c9)]=_0x5cf0c6[_0x49abcd(0x162)]),_0x5cf0c6[_0x49abcd(0x1f2)](_0x19679e[_0x49abcd(0x1fc)],_0x5cf0c6[_0x49abcd(0x133)])&&_0x5cf0c6['kNSMf'](_0x19679e[_0x49abcd(0x1c9)],_0x5cf0c6[_0x49abcd(0x194)])&&!_0x5d3564[_0x49abcd(0x1a3)][_0x49abcd(0x139)][_0x49abcd(0x1e4)]&&(_0x5d3564[_0x49abcd(0x1a3)][_0x49abcd(0x139)][_0x49abcd(0x1e4)]=!![],_0x5d3564[_0x49abcd(0x1a3)][_0x49abcd(0x139)]['state']=STATE_FAILED,await this[_0x49abcd(0x1ac)](_0x5d3564[_0x49abcd(0x1a3)][_0x49abcd(0x139)],undefined,!![])));else _0x378a9e[_0x49abcd(0x164)](/TestRun/)&&_0x5cf0c6['lwZsQ'](mapTestHooks,_0x5d3564);const _0x59a721=_0x19679e[_0x5cf0c6[_0x49abcd(0x13c)]][0x0];_0x59a721&&(_0x19679e[_0x5cf0c6[_0x49abcd(0x1ee)]]=_0x59a721[_0x5cf0c6[_0x49abcd(0x1be)]],_0x19679e[_0x5cf0c6['gTsoC']]=_0x59a721[_0x5cf0c6[_0x49abcd(0x16e)]]);[_0x5cf0c6['KOoRl'],_0x5cf0c6[_0x49abcd(0x223)]]['includes'](_0x378a9e)&&(this[_0x49abcd(0x1e0)][_0x49abcd(0x1c0)](_0x19679e),_0x19679e[_0x49abcd(0x19f)]=_0x5cf0c6['lwZsQ'](getHooksForTest,_0x5d3564));const _0x2d366f={'event_type':_0x5cf0c6[_0x49abcd(0x185)](_0x378a9e,_0x5cf0c6[_0x49abcd(0x223)])?_0x5cf0c6[_0x49abcd(0x1eb)]:_0x378a9e};_0x378a9e[_0x49abcd(0x164)](/HookRun/)?(_0x19679e[_0x5cf0c6[_0x49abcd(0x1bd)]]=HOOK_TYPES_MAP[_0x19679e[_0x5cf0c6[_0x49abcd(0x1bd)]]],_0x2d366f[_0x5cf0c6[_0x49abcd(0x1a2)]]=_0x19679e):_0x2d366f[_0x5cf0c6['mfMEE']]=_0x19679e,await SessionHandler['uploadEventData'](_0x2d366f);}catch(_0x8d3a1d){_0x5cf0c6[_0x49abcd(0x1d8)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x378a9e+_0x49abcd(0x1c2)+_0x8d3a1d);}};[a25_0x33f433(0x21a)](_0x365b72){const _0x377329=a25_0x33f433,_0x5644e8={};_0x5644e8[_0x377329(0x1fa)]=function(_0x15a212,_0x187791){return _0x15a212===_0x187791;},_0x5644e8[_0x377329(0x1cd)]=function(_0x5882db,_0x4155ef){return _0x5882db===_0x4155ef;},_0x5644e8[_0x377329(0x13e)]=function(_0x2704f2,_0x23cd4b){return _0x2704f2===_0x23cd4b;},_0x5644e8['GqwOg']=_0x377329(0x143),_0x5644e8[_0x377329(0x192)]=_0x377329(0x165);const _0x1f09f7=_0x5644e8,_0x5cb5c2=path['sep'];if(_0x1f09f7[_0x377329(0x1fa)](_0x365b72,null)||_0x1f09f7[_0x377329(0x1cd)](_0x365b72,'')||_0x1f09f7[_0x377329(0x13e)](_0x365b72,_0x5cb5c2))return null;try{return fs[_0x377329(0x18e)](path['join'](_0x365b72,_0x1f09f7[_0x377329(0x1c4)],_0x1f09f7['DbNlK'])),_0x365b72;}catch(_0x497358){const _0xb79a00=path[_0x377329(0x19c)](_0x365b72);return this[_0x377329(0x21a)](_0xb79a00);}}['appendTestItemLog']=async _0x2f1c2c=>{const _0x4f5e00=a25_0x33f433,_0x996921={'zspEh':_0x4f5e00(0x11c),'ZPKgc':function(_0x4a49d3,_0x2e282d){return _0x4a49d3(_0x2e282d);}};try{this[_0x4f5e00(0x1ae)]&&!this[_0x4f5e00(0x1ae)][_0x4f5e00(0x1e4)]&&(_0x2f1c2c[_0x4f5e00(0x1ca)]=this[_0x4f5e00(0x1ae)][_0x4f5e00(0x20d)]);!_0x2f1c2c[_0x4f5e00(0x1ca)]&&this['current_test']&&!this['current_test'][_0x4f5e00(0x1e4)]&&(_0x2f1c2c[_0x4f5e00(0x159)]=this[_0x4f5e00(0x134)]['testAnalyticsId']);if(_0x2f1c2c[_0x4f5e00(0x1ca)]||_0x2f1c2c[_0x4f5e00(0x159)]){const _0x30a29b={};_0x30a29b['event_type']=_0x996921['zspEh'],_0x30a29b[_0x4f5e00(0x1e9)]=[_0x2f1c2c],await SessionHandler[_0x4f5e00(0x214)](_0x30a29b);}}catch(_0x130967){_0x996921[_0x4f5e00(0x1f1)](debug,_0x4f5e00(0x114)+_0x130967);}};['appendTestPlatform']=async _0x6948e8=>{const _0x1edc03=a25_0x33f433,_0x1ae198={'UcoVS':_0x1edc03(0x169),'WPyBk':_0x1edc03(0x1a9),'VYYSA':function(_0x5f3f36,_0x3f14ac){return _0x5f3f36(_0x3f14ac);}};try{const _0x3ee5e0={};_0x3ee5e0[_0x1edc03(0x188)]=_0x6948e8[_0x1edc03(0x188)]||this[_0x1edc03(0x134)]['testAnalyticsId'],_0x3ee5e0['integrations']=_0x6948e8[_0x1ae198[_0x1edc03(0x138)]];const _0x3a5259=_0x3ee5e0,_0x34ca0a={};_0x34ca0a[_0x1edc03(0x15f)]=_0x1ae198[_0x1edc03(0x1b5)],_0x34ca0a['test_run']=_0x3a5259,await SessionHandler[_0x1edc03(0x214)](_0x34ca0a);}catch(_0x144f23){_0x1ae198[_0x1edc03(0x136)](debug,_0x1edc03(0x123)+_0x144f23);}};[a25_0x33f433(0x161)](_0x4c80f6){const _0x2cde90=a25_0x33f433,_0x4e2c4b={};_0x4e2c4b[_0x2cde90(0x21c)]='passed',_0x4e2c4b[_0x2cde90(0x146)]=_0x2cde90(0x13d),_0x4e2c4b[_0x2cde90(0x1ab)]=_0x2cde90(0x182);const _0x205f86=_0x4e2c4b,_0xd36ddc={};return _0xd36ddc[STATE_PASSED]=_0x205f86['KubQZ'],_0xd36ddc[STATE_PENDING]=_0x205f86[_0x2cde90(0x146)],_0xd36ddc[STATE_FAILED]=_0x205f86[_0x2cde90(0x1ab)],_0xd36ddc[_0x4c80f6];}['scope'](_0x372123){const _0x2e3397=a25_0x33f433,_0x209279={};_0x209279[_0x2e3397(0x221)]=function(_0x53630b,_0x51e7b0){return _0x53630b-_0x51e7b0;};const _0x144d25=_0x209279,_0x406d45=_0x372123[_0x2e3397(0x1a1)]();return _0x406d45[_0x2e3397(0x155)](0x0,_0x144d25[_0x2e3397(0x221)](_0x406d45[_0x2e3397(0x110)],0x1))[_0x2e3397(0x113)]('\x20');}[a25_0x33f433(0x1b2)](_0x41e4aa){const _0x1b8cde=a25_0x33f433,_0x2d4144={};_0x2d4144['FgAKd']=function(_0x5c4416,_0x45226d){return _0x5c4416-_0x45226d;};const _0xe81ac2=_0x2d4144,_0x4ae710=_0x41e4aa['titlePath']();return _0x4ae710[_0x1b8cde(0x155)](0x0,_0xe81ac2['FgAKd'](_0x4ae710[_0x1b8cde(0x110)],0x1));}[a25_0x33f433(0x1de)](_0x1d1702){const _0x50454c=a25_0x33f433,_0x23df5a={};_0x23df5a[_0x50454c(0x116)]=function(_0x175fd2,_0x18c27c){return _0x175fd2>_0x18c27c;};const _0x4da913=_0x23df5a;if(_0x1d1702[_0x50454c(0x128)])return _0x1d1702[_0x50454c(0x128)];if(_0x1d1702[_0x50454c(0x1a3)]){const _0x26d9f3=_0x1d1702[_0x50454c(0x1a3)][_0x50454c(0x139)]?this['getRootParentFile'](_0x1d1702[_0x50454c(0x1a3)][_0x50454c(0x139)]):null;if(_0x26d9f3)return _0x26d9f3;}if(_0x1d1702[_0x50454c(0x18c)]){const _0x1a6240=this['getRootParentFile'](_0x1d1702['parent'])||(_0x1d1702['parent'][_0x50454c(0x1a3)]&&_0x1d1702[_0x50454c(0x18c)][_0x50454c(0x1a3)][_0x50454c(0x139)]?this[_0x50454c(0x1de)](_0x1d1702[_0x50454c(0x18c)][_0x50454c(0x1a3)][_0x50454c(0x139)]):null);if(_0x1a6240)return _0x1a6240;_0x1d1702[_0x50454c(0x18c)][_0x50454c(0x1f8)]&&_0x4da913[_0x50454c(0x116)](_0x1d1702['parent'][_0x50454c(0x1f8)][_0x50454c(0x110)],0x0)&&_0x1d1702['parent']['suites']['forEach'](_0x32a0d5=>{const _0x24940d=_0x50454c,_0x85044=_0x32a0d5[_0x24940d(0x1a3)]?this['getRootParentFile'](_0x32a0d5[_0x24940d(0x1a3)]):null;if(_0x85044)return _0x85044;});}return null;}}module[a25_0x33f433(0x130)]=MyReporter;
|
|
1
|
+
'use strict';const a25_0x581da8=a25_0x3186;function a25_0x3186(_0x4b99b0,_0x2b39a5){const _0x1fb1b6=a25_0x1fb1();return a25_0x3186=function(_0x318688,_0x3930cb){_0x318688=_0x318688-0x1cf;let _0x44e024=_0x1fb1b6[_0x318688];return _0x44e024;},a25_0x3186(_0x4b99b0,_0x2b39a5);}(function(_0x1d3329,_0x3a236b){const _0x11a2c7=a25_0x3186,_0x39492a=_0x1d3329();while(!![]){try{const _0x400ae6=parseInt(_0x11a2c7(0x241))/0x1*(-parseInt(_0x11a2c7(0x205))/0x2)+parseInt(_0x11a2c7(0x278))/0x3+parseInt(_0x11a2c7(0x2cb))/0x4+parseInt(_0x11a2c7(0x2d3))/0x5+-parseInt(_0x11a2c7(0x2bd))/0x6+-parseInt(_0x11a2c7(0x272))/0x7+parseInt(_0x11a2c7(0x2d2))/0x8*(parseInt(_0x11a2c7(0x287))/0x9);if(_0x400ae6===_0x3a236b)break;else _0x39492a['push'](_0x39492a['shift']());}catch(_0x2706c8){_0x39492a['push'](_0x39492a['shift']());}}}(a25_0x1fb1,0x1f41b));function a25_0x1fb1(){const _0x1f9863=['markedStatus','testAnalyticsId','suiteCount','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','tuYFs','WWIIu','failure','KyHaX','\x20\x20<dd><pre><code>','result','retryOf','bs:addLog:','includes','xVZPo','getInstance','\x20(%dms)','logs','\x20\x20<dd\x20class=\x22error\x22>','after\x20each','YMUtk','backtrace','location_prefix','</h1>','ODzFX','TKJWz','331uzvqfS','</dt>','<h1>','wQbwg','findGitConfig','3|2|1|0|4','parent','oQqBq','test_run','config','testStarted','pid','fullTitle','MhNjI','QeIDm','roNNX','body','</dd>','failureCount','GnIGx','\x20\x20<dd\x20class=\x22error\x22><pre><code>','CBTSessionCreated','../../../helpers/test-observability/sessionHandler','qEXvS','scope','currentRetry','done','results','dgTJw','failed','__platform__','ktsXJ','Mocha','.js','toString','kLOXb','finalResults','<section\x20class=\x22suite\x22>','dot','Giare','appendTestPlatform','LLsqE','PtHGd','uuid','xunit','UKvJB','prototype','_buildCreated','IvUpA','1193493JyKPGk','qIjRr','title','CAwKE','yGJgY','duration','283671rTKyEp','slice','TuPnw','current_test','xCNqg','passed','indent','sendTestRunEvent','TestRunSkipped','\x20\x20%d)\x20%s','xLLAK','hookAnalyticsId','DznIF','</section>','failure_reason_expanded','117NdOhmc','titlePath','increaseIndent','getRootParentFile','AssertionError','IESgN','Runner','symbols','GrfbB','test','forEach','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','ppsDH','started_at','\x20with\x20error\x20:\x20','OlVRO','ctx','vDdTe','\x20%s','wiTaC','fMbPt','wZsKD','appendTestItemLog','CtUcD','mocha/lib/runnable.js','analyticsResult','runner','_testEnv','sep','qFAMC','nXxTA','../../../helpers/test-observability/constants','write','docAppend','FuDMI','color','call','POzrS','uploadEventData','hook_run_uuid','bright\x20yellow','FNqXT','wFqwT','DpujY','TkLWt','_testResults','eAVSX','scopes','LogCreated','_paths','Dtxyu','oJJAS','testObservability','WWXfn','905676wZeHAu','_upstreamConfig','../test-observability/mochaUtils','reporterOptions','decreaseIndent','RHzCn','constants','NlAGv','FFzpY','statSync','escape','state','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','../../../helpers/test-observability/utils','592044ehXUKz','bsConfig','spec','Reporter','multiple','after\x20all','root','132856aqYXZk','304270aeabGh','jCTlL','http_response','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','HwpJJ','bjtvr','removeAllListeners','tpZux','ZUXXD','AFTER_ALL','currentTest','jNgme','fast','JkRJH','comma','COMPLETED','clean','path','RZRKR','hook_type','PEAYy','aqHHT','BEFORE_EACH','bind','_indents','apply','\x20-\x20','expanded','mocha/lib/reporters/base.js','HookRunStarted','gtlLT','stdout','type','registerListeners','mocha/lib/reporters/','docHtml','ulsCc','event_type','test_run_uuid','VwZdL','VfKFj','before\x20all','toISOString','prXfv','hywIR','ArXKY','length','reporterOption','qeTBG','iTFiK','</code></pre></dd>','before\x20each','\x20\x20<dt>','lPeVf','util','consoleLog','BEFORE_ALL','push','VlTjP','WBENI','light','slow','xjFNo','isPending','AFTER_EACH','HookRunFinished','_currentRetry','file','current_hook','%s\x20-\x20%s','422SKaVLJ','now','suites','once','join','wRpKb','mocha/lib/utils.js','\x20\x20<dt\x20class=\x22error\x22>','mocha','RjSkS','zEWSR','Chqhd','KNJFv','relative','SjYLQ','integrations','TestRunFinished','MKwhN','sqigW','getTime','Plroe','pending','finished_at','__indents','TavNG','inspect','tphqZ','doc','speed','match','pass','</dl>','cotlR','WUlxP','err'];a25_0x1fb1=function(){return _0x1f9863;};return a25_0x1fb1();}const util=require(a25_0x581da8(0x1f5)),fs=require('fs'),path=require(a25_0x581da8(0x1d0)),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a25_0x581da8(0x1db)),utils=requireModule(a25_0x581da8(0x20b)),color=Base[a25_0x581da8(0x2aa)],Mocha=requireModule(a25_0x581da8(0x20d)),Runnable=requireModule(a25_0x581da8(0x29f)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),a25_0x168a37={};a25_0x168a37[a25_0x581da8(0x1e8)]=a25_0x581da8(0x1f7),a25_0x168a37[a25_0x581da8(0x2d0)]=a25_0x581da8(0x2dc),a25_0x168a37[a25_0x581da8(0x1f2)]=a25_0x581da8(0x1d5),a25_0x168a37[a25_0x581da8(0x23a)]=a25_0x581da8(0x1ff);const HOOK_TYPES_MAP=a25_0x168a37,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a25_0x581da8(0x28d)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x581da8(0x2c3)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0x581da8(0x2bf)),{consoleHolder}=require(a25_0x581da8(0x2a6)),SessionHandler=require(a25_0x581da8(0x257)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x581da8(0x2ca)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a25_0x581da8(0x236)]();class MyReporter{constructor(_0x8fe9d6,_0x36c8c5){const _0x109be4=a25_0x581da8,_0x28eb0b={'UKvJB':function(_0xcb7837,_0x29ef01){return _0xcb7837===_0x29ef01;},'Plroe':_0x109be4(0x2cd),'qIjRr':function(_0x5c442f,_0x1946c2){return _0x5c442f===_0x1946c2;},'jCTlL':function(_0x3cc9d1,_0x382480){return _0x3cc9d1+_0x382480;},'dKsjf':function(_0xf10c9f,_0x46f03c,_0x1e96eb){return _0xf10c9f(_0x46f03c,_0x1e96eb);},'SjYLQ':'green','IESgN':'%s\x20','RjSkS':function(_0x17616d,_0x40d2bc,_0x202f2c){return _0x17616d(_0x40d2bc,_0x202f2c);},'IvUpA':_0x109be4(0x1fb),'gtlLT':_0x109be4(0x204),'dgTJw':'RUNNING','lPeVf':function(_0x19132c,_0xf27b81){return _0x19132c===_0xf27b81;},'OlVRO':_0x109be4(0x220),'GrfbB':function(_0x8ffbc3,_0x1f3f1d){return _0x8ffbc3===_0x1f3f1d;},'ZUXXD':function(_0x55393c){return _0x55393c();},'hywIR':function(_0x384d01){return _0x384d01();},'RZRKR':_0x109be4(0x1dc),'CAwKE':_0x109be4(0x200),'AaYIT':_0x109be4(0x27d),'TuPnw':function(_0x2d5a3b,_0x2a4222){return _0x2d5a3b===_0x2a4222;},'qEXvS':_0x109be4(0x2df),'sqigW':function(_0x2588e8,_0x272e99){return _0x2588e8+_0x272e99;},'wiTaC':'checkmark','YgHYL':_0x109be4(0x223),'vDdTe':_0x109be4(0x299),'POzrS':function(_0x2037c7,_0x116cf3){return _0x2037c7+_0x116cf3;},'oQqBq':function(_0x606204,_0x5f2fd0,_0x18aba4){return _0x606204(_0x5f2fd0,_0x18aba4);},'iTFiK':function(_0x89e31b,_0x4f2b4f){return _0x89e31b+_0x4f2b4f;},'NlAGv':function(_0x48feee,_0x37b684,_0xfb7a68){return _0x48feee(_0x37b684,_0xfb7a68);},'XJTHl':function(_0x239672,_0x36110e,_0x544a3a){return _0x239672(_0x36110e,_0x544a3a);},'ulsCc':_0x109be4(0x237),'eAVSX':'fail','xVZPo':_0x109be4(0x281),'XbasR':function(_0x4cbe68,_0x488217){return _0x4cbe68===_0x488217;},'qeTBG':function(_0xfc1e82,_0x4c62cf){return _0xfc1e82+_0x4c62cf;},'Dtxyu':function(_0xca24c4,_0x4b662f,_0x13c5d4){return _0xca24c4(_0x4b662f,_0x13c5d4);},'LLsqE':_0x109be4(0x2af),'cotlR':function(_0x342c06,_0x180238,_0x296420){return _0x342c06(_0x180238,_0x296420);},'TkLWt':_0x109be4(0x2e2),'Chqhd':_0x109be4(0x267),'FuDMI':function(_0xac4816,_0x1e617e){return _0xac4816===_0x1e617e;},'roNNX':_0x109be4(0x1fc),'tpZux':_0x109be4(0x246),'MhNjI':_0x109be4(0x21a),'oJJAS':_0x109be4(0x280),'VwZdL':function(_0x52d598,_0xe477f1){return _0x52d598===_0xe477f1;},'nuPMO':function(_0x227710,_0x956e91){return _0x227710===_0x956e91;},'wFqwT':function(_0x2d20b0,_0xa7c285){return _0x2d20b0===_0xa7c285;},'qFAMC':function(_0x2283e3,_0x321e55){return _0x2283e3(_0x321e55);},'PtHGd':function(_0x4ff322){return _0x4ff322();},'vjQvV':function(_0x2e5fc6){return _0x2e5fc6();},'vxzCq':function(_0x38c38e,_0x85472f){return _0x38c38e===_0x85472f;},'NUXfB':_0x109be4(0x26d),'ppsDH':function(_0x1c508d,_0x29bf25){return _0x1c508d(_0x29bf25);},'TKJWz':function(_0x4afa90,_0x4b1d7d){return _0x4afa90!==_0x4b1d7d;}};this[_0x109be4(0x1df)]=_0x36c8c5[_0x109be4(0x1ee)][_0x109be4(0x1df)],this['testObservability']=_0x28eb0b[_0x109be4(0x1eb)](isTestObservabilitySession),Base[_0x109be4(0x2ab)](this,_0x8fe9d6,_0x36c8c5),this['_indents']=0x0,this['failCount']=0x0,this[_0x109be4(0x25c)]=[],this[_0x109be4(0x265)]=[],this[_0x109be4(0x22a)]=0x0,this[_0x109be4(0x270)]=![],this['_testResults']=[],this[_0x109be4(0x2a2)]=_0x28eb0b['vjQvV'](getTestEnv),this[_0x109be4(0x2b8)]=new PathHelper({'cwd':process['cwd']()},this['_testEnv'][_0x109be4(0x23d)]),this[_0x109be4(0x2be)]=_0x36c8c5[_0x109be4(0x1ee)][_0x109be4(0x2cc)],this[_0x109be4(0x1e0)]();_0x28eb0b['vxzCq'](this['type'],_0x28eb0b[_0x109be4(0x296)])&&(this[_0x109be4(0x1e2)]='',this[_0x109be4(0x21c)]=0x2);_0x8fe9d6['once'](EVENT_RUN_BEGIN,async()=>{const _0x408577=_0x109be4;_0x28eb0b[_0x408577(0x26e)](this['type'],_0x28eb0b[_0x408577(0x219)])&&Base[_0x408577(0x1f6)]();})['on'](EVENT_SUITE_BEGIN,_0x43d9fe=>{const _0xd63215=_0x109be4;if(_0x43d9fe[_0xd63215(0x2d1)])return;if(_0x28eb0b[_0xd63215(0x273)](this[_0xd63215(0x1df)],_0x28eb0b[_0xd63215(0x219)]))this[_0xd63215(0x289)](),Base[_0xd63215(0x1f6)](_0x28eb0b[_0xd63215(0x2d4)](_0x28eb0b[_0xd63215(0x2d4)](this[_0xd63215(0x27e)](),_0x28eb0b['dKsjf'](color,_0x28eb0b[_0xd63215(0x213)],_0x28eb0b[_0xd63215(0x28c)])),_0x28eb0b[_0xd63215(0x20e)](color,_0x28eb0b[_0xd63215(0x271)],_0x28eb0b[_0xd63215(0x1dd)])),_0x28eb0b[_0xd63215(0x25d)],_0x43d9fe[_0xd63215(0x274)],global[_0xd63215(0x25f)]);else _0x28eb0b[_0xd63215(0x1f4)](this['type'],_0x28eb0b['OlVRO'])&&(this[_0xd63215(0x2a8)](this[_0xd63215(0x27e)]()+_0xd63215(0x266)),++this[_0xd63215(0x21c)],this[_0xd63215(0x2a8)](this[_0xd63215(0x27e)]()+_0xd63215(0x243)+utils['escape'](_0x43d9fe['title']+_0xd63215(0x1d9)+global[_0xd63215(0x25f)])+_0xd63215(0x23e)),this[_0xd63215(0x2a8)](this[_0xd63215(0x27e)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x4cf820=>{const _0x594cbd=_0x109be4;if(_0x28eb0b['GrfbB'](this[_0x594cbd(0x2bb)],!![])){if(!_0x4cf820[_0x594cbd(0x283)])_0x4cf820['hookAnalyticsId']=_0x28eb0b['ZUXXD'](uuidv4);else _0x4cf820['markedStatus']&&(_0x4cf820[_0x594cbd(0x283)]=_0x28eb0b[_0x594cbd(0x1eb)](uuidv4),delete _0x4cf820[_0x594cbd(0x228)]);_0x4cf820[_0x594cbd(0x294)]=new Date()['toISOString'](),this[_0x594cbd(0x203)]=_0x4cf820,await this[_0x594cbd(0x27f)](_0x4cf820,undefined,![],_0x28eb0b[_0x594cbd(0x1d1)]);}})['on'](EVENT_HOOK_END,async _0x3b8a45=>{const _0x4ddbe3=_0x109be4;_0x28eb0b['UKvJB'](this['testObservability'],!![])&&(!_0x3b8a45[_0x4ddbe3(0x228)]&&(_0x3b8a45[_0x4ddbe3(0x228)]=!![],await this[_0x4ddbe3(0x27f)](_0x3b8a45,undefined,![],_0x28eb0b[_0x4ddbe3(0x275)])));})['on'](EVENT_SUITE_END,_0x22f64b=>{const _0x53773d=_0x109be4;if(_0x22f64b[_0x53773d(0x2d1)])return;if(_0x28eb0b['XbasR'](this[_0x53773d(0x1df)],_0x28eb0b[_0x53773d(0x219)]))Base[_0x53773d(0x1f6)](),Base[_0x53773d(0x1f6)](_0x28eb0b[_0x53773d(0x2ac)](_0x28eb0b[_0x53773d(0x1ef)](this['indent'](),_0x28eb0b[_0x53773d(0x2b9)](color,_0x28eb0b[_0x53773d(0x26a)],_0x28eb0b['IESgN'])),_0x28eb0b[_0x53773d(0x225)](color,_0x28eb0b[_0x53773d(0x271)],_0x28eb0b[_0x53773d(0x1dd)])),_0x28eb0b[_0x53773d(0x2b3)],_0x22f64b[_0x53773d(0x274)],global['__platform__']),this[_0x53773d(0x25c)][_0x53773d(0x291)](_0x7c8c09=>{const _0x74f375=_0x53773d;if(_0x28eb0b[_0x74f375(0x26e)](_0x7c8c09['state'],_0x28eb0b['AaYIT'])){var _0x180b07;_0x28eb0b[_0x74f375(0x27a)](_0x7c8c09['speed'],_0x28eb0b[_0x74f375(0x258)])?(_0x180b07=_0x28eb0b[_0x74f375(0x2d4)](_0x28eb0b[_0x74f375(0x217)](this[_0x74f375(0x27e)](),_0x28eb0b[_0x74f375(0x20e)](color,_0x28eb0b[_0x74f375(0x29a)],_0x28eb0b[_0x74f375(0x2d4)]('\x20\x20',Base[_0x74f375(0x28e)]['ok']))),_0x28eb0b['dKsjf'](color,_0x28eb0b['YgHYL'],_0x28eb0b[_0x74f375(0x298)])),Base[_0x74f375(0x1f6)](_0x180b07,_0x7c8c09[_0x74f375(0x274)])):(_0x180b07=_0x28eb0b['jCTlL'](_0x28eb0b[_0x74f375(0x2d4)](_0x28eb0b[_0x74f375(0x2ac)](this[_0x74f375(0x27e)](),_0x28eb0b[_0x74f375(0x248)](color,_0x28eb0b[_0x74f375(0x29a)],_0x28eb0b[_0x74f375(0x1f0)]('\x20\x20',Base['symbols']['ok']))),_0x28eb0b[_0x74f375(0x2c4)](color,_0x28eb0b['YgHYL'],_0x28eb0b[_0x74f375(0x298)])),_0x28eb0b['XJTHl'](color,_0x7c8c09[_0x74f375(0x221)],_0x28eb0b[_0x74f375(0x1e3)])),Base['consoleLog'](_0x180b07,_0x7c8c09[_0x74f375(0x274)],_0x7c8c09[_0x74f375(0x277)]));}else Base['consoleLog'](_0x28eb0b[_0x74f375(0x2ac)](this[_0x74f375(0x27e)](),_0x28eb0b[_0x74f375(0x2c4)](color,_0x28eb0b[_0x74f375(0x2b5)],_0x28eb0b[_0x74f375(0x235)])),++this['failCount'],_0x7c8c09['title']);}),this[_0x53773d(0x2c1)]();else _0x28eb0b[_0x53773d(0x1f4)](this[_0x53773d(0x1df)],_0x28eb0b[_0x53773d(0x296)])&&(this[_0x53773d(0x2a8)](this['indent']()+_0x53773d(0x224)),--this[_0x53773d(0x21c)],this['docAppend'](this['indent']()+_0x53773d(0x285)),--this[_0x53773d(0x21c)]);Array[_0x53773d(0x26f)][_0x53773d(0x1f8)][_0x53773d(0x1d8)](this[_0x53773d(0x265)],this[_0x53773d(0x25c)]),this[_0x53773d(0x25c)]=[];})['on'](EVENT_TEST_PASS,async _0x228ca2=>{const _0x14ba93=_0x109be4;this[_0x14ba93(0x25c)][_0x14ba93(0x1f8)]({'speed':_0x228ca2['speed'],'suite':_0x228ca2[_0x14ba93(0x247)][_0x14ba93(0x274)],'title':_0x228ca2[_0x14ba93(0x274)],'fullTitle':_0x228ca2['fullTitle'](),'duration':_0x228ca2[_0x14ba93(0x277)],'state':_0x228ca2[_0x14ba93(0x2c8)],'err':{},'currentRetry':_0x228ca2[_0x14ba93(0x25a)](),'titlePathV':_0x228ca2['titlePath'](),'isPending':_0x228ca2[_0x14ba93(0x1fe)]()});if(_0x28eb0b[_0x14ba93(0x273)](this[_0x14ba93(0x1df)],_0x28eb0b[_0x14ba93(0x210)]))_0x28eb0b['FuDMI'](_0x228ca2['speed'],_0x28eb0b[_0x14ba93(0x250)])?process[_0x14ba93(0x1de)][_0x14ba93(0x2a7)](Base['color'](_0x28eb0b[_0x14ba93(0x26a)],Base[_0x14ba93(0x28e)]['dot'])):process[_0x14ba93(0x1de)][_0x14ba93(0x2a7)](Base['color'](_0x228ca2[_0x14ba93(0x221)],Base[_0x14ba93(0x28e)][_0x14ba93(0x267)]));else{if(_0x28eb0b[_0x14ba93(0x273)](this[_0x14ba93(0x1df)],_0x28eb0b[_0x14ba93(0x296)])){this[_0x14ba93(0x2a8)](this[_0x14ba93(0x27e)]()+_0x14ba93(0x1f3)+utils['escape'](_0x228ca2[_0x14ba93(0x274)])+_0x14ba93(0x242)),this['docAppend'](this[_0x14ba93(0x27e)]()+'\x20\x20<dt>'+utils[_0x14ba93(0x2c7)](_0x228ca2[_0x14ba93(0x202)])+'</dt>');var _0x28607b=utils['escape'](utils[_0x14ba93(0x1cf)](_0x228ca2[_0x14ba93(0x251)]));this[_0x14ba93(0x2a8)](this[_0x14ba93(0x27e)]()+_0x14ba93(0x230)+_0x28607b+_0x14ba93(0x1f1));}}_0x28eb0b[_0x14ba93(0x273)](this[_0x14ba93(0x2bb)],!![])&&(!_0x228ca2[_0x14ba93(0x228)]&&(_0x228ca2['markedStatus']=!![],await this['sendTestRunEvent'](_0x228ca2)));})['on'](EVENT_TEST_FAIL,async(_0x23f8db,_0xf72b19)=>{const _0x5313c2=_0x109be4;this[_0x5313c2(0x25c)][_0x5313c2(0x1f8)]({'title':_0x23f8db[_0x5313c2(0x274)],'suite':_0x23f8db[_0x5313c2(0x247)]['title'],'state':_0x23f8db[_0x5313c2(0x2c8)],'err':{'message':util[_0x5313c2(0x21e)](_0xf72b19)},'fullTitle':_0x23f8db[_0x5313c2(0x24d)](),'speed':_0x23f8db[_0x5313c2(0x221)],'currentRetry':_0x23f8db[_0x5313c2(0x25a)](),'titlePathV':_0x23f8db[_0x5313c2(0x288)]()});if(_0x28eb0b[_0x5313c2(0x2a9)](this[_0x5313c2(0x1df)],_0x28eb0b[_0x5313c2(0x210)]))process[_0x5313c2(0x1de)]['write'](Base[_0x5313c2(0x2aa)](_0x28eb0b[_0x5313c2(0x2b5)],Base[_0x5313c2(0x28e)]['bang']));else{if(_0x28eb0b['XbasR'](this[_0x5313c2(0x1df)],_0x28eb0b[_0x5313c2(0x296)])){const _0x23de72=_0x28eb0b[_0x5313c2(0x2da)]['split']('|');let _0x29636f=0x0;while(!![]){switch(_0x23de72[_0x29636f++]){case'0':this[_0x5313c2(0x2a8)](this[_0x5313c2(0x27e)]()+_0x5313c2(0x255)+_0x214ff7+_0x5313c2(0x1f1));continue;case'1':var _0x214ff7=utils['escape'](utils[_0x5313c2(0x1cf)](_0x23f8db[_0x5313c2(0x251)]));continue;case'2':this[_0x5313c2(0x2a8)](this['indent']()+_0x5313c2(0x20c)+utils['escape'](_0x23f8db[_0x5313c2(0x202)])+_0x5313c2(0x242));continue;case'3':this[_0x5313c2(0x2a8)](this['indent']()+_0x5313c2(0x20c)+utils[_0x5313c2(0x2c7)](_0x23f8db[_0x5313c2(0x274)])+_0x5313c2(0x242));continue;case'4':this['docAppend'](this['indent']()+_0x5313c2(0x239)+utils[_0x5313c2(0x2c7)](_0x23f8db[_0x5313c2(0x227)])+_0x5313c2(0x252));continue;}break;}}}if(_0x28eb0b[_0x5313c2(0x1f4)](this[_0x5313c2(0x2bb)],!![])){if(!_0x23f8db[_0x5313c2(0x228)]){_0x23f8db['markedStatus']=!![];if(_0x23f8db[_0x5313c2(0x229)])await this[_0x5313c2(0x27f)](_0x23f8db,_0xf72b19);else _0x23f8db[_0x5313c2(0x283)]&&await this[_0x5313c2(0x27f)](_0x23f8db,_0xf72b19,![],_0x28eb0b['CAwKE']);}}})['on'](EVENT_TEST_PENDING,async _0x40f169=>{const _0x4e491c=_0x109be4;this[_0x4e491c(0x25c)][_0x4e491c(0x1f8)]({'title':_0x40f169[_0x4e491c(0x274)],'suite':_0x40f169['parent']['title'],'state':_0x40f169[_0x4e491c(0x2c8)],'err':{},'fullTitle':_0x40f169[_0x4e491c(0x24d)](),'speed':_0x40f169[_0x4e491c(0x221)],'currentRetry':_0x40f169['currentRetry'](),'titlePathV':_0x40f169['titlePath']()}),_0x28eb0b[_0x4e491c(0x27a)](this[_0x4e491c(0x1df)],_0x28eb0b[_0x4e491c(0x210)])&&process[_0x4e491c(0x1de)][_0x4e491c(0x2a7)](Base['color'](_0x28eb0b[_0x4e491c(0x24e)],Base[_0x4e491c(0x28e)][_0x4e491c(0x2e1)])),_0x28eb0b[_0x4e491c(0x28f)](this[_0x4e491c(0x2bb)],!![])&&(!_0x40f169[_0x4e491c(0x229)]&&(_0x40f169[_0x4e491c(0x229)]=_0x28eb0b[_0x4e491c(0x2db)](uuidv4)),!_0x40f169[_0x4e491c(0x228)]&&(_0x40f169['markedStatus']=!![],await this[_0x4e491c(0x27f)](_0x40f169,undefined,![],_0x28eb0b[_0x4e491c(0x2ba)])));})['on'](EVENT_TEST_BEGIN,async _0xbb791d=>{const _0x1e4dae=_0x109be4;_0x28eb0b['VwZdL'](this[_0x1e4dae(0x2bb)],!![])&&await this[_0x1e4dae(0x24b)](_0xbb791d);})['on'](EVENT_TEST_END,async _0xa7f208=>{const _0x576f72=_0x109be4;_0x28eb0b['nuPMO'](this['testObservability'],!![])&&(!_0xa7f208[_0x576f72(0x228)]&&(_0xa7f208[_0x576f72(0x228)]=!![],await this['sendTestRunEvent'](_0xa7f208)));})[_0x109be4(0x208)](EVENT_RUN_END,async()=>{const _0x3649f9=_0x109be4;try{if(_0x28eb0b[_0x3649f9(0x2b1)](this['testObservability'],!![])){const _0x5eccba=_0x28eb0b[_0x3649f9(0x2a4)](getHookSkippedTests,this[_0x3649f9(0x2a1)]['suite']);for(const _0x47cb91 of _0x5eccba){!_0x47cb91[_0x3649f9(0x229)]&&(_0x47cb91[_0x3649f9(0x229)]=_0x28eb0b[_0x3649f9(0x26b)](uuidv4)),await this[_0x3649f9(0x27f)](_0x47cb91,undefined,![],_0x28eb0b[_0x3649f9(0x2ba)]);}}}catch(_0x134dc3){_0x28eb0b[_0x3649f9(0x2a4)](debug,_0x3649f9(0x292)+_0x134dc3);}await requestQueueHandler['shutdown'](),_0x28eb0b[_0x3649f9(0x1e6)](this['type'],_0x28eb0b[_0x3649f9(0x296)])&&Base[_0x3649f9(0x1f6)](this[_0x3649f9(0x1e2)]);});if(this[_0x109be4(0x1df)]&&![_0x28eb0b['OlVRO'],_0x28eb0b['NUXfB'],_0x28eb0b[_0x109be4(0x219)],_0x28eb0b[_0x109be4(0x210)]][_0x109be4(0x234)](this[_0x109be4(0x1df)])){const _0x51f63f=this[_0x109be4(0x1df)]['trim']();this['Reporter']=null;try{this['Reporter']=_0x28eb0b[_0x109be4(0x2a4)](requireModule,_0x109be4(0x1e1)+_0x51f63f+_0x109be4(0x262));}catch{}if(_0x28eb0b[_0x109be4(0x27a)](this[_0x109be4(0x2ce)],null))try{this['Reporter']=_0x28eb0b[_0x109be4(0x293)](require,_0x51f63f);}catch(_0x2cba60){console['error']('Failed\x20to\x20load\x20reporter\x20'+_0x51f63f);}if(_0x28eb0b[_0x109be4(0x240)](this[_0x109be4(0x2ce)],null)){const _0x5b8b6c={};_0x5b8b6c[_0x109be4(0x2c0)]=_0x36c8c5[_0x109be4(0x1ee)],this['Reporter']=new this[(_0x109be4(0x2ce))](_0x8fe9d6,_0x5b8b6c);}}}[a25_0x581da8(0x27e)](){const _0x1ae62e=a25_0x581da8,_0x282b46={'IgXiX':function(_0x2aad8c,_0x3f7383){return _0x2aad8c(_0x3f7383);}};return _0x282b46['IgXiX'](Array,this[_0x1ae62e(0x1d7)])[_0x1ae62e(0x209)]('\x20\x20');}[a25_0x581da8(0x289)](){const _0x3f4b9d=a25_0x581da8;this[_0x3f4b9d(0x1d7)]++;}[a25_0x581da8(0x2c1)](){const _0x54e85f=a25_0x581da8;this[_0x54e85f(0x1d7)]--;}[a25_0x581da8(0x2a8)](_0x1171f7){const _0x1b7f88=a25_0x581da8;this[_0x1b7f88(0x1e2)]+=_0x1171f7;}[a25_0x581da8(0x25b)](_0x38ede3,_0x2850e4){const _0x43f090=a25_0x581da8,_0x48a72a={'xCNqg':function(_0x50d77b,_0x5eb70b){return _0x50d77b(_0x5eb70b);}},_0x45cafa={};_0x45cafa[_0x43f090(0x253)]=_0x38ede3,_0x45cafa[_0x43f090(0x25c)]=this['finalResults'],_0x48a72a[_0x43f090(0x27c)](_0x2850e4,_0x45cafa);}[a25_0x581da8(0x1e0)](){const _0x22733d=a25_0x581da8;process[_0x22733d(0x2d9)](_0x22733d(0x233)+process[_0x22733d(0x24c)]),process['on'](_0x22733d(0x233)+process[_0x22733d(0x24c)],this[_0x22733d(0x29d)][_0x22733d(0x1d6)](this)),process['removeAllListeners']('bs:addPlatformDetails:'+process['pid']),process['on']('bs:addPlatformDetails:'+process[_0x22733d(0x24c)],this[_0x22733d(0x269)]['bind'](this));}[a25_0x581da8(0x24b)]=async _0x3ec774=>{const _0x4d0381=a25_0x581da8,_0x50f2cb={'wQbwg':function(_0x4ca909){return _0x4ca909();},'yGJgY':function(_0x138b72,_0x1a1c5d){return _0x138b72>_0x1a1c5d;},'Giare':function(_0x41f876,_0x3a6b59){return _0x41f876===_0x3a6b59;},'WWIIu':'TestRunStarted','Wyggi':function(_0x5378da,_0x515aff){return _0x5378da(_0x515aff);}};try{const _0x14c89e=this[_0x4d0381(0x27b)];this[_0x4d0381(0x27b)]=_0x3ec774,_0x3ec774[_0x4d0381(0x232)]=null,_0x3ec774[_0x4d0381(0x229)]=_0x50f2cb[_0x4d0381(0x244)](uuidv4),_0x3ec774[_0x4d0381(0x294)]=new Date()[_0x4d0381(0x1e9)](),_0x50f2cb[_0x4d0381(0x276)](_0x3ec774[_0x4d0381(0x201)],0x0)&&_0x14c89e&&_0x50f2cb[_0x4d0381(0x268)](_0x14c89e[_0x4d0381(0x274)],_0x3ec774[_0x4d0381(0x274)])?(_0x3ec774['retryOf']=_0x14c89e[_0x4d0381(0x229)],await this[_0x4d0381(0x27f)](_0x3ec774,undefined,![],_0x50f2cb[_0x4d0381(0x22d)]),_0x14c89e[_0x4d0381(0x2c8)]=STATE_FAILED,await this[_0x4d0381(0x27f)](_0x14c89e,undefined,!![])):await this['sendTestRunEvent'](_0x3ec774,undefined,![],_0x50f2cb[_0x4d0381(0x22d)]);}catch(_0x512b70){_0x50f2cb['Wyggi'](debug,_0x4d0381(0x22b)+_0x512b70);}};[a25_0x581da8(0x27f)]=async(_0xfd68fa,_0xe44f6a=undefined,_0x45b4fa=![],_0xe85ba4='TestRunFinished')=>{const _0xa35522=a25_0x581da8,_0x388a20={'RHzCn':function(_0x5f5455,_0x1b334a){return _0x5f5455===_0x1b334a;},'wRpKb':function(_0xf8d461,_0x22e6cc){return _0xf8d461!==_0x22e6cc;},'aXmEJ':_0xa35522(0x290),'FFzpY':'err','dkIFS':function(_0x2a4cce,_0x3de914){return _0x2a4cce!==_0x3de914;},'tphqZ':function(_0x1b8771,_0x3856a3){return _0x1b8771!==_0x3856a3;},'bjtvr':function(_0x2d282a,_0x3eb168){return _0x2d282a!==_0x3eb168;},'tuYFs':'File\x20path\x20could\x20not\x20be\x20found','YMUtk':_0xa35522(0x261),'WBENI':'javascript','zEWSR':_0xa35522(0x280),'VfKFj':'skipped','DpujY':function(_0x1f8a78,_0x35499a){return _0x1f8a78-_0x35499a;},'xjFNo':_0xa35522(0x28b),'ODzFX':'UnhandledError','VlTjP':function(_0x1f53af,_0x44f77c){return _0x1f53af===_0x44f77c;},'prXfv':'started_at','WWXfn':_0xa35522(0x21b),'HwpJJ':function(_0x954ae3,_0x289263){return _0x954ae3(_0x289263);},'QeIDm':_0xa35522(0x200),'ritKU':function(_0x19265c,_0xb0cc17){return _0x19265c!==_0xb0cc17;},'tYNER':_0xa35522(0x25e),'buSnn':'passed','ktsXJ':'before\x20each','MKwhN':_0xa35522(0x22e),'jNgme':'failure_backtrace','KyHaX':_0xa35522(0x23c),'KNJFv':_0xa35522(0x286),'hKvWz':_0xa35522(0x1da),'bhKCR':_0xa35522(0x215),'WUlxP':_0xa35522(0x1d2),'fMbPt':'hook_run','JkRJH':'test_run','GnIGx':function(_0x226d66,_0x329e41){return _0x226d66(_0x329e41);}};try{if(_0xfd68fa[_0xa35522(0x251)]&&_0xfd68fa[_0xa35522(0x251)]['match'](/browserstack internal helper hook/))return;let _0x2a4a93=[];if(_0x388a20[_0xa35522(0x2c2)](_0xfd68fa[_0xa35522(0x2c8)],STATE_FAILED)){if(_0x388a20[_0xa35522(0x20a)](_0xfd68fa[_0xa35522(0x227)],undefined))_0x2a4a93=_0xfd68fa[_0xa35522(0x227)][_0xa35522(0x2cf)]?[_0xfd68fa[_0xa35522(0x227)][_0xa35522(0x2cf)],_0x388a20['aXmEJ']]:[_0xfd68fa[_0xa35522(0x227)],_0x388a20['FFzpY']];else _0x388a20['dkIFS'](_0xe44f6a,undefined)?_0x2a4a93=[_0xe44f6a,_0x388a20[_0xa35522(0x2c5)]]:_0x2a4a93=[];}const _0x3aa3d9=_0x388a20[_0xa35522(0x21f)](_0xfd68fa[_0xa35522(0x227)],undefined)?_0xfd68fa[_0xa35522(0x227)][_0xa35522(0x263)]():_0x388a20[_0xa35522(0x2d8)](_0xe44f6a,undefined)?_0xe44f6a[_0xa35522(0x263)]():undefined;let _0x1a903d;try{_0x1a903d=this[_0xa35522(0x28a)](_0xfd68fa);}catch(_0x2cedd3){_0x1a903d=null;}const _0x5a991f=_0x1a903d?this['findGitConfig'](_0x1a903d):null,_0x9c57de=_0x1a903d?this[_0xa35522(0x2b8)]['prefixTestPath'](this[_0xa35522(0x28a)](_0xfd68fa)):_0x388a20[_0xa35522(0x22c)],_0x4e9f46={'framework':_0x388a20[_0xa35522(0x23b)],'uuid':_0xfd68fa[_0xa35522(0x229)]||_0xfd68fa[_0xa35522(0x283)],'name':_0xfd68fa[_0xa35522(0x274)],'body':{'lang':_0x388a20[_0xa35522(0x1fa)],'code':_0xfd68fa[_0xa35522(0x251)]},'scope':this[_0xa35522(0x259)](_0xfd68fa),'scopes':this[_0xa35522(0x2b6)](_0xfd68fa),'identifier':_0xfd68fa[_0xa35522(0x24d)](),'file_name':_0x9c57de,'vc_filepath':_0x5a991f?path[_0xa35522(0x212)](_0x5a991f,_0x1a903d):null,'location':_0x9c57de,'result':_0x388a20[_0xa35522(0x2c2)](_0xe85ba4,_0x388a20[_0xa35522(0x20f)])?_0x388a20[_0xa35522(0x1e7)]:this[_0xa35522(0x2a0)](_0xfd68fa[_0xa35522(0x2c8)]),'failure_reason':_0x3aa3d9,'duration_in_ms':_0xfd68fa[_0xa35522(0x277)]||(_0xe85ba4[_0xa35522(0x222)](/Finished/)||_0xe85ba4['match'](/Skipped/)?_0x388a20[_0xa35522(0x2b2)](Date[_0xa35522(0x206)](),new Date(_0xfd68fa[_0xa35522(0x294)])[_0xa35522(0x218)]()):null),'started_at':_0xfd68fa['started_at'],'finished_at':_0xe85ba4['match'](/Finished/)||_0xe85ba4[_0xa35522(0x222)](/Skipped/)?new Date()[_0xa35522(0x1e9)]():null,'failure':failureData['apply'](null,_0x2a4a93),'failure_type':!_0x3aa3d9?null:_0x3aa3d9['match'](/AssertionError/)?_0x388a20[_0xa35522(0x1fd)]:_0x388a20[_0xa35522(0x23f)],'retry_of':_0xfd68fa[_0xa35522(0x232)]};_0x388a20['VlTjP'](_0xe85ba4,_0x388a20[_0xa35522(0x20f)])&&!_0x4e9f46[_0x388a20[_0xa35522(0x1ea)]]&&(_0x4e9f46[_0x388a20[_0xa35522(0x1ea)]]=_0x4e9f46[_0x388a20[_0xa35522(0x2bc)]]);if(_0xe85ba4['match'](/HookRun/))[_0x4e9f46[_0xa35522(0x1d2)],_0x4e9f46['name']]=_0x388a20['HwpJJ'](getHookDetails,_0xfd68fa['fullTitle']()||_0xfd68fa['originalTitle']||_0xfd68fa[_0xa35522(0x274)]),_0x388a20[_0xa35522(0x2c2)](_0xe85ba4,_0x388a20[_0xa35522(0x24f)])&&(_0x388a20['ritKU'](_0x4e9f46['result'],_0x388a20['tYNER'])&&(_0x4e9f46['result']=_0x388a20['buSnn']),_0x388a20[_0xa35522(0x2c2)](_0x4e9f46['hook_type'],_0x388a20[_0xa35522(0x260)])&&_0x388a20[_0xa35522(0x1f9)](_0x4e9f46[_0xa35522(0x231)],_0x388a20['tYNER'])&&!_0xfd68fa[_0xa35522(0x297)][_0xa35522(0x2dd)]['markedStatus']&&(_0xfd68fa[_0xa35522(0x297)][_0xa35522(0x2dd)][_0xa35522(0x228)]=!![],_0xfd68fa['ctx'][_0xa35522(0x2dd)][_0xa35522(0x2c8)]=STATE_FAILED,await this[_0xa35522(0x27f)](_0xfd68fa[_0xa35522(0x297)][_0xa35522(0x2dd)],undefined,!![])));else _0xe85ba4['match'](/TestRun/)&&_0x388a20[_0xa35522(0x2d7)](mapTestHooks,_0xfd68fa);const _0x4235e6=_0x4e9f46[_0x388a20[_0xa35522(0x216)]][0x0];_0x4235e6&&(_0x4e9f46[_0x388a20[_0xa35522(0x2de)]]=_0x4235e6[_0x388a20[_0xa35522(0x22f)]],_0x4e9f46[_0x388a20[_0xa35522(0x211)]]=_0x4235e6[_0x388a20['hKvWz']]);[_0x388a20['bhKCR'],_0x388a20[_0xa35522(0x20f)]][_0xa35522(0x234)](_0xe85ba4)&&(this[_0xa35522(0x2b4)]['push'](_0x4e9f46),_0x4e9f46['hooks']=_0x388a20[_0xa35522(0x2d7)](getHooksForTest,_0xfd68fa));const _0x5a7257={'event_type':_0x388a20[_0xa35522(0x2c2)](_0xe85ba4,_0x388a20[_0xa35522(0x20f)])?_0x388a20['bhKCR']:_0xe85ba4};_0xe85ba4[_0xa35522(0x222)](/HookRun/)?(_0x4e9f46[_0x388a20[_0xa35522(0x226)]]=HOOK_TYPES_MAP[_0x4e9f46[_0x388a20[_0xa35522(0x226)]]],_0x5a7257[_0x388a20[_0xa35522(0x29b)]]=_0x4e9f46):_0x5a7257[_0x388a20[_0xa35522(0x2e0)]]=_0x4e9f46,await SessionHandler[_0xa35522(0x2ad)](_0x5a7257);}catch(_0xeba223){_0x388a20[_0xa35522(0x254)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0xe85ba4+_0xa35522(0x295)+_0xeba223);}};['findGitConfig'](_0x2797fa){const _0x45388f=a25_0x581da8,_0xc29e94={};_0xc29e94['PEAYy']=function(_0x502e4e,_0x218657){return _0x502e4e===_0x218657;},_0xc29e94['ZsYoj']=function(_0x841f6f,_0x509731){return _0x841f6f===_0x509731;},_0xc29e94[_0x45388f(0x29c)]='.git',_0xc29e94[_0x45388f(0x2a5)]=_0x45388f(0x24a);const _0x32b154=_0xc29e94,_0x454bca=path[_0x45388f(0x2a3)];if(_0x32b154[_0x45388f(0x1d3)](_0x2797fa,null)||_0x32b154[_0x45388f(0x1d3)](_0x2797fa,'')||_0x32b154['ZsYoj'](_0x2797fa,_0x454bca))return null;try{return fs[_0x45388f(0x2c6)](path[_0x45388f(0x209)](_0x2797fa,_0x32b154['wZsKD'],_0x32b154[_0x45388f(0x2a5)])),_0x2797fa;}catch(_0x2b3cd3){const _0x487b93=path['dirname'](_0x2797fa);return this[_0x45388f(0x245)](_0x487b93);}}[a25_0x581da8(0x29d)]=async _0x874ee=>{const _0x4f90e8=a25_0x581da8,_0x22a897={'ZBFWZ':_0x4f90e8(0x2b7),'kLOXb':function(_0x4e79c8,_0x31f108){return _0x4e79c8(_0x31f108);}};try{this['current_hook']&&!this[_0x4f90e8(0x203)]['markedStatus']&&(_0x874ee[_0x4f90e8(0x2ae)]=this[_0x4f90e8(0x203)][_0x4f90e8(0x283)]);!_0x874ee[_0x4f90e8(0x2ae)]&&this[_0x4f90e8(0x27b)]&&!this[_0x4f90e8(0x27b)]['markedStatus']&&(_0x874ee['test_run_uuid']=this[_0x4f90e8(0x27b)][_0x4f90e8(0x229)]);if(_0x874ee[_0x4f90e8(0x2ae)]||_0x874ee[_0x4f90e8(0x1e5)]){const _0x49a0c1={};_0x49a0c1[_0x4f90e8(0x1e4)]=_0x22a897['ZBFWZ'],_0x49a0c1[_0x4f90e8(0x238)]=[_0x874ee],await SessionHandler[_0x4f90e8(0x2ad)](_0x49a0c1);}}catch(_0x413ab4){_0x22a897[_0x4f90e8(0x264)](debug,_0x4f90e8(0x2d6)+_0x413ab4);}};['appendTestPlatform']=async _0x57e131=>{const _0x178f1d=a25_0x581da8,_0x891830={'ArXKY':_0x178f1d(0x2d5),'CtUcD':_0x178f1d(0x256),'vqvcY':function(_0x515a53,_0x3dbb4b){return _0x515a53(_0x3dbb4b);}};try{const _0x18e74e={};_0x18e74e[_0x178f1d(0x26c)]=_0x57e131['uuid']||this[_0x178f1d(0x27b)][_0x178f1d(0x229)],_0x18e74e[_0x178f1d(0x214)]=_0x57e131[_0x891830[_0x178f1d(0x1ec)]];const _0x103acb=_0x18e74e,_0x1d8b29={};_0x1d8b29[_0x178f1d(0x1e4)]=_0x891830[_0x178f1d(0x29e)],_0x1d8b29[_0x178f1d(0x249)]=_0x103acb,await SessionHandler[_0x178f1d(0x2ad)](_0x1d8b29);}catch(_0x3de8cc){_0x891830['vqvcY'](debug,_0x178f1d(0x2c9)+_0x3de8cc);}};[a25_0x581da8(0x2a0)](_0x5012ca){const _0x899a0d=a25_0x581da8,_0x3c095c={};_0x3c095c['CgSIS']='passed',_0x3c095c[_0x899a0d(0x21d)]='pending',_0x3c095c[_0x899a0d(0x284)]=_0x899a0d(0x25e);const _0x47c9d9=_0x3c095c,_0x29010d={};return _0x29010d[STATE_PASSED]=_0x47c9d9['CgSIS'],_0x29010d[STATE_PENDING]=_0x47c9d9[_0x899a0d(0x21d)],_0x29010d[STATE_FAILED]=_0x47c9d9[_0x899a0d(0x284)],_0x29010d[_0x5012ca];}[a25_0x581da8(0x259)](_0x136959){const _0x10cde0=a25_0x581da8,_0x4c905c={};_0x4c905c[_0x10cde0(0x2b0)]=function(_0x5ed678,_0x4249fe){return _0x5ed678-_0x4249fe;};const _0x101169=_0x4c905c,_0x27c501=_0x136959[_0x10cde0(0x288)]();return _0x27c501[_0x10cde0(0x279)](0x0,_0x101169[_0x10cde0(0x2b0)](_0x27c501[_0x10cde0(0x1ed)],0x1))[_0x10cde0(0x209)]('\x20');}[a25_0x581da8(0x2b6)](_0xbe3134){const _0x2046cf=a25_0x581da8,_0x79d023={};_0x79d023[_0x2046cf(0x1d4)]=function(_0x339657,_0x2445a4){return _0x339657-_0x2445a4;};const _0x18b3a9=_0x79d023,_0x4691f0=_0xbe3134['titlePath']();return _0x4691f0['slice'](0x0,_0x18b3a9[_0x2046cf(0x1d4)](_0x4691f0[_0x2046cf(0x1ed)],0x1));}['getRootParentFile'](_0x14c8d1){const _0x17f8c0=a25_0x581da8,_0x473fe8={};_0x473fe8[_0x17f8c0(0x282)]=function(_0x11e1ed,_0x19efe7){return _0x11e1ed>_0x19efe7;};const _0x362218=_0x473fe8;if(_0x14c8d1[_0x17f8c0(0x202)])return _0x14c8d1[_0x17f8c0(0x202)];if(_0x14c8d1[_0x17f8c0(0x297)]){const _0x5dbbbb=_0x14c8d1['ctx'][_0x17f8c0(0x2dd)]?this[_0x17f8c0(0x28a)](_0x14c8d1[_0x17f8c0(0x297)][_0x17f8c0(0x2dd)]):null;if(_0x5dbbbb)return _0x5dbbbb;}if(_0x14c8d1[_0x17f8c0(0x247)]){const _0x55838d=this[_0x17f8c0(0x28a)](_0x14c8d1[_0x17f8c0(0x247)])||(_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x297)]&&_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x297)][_0x17f8c0(0x2dd)]?this[_0x17f8c0(0x28a)](_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x297)][_0x17f8c0(0x2dd)]):null);if(_0x55838d)return _0x55838d;_0x14c8d1[_0x17f8c0(0x247)]['suites']&&_0x362218[_0x17f8c0(0x282)](_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x207)][_0x17f8c0(0x1ed)],0x0)&&_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x207)][_0x17f8c0(0x291)](_0x3073e3=>{const _0x494322=_0x17f8c0,_0x5f1f6b=_0x3073e3[_0x494322(0x297)]?this['getRootParentFile'](_0x3073e3[_0x494322(0x297)]):null;if(_0x5f1f6b)return _0x5f1f6b;});}return null;}}module['exports']=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a26_0x2a4b90=a26_0x3beb;(function(_0xa1a971,_0x2b4d2b){const _0x428bca=a26_0x3beb,_0x439433=_0xa1a971();while(!![]){try{const _0x14f83a=parseInt(_0x428bca(0x1e1))/0x1+parseInt(_0x428bca(0x221))/0x2+-parseInt(_0x428bca(0x1d9))/0x3*(-parseInt(_0x428bca(0x1fa))/0x4)+-parseInt(_0x428bca(0x237))/0x5*(-parseInt(_0x428bca(0x240))/0x6)+-parseInt(_0x428bca(0x1a3))/0x7*(-parseInt(_0x428bca(0x287))/0x8)+-parseInt(_0x428bca(0x1a0))/0x9*(-parseInt(_0x428bca(0x20e))/0xa)+parseInt(_0x428bca(0x249))/0xb*(-parseInt(_0x428bca(0x274))/0xc);if(_0x14f83a===_0x2b4d2b)break;else _0x439433['push'](_0x439433['shift']());}catch(_0x3e807f){_0x439433['push'](_0x439433['shift']());}}}(a26_0x3fb5,0xacb7b));const chalk=require('chalk'),logger=require(a26_0x2a4b90(0x1ea))[a26_0x2a4b90(0x1af)],{default:BrowserStackSetup}=require(a26_0x2a4b90(0x261)),helper=require(a26_0x2a4b90(0x1ae)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x2a4b90(0x1d1)),{requireModule}=require('../../helpers/helper'),{getPercyOptions}=require(a26_0x2a4b90(0x245)),Base=requireModule(a26_0x2a4b90(0x244)),collectFiles=requireModule('mocha/lib/cli/collect-files.js');function tag(_0x18e0f1,_0x20c8aa,_0x5ef5b9,_0x27732d){const _0x31f5ca=a26_0x2a4b90,_0x3e6a92={'CrGWG':function(_0x499db9,_0x4e66a4){return _0x499db9+_0x4e66a4;},'EDmDM':function(_0x428f9d,_0x36efcd){return _0x428f9d+_0x36efcd;},'iscfq':function(_0x4dab4c,_0x50c550){return _0x4dab4c+_0x50c550;},'QjrLH':function(_0x13ee44,_0x26d23e){return _0x13ee44(_0x26d23e);},'hgIRM':function(_0x3eb358,_0x1467ad){return _0x3eb358+_0x1467ad;},'AwvuY':function(_0x1b8dd4,_0x335eef){return _0x1b8dd4+_0x335eef;},'FMUrd':function(_0x536e93,_0x10d1e8){return _0x536e93+_0x10d1e8;},'mMdpL':function(_0x40e53b,_0x37bc31){return _0x40e53b+_0x37bc31;}},_0x71d60=_0x5ef5b9?'/>':'>',_0x3fdb38=[];let _0x306555;for(const _0x3ba7d8 in _0x20c8aa){Object[_0x31f5ca(0x203)][_0x31f5ca(0x235)][_0x31f5ca(0x1de)](_0x20c8aa,_0x3ba7d8)&&_0x3fdb38[_0x31f5ca(0x25b)](_0x3e6a92['CrGWG'](_0x3e6a92[_0x31f5ca(0x1a9)](_0x3e6a92[_0x31f5ca(0x1bf)](_0x3ba7d8,'=\x22'),_0x3e6a92['QjrLH'](escape,_0x20c8aa[_0x3ba7d8])),'\x22'));}return _0x306555=_0x3e6a92[_0x31f5ca(0x230)](_0x3e6a92[_0x31f5ca(0x1d5)](_0x3e6a92[_0x31f5ca(0x207)]('<',_0x18e0f1),_0x3fdb38['length']?_0x3e6a92[_0x31f5ca(0x289)]('\x20',_0x3fdb38['join']('\x20')):''),_0x71d60),_0x27732d&&(_0x306555+=_0x3e6a92[_0x31f5ca(0x1bf)](_0x3e6a92[_0x31f5ca(0x1bf)](_0x3e6a92[_0x31f5ca(0x1b0)](_0x27732d,'</'),_0x18e0f1),_0x71d60)),_0x306555;}let xunitContent='';function xunitWrite(_0x2c1c63){xunitContent+=_0x2c1c63;}function xunitTest(_0x14263a,_0x5cac7b){const _0x56430a=a26_0x2a4b90,_0x5044a5={'ZjXJy':function(_0x17b0f3,_0x29b6f0){return _0x17b0f3/_0x29b6f0;},'zSCpd':function(_0x58bdd6,_0x1aa604){return _0x58bdd6===_0x1aa604;},'ZOZtc':'failed','MhTAm':function(_0x4f5f9e,_0xebad9d){return _0x4f5f9e+_0xebad9d;},'vAEbU':function(_0x4027ed,_0x1f8cf9){return _0x4027ed(_0x1f8cf9);},'uKMyP':function(_0x5bd2b7,_0x5b81d2,_0x22a295,_0x13c256,_0x2699e0){return _0x5bd2b7(_0x5b81d2,_0x22a295,_0x13c256,_0x2699e0);},'nevED':'testcase','wjhEM':_0x56430a(0x241),'ZUTCi':function(_0x2ceb4d,_0x16d052){return _0x2ceb4d+_0x16d052;},'dGJhB':function(_0x49d404,_0xf65012){return _0x49d404+_0xf65012;},'DizAq':function(_0x3d2b28,_0x1ca948){return _0x3d2b28+_0x1ca948;},'zoniy':function(_0x6ce5ca,_0x331407){return _0x6ce5ca(_0x331407);},'KHqgt':function(_0x512aaf,_0x50692b){return _0x512aaf(_0x50692b);},'cWjcQ':function(_0x3893cd,_0x22defb,_0x5c3a52,_0x1ccab7){return _0x3893cd(_0x22defb,_0x5c3a52,_0x1ccab7);},'rQuFY':'skipped','lsNgH':function(_0x2a549e,_0x28032d){return _0x2a549e(_0x28032d);},'gsjxf':function(_0x512675,_0x13f915,_0x187352,_0x2793a6){return _0x512675(_0x13f915,_0x187352,_0x2793a6);}};Base[_0x56430a(0x1fc)]=![];var _0x2a752b={'classname':_0x14263a['fullTitle'],'name':_0x14263a[_0x56430a(0x25e)],'time':_0x5044a5[_0x56430a(0x1ba)](_0x14263a[_0x56430a(0x209)],0x3e8)||0x0,'platform':_0x5cac7b};if(_0x5044a5['zSCpd'](_0x14263a[_0x56430a(0x225)],_0x5044a5['ZOZtc'])){var _0x45407f=_0x14263a[_0x56430a(0x270)],_0x5cc6c2=!Base[_0x56430a(0x20f)]&&Base[_0x56430a(0x273)](_0x45407f)?_0x5044a5['MhTAm']('\x0a',Base['generateDiff'](_0x45407f['actual'],_0x45407f[_0x56430a(0x252)])):'';_0x5044a5[_0x56430a(0x23f)](xunitWrite,_0x5044a5[_0x56430a(0x271)](tag,_0x5044a5[_0x56430a(0x267)],_0x2a752b,![],_0x5044a5['uKMyP'](tag,_0x5044a5['wjhEM'],{},![],_0x5044a5['ZUTCi'](_0x5044a5[_0x56430a(0x1eb)](_0x5044a5['DizAq'](_0x5044a5[_0x56430a(0x22b)](escape,_0x45407f[_0x56430a(0x231)]),_0x5044a5[_0x56430a(0x22b)](escape,_0x5cc6c2)),'\x0a'),_0x5044a5[_0x56430a(0x1a7)](escape,_0x45407f['stack'])))));}else _0x14263a[_0x56430a(0x233)]?_0x5044a5[_0x56430a(0x23f)](xunitWrite,_0x5044a5[_0x56430a(0x271)](tag,_0x5044a5[_0x56430a(0x267)],_0x2a752b,![],_0x5044a5[_0x56430a(0x1e3)](tag,_0x5044a5['rQuFY'],{},!![]))):_0x5044a5['lsNgH'](xunitWrite,_0x5044a5[_0x56430a(0x1ce)](tag,_0x5044a5[_0x56430a(0x267)],_0x2a752b,!![]));};function getStats(_0x1b1222){const _0x1fc406=a26_0x2a4b90,_0x1b7e5a={};_0x1b7e5a['mzipC']=_0x1fc406(0x224),_0x1b7e5a['quKFb']='passed',_0x1b7e5a[_0x1fc406(0x1aa)]=_0x1fc406(0x211),_0x1b7e5a[_0x1fc406(0x1f5)]=_0x1fc406(0x229);const _0x5ab26b=_0x1b7e5a,_0x137270=Object[_0x1fc406(0x286)](_0x1b1222);let _0x93ce8a=0x0,_0x658a6a=0x0,_0x545b92=0x0,_0x4c7c34=0x0;const _0x1b4aca=new Set();_0x137270[_0x1fc406(0x1f4)](_0x4b1da7=>{const _0x3a459d=_0x1fc406;_0x1b1222[_0x4b1da7][_0x5ab26b['yenDT']][_0x3a459d(0x1f4)](_0x476092=>{const _0x447375=_0x3a459d;_0x1b4aca[_0x447375(0x1bd)](_0x476092[_0x5ab26b[_0x447375(0x206)]]),_0x93ce8a++;switch(_0x476092[_0x447375(0x225)]){case _0x5ab26b[_0x447375(0x228)]:_0x545b92++;break;case _0x5ab26b[_0x447375(0x1aa)]:_0x658a6a++;break;default:_0x4c7c34++;}});});const _0xcefd0={};return _0xcefd0['testSuites']=_0x1b4aca[_0x1fc406(0x1e7)],_0xcefd0['platforms']=_0x137270,_0xcefd0['totalTests']=_0x93ce8a,_0xcefd0[_0x1fc406(0x275)]=_0x658a6a,_0xcefd0['testsPassed']=_0x545b92,_0xcefd0[_0x1fc406(0x1b3)]=_0x4c7c34,_0xcefd0;}function errorJSON(_0x10bd86){const _0x6f6544=a26_0x2a4b90;var _0x8a75fb={};return Object[_0x6f6544(0x27f)](_0x10bd86)[_0x6f6544(0x1f4)](function(_0x241da1){_0x8a75fb[_0x241da1]=_0x10bd86[_0x241da1];},_0x10bd86),_0x8a75fb;}function cleanCycles(_0x31c645){const _0x105bb2=a26_0x2a4b90,_0x16837b={};_0x16837b[_0x105bb2(0x1d7)]=function(_0x2ed557,_0x167f47){return _0x2ed557===_0x167f47;},_0x16837b[_0x105bb2(0x1a8)]='object',_0x16837b[_0x105bb2(0x1fe)]=function(_0x1ecdad,_0x376740){return _0x1ecdad!==_0x376740;},_0x16837b['tLPfo']=function(_0x29b25b,_0x55c6f0){return _0x29b25b!==_0x55c6f0;},_0x16837b[_0x105bb2(0x205)]=function(_0x4fb82d,_0x3f2c2d){return _0x4fb82d+_0x3f2c2d;};const _0xe55553=_0x16837b;var _0x520ddf=[];return JSON[_0x105bb2(0x1cd)](JSON[_0x105bb2(0x1bb)](_0x31c645,function(_0x34411d,_0x523718){const _0x228a03=_0x105bb2;if(_0xe55553[_0x228a03(0x1d7)](typeof _0x523718,_0xe55553[_0x228a03(0x1a8)])&&_0xe55553[_0x228a03(0x1fe)](_0x523718,null)){if(_0xe55553[_0x228a03(0x1ec)](_0x520ddf[_0x228a03(0x23b)](_0x523718),-0x1))return _0xe55553[_0x228a03(0x205)]('',_0x523718);_0x520ddf['push'](_0x523718);}return _0x523718;}));}function a26_0x3fb5(){const _0x46357e=['isTestObservabilitySession','GjnyG','PPBmm','MOQBw','proxySettings','getOwnPropertyNames','Total\x20Suites:\x20','uVFaz','kKhsj','JopLC','platform','get','keys','24IGTZBI','fireFunnelTestEvent','FMUrd','397431rsogTY','file','platforms','341593OJeMgF','bxPsG','output','info','KHqgt','NkHcx','EDmDM','wdFCK','yellow','pending','IvdVc','../../helpers/helper','winstonLogger','mMdpL','FVTBL','finally','testsPending','DKRuh','BULwb','accessibilityOptions','isUndefined','length','mocha','ZjXJy','stringify','mQLsJ','add','KXxxv','iscfq','cliConfig','aobqZ','reporter','Couldn\x27t\x20write\x20json\x20result\x20to','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','modifyBrowserStackW3CCaps','Running\x20your\x20mocha\x20tests','spec','--disable-browserstack-automation','toUTCString','bgRedBright','vJvmq','initialize','parse','gsjxf','oUskk','pJQBb','../test-runner','WYNit','titlePath','PScop','AwvuY','list','iNJfC','fullTitle','2994867YWCXoG','exitCode','doc','IaTju','SDKTestSuccessful','call','testsPassed','parallelsPerPlatform','656030xSGDPp','then','cWjcQ','cGOIm','eoDXM','sKmww','size','mlFPK','Edqon','../../helpers/logger','dGJhB','tLPfo','failures','getHubUrl','hywhY','join','mjs','gtPZo','DwWgf','forEach','yenDT','kBKAC','env','has','markSDKSetupComplete','4ySnskt','deWPv','useColors','\x20passed','uwuBd','speed','log','getErrorMessageFromResults','BROWSERSTACK_AUTOMATION','prototype','useW3C','txTkT','mzipC','CrGWG','config','duration','GaKrn','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ignore','dzErm','290CnNrsW','hideDiff','drdCp','failed','\x20total','finalExecution','shouldReRunObservabilityTests','aRFAd','bold','titlePathV','\x20platforms','getPlatformName','includes','fevJC','exports','error','bgBlueBright','writeFileSync','\x20skipped','2741792LloAua','YDYsy','Total\x20Platforms:\x20','suite','state','SiBVt','reporterOptions','quKFb','results','modifyBrowserStackCaps','zoniy','rerunTests','iezCu','Listing\x20all\x20the\x20failures','YTLia','hgIRM','message','****\x20FAILURES\x20****','isPending','currentRetry','hasOwnProperty','CFmnE','2279350wZgHvb','yQRAY','Mocha\x20Tests','jbckK','indexOf','blWHs','testSuites','notifyUpdate','vAEbU','6TaCayR','failure','Now,\x20showing\x20logs\x20from\x20mocha','SYozG','mocha/lib/reporters/base.js','../../helpers/percy/utils','Writing\x20json\x20result\x20to\x20file','pMSJa','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2398ckaSqu','oIcRe','NxSno','cjs','parseFileNames','printBuildLink','assign','xunit','SPcQL','expected','min','BROWSERSTACK_RERUN_TESTS','passed','bkjEd','WESLl','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','ldEeB','UwSkK','push','Writing\x20xunit\x20result\x20to\x20file','argv','title','rvkGc','\x0a\x0a\x0a','../../helpers/BrowserStackSetup','consoleLog','gsJhY','spcwi','debug','UdOpW','nevED','BROWSERSTACK_TEST_ACCESSIBILITY_YML','KUTNW','testObservability','recursive','test','eTRjC','logLevel','json','err','uKMyP','Tests:\x20\x20\x20\x20\x20\x20\x20','showDiff','231228nUgMmm','testsFailed','WUecQ','Couldn\x27t\x20write\x20xunit\x20result\x20to','DacAg','</testsuite>'];a26_0x3fb5=function(){return _0x46357e;};return a26_0x3fb5();}function clean(_0x571fae){const _0x30742a=a26_0x2a4b90,_0x1f814c={'UwSkK':function(_0xd833,_0x2bda25){return _0xd833 instanceof _0x2bda25;},'UtivG':function(_0x41464e,_0x346ae3){return _0x41464e(_0x346ae3);},'MngNg':function(_0x49650f,_0x5815cd){return _0x49650f(_0x5815cd);}};var _0x3e32b2=_0x571fae['err']||{};return _0x1f814c[_0x30742a(0x25a)](_0x3e32b2,Error)&&(_0x3e32b2=_0x1f814c['UtivG'](errorJSON,_0x3e32b2)),{'title':_0x571fae[_0x30742a(0x25e)],'fullTitle':_0x571fae[_0x30742a(0x1d8)],'file':_0x571fae[_0x30742a(0x1a1)],'duration':_0x571fae[_0x30742a(0x209)],'currentRetry':_0x571fae[_0x30742a(0x234)],'speed':_0x571fae[_0x30742a(0x1ff)],'err':_0x1f814c['MngNg'](cleanCycles,_0x3e32b2)};}function printStats(_0x230dcd,_0x3901b0=a26_0x2a4b90(0x1c7),_0x1b0212={}){const _0x264207=a26_0x2a4b90,_0x5e9ed8={'SPcQL':function(_0x3c1180,_0x4f2d1c){return _0x3c1180(_0x4f2d1c);},'vJvmq':function(_0x2b58ea,_0x466a15){return _0x2b58ea===_0x466a15;},'oIcRe':_0x264207(0x255),'PPBmm':'passes','UdOpW':function(_0x17ff45,_0x573b0c){return _0x17ff45===_0x573b0c;},'drdCp':_0x264207(0x211),'DKRuh':_0x264207(0x1ed),'rvkGc':function(_0x1483e1,_0x1e87dd){return _0x1483e1(_0x1e87dd);},'aobqZ':_0x264207(0x1ac),'GaKrn':function(_0x3b29f9,_0x5d2834){return _0x3b29f9(_0x5d2834);},'DwWgf':'results','gsJhY':function(_0x26fbc6,_0x4de242){return _0x26fbc6*_0x4de242;},'ckXlQ':function(_0xa76597,_0x5e39d2,_0x224e73){return _0xa76597(_0x5e39d2,_0x224e73);},'FVTBL':function(_0x325fe2,_0x1797da){return _0x325fe2>_0x1797da;},'KJiku':function(_0x8fb98f){return _0x8fb98f();},'kKhsj':_0x264207(0x1db),'spcwi':'Setting\x20non\x20exit\x20code\x20for\x20failures','oUskk':'Printing\x20stats\x20of\x20tests','IvdVc':function(_0x17bce2,_0x4f209e){return _0x17bce2+_0x4f209e;},'PScop':_0x264207(0x223),'kBKAC':function(_0x4dc505,_0x540c9f){return _0x4dc505+_0x540c9f;},'VVnCX':_0x264207(0x280),'bkjEd':function(_0x124ba6,_0xbd51b1){return _0x124ba6+_0xbd51b1;},'jbckK':_0x264207(0x272),'IDorF':function(_0x2b633f,_0x739590){return _0x2b633f>_0x739590;},'SYozG':function(_0x4edd3f,_0x12392b){return _0x4edd3f>_0x12392b;},'fevJC':function(_0x784f27,_0x4b075f){return _0x784f27>_0x4b075f;},'FGtdi':function(_0x3efa8b,_0x2532b8){return _0x3efa8b+_0x2532b8;},'EaxuC':function(_0x5171cd,_0x28a5af){return _0x5171cd+_0x28a5af;},'hywhY':function(_0x296ea4,_0x53f05e){return _0x296ea4+_0x53f05e;},'YTLia':_0x264207(0x260),'gtPZo':_0x264207(0x26f),'dzErm':_0x264207(0x246),'deWPv':_0x264207(0x1c3),'MOQBw':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','YDYsy':_0x264207(0x250),'WJnuq':_0x264207(0x239),'mlFPK':function(_0x48249a,_0x52985e){return _0x48249a||_0x52985e;},'uVFaz':function(_0x3ee9e7,_0x561284){return _0x3ee9e7(_0x561284);},'KUTNW':function(_0x30ae65,_0x1381af,_0xb5abd0,_0x29dc10){return _0x30ae65(_0x1381af,_0xb5abd0,_0x29dc10);},'WESLl':'testsuite','CFmnE':function(_0x3915fb,_0x125434){return _0x3915fb-_0x125434;},'eTRjC':function(_0x2ec201,_0x48fbf4){return _0x2ec201-_0x48fbf4;},'ldEeB':function(_0x250311,_0x51fa08){return _0x250311/_0x51fa08;},'WYNit':function(_0x3cf25,_0x3f5f5b){return _0x3cf25(_0x3f5f5b);},'KXxxv':_0x264207(0x279),'Edqon':_0x264207(0x25c),'cGOIm':_0x264207(0x277),'JopLC':_0x264207(0x20b),'zSuLN':_0x264207(0x22e),'GjnyG':_0x264207(0x232)};if(_0x5e9ed8[_0x264207(0x266)](_0x3901b0,_0x5e9ed8[_0x264207(0x282)]))return;const _0x31c480=0x0,_0x326987=()=>{const _0x2460a7=_0x264207;return _0x5e9ed8['SPcQL'](Array,_0x31c480)[_0x2460a7(0x1f0)]('\x20\x20');},{testSuites:_0x9bef3c,platforms:_0x5092e2,totalTests:_0x6168d5,testsFailed:_0x44ca29,testsPassed:_0x6b7d1c,testsPending:_0x3ec937}=_0x5e9ed8[_0x264207(0x20a)](getStats,_0x230dcd);_0x5e9ed8['FVTBL'](_0x44ca29,0x0)&&(logger[_0x264207(0x265)](_0x5e9ed8[_0x264207(0x264)]),process[_0x264207(0x1da)]=Math[_0x264207(0x253)](_0x44ca29,0xff));logger['debug'](_0x5e9ed8[_0x264207(0x1cf)]);const _0x38dde0=''+_0x5e9ed8[_0x264207(0x1ad)](chalk[_0x264207(0x216)](_0x5e9ed8[_0x264207(0x1d4)]),_0x5092e2[_0x264207(0x1b8)]),_0x2daf5f=''+_0x5e9ed8['kBKAC'](chalk['bold'](_0x5e9ed8['VVnCX']),_0x9bef3c),_0x5a1398=''+_0x5e9ed8[_0x264207(0x1ad)](_0x5e9ed8['kBKAC'](_0x5e9ed8[_0x264207(0x256)](chalk[_0x264207(0x216)](_0x5e9ed8[_0x264207(0x23a)]),_0x5e9ed8['IDorF'](_0x44ca29,0x0)?chalk[_0x264207(0x216)]['red'](_0x44ca29+'\x20failed')+',\x20':''),_0x5e9ed8[_0x264207(0x243)](_0x3ec937,0x0)?chalk['bold'][_0x264207(0x1ab)](_0x3ec937+_0x264207(0x220))+',\x20':''),_0x5e9ed8[_0x264207(0x21b)](_0x6b7d1c,0x0)?chalk['bold']['green'](_0x6b7d1c+_0x264207(0x1fd))+',\x20':'')+_0x6168d5+_0x264207(0x212);console[_0x264207(0x200)](_0x5e9ed8['FGtdi'](_0x5e9ed8['EaxuC'](_0x5e9ed8[_0x264207(0x1f6)](_0x5e9ed8['FGtdi'](_0x5e9ed8[_0x264207(0x1ef)](_0x5e9ed8[_0x264207(0x22f)],_0x38dde0),'\x0a'),_0x2daf5f),'\x0a'),_0x5a1398));if(_0x5e9ed8[_0x264207(0x1cb)](_0x3901b0,_0x5e9ed8[_0x264207(0x1f2)])){const _0x2b0d8e={},_0xd4106e={};_0xd4106e[_0x264207(0x23d)]=_0x9bef3c,_0xd4106e[_0x264207(0x1a2)]=_0x5092e2,_0xd4106e[_0x264207(0x275)]=_0x44ca29,_0xd4106e[_0x264207(0x1df)]=_0x6b7d1c,_0xd4106e[_0x264207(0x1b3)]=_0x3ec937,_0x2b0d8e['stats']=_0xd4106e,_0x5092e2[_0x264207(0x1f4)](_0x2cd777=>{const _0xc0c1fc=_0x264207;_0x2b0d8e[_0x2cd777]={'pending':[],'failures':[],'passes':[],'tests':_0x230dcd[_0x2cd777][_0x5e9ed8[_0xc0c1fc(0x1f3)]]['map'](clean)},_0x230dcd[_0x2cd777][_0x5e9ed8[_0xc0c1fc(0x1f3)]][_0xc0c1fc(0x1f4)](_0x586c86=>{const _0x310c71=_0xc0c1fc;if(_0x5e9ed8[_0x310c71(0x1cb)](_0x586c86[_0x310c71(0x225)],_0x5e9ed8[_0x310c71(0x24a)]))_0x2b0d8e[_0x2cd777][_0x5e9ed8[_0x310c71(0x27c)]]['push'](_0x5e9ed8[_0x310c71(0x251)](clean,_0x586c86));else _0x5e9ed8[_0x310c71(0x266)](_0x586c86[_0x310c71(0x225)],_0x5e9ed8[_0x310c71(0x210)])?_0x2b0d8e[_0x2cd777][_0x5e9ed8[_0x310c71(0x1b4)]][_0x310c71(0x25b)](_0x5e9ed8[_0x310c71(0x25f)](clean,_0x586c86)):_0x2b0d8e[_0x2cd777][_0x5e9ed8[_0x310c71(0x1c1)]][_0x310c71(0x25b)](_0x5e9ed8[_0x310c71(0x20a)](clean,_0x586c86));});});if(_0x1b0212[_0x264207(0x1a5)])try{logger[_0x264207(0x265)](_0x5e9ed8[_0x264207(0x20d)],_0x1b0212['output']),fs[_0x264207(0x21f)](_0x1b0212[_0x264207(0x1a5)],JSON['stringify'](_0x2b0d8e,null,0x3));}catch(_0x4ea6cb){logger[_0x264207(0x21d)](_0x5e9ed8[_0x264207(0x1fb)],_0x1b0212[_0x264207(0x1a5)]),logger[_0x264207(0x265)](_0x4ea6cb);}else logger[_0x264207(0x265)](_0x5e9ed8[_0x264207(0x27d)]),console[_0x264207(0x200)](JSON[_0x264207(0x1bb)](_0x2b0d8e,null,0x3));}else{if(_0x5e9ed8[_0x264207(0x266)](_0x3901b0,_0x5e9ed8[_0x264207(0x222)])){let _0xa3fdcf;const _0xef6ea2=_0x5e9ed8['WJnuq'];_0x1b0212&&(_0xa3fdcf=_0x1b0212['suiteName']);_0xa3fdcf=_0x5e9ed8[_0x264207(0x1e8)](_0xa3fdcf,_0xef6ea2);let _0x2f0d1b=0x0,_0x2fc60e=0x0,_0x3251eb=0x0,_0x31a805=0x0;_0x5092e2[_0x264207(0x1f4)](_0x3c2cf2=>{const _0x372ebd=_0x264207;_0x230dcd[_0x3c2cf2][_0x5e9ed8[_0x372ebd(0x1f3)]][_0x372ebd(0x1f4)](_0x2e9469=>{const _0x37f59f=_0x372ebd;if(_0x5e9ed8[_0x37f59f(0x1cb)](_0x2e9469[_0x37f59f(0x225)],_0x5e9ed8[_0x37f59f(0x24a)]))_0x2f0d1b++;else _0x5e9ed8['UdOpW'](_0x2e9469[_0x37f59f(0x225)],_0x5e9ed8[_0x37f59f(0x210)])&&_0x2fc60e++;_0x3251eb++,_0x31a805+=_0x5e9ed8[_0x37f59f(0x263)](_0x2e9469[_0x37f59f(0x209)],0x1);});}),_0x5e9ed8[_0x264207(0x281)](xunitWrite,_0x5e9ed8[_0x264207(0x269)](tag,_0x5e9ed8[_0x264207(0x257)],{'name':_0xa3fdcf,'tests':_0x3251eb,'failures':0x0,'errors':_0x2fc60e,'skipped':_0x5e9ed8[_0x264207(0x236)](_0x5e9ed8[_0x264207(0x26d)](_0x3251eb,_0x2fc60e),_0x2f0d1b),'timestamp':new Date()[_0x264207(0x1c9)](),'time':_0x5e9ed8[_0x264207(0x259)](_0x31a805,0x3e8)||0x0},![])),_0x5092e2[_0x264207(0x1f4)](_0x4b7ead=>{const _0x425399=_0x264207;_0x230dcd[_0x4b7ead][_0x5e9ed8['DwWgf']][_0x425399(0x1f4)](_0xe69b00=>{_0x5e9ed8['ckXlQ'](xunitTest,_0xe69b00,_0x4b7ead);});}),_0x5e9ed8[_0x264207(0x1d2)](xunitWrite,_0x5e9ed8[_0x264207(0x1be)]);if(_0x1b0212[_0x264207(0x1a5)])try{logger['debug'](_0x5e9ed8[_0x264207(0x1e9)],_0x1b0212['output']),fs[_0x264207(0x21f)](_0x1b0212[_0x264207(0x1a5)],xunitContent);}catch(_0x1ce48f){logger[_0x264207(0x21d)](_0x5e9ed8[_0x264207(0x1e4)],_0x1b0212[_0x264207(0x1a5)]),logger[_0x264207(0x265)](_0x1ce48f);}else logger[_0x264207(0x265)](_0x5e9ed8[_0x264207(0x283)]),console[_0x264207(0x200)](xunitContent);}else{if(_0x5e9ed8['UdOpW'](_0x44ca29,0x0))return;console[_0x264207(0x200)](),logger[_0x264207(0x265)](_0x5e9ed8['zSuLN']),console['log'](chalk[_0x264207(0x216)][_0x264207(0x1ca)](_0x5e9ed8[_0x264207(0x27b)])),_0x5092e2[_0x264207(0x1f4)](_0x3bd5f3=>{const _0x4d2431=_0x264207,_0xe065ea={'eoDXM':function(_0x33b9b2,_0x347151){const _0x384eec=a26_0x3beb;return _0x5e9ed8[_0x384eec(0x266)](_0x33b9b2,_0x347151);},'pMSJa':_0x5e9ed8[_0x4d2431(0x210)]},_0x21848e=[];_0x230dcd[_0x3bd5f3][_0x5e9ed8['DwWgf']][_0x4d2431(0x1f4)](_0x5b53f6=>{const _0x2b7f49=_0x4d2431;_0xe065ea[_0x2b7f49(0x1e5)](_0x5b53f6['state'],_0xe065ea[_0x2b7f49(0x247)])&&(_0x5b53f6[_0x2b7f49(0x1d3)]=()=>_0x5b53f6[_0x2b7f49(0x217)],_0x21848e['push'](_0x5b53f6));}),_0x5e9ed8[_0x4d2431(0x1b1)](_0x21848e['length'],0x0)&&(Base[_0x4d2431(0x262)](),Base[_0x4d2431(0x262)](_0x5e9ed8['KJiku'](_0x326987),chalk[_0x4d2431(0x216)][_0x4d2431(0x21e)](_0x3bd5f3)),Base[_0x4d2431(0x1d6)](_0x21848e));});}}}async function run(_0xe4ffa1,_0x3d41e5){const _0xa7cc14=a26_0x2a4b90,_0x569068={'SiBVt':function(_0x33e9c6,_0x3e68dd,_0x645a6f,_0x3c0f6a){return _0x33e9c6(_0x3e68dd,_0x645a6f,_0x3c0f6a);},'DacAg':'reporter-option','sKmww':_0xa7cc14(0x1dd),'IaTju':_0xa7cc14(0x1b9),'yQRAY':'--disable-test-observability','NxSno':_0xa7cc14(0x1c8),'iezCu':function(_0x41421d,_0x3a5453){return _0x41421d!=_0x3a5453;},'bxPsG':_0xa7cc14(0x24c),'blWHs':_0xa7cc14(0x1f1),'aRFAd':_0xa7cc14(0x26c),'BULwb':_0xa7cc14(0x22c),'pJQBb':function(_0x4e2bce,_0x9579e7){return _0x4e2bce(_0x9579e7);},'FMSKJ':_0xa7cc14(0x1c6),'mQLsJ':_0xa7cc14(0x242),'WUecQ':function(_0x36cbaf,_0x25bf57){return _0x36cbaf*_0x25bf57;},'tIwIC':function(_0x384f2e,_0x398e37){return _0x384f2e!==_0x398e37;}};process['argv'][_0xa7cc14(0x21a)](_0x569068[_0xa7cc14(0x238)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0xa7cc14(0x25d)][_0xa7cc14(0x21a)](_0x569068[_0xa7cc14(0x24b)])&&(process[_0xa7cc14(0x1f7)][_0xa7cc14(0x202)]=![]);const _0x3773de=new BrowserStackSetup(_0xe4ffa1,_0x569068[_0xa7cc14(0x1dc)]);helper['isBrowserstackInfra']()&&(await _0x3773de[_0xa7cc14(0x1cc)](),await helper['handleApp'](_0x3773de['config']));const _0x32fd58=[],_0xa1cd1e=[];if(!_0x3773de[_0xa7cc14(0x208)])return;_0x569068[_0xa7cc14(0x22d)](_0x3773de[_0xa7cc14(0x208)]['testObservability'],null)&&(process[_0xa7cc14(0x1f7)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3773de[_0xa7cc14(0x208)][_0xa7cc14(0x26a)]);!helper['isUndefined'](_0x3773de[_0xa7cc14(0x208)]['accessibility'])&&(process[_0xa7cc14(0x1f7)][_0xa7cc14(0x268)]=_0x3773de[_0xa7cc14(0x208)]['accessibility']);!helper['isUndefined'](_0x3773de['config'][_0xa7cc14(0x1b6)])&&(process[_0xa7cc14(0x1f7)][_0xa7cc14(0x248)]=JSON[_0xa7cc14(0x1bb)](_0x3773de[_0xa7cc14(0x208)]['accessibilityOptions']));const {extension:extension=['js',_0x569068[_0xa7cc14(0x1a4)],_0x569068[_0xa7cc14(0x23c)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x569068[_0xa7cc14(0x215)]]}=_0xe4ffa1,_0x27c3d1={..._0xe4ffa1};_0x27c3d1['rootHooks']=null;const _0x56b5f4=_0x27c3d1;let _0x3fec07;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0xa7cc14(0x214)]()){let _0xa1b1ce=process[_0xa7cc14(0x1f7)][_0xa7cc14(0x254)];!helper[_0xa7cc14(0x1b7)](_0x3773de[_0xa7cc14(0x1c0)])&&_0x3773de[_0xa7cc14(0x1c0)][_0xa7cc14(0x1f8)](_0x569068['BULwb'])&&(_0xa1b1ce=_0x3773de[_0xa7cc14(0x1c0)][_0xa7cc14(0x285)](_0x569068[_0xa7cc14(0x1b5)])),_0x3fec07=testOpsHelper[_0xa7cc14(0x24d)](_0xa1b1ce);}if(helper[_0xa7cc14(0x1b7)](_0x3fec07)){const _0x1a4dc0={};_0x1a4dc0[_0xa7cc14(0x20c)]=ignore,_0x1a4dc0['extension']=extension,_0x1a4dc0[_0xa7cc14(0x1a1)]=file,_0x1a4dc0[_0xa7cc14(0x26b)]=recursive,_0x1a4dc0['sort']=sort,_0x1a4dc0[_0xa7cc14(0x1c7)]=spec,_0x3fec07=_0x569068[_0xa7cc14(0x1d0)](collectFiles,_0x1a4dc0);}helper[_0xa7cc14(0x1f9)]();if(!helper['isBrowserstackInfra']()){const _0x21e209=0x1,_0x4bd8c6={..._0x56b5f4};_0x4bd8c6[_0xa7cc14(0x1c7)]=[..._0x3fec07],_0x32fd58[_0xa7cc14(0x25b)]({'mochaOpts':_0x4bd8c6,'configuration':{'platform':os[_0xa7cc14(0x284)]()}}),logger['info'](_0x569068['FMSKJ']),logger[_0xa7cc14(0x1a6)](_0x569068[_0xa7cc14(0x1bc)]),_0x569068[_0xa7cc14(0x226)](parallelTestRun,_0x32fd58,_0x21e209,_0x3773de[_0xa7cc14(0x208)])[_0xa7cc14(0x1e2)](_0x49758b=>{const _0x32d49a=_0xa7cc14;_0x569068[_0x32d49a(0x226)](printStats,_0x49758b,_0xe4ffa1[_0x32d49a(0x1c2)],_0xe4ffa1['reporterOptions']||_0xe4ffa1[_0x569068['DacAg']]);})[_0xa7cc14(0x1b2)](()=>{const _0x1c549d=_0xa7cc14;try{helper[_0x1c549d(0x288)](_0x569068[_0x1c549d(0x1e6)],{},_0x3773de['config'],_0x3773de['framework']);}catch(_0x17a805){logger[_0x1c549d(0x265)](_0x1c549d(0x258)+_0x17a805);}try{helper[_0x1c549d(0x23e)]();}catch(_0x57c101){logger[_0x1c549d(0x265)](_0x1c549d(0x1c4)+_0x57c101);}testOpsHelper[_0x1c549d(0x24e)]();});}else{const _0x12bf95=_0x569068[_0xa7cc14(0x276)](_0x3773de[_0xa7cc14(0x208)][_0xa7cc14(0x1a2)][_0xa7cc14(0x1b8)],_0x3773de[_0xa7cc14(0x208)]['parallelsPerPlatform']),_0x19d116=helper[_0xa7cc14(0x204)](_0x3773de[_0xa7cc14(0x208)]),_0x2a96ac=helper[_0xa7cc14(0x1ee)](_0x3773de[_0xa7cc14(0x208)]);_0x3773de[_0xa7cc14(0x208)]['platforms']['forEach']((_0x246e3e,_0xd4c91e)=>{const _0x1740b6=_0xa7cc14;_0x19d116?_0xa1cd1e['push'](helper[_0x1740b6(0x1c5)](_0x3773de[_0x1740b6(0x208)],_0x569068[_0x1740b6(0x1dc)],_0xd4c91e)):_0xa1cd1e['push'](helper[_0x1740b6(0x22a)](_0x3773de[_0x1740b6(0x208)],_0x569068['IaTju'],_0xd4c91e));});const _0x200913=_0x569068['pJQBb'](getPercyOptions,_0x3773de[_0xa7cc14(0x208)]);if(_0x569068['tIwIC'](_0x3773de[_0xa7cc14(0x208)][_0xa7cc14(0x1e0)],0x1))_0x3fec07[_0xa7cc14(0x1f4)](_0x59a005=>{const _0x4bbc01=_0xa7cc14,_0x4a66e4=[];_0xa1cd1e[_0x4bbc01(0x1f4)]((_0x19b328,_0x2482ed)=>{const _0x513307=_0x4bbc01,_0x17631e={};_0x17631e[_0x513307(0x1c7)]=[_0x59a005],_0x4a66e4[_0x513307(0x25b)]({'mochaOpts':Object[_0x513307(0x24f)]({},_0x56b5f4,_0x17631e),'configuration':{'server':_0x2a96ac,'capability':_0x19b328,'proxySettings':_0x3773de[_0x513307(0x208)][_0x513307(0x27e)],'platform':helper[_0x513307(0x219)](_0x19b328),'browserStackLogLevel':_0x3773de[_0x513307(0x208)]['logLevel'],'platformIndex':_0x2482ed,'browserStackPercyOptions':_0x200913,'platformCaps':_0x3773de[_0x513307(0x208)][_0x513307(0x1a2)][_0x2482ed]}});}),_0x32fd58[_0x4bbc01(0x25b)](..._0x4a66e4);});else{const _0x2456fc=[];_0xa1cd1e[_0xa7cc14(0x1f4)]((_0xff8cd8,_0x3a9fc7)=>{const _0x1fb400=_0xa7cc14;let _0x4232db=Object[_0x1fb400(0x24f)]({},_0x56b5f4);testOpsHelper[_0x1fb400(0x27a)]()&&testOpsHelper[_0x1fb400(0x214)]()&&(_0x4232db={..._0x4232db,'spec':[..._0x3fec07]}),_0x2456fc['push']({'mochaOpts':_0x4232db,'configuration':{'server':_0x2a96ac,'capability':_0xff8cd8,'proxySettings':_0x3773de[_0x1fb400(0x208)][_0x1fb400(0x27e)],'platform':helper[_0x1fb400(0x219)](_0xff8cd8),'browserStackLogLevel':_0x3773de[_0x1fb400(0x208)][_0x1fb400(0x26e)],'platformIndex':_0x3a9fc7,'browserStackPercyOptions':_0x200913,'platformCaps':_0x3773de[_0x1fb400(0x208)][_0x1fb400(0x1a2)][_0x3a9fc7]}});}),_0x32fd58[_0xa7cc14(0x25b)](..._0x2456fc);}logger[_0xa7cc14(0x1a6)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x3773de[_0xa7cc14(0x208)]['platforms'][_0xa7cc14(0x1b8)]+_0xa7cc14(0x218)),logger[_0xa7cc14(0x1a6)](_0x569068[_0xa7cc14(0x1bc)]);let _0x46ff26;_0x569068['SiBVt'](parallelTestRun,_0x32fd58,_0x12bf95,_0x3773de[_0xa7cc14(0x208)])[_0xa7cc14(0x1e2)](_0x2b47db=>{const _0x90e87c=_0xa7cc14;_0x46ff26=_0x2b47db,_0x569068[_0x90e87c(0x226)](printStats,_0x2b47db,_0xe4ffa1[_0x90e87c(0x1c2)],_0xe4ffa1[_0x90e87c(0x227)]||_0xe4ffa1[_0x569068[_0x90e87c(0x278)]]);})['finally'](async()=>{const _0x2456fb=_0xa7cc14;_0x3773de['errorMessage']=helper[_0x2456fb(0x201)](_0x46ff26,_0x569068[_0x2456fb(0x1dc)]),await helper[_0x2456fb(0x213)](_0x3773de),testOpsHelper['printBuildLink']();});}}function a26_0x3beb(_0x194006,_0x4fe319){const _0x3fb516=a26_0x3fb5();return a26_0x3beb=function(_0x3beb11,_0x4ba405){_0x3beb11=_0x3beb11-0x1a0;let _0xdfb0cf=_0x3fb516[_0x3beb11];return _0xdfb0cf;},a26_0x3beb(_0x194006,_0x4fe319);}module[a26_0x2a4b90(0x21c)]=run;
|
|
2
|
+
'use strict';const a26_0x138b65=a26_0x262e;(function(_0x4cca14,_0xea148c){const _0x2c1b58=a26_0x262e,_0x32a705=_0x4cca14();while(!![]){try{const _0x19bbea=-parseInt(_0x2c1b58(0x1d5))/0x1*(parseInt(_0x2c1b58(0x1f3))/0x2)+parseInt(_0x2c1b58(0x1c1))/0x3*(-parseInt(_0x2c1b58(0x217))/0x4)+parseInt(_0x2c1b58(0x1d9))/0x5*(-parseInt(_0x2c1b58(0x1f9))/0x6)+parseInt(_0x2c1b58(0x1b9))/0x7*(-parseInt(_0x2c1b58(0x1d1))/0x8)+parseInt(_0x2c1b58(0x17f))/0x9*(-parseInt(_0x2c1b58(0x1bc))/0xa)+parseInt(_0x2c1b58(0x17b))/0xb*(parseInt(_0x2c1b58(0x18c))/0xc)+parseInt(_0x2c1b58(0x259))/0xd*(parseInt(_0x2c1b58(0x186))/0xe);if(_0x19bbea===_0xea148c)break;else _0x32a705['push'](_0x32a705['shift']());}catch(_0x9db6a3){_0x32a705['push'](_0x32a705['shift']());}}}(a26_0x5dd9,0x22eb3));function a26_0x262e(_0x531f6d,_0x34a6cc){const _0x5dd983=a26_0x5dd9();return a26_0x262e=function(_0x262ea2,_0x6eb659){_0x262ea2=_0x262ea2-0x17b;let _0x1cb0bd=_0x5dd983[_0x262ea2];return _0x1cb0bd;},a26_0x262e(_0x531f6d,_0x34a6cc);}const chalk=require(a26_0x138b65(0x1b2)),logger=require(a26_0x138b65(0x252))['winstonLogger'],{default:BrowserStackSetup}=require(a26_0x138b65(0x239)),helper=require(a26_0x138b65(0x210)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x138b65(0x20a)),{requireModule}=require(a26_0x138b65(0x210)),{getPercyOptions}=require(a26_0x138b65(0x1fa)),Base=requireModule(a26_0x138b65(0x1ae)),collectFiles=requireModule('mocha/lib/cli/collect-files.js');function tag(_0x221062,_0x5cd25f,_0x73092f,_0x4c195f){const _0x1f739a=a26_0x138b65,_0x4c7a9e={'wctBa':function(_0xf39253,_0x520b3c){return _0xf39253+_0x520b3c;},'VoCpz':function(_0x5f352e,_0x340800){return _0x5f352e+_0x340800;},'qvUHk':function(_0x21b80a,_0x501aa9){return _0x21b80a(_0x501aa9);},'GAypS':function(_0x57c9ba,_0x2c3eb4){return _0x57c9ba+_0x2c3eb4;},'Xfovf':function(_0x1b0dce,_0x2a77e8){return _0x1b0dce+_0x2a77e8;},'VyNwe':function(_0x327a25,_0x323208){return _0x327a25+_0x323208;},'RkBZd':function(_0x139991,_0x548d4f){return _0x139991+_0x548d4f;}},_0x5a86dd=_0x73092f?'/>':'>',_0x5ab715=[];let _0x3ed1a3;for(const _0x2fa039 in _0x5cd25f){Object[_0x1f739a(0x196)][_0x1f739a(0x1eb)][_0x1f739a(0x264)](_0x5cd25f,_0x2fa039)&&_0x5ab715['push'](_0x4c7a9e[_0x1f739a(0x218)](_0x4c7a9e['wctBa'](_0x4c7a9e[_0x1f739a(0x1a3)](_0x2fa039,'=\x22'),_0x4c7a9e[_0x1f739a(0x1b5)](escape,_0x5cd25f[_0x2fa039])),'\x22'));}return _0x3ed1a3=_0x4c7a9e[_0x1f739a(0x218)](_0x4c7a9e[_0x1f739a(0x1d7)](_0x4c7a9e[_0x1f739a(0x1d7)]('<',_0x221062),_0x5ab715[_0x1f739a(0x25f)]?_0x4c7a9e[_0x1f739a(0x218)]('\x20',_0x5ab715[_0x1f739a(0x1a8)]('\x20')):''),_0x5a86dd),_0x4c195f&&(_0x3ed1a3+=_0x4c7a9e['Xfovf'](_0x4c7a9e[_0x1f739a(0x20b)](_0x4c7a9e[_0x1f739a(0x25d)](_0x4c195f,'</'),_0x221062),_0x5a86dd)),_0x3ed1a3;}let xunitContent='';function xunitWrite(_0xca262d){xunitContent+=_0xca262d;}function xunitTest(_0x2c1df0,_0x16508f){const _0x27afc8=a26_0x138b65,_0x2b9574={'NSINp':function(_0x133671,_0x2f7758){return _0x133671/_0x2f7758;},'ODRaK':function(_0x59ba5e,_0x2e1871){return _0x59ba5e===_0x2e1871;},'eKtBa':_0x27afc8(0x19b),'gzMsF':function(_0x927d49,_0x4fa30d){return _0x927d49+_0x4fa30d;},'ZKuGp':function(_0x3ecdff,_0x515f7b){return _0x3ecdff(_0x515f7b);},'PgIYb':function(_0x14ecdd,_0xdc4193,_0x24880a,_0x36f169,_0x8ae97e){return _0x14ecdd(_0xdc4193,_0x24880a,_0x36f169,_0x8ae97e);},'nlRcp':_0x27afc8(0x1df),'iNagh':function(_0x3e1a70,_0x457029,_0x56a2d0,_0x1d8bc2,_0x178e23){return _0x3e1a70(_0x457029,_0x56a2d0,_0x1d8bc2,_0x178e23);},'UfXMP':_0x27afc8(0x1e5),'cNjZh':function(_0x1afbc6,_0x36f637){return _0x1afbc6+_0x36f637;},'pFcke':function(_0x238b67,_0x4c3731){return _0x238b67+_0x4c3731;},'XhWaW':function(_0x346e93,_0x47d916){return _0x346e93(_0x47d916);},'lJvSD':function(_0x375136,_0x3d83ea,_0x2aad2d,_0x3a4cf0,_0x13c986){return _0x375136(_0x3d83ea,_0x2aad2d,_0x3a4cf0,_0x13c986);},'drnpF':function(_0x10040e,_0x23f663,_0x3849fd,_0xce87dc){return _0x10040e(_0x23f663,_0x3849fd,_0xce87dc);},'WjMrB':_0x27afc8(0x243),'lSNgZ':function(_0x114881,_0x2074e8,_0x4e886d,_0x2039bd){return _0x114881(_0x2074e8,_0x4e886d,_0x2039bd);}};Base['useColors']=![];var _0xb2c27b={'classname':_0x2c1df0[_0x27afc8(0x1fb)],'name':_0x2c1df0['title'],'time':_0x2b9574[_0x27afc8(0x1fc)](_0x2c1df0[_0x27afc8(0x1a4)],0x3e8)||0x0,'platform':_0x16508f};if(_0x2b9574[_0x27afc8(0x1aa)](_0x2c1df0[_0x27afc8(0x200)],_0x2b9574['eKtBa'])){var _0x1daef4=_0x2c1df0[_0x27afc8(0x1f1)],_0x3a5c8c=!Base[_0x27afc8(0x18f)]&&Base[_0x27afc8(0x1d2)](_0x1daef4)?_0x2b9574['gzMsF']('\x0a',Base['generateDiff'](_0x1daef4[_0x27afc8(0x201)],_0x1daef4[_0x27afc8(0x23f)])):'';_0x2b9574['ZKuGp'](xunitWrite,_0x2b9574['PgIYb'](tag,_0x2b9574[_0x27afc8(0x223)],_0xb2c27b,![],_0x2b9574['iNagh'](tag,_0x2b9574[_0x27afc8(0x197)],{},![],_0x2b9574[_0x27afc8(0x214)](_0x2b9574['cNjZh'](_0x2b9574[_0x27afc8(0x1ed)](_0x2b9574['ZKuGp'](escape,_0x1daef4[_0x27afc8(0x255)]),_0x2b9574[_0x27afc8(0x220)](escape,_0x3a5c8c)),'\x0a'),_0x2b9574[_0x27afc8(0x220)](escape,_0x1daef4[_0x27afc8(0x1e3)])))));}else _0x2c1df0[_0x27afc8(0x20e)]?_0x2b9574['XhWaW'](xunitWrite,_0x2b9574[_0x27afc8(0x1f7)](tag,_0x2b9574[_0x27afc8(0x223)],_0xb2c27b,![],_0x2b9574['drnpF'](tag,_0x2b9574['WjMrB'],{},!![]))):_0x2b9574[_0x27afc8(0x219)](xunitWrite,_0x2b9574[_0x27afc8(0x1c2)](tag,_0x2b9574[_0x27afc8(0x223)],_0xb2c27b,!![]));};function a26_0x5dd9(){const _0x5e4a25=['qvUHk','jyaqM','BhhmT','getHubUrl','548597eMrkKY','Running\x20your\x20mocha\x20tests','RfOFJ','1050iJwaSE','nDTIJ','list','keys','stringify','4119ALoIjf','lSNgZ','JUmLI','keYRY','WdENB','suiteName','wXKmK','OnlqW','CZdRV','assign','enFUD','forEach','spec','pyzci','AWjtG','aYIVi','24qKojBa','showDiff','red','handleApp','1unQBNM','yVady','GAypS','DSitL','1060NhDYsx','FvSiL','WatWz','shouldReRunObservabilityTests','Running\x20your\x20mocha\x20tests\x20across\x20','Nkrcv','testcase','fireFunnelTestEvent','stats','markSDKSetupComplete','stack','CCdQC','failure','getPlatformName','xyEPw','map','finally','info','hasOwnProperty','accessibilityOptions','pFcke','SDKTestSuccessful','mQQht','testSuites','err','Now,\x20showing\x20logs\x20from\x20mocha','510502HQAEzs','env','json','mjs','lJvSD','wyyTE','4128tGSCIK','../../helpers/percy/utils','fullTitle','NSINp','passed','CDDpf','FUhyK','state','actual','reporter-option','slauI','logLevel','consoleLog','EXNAK','kCkEP','yellow','fKHmy','../test-runner','VyNwe','mocha','DyyGN','isPending','testsPassed','../../helpers/helper','testsFailed','EMpfe','fTWwY','cNjZh','PoRCy','vnYNI','132fPClPW','wctBa','XhWaW','titlePath','file','error','Total\x20Suites:\x20','exports','JAVzd','ZKuGp','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','recursive','nlRcp','TLUfF','iywnx','config','currentRetry','****\x20FAILURES\x20****','proxySettings','mUTKf','wpNvg','pending','cjs','isBrowserstackInfra','\x20total','reporterOptions','modifyBrowserStackW3CCaps','MQPaN','BROWSERSTACK_TEST_OBSERVABILITY','QbVQr','vnVSP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','push','\x20platforms','../../helpers/BrowserStackSetup','notifyUpdate','mnjtH','TVwCB','obbme','title','expected','object','bgRedBright','output','skipped','get','testsuite','printBuildLink','then','titlePathV','passes','reporter','vkffR','Couldn\x27t\x20write\x20xunit\x20result\x20to','debug','Setting\x20non\x20exit\x20code\x20for\x20failures','EIdLt','XOMko','UtNYf','../../helpers/logger','KBAqf','parallelsPerPlatform','message','Listing\x20all\x20the\x20failures','testsPending','speed','1430923gWQOYY','tCtyL','DeQgh','BROWSERSTACK_AUTOMATION','RkBZd','vczAG','length','errorMessage','AuXlv','Couldn\x27t\x20write\x20json\x20result\x20to','min','call','CEebP','cliConfig','33DIiPUp','jMxwD','argv','</testsuite>','6129YbUcSk','BjNBq','modifyBrowserStackCaps','DLrPE','iQOJD','OmFUS','XMskT','84yIeOfx','mkSWD','bold','platforms','getOwnPropertyNames','olgqY','942540KgrcXL','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','pioWI','hideDiff','EcUYa','nPkTb','useW3C','sort','rerunTests','isUndefined','prototype','UfXMP','PfhzH','includes','Currf','failed','jwrmp','\x20failed','results','SpIvg','failures','cwirK','bgBlueBright','VoCpz','duration','HKjii','finalExecution','add','join','testObservability','ODRaK','cCfzA','icAeD','rootHooks','mocha/lib/reporters/base.js','accessibility','BROWSERSTACK_RERUN_TESTS','parseFileNames','chalk','Writing\x20xunit\x20result\x20to\x20file','log'];a26_0x5dd9=function(){return _0x5e4a25;};return a26_0x5dd9();}function getStats(_0x5524a0){const _0x14ac7f=a26_0x138b65,_0x59d8d4={};_0x59d8d4[_0x14ac7f(0x1db)]='suite',_0x59d8d4['keYRY']=_0x14ac7f(0x1fd),_0x59d8d4[_0x14ac7f(0x1bd)]=_0x14ac7f(0x19b),_0x59d8d4['olgqY']=_0x14ac7f(0x19e);const _0x4b7f36=_0x59d8d4,_0x558cb7=Object[_0x14ac7f(0x1bf)](_0x5524a0);let _0x3ce1ce=0x0,_0x30a49a=0x0,_0x3be8b3=0x0,_0x460257=0x0;const _0x53f840=new Set();_0x558cb7[_0x14ac7f(0x1cc)](_0x111930=>{const _0x303876=_0x14ac7f,_0x418a12={};_0x418a12[_0x303876(0x225)]=_0x4b7f36[_0x303876(0x1db)],_0x418a12[_0x303876(0x209)]=_0x4b7f36[_0x303876(0x1c4)],_0x418a12['giiAp']=_0x4b7f36[_0x303876(0x1bd)];const _0x473015=_0x418a12;_0x5524a0[_0x111930][_0x4b7f36[_0x303876(0x18b)]][_0x303876(0x1cc)](_0x2ac714=>{const _0x12372d=_0x303876;_0x53f840[_0x12372d(0x1a7)](_0x2ac714[_0x473015[_0x12372d(0x225)]]),_0x3ce1ce++;switch(_0x2ac714[_0x12372d(0x200)]){case _0x473015[_0x12372d(0x209)]:_0x3be8b3++;break;case _0x473015['giiAp']:_0x30a49a++;break;default:_0x460257++;}});});const _0x516204={};return _0x516204['testSuites']=_0x53f840['size'],_0x516204['platforms']=_0x558cb7,_0x516204['totalTests']=_0x3ce1ce,_0x516204[_0x14ac7f(0x211)]=_0x30a49a,_0x516204['testsPassed']=_0x3be8b3,_0x516204['testsPending']=_0x460257,_0x516204;}function errorJSON(_0x1a08f4){const _0x89d062=a26_0x138b65;var _0x3fab0e={};return Object[_0x89d062(0x18a)](_0x1a08f4)[_0x89d062(0x1cc)](function(_0x34c9c6){_0x3fab0e[_0x34c9c6]=_0x1a08f4[_0x34c9c6];},_0x1a08f4),_0x3fab0e;}function cleanCycles(_0x2c0647){const _0x283040=a26_0x138b65,_0x3dbeee={};_0x3dbeee['mUTKf']=function(_0x5cba0f,_0xba552f){return _0x5cba0f===_0xba552f;},_0x3dbeee['RfOFJ']=_0x283040(0x240),_0x3dbeee['DeQgh']=function(_0x309c79,_0x2a5ac8){return _0x309c79!==_0x2a5ac8;},_0x3dbeee[_0x283040(0x24f)]=function(_0xee4af7,_0x5dc78d){return _0xee4af7!==_0x5dc78d;},_0x3dbeee[_0x283040(0x253)]=function(_0x8a9547,_0x3535b4){return _0x8a9547+_0x3535b4;};const _0x530e0f=_0x3dbeee;var _0x54a7aa=[];return JSON['parse'](JSON[_0x283040(0x1c0)](_0x2c0647,function(_0x5a56a8,_0x58e368){const _0x5e5962=_0x283040;if(_0x530e0f[_0x5e5962(0x22a)](typeof _0x58e368,_0x530e0f[_0x5e5962(0x1bb)])&&_0x530e0f[_0x5e5962(0x25b)](_0x58e368,null)){if(_0x530e0f[_0x5e5962(0x24f)](_0x54a7aa['indexOf'](_0x58e368),-0x1))return _0x530e0f[_0x5e5962(0x253)]('',_0x58e368);_0x54a7aa[_0x5e5962(0x237)](_0x58e368);}return _0x58e368;}));}function clean(_0x2728d6){const _0x4bc36c=a26_0x138b65,_0x580447={'SSKdV':function(_0x3be360,_0x4f184e){return _0x3be360 instanceof _0x4f184e;},'SKROD':function(_0x2454f5,_0x17aa03){return _0x2454f5(_0x17aa03);},'cCfzA':function(_0x4eea89,_0x4c1abb){return _0x4eea89(_0x4c1abb);}};var _0xbc696a=_0x2728d6[_0x4bc36c(0x1f1)]||{};return _0x580447['SSKdV'](_0xbc696a,Error)&&(_0xbc696a=_0x580447['SKROD'](errorJSON,_0xbc696a)),{'title':_0x2728d6[_0x4bc36c(0x23e)],'fullTitle':_0x2728d6[_0x4bc36c(0x1fb)],'file':_0x2728d6[_0x4bc36c(0x21b)],'duration':_0x2728d6[_0x4bc36c(0x1a4)],'currentRetry':_0x2728d6[_0x4bc36c(0x227)],'speed':_0x2728d6[_0x4bc36c(0x258)],'err':_0x580447[_0x4bc36c(0x1ab)](cleanCycles,_0xbc696a)};}function printStats(_0x1b36a3,_0x227181='spec',_0x224755={}){const _0x1f4473=a26_0x138b65,_0x53f10b={'WdENB':function(_0x2784b3,_0x15815d){return _0x2784b3(_0x15815d);},'wyyTE':function(_0x1bc3df,_0x38b18d){return _0x1bc3df===_0x38b18d;},'DyyGN':_0x1f4473(0x1fd),'OmFUS':_0x1f4473(0x249),'wXKmK':'failed','FvSiL':_0x1f4473(0x1a0),'EVhFz':_0x1f4473(0x22c),'JAVzd':'results','jyaqM':function(_0x2cc3e7,_0x114083){return _0x2cc3e7===_0x114083;},'CZdRV':function(_0x318a3e,_0x19d5bb){return _0x318a3e*_0x19d5bb;},'MQPaN':function(_0x59830b,_0x33cbee,_0x52ed24){return _0x59830b(_0x33cbee,_0x52ed24);},'kCkEP':function(_0x3e7986,_0x116cf4){return _0x3e7986>_0x116cf4;},'fTWwY':function(_0x22352f){return _0x22352f();},'HZSOc':'doc','jQmAp':function(_0x4f0198,_0x17912f){return _0x4f0198>_0x17912f;},'CEebP':_0x1f4473(0x24e),'BjNBq':'Printing\x20stats\x20of\x20tests','wpNvg':function(_0x4caf00,_0x18aa19){return _0x4caf00+_0x18aa19;},'gxBFF':'Total\x20Platforms:\x20','CDDpf':function(_0x4867c4,_0x563229){return _0x4867c4+_0x563229;},'CCdQC':_0x1f4473(0x21d),'AWjtG':function(_0x175f5e,_0x152682){return _0x175f5e+_0x152682;},'lXgoL':function(_0x13536d,_0x3e97db){return _0x13536d+_0x3e97db;},'iQOJD':'Tests:\x20\x20\x20\x20\x20\x20\x20','obbme':function(_0x5eb19a,_0x1438f8){return _0x5eb19a+_0x1438f8;},'FUhyK':function(_0x5d1c7c,_0x59730f){return _0x5d1c7c+_0x59730f;},'JUmLI':function(_0x576cd3,_0x216a9f){return _0x576cd3+_0x216a9f;},'QjwGZ':'\x0a\x0a\x0a','tCtyL':function(_0x4cc902,_0x53e5df){return _0x4cc902===_0x53e5df;},'pyzci':_0x1f4473(0x1f5),'slauI':'Writing\x20json\x20result\x20to\x20file','DLrPE':_0x1f4473(0x262),'AuXlv':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','jMxwD':function(_0x2ba3d3,_0xee90d5){return _0x2ba3d3===_0xee90d5;},'VRtNx':'xunit','VhTtF':'Mocha\x20Tests','vLFkR':function(_0x31c0cf,_0x2ac9f2){return _0x31c0cf||_0x2ac9f2;},'mnjtH':function(_0x4a69f8,_0x2ec051){return _0x4a69f8(_0x2ec051);},'FYhcN':function(_0x2960aa,_0x519ffd,_0x2649c6,_0x492373){return _0x2960aa(_0x519ffd,_0x2649c6,_0x492373);},'XOMko':_0x1f4473(0x245),'enFUD':function(_0x25ae67,_0x401a98){return _0x25ae67-_0x401a98;},'nPkTb':function(_0x1acf07,_0x2c3ad6){return _0x1acf07-_0x2c3ad6;},'ypavy':function(_0x55b05f,_0x4274a3){return _0x55b05f/_0x4274a3;},'EMpfe':function(_0x5c0748,_0x3cf7d5){return _0x5c0748(_0x3cf7d5);},'yVady':_0x1f4473(0x17e),'pioWI':_0x1f4473(0x1b3),'EeCUf':_0x1f4473(0x24c),'DSitL':_0x1f4473(0x18d),'PfhzH':function(_0x45035a,_0x22c9c5){return _0x45035a===_0x22c9c5;},'TLUfF':_0x1f4473(0x256),'aYIVi':_0x1f4473(0x228)};if(_0x53f10b[_0x1f4473(0x1f8)](_0x227181,_0x53f10b['HZSOc']))return;const _0x1b7444=0x0,_0x321d6f=()=>{const _0x3044a9=_0x1f4473;return _0x53f10b[_0x3044a9(0x1c5)](Array,_0x1b7444)[_0x3044a9(0x1a8)]('\x20\x20');},{testSuites:_0x8f6c31,platforms:_0x3cd317,totalTests:_0x149707,testsFailed:_0x1ff6e9,testsPassed:_0x3c35e9,testsPending:_0x384d17}=_0x53f10b[_0x1f4473(0x1c5)](getStats,_0x1b36a3);_0x53f10b['jQmAp'](_0x1ff6e9,0x0)&&(logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x265)]),process['exitCode']=Math[_0x1f4473(0x263)](_0x1ff6e9,0xff));logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x180)]);const _0x1e0ab1=''+_0x53f10b[_0x1f4473(0x22b)](chalk[_0x1f4473(0x188)](_0x53f10b['gxBFF']),_0x3cd317[_0x1f4473(0x25f)]),_0x2ef20a=''+_0x53f10b[_0x1f4473(0x1fe)](chalk[_0x1f4473(0x188)](_0x53f10b[_0x1f4473(0x1e4)]),_0x8f6c31),_0x137773=''+_0x53f10b[_0x1f4473(0x1cf)](_0x53f10b['lXgoL'](_0x53f10b[_0x1f4473(0x22b)](chalk[_0x1f4473(0x188)](_0x53f10b[_0x1f4473(0x183)]),_0x53f10b[_0x1f4473(0x207)](_0x1ff6e9,0x0)?chalk[_0x1f4473(0x188)][_0x1f4473(0x1d3)](_0x1ff6e9+_0x1f4473(0x19d))+',\x20':''),_0x53f10b['kCkEP'](_0x384d17,0x0)?chalk[_0x1f4473(0x188)][_0x1f4473(0x208)](_0x384d17+'\x20skipped')+',\x20':''),_0x53f10b[_0x1f4473(0x207)](_0x3c35e9,0x0)?chalk[_0x1f4473(0x188)]['green'](_0x3c35e9+'\x20passed')+',\x20':'')+_0x149707+_0x1f4473(0x22f);console[_0x1f4473(0x1b4)](_0x53f10b[_0x1f4473(0x1fe)](_0x53f10b[_0x1f4473(0x23d)](_0x53f10b[_0x1f4473(0x1ff)](_0x53f10b['obbme'](_0x53f10b[_0x1f4473(0x1c3)](_0x53f10b['QjwGZ'],_0x1e0ab1),'\x0a'),_0x2ef20a),'\x0a'),_0x137773));if(_0x53f10b[_0x1f4473(0x25a)](_0x227181,_0x53f10b[_0x1f4473(0x1ce)])){const _0x20b0f1={},_0x5ec93a={};_0x5ec93a[_0x1f4473(0x1f0)]=_0x8f6c31,_0x5ec93a[_0x1f4473(0x189)]=_0x3cd317,_0x5ec93a[_0x1f4473(0x211)]=_0x1ff6e9,_0x5ec93a[_0x1f4473(0x20f)]=_0x3c35e9,_0x5ec93a[_0x1f4473(0x257)]=_0x384d17,_0x20b0f1[_0x1f4473(0x1e1)]=_0x5ec93a,_0x3cd317[_0x1f4473(0x1cc)](_0x298d81=>{const _0xbc27a0=_0x1f4473,_0x3bbbf8={'BhhmT':function(_0x4fa2d9,_0x37cc6a){const _0x68060c=a26_0x262e;return _0x53f10b[_0x68060c(0x1f8)](_0x4fa2d9,_0x37cc6a);},'EXNAK':_0x53f10b[_0xbc27a0(0x20d)],'vkffR':_0x53f10b[_0xbc27a0(0x184)],'OnlqW':function(_0x2e4b9d,_0x26c67d){const _0xea22d5=_0xbc27a0;return _0x53f10b[_0xea22d5(0x1c5)](_0x2e4b9d,_0x26c67d);},'mkSWD':function(_0x1f3896,_0x36ba6d){return _0x53f10b['wyyTE'](_0x1f3896,_0x36ba6d);},'vczAG':_0x53f10b[_0xbc27a0(0x1c7)],'UtNYf':_0x53f10b[_0xbc27a0(0x1da)],'XMskT':_0x53f10b['EVhFz'],'vnVSP':function(_0x2b0873,_0x572384){return _0x53f10b['WdENB'](_0x2b0873,_0x572384);}};_0x20b0f1[_0x298d81]={'pending':[],'failures':[],'passes':[],'tests':_0x1b36a3[_0x298d81][_0x53f10b[_0xbc27a0(0x21f)]][_0xbc27a0(0x1e8)](clean)},_0x1b36a3[_0x298d81][_0x53f10b['JAVzd']][_0xbc27a0(0x1cc)](_0x2a3cb5=>{const _0x3f6ad2=_0xbc27a0;if(_0x3bbbf8[_0x3f6ad2(0x1b7)](_0x2a3cb5[_0x3f6ad2(0x200)],_0x3bbbf8[_0x3f6ad2(0x206)]))_0x20b0f1[_0x298d81][_0x3bbbf8[_0x3f6ad2(0x24b)]][_0x3f6ad2(0x237)](_0x3bbbf8['OnlqW'](clean,_0x2a3cb5));else _0x3bbbf8[_0x3f6ad2(0x187)](_0x2a3cb5['state'],_0x3bbbf8[_0x3f6ad2(0x25e)])?_0x20b0f1[_0x298d81][_0x3bbbf8[_0x3f6ad2(0x251)]]['push'](_0x3bbbf8[_0x3f6ad2(0x1c8)](clean,_0x2a3cb5)):_0x20b0f1[_0x298d81][_0x3bbbf8[_0x3f6ad2(0x185)]][_0x3f6ad2(0x237)](_0x3bbbf8[_0x3f6ad2(0x235)](clean,_0x2a3cb5));});});if(_0x224755['output'])try{logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x203)],_0x224755[_0x1f4473(0x242)]),fs['writeFileSync'](_0x224755['output'],JSON[_0x1f4473(0x1c0)](_0x20b0f1,null,0x3));}catch(_0x4f2571){logger[_0x1f4473(0x21c)](_0x53f10b[_0x1f4473(0x182)],_0x224755['output']),logger[_0x1f4473(0x24d)](_0x4f2571);}else logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x261)]),console[_0x1f4473(0x1b4)](JSON['stringify'](_0x20b0f1,null,0x3));}else{if(_0x53f10b[_0x1f4473(0x17c)](_0x227181,_0x53f10b['VRtNx'])){let _0x48aae0;const _0x2b7b73=_0x53f10b['VhTtF'];_0x224755&&(_0x48aae0=_0x224755[_0x1f4473(0x1c6)]);_0x48aae0=_0x53f10b['vLFkR'](_0x48aae0,_0x2b7b73);let _0x28b811=0x0,_0x41c3d1=0x0,_0x1e0538=0x0,_0x1a51d7=0x0;_0x3cd317[_0x1f4473(0x1cc)](_0x5e5527=>{const _0x228000=_0x1f4473;_0x1b36a3[_0x5e5527][_0x53f10b[_0x228000(0x21f)]][_0x228000(0x1cc)](_0x33d062=>{const _0x54497e=_0x228000;if(_0x53f10b[_0x54497e(0x1f8)](_0x33d062['state'],_0x53f10b[_0x54497e(0x20d)]))_0x28b811++;else _0x53f10b[_0x54497e(0x1b6)](_0x33d062[_0x54497e(0x200)],_0x53f10b['wXKmK'])&&_0x41c3d1++;_0x1e0538++,_0x1a51d7+=_0x53f10b[_0x54497e(0x1c9)](_0x33d062[_0x54497e(0x1a4)],0x1);});}),_0x53f10b[_0x1f4473(0x23b)](xunitWrite,_0x53f10b['FYhcN'](tag,_0x53f10b[_0x1f4473(0x250)],{'name':_0x48aae0,'tests':_0x1e0538,'failures':0x0,'errors':_0x41c3d1,'skipped':_0x53f10b[_0x1f4473(0x1cb)](_0x53f10b[_0x1f4473(0x191)](_0x1e0538,_0x41c3d1),_0x28b811),'timestamp':new Date()['toUTCString'](),'time':_0x53f10b['ypavy'](_0x1a51d7,0x3e8)||0x0},![])),_0x3cd317[_0x1f4473(0x1cc)](_0x316ca8=>{const _0x7ca014=_0x1f4473,_0x26cbad={'zGQps':function(_0x4b4903,_0x287a2c,_0x5eb879){const _0x2c55fa=a26_0x262e;return _0x53f10b[_0x2c55fa(0x232)](_0x4b4903,_0x287a2c,_0x5eb879);}};_0x1b36a3[_0x316ca8][_0x53f10b[_0x7ca014(0x21f)]]['forEach'](_0x26f2a0=>{_0x26cbad['zGQps'](xunitTest,_0x26f2a0,_0x316ca8);});}),_0x53f10b[_0x1f4473(0x212)](xunitWrite,_0x53f10b[_0x1f4473(0x1d6)]);if(_0x224755['output'])try{logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x18e)],_0x224755['output']),fs['writeFileSync'](_0x224755[_0x1f4473(0x242)],xunitContent);}catch(_0x4591cc){logger['error'](_0x53f10b['EeCUf'],_0x224755[_0x1f4473(0x242)]),logger[_0x1f4473(0x24d)](_0x4591cc);}else logger['debug'](_0x53f10b[_0x1f4473(0x1d8)]),console[_0x1f4473(0x1b4)](xunitContent);}else{if(_0x53f10b[_0x1f4473(0x198)](_0x1ff6e9,0x0))return;console[_0x1f4473(0x1b4)](),logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x224)]),console['log'](chalk[_0x1f4473(0x188)][_0x1f4473(0x241)](_0x53f10b[_0x1f4473(0x1d0)])),_0x3cd317[_0x1f4473(0x1cc)](_0x4170e8=>{const _0x5629b5=_0x1f4473,_0xecc31e=[];_0x1b36a3[_0x4170e8][_0x53f10b[_0x5629b5(0x21f)]][_0x5629b5(0x1cc)](_0x12ed00=>{const _0x14fab4=_0x5629b5;_0x53f10b[_0x14fab4(0x1f8)](_0x12ed00[_0x14fab4(0x200)],_0x53f10b[_0x14fab4(0x1c7)])&&(_0x12ed00[_0x14fab4(0x21a)]=()=>_0x12ed00[_0x14fab4(0x248)],_0xecc31e[_0x14fab4(0x237)](_0x12ed00));}),_0x53f10b[_0x5629b5(0x207)](_0xecc31e['length'],0x0)&&(Base['consoleLog'](),Base[_0x5629b5(0x205)](_0x53f10b[_0x5629b5(0x213)](_0x321d6f),chalk[_0x5629b5(0x188)][_0x5629b5(0x1a2)](_0x4170e8)),Base[_0x5629b5(0x1be)](_0xecc31e));});}}}async function run(_0x3e9cde,_0x5b7b40){const _0xa7745a=a26_0x138b65,_0x3a516e={'QbVQr':function(_0x5cf18d,_0x320e48,_0x355f9d,_0x34b17b){return _0x5cf18d(_0x320e48,_0x355f9d,_0x34b17b);},'icAeD':_0xa7745a(0x202),'Currf':_0xa7745a(0x1ee),'HKjii':_0xa7745a(0x20c),'WseCC':'--disable-test-observability','cwirK':'--disable-browserstack-automation','SpIvg':function(_0x542181,_0x5ad9ac){return _0x542181!=_0x5ad9ac;},'mQQht':_0xa7745a(0x22d),'lKfkK':_0xa7745a(0x1f6),'PoRCy':'test','Nkrcv':_0xa7745a(0x194),'vnYNI':function(_0x474161,_0x432083){return _0x474161(_0x432083);},'TVwCB':_0xa7745a(0x1ba),'jwrmp':_0xa7745a(0x1f2),'PBAzY':function(_0x50d737,_0x3bd40){return _0x50d737*_0x3bd40;},'xyEPw':function(_0x247bef,_0x67bc5d){return _0x247bef(_0x67bc5d);},'EcUYa':function(_0x468669,_0x3e3a9b){return _0x468669!==_0x3e3a9b;}};process[_0xa7745a(0x17d)][_0xa7745a(0x199)](_0x3a516e['WseCC'])&&(process[_0xa7745a(0x1f4)][_0xa7745a(0x233)]=![]);process[_0xa7745a(0x17d)]['includes'](_0x3a516e[_0xa7745a(0x1a1)])&&(process[_0xa7745a(0x1f4)][_0xa7745a(0x25c)]=![]);const _0x42d06c=new BrowserStackSetup(_0x3e9cde,_0x3a516e[_0xa7745a(0x1a5)]);helper[_0xa7745a(0x22e)]()&&(await _0x42d06c['initialize'](),await helper[_0xa7745a(0x1d4)](_0x42d06c['config']));const _0xea1c7c=[],_0x223cd7=[];if(!_0x42d06c[_0xa7745a(0x226)])return;_0x3a516e[_0xa7745a(0x19f)](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1a9)],null)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1a9)]);!helper[_0xa7745a(0x195)](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1af)])&&(process[_0xa7745a(0x1f4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x42d06c['config'][_0xa7745a(0x1af)]);!helper[_0xa7745a(0x195)](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1ec)])&&(process[_0xa7745a(0x1f4)][_0xa7745a(0x236)]=JSON['stringify'](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1ec)]));const {extension:extension=['js',_0x3a516e[_0xa7745a(0x1ef)],_0x3a516e['lKfkK']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3a516e[_0xa7745a(0x215)]]}=_0x3e9cde,_0xc7c231={..._0x3e9cde};_0xc7c231[_0xa7745a(0x1ad)]=null;const _0x2af7ac=_0xc7c231;let _0x372ccd;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0xa7745a(0x1dc)]()){let _0x2fac24=process[_0xa7745a(0x1f4)][_0xa7745a(0x1b0)];!helper[_0xa7745a(0x195)](_0x42d06c[_0xa7745a(0x266)])&&_0x42d06c['cliConfig']['has'](_0x3a516e[_0xa7745a(0x1de)])&&(_0x2fac24=_0x42d06c['cliConfig'][_0xa7745a(0x244)](_0x3a516e['Nkrcv'])),_0x372ccd=testOpsHelper[_0xa7745a(0x1b1)](_0x2fac24);}if(helper[_0xa7745a(0x195)](_0x372ccd)){const _0x17a210={};_0x17a210['ignore']=ignore,_0x17a210['extension']=extension,_0x17a210['file']=file,_0x17a210[_0xa7745a(0x222)]=recursive,_0x17a210[_0xa7745a(0x193)]=sort,_0x17a210[_0xa7745a(0x1cd)]=spec,_0x372ccd=_0x3a516e[_0xa7745a(0x216)](collectFiles,_0x17a210);}helper[_0xa7745a(0x1e2)]();if(!helper[_0xa7745a(0x22e)]()){const _0x4b0bbd=0x1,_0x2d94a7={..._0x2af7ac};_0x2d94a7['spec']=[..._0x372ccd],_0xea1c7c[_0xa7745a(0x237)]({'mochaOpts':_0x2d94a7,'configuration':{'platform':os['platform']()}}),logger[_0xa7745a(0x1ea)](_0x3a516e[_0xa7745a(0x23c)]),logger[_0xa7745a(0x1ea)](_0x3a516e[_0xa7745a(0x19c)]),_0x3a516e[_0xa7745a(0x234)](parallelTestRun,_0xea1c7c,_0x4b0bbd,_0x42d06c[_0xa7745a(0x226)])[_0xa7745a(0x247)](_0x5a8588=>{const _0x4c88ad=_0xa7745a;_0x3a516e['QbVQr'](printStats,_0x5a8588,_0x3e9cde[_0x4c88ad(0x24a)],_0x3e9cde[_0x4c88ad(0x230)]||_0x3e9cde[_0x3a516e[_0x4c88ad(0x1ac)]]);})[_0xa7745a(0x1e9)](()=>{const _0x989d66=_0xa7745a;try{helper[_0x989d66(0x1e0)](_0x3a516e[_0x989d66(0x19a)],{},_0x42d06c[_0x989d66(0x226)],_0x42d06c['framework']);}catch(_0x209c0a){logger['debug'](_0x989d66(0x221)+_0x209c0a);}try{helper[_0x989d66(0x23a)]();}catch(_0x462171){logger['debug']('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x462171);}testOpsHelper[_0x989d66(0x246)]();});}else{const _0x44d158=_0x3a516e['PBAzY'](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x189)][_0xa7745a(0x25f)],_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x254)]),_0x86b490=helper[_0xa7745a(0x192)](_0x42d06c[_0xa7745a(0x226)]),_0x4bd1f3=helper[_0xa7745a(0x1b8)](_0x42d06c[_0xa7745a(0x226)]);_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x189)][_0xa7745a(0x1cc)]((_0x37355e,_0x1d0a96)=>{const _0x36b39f=_0xa7745a;_0x86b490?_0x223cd7[_0x36b39f(0x237)](helper[_0x36b39f(0x231)](_0x42d06c[_0x36b39f(0x226)],_0x3a516e['HKjii'],_0x1d0a96)):_0x223cd7[_0x36b39f(0x237)](helper[_0x36b39f(0x181)](_0x42d06c[_0x36b39f(0x226)],_0x3a516e[_0x36b39f(0x1a5)],_0x1d0a96));});const _0x432298=_0x3a516e[_0xa7745a(0x1e7)](getPercyOptions,_0x42d06c[_0xa7745a(0x226)]);if(_0x3a516e[_0xa7745a(0x190)](_0x42d06c['config'][_0xa7745a(0x254)],0x1))_0x372ccd[_0xa7745a(0x1cc)](_0x293142=>{const _0x16da43=_0xa7745a,_0x4b19f2=[];_0x223cd7[_0x16da43(0x1cc)]((_0x4adbd0,_0x19d337)=>{const _0x2aa2bf=_0x16da43,_0x5815b1={};_0x5815b1[_0x2aa2bf(0x1cd)]=[_0x293142],_0x4b19f2[_0x2aa2bf(0x237)]({'mochaOpts':Object[_0x2aa2bf(0x1ca)]({},_0x2af7ac,_0x5815b1),'configuration':{'server':_0x4bd1f3,'capability':_0x4adbd0,'proxySettings':_0x42d06c[_0x2aa2bf(0x226)][_0x2aa2bf(0x229)],'platform':helper['getPlatformName'](_0x4adbd0),'browserStackLogLevel':_0x42d06c[_0x2aa2bf(0x226)][_0x2aa2bf(0x204)],'platformIndex':_0x19d337,'browserStackPercyOptions':_0x432298,'platformCaps':_0x42d06c['config'][_0x2aa2bf(0x189)][_0x19d337]}});}),_0xea1c7c[_0x16da43(0x237)](..._0x4b19f2);});else{const _0x207e0f=[];_0x223cd7[_0xa7745a(0x1cc)]((_0x3bae8d,_0x2dde6a)=>{const _0x2e5fb1=_0xa7745a;let _0x434a87=Object[_0x2e5fb1(0x1ca)]({},_0x2af7ac);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x2e5fb1(0x1dc)]()&&(_0x434a87={..._0x434a87,'spec':[..._0x372ccd]}),_0x207e0f[_0x2e5fb1(0x237)]({'mochaOpts':_0x434a87,'configuration':{'server':_0x4bd1f3,'capability':_0x3bae8d,'proxySettings':_0x42d06c[_0x2e5fb1(0x226)][_0x2e5fb1(0x229)],'platform':helper[_0x2e5fb1(0x1e6)](_0x3bae8d),'browserStackLogLevel':_0x42d06c[_0x2e5fb1(0x226)][_0x2e5fb1(0x204)],'platformIndex':_0x2dde6a,'browserStackPercyOptions':_0x432298,'platformCaps':_0x42d06c[_0x2e5fb1(0x226)][_0x2e5fb1(0x189)][_0x2dde6a]}});}),_0xea1c7c[_0xa7745a(0x237)](..._0x207e0f);}logger[_0xa7745a(0x1ea)](_0xa7745a(0x1dd)+_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x189)][_0xa7745a(0x25f)]+_0xa7745a(0x238)),logger['info'](_0x3a516e[_0xa7745a(0x19c)]);let _0x16a2ae;_0x3a516e[_0xa7745a(0x234)](parallelTestRun,_0xea1c7c,_0x44d158,_0x42d06c[_0xa7745a(0x226)])[_0xa7745a(0x247)](_0x52ebf2=>{const _0x29d8de=_0xa7745a;_0x16a2ae=_0x52ebf2,_0x3a516e[_0x29d8de(0x234)](printStats,_0x52ebf2,_0x3e9cde[_0x29d8de(0x24a)],_0x3e9cde[_0x29d8de(0x230)]||_0x3e9cde[_0x3a516e[_0x29d8de(0x1ac)]]);})['finally'](async()=>{const _0xe9bd92=_0xa7745a;_0x42d06c[_0xe9bd92(0x260)]=helper['getErrorMessageFromResults'](_0x16a2ae,_0x3a516e[_0xe9bd92(0x1a5)]),await helper[_0xe9bd92(0x1a6)](_0x42d06c),testOpsHelper['printBuildLink']();});}}module[a26_0x138b65(0x21e)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a27_0x5793(_0x33d922,_0x34ce59){const _0x163400=a27_0x1634();return a27_0x5793=function(_0x5793be,_0x318b4a){_0x5793be=_0x5793be-0x121;let _0x3210af=_0x163400[_0x5793be];return _0x3210af;},a27_0x5793(_0x33d922,_0x34ce59);}const a27_0xde9abc=a27_0x5793;function a27_0x1634(){const _0x3b58c6=['chromeOptions','agent_','JAVea','getRequestOptions','BvMGY','proxyUrl','build','url_','firefoxOptions','isPacProxy','overrideGet','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','mkmur','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','__driversArray','setServer','HttpClient','vepgm','qXjXP','edgeOptions_','keys','mergeDeep','goog:chromeOptions','__setBrowserOptions','chromeOptions_','ieOptions_','VrWFg','Builder','Modifying\x20webdriver\x20builder','15MKNEXY','then','tfnva','requireHttpClient','safariOptions_','poEln','Proxy\x20set\x20to\x20','ZjJfS','browserstackAgentObservability','vlWxC','capability','../../../helpers/patchHelpers','22JSVKtG','send','setLogLevel','392juAEwI','yhzFc','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','quitCount_','session_','proxySettings','fpvPP','../../../bin/utils/constants','isAccessibilityPlatform','exports','getHubUrl','4128wcjMGs','0|1|2|3|5|4','pFNsz','aNaIj','originalBuilder','Yipre','get','browserStackLogLevel','options_','wHsPF','329696UlHVUl','9PJLioR','global','oFRuf','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','debug','updateHubUrl','newHubUrl','hcutH','/session','../../../helpers/accessibility-automation/helper','../../../helpers/globals','NFQyC','CAPABILITY_KEY','set','push','kbxjj','pYPkT','3|0|2|4|1|5','getAccessibilityResults','object','vxvAu','https://','winstonLogger','forEach','split','getAccessibilityResultsSummary','QytkL','2684017KdbqPy','firefoxOptions_','dVgxe','getGlobal','hEJpS','54909jHbvTw','path','QNpaF','error','overrideExecute','315318DXcFwb','proxy_','setCapabilities','16YZJOcG','FLOXV','isBrowserstackInfra','tCYoQ','PPcKG','../../../helpers/helper','vGSyr','4636956ZHcEWq','NxKRc','1102780KdrsTj','__drivers','setGlobal','storeOptimalHubUrl','info','XhGkT','capabilities_','isUndefined','safari.options'];a27_0x1634=function(){return _0x3b58c6;};return a27_0x1634();}(function(_0x48cde1,_0x4e9164){const _0xaeae36=a27_0x5793,_0x293ebd=_0x48cde1();while(!![]){try{const _0x1f5a46=-parseInt(_0xaeae36(0x186))/0x1*(-parseInt(_0xaeae36(0x13d))/0x2)+parseInt(_0xaeae36(0x191))/0x3*(-parseInt(_0xaeae36(0x190))/0x4)+-parseInt(_0xaeae36(0x16c))/0x5*(parseInt(_0xaeae36(0x13a))/0x6)+-parseInt(_0xaeae36(0x130))/0x7+parseInt(_0xaeae36(0x17b))/0x8*(parseInt(_0xaeae36(0x135))/0x9)+-parseInt(_0xaeae36(0x146))/0xa+-parseInt(_0xaeae36(0x178))/0xb*(-parseInt(_0xaeae36(0x144))/0xc);if(_0x1f5a46===_0x4e9164)break;else _0x293ebd['push'](_0x293ebd['shift']());}catch(_0x4ed543){_0x293ebd['push'](_0x293ebd['shift']());}}}(a27_0x1634,0x3254f));const logger=require('../../../helpers/logger')[a27_0xde9abc(0x12b)],helper=require(a27_0xde9abc(0x142)),constants=require(a27_0xde9abc(0x182)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0xde9abc(0x177)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0xde9abc(0x19a)),globals=require(a27_0xde9abc(0x19b)),modify=(_0x1920e8,_0x2542dd=null,_0x320754=![])=>{const _0xd31dde=a27_0xde9abc,_0x35dbba={'kbxjj':function(_0x5adcb4,_0xea073a){return _0x5adcb4!==_0xea073a;},'oFRuf':_0xd31dde(0x199),'wHsPF':function(_0x42c830,_0x5436cf){return _0x42c830!==_0x5436cf;},'PPcKG':function(_0x10dc55,_0x3ad46b){return _0x10dc55+_0x3ad46b;},'NFQyC':_0xd31dde(0x12a),'QNpaF':'/wd/hub','qVWmO':_0xd31dde(0x165),'JAVea':_0xd31dde(0x14f),'vGSyr':'ms:edgeOptions','FLOXV':'edgeOptions','Yipre':'moz:firefoxOptions','NxKRc':_0xd31dde(0x157),'poEln':_0xd31dde(0x14e),'XhGkT':'se:ieOptions','ZjJfS':'ieOptions','wuAYn':function(_0x2a8fc0,_0x3e320e){return _0x2a8fc0===_0x3e320e;},'tfnva':_0xd31dde(0x128),'tgFCQ':'Setting\x20Browserstack\x20capabilities','dVgxe':'optimalHubUrl','pFNsz':_0xd31dde(0x194),'hcutH':function(_0x345dd3,_0x563d24,_0x2c9a89){return _0x345dd3(_0x563d24,_0x2c9a89);},'aNaIj':_0xd31dde(0x126),'vepgm':function(_0x55407d,_0x3a2418){return _0x55407d(_0x3a2418);},'QytkL':_0xd31dde(0x187),'BvMGY':function(_0x139299){return _0x139299();},'zDPQj':_0xd31dde(0x15c),'vlWxC':_0xd31dde(0x183),'vxvAu':function(_0x39132e,_0x130476,_0x1ac1ec){return _0x39132e(_0x130476,_0x1ac1ec);},'pYPkT':function(_0x532844,_0x40b407){return _0x532844(_0x40b407);},'zOsyR':function(_0x552cad,_0x5cbe55){return _0x552cad(_0x5cbe55);},'qXjXP':function(_0x46aab7,_0x985322){return _0x46aab7!==_0x985322;},'sihVd':_0xd31dde(0x15a),'yhzFc':_0xd31dde(0x16b)},_0x5c99ae=helper[_0xd31dde(0x16f)]();let _0x137996;try{_0x137996=helper['requireSeleniumWebdriver'](),_0x137996[_0xd31dde(0x18a)]&&(_0x137996[_0xd31dde(0x16a)]=_0x137996[_0xd31dde(0x18a)]);}catch(_0x2a3425){return;}if(helper[_0xd31dde(0x13f)]()){const _0x42f9cf={};_0x42f9cf['logLevel']=_0x1920e8[_0xd31dde(0x18d)],helper[_0xd31dde(0x17a)](_0x42f9cf,new Map(),new Map()),logger[_0xd31dde(0x14a)](_0x35dbba['sihVd']),logger[_0xd31dde(0x195)](_0x35dbba[_0xd31dde(0x17c)]);}class _0x20b422 extends _0x5c99ae[_0xd31dde(0x15f)]{[_0xd31dde(0x179)](_0x1f2232){const _0x40a9c6=_0xd31dde;if(_0x35dbba[_0x40a9c6(0x124)](_0x1f2232[_0x40a9c6(0x136)],_0x35dbba[_0x40a9c6(0x193)])&&_0x35dbba['wHsPF'](global[_0x40a9c6(0x197)],''))try{global['newHubUrl']=_0x35dbba[_0x40a9c6(0x141)](_0x35dbba[_0x40a9c6(0x141)](_0x35dbba[_0x40a9c6(0x19c)],global[_0x40a9c6(0x197)]),_0x35dbba[_0x40a9c6(0x137)]),this[_0x40a9c6(0x18e)]=hubAllocator[_0x40a9c6(0x152)](global[_0x40a9c6(0x197)]),logger[_0x40a9c6(0x195)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x40a9c6(0x197)]),global[_0x40a9c6(0x197)]='';}catch(_0x31b5e4){logger[_0x40a9c6(0x138)](_0x31b5e4);}return super[_0x40a9c6(0x179)](_0x1f2232);}}class _0x57e098 extends _0x137996[_0xd31dde(0x16a)]{[_0xd31dde(0x15e)](){const _0x581dc7=_0xd31dde;return this[_0x581dc7(0x156)]=helper[_0x581dc7(0x185)](_0x1920e8),logger[_0x581dc7(0x195)]('Hub\x20url\x20set\x20to\x20'+this[_0x581dc7(0x156)]),this;}[_0xd31dde(0x166)](_0x1306a3){const _0x37c258=_0xd31dde;let _0x525b74={};for(const _0x1ba1ec in _0x1306a3){switch(_0x1ba1ec){case _0x35dbba['qVWmO']:case _0x35dbba[_0x37c258(0x151)]:this[_0x37c258(0x167)]&&(_0x525b74=this[_0x37c258(0x167)]['get'](this[_0x37c258(0x167)][_0x37c258(0x121)])||{},this[_0x37c258(0x167)]['set'](this[_0x37c258(0x167)][_0x37c258(0x121)],helper['mergeDeep'](_0x525b74,_0x1306a3[_0x1ba1ec])));break;case _0x35dbba[_0x37c258(0x143)]:case _0x35dbba[_0x37c258(0x13e)]:this[_0x37c258(0x162)]&&(_0x525b74=this[_0x37c258(0x162)][_0x37c258(0x18c)](this[_0x37c258(0x162)][_0x37c258(0x121)])||{},this[_0x37c258(0x162)][_0x37c258(0x122)](this[_0x37c258(0x162)][_0x37c258(0x121)],helper[_0x37c258(0x164)](_0x525b74,_0x1306a3[_0x1ba1ec])));break;case _0x35dbba[_0x37c258(0x18b)]:case _0x35dbba[_0x37c258(0x145)]:this['firefoxOptions_']&&(_0x525b74=this[_0x37c258(0x131)]['get'](this['firefoxOptions_'][_0x37c258(0x121)])||{},this[_0x37c258(0x131)][_0x37c258(0x122)](this[_0x37c258(0x131)][_0x37c258(0x121)],helper[_0x37c258(0x164)](_0x525b74,_0x1306a3[_0x1ba1ec])));break;case _0x35dbba[_0x37c258(0x171)]:this[_0x37c258(0x170)]&&(_0x525b74=this[_0x37c258(0x170)][_0x37c258(0x18c)](this[_0x37c258(0x170)][_0x37c258(0x121)])||{},this[_0x37c258(0x170)][_0x37c258(0x122)](this[_0x37c258(0x170)][_0x37c258(0x121)],helper[_0x37c258(0x164)](_0x525b74,_0x1306a3[_0x1ba1ec])));break;case _0x35dbba[_0x37c258(0x14b)]:case _0x35dbba[_0x37c258(0x173)]:this[_0x37c258(0x168)]&&(_0x525b74=this[_0x37c258(0x168)][_0x37c258(0x18c)](this[_0x37c258(0x168)][_0x37c258(0x121)])||{},this[_0x37c258(0x168)][_0x37c258(0x122)](this[_0x37c258(0x168)][_0x37c258(0x121)],helper[_0x37c258(0x164)](_0x525b74,_0x1306a3[_0x1ba1ec])));break;}}}[_0xd31dde(0x13c)](){const _0x4c1217=_0xd31dde;return logger[_0x4c1217(0x195)](_0x35dbba['tgFCQ']),this[_0x4c1217(0x166)](_0x1920e8[_0x4c1217(0x176)]),Object[_0x4c1217(0x163)](_0x1920e8['capability'])[_0x4c1217(0x12c)](_0x24e562=>{const _0x13d496=_0x4c1217,_0x45cc64=this['capabilities_'][_0x13d496(0x18c)](_0x24e562);_0x35dbba['wuAYn'](typeof _0x45cc64,_0x35dbba[_0x13d496(0x16e)])?this[_0x13d496(0x14c)][_0x13d496(0x122)](_0x24e562,helper[_0x13d496(0x164)](_0x45cc64,_0x1920e8[_0x13d496(0x176)][_0x24e562])):this['capabilities_'][_0x13d496(0x122)](_0x24e562,_0x1920e8[_0x13d496(0x176)][_0x24e562]);}),this;}[_0xd31dde(0x155)](){const _0x29761f=_0xd31dde,_0x14bfb0={'hEJpS':function(_0x515fa5,_0x4b8f4a,_0x52d0a3){const _0x186db8=a27_0x5793;return _0x35dbba[_0x186db8(0x198)](_0x515fa5,_0x4b8f4a,_0x52d0a3);},'fpvPP':function(_0x478e2c,_0x25e4ad,_0x14da70){const _0x3e0482=a27_0x5793;return _0x35dbba[_0x3e0482(0x198)](_0x478e2c,_0x25e4ad,_0x14da70);},'mkmur':_0x35dbba[_0x29761f(0x189)],'tCYoQ':function(_0x127779,_0x1eec42){const _0x15fba5=_0x29761f;return _0x35dbba[_0x15fba5(0x160)](_0x127779,_0x1eec42);},'VrWFg':function(_0x10b4c9,_0x4b1342,_0x1401e0){const _0x2b00c8=_0x29761f;return _0x35dbba[_0x2b00c8(0x198)](_0x10b4c9,_0x4b1342,_0x1401e0);}};if(helper[_0x29761f(0x13f)]()){const _0x496bfa=_0x35dbba[_0x29761f(0x12f)][_0x29761f(0x12d)]('|');let _0x2e7c52=0x0;while(!![]){switch(_0x496bfa[_0x2e7c52++]){case'0':_0x35dbba[_0x29761f(0x153)](isAccessibilityAutomationSession)&&_0x35dbba[_0x29761f(0x160)](setAccessibilityCapabilities,_0x1920e8);continue;case'1':this[_0x29761f(0x15e)]();continue;case'2':this[_0x29761f(0x13c)]();continue;case'3':if(helper[_0x29761f(0x158)](_0x1920e8[_0x29761f(0x180)][_0x29761f(0x154)]))this[_0x29761f(0x150)]=helper['getHttpAgent'](_0x1920e8[_0x29761f(0x180)][_0x29761f(0x154)]);else _0x1920e8['proxySettings'][_0x29761f(0x154)]&&(this[_0x29761f(0x13b)]=_0x1920e8[_0x29761f(0x180)][_0x29761f(0x154)],logger[_0x29761f(0x195)](_0x29761f(0x172)+this[_0x29761f(0x13b)]));continue;case'4':logger[_0x29761f(0x195)](_0x35dbba['zDPQj']);continue;case'5':globals[_0x29761f(0x133)](_0x35dbba[_0x29761f(0x175)])&&(!_0x35dbba[_0x29761f(0x129)](setExtension,this,_0x1920e8)&&globals[_0x29761f(0x148)](_0x35dbba[_0x29761f(0x175)],![]));continue;}break;}}const _0x55d957=super[_0x29761f(0x155)]();return _0x55d957[_0x29761f(0x17f)][_0x29761f(0x16d)](_0x293be0=>{const _0x297c01=_0x29761f;try{const _0x28749f=_0x293be0['caps_'][_0x297c01(0x18c)](_0x35dbba[_0x297c01(0x132)]);_0x28749f?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x28749f),hubAllocator[_0x297c01(0x196)](_0x28749f),helper[_0x297c01(0x149)](_0x28749f)):logger[_0x297c01(0x195)](_0x35dbba[_0x297c01(0x188)]);}catch(_0x528fcd){logger['debug'](_0x297c01(0x17d)+_0x528fcd);}}),_0x55d957[_0x29761f(0x17e)]=0x0,_0x55d957[_0x29761f(0x16d)]&&_0x55d957[_0x29761f(0x16d)](_0x4b0bd7=>{const _0x16721f=_0x29761f,_0x1804db=_0x14bfb0[_0x16721f(0x15b)][_0x16721f(0x12d)]('|');let _0xc116e0=0x0;while(!![]){switch(_0x1804db[_0xc116e0++]){case'0':_0x14bfb0[_0x16721f(0x140)](overrideTakeScreenshot,_0x4b0bd7);continue;case'1':_0x4b0bd7[_0x16721f(0x12e)]=async()=>{const _0x2984ba=_0x16721f;return await _0x14bfb0[_0x2984ba(0x134)](getAccessibilityResultsSummary,_0x4b0bd7,global);};continue;case'2':helper[_0x16721f(0x159)](_0x4b0bd7,_0x1920e8);continue;case'3':_0x14bfb0[_0x16721f(0x181)](overrideQuit,_0x4b0bd7,_0x55d957);continue;case'4':helper[_0x16721f(0x139)](_0x4b0bd7,_0x1920e8);continue;case'5':_0x4b0bd7['getAccessibilityResults']=async()=>{return await _0x14bfb0['fpvPP'](getAccessibilityResults,_0x4b0bd7,global);};continue;}break;}}),_0x55d957[_0x29761f(0x12e)]=async()=>{const _0x13b2b2=_0x29761f;return await _0x14bfb0[_0x13b2b2(0x169)](getAccessibilityResultsSummary,_0x55d957,global);},_0x55d957[_0x29761f(0x127)]=async()=>{const _0x44d0cf=_0x29761f;return await _0x14bfb0[_0x44d0cf(0x169)](getAccessibilityResults,_0x55d957,global);},_0x35dbba[_0x29761f(0x125)](overrideTakeScreenshot,_0x55d957),_0x35dbba['zOsyR'](overrideQuit,_0x55d957),helper['overrideGet'](_0x55d957,_0x1920e8),helper[_0x29761f(0x139)](_0x55d957,_0x1920e8),helper[_0x29761f(0x14d)](global[_0x29761f(0x15d)])&&(global[_0x29761f(0x15d)]=[]),helper['isUndefined'](global[_0x29761f(0x147)])&&(global[_0x29761f(0x147)]=[]),global['__driversArray'][_0x29761f(0x123)](_0x55d957),global['__driver']=_0x55d957,_0x35dbba[_0x29761f(0x18f)](global[_0x29761f(0x147)],undefined)&&global[_0x29761f(0x147)]['push'](_0x55d957),_0x2542dd&&helper['isUndefined'](_0x2542dd['global'][_0x29761f(0x15d)])&&(_0x2542dd[_0x29761f(0x192)][_0x29761f(0x15d)]=[]),_0x2542dd&&_0x35dbba[_0x29761f(0x161)](_0x2542dd[_0x29761f(0x192)][_0x29761f(0x147)],undefined)&&(_0x2542dd[_0x29761f(0x192)][_0x29761f(0x147)][_0x29761f(0x123)](_0x55d957),_0x2542dd['global'][_0x29761f(0x15d)][_0x29761f(0x123)](_0x55d957)),_0x55d957;}}return _0x137996['originalBuilder']=_0x137996[_0xd31dde(0x16a)],_0x137996[_0xd31dde(0x16a)]=_0x57e098,_0x5c99ae['HttpClient']=_0x20b422,_0x137996;};module[a27_0xde9abc(0x184)][a27_0xde9abc(0x174)]=modify;
|
|
1
|
+
const a27_0x55e295=a27_0x3104;function a27_0x3104(_0x45d049,_0x2e95aa){const _0x3c9fea=a27_0x3c9f();return a27_0x3104=function(_0x310475,_0x322808){_0x310475=_0x310475-0x89;let _0x1fa868=_0x3c9fea[_0x310475];return _0x1fa868;},a27_0x3104(_0x45d049,_0x2e95aa);}function a27_0x3c9f(){const _0x5e9117=['caps_','COTRB','/session','4|3|0|1|5|2','proxyUrl','366RPpoQa','New\x20hub\x20url\x20set\x20to\x20','CAPABILITY_KEY','pZXui','proxy_','capability','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','GAPAN','capabilities_','EnhFx','object','2813472fckXes','xnXZZ','ms:edgeOptions','JbLJg','debug','KjPuV','get','1894680HLdsYM','newHubUrl','setCapabilities','setLogLevel','setGlobal','session_','../../../helpers/helper','HttpClient','iRmWt','send','ieOptions','getGlobal','agent_','1410636FTtcDC','3339mptGtj','edgeOptions_','info','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Hub\x20url\x20set\x20to\x20','nkxol','mdPQa','../../../helpers/globals','getHttpAgent','browserStackLogLevel','__setBrowserOptions','UpKsw','sUFcG','9GnaAgM','then','WOeMM','path','exports','isPacProxy','../../../helpers/logger','build','cxTEz','error','__driversArray','126nXIBaO','IRRIJ','jEFoM','getHubUrl','ieOptions_','global','push','url_','proxySettings','overrideExecute','firefoxOptions_','Modifying\x20webdriver\x20builder','options_','edgeOptions','esoMX','overrideGet','requireSeleniumWebdriver','getRequestOptions','tsYzZ','279235dNiXxS','setServer','isAccessibilityPlatform','../../../helpers/patchHelpers','safariOptions_','gkDFZ','Rfrxa','goog:chromeOptions','updateHubUrl','TyKNC','../accessibility-automation/helper','sOeiz','wfOCr','oLlcD','originalBuilder','chromeOptions_','split','mergeDeep','set','safari.options','isUndefined','DjOer','firefoxOptions','280LHqgYh','requireHttpClient','Builder','fLkjG','6096992fxkLNP','292929Ocrrmw','__drivers','getAccessibilityResults','ITprq'];a27_0x3c9f=function(){return _0x5e9117;};return a27_0x3c9f();}(function(_0x272b92,_0xc79607){const _0xd0898f=a27_0x3104,_0x8901d9=_0x272b92();while(!![]){try{const _0x45cfae=parseInt(_0xd0898f(0x9e))/0x1*(-parseInt(_0xd0898f(0xee))/0x2)+parseInt(_0xd0898f(0x9d))/0x3+-parseInt(_0xd0898f(0x89))/0x4+parseInt(_0xd0898f(0x90))/0x5+-parseInt(_0xd0898f(0xb6))/0x6*(-parseInt(_0xd0898f(0xe5))/0x7)+parseInt(_0xd0898f(0xe4))/0x8*(parseInt(_0xd0898f(0xab))/0x9)+-parseInt(_0xd0898f(0xe0))/0xa*(parseInt(_0xd0898f(0xc9))/0xb);if(_0x45cfae===_0xc79607)break;else _0x8901d9['push'](_0x8901d9['shift']());}catch(_0x536a99){_0x8901d9['push'](_0x8901d9['shift']());}}}(a27_0x3c9f,0x717ea));const logger=require(a27_0x55e295(0xb1))['winstonLogger'],helper=require(a27_0x55e295(0x96)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x55e295(0xcc)),{setAccessibilityCapabilities,setExtension}=require(a27_0x55e295(0xd3)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a27_0x55e295(0xa5)),modify=(_0x22031c,_0x1258a2=null,_0x52b42d=![])=>{const _0x1e3146=a27_0x55e295,_0x5e2982={'JbLJg':function(_0x4d2020,_0x581f5f){return _0x4d2020!==_0x581f5f;},'mdPQa':_0x1e3146(0xeb),'gkDFZ':function(_0x1af850,_0x506ba0){return _0x1af850!==_0x506ba0;},'cxTEz':function(_0x16e4c9,_0x3ccb08){return _0x16e4c9+_0x3ccb08;},'oLlcD':'https://','WOeMM':'/wd/hub','EnhFx':_0x1e3146(0xd0),'GAPAN':'chromeOptions','nkxol':_0x1e3146(0x8b),'rluip':_0x1e3146(0xc3),'oqsyV':'moz:firefoxOptions','FzjSA':_0x1e3146(0xdf),'lDSrz':_0x1e3146(0xdc),'KhCqP':'se:ieOptions','sUFcG':_0x1e3146(0x9a),'mtrwb':function(_0x2ce6d4,_0x43a7fb){return _0x2ce6d4===_0x43a7fb;},'TyKNC':_0x1e3146(0xf8),'tsYzZ':'Setting\x20Browserstack\x20capabilities','IqBJM':'optimalHubUrl','fLkjG':_0x1e3146(0xf4),'RRjvz':'4|1|2|0|5|3','esoMX':function(_0x372e72,_0x1c74f6){return _0x372e72(_0x1c74f6);},'iRmWt':function(_0x5117c3,_0xcb9dc,_0x8c48f4){return _0x5117c3(_0xcb9dc,_0x8c48f4);},'UpKsw':function(_0x1ac55a,_0x255d28,_0x1cd90c){return _0x1ac55a(_0x255d28,_0x1cd90c);},'jEFoM':function(_0x213949,_0x26210e,_0x28f7f2){return _0x213949(_0x26210e,_0x28f7f2);},'HfeCH':_0x1e3146(0xec),'COTRB':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','IRRIJ':function(_0x20830b){return _0x20830b();},'Rfrxa':function(_0x10d383,_0x2622a8){return _0x10d383(_0x2622a8);},'ITprq':_0x1e3146(0xcb),'YCREm':function(_0x4726a6,_0x19a365){return _0x4726a6(_0x19a365);},'xnXZZ':function(_0x2e4874,_0x36be90){return _0x2e4874!==_0x36be90;},'DftVM':function(_0x5dbfd2,_0x4772b3){return _0x5dbfd2!==_0x4772b3;},'sOeiz':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','KjPuV':_0x1e3146(0xc1)},_0x4cbbab=helper[_0x1e3146(0xe1)]();let _0x504032;try{_0x504032=helper[_0x1e3146(0xc6)](),_0x504032[_0x1e3146(0xd7)]&&(_0x504032[_0x1e3146(0xe2)]=_0x504032[_0x1e3146(0xd7)]);}catch(_0x26f1a6){return;}if(helper['isBrowserstackInfra']()){const _0x374ebe={};_0x374ebe['logLevel']=_0x22031c[_0x1e3146(0xa7)],helper[_0x1e3146(0x93)](_0x374ebe,new Map(),new Map()),logger[_0x1e3146(0xa0)](_0x5e2982[_0x1e3146(0xd4)]),logger['debug'](_0x5e2982[_0x1e3146(0x8e)]);}class _0x390e44 extends _0x4cbbab[_0x1e3146(0x97)]{['send'](_0x2dddc8){const _0x10a96c=_0x1e3146;if(_0x5e2982[_0x10a96c(0x8c)](_0x2dddc8[_0x10a96c(0xae)],_0x5e2982[_0x10a96c(0xa4)])&&_0x5e2982[_0x10a96c(0xce)](global[_0x10a96c(0x91)],''))try{global[_0x10a96c(0x91)]=_0x5e2982['cxTEz'](_0x5e2982[_0x10a96c(0xb3)](_0x5e2982[_0x10a96c(0xd6)],global[_0x10a96c(0x91)]),_0x5e2982[_0x10a96c(0xad)]),this[_0x10a96c(0xc2)]=hubAllocator[_0x10a96c(0xc7)](global[_0x10a96c(0x91)]),logger[_0x10a96c(0x8d)](_0x10a96c(0xef)+global[_0x10a96c(0x91)]),global[_0x10a96c(0x91)]='';}catch(_0x17dc4e){logger[_0x10a96c(0xb4)](_0x17dc4e);}return super[_0x10a96c(0x99)](_0x2dddc8);}}class _0x167e0b extends _0x504032['Builder']{[_0x1e3146(0xca)](){const _0x164b21=_0x1e3146;return this[_0x164b21(0xbd)]=helper[_0x164b21(0xb9)](_0x22031c),logger[_0x164b21(0x8d)](_0x164b21(0xa2)+this['url_']),this;}['__setBrowserOptions'](_0x578144){const _0x24e9d1=_0x1e3146;let _0x145422={};for(const _0x510ec2 in _0x578144){switch(_0x510ec2){case _0x5e2982[_0x24e9d1(0xf7)]:case _0x5e2982[_0x24e9d1(0xf5)]:this['chromeOptions_']&&(_0x145422=this[_0x24e9d1(0xd8)][_0x24e9d1(0x8f)](this[_0x24e9d1(0xd8)][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0xd8)]['set'](this[_0x24e9d1(0xd8)]['CAPABILITY_KEY'],helper[_0x24e9d1(0xda)](_0x145422,_0x578144[_0x510ec2])));break;case _0x5e2982[_0x24e9d1(0xa3)]:case _0x5e2982['rluip']:this[_0x24e9d1(0x9f)]&&(_0x145422=this[_0x24e9d1(0x9f)]['get'](this[_0x24e9d1(0x9f)][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0x9f)][_0x24e9d1(0xdb)](this[_0x24e9d1(0x9f)][_0x24e9d1(0xf0)],helper[_0x24e9d1(0xda)](_0x145422,_0x578144[_0x510ec2])));break;case _0x5e2982['oqsyV']:case _0x5e2982['FzjSA']:this['firefoxOptions_']&&(_0x145422=this[_0x24e9d1(0xc0)][_0x24e9d1(0x8f)](this['firefoxOptions_'][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0xc0)][_0x24e9d1(0xdb)](this[_0x24e9d1(0xc0)]['CAPABILITY_KEY'],helper[_0x24e9d1(0xda)](_0x145422,_0x578144[_0x510ec2])));break;case _0x5e2982['lDSrz']:this[_0x24e9d1(0xcd)]&&(_0x145422=this[_0x24e9d1(0xcd)]['get'](this[_0x24e9d1(0xcd)][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0xcd)][_0x24e9d1(0xdb)](this['safariOptions_'][_0x24e9d1(0xf0)],helper[_0x24e9d1(0xda)](_0x145422,_0x578144[_0x510ec2])));break;case _0x5e2982['KhCqP']:case _0x5e2982[_0x24e9d1(0xaa)]:this[_0x24e9d1(0xba)]&&(_0x145422=this['ieOptions_'][_0x24e9d1(0x8f)](this['ieOptions_'][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0xba)]['set'](this[_0x24e9d1(0xba)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x145422,_0x578144[_0x510ec2])));break;}}}[_0x1e3146(0x92)](){const _0x783d64=_0x1e3146,_0x1ddc95={'pBBtS':function(_0x130b99,_0x1c31e6){return _0x5e2982['mtrwb'](_0x130b99,_0x1c31e6);},'pZXui':_0x5e2982[_0x783d64(0xd2)]};return logger[_0x783d64(0x8d)](_0x5e2982[_0x783d64(0xc8)]),this[_0x783d64(0xa8)](_0x22031c[_0x783d64(0xf3)]),Object['keys'](_0x22031c[_0x783d64(0xf3)])['forEach'](_0x1585f8=>{const _0x5aafc1=_0x783d64,_0x328031=this['capabilities_'][_0x5aafc1(0x8f)](_0x1585f8);_0x1ddc95['pBBtS'](typeof _0x328031,_0x1ddc95[_0x5aafc1(0xf1)])?this[_0x5aafc1(0xf6)]['set'](_0x1585f8,helper[_0x5aafc1(0xda)](_0x328031,_0x22031c['capability'][_0x1585f8])):this[_0x5aafc1(0xf6)][_0x5aafc1(0xdb)](_0x1585f8,_0x22031c[_0x5aafc1(0xf3)][_0x1585f8]);}),this;}[_0x1e3146(0xb2)](){const _0x3629d1=_0x1e3146,_0x408af8={'DjOer':function(_0x26597a,_0x18f70c,_0x4bd82c){return _0x5e2982['UpKsw'](_0x26597a,_0x18f70c,_0x4bd82c);},'eGcfr':function(_0x290518,_0x10f3f7,_0x20d717){const _0x24c215=a27_0x3104;return _0x5e2982[_0x24c215(0xa9)](_0x290518,_0x10f3f7,_0x20d717);},'wfOCr':function(_0x407fd4,_0x5ea54a,_0xa26ad4){return _0x5e2982['jEFoM'](_0x407fd4,_0x5ea54a,_0xa26ad4);}};if(helper['isBrowserstackInfra']()){const _0x471573=_0x5e2982['HfeCH'][_0x3629d1(0xd9)]('|');let _0x1d6722=0x0;while(!![]){switch(_0x471573[_0x1d6722++]){case'0':this[_0x3629d1(0x92)]();continue;case'1':if(helper[_0x3629d1(0xb0)](_0x22031c[_0x3629d1(0xbe)][_0x3629d1(0xed)]))this[_0x3629d1(0x9c)]=helper[_0x3629d1(0xa6)](_0x22031c[_0x3629d1(0xbe)][_0x3629d1(0xed)]);else _0x22031c[_0x3629d1(0xbe)][_0x3629d1(0xed)]&&(this['proxy_']=_0x22031c['proxySettings']['proxyUrl'],logger[_0x3629d1(0x8d)]('Proxy\x20set\x20to\x20'+this[_0x3629d1(0xf2)]));continue;case'2':logger[_0x3629d1(0x8d)](_0x5e2982[_0x3629d1(0xea)]);continue;case'3':this['setServer']();continue;case'4':_0x5e2982[_0x3629d1(0xb7)](isAccessibilityAutomationSession)&&_0x5e2982[_0x3629d1(0xcf)](setAccessibilityCapabilities,_0x22031c);continue;case'5':globals[_0x3629d1(0x9b)](_0x5e2982['ITprq'])&&(!_0x5e2982[_0x3629d1(0xb8)](setExtension,this,_0x22031c)&&globals[_0x3629d1(0x94)](_0x5e2982[_0x3629d1(0xe8)],![]));continue;}break;}}const _0x21266d=super[_0x3629d1(0xb2)]();return _0x21266d[_0x3629d1(0x95)][_0x3629d1(0xac)](_0x42bf38=>{const _0x5438c3=_0x3629d1;try{const _0x5061c7=_0x42bf38[_0x5438c3(0xe9)][_0x5438c3(0x8f)](_0x5e2982['IqBJM']);_0x5061c7?(logger['debug'](_0x5438c3(0xa1)+_0x5061c7),hubAllocator[_0x5438c3(0xd1)](_0x5061c7),helper['storeOptimalHubUrl'](_0x5061c7)):logger[_0x5438c3(0x8d)](_0x5e2982[_0x5438c3(0xe3)]);}catch(_0x1f0e3e){logger[_0x5438c3(0x8d)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x1f0e3e);}}),_0x21266d['quitCount_']=0x0,_0x21266d[_0x3629d1(0xac)]&&_0x21266d[_0x3629d1(0xac)](_0x403f55=>{const _0x203155=_0x3629d1,_0x14b331=_0x5e2982['RRjvz'][_0x203155(0xd9)]('|');let _0x52fb72=0x0;while(!![]){switch(_0x14b331[_0x52fb72++]){case'0':helper['overrideExecute'](_0x403f55,_0x22031c);continue;case'1':_0x5e2982[_0x203155(0xc4)](overrideTakeScreenshot,_0x403f55);continue;case'2':helper[_0x203155(0xc5)](_0x403f55,_0x22031c);continue;case'3':_0x403f55['getAccessibilityResults']=async()=>{return await _0x408af8['eGcfr'](getAccessibilityResults,_0x403f55,global);};continue;case'4':_0x5e2982[_0x203155(0x98)](overrideQuit,_0x403f55,_0x21266d);continue;case'5':_0x403f55['getAccessibilityResultsSummary']=async()=>{const _0x1544d0=_0x203155;return await _0x408af8[_0x1544d0(0xde)](getAccessibilityResultsSummary,_0x403f55,global);};continue;}break;}}),_0x21266d['getAccessibilityResultsSummary']=async()=>{const _0x2e9ab7=_0x3629d1;return await _0x408af8[_0x2e9ab7(0xd5)](getAccessibilityResultsSummary,_0x21266d,global);},_0x21266d[_0x3629d1(0xe7)]=async()=>{const _0x472154=_0x3629d1;return await _0x408af8[_0x472154(0xde)](getAccessibilityResults,_0x21266d,global);},_0x5e2982[_0x3629d1(0xcf)](overrideTakeScreenshot,_0x21266d),_0x5e2982['YCREm'](overrideQuit,_0x21266d),helper['overrideGet'](_0x21266d,_0x22031c),helper[_0x3629d1(0xbf)](_0x21266d,_0x22031c),helper[_0x3629d1(0xdd)](global[_0x3629d1(0xb5)])&&(global[_0x3629d1(0xb5)]=[]),helper[_0x3629d1(0xdd)](global['__drivers'])&&(global[_0x3629d1(0xe6)]=[]),global[_0x3629d1(0xb5)][_0x3629d1(0xbc)](_0x21266d),global['__driver']=_0x21266d,_0x5e2982[_0x3629d1(0x8a)](global[_0x3629d1(0xe6)],undefined)&&global[_0x3629d1(0xe6)][_0x3629d1(0xbc)](_0x21266d),_0x1258a2&&helper[_0x3629d1(0xdd)](_0x1258a2['global']['__driversArray'])&&(_0x1258a2[_0x3629d1(0xbb)][_0x3629d1(0xb5)]=[]),_0x1258a2&&_0x5e2982['DftVM'](_0x1258a2[_0x3629d1(0xbb)][_0x3629d1(0xe6)],undefined)&&(_0x1258a2['global'][_0x3629d1(0xe6)][_0x3629d1(0xbc)](_0x21266d),_0x1258a2[_0x3629d1(0xbb)][_0x3629d1(0xb5)]['push'](_0x21266d)),_0x21266d;}}return _0x504032[_0x1e3146(0xd7)]=_0x504032['Builder'],_0x504032['Builder']=_0x167e0b,_0x4cbbab[_0x1e3146(0x97)]=_0x390e44,_0x504032;};module[a27_0x55e295(0xaf)]['browserstackAgentObservability']=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a28_0x8f14(_0x1ad859,_0x5d2d7a){const _0x21e5cc=a28_0x21e5();return a28_0x8f14=function(_0x8f14ee,_0x44fcb7){_0x8f14ee=_0x8f14ee-0x6c;let _0x3ef341=_0x21e5cc[_0x8f14ee];return _0x3ef341;},a28_0x8f14(_0x1ad859,_0x5d2d7a);}const a28_0x37a234=a28_0x8f14;function a28_0x21e5(){const _0x27779f=['restore','1658UMAAVp','9450531AKmTde','1471014xHLLQL','8DJLjZg','timeout','5243707fqmMqd','../../../helpers/test-observability/utils','33922180KeDnDs','1413NtwnBY','2636taBNUr','2822889WsHGSK','7115OVDOvN'];a28_0x21e5=function(){return _0x27779f;};return a28_0x21e5();}(function(_0x2e2939,_0xcefd25){const _0x3cee46=a28_0x8f14,_0x6d69b6=_0x2e2939();while(!![]){try{const _0x288bd7=-parseInt(_0x3cee46(0x72))/0x1*(parseInt(_0x3cee46(0x77))/0x2)+-parseInt(_0x3cee46(0x74))/0x3+-parseInt(_0x3cee46(0x73))/0x4*(-parseInt(_0x3cee46(0x75))/0x5)+parseInt(_0x3cee46(0x6c))/0x6+-parseInt(_0x3cee46(0x6f))/0x7*(parseInt(_0x3cee46(0x6d))/0x8)+-parseInt(_0x3cee46(0x78))/0x9+parseInt(_0x3cee46(0x71))/0xa;if(_0x288bd7===_0xcefd25)break;else _0x6d69b6['push'](_0x6d69b6['shift']());}catch(_0x236ed9){_0x6d69b6['push'](_0x6d69b6['shift']());}}}(a28_0x21e5,0xa205c));const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x37a234(0x70));exports['mochaHooks']={'beforeAll'(){const _0x43046f={'VJAwC':function(_0x10af4c){return _0x10af4c();}},_0x588a97='browserstack internal helper hook';_0x43046f['VJAwC'](addRequestSpy);},'afterAll'(){const _0x58256c=a28_0x37a234,_0x30c050='browserstack internal helper hook';this[_0x58256c(0x6e)](0xea60),requestSpy[_0x58256c(0x76)]();}};
|