browserstack-node-sdk 1.32.11 → 1.32.13
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/patches.js +1 -0
- 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_0xcd6692=a22_0x4534;function a22_0x48fa(){const _0x571b66=['86185jEMtjo','443934esuepQ','19820uhUAEX','816408sSlDXO','1206lhtqWu','83452RREtUf','61600bGaVVi','__webdriver','../../helpers/setKeepAlive','selenium-webdriver','12776BujhvX','14qioPxC','keys','../../helpers/helper','4pCQszg','3135KotNsU'];a22_0x48fa=function(){return _0x571b66;};return a22_0x48fa();}(function(_0xb9fe3a,_0x23ee42){const _0x31b29e=a22_0x4534,_0xff48c2=_0xb9fe3a();while(!![]){try{const _0x345825=parseInt(_0x31b29e(0x71))/0x1+-parseInt(_0x31b29e(0x72))/0x2+parseInt(_0x31b29e(0x6f))/0x3+-parseInt(_0x31b29e(0x6a))/0x4*(-parseInt(_0x31b29e(0x6c))/0x5)+parseInt(_0x31b29e(0x6d))/0x6*(parseInt(_0x31b29e(0x67))/0x7)+-parseInt(_0x31b29e(0x66))/0x8*(-parseInt(_0x31b29e(0x70))/0x9)+parseInt(_0x31b29e(0x6e))/0xa*(-parseInt(_0x31b29e(0x6b))/0xb);if(_0x345825===_0x23ee42)break;else _0xff48c2['push'](_0xff48c2['shift']());}catch(_0x57f251){_0xff48c2['push'](_0xff48c2['shift']());}}}(a22_0x48fa,0x21f7b));const {requireModule}=require(a22_0xcd6692(0x69));require(a22_0xcd6692(0x74))();function a22_0x4534(_0x33509a,_0x45b0b4){const _0x48fa43=a22_0x48fa();return a22_0x4534=function(_0x453481,_0x15ec1e){_0x453481=_0x453481-0x65;let _0x31e416=_0x48fa43[_0x453481];return _0x31e416;},a22_0x4534(_0x33509a,_0x45b0b4);}const __wd__=requireModule(a22_0xcd6692(0x65));for(const key of Object[a22_0xcd6692(0x68)](global[a22_0xcd6692(0x73)])){__wd__[key]=global[a22_0xcd6692(0x73)][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_0x3a3300=a23_0x5d8f;(function(_0x2e7f94,_0x335e3e){const _0xa24ecc=a23_0x5d8f,_0x365c62=_0x2e7f94();while(!![]){try{const _0x30dd99=parseInt(_0xa24ecc(0x1c7))/0x1*(parseInt(_0xa24ecc(0x1e0))/0x2)+-parseInt(_0xa24ecc(0x1f1))/0x3*(-parseInt(_0xa24ecc(0x1e9))/0x4)+-parseInt(_0xa24ecc(0x1db))/0x5*(-parseInt(_0xa24ecc(0x1cb))/0x6)+-parseInt(_0xa24ecc(0x1e1))/0x7*(-parseInt(_0xa24ecc(0x1d2))/0x8)+parseInt(_0xa24ecc(0x1c9))/0x9*(-parseInt(_0xa24ecc(0x1d5))/0xa)+parseInt(_0xa24ecc(0x1e8))/0xb+-parseInt(_0xa24ecc(0x1d0))/0xc*(parseInt(_0xa24ecc(0x1ec))/0xd);if(_0x30dd99===_0x335e3e)break;else _0x365c62['push'](_0x365c62['shift']());}catch(_0xe2ac71){_0x365c62['push'](_0x365c62['shift']());}}}(a23_0x4fdd,0xc68ba));const path=require(a23_0x3a3300(0x1d4)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a23_0x3a3300(0x1ed)),{isAccessibilityAutomationSession}=require(a23_0x3a3300(0x1d9)),RequestQueueHandler=require(a23_0x3a3300(0x1c8)),{isTestObservabilitySession}=require(a23_0x3a3300(0x1e2)),helper=require(a23_0x3a3300(0x1df));class Launcher{constructor(_0x20cb27,_0x33148d,_0xe03399,_0x45fb90=[]){const _0x3b1269=a23_0x3a3300,_0x252634={'ZfvKV':_0x3b1269(0x1dd),'NxDCM':function(_0x2d6431){return _0x2d6431();},'Ipmle':function(_0x75de90){return _0x75de90();}},_0x362c84=_0x252634[_0x3b1269(0x1d8)][_0x3b1269(0x1cf)]('|');let _0x55891a=0x0;while(!![]){switch(_0x362c84[_0x55891a++]){case'0':global[_0x3b1269(0x1ea)]=0x0;continue;case'1':global[_0x3b1269(0x1e3)]=this['_configuration']['platformCaps']||{};continue;case'2':global[_0x3b1269(0x1d6)]=0x0;continue;case'3':global[_0x3b1269(0x1ca)]=0x0;continue;case'4':global[_0x3b1269(0x1c5)]=0x0;continue;case'5':this[_0x3b1269(0x1cc)]=_0x33148d['formatter'];continue;case'6':this[_0x3b1269(0x1ee)]=_0x33148d[_0x3b1269(0x1c6)]||{};continue;case'7':this[_0x3b1269(0x1e6)]=_0x20cb27;continue;case'8':global[_0x3b1269(0x1e4)]=0x0;continue;case'9':this[_0x3b1269(0x1e7)]=_0x33148d['mochaOpts'];continue;case'10':this[_0x3b1269(0x1de)]=_0x252634[_0x3b1269(0x1d3)](isTestObservabilitySession);continue;case'11':global[_0x3b1269(0x1dc)]=0x0;continue;case'12':global['testsUndefined']=0x0;continue;case'13':this['_argv']=_0x45fb90;continue;case'14':global[_0x3b1269(0x1ef)]=0x0;continue;case'15':global[_0x3b1269(0x1cd)]=0x0;continue;case'16':global[_0x3b1269(0x1da)]=0x0;continue;case'17':global['__platform__']=this[_0x3b1269(0x1ee)][_0x3b1269(0x1d7)];continue;case'18':this[_0x3b1269(0x1e5)]=this[_0x3b1269(0x1ee)][_0x3b1269(0x1c4)];continue;case'19':this[_0x3b1269(0x1d1)]=_0x252634['Ipmle'](isAccessibilityAutomationSession);continue;case'20':global[_0x3b1269(0x1f0)]={};continue;case'21':this[_0x3b1269(0x1ce)]=_0xe03399;continue;}break;}}[a23_0x3a3300(0x1c3)](_0x38a65a,_0x3104a8,_0x13c216){const _0x343c87=a23_0x3a3300,_0x32a68b=_0x38a65a[_0x343c87(0x1eb)];_0x38a65a.resolvePaths=async function(){const pathResults=await _0x32a68b.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x13c216));return pathResults;},_0x3104a8.push('--format'),_0x3104a8.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;function a23_0x5d8f(_0x40439b,_0x1c37c5){const _0x4fddd7=a23_0x4fdd();return a23_0x5d8f=function(_0x5d8f86,_0xf21563){_0x5d8f86=_0x5d8f86-0x1c3;let _0x1af68d=_0x4fddd7[_0x5d8f86];return _0x1af68d;},a23_0x5d8f(_0x40439b,_0x1c37c5);}function a23_0x4fdd(){const _0x24128e=['411690yQoaUo','testSuitesFailed','platform','ZfvKV','../../helpers/accessibility-automation/helper','testsFailed','2797540ANVhlD','testsAmbiguous','7|6|9|5|18|17|13|21|10|19|1|8|0|15|16|4|3|2|12|14|11|20','_testObservability','../../helpers/helper','6998gbKdAz','394751HoYRCH','../../helpers/test-observability/utils','__platformCaps','testSuites','_capability','_framework','_mochaOpts','3595075PNPpEV','4yfrVKO','totalTests','resolvePaths','6214hhGwJo','../utils/constants','_configuration','testsUnknown','testsErrorMessage','1027875cySMWf','setupCucumber','capability','testsPending','configuration','67RTdtpu','../../helpers/test-observability/requestQueueHandler','144KuuSfT','testsSkipped','12wMkJXL','_formatter','testsPassed','_bsConfig','split','52056WgfYSM','_accessibilityAutomation','216IlWniG','NxDCM','path'];a23_0x4fdd=function(){return _0x24128e;};return a23_0x4fdd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a24_0x57b2(){const _0x225dd3=['3097045BEFOeB','capabilities_','env','winstonLogger','../../../helpers/globals','browser_version','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','setExtension','latest','parse','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','LUwyj','Options','Exception\x20in\x20setExtension\x20Error:\x20','sOSxa','6LdzRPS','3600432wvVbkU','isAccessibilityPlatform','IbNnx','vanuR','accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','3530136awLQQq','browserVersion','zOoss','accessibility','FlABO','authToken','QGizt','capability','BS_A11Y_JWT','args','PIwli','__cloud_provider___','get','nestedKeyValue','UoAtU','bstack:options','86452UOokHU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','deviceName','debug','../../../helpers/helper','chrome','warn','kFkoT','util','OWebF','TxIRA','browserName','KeCcG','chromeOptions','FTRnT','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','selenium-webdriver/chrome.js','Xtelz','baoHm','2089820ioCKcz','aBlli','344985CmRXDy','options_','9842436FMDfhS','fetchPlatformDetails','path','DEJiJ','ijxVP','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','chromeOptions_','browserstack.accessibility','toLowerCase','LtEut','17dITlpT','scannerVersion','QcEaI'];a24_0x57b2=function(){return _0x225dd3;};return a24_0x57b2();}function a24_0x356b(_0x5dbfbb,_0x41a48f){const _0x57b2e2=a24_0x57b2();return a24_0x356b=function(_0x356b45,_0x469a21){_0x356b45=_0x356b45-0x13d;let _0x3a807b=_0x57b2e2[_0x356b45];return _0x3a807b;},a24_0x356b(_0x5dbfbb,_0x41a48f);}const a24_0x2de8f7=a24_0x356b;(function(_0x12b450,_0x4ac290){const _0x498f88=a24_0x356b,_0x193fae=_0x12b450();while(!![]){try{const _0x25fdfd=-parseInt(_0x498f88(0x16f))/0x1*(-parseInt(_0x498f88(0x14e))/0x2)+parseInt(_0x498f88(0x181))/0x3*(-parseInt(_0x498f88(0x161))/0x4)+parseInt(_0x498f88(0x163))/0x5+parseInt(_0x498f88(0x13e))/0x6+-parseInt(_0x498f88(0x172))/0x7+-parseInt(_0x498f88(0x182))/0x8+parseInt(_0x498f88(0x165))/0x9;if(_0x25fdfd===_0x4ac290)break;else _0x193fae['push'](_0x193fae['shift']());}catch(_0xefee57){_0x193fae['push'](_0x193fae['shift']());}}}(a24_0x57b2,0x85e30));const path=require(a24_0x2de8f7(0x167)),os=require('os'),util=require(a24_0x2de8f7(0x156)),bsSetupHelper=require(a24_0x2de8f7(0x152)),globals=require(a24_0x2de8f7(0x176)),logger=require('../../../helpers/logger')[a24_0x2de8f7(0x175)];exports['setAccessibilityCapabilities']=_0x2feb59=>{const _0x64033b=a24_0x2de8f7,_0x52070a={};_0x52070a[_0x64033b(0x15f)]=_0x64033b(0x14d),_0x52070a[_0x64033b(0x15a)]=_0x64033b(0x16c),_0x52070a[_0x64033b(0x168)]=_0x64033b(0x183),_0x52070a[_0x64033b(0x160)]='browserstack.accessibilityOptions';const _0x435dc3=_0x52070a;try{const _0x187e4f=_0x2feb59[_0x64033b(0x145)]||{};if(_0x187e4f[_0x435dc3[_0x64033b(0x15f)]]&&_0x187e4f[_0x435dc3[_0x64033b(0x15f)]][_0x64033b(0x141)]||_0x2feb59['capability'][_0x435dc3[_0x64033b(0x15a)]]){globals['setGlobal'](_0x435dc3[_0x64033b(0x168)],!![]);if(_0x187e4f[_0x435dc3['Xtelz']]){if(_0x187e4f[_0x435dc3['Xtelz']][_0x64033b(0x186)])_0x187e4f[_0x435dc3[_0x64033b(0x15f)]][_0x64033b(0x186)]['authToken']=process[_0x64033b(0x174)]['BS_A11Y_JWT'];else{const _0x13046c={};_0x13046c['authToken']=process[_0x64033b(0x174)][_0x64033b(0x146)],_0x187e4f[_0x435dc3[_0x64033b(0x15f)]][_0x64033b(0x186)]=_0x13046c;}_0x187e4f[_0x435dc3['Xtelz']][_0x64033b(0x186)]['scannerVersion']=JSON[_0x64033b(0x17b)](process[_0x64033b(0x174)][_0x64033b(0x14f)])[_0x64033b(0x170)];}else{if(_0x2feb59[_0x64033b(0x145)][_0x435dc3[_0x64033b(0x15a)]]){if(_0x187e4f[_0x435dc3[_0x64033b(0x160)]])_0x187e4f[_0x435dc3[_0x64033b(0x160)]][_0x64033b(0x143)]=process['env'][_0x64033b(0x146)];else{const _0x47c924={};_0x47c924['authToken']=process[_0x64033b(0x174)][_0x64033b(0x146)],_0x187e4f[_0x435dc3[_0x64033b(0x160)]]=_0x47c924;}_0x187e4f[_0x435dc3['baoHm']]['scannerVersion']=JSON[_0x64033b(0x17b)](process[_0x64033b(0x174)][_0x64033b(0x14f)])['scannerVersion'];}}}}catch(_0x33dd5e){logger[_0x64033b(0x151)](_0x64033b(0x15d)+_0x33dd5e);}},exports[a24_0x2de8f7(0x179)]=(_0x2e21a1,_0x1cf30d)=>{const _0x25a9ed=a24_0x2de8f7,_0x2dd979={};_0x2dd979[_0x25a9ed(0x17d)]=_0x25a9ed(0x14d),_0x2dd979[_0x25a9ed(0x180)]=function(_0x3d8bc3,_0x1284ae){return _0x3d8bc3!==_0x1284ae;},_0x2dd979['OWebF']=_0x25a9ed(0x187),_0x2dd979[_0x25a9ed(0x140)]=_0x25a9ed(0x153),_0x2dd979[_0x25a9ed(0x148)]=_0x25a9ed(0x16a),_0x2dd979[_0x25a9ed(0x144)]=function(_0x59dbd1,_0x3ad513){return _0x59dbd1===_0x3ad513;},_0x2dd979[_0x25a9ed(0x142)]=_0x25a9ed(0x17a),_0x2dd979[_0x25a9ed(0x15c)]=function(_0x215581,_0x4e4bda){return _0x215581>_0x4e4bda;},_0x2dd979[_0x25a9ed(0x158)]=_0x25a9ed(0x13d),_0x2dd979['kFkoT']=_0x25a9ed(0x15e),_0x2dd979['UoAtU']=_0x25a9ed(0x164),_0x2dd979[_0x25a9ed(0x185)]=_0x25a9ed(0x147),_0x2dd979['aBlli']=_0x25a9ed(0x15b),_0x2dd979[_0x25a9ed(0x184)]='--headless',_0x2dd979[_0x25a9ed(0x171)]=_0x25a9ed(0x178);const _0x224ec7=_0x2dd979;try{const _0xdb24b6=_0x1cf30d[_0x25a9ed(0x145)]||{},_0x399f45=(_0xdb24b6[_0x224ec7[_0x25a9ed(0x17d)]]?_0xdb24b6[_0x224ec7['LUwyj']][_0x25a9ed(0x150)]:_0xdb24b6['device'])||'';if(_0x224ec7['sOSxa'](_0x399f45,''))return logger[_0x25a9ed(0x154)](_0x224ec7[_0x25a9ed(0x157)]),![];const _0x55778c=_0xdb24b6[_0x25a9ed(0x159)];if(_0x224ec7[_0x25a9ed(0x180)](_0x55778c[_0x25a9ed(0x16d)](),_0x224ec7[_0x25a9ed(0x140)]))return logger['warn'](_0x224ec7[_0x25a9ed(0x148)]),![];const _0x4f2d51=_0xdb24b6[_0x25a9ed(0x13f)]||_0xdb24b6[_0x25a9ed(0x177)];if(!bsSetupHelper['isUndefined'](_0x4f2d51)&&!(_0x224ec7[_0x25a9ed(0x144)](_0x4f2d51,_0x224ec7[_0x25a9ed(0x142)])||_0x224ec7['FTRnT'](_0x4f2d51,0x5e)))return logger['warn'](_0x224ec7['TxIRA']),![];let _0x30045a;try{_0x30045a=bsSetupHelper['requireModule'](_0x224ec7[_0x25a9ed(0x155)]);}catch(_0x2b5802){return![];}const _0xfbd530=new _0x30045a[(_0x25a9ed(0x17e))](_0x2e21a1[_0x25a9ed(0x16b)]),_0x3ca20f=bsSetupHelper[_0x25a9ed(0x14b)](_0xfbd530,[_0x224ec7[_0x25a9ed(0x14c)],_0x224ec7['vanuR']])||bsSetupHelper['nestedKeyValue'](_0x2e21a1[_0x25a9ed(0x173)][_0x25a9ed(0x14a)](_0x224ec7[_0x25a9ed(0x17d)]),[_0x224ec7[_0x25a9ed(0x162)],_0x224ec7[_0x25a9ed(0x185)]])||bsSetupHelper[_0x25a9ed(0x14b)](_0x2e21a1[_0x25a9ed(0x173)][_0x25a9ed(0x14a)](_0x224ec7[_0x25a9ed(0x162)]),[_0x224ec7['vanuR']])||[];if(_0x3ca20f['includes'](_0x224ec7[_0x25a9ed(0x184)]))return logger['warn'](_0x224ec7['QcEaI']),![];return!![];}catch(_0x4659d0){logger[_0x25a9ed(0x151)](_0x25a9ed(0x17f)+util['format'](_0x4659d0));}return![];},exports[a24_0x2de8f7(0x166)]=async _0x366492=>{const _0x111bad=a24_0x2de8f7,_0x58b8ad={};_0x58b8ad[_0x111bad(0x169)]=function(_0x2f0037,_0x465008){return _0x2f0037===_0x465008;},_0x58b8ad[_0x111bad(0x16e)]='browserstack';const _0x29464d=_0x58b8ad;let _0x21cca4={};try{const _0x155b55=await _0x366492['getCapabilities']();_0x21cca4={'os_name':_0x155b55['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x29464d[_0x111bad(0x169)](global[_0x111bad(0x149)],_0x29464d['LtEut'])),'browser_name':_0x155b55['getBrowserName'](),'browser_version':_0x155b55['getBrowserVersion']()};}catch(_0x423261){logger[_0x111bad(0x151)](_0x111bad(0x17c)+_0x423261);}return _0x21cca4;};
|
|
@@ -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';function a25_0x34ad(_0x2a6b40,_0x321bea){const _0x44ab2d=a25_0x44ab();return a25_0x34ad=function(_0x34ad03,_0x5ad212){_0x34ad03=_0x34ad03-0xed;let _0x1a20cb=_0x44ab2d[_0x34ad03];return _0x1a20cb;},a25_0x34ad(_0x2a6b40,_0x321bea);}const a25_0x40670e=a25_0x34ad;(function(_0x4a8dc5,_0x3cf1b6){const _0x53d527=a25_0x34ad,_0x8daaa8=_0x4a8dc5();while(!![]){try{const _0x425f5=-parseInt(_0x53d527(0x107))/0x1*(parseInt(_0x53d527(0x1b8))/0x2)+-parseInt(_0x53d527(0x140))/0x3+-parseInt(_0x53d527(0xf5))/0x4+-parseInt(_0x53d527(0x181))/0x5*(-parseInt(_0x53d527(0x1fa))/0x6)+parseInt(_0x53d527(0xf0))/0x7+-parseInt(_0x53d527(0x20a))/0x8+-parseInt(_0x53d527(0x16e))/0x9*(parseInt(_0x53d527(0x14e))/0xa);if(_0x425f5===_0x3cf1b6)break;else _0x8daaa8['push'](_0x8daaa8['shift']());}catch(_0x2bc114){_0x8daaa8['push'](_0x8daaa8['shift']());}}}(a25_0x44ab,0x5aa60));const util=require(a25_0x40670e(0x207)),fs=require('fs'),path=require(a25_0x40670e(0x1be)),{requireModule}=require(a25_0x40670e(0x149)),Base=requireModule(a25_0x40670e(0x115)),utils=requireModule(a25_0x40670e(0x1b5)),color=Base[a25_0x40670e(0x166)],Mocha=requireModule('mocha'),Runnable=requireModule(a25_0x40670e(0x120)),{v4:uuidv4}=require(a25_0x40670e(0xf7)),bsSetupHelper=require(a25_0x40670e(0x149)),a25_0x3bd342={};function a25_0x44ab(){const _0x1ab49d=['ZubTl','kfhPa','kVLqP','vpTtV','DWaAc','currentRetry','../../../helpers/test-observability/constants','lhLYl','parent','color','AFTER_EACH','XOzmP','originalTitle','logs','RBRGd','testObservability','</h1>','6129lTuMQn','CBTSessionCreated','TestRunFinished','rQmNM','goTBJ','results','sep','join','fast','JjKAo','<dl>','Failed\x20to\x20load\x20reporter\x20','</section>','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','shutdown','SnhEM','after\x20each','bright\x20yellow','write','2521795fkXinp','iMewh','file','CImPU','rAsJj','LogCreated','kwAhO','test_run','\x20(%dms)','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','.git','failure_backtrace','hVEcN','COMPLETED','ZZtLU','qywqk','failed','tDJAx','hook_type','finished_at','green','OcapH','uploadEventData','checkmark','failure_reason_expanded','err','wVLHI','scope','OgiGd','after\x20all','gYKLF','CwUGC','NFWCk','bmSuf','../../../helpers/test-observability/utils','reporterOption','analyticsResult','bang','light','appendTestItemLog','NTXqP','findGitConfig','</dt>','GXCmj','testStarted','PBPDo','state','stdout','test_run_uuid','_upstreamConfig','scopes','finalResults','mocha/lib/utils.js','config','title','2jMZDQq','GPBay','once','\x20%s','prototype','Reporter','path','failCount','rzeea','push','suiteCount','xpYvQ','SvVzF','done','BzCew','isPending','titlePath','XUTgc','TestRunStarted','CVjRH','ZmrMo','KgitC','DGmAM','match','\x20\x20<dt\x20class=\x22error\x22>','hook_run_uuid','</dd>','TestRunSkipped','VraUf','bsConfig','vIPou','before\x20each','KwrmW','mocha/lib/reporters/','HIlai','../../../helpers/test-observability/sessionHandler','\x20\x20<dd\x20class=\x22error\x22>','zVdzU','EkxRO','bind','yWRLK','.js','yuVuS','</code></pre></dd>','PEazX','multiple','relative','removeAllListeners','RLhAj','KJZPv','KvWCD','slice','expanded','MERdH','integrations','apply','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','getRootParentFile','eWmja','currentTest','bs:addPlatformDetails:','_buildCreated','AssertionError','toString','sendTestRunEvent','current_hook','6XOYxeH','_indents','PFGMs','__platform__','root','getInstance','MklWE','result','failure','CNZto','jiTCa','hhPga','includes','util','body','_testEnv','705744uoPLXL','getTime','constants','slow','testAnalyticsId','\x20-\x20','4063500WAuCOa','zPktc','hook_run','hnYah','duration','653628jSQxea','%s\x20','uuid','aRJYM','Fyvzf','clean','\x20\x20<dd><pre><code>','hIKmS','decreaseIndent','ZRGKZ','fail','SOMIV','before\x20all','reporterOptions','FSnuf','appendTestPlatform','BEFORE_EACH','SeuiB','277055SPiJuw','aZtMW','UFEkX','\x20\x20<dd\x20class=\x22error\x22><pre><code>','length','inspect','failureCount','ZmMjF','pending','cfAWL','DjAuv','HookRunFinished','PNgpz','hookAnalyticsId','mocha/lib/reporters/base.js','LqElQ','pid','hooks','trim','comma','AWIsF','registerListeners','type','bs:addLog:','KWLUt','mocha/lib/runnable.js','OIdCP','docAppend','__indents','doc','passed','pass','_paths','_testResults','call','File\x20path\x20could\x20not\x20be\x20found','current_test','started_at','consoleLog','prefixTestPath','\x20with\x20error\x20:\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','dot','EbSyx','../test-observability/mochaUtils','sppJm','TrBJI','split','eoXor','markedStatus','2|0|3|1|4','Runner','retryOf','dirname','ctx','escape','kZHWd','362607tvnPie','ywliD','VMpbK','OqDxQ','mkOLW','fullTitle','speed','now','zwEHB','../../../helpers/helper','jQpRy','suites','indent','MYDQs','940CUfygR','forEach','ppDmm','<section\x20class=\x22suite\x22>','toISOString','oLWxf','symbols','Mocha','location_prefix','docHtml','cUCud','EzhqD','orhNR','../../../helpers/test-observability/requestQueueHandler','ElcwS'];a25_0x44ab=function(){return _0x1ab49d;};return a25_0x44ab();}a25_0x3bd342[a25_0x40670e(0x101)]='BEFORE_ALL',a25_0x3bd342[a25_0x40670e(0x19e)]='AFTER_ALL',a25_0x3bd342[a25_0x40670e(0x1d7)]=a25_0x40670e(0x105),a25_0x3bd342[a25_0x40670e(0x17e)]=a25_0x40670e(0x167);const HOOK_TYPES_MAP=a25_0x3bd342,{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_0x40670e(0x13a)][a25_0x40670e(0x20c)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0x40670e(0x133)),{consoleHolder}=require(a25_0x40670e(0x163)),SessionHandler=require(a25_0x40670e(0x1db)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x40670e(0x1a3)),RequestQueueHandler=require(a25_0x40670e(0x15b)),requestQueueHandler=RequestQueueHandler[a25_0x40670e(0x1ff)]();class MyReporter{constructor(_0xd21b85,_0x27a164){const _0x470c1b=a25_0x40670e,_0x15856b={'BrDbE':function(_0x26ae7b,_0x23b397){return _0x26ae7b===_0x23b397;},'ZmrMo':'spec','CNZto':function(_0x45685e,_0x32d536){return _0x45685e===_0x32d536;},'vpTtV':function(_0x221485,_0x2ff1bd){return _0x221485+_0x2ff1bd;},'hhPga':function(_0x4dca68,_0xf252ca){return _0x4dca68+_0xf252ca;},'GPBay':function(_0x32b5fa,_0x7efb59,_0x43c40c){return _0x32b5fa(_0x7efb59,_0x43c40c);},'oLWxf':_0x470c1b(0x195),'fasHj':_0x470c1b(0xf6),'MYDQs':_0x470c1b(0x1a7),'KvWCD':'%s\x20-\x20%s','VMpbK':'RUNNING','DGmAM':function(_0x4a3469,_0x2bf0d9){return _0x4a3469===_0x2bf0d9;},'BzCew':_0x470c1b(0x124),'KwrmW':function(_0x51a8d0,_0x33c292){return _0x51a8d0===_0x33c292;},'hNxmS':function(_0x480d82){return _0x480d82();},'OIdCP':function(_0x4342df){return _0x4342df();},'gYKLF':'HookRunStarted','vdvwm':'HookRunFinished','ZmMjF':function(_0x25b53a,_0xe52c1){return _0x25b53a===_0xe52c1;},'cVQLw':_0x470c1b(0x125),'xXkXJ':_0x470c1b(0x176),'OcapH':function(_0x5666cd,_0x184c4e){return _0x5666cd+_0x184c4e;},'PBPDo':_0x470c1b(0x198),'gwiEB':function(_0x902358,_0x5afa09){return _0x902358+_0x5afa09;},'gshID':_0x470c1b(0x126),'ywliD':_0x470c1b(0x1bb),'qXHFT':function(_0x55a053,_0x1c5157){return _0x55a053+_0x1c5157;},'SvVzF':function(_0x3511cb,_0x16d6e9){return _0x3511cb+_0x16d6e9;},'DjAuv':function(_0x55d504,_0xb6596d,_0x7edc9e){return _0x55d504(_0xb6596d,_0x7edc9e);},'ZRGKZ':function(_0x10cee6,_0x38b20a){return _0x10cee6+_0x38b20a;},'SnhEM':function(_0x41025f,_0x56848b,_0x265e9b){return _0x41025f(_0x56848b,_0x265e9b);},'mkOLW':_0x470c1b(0x189),'rzeea':_0x470c1b(0xff),'kJvgu':'\x20\x20%d)\x20%s','PFGMs':function(_0x1294f5,_0x16d517){return _0x1294f5===_0x16d517;},'mtZVv':function(_0x54cd79,_0x4ba4b3){return _0x54cd79+_0x4ba4b3;},'LqElQ':function(_0x42f4e9,_0x357fc6){return _0x42f4e9+_0x357fc6;},'NTXqP':_0x470c1b(0x17f),'iMewh':function(_0x54957e,_0x7ba186,_0x504dcd){return _0x54957e(_0x7ba186,_0x504dcd);},'vOlXJ':_0x470c1b(0x18e),'dbTTZ':function(_0x2d88c3,_0x29e61f){return _0x2d88c3===_0x29e61f;},'lhLYl':_0x470c1b(0x131),'bmSuf':_0x470c1b(0xed),'URspo':function(_0x3777f2,_0x3d9610){return _0x3777f2===_0x3d9610;},'DWaAc':function(_0x45fe5f,_0x4faaa6){return _0x45fe5f===_0x4faaa6;},'CwUGC':function(_0x5549e8,_0x2838ed){return _0x5549e8===_0x2838ed;},'SMFnP':_0x470c1b(0x139),'OgiGd':function(_0x552ed3,_0x381243){return _0x552ed3===_0x381243;},'eWmja':_0x470c1b(0x10f),'GXCmj':_0x470c1b(0x1d3),'RBRGd':function(_0x35bc60,_0x37febe){return _0x35bc60===_0x37febe;},'qJUnu':function(_0xd6839e,_0x42fc0e){return _0xd6839e===_0x42fc0e;},'kwAhO':function(_0x34ed6a,_0x406f5f){return _0x34ed6a===_0x406f5f;},'hVEcN':function(_0x2c36e3,_0x126cdf){return _0x2c36e3(_0x126cdf);},'orhNR':function(_0x2419d2){return _0x2419d2();},'goTBJ':function(_0x49b441){return _0x49b441();},'yWRLK':function(_0x20fc2a){return _0x20fc2a();},'rQmNM':function(_0x1bc477,_0x2c5e57){return _0x1bc477===_0x2c5e57;},'zPktc':'xunit','CVjRH':function(_0x4e1596,_0x5386d5){return _0x4e1596(_0x5386d5);},'ZubTl':function(_0x41fc22,_0x53dd59){return _0x41fc22!==_0x53dd59;}};this['type']=_0x27a164[_0x470c1b(0x1a4)][_0x470c1b(0x11d)],this[_0x470c1b(0x16c)]=_0x15856b[_0x470c1b(0x172)](isTestObservabilitySession),Base[_0x470c1b(0x129)](this,_0xd21b85,_0x27a164),this[_0x470c1b(0x1fb)]=0x0,this[_0x470c1b(0x1bf)]=0x0,this[_0x470c1b(0x173)]=[],this[_0x470c1b(0x1b4)]=[],this[_0x470c1b(0x1c2)]=0x0,this[_0x470c1b(0x1f5)]=![],this[_0x470c1b(0x128)]=[],this['_testEnv']=_0x15856b[_0x470c1b(0x1e0)](getTestEnv),this[_0x470c1b(0x127)]=new PathHelper({'cwd':process['cwd']()},this[_0x470c1b(0x209)][_0x470c1b(0x156)]),this[_0x470c1b(0x1b2)]=_0x27a164['reporterOption'][_0x470c1b(0x1d5)],this[_0x470c1b(0x11c)]();_0x15856b['rQmNM'](this['type'],_0x15856b['BzCew'])&&(this[_0x470c1b(0x157)]='',this['__indents']=0x2);_0xd21b85['once'](EVENT_RUN_BEGIN,async()=>{_0x15856b['BrDbE'](this['type'],_0x15856b['ZmrMo'])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x378226=>{const _0x488059=_0x470c1b;if(_0x378226[_0x488059(0x1fe)])return;if(_0x15856b[_0x488059(0x203)](this[_0x488059(0x11d)],_0x15856b[_0x488059(0x1cc)]))this['increaseIndent'](),Base[_0x488059(0x12d)](_0x15856b[_0x488059(0x160)](_0x15856b[_0x488059(0x205)](this[_0x488059(0x14c)](),_0x15856b['GPBay'](color,_0x15856b[_0x488059(0x153)],_0x15856b['fasHj'])),_0x15856b[_0x488059(0x1b9)](color,_0x15856b[_0x488059(0x14d)],_0x15856b[_0x488059(0x1ea)])),_0x15856b[_0x488059(0x142)],_0x378226[_0x488059(0x1b7)],global[_0x488059(0x1fd)]);else _0x15856b[_0x488059(0x1ce)](this[_0x488059(0x11d)],_0x15856b['BzCew'])&&(this['docAppend'](this['indent']()+_0x488059(0x151)),++this['__indents'],this['docAppend'](this[_0x488059(0x14c)]()+'<h1>'+utils[_0x488059(0x13e)](_0x378226[_0x488059(0x1b7)]+_0x488059(0xef)+global['__platform__'])+_0x488059(0x16d)),this[_0x488059(0x122)](this[_0x488059(0x14c)]()+_0x488059(0x178)));})['on'](EVENT_HOOK_BEGIN,async _0x5e03ce=>{const _0x51f0b0=_0x470c1b;if(_0x15856b['KwrmW'](this[_0x51f0b0(0x16c)],!![])){if(!_0x5e03ce[_0x51f0b0(0x114)])_0x5e03ce['hookAnalyticsId']=_0x15856b['hNxmS'](uuidv4);else _0x5e03ce[_0x51f0b0(0x138)]&&(_0x5e03ce['hookAnalyticsId']=_0x15856b[_0x51f0b0(0x121)](uuidv4),delete _0x5e03ce[_0x51f0b0(0x138)]);_0x5e03ce['started_at']=new Date()[_0x51f0b0(0x152)](),this['current_hook']=_0x5e03ce,await this[_0x51f0b0(0x1f8)](_0x5e03ce,undefined,![],_0x15856b[_0x51f0b0(0x19f)]);}})['on'](EVENT_HOOK_END,async _0x573810=>{const _0x22dc83=_0x470c1b;_0x15856b['CNZto'](this[_0x22dc83(0x16c)],!![])&&(!_0x573810[_0x22dc83(0x138)]&&(_0x573810[_0x22dc83(0x138)]=!![],await this[_0x22dc83(0x1f8)](_0x573810,undefined,![],_0x15856b['vdvwm'])));})['on'](EVENT_SUITE_END,_0x1bbe1c=>{const _0x219aea=_0x470c1b;if(_0x1bbe1c[_0x219aea(0x1fe)])return;if(_0x15856b['PFGMs'](this[_0x219aea(0x11d)],_0x15856b[_0x219aea(0x1cc)]))Base['consoleLog'](),Base[_0x219aea(0x12d)](_0x15856b['mtZVv'](_0x15856b[_0x219aea(0x116)](this[_0x219aea(0x14c)](),_0x15856b['DjAuv'](color,_0x15856b[_0x219aea(0x1a9)],_0x15856b['fasHj'])),_0x15856b[_0x219aea(0x182)](color,_0x15856b[_0x219aea(0x14d)],_0x15856b['KvWCD'])),_0x15856b['vOlXJ'],_0x1bbe1c['title'],global[_0x219aea(0x1fd)]),this['results'][_0x219aea(0x14f)](_0x5ab689=>{const _0x4fd828=_0x219aea;if(_0x15856b[_0x4fd828(0x10e)](_0x5ab689[_0x4fd828(0x1af)],_0x15856b['cVQLw'])){var _0x5eee2d;_0x15856b['ZmMjF'](_0x5ab689[_0x4fd828(0x146)],_0x15856b['xXkXJ'])?(_0x5eee2d=_0x15856b['OcapH'](_0x15856b[_0x4fd828(0x196)](this['indent'](),_0x15856b['GPBay'](color,_0x15856b[_0x4fd828(0x1ae)],_0x15856b['gwiEB']('\x20\x20',Base['symbols']['ok']))),_0x15856b[_0x4fd828(0x1b9)](color,_0x15856b['gshID'],_0x15856b[_0x4fd828(0x141)])),Base['consoleLog'](_0x5eee2d,_0x5ab689['title'])):(_0x5eee2d=_0x15856b['OcapH'](_0x15856b['qXHFT'](_0x15856b[_0x4fd828(0x1c4)](this[_0x4fd828(0x14c)](),_0x15856b[_0x4fd828(0x111)](color,_0x15856b[_0x4fd828(0x1ae)],_0x15856b[_0x4fd828(0xfe)]('\x20\x20',Base[_0x4fd828(0x154)]['ok']))),_0x15856b[_0x4fd828(0x1b9)](color,_0x15856b['gshID'],_0x15856b['ywliD'])),_0x15856b[_0x4fd828(0x17d)](color,_0x5ab689['speed'],_0x15856b[_0x4fd828(0x144)])),Base['consoleLog'](_0x5eee2d,_0x5ab689[_0x4fd828(0x1b7)],_0x5ab689['duration']));}else Base[_0x4fd828(0x12d)](_0x15856b['qXHFT'](this[_0x4fd828(0x14c)](),_0x15856b[_0x4fd828(0x17d)](color,_0x15856b[_0x4fd828(0x1c0)],_0x15856b['kJvgu'])),++this['failCount'],_0x5ab689['title']);}),this[_0x219aea(0xfd)]();else _0x15856b['dbTTZ'](this[_0x219aea(0x11d)],_0x15856b[_0x219aea(0x1c6)])&&(this[_0x219aea(0x122)](this[_0x219aea(0x14c)]()+'</dl>'),--this[_0x219aea(0x123)],this['docAppend'](this[_0x219aea(0x14c)]()+_0x219aea(0x17a)),--this['__indents']);Array[_0x219aea(0x1bc)][_0x219aea(0x1c1)][_0x219aea(0x1ef)](this[_0x219aea(0x1b4)],this[_0x219aea(0x173)]),this[_0x219aea(0x173)]=[];})['on'](EVENT_TEST_PASS,async _0x3fe0b5=>{const _0x44d824=_0x470c1b;this['results']['push']({'speed':_0x3fe0b5['speed'],'suite':_0x3fe0b5[_0x44d824(0x165)][_0x44d824(0x1b7)],'title':_0x3fe0b5[_0x44d824(0x1b7)],'fullTitle':_0x3fe0b5['fullTitle'](),'duration':_0x3fe0b5[_0x44d824(0xf4)],'state':_0x3fe0b5['state'],'err':{},'currentRetry':_0x3fe0b5[_0x44d824(0x162)](),'titlePathV':_0x3fe0b5[_0x44d824(0x1c8)](),'isPending':_0x3fe0b5[_0x44d824(0x1c7)]()});if(_0x15856b[_0x44d824(0x1d8)](this[_0x44d824(0x11d)],_0x15856b['lhLYl']))_0x15856b['BrDbE'](_0x3fe0b5[_0x44d824(0x146)],_0x15856b[_0x44d824(0x1a2)])?process[_0x44d824(0x1b0)][_0x44d824(0x180)](Base[_0x44d824(0x166)](_0x15856b[_0x44d824(0x1a9)],Base[_0x44d824(0x154)]['dot'])):process[_0x44d824(0x1b0)][_0x44d824(0x180)](Base[_0x44d824(0x166)](_0x3fe0b5[_0x44d824(0x146)],Base[_0x44d824(0x154)]['dot']));else{if(_0x15856b['URspo'](this[_0x44d824(0x11d)],_0x15856b[_0x44d824(0x1c6)])){this[_0x44d824(0x122)](this['indent']()+'\x20\x20<dt>'+utils['escape'](_0x3fe0b5[_0x44d824(0x1b7)])+_0x44d824(0x1ab)),this[_0x44d824(0x122)](this[_0x44d824(0x14c)]()+'\x20\x20<dt>'+utils[_0x44d824(0x13e)](_0x3fe0b5[_0x44d824(0x183)])+_0x44d824(0x1ab));var _0x2764f3=utils['escape'](utils[_0x44d824(0xfa)](_0x3fe0b5[_0x44d824(0x208)]));this[_0x44d824(0x122)](this['indent']()+_0x44d824(0xfb)+_0x2764f3+_0x44d824(0x1e3));}}_0x15856b[_0x44d824(0x161)](this['testObservability'],!![])&&(!_0x3fe0b5[_0x44d824(0x138)]&&(_0x3fe0b5[_0x44d824(0x138)]=!![],await this['sendTestRunEvent'](_0x3fe0b5)));})['on'](EVENT_TEST_FAIL,async(_0x3d8e76,_0x245a67)=>{const _0x4646eb=_0x470c1b;this[_0x4646eb(0x173)][_0x4646eb(0x1c1)]({'title':_0x3d8e76[_0x4646eb(0x1b7)],'suite':_0x3d8e76[_0x4646eb(0x165)]['title'],'state':_0x3d8e76['state'],'err':{'message':util[_0x4646eb(0x10c)](_0x245a67)},'fullTitle':_0x3d8e76[_0x4646eb(0x145)](),'speed':_0x3d8e76[_0x4646eb(0x146)],'currentRetry':_0x3d8e76[_0x4646eb(0x162)](),'titlePathV':_0x3d8e76[_0x4646eb(0x1c8)]()});if(_0x15856b[_0x4646eb(0x203)](this[_0x4646eb(0x11d)],_0x15856b['lhLYl']))process[_0x4646eb(0x1b0)][_0x4646eb(0x180)](Base[_0x4646eb(0x166)](_0x15856b[_0x4646eb(0x1c0)],Base[_0x4646eb(0x154)][_0x4646eb(0x1a6)]));else{if(_0x15856b[_0x4646eb(0x1a0)](this['type'],_0x15856b['BzCew'])){const _0x333c90=_0x15856b['SMFnP'][_0x4646eb(0x136)]('|');let _0x5cf53f=0x0;while(!![]){switch(_0x333c90[_0x5cf53f++]){case'0':this[_0x4646eb(0x122)](this[_0x4646eb(0x14c)]()+_0x4646eb(0x1d0)+utils['escape'](_0x3d8e76['file'])+_0x4646eb(0x1ab));continue;case'1':this[_0x4646eb(0x122)](this[_0x4646eb(0x14c)]()+_0x4646eb(0x10a)+_0x16b396+'</code></pre></dd>');continue;case'2':this['docAppend'](this[_0x4646eb(0x14c)]()+_0x4646eb(0x1d0)+utils[_0x4646eb(0x13e)](_0x3d8e76[_0x4646eb(0x1b7)])+_0x4646eb(0x1ab));continue;case'3':var _0x16b396=utils[_0x4646eb(0x13e)](utils[_0x4646eb(0xfa)](_0x3d8e76[_0x4646eb(0x208)]));continue;case'4':this[_0x4646eb(0x122)](this[_0x4646eb(0x14c)]()+_0x4646eb(0x1dc)+utils[_0x4646eb(0x13e)](_0x3d8e76[_0x4646eb(0x19a)])+_0x4646eb(0x1d2));continue;}break;}}}if(_0x15856b[_0x4646eb(0x19d)](this[_0x4646eb(0x16c)],!![])){if(!_0x3d8e76[_0x4646eb(0x138)]){_0x3d8e76[_0x4646eb(0x138)]=!![];if(_0x3d8e76[_0x4646eb(0xee)])await this['sendTestRunEvent'](_0x3d8e76,_0x245a67);else _0x3d8e76['hookAnalyticsId']&&await this['sendTestRunEvent'](_0x3d8e76,_0x245a67,![],_0x15856b['vdvwm']);}}})['on'](EVENT_TEST_PENDING,async _0x5ec3f6=>{const _0x5461b2=_0x470c1b;this[_0x5461b2(0x173)][_0x5461b2(0x1c1)]({'title':_0x5ec3f6[_0x5461b2(0x1b7)],'suite':_0x5ec3f6[_0x5461b2(0x165)][_0x5461b2(0x1b7)],'state':_0x5ec3f6[_0x5461b2(0x1af)],'err':{},'fullTitle':_0x5ec3f6[_0x5461b2(0x145)](),'speed':_0x5ec3f6[_0x5461b2(0x146)],'currentRetry':_0x5ec3f6['currentRetry'](),'titlePathV':_0x5ec3f6[_0x5461b2(0x1c8)]()}),_0x15856b[_0x5461b2(0x1fc)](this['type'],_0x15856b['lhLYl'])&&process[_0x5461b2(0x1b0)][_0x5461b2(0x180)](Base['color'](_0x15856b[_0x5461b2(0x1f2)],Base[_0x5461b2(0x154)][_0x5461b2(0x11a)])),_0x15856b['CwUGC'](this[_0x5461b2(0x16c)],!![])&&(!_0x5ec3f6['testAnalyticsId']&&(_0x5ec3f6[_0x5461b2(0xee)]=_0x15856b['OIdCP'](uuidv4)),!_0x5ec3f6['markedStatus']&&(_0x5ec3f6[_0x5461b2(0x138)]=!![],await this[_0x5461b2(0x1f8)](_0x5ec3f6,undefined,![],_0x15856b[_0x5461b2(0x1ac)])));})['on'](EVENT_TEST_BEGIN,async _0x5a778b=>{const _0x36d5c7=_0x470c1b;_0x15856b[_0x36d5c7(0x16b)](this[_0x36d5c7(0x16c)],!![])&&await this[_0x36d5c7(0x1ad)](_0x5a778b);})['on'](EVENT_TEST_END,async _0x3f8ef3=>{const _0xaa2e9a=_0x470c1b;_0x15856b['qJUnu'](this[_0xaa2e9a(0x16c)],!![])&&(!_0x3f8ef3[_0xaa2e9a(0x138)]&&(_0x3f8ef3[_0xaa2e9a(0x138)]=!![],await this[_0xaa2e9a(0x1f8)](_0x3f8ef3)));})[_0x470c1b(0x1ba)](EVENT_RUN_END,async()=>{const _0x5e46df=_0x470c1b;try{if(_0x15856b[_0x5e46df(0x187)](this[_0x5e46df(0x16c)],!![])){const _0x3fef4d=_0x15856b[_0x5e46df(0x18d)](getHookSkippedTests,this['runner']['suite']);for(const _0x2c65e3 of _0x3fef4d){!_0x2c65e3[_0x5e46df(0xee)]&&(_0x2c65e3['testAnalyticsId']=_0x15856b[_0x5e46df(0x15a)](uuidv4)),await this[_0x5e46df(0x1f8)](_0x2c65e3,undefined,![],_0x15856b[_0x5e46df(0x1ac)]);}}}catch(_0x147214){_0x15856b[_0x5e46df(0x18d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x147214);}await requestQueueHandler[_0x5e46df(0x17c)](),_0x15856b['DWaAc'](this['type'],_0x15856b[_0x5e46df(0x1c6)])&&Base[_0x5e46df(0x12d)](this[_0x5e46df(0x157)]);});if(this[_0x470c1b(0x11d)]&&![_0x15856b[_0x470c1b(0x1c6)],_0x15856b[_0x470c1b(0xf1)],_0x15856b['ZmrMo'],_0x15856b[_0x470c1b(0x164)]]['includes'](this[_0x470c1b(0x11d)])){const _0x1cbf61=this[_0x470c1b(0x11d)][_0x470c1b(0x119)]();this[_0x470c1b(0x1bd)]=null;try{this[_0x470c1b(0x1bd)]=_0x15856b[_0x470c1b(0x18d)](requireModule,_0x470c1b(0x1d9)+_0x1cbf61+_0x470c1b(0x1e1));}catch{}if(_0x15856b[_0x470c1b(0x171)](this[_0x470c1b(0x1bd)],null))try{this[_0x470c1b(0x1bd)]=_0x15856b[_0x470c1b(0x1cb)](require,_0x1cbf61);}catch(_0x742c19){console['error'](_0x470c1b(0x179)+_0x1cbf61);}if(_0x15856b[_0x470c1b(0x15d)](this[_0x470c1b(0x1bd)],null)){const _0x2bad1b={};_0x2bad1b[_0x470c1b(0x102)]=_0x27a164[_0x470c1b(0x1a4)],this[_0x470c1b(0x1bd)]=new this[(_0x470c1b(0x1bd))](_0xd21b85,_0x2bad1b);}}}[a25_0x40670e(0x14c)](){const _0x4fc399=a25_0x40670e,_0xc53d60={'ppDmm':function(_0x1ba09e,_0x543a34){return _0x1ba09e(_0x543a34);}};return _0xc53d60[_0x4fc399(0x150)](Array,this[_0x4fc399(0x1fb)])[_0x4fc399(0x175)]('\x20\x20');}['increaseIndent'](){const _0x21e328=a25_0x40670e;this[_0x21e328(0x1fb)]++;}[a25_0x40670e(0xfd)](){const _0x118650=a25_0x40670e;this[_0x118650(0x1fb)]--;}[a25_0x40670e(0x122)](_0x1b96d3){const _0x45ee53=a25_0x40670e;this[_0x45ee53(0x157)]+=_0x1b96d3;}[a25_0x40670e(0x1c5)](_0x3fb4ba,_0x2b0ea2){const _0x1a1f97=a25_0x40670e,_0x2360e1={'CnpxL':function(_0x224b77,_0x42909b){return _0x224b77(_0x42909b);}},_0x190a8b={};_0x190a8b[_0x1a1f97(0x10d)]=_0x3fb4ba,_0x190a8b['results']=this['finalResults'],_0x2360e1['CnpxL'](_0x2b0ea2,_0x190a8b);}[a25_0x40670e(0x11c)](){const _0x53d3c9=a25_0x40670e;process[_0x53d3c9(0x1e7)](_0x53d3c9(0x11e)+process[_0x53d3c9(0x117)]),process['on'](_0x53d3c9(0x11e)+process['pid'],this[_0x53d3c9(0x1a8)][_0x53d3c9(0x1df)](this)),process['removeAllListeners'](_0x53d3c9(0x1f4)+process[_0x53d3c9(0x117)]),process['on'](_0x53d3c9(0x1f4)+process[_0x53d3c9(0x117)],this[_0x53d3c9(0x104)]['bind'](this));}[a25_0x40670e(0x1ad)]=async _0x3d4d8c=>{const _0x18fad5=a25_0x40670e,_0x1f4d3d={'Jxlbh':function(_0x288c33){return _0x288c33();},'EbSyx':function(_0x1ee0ca,_0x3e3451){return _0x1ee0ca>_0x3e3451;},'XUTgc':function(_0x187f08,_0x1336ac){return _0x187f08===_0x1336ac;},'PEazX':_0x18fad5(0x1ca),'ZZtLU':function(_0x4de8f6,_0x1da3eb){return _0x4de8f6(_0x1da3eb);}};try{const _0x1f95d0=this['current_test'];this[_0x18fad5(0x12b)]=_0x3d4d8c,_0x3d4d8c[_0x18fad5(0x13b)]=null,_0x3d4d8c[_0x18fad5(0xee)]=_0x1f4d3d['Jxlbh'](uuidv4),_0x3d4d8c['started_at']=new Date()[_0x18fad5(0x152)](),_0x1f4d3d[_0x18fad5(0x132)](_0x3d4d8c['_currentRetry'],0x0)&&_0x1f95d0&&_0x1f4d3d[_0x18fad5(0x1c9)](_0x1f95d0[_0x18fad5(0x1b7)],_0x3d4d8c['title'])?(_0x3d4d8c[_0x18fad5(0x13b)]=_0x1f95d0[_0x18fad5(0xee)],await this[_0x18fad5(0x1f8)](_0x3d4d8c,undefined,![],_0x1f4d3d['PEazX']),_0x1f95d0[_0x18fad5(0x1af)]=STATE_FAILED,await this[_0x18fad5(0x1f8)](_0x1f95d0,undefined,!![])):await this['sendTestRunEvent'](_0x3d4d8c,undefined,![],_0x1f4d3d[_0x18fad5(0x1e4)]);}catch(_0x3c3022){_0x1f4d3d[_0x18fad5(0x18f)](debug,_0x18fad5(0x1f0)+_0x3c3022);}};[a25_0x40670e(0x1f8)]=async(_0x17d04f,_0x3573ab=undefined,_0x402f2c=![],_0x4f37c4='TestRunFinished')=>{const _0x569137=a25_0x40670e,_0x205ae7={'yuVuS':function(_0x98b201,_0x10fe09){return _0x98b201===_0x10fe09;},'JjKAo':function(_0x5c43ac,_0x58fb35){return _0x5c43ac!==_0x58fb35;},'KJZPv':'test','OqDxQ':_0x569137(0x19a),'VraUf':function(_0xcb9bed,_0x133f05){return _0xcb9bed!==_0x133f05;},'PNgpz':function(_0x54b20b,_0x407d1b){return _0x54b20b!==_0x407d1b;},'xpYvQ':_0x569137(0x12a),'aRJYM':_0x569137(0x155),'ncPbW':'javascript','SeuiB':function(_0x5aa415,_0x1740f0){return _0x5aa415===_0x1740f0;},'jQpRy':_0x569137(0x1d3),'DbSUI':'skipped','UFEkX':function(_0x5c16e3,_0x40d1a5){return _0x5c16e3-_0x40d1a5;},'EkxRO':_0x569137(0x1f6),'TrBJI':'UnhandledError','HIlai':'started_at','nNfCf':_0x569137(0x194),'EzhqD':function(_0x5168ac,_0x25ad08){return _0x5168ac(_0x25ad08);},'HMGoS':function(_0x22ebdf,_0x3ce96a){return _0x22ebdf===_0x3ce96a;},'MklWE':_0x569137(0x112),'jiTCa':function(_0x49d5ae,_0xed62b0){return _0x49d5ae!==_0xed62b0;},'hIKmS':_0x569137(0x191),'hnYah':_0x569137(0x125),'MERdH':function(_0x99b4fb,_0x3141b7){return _0x99b4fb===_0x3141b7;},'cfAWL':_0x569137(0x1d7),'SOMIV':function(_0x3456ec,_0x95f4f6){return _0x3456ec===_0x95f4f6;},'eoXor':function(_0x21477a,_0x4dcd39){return _0x21477a(_0x4dcd39);},'oMOoR':_0x569137(0x202),'tDJAx':_0x569137(0x18c),'CImPU':'backtrace','lmyyF':_0x569137(0x199),'zwEHB':_0x569137(0x1ec),'KgitC':_0x569137(0x170),'vIPou':function(_0x1928bd,_0x440ec4){return _0x1928bd(_0x440ec4);},'kZHWd':_0x569137(0x193),'zVdzU':_0x569137(0xf2),'kVLqP':_0x569137(0x188),'AWIsF':function(_0x2311e5,_0x539e63){return _0x2311e5(_0x539e63);}};try{if(_0x17d04f[_0x569137(0x208)]&&_0x17d04f[_0x569137(0x208)][_0x569137(0x1cf)](/browserstack internal helper hook/))return;let _0x20a57c=[];if(_0x205ae7[_0x569137(0x1e2)](_0x17d04f['state'],STATE_FAILED)){if(_0x205ae7[_0x569137(0x177)](_0x17d04f['err'],undefined))_0x20a57c=_0x17d04f[_0x569137(0x19a)][_0x569137(0x1e5)]?[_0x17d04f[_0x569137(0x19a)][_0x569137(0x1e5)],_0x205ae7[_0x569137(0x1e9)]]:[_0x17d04f[_0x569137(0x19a)],_0x205ae7['OqDxQ']];else _0x205ae7['JjKAo'](_0x3573ab,undefined)?_0x20a57c=[_0x3573ab,_0x205ae7[_0x569137(0x143)]]:_0x20a57c=[];}const _0x381fcc=_0x205ae7[_0x569137(0x1d4)](_0x17d04f[_0x569137(0x19a)],undefined)?_0x17d04f['err'][_0x569137(0x1f7)]():_0x205ae7[_0x569137(0x113)](_0x3573ab,undefined)?_0x3573ab['toString']():undefined;let _0x276aae;try{_0x276aae=this[_0x569137(0x1f1)](_0x17d04f);}catch(_0x113d03){_0x276aae=null;}const _0x5431a2=_0x276aae?this[_0x569137(0x1aa)](_0x276aae):null,_0x15f159=_0x276aae?this[_0x569137(0x127)][_0x569137(0x12e)](this[_0x569137(0x1f1)](_0x17d04f)):_0x205ae7[_0x569137(0x1c3)],_0x6cccfb={'framework':_0x205ae7[_0x569137(0xf8)],'uuid':_0x17d04f[_0x569137(0xee)]||_0x17d04f[_0x569137(0x114)],'name':_0x17d04f[_0x569137(0x1b7)],'body':{'lang':_0x205ae7['ncPbW'],'code':_0x17d04f['body']},'scope':this[_0x569137(0x19c)](_0x17d04f),'scopes':this['scopes'](_0x17d04f),'identifier':_0x17d04f[_0x569137(0x145)](),'file_name':_0x15f159,'vc_filepath':_0x5431a2?path[_0x569137(0x1e6)](_0x5431a2,_0x276aae):null,'location':_0x15f159,'result':_0x205ae7[_0x569137(0x106)](_0x4f37c4,_0x205ae7[_0x569137(0x14a)])?_0x205ae7['DbSUI']:this[_0x569137(0x1a5)](_0x17d04f['state']),'failure_reason':_0x381fcc,'duration_in_ms':_0x17d04f[_0x569137(0xf4)]||(_0x4f37c4[_0x569137(0x1cf)](/Finished/)||_0x4f37c4['match'](/Skipped/)?_0x205ae7[_0x569137(0x109)](Date[_0x569137(0x147)](),new Date(_0x17d04f[_0x569137(0x12c)])[_0x569137(0x20b)]()):null),'started_at':_0x17d04f[_0x569137(0x12c)],'finished_at':_0x4f37c4['match'](/Finished/)||_0x4f37c4[_0x569137(0x1cf)](/Skipped/)?new Date()[_0x569137(0x152)]():null,'failure':failureData[_0x569137(0x1ef)](null,_0x20a57c),'failure_type':!_0x381fcc?null:_0x381fcc[_0x569137(0x1cf)](/AssertionError/)?_0x205ae7[_0x569137(0x1de)]:_0x205ae7[_0x569137(0x135)],'retry_of':_0x17d04f[_0x569137(0x13b)]};_0x205ae7['yuVuS'](_0x4f37c4,_0x205ae7[_0x569137(0x14a)])&&!_0x6cccfb[_0x205ae7[_0x569137(0x1da)]]&&(_0x6cccfb[_0x205ae7[_0x569137(0x1da)]]=_0x6cccfb[_0x205ae7['nNfCf']]);if(_0x4f37c4['match'](/HookRun/))[_0x6cccfb[_0x569137(0x193)],_0x6cccfb['name']]=_0x205ae7[_0x569137(0x159)](getHookDetails,_0x17d04f['fullTitle']()||_0x17d04f[_0x569137(0x169)]||_0x17d04f['title']),_0x205ae7['HMGoS'](_0x4f37c4,_0x205ae7[_0x569137(0x200)])&&(_0x205ae7[_0x569137(0x204)](_0x6cccfb[_0x569137(0x201)],_0x205ae7[_0x569137(0xfc)])&&(_0x6cccfb[_0x569137(0x201)]=_0x205ae7[_0x569137(0xf3)]),_0x205ae7[_0x569137(0x1ed)](_0x6cccfb[_0x569137(0x193)],_0x205ae7[_0x569137(0x110)])&&_0x205ae7['SOMIV'](_0x6cccfb[_0x569137(0x201)],_0x205ae7['hIKmS'])&&!_0x17d04f['ctx']['currentTest'][_0x569137(0x138)]&&(_0x17d04f[_0x569137(0x13d)]['currentTest'][_0x569137(0x138)]=!![],_0x17d04f['ctx'][_0x569137(0x1f3)]['state']=STATE_FAILED,await this[_0x569137(0x1f8)](_0x17d04f[_0x569137(0x13d)][_0x569137(0x1f3)],undefined,!![])));else _0x4f37c4['match'](/TestRun/)&&_0x205ae7[_0x569137(0x137)](mapTestHooks,_0x17d04f);const _0x672abc=_0x6cccfb[_0x205ae7['oMOoR']][0x0];_0x672abc&&(_0x6cccfb[_0x205ae7[_0x569137(0x192)]]=_0x672abc[_0x205ae7[_0x569137(0x184)]],_0x6cccfb[_0x205ae7['lmyyF']]=_0x672abc[_0x205ae7[_0x569137(0x148)]]);[_0x205ae7[_0x569137(0x1cd)],_0x205ae7[_0x569137(0x14a)]][_0x569137(0x206)](_0x4f37c4)&&(this[_0x569137(0x128)][_0x569137(0x1c1)](_0x6cccfb),_0x6cccfb[_0x569137(0x118)]=_0x205ae7[_0x569137(0x1d6)](getHooksForTest,_0x17d04f));const _0x1be150={'event_type':_0x205ae7[_0x569137(0x100)](_0x4f37c4,_0x205ae7[_0x569137(0x14a)])?_0x205ae7[_0x569137(0x1cd)]:_0x4f37c4};_0x4f37c4[_0x569137(0x1cf)](/HookRun/)?(_0x6cccfb[_0x205ae7[_0x569137(0x13f)]]=HOOK_TYPES_MAP[_0x6cccfb[_0x205ae7['kZHWd']]],_0x1be150[_0x205ae7[_0x569137(0x1dd)]]=_0x6cccfb):_0x1be150[_0x205ae7[_0x569137(0x15f)]]=_0x6cccfb,await SessionHandler[_0x569137(0x197)](_0x1be150);}catch(_0x19e3d9){_0x205ae7[_0x569137(0x11b)](debug,_0x569137(0x130)+_0x4f37c4+_0x569137(0x12f)+_0x19e3d9);}};[a25_0x40670e(0x1aa)](_0x283568){const _0x1879d4=a25_0x40670e,_0x177e35={};_0x177e35['cUCud']=function(_0x5293f4,_0x302764){return _0x5293f4===_0x302764;},_0x177e35['NFWCk']=function(_0x10fab1,_0x333b17){return _0x10fab1===_0x333b17;},_0x177e35[_0x1879d4(0x168)]=_0x1879d4(0x18b),_0x177e35['qywqk']=_0x1879d4(0x1b6);const _0x5bb3e7=_0x177e35,_0xdce8ca=path[_0x1879d4(0x174)];if(_0x5bb3e7[_0x1879d4(0x158)](_0x283568,null)||_0x5bb3e7[_0x1879d4(0x158)](_0x283568,'')||_0x5bb3e7[_0x1879d4(0x1a1)](_0x283568,_0xdce8ca))return null;try{return fs['statSync'](path[_0x1879d4(0x175)](_0x283568,_0x5bb3e7[_0x1879d4(0x168)],_0x5bb3e7[_0x1879d4(0x190)])),_0x283568;}catch(_0x1da7ae){const _0x1c7caa=path[_0x1879d4(0x13c)](_0x283568);return this[_0x1879d4(0x1aa)](_0x1c7caa);}}[a25_0x40670e(0x1a8)]=async _0x2acc15=>{const _0x40dfbb=a25_0x40670e,_0x3f9c04={'KWLUt':_0x40dfbb(0x186),'kfhPa':function(_0x40b570,_0x44fb8e){return _0x40b570(_0x44fb8e);}};try{this[_0x40dfbb(0x1f9)]&&!this[_0x40dfbb(0x1f9)][_0x40dfbb(0x138)]&&(_0x2acc15[_0x40dfbb(0x1d1)]=this['current_hook'][_0x40dfbb(0x114)]);!_0x2acc15['hook_run_uuid']&&this[_0x40dfbb(0x12b)]&&!this['current_test']['markedStatus']&&(_0x2acc15[_0x40dfbb(0x1b1)]=this[_0x40dfbb(0x12b)][_0x40dfbb(0xee)]);if(_0x2acc15['hook_run_uuid']||_0x2acc15['test_run_uuid']){const _0x5315ec={};_0x5315ec['event_type']=_0x3f9c04[_0x40dfbb(0x11f)],_0x5315ec[_0x40dfbb(0x16a)]=[_0x2acc15],await SessionHandler[_0x40dfbb(0x197)](_0x5315ec);}}catch(_0x2bb370){_0x3f9c04[_0x40dfbb(0x15e)](debug,_0x40dfbb(0x17b)+_0x2bb370);}};['appendTestPlatform']=async _0x39cad0=>{const _0x2654a8=a25_0x40670e,_0x3ddf15={'rYpqC':'http_response','ElcwS':_0x2654a8(0x16f),'RLhAj':function(_0x51e3e5,_0x282416){return _0x51e3e5(_0x282416);}};try{const _0x5acda0={};_0x5acda0[_0x2654a8(0xf7)]=_0x39cad0[_0x2654a8(0xf7)]||this[_0x2654a8(0x12b)][_0x2654a8(0xee)],_0x5acda0[_0x2654a8(0x1ee)]=_0x39cad0[_0x3ddf15['rYpqC']];const _0x1ec28f=_0x5acda0,_0x3d549a={};_0x3d549a['event_type']=_0x3ddf15[_0x2654a8(0x15c)],_0x3d549a[_0x2654a8(0x188)]=_0x1ec28f,await SessionHandler[_0x2654a8(0x197)](_0x3d549a);}catch(_0x1b2c45){_0x3ddf15[_0x2654a8(0x1e8)](debug,_0x2654a8(0x18a)+_0x1b2c45);}};[a25_0x40670e(0x1a5)](_0x415d35){const _0x537679=a25_0x40670e,_0x5bfce8={};_0x5bfce8[_0x537679(0xf9)]='passed',_0x5bfce8[_0x537679(0x185)]='pending',_0x5bfce8['sppJm']=_0x537679(0x191);const _0x35b73c=_0x5bfce8,_0x3ba234={};return _0x3ba234[STATE_PASSED]=_0x35b73c[_0x537679(0xf9)],_0x3ba234[STATE_PENDING]=_0x35b73c[_0x537679(0x185)],_0x3ba234[STATE_FAILED]=_0x35b73c[_0x537679(0x134)],_0x3ba234[_0x415d35];}[a25_0x40670e(0x19c)](_0x938a06){const _0x2f4ba6=a25_0x40670e,_0x2233f4={};_0x2233f4['FSnuf']=function(_0xbe4872,_0x11ad43){return _0xbe4872-_0x11ad43;};const _0x37b96c=_0x2233f4,_0x3bf0a7=_0x938a06[_0x2f4ba6(0x1c8)]();return _0x3bf0a7[_0x2f4ba6(0x1eb)](0x0,_0x37b96c[_0x2f4ba6(0x103)](_0x3bf0a7['length'],0x1))[_0x2f4ba6(0x175)]('\x20');}[a25_0x40670e(0x1b3)](_0x265aa5){const _0x1c068e=a25_0x40670e,_0x4031b4={};_0x4031b4[_0x1c068e(0x108)]=function(_0x49ed8a,_0x8cae5b){return _0x49ed8a-_0x8cae5b;};const _0x4adc99=_0x4031b4,_0x44250c=_0x265aa5['titlePath']();return _0x44250c[_0x1c068e(0x1eb)](0x0,_0x4adc99[_0x1c068e(0x108)](_0x44250c['length'],0x1));}[a25_0x40670e(0x1f1)](_0x1560af){const _0x3e452f=a25_0x40670e,_0x1c95c9={};_0x1c95c9[_0x3e452f(0x19b)]=function(_0x4d41da,_0x2ba947){return _0x4d41da>_0x2ba947;};const _0x146173=_0x1c95c9;if(_0x1560af[_0x3e452f(0x183)])return _0x1560af[_0x3e452f(0x183)];if(_0x1560af[_0x3e452f(0x13d)]){const _0x43bd03=_0x1560af[_0x3e452f(0x13d)][_0x3e452f(0x1f3)]?this[_0x3e452f(0x1f1)](_0x1560af[_0x3e452f(0x13d)]['currentTest']):null;if(_0x43bd03)return _0x43bd03;}if(_0x1560af['parent']){const _0x879769=this[_0x3e452f(0x1f1)](_0x1560af['parent'])||(_0x1560af[_0x3e452f(0x165)][_0x3e452f(0x13d)]&&_0x1560af['parent'][_0x3e452f(0x13d)][_0x3e452f(0x1f3)]?this['getRootParentFile'](_0x1560af[_0x3e452f(0x165)]['ctx'][_0x3e452f(0x1f3)]):null);if(_0x879769)return _0x879769;_0x1560af[_0x3e452f(0x165)][_0x3e452f(0x14b)]&&_0x146173['wVLHI'](_0x1560af[_0x3e452f(0x165)][_0x3e452f(0x14b)][_0x3e452f(0x10b)],0x0)&&_0x1560af[_0x3e452f(0x165)][_0x3e452f(0x14b)][_0x3e452f(0x14f)](_0x28862e=>{const _0x3ee85f=_0x3e452f,_0x285f3a=_0x28862e[_0x3ee85f(0x13d)]?this['getRootParentFile'](_0x28862e[_0x3ee85f(0x13d)]):null;if(_0x285f3a)return _0x285f3a;});}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_0x2f4f95=a26_0x44da;(function(_0x215a00,_0x10d3ea){const _0x5510ee=a26_0x44da,_0x1d1885=_0x215a00();while(!![]){try{const _0x35520f=parseInt(_0x5510ee(0x208))/0x1+-parseInt(_0x5510ee(0x244))/0x2+parseInt(_0x5510ee(0x21a))/0x3+-parseInt(_0x5510ee(0x1c6))/0x4+parseInt(_0x5510ee(0x1ea))/0x5*(parseInt(_0x5510ee(0x262))/0x6)+-parseInt(_0x5510ee(0x278))/0x7*(-parseInt(_0x5510ee(0x1da))/0x8)+-parseInt(_0x5510ee(0x22c))/0x9;if(_0x35520f===_0x10d3ea)break;else _0x1d1885['push'](_0x1d1885['shift']());}catch(_0x3dc464){_0x1d1885['push'](_0x1d1885['shift']());}}}(a26_0x4674,0x428f3));const chalk=require(a26_0x2f4f95(0x28b)),logger=require(a26_0x2f4f95(0x23d))['winstonLogger'],{default:BrowserStackSetup}=require(a26_0x2f4f95(0x1f7)),helper=require(a26_0x2f4f95(0x218)),testOpsHelper=require(a26_0x2f4f95(0x219)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x2f4f95(0x25d)),{requireModule}=require('../../helpers/helper'),{getPercyOptions}=require(a26_0x2f4f95(0x1d8)),Base=requireModule(a26_0x2f4f95(0x1c7)),collectFiles=requireModule(a26_0x2f4f95(0x23e));function tag(_0x3ccb5b,_0x5cb9bf,_0x528e17,_0x3472df){const _0x22b17c=a26_0x2f4f95,_0x5b6680={'QmXXw':function(_0x37d24a,_0x34716c){return _0x37d24a+_0x34716c;},'FsIVS':function(_0x357cfc,_0x4feb6b){return _0x357cfc(_0x4feb6b);},'ZUEIJ':function(_0x11d16a,_0x33626e){return _0x11d16a+_0x33626e;},'hVOOk':function(_0x384cc7,_0x263d3b){return _0x384cc7+_0x263d3b;}},_0x6fa674=_0x528e17?'/>':'>',_0x9b5c2e=[];let _0x1d8286;for(const _0x3a7cde in _0x5cb9bf){Object['prototype']['hasOwnProperty'][_0x22b17c(0x28c)](_0x5cb9bf,_0x3a7cde)&&_0x9b5c2e[_0x22b17c(0x1c9)](_0x5b6680[_0x22b17c(0x277)](_0x5b6680[_0x22b17c(0x277)](_0x5b6680[_0x22b17c(0x277)](_0x3a7cde,'=\x22'),_0x5b6680['FsIVS'](escape,_0x5cb9bf[_0x3a7cde])),'\x22'));}return _0x1d8286=_0x5b6680[_0x22b17c(0x277)](_0x5b6680[_0x22b17c(0x1f2)](_0x5b6680['hVOOk']('<',_0x3ccb5b),_0x9b5c2e['length']?_0x5b6680['QmXXw']('\x20',_0x9b5c2e['join']('\x20')):''),_0x6fa674),_0x3472df&&(_0x1d8286+=_0x5b6680['hVOOk'](_0x5b6680['ZUEIJ'](_0x5b6680['ZUEIJ'](_0x3472df,'</'),_0x3ccb5b),_0x6fa674)),_0x1d8286;}let xunitContent='';function xunitWrite(_0x1c867f){xunitContent+=_0x1c867f;}function a26_0x44da(_0x1410ba,_0x4e67da){const _0x467429=a26_0x4674();return a26_0x44da=function(_0x44da6d,_0x30efa5){_0x44da6d=_0x44da6d-0x1bb;let _0x490190=_0x467429[_0x44da6d];return _0x490190;},a26_0x44da(_0x1410ba,_0x4e67da);}function xunitTest(_0x20a295,_0x19ebd1){const _0x109cc2=a26_0x2f4f95,_0x920c5d={'vMJZT':function(_0x5ab9ce,_0x4678ec){return _0x5ab9ce/_0x4678ec;},'nuaDK':function(_0x4f0f2a,_0x58f17a){return _0x4f0f2a===_0x58f17a;},'UNgGI':_0x109cc2(0x212),'zwBaO':function(_0x5f299c,_0x338bfc){return _0x5f299c+_0x338bfc;},'jUoBq':function(_0x4761b4,_0x48951a){return _0x4761b4(_0x48951a);},'vsrKc':function(_0x3fcfb8,_0x1196d9,_0x2105f7,_0x242ca4,_0x18b71e){return _0x3fcfb8(_0x1196d9,_0x2105f7,_0x242ca4,_0x18b71e);},'NzWro':_0x109cc2(0x280),'qXITZ':function(_0x2c051b,_0x3d6c2f,_0x1d06a9,_0x5e5397,_0x5c9de5){return _0x2c051b(_0x3d6c2f,_0x1d06a9,_0x5e5397,_0x5c9de5);},'rkIwW':'failure','VIcFC':function(_0x232228,_0x12b835){return _0x232228+_0x12b835;},'Xyybv':function(_0x2d0519,_0x1baf8f){return _0x2d0519(_0x1baf8f);},'GsyYc':function(_0x48acf6,_0x27aaad,_0x3729fe,_0xe9454a){return _0x48acf6(_0x27aaad,_0x3729fe,_0xe9454a);},'bBIAw':_0x109cc2(0x1dd),'eTHZg':function(_0x4c90d8,_0x2aea9d){return _0x4c90d8(_0x2aea9d);},'Ejmoy':function(_0x1489b0,_0x21b0ba,_0x47a561,_0x375301){return _0x1489b0(_0x21b0ba,_0x47a561,_0x375301);}};Base[_0x109cc2(0x211)]=![];var _0x4d034f={'classname':_0x20a295[_0x109cc2(0x224)],'name':_0x20a295['title'],'time':_0x920c5d['vMJZT'](_0x20a295[_0x109cc2(0x276)],0x3e8)||0x0,'platform':_0x19ebd1};if(_0x920c5d[_0x109cc2(0x268)](_0x20a295[_0x109cc2(0x241)],_0x920c5d[_0x109cc2(0x1bb)])){var _0x1369cf=_0x20a295[_0x109cc2(0x1ff)],_0x2b88bf=!Base['hideDiff']&&Base[_0x109cc2(0x247)](_0x1369cf)?_0x920c5d[_0x109cc2(0x1ed)]('\x0a',Base[_0x109cc2(0x296)](_0x1369cf[_0x109cc2(0x1f9)],_0x1369cf['expected'])):'';_0x920c5d[_0x109cc2(0x22a)](xunitWrite,_0x920c5d[_0x109cc2(0x258)](tag,_0x920c5d[_0x109cc2(0x230)],_0x4d034f,![],_0x920c5d[_0x109cc2(0x203)](tag,_0x920c5d[_0x109cc2(0x217)],{},![],_0x920c5d[_0x109cc2(0x27a)](_0x920c5d[_0x109cc2(0x1ed)](_0x920c5d[_0x109cc2(0x27a)](_0x920c5d[_0x109cc2(0x20b)](escape,_0x1369cf[_0x109cc2(0x204)]),_0x920c5d[_0x109cc2(0x22a)](escape,_0x2b88bf)),'\x0a'),_0x920c5d['jUoBq'](escape,_0x1369cf['stack'])))));}else _0x20a295[_0x109cc2(0x25c)]?_0x920c5d[_0x109cc2(0x22a)](xunitWrite,_0x920c5d[_0x109cc2(0x203)](tag,_0x920c5d[_0x109cc2(0x230)],_0x4d034f,![],_0x920c5d[_0x109cc2(0x1f3)](tag,_0x920c5d[_0x109cc2(0x21d)],{},!![]))):_0x920c5d[_0x109cc2(0x28f)](xunitWrite,_0x920c5d['Ejmoy'](tag,_0x920c5d[_0x109cc2(0x230)],_0x4d034f,!![]));};function getStats(_0x33c8c1){const _0x32e6dc=a26_0x2f4f95,_0x1d2e4c={};_0x1d2e4c[_0x32e6dc(0x1fa)]='suite',_0x1d2e4c[_0x32e6dc(0x251)]='passed',_0x1d2e4c[_0x32e6dc(0x263)]=_0x32e6dc(0x212),_0x1d2e4c[_0x32e6dc(0x21c)]=_0x32e6dc(0x227);const _0x4f8ccf=_0x1d2e4c,_0x5c897b=Object['keys'](_0x33c8c1);let _0x5a008f=0x0,_0x5e1b8d=0x0,_0x3cdcda=0x0,_0x4f3543=0x0;const _0x53d99a=new Set();_0x5c897b[_0x32e6dc(0x238)](_0x590e17=>{const _0x1a6974=_0x32e6dc,_0x468e78={};_0x468e78[_0x1a6974(0x1bd)]=_0x4f8ccf[_0x1a6974(0x1fa)],_0x468e78[_0x1a6974(0x1d4)]=_0x4f8ccf[_0x1a6974(0x251)],_0x468e78[_0x1a6974(0x216)]=_0x4f8ccf[_0x1a6974(0x263)];const _0x1651bd=_0x468e78;_0x33c8c1[_0x590e17][_0x4f8ccf[_0x1a6974(0x21c)]][_0x1a6974(0x238)](_0x11733a=>{const _0x5a982a=_0x1a6974;_0x53d99a[_0x5a982a(0x291)](_0x11733a[_0x1651bd[_0x5a982a(0x1bd)]]),_0x5a008f++;switch(_0x11733a['state']){case _0x1651bd[_0x5a982a(0x1d4)]:_0x3cdcda++;break;case _0x1651bd[_0x5a982a(0x216)]:_0x5e1b8d++;break;default:_0x4f3543++;}});});const _0x570db1={};return _0x570db1[_0x32e6dc(0x26c)]=_0x53d99a['size'],_0x570db1[_0x32e6dc(0x1bf)]=_0x5c897b,_0x570db1['totalTests']=_0x5a008f,_0x570db1[_0x32e6dc(0x1ca)]=_0x5e1b8d,_0x570db1['testsPassed']=_0x3cdcda,_0x570db1['testsPending']=_0x4f3543,_0x570db1;}function errorJSON(_0x5b6e16){const _0xfe9a28=a26_0x2f4f95;var _0x49a8b6={};return Object['getOwnPropertyNames'](_0x5b6e16)[_0xfe9a28(0x238)](function(_0x3153e0){_0x49a8b6[_0x3153e0]=_0x5b6e16[_0x3153e0];},_0x5b6e16),_0x49a8b6;}function cleanCycles(_0x2862a9){const _0xbb71b9=a26_0x2f4f95,_0x2015a={};_0x2015a[_0xbb71b9(0x1c2)]=function(_0x5eb41d,_0x115daf){return _0x5eb41d===_0x115daf;},_0x2015a[_0xbb71b9(0x1e9)]=_0xbb71b9(0x202),_0x2015a['mVdsq']=function(_0x36ee13,_0x44f150){return _0x36ee13!==_0x44f150;},_0x2015a[_0xbb71b9(0x22d)]=function(_0x52c48b,_0x4f4f8b){return _0x52c48b!==_0x4f4f8b;},_0x2015a['ZarZB']=function(_0x534393,_0x5d72bf){return _0x534393+_0x5d72bf;};const _0x5a2324=_0x2015a;var _0x19de8b=[];return JSON[_0xbb71b9(0x1f8)](JSON[_0xbb71b9(0x256)](_0x2862a9,function(_0x5b8b25,_0x5d1302){const _0x5d3cd7=_0xbb71b9;if(_0x5a2324['hURHs'](typeof _0x5d1302,_0x5a2324['RGwxZ'])&&_0x5a2324[_0x5d3cd7(0x1fe)](_0x5d1302,null)){if(_0x5a2324['KCKNE'](_0x19de8b[_0x5d3cd7(0x243)](_0x5d1302),-0x1))return _0x5a2324[_0x5d3cd7(0x1bc)]('',_0x5d1302);_0x19de8b[_0x5d3cd7(0x1c9)](_0x5d1302);}return _0x5d1302;}));}function clean(_0xb3230d){const _0x580f47=a26_0x2f4f95,_0x371f86={'zSWJP':function(_0x234687,_0x2163eb){return _0x234687 instanceof _0x2163eb;},'ePPXb':function(_0xc397b8,_0x7881c3){return _0xc397b8(_0x7881c3);},'CFtnR':function(_0x56725d,_0x464f76){return _0x56725d(_0x464f76);}};var _0x4daf2a=_0xb3230d[_0x580f47(0x1ff)]||{};return _0x371f86[_0x580f47(0x1c1)](_0x4daf2a,Error)&&(_0x4daf2a=_0x371f86[_0x580f47(0x225)](errorJSON,_0x4daf2a)),{'title':_0xb3230d[_0x580f47(0x1f1)],'fullTitle':_0xb3230d[_0x580f47(0x224)],'file':_0xb3230d[_0x580f47(0x215)],'duration':_0xb3230d[_0x580f47(0x276)],'currentRetry':_0xb3230d['currentRetry'],'speed':_0xb3230d[_0x580f47(0x26f)],'err':_0x371f86[_0x580f47(0x23f)](cleanCycles,_0x4daf2a)};}function printStats(_0x3d0222,_0xf5e53f=a26_0x2f4f95(0x23a),_0x5644b8={}){const _0x4e3d81=a26_0x2f4f95,_0x1d2573={'Cajiu':function(_0x39d623,_0x118cae){return _0x39d623(_0x118cae);},'jXaHi':function(_0x1dd7b2,_0x401ebb){return _0x1dd7b2===_0x401ebb;},'ZMKVI':_0x4e3d81(0x1c8),'jQNUm':'passes','wLEKY':_0x4e3d81(0x212),'Wwydq':'failures','QgtGo':function(_0x36c010,_0x40b1e9){return _0x36c010(_0x40b1e9);},'vLXac':_0x4e3d81(0x223),'tLYny':_0x4e3d81(0x227),'aloCV':function(_0x36d60d,_0x35a0f0){return _0x36d60d===_0x35a0f0;},'JnGQY':function(_0x44aac7,_0x598a36){return _0x44aac7*_0x598a36;},'NNkot':function(_0x567d15,_0x2f882d,_0x5c5c1a){return _0x567d15(_0x2f882d,_0x5c5c1a);},'fgLCv':function(_0x5bda3e,_0x2a536a){return _0x5bda3e>_0x2a536a;},'INEEs':function(_0x19152e){return _0x19152e();},'WONKh':function(_0x2983e9,_0x3335d7){return _0x2983e9===_0x3335d7;},'TILGH':_0x4e3d81(0x1cb),'VQVix':function(_0x1f242b,_0x337e04){return _0x1f242b(_0x337e04);},'TmwjK':'Setting\x20non\x20exit\x20code\x20for\x20failures','hZIVj':_0x4e3d81(0x233),'CiQZo':function(_0x3ab5b9,_0x43cc37){return _0x3ab5b9+_0x43cc37;},'XmCsY':_0x4e3d81(0x272),'uFDuO':_0x4e3d81(0x20c),'MBhjf':_0x4e3d81(0x1e0),'CFRKf':function(_0x459050,_0x22212a){return _0x459050>_0x22212a;},'xdWin':function(_0x57b141,_0x68b01a){return _0x57b141+_0x68b01a;},'JrYzk':'\x0a\x0a\x0a','szNUa':function(_0x482fa7,_0x5379a4){return _0x482fa7===_0x5379a4;},'FFuki':_0x4e3d81(0x21b),'eUvOZ':'Writing\x20json\x20result\x20to\x20file','cIMdA':_0x4e3d81(0x1cf),'qSpUu':_0x4e3d81(0x266),'PlPuB':_0x4e3d81(0x1db),'UNdAK':_0x4e3d81(0x1e2),'JtVTK':function(_0x38978b,_0x426e65){return _0x38978b||_0x426e65;},'pnMWW':function(_0x263f74,_0x22767e){return _0x263f74(_0x22767e);},'yXoNF':function(_0x316dd6,_0xe590c2,_0xd5b78f,_0x152e15){return _0x316dd6(_0xe590c2,_0xd5b78f,_0x152e15);},'wenqk':_0x4e3d81(0x27d),'GOtIp':function(_0xefd6d1,_0x2e9814){return _0xefd6d1-_0x2e9814;},'kjcen':function(_0x247142,_0x138fbd){return _0x247142-_0x138fbd;},'hfRMb':function(_0x2e31a4,_0x1a2bc5){return _0x2e31a4/_0x1a2bc5;},'qBxjm':function(_0x1e353a,_0x3d85a7){return _0x1e353a(_0x3d85a7);},'UxtlB':_0x4e3d81(0x294),'PLsMU':'Writing\x20xunit\x20result\x20to\x20file','CPRNH':_0x4e3d81(0x273),'KOkqi':_0x4e3d81(0x284),'Egorf':_0x4e3d81(0x245),'dwZNh':_0x4e3d81(0x1c3)};if(_0x1d2573['WONKh'](_0xf5e53f,_0x1d2573['TILGH']))return;const _0x47e59f=0x0,_0x2d63f5=()=>{const _0x18c929=_0x4e3d81;return _0x1d2573[_0x18c929(0x289)](Array,_0x47e59f)[_0x18c929(0x24e)]('\x20\x20');},{testSuites:_0x4fbf14,platforms:_0x4d5753,totalTests:_0x54cd4a,testsFailed:_0xc1a804,testsPassed:_0x48fc1f,testsPending:_0x1495b4}=_0x1d2573['VQVix'](getStats,_0x3d0222);_0x1d2573[_0x4e3d81(0x264)](_0xc1a804,0x0)&&(logger['debug'](_0x1d2573['TmwjK']),process[_0x4e3d81(0x1e6)]=Math[_0x4e3d81(0x27f)](_0xc1a804,0xff));logger['debug'](_0x1d2573[_0x4e3d81(0x269)]);const _0x16ac28=''+_0x1d2573[_0x4e3d81(0x1cc)](chalk[_0x4e3d81(0x246)](_0x1d2573['XmCsY']),_0x4d5753[_0x4e3d81(0x1d1)]),_0x5657d6=''+_0x1d2573[_0x4e3d81(0x1cc)](chalk[_0x4e3d81(0x246)](_0x1d2573[_0x4e3d81(0x281)]),_0x4fbf14),_0x4dd97f=''+_0x1d2573['CiQZo'](_0x1d2573['CiQZo'](_0x1d2573['CiQZo'](chalk['bold'](_0x1d2573[_0x4e3d81(0x232)]),_0x1d2573[_0x4e3d81(0x264)](_0xc1a804,0x0)?chalk[_0x4e3d81(0x246)]['red'](_0xc1a804+_0x4e3d81(0x270))+',\x20':''),_0x1d2573[_0x4e3d81(0x264)](_0x1495b4,0x0)?chalk['bold']['yellow'](_0x1495b4+_0x4e3d81(0x257))+',\x20':''),_0x1d2573[_0x4e3d81(0x1e8)](_0x48fc1f,0x0)?chalk[_0x4e3d81(0x246)][_0x4e3d81(0x290)](_0x48fc1f+_0x4e3d81(0x27b))+',\x20':'')+_0x54cd4a+_0x4e3d81(0x1cd);console[_0x4e3d81(0x274)](_0x1d2573[_0x4e3d81(0x1f5)](_0x1d2573[_0x4e3d81(0x1f5)](_0x1d2573[_0x4e3d81(0x1cc)](_0x1d2573['xdWin'](_0x1d2573[_0x4e3d81(0x1f5)](_0x1d2573['JrYzk'],_0x16ac28),'\x0a'),_0x5657d6),'\x0a'),_0x4dd97f));if(_0x1d2573[_0x4e3d81(0x23b)](_0xf5e53f,_0x1d2573[_0x4e3d81(0x1e4)])){const _0x454f8d={},_0x3102b0={};_0x3102b0[_0x4e3d81(0x26c)]=_0x4fbf14,_0x3102b0[_0x4e3d81(0x1bf)]=_0x4d5753,_0x3102b0[_0x4e3d81(0x1ca)]=_0xc1a804,_0x3102b0[_0x4e3d81(0x248)]=_0x48fc1f,_0x3102b0[_0x4e3d81(0x1c5)]=_0x1495b4,_0x454f8d[_0x4e3d81(0x1fc)]=_0x3102b0,_0x4d5753[_0x4e3d81(0x238)](_0x240f35=>{const _0x577a6e=_0x4e3d81;_0x454f8d[_0x240f35]={'pending':[],'failures':[],'passes':[],'tests':_0x3d0222[_0x240f35][_0x1d2573[_0x577a6e(0x22b)]]['map'](clean)},_0x3d0222[_0x240f35][_0x1d2573['tLYny']]['forEach'](_0x177a30=>{const _0x333762=_0x577a6e;if(_0x1d2573[_0x333762(0x282)](_0x177a30[_0x333762(0x241)],_0x1d2573[_0x333762(0x205)]))_0x454f8d[_0x240f35][_0x1d2573['jQNUm']][_0x333762(0x1c9)](_0x1d2573[_0x333762(0x289)](clean,_0x177a30));else _0x1d2573[_0x333762(0x282)](_0x177a30[_0x333762(0x241)],_0x1d2573[_0x333762(0x1de)])?_0x454f8d[_0x240f35][_0x1d2573['Wwydq']][_0x333762(0x1c9)](_0x1d2573['QgtGo'](clean,_0x177a30)):_0x454f8d[_0x240f35][_0x1d2573['vLXac']][_0x333762(0x1c9)](_0x1d2573[_0x333762(0x213)](clean,_0x177a30));});});if(_0x5644b8[_0x4e3d81(0x228)])try{logger['debug'](_0x1d2573[_0x4e3d81(0x1d2)],_0x5644b8['output']),fs[_0x4e3d81(0x235)](_0x5644b8[_0x4e3d81(0x228)],JSON[_0x4e3d81(0x256)](_0x454f8d,null,0x3));}catch(_0xcaa503){logger[_0x4e3d81(0x298)](_0x1d2573[_0x4e3d81(0x1f0)],_0x5644b8[_0x4e3d81(0x228)]),logger['debug'](_0xcaa503);}else logger[_0x4e3d81(0x20a)](_0x1d2573[_0x4e3d81(0x229)]),console[_0x4e3d81(0x274)](JSON[_0x4e3d81(0x256)](_0x454f8d,null,0x3));}else{if(_0x1d2573[_0x4e3d81(0x1d9)](_0xf5e53f,_0x1d2573[_0x4e3d81(0x209)])){let _0x5269f3;const _0x9169b5=_0x1d2573['UNdAK'];_0x5644b8&&(_0x5269f3=_0x5644b8[_0x4e3d81(0x201)]);_0x5269f3=_0x1d2573[_0x4e3d81(0x265)](_0x5269f3,_0x9169b5);let _0x24a8d9=0x0,_0x43c372=0x0,_0x457ec3=0x0,_0x49399f=0x0;_0x4d5753[_0x4e3d81(0x238)](_0x69de4f=>{const _0x4e8d3f=_0x4e3d81;_0x3d0222[_0x69de4f][_0x1d2573[_0x4e8d3f(0x22b)]][_0x4e8d3f(0x238)](_0x23f7c6=>{const _0x5b6ef9=_0x4e8d3f;if(_0x1d2573[_0x5b6ef9(0x282)](_0x23f7c6[_0x5b6ef9(0x241)],_0x1d2573[_0x5b6ef9(0x205)]))_0x24a8d9++;else _0x1d2573[_0x5b6ef9(0x1d9)](_0x23f7c6['state'],_0x1d2573['wLEKY'])&&_0x43c372++;_0x457ec3++,_0x49399f+=_0x1d2573['JnGQY'](_0x23f7c6['duration'],0x1);});}),_0x1d2573[_0x4e3d81(0x236)](xunitWrite,_0x1d2573[_0x4e3d81(0x1d3)](tag,_0x1d2573[_0x4e3d81(0x267)],{'name':_0x5269f3,'tests':_0x457ec3,'failures':0x0,'errors':_0x43c372,'skipped':_0x1d2573[_0x4e3d81(0x221)](_0x1d2573[_0x4e3d81(0x1f4)](_0x457ec3,_0x43c372),_0x24a8d9),'timestamp':new Date()[_0x4e3d81(0x286)](),'time':_0x1d2573[_0x4e3d81(0x1c4)](_0x49399f,0x3e8)||0x0},![])),_0x4d5753[_0x4e3d81(0x238)](_0x21b053=>{const _0x5948c1=_0x4e3d81,_0x4196e5={'PwNaP':function(_0xb01625,_0x53c413,_0x4c4ea0){const _0x4da15c=a26_0x44da;return _0x1d2573[_0x4da15c(0x1ec)](_0xb01625,_0x53c413,_0x4c4ea0);}};_0x3d0222[_0x21b053][_0x1d2573[_0x5948c1(0x22b)]][_0x5948c1(0x238)](_0x263d4b=>{const _0xc27a6f=_0x5948c1;_0x4196e5[_0xc27a6f(0x295)](xunitTest,_0x263d4b,_0x21b053);});}),_0x1d2573['qBxjm'](xunitWrite,_0x1d2573[_0x4e3d81(0x25b)]);if(_0x5644b8['output'])try{logger[_0x4e3d81(0x20a)](_0x1d2573[_0x4e3d81(0x26b)],_0x5644b8[_0x4e3d81(0x228)]),fs[_0x4e3d81(0x235)](_0x5644b8[_0x4e3d81(0x228)],xunitContent);}catch(_0x4e4437){logger['error'](_0x1d2573['CPRNH'],_0x5644b8['output']),logger[_0x4e3d81(0x20a)](_0x4e4437);}else logger[_0x4e3d81(0x20a)](_0x1d2573[_0x4e3d81(0x23c)]),console[_0x4e3d81(0x274)](xunitContent);}else{if(_0x1d2573[_0x4e3d81(0x282)](_0xc1a804,0x0))return;console[_0x4e3d81(0x274)](),logger[_0x4e3d81(0x20a)](_0x1d2573['Egorf']),console[_0x4e3d81(0x274)](chalk['bold'][_0x4e3d81(0x25e)](_0x1d2573[_0x4e3d81(0x1d0)])),_0x4d5753[_0x4e3d81(0x238)](_0x1aff9d=>{const _0x1f04a6=_0x4e3d81,_0x5e8845=[];_0x3d0222[_0x1aff9d][_0x1d2573[_0x1f04a6(0x22b)]]['forEach'](_0x555419=>{const _0x53cc1f=_0x1f04a6;_0x1d2573[_0x53cc1f(0x1d9)](_0x555419[_0x53cc1f(0x241)],_0x1d2573[_0x53cc1f(0x1de)])&&(_0x555419['titlePath']=()=>_0x555419[_0x53cc1f(0x26a)],_0x5e8845['push'](_0x555419));}),_0x1d2573[_0x1f04a6(0x264)](_0x5e8845[_0x1f04a6(0x1d1)],0x0)&&(Base[_0x1f04a6(0x206)](),Base['consoleLog'](_0x1d2573['INEEs'](_0x2d63f5),chalk[_0x1f04a6(0x246)][_0x1f04a6(0x249)](_0x1aff9d)),Base[_0x1f04a6(0x287)](_0x5e8845));});}}}async function run(_0x563f1e,_0x46cd97){const _0x3a4910=a26_0x2f4f95,_0x2e1e0d={'SmJSQ':function(_0x27b703,_0x279b1c,_0x20317b,_0x14618d){return _0x27b703(_0x279b1c,_0x20317b,_0x14618d);},'Pnlqv':_0x3a4910(0x292),'ALkHA':_0x3a4910(0x21f),'kCZuQ':_0x3a4910(0x254),'YObWK':_0x3a4910(0x297),'LayEU':_0x3a4910(0x252),'UVIDf':function(_0x5efa7a,_0x1a55a7){return _0x5efa7a!=_0x1a55a7;},'xRBJA':_0x3a4910(0x299),'afJBF':'mjs','WCpLK':_0x3a4910(0x27c),'iYoGz':_0x3a4910(0x1c0),'wxjar':function(_0x546fc3,_0x25c481){return _0x546fc3(_0x25c481);},'LPXdC':_0x3a4910(0x200),'hkVgk':'Now,\x20showing\x20logs\x20from\x20mocha','pbNeW':function(_0x24cf3f,_0x149342,_0x3e9c6b,_0x3f8f1d){return _0x24cf3f(_0x149342,_0x3e9c6b,_0x3f8f1d);},'gycbG':function(_0x59010e,_0xddd349){return _0x59010e*_0xddd349;},'GVXKf':function(_0x20533a,_0x2b29f5){return _0x20533a!==_0x2b29f5;},'gVIbn':function(_0x331dc,_0x35dbb4,_0x1262a7,_0x3ab0c6){return _0x331dc(_0x35dbb4,_0x1262a7,_0x3ab0c6);}};process[_0x3a4910(0x231)][_0x3a4910(0x1ce)](_0x2e1e0d[_0x3a4910(0x226)])&&(process[_0x3a4910(0x26d)][_0x3a4910(0x250)]=![]);process[_0x3a4910(0x231)][_0x3a4910(0x1ce)](_0x2e1e0d[_0x3a4910(0x1e5)])&&(process[_0x3a4910(0x26d)][_0x3a4910(0x210)]=![]);const _0x2986cb=new BrowserStackSetup(_0x563f1e,_0x2e1e0d[_0x3a4910(0x27e)]);helper['isBrowserstackInfra']()&&(await _0x2986cb[_0x3a4910(0x240)](),await helper[_0x3a4910(0x1fd)](_0x2986cb[_0x3a4910(0x1eb)]));const _0x3b4868=[],_0x539738=[];if(!_0x2986cb[_0x3a4910(0x1eb)])return;_0x2e1e0d[_0x3a4910(0x29a)](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x239)],null)&&(process[_0x3a4910(0x26d)][_0x3a4910(0x21e)]=_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x239)]);!helper[_0x3a4910(0x25f)](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x24c)])&&(process[_0x3a4910(0x26d)][_0x3a4910(0x253)]=_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x24c)]);!helper[_0x3a4910(0x25f)](_0x2986cb[_0x3a4910(0x1eb)]['accessibilityOptions'])&&(process[_0x3a4910(0x26d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x3a4910(0x256)](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x29b)]));const {extension:extension=['js',_0x2e1e0d[_0x3a4910(0x24a)],_0x2e1e0d['afJBF']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2e1e0d[_0x3a4910(0x220)]]}=_0x563f1e,_0x1f17a8={..._0x563f1e};_0x1f17a8[_0x3a4910(0x1d5)]=null;const _0x1748ec=_0x1f17a8;let _0x40784c;if(testOpsHelper[_0x3a4910(0x24f)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x573a27=process[_0x3a4910(0x26d)][_0x3a4910(0x293)];!helper[_0x3a4910(0x25f)](_0x2986cb[_0x3a4910(0x283)])&&_0x2986cb[_0x3a4910(0x283)][_0x3a4910(0x1d7)](_0x2e1e0d[_0x3a4910(0x1be)])&&(_0x573a27=_0x2986cb[_0x3a4910(0x283)][_0x3a4910(0x1d6)](_0x2e1e0d['iYoGz'])),_0x40784c=testOpsHelper[_0x3a4910(0x1e3)](_0x573a27);}if(helper[_0x3a4910(0x25f)](_0x40784c)){const _0x5c0148={};_0x5c0148[_0x3a4910(0x260)]=ignore,_0x5c0148[_0x3a4910(0x242)]=extension,_0x5c0148[_0x3a4910(0x215)]=file,_0x5c0148[_0x3a4910(0x275)]=recursive,_0x5c0148[_0x3a4910(0x1ef)]=sort,_0x5c0148[_0x3a4910(0x23a)]=spec,_0x40784c=_0x2e1e0d[_0x3a4910(0x24d)](collectFiles,_0x5c0148);}helper['markSDKSetupComplete']();if(!helper['isBrowserstackInfra']()){const _0x37d7ef=0x1,_0x46919d={..._0x1748ec};_0x46919d[_0x3a4910(0x23a)]=[..._0x40784c],_0x3b4868[_0x3a4910(0x1c9)]({'mochaOpts':_0x46919d,'configuration':{'platform':os['platform']()}}),logger[_0x3a4910(0x22e)](_0x2e1e0d[_0x3a4910(0x1e7)]),logger['info'](_0x2e1e0d[_0x3a4910(0x214)]),_0x2e1e0d[_0x3a4910(0x1dc)](parallelTestRun,_0x3b4868,_0x37d7ef,_0x2986cb['config'])[_0x3a4910(0x20e)](_0x511261=>{_0x2e1e0d['SmJSQ'](printStats,_0x511261,_0x563f1e['reporter'],_0x563f1e['reporterOptions']||_0x563f1e[_0x2e1e0d['Pnlqv']]);})['finally'](()=>{const _0x141629=_0x3a4910;try{helper[_0x141629(0x1f6)](_0x2e1e0d['ALkHA'],{},_0x2986cb[_0x141629(0x1eb)],_0x2986cb['framework']);}catch(_0x743103){logger['debug'](_0x141629(0x237)+_0x743103);}try{helper[_0x141629(0x222)]();}catch(_0x228fd4){logger[_0x141629(0x20a)](_0x141629(0x1ee)+_0x228fd4);}testOpsHelper[_0x141629(0x255)]();});}else{const _0x975ca0=_0x2e1e0d['gycbG'](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x1bf)]['length'],_0x2986cb['config'][_0x3a4910(0x234)]),_0xba751b=helper[_0x3a4910(0x20d)](_0x2986cb[_0x3a4910(0x1eb)]),_0x1ff0bb=helper[_0x3a4910(0x28a)](_0x2986cb[_0x3a4910(0x1eb)]);_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x1bf)][_0x3a4910(0x238)]((_0x211d2f,_0x1bfc2e)=>{const _0x191c7a=_0x3a4910;_0xba751b?_0x539738[_0x191c7a(0x1c9)](helper[_0x191c7a(0x22f)](_0x2986cb[_0x191c7a(0x1eb)],_0x2e1e0d[_0x191c7a(0x27e)],_0x1bfc2e)):_0x539738[_0x191c7a(0x1c9)](helper['modifyBrowserStackCaps'](_0x2986cb[_0x191c7a(0x1eb)],_0x2e1e0d[_0x191c7a(0x27e)],_0x1bfc2e));});const _0x388cd6=_0x2e1e0d[_0x3a4910(0x24d)](getPercyOptions,_0x2986cb['config']);if(_0x2e1e0d[_0x3a4910(0x20f)](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x234)],0x1))_0x40784c[_0x3a4910(0x238)](_0x55c41d=>{const _0x5733c5=_0x3a4910,_0x38a6da=[];_0x539738[_0x5733c5(0x238)]((_0x42c6a5,_0x421310)=>{const _0x4402bd=_0x5733c5,_0x21ff10={};_0x21ff10[_0x4402bd(0x23a)]=[_0x55c41d],_0x38a6da[_0x4402bd(0x1c9)]({'mochaOpts':Object[_0x4402bd(0x207)]({},_0x1748ec,_0x21ff10),'configuration':{'server':_0x1ff0bb,'capability':_0x42c6a5,'proxySettings':_0x2986cb['config'][_0x4402bd(0x28d)],'platform':helper[_0x4402bd(0x1df)](_0x42c6a5),'browserStackLogLevel':_0x2986cb[_0x4402bd(0x1eb)][_0x4402bd(0x25a)],'platformIndex':_0x421310,'browserStackPercyOptions':_0x388cd6,'platformCaps':_0x2986cb[_0x4402bd(0x1eb)]['platforms'][_0x421310]}});}),_0x3b4868[_0x5733c5(0x1c9)](..._0x38a6da);});else{const _0x432166=[];_0x539738[_0x3a4910(0x238)]((_0x88ed6,_0xbc5c9f)=>{const _0x2670d2=_0x3a4910;let _0x4c9be5=Object[_0x2670d2(0x207)]({},_0x1748ec);testOpsHelper[_0x2670d2(0x24f)]()&&testOpsHelper[_0x2670d2(0x285)]()&&(_0x4c9be5={..._0x4c9be5,'spec':[..._0x40784c]}),_0x432166[_0x2670d2(0x1c9)]({'mochaOpts':_0x4c9be5,'configuration':{'server':_0x1ff0bb,'capability':_0x88ed6,'proxySettings':_0x2986cb[_0x2670d2(0x1eb)][_0x2670d2(0x28d)],'platform':helper[_0x2670d2(0x1df)](_0x88ed6),'browserStackLogLevel':_0x2986cb[_0x2670d2(0x1eb)][_0x2670d2(0x25a)],'platformIndex':_0xbc5c9f,'browserStackPercyOptions':_0x388cd6,'platformCaps':_0x2986cb[_0x2670d2(0x1eb)]['platforms'][_0xbc5c9f]}});}),_0x3b4868['push'](..._0x432166);}logger[_0x3a4910(0x22e)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x2986cb[_0x3a4910(0x1eb)]['platforms'][_0x3a4910(0x1d1)]+_0x3a4910(0x271)),logger[_0x3a4910(0x22e)](_0x2e1e0d[_0x3a4910(0x214)]);let _0x100b8c;_0x2e1e0d[_0x3a4910(0x279)](parallelTestRun,_0x3b4868,_0x975ca0,_0x2986cb[_0x3a4910(0x1eb)])[_0x3a4910(0x20e)](_0x4ebcc6=>{const _0x3857ef=_0x3a4910;_0x100b8c=_0x4ebcc6,_0x2e1e0d['SmJSQ'](printStats,_0x4ebcc6,_0x563f1e[_0x3857ef(0x28e)],_0x563f1e[_0x3857ef(0x1e1)]||_0x563f1e[_0x2e1e0d[_0x3857ef(0x1fb)]]);})[_0x3a4910(0x259)](async()=>{const _0x242f2e=_0x3a4910;_0x2986cb[_0x242f2e(0x24b)]=helper[_0x242f2e(0x26e)](_0x100b8c,_0x2e1e0d[_0x242f2e(0x27e)]),await helper[_0x242f2e(0x288)](_0x2986cb),testOpsHelper[_0x242f2e(0x255)]();});}}module[a26_0x2f4f95(0x261)]=run;function a26_0x4674(){const _0x56b8f1=['eUvOZ','yXoNF','hijAd','rootHooks','get','has','../../helpers/percy/utils','aloCV','27488UcOXnF','xunit','pbNeW','skipped','wLEKY','getPlatformName','Tests:\x20\x20\x20\x20\x20\x20\x20','reporterOptions','Mocha\x20Tests','parseFileNames','FFuki','LayEU','exitCode','LPXdC','CFRKf','RGwxZ','415HHGowj','config','NNkot','zwBaO','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','sort','cIMdA','title','ZUEIJ','GsyYc','kjcen','xdWin','fireFunnelTestEvent','../../helpers/BrowserStackSetup','parse','actual','aQsYV','Pnlqv','stats','handleApp','mVdsq','err','Running\x20your\x20mocha\x20tests','suiteName','object','qXITZ','message','ZMKVI','consoleLog','assign','326318MZszGO','PlPuB','debug','Xyybv','Total\x20Suites:\x20','useW3C','then','GVXKf','BROWSERSTACK_AUTOMATION','useColors','failed','QgtGo','hkVgk','file','VGqed','rkIwW','../../helpers/helper','../../helpers/test-observability/utils','708414oMvmZB','json','SUrCS','bBIAw','BROWSERSTACK_TEST_OBSERVABILITY_YML','SDKTestSuccessful','WCpLK','GOtIp','notifyUpdate','pending','fullTitle','ePPXb','YObWK','results','output','qSpUu','jUoBq','tLYny','709731uvVZLs','KCKNE','info','modifyBrowserStackW3CCaps','NzWro','argv','MBhjf','Printing\x20stats\x20of\x20tests','parallelsPerPlatform','writeFileSync','pnMWW','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','forEach','testObservability','spec','szNUa','KOkqi','../../helpers/logger','mocha/lib/cli/collect-files.js','CFtnR','initialize','state','extension','indexOf','569684voLbfD','Listing\x20all\x20the\x20failures','bold','showDiff','testsPassed','bgBlueBright','xRBJA','errorMessage','accessibility','wxjar','join','isTestObservabilitySession','BROWSERSTACK_TEST_OBSERVABILITY','NWJku','--disable-browserstack-automation','BROWSERSTACK_TEST_ACCESSIBILITY_YML','mocha','printBuildLink','stringify','\x20skipped','vsrKc','finally','logLevel','UxtlB','isPending','../test-runner','bgRedBright','isUndefined','ignore','exports','6516HHwvoJ','cyyvU','fgLCv','JtVTK','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','wenqk','nuaDK','hZIVj','titlePathV','PLsMU','testSuites','env','getErrorMessageFromResults','speed','\x20failed','\x20platforms','Total\x20Platforms:\x20','Couldn\x27t\x20write\x20xunit\x20result\x20to','log','recursive','duration','QmXXw','182MTzqGA','gVIbn','VIcFC','\x20passed','test','testsuite','kCZuQ','min','testcase','uFDuO','jXaHi','cliConfig','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','shouldReRunObservabilityTests','toUTCString','list','finalExecution','Cajiu','getHubUrl','chalk','call','proxySettings','reporter','eTHZg','green','add','reporter-option','BROWSERSTACK_RERUN_TESTS','</testsuite>','PwNaP','generateDiff','--disable-test-observability','error','cjs','UVIDf','accessibilityOptions','UNgGI','ZarZB','hFTgM','iYoGz','platforms','rerunTests','zSWJP','hURHs','****\x20FAILURES\x20****','hfRMb','testsPending','422408kKMOZj','mocha/lib/reporters/base.js','passed','push','testsFailed','doc','CiQZo','\x20total','includes','Couldn\x27t\x20write\x20json\x20result\x20to','dwZNh','length'];a26_0x4674=function(){return _0x56b8f1;};return a26_0x4674();}
|
|
@@ -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
|
+
function a27_0x25f0(){const _0x41ed3e=['../../../bin/utils/constants','edgeOptions_','lNFDp','../accessibility-automation/helper','2617901QVYAZb','aILqS','global','yKIkn','chromeOptions','../../../helpers/accessibility-automation/helper','mBRXY','overrideGet','NFOSq','proxySettings','__setBrowserOptions','12UTgbel','HYTfR','firefoxOptions_','path','setLogLevel','1277815BbBTxJ','originalBuilder','3TBbztz','proxy_','CAPABILITY_KEY','debug','storeOptimalHubUrl','4580400WfZefG','exports','isBrowserstackInfra','estfK','session_','split','updateHubUrl','optimalHubUrl','requireSeleniumWebdriver','ieOptions','JUXxt','HttpClient','overrideExecute','safariOptions_','Modifying\x20webdriver\x20builder','mvuiO','setServer','__driver','newHubUrl','push','KXIrn','ntisW','capabilities_','caps_','SJOys','build','pMvMl','gSkLu','2187gEQhkC','ieOptions_','edgeOptions','requireHttpClient','5EOMIkR','xLHHW','__drivers','CvhIg','RYaLg','se:ieOptions','8266nqCano','get','cmXWS','468030xWUxWu','iItYj','firefoxOptions','GYWVZ','GSnbr','set','setGlobal','getGlobal','Hub\x20url\x20set\x20to\x20','/wd/hub','proxyUrl','isUndefined','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','chromeOptions_','mergeDeep','315596rvDsme','setCapabilities','kwcJe','../../../helpers/globals','AHPjg','iGHZg','getAccessibilityResultsSummary','XErIv','browserstackAgentObservability','yYmGN','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHubUrl','16tAFIIs','__driversArray','capability','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ms:edgeOptions','yiETI','then','Builder','safari.options','getHttpAgent','moz:firefoxOptions','Proxy\x20set\x20to\x20','getRequestOptions','610QUfJjt','../../../hubAllocationMethods','getAccessibilityResults','object','/session','PmMxf','error','YejTU','drJFy','84aPmqLl','send','info','quitCount_','GLhAv'];a27_0x25f0=function(){return _0x41ed3e;};return a27_0x25f0();}function a27_0x1b3c(_0x25da96,_0x56fb71){const _0x25f0e3=a27_0x25f0();return a27_0x1b3c=function(_0x1b3c0a,_0x370f56){_0x1b3c0a=_0x1b3c0a-0x11b;let _0x4a1377=_0x25f0e3[_0x1b3c0a];return _0x4a1377;},a27_0x1b3c(_0x25da96,_0x56fb71);}const a27_0xa0ddc=a27_0x1b3c;(function(_0x381132,_0x4f9dda){const _0x321d57=a27_0x1b3c,_0xd80efa=_0x381132();while(!![]){try{const _0x51c4b3=-parseInt(_0x321d57(0x148))/0x1*(parseInt(_0x321d57(0x17c))/0x2)+parseInt(_0x321d57(0x11d))/0x3*(parseInt(_0x321d57(0x15a))/0x4)+parseInt(_0x321d57(0x142))/0x5*(-parseInt(_0x321d57(0x14b))/0x6)+-parseInt(_0x321d57(0x11b))/0x7*(-parseInt(_0x321d57(0x166))/0x8)+-parseInt(_0x321d57(0x13e))/0x9*(parseInt(_0x321d57(0x173))/0xa)+parseInt(_0x321d57(0x122))/0xb+-parseInt(_0x321d57(0x190))/0xc*(parseInt(_0x321d57(0x185))/0xd);if(_0x51c4b3===_0x4f9dda)break;else _0xd80efa['push'](_0xd80efa['shift']());}catch(_0x4fa1ff){_0xd80efa['push'](_0xd80efa['shift']());}}}(a27_0x25f0,0x35784));const logger=require('../../../helpers/logger')['winstonLogger'],helper=require('../../../helpers/helper'),constants=require(a27_0xa0ddc(0x181)),hubAllocator=require(a27_0xa0ddc(0x174)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a27_0xa0ddc(0x184)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0xa0ddc(0x18a)),globals=require(a27_0xa0ddc(0x15d)),modify=(_0x1b92f5,_0x8829ea=null,_0x2f569b=![])=>{const _0x19d72c=a27_0xa0ddc,_0x1ff3b5={'yYmGN':function(_0x3645ec,_0xa2cdcc){return _0x3645ec!==_0xa2cdcc;},'RYaLg':_0x19d72c(0x177),'PmMxf':function(_0x4f3e3f,_0x16efe6){return _0x4f3e3f+_0x16efe6;},'ceSYd':'https://','SJOys':_0x19d72c(0x154),'aILqS':'goog:chromeOptions','mBRXY':_0x19d72c(0x189),'iGHZg':_0x19d72c(0x16a),'UEcwt':_0x19d72c(0x140),'pMvMl':_0x19d72c(0x170),'HYTfR':_0x19d72c(0x14d),'YejTU':_0x19d72c(0x16e),'drJFy':_0x19d72c(0x147),'hgOtA':_0x19d72c(0x12b),'lNFDp':function(_0xed2703,_0x468066){return _0xed2703===_0x468066;},'AHPjg':_0x19d72c(0x176),'ntisW':'Setting\x20Browserstack\x20capabilities','mvuiO':_0x19d72c(0x129),'GSnbr':_0x19d72c(0x157),'iItYj':function(_0x1681dc,_0x4df88d,_0xab9e15){return _0x1681dc(_0x4df88d,_0xab9e15);},'cmXWS':function(_0xfdba69,_0x35d41d){return _0xfdba69(_0x35d41d);},'NFOSq':function(_0x4c258a,_0x4d16ee,_0x5766b1){return _0x4c258a(_0x4d16ee,_0x5766b1);},'zOBam':'1|4|2|0|3|5','JUXxt':function(_0x3709fe){return _0x3709fe();},'yKIkn':'isAccessibilityPlatform','KXIrn':function(_0x586e1b,_0x17c26e,_0x14a522){return _0x586e1b(_0x17c26e,_0x14a522);},'gSkLu':_0x19d72c(0x169),'estfK':function(_0x199d1e,_0x5adb47){return _0x199d1e(_0x5adb47);},'GYWVZ':function(_0x26b633,_0x5e09ec){return _0x26b633!==_0x5e09ec;},'yiETI':function(_0x36bdae,_0x44ec43){return _0x36bdae!==_0x44ec43;},'kwcJe':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','xLHHW':_0x19d72c(0x130)},_0xa4a7bc=helper[_0x19d72c(0x141)]();let _0x2e1c38;try{_0x2e1c38=helper[_0x19d72c(0x12a)](),_0x2e1c38['originalBuilder']&&(_0x2e1c38[_0x19d72c(0x16d)]=_0x2e1c38[_0x19d72c(0x11c)]);}catch(_0x201b6b){return;}if(helper['isBrowserstackInfra']()){const _0x45fba4={};_0x45fba4['logLevel']=_0x1b92f5['browserStackLogLevel'],helper[_0x19d72c(0x194)](_0x45fba4,new Map(),new Map()),logger[_0x19d72c(0x17e)](_0x1ff3b5[_0x19d72c(0x15c)]),logger[_0x19d72c(0x120)](_0x1ff3b5[_0x19d72c(0x143)]);}class _0x48d711 extends _0xa4a7bc['HttpClient']{[_0x19d72c(0x17d)](_0x8e2fa4){const _0x16271d=_0x19d72c;if(_0x1ff3b5[_0x16271d(0x163)](_0x8e2fa4[_0x16271d(0x193)],_0x1ff3b5[_0x16271d(0x146)])&&_0x1ff3b5[_0x16271d(0x163)](global[_0x16271d(0x134)],''))try{global['newHubUrl']=_0x1ff3b5['PmMxf'](_0x1ff3b5[_0x16271d(0x178)](_0x1ff3b5['ceSYd'],global[_0x16271d(0x134)]),_0x1ff3b5[_0x16271d(0x13a)]),this['options_']=hubAllocator[_0x16271d(0x172)](global['newHubUrl']),logger[_0x16271d(0x120)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x16271d(0x134)]),global[_0x16271d(0x134)]='';}catch(_0x33ebb8){logger[_0x16271d(0x179)](_0x33ebb8);}return super[_0x16271d(0x17d)](_0x8e2fa4);}}class _0x4d1202 extends _0x2e1c38[_0x19d72c(0x16d)]{[_0x19d72c(0x132)](){const _0x5903ad=_0x19d72c;return this['url_']=helper[_0x5903ad(0x165)](_0x1b92f5),logger[_0x5903ad(0x120)](_0x5903ad(0x153)+this['url_']),this;}['__setBrowserOptions'](_0x5316e0){const _0x179f90=_0x19d72c;let _0x546c54={};for(const _0x80e7ea in _0x5316e0){switch(_0x80e7ea){case _0x1ff3b5[_0x179f90(0x186)]:case _0x1ff3b5[_0x179f90(0x18b)]:this[_0x179f90(0x158)]&&(_0x546c54=this['chromeOptions_']['get'](this[_0x179f90(0x158)][_0x179f90(0x11f)])||{},this[_0x179f90(0x158)][_0x179f90(0x150)](this['chromeOptions_'][_0x179f90(0x11f)],helper[_0x179f90(0x159)](_0x546c54,_0x5316e0[_0x80e7ea])));break;case _0x1ff3b5[_0x179f90(0x15f)]:case _0x1ff3b5['UEcwt']:this['edgeOptions_']&&(_0x546c54=this[_0x179f90(0x182)][_0x179f90(0x149)](this['edgeOptions_'][_0x179f90(0x11f)])||{},this[_0x179f90(0x182)][_0x179f90(0x150)](this[_0x179f90(0x182)]['CAPABILITY_KEY'],helper[_0x179f90(0x159)](_0x546c54,_0x5316e0[_0x80e7ea])));break;case _0x1ff3b5[_0x179f90(0x13c)]:case _0x1ff3b5[_0x179f90(0x191)]:this[_0x179f90(0x192)]&&(_0x546c54=this[_0x179f90(0x192)][_0x179f90(0x149)](this[_0x179f90(0x192)][_0x179f90(0x11f)])||{},this[_0x179f90(0x192)][_0x179f90(0x150)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x179f90(0x159)](_0x546c54,_0x5316e0[_0x80e7ea])));break;case _0x1ff3b5[_0x179f90(0x17a)]:this[_0x179f90(0x12f)]&&(_0x546c54=this['safariOptions_'][_0x179f90(0x149)](this['safariOptions_'][_0x179f90(0x11f)])||{},this[_0x179f90(0x12f)]['set'](this['safariOptions_'][_0x179f90(0x11f)],helper[_0x179f90(0x159)](_0x546c54,_0x5316e0[_0x80e7ea])));break;case _0x1ff3b5[_0x179f90(0x17b)]:case _0x1ff3b5['hgOtA']:this[_0x179f90(0x13f)]&&(_0x546c54=this[_0x179f90(0x13f)][_0x179f90(0x149)](this[_0x179f90(0x13f)][_0x179f90(0x11f)])||{},this[_0x179f90(0x13f)]['set'](this[_0x179f90(0x13f)][_0x179f90(0x11f)],helper['mergeDeep'](_0x546c54,_0x5316e0[_0x80e7ea])));break;}}}[_0x19d72c(0x15b)](){const _0x248449=_0x19d72c;return logger['debug'](_0x1ff3b5[_0x248449(0x137)]),this[_0x248449(0x18f)](_0x1b92f5[_0x248449(0x168)]),Object['keys'](_0x1b92f5['capability'])['forEach'](_0x5b2ef6=>{const _0x413df9=_0x248449,_0x29c415=this[_0x413df9(0x138)]['get'](_0x5b2ef6);_0x1ff3b5[_0x413df9(0x183)](typeof _0x29c415,_0x1ff3b5[_0x413df9(0x15e)])?this[_0x413df9(0x138)][_0x413df9(0x150)](_0x5b2ef6,helper[_0x413df9(0x159)](_0x29c415,_0x1b92f5[_0x413df9(0x168)][_0x5b2ef6])):this[_0x413df9(0x138)][_0x413df9(0x150)](_0x5b2ef6,_0x1b92f5[_0x413df9(0x168)][_0x5b2ef6]);}),this;}['build'](){const _0x399b8e=_0x19d72c,_0xf99458={'XErIv':function(_0x1531fd,_0x43dac2,_0x414387){const _0x41d8e7=a27_0x1b3c;return _0x1ff3b5[_0x41d8e7(0x18d)](_0x1531fd,_0x43dac2,_0x414387);}};if(helper[_0x399b8e(0x124)]()){const _0x3377bc=_0x1ff3b5['zOBam'][_0x399b8e(0x127)]('|');let _0x30e5ad=0x0;while(!![]){switch(_0x3377bc[_0x30e5ad++]){case'0':if(helper['isPacProxy'](_0x1b92f5['proxySettings'][_0x399b8e(0x155)]))this['agent_']=helper[_0x399b8e(0x16f)](_0x1b92f5[_0x399b8e(0x18e)][_0x399b8e(0x155)]);else _0x1b92f5[_0x399b8e(0x18e)][_0x399b8e(0x155)]&&(this['proxy_']=_0x1b92f5[_0x399b8e(0x18e)]['proxyUrl'],logger['debug'](_0x399b8e(0x171)+this[_0x399b8e(0x11e)]));continue;case'1':_0x1ff3b5[_0x399b8e(0x12c)](isAccessibilityAutomationSession)&&_0x1ff3b5['cmXWS'](setAccessibilityCapabilities,_0x1b92f5);continue;case'2':this[_0x399b8e(0x15b)]();continue;case'3':globals[_0x399b8e(0x152)](_0x1ff3b5[_0x399b8e(0x188)])&&(!_0x1ff3b5[_0x399b8e(0x136)](setExtension,this,_0x1b92f5)&&globals[_0x399b8e(0x151)](_0x1ff3b5[_0x399b8e(0x188)],![]));continue;case'4':this[_0x399b8e(0x132)]();continue;case'5':logger[_0x399b8e(0x120)](_0x1ff3b5[_0x399b8e(0x13d)]);continue;}break;}}const _0x2304ff=super[_0x399b8e(0x13b)]();return _0x2304ff[_0x399b8e(0x126)]['then'](_0x16e100=>{const _0x1f3f59=_0x399b8e;try{const _0x1cbc6e=_0x16e100[_0x1f3f59(0x139)][_0x1f3f59(0x149)](_0x1ff3b5[_0x1f3f59(0x131)]);_0x1cbc6e?(logger[_0x1f3f59(0x120)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1cbc6e),hubAllocator[_0x1f3f59(0x128)](_0x1cbc6e),helper[_0x1f3f59(0x121)](_0x1cbc6e)):logger['debug'](_0x1ff3b5[_0x1f3f59(0x14f)]);}catch(_0xb8a28e){logger[_0x1f3f59(0x120)](_0x1f3f59(0x164)+_0xb8a28e);}}),_0x2304ff[_0x399b8e(0x17f)]=0x0,_0x2304ff[_0x399b8e(0x16c)]&&_0x2304ff[_0x399b8e(0x16c)](_0x16bb6a=>{const _0x1b26f8=_0x399b8e,_0x5e4bb3={'GLhAv':function(_0x42080c,_0x20aef9,_0x206879){const _0x520bc1=a27_0x1b3c;return _0x1ff3b5[_0x520bc1(0x14c)](_0x42080c,_0x20aef9,_0x206879);},'CvhIg':function(_0x4a5474,_0x51cd05,_0x1e202d){const _0x20a432=a27_0x1b3c;return _0x1ff3b5[_0x20a432(0x14c)](_0x4a5474,_0x51cd05,_0x1e202d);}};_0x1ff3b5['iItYj'](overrideQuit,_0x16bb6a,_0x2304ff),_0x1ff3b5[_0x1b26f8(0x14a)](overrideTakeScreenshot,_0x16bb6a),helper['overrideGet'](_0x16bb6a,_0x1b92f5),helper[_0x1b26f8(0x12e)](_0x16bb6a,_0x1b92f5),_0x16bb6a[_0x1b26f8(0x160)]=async()=>{const _0x5523bc=_0x1b26f8;return await _0x5e4bb3[_0x5523bc(0x180)](getAccessibilityResultsSummary,_0x16bb6a,global);},_0x16bb6a[_0x1b26f8(0x175)]=async()=>{const _0x2fda7a=_0x1b26f8;return await _0x5e4bb3[_0x2fda7a(0x145)](getAccessibilityResults,_0x16bb6a,global);};}),_0x2304ff[_0x399b8e(0x160)]=async()=>{return await _0xf99458['XErIv'](getAccessibilityResultsSummary,_0x2304ff,global);},_0x2304ff[_0x399b8e(0x175)]=async()=>{const _0x431609=_0x399b8e;return await _0xf99458[_0x431609(0x161)](getAccessibilityResults,_0x2304ff,global);},_0x1ff3b5[_0x399b8e(0x14a)](overrideTakeScreenshot,_0x2304ff),_0x1ff3b5[_0x399b8e(0x125)](overrideQuit,_0x2304ff),helper[_0x399b8e(0x18c)](_0x2304ff,_0x1b92f5),helper[_0x399b8e(0x12e)](_0x2304ff,_0x1b92f5),helper['isUndefined'](global[_0x399b8e(0x167)])&&(global[_0x399b8e(0x167)]=[]),helper['isUndefined'](global[_0x399b8e(0x144)])&&(global[_0x399b8e(0x144)]=[]),global[_0x399b8e(0x167)]['push'](_0x2304ff),global[_0x399b8e(0x133)]=_0x2304ff,_0x1ff3b5[_0x399b8e(0x14e)](global['__drivers'],undefined)&&global[_0x399b8e(0x144)][_0x399b8e(0x135)](_0x2304ff),_0x8829ea&&helper[_0x399b8e(0x156)](_0x8829ea[_0x399b8e(0x187)][_0x399b8e(0x167)])&&(_0x8829ea['global'][_0x399b8e(0x167)]=[]),_0x8829ea&&_0x1ff3b5[_0x399b8e(0x16b)](_0x8829ea[_0x399b8e(0x187)][_0x399b8e(0x144)],undefined)&&(_0x8829ea['global'][_0x399b8e(0x144)][_0x399b8e(0x135)](_0x2304ff),_0x8829ea[_0x399b8e(0x187)]['__driversArray']['push'](_0x2304ff)),_0x2304ff;}}return _0x2e1c38['originalBuilder']=_0x2e1c38[_0x19d72c(0x16d)],_0x2e1c38[_0x19d72c(0x16d)]=_0x4d1202,_0xa4a7bc[_0x19d72c(0x12d)]=_0x48d711,_0x2e1c38;};module[a27_0xa0ddc(0x123)][a27_0xa0ddc(0x162)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a28_0x5098fa=a28_0x433e;function a28_0x433e(_0x4a1741,_0x11af4f){const _0x5eafea=a28_0x5eaf();return a28_0x433e=function(_0x433ecc,_0x204ddf){_0x433ecc=_0x433ecc-0xef;let _0x27365d=_0x5eafea[_0x433ecc];return _0x27365d;},a28_0x433e(_0x4a1741,_0x11af4f);}(function(_0x7eabef,_0x1ebb80){const _0x4eda5b=a28_0x433e,_0x489f26=_0x7eabef();while(!![]){try{const _0x57ef0b=-parseInt(_0x4eda5b(0xf8))/0x1+parseInt(_0x4eda5b(0xfb))/0x2+-parseInt(_0x4eda5b(0xf7))/0x3*(parseInt(_0x4eda5b(0xfd))/0x4)+-parseInt(_0x4eda5b(0xf9))/0x5*(parseInt(_0x4eda5b(0xf0))/0x6)+-parseInt(_0x4eda5b(0xf6))/0x7*(-parseInt(_0x4eda5b(0xf5))/0x8)+parseInt(_0x4eda5b(0xf4))/0x9+-parseInt(_0x4eda5b(0xf1))/0xa;if(_0x57ef0b===_0x1ebb80)break;else _0x489f26['push'](_0x489f26['shift']());}catch(_0x57ebc4){_0x489f26['push'](_0x489f26['shift']());}}}(a28_0x5eaf,0xdef52));const requestSpy=require('../../../helpers/request-spy'),constants=require(a28_0x5098fa(0xf2)),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a28_0x5eaf(){const _0xb4353f=['SDAeJ','11534580SiLabm','4170616zAcnFU','7QrQUPs','24aFmqLx','286395zvBBpl','8805KwCZqA','timeout','2107810ZHVsOF','mochaHooks','33252gaXkSH','restore','1566GizVBr','11310980AVjkvm','../../../bin/utils/constants'];a28_0x5eaf=function(){return _0xb4353f;};return a28_0x5eaf();}exports[a28_0x5098fa(0xfc)]={'beforeAll'(){const _0x33579a=a28_0x5098fa,_0x5ce648={'SDAeJ':function(_0x31c990){return _0x31c990();}},_0x1a6e74='browserstack internal helper hook';_0x5ce648[_0x33579a(0xf3)](addRequestSpy);},'afterAll'(){const _0x169a7c=a28_0x5098fa,_0x5bbfcb='browserstack internal helper hook';this[_0x169a7c(0xfa)](0xea60),requestSpy[_0x169a7c(0xef)]();}};
|