browserstack-node-sdk 1.32.13 → 1.32.15
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/templates/gcpresources/gkecluster.json +0 -3
- 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 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x412658=a22_0x442e;(function(_0x45d8b0,_0x11beea){const _0x5df28f=a22_0x442e,_0x5a6f79=_0x45d8b0();while(!![]){try{const _0x44405e=parseInt(_0x5df28f(0x102))/0x1+-parseInt(_0x5df28f(0x105))/0x2*(-parseInt(_0x5df28f(0xfb))/0x3)+parseInt(_0x5df28f(0xfe))/0x4*(-parseInt(_0x5df28f(0x106))/0x5)+parseInt(_0x5df28f(0x103))/0x6*(parseInt(_0x5df28f(0x107))/0x7)+parseInt(_0x5df28f(0x100))/0x8*(-parseInt(_0x5df28f(0xfc))/0x9)+-parseInt(_0x5df28f(0x101))/0xa+parseInt(_0x5df28f(0xff))/0xb*(-parseInt(_0x5df28f(0xfd))/0xc);if(_0x44405e===_0x11beea)break;else _0x5a6f79['push'](_0x5a6f79['shift']());}catch(_0x4557fc){_0x5a6f79['push'](_0x5a6f79['shift']());}}}(a22_0xaa19,0xe37a4));function a22_0xaa19(){const _0x58bcf0=['keys','selenium-webdriver','134724IDvPYW','1267551krrUku','12wqONYL','914100VHHnGG','20334138adLEXO','16LpUEAh','549170Rytpkf','1338520ERfQHx','2031060ZFfrmO','../../helpers/setKeepAlive','14moNbSh','5OCHuAA','35oTuRyJ'];a22_0xaa19=function(){return _0x58bcf0;};return a22_0xaa19();}function a22_0x442e(_0xdde748,_0x4ea7bc){const _0xaa198b=a22_0xaa19();return a22_0x442e=function(_0x442e52,_0x39eb88){_0x442e52=_0x442e52-0xfb;let _0xb92fa2=_0xaa198b[_0x442e52];return _0xb92fa2;},a22_0x442e(_0xdde748,_0x4ea7bc);}const {requireModule}=require('../../helpers/helper');require(a22_0x412658(0x104))();const __wd__=requireModule(a22_0x412658(0x109));for(const key of Object[a22_0x412658(0x108)](global['__webdriver'])){__wd__[key]=global['__webdriver'][key];}
|
|
@@ -1 +1 @@
|
|
|
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
|
+
function a23_0x43ff(){const _0x3dd52f=['platformCaps','_mochaOpts','../../helpers/test-observability/utils','../../helpers/accessibility-automation/helper','6bpcRSF','_framework','testsUndefined','gLdRt','testsUnknown','mochaOpts','testsSkipped','845193LNXjDt','_capability','testsAmbiguous','../utils/constants','30145cRLtFe','sZtku','__platform__','path','platform','3756gEJnNf','7UYglZW','totalTests','testsErrorMessage','testsFailed','1044533pBxBPx','testSuitesFailed','306nVhaWi','_accessibilityAutomation','capability','135568krceHw','configuration','../../helpers/test-observability/requestQueueHandler','187143RYYhfG','4196652ABkRCq','660zXOQMa','../../helpers/helper','testsPending','_configuration','resolvePaths','318470dmuWdP','split','_bsConfig','testsPassed'];a23_0x43ff=function(){return _0x3dd52f;};return a23_0x43ff();}const a23_0x345cd2=a23_0x12cc;(function(_0x53531c,_0x11460f){const _0x3cfdf7=a23_0x12cc,_0x5c3528=_0x53531c();while(!![]){try{const _0x3707de=-parseInt(_0x3cfdf7(0x181))/0x1+-parseInt(_0x3cfdf7(0x198))/0x2*(parseInt(_0x3cfdf7(0x19f))/0x3)+parseInt(_0x3cfdf7(0x18b))/0x4*(-parseInt(_0x3cfdf7(0x177))/0x5)+-parseInt(_0x3cfdf7(0x18a))/0x6+-parseInt(_0x3cfdf7(0x17d))/0x7*(parseInt(_0x3cfdf7(0x186))/0x8)+parseInt(_0x3cfdf7(0x183))/0x9*(-parseInt(_0x3cfdf7(0x190))/0xa)+-parseInt(_0x3cfdf7(0x189))/0xb*(-parseInt(_0x3cfdf7(0x17c))/0xc);if(_0x3707de===_0x11460f)break;else _0x5c3528['push'](_0x5c3528['shift']());}catch(_0x1d79e5){_0x5c3528['push'](_0x5c3528['shift']());}}}(a23_0x43ff,0x9c95c));function a23_0x12cc(_0x5152ca,_0x1db30d){const _0x43ffe7=a23_0x43ff();return a23_0x12cc=function(_0x12cc19,_0x30a34a){_0x12cc19=_0x12cc19-0x175;let _0x46c38e=_0x43ffe7[_0x12cc19];return _0x46c38e;},a23_0x12cc(_0x5152ca,_0x1db30d);}const path=require(a23_0x345cd2(0x17a)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x345cd2(0x18c)),constants=require(a23_0x345cd2(0x176)),{isAccessibilityAutomationSession}=require(a23_0x345cd2(0x197)),RequestQueueHandler=require(a23_0x345cd2(0x188)),{isTestObservabilitySession}=require(a23_0x345cd2(0x196)),helper=require(a23_0x345cd2(0x18c));class Launcher{constructor(_0x1d34e7,_0x21d43d,_0x1f5436,_0x482326=[]){const _0x1d2c13=a23_0x345cd2,_0x2f19ab={'sZtku':'5|16|3|4|21|8|18|14|1|9|11|6|2|7|20|15|19|10|12|17|0|13','gLdRt':function(_0x3b920b){return _0x3b920b();}},_0x53d9ce=_0x2f19ab[_0x1d2c13(0x178)][_0x1d2c13(0x191)]('|');let _0x3faa97=0x0;while(!![]){switch(_0x53d9ce[_0x3faa97++]){case'0':global[_0x1d2c13(0x175)]=0x0;continue;case'1':this['_testObservability']=_0x2f19ab[_0x1d2c13(0x19b)](isTestObservabilitySession);continue;case'2':global[_0x1d2c13(0x17e)]=0x0;continue;case'3':this[_0x1d2c13(0x195)]=_0x21d43d[_0x1d2c13(0x19d)];continue;case'4':this['_formatter']=_0x21d43d['formatter'];continue;case'5':this[_0x1d2c13(0x199)]=_0x1d34e7;continue;case'6':global['testSuites']=0x0;continue;case'7':global[_0x1d2c13(0x193)]=0x0;continue;case'8':global[_0x1d2c13(0x179)]=this[_0x1d2c13(0x18e)][_0x1d2c13(0x17b)];continue;case'9':this[_0x1d2c13(0x184)]=_0x2f19ab['gLdRt'](isAccessibilityAutomationSession);continue;case'10':global[_0x1d2c13(0x182)]=0x0;continue;case'11':global['__platformCaps']=this[_0x1d2c13(0x18e)][_0x1d2c13(0x194)]||{};continue;case'12':global[_0x1d2c13(0x19a)]=0x0;continue;case'13':global[_0x1d2c13(0x17f)]={};continue;case'14':this[_0x1d2c13(0x192)]=_0x1f5436;continue;case'15':global[_0x1d2c13(0x18d)]=0x0;continue;case'16':this[_0x1d2c13(0x18e)]=_0x21d43d[_0x1d2c13(0x187)]||{};continue;case'17':global[_0x1d2c13(0x19c)]=0x0;continue;case'18':this['_argv']=_0x482326;continue;case'19':global[_0x1d2c13(0x19e)]=0x0;continue;case'20':global[_0x1d2c13(0x180)]=0x0;continue;case'21':this[_0x1d2c13(0x1a0)]=this[_0x1d2c13(0x18e)][_0x1d2c13(0x185)];continue;}break;}}['setupCucumber'](_0x49c5e6,_0x1cf949,_0x3a1afc){const _0x36ba45=a23_0x345cd2,_0x3e326f=_0x49c5e6[_0x36ba45(0x18f)];_0x49c5e6.resolvePaths=async function(){const pathResults=await _0x3e326f.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3a1afc));return pathResults;},_0x1cf949.push('--format'),_0x1cf949.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a24_0x477cc4=a24_0x52d4;function a24_0x52d4(_0x29328b,_0x4ea53e){const _0x4bf6d5=a24_0x4bf6();return a24_0x52d4=function(_0x52d4ea,_0x51389d){_0x52d4ea=_0x52d4ea-0x8f;let _0x2e36cd=_0x4bf6d5[_0x52d4ea];return _0x2e36cd;},a24_0x52d4(_0x29328b,_0x4ea53e);}(function(_0x1b97b2,_0x12d84a){const _0x389d8d=a24_0x52d4,_0x12757f=_0x1b97b2();while(!![]){try{const _0x32ae3f=parseInt(_0x389d8d(0xd3))/0x1*(parseInt(_0x389d8d(0xd0))/0x2)+parseInt(_0x389d8d(0xc9))/0x3*(-parseInt(_0x389d8d(0xc7))/0x4)+parseInt(_0x389d8d(0xb8))/0x5*(parseInt(_0x389d8d(0xa4))/0x6)+parseInt(_0x389d8d(0xd2))/0x7*(-parseInt(_0x389d8d(0xc5))/0x8)+-parseInt(_0x389d8d(0xa8))/0x9+parseInt(_0x389d8d(0xdc))/0xa+parseInt(_0x389d8d(0xbb))/0xb;if(_0x32ae3f===_0x12d84a)break;else _0x12757f['push'](_0x12757f['shift']());}catch(_0x2a5021){_0x12757f['push'](_0x12757f['shift']());}}}(a24_0x4bf6,0xaf901));function a24_0x4bf6(){const _0x1eb723=['accessibility','device','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','args','parse','capabilities_','FoZCY','AFLIu','options_','getPlatform','../../../helpers/logger','cnOLR','ufatP','deviceName','LFdxn','251382hDIySs','zfafo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fetchPlatformDetails','2231145zuWRXn','format','IOIWi','SJZXT','fvxvz','path','debug','CeDEN','get','chromeOptions_','chromeOptions','warn','iYOkY','PRVGF','ecQKh','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','135eSKVPD','MZWQg','toLowerCase','10380711HpMQDf','includes','latest','selenium-webdriver/chrome.js','ZEAYg','getBrowserVersion','accessibilityOptions','BS_A11Y_JWT','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','NhHWO','82896glovPv','capability','5348848FPGZqq','bstack:options','3ZsRAYe','util','getBrowserName','browserstack','authToken','chrome','../../../helpers/globals','68230fauqDO','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','546OtprtG','5nKqJad','scannerVersion','browserstack.accessibilityOptions','vqlno','Exception\x20in\x20setExtension\x20Error:\x20','env','getPlatformVersion','isUndefined','nestedKeyValue','8669630qJeWiV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserName','browserstack.accessibility','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','EYfue','IMFyQ','ZgULz','isAccessibilityPlatform'];a24_0x4bf6=function(){return _0x1eb723;};return a24_0x4bf6();}const path=require(a24_0x477cc4(0xad)),os=require('os'),util=require(a24_0x477cc4(0xca)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a24_0x477cc4(0xcf)),logger=require(a24_0x477cc4(0x9f))['winstonLogger'];exports['setAccessibilityCapabilities']=_0x12de35=>{const _0x14182b=a24_0x477cc4,_0x80d733={};_0x80d733['iYOkY']=_0x14182b(0xc8),_0x80d733[_0x14182b(0xb9)]=_0x14182b(0x8f),_0x80d733[_0x14182b(0xa5)]=_0x14182b(0x94),_0x80d733[_0x14182b(0xab)]=_0x14182b(0xd5);const _0x1798de=_0x80d733;try{const _0x27a589=_0x12de35['capability']||{};if(_0x27a589[_0x1798de[_0x14182b(0xb4)]]&&_0x27a589[_0x1798de['iYOkY']][_0x14182b(0x95)]||_0x12de35[_0x14182b(0xc6)][_0x1798de[_0x14182b(0xb9)]]){globals['setGlobal'](_0x1798de[_0x14182b(0xa5)],!![]);if(_0x27a589[_0x1798de[_0x14182b(0xb4)]]){if(_0x27a589[_0x1798de[_0x14182b(0xb4)]][_0x14182b(0xc1)])_0x27a589[_0x1798de['iYOkY']][_0x14182b(0xc1)][_0x14182b(0xcd)]=process[_0x14182b(0xd8)][_0x14182b(0xc2)];else{const _0x9283fd={};_0x9283fd[_0x14182b(0xcd)]=process[_0x14182b(0xd8)][_0x14182b(0xc2)],_0x27a589[_0x1798de[_0x14182b(0xb4)]]['accessibilityOptions']=_0x9283fd;}_0x27a589[_0x1798de['iYOkY']][_0x14182b(0xc1)][_0x14182b(0xd4)]=JSON[_0x14182b(0x99)](process[_0x14182b(0xd8)][_0x14182b(0xd1)])[_0x14182b(0xd4)];}else{if(_0x12de35['capability'][_0x1798de[_0x14182b(0xb9)]]){if(_0x27a589[_0x1798de['SJZXT']])_0x27a589[_0x1798de[_0x14182b(0xab)]][_0x14182b(0xcd)]=process[_0x14182b(0xd8)][_0x14182b(0xc2)];else{const _0x178437={};_0x178437['authToken']=process['env'][_0x14182b(0xc2)],_0x27a589[_0x1798de[_0x14182b(0xab)]]=_0x178437;}_0x27a589[_0x1798de[_0x14182b(0xab)]][_0x14182b(0xd4)]=JSON[_0x14182b(0x99)](process[_0x14182b(0xd8)][_0x14182b(0xd1)])[_0x14182b(0xd4)];}}}}catch(_0x2a9f2e){logger['debug'](_0x14182b(0x90)+_0x2a9f2e);}},exports['setExtension']=(_0x32e9b1,_0x371172)=>{const _0x28b2a3=a24_0x477cc4,_0xb85c9a={};_0xb85c9a['fvxvz']=_0x28b2a3(0xc8),_0xb85c9a[_0x28b2a3(0x93)]=function(_0x1b9b05,_0x298626){return _0x1b9b05!==_0x298626;},_0xb85c9a[_0x28b2a3(0xaa)]=_0x28b2a3(0xa6),_0xb85c9a[_0x28b2a3(0xbf)]=_0x28b2a3(0xce),_0xb85c9a[_0x28b2a3(0xd6)]=_0x28b2a3(0xdd),_0xb85c9a[_0x28b2a3(0xa0)]=function(_0x200886,_0x3c8b2f){return _0x200886===_0x3c8b2f;},_0xb85c9a[_0x28b2a3(0x9c)]=_0x28b2a3(0xbd),_0xb85c9a[_0x28b2a3(0xc4)]=function(_0x15d536,_0x4d7e1f){return _0x15d536>_0x4d7e1f;},_0xb85c9a[_0x28b2a3(0x92)]=_0x28b2a3(0xb7),_0xb85c9a[_0x28b2a3(0xa3)]=_0x28b2a3(0xbe),_0xb85c9a['Fnzcp']=_0x28b2a3(0x9d),_0xb85c9a['ecQKh']=_0x28b2a3(0x98),_0xb85c9a[_0x28b2a3(0x91)]=_0x28b2a3(0xb2),_0xb85c9a[_0x28b2a3(0xaf)]='--headless',_0xb85c9a['ufatP']=_0x28b2a3(0x97);const _0x3db008=_0xb85c9a;try{const _0x5b6667=_0x371172[_0x28b2a3(0xc6)]||{},_0xa24c5a=(_0x5b6667[_0x3db008[_0x28b2a3(0xac)]]?_0x5b6667[_0x3db008[_0x28b2a3(0xac)]][_0x28b2a3(0xa2)]:_0x5b6667[_0x28b2a3(0x96)])||'';if(_0x3db008[_0x28b2a3(0x93)](_0xa24c5a,''))return logger[_0x28b2a3(0xb3)](_0x3db008[_0x28b2a3(0xaa)]),![];const _0x21d34c=_0x5b6667[_0x28b2a3(0xde)];if(_0x3db008[_0x28b2a3(0x93)](_0x21d34c[_0x28b2a3(0xba)](),_0x3db008[_0x28b2a3(0xbf)]))return logger[_0x28b2a3(0xb3)](_0x3db008['vqlno']),![];const _0x560a6d=_0x5b6667['browserVersion']||_0x5b6667['browser_version'];if(!bsSetupHelper[_0x28b2a3(0xda)](_0x560a6d)&&!(_0x3db008[_0x28b2a3(0xa0)](_0x560a6d,_0x3db008[_0x28b2a3(0x9c)])||_0x3db008[_0x28b2a3(0xc4)](_0x560a6d,0x5e)))return logger['warn'](_0x3db008[_0x28b2a3(0x92)]),![];let _0x457031;try{_0x457031=bsSetupHelper['requireModule'](_0x3db008['LFdxn']);}catch(_0xb3f975){return![];}const _0x3059dc=new _0x457031['Options'](_0x32e9b1[_0x28b2a3(0xb1)]),_0x6d22b9=bsSetupHelper[_0x28b2a3(0xdb)](_0x3059dc,[_0x3db008['Fnzcp'],_0x3db008['ecQKh']])||bsSetupHelper[_0x28b2a3(0xdb)](_0x32e9b1[_0x28b2a3(0x9a)][_0x28b2a3(0xb0)](_0x3db008['fvxvz']),[_0x3db008['EYfue'],_0x3db008[_0x28b2a3(0xb6)]])||bsSetupHelper[_0x28b2a3(0xdb)](_0x32e9b1[_0x28b2a3(0x9a)][_0x28b2a3(0xb0)](_0x3db008[_0x28b2a3(0x91)]),[_0x3db008['ecQKh']])||[];if(_0x6d22b9[_0x28b2a3(0xbc)](_0x3db008[_0x28b2a3(0xaf)]))return logger[_0x28b2a3(0xb3)](_0x3db008[_0x28b2a3(0xa1)]),![];return!![];}catch(_0x577611){logger[_0x28b2a3(0xae)](_0x28b2a3(0xd7)+util[_0x28b2a3(0xa9)](_0x577611));}return![];},exports[a24_0x477cc4(0xa7)]=async _0x58a7d6=>{const _0x1b5a63=a24_0x477cc4,_0x847864={};_0x847864['FoZCY']=function(_0x53d338,_0x3e9b70){return _0x53d338===_0x3e9b70;},_0x847864[_0x1b5a63(0xb5)]=_0x1b5a63(0xcc);const _0xa5a7c7=_0x847864;let _0xe8e6cf={};try{const _0x6c4c60=await _0x58a7d6['getCapabilities']();_0xe8e6cf={'os_name':_0x6c4c60[_0x1b5a63(0x9e)](),'os_version':bsSetupHelper[_0x1b5a63(0xd9)](_0xa5a7c7[_0x1b5a63(0x9b)](global['__cloud_provider___'],_0xa5a7c7[_0x1b5a63(0xb5)])),'browser_name':_0x6c4c60[_0x1b5a63(0xcb)](),'browser_version':_0x6c4c60[_0x1b5a63(0xc0)]()};}catch(_0x5d59bd){logger['debug'](_0x1b5a63(0xc3)+_0x5d59bd);}return _0xe8e6cf;};
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
1
|
+
'use strict';const a25_0x859ab5=a25_0x5d7d;(function(_0x2ccbd1,_0x2e47ed){const _0x566912=a25_0x5d7d,_0x5f3385=_0x2ccbd1();while(!![]){try{const _0x448bb1=-parseInt(_0x566912(0x25c))/0x1*(parseInt(_0x566912(0x2ad))/0x2)+parseInt(_0x566912(0x290))/0x3*(-parseInt(_0x566912(0x214))/0x4)+parseInt(_0x566912(0x2d4))/0x5*(-parseInt(_0x566912(0x259))/0x6)+-parseInt(_0x566912(0x2c4))/0x7*(parseInt(_0x566912(0x286))/0x8)+-parseInt(_0x566912(0x263))/0x9*(parseInt(_0x566912(0x288))/0xa)+-parseInt(_0x566912(0x283))/0xb*(parseInt(_0x566912(0x276))/0xc)+-parseInt(_0x566912(0x261))/0xd*(-parseInt(_0x566912(0x1ff))/0xe);if(_0x448bb1===_0x2e47ed)break;else _0x5f3385['push'](_0x5f3385['shift']());}catch(_0x292f6e){_0x5f3385['push'](_0x5f3385['shift']());}}}(a25_0x2f05,0xb6c8e));function a25_0x2f05(){const _0x182626=['inspect','2|3|0|1|4','color','iqUow','suiteCount','includes','\x20\x20<dt>','path','type','CBTSessionCreated','clean','reporterOption','TBlaD','DMPbM','integrations','scope','hook_type','\x20\x20<dt\x20class=\x22error\x22>','rySVf','AXfMn','171210Mzwqfp','util','GqyLx','79vmBRyc','ZqZVk','syPjD','after\x20all','multiple','351RAqxnJ','disjY','162OAvdnG','__platform__','qbFmT','WtYUA','test_run_uuid','pending','RUNNING','body','mILnI','OiYNw','removeAllListeners','escape','qKPjX','ctx','bang','tGloh','TERxh','test_run','iUjdJ','1382844ofnALw','docHtml','../../../helpers/helper','KTDTt','speed','symbols','duVMT','<dl>','doc','tMGju','analyticsResult','__indents','nNYwz','66wevAsc','registerListeners','File\x20path\x20could\x20not\x20be\x20found','16Wgivck','FoSxo','831490OHToRF','name','testAnalyticsId','err','config','</dt>','nlCGf','bind','39QuJPTM','pid','xQtpi','failure_backtrace','_testEnv','uTXfQ','eosIY','../../../helpers/test-observability/utils','\x20(%dms)','jAtim','UnhandledError','failed','increaseIndent','testStarted','originalTitle','call','parent','eIErU','exports','KarGm','mocha/lib/runnable.js','hook_run_uuid','../../../helpers/test-observability/sessionHandler','findGitConfig','VrUjz','TestRunSkipped','fullTitle','\x20\x20%d)\x20%s','TestRunFinished','20926tTZVXf','ehkMb','NBPEZ','constants','after\x20each','AGFiI','dot','BbGFR','mocha','state','hOOpf','failureCount','started_at','TestRunStarted','failCount','now','_testResults','retryOf','iHfRU','comma','checkmark','ydmDD','error','4078151nmXdtN','</code></pre></dd>','AssertionError','_indents','HookRunFinished','jxoCh','docAppend','CGzkH','GXRPi','qSYfc','HkjRO','PkfqK','indent','IlnyQ','before\x20each','cwd','25YnGUtL','qgvAM','_currentRetry','passed','VjtTs','join','finalResults','BEFORE_ALL','IMHvk','pOygp','test','bs:addPlatformDetails:','suites','toISOString','prototype','AxtGQ','uvqWq','current_test','push','uuid','RhFSx','KPadh','YBvgi','toString','sep','title','file','skipped','match','LHIcQ','.js','currentTest','expanded','titlePath','NrtcS','Ecegm','write','XlMmL','HCtrX','http_response','osqIZ','consoleLog','slice','appendTestPlatform','getInstance','stdout','AexQz','Gtfgr','qhZtp','appendTestItemLog','before\x20all','bs:addLog:','current_hook','split','nFFhA','LARJH','ZHemh','fast','event_type','bOgSm','lcjBx','runner','BhpXn','xunit','failure_reason_expanded','shutdown','MHYYc','reporterOptions','currentRetry','\x20\x20<dd\x20class=\x22error\x22>','hooks','3032022UMEyZh','markedStatus','testObservability','ZRNLy','SjfAH','apply','duration','done','AFTER_ALL','Mocha','xvDeH','cWvrG','hookAnalyticsId','LogCreated','hcPdG','HookRunStarted','YlUfx','Reporter','isPending','bright\x20yellow','fPbAY','238844gfHtZt','length','uploadEventData','ljVZD','</h1>','cPNiI','BSClj','\x20\x20<dd><pre><code>','nbWTe','once','dAIPA','HMYMe','root','relative','</section>','AFTER_EACH','%s\x20-\x20%s','sendTestRunEvent','scopes','pWXLS','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','uCnTC','HqUQL','LQYve','ARTwQ','pNlGl','mocha/lib/reporters/','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','IbWBo','GdFMC','<section\x20class=\x22suite\x22>','FysCa','Runner','ucCKe','WOdqg','efBcn','BEFORE_EACH','CjHoA','results','getRootParentFile','aMPft','green','result','KqGos','trim','Xnjrx','lOLge','forEach','_paths'];a25_0x2f05=function(){return _0x182626;};return a25_0x2f05();}function a25_0x5d7d(_0x1fbb7a,_0x24e9f3){const _0x2f055e=a25_0x2f05();return a25_0x5d7d=function(_0x5d7d1f,_0x3a2108){_0x5d7d1f=_0x5d7d1f-0x1e8;let _0x4be918=_0x2f055e[_0x5d7d1f];return _0x4be918;},a25_0x5d7d(_0x1fbb7a,_0x24e9f3);}const util=require(a25_0x859ab5(0x25a)),fs=require('fs'),path=require(a25_0x859ab5(0x24c)),{requireModule}=require('../../../helpers/helper'),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule('mocha/lib/utils.js'),color=Base[a25_0x859ab5(0x247)],Mocha=requireModule(a25_0x859ab5(0x2b5)),Runnable=requireModule(a25_0x859ab5(0x2a4)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a25_0x859ab5(0x278)),a25_0x5abc40={};a25_0x5abc40[a25_0x859ab5(0x1ea)]=a25_0x859ab5(0x2db),a25_0x5abc40[a25_0x859ab5(0x25f)]=a25_0x859ab5(0x207),a25_0x5abc40[a25_0x859ab5(0x2d2)]=a25_0x859ab5(0x238),a25_0x5abc40[a25_0x859ab5(0x2b1)]=a25_0x859ab5(0x223);const HOOK_TYPES_MAP=a25_0x5abc40,{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_0x859ab5(0x234)][a25_0x859ab5(0x2b0)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x859ab5(0x2b0)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a25_0x859ab5(0x2a6)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x859ab5(0x297)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a25_0x859ab5(0x300)]();class MyReporter{constructor(_0xaf3126,_0x5b264e){const _0x50c6bb=a25_0x859ab5,_0x20e508={'ZRNLy':function(_0x15ae7d,_0x2d878c){return _0x15ae7d===_0x2d878c;},'iUjdJ':'spec','IMHvk':function(_0x4bd65b,_0x29f257){return _0x4bd65b===_0x29f257;},'HMYMe':function(_0x56db02,_0x1a6b99){return _0x56db02+_0x1a6b99;},'eosIY':function(_0x5d402f,_0x144840,_0xa6ddad){return _0x5d402f(_0x144840,_0xa6ddad);},'TERxh':_0x50c6bb(0x23d),'syPjD':'%s\x20','NBPEZ':function(_0x2967d1,_0x503784,_0x543c4b){return _0x2967d1(_0x503784,_0x543c4b);},'LQYve':'light','nbWTe':_0x50c6bb(0x224),'pNlGl':_0x50c6bb(0x269),'uvqWq':_0x50c6bb(0x27e),'pOygp':function(_0x2d93e7,_0x92fe1c){return _0x2d93e7===_0x92fe1c;},'jxoCh':function(_0x770e40){return _0x770e40();},'Gtfgr':function(_0x14456d){return _0x14456d();},'DMPbM':_0x50c6bb(0x20e),'aMPft':function(_0x422c23,_0x581862){return _0x422c23===_0x581862;},'HCtrX':_0x50c6bb(0x2c8),'efBcn':'passed','CGzkH':_0x50c6bb(0x1f1),'bOgSm':function(_0x5df896,_0x4296f3){return _0x5df896+_0x4296f3;},'XlMmL':function(_0x1aea7c,_0x24fd58){return _0x1aea7c+_0x24fd58;},'xQtpi':_0x50c6bb(0x2c1),'ljVZD':function(_0x571ad1,_0x3a9c48,_0x48d3d5){return _0x571ad1(_0x3a9c48,_0x48d3d5);},'osqIZ':'pass','CjHoA':'\x20%s','ydmDD':function(_0x4e0971,_0x556a27){return _0x4e0971+_0x556a27;},'uCnTC':function(_0x1f9441,_0x1a077d){return _0x1f9441+_0x1a077d;},'qhZtp':function(_0xae660a,_0x2978eb,_0x53fab8){return _0xae660a(_0x2978eb,_0x53fab8);},'BbGFR':function(_0x359145,_0x593da8,_0x57beb8){return _0x359145(_0x593da8,_0x57beb8);},'wSYEv':function(_0x161a86,_0x560238,_0x47a599){return _0x161a86(_0x560238,_0x47a599);},'qKPjX':_0x50c6bb(0x298),'NfPPy':function(_0x32bddc,_0x38f345,_0x353579){return _0x32bddc(_0x38f345,_0x353579);},'cWvrG':'fail','VjtTs':_0x50c6bb(0x2ab),'ucCKe':function(_0x1107bf,_0x301bd0){return _0x1107bf===_0x301bd0;},'hcPdG':function(_0x5c9183,_0x52f5f0){return _0x5c9183+_0x52f5f0;},'BhpXn':_0x50c6bb(0x212),'LjSuO':function(_0x2ed6e8,_0x291469,_0x2b593a){return _0x2ed6e8(_0x291469,_0x2b593a);},'ZqZVk':'COMPLETED','nlCGf':function(_0x26c7e1,_0x53ba5a){return _0x26c7e1===_0x53ba5a;},'GqyLx':'dot','WOdqg':'slow','MHYYc':function(_0x2ec6a2,_0xc689f9){return _0x2ec6a2===_0xc689f9;},'KarGm':function(_0x52c944,_0xe4411){return _0x52c944===_0xe4411;},'GdFMC':_0x50c6bb(0x246),'IlnyQ':_0x50c6bb(0x268),'duVMT':function(_0x5f4129){return _0x5f4129();},'BSClj':_0x50c6bb(0x2a9),'lOLge':function(_0x14ef2f,_0x526a40){return _0x14ef2f(_0x526a40);},'OiYNw':function(_0x5976f9){return _0x5976f9();},'mBVUA':function(_0x112796,_0x2b555d){return _0x112796(_0x2b555d);},'Ecegm':function(_0x22ae1b,_0x18065a){return _0x22ae1b===_0x18065a;},'AGFiI':_0x50c6bb(0x1f7),'rySVf':function(_0x5d1cd6,_0xaf6467){return _0x5d1cd6===_0xaf6467;},'KTDTt':function(_0x14839d,_0x3703f8){return _0x14839d(_0x3703f8);},'VZuNW':function(_0x3de697,_0x16f5b7){return _0x3de697!==_0x16f5b7;}};this[_0x50c6bb(0x24d)]=_0x5b264e[_0x50c6bb(0x250)][_0x50c6bb(0x24d)],this['testObservability']=_0x20e508[_0x50c6bb(0x26c)](isTestObservabilitySession),Base[_0x50c6bb(0x29f)](this,_0xaf3126,_0x5b264e),this[_0x50c6bb(0x2c7)]=0x0,this[_0x50c6bb(0x2bb)]=0x0,this[_0x50c6bb(0x23a)]=[],this[_0x50c6bb(0x2da)]=[],this[_0x50c6bb(0x249)]=0x0,this['_buildCreated']=![],this['_testResults']=[],this[_0x50c6bb(0x294)]=_0x20e508[_0x50c6bb(0x27c)](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x50c6bb(0x2d3)]()},this[_0x50c6bb(0x294)]['location_prefix']),this['_upstreamConfig']=_0x5b264e[_0x50c6bb(0x250)]['bsConfig'],this[_0x50c6bb(0x284)]();_0x20e508['KarGm'](this[_0x50c6bb(0x24d)],_0x20e508['uvqWq'])&&(this[_0x50c6bb(0x277)]='',this[_0x50c6bb(0x281)]=0x2);_0xaf3126[_0x50c6bb(0x21d)](EVENT_RUN_BEGIN,async()=>{const _0x215b41=_0x50c6bb;_0x20e508['ZRNLy'](this[_0x215b41(0x24d)],_0x20e508[_0x215b41(0x275)])&&Base[_0x215b41(0x2fd)]();})['on'](EVENT_SUITE_BEGIN,_0x1c5632=>{const _0x15fa06=_0x50c6bb;if(_0x1c5632['root'])return;if(_0x20e508['IMHvk'](this[_0x15fa06(0x24d)],_0x20e508[_0x15fa06(0x275)]))this[_0x15fa06(0x29c)](),Base[_0x15fa06(0x2fd)](_0x20e508['HMYMe'](_0x20e508['HMYMe'](this['indent'](),_0x20e508[_0x15fa06(0x296)](color,_0x20e508[_0x15fa06(0x273)],_0x20e508[_0x15fa06(0x25e)])),_0x20e508[_0x15fa06(0x2af)](color,_0x20e508[_0x15fa06(0x22b)],_0x20e508['nbWTe'])),_0x20e508[_0x15fa06(0x22d)],_0x1c5632[_0x15fa06(0x2ed)],global[_0x15fa06(0x264)]);else _0x20e508[_0x15fa06(0x202)](this[_0x15fa06(0x24d)],_0x20e508['uvqWq'])&&(this[_0x15fa06(0x2ca)](this[_0x15fa06(0x2d0)]()+_0x15fa06(0x232)),++this[_0x15fa06(0x281)],this['docAppend'](this[_0x15fa06(0x2d0)]()+'<h1>'+utils['escape'](_0x1c5632[_0x15fa06(0x2ed)]+'\x20-\x20'+global[_0x15fa06(0x264)])+_0x15fa06(0x218)),this[_0x15fa06(0x2ca)](this[_0x15fa06(0x2d0)]()+_0x15fa06(0x27d)));})['on'](EVENT_HOOK_BEGIN,async _0x1dc5f7=>{const _0x8386b5=_0x50c6bb;if(_0x20e508[_0x8386b5(0x2dd)](this[_0x8386b5(0x201)],!![])){if(!_0x1dc5f7[_0x8386b5(0x20b)])_0x1dc5f7[_0x8386b5(0x20b)]=_0x20e508[_0x8386b5(0x2c9)](uuidv4);else _0x1dc5f7['markedStatus']&&(_0x1dc5f7[_0x8386b5(0x20b)]=_0x20e508[_0x8386b5(0x303)](uuidv4),delete _0x1dc5f7['markedStatus']);_0x1dc5f7['started_at']=new Date()['toISOString'](),this[_0x8386b5(0x1ec)]=_0x1dc5f7,await this[_0x8386b5(0x225)](_0x1dc5f7,undefined,![],_0x20e508[_0x8386b5(0x252)]);}})['on'](EVENT_HOOK_END,async _0x587f4a=>{const _0xf62f86=_0x50c6bb;_0x20e508[_0xf62f86(0x23c)](this[_0xf62f86(0x201)],!![])&&(!_0x587f4a[_0xf62f86(0x200)]&&(_0x587f4a[_0xf62f86(0x200)]=!![],await this[_0xf62f86(0x225)](_0x587f4a,undefined,![],_0x20e508[_0xf62f86(0x2fa)])));})['on'](EVENT_SUITE_END,_0x1f7321=>{const _0x42c2f3=_0x50c6bb;if(_0x1f7321[_0x42c2f3(0x220)])return;if(_0x20e508[_0x42c2f3(0x235)](this['type'],_0x20e508[_0x42c2f3(0x275)]))Base['consoleLog'](),Base[_0x42c2f3(0x2fd)](_0x20e508[_0x42c2f3(0x1f3)](_0x20e508[_0x42c2f3(0x20d)](this[_0x42c2f3(0x2d0)](),_0x20e508[_0x42c2f3(0x2b4)](color,_0x20e508[_0x42c2f3(0x1f6)],_0x20e508['syPjD'])),_0x20e508['LjSuO'](color,_0x20e508[_0x42c2f3(0x22b)],_0x20e508[_0x42c2f3(0x21c)])),_0x20e508[_0x42c2f3(0x25d)],_0x1f7321['title'],global[_0x42c2f3(0x264)]),this[_0x42c2f3(0x23a)][_0x42c2f3(0x243)](_0x22ba70=>{const _0x2b0e2e=_0x42c2f3;if(_0x20e508['ZRNLy'](_0x22ba70[_0x2b0e2e(0x2b6)],_0x20e508[_0x2b0e2e(0x237)])){var _0x599fb6;_0x20e508[_0x2b0e2e(0x202)](_0x22ba70[_0x2b0e2e(0x27a)],_0x20e508[_0x2b0e2e(0x2cb)])?(_0x599fb6=_0x20e508[_0x2b0e2e(0x1f3)](_0x20e508['XlMmL'](this[_0x2b0e2e(0x2d0)](),_0x20e508['eosIY'](color,_0x20e508[_0x2b0e2e(0x292)],_0x20e508[_0x2b0e2e(0x2f9)]('\x20\x20',Base['symbols']['ok']))),_0x20e508[_0x2b0e2e(0x217)](color,_0x20e508[_0x2b0e2e(0x2fc)],_0x20e508['CjHoA'])),Base[_0x2b0e2e(0x2fd)](_0x599fb6,_0x22ba70[_0x2b0e2e(0x2ed)])):(_0x599fb6=_0x20e508[_0x2b0e2e(0x2c2)](_0x20e508[_0x2b0e2e(0x229)](_0x20e508[_0x2b0e2e(0x2c2)](this[_0x2b0e2e(0x2d0)](),_0x20e508[_0x2b0e2e(0x1e8)](color,_0x20e508[_0x2b0e2e(0x292)],_0x20e508[_0x2b0e2e(0x21f)]('\x20\x20',Base[_0x2b0e2e(0x27b)]['ok']))),_0x20e508[_0x2b0e2e(0x2b4)](color,_0x20e508['osqIZ'],_0x20e508[_0x2b0e2e(0x239)])),_0x20e508['wSYEv'](color,_0x22ba70['speed'],_0x20e508[_0x2b0e2e(0x26f)])),Base[_0x2b0e2e(0x2fd)](_0x599fb6,_0x22ba70['title'],_0x22ba70[_0x2b0e2e(0x205)]));}else Base[_0x2b0e2e(0x2fd)](_0x20e508[_0x2b0e2e(0x2f9)](this[_0x2b0e2e(0x2d0)](),_0x20e508['NfPPy'](color,_0x20e508['cWvrG'],_0x20e508[_0x2b0e2e(0x2d8)])),++this[_0x2b0e2e(0x2bb)],_0x22ba70['title']);}),this['decreaseIndent']();else _0x20e508[_0x42c2f3(0x28e)](this[_0x42c2f3(0x24d)],_0x20e508[_0x42c2f3(0x2e4)])&&(this[_0x42c2f3(0x2ca)](this[_0x42c2f3(0x2d0)]()+'</dl>'),--this['__indents'],this[_0x42c2f3(0x2ca)](this[_0x42c2f3(0x2d0)]()+_0x42c2f3(0x222)),--this[_0x42c2f3(0x281)]);Array[_0x42c2f3(0x2e2)][_0x42c2f3(0x2e6)]['apply'](this[_0x42c2f3(0x2da)],this[_0x42c2f3(0x23a)]),this[_0x42c2f3(0x23a)]=[];})['on'](EVENT_TEST_PASS,async _0x1f0713=>{const _0x2021c5=_0x50c6bb;this['results'][_0x2021c5(0x2e6)]({'speed':_0x1f0713[_0x2021c5(0x27a)],'suite':_0x1f0713['parent'][_0x2021c5(0x2ed)],'title':_0x1f0713[_0x2021c5(0x2ed)],'fullTitle':_0x1f0713[_0x2021c5(0x2aa)](),'duration':_0x1f0713[_0x2021c5(0x205)],'state':_0x1f0713['state'],'err':{},'currentRetry':_0x1f0713[_0x2021c5(0x1fc)](),'titlePathV':_0x1f0713[_0x2021c5(0x2f5)](),'isPending':_0x1f0713[_0x2021c5(0x211)]()});if(_0x20e508[_0x2021c5(0x2dc)](this[_0x2021c5(0x24d)],_0x20e508[_0x2021c5(0x25b)]))_0x20e508[_0x2021c5(0x28e)](_0x1f0713['speed'],_0x20e508[_0x2021c5(0x236)])?process[_0x2021c5(0x301)][_0x2021c5(0x2f8)](Base[_0x2021c5(0x247)](_0x20e508[_0x2021c5(0x1f6)],Base[_0x2021c5(0x27b)][_0x2021c5(0x2b3)])):process[_0x2021c5(0x301)][_0x2021c5(0x2f8)](Base['color'](_0x1f0713[_0x2021c5(0x27a)],Base['symbols']['dot']));else{if(_0x20e508['MHYYc'](this[_0x2021c5(0x24d)],_0x20e508[_0x2021c5(0x2e4)])){this[_0x2021c5(0x2ca)](this[_0x2021c5(0x2d0)]()+_0x2021c5(0x24b)+utils['escape'](_0x1f0713[_0x2021c5(0x2ed)])+_0x2021c5(0x28d)),this[_0x2021c5(0x2ca)](this[_0x2021c5(0x2d0)]()+_0x2021c5(0x24b)+utils[_0x2021c5(0x26e)](_0x1f0713['file'])+_0x2021c5(0x28d));var _0x443c4f=utils[_0x2021c5(0x26e)](utils[_0x2021c5(0x24f)](_0x1f0713[_0x2021c5(0x26a)]));this[_0x2021c5(0x2ca)](this[_0x2021c5(0x2d0)]()+_0x2021c5(0x21b)+_0x443c4f+_0x2021c5(0x2c5));}}_0x20e508[_0x2021c5(0x1fa)](this['testObservability'],!![])&&(!_0x1f0713[_0x2021c5(0x200)]&&(_0x1f0713[_0x2021c5(0x200)]=!![],await this['sendTestRunEvent'](_0x1f0713)));})['on'](EVENT_TEST_FAIL,async(_0x236abf,_0x205302)=>{const _0x12f269=_0x50c6bb;this[_0x12f269(0x23a)][_0x12f269(0x2e6)]({'title':_0x236abf[_0x12f269(0x2ed)],'suite':_0x236abf['parent'][_0x12f269(0x2ed)],'state':_0x236abf[_0x12f269(0x2b6)],'err':{'message':util[_0x12f269(0x245)](_0x205302)},'fullTitle':_0x236abf[_0x12f269(0x2aa)](),'speed':_0x236abf[_0x12f269(0x27a)],'currentRetry':_0x236abf[_0x12f269(0x1fc)](),'titlePathV':_0x236abf[_0x12f269(0x2f5)]()});if(_0x20e508[_0x12f269(0x1fa)](this['type'],_0x20e508[_0x12f269(0x25b)]))process[_0x12f269(0x301)][_0x12f269(0x2f8)](Base[_0x12f269(0x247)](_0x20e508[_0x12f269(0x20a)],Base[_0x12f269(0x27b)][_0x12f269(0x271)]));else{if(_0x20e508[_0x12f269(0x2a3)](this[_0x12f269(0x24d)],_0x20e508['uvqWq'])){const _0x4270dd=_0x20e508[_0x12f269(0x231)][_0x12f269(0x1ed)]('|');let _0x3e5bab=0x0;while(!![]){switch(_0x4270dd[_0x3e5bab++]){case'0':var _0x41db3e=utils[_0x12f269(0x26e)](utils[_0x12f269(0x24f)](_0x236abf[_0x12f269(0x26a)]));continue;case'1':this['docAppend'](this[_0x12f269(0x2d0)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x41db3e+'</code></pre></dd>');continue;case'2':this['docAppend'](this[_0x12f269(0x2d0)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x12f269(0x26e)](_0x236abf['title'])+_0x12f269(0x28d));continue;case'3':this['docAppend'](this[_0x12f269(0x2d0)]()+_0x12f269(0x256)+utils[_0x12f269(0x26e)](_0x236abf['file'])+'</dt>');continue;case'4':this[_0x12f269(0x2ca)](this[_0x12f269(0x2d0)]()+_0x12f269(0x1fd)+utils[_0x12f269(0x26e)](_0x236abf['err'])+'</dd>');continue;}break;}}}if(_0x20e508[_0x12f269(0x28e)](this[_0x12f269(0x201)],!![])){if(!_0x236abf[_0x12f269(0x200)]){_0x236abf[_0x12f269(0x200)]=!![];if(_0x236abf[_0x12f269(0x28a)])await this[_0x12f269(0x225)](_0x236abf,_0x205302);else _0x236abf[_0x12f269(0x20b)]&&await this[_0x12f269(0x225)](_0x236abf,_0x205302,![],_0x20e508[_0x12f269(0x2fa)]);}}})['on'](EVENT_TEST_PENDING,async _0x43cd23=>{const _0x29110f=_0x50c6bb;this[_0x29110f(0x23a)][_0x29110f(0x2e6)]({'title':_0x43cd23['title'],'suite':_0x43cd23['parent']['title'],'state':_0x43cd23[_0x29110f(0x2b6)],'err':{},'fullTitle':_0x43cd23['fullTitle'](),'speed':_0x43cd23[_0x29110f(0x27a)],'currentRetry':_0x43cd23['currentRetry'](),'titlePathV':_0x43cd23[_0x29110f(0x2f5)]()}),_0x20e508[_0x29110f(0x2dd)](this[_0x29110f(0x24d)],_0x20e508[_0x29110f(0x25b)])&&process[_0x29110f(0x301)][_0x29110f(0x2f8)](Base[_0x29110f(0x247)](_0x20e508[_0x29110f(0x2d1)],Base[_0x29110f(0x27b)][_0x29110f(0x2c0)])),_0x20e508[_0x29110f(0x235)](this['testObservability'],!![])&&(!_0x43cd23['testAnalyticsId']&&(_0x43cd23[_0x29110f(0x28a)]=_0x20e508[_0x29110f(0x27c)](uuidv4)),!_0x43cd23[_0x29110f(0x200)]&&(_0x43cd23['markedStatus']=!![],await this['sendTestRunEvent'](_0x43cd23,undefined,![],_0x20e508[_0x29110f(0x21a)])));})['on'](EVENT_TEST_BEGIN,async _0x5c1315=>{const _0x320157=_0x50c6bb;_0x20e508['KarGm'](this[_0x320157(0x201)],!![])&&await this[_0x320157(0x29d)](_0x5c1315);})['on'](EVENT_TEST_END,async _0x5c10e0=>{const _0x42bd25=_0x50c6bb;_0x20e508[_0x42bd25(0x23c)](this[_0x42bd25(0x201)],!![])&&(!_0x5c10e0[_0x42bd25(0x200)]&&(_0x5c10e0[_0x42bd25(0x200)]=!![],await this[_0x42bd25(0x225)](_0x5c10e0)));})[_0x50c6bb(0x21d)](EVENT_RUN_END,async()=>{const _0xfd7bd5=_0x50c6bb;try{if(_0x20e508[_0xfd7bd5(0x2dc)](this[_0xfd7bd5(0x201)],!![])){const _0x944406=_0x20e508[_0xfd7bd5(0x242)](getHookSkippedTests,this[_0xfd7bd5(0x1f5)]['suite']);for(const _0x2b5b7f of _0x944406){!_0x2b5b7f[_0xfd7bd5(0x28a)]&&(_0x2b5b7f[_0xfd7bd5(0x28a)]=_0x20e508['OiYNw'](uuidv4)),await this[_0xfd7bd5(0x225)](_0x2b5b7f,undefined,![],_0x20e508['BSClj']);}}}catch(_0x4115b0){_0x20e508['mBVUA'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x4115b0);}await requestQueueHandler[_0xfd7bd5(0x1f9)](),_0x20e508[_0xfd7bd5(0x2f7)](this['type'],_0x20e508[_0xfd7bd5(0x2e4)])&&Base[_0xfd7bd5(0x2fd)](this[_0xfd7bd5(0x277)]);});if(this['type']&&![_0x20e508[_0x50c6bb(0x2e4)],_0x20e508[_0x50c6bb(0x2b2)],_0x20e508[_0x50c6bb(0x275)],_0x20e508[_0x50c6bb(0x25b)]]['includes'](this['type'])){const _0x4bc5fb=this['type'][_0x50c6bb(0x240)]();this[_0x50c6bb(0x210)]=null;try{this[_0x50c6bb(0x210)]=_0x20e508['mBVUA'](requireModule,_0x50c6bb(0x22e)+_0x4bc5fb+_0x50c6bb(0x2f2));}catch{}if(_0x20e508[_0x50c6bb(0x257)](this[_0x50c6bb(0x210)],null))try{this[_0x50c6bb(0x210)]=_0x20e508[_0x50c6bb(0x279)](require,_0x4bc5fb);}catch(_0x447dc8){console[_0x50c6bb(0x2c3)]('Failed\x20to\x20load\x20reporter\x20'+_0x4bc5fb);}if(_0x20e508['VZuNW'](this[_0x50c6bb(0x210)],null)){const _0x2c5fbf={};_0x2c5fbf[_0x50c6bb(0x1fb)]=_0x5b264e[_0x50c6bb(0x250)],this['Reporter']=new this[(_0x50c6bb(0x210))](_0xaf3126,_0x2c5fbf);}}}['indent'](){const _0xfc7be5=a25_0x859ab5,_0x2a7ab8={'AexQz':function(_0x11dea8,_0x8adfe7){return _0x11dea8(_0x8adfe7);}};return _0x2a7ab8[_0xfc7be5(0x302)](Array,this[_0xfc7be5(0x2c7)])['join']('\x20\x20');}[a25_0x859ab5(0x29c)](){const _0x5c48a6=a25_0x859ab5;this[_0x5c48a6(0x2c7)]++;}['decreaseIndent'](){const _0x4837d0=a25_0x859ab5;this[_0x4837d0(0x2c7)]--;}[a25_0x859ab5(0x2ca)](_0x39cba4){const _0x8e1e9=a25_0x859ab5;this[_0x8e1e9(0x277)]+=_0x39cba4;}[a25_0x859ab5(0x206)](_0x10f910,_0x3ef386){const _0x509306=a25_0x859ab5,_0x507760={'fSdGU':function(_0x29c42a,_0x1dc15c){return _0x29c42a(_0x1dc15c);}},_0x1cfb68={};_0x1cfb68[_0x509306(0x2b8)]=_0x10f910,_0x1cfb68[_0x509306(0x23a)]=this[_0x509306(0x2da)],_0x507760['fSdGU'](_0x3ef386,_0x1cfb68);}[a25_0x859ab5(0x284)](){const _0x2236a5=a25_0x859ab5;process[_0x2236a5(0x26d)](_0x2236a5(0x1eb)+process[_0x2236a5(0x291)]),process['on'](_0x2236a5(0x1eb)+process[_0x2236a5(0x291)],this[_0x2236a5(0x1e9)][_0x2236a5(0x28f)](this)),process[_0x2236a5(0x26d)](_0x2236a5(0x2df)+process[_0x2236a5(0x291)]),process['on'](_0x2236a5(0x2df)+process[_0x2236a5(0x291)],this[_0x2236a5(0x2ff)][_0x2236a5(0x28f)](this));}[a25_0x859ab5(0x29d)]=async _0xbe65c7=>{const _0x3c6c20=a25_0x859ab5,_0x471cca={'LHIcQ':function(_0x142383){return _0x142383();},'fXFKK':function(_0x3944ff,_0x242a74){return _0x3944ff>_0x242a74;},'qyILo':function(_0x5e697a,_0xeeb941){return _0x5e697a===_0xeeb941;},'AXfMn':_0x3c6c20(0x2ba),'HqUQL':function(_0x2c75f1,_0x2d7e2b){return _0x2c75f1(_0x2d7e2b);}};try{const _0x352c07=this[_0x3c6c20(0x2e5)];this['current_test']=_0xbe65c7,_0xbe65c7['retryOf']=null,_0xbe65c7[_0x3c6c20(0x28a)]=_0x471cca[_0x3c6c20(0x2f1)](uuidv4),_0xbe65c7[_0x3c6c20(0x2b9)]=new Date()[_0x3c6c20(0x2e1)](),_0x471cca['fXFKK'](_0xbe65c7[_0x3c6c20(0x2d6)],0x0)&&_0x352c07&&_0x471cca['qyILo'](_0x352c07[_0x3c6c20(0x2ed)],_0xbe65c7[_0x3c6c20(0x2ed)])?(_0xbe65c7[_0x3c6c20(0x2be)]=_0x352c07[_0x3c6c20(0x28a)],await this['sendTestRunEvent'](_0xbe65c7,undefined,![],_0x471cca['AXfMn']),_0x352c07['state']=STATE_FAILED,await this[_0x3c6c20(0x225)](_0x352c07,undefined,!![])):await this[_0x3c6c20(0x225)](_0xbe65c7,undefined,![],_0x471cca[_0x3c6c20(0x258)]);}catch(_0x320bb3){_0x471cca[_0x3c6c20(0x22a)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x320bb3);}};[a25_0x859ab5(0x225)]=async(_0x597989,_0x5a4abc=undefined,_0x3dab7d=![],_0x22d0c7=a25_0x859ab5(0x2ac))=>{const _0x3e968b=a25_0x859ab5,_0x27bca7={'qbFmT':function(_0x3d210d,_0x11dbcd){return _0x3d210d===_0x11dbcd;},'qgvAM':function(_0x2ef63f,_0x5ab413){return _0x2ef63f!==_0x5ab413;},'Ywblb':_0x3e968b(0x2de),'HkjRO':_0x3e968b(0x28b),'tMGju':function(_0x7e7b13,_0x51a370){return _0x7e7b13!==_0x51a370;},'IbWBo':_0x3e968b(0x285),'bHTsZ':_0x3e968b(0x208),'FoSxo':'javascript','FysCa':function(_0x3e0626,_0x265c0b){return _0x3e0626===_0x265c0b;},'jAtim':'TestRunSkipped','iHfRU':_0x3e968b(0x2ef),'iqUow':function(_0x3aedb6,_0x48585a){return _0x3aedb6-_0x48585a;},'lcjBx':_0x3e968b(0x2c6),'ZHemh':_0x3e968b(0x29a),'RhFSx':function(_0x427a6b,_0x806af5){return _0x427a6b===_0x806af5;},'uTXfQ':'started_at','AxtGQ':'finished_at','mILnI':function(_0x2489c5,_0xe3c08){return _0x2489c5(_0xe3c08);},'disjY':function(_0x1758c8,_0x1a9eb8){return _0x1758c8===_0x1a9eb8;},'pWXLS':'HookRunFinished','dAIPA':function(_0x494bc9,_0x30dbe1){return _0x494bc9!==_0x30dbe1;},'cPNiI':_0x3e968b(0x29b),'iAold':_0x3e968b(0x2d7),'WtYUA':'before\x20each','KPadh':function(_0x4c655c,_0x525de5){return _0x4c655c(_0x525de5);},'SjfAH':'failure','tGloh':_0x3e968b(0x293),'xvDeH':'backtrace','LECmK':_0x3e968b(0x1f8),'zBpXP':_0x3e968b(0x2f4),'ehkMb':_0x3e968b(0x2ac),'YBvgi':_0x3e968b(0x255),'nNYwz':'hook_run','GXRPi':'test_run'};try{if(_0x597989[_0x3e968b(0x26a)]&&_0x597989[_0x3e968b(0x26a)][_0x3e968b(0x2f0)](/browserstack internal helper hook/))return;let _0x115747=[];if(_0x27bca7[_0x3e968b(0x265)](_0x597989[_0x3e968b(0x2b6)],STATE_FAILED)){if(_0x27bca7[_0x3e968b(0x2d5)](_0x597989['err'],undefined))_0x115747=_0x597989['err'][_0x3e968b(0x260)]?[_0x597989[_0x3e968b(0x28b)][_0x3e968b(0x260)],_0x27bca7['Ywblb']]:[_0x597989[_0x3e968b(0x28b)],_0x27bca7[_0x3e968b(0x2ce)]];else _0x27bca7[_0x3e968b(0x2d5)](_0x5a4abc,undefined)?_0x115747=[_0x5a4abc,_0x27bca7[_0x3e968b(0x2ce)]]:_0x115747=[];}const _0x71aa44=_0x27bca7[_0x3e968b(0x2d5)](_0x597989[_0x3e968b(0x28b)],undefined)?_0x597989[_0x3e968b(0x28b)][_0x3e968b(0x2eb)]():_0x27bca7[_0x3e968b(0x27f)](_0x5a4abc,undefined)?_0x5a4abc[_0x3e968b(0x2eb)]():undefined;let _0x42b105;try{_0x42b105=this[_0x3e968b(0x23b)](_0x597989);}catch(_0x428149){_0x42b105=null;}const _0x1a4196=_0x42b105?this[_0x3e968b(0x2a7)](_0x42b105):null,_0x142ce1=_0x42b105?this[_0x3e968b(0x244)]['prefixTestPath'](this[_0x3e968b(0x23b)](_0x597989)):_0x27bca7[_0x3e968b(0x230)],_0x531be7={'framework':_0x27bca7['bHTsZ'],'uuid':_0x597989[_0x3e968b(0x28a)]||_0x597989[_0x3e968b(0x20b)],'name':_0x597989['title'],'body':{'lang':_0x27bca7[_0x3e968b(0x287)],'code':_0x597989[_0x3e968b(0x26a)]},'scope':this[_0x3e968b(0x254)](_0x597989),'scopes':this[_0x3e968b(0x226)](_0x597989),'identifier':_0x597989[_0x3e968b(0x2aa)](),'file_name':_0x142ce1,'vc_filepath':_0x1a4196?path[_0x3e968b(0x221)](_0x1a4196,_0x42b105):null,'location':_0x142ce1,'result':_0x27bca7[_0x3e968b(0x233)](_0x22d0c7,_0x27bca7[_0x3e968b(0x299)])?_0x27bca7[_0x3e968b(0x2bf)]:this[_0x3e968b(0x280)](_0x597989[_0x3e968b(0x2b6)]),'failure_reason':_0x71aa44,'duration_in_ms':_0x597989[_0x3e968b(0x205)]||(_0x22d0c7['match'](/Finished/)||_0x22d0c7[_0x3e968b(0x2f0)](/Skipped/)?_0x27bca7[_0x3e968b(0x248)](Date[_0x3e968b(0x2bc)](),new Date(_0x597989[_0x3e968b(0x2b9)])['getTime']()):null),'started_at':_0x597989[_0x3e968b(0x2b9)],'finished_at':_0x22d0c7[_0x3e968b(0x2f0)](/Finished/)||_0x22d0c7[_0x3e968b(0x2f0)](/Skipped/)?new Date()[_0x3e968b(0x2e1)]():null,'failure':failureData[_0x3e968b(0x204)](null,_0x115747),'failure_type':!_0x71aa44?null:_0x71aa44[_0x3e968b(0x2f0)](/AssertionError/)?_0x27bca7[_0x3e968b(0x1f4)]:_0x27bca7[_0x3e968b(0x1f0)],'retry_of':_0x597989[_0x3e968b(0x2be)]};_0x27bca7[_0x3e968b(0x2e8)](_0x22d0c7,_0x27bca7['jAtim'])&&!_0x531be7[_0x27bca7[_0x3e968b(0x295)]]&&(_0x531be7[_0x27bca7[_0x3e968b(0x295)]]=_0x531be7[_0x27bca7[_0x3e968b(0x2e3)]]);if(_0x22d0c7[_0x3e968b(0x2f0)](/HookRun/))[_0x531be7[_0x3e968b(0x255)],_0x531be7[_0x3e968b(0x289)]]=_0x27bca7[_0x3e968b(0x26b)](getHookDetails,_0x597989[_0x3e968b(0x2aa)]()||_0x597989[_0x3e968b(0x29e)]||_0x597989[_0x3e968b(0x2ed)]),_0x27bca7[_0x3e968b(0x262)](_0x22d0c7,_0x27bca7[_0x3e968b(0x227)])&&(_0x27bca7[_0x3e968b(0x21e)](_0x531be7[_0x3e968b(0x23e)],_0x27bca7[_0x3e968b(0x219)])&&(_0x531be7[_0x3e968b(0x23e)]=_0x27bca7['iAold']),_0x27bca7[_0x3e968b(0x262)](_0x531be7[_0x3e968b(0x255)],_0x27bca7[_0x3e968b(0x266)])&&_0x27bca7[_0x3e968b(0x2e8)](_0x531be7[_0x3e968b(0x23e)],_0x27bca7['cPNiI'])&&!_0x597989[_0x3e968b(0x270)][_0x3e968b(0x2f3)]['markedStatus']&&(_0x597989[_0x3e968b(0x270)][_0x3e968b(0x2f3)]['markedStatus']=!![],_0x597989[_0x3e968b(0x270)][_0x3e968b(0x2f3)][_0x3e968b(0x2b6)]=STATE_FAILED,await this[_0x3e968b(0x225)](_0x597989['ctx'][_0x3e968b(0x2f3)],undefined,!![])));else _0x22d0c7[_0x3e968b(0x2f0)](/TestRun/)&&_0x27bca7[_0x3e968b(0x2e9)](mapTestHooks,_0x597989);const _0x15e7e6=_0x531be7[_0x27bca7[_0x3e968b(0x203)]][0x0];_0x15e7e6&&(_0x531be7[_0x27bca7[_0x3e968b(0x272)]]=_0x15e7e6[_0x27bca7[_0x3e968b(0x209)]],_0x531be7[_0x27bca7['LECmK']]=_0x15e7e6[_0x27bca7['zBpXP']]);[_0x27bca7['ehkMb'],_0x27bca7[_0x3e968b(0x299)]][_0x3e968b(0x24a)](_0x22d0c7)&&(this[_0x3e968b(0x2bd)]['push'](_0x531be7),_0x531be7[_0x3e968b(0x1fe)]=_0x27bca7[_0x3e968b(0x26b)](getHooksForTest,_0x597989));const _0x113d44={'event_type':_0x27bca7[_0x3e968b(0x2e8)](_0x22d0c7,_0x27bca7[_0x3e968b(0x299)])?_0x27bca7[_0x3e968b(0x2ae)]:_0x22d0c7};_0x22d0c7['match'](/HookRun/)?(_0x531be7[_0x27bca7['YBvgi']]=HOOK_TYPES_MAP[_0x531be7[_0x27bca7[_0x3e968b(0x2ea)]]],_0x113d44[_0x27bca7[_0x3e968b(0x282)]]=_0x531be7):_0x113d44[_0x27bca7[_0x3e968b(0x2cc)]]=_0x531be7,await SessionHandler[_0x3e968b(0x216)](_0x113d44);}catch(_0x4104b7){_0x27bca7[_0x3e968b(0x2e9)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x22d0c7+'\x20with\x20error\x20:\x20'+_0x4104b7);}};[a25_0x859ab5(0x2a7)](_0x3e9533){const _0x3b584f=a25_0x859ab5,_0x299aee={};_0x299aee[_0x3b584f(0x23f)]=function(_0x418226,_0x46fa94){return _0x418226===_0x46fa94;},_0x299aee[_0x3b584f(0x241)]=function(_0x360474,_0x5434c3){return _0x360474===_0x5434c3;},_0x299aee[_0x3b584f(0x1ef)]='.git',_0x299aee[_0x3b584f(0x2cd)]=_0x3b584f(0x28c);const _0x3a7d5e=_0x299aee,_0x11cb9f=path[_0x3b584f(0x2ec)];if(_0x3a7d5e[_0x3b584f(0x23f)](_0x3e9533,null)||_0x3a7d5e[_0x3b584f(0x23f)](_0x3e9533,'')||_0x3a7d5e[_0x3b584f(0x241)](_0x3e9533,_0x11cb9f))return null;try{return fs['statSync'](path['join'](_0x3e9533,_0x3a7d5e['LARJH'],_0x3a7d5e['qSYfc'])),_0x3e9533;}catch(_0x225e1f){const _0x2e59a0=path['dirname'](_0x3e9533);return this[_0x3b584f(0x2a7)](_0x2e59a0);}}[a25_0x859ab5(0x1e9)]=async _0x537fd5=>{const _0x8e3d3e=a25_0x859ab5,_0x239ceb={'YlUfx':_0x8e3d3e(0x20c),'nFFhA':function(_0x319b67,_0x2b55c0){return _0x319b67(_0x2b55c0);}};try{this[_0x8e3d3e(0x1ec)]&&!this['current_hook'][_0x8e3d3e(0x200)]&&(_0x537fd5['hook_run_uuid']=this['current_hook'][_0x8e3d3e(0x20b)]);!_0x537fd5['hook_run_uuid']&&this['current_test']&&!this[_0x8e3d3e(0x2e5)][_0x8e3d3e(0x200)]&&(_0x537fd5['test_run_uuid']=this[_0x8e3d3e(0x2e5)][_0x8e3d3e(0x28a)]);if(_0x537fd5[_0x8e3d3e(0x2a5)]||_0x537fd5[_0x8e3d3e(0x267)]){const _0x1a43d9={};_0x1a43d9[_0x8e3d3e(0x1f2)]=_0x239ceb[_0x8e3d3e(0x20f)],_0x1a43d9['logs']=[_0x537fd5],await SessionHandler['uploadEventData'](_0x1a43d9);}}catch(_0x5944db){_0x239ceb[_0x8e3d3e(0x1ee)](debug,_0x8e3d3e(0x22f)+_0x5944db);}};[a25_0x859ab5(0x2ff)]=async _0x3c6124=>{const _0x3423de=a25_0x859ab5,_0x71fbf={'TBlaD':_0x3423de(0x2fb),'NrtcS':_0x3423de(0x24e),'hOOpf':function(_0x292f4c,_0x3e5248){return _0x292f4c(_0x3e5248);}};try{const _0x3e5509={};_0x3e5509[_0x3423de(0x2e7)]=_0x3c6124[_0x3423de(0x2e7)]||this[_0x3423de(0x2e5)][_0x3423de(0x28a)],_0x3e5509[_0x3423de(0x253)]=_0x3c6124[_0x71fbf[_0x3423de(0x251)]];const _0x1c6ed7=_0x3e5509,_0x47e6cc={};_0x47e6cc[_0x3423de(0x1f2)]=_0x71fbf[_0x3423de(0x2f6)],_0x47e6cc[_0x3423de(0x274)]=_0x1c6ed7,await SessionHandler[_0x3423de(0x216)](_0x47e6cc);}catch(_0x3a02e7){_0x71fbf[_0x3423de(0x2b7)](debug,_0x3423de(0x228)+_0x3a02e7);}};['analyticsResult'](_0x288b0b){const _0x1e8de9=a25_0x859ab5,_0x16341d={};_0x16341d['ARTwQ']=_0x1e8de9(0x2d7),_0x16341d[_0x1e8de9(0x2a8)]=_0x1e8de9(0x268),_0x16341d[_0x1e8de9(0x2a1)]=_0x1e8de9(0x29b);const _0x5c3d5f=_0x16341d,_0x1c7b45={};return _0x1c7b45[STATE_PASSED]=_0x5c3d5f[_0x1e8de9(0x22c)],_0x1c7b45[STATE_PENDING]=_0x5c3d5f['VrUjz'],_0x1c7b45[STATE_FAILED]=_0x5c3d5f[_0x1e8de9(0x2a1)],_0x1c7b45[_0x288b0b];}[a25_0x859ab5(0x254)](_0x20425d){const _0x4f231d=a25_0x859ab5,_0x5624fc={};_0x5624fc['ULKCU']=function(_0x15523c,_0x2a0560){return _0x15523c-_0x2a0560;};const _0x39f4a6=_0x5624fc,_0xb3a7b5=_0x20425d[_0x4f231d(0x2f5)]();return _0xb3a7b5[_0x4f231d(0x2fe)](0x0,_0x39f4a6['ULKCU'](_0xb3a7b5[_0x4f231d(0x215)],0x1))[_0x4f231d(0x2d9)]('\x20');}[a25_0x859ab5(0x226)](_0x4d86d0){const _0x7b5d56=a25_0x859ab5,_0x34a440={};_0x34a440[_0x7b5d56(0x2cf)]=function(_0x431ec0,_0x248539){return _0x431ec0-_0x248539;};const _0x28427a=_0x34a440,_0x510679=_0x4d86d0[_0x7b5d56(0x2f5)]();return _0x510679[_0x7b5d56(0x2fe)](0x0,_0x28427a[_0x7b5d56(0x2cf)](_0x510679[_0x7b5d56(0x215)],0x1));}['getRootParentFile'](_0xda7730){const _0x5eed55=a25_0x859ab5,_0x2d4a76={};_0x2d4a76[_0x5eed55(0x213)]=function(_0x2a6fb2,_0x479adf){return _0x2a6fb2>_0x479adf;};const _0x1686e5=_0x2d4a76;if(_0xda7730['file'])return _0xda7730[_0x5eed55(0x2ee)];if(_0xda7730[_0x5eed55(0x270)]){const _0x4d0540=_0xda7730[_0x5eed55(0x270)][_0x5eed55(0x2f3)]?this[_0x5eed55(0x23b)](_0xda7730[_0x5eed55(0x270)][_0x5eed55(0x2f3)]):null;if(_0x4d0540)return _0x4d0540;}if(_0xda7730[_0x5eed55(0x2a0)]){const _0x2fa653=this['getRootParentFile'](_0xda7730['parent'])||(_0xda7730['parent']['ctx']&&_0xda7730[_0x5eed55(0x2a0)]['ctx'][_0x5eed55(0x2f3)]?this[_0x5eed55(0x23b)](_0xda7730[_0x5eed55(0x2a0)][_0x5eed55(0x270)][_0x5eed55(0x2f3)]):null);if(_0x2fa653)return _0x2fa653;_0xda7730[_0x5eed55(0x2a0)][_0x5eed55(0x2e0)]&&_0x1686e5[_0x5eed55(0x213)](_0xda7730[_0x5eed55(0x2a0)][_0x5eed55(0x2e0)]['length'],0x0)&&_0xda7730[_0x5eed55(0x2a0)][_0x5eed55(0x2e0)][_0x5eed55(0x243)](_0x674497=>{const _0x511133=_0x5eed55,_0x5babc8=_0x674497[_0x511133(0x270)]?this[_0x511133(0x23b)](_0x674497[_0x511133(0x270)]):null;if(_0x5babc8)return _0x5babc8;});}return null;}}module[a25_0x859ab5(0x2a2)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
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();}
|
|
2
|
+
'use strict';function a26_0x7478(_0x52cb55,_0x3b9eaf){const _0x4cd4f8=a26_0x4cd4();return a26_0x7478=function(_0x7478b,_0x4fe9ed){_0x7478b=_0x7478b-0x169;let _0x12ee71=_0x4cd4f8[_0x7478b];return _0x12ee71;},a26_0x7478(_0x52cb55,_0x3b9eaf);}const a26_0x28aa52=a26_0x7478;(function(_0x2e20d9,_0xeae5f8){const _0x1a0885=a26_0x7478,_0x8d3cae=_0x2e20d9();while(!![]){try{const _0xcbaeca=-parseInt(_0x1a0885(0x224))/0x1*(parseInt(_0x1a0885(0x1be))/0x2)+parseInt(_0x1a0885(0x1ff))/0x3+-parseInt(_0x1a0885(0x234))/0x4+-parseInt(_0x1a0885(0x1a2))/0x5+-parseInt(_0x1a0885(0x22a))/0x6*(parseInt(_0x1a0885(0x1fc))/0x7)+parseInt(_0x1a0885(0x172))/0x8+parseInt(_0x1a0885(0x180))/0x9;if(_0xcbaeca===_0xeae5f8)break;else _0x8d3cae['push'](_0x8d3cae['shift']());}catch(_0x52f7da){_0x8d3cae['push'](_0x8d3cae['shift']());}}}(a26_0x4cd4,0xc3791));const chalk=require('chalk'),logger=require(a26_0x28aa52(0x194))[a26_0x28aa52(0x1bf)],{default:BrowserStackSetup}=require(a26_0x28aa52(0x1a6)),helper=require(a26_0x28aa52(0x211)),testOpsHelper=require(a26_0x28aa52(0x197)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x28aa52(0x17f)),{requireModule}=require(a26_0x28aa52(0x211)),{getPercyOptions}=require(a26_0x28aa52(0x1df)),Base=requireModule(a26_0x28aa52(0x226)),collectFiles=requireModule(a26_0x28aa52(0x18d));function tag(_0x20611e,_0x2cd428,_0x539f40,_0x2977c4){const _0x574940=a26_0x28aa52,_0x1ba3d5={'fUQzM':function(_0x1203d4,_0x5770e5){return _0x1203d4+_0x5770e5;},'nfMMO':function(_0x576f4e,_0x1fda0e){return _0x576f4e+_0x1fda0e;},'KEwYU':function(_0x3457f6,_0x4707fe){return _0x3457f6(_0x4707fe);},'YtlrT':function(_0x139d21,_0x4660cc){return _0x139d21+_0x4660cc;}},_0x48a7bf=_0x539f40?'/>':'>',_0x540596=[];let _0x4d7d01;for(const _0x2f4d6a in _0x2cd428){Object[_0x574940(0x21e)][_0x574940(0x243)][_0x574940(0x1bc)](_0x2cd428,_0x2f4d6a)&&_0x540596[_0x574940(0x191)](_0x1ba3d5[_0x574940(0x16b)](_0x1ba3d5['fUQzM'](_0x1ba3d5['nfMMO'](_0x2f4d6a,'=\x22'),_0x1ba3d5[_0x574940(0x1c9)](escape,_0x2cd428[_0x2f4d6a])),'\x22'));}return _0x4d7d01=_0x1ba3d5[_0x574940(0x16b)](_0x1ba3d5[_0x574940(0x16b)](_0x1ba3d5[_0x574940(0x225)]('<',_0x20611e),_0x540596[_0x574940(0x1d7)]?_0x1ba3d5[_0x574940(0x16b)]('\x20',_0x540596['join']('\x20')):''),_0x48a7bf),_0x2977c4&&(_0x4d7d01+=_0x1ba3d5[_0x574940(0x225)](_0x1ba3d5['YtlrT'](_0x1ba3d5[_0x574940(0x1d0)](_0x2977c4,'</'),_0x20611e),_0x48a7bf)),_0x4d7d01;}let xunitContent='';function xunitWrite(_0x196f31){xunitContent+=_0x196f31;}function xunitTest(_0x398b24,_0x19a75d){const _0x5dc790=a26_0x28aa52,_0x3b2930={'XRirY':function(_0x7a20c0,_0x881c71){return _0x7a20c0/_0x881c71;},'OJWsI':function(_0x54f087,_0x577e2c){return _0x54f087===_0x577e2c;},'DTgkb':'failed','qNXBG':function(_0x259da7,_0x3393f6){return _0x259da7+_0x3393f6;},'LmNlo':function(_0x5ca0bf,_0x4b6996){return _0x5ca0bf(_0x4b6996);},'ECFeu':function(_0x35df7a,_0x3dc95d,_0xa73069,_0x586abd,_0x281b86){return _0x35df7a(_0x3dc95d,_0xa73069,_0x586abd,_0x281b86);},'WwGoG':'testcase','HTPcJ':function(_0x5065b3,_0x5a910b,_0x556663,_0xd8dfbb,_0x45a069){return _0x5065b3(_0x5a910b,_0x556663,_0xd8dfbb,_0x45a069);},'uWtgn':_0x5dc790(0x19e),'RSkOq':function(_0x5e5f1c,_0x765ac2){return _0x5e5f1c(_0x765ac2);},'jffnd':function(_0x9dcc7b,_0x5aef15,_0x1c46ec,_0x4e1aed,_0x690f2e){return _0x9dcc7b(_0x5aef15,_0x1c46ec,_0x4e1aed,_0x690f2e);},'RNxbN':function(_0x505870,_0x302421,_0x505744,_0x50221d){return _0x505870(_0x302421,_0x505744,_0x50221d);},'hrAas':_0x5dc790(0x1eb),'WkNOX':function(_0x671335,_0x52a86d){return _0x671335(_0x52a86d);}};Base[_0x5dc790(0x221)]=![];var _0x4be2c8={'classname':_0x398b24['fullTitle'],'name':_0x398b24[_0x5dc790(0x205)],'time':_0x3b2930[_0x5dc790(0x23a)](_0x398b24[_0x5dc790(0x16c)],0x3e8)||0x0,'platform':_0x19a75d};if(_0x3b2930[_0x5dc790(0x201)](_0x398b24[_0x5dc790(0x24a)],_0x3b2930[_0x5dc790(0x1b2)])){var _0x543145=_0x398b24[_0x5dc790(0x17e)],_0x49ef4d=!Base[_0x5dc790(0x23d)]&&Base['showDiff'](_0x543145)?_0x3b2930['qNXBG']('\x0a',Base[_0x5dc790(0x210)](_0x543145[_0x5dc790(0x1aa)],_0x543145[_0x5dc790(0x17c)])):'';_0x3b2930[_0x5dc790(0x21d)](xunitWrite,_0x3b2930['ECFeu'](tag,_0x3b2930[_0x5dc790(0x22d)],_0x4be2c8,![],_0x3b2930['HTPcJ'](tag,_0x3b2930[_0x5dc790(0x1f3)],{},![],_0x3b2930[_0x5dc790(0x244)](_0x3b2930[_0x5dc790(0x244)](_0x3b2930[_0x5dc790(0x244)](_0x3b2930[_0x5dc790(0x21d)](escape,_0x543145['message']),_0x3b2930[_0x5dc790(0x21d)](escape,_0x49ef4d)),'\x0a'),_0x3b2930[_0x5dc790(0x21d)](escape,_0x543145[_0x5dc790(0x183)])))));}else _0x398b24[_0x5dc790(0x1bb)]?_0x3b2930[_0x5dc790(0x169)](xunitWrite,_0x3b2930[_0x5dc790(0x1cd)](tag,_0x3b2930[_0x5dc790(0x22d)],_0x4be2c8,![],_0x3b2930[_0x5dc790(0x20e)](tag,_0x3b2930[_0x5dc790(0x1d1)],{},!![]))):_0x3b2930[_0x5dc790(0x193)](xunitWrite,_0x3b2930[_0x5dc790(0x20e)](tag,_0x3b2930[_0x5dc790(0x22d)],_0x4be2c8,!![]));};function a26_0x4cd4(){const _0x41f049=['--disable-test-observability','info','then','BROWSERSTACK_TEST_ACCESSIBILITY_YML','length','</testsuite>','qgnDn','test','errorMessage','add','gGHhl','mjs','../../helpers/percy/utils','MdVTo','xgVkd','sort','Mocha\x20Tests','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_TEST_OBSERVABILITY_YML','ZNjoi','isTestObservabilitySession','getErrorMessageFromResults','testsPassed','testsPending','skipped','reporter','FGAYm','forEach','FNvcn','ZkpOL','EfQUs','puIez','uWtgn','xZREF','includes','ecrlk','Inwqg','\x20platforms','qvtZX','Taocq','ICVXl','42ujcjyh','LxkjF','Couldn\x27t\x20write\x20json\x20result\x20to','1761348ySFYXg','framework','OJWsI','reporterOptions','hIidi','proxySettings','title','parseFileNames','Setting\x20non\x20exit\x20code\x20for\x20failures','yuZQA','Now,\x20showing\x20logs\x20from\x20mocha','dwTtV','passes','GIpXe','writeFileSync','RNxbN','isBrowserstackInfra','generateDiff','../../helpers/helper','LhSVj','pending','finalExecution','PQwVm','getHubUrl','xKkfO','accessibilityOptions','\x20failed','iEcaB','\x20skipped','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','LmNlo','prototype','getPlatformName','uFxMr','useColors','totalTests','JyDYj','11kmNlOr','nfMMO','mocha/lib/reporters/base.js','modifyBrowserStackCaps','FcqFD','platform','277176iQOkob','notifyUpdate','consoleLog','WwGoG','keys','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','titlePath','yGwJz','IGvkC','platforms','978140xslzVP','TakVU','xYlNN','****\x20FAILURES\x20****','flBxj','config','XRirY','iZxMD','recursive','hideDiff','pJzXb','Writing\x20xunit\x20result\x20to\x20file','finally','pTKXu','toUTCString','hasOwnProperty','qNXBG','rerunTests','spec','pzFPZ','debug','yfmuT','state','xIbro','jabCn','ignore','YtqyF','Running\x20your\x20mocha\x20tests\x20across\x20','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','Tests:\x20\x20\x20\x20\x20\x20\x20','TDOWv','kjemc','RSkOq','noHqX','fUQzM','duration','Writing\x20json\x20result\x20to\x20file','titlePathV','mocha','xunit','\x0a\x0a\x0a','6201328XuIcQd','tMpBJ','env','isUndefined','HECkM','Running\x20your\x20mocha\x20tests','log','argv','Listing\x20all\x20the\x20failures','join','expected','NovEB','err','../test-runner','13224645aIXvzI','exitCode','testObservability','stack','PtvdS','aclkO','UOTdw','BWVwE','\x20total','assign','suite','stringify','testsFailed','mocha/lib/cli/collect-files.js','BvDUF','WkgXi','DjRTI','push','HoiBd','WkNOX','../../helpers/logger','stats','xaoQh','../../helpers/test-observability/utils','testSuites','failed','YiAEn','fireFunnelTestEvent','error','red','failure','xdUKj','hlJdM','\x20passed','788140cSlLbF','shouldReRunObservabilityTests','logLevel','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/BrowserStackSetup','has','VqoYh','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','actual','cliConfig','currentRetry','exports','green','object','FkITh','SDKTestSuccessful','DTgkb','WNqLZ','file','rootHooks','output','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','min','BROWSERSTACK_AUTOMATION','BvqNP','isPending','call','jdqxj','245762BpXQIL','winstonLogger','ZOhqZ','pqUnd','deJgU','bKwfV','bold','printBuildLink','modifyBrowserStackW3CCaps','eOHeZ','passed','KEwYU','--disable-browserstack-automation','syAPu','accessibility','jffnd','ixMSt','testsuite','YtlrT','hrAas','gqvQr'];a26_0x4cd4=function(){return _0x41f049;};return a26_0x4cd4();}function getStats(_0x20d6bf){const _0x2dd726=a26_0x28aa52,_0x148445={};_0x148445[_0x2dd726(0x186)]=_0x2dd726(0x18a),_0x148445[_0x2dd726(0x252)]=_0x2dd726(0x1c8),_0x148445[_0x2dd726(0x247)]=_0x2dd726(0x199),_0x148445['PvrhV']='results';const _0x487a9d=_0x148445,_0x5eaacc=Object[_0x2dd726(0x22e)](_0x20d6bf);let _0x44e573=0x0,_0xe81b89=0x0,_0x4a302c=0x0,_0x3542a6=0x0;const _0x1a10b7=new Set();_0x5eaacc[_0x2dd726(0x1ee)](_0x5def9a=>{const _0x3ed76=_0x2dd726,_0x15a3db={};_0x15a3db[_0x3ed76(0x24b)]=_0x487a9d[_0x3ed76(0x186)],_0x15a3db[_0x3ed76(0x215)]=_0x487a9d['TDOWv'],_0x15a3db['kjemc']=_0x487a9d[_0x3ed76(0x247)];const _0x4836ca=_0x15a3db;_0x20d6bf[_0x5def9a][_0x487a9d['PvrhV']]['forEach'](_0x57e14c=>{const _0x10fc78=_0x3ed76;_0x1a10b7[_0x10fc78(0x1dc)](_0x57e14c[_0x4836ca[_0x10fc78(0x24b)]]),_0x44e573++;switch(_0x57e14c[_0x10fc78(0x24a)]){case _0x4836ca[_0x10fc78(0x215)]:_0x4a302c++;break;case _0x4836ca[_0x10fc78(0x253)]:_0xe81b89++;break;default:_0x3542a6++;}});});const _0x7eedea={};return _0x7eedea[_0x2dd726(0x198)]=_0x1a10b7['size'],_0x7eedea[_0x2dd726(0x233)]=_0x5eaacc,_0x7eedea[_0x2dd726(0x222)]=_0x44e573,_0x7eedea['testsFailed']=_0xe81b89,_0x7eedea[_0x2dd726(0x1e9)]=_0x4a302c,_0x7eedea['testsPending']=_0x3542a6,_0x7eedea;}function errorJSON(_0x4332bf){const _0x50fa4b=a26_0x28aa52;var _0x3a52f4={};return Object['getOwnPropertyNames'](_0x4332bf)[_0x50fa4b(0x1ee)](function(_0x2ec71a){_0x3a52f4[_0x2ec71a]=_0x4332bf[_0x2ec71a];},_0x4332bf),_0x3a52f4;}function cleanCycles(_0xb8e10d){const _0x17bb7c=a26_0x28aa52,_0x1c2bc1={};_0x1c2bc1['WNqLZ']=function(_0x1d883c,_0x20da70){return _0x1d883c===_0x20da70;},_0x1c2bc1[_0x17bb7c(0x241)]=_0x17bb7c(0x1af),_0x1c2bc1['iEcaB']=function(_0x3ab722,_0x554513){return _0x3ab722!==_0x554513;},_0x1c2bc1['GIpXe']=function(_0x1680e0,_0x3526e1){return _0x1680e0+_0x3526e1;};const _0x148ad2=_0x1c2bc1;var _0x2e39e9=[];return JSON['parse'](JSON[_0x17bb7c(0x18b)](_0xb8e10d,function(_0x4dd8d7,_0x3d9e10){const _0x588c80=_0x17bb7c;if(_0x148ad2[_0x588c80(0x1b3)](typeof _0x3d9e10,_0x148ad2[_0x588c80(0x241)])&&_0x148ad2[_0x588c80(0x21a)](_0x3d9e10,null)){if(_0x148ad2[_0x588c80(0x21a)](_0x2e39e9['indexOf'](_0x3d9e10),-0x1))return _0x148ad2[_0x588c80(0x20c)]('',_0x3d9e10);_0x2e39e9['push'](_0x3d9e10);}return _0x3d9e10;}));}function clean(_0x5610d3){const _0x1c7944=a26_0x28aa52,_0xdd0f9a={'HoiBd':function(_0x43534f,_0x37a0e1){return _0x43534f instanceof _0x37a0e1;},'pqUnd':function(_0x5822a2,_0xa49213){return _0x5822a2(_0xa49213);},'JrPnc':function(_0x11f00e,_0xdef04c){return _0x11f00e(_0xdef04c);}};var _0x38fba5=_0x5610d3[_0x1c7944(0x17e)]||{};return _0xdd0f9a[_0x1c7944(0x192)](_0x38fba5,Error)&&(_0x38fba5=_0xdd0f9a[_0x1c7944(0x1c1)](errorJSON,_0x38fba5)),{'title':_0x5610d3[_0x1c7944(0x205)],'fullTitle':_0x5610d3['fullTitle'],'file':_0x5610d3['file'],'duration':_0x5610d3[_0x1c7944(0x16c)],'currentRetry':_0x5610d3[_0x1c7944(0x1ac)],'speed':_0x5610d3['speed'],'err':_0xdd0f9a['JrPnc'](cleanCycles,_0x38fba5)};}function printStats(_0x53162f,_0x2497db=a26_0x28aa52(0x246),_0x199341={}){const _0x453653=a26_0x28aa52,_0x39b511={'MdVTo':function(_0x1d480b,_0x44e060){return _0x1d480b(_0x44e060);},'dwTtV':function(_0x13053f,_0x22ad18){return _0x13053f===_0x22ad18;},'aclkO':_0x453653(0x1c8),'Inwqg':_0x453653(0x20b),'iZxMD':function(_0x21c429,_0x550959){return _0x21c429===_0x550959;},'BvDUF':_0x453653(0x199),'xKkfO':'failures','BWVwE':_0x453653(0x213),'bKwfV':'results','wOmAb':function(_0xdd1285,_0x50054a){return _0xdd1285===_0x50054a;},'DjRTI':function(_0x1c6d88,_0x4ad431){return _0x1c6d88*_0x4ad431;},'xZREF':function(_0x171835,_0xc58f48,_0x4721cd){return _0x171835(_0xc58f48,_0x4721cd);},'HECkM':function(_0x3c4cf7,_0x68fc0d){return _0x3c4cf7===_0x68fc0d;},'FcqFD':function(_0x31b618,_0x24fea5){return _0x31b618>_0x24fea5;},'gqvQr':function(_0x543830){return _0x543830();},'FGAYm':function(_0x113622,_0x2f66c5){return _0x113622===_0x2f66c5;},'qvtZX':'doc','xgVkd':function(_0x582b4b,_0x41d80f){return _0x582b4b>_0x41d80f;},'WkgXi':_0x453653(0x207),'EfQUs':'Printing\x20stats\x20of\x20tests','fgKwq':function(_0x3db47d,_0xcd76fc){return _0x3db47d+_0xcd76fc;},'ecrlk':'Total\x20Platforms:\x20','TakVU':function(_0x1ca02d,_0x57d29a){return _0x1ca02d+_0x57d29a;},'weuSI':'Total\x20Suites:\x20','eOHeZ':function(_0x24c630,_0x5dca15){return _0x24c630+_0x5dca15;},'LhSVj':function(_0x8a31b9,_0x5bc8a4){return _0x8a31b9+_0x5bc8a4;},'IGvkC':_0x453653(0x251),'NovEB':function(_0x444799,_0x692f46){return _0x444799>_0x692f46;},'puIez':function(_0x4d6ffa,_0x403c65){return _0x4d6ffa>_0x403c65;},'LdZSc':function(_0x56b774,_0x5b7dba){return _0x56b774+_0x5b7dba;},'syAPu':function(_0x17c2b3,_0x33df5e){return _0x17c2b3+_0x33df5e;},'tMpBJ':function(_0x4bd78a,_0x37ba49){return _0x4bd78a+_0x37ba49;},'ixMSt':_0x453653(0x171),'yfmuT':'json','PtvdS':_0x453653(0x16d),'yjlBS':_0x453653(0x1fe),'xaoQh':_0x453653(0x1a9),'PdRDS':function(_0x45a094,_0x3bcb38){return _0x45a094===_0x3bcb38;},'hlJdM':_0x453653(0x170),'Foyrj':_0x453653(0x1e3),'iBGhP':function(_0xbe80da,_0x336464){return _0xbe80da||_0x336464;},'FNvcn':function(_0x56570c,_0x2202b9,_0x397927,_0x231739){return _0x56570c(_0x2202b9,_0x397927,_0x231739);},'oxQEl':_0x453653(0x1cf),'bEUHo':function(_0x177606,_0x19986b){return _0x177606-_0x19986b;},'xdUKj':function(_0x31848c,_0x484e6d){return _0x31848c-_0x484e6d;},'jabCn':function(_0x591cfd,_0xb486ae){return _0x591cfd/_0xb486ae;},'xYlNN':function(_0x4cec34,_0x210acf){return _0x4cec34(_0x210acf);},'jdqxj':_0x453653(0x1d8),'noHqX':_0x453653(0x23f),'Taocq':'Couldn\x27t\x20write\x20xunit\x20result\x20to','gviyv':_0x453653(0x21c),'BvqNP':function(_0x36cd4c,_0x3a3d2a){return _0x36cd4c===_0x3a3d2a;},'pJzXb':_0x453653(0x17a),'ZkpOL':_0x453653(0x237)};if(_0x39b511[_0x453653(0x1ed)](_0x2497db,_0x39b511[_0x453653(0x1f9)]))return;const _0x256896=0x0,_0x41b350=()=>{const _0x5b5b0b=_0x453653;return _0x39b511['MdVTo'](Array,_0x256896)[_0x5b5b0b(0x17b)]('\x20\x20');},{testSuites:_0x5a2054,platforms:_0x28d074,totalTests:_0x13bbc6,testsFailed:_0x565138,testsPassed:_0x2b891f,testsPending:_0x3a1843}=_0x39b511[_0x453653(0x1e0)](getStats,_0x53162f);_0x39b511[_0x453653(0x1e1)](_0x565138,0x0)&&(logger[_0x453653(0x248)](_0x39b511[_0x453653(0x18f)]),process[_0x453653(0x181)]=Math[_0x453653(0x1b8)](_0x565138,0xff));logger[_0x453653(0x248)](_0x39b511[_0x453653(0x1f1)]);const _0x2849f5=''+_0x39b511['fgKwq'](chalk['bold'](_0x39b511[_0x453653(0x1f6)]),_0x28d074[_0x453653(0x1d7)]),_0x54725d=''+_0x39b511['TakVU'](chalk['bold'](_0x39b511['weuSI']),_0x5a2054),_0x11b953=''+_0x39b511[_0x453653(0x235)](_0x39b511[_0x453653(0x1c7)](_0x39b511[_0x453653(0x212)](chalk['bold'](_0x39b511[_0x453653(0x232)]),_0x39b511[_0x453653(0x17d)](_0x565138,0x0)?chalk[_0x453653(0x1c4)][_0x453653(0x19d)](_0x565138+_0x453653(0x219))+',\x20':''),_0x39b511[_0x453653(0x1f2)](_0x3a1843,0x0)?chalk[_0x453653(0x1c4)]['yellow'](_0x3a1843+_0x453653(0x21b))+',\x20':''),_0x39b511[_0x453653(0x17d)](_0x2b891f,0x0)?chalk['bold'][_0x453653(0x1ae)](_0x2b891f+_0x453653(0x1a1))+',\x20':'')+_0x13bbc6+_0x453653(0x188);console[_0x453653(0x178)](_0x39b511['LdZSc'](_0x39b511['syAPu'](_0x39b511[_0x453653(0x173)](_0x39b511[_0x453653(0x212)](_0x39b511[_0x453653(0x1cb)](_0x39b511[_0x453653(0x1ce)],_0x2849f5),'\x0a'),_0x54725d),'\x0a'),_0x11b953));if(_0x39b511[_0x453653(0x1ed)](_0x2497db,_0x39b511[_0x453653(0x249)])){const _0x20ee09={},_0x2ee2eb={};_0x2ee2eb[_0x453653(0x198)]=_0x5a2054,_0x2ee2eb[_0x453653(0x233)]=_0x28d074,_0x2ee2eb[_0x453653(0x18c)]=_0x565138,_0x2ee2eb['testsPassed']=_0x2b891f,_0x2ee2eb[_0x453653(0x1ea)]=_0x3a1843,_0x20ee09[_0x453653(0x195)]=_0x2ee2eb,_0x28d074['forEach'](_0x240e19=>{const _0xd7a864=_0x453653;_0x20ee09[_0x240e19]={'pending':[],'failures':[],'passes':[],'tests':_0x53162f[_0x240e19][_0x39b511[_0xd7a864(0x1c3)]]['map'](clean)},_0x53162f[_0x240e19][_0x39b511[_0xd7a864(0x1c3)]][_0xd7a864(0x1ee)](_0x1325e6=>{const _0x1b345b=_0xd7a864;if(_0x39b511[_0x1b345b(0x20a)](_0x1325e6[_0x1b345b(0x24a)],_0x39b511['aclkO']))_0x20ee09[_0x240e19][_0x39b511[_0x1b345b(0x1f7)]]['push'](_0x39b511[_0x1b345b(0x1e0)](clean,_0x1325e6));else _0x39b511[_0x1b345b(0x23b)](_0x1325e6[_0x1b345b(0x24a)],_0x39b511[_0x1b345b(0x18e)])?_0x20ee09[_0x240e19][_0x39b511[_0x1b345b(0x217)]][_0x1b345b(0x191)](_0x39b511['MdVTo'](clean,_0x1325e6)):_0x20ee09[_0x240e19][_0x39b511[_0x1b345b(0x187)]][_0x1b345b(0x191)](_0x39b511[_0x1b345b(0x1e0)](clean,_0x1325e6));});});if(_0x199341['output'])try{logger[_0x453653(0x248)](_0x39b511[_0x453653(0x184)],_0x199341[_0x453653(0x1b6)]),fs[_0x453653(0x20d)](_0x199341[_0x453653(0x1b6)],JSON[_0x453653(0x18b)](_0x20ee09,null,0x3));}catch(_0x2081c3){logger['error'](_0x39b511['yjlBS'],_0x199341[_0x453653(0x1b6)]),logger[_0x453653(0x248)](_0x2081c3);}else logger[_0x453653(0x248)](_0x39b511[_0x453653(0x196)]),console[_0x453653(0x178)](JSON['stringify'](_0x20ee09,null,0x3));}else{if(_0x39b511['PdRDS'](_0x2497db,_0x39b511[_0x453653(0x1a0)])){let _0x2b3d0c;const _0x5ec17d=_0x39b511['Foyrj'];_0x199341&&(_0x2b3d0c=_0x199341['suiteName']);_0x2b3d0c=_0x39b511['iBGhP'](_0x2b3d0c,_0x5ec17d);let _0xae7500=0x0,_0x7503bf=0x0,_0x4da583=0x0,_0x3f4bdd=0x0;_0x28d074[_0x453653(0x1ee)](_0x242a10=>{const _0x4185cf=_0x453653;_0x53162f[_0x242a10][_0x39b511[_0x4185cf(0x1c3)]]['forEach'](_0x31e744=>{const _0x4f70f5=_0x4185cf;if(_0x39b511[_0x4f70f5(0x20a)](_0x31e744[_0x4f70f5(0x24a)],_0x39b511[_0x4f70f5(0x185)]))_0xae7500++;else _0x39b511['wOmAb'](_0x31e744[_0x4f70f5(0x24a)],_0x39b511[_0x4f70f5(0x18e)])&&_0x7503bf++;_0x4da583++,_0x3f4bdd+=_0x39b511[_0x4f70f5(0x190)](_0x31e744[_0x4f70f5(0x16c)],0x1);});}),_0x39b511[_0x453653(0x1e0)](xunitWrite,_0x39b511[_0x453653(0x1ef)](tag,_0x39b511['oxQEl'],{'name':_0x2b3d0c,'tests':_0x4da583,'failures':0x0,'errors':_0x7503bf,'skipped':_0x39b511['bEUHo'](_0x39b511[_0x453653(0x19f)](_0x4da583,_0x7503bf),_0xae7500),'timestamp':new Date()[_0x453653(0x242)](),'time':_0x39b511[_0x453653(0x24c)](_0x3f4bdd,0x3e8)||0x0},![])),_0x28d074[_0x453653(0x1ee)](_0x486e60=>{const _0x2dc734=_0x453653,_0x2f6c3b={'hIidi':function(_0x79241b,_0x39580b,_0x1c1b38){const _0x54e056=a26_0x7478;return _0x39b511[_0x54e056(0x1f4)](_0x79241b,_0x39580b,_0x1c1b38);}};_0x53162f[_0x486e60][_0x39b511[_0x2dc734(0x1c3)]]['forEach'](_0x40fc89=>{const _0x1cfac4=_0x2dc734;_0x2f6c3b[_0x1cfac4(0x203)](xunitTest,_0x40fc89,_0x486e60);});}),_0x39b511[_0x453653(0x236)](xunitWrite,_0x39b511[_0x453653(0x1bd)]);if(_0x199341[_0x453653(0x1b6)])try{logger[_0x453653(0x248)](_0x39b511[_0x453653(0x16a)],_0x199341[_0x453653(0x1b6)]),fs[_0x453653(0x20d)](_0x199341[_0x453653(0x1b6)],xunitContent);}catch(_0x2b9101){logger[_0x453653(0x19c)](_0x39b511[_0x453653(0x1fa)],_0x199341[_0x453653(0x1b6)]),logger[_0x453653(0x248)](_0x2b9101);}else logger[_0x453653(0x248)](_0x39b511['gviyv']),console[_0x453653(0x178)](xunitContent);}else{if(_0x39b511[_0x453653(0x1ba)](_0x565138,0x0))return;console['log'](),logger['debug'](_0x39b511[_0x453653(0x23e)]),console[_0x453653(0x178)](chalk[_0x453653(0x1c4)]['bgRedBright'](_0x39b511[_0x453653(0x1f0)])),_0x28d074['forEach'](_0x14ca31=>{const _0xe01beb=_0x453653,_0x342421=[];_0x53162f[_0x14ca31][_0x39b511[_0xe01beb(0x1c3)]][_0xe01beb(0x1ee)](_0x29f2ad=>{const _0x2b3c36=_0xe01beb;_0x39b511[_0x2b3c36(0x176)](_0x29f2ad[_0x2b3c36(0x24a)],_0x39b511['BvDUF'])&&(_0x29f2ad[_0x2b3c36(0x230)]=()=>_0x29f2ad[_0x2b3c36(0x16e)],_0x342421['push'](_0x29f2ad));}),_0x39b511[_0xe01beb(0x228)](_0x342421[_0xe01beb(0x1d7)],0x0)&&(Base[_0xe01beb(0x22c)](),Base[_0xe01beb(0x22c)](_0x39b511[_0xe01beb(0x1d2)](_0x41b350),chalk[_0xe01beb(0x1c4)]['bgBlueBright'](_0x14ca31)),Base['list'](_0x342421));});}}}async function run(_0x1b20ec,_0x1a842a){const _0x307ce1=a26_0x28aa52,_0x4444ac={'JyDYj':function(_0x3eed32,_0x37ffcf,_0x3d6272,_0x3e8c5a){return _0x3eed32(_0x37ffcf,_0x3d6272,_0x3e8c5a);},'ZNjoi':'reporter-option','FkITh':_0x307ce1(0x1b1),'ICVXl':_0x307ce1(0x16f),'uFxMr':_0x307ce1(0x1d3),'yuZQA':_0x307ce1(0x1ca),'YtqyF':function(_0x2d9280,_0x3e467b){return _0x2d9280!=_0x3e467b;},'deJgU':'cjs','yGwJz':_0x307ce1(0x1de),'qgnDn':_0x307ce1(0x1da),'mzCPH':_0x307ce1(0x245),'YiAEn':function(_0x20a8ce,_0x416cc8){return _0x20a8ce(_0x416cc8);},'ZOhqZ':_0x307ce1(0x177),'gGHhl':_0x307ce1(0x209),'VqoYh':function(_0x4fb437,_0x50ab0a){return _0x4fb437*_0x50ab0a;},'flBxj':function(_0x25d13a,_0x140cff){return _0x25d13a!==_0x140cff;},'LxkjF':function(_0x4a7fff,_0x466505,_0x1517fd,_0x5b48e4){return _0x4a7fff(_0x466505,_0x1517fd,_0x5b48e4);}};process[_0x307ce1(0x179)]['includes'](_0x4444ac[_0x307ce1(0x220)])&&(process[_0x307ce1(0x174)][_0x307ce1(0x1a5)]=![]);process[_0x307ce1(0x179)][_0x307ce1(0x1f5)](_0x4444ac[_0x307ce1(0x208)])&&(process[_0x307ce1(0x174)][_0x307ce1(0x1b9)]=![]);const _0x236a2a=new BrowserStackSetup(_0x1b20ec,_0x4444ac[_0x307ce1(0x1fb)]);helper[_0x307ce1(0x20f)]()&&(await _0x236a2a['initialize'](),await helper['handleApp'](_0x236a2a['config']));const _0x4a0391=[],_0x24acad=[];if(!_0x236a2a[_0x307ce1(0x239)])return;_0x4444ac[_0x307ce1(0x24e)](_0x236a2a[_0x307ce1(0x239)][_0x307ce1(0x182)],null)&&(process['env'][_0x307ce1(0x1e5)]=_0x236a2a[_0x307ce1(0x239)]['testObservability']);!helper[_0x307ce1(0x175)](_0x236a2a[_0x307ce1(0x239)][_0x307ce1(0x1cc)])&&(process[_0x307ce1(0x174)][_0x307ce1(0x1d6)]=_0x236a2a['config'][_0x307ce1(0x1cc)]);!helper[_0x307ce1(0x175)](_0x236a2a[_0x307ce1(0x239)][_0x307ce1(0x218)])&&(process['env'][_0x307ce1(0x1b7)]=JSON[_0x307ce1(0x18b)](_0x236a2a[_0x307ce1(0x239)][_0x307ce1(0x218)]));const {extension:extension=['js',_0x4444ac[_0x307ce1(0x1c2)],_0x4444ac[_0x307ce1(0x231)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4444ac[_0x307ce1(0x1d9)]]}=_0x1b20ec,_0x3e8e5a={..._0x1b20ec};_0x3e8e5a[_0x307ce1(0x1b5)]=null;const _0x5e4996=_0x3e8e5a;let _0x2ebd16;if(testOpsHelper[_0x307ce1(0x1e7)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x1600fa=process['env'][_0x307ce1(0x1e4)];!helper['isUndefined'](_0x236a2a[_0x307ce1(0x1ab)])&&_0x236a2a[_0x307ce1(0x1ab)][_0x307ce1(0x1a7)](_0x4444ac['mzCPH'])&&(_0x1600fa=_0x236a2a[_0x307ce1(0x1ab)]['get'](_0x4444ac['mzCPH'])),_0x2ebd16=testOpsHelper[_0x307ce1(0x206)](_0x1600fa);}if(helper[_0x307ce1(0x175)](_0x2ebd16)){const _0x124601={};_0x124601[_0x307ce1(0x24d)]=ignore,_0x124601['extension']=extension,_0x124601[_0x307ce1(0x1b4)]=file,_0x124601[_0x307ce1(0x23c)]=recursive,_0x124601[_0x307ce1(0x1e2)]=sort,_0x124601['spec']=spec,_0x2ebd16=_0x4444ac['YiAEn'](collectFiles,_0x124601);}helper['markSDKSetupComplete']();if(!helper[_0x307ce1(0x20f)]()){const _0x2734e4=0x1,_0x57af2c={..._0x5e4996};_0x57af2c[_0x307ce1(0x246)]=[..._0x2ebd16],_0x4a0391[_0x307ce1(0x191)]({'mochaOpts':_0x57af2c,'configuration':{'platform':os[_0x307ce1(0x229)]()}}),logger[_0x307ce1(0x1d4)](_0x4444ac[_0x307ce1(0x1c0)]),logger[_0x307ce1(0x1d4)](_0x4444ac[_0x307ce1(0x1dd)]),_0x4444ac[_0x307ce1(0x223)](parallelTestRun,_0x4a0391,_0x2734e4,_0x236a2a[_0x307ce1(0x239)])[_0x307ce1(0x1d5)](_0xfac8de=>{const _0x3eb398=_0x307ce1;_0x4444ac[_0x3eb398(0x223)](printStats,_0xfac8de,_0x1b20ec['reporter'],_0x1b20ec[_0x3eb398(0x202)]||_0x1b20ec[_0x4444ac['ZNjoi']]);})[_0x307ce1(0x240)](()=>{const _0x2e0f18=_0x307ce1;try{helper[_0x2e0f18(0x19b)](_0x4444ac[_0x2e0f18(0x1b0)],{},_0x236a2a[_0x2e0f18(0x239)],_0x236a2a[_0x2e0f18(0x200)]);}catch(_0x58e38f){logger[_0x2e0f18(0x248)](_0x2e0f18(0x22f)+_0x58e38f);}try{helper[_0x2e0f18(0x22b)]();}catch(_0x58ec80){logger[_0x2e0f18(0x248)](_0x2e0f18(0x250)+_0x58ec80);}testOpsHelper[_0x2e0f18(0x1c5)]();});}else{const _0xbc5ea6=_0x4444ac[_0x307ce1(0x1a8)](_0x236a2a[_0x307ce1(0x239)][_0x307ce1(0x233)][_0x307ce1(0x1d7)],_0x236a2a[_0x307ce1(0x239)]['parallelsPerPlatform']),_0x86fce5=helper['useW3C'](_0x236a2a[_0x307ce1(0x239)]),_0x1681d0=helper[_0x307ce1(0x216)](_0x236a2a[_0x307ce1(0x239)]);_0x236a2a[_0x307ce1(0x239)]['platforms'][_0x307ce1(0x1ee)]((_0x3dac4e,_0xa974ec)=>{const _0x4ebff9=_0x307ce1;_0x86fce5?_0x24acad[_0x4ebff9(0x191)](helper[_0x4ebff9(0x1c6)](_0x236a2a[_0x4ebff9(0x239)],_0x4444ac['ICVXl'],_0xa974ec)):_0x24acad[_0x4ebff9(0x191)](helper[_0x4ebff9(0x227)](_0x236a2a[_0x4ebff9(0x239)],_0x4444ac['ICVXl'],_0xa974ec));});const _0x41a2f1=_0x4444ac[_0x307ce1(0x19a)](getPercyOptions,_0x236a2a[_0x307ce1(0x239)]);if(_0x4444ac[_0x307ce1(0x238)](_0x236a2a[_0x307ce1(0x239)]['parallelsPerPlatform'],0x1))_0x2ebd16['forEach'](_0x5dc722=>{const _0x46a09d=_0x307ce1,_0x55397e=[];_0x24acad[_0x46a09d(0x1ee)]((_0x21f55d,_0x1b5606)=>{const _0x15c70b=_0x46a09d,_0x5179ad={};_0x5179ad[_0x15c70b(0x246)]=[_0x5dc722],_0x55397e[_0x15c70b(0x191)]({'mochaOpts':Object[_0x15c70b(0x189)]({},_0x5e4996,_0x5179ad),'configuration':{'server':_0x1681d0,'capability':_0x21f55d,'proxySettings':_0x236a2a[_0x15c70b(0x239)][_0x15c70b(0x204)],'platform':helper[_0x15c70b(0x21f)](_0x21f55d),'browserStackLogLevel':_0x236a2a[_0x15c70b(0x239)][_0x15c70b(0x1a4)],'platformIndex':_0x1b5606,'browserStackPercyOptions':_0x41a2f1,'platformCaps':_0x236a2a['config'][_0x15c70b(0x233)][_0x1b5606]}});}),_0x4a0391[_0x46a09d(0x191)](..._0x55397e);});else{const _0x389648=[];_0x24acad[_0x307ce1(0x1ee)]((_0x478152,_0x581721)=>{const _0x163993=_0x307ce1;let _0x1ac4d9=Object[_0x163993(0x189)]({},_0x5e4996);testOpsHelper[_0x163993(0x1e7)]()&&testOpsHelper[_0x163993(0x1a3)]()&&(_0x1ac4d9={..._0x1ac4d9,'spec':[..._0x2ebd16]}),_0x389648[_0x163993(0x191)]({'mochaOpts':_0x1ac4d9,'configuration':{'server':_0x1681d0,'capability':_0x478152,'proxySettings':_0x236a2a['config'][_0x163993(0x204)],'platform':helper[_0x163993(0x21f)](_0x478152),'browserStackLogLevel':_0x236a2a[_0x163993(0x239)]['logLevel'],'platformIndex':_0x581721,'browserStackPercyOptions':_0x41a2f1,'platformCaps':_0x236a2a['config'][_0x163993(0x233)][_0x581721]}});}),_0x4a0391[_0x307ce1(0x191)](..._0x389648);}logger[_0x307ce1(0x1d4)](_0x307ce1(0x24f)+_0x236a2a[_0x307ce1(0x239)][_0x307ce1(0x233)][_0x307ce1(0x1d7)]+_0x307ce1(0x1f8)),logger[_0x307ce1(0x1d4)](_0x4444ac[_0x307ce1(0x1dd)]);let _0xff8732;_0x4444ac[_0x307ce1(0x1fd)](parallelTestRun,_0x4a0391,_0xbc5ea6,_0x236a2a[_0x307ce1(0x239)])[_0x307ce1(0x1d5)](_0x262dc9=>{const _0x296f64=_0x307ce1;_0xff8732=_0x262dc9,_0x4444ac['JyDYj'](printStats,_0x262dc9,_0x1b20ec[_0x296f64(0x1ec)],_0x1b20ec['reporterOptions']||_0x1b20ec[_0x4444ac[_0x296f64(0x1e6)]]);})[_0x307ce1(0x240)](async()=>{const _0xd533d6=_0x307ce1;_0x236a2a[_0xd533d6(0x1db)]=helper[_0xd533d6(0x1e8)](_0xff8732,_0x4444ac[_0xd533d6(0x1fb)]),await helper[_0xd533d6(0x214)](_0x236a2a),testOpsHelper[_0xd533d6(0x1c5)]();});}}module[a26_0x28aa52(0x1ad)]=run;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a27_0x33e4ea=a27_0x50b3;function a27_0x50b3(_0x40ecf6,_0x411f7e){const _0x19cbb5=a27_0x19cb();return a27_0x50b3=function(_0x50b3b7,_0x4f67f2){_0x50b3b7=_0x50b3b7-0x11d;let _0x567a7c=_0x19cbb5[_0x50b3b7];return _0x567a7c;},a27_0x50b3(_0x40ecf6,_0x411f7e);}(function(_0x3a6f3d,_0x10e0c8){const _0x3d3f28=a27_0x50b3,_0x1d19eb=_0x3a6f3d();while(!![]){try{const _0x213eda=parseInt(_0x3d3f28(0x129))/0x1+-parseInt(_0x3d3f28(0x177))/0x2*(parseInt(_0x3d3f28(0x15c))/0x3)+-parseInt(_0x3d3f28(0x11e))/0x4+-parseInt(_0x3d3f28(0x155))/0x5+parseInt(_0x3d3f28(0x16a))/0x6*(-parseInt(_0x3d3f28(0x164))/0x7)+parseInt(_0x3d3f28(0x153))/0x8*(-parseInt(_0x3d3f28(0x17f))/0x9)+parseInt(_0x3d3f28(0x154))/0xa*(parseInt(_0x3d3f28(0x11d))/0xb);if(_0x213eda===_0x10e0c8)break;else _0x1d19eb['push'](_0x1d19eb['shift']());}catch(_0x44950e){_0x1d19eb['push'](_0x1d19eb['shift']());}}}(a27_0x19cb,0xdf651));const logger=require(a27_0x33e4ea(0x148))[a27_0x33e4ea(0x156)],helper=require(a27_0x33e4ea(0x18a)),constants=require(a27_0x33e4ea(0x12f)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x33e4ea(0x176)),{setAccessibilityCapabilities,setExtension}=require(a27_0x33e4ea(0x17d)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x33e4ea(0x188)),globals=require('../../../helpers/globals'),modify=(_0x3778ab,_0x181818=null,_0x4de093=![])=>{const _0x3d4062=a27_0x33e4ea,_0x40ebce={'qYumw':function(_0x5bb4a7,_0x1dee0a){return _0x5bb4a7!==_0x1dee0a;},'eBoBF':_0x3d4062(0x15b),'JOnWe':function(_0x281894,_0x2c3e3c){return _0x281894!==_0x2c3e3c;},'QJlxY':function(_0x27ae27,_0x29b3fb){return _0x27ae27+_0x29b3fb;},'BHJDp':_0x3d4062(0x152),'JzpWo':'/wd/hub','FocVh':_0x3d4062(0x141),'XKTpk':_0x3d4062(0x132),'ijfgA':_0x3d4062(0x17a),'GwZOB':_0x3d4062(0x187),'vmbsJ':_0x3d4062(0x150),'pbNTz':'firefoxOptions','LEkDU':_0x3d4062(0x158),'PXQeF':_0x3d4062(0x151),'XHFPx':_0x3d4062(0x169),'vLyEF':function(_0x4dadc1,_0x500e35){return _0x4dadc1===_0x500e35;},'dgkhu':_0x3d4062(0x181),'ggADD':'Setting\x20Browserstack\x20capabilities','CcIGE':function(_0x53d3fd,_0x2f0289,_0x5b5078){return _0x53d3fd(_0x2f0289,_0x5b5078);},'Oqbkd':function(_0x579aa5,_0x3bf2f1){return _0x579aa5(_0x3bf2f1);},'VLoPn':_0x3d4062(0x16d),'qboHi':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','KUbwH':function(_0x2ebad5,_0x28a6fa,_0x17edd4){return _0x2ebad5(_0x28a6fa,_0x17edd4);},'FozlF':function(_0x15258a,_0x482383,_0x55f0ec){return _0x15258a(_0x482383,_0x55f0ec);},'rdOqX':_0x3d4062(0x13c),'CzkHP':function(_0x3abe07){return _0x3abe07();},'JWIMh':_0x3d4062(0x13a),'Ccolo':_0x3d4062(0x14f),'lBhPf':function(_0x10a349,_0x38739e){return _0x10a349(_0x38739e);},'GuYmg':function(_0x3277f0,_0x474704){return _0x3277f0(_0x474704);},'pypoE':function(_0x4105db,_0x141317){return _0x4105db!==_0x141317;},'JgHcq':function(_0x41a673,_0x3832ac){return _0x41a673!==_0x3832ac;},'oSWfJ':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','EQOsu':_0x3d4062(0x18c)},_0x20e6d1=helper[_0x3d4062(0x14b)]();let _0x46c8cc;try{_0x46c8cc=helper[_0x3d4062(0x121)](),_0x46c8cc['originalBuilder']&&(_0x46c8cc[_0x3d4062(0x128)]=_0x46c8cc[_0x3d4062(0x168)]);}catch(_0x53da6d){return;}if(helper[_0x3d4062(0x186)]()){const _0x3aabed={};_0x3aabed[_0x3d4062(0x175)]=_0x3778ab[_0x3d4062(0x127)],helper[_0x3d4062(0x163)](_0x3aabed,new Map(),new Map()),logger[_0x3d4062(0x144)](_0x40ebce[_0x3d4062(0x174)]),logger[_0x3d4062(0x136)](_0x40ebce['EQOsu']);}class _0x4ebbc0 extends _0x20e6d1[_0x3d4062(0x12a)]{['send'](_0x7e66a2){const _0x1aa317=_0x3d4062;if(_0x40ebce['qYumw'](_0x7e66a2[_0x1aa317(0x135)],_0x40ebce[_0x1aa317(0x14c)])&&_0x40ebce[_0x1aa317(0x120)](global['newHubUrl'],''))try{global['newHubUrl']=_0x40ebce[_0x1aa317(0x126)](_0x40ebce[_0x1aa317(0x126)](_0x40ebce['BHJDp'],global[_0x1aa317(0x137)]),_0x40ebce[_0x1aa317(0x173)]),this['options_']=hubAllocator[_0x1aa317(0x138)](global[_0x1aa317(0x137)]),logger[_0x1aa317(0x136)](_0x1aa317(0x16b)+global[_0x1aa317(0x137)]),global[_0x1aa317(0x137)]='';}catch(_0x249b89){logger['error'](_0x249b89);}return super['send'](_0x7e66a2);}}class _0x34e529 extends _0x46c8cc[_0x3d4062(0x128)]{[_0x3d4062(0x125)](){const _0x429825=_0x3d4062;return this[_0x429825(0x17b)]=helper[_0x429825(0x18d)](_0x3778ab),logger[_0x429825(0x136)]('Hub\x20url\x20set\x20to\x20'+this[_0x429825(0x17b)]),this;}[_0x3d4062(0x143)](_0xcf18ec){const _0x385f8d=_0x3d4062;let _0x571738={};for(const _0x3952bc in _0xcf18ec){switch(_0x3952bc){case _0x40ebce['FocVh']:case _0x40ebce['XKTpk']:this[_0x385f8d(0x16c)]&&(_0x571738=this['chromeOptions_'][_0x385f8d(0x12b)](this[_0x385f8d(0x16c)][_0x385f8d(0x183)])||{},this[_0x385f8d(0x16c)][_0x385f8d(0x149)](this[_0x385f8d(0x16c)]['CAPABILITY_KEY'],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;case _0x40ebce[_0x385f8d(0x14e)]:case _0x40ebce[_0x385f8d(0x184)]:this[_0x385f8d(0x14a)]&&(_0x571738=this['edgeOptions_'][_0x385f8d(0x12b)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x385f8d(0x14a)][_0x385f8d(0x149)](this['edgeOptions_'][_0x385f8d(0x183)],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;case _0x40ebce[_0x385f8d(0x182)]:case _0x40ebce[_0x385f8d(0x159)]:this[_0x385f8d(0x14d)]&&(_0x571738=this[_0x385f8d(0x14d)][_0x385f8d(0x12b)](this[_0x385f8d(0x14d)][_0x385f8d(0x183)])||{},this[_0x385f8d(0x14d)][_0x385f8d(0x149)](this[_0x385f8d(0x14d)][_0x385f8d(0x183)],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;case _0x40ebce['LEkDU']:this[_0x385f8d(0x161)]&&(_0x571738=this[_0x385f8d(0x161)][_0x385f8d(0x12b)](this[_0x385f8d(0x161)][_0x385f8d(0x183)])||{},this[_0x385f8d(0x161)]['set'](this[_0x385f8d(0x161)][_0x385f8d(0x183)],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;case _0x40ebce['PXQeF']:case _0x40ebce[_0x385f8d(0x147)]:this[_0x385f8d(0x122)]&&(_0x571738=this['ieOptions_'][_0x385f8d(0x12b)](this['ieOptions_'][_0x385f8d(0x183)])||{},this[_0x385f8d(0x122)][_0x385f8d(0x149)](this[_0x385f8d(0x122)][_0x385f8d(0x183)],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;}}}[_0x3d4062(0x145)](){const _0x343984=_0x3d4062;return logger[_0x343984(0x136)](_0x40ebce['ggADD']),this[_0x343984(0x143)](_0x3778ab[_0x343984(0x179)]),Object[_0x343984(0x124)](_0x3778ab[_0x343984(0x179)])[_0x343984(0x15f)](_0x28b4fe=>{const _0x418bf8=_0x343984,_0x1818fd=this[_0x418bf8(0x142)][_0x418bf8(0x12b)](_0x28b4fe);_0x40ebce[_0x418bf8(0x185)](typeof _0x1818fd,_0x40ebce[_0x418bf8(0x12d)])?this['capabilities_'][_0x418bf8(0x149)](_0x28b4fe,helper['mergeDeep'](_0x1818fd,_0x3778ab['capability'][_0x28b4fe])):this['capabilities_'][_0x418bf8(0x149)](_0x28b4fe,_0x3778ab[_0x418bf8(0x179)][_0x28b4fe]);}),this;}[_0x3d4062(0x139)](){const _0x2e0d3f=_0x3d4062,_0x49fcf0={'ocKqa':_0x40ebce[_0x2e0d3f(0x15d)],'ljTSu':_0x40ebce['qboHi'],'dslOL':function(_0x678452,_0x1d0e53,_0x3e243a){return _0x40ebce['KUbwH'](_0x678452,_0x1d0e53,_0x3e243a);},'IEbkp':function(_0x5e112d,_0x33b574,_0x3e62f5){const _0x2d3442=_0x2e0d3f;return _0x40ebce[_0x2d3442(0x12e)](_0x5e112d,_0x33b574,_0x3e62f5);}};if(helper['isBrowserstackInfra']()){const _0x4c5b3f=_0x40ebce['rdOqX'][_0x2e0d3f(0x140)]('|');let _0x43c27d=0x0;while(!![]){switch(_0x4c5b3f[_0x43c27d++]){case'0':_0x40ebce[_0x2e0d3f(0x18e)](isAccessibilityAutomationSession)&&_0x40ebce[_0x2e0d3f(0x157)](setAccessibilityCapabilities,_0x3778ab);continue;case'1':this[_0x2e0d3f(0x145)]();continue;case'2':this[_0x2e0d3f(0x125)]();continue;case'3':if(helper['isPacProxy'](_0x3778ab['proxySettings'][_0x2e0d3f(0x189)]))this[_0x2e0d3f(0x12c)]=helper['getHttpAgent'](_0x3778ab[_0x2e0d3f(0x134)][_0x2e0d3f(0x189)]);else _0x3778ab[_0x2e0d3f(0x134)][_0x2e0d3f(0x189)]&&(this['proxy_']=_0x3778ab[_0x2e0d3f(0x134)]['proxyUrl'],logger[_0x2e0d3f(0x136)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'4':globals[_0x2e0d3f(0x18f)](_0x40ebce[_0x2e0d3f(0x11f)])&&(!_0x40ebce['FozlF'](setExtension,this,_0x3778ab)&&globals[_0x2e0d3f(0x18b)](_0x40ebce[_0x2e0d3f(0x11f)],![]));continue;case'5':logger[_0x2e0d3f(0x136)](_0x40ebce['Ccolo']);continue;}break;}}const _0x3af62b=super[_0x2e0d3f(0x139)]();return _0x3af62b[_0x2e0d3f(0x17c)][_0x2e0d3f(0x15e)](_0x253dff=>{const _0x19c6b7=_0x2e0d3f;try{const _0x240729=_0x253dff[_0x19c6b7(0x146)]['get'](_0x49fcf0[_0x19c6b7(0x171)]);_0x240729?(logger[_0x19c6b7(0x136)](_0x19c6b7(0x131)+_0x240729),hubAllocator[_0x19c6b7(0x16f)](_0x240729),helper[_0x19c6b7(0x15a)](_0x240729)):logger[_0x19c6b7(0x136)](_0x49fcf0['ljTSu']);}catch(_0x4fec2e){logger[_0x19c6b7(0x136)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x4fec2e);}}),_0x3af62b['quitCount_']=0x0,_0x3af62b[_0x2e0d3f(0x15e)]&&_0x3af62b[_0x2e0d3f(0x15e)](_0x4e5b5b=>{const _0x1e9455=_0x2e0d3f,_0x3b9c18={'HNYjm':function(_0x1b2adc,_0x4d63bd,_0xc25fa){const _0x3dcc0b=a27_0x50b3;return _0x40ebce[_0x3dcc0b(0x13b)](_0x1b2adc,_0x4d63bd,_0xc25fa);}};_0x40ebce[_0x1e9455(0x13b)](overrideQuit,_0x4e5b5b,_0x3af62b),_0x40ebce[_0x1e9455(0x157)](overrideTakeScreenshot,_0x4e5b5b),helper[_0x1e9455(0x13d)](_0x4e5b5b,_0x3778ab),helper['overrideExecute'](_0x4e5b5b,_0x3778ab),_0x4e5b5b['getAccessibilityResultsSummary']=async()=>{const _0x1898e7=_0x1e9455;return await _0x3b9c18[_0x1898e7(0x160)](getAccessibilityResultsSummary,_0x4e5b5b,global);},_0x4e5b5b[_0x1e9455(0x16e)]=async()=>{const _0x4f0870=_0x1e9455;return await _0x49fcf0[_0x4f0870(0x162)](getAccessibilityResults,_0x4e5b5b,global);};}),_0x3af62b['getAccessibilityResultsSummary']=async()=>{const _0x4b2a45=_0x2e0d3f;return await _0x40ebce[_0x4b2a45(0x13b)](getAccessibilityResultsSummary,_0x3af62b,global);},_0x3af62b['getAccessibilityResults']=async()=>{const _0x1c1f37=_0x2e0d3f;return await _0x49fcf0[_0x1c1f37(0x166)](getAccessibilityResults,_0x3af62b,global);},_0x40ebce['lBhPf'](overrideTakeScreenshot,_0x3af62b),_0x40ebce[_0x2e0d3f(0x170)](overrideQuit,_0x3af62b),helper[_0x2e0d3f(0x13d)](_0x3af62b,_0x3778ab),helper['overrideExecute'](_0x3af62b,_0x3778ab),helper[_0x2e0d3f(0x13f)](global['__driversArray'])&&(global[_0x2e0d3f(0x167)]=[]),helper[_0x2e0d3f(0x13f)](global['__drivers'])&&(global[_0x2e0d3f(0x17e)]=[]),global[_0x2e0d3f(0x167)][_0x2e0d3f(0x178)](_0x3af62b),global[_0x2e0d3f(0x180)]=_0x3af62b,_0x40ebce[_0x2e0d3f(0x133)](global['__drivers'],undefined)&&global[_0x2e0d3f(0x17e)][_0x2e0d3f(0x178)](_0x3af62b),_0x181818&&helper[_0x2e0d3f(0x13f)](_0x181818[_0x2e0d3f(0x13e)][_0x2e0d3f(0x167)])&&(_0x181818['global'][_0x2e0d3f(0x167)]=[]),_0x181818&&_0x40ebce[_0x2e0d3f(0x172)](_0x181818[_0x2e0d3f(0x13e)][_0x2e0d3f(0x17e)],undefined)&&(_0x181818[_0x2e0d3f(0x13e)][_0x2e0d3f(0x17e)][_0x2e0d3f(0x178)](_0x3af62b),_0x181818[_0x2e0d3f(0x13e)][_0x2e0d3f(0x167)][_0x2e0d3f(0x178)](_0x3af62b)),_0x3af62b;}}return _0x46c8cc[_0x3d4062(0x168)]=_0x46c8cc[_0x3d4062(0x128)],_0x46c8cc[_0x3d4062(0x128)]=_0x34e529,_0x20e6d1['HttpClient']=_0x4ebbc0,_0x46c8cc;};module[a27_0x33e4ea(0x130)][a27_0x33e4ea(0x123)]=modify;function a27_0x19cb(){const _0x4bd2f9=['edgeOptions','../../../helpers/accessibility-automation/helper','proxyUrl','../../../helpers/helper','setGlobal','Modifying\x20webdriver\x20builder','getHubUrl','CzkHP','getGlobal','37666717GDEhjU','6479812JOLxDq','JWIMh','JOnWe','requireSeleniumWebdriver','ieOptions_','browserstackAgentObservability','keys','setServer','QJlxY','browserStackLogLevel','Builder','200606LNGocl','HttpClient','get','agent_','dgkhu','FozlF','../../../bin/utils/constants','exports','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','chromeOptions','pypoE','proxySettings','path','debug','newHubUrl','getRequestOptions','build','isAccessibilityPlatform','CcIGE','0|2|1|3|4|5','overrideGet','global','isUndefined','split','goog:chromeOptions','capabilities_','__setBrowserOptions','info','setCapabilities','caps_','XHFPx','../../../helpers/logger','set','edgeOptions_','requireHttpClient','eBoBF','firefoxOptions_','ijfgA','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','moz:firefoxOptions','se:ieOptions','https://','11781920CLMKwK','20XttxEi','3176490HdurQO','winstonLogger','Oqbkd','safari.options','pbNTz','storeOptimalHubUrl','/session','4744662TphyKb','VLoPn','then','forEach','HNYjm','safariOptions_','dslOL','setLogLevel','98asTJle','mergeDeep','IEbkp','__driversArray','originalBuilder','ieOptions','353370NbFOYR','New\x20hub\x20url\x20set\x20to\x20','chromeOptions_','optimalHubUrl','getAccessibilityResults','updateHubUrl','GuYmg','ocKqa','JgHcq','JzpWo','oSWfJ','logLevel','../../../helpers/patchHelpers','2yihuZB','push','capability','ms:edgeOptions','url_','session_','../accessibility-automation/helper','__drivers','9MLEdyG','__driver','object','vmbsJ','CAPABILITY_KEY','GwZOB','vLyEF','isBrowserstackInfra'];a27_0x19cb=function(){return _0x4bd2f9;};return a27_0x19cb();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a28_0xeddf(){const _0x5f1b0f=['../../../helpers/test-observability/utils','5cdsyuo','25403oNaxBK','789104TGKsbK','954066eyxyUv','../../../helpers/request-spy','4zXlwtK','timeout','7dEljun','6688989VnWfbx','2554386qFOVCU','restore','10378220TmplVI','mochaHooks','11MnoTCd','5155352UrUObs','../../../bin/utils/constants'];a28_0xeddf=function(){return _0x5f1b0f;};return a28_0xeddf();}const a28_0x11983f=a28_0x196c;function a28_0x196c(_0x2f4a1b,_0x5ea987){const _0xeddf22=a28_0xeddf();return a28_0x196c=function(_0x196c1a,_0x22c178){_0x196c1a=_0x196c1a-0xb1;let _0xdd2e5=_0xeddf22[_0x196c1a];return _0xdd2e5;},a28_0x196c(_0x2f4a1b,_0x5ea987);}(function(_0x2e2b09,_0x137524){const _0x49527a=a28_0x196c,_0x4fb7e6=_0x2e2b09();while(!![]){try{const _0x2d4a59=parseInt(_0x49527a(0xb2))/0x1*(parseInt(_0x49527a(0xb6))/0x2)+parseInt(_0x49527a(0xb4))/0x3+parseInt(_0x49527a(0xb3))/0x4+parseInt(_0x49527a(0xb1))/0x5*(-parseInt(_0x49527a(0xba))/0x6)+parseInt(_0x49527a(0xb8))/0x7*(parseInt(_0x49527a(0xbf))/0x8)+parseInt(_0x49527a(0xb9))/0x9+-parseInt(_0x49527a(0xbc))/0xa*(parseInt(_0x49527a(0xbe))/0xb);if(_0x2d4a59===_0x137524)break;else _0x4fb7e6['push'](_0x4fb7e6['shift']());}catch(_0xeef62f){_0x4fb7e6['push'](_0x4fb7e6['shift']());}}}(a28_0xeddf,0x77acf));const requestSpy=require(a28_0x11983f(0xb5)),constants=require(a28_0x11983f(0xc0)),{addRequestSpy}=require(a28_0x11983f(0xc1));exports[a28_0x11983f(0xbd)]={'beforeAll'(){const _0x4487a7={'LAcmK':function(_0x8cf1){return _0x8cf1();}},_0x42d781='browserstack internal helper hook';_0x4487a7['LAcmK'](addRequestSpy);},'afterAll'(){const _0x17f248=a28_0x11983f,_0x603c68='browserstack internal helper hook';this[_0x17f248(0xb7)](0xea60),requestSpy[_0x17f248(0xbb)]();}};
|