browserstack-node-sdk 1.33.2 → 1.33.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -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/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/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
|
+
function a21_0x1ef6(){const _0x10e761=['testData.json','exports','getFilePath','setup','readFileSync','writeFileSync','128079bukFpS','../../../helpers/testhub/constants','700suZstt','.browserstack','unlinkSync','shutdown','5081zQlHgv','46EvwRtM','11015NwFnFA','jest-o11y-','PRUou','HxeNR','EVrtL','stringify','parse','2428848etZeUa','toString','RqZVy','mkdirSync','kTCOL','695387cTDQHX','removeTestUUID','env','dirPath','GlQMk','recursive','tests','BROWSERSTACK_TESTHUB_UUID','join','uuid','_test','getTestUUID','retry','path','force','existsSync','../../../helpers/helper','ENV_VAR','YySMu','495414IIFQon','zjMGi','homedir','2361856LttdVn'];a21_0x1ef6=function(){return _0x10e761;};return a21_0x1ef6();}const a21_0x23661b=a21_0x3455;function a21_0x3455(_0xbec532,_0x1f1789){const _0x1ef6cd=a21_0x1ef6();return a21_0x3455=function(_0x3455f2,_0x4640cb){_0x3455f2=_0x3455f2-0x14f;let _0x18cf66=_0x1ef6cd[_0x3455f2];return _0x18cf66;},a21_0x3455(_0xbec532,_0x1f1789);}(function(_0x1180a3,_0x3f7d66){const _0x350bc0=a21_0x3455,_0x17dfca=_0x1180a3();while(!![]){try{const _0x34e472=-parseInt(_0x350bc0(0x16d))/0x1*(parseInt(_0x350bc0(0x16e))/0x2)+parseInt(_0x350bc0(0x167))/0x3+parseInt(_0x350bc0(0x169))/0x4*(-parseInt(_0x350bc0(0x16f))/0x5)+parseInt(_0x350bc0(0x176))/0x6+parseInt(_0x350bc0(0x17b))/0x7+parseInt(_0x350bc0(0x160))/0x8+-parseInt(_0x350bc0(0x15d))/0x9;if(_0x34e472===_0x3f7d66)break;else _0x17dfca['push'](_0x17dfca['shift']());}catch(_0xa054f1){_0x17dfca['push'](_0x17dfca['shift']());}}}(a21_0x1ef6,0x457e0));const fs=require('fs'),path=require(a21_0x23661b(0x157)),{v4:uuidv4}=require(a21_0x23661b(0x153)),helper=require(a21_0x23661b(0x15a)),testHubConstants=require(a21_0x23661b(0x168));class TestDetails{static [a21_0x23661b(0x150)]={};static [a21_0x23661b(0x17e)]=path['join'](helper[a21_0x23661b(0x15f)](),a21_0x23661b(0x16a),a21_0x23661b(0x170)+process['env'][testHubConstants[a21_0x23661b(0x15b)][a21_0x23661b(0x151)]]);static[a21_0x23661b(0x164)](){const _0x26db85=a21_0x23661b,_0x510a1c={};_0x510a1c[_0x26db85(0x172)]=_0x26db85(0x16a);const _0x867077=_0x510a1c;this[_0x26db85(0x17e)]=path[_0x26db85(0x152)](helper[_0x26db85(0x15f)](),_0x867077[_0x26db85(0x172)],_0x26db85(0x170)+process[_0x26db85(0x17d)][testHubConstants[_0x26db85(0x15b)]['BROWSERSTACK_TESTHUB_UUID']]),this[_0x26db85(0x16c)]();const _0x1c0065={};_0x1c0065['recursive']=!![],fs[_0x26db85(0x179)](this['dirPath'],_0x1c0065);}static[a21_0x23661b(0x163)](_0x5270f3){const _0x32b5eb=a21_0x23661b,_0x5522c6={};_0x5522c6[_0x32b5eb(0x17a)]=function(_0x34faca,_0x9fd569){return _0x34faca+_0x9fd569;},_0x5522c6['GlQMk']='.json';const _0x33d958=_0x5522c6;return path[_0x32b5eb(0x152)](this['dirPath'],_0x33d958['kTCOL'](_0x5270f3,_0x33d958[_0x32b5eb(0x17f)]));}static['getTestRunIdFromTestInfo'](_0x55495a){const _0x17c942=a21_0x23661b,_0x1d5809={};_0x1d5809[_0x17c942(0x173)]=function(_0x4e7a9a,_0x42d902){return _0x4e7a9a+_0x42d902;},_0x1d5809['zjMGi']=function(_0x52fd0b,_0x2042b7){return _0x52fd0b+_0x2042b7;},_0x1d5809[_0x17c942(0x178)]=function(_0x7c4d35,_0x3f0a9d){return _0x7c4d35+_0x3f0a9d;};const _0x32be66=_0x1d5809;return _0x32be66[_0x17c942(0x173)](_0x32be66['EVrtL'](_0x32be66[_0x17c942(0x15e)](_0x32be66[_0x17c942(0x178)](_0x55495a[_0x17c942(0x154)]['_projectId'],'-'),_0x55495a[_0x17c942(0x154)]['id']),'-'),_0x55495a[_0x17c942(0x156)]);}static[a21_0x23661b(0x155)](_0x4a2e13){const _0x1f49d0=a21_0x23661b,_0x35445e=this[_0x1f49d0(0x163)](_0x4a2e13);if(fs['existsSync'](_0x35445e)){const _0xdbf99b=JSON['parse'](fs[_0x1f49d0(0x165)](_0x35445e)[_0x1f49d0(0x177)]());return this[_0x1f49d0(0x150)][_0x4a2e13]=_0xdbf99b,this['tests'][_0x4a2e13][_0x1f49d0(0x153)];}}static['setTestData'](_0x5919a0){const _0x15017d=a21_0x23661b,_0x12d57a={};_0x12d57a['AwpXq']=_0x15017d(0x161);const _0x281752=_0x12d57a,_0x24f912=path[_0x15017d(0x152)](this[_0x15017d(0x17e)],_0x281752['AwpXq']);fs['writeFileSync'](_0x24f912,JSON[_0x15017d(0x174)](_0x5919a0));}static['getTestData'](){const _0x39274e=a21_0x23661b,_0x5cd25f={};_0x5cd25f[_0x39274e(0x15c)]=_0x39274e(0x161);const _0x136fe2=_0x5cd25f,_0x3dad5c=path[_0x39274e(0x152)](this[_0x39274e(0x17e)],_0x136fe2[_0x39274e(0x15c)]);let _0x1682b3={};try{return fs[_0x39274e(0x159)](_0x3dad5c)&&(_0x1682b3=JSON[_0x39274e(0x175)](fs[_0x39274e(0x165)](_0x3dad5c)[_0x39274e(0x177)]())),_0x1682b3;}catch(_0x186bc6){return _0x1682b3;}}static['setTestUUID'](_0x279fd7){const _0x4740e7=a21_0x23661b,_0xdae2a3={'PRUou':function(_0x2c3c80){return _0x2c3c80();}},_0x4d3d93=this[_0x4740e7(0x163)](_0x279fd7);return this['tests'][_0x279fd7]={'uuid':_0xdae2a3[_0x4740e7(0x171)](uuidv4)},fs[_0x4740e7(0x166)](_0x4d3d93,JSON[_0x4740e7(0x174)](this['tests'][_0x279fd7])),this[_0x4740e7(0x150)][_0x279fd7][_0x4740e7(0x153)];}static[a21_0x23661b(0x17c)](_0x3e76ad){const _0x265e5b=a21_0x23661b,_0x21de34=this[_0x265e5b(0x163)](_0x3e76ad);fs[_0x265e5b(0x159)](_0x21de34)&&fs[_0x265e5b(0x16b)](_0x21de34);}static[a21_0x23661b(0x16c)](){const _0x21bd1a=a21_0x23661b,_0x25053b={};_0x25053b[_0x21bd1a(0x14f)]=!![],_0x25053b[_0x21bd1a(0x158)]=!![],fs['rmSync'](this['dirPath'],_0x25053b);}}module[a21_0x23661b(0x162)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x58d843=a22_0x5587;(function(_0x3e96f6,_0x5cd2b9){const _0x2364ae=a22_0x5587,_0x488b5e=_0x3e96f6();while(!![]){try{const _0x2ae3ad=-parseInt(_0x2364ae(0x72))/0x1*(parseInt(_0x2364ae(0x70))/0x2)+-parseInt(_0x2364ae(0x69))/0x3+parseInt(_0x2364ae(0x6b))/0x4+parseInt(_0x2364ae(0x6a))/0x5+parseInt(_0x2364ae(0x6d))/0x6*(parseInt(_0x2364ae(0x68))/0x7)+parseInt(_0x2364ae(0x6c))/0x8*(parseInt(_0x2364ae(0x6f))/0x9)+-parseInt(_0x2364ae(0x64))/0xa;if(_0x2ae3ad===_0x5cd2b9)break;else _0x488b5e['push'](_0x488b5e['shift']());}catch(_0x2cf424){_0x488b5e['push'](_0x488b5e['shift']());}}}(a22_0x2e64,0xa52b0));const {requireModule}=require(a22_0x58d843(0x66));require(a22_0x58d843(0x65))();function a22_0x5587(_0x8202da,_0x2f441e){const _0x2e6409=a22_0x2e64();return a22_0x5587=function(_0x5587e9,_0x2d22fa){_0x5587e9=_0x5587e9-0x64;let _0x3b0dc3=_0x2e6409[_0x5587e9];return _0x3b0dc3;},a22_0x5587(_0x8202da,_0x2f441e);}const __wd__=requireModule(a22_0x58d843(0x67));for(const key of Object[a22_0x58d843(0x71)](global[a22_0x58d843(0x6e)])){__wd__[key]=global[a22_0x58d843(0x6e)][key];}function a22_0x2e64(){const _0x5eb350=['5318728NCDUUl','7536eWbPXA','1788TKkMSo','__webdriver','7821EMhosa','5682AQOxsw','keys','27Ndtqyy','30363130wGPTVd','../../helpers/setKeepAlive','../../helpers/helper','selenium-webdriver','17360TIkkiv','1230699KihtGC','6562305xFhRgU'];a22_0x2e64=function(){return _0x5eb350;};return a22_0x2e64();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a23_0x3ded4a=a23_0x229f;(function(_0x3b1344,_0x2688cf){const _0x32fda7=a23_0x229f,_0x407914=_0x3b1344();while(!![]){try{const _0x54eef5=parseInt(_0x32fda7(0x195))/0x1+parseInt(_0x32fda7(0x19c))/0x2+parseInt(_0x32fda7(0x1a6))/0x3*(parseInt(_0x32fda7(0x1ad))/0x4)+parseInt(_0x32fda7(0x1a0))/0x5+parseInt(_0x32fda7(0x1b1))/0x6*(-parseInt(_0x32fda7(0x1ba))/0x7)+-parseInt(_0x32fda7(0x1b2))/0x8*(-parseInt(_0x32fda7(0x199))/0x9)+parseInt(_0x32fda7(0x19d))/0xa*(-parseInt(_0x32fda7(0x1a9))/0xb);if(_0x54eef5===_0x2688cf)break;else _0x407914['push'](_0x407914['shift']());}catch(_0x1045ee){_0x407914['push'](_0x407914['shift']());}}}(a23_0x12b4,0xade32));const path=require(a23_0x3ded4a(0x1be)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x3ded4a(0x1a4)),constants=require(a23_0x3ded4a(0x1b7)),{isAccessibilityAutomationSession}=require(a23_0x3ded4a(0x19e)),RequestQueueHandler=require(a23_0x3ded4a(0x1a5)),{isTestObservabilitySession}=require(a23_0x3ded4a(0x1b4)),helper=require(a23_0x3ded4a(0x1a4));class Launcher{constructor(_0x261bd8,_0x9793e8,_0x2c365d,_0x122df8=[]){const _0x5e18d3=a23_0x3ded4a,_0x5af282={'DMEgY':'12|8|15|3|14|19|18|4|13|9|21|10|0|6|20|1|5|11|17|16|7|2','bgRGn':function(_0x362495){return _0x362495();},'QErGF':function(_0x545d33){return _0x545d33();}},_0x35ea97=_0x5af282[_0x5e18d3(0x198)]['split']('|');let _0x3f6208=0x0;while(!![]){switch(_0x35ea97[_0x3f6208++]){case'0':global[_0x5e18d3(0x1ab)]=0x0;continue;case'1':global[_0x5e18d3(0x1b8)]=0x0;continue;case'2':global[_0x5e18d3(0x196)]={};continue;case'3':this[_0x5e18d3(0x1b5)]=_0x9793e8[_0x5e18d3(0x1a8)];continue;case'4':this[_0x5e18d3(0x1bb)]=_0x2c365d;continue;case'5':global[_0x5e18d3(0x19b)]=0x0;continue;case'6':global[_0x5e18d3(0x1b0)]=0x0;continue;case'7':global['testsAmbiguous']=0x0;continue;case'8':this[_0x5e18d3(0x1a3)]=_0x9793e8[_0x5e18d3(0x1af)]||{};continue;case'9':this[_0x5e18d3(0x1ae)]=_0x5af282[_0x5e18d3(0x1b9)](isAccessibilityAutomationSession);continue;case'10':global[_0x5e18d3(0x1a1)]=0x0;continue;case'11':global[_0x5e18d3(0x193)]=0x0;continue;case'12':this[_0x5e18d3(0x1ac)]=_0x261bd8;continue;case'13':this[_0x5e18d3(0x197)]=_0x5af282[_0x5e18d3(0x19a)](isTestObservabilitySession);continue;case'14':this[_0x5e18d3(0x1a7)]=this[_0x5e18d3(0x1a3)][_0x5e18d3(0x1a2)];continue;case'15':this[_0x5e18d3(0x1bc)]=_0x9793e8[_0x5e18d3(0x1bf)];continue;case'16':global['testsUnknown']=0x0;continue;case'17':global[_0x5e18d3(0x1aa)]=0x0;continue;case'18':this[_0x5e18d3(0x1b3)]=_0x122df8;continue;case'19':global[_0x5e18d3(0x19f)]=this[_0x5e18d3(0x1a3)]['platform'];continue;case'20':global[_0x5e18d3(0x1bd)]=0x0;continue;case'21':global[_0x5e18d3(0x194)]=this[_0x5e18d3(0x1a3)][_0x5e18d3(0x192)]||{};continue;}break;}}[a23_0x3ded4a(0x1b6)](_0x15d9d2,_0x8183e4,_0x23f553){const _0x3e4872=_0x15d9d2['resolvePaths'];_0x15d9d2.resolvePaths=async function(){const pathResults=await _0x3e4872.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x23f553));return pathResults;},_0x8183e4.push('--format'),_0x8183e4.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;}}else{global.__skipSessionName=true;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();}});}}function a23_0x229f(_0x4585b3,_0x4e6cfc){const _0x12b401=a23_0x12b4();return a23_0x229f=function(_0x229f00,_0x33647a){_0x229f00=_0x229f00-0x192;let _0x5bddd9=_0x12b401[_0x229f00];return _0x5bddd9;},a23_0x229f(_0x4585b3,_0x4e6cfc);}module.exports=Launcher;function a23_0x12b4(){const _0x293571=['_testObservability','DMEgY','5321583acKptV','QErGF','testsSkipped','1125406NdlQgE','3042170QPbeNd','../../helpers/accessibility-automation/helper','__platform__','869855PUGueU','testSuites','capability','_configuration','../../helpers/helper','../../helpers/test-observability/requestQueueHandler','3DEaefS','_capability','formatter','66lFduZf','testsUndefined','totalTests','_framework','786252PSmeFR','_accessibilityAutomation','configuration','testsPassed','6jQgnNR','8eWuPGv','_argv','../../helpers/test-observability/utils','_formatter','setupCucumber','../utils/constants','testsPending','bgRGn','1373841ifXmgW','_bsConfig','_mochaOpts','testsFailed','path','mochaOpts','platformCaps','testSuitesFailed','__platformCaps','1209283OyrbPj','testsErrorMessage'];a23_0x12b4=function(){return _0x293571;};return a23_0x12b4();}
|
|
1
|
+
function a23_0x2947(_0x5e2f1e,_0x12f6b9){const _0x3062a3=a23_0x3062();return a23_0x2947=function(_0x2947bf,_0x223a6d){_0x2947bf=_0x2947bf-0xd1;let _0x36dd51=_0x3062a3[_0x2947bf];return _0x36dd51;},a23_0x2947(_0x5e2f1e,_0x12f6b9);}const a23_0xf6b346=a23_0x2947;(function(_0xd3cae9,_0x5301c1){const _0x175431=a23_0x2947,_0x4124f3=_0xd3cae9();while(!![]){try{const _0x3882f3=-parseInt(_0x175431(0xd5))/0x1+-parseInt(_0x175431(0xf2))/0x2+parseInt(_0x175431(0xf0))/0x3*(-parseInt(_0x175431(0xf4))/0x4)+-parseInt(_0x175431(0xec))/0x5*(parseInt(_0x175431(0xe4))/0x6)+parseInt(_0x175431(0xdf))/0x7*(-parseInt(_0x175431(0xe0))/0x8)+parseInt(_0x175431(0xd3))/0x9+parseInt(_0x175431(0xe7))/0xa;if(_0x3882f3===_0x5301c1)break;else _0x4124f3['push'](_0x4124f3['shift']());}catch(_0x562b6e){_0x4124f3['push'](_0x4124f3['shift']());}}}(a23_0x3062,0x301fa));const path=require(a23_0xf6b346(0xf1)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0xf6b346(0xe3)),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a23_0xf6b346(0xe1)),{isTestObservabilitySession}=require(a23_0xf6b346(0xd9)),helper=require('../../helpers/helper');class Launcher{constructor(_0x30a338,_0x52a4ff,_0x2524da,_0x2fd61f=[]){const _0x199f7b=a23_0xf6b346,_0x57f32e={'IesuX':_0x199f7b(0xde),'ylrzR':function(_0x5c20b8){return _0x5c20b8();},'iDtxF':function(_0x37dc2d){return _0x37dc2d();}},_0x878952=_0x57f32e[_0x199f7b(0xd8)]['split']('|');let _0x1d00b3=0x0;while(!![]){switch(_0x878952[_0x1d00b3++]){case'0':global[_0x199f7b(0xda)]=0x0;continue;case'1':this[_0x199f7b(0xdd)]=_0x57f32e[_0x199f7b(0xf6)](isAccessibilityAutomationSession);continue;case'2':this[_0x199f7b(0xe2)]=_0x52a4ff[_0x199f7b(0xe6)];continue;case'3':global[_0x199f7b(0xe9)]=0x0;continue;case'4':global[_0x199f7b(0xdc)]=this['_configuration'][_0x199f7b(0xe5)];continue;case'5':global['testSuitesFailed']=0x0;continue;case'6':global[_0x199f7b(0xee)]=0x0;continue;case'7':global[_0x199f7b(0xed)]={};continue;case'8':global[_0x199f7b(0xf5)]=0x0;continue;case'9':global['testsPending']=0x0;continue;case'10':global[_0x199f7b(0xf7)]=0x0;continue;case'11':global['__platformCaps']=this['_configuration']['platformCaps']||{};continue;case'12':this[_0x199f7b(0xd1)]=_0x57f32e['iDtxF'](isTestObservabilitySession);continue;case'13':this[_0x199f7b(0xe8)]=_0x52a4ff['configuration']||{};continue;case'14':this[_0x199f7b(0xd2)]=_0x30a338;continue;case'15':this[_0x199f7b(0xdb)]=_0x2fd61f;continue;case'16':global[_0x199f7b(0xef)]=0x0;continue;case'17':global[_0x199f7b(0xd6)]=0x0;continue;case'18':this[_0x199f7b(0xd4)]=_0x52a4ff['mochaOpts'];continue;case'19':this[_0x199f7b(0xf3)]=this[_0x199f7b(0xe8)][_0x199f7b(0xeb)];continue;case'20':this['_bsConfig']=_0x2524da;continue;case'21':global[_0x199f7b(0xea)]=0x0;continue;}break;}}['setupCucumber'](_0x28b393,_0x767028,_0x44aaf8){const _0xf94ab1=a23_0xf6b346,_0x249b0e=_0x28b393[_0xf94ab1(0xd7)];_0x28b393.resolvePaths=async function(){const pathResults=await _0x249b0e.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x44aaf8));return pathResults;},_0x767028.push('--format'),_0x767028.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;}}else{global.__skipSessionName=true;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_0x3062(){const _0x3ec1ad=['path','622450ZuJdAE','_capability','4PIZOnA','testsAmbiguous','ylrzR','testsUndefined','_testObservability','_framework','2375694AXDwEh','_mochaOpts','361194rDvOrK','testsPassed','resolvePaths','IesuX','../../helpers/test-observability/utils','testsSkipped','_argv','__platform__','_accessibilityAutomation','14|13|18|2|19|4|15|20|12|1|11|21|16|17|6|9|0|5|10|3|8|7','173026CyyjfJ','64kiwQrC','../../helpers/test-observability/requestQueueHandler','_formatter','../../helpers/helper','309498lvFomd','platform','formatter','15001950ZsPOAK','_configuration','testsUnknown','testSuites','capability','30LxPowX','testsErrorMessage','testsFailed','totalTests','1162158rYvTcl'];a23_0x3062=function(){return _0x3ec1ad;};return a23_0x3062();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a24_0x429e41=a24_0x402d;(function(_0x316d7,_0xd39084){const _0x2b18b8=a24_0x402d,_0x5c9616=_0x316d7();while(!![]){try{const _0x1d9ecf=-parseInt(_0x2b18b8(0x217))/0x1*(-parseInt(_0x2b18b8(0x1f5))/0x2)+-parseInt(_0x2b18b8(0x1d4))/0x3+-parseInt(_0x2b18b8(0x1d7))/0x4+parseInt(_0x2b18b8(0x1e1))/0x5*(parseInt(_0x2b18b8(0x1dd))/0x6)+parseInt(_0x2b18b8(0x1d6))/0x7*(-parseInt(_0x2b18b8(0x1f7))/0x8)+parseInt(_0x2b18b8(0x212))/0x9*(-parseInt(_0x2b18b8(0x1f2))/0xa)+-parseInt(_0x2b18b8(0x1df))/0xb*(-parseInt(_0x2b18b8(0x1d3))/0xc);if(_0x1d9ecf===_0xd39084)break;else _0x5c9616['push'](_0x5c9616['shift']());}catch(_0x423950){_0x5c9616['push'](_0x5c9616['shift']());}}}(a24_0x4bcb,0x888d0));const path=require(a24_0x429e41(0x219)),os=require('os'),util=require(a24_0x429e41(0x1de)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a24_0x429e41(0x1db)),logger=require('../../../helpers/logger')[a24_0x429e41(0x1da)];exports[a24_0x429e41(0x1f3)]=_0x497ad9=>{const _0x35b09f=a24_0x429e41,_0x177764={};_0x177764[_0x35b09f(0x1e9)]=_0x35b09f(0x215),_0x177764[_0x35b09f(0x1d5)]=_0x35b09f(0x1e2),_0x177764['PfbSI']=_0x35b09f(0x200),_0x177764[_0x35b09f(0x218)]='browserstack.accessibilityOptions';const _0x4dd4b8=_0x177764;try{const _0x3e55c2=_0x497ad9[_0x35b09f(0x1ce)]||{};if(_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]]&&_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]]['accessibility']||_0x497ad9['capability'][_0x4dd4b8[_0x35b09f(0x1d5)]]){globals[_0x35b09f(0x213)](_0x4dd4b8[_0x35b09f(0x20f)],!![]);if(_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]]){if(_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]]['accessibilityOptions'])_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]][_0x35b09f(0x1ff)][_0x35b09f(0x1ed)]=process[_0x35b09f(0x211)][_0x35b09f(0x20d)];else{const _0x841904={};_0x841904[_0x35b09f(0x1ed)]=process[_0x35b09f(0x211)][_0x35b09f(0x20d)],_0x3e55c2[_0x4dd4b8['yNusv']][_0x35b09f(0x1ff)]=_0x841904;}_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]][_0x35b09f(0x1ff)][_0x35b09f(0x205)]=JSON['parse'](process[_0x35b09f(0x211)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x35b09f(0x205)];}else{if(_0x497ad9[_0x35b09f(0x1ce)][_0x4dd4b8[_0x35b09f(0x1d5)]]){if(_0x3e55c2[_0x4dd4b8[_0x35b09f(0x218)]])_0x3e55c2[_0x4dd4b8[_0x35b09f(0x218)]][_0x35b09f(0x1ed)]=process[_0x35b09f(0x211)][_0x35b09f(0x20d)];else{const _0x32b998={};_0x32b998[_0x35b09f(0x1ed)]=process[_0x35b09f(0x211)][_0x35b09f(0x20d)],_0x3e55c2[_0x4dd4b8[_0x35b09f(0x218)]]=_0x32b998;}_0x3e55c2[_0x4dd4b8['xiJSW']]['scannerVersion']=JSON[_0x35b09f(0x206)](process['env'][_0x35b09f(0x207)])[_0x35b09f(0x205)];}}}}catch(_0x353e42){logger['debug'](_0x35b09f(0x1fe)+_0x353e42);}},exports['setExtension']=(_0x198da5,_0x450221)=>{const _0x289eec=a24_0x429e41,_0x114853={};_0x114853[_0x289eec(0x20e)]=_0x289eec(0x215),_0x114853[_0x289eec(0x201)]=function(_0x37b056,_0x56a530){return _0x37b056!==_0x56a530;},_0x114853[_0x289eec(0x1e0)]=_0x289eec(0x1d9),_0x114853[_0x289eec(0x1d0)]=_0x289eec(0x1e6),_0x114853['wExoR']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x114853[_0x289eec(0x204)]=function(_0x3a2495,_0x470e76){return _0x3a2495===_0x470e76;},_0x114853[_0x289eec(0x1fb)]=_0x289eec(0x209),_0x114853['GSclh']=function(_0x137487,_0xfe11e4){return _0x137487>_0xfe11e4;},_0x114853[_0x289eec(0x1e4)]=_0x289eec(0x1d2),_0x114853[_0x289eec(0x1f1)]=_0x289eec(0x1ef),_0x114853['ZMTBF']=_0x289eec(0x214),_0x114853[_0x289eec(0x1f8)]='args',_0x114853[_0x289eec(0x1f9)]='chromeOptions',_0x114853[_0x289eec(0x1cc)]=_0x289eec(0x1f4),_0x114853['lqVwm']=_0x289eec(0x216);const _0x1e449c=_0x114853;try{const _0x5cc0ee=_0x450221[_0x289eec(0x1ce)]||{},_0x41e7c8=(_0x5cc0ee[_0x1e449c[_0x289eec(0x20e)]]?_0x5cc0ee[_0x1e449c[_0x289eec(0x20e)]][_0x289eec(0x1cb)]:_0x5cc0ee[_0x289eec(0x1cd)])||'';if(_0x1e449c[_0x289eec(0x201)](_0x41e7c8,''))return logger[_0x289eec(0x20c)](_0x1e449c['cwhRf']),![];const _0x52e6f8=_0x5cc0ee[_0x289eec(0x1f6)]||_0x198da5[_0x289eec(0x1fc)][_0x289eec(0x1ea)]();if(_0x1e449c[_0x289eec(0x201)](_0x52e6f8[_0x289eec(0x1ee)](),_0x1e449c[_0x289eec(0x1d0)]))return logger[_0x289eec(0x20c)](_0x1e449c[_0x289eec(0x20b)]),![];const _0x3e8240=_0x5cc0ee['browserVersion']||_0x5cc0ee[_0x289eec(0x1d8)]||_0x198da5['capabilities_'][_0x289eec(0x210)]();if(!bsSetupHelper[_0x289eec(0x1fd)](_0x3e8240)&&!(_0x1e449c[_0x289eec(0x204)](_0x3e8240,_0x1e449c[_0x289eec(0x1fb)])||_0x1e449c['GSclh'](_0x3e8240,0x5e)))return logger[_0x289eec(0x20c)](_0x1e449c[_0x289eec(0x1e4)]),![];let _0x555cce;try{_0x555cce=bsSetupHelper[_0x289eec(0x1e3)](_0x1e449c[_0x289eec(0x1f1)]);}catch(_0x106a75){return![];}const _0x245b34=new _0x555cce['Options'](_0x198da5[_0x289eec(0x208)]),_0x599c85=bsSetupHelper[_0x289eec(0x1cf)](_0x245b34,[_0x1e449c['ZMTBF'],_0x1e449c[_0x289eec(0x1f8)]])||bsSetupHelper[_0x289eec(0x1cf)](_0x198da5[_0x289eec(0x1fc)][_0x289eec(0x1d1)](_0x1e449c[_0x289eec(0x20e)]),[_0x1e449c[_0x289eec(0x1f9)],_0x1e449c[_0x289eec(0x1f8)]])||bsSetupHelper[_0x289eec(0x1cf)](_0x198da5[_0x289eec(0x1fc)][_0x289eec(0x1d1)](_0x1e449c['qiyhh']),[_0x1e449c[_0x289eec(0x1f8)]])||[];if(_0x599c85[_0x289eec(0x1ec)](_0x1e449c['Qdpqg']))return logger['warn'](_0x1e449c['lqVwm']),![];return!![];}catch(_0x4e94b8){logger[_0x289eec(0x203)]('Exception\x20in\x20setExtension\x20Error:\x20'+util[_0x289eec(0x1fa)](_0x4e94b8));}return![];},exports['fetchPlatformDetails']=async _0x285869=>{const _0x476065=a24_0x429e41,_0x5110ca={};_0x5110ca['zkGTf']=function(_0x27299d,_0x1445f8){return _0x27299d===_0x1445f8;},_0x5110ca[_0x476065(0x1e5)]=_0x476065(0x20a);const _0x470fb5=_0x5110ca;let _0x3057d5={};try{const _0x4f2987=await _0x285869[_0x476065(0x1dc)]();_0x3057d5={'os_name':_0x4f2987[_0x476065(0x1e7)](),'os_version':bsSetupHelper[_0x476065(0x202)](_0x470fb5[_0x476065(0x1f0)](global[_0x476065(0x1eb)],_0x470fb5[_0x476065(0x1e5)])),'browser_name':_0x4f2987[_0x476065(0x1ea)](),'browser_version':_0x4f2987[_0x476065(0x210)]()};}catch(_0x1e2ded){logger[_0x476065(0x203)](_0x476065(0x1e8)+_0x1e2ded);}return _0x3057d5;};function a24_0x402d(_0x319db5,_0x26aa68){const _0x4bcbc7=a24_0x4bcb();return a24_0x402d=function(_0x402d26,_0x3d1e5c){_0x402d26=_0x402d26-0x1cb;let _0x3eb63c=_0x4bcbc7[_0x402d26];return _0x3eb63c;},a24_0x402d(_0x319db5,_0x26aa68);}function a24_0x4bcb(){const _0x4a6dc9=['getBrowserName','__cloud_provider___','includes','authToken','toLowerCase','selenium-webdriver/chrome.js','zkGTf','mzVHk','180FhKctF','setAccessibilityCapabilities','--headless','21838nPWWjG','browserName','894072OTkJkJ','VMbyh','qiyhh','format','cjNEF','capabilities_','isUndefined','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','accessibilityOptions','isAccessibilityPlatform','xjocD','getPlatformVersion','debug','MiLlX','scannerVersion','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','chromeOptions_','latest','browserstack','wExoR','warn','BS_A11Y_JWT','amJJI','PfbSI','getBrowserVersion','env','420921hQWsHG','setGlobal','options_','bstack:options','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','57zqxfJT','xiJSW','path','deviceName','Qdpqg','device','capability','nestedKeyValue','KREmz','get','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','12qLTgSc','3183537PIGPuO','iqZIS','14IqunzU','2474024xRDHrt','browser_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','winstonLogger','../../../helpers/globals','getCapabilities','866406ylnfxP','util','26324892ARkyNS','cwhRf','10YpbzmE','browserstack.accessibility','requireModule','zzEPD','NvRuH','chrome','getPlatform','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','yNusv'];a24_0x4bcb=function(){return _0x4a6dc9;};return a24_0x4bcb();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a25_0x587356=a25_0x2a67;(function(_0x40aad1,_0x1b085f){const _0x6afdfc=a25_0x2a67,_0x2123b6=_0x40aad1();while(!![]){try{const _0x228821=parseInt(_0x6afdfc(0x25c))/0x1*(parseInt(_0x6afdfc(0x20f))/0x2)+parseInt(_0x6afdfc(0x1ac))/0x3+parseInt(_0x6afdfc(0x16e))/0x4+parseInt(_0x6afdfc(0x1f6))/0x5+parseInt(_0x6afdfc(0x203))/0x6*(-parseInt(_0x6afdfc(0x168))/0x7)+parseInt(_0x6afdfc(0x152))/0x8+parseInt(_0x6afdfc(0x178))/0x9*(-parseInt(_0x6afdfc(0x198))/0xa);if(_0x228821===_0x1b085f)break;else _0x2123b6['push'](_0x2123b6['shift']());}catch(_0x5f37b5){_0x2123b6['push'](_0x2123b6['shift']());}}}(a25_0x5cfd,0x95e67));function a25_0x5cfd(){const _0x41ca15=['increaseIndent','</h1>','green','TestRunSkipped','mocha/lib/runnable.js','AssertionError','uploadEventData','24706uBdOfV','testObservability','hook_run_uuid','hErnO','root','AFTER_EACH','XMaVI','yZifc','speed','_testEnv','analyticsResult','type','constants','../../../helpers/helper','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','\x20\x20<dd\x20class=\x22error\x22><pre><code>','sep','bSBmQ','\x20\x20<dd\x20class=\x22error\x22>','dSLHA','wKeYv','WlDnO','kJJPA','ifFCh','exQEr','stdout','Cucjs','hxbaD','nmOWi','AFTER_ALL','uuid','registerListeners','xkZwI','Mocha','duration','currentRetry','zHLko','TYjWu','UnhandledError','event_type','call','../../../helpers/testhub/utils','failCount','HxotJ','<section\x20class=\x22suite\x22>','AzsXX','BEFORE_EACH','HookFinished','cOvPv','failure_backtrace','MOCHA','retryOf','title','isPending','thnnd','../../../helpers/test-observability/constants','javascript','failed','VsYUH','bang','HookRunFinished','state','redTL','kJbJw','YMBzg','gLGtC','\x20with\x20error\x20:\x20','passed','zcRda','reporterOptions','FDizK','tHSKh','before\x20all','bwwYN','BEFORE_ALL','sendTestRunEvent','__platform__','17jDRZtg','logs','suites','wfREi','RWDJb','skipped','CuYuA','statSync','_indents','Failed\x20to\x20load\x20reporter\x20','_paths','testAnalyticsId','indent','RUNNING','write','BhWYv','failure','fail','TestRunStarted','now','KSAFv','titlePath','.js','dot','failureCount','bright\x20yellow','setCurrentTestData','pbReH','96352xBfzTN','pass','pid','finalResults','apply','markedStatus','after\x20each','escape','vkwrq','wpsVS','HookRunStarted','pending','hook_run','before\x20each','yXjyV','_currentRetry','yOslj','exports','GozDd','err','JCPBn','nEsDr','21CMIrGs','fullTitle','Pueco','dirname','YKOeg','RDQno','4346276HXUjWW','ctx','CIvKF','shutdown','runner','integrations','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','file','match','ShLXU','297MGtOXS','after\x20all','_buildCreated','TNluI','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','HRLqE','testStarted','Runner','prefixTestPath','mocha/lib/utils.js','dRAcJ','wOIrQ','OHswm','cwd','decreaseIndent','uJqNi','mocha/lib/reporters/base.js','BYGGe','gxfmt','MoxUw','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','%s\x20-\x20%s','slice','ZgtWi','DggTU','Yskap','length','TestRunFinished','dUyyd','reporterOption','COMPLETED','finished_at','401170lmaLNI','BoXad','findGitConfig','push','AgGmk','</section>','uKleb','clean','checkmark','fast','scopes','EEBHT','removeAllListeners','comma','HookStarted','_upstreamConfig','suite','hook_type','\x20-\x20','__indents','754587YWcWQQ','once','hookAnalyticsId','eBySi','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','UGLjc','%s\x20','fbPrA','result','parent','AvaTZ','BEvSc','spec','appendTestItemLog','toISOString','slow','bind','EwOwW','multiple','scope','_testResults','getInstance','uiEcc','LHLVA','appendTestPlatform','mocha','VkWtb','toString','RBAaw','bfing','symbols','expanded','started_at','YwjAF','test_run','results','Yikgt','prototype','aqyjo','iIapQ','PILXh','error','tNCfM','bs:addPlatformDetails:','GFdMR','MlDYp','join','body','uMydM','LogCreated','current_test','consoleLog','doc','getRootParentFile','trim','hooks','EVENT','gdyDE','docAppend','</dt>','currentTest','eMLuG','bs:addLog:','jUAZu','../../../helpers/test-observability/requestQueueHandler','.git','suiteCount','Reporter','VJnik','eCEuG','location_prefix','failure_reason_expanded','rUmjA','<h1>','3958650VvxzOd','xunit','ZsjqU','docHtml','</dl>','color','relative','mocha/lib/reporters/','current_hook','../../../helpers/test-observability/sessionHandler','rypJW','forEach','\x20\x20<dd><pre><code>','828042tkJlta','HqBot','../../../helpers/testhub/constants','shouldProcessEventForTesthub','\x20\x20<dt>'];a25_0x5cfd=function(){return _0x41ca15;};return a25_0x5cfd();}const util=require('util'),fs=require('fs'),path=require('path'),{requireModule}=require(a25_0x587356(0x21c)),Base=requireModule(a25_0x587356(0x188)),utils=requireModule(a25_0x587356(0x181)),color=Base['color'],Mocha=requireModule(a25_0x587356(0x1c5)),Runnable=requireModule(a25_0x587356(0x20c)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a25_0x587356(0x21c)),testhubUtils=require(a25_0x587356(0x238)),testHubConstants=require(a25_0x587356(0x205)),{FRAMEWORKS}=require(a25_0x587356(0x246)),a25_0x44a210={};a25_0x44a210[a25_0x587356(0x257)]=a25_0x587356(0x259),a25_0x44a210[a25_0x587356(0x179)]=a25_0x587356(0x22c),a25_0x44a210[a25_0x587356(0x15f)]=a25_0x587356(0x23d),a25_0x44a210[a25_0x587356(0x158)]=a25_0x587356(0x214);const HOOK_TYPES_MAP=a25_0x44a210,{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_0x587356(0x17f)][a25_0x587356(0x21b)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a25_0x587356(0x246)),SessionHandler=require(a25_0x587356(0x1ff)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a25_0x587356(0x1ec)),requestQueueHandler=RequestQueueHandler[a25_0x587356(0x1c1)]();function a25_0x2a67(_0x3f26e5,_0x475ab3){const _0x5cfdd4=a25_0x5cfd();return a25_0x2a67=function(_0x2a6704,_0x56b854){_0x2a6704=_0x2a6704-0x149;let _0x55976e=_0x5cfdd4[_0x2a6704];return _0x55976e;},a25_0x2a67(_0x3f26e5,_0x475ab3);}class MyReporter{constructor(_0x221f3d,_0x386ec4){const _0x210281=a25_0x587356,_0x35ee99={'MoxUw':function(_0xf03f2e,_0xe9bba7){return _0xf03f2e===_0xe9bba7;},'nEsDr':_0x210281(0x1b8),'gdyDE':function(_0x2b1b20,_0x3e1ad8){return _0x2b1b20+_0x3e1ad8;},'uiEcc':function(_0x130109,_0xa240fe,_0x4e4302){return _0x130109(_0xa240fe,_0x4e4302);},'CTYkn':_0x210281(0x20a),'gLGtC':_0x210281(0x1b2),'cOvPv':function(_0x56cf7c,_0x46bfa,_0x512594){return _0x56cf7c(_0x46bfa,_0x512594);},'Pueco':'light','bSBmQ':_0x210281(0x18d),'tNCfM':_0x210281(0x269),'YKOeg':_0x210281(0x1e0),'wpsVS':function(_0x1175f1,_0x247ce4){return _0x1175f1===_0x247ce4;},'TNluI':function(_0x6cfcea){return _0x6cfcea();},'rvRDs':function(_0x28dc07){return _0x28dc07();},'dbRvA':_0x210281(0x15c),'dUyyd':_0x210281(0x24b),'BEvSc':_0x210281(0x252),'YMBzg':_0x210281(0x1a1),'bwwYN':function(_0x4461d9,_0x38d16b){return _0x4461d9+_0x38d16b;},'rTntF':function(_0x4f17bd,_0x4d5407){return _0x4f17bd+_0x4d5407;},'ZgtWi':_0x210281(0x1a0),'cdGPD':function(_0x4c1c0b,_0xa08032){return _0x4c1c0b+_0xa08032;},'FDizK':_0x210281(0x153),'nmOWi':'\x20%s','GozDd':function(_0x1d20e6,_0x574b8b){return _0x1d20e6+_0x574b8b;},'MlDYp':function(_0x58df6c,_0x13cb01,_0x1b7f07){return _0x58df6c(_0x13cb01,_0x1b7f07);},'yKcSF':function(_0x55c66d,_0x4c633a){return _0x55c66d+_0x4c633a;},'EwOwW':function(_0x30460d,_0xf4270f,_0xf5080a){return _0x30460d(_0xf4270f,_0xf5080a);},'hErnO':'\x20(%dms)','GFdMR':function(_0x3f4ba6,_0x18d3af){return _0x3f4ba6+_0x18d3af;},'dRAcJ':function(_0x53f580,_0x54b2a1,_0x15eb8f){return _0x53f580(_0x54b2a1,_0x15eb8f);},'HqBot':_0x210281(0x26d),'jUAZu':'\x20\x20%d)\x20%s','HRLqE':function(_0x540875,_0x57fad8){return _0x540875===_0x57fad8;},'wKeYv':function(_0x36746d,_0x3d0cee){return _0x36746d+_0x3d0cee;},'RWDJb':_0x210281(0x14f),'ShLXU':_0x210281(0x196),'LHLVA':function(_0x14b44d,_0x3e6cb4){return _0x14b44d===_0x3e6cb4;},'RBAaw':'dot','rypJW':function(_0xe5c977,_0x3f546d){return _0xe5c977===_0x3f546d;},'FIelg':_0x210281(0x1bb),'abqOL':function(_0x5477e0,_0x12edb6){return _0x5477e0===_0x12edb6;},'ifFCh':'0|1|4|2|3','AzsXX':function(_0x49aeff,_0x697cda){return _0x49aeff===_0x697cda;},'wfREi':_0x210281(0x15d),'eBySi':function(_0x1d3af1){return _0x1d3af1();},'AgGmk':_0x210281(0x20b),'RxNhR':function(_0x3a5aa3,_0x3f4444){return _0x3a5aa3===_0x3f4444;},'iIapQ':function(_0x4dccd3,_0x354ea6){return _0x4dccd3(_0x354ea6);},'AvaTZ':function(_0x3de8a6){return _0x3de8a6();},'pbReH':function(_0x4dab8e,_0x4698e5){return _0x4dab8e(_0x4698e5);},'HxotJ':function(_0x57ee53,_0x2a5622){return _0x57ee53===_0x2a5622;},'CuYuA':function(_0x2f1a6){return _0x2f1a6();},'wOIrQ':function(_0x2f79c6,_0x2fb232){return _0x2f79c6===_0x2fb232;},'tyeFA':_0x210281(0x1f7),'jcacs':function(_0x3c576b,_0x31dca2){return _0x3c576b(_0x31dca2);},'WlDnO':function(_0x406c6c,_0x231bc4){return _0x406c6c===_0x231bc4;},'eMLuG':function(_0x3b306a,_0x25ccf3){return _0x3b306a(_0x25ccf3);},'eCEuG':function(_0x405bbe,_0x595c05){return _0x405bbe!==_0x595c05;}};this[_0x210281(0x21a)]=_0x386ec4[_0x210281(0x195)][_0x210281(0x21a)],this[_0x210281(0x210)]=_0x35ee99[_0x210281(0x17b)](isTestObservabilitySession),Base[_0x210281(0x237)](this,_0x221f3d,_0x386ec4),this[_0x210281(0x264)]=0x0,this[_0x210281(0x239)]=0x0,this[_0x210281(0x1cf)]=[],this['finalResults']=[],this[_0x210281(0x1ee)]=0x0,this[_0x210281(0x17a)]=![],this[_0x210281(0x1c0)]=[],this[_0x210281(0x218)]=_0x35ee99[_0x210281(0x262)](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x210281(0x185)]()},this[_0x210281(0x218)][_0x210281(0x1f2)]),this[_0x210281(0x1a7)]=_0x386ec4[_0x210281(0x195)]['bsConfig'],this['registerListeners']();_0x35ee99[_0x210281(0x183)](this[_0x210281(0x21a)],_0x35ee99[_0x210281(0x16c)])&&(this['docHtml']='',this[_0x210281(0x1ab)]=0x2);_0x221f3d[_0x210281(0x1ad)](EVENT_RUN_BEGIN,async()=>{const _0xbb1367=_0x210281;_0x35ee99[_0xbb1367(0x18b)](this[_0xbb1367(0x21a)],_0x35ee99['nEsDr'])&&Base[_0xbb1367(0x1df)]();})['on'](EVENT_SUITE_BEGIN,_0x401054=>{const _0x3b328b=_0x210281;if(_0x401054[_0x3b328b(0x213)])return;if(_0x35ee99['MoxUw'](this[_0x3b328b(0x21a)],_0x35ee99[_0x3b328b(0x167)]))this['increaseIndent'](),Base[_0x3b328b(0x1df)](_0x35ee99['gdyDE'](_0x35ee99[_0x3b328b(0x1e5)](this['indent'](),_0x35ee99[_0x3b328b(0x1c2)](color,_0x35ee99['CTYkn'],_0x35ee99[_0x3b328b(0x250)])),_0x35ee99[_0x3b328b(0x23f)](color,_0x35ee99[_0x3b328b(0x16a)],_0x35ee99['bSBmQ'])),_0x35ee99[_0x3b328b(0x1d6)],_0x401054[_0x3b328b(0x243)],global[_0x3b328b(0x25b)]);else _0x35ee99[_0x3b328b(0x18b)](this[_0x3b328b(0x21a)],_0x35ee99[_0x3b328b(0x16c)])&&(this[_0x3b328b(0x1e6)](this['indent']()+_0x3b328b(0x23b)),++this[_0x3b328b(0x1ab)],this['docAppend'](this[_0x3b328b(0x268)]()+_0x3b328b(0x1f5)+utils[_0x3b328b(0x159)](_0x401054[_0x3b328b(0x243)]+_0x3b328b(0x1aa)+global[_0x3b328b(0x25b)])+_0x3b328b(0x209)),this[_0x3b328b(0x1e6)](this[_0x3b328b(0x268)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x453f69=>{const _0x12655c=_0x210281;if(_0x35ee99['wpsVS'](testhubUtils[_0x12655c(0x206)](testHubConstants[_0x12655c(0x1e4)][_0x12655c(0x1a6)]),!![])){if(!_0x453f69[_0x12655c(0x1ae)])_0x453f69[_0x12655c(0x1ae)]=_0x35ee99[_0x12655c(0x17b)](uuidv4);else _0x453f69[_0x12655c(0x157)]&&(_0x453f69[_0x12655c(0x1ae)]=_0x35ee99['rvRDs'](uuidv4),delete _0x453f69[_0x12655c(0x157)]);_0x453f69[_0x12655c(0x1cc)]=new Date()[_0x12655c(0x1ba)](),this['current_hook']=_0x453f69,await this[_0x12655c(0x25a)](_0x453f69,undefined,![],_0x35ee99['dbRvA']);}})['on'](EVENT_HOOK_END,async _0x14a560=>{const _0x4a3b4e=_0x210281;_0x35ee99['wpsVS'](testhubUtils[_0x4a3b4e(0x206)](testHubConstants['EVENT'][_0x4a3b4e(0x23e)]),!![])&&(!_0x14a560[_0x4a3b4e(0x157)]&&(_0x14a560[_0x4a3b4e(0x157)]=!![],await this[_0x4a3b4e(0x25a)](_0x14a560,undefined,![],_0x35ee99[_0x4a3b4e(0x194)])));})['on'](EVENT_SUITE_END,_0x57976c=>{const _0x3d5391=_0x210281;if(_0x57976c[_0x3d5391(0x213)])return;if(_0x35ee99[_0x3d5391(0x17d)](this[_0x3d5391(0x21a)],_0x35ee99[_0x3d5391(0x167)]))Base['consoleLog'](),Base[_0x3d5391(0x1df)](_0x35ee99[_0x3d5391(0x1d8)](_0x35ee99[_0x3d5391(0x223)](this['indent'](),_0x35ee99[_0x3d5391(0x1d9)](color,_0x35ee99['RWDJb'],_0x35ee99[_0x3d5391(0x250)])),_0x35ee99['EwOwW'](color,_0x35ee99[_0x3d5391(0x16a)],_0x35ee99[_0x3d5391(0x220)])),_0x35ee99[_0x3d5391(0x177)],_0x57976c[_0x3d5391(0x243)],global[_0x3d5391(0x25b)]),this[_0x3d5391(0x1cf)][_0x3d5391(0x201)](_0x424759=>{const _0x2cd2c9=_0x3d5391;if(_0x35ee99[_0x2cd2c9(0x18b)](_0x424759[_0x2cd2c9(0x24c)],_0x35ee99[_0x2cd2c9(0x1b7)])){var _0x2f4b9e;_0x35ee99[_0x2cd2c9(0x15b)](_0x424759[_0x2cd2c9(0x217)],_0x35ee99[_0x2cd2c9(0x24f)])?(_0x2f4b9e=_0x35ee99[_0x2cd2c9(0x258)](_0x35ee99['rTntF'](this['indent'](),_0x35ee99[_0x2cd2c9(0x1c2)](color,_0x35ee99['ZgtWi'],_0x35ee99['cdGPD']('\x20\x20',Base[_0x2cd2c9(0x1ca)]['ok']))),_0x35ee99[_0x2cd2c9(0x23f)](color,_0x35ee99[_0x2cd2c9(0x255)],_0x35ee99['nmOWi'])),Base[_0x2cd2c9(0x1df)](_0x2f4b9e,_0x424759[_0x2cd2c9(0x243)])):(_0x2f4b9e=_0x35ee99['GozDd'](_0x35ee99['bwwYN'](_0x35ee99[_0x2cd2c9(0x164)](this[_0x2cd2c9(0x268)](),_0x35ee99[_0x2cd2c9(0x1d9)](color,_0x35ee99[_0x2cd2c9(0x18f)],_0x35ee99['yKcSF']('\x20\x20',Base['symbols']['ok']))),_0x35ee99[_0x2cd2c9(0x1bd)](color,_0x35ee99[_0x2cd2c9(0x255)],_0x35ee99[_0x2cd2c9(0x22b)])),_0x35ee99[_0x2cd2c9(0x1c2)](color,_0x424759[_0x2cd2c9(0x217)],_0x35ee99[_0x2cd2c9(0x212)])),Base[_0x2cd2c9(0x1df)](_0x2f4b9e,_0x424759['title'],_0x424759['duration']));}else Base[_0x2cd2c9(0x1df)](_0x35ee99[_0x2cd2c9(0x1d8)](this['indent'](),_0x35ee99[_0x2cd2c9(0x182)](color,_0x35ee99['HqBot'],_0x35ee99[_0x2cd2c9(0x1eb)])),++this[_0x2cd2c9(0x239)],_0x424759[_0x2cd2c9(0x243)]);}),this[_0x3d5391(0x186)]();else _0x35ee99[_0x3d5391(0x18b)](this[_0x3d5391(0x21a)],_0x35ee99[_0x3d5391(0x16c)])&&(this[_0x3d5391(0x1e6)](this[_0x3d5391(0x268)]()+_0x3d5391(0x1fa)),--this['__indents'],this[_0x3d5391(0x1e6)](this['indent']()+_0x3d5391(0x19d)),--this[_0x3d5391(0x1ab)]);Array[_0x3d5391(0x1d1)]['push'][_0x3d5391(0x156)](this[_0x3d5391(0x155)],this[_0x3d5391(0x1cf)]),this[_0x3d5391(0x1cf)]=[];})['on'](EVENT_TEST_PASS,async _0x5b809f=>{const _0x5ed803=_0x210281;this[_0x5ed803(0x1cf)][_0x5ed803(0x19b)]({'speed':_0x5b809f['speed'],'suite':_0x5b809f[_0x5ed803(0x1b5)][_0x5ed803(0x243)],'title':_0x5b809f[_0x5ed803(0x243)],'fullTitle':_0x5b809f['fullTitle'](),'duration':_0x5b809f[_0x5ed803(0x231)],'state':_0x5b809f[_0x5ed803(0x24c)],'err':{},'currentRetry':_0x5b809f['currentRetry'](),'titlePathV':_0x5b809f[_0x5ed803(0x14b)](),'isPending':_0x5b809f[_0x5ed803(0x244)]()});if(_0x35ee99[_0x5ed803(0x1c3)](this[_0x5ed803(0x21a)],_0x35ee99[_0x5ed803(0x1c8)]))_0x35ee99[_0x5ed803(0x200)](_0x5b809f['speed'],_0x35ee99['FIelg'])?process[_0x5ed803(0x228)]['write'](Base[_0x5ed803(0x1fb)](_0x35ee99[_0x5ed803(0x260)],Base['symbols'][_0x5ed803(0x14d)])):process['stdout'][_0x5ed803(0x26a)](Base[_0x5ed803(0x1fb)](_0x5b809f[_0x5ed803(0x217)],Base[_0x5ed803(0x1ca)]['dot']));else{if(_0x35ee99[_0x5ed803(0x200)](this[_0x5ed803(0x21a)],_0x35ee99[_0x5ed803(0x16c)])){this['docAppend'](this[_0x5ed803(0x268)]()+_0x5ed803(0x207)+utils[_0x5ed803(0x159)](_0x5b809f[_0x5ed803(0x243)])+_0x5ed803(0x1e7)),this['docAppend'](this[_0x5ed803(0x268)]()+_0x5ed803(0x207)+utils[_0x5ed803(0x159)](_0x5b809f[_0x5ed803(0x175)])+_0x5ed803(0x1e7));var _0x437044=utils[_0x5ed803(0x159)](utils[_0x5ed803(0x19f)](_0x5b809f['body']));this['docAppend'](this[_0x5ed803(0x268)]()+_0x5ed803(0x202)+_0x437044+'</code></pre></dd>');}}_0x35ee99['rypJW'](testhubUtils[_0x5ed803(0x206)](),!![])&&(!_0x5b809f[_0x5ed803(0x157)]&&(_0x5b809f[_0x5ed803(0x157)]=!![],await this[_0x5ed803(0x25a)](_0x5b809f)));})['on'](EVENT_TEST_FAIL,async(_0x476288,_0x3fd565)=>{const _0x1c2d0d=_0x210281;this['results'][_0x1c2d0d(0x19b)]({'title':_0x476288[_0x1c2d0d(0x243)],'suite':_0x476288['parent'][_0x1c2d0d(0x243)],'state':_0x476288['state'],'err':{'message':util['inspect'](_0x3fd565)},'fullTitle':_0x476288['fullTitle'](),'speed':_0x476288[_0x1c2d0d(0x217)],'currentRetry':_0x476288[_0x1c2d0d(0x232)](),'titlePathV':_0x476288[_0x1c2d0d(0x14b)]()});if(_0x35ee99['abqOL'](this['type'],_0x35ee99['RBAaw']))process[_0x1c2d0d(0x228)][_0x1c2d0d(0x26a)](Base[_0x1c2d0d(0x1fb)](_0x35ee99[_0x1c2d0d(0x204)],Base[_0x1c2d0d(0x1ca)][_0x1c2d0d(0x24a)]));else{if(_0x35ee99['HRLqE'](this[_0x1c2d0d(0x21a)],_0x35ee99['YKOeg'])){const _0x5a6ff8=_0x35ee99[_0x1c2d0d(0x226)]['split']('|');let _0x5bd9fe=0x0;while(!![]){switch(_0x5a6ff8[_0x5bd9fe++]){case'0':this[_0x1c2d0d(0x1e6)](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x476288[_0x1c2d0d(0x243)])+_0x1c2d0d(0x1e7));continue;case'1':this['docAppend'](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x1c2d0d(0x159)](_0x476288[_0x1c2d0d(0x175)])+_0x1c2d0d(0x1e7));continue;case'2':this[_0x1c2d0d(0x1e6)](this[_0x1c2d0d(0x268)]()+_0x1c2d0d(0x21e)+_0x14d470+'</code></pre></dd>');continue;case'3':this[_0x1c2d0d(0x1e6)](this[_0x1c2d0d(0x268)]()+_0x1c2d0d(0x221)+utils[_0x1c2d0d(0x159)](_0x476288['err'])+'</dd>');continue;case'4':var _0x14d470=utils[_0x1c2d0d(0x159)](utils[_0x1c2d0d(0x19f)](_0x476288[_0x1c2d0d(0x1db)]));continue;}break;}}}if(_0x35ee99[_0x1c2d0d(0x23c)](testhubUtils[_0x1c2d0d(0x206)](testHubConstants[_0x1c2d0d(0x1e4)][_0x1c2d0d(0x23e)]),!![])){if(!_0x476288[_0x1c2d0d(0x157)]){_0x476288[_0x1c2d0d(0x157)]=!![];if(_0x476288[_0x1c2d0d(0x267)])await this[_0x1c2d0d(0x25a)](_0x476288,_0x3fd565);else _0x476288['hookAnalyticsId']&&await this[_0x1c2d0d(0x25a)](_0x476288,_0x3fd565,![],_0x35ee99[_0x1c2d0d(0x194)]);}}})['on'](EVENT_TEST_PENDING,async _0x15f8c3=>{const _0x2da3c6=_0x210281;this['results']['push']({'title':_0x15f8c3[_0x2da3c6(0x243)],'suite':_0x15f8c3[_0x2da3c6(0x1b5)][_0x2da3c6(0x243)],'state':_0x15f8c3[_0x2da3c6(0x24c)],'err':{},'fullTitle':_0x15f8c3[_0x2da3c6(0x169)](),'speed':_0x15f8c3[_0x2da3c6(0x217)],'currentRetry':_0x15f8c3[_0x2da3c6(0x232)](),'titlePathV':_0x15f8c3[_0x2da3c6(0x14b)]()}),_0x35ee99[_0x2da3c6(0x1c3)](this[_0x2da3c6(0x21a)],_0x35ee99[_0x2da3c6(0x1c8)])&&process[_0x2da3c6(0x228)]['write'](Base['color'](_0x35ee99[_0x2da3c6(0x25f)],Base[_0x2da3c6(0x1ca)][_0x2da3c6(0x1a5)])),_0x35ee99[_0x2da3c6(0x200)](testhubUtils[_0x2da3c6(0x206)](),!![])&&(!_0x15f8c3['testAnalyticsId']&&(_0x15f8c3[_0x2da3c6(0x267)]=_0x35ee99[_0x2da3c6(0x1af)](uuidv4)),!_0x15f8c3[_0x2da3c6(0x157)]&&(_0x15f8c3[_0x2da3c6(0x157)]=!![],await this[_0x2da3c6(0x25a)](_0x15f8c3,undefined,![],_0x35ee99[_0x2da3c6(0x19c)])));})['on'](EVENT_TEST_BEGIN,async _0x1e121e=>{_0x35ee99['RxNhR'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this['testStarted'](_0x1e121e);})['on'](EVENT_TEST_END,async _0x66e29d=>{const _0x3d25fa=_0x210281;_0x35ee99[_0x3d25fa(0x17d)](testhubUtils[_0x3d25fa(0x206)](),!![])&&(!_0x66e29d[_0x3d25fa(0x157)]&&(_0x66e29d[_0x3d25fa(0x157)]=!![],await this[_0x3d25fa(0x25a)](_0x66e29d)));})['once'](EVENT_RUN_END,async()=>{const _0x2ff4e5=_0x210281;try{if(_0x35ee99['abqOL'](testhubUtils[_0x2ff4e5(0x206)](),!![])){const _0x5b3030=_0x35ee99[_0x2ff4e5(0x1d3)](getHookSkippedTests,this[_0x2ff4e5(0x172)][_0x2ff4e5(0x1a8)]);for(const _0x34ceaa of _0x5b3030){!_0x34ceaa[_0x2ff4e5(0x267)]&&(_0x34ceaa[_0x2ff4e5(0x267)]=_0x35ee99[_0x2ff4e5(0x1b6)](uuidv4)),await this[_0x2ff4e5(0x25a)](_0x34ceaa,undefined,![],_0x35ee99['AgGmk']);}}}catch(_0x839b83){_0x35ee99[_0x2ff4e5(0x151)](debug,_0x2ff4e5(0x21d)+_0x839b83);}await requestQueueHandler[_0x2ff4e5(0x171)](),_0x35ee99[_0x2ff4e5(0x23a)](this[_0x2ff4e5(0x21a)],_0x35ee99['YKOeg'])&&Base['consoleLog'](this[_0x2ff4e5(0x1f9)]);});if(this[_0x210281(0x21a)]&&![_0x35ee99[_0x210281(0x16c)],_0x35ee99['tyeFA'],_0x35ee99[_0x210281(0x167)],_0x35ee99[_0x210281(0x1c8)]]['includes'](this['type'])){const _0xc9999e=this[_0x210281(0x21a)][_0x210281(0x1e2)]();this[_0x210281(0x1ef)]=null;try{this[_0x210281(0x1ef)]=_0x35ee99['jcacs'](requireModule,_0x210281(0x1fd)+_0xc9999e+_0x210281(0x14c));}catch{}if(_0x35ee99[_0x210281(0x224)](this['Reporter'],null))try{this[_0x210281(0x1ef)]=_0x35ee99[_0x210281(0x1e9)](require,_0xc9999e);}catch(_0x1c79dd){console[_0x210281(0x1d5)](_0x210281(0x265)+_0xc9999e);}if(_0x35ee99[_0x210281(0x1f1)](this[_0x210281(0x1ef)],null)){const _0x5465e8={};_0x5465e8[_0x210281(0x254)]=_0x386ec4['reporterOption'],this[_0x210281(0x1ef)]=new this[(_0x210281(0x1ef))](_0x221f3d,_0x5465e8);}}}['indent'](){const _0x5df4ff=a25_0x587356,_0x2b5d0a={'rUmjA':function(_0x35402e,_0x47d3be){return _0x35402e(_0x47d3be);}};return _0x2b5d0a[_0x5df4ff(0x1f4)](Array,this[_0x5df4ff(0x264)])['join']('\x20\x20');}[a25_0x587356(0x208)](){const _0x35c800=a25_0x587356;this[_0x35c800(0x264)]++;}[a25_0x587356(0x186)](){const _0x2aa25a=a25_0x587356;this[_0x2aa25a(0x264)]--;}[a25_0x587356(0x1e6)](_0x13593b){this['docHtml']+=_0x13593b;}['done'](_0xa5bcc8,_0x2e39df){const _0x1fd098=a25_0x587356,_0x484132={'OHswm':function(_0x3702b7,_0x583853){return _0x3702b7(_0x583853);}},_0x38699b={};_0x38699b[_0x1fd098(0x14e)]=_0xa5bcc8,_0x38699b[_0x1fd098(0x1cf)]=this['finalResults'],_0x484132[_0x1fd098(0x184)](_0x2e39df,_0x38699b);}[a25_0x587356(0x22e)](){const _0x5d82f9=a25_0x587356;process[_0x5d82f9(0x1a4)]('bs:addLog:'+process['pid']),process['on'](_0x5d82f9(0x1ea)+process[_0x5d82f9(0x154)],this[_0x5d82f9(0x1b9)][_0x5d82f9(0x1bc)](this)),process['removeAllListeners'](_0x5d82f9(0x1d7)+process[_0x5d82f9(0x154)]),process['on']('bs:addPlatformDetails:'+process[_0x5d82f9(0x154)],this[_0x5d82f9(0x1c4)][_0x5d82f9(0x1bc)](this));}[a25_0x587356(0x17e)]=async _0x5b38d0=>{const _0x15b49d=a25_0x587356,_0x5afb9f={'uKleb':function(_0x2558d9){return _0x2558d9();},'vkwrq':function(_0x5d5de1,_0x5975f6){return _0x5d5de1>_0x5975f6;},'ZsjqU':function(_0x2d7f6f,_0x5b9784){return _0x2d7f6f===_0x5b9784;},'KSAFv':_0x15b49d(0x26e),'gxfmt':function(_0x2cc572,_0xe1b28e){return _0x2cc572(_0xe1b28e);}};try{const _0x10bc66=this[_0x15b49d(0x1de)];this[_0x15b49d(0x1de)]=_0x5b38d0,_0x5b38d0[_0x15b49d(0x242)]=null,_0x5b38d0[_0x15b49d(0x267)]=_0x5afb9f[_0x15b49d(0x19e)](uuidv4),_0x5b38d0[_0x15b49d(0x1cc)]=new Date()['toISOString'](),_0x5afb9f[_0x15b49d(0x15a)](_0x5b38d0[_0x15b49d(0x161)],0x0)&&_0x10bc66&&_0x5afb9f[_0x15b49d(0x1f8)](_0x10bc66[_0x15b49d(0x243)],_0x5b38d0[_0x15b49d(0x243)])?(_0x5b38d0[_0x15b49d(0x242)]=_0x10bc66[_0x15b49d(0x267)],await this[_0x15b49d(0x25a)](_0x5b38d0,undefined,![],_0x5afb9f[_0x15b49d(0x14a)]),_0x10bc66['state']=STATE_FAILED,await this[_0x15b49d(0x25a)](_0x10bc66,undefined,!![])):await this['sendTestRunEvent'](_0x5b38d0,undefined,![],_0x5afb9f[_0x15b49d(0x14a)]);}catch(_0x4c1321){_0x5afb9f[_0x15b49d(0x18a)](debug,_0x15b49d(0x174)+_0x4c1321);}};['sendTestRunEvent']=async(_0x3f5ad7,_0x5dfea4=undefined,_0x2371c0=![],_0x13aeeb=a25_0x587356(0x193))=>{const _0x1c177b=a25_0x587356,_0x1730fc={'VsYUH':function(_0x4dc48e,_0xea03f2){return _0x4dc48e===_0xea03f2;},'aqyjo':function(_0xb6271b,_0x31beff){return _0xb6271b!==_0x31beff;},'BjXpr':'test','kJbJw':_0x1c177b(0x165),'zcRda':function(_0x4859cb,_0x4f8f12){return _0x4859cb!==_0x4f8f12;},'UGLjc':function(_0x1c6618,_0x182dab){return _0x1c6618!==_0x182dab;},'DggTU':'File\x20path\x20could\x20not\x20be\x20found','EzfNS':_0x1c177b(0x230),'Yikgt':_0x1c177b(0x247),'hxbaD':'TestRunSkipped','bfing':_0x1c177b(0x261),'yOslj':function(_0x527abb,_0x34a702){return _0x527abb-_0x34a702;},'tHSKh':_0x1c177b(0x20d),'eQdeu':_0x1c177b(0x235),'zHLko':_0x1c177b(0x1cc),'redTL':_0x1c177b(0x197),'kJJPA':function(_0x23efd3,_0x4d580e){return _0x23efd3(_0x4d580e);},'uJqNi':function(_0x4a7061,_0x251b36){return _0x4a7061===_0x251b36;},'uMydM':'HookRunFinished','IxDGy':function(_0x4d1c72,_0x4228ff){return _0x4d1c72!==_0x4228ff;},'BhWYv':_0x1c177b(0x248),'Cucjs':'passed','BYGGe':function(_0xcac186,_0x38ac56){return _0xcac186===_0x38ac56;},'xkZwI':_0x1c177b(0x15f),'CARIx':function(_0x37ba58,_0x3b18ff){return _0x37ba58===_0x3b18ff;},'PILXh':_0x1c177b(0x26c),'thnnd':_0x1c177b(0x240),'yZifc':'backtrace','DVlHd':_0x1c177b(0x1f3),'aHITT':_0x1c177b(0x1cb),'dSLHA':_0x1c177b(0x193),'dYIIL':function(_0x1c026b,_0x36558e){return _0x1c026b(_0x36558e);},'BoXad':_0x1c177b(0x1a9),'JCPBn':_0x1c177b(0x15e),'Yskap':_0x1c177b(0x1ce)};try{if(_0x3f5ad7['body']&&_0x3f5ad7['body'][_0x1c177b(0x176)](/browserstack internal helper hook/))return;let _0x2a044b=[];if(_0x1730fc[_0x1c177b(0x249)](_0x3f5ad7[_0x1c177b(0x24c)],STATE_FAILED)){if(_0x1730fc['aqyjo'](_0x3f5ad7[_0x1c177b(0x165)],undefined))_0x2a044b=_0x3f5ad7[_0x1c177b(0x165)][_0x1c177b(0x1be)]?[_0x3f5ad7[_0x1c177b(0x165)][_0x1c177b(0x1be)],_0x1730fc['BjXpr']]:[_0x3f5ad7[_0x1c177b(0x165)],_0x1730fc['kJbJw']];else _0x1730fc[_0x1c177b(0x1d2)](_0x5dfea4,undefined)?_0x2a044b=[_0x5dfea4,_0x1730fc[_0x1c177b(0x24e)]]:_0x2a044b=[];}const _0x198a5f=_0x1730fc[_0x1c177b(0x253)](_0x3f5ad7[_0x1c177b(0x165)],undefined)?_0x3f5ad7[_0x1c177b(0x165)][_0x1c177b(0x1c7)]():_0x1730fc[_0x1c177b(0x1b1)](_0x5dfea4,undefined)?_0x5dfea4[_0x1c177b(0x1c7)]():undefined;let _0x98b315;try{_0x98b315=this['getRootParentFile'](_0x3f5ad7);}catch(_0x4ab59f){_0x98b315=null;}const _0x45e476=_0x98b315?this['findGitConfig'](_0x98b315):null,_0x14599c=_0x98b315?this[_0x1c177b(0x266)][_0x1c177b(0x180)](this[_0x1c177b(0x1e1)](_0x3f5ad7)):_0x1730fc[_0x1c177b(0x190)],_0x559317={'framework':_0x1730fc['EzfNS'],'uuid':_0x3f5ad7[_0x1c177b(0x267)]||_0x3f5ad7[_0x1c177b(0x1ae)],'name':_0x3f5ad7[_0x1c177b(0x243)],'body':{'lang':_0x1730fc[_0x1c177b(0x1d0)],'code':_0x3f5ad7['body']},'scope':this['scope'](_0x3f5ad7),'scopes':this[_0x1c177b(0x1a2)](_0x3f5ad7),'identifier':_0x3f5ad7[_0x1c177b(0x169)](),'file_name':_0x14599c,'vc_filepath':_0x45e476?path[_0x1c177b(0x1fc)](_0x45e476,_0x98b315):null,'location':_0x14599c,'result':_0x1730fc[_0x1c177b(0x249)](_0x13aeeb,_0x1730fc[_0x1c177b(0x22a)])?_0x1730fc[_0x1c177b(0x1c9)]:this[_0x1c177b(0x219)](_0x3f5ad7[_0x1c177b(0x24c)]),'failure_reason':_0x198a5f,'duration_in_ms':_0x3f5ad7[_0x1c177b(0x231)]||(_0x13aeeb[_0x1c177b(0x176)](/Finished/)||_0x13aeeb[_0x1c177b(0x176)](/Skipped/)?_0x1730fc[_0x1c177b(0x162)](Date[_0x1c177b(0x149)](),new Date(_0x3f5ad7[_0x1c177b(0x1cc)])['getTime']()):null),'started_at':_0x3f5ad7[_0x1c177b(0x1cc)],'finished_at':_0x13aeeb['match'](/Finished/)||_0x13aeeb[_0x1c177b(0x176)](/Skipped/)?new Date()[_0x1c177b(0x1ba)]():null,'failure':failureData[_0x1c177b(0x156)](null,_0x2a044b),'failure_type':!_0x198a5f?null:_0x198a5f[_0x1c177b(0x176)](/AssertionError/)?_0x1730fc[_0x1c177b(0x256)]:_0x1730fc['eQdeu'],'retry_of':_0x3f5ad7[_0x1c177b(0x242)]};testhubUtils['appendTesthubParams'](_0x559317,_0x13aeeb,_0x3f5ad7,FRAMEWORKS[_0x1c177b(0x241)]);_0x1730fc[_0x1c177b(0x249)](_0x13aeeb,_0x1730fc['hxbaD'])&&!_0x559317[_0x1730fc[_0x1c177b(0x233)]]&&(_0x559317[_0x1730fc[_0x1c177b(0x233)]]=_0x559317[_0x1730fc[_0x1c177b(0x24d)]]);if(_0x13aeeb['match'](/HookRun/))[_0x559317[_0x1c177b(0x1a9)],_0x559317['name']]=_0x1730fc[_0x1c177b(0x225)](getHookDetails,_0x3f5ad7[_0x1c177b(0x169)]()||_0x3f5ad7['originalTitle']||_0x3f5ad7[_0x1c177b(0x243)]),_0x1730fc[_0x1c177b(0x187)](_0x13aeeb,_0x1730fc[_0x1c177b(0x1dc)])&&(_0x1730fc['IxDGy'](_0x559317['result'],_0x1730fc[_0x1c177b(0x26b)])&&(_0x559317[_0x1c177b(0x1b4)]=_0x1730fc[_0x1c177b(0x229)]),_0x1730fc[_0x1c177b(0x189)](_0x559317[_0x1c177b(0x1a9)],_0x1730fc[_0x1c177b(0x22f)])&&_0x1730fc['CARIx'](_0x559317[_0x1c177b(0x1b4)],_0x1730fc[_0x1c177b(0x26b)])&&!_0x3f5ad7[_0x1c177b(0x16f)]['currentTest'][_0x1c177b(0x157)]&&(_0x3f5ad7[_0x1c177b(0x16f)]['currentTest'][_0x1c177b(0x157)]=!![],_0x3f5ad7[_0x1c177b(0x16f)]['currentTest']['state']=STATE_FAILED,await this[_0x1c177b(0x25a)](_0x3f5ad7['ctx'][_0x1c177b(0x1e8)],undefined,!![])));else _0x13aeeb['match'](/TestRun/)&&_0x1730fc[_0x1c177b(0x225)](mapTestHooks,_0x3f5ad7);const _0x2fbc15=_0x559317[_0x1730fc[_0x1c177b(0x1d4)]][0x0];_0x2fbc15&&(_0x559317[_0x1730fc[_0x1c177b(0x245)]]=_0x2fbc15[_0x1730fc[_0x1c177b(0x216)]],_0x559317[_0x1730fc['DVlHd']]=_0x2fbc15[_0x1730fc['aHITT']]);[_0x1730fc['dSLHA'],_0x1730fc['hxbaD']]['includes'](_0x13aeeb)&&(this[_0x1c177b(0x1c0)][_0x1c177b(0x19b)](_0x559317),_0x559317[_0x1c177b(0x1e3)]=_0x1730fc['dYIIL'](getHooksForTest,_0x3f5ad7));const _0x59236f={'event_type':_0x1730fc[_0x1c177b(0x187)](_0x13aeeb,_0x1730fc[_0x1c177b(0x22a)])?_0x1730fc[_0x1c177b(0x222)]:_0x13aeeb};_0x13aeeb[_0x1c177b(0x176)](/HookRun/)?(_0x559317[_0x1730fc[_0x1c177b(0x199)]]=HOOK_TYPES_MAP[_0x559317[_0x1730fc[_0x1c177b(0x199)]]],_0x59236f[_0x1730fc[_0x1c177b(0x166)]]=_0x559317):_0x59236f[_0x1730fc[_0x1c177b(0x191)]]=_0x559317,testhubUtils[_0x1c177b(0x150)](FRAMEWORKS[_0x1c177b(0x241)],_0x59236f),await SessionHandler[_0x1c177b(0x20e)](_0x59236f);}catch(_0x43a001){_0x1730fc[_0x1c177b(0x225)](debug,_0x1c177b(0x18c)+_0x13aeeb+_0x1c177b(0x251)+_0x43a001);}};[a25_0x587356(0x19a)](_0x301f3d){const _0x167bf9=a25_0x587356,_0x34f0c0={};_0x34f0c0[_0x167bf9(0x170)]=function(_0x263b71,_0x54fe4a){return _0x263b71===_0x54fe4a;},_0x34f0c0['VJnik']=_0x167bf9(0x1ed),_0x34f0c0['TYjWu']='config';const _0x55cde1=_0x34f0c0,_0x1db468=path[_0x167bf9(0x21f)];if(_0x55cde1['CIvKF'](_0x301f3d,null)||_0x55cde1['CIvKF'](_0x301f3d,'')||_0x55cde1['CIvKF'](_0x301f3d,_0x1db468))return null;try{return fs[_0x167bf9(0x263)](path['join'](_0x301f3d,_0x55cde1[_0x167bf9(0x1f0)],_0x55cde1[_0x167bf9(0x234)])),_0x301f3d;}catch(_0x566f08){const _0x12b709=path[_0x167bf9(0x16b)](_0x301f3d);return this[_0x167bf9(0x19a)](_0x12b709);}}[a25_0x587356(0x1b9)]=async _0x5b184f=>{const _0x352897=a25_0x587356,_0x540b10={'KccZL':_0x352897(0x1dd),'fbPrA':function(_0x25c50c,_0x23801e){return _0x25c50c(_0x23801e);}};try{this[_0x352897(0x1fe)]&&!this[_0x352897(0x1fe)][_0x352897(0x157)]&&(_0x5b184f['hook_run_uuid']=this[_0x352897(0x1fe)][_0x352897(0x1ae)]);!_0x5b184f[_0x352897(0x211)]&&this[_0x352897(0x1de)]&&!this[_0x352897(0x1de)][_0x352897(0x157)]&&(_0x5b184f['test_run_uuid']=this[_0x352897(0x1de)][_0x352897(0x267)]);if(_0x5b184f[_0x352897(0x211)]||_0x5b184f['test_run_uuid']){const _0xbfa964={};_0xbfa964[_0x352897(0x236)]=_0x540b10['KccZL'],_0xbfa964[_0x352897(0x25d)]=[_0x5b184f],await SessionHandler[_0x352897(0x20e)](_0xbfa964);}}catch(_0x20686f){_0x540b10[_0x352897(0x1b3)](debug,_0x352897(0x1b0)+_0x20686f);}};[a25_0x587356(0x1c4)]=async _0x42a5b0=>{const _0x58c565=a25_0x587356,_0x5cdffc={'XMaVI':'http_response','RDQno':'CBTSessionCreated','zkdpU':function(_0x4d604a,_0x4b627b){return _0x4d604a(_0x4b627b);}};try{const _0x13d2ac={};_0x13d2ac[_0x58c565(0x22d)]=_0x42a5b0['uuid']||this[_0x58c565(0x1de)][_0x58c565(0x267)],_0x13d2ac[_0x58c565(0x173)]=_0x42a5b0[_0x5cdffc[_0x58c565(0x215)]];const _0x5f55dc=_0x13d2ac,_0x2b3314={};_0x2b3314[_0x58c565(0x236)]=_0x5cdffc[_0x58c565(0x16d)],_0x2b3314[_0x58c565(0x1ce)]=_0x5f55dc,await SessionHandler[_0x58c565(0x20e)](_0x2b3314);}catch(_0x906d27){_0x5cdffc['zkdpU'](debug,_0x58c565(0x17c)+_0x906d27);}};['analyticsResult'](_0x27208d){const _0x210d6c=a25_0x587356,_0x22bd81={};_0x22bd81[_0x210d6c(0x1a3)]=_0x210d6c(0x252),_0x22bd81[_0x210d6c(0x160)]='pending',_0x22bd81[_0x210d6c(0x1cd)]=_0x210d6c(0x248);const _0x5c8e66=_0x22bd81,_0x39e02f={};return _0x39e02f[STATE_PASSED]=_0x5c8e66['EEBHT'],_0x39e02f[STATE_PENDING]=_0x5c8e66[_0x210d6c(0x160)],_0x39e02f[STATE_FAILED]=_0x5c8e66['YwjAF'],_0x39e02f[_0x27208d];}[a25_0x587356(0x1bf)](_0x57051d){const _0x22e730=a25_0x587356,_0x2b2572={};_0x2b2572[_0x22e730(0x1c6)]=function(_0x514a70,_0xe24c46){return _0x514a70-_0xe24c46;};const _0x5b8715=_0x2b2572,_0x4cd30a=_0x57051d['titlePath']();return _0x4cd30a['slice'](0x0,_0x5b8715[_0x22e730(0x1c6)](_0x4cd30a[_0x22e730(0x192)],0x1))[_0x22e730(0x1da)]('\x20');}[a25_0x587356(0x1a2)](_0x185324){const _0x3d575c=a25_0x587356,_0x423131={};_0x423131['rvZcY']=function(_0x1f6f63,_0x3b459c){return _0x1f6f63-_0x3b459c;};const _0x4760bf=_0x423131,_0x1755d5=_0x185324['titlePath']();return _0x1755d5[_0x3d575c(0x18e)](0x0,_0x4760bf['rvZcY'](_0x1755d5[_0x3d575c(0x192)],0x1));}['getRootParentFile'](_0x5493ef){const _0x333b42=a25_0x587356,_0x4da047={};_0x4da047[_0x333b42(0x227)]=function(_0x51405b,_0x2bfbf0){return _0x51405b>_0x2bfbf0;};const _0x36aba7=_0x4da047;if(_0x5493ef[_0x333b42(0x175)])return _0x5493ef[_0x333b42(0x175)];if(_0x5493ef[_0x333b42(0x16f)]){const _0x363746=_0x5493ef['ctx'][_0x333b42(0x1e8)]?this['getRootParentFile'](_0x5493ef['ctx']['currentTest']):null;if(_0x363746)return _0x363746;}if(_0x5493ef[_0x333b42(0x1b5)]){const _0x23eb81=this['getRootParentFile'](_0x5493ef['parent'])||(_0x5493ef['parent']['ctx']&&_0x5493ef[_0x333b42(0x1b5)][_0x333b42(0x16f)][_0x333b42(0x1e8)]?this[_0x333b42(0x1e1)](_0x5493ef[_0x333b42(0x1b5)]['ctx'][_0x333b42(0x1e8)]):null);if(_0x23eb81)return _0x23eb81;_0x5493ef[_0x333b42(0x1b5)][_0x333b42(0x25e)]&&_0x36aba7[_0x333b42(0x227)](_0x5493ef[_0x333b42(0x1b5)][_0x333b42(0x25e)][_0x333b42(0x192)],0x0)&&_0x5493ef[_0x333b42(0x1b5)]['suites'][_0x333b42(0x201)](_0x26ec92=>{const _0x423242=_0x333b42,_0x1695f0=_0x26ec92[_0x423242(0x16f)]?this[_0x423242(0x1e1)](_0x26ec92[_0x423242(0x16f)]):null;if(_0x1695f0)return _0x1695f0;});}return null;}}module[a25_0x587356(0x163)]=MyReporter;
|
|
1
|
+
'use strict';const a25_0x48a636=a25_0x1112;function a25_0x4b11(){const _0x1b996c=['slice','done','started_at','doc','inspect','getRootParentFile','DIaOd','_paths','MOCHA','vZKLY','length','0|4|3|2|1','escape','file','kZCUZ','current_test','KfYxy','1JiIWTd','symbols','WppFA','setCurrentTestData','YNcDX','%s\x20-\x20%s','EKYRF','backtrace','Tfyrd','failure','test','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','</code></pre></dd>','TeKfx','CRkmG','originalTitle','parent','mocha/lib/utils.js','PUJIq','TestRunFinished','\x20\x20<dd><pre><code>','\x20with\x20error\x20:\x20','cPMvl','bSjhq','retryOf','bs:addLog:','FRUmJ','2921415jQGVcA','green','UyWyU','llwaT','hookAnalyticsId','VHLVJ','mxeiA','apply','bsConfig','PiPeE','607388leaWHc','sendTestRunEvent','fbzkZ','<dl>','toString','hook_type','xOFzY','toISOString','vIukk','_testEnv','24662qWmZSB','runner','EEohE','testAnalyticsId','vhRYA','testObservability','color','fxsaV','zjNxO','8MhqDsK','bright\x20yellow','bvqeC','before\x20all','isPending','fvekq','syJeN','wjWOv','qlQBl','\x20\x20<dd\x20class=\x22error\x22>','\x20\x20<dt\x20class=\x22error\x22>','test_run','__platform__','duration','16156THMeXa','OBrYK','EOpvT','docAppend','Failed\x20to\x20load\x20reporter\x20','once','.git','UEolz','faUCV','xuqze','bs:addPlatformDetails:','UEWjC','path','kNaQQ','testStarted','yhQOH','bang','3790rbbOyc','match','Mocha','wWNwk','\x20\x20%d)\x20%s','appendTestItemLog','\x20\x20<dt>','err','Tpcze','suiteCount','ShfEF','yFQPl','699939znLeEO','RkUQf','UYoiV','error','xhCZJ','lWkCJ','<section\x20class=\x22suite\x22>','../../../helpers/test-observability/utils','HookRunStarted','skipped','title','currentRetry','mhoYU','root','%s\x20','reporterOptions','findGitConfig','hook_run','getInstance','docHtml','currentTest','removeAllListeners','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','speed','fast','YJcYH','UYjXC','aFOJG','xunit','FYaid','scopes','now','trim','ZXCus','decreaseIndent','</section>','LSDLo','../../../helpers/test-observability/requestQueueHandler','increaseIndent','xfrWV','../test-observability/mochaUtils','JYKoT','XXjTK','passed','results','suites','finalResults','uploadEventData','sqZaZ','</dt>','name','qVEHc','indent','Reporter','otePx','YzVsv','DUyPw','jHtni','gZASw','50ZDFYgF','titlePath','\x20-\x20','vyRRw','cwd','Vyjnh','statSync','join','BEFORE_ALL','SDElS','dphNj','xgYjB','uaaXa','pqXRR','relative','ctx','mocha/lib/reporters/base.js','1355382wnXWcr','Runner','oZRID','vsVLm','lEXMR','_upstreamConfig','DnecI','failCount','reporterOption','EVENT','write','bind','wCwig','includes','bAcJh','mocha/lib/runnable.js','light','eqRvK','analyticsResult','comma','peCtx','prefixTestPath','LQpuf','HwLPm','AFTER_ALL','type','</dd>','config','\x20%s','stdout','body','checkmark','BEFORE_EACH','shouldProcessEventForTesthub','http_response','xafrs','split','call','pending','../../../helpers/test-observability/constants','CBTSessionCreated','slow','_currentRetry','pYGwr','OscFW','mocha','failed','pass','HookRunFinished','consoleLog','_indents','location_prefix','.js','EomJB','hook_run_uuid','jopAS','pid','fail','COMPLETED','TestRunStarted','sTtRv','\x20\x20<dd\x20class=\x22error\x22><pre><code>','lMlRD','state','KSCwt','uHbTO','ASujl','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','UnhandledError','<h1>','markedStatus','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','uuid','prototype','CUwvt','after\x20all','forEach','pGnIB','current_hook','WeEKx','OZEze','multiple','rkiaJ','fzjSy','fullTitle','2522082eswoGf','test_run_uuid','LogCreated','../../../helpers/testhub/utils','constants','../../../helpers/helper','__indents','appendTestPlatform','APANI','../../../helpers/testhub/constants','scope','AssertionError','before\x20each','oXIbT','clean','event_type','</dl>','push','dot','failure_reason_expanded','result','lxSEW'];a25_0x4b11=function(){return _0x1b996c;};return a25_0x4b11();}(function(_0x3e5b31,_0x548ac6){const _0x5918b2=a25_0x1112,_0x414766=_0x3e5b31();while(!![]){try{const _0x413682=parseInt(_0x5918b2(0x141))/0x1*(-parseInt(_0x5918b2(0x166))/0x2)+parseInt(_0x5918b2(0x1f0))/0x3+parseInt(_0x5918b2(0x187))/0x4*(parseInt(_0x5918b2(0x1df))/0x5)+parseInt(_0x5918b2(0x11a))/0x6+-parseInt(_0x5918b2(0x15c))/0x7*(-parseInt(_0x5918b2(0x179))/0x8)+parseInt(_0x5918b2(0x1a4))/0x9+-parseInt(_0x5918b2(0x198))/0xa*(parseInt(_0x5918b2(0x170))/0xb);if(_0x413682===_0x548ac6)break;else _0x414766['push'](_0x414766['shift']());}catch(_0x46ba3d){_0x414766['push'](_0x414766['shift']());}}}(a25_0x4b11,0x3e11b));const util=require('util'),fs=require('fs'),path=require(a25_0x48a636(0x193)),{requireModule}=require(a25_0x48a636(0x11f)),Base=requireModule(a25_0x48a636(0x1ef)),utils=requireModule(a25_0x48a636(0x152)),color=Base[a25_0x48a636(0x176)],Mocha=requireModule(a25_0x48a636(0x21d)),Runnable=requireModule(a25_0x48a636(0x1ff)),{v4:uuidv4}=require(a25_0x48a636(0x238)),bsSetupHelper=require(a25_0x48a636(0x11f)),testhubUtils=require(a25_0x48a636(0x11d)),testHubConstants=require(a25_0x48a636(0x123)),{FRAMEWORKS}=require(a25_0x48a636(0x217)),a25_0x27bbe7={};a25_0x27bbe7[a25_0x48a636(0x17c)]=a25_0x48a636(0x1e7),a25_0x27bbe7[a25_0x48a636(0x23b)]=a25_0x48a636(0x208),a25_0x27bbe7[a25_0x48a636(0x126)]=a25_0x48a636(0x210),a25_0x27bbe7['after\x20each']='AFTER_EACH';const HOOK_TYPES_MAP=a25_0x27bbe7,{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_0x48a636(0x1f1)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x48a636(0x11e)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0x48a636(0x1cc)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x48a636(0x1ab)),RequestQueueHandler=require(a25_0x48a636(0x1c9)),requestQueueHandler=RequestQueueHandler[a25_0x48a636(0x1b6)]();function a25_0x1112(_0x575f2b,_0x25442a){const _0x4b11ba=a25_0x4b11();return a25_0x1112=function(_0x111222,_0x3ef8e9){_0x111222=_0x111222-0x111;let _0x113d7a=_0x4b11ba[_0x111222];return _0x113d7a;},a25_0x1112(_0x575f2b,_0x25442a);}class MyReporter{constructor(_0x30cccf,_0x48970e){const _0x32480d=a25_0x48a636,_0x568d78={'Tpcze':function(_0x2c6af7,_0x2f476e){return _0x2c6af7===_0x2f476e;},'xafrs':'spec','xOFzY':function(_0x270928,_0x11f3ac){return _0x270928===_0x11f3ac;},'LwMow':function(_0x106f95,_0x4b0049){return _0x106f95+_0x4b0049;},'pYGwr':function(_0x205cb8,_0x3cc4e4){return _0x205cb8+_0x3cc4e4;},'qlQBl':function(_0x807180,_0x1fab38,_0x5b289c){return _0x807180(_0x1fab38,_0x5b289c);},'yKdPp':_0x32480d(0x15d),'yFQPl':_0x32480d(0x1b2),'DnecI':function(_0x178db5,_0x374c06,_0x134776){return _0x178db5(_0x374c06,_0x134776);},'KfYxy':_0x32480d(0x200),'LQpuf':_0x32480d(0x146),'DIaOd':'RUNNING','cPMvl':_0x32480d(0x133),'XXjTK':function(_0x906c46,_0x139d19){return _0x906c46===_0x139d19;},'vhRYA':function(_0x1c7de3){return _0x1c7de3();},'aUSLG':_0x32480d(0x1ac),'xVFve':function(_0x22ff81,_0x34101e){return _0x22ff81===_0x34101e;},'faUCV':_0x32480d(0x220),'uBAPI':_0x32480d(0x1cf),'UyWyU':function(_0x2e6c3b,_0x2d5f20){return _0x2e6c3b===_0x2d5f20;},'lMlRD':_0x32480d(0x1bc),'xfrWV':function(_0x5aca72,_0x5501d0){return _0x5aca72+_0x5501d0;},'uHbTO':function(_0x553cad,_0x2ce00d,_0xa9d5e5){return _0x553cad(_0x2ce00d,_0xa9d5e5);},'CRkmG':_0x32480d(0x20f),'FRUmJ':_0x32480d(0x21f),'DUyPw':_0x32480d(0x20c),'WeEKx':function(_0x117355,_0x54cd55,_0x58f986){return _0x117355(_0x54cd55,_0x58f986);},'fCwyF':'\x20(%dms)','qVEHc':_0x32480d(0x229),'xgBfn':_0x32480d(0x19c),'oXIbT':function(_0x34109d,_0x5beb2d){return _0x34109d===_0x5beb2d;},'OBrYK':_0x32480d(0x17a),'XIHCF':_0x32480d(0x22a),'Tfyrd':_0x32480d(0x12c),'SDElS':_0x32480d(0x219),'Vyjnh':function(_0x17bdd5,_0x2978d6){return _0x17bdd5===_0x2978d6;},'YJcYH':function(_0x742db0,_0x18997a){return _0x742db0===_0x18997a;},'dphNj':_0x32480d(0x13b),'pqXRR':function(_0x47b17e,_0x4787ca){return _0x47b17e===_0x4787ca;},'KSCwt':function(_0x49e56f,_0xcdf1cf){return _0x49e56f===_0xcdf1cf;},'APANI':_0x32480d(0x216),'UYoiV':function(_0x2acccf,_0x575579){return _0x2acccf===_0x575579;},'lWkCJ':function(_0x20c580){return _0x20c580();},'sqZaZ':'TestRunSkipped','NtLfy':function(_0x125ede,_0xcaef76){return _0x125ede===_0xcaef76;},'fbzkZ':function(_0x3fb011,_0x5ae539){return _0x3fb011(_0x5ae539);},'CUwvt':function(_0x1db953){return _0x1db953();},'hiRHH':_0x32480d(0x1c0),'VHLVJ':function(_0x2ee5dd,_0xd08648){return _0x2ee5dd===_0xd08648;},'PxJIH':function(_0x4e3a98,_0x62b87d){return _0x4e3a98!==_0x62b87d;}};this[_0x32480d(0x209)]=_0x48970e[_0x32480d(0x1f8)]['type'],this[_0x32480d(0x175)]=_0x568d78[_0x32480d(0x23a)](isTestObservabilitySession),Base[_0x32480d(0x215)](this,_0x30cccf,_0x48970e),this['_indents']=0x0,this[_0x32480d(0x1f7)]=0x0,this['results']=[],this[_0x32480d(0x1d2)]=[],this[_0x32480d(0x1a1)]=0x0,this['_buildCreated']=![],this['_testResults']=[],this[_0x32480d(0x16f)]=_0x568d78['lWkCJ'](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x32480d(0x1e3)]()},this[_0x32480d(0x16f)][_0x32480d(0x223)]),this[_0x32480d(0x1f5)]=_0x48970e[_0x32480d(0x1f8)][_0x32480d(0x164)],this['registerListeners']();_0x568d78['UyWyU'](this['type'],_0x568d78['cPMvl'])&&(this[_0x32480d(0x1b7)]='',this[_0x32480d(0x120)]=0x2);_0x30cccf[_0x32480d(0x18c)](EVENT_RUN_BEGIN,async()=>{const _0x3f6bb4=_0x32480d;_0x568d78[_0x3f6bb4(0x1a0)](this[_0x3f6bb4(0x209)],_0x568d78[_0x3f6bb4(0x213)])&&Base[_0x3f6bb4(0x221)]();})['on'](EVENT_SUITE_BEGIN,_0xd8f0ea=>{const _0x479bd0=_0x32480d;if(_0xd8f0ea[_0x479bd0(0x1b1)])return;if(_0x568d78[_0x479bd0(0x16c)](this[_0x479bd0(0x209)],_0x568d78['xafrs']))this[_0x479bd0(0x1ca)](),Base[_0x479bd0(0x221)](_0x568d78['LwMow'](_0x568d78['pYGwr'](this['indent'](),_0x568d78[_0x479bd0(0x181)](color,_0x568d78['yKdPp'],_0x568d78['yFQPl'])),_0x568d78[_0x479bd0(0x1f6)](color,_0x568d78[_0x479bd0(0x140)],_0x568d78[_0x479bd0(0x206)])),_0x568d78[_0x479bd0(0x136)],_0xd8f0ea[_0x479bd0(0x1ae)],global[_0x479bd0(0x185)]);else _0x568d78[_0x479bd0(0x1a0)](this['type'],_0x568d78[_0x479bd0(0x157)])&&(this['docAppend'](this[_0x479bd0(0x1d8)]()+_0x479bd0(0x1aa)),++this[_0x479bd0(0x120)],this[_0x479bd0(0x18a)](this['indent']()+_0x479bd0(0x235)+utils['escape'](_0xd8f0ea[_0x479bd0(0x1ae)]+_0x479bd0(0x1e1)+global[_0x479bd0(0x185)])+'</h1>'),this[_0x479bd0(0x18a)](this[_0x479bd0(0x1d8)]()+_0x479bd0(0x169)));})['on'](EVENT_HOOK_BEGIN,async _0x11724a=>{const _0x5b0623=_0x32480d;if(_0x568d78['XXjTK'](testhubUtils[_0x5b0623(0x211)](testHubConstants[_0x5b0623(0x1f9)]['HookStarted']),!![])){if(!_0x11724a['hookAnalyticsId'])_0x11724a[_0x5b0623(0x160)]=_0x568d78[_0x5b0623(0x174)](uuidv4);else _0x11724a[_0x5b0623(0x236)]&&(_0x11724a['hookAnalyticsId']=_0x568d78[_0x5b0623(0x174)](uuidv4),delete _0x11724a[_0x5b0623(0x236)]);_0x11724a['started_at']=new Date()['toISOString'](),this[_0x5b0623(0x113)]=_0x11724a,await this[_0x5b0623(0x167)](_0x11724a,undefined,![],_0x568d78['aUSLG']);}})['on'](EVENT_HOOK_END,async _0x451ec7=>{const _0x14f8c3=_0x32480d;_0x568d78['xVFve'](testhubUtils[_0x14f8c3(0x211)](testHubConstants[_0x14f8c3(0x1f9)]['HookFinished']),!![])&&(!_0x451ec7[_0x14f8c3(0x236)]&&(_0x451ec7[_0x14f8c3(0x236)]=!![],await this[_0x14f8c3(0x167)](_0x451ec7,undefined,![],_0x568d78[_0x14f8c3(0x18f)])));})['on'](EVENT_SUITE_END,_0x1e92de=>{const _0x2a33e5=_0x32480d,_0x3acbc4={'UEWjC':function(_0x15d181,_0x51b936){const _0x1712cb=a25_0x1112;return _0x568d78[_0x1712cb(0x1ce)](_0x15d181,_0x51b936);},'lxSEW':_0x568d78['uBAPI'],'wjWOv':function(_0x4376a,_0x4facc4){const _0x81020e=a25_0x1112;return _0x568d78[_0x81020e(0x15e)](_0x4376a,_0x4facc4);},'ymcrL':_0x568d78[_0x2a33e5(0x22e)],'HwLPm':function(_0x59204e,_0x461ec9){const _0x1064a7=_0x2a33e5;return _0x568d78[_0x1064a7(0x21b)](_0x59204e,_0x461ec9);},'PUJIq':function(_0x3b9410,_0x45fdc5){return _0x568d78['xfrWV'](_0x3b9410,_0x45fdc5);},'UYjXC':function(_0x4c9872,_0x1d481b,_0x37b3e7){return _0x568d78['uHbTO'](_0x4c9872,_0x1d481b,_0x37b3e7);},'bAcJh':_0x568d78[_0x2a33e5(0x14f)],'RGkJy':function(_0x20d9ed,_0x2573e1,_0x544e17){const _0x48c286=_0x2a33e5;return _0x568d78[_0x48c286(0x181)](_0x20d9ed,_0x2573e1,_0x544e17);},'rrgum':_0x568d78[_0x2a33e5(0x15b)],'rkiaJ':_0x568d78[_0x2a33e5(0x1dc)],'SBpYV':function(_0x18a459,_0x11f286){const _0x302464=_0x2a33e5;return _0x568d78[_0x302464(0x21b)](_0x18a459,_0x11f286);},'vsVLm':function(_0x186fb5,_0x525904,_0x13f94d){const _0x5b2e0a=_0x2a33e5;return _0x568d78[_0x5b2e0a(0x114)](_0x186fb5,_0x525904,_0x13f94d);},'xhCZJ':function(_0x387330,_0x3c1e6b){const _0x5bd798=_0x2a33e5;return _0x568d78[_0x5bd798(0x1cb)](_0x387330,_0x3c1e6b);},'lTUqJ':function(_0x5626e6,_0x569cc8,_0x39ec23){const _0x1b490b=_0x2a33e5;return _0x568d78[_0x1b490b(0x231)](_0x5626e6,_0x569cc8,_0x39ec23);},'jopAS':_0x568d78['fCwyF'],'KZPjo':function(_0x1f2f0a,_0x548cee,_0x4d6312){const _0x5f12d9=_0x2a33e5;return _0x568d78[_0x5f12d9(0x114)](_0x1f2f0a,_0x548cee,_0x4d6312);},'vIukk':_0x568d78[_0x2a33e5(0x1d7)],'bvqeC':_0x568d78['xgBfn']};if(_0x1e92de[_0x2a33e5(0x1b1)])return;if(_0x568d78[_0x2a33e5(0x127)](this['type'],_0x568d78[_0x2a33e5(0x213)]))Base[_0x2a33e5(0x221)](),Base[_0x2a33e5(0x221)](_0x568d78['xfrWV'](_0x568d78[_0x2a33e5(0x1cb)](this[_0x2a33e5(0x1d8)](),_0x568d78[_0x2a33e5(0x114)](color,_0x568d78[_0x2a33e5(0x188)],_0x568d78[_0x2a33e5(0x1a3)])),_0x568d78['qlQBl'](color,_0x568d78[_0x2a33e5(0x140)],_0x568d78[_0x2a33e5(0x206)])),_0x568d78['XIHCF'],_0x1e92de[_0x2a33e5(0x1ae)],global[_0x2a33e5(0x185)]),this[_0x2a33e5(0x1d0)][_0x2a33e5(0x111)](_0x58f122=>{const _0x5b70b2=_0x2a33e5;if(_0x3acbc4[_0x5b70b2(0x192)](_0x58f122['state'],_0x3acbc4[_0x5b70b2(0x12f)])){var _0x35fd40;_0x3acbc4[_0x5b70b2(0x180)](_0x58f122[_0x5b70b2(0x1bb)],_0x3acbc4['ymcrL'])?(_0x35fd40=_0x3acbc4[_0x5b70b2(0x207)](_0x3acbc4['PUJIq'](this[_0x5b70b2(0x1d8)](),_0x3acbc4[_0x5b70b2(0x1be)](color,_0x3acbc4[_0x5b70b2(0x1fe)],_0x3acbc4[_0x5b70b2(0x153)]('\x20\x20',Base[_0x5b70b2(0x142)]['ok']))),_0x3acbc4['RGkJy'](color,_0x3acbc4['rrgum'],_0x3acbc4[_0x5b70b2(0x117)])),Base['consoleLog'](_0x35fd40,_0x58f122[_0x5b70b2(0x1ae)])):(_0x35fd40=_0x3acbc4['HwLPm'](_0x3acbc4[_0x5b70b2(0x207)](_0x3acbc4['SBpYV'](this['indent'](),_0x3acbc4['vsVLm'](color,_0x3acbc4[_0x5b70b2(0x1fe)],_0x3acbc4[_0x5b70b2(0x1a8)]('\x20\x20',Base[_0x5b70b2(0x142)]['ok']))),_0x3acbc4[_0x5b70b2(0x1f3)](color,_0x3acbc4['rrgum'],_0x3acbc4[_0x5b70b2(0x117)])),_0x3acbc4['lTUqJ'](color,_0x58f122[_0x5b70b2(0x1bb)],_0x3acbc4[_0x5b70b2(0x227)])),Base['consoleLog'](_0x35fd40,_0x58f122[_0x5b70b2(0x1ae)],_0x58f122[_0x5b70b2(0x186)]));}else Base[_0x5b70b2(0x221)](_0x3acbc4['HwLPm'](this[_0x5b70b2(0x1d8)](),_0x3acbc4['KZPjo'](color,_0x3acbc4[_0x5b70b2(0x16e)],_0x3acbc4[_0x5b70b2(0x17b)])),++this['failCount'],_0x58f122[_0x5b70b2(0x1ae)]);}),this['decreaseIndent']();else _0x568d78[_0x2a33e5(0x16c)](this[_0x2a33e5(0x209)],_0x568d78['cPMvl'])&&(this[_0x2a33e5(0x18a)](this['indent']()+_0x2a33e5(0x12a)),--this[_0x2a33e5(0x120)],this[_0x2a33e5(0x18a)](this[_0x2a33e5(0x1d8)]()+_0x2a33e5(0x1c7)),--this[_0x2a33e5(0x120)]);Array[_0x2a33e5(0x239)]['push'][_0x2a33e5(0x163)](this[_0x2a33e5(0x1d2)],this['results']),this[_0x2a33e5(0x1d0)]=[];})['on'](EVENT_TEST_PASS,async _0x18b20f=>{const _0x4e1c0f=_0x32480d;this[_0x4e1c0f(0x1d0)][_0x4e1c0f(0x12b)]({'speed':_0x18b20f[_0x4e1c0f(0x1bb)],'suite':_0x18b20f['parent'][_0x4e1c0f(0x1ae)],'title':_0x18b20f[_0x4e1c0f(0x1ae)],'fullTitle':_0x18b20f['fullTitle'](),'duration':_0x18b20f['duration'],'state':_0x18b20f[_0x4e1c0f(0x22f)],'err':{},'currentRetry':_0x18b20f[_0x4e1c0f(0x1af)](),'titlePathV':_0x18b20f['titlePath'](),'isPending':_0x18b20f[_0x4e1c0f(0x17d)]()});if(_0x568d78['xVFve'](this['type'],_0x568d78[_0x4e1c0f(0x149)]))_0x568d78['UyWyU'](_0x18b20f[_0x4e1c0f(0x1bb)],_0x568d78[_0x4e1c0f(0x1e8)])?process[_0x4e1c0f(0x20d)][_0x4e1c0f(0x1fa)](Base['color'](_0x568d78[_0x4e1c0f(0x188)],Base[_0x4e1c0f(0x142)]['dot'])):process[_0x4e1c0f(0x20d)][_0x4e1c0f(0x1fa)](Base[_0x4e1c0f(0x176)](_0x18b20f[_0x4e1c0f(0x1bb)],Base[_0x4e1c0f(0x142)][_0x4e1c0f(0x12c)]));else{if(_0x568d78[_0x4e1c0f(0x1e4)](this[_0x4e1c0f(0x209)],_0x568d78[_0x4e1c0f(0x157)])){this[_0x4e1c0f(0x18a)](this[_0x4e1c0f(0x1d8)]()+_0x4e1c0f(0x19e)+utils[_0x4e1c0f(0x13c)](_0x18b20f['title'])+_0x4e1c0f(0x1d5)),this[_0x4e1c0f(0x18a)](this[_0x4e1c0f(0x1d8)]()+_0x4e1c0f(0x19e)+utils[_0x4e1c0f(0x13c)](_0x18b20f[_0x4e1c0f(0x13d)])+_0x4e1c0f(0x1d5));var _0x47750c=utils[_0x4e1c0f(0x13c)](utils['clean'](_0x18b20f['body']));this[_0x4e1c0f(0x18a)](this[_0x4e1c0f(0x1d8)]()+_0x4e1c0f(0x155)+_0x47750c+_0x4e1c0f(0x14d));}}_0x568d78['Vyjnh'](testhubUtils[_0x4e1c0f(0x211)](),!![])&&(!_0x18b20f['markedStatus']&&(_0x18b20f[_0x4e1c0f(0x236)]=!![],await this[_0x4e1c0f(0x167)](_0x18b20f)));})['on'](EVENT_TEST_FAIL,async(_0x4ed680,_0x4a75ac)=>{const _0x4dbe8b=_0x32480d;this['results'][_0x4dbe8b(0x12b)]({'title':_0x4ed680[_0x4dbe8b(0x1ae)],'suite':_0x4ed680[_0x4dbe8b(0x151)][_0x4dbe8b(0x1ae)],'state':_0x4ed680[_0x4dbe8b(0x22f)],'err':{'message':util[_0x4dbe8b(0x134)](_0x4a75ac)},'fullTitle':_0x4ed680[_0x4dbe8b(0x119)](),'speed':_0x4ed680[_0x4dbe8b(0x1bb)],'currentRetry':_0x4ed680[_0x4dbe8b(0x1af)](),'titlePathV':_0x4ed680[_0x4dbe8b(0x1e0)]()});if(_0x568d78[_0x4dbe8b(0x1bd)](this[_0x4dbe8b(0x209)],_0x568d78[_0x4dbe8b(0x149)]))process[_0x4dbe8b(0x20d)][_0x4dbe8b(0x1fa)](Base['color'](_0x568d78[_0x4dbe8b(0x1d7)],Base[_0x4dbe8b(0x142)][_0x4dbe8b(0x197)]));else{if(_0x568d78['YJcYH'](this[_0x4dbe8b(0x209)],_0x568d78[_0x4dbe8b(0x157)])){const _0x43d199=_0x568d78[_0x4dbe8b(0x1e9)][_0x4dbe8b(0x214)]('|');let _0x5bef40=0x0;while(!![]){switch(_0x43d199[_0x5bef40++]){case'0':this[_0x4dbe8b(0x18a)](this[_0x4dbe8b(0x1d8)]()+_0x4dbe8b(0x183)+utils[_0x4dbe8b(0x13c)](_0x4ed680[_0x4dbe8b(0x1ae)])+_0x4dbe8b(0x1d5));continue;case'1':this[_0x4dbe8b(0x18a)](this[_0x4dbe8b(0x1d8)]()+_0x4dbe8b(0x182)+utils[_0x4dbe8b(0x13c)](_0x4ed680[_0x4dbe8b(0x19f)])+_0x4dbe8b(0x20a));continue;case'2':this['docAppend'](this[_0x4dbe8b(0x1d8)]()+_0x4dbe8b(0x22d)+_0x5b9234+_0x4dbe8b(0x14d));continue;case'3':var _0x5b9234=utils['escape'](utils[_0x4dbe8b(0x128)](_0x4ed680['body']));continue;case'4':this['docAppend'](this[_0x4dbe8b(0x1d8)]()+_0x4dbe8b(0x183)+utils[_0x4dbe8b(0x13c)](_0x4ed680[_0x4dbe8b(0x13d)])+'</dt>');continue;}break;}}}if(_0x568d78[_0x4dbe8b(0x1ec)](testhubUtils[_0x4dbe8b(0x211)](testHubConstants[_0x4dbe8b(0x1f9)]['HookFinished']),!![])){if(!_0x4ed680[_0x4dbe8b(0x236)]){_0x4ed680[_0x4dbe8b(0x236)]=!![];if(_0x4ed680['testAnalyticsId'])await this[_0x4dbe8b(0x167)](_0x4ed680,_0x4a75ac);else _0x4ed680['hookAnalyticsId']&&await this[_0x4dbe8b(0x167)](_0x4ed680,_0x4a75ac,![],_0x568d78[_0x4dbe8b(0x18f)]);}}})['on'](EVENT_TEST_PENDING,async _0xa8a41a=>{const _0x56179d=_0x32480d;this[_0x56179d(0x1d0)][_0x56179d(0x12b)]({'title':_0xa8a41a[_0x56179d(0x1ae)],'suite':_0xa8a41a[_0x56179d(0x151)][_0x56179d(0x1ae)],'state':_0xa8a41a[_0x56179d(0x22f)],'err':{},'fullTitle':_0xa8a41a[_0x56179d(0x119)](),'speed':_0xa8a41a['speed'],'currentRetry':_0xa8a41a['currentRetry'](),'titlePathV':_0xa8a41a[_0x56179d(0x1e0)]()}),_0x568d78[_0x56179d(0x230)](this[_0x56179d(0x209)],_0x568d78[_0x56179d(0x149)])&&process[_0x56179d(0x20d)]['write'](Base[_0x56179d(0x176)](_0x568d78[_0x56179d(0x122)],Base[_0x56179d(0x142)][_0x56179d(0x203)])),_0x568d78[_0x56179d(0x1a6)](testhubUtils[_0x56179d(0x211)](),!![])&&(!_0xa8a41a[_0x56179d(0x173)]&&(_0xa8a41a[_0x56179d(0x173)]=_0x568d78[_0x56179d(0x1a9)](uuidv4)),!_0xa8a41a['markedStatus']&&(_0xa8a41a[_0x56179d(0x236)]=!![],await this['sendTestRunEvent'](_0xa8a41a,undefined,![],_0x568d78[_0x56179d(0x1d4)])));})['on'](EVENT_TEST_BEGIN,async _0x205394=>{const _0x5c9d24=_0x32480d;_0x568d78[_0x5c9d24(0x1e4)](testhubUtils[_0x5c9d24(0x211)](),!![])&&await this['testStarted'](_0x205394);})['on'](EVENT_TEST_END,async _0x46ccc1=>{const _0x3b4c93=_0x32480d;_0x568d78[_0x3b4c93(0x1ce)](testhubUtils[_0x3b4c93(0x211)](),!![])&&(!_0x46ccc1['markedStatus']&&(_0x46ccc1[_0x3b4c93(0x236)]=!![],await this['sendTestRunEvent'](_0x46ccc1)));})[_0x32480d(0x18c)](EVENT_RUN_END,async()=>{const _0x1b661d=_0x32480d;try{if(_0x568d78['NtLfy'](testhubUtils[_0x1b661d(0x211)](),!![])){const _0x36c158=_0x568d78[_0x1b661d(0x168)](getHookSkippedTests,this[_0x1b661d(0x171)]['suite']);for(const _0x2d7fdb of _0x36c158){!_0x2d7fdb[_0x1b661d(0x173)]&&(_0x2d7fdb[_0x1b661d(0x173)]=_0x568d78[_0x1b661d(0x23a)](uuidv4)),await this['sendTestRunEvent'](_0x2d7fdb,undefined,![],_0x568d78[_0x1b661d(0x1d4)]);}}}catch(_0x2d2aa7){_0x568d78[_0x1b661d(0x168)](debug,_0x1b661d(0x237)+_0x2d2aa7);}await requestQueueHandler['shutdown'](),_0x568d78[_0x1b661d(0x1e4)](this[_0x1b661d(0x209)],_0x568d78[_0x1b661d(0x157)])&&Base['consoleLog'](this[_0x1b661d(0x1b7)]);});if(this['type']&&![_0x568d78[_0x32480d(0x157)],_0x568d78['hiRHH'],_0x568d78[_0x32480d(0x213)],_0x568d78[_0x32480d(0x149)]][_0x32480d(0x1fd)](this[_0x32480d(0x209)])){const _0x2ca6b5=this['type'][_0x32480d(0x1c4)]();this[_0x32480d(0x1d9)]=null;try{this['Reporter']=_0x568d78[_0x32480d(0x168)](requireModule,'mocha/lib/reporters/'+_0x2ca6b5+_0x32480d(0x224));}catch{}if(_0x568d78[_0x32480d(0x161)](this[_0x32480d(0x1d9)],null))try{this[_0x32480d(0x1d9)]=_0x568d78[_0x32480d(0x168)](require,_0x2ca6b5);}catch(_0x2f209f){console[_0x32480d(0x1a7)](_0x32480d(0x18b)+_0x2ca6b5);}if(_0x568d78['PxJIH'](this['Reporter'],null)){const _0x2c32e9={};_0x2c32e9[_0x32480d(0x1b3)]=_0x48970e['reporterOption'],this[_0x32480d(0x1d9)]=new this['Reporter'](_0x30cccf,_0x2c32e9);}}}[a25_0x48a636(0x1d8)](){const _0x27fe41=a25_0x48a636,_0x4f7115={'vyRRw':function(_0x344a2b,_0x184d2b){return _0x344a2b(_0x184d2b);}};return _0x4f7115[_0x27fe41(0x1e2)](Array,this['_indents'])[_0x27fe41(0x1e6)]('\x20\x20');}[a25_0x48a636(0x1ca)](){this['_indents']++;}[a25_0x48a636(0x1c6)](){const _0x37294c=a25_0x48a636;this[_0x37294c(0x222)]--;}[a25_0x48a636(0x18a)](_0x36939b){this['docHtml']+=_0x36939b;}[a25_0x48a636(0x131)](_0x5533e1,_0x292525){const _0x1e146f=a25_0x48a636,_0x2ec70f={'uaaXa':function(_0x3fb4f7,_0x4e4254){return _0x3fb4f7(_0x4e4254);}},_0x9250c0={};_0x9250c0['failureCount']=_0x5533e1,_0x9250c0[_0x1e146f(0x1d0)]=this[_0x1e146f(0x1d2)],_0x2ec70f[_0x1e146f(0x1eb)](_0x292525,_0x9250c0);}['registerListeners'](){const _0x46ed5f=a25_0x48a636;process[_0x46ed5f(0x1b9)](_0x46ed5f(0x15a)+process[_0x46ed5f(0x228)]),process['on']('bs:addLog:'+process[_0x46ed5f(0x228)],this['appendTestItemLog'][_0x46ed5f(0x1fb)](this)),process[_0x46ed5f(0x1b9)]('bs:addPlatformDetails:'+process[_0x46ed5f(0x228)]),process['on'](_0x46ed5f(0x191)+process[_0x46ed5f(0x228)],this[_0x46ed5f(0x121)][_0x46ed5f(0x1fb)](this));}[a25_0x48a636(0x195)]=async _0x2aa333=>{const _0x219cf5=a25_0x48a636,_0x5d4933={'Oudzn':function(_0xc8a483){return _0xc8a483();},'FYaid':function(_0x3e4a3f,_0x131c97){return _0x3e4a3f>_0x131c97;},'xgYjB':function(_0x38ac40,_0x3accac){return _0x38ac40===_0x3accac;},'jHtni':_0x219cf5(0x22b),'OhcZx':function(_0x5621f3,_0x19ac11){return _0x5621f3(_0x19ac11);}};try{const _0x6d7a04=this[_0x219cf5(0x13f)];this[_0x219cf5(0x13f)]=_0x2aa333,_0x2aa333[_0x219cf5(0x159)]=null,_0x2aa333['testAnalyticsId']=_0x5d4933['Oudzn'](uuidv4),_0x2aa333[_0x219cf5(0x132)]=new Date()['toISOString'](),_0x5d4933[_0x219cf5(0x1c1)](_0x2aa333[_0x219cf5(0x21a)],0x0)&&_0x6d7a04&&_0x5d4933[_0x219cf5(0x1ea)](_0x6d7a04['title'],_0x2aa333['title'])?(_0x2aa333[_0x219cf5(0x159)]=_0x6d7a04[_0x219cf5(0x173)],await this[_0x219cf5(0x167)](_0x2aa333,undefined,![],_0x5d4933['jHtni']),_0x6d7a04[_0x219cf5(0x22f)]=STATE_FAILED,await this[_0x219cf5(0x167)](_0x6d7a04,undefined,!![])):await this[_0x219cf5(0x167)](_0x2aa333,undefined,![],_0x5d4933[_0x219cf5(0x1dd)]);}catch(_0x191e47){_0x5d4933['OhcZx'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x191e47);}};[a25_0x48a636(0x167)]=async(_0x1414f6,_0x40631b=undefined,_0x7f0390=![],_0x44da11=a25_0x48a636(0x154))=>{const _0x249cbf=a25_0x48a636,_0x33cea3={'RkUQf':function(_0x4f20b1,_0x1038a7){return _0x4f20b1===_0x1038a7;},'gZASw':function(_0xf0b097,_0x5f4bbb){return _0xf0b097!==_0x5f4bbb;},'aFOJG':_0x249cbf(0x14b),'wCwig':_0x249cbf(0x19f),'ogqFR':function(_0xb0b3ff,_0x5033b4){return _0xb0b3ff!==_0x5033b4;},'eqRvK':function(_0x336f67,_0xd098f8){return _0x336f67!==_0xd098f8;},'Aqufu':'File\x20path\x20could\x20not\x20be\x20found','YzVsv':_0x249cbf(0x19a),'GTmTG':'javascript','kZCUZ':function(_0x34f0a7,_0x5a94e3){return _0x34f0a7===_0x5a94e3;},'mxeiA':'TestRunSkipped','ShfEF':_0x249cbf(0x1ad),'OscFW':function(_0x3c9b0d,_0x2eeda9){return _0x3c9b0d-_0x2eeda9;},'ADcHw':_0x249cbf(0x125),'pGnIB':_0x249cbf(0x234),'PiPeE':_0x249cbf(0x132),'mhoYU':'finished_at','bSjhq':function(_0x5021d4,_0x3bd82f){return _0x5021d4(_0x3bd82f);},'lEXMR':'HookRunFinished','YNcDX':_0x249cbf(0x21e),'ASujl':_0x249cbf(0x1cf),'TeKfx':function(_0x2552aa,_0x4a50ab){return _0x2552aa===_0x4a50ab;},'EEohE':_0x249cbf(0x126),'llwaT':function(_0x16a92e,_0x2c8955){return _0x16a92e(_0x2c8955);},'zjNxO':_0x249cbf(0x14a),'JYKoT':'failure_backtrace','EKYRF':_0x249cbf(0x148),'oZRID':_0x249cbf(0x12d),'OZEze':'expanded','fvekq':_0x249cbf(0x154),'fxsaV':_0x249cbf(0x16b),'fzjSy':_0x249cbf(0x1b5),'sTtRv':'test_run','syJeN':function(_0x149cb6,_0x45b2f9){return _0x149cb6(_0x45b2f9);}};try{if(_0x1414f6[_0x249cbf(0x20e)]&&_0x1414f6['body'][_0x249cbf(0x199)](/browserstack internal helper hook/))return;let _0x4b56d0=[];if(_0x33cea3[_0x249cbf(0x1a5)](_0x1414f6[_0x249cbf(0x22f)],STATE_FAILED)){if(_0x33cea3[_0x249cbf(0x1de)](_0x1414f6[_0x249cbf(0x19f)],undefined))_0x4b56d0=_0x1414f6['err'][_0x249cbf(0x116)]?[_0x1414f6[_0x249cbf(0x19f)][_0x249cbf(0x116)],_0x33cea3[_0x249cbf(0x1bf)]]:[_0x1414f6[_0x249cbf(0x19f)],_0x33cea3[_0x249cbf(0x1fc)]];else _0x33cea3['ogqFR'](_0x40631b,undefined)?_0x4b56d0=[_0x40631b,_0x33cea3[_0x249cbf(0x1fc)]]:_0x4b56d0=[];}const _0x1ef3ea=_0x33cea3['gZASw'](_0x1414f6[_0x249cbf(0x19f)],undefined)?_0x1414f6[_0x249cbf(0x19f)][_0x249cbf(0x16a)]():_0x33cea3[_0x249cbf(0x201)](_0x40631b,undefined)?_0x40631b[_0x249cbf(0x16a)]():undefined;let _0x44fb17;try{_0x44fb17=this[_0x249cbf(0x135)](_0x1414f6);}catch(_0x5bee8d){_0x44fb17=null;}const _0xa80ab8=_0x44fb17?this['findGitConfig'](_0x44fb17):null,_0x6a6e39=_0x44fb17?this[_0x249cbf(0x137)][_0x249cbf(0x205)](this[_0x249cbf(0x135)](_0x1414f6)):_0x33cea3['Aqufu'],_0x197bef={'framework':_0x33cea3[_0x249cbf(0x1db)],'uuid':_0x1414f6[_0x249cbf(0x173)]||_0x1414f6[_0x249cbf(0x160)],'name':_0x1414f6[_0x249cbf(0x1ae)],'body':{'lang':_0x33cea3['GTmTG'],'code':_0x1414f6[_0x249cbf(0x20e)]},'scope':this['scope'](_0x1414f6),'scopes':this[_0x249cbf(0x1c2)](_0x1414f6),'identifier':_0x1414f6['fullTitle'](),'file_name':_0x6a6e39,'vc_filepath':_0xa80ab8?path[_0x249cbf(0x1ed)](_0xa80ab8,_0x44fb17):null,'location':_0x6a6e39,'result':_0x33cea3[_0x249cbf(0x13e)](_0x44da11,_0x33cea3[_0x249cbf(0x162)])?_0x33cea3[_0x249cbf(0x1a2)]:this[_0x249cbf(0x202)](_0x1414f6[_0x249cbf(0x22f)]),'failure_reason':_0x1ef3ea,'duration_in_ms':_0x1414f6['duration']||(_0x44da11[_0x249cbf(0x199)](/Finished/)||_0x44da11[_0x249cbf(0x199)](/Skipped/)?_0x33cea3[_0x249cbf(0x21c)](Date[_0x249cbf(0x1c3)](),new Date(_0x1414f6[_0x249cbf(0x132)])['getTime']()):null),'started_at':_0x1414f6[_0x249cbf(0x132)],'finished_at':_0x44da11[_0x249cbf(0x199)](/Finished/)||_0x44da11['match'](/Skipped/)?new Date()[_0x249cbf(0x16d)]():null,'failure':failureData[_0x249cbf(0x163)](null,_0x4b56d0),'failure_type':!_0x1ef3ea?null:_0x1ef3ea[_0x249cbf(0x199)](/AssertionError/)?_0x33cea3['ADcHw']:_0x33cea3[_0x249cbf(0x112)],'retry_of':_0x1414f6[_0x249cbf(0x159)]};testhubUtils['appendTesthubParams'](_0x197bef,_0x44da11,_0x1414f6,FRAMEWORKS[_0x249cbf(0x138)]);_0x33cea3[_0x249cbf(0x1a5)](_0x44da11,_0x33cea3[_0x249cbf(0x162)])&&!_0x197bef[_0x33cea3[_0x249cbf(0x165)]]&&(_0x197bef[_0x33cea3[_0x249cbf(0x165)]]=_0x197bef[_0x33cea3[_0x249cbf(0x1b0)]]);if(_0x44da11[_0x249cbf(0x199)](/HookRun/))[_0x197bef[_0x249cbf(0x16b)],_0x197bef[_0x249cbf(0x1d6)]]=_0x33cea3[_0x249cbf(0x158)](getHookDetails,_0x1414f6[_0x249cbf(0x119)]()||_0x1414f6[_0x249cbf(0x150)]||_0x1414f6[_0x249cbf(0x1ae)]),_0x33cea3[_0x249cbf(0x1a5)](_0x44da11,_0x33cea3[_0x249cbf(0x1f4)])&&(_0x33cea3['ogqFR'](_0x197bef[_0x249cbf(0x12e)],_0x33cea3[_0x249cbf(0x145)])&&(_0x197bef[_0x249cbf(0x12e)]=_0x33cea3[_0x249cbf(0x232)]),_0x33cea3[_0x249cbf(0x14e)](_0x197bef[_0x249cbf(0x16b)],_0x33cea3[_0x249cbf(0x172)])&&_0x33cea3[_0x249cbf(0x13e)](_0x197bef['result'],_0x33cea3[_0x249cbf(0x145)])&&!_0x1414f6['ctx'][_0x249cbf(0x1b8)][_0x249cbf(0x236)]&&(_0x1414f6['ctx'][_0x249cbf(0x1b8)][_0x249cbf(0x236)]=!![],_0x1414f6[_0x249cbf(0x1ee)]['currentTest'][_0x249cbf(0x22f)]=STATE_FAILED,await this[_0x249cbf(0x167)](_0x1414f6[_0x249cbf(0x1ee)]['currentTest'],undefined,!![])));else _0x44da11[_0x249cbf(0x199)](/TestRun/)&&_0x33cea3[_0x249cbf(0x15f)](mapTestHooks,_0x1414f6);const _0x3e6a8f=_0x197bef[_0x33cea3[_0x249cbf(0x178)]][0x0];_0x3e6a8f&&(_0x197bef[_0x33cea3[_0x249cbf(0x1cd)]]=_0x3e6a8f[_0x33cea3[_0x249cbf(0x147)]],_0x197bef[_0x33cea3[_0x249cbf(0x1f2)]]=_0x3e6a8f[_0x33cea3[_0x249cbf(0x115)]]);[_0x33cea3[_0x249cbf(0x17e)],_0x33cea3['mxeiA']][_0x249cbf(0x1fd)](_0x44da11)&&(this['_testResults'][_0x249cbf(0x12b)](_0x197bef),_0x197bef['hooks']=_0x33cea3['bSjhq'](getHooksForTest,_0x1414f6));const _0x26169e={'event_type':_0x33cea3[_0x249cbf(0x1a5)](_0x44da11,_0x33cea3[_0x249cbf(0x162)])?_0x33cea3[_0x249cbf(0x17e)]:_0x44da11};_0x44da11['match'](/HookRun/)?(_0x197bef[_0x33cea3[_0x249cbf(0x177)]]=HOOK_TYPES_MAP[_0x197bef[_0x33cea3['fxsaV']]],_0x26169e[_0x33cea3[_0x249cbf(0x118)]]=_0x197bef):_0x26169e[_0x33cea3[_0x249cbf(0x22c)]]=_0x197bef,testhubUtils[_0x249cbf(0x144)](FRAMEWORKS[_0x249cbf(0x138)],_0x26169e),await SessionHandler[_0x249cbf(0x1d3)](_0x26169e);}catch(_0x1114e2){_0x33cea3[_0x249cbf(0x17f)](debug,_0x249cbf(0x233)+_0x44da11+_0x249cbf(0x156)+_0x1114e2);}};[a25_0x48a636(0x1b4)](_0x99d810){const _0x3c54df=a25_0x48a636,_0x2eee78={};_0x2eee78['vZKLY']=function(_0x3bd7a8,_0x5669fa){return _0x3bd7a8===_0x5669fa;},_0x2eee78[_0x3c54df(0x190)]=_0x3c54df(0x18d),_0x2eee78[_0x3c54df(0x189)]=_0x3c54df(0x20b);const _0x5939fd=_0x2eee78,_0x54eae4=path['sep'];if(_0x5939fd[_0x3c54df(0x139)](_0x99d810,null)||_0x5939fd[_0x3c54df(0x139)](_0x99d810,'')||_0x5939fd[_0x3c54df(0x139)](_0x99d810,_0x54eae4))return null;try{return fs[_0x3c54df(0x1e5)](path[_0x3c54df(0x1e6)](_0x99d810,_0x5939fd[_0x3c54df(0x190)],_0x5939fd[_0x3c54df(0x189)])),_0x99d810;}catch(_0x3f3bbd){const _0x1f7c6f=path['dirname'](_0x99d810);return this['findGitConfig'](_0x1f7c6f);}}[a25_0x48a636(0x19d)]=async _0x1a3127=>{const _0x23d84a=a25_0x48a636,_0x84529a={'LSDLo':_0x23d84a(0x11c),'wWNwk':function(_0x289561,_0x290551){return _0x289561(_0x290551);}};try{this[_0x23d84a(0x113)]&&!this['current_hook'][_0x23d84a(0x236)]&&(_0x1a3127['hook_run_uuid']=this[_0x23d84a(0x113)][_0x23d84a(0x160)]);!_0x1a3127[_0x23d84a(0x226)]&&this[_0x23d84a(0x13f)]&&!this[_0x23d84a(0x13f)]['markedStatus']&&(_0x1a3127[_0x23d84a(0x11b)]=this['current_test'][_0x23d84a(0x173)]);if(_0x1a3127[_0x23d84a(0x226)]||_0x1a3127[_0x23d84a(0x11b)]){const _0x5f1af4={};_0x5f1af4[_0x23d84a(0x129)]=_0x84529a[_0x23d84a(0x1c8)],_0x5f1af4['logs']=[_0x1a3127],await SessionHandler[_0x23d84a(0x1d3)](_0x5f1af4);}}catch(_0x263e4e){_0x84529a[_0x23d84a(0x19b)](debug,_0x23d84a(0x1ba)+_0x263e4e);}};[a25_0x48a636(0x121)]=async _0x419d87=>{const _0x55b67e=a25_0x48a636,_0x542cd0={'peCtx':_0x55b67e(0x212),'kNaQQ':_0x55b67e(0x218),'lIAyG':function(_0x297634,_0x59e2c7){return _0x297634(_0x59e2c7);}};try{const _0x5dedf3={};_0x5dedf3[_0x55b67e(0x238)]=_0x419d87['uuid']||this['current_test']['testAnalyticsId'],_0x5dedf3['integrations']=_0x419d87[_0x542cd0[_0x55b67e(0x204)]];const _0x56a1d6=_0x5dedf3,_0x3f0e21={};_0x3f0e21['event_type']=_0x542cd0[_0x55b67e(0x194)],_0x3f0e21[_0x55b67e(0x184)]=_0x56a1d6,await SessionHandler[_0x55b67e(0x1d3)](_0x3f0e21);}catch(_0x4c294b){_0x542cd0['lIAyG'](debug,_0x55b67e(0x14c)+_0x4c294b);}};[a25_0x48a636(0x202)](_0x41c32d){const _0x546796=a25_0x48a636,_0x50e8c7={};_0x50e8c7[_0x546796(0x143)]=_0x546796(0x1cf),_0x50e8c7[_0x546796(0x196)]=_0x546796(0x216),_0x50e8c7[_0x546796(0x18e)]=_0x546796(0x21e);const _0x17423e=_0x50e8c7,_0x2c2dfc={};return _0x2c2dfc[STATE_PASSED]=_0x17423e['WppFA'],_0x2c2dfc[STATE_PENDING]=_0x17423e[_0x546796(0x196)],_0x2c2dfc[STATE_FAILED]=_0x17423e[_0x546796(0x18e)],_0x2c2dfc[_0x41c32d];}[a25_0x48a636(0x124)](_0x527399){const _0x4c4795=a25_0x48a636,_0x4806da={};_0x4806da[_0x4c4795(0x225)]=function(_0x36bbc4,_0x4b14a2){return _0x36bbc4-_0x4b14a2;};const _0x2031fe=_0x4806da,_0x52cc78=_0x527399[_0x4c4795(0x1e0)]();return _0x52cc78[_0x4c4795(0x130)](0x0,_0x2031fe['EomJB'](_0x52cc78[_0x4c4795(0x13a)],0x1))[_0x4c4795(0x1e6)]('\x20');}[a25_0x48a636(0x1c2)](_0x470d6d){const _0x4e0276=a25_0x48a636,_0x13d760={};_0x13d760[_0x4e0276(0x1c5)]=function(_0x17778a,_0x185b78){return _0x17778a-_0x185b78;};const _0x31eafc=_0x13d760,_0xa2f79b=_0x470d6d['titlePath']();return _0xa2f79b[_0x4e0276(0x130)](0x0,_0x31eafc[_0x4e0276(0x1c5)](_0xa2f79b[_0x4e0276(0x13a)],0x1));}['getRootParentFile'](_0x3bdec8){const _0x755bd5=a25_0x48a636,_0x369b01={};_0x369b01['otePx']=function(_0x1d3942,_0xfec575){return _0x1d3942>_0xfec575;};const _0x5e6ddd=_0x369b01;if(_0x3bdec8[_0x755bd5(0x13d)])return _0x3bdec8[_0x755bd5(0x13d)];if(_0x3bdec8[_0x755bd5(0x1ee)]){const _0x28bf91=_0x3bdec8[_0x755bd5(0x1ee)]['currentTest']?this[_0x755bd5(0x135)](_0x3bdec8[_0x755bd5(0x1ee)][_0x755bd5(0x1b8)]):null;if(_0x28bf91)return _0x28bf91;}if(_0x3bdec8[_0x755bd5(0x151)]){const _0x133799=this['getRootParentFile'](_0x3bdec8[_0x755bd5(0x151)])||(_0x3bdec8[_0x755bd5(0x151)]['ctx']&&_0x3bdec8[_0x755bd5(0x151)][_0x755bd5(0x1ee)][_0x755bd5(0x1b8)]?this[_0x755bd5(0x135)](_0x3bdec8[_0x755bd5(0x151)][_0x755bd5(0x1ee)][_0x755bd5(0x1b8)]):null);if(_0x133799)return _0x133799;_0x3bdec8['parent'][_0x755bd5(0x1d1)]&&_0x5e6ddd[_0x755bd5(0x1da)](_0x3bdec8[_0x755bd5(0x151)]['suites']['length'],0x0)&&_0x3bdec8[_0x755bd5(0x151)][_0x755bd5(0x1d1)][_0x755bd5(0x111)](_0x2b7f14=>{const _0x5cfc89=_0x755bd5,_0x58d7c8=_0x2b7f14[_0x5cfc89(0x1ee)]?this[_0x5cfc89(0x135)](_0x2b7f14[_0x5cfc89(0x1ee)]):null;if(_0x58d7c8)return _0x58d7c8;});}return null;}}module['exports']=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a26_0x5d63e0=a26_0x42b8;(function(_0x9ca6fd,_0x1c4bb7){const _0x43545d=a26_0x42b8,_0x33dbfe=_0x9ca6fd();while(!![]){try{const _0xefe890=parseInt(_0x43545d(0x1ed))/0x1+parseInt(_0x43545d(0x172))/0x2*(-parseInt(_0x43545d(0x187))/0x3)+parseInt(_0x43545d(0x211))/0x4*(-parseInt(_0x43545d(0x1b6))/0x5)+parseInt(_0x43545d(0x162))/0x6*(-parseInt(_0x43545d(0x207))/0x7)+parseInt(_0x43545d(0x18e))/0x8+parseInt(_0x43545d(0x1b3))/0x9+parseInt(_0x43545d(0x12e))/0xa;if(_0xefe890===_0x1c4bb7)break;else _0x33dbfe['push'](_0x33dbfe['shift']());}catch(_0x172aa2){_0x33dbfe['push'](_0x33dbfe['shift']());}}}(a26_0x3e4a,0xd98b0));const chalk=require(a26_0x5d63e0(0x16e)),logger=require(a26_0x5d63e0(0x193))[a26_0x5d63e0(0x132)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a26_0x5d63e0(0x1ee)),testOpsHelper=require(a26_0x5d63e0(0x1de)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x5d63e0(0x15e)),{requireModule}=require(a26_0x5d63e0(0x1ee)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a26_0x5d63e0(0x166)),collectFiles=requireModule(a26_0x5d63e0(0x136)),constants=require(a26_0x5d63e0(0x1fd));function tag(_0x5c76a8,_0x229602,_0x5b9929,_0x23689c){const _0x6ec77c=a26_0x5d63e0,_0x35adff={'dJCFq':function(_0x264191,_0x2313aa){return _0x264191+_0x2313aa;},'szfrH':function(_0x56c8ca,_0x33fdfe){return _0x56c8ca+_0x33fdfe;},'MkoxR':function(_0x8193df,_0x57474c){return _0x8193df(_0x57474c);},'RCbQR':function(_0x398641,_0x6a95c9){return _0x398641+_0x6a95c9;},'OupNY':function(_0x3eb96c,_0x54793){return _0x3eb96c+_0x54793;}},_0x29b9ed=_0x5b9929?'/>':'>',_0x33162a=[];let _0x105a9a;for(const _0x42a497 in _0x229602){Object[_0x6ec77c(0x161)]['hasOwnProperty'][_0x6ec77c(0x1cc)](_0x229602,_0x42a497)&&_0x33162a[_0x6ec77c(0x1f0)](_0x35adff[_0x6ec77c(0x1ba)](_0x35adff['szfrH'](_0x35adff[_0x6ec77c(0x20f)](_0x42a497,'=\x22'),_0x35adff[_0x6ec77c(0x1f2)](escape,_0x229602[_0x42a497])),'\x22'));}return _0x105a9a=_0x35adff[_0x6ec77c(0x1ba)](_0x35adff[_0x6ec77c(0x217)](_0x35adff[_0x6ec77c(0x1ba)]('<',_0x5c76a8),_0x33162a[_0x6ec77c(0x1fa)]?_0x35adff[_0x6ec77c(0x217)]('\x20',_0x33162a[_0x6ec77c(0x1c5)]('\x20')):''),_0x29b9ed),_0x23689c&&(_0x105a9a+=_0x35adff[_0x6ec77c(0x217)](_0x35adff[_0x6ec77c(0x163)](_0x35adff[_0x6ec77c(0x20f)](_0x23689c,'</'),_0x5c76a8),_0x29b9ed)),_0x105a9a;}let xunitContent='';function xunitWrite(_0x29aede){xunitContent+=_0x29aede;}function xunitTest(_0x5bb34b,_0x5748cc){const _0x31c937=a26_0x5d63e0,_0x5d704e={'BEmqj':function(_0x5109a7,_0x2d38b6){return _0x5109a7/_0x2d38b6;},'oxWwy':function(_0x6725bf,_0xcf8c34){return _0x6725bf===_0xcf8c34;},'dZYSz':_0x31c937(0x218),'gzXkg':function(_0x29ada0,_0xb45fe6){return _0x29ada0+_0xb45fe6;},'LkzcE':function(_0x3446de,_0x4264f9){return _0x3446de(_0x4264f9);},'JCJlF':function(_0x4c6707,_0x2ad049,_0x398963,_0x23aa00,_0x1a627e){return _0x4c6707(_0x2ad049,_0x398963,_0x23aa00,_0x1a627e);},'EeVxe':_0x31c937(0x1a5),'PUMvZ':_0x31c937(0x14f),'aNanI':function(_0x59db2b,_0x2cd6b5){return _0x59db2b+_0x2cd6b5;},'FkoqA':function(_0x9cfbd9,_0x221b3f){return _0x9cfbd9+_0x221b3f;},'vnJiZ':function(_0x5dcee3,_0x3d5232){return _0x5dcee3(_0x3d5232);},'djxcU':function(_0x1cb954,_0x34b70f,_0x24ba28,_0x4bf312,_0x2b3714){return _0x1cb954(_0x34b70f,_0x24ba28,_0x4bf312,_0x2b3714);},'FRsrZ':function(_0x5b8b10,_0x5c9764,_0x37981a,_0x3db277){return _0x5b8b10(_0x5c9764,_0x37981a,_0x3db277);},'kLJMn':'skipped','xfPdr':function(_0x52d316,_0x5b7eb9,_0x4b4ed4,_0x291635){return _0x52d316(_0x5b7eb9,_0x4b4ed4,_0x291635);}};Base['useColors']=![];var _0x156b5f={'classname':_0x5bb34b['fullTitle'],'name':_0x5bb34b[_0x31c937(0x177)],'time':_0x5d704e[_0x31c937(0x13c)](_0x5bb34b[_0x31c937(0x12f)],0x3e8)||0x0,'platform':_0x5748cc};if(_0x5d704e[_0x31c937(0x154)](_0x5bb34b[_0x31c937(0x1b0)],_0x5d704e[_0x31c937(0x186)])){var _0x38a769=_0x5bb34b[_0x31c937(0x188)],_0x3fd050=!Base[_0x31c937(0x1bf)]&&Base[_0x31c937(0x173)](_0x38a769)?_0x5d704e[_0x31c937(0x148)]('\x0a',Base[_0x31c937(0x1eb)](_0x38a769['actual'],_0x38a769[_0x31c937(0x19d)])):'';_0x5d704e[_0x31c937(0x1fe)](xunitWrite,_0x5d704e[_0x31c937(0x141)](tag,_0x5d704e[_0x31c937(0x1e7)],_0x156b5f,![],_0x5d704e[_0x31c937(0x141)](tag,_0x5d704e[_0x31c937(0x190)],{},![],_0x5d704e[_0x31c937(0x148)](_0x5d704e[_0x31c937(0x192)](_0x5d704e[_0x31c937(0x1a2)](_0x5d704e['LkzcE'](escape,_0x38a769['message']),_0x5d704e[_0x31c937(0x1fe)](escape,_0x3fd050)),'\x0a'),_0x5d704e['LkzcE'](escape,_0x38a769[_0x31c937(0x178)])))));}else _0x5bb34b[_0x31c937(0x1d8)]?_0x5d704e[_0x31c937(0x202)](xunitWrite,_0x5d704e['djxcU'](tag,_0x5d704e['EeVxe'],_0x156b5f,![],_0x5d704e[_0x31c937(0x1d2)](tag,_0x5d704e[_0x31c937(0x13b)],{},!![]))):_0x5d704e[_0x31c937(0x1fe)](xunitWrite,_0x5d704e[_0x31c937(0x156)](tag,_0x5d704e['EeVxe'],_0x156b5f,!![]));};function a26_0x3e4a(){const _0x3e528b=['kacUZ','RCbQR','failed','cliConfig','min','BROWSERSTACK_TEST_OBSERVABILITY_YML','zpdfY','keys','pending','Running\x20your\x20mocha\x20tests\x20across\x20','QFTko','list','map','Total\x20Suites:\x20','Printing\x20stats\x20of\x20tests','\x0a\x0a\x0a','titlePathV','OLmGS','SfxiQ','10508110ZgphyQ','duration','getUserWorkerCount','test','winstonLogger','KxuaP','has','object','mocha/lib/cli/collect-files.js','pZMjp','mmbqy','OJBGk','finally','kLJMn','BEmqj','output','VTiyD','UIoVx','env','JCJlF','hJvPQ','krisU','Total\x20Platforms:\x20','--disable-test-observability','testsFailed','NXopI','gzXkg','nJGsf','mQdqk','testsPending','xxPPw','wOYgy','MZkBv','failure','Writing\x20xunit\x20result\x20to\x20file','nBjIK','shouldReRunObservabilityTests','gfYwW','oxWwy','stats','xfPdr','vqpBG','failures','--disable-browserstack-automation','accessibility','QHPTL','gUFsi','GdTIM','../test-runner','GFxmG','size','prototype','19782mpoWUl','OupNY','dBKoR','YGrXY','mocha/lib/reporters/base.js','maWgz','markSDKSetupComplete','results','MOCHA','exports','yWwXU','green','chalk','YeLYN','IDFeR','spec','4nfqsvU','showDiff','QOWAq','vLSEj','testsuite','title','stack','ieosJ','NooYe','BROWSERSTACK_RERUN_TESTS','rerunTests','kwBwY','consoleLog','nUvGm','sUcHK','fullTitle','validPlatformsPresent','qcCJk','parseFileNames','assign','dZYSz','775107BOudEQ','err','proxySettings','logLevel','mjs','json','sAmII','10844392rDSMpO','testsPassed','PUMvZ','feMLd','aNanI','../../helpers/logger','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','suite','ignore','WxXEZ','accessibilityOptions','forEach','</testsuite>','passed','rDAXY','expected','xunit','debug','tFZGi','BROWSERSTACK_AUTOMATION','FkoqA','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','yKnpH','testcase','fireFunnelTestEvent','RquMX','parse','doc','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','log','jMIca','\x20passed','titlePath','jddUX','state','getOwnPropertyNames','gsDqB','4198797ctdIoH','GdlfJ','sort','216545RKNOmP','Now,\x20showing\x20logs\x20from\x20mocha','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','pDUMb','dJCFq','reporter-option','platform','get','\x20total','hideDiff','hetjw','fudul','kEzRW','finalExecution','yellow','join','PnhAb','getErrorMessageFromResults','prepareCapabilities','dkBQw','bgRedBright','useW3C','call','stringify','getPlatformName','parallelsPerPlatform','initialize','jAyZS','FRsrZ','toUTCString','EGnUD','vKUQj','Tests:\x20\x20\x20\x20\x20\x20\x20','testObservability','isPending','Mocha\x20Tests','bold','Listing\x20all\x20the\x20failures','indexOf','handleApp','../../helpers/test-observability/utils','testSuites','DeDXg','isUndefined','BROWSERSTACK_TEST_OBSERVABILITY','bgBlueBright','zfzuC','totalTests','rASyJ','EeVxe','Couldn\x27t\x20write\x20xunit\x20result\x20to','uiZdB','recursive','generateDiff','WyfsQ','110671tcsQAX','../../helpers/helper','jLdkh','push','info','MkoxR','cjs','PxJeP','hnaPW','UmITt','DAZvr','passes','argv','length','then','add','../utils/constants','LkzcE','config','isTestObservabilitySession','Couldn\x27t\x20write\x20json\x20result\x20to','vnJiZ','isBrowserstackInfra','UXDCX','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','qSEIw','679IMSAPy','platforms','includes','BaWVO','extension','mUFno','eLYaQ','writeFileSync','szfrH','SDKTestSuccessful','116VgxgHF','reporter','file','printBuildLink','suiteName'];a26_0x3e4a=function(){return _0x3e528b;};return a26_0x3e4a();}function getStats(_0x3b133f){const _0x12240e=a26_0x5d63e0,_0x3dbb91={};_0x3dbb91[_0x12240e(0x164)]=_0x12240e(0x195),_0x3dbb91[_0x12240e(0x16f)]='passed',_0x3dbb91[_0x12240e(0x1d5)]=_0x12240e(0x218),_0x3dbb91[_0x12240e(0x206)]='results';const _0x5bf7c9=_0x3dbb91,_0x37abf9=Object[_0x12240e(0x21d)](_0x3b133f);let _0x3c000e=0x0,_0x96211=0x0,_0x5142ee=0x0,_0xcea0e4=0x0;const _0x15bd25=new Set();_0x37abf9['forEach'](_0x7ade5f=>{const _0x143555=_0x12240e,_0x41a103={};_0x41a103[_0x143555(0x1c1)]=_0x5bf7c9[_0x143555(0x164)],_0x41a103[_0x143555(0x15b)]=_0x5bf7c9[_0x143555(0x16f)],_0x41a103[_0x143555(0x17a)]=_0x5bf7c9[_0x143555(0x1d5)];const _0x2dcfb6=_0x41a103;_0x3b133f[_0x7ade5f][_0x5bf7c9[_0x143555(0x206)]][_0x143555(0x199)](_0x30187f=>{const _0x2d69ba=_0x143555;_0x15bd25[_0x2d69ba(0x1fc)](_0x30187f[_0x2dcfb6['fudul']]),_0x3c000e++;switch(_0x30187f[_0x2d69ba(0x1b0)]){case _0x2dcfb6['QHPTL']:_0x5142ee++;break;case _0x2dcfb6[_0x2d69ba(0x17a)]:_0x96211++;break;default:_0xcea0e4++;}});});const _0x79abc5={};return _0x79abc5[_0x12240e(0x1df)]=_0x15bd25[_0x12240e(0x160)],_0x79abc5[_0x12240e(0x208)]=_0x37abf9,_0x79abc5[_0x12240e(0x1e5)]=_0x3c000e,_0x79abc5[_0x12240e(0x146)]=_0x96211,_0x79abc5[_0x12240e(0x18f)]=_0x5142ee,_0x79abc5[_0x12240e(0x14b)]=_0xcea0e4,_0x79abc5;}function a26_0x42b8(_0x21405c,_0x2e9e4f){const _0x3e4a05=a26_0x3e4a();return a26_0x42b8=function(_0x42b863,_0x2dbc30){_0x42b863=_0x42b863-0x123;let _0x135916=_0x3e4a05[_0x42b863];return _0x135916;},a26_0x42b8(_0x21405c,_0x2e9e4f);}function errorJSON(_0x3f2a59){const _0x1ebd2d=a26_0x5d63e0;var _0x3c7b58={};return Object[_0x1ebd2d(0x1b1)](_0x3f2a59)[_0x1ebd2d(0x199)](function(_0x1f2823){_0x3c7b58[_0x1f2823]=_0x3f2a59[_0x1f2823];},_0x3f2a59),_0x3c7b58;}function cleanCycles(_0xb3b544){const _0x2059fb=a26_0x5d63e0,_0x2eebe8={};_0x2eebe8[_0x2059fb(0x165)]=function(_0x14dbce,_0x99e66f){return _0x14dbce===_0x99e66f;},_0x2eebe8[_0x2059fb(0x20c)]=_0x2059fb(0x135),_0x2eebe8[_0x2059fb(0x1e9)]=function(_0x2350b0,_0x2cc447){return _0x2350b0!==_0x2cc447;},_0x2eebe8[_0x2059fb(0x15d)]=function(_0x19fd90,_0x5df1c0){return _0x19fd90!==_0x5df1c0;},_0x2eebe8[_0x2059fb(0x179)]=function(_0x333fd2,_0x4c95f9){return _0x333fd2+_0x4c95f9;};const _0xdd4310=_0x2eebe8;var _0x37eed8=[];return JSON[_0x2059fb(0x1a8)](JSON[_0x2059fb(0x1cd)](_0xb3b544,function(_0x318e64,_0x1a9ce6){const _0x35cab3=_0x2059fb;if(_0xdd4310['YGrXY'](typeof _0x1a9ce6,_0xdd4310['mUFno'])&&_0xdd4310[_0x35cab3(0x1e9)](_0x1a9ce6,null)){if(_0xdd4310['GdTIM'](_0x37eed8[_0x35cab3(0x1dc)](_0x1a9ce6),-0x1))return _0xdd4310[_0x35cab3(0x179)]('',_0x1a9ce6);_0x37eed8[_0x35cab3(0x1f0)](_0x1a9ce6);}return _0x1a9ce6;}));}function clean(_0x1c170b){const _0x1d1ee4=a26_0x5d63e0,_0x5b2608={'IToYd':function(_0x312711,_0x1439d4){return _0x312711 instanceof _0x1439d4;},'KxuaP':function(_0xd6982b,_0x23571f){return _0xd6982b(_0x23571f);},'rASyJ':function(_0xc3d142,_0x298a10){return _0xc3d142(_0x298a10);}};var _0x9dd121=_0x1c170b[_0x1d1ee4(0x188)]||{};return _0x5b2608['IToYd'](_0x9dd121,Error)&&(_0x9dd121=_0x5b2608[_0x1d1ee4(0x133)](errorJSON,_0x9dd121)),{'title':_0x1c170b[_0x1d1ee4(0x177)],'fullTitle':_0x1c170b[_0x1d1ee4(0x181)],'file':_0x1c170b[_0x1d1ee4(0x213)],'duration':_0x1c170b[_0x1d1ee4(0x12f)],'currentRetry':_0x1c170b['currentRetry'],'speed':_0x1c170b['speed'],'err':_0x5b2608[_0x1d1ee4(0x1e6)](cleanCycles,_0x9dd121)};}function printStats(_0x124a34,_0x54ce4e=a26_0x5d63e0(0x171),_0xb0074d={}){const _0x10530a=a26_0x5d63e0,_0x49e49e={'WyfsQ':function(_0x40af47,_0x2a7976){return _0x40af47(_0x2a7976);},'jMIca':function(_0x2c22ad,_0x5b43e9){return _0x2c22ad===_0x5b43e9;},'maWgz':_0x10530a(0x19b),'cKLRP':_0x10530a(0x1f8),'zpdfY':function(_0x1c5f06,_0x2bbbde){return _0x1c5f06(_0x2bbbde);},'yKnpH':_0x10530a(0x218),'yWwXU':_0x10530a(0x158),'iQpVq':_0x10530a(0x123),'nUvGm':_0x10530a(0x169),'RquMX':function(_0x6943be,_0x1eef89){return _0x6943be*_0x1eef89;},'UmITt':function(_0x2eddad,_0xc3ca1d,_0x511e5d){return _0x2eddad(_0xc3ca1d,_0x511e5d);},'DAZvr':function(_0x25a16c,_0x1c7601){return _0x25a16c>_0x1c7601;},'OJBGk':function(_0x441cc8){return _0x441cc8();},'mQdqk':function(_0x21f5c3,_0x8410fa){return _0x21f5c3===_0x8410fa;},'sAmII':_0x10530a(0x1a9),'KkPaX':'Setting\x20non\x20exit\x20code\x20for\x20failures','mmbqy':_0x10530a(0x129),'QOWAq':function(_0x59144d,_0x22a2b6){return _0x59144d+_0x22a2b6;},'IDFeR':_0x10530a(0x144),'NXopI':function(_0x434e9a,_0x3d0967){return _0x434e9a+_0x3d0967;},'hFmfU':_0x10530a(0x128),'pDUMb':_0x10530a(0x1d6),'PxJeP':function(_0x5aefb5,_0x346005){return _0x5aefb5>_0x346005;},'feMLd':function(_0xccd297,_0x1f5cb0){return _0xccd297+_0x1f5cb0;},'IMBvX':_0x10530a(0x12a),'wxbxB':_0x10530a(0x18c),'BaWVO':'Writing\x20json\x20result\x20to\x20file','tFZGi':_0x10530a(0x201),'hetjw':_0x10530a(0x1aa),'kabfc':function(_0x3b2306,_0x47b70d){return _0x3b2306===_0x47b70d;},'dkBQw':_0x10530a(0x19e),'vLSEj':_0x10530a(0x1d9),'hnaPW':function(_0x41c076,_0x506f70){return _0x41c076||_0x506f70;},'QFTko':function(_0x1b17db,_0x28e25a,_0x42cc47,_0x403829){return _0x1b17db(_0x28e25a,_0x42cc47,_0x403829);},'kacUZ':_0x10530a(0x176),'WxXEZ':function(_0x46e5f3,_0x5b2904){return _0x46e5f3-_0x5b2904;},'jddUX':function(_0x182149,_0x569bfe){return _0x182149-_0x569bfe;},'eLYaQ':function(_0xf255e9,_0x29a6c6){return _0xf255e9/_0x29a6c6;},'EGnUD':_0x10530a(0x19a),'VTiyD':_0x10530a(0x150),'kEzRW':_0x10530a(0x1e8),'gfYwW':_0x10530a(0x1a3),'aFBsT':_0x10530a(0x1db),'wOYgy':'****\x20FAILURES\x20****'};if(_0x49e49e[_0x10530a(0x14a)](_0x54ce4e,_0x49e49e[_0x10530a(0x18d)]))return;const _0x447e65=0x0,_0x361c4b=()=>{const _0x279c65=_0x10530a;return _0x49e49e['WyfsQ'](Array,_0x447e65)[_0x279c65(0x1c5)]('\x20\x20');},{testSuites:_0x110589,platforms:_0x459250,totalTests:_0x2068c5,testsFailed:_0x1288cf,testsPassed:_0x20b854,testsPending:_0x5d83d9}=_0x49e49e[_0x10530a(0x1ec)](getStats,_0x124a34);_0x49e49e[_0x10530a(0x1f7)](_0x1288cf,0x0)&&(logger[_0x10530a(0x19f)](_0x49e49e['KkPaX']),process['exitCode']=Math[_0x10530a(0x21a)](_0x1288cf,0xff));logger[_0x10530a(0x19f)](_0x49e49e[_0x10530a(0x138)]);const _0xdd11a=''+_0x49e49e[_0x10530a(0x174)](chalk['bold'](_0x49e49e[_0x10530a(0x170)]),_0x459250[_0x10530a(0x1fa)]),_0x17e43d=''+_0x49e49e[_0x10530a(0x147)](chalk[_0x10530a(0x1da)](_0x49e49e['hFmfU']),_0x110589),_0x3d82cd=''+_0x49e49e[_0x10530a(0x174)](_0x49e49e['QOWAq'](_0x49e49e[_0x10530a(0x147)](chalk[_0x10530a(0x1da)](_0x49e49e[_0x10530a(0x1b9)]),_0x49e49e[_0x10530a(0x1f4)](_0x1288cf,0x0)?chalk[_0x10530a(0x1da)]['red'](_0x1288cf+'\x20failed')+',\x20':''),_0x49e49e[_0x10530a(0x1f4)](_0x5d83d9,0x0)?chalk[_0x10530a(0x1da)][_0x10530a(0x1c4)](_0x5d83d9+'\x20skipped')+',\x20':''),_0x49e49e[_0x10530a(0x1f7)](_0x20b854,0x0)?chalk['bold'][_0x10530a(0x16d)](_0x20b854+_0x10530a(0x1ad))+',\x20':'')+_0x2068c5+_0x10530a(0x1be);console['log'](_0x49e49e['NXopI'](_0x49e49e[_0x10530a(0x191)](_0x49e49e['NXopI'](_0x49e49e[_0x10530a(0x147)](_0x49e49e[_0x10530a(0x174)](_0x49e49e['IMBvX'],_0xdd11a),'\x0a'),_0x17e43d),'\x0a'),_0x3d82cd));if(_0x49e49e['jMIca'](_0x54ce4e,_0x49e49e['wxbxB'])){const _0x189bf8={},_0x11df78={};_0x11df78[_0x10530a(0x1df)]=_0x110589,_0x11df78[_0x10530a(0x208)]=_0x459250,_0x11df78[_0x10530a(0x146)]=_0x1288cf,_0x11df78[_0x10530a(0x18f)]=_0x20b854,_0x11df78[_0x10530a(0x14b)]=_0x5d83d9,_0x189bf8[_0x10530a(0x155)]=_0x11df78,_0x459250[_0x10530a(0x199)](_0x1f0bf4=>{const _0x3d5819=_0x10530a,_0x26ae4b={'gUFsi':function(_0x36c772,_0x8def8){const _0x511076=a26_0x42b8;return _0x49e49e[_0x511076(0x1ac)](_0x36c772,_0x8def8);},'OLmGS':_0x49e49e[_0x3d5819(0x167)],'DIkbA':_0x49e49e['cKLRP'],'qcCJk':function(_0x18f54c,_0x35253f){const _0x232d8d=_0x3d5819;return _0x49e49e[_0x232d8d(0x21c)](_0x18f54c,_0x35253f);},'GdlfJ':_0x49e49e[_0x3d5819(0x1a4)],'GFxmG':_0x49e49e[_0x3d5819(0x16c)],'nJGsf':_0x49e49e['iQpVq']};_0x189bf8[_0x1f0bf4]={'pending':[],'failures':[],'passes':[],'tests':_0x124a34[_0x1f0bf4][_0x49e49e[_0x3d5819(0x17f)]][_0x3d5819(0x127)](clean)},_0x124a34[_0x1f0bf4][_0x49e49e[_0x3d5819(0x17f)]][_0x3d5819(0x199)](_0x4d0ce3=>{const _0xa2acc4=_0x3d5819;if(_0x26ae4b[_0xa2acc4(0x15c)](_0x4d0ce3[_0xa2acc4(0x1b0)],_0x26ae4b[_0xa2acc4(0x12c)]))_0x189bf8[_0x1f0bf4][_0x26ae4b['DIkbA']][_0xa2acc4(0x1f0)](_0x26ae4b[_0xa2acc4(0x183)](clean,_0x4d0ce3));else _0x26ae4b[_0xa2acc4(0x15c)](_0x4d0ce3['state'],_0x26ae4b[_0xa2acc4(0x1b4)])?_0x189bf8[_0x1f0bf4][_0x26ae4b[_0xa2acc4(0x15f)]][_0xa2acc4(0x1f0)](_0x26ae4b['qcCJk'](clean,_0x4d0ce3)):_0x189bf8[_0x1f0bf4][_0x26ae4b[_0xa2acc4(0x149)]][_0xa2acc4(0x1f0)](_0x26ae4b[_0xa2acc4(0x183)](clean,_0x4d0ce3));});});if(_0xb0074d[_0x10530a(0x13d)])try{logger[_0x10530a(0x19f)](_0x49e49e[_0x10530a(0x20a)],_0xb0074d[_0x10530a(0x13d)]),fs[_0x10530a(0x20e)](_0xb0074d[_0x10530a(0x13d)],JSON[_0x10530a(0x1cd)](_0x189bf8,null,0x3));}catch(_0x3d4983){logger['error'](_0x49e49e[_0x10530a(0x1a0)],_0xb0074d[_0x10530a(0x13d)]),logger[_0x10530a(0x19f)](_0x3d4983);}else logger[_0x10530a(0x19f)](_0x49e49e[_0x10530a(0x1c0)]),console['log'](JSON['stringify'](_0x189bf8,null,0x3));}else{if(_0x49e49e['kabfc'](_0x54ce4e,_0x49e49e[_0x10530a(0x1c9)])){let _0x311eec;const _0x11ea79=_0x49e49e[_0x10530a(0x175)];_0xb0074d&&(_0x311eec=_0xb0074d[_0x10530a(0x215)]);_0x311eec=_0x49e49e[_0x10530a(0x1f5)](_0x311eec,_0x11ea79);let _0x11af3f=0x0,_0x1cf17e=0x0,_0x39a775=0x0,_0x29c433=0x0;_0x459250[_0x10530a(0x199)](_0x483d2b=>{const _0x579bb1=_0x10530a,_0x3e3fb3={'jLdkh':function(_0x10c7f1,_0x59cdbf){return _0x49e49e['jMIca'](_0x10c7f1,_0x59cdbf);},'MoMav':_0x49e49e[_0x579bb1(0x167)],'krisU':_0x49e49e[_0x579bb1(0x1a4)],'pZMjp':function(_0x257974,_0x3a4df6){const _0x3d5aaa=_0x579bb1;return _0x49e49e[_0x3d5aaa(0x1a7)](_0x257974,_0x3a4df6);}};_0x124a34[_0x483d2b][_0x49e49e[_0x579bb1(0x17f)]][_0x579bb1(0x199)](_0x2747fc=>{const _0x31ef05=_0x579bb1;if(_0x3e3fb3[_0x31ef05(0x1ef)](_0x2747fc[_0x31ef05(0x1b0)],_0x3e3fb3['MoMav']))_0x11af3f++;else _0x3e3fb3[_0x31ef05(0x1ef)](_0x2747fc[_0x31ef05(0x1b0)],_0x3e3fb3[_0x31ef05(0x143)])&&_0x1cf17e++;_0x39a775++,_0x29c433+=_0x3e3fb3[_0x31ef05(0x137)](_0x2747fc[_0x31ef05(0x12f)],0x1);});}),_0x49e49e['zpdfY'](xunitWrite,_0x49e49e[_0x10530a(0x125)](tag,_0x49e49e[_0x10530a(0x216)],{'name':_0x311eec,'tests':_0x39a775,'failures':0x0,'errors':_0x1cf17e,'skipped':_0x49e49e[_0x10530a(0x197)](_0x49e49e[_0x10530a(0x1af)](_0x39a775,_0x1cf17e),_0x11af3f),'timestamp':new Date()[_0x10530a(0x1d3)](),'time':_0x49e49e[_0x10530a(0x20d)](_0x29c433,0x3e8)||0x0},![])),_0x459250[_0x10530a(0x199)](_0x4d3a29=>{const _0x4c6210=_0x10530a,_0x28d850={'hJvPQ':function(_0x48a6ec,_0x31b885,_0x23c0c6){const _0x250896=a26_0x42b8;return _0x49e49e[_0x250896(0x1f6)](_0x48a6ec,_0x31b885,_0x23c0c6);}};_0x124a34[_0x4d3a29][_0x49e49e[_0x4c6210(0x17f)]][_0x4c6210(0x199)](_0x464fe7=>{const _0x5b5dd9=_0x4c6210;_0x28d850[_0x5b5dd9(0x142)](xunitTest,_0x464fe7,_0x4d3a29);});}),_0x49e49e['WyfsQ'](xunitWrite,_0x49e49e[_0x10530a(0x1d4)]);if(_0xb0074d[_0x10530a(0x13d)])try{logger[_0x10530a(0x19f)](_0x49e49e[_0x10530a(0x13e)],_0xb0074d['output']),fs[_0x10530a(0x20e)](_0xb0074d[_0x10530a(0x13d)],xunitContent);}catch(_0xc7b9da){logger['error'](_0x49e49e[_0x10530a(0x1c2)],_0xb0074d[_0x10530a(0x13d)]),logger[_0x10530a(0x19f)](_0xc7b9da);}else logger['debug'](_0x49e49e[_0x10530a(0x153)]),console[_0x10530a(0x1ab)](xunitContent);}else{if(_0x49e49e[_0x10530a(0x1ac)](_0x1288cf,0x0))return;console[_0x10530a(0x1ab)](),logger[_0x10530a(0x19f)](_0x49e49e['aFBsT']),console[_0x10530a(0x1ab)](chalk[_0x10530a(0x1da)][_0x10530a(0x1ca)](_0x49e49e[_0x10530a(0x14d)])),_0x459250['forEach'](_0x5ace36=>{const _0x1bf178=_0x10530a,_0x370d83={'rDAXY':function(_0xb427b5,_0x514e98){const _0x5622a7=a26_0x42b8;return _0x49e49e[_0x5622a7(0x1ac)](_0xb427b5,_0x514e98);},'SfxiQ':_0x49e49e['yKnpH']},_0x3686fa=[];_0x124a34[_0x5ace36][_0x49e49e[_0x1bf178(0x17f)]]['forEach'](_0x454589=>{const _0x2c0f83=_0x1bf178;_0x370d83[_0x2c0f83(0x19c)](_0x454589[_0x2c0f83(0x1b0)],_0x370d83[_0x2c0f83(0x12d)])&&(_0x454589[_0x2c0f83(0x1ae)]=()=>_0x454589[_0x2c0f83(0x12b)],_0x3686fa[_0x2c0f83(0x1f0)](_0x454589));}),_0x49e49e[_0x1bf178(0x1f7)](_0x3686fa[_0x1bf178(0x1fa)],0x0)&&(Base[_0x1bf178(0x17e)](),Base[_0x1bf178(0x17e)](_0x49e49e[_0x1bf178(0x139)](_0x361c4b),chalk[_0x1bf178(0x1da)][_0x1bf178(0x1e3)](_0x5ace36)),Base[_0x1bf178(0x126)](_0x3686fa));});}}}async function run(_0x4f46fc,_0x49b68a){const _0x143a85=a26_0x5d63e0,_0x402f20={'sUcHK':function(_0x296343,_0x48092c,_0x159939,_0x3d362a){return _0x296343(_0x48092c,_0x159939,_0x3d362a);},'UIoVx':_0x143a85(0x1bb),'gsDqB':_0x143a85(0x210),'vjytn':'mocha','nBjIK':_0x143a85(0x145),'xxPPw':_0x143a85(0x159),'zfzuC':function(_0x37b6cc,_0x536773){return _0x37b6cc!=_0x536773;},'kwBwY':_0x143a85(0x1f3),'PdQUU':_0x143a85(0x18b),'klbsJ':_0x143a85(0x131),'PnhAb':_0x143a85(0x17c),'DeDXg':function(_0x3b7e38,_0x39ebfb){return _0x3b7e38(_0x39ebfb);},'qhUXQ':'Running\x20your\x20mocha\x20tests','vqpBG':_0x143a85(0x1b7),'MZkBv':function(_0xe52744,_0x2cc3b7){return _0xe52744*_0x2cc3b7;},'jAyZS':function(_0x26d45a,_0x2b9ff4){return _0x26d45a(_0x2b9ff4);},'UXDCX':function(_0x5507fd,_0x5a6b3b){return _0x5507fd!==_0x5a6b3b;}};process[_0x143a85(0x1f9)]['includes'](_0x402f20[_0x143a85(0x151)])&&(process[_0x143a85(0x140)][_0x143a85(0x1e2)]=![]);process[_0x143a85(0x1f9)][_0x143a85(0x209)](_0x402f20[_0x143a85(0x14c)])&&(process['env'][_0x143a85(0x1a1)]=![]);const _0x2db044=new BrowserStackSetup(_0x4f46fc,_0x402f20['vjytn']);helper[_0x143a85(0x203)]()&&(await _0x2db044[_0x143a85(0x1d0)](),await helper[_0x143a85(0x1dd)](_0x2db044[_0x143a85(0x1ff)]));const _0x52f5ad=[];let _0x2d6ced=[];if(!_0x2db044['config'])return;_0x402f20[_0x143a85(0x1e4)](_0x2db044[_0x143a85(0x1ff)][_0x143a85(0x1d7)],null)&&(process[_0x143a85(0x140)][_0x143a85(0x21b)]=_0x2db044[_0x143a85(0x1ff)][_0x143a85(0x1d7)]);!helper[_0x143a85(0x1e1)](_0x2db044[_0x143a85(0x1ff)][_0x143a85(0x15a)])&&(process[_0x143a85(0x140)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2db044['config'][_0x143a85(0x15a)]);!helper[_0x143a85(0x1e1)](_0x2db044['config'][_0x143a85(0x198)])&&(process[_0x143a85(0x140)][_0x143a85(0x205)]=JSON['stringify'](_0x2db044[_0x143a85(0x1ff)][_0x143a85(0x198)]));const {extension:extension=['js',_0x402f20[_0x143a85(0x17d)],_0x402f20['PdQUU']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x402f20['klbsJ']]}=_0x4f46fc,_0x565dec={..._0x4f46fc};_0x565dec['rootHooks']=null;const _0x31ff60=_0x565dec;let _0x2f2354;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x143a85(0x152)]()){let _0x4000d6=process['env'][_0x143a85(0x17b)];!helper[_0x143a85(0x1e1)](_0x2db044[_0x143a85(0x219)])&&_0x2db044[_0x143a85(0x219)][_0x143a85(0x134)](_0x402f20[_0x143a85(0x1c6)])&&(_0x4000d6=_0x2db044[_0x143a85(0x219)][_0x143a85(0x1bd)](_0x402f20['PnhAb'])),_0x2f2354=testOpsHelper[_0x143a85(0x184)](_0x4000d6);}if(helper['isUndefined'](_0x2f2354)){const _0x42dd4f={};_0x42dd4f[_0x143a85(0x196)]=ignore,_0x42dd4f[_0x143a85(0x20b)]=extension,_0x42dd4f[_0x143a85(0x213)]=file,_0x42dd4f[_0x143a85(0x1ea)]=recursive,_0x42dd4f[_0x143a85(0x1b5)]=sort,_0x42dd4f['spec']=spec,_0x2f2354=_0x402f20[_0x143a85(0x1e0)](collectFiles,_0x42dd4f);}helper[_0x143a85(0x168)]();if(!helper['isBrowserstackInfra']()){const _0x2dc751=0x1,_0x244f4d={..._0x31ff60};_0x244f4d['spec']=[..._0x2f2354],_0x52f5ad[_0x143a85(0x1f0)]({'mochaOpts':_0x244f4d,'configuration':{'platform':os[_0x143a85(0x1bc)]()}}),logger['info'](_0x402f20['qhUXQ']),logger[_0x143a85(0x1f1)](_0x402f20['vqpBG']),_0x402f20[_0x143a85(0x180)](parallelTestRun,_0x52f5ad,_0x2dc751,_0x2db044)[_0x143a85(0x1fb)](_0x1f7ad9=>{const _0x2fa9b2=_0x143a85;_0x402f20['sUcHK'](printStats,_0x1f7ad9,_0x4f46fc['reporter'],_0x4f46fc['reporterOptions']||_0x4f46fc[_0x402f20[_0x2fa9b2(0x13f)]]);})[_0x143a85(0x13a)](()=>{const _0x23b9a3=_0x143a85;try{helper[_0x23b9a3(0x1a6)](_0x402f20[_0x23b9a3(0x1b2)],{},_0x2db044[_0x23b9a3(0x1ff)],_0x2db044['framework']);}catch(_0x2a64af){logger['debug'](_0x23b9a3(0x1b8)+_0x2a64af);}try{helper['notifyUpdate']();}catch(_0x1245fb){logger[_0x23b9a3(0x19f)](_0x23b9a3(0x194)+_0x1245fb);}testOpsHelper[_0x23b9a3(0x214)]();});}else{const _0x5e4b4a=helper[_0x143a85(0x1cb)](_0x2db044[_0x143a85(0x1ff)]),_0xdb292a=helper['getHubUrl'](_0x2db044[_0x143a85(0x1ff)]);_0x2d6ced=helper[_0x143a85(0x1c8)](_0x2db044['config'],_0x5e4b4a,constants['FRAMEWORKS'][_0x143a85(0x16a)]);let _0x37088a;const _0xa65740=_0x2db044[_0x143a85(0x1ff)][_0x143a85(0x1cf)]||helper[_0x143a85(0x130)](_0x4f46fc,_0x49b68a,_0x2db044['config'],constants['FRAMEWORKS'][_0x143a85(0x16a)])||0x1;helper[_0x143a85(0x182)](_0x2db044[_0x143a85(0x1ff)])?_0x37088a=_0x402f20[_0x143a85(0x14e)](_0x2db044[_0x143a85(0x1ff)][_0x143a85(0x208)][_0x143a85(0x1fa)],_0xa65740):_0x37088a=_0xa65740;const _0x2e440f=_0x402f20[_0x143a85(0x1d1)](getPercyOptions,_0x2db044[_0x143a85(0x1ff)]);if(_0x402f20[_0x143a85(0x204)](_0x2db044['config'][_0x143a85(0x1cf)],0x1))_0x2f2354['forEach'](_0x23832f=>{const _0x4baebe=_0x143a85,_0x5ac6c6=[];_0x2d6ced['forEach']((_0x1cf752,_0x3e7f1d)=>{const _0x45a7da=a26_0x42b8,_0x45687d={};_0x45687d[_0x45a7da(0x171)]=[_0x23832f],_0x5ac6c6['push']({'mochaOpts':Object[_0x45a7da(0x185)]({},_0x31ff60,_0x45687d),'configuration':{'server':_0xdb292a,'capability':_0x1cf752,'proxySettings':_0x2db044[_0x45a7da(0x1ff)][_0x45a7da(0x189)],'platform':helper['getPlatformName'](_0x1cf752),'browserStackLogLevel':_0x2db044[_0x45a7da(0x1ff)][_0x45a7da(0x18a)],'platformIndex':_0x3e7f1d,'browserStackPercyOptions':_0x2e440f,'platformCaps':_0x2db044['config'][_0x45a7da(0x208)][_0x3e7f1d]}});}),_0x52f5ad[_0x4baebe(0x1f0)](..._0x5ac6c6);});else{const _0x97c98e=[];_0x2d6ced[_0x143a85(0x199)]((_0x44c08f,_0x2b0809)=>{const _0x431fcf=_0x143a85;let _0x290d7e=Object[_0x431fcf(0x185)]({},_0x31ff60);testOpsHelper[_0x431fcf(0x200)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x290d7e={..._0x290d7e,'spec':[..._0x2f2354]}),_0x97c98e[_0x431fcf(0x1f0)]({'mochaOpts':_0x290d7e,'configuration':{'server':_0xdb292a,'capability':_0x44c08f,'proxySettings':_0x2db044['config'][_0x431fcf(0x189)],'platform':helper[_0x431fcf(0x1ce)](_0x44c08f),'browserStackLogLevel':_0x2db044[_0x431fcf(0x1ff)]['logLevel'],'platformIndex':_0x2b0809,'browserStackPercyOptions':_0x2e440f,'platformCaps':_0x2db044['config'][_0x431fcf(0x208)][_0x2b0809]}});}),_0x52f5ad['push'](..._0x97c98e);}logger[_0x143a85(0x1f1)](_0x143a85(0x124)+_0x2db044['config']['platforms'][_0x143a85(0x1fa)]+'\x20platforms'),logger[_0x143a85(0x1f1)](_0x402f20[_0x143a85(0x157)]);let _0x20da00;_0x402f20[_0x143a85(0x180)](parallelTestRun,_0x52f5ad,_0x37088a,_0x2db044)[_0x143a85(0x1fb)](_0x417ef1=>{const _0x9ce821=_0x143a85;_0x20da00=_0x417ef1,_0x402f20[_0x9ce821(0x180)](printStats,_0x417ef1,_0x4f46fc[_0x9ce821(0x212)],_0x4f46fc['reporterOptions']||_0x4f46fc[_0x402f20[_0x9ce821(0x13f)]]);})[_0x143a85(0x13a)](async()=>{const _0x56dc85=_0x143a85;_0x2db044['errorMessage']=helper[_0x56dc85(0x1c7)](_0x20da00,_0x402f20['vjytn']),await helper[_0x56dc85(0x1c3)](_0x2db044),testOpsHelper[_0x56dc85(0x214)]();});}}module[a26_0x5d63e0(0x16b)]=run;
|
|
2
|
+
'use strict';function a26_0x2071(_0x1d9c6b,_0xb93581){const _0x418cbf=a26_0x418c();return a26_0x2071=function(_0x20716c,_0x2152be){_0x20716c=_0x20716c-0x151;let _0xe5ed64=_0x418cbf[_0x20716c];return _0xe5ed64;},a26_0x2071(_0x1d9c6b,_0xb93581);}const a26_0x5b3bf2=a26_0x2071;(function(_0x2b8009,_0xba99de){const _0x5090c9=a26_0x2071,_0x2dcc36=_0x2b8009();while(!![]){try{const _0x259474=-parseInt(_0x5090c9(0x233))/0x1*(parseInt(_0x5090c9(0x1f5))/0x2)+-parseInt(_0x5090c9(0x1b0))/0x3+-parseInt(_0x5090c9(0x1fa))/0x4*(parseInt(_0x5090c9(0x1d3))/0x5)+parseInt(_0x5090c9(0x176))/0x6*(-parseInt(_0x5090c9(0x21c))/0x7)+-parseInt(_0x5090c9(0x1b3))/0x8*(-parseInt(_0x5090c9(0x18c))/0x9)+-parseInt(_0x5090c9(0x237))/0xa*(parseInt(_0x5090c9(0x20a))/0xb)+-parseInt(_0x5090c9(0x1cd))/0xc*(-parseInt(_0x5090c9(0x23c))/0xd);if(_0x259474===_0xba99de)break;else _0x2dcc36['push'](_0x2dcc36['shift']());}catch(_0x6d6d32){_0x2dcc36['push'](_0x2dcc36['shift']());}}}(a26_0x418c,0x97b13));function a26_0x418c(){const _0x2f45e7=['error','EXaQA','finally','UYRYN','lDjgT','qxXPA','JxdGN','list','../../helpers/percy/utils','accessibilityOptions','title','oRpDw','output','XKxva','fullTitle','kuCiC','message','testSuites','aweoQ','dLXzt','RdvcB','rsCgZ','CNkSH','lUrVp','wmhsL','then','IgLTQ','reporterOptions','skipped','Couldn\x27t\x20write\x20json\x20result\x20to','Uuffd','../utils/constants','Writing\x20xunit\x20result\x20to\x20file','2264514RFjmsF','qdyBO','exports','65768MkyrKq','argv','getErrorMessageFromResults','\x20passed','ngWfl','kaGbh','getPlatformName','JEsNm','toUTCString','logLevel','BPtqq','min','proxySettings','../../helpers/test-observability/utils','ACCaJ','Running\x20your\x20mocha\x20tests','ywQCd','MbLae','Couldn\x27t\x20write\x20xunit\x20result\x20to','jibdO','rzVdn','length','exitCode','zOKXg','debug','getHubUrl','8714148eCyeYR','AMjMq','../../helpers/BrowserStackSetup','size','testsuite','hhrGu','3020HBJpZx','useW3C','isUndefined','NeWWL','suiteName','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','jQzYq','gQTpm','prepareCapabilities','oFsGv','BROWSERSTACK_AUTOMATION','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','handleApp','EXjhl','testsPending','BROWSERSTACK_TEST_OBSERVABILITY','NmBPS','iwKpZ','tklCx','shouldReRunObservabilityTests','IWoEU','markSDKSetupComplete','log','RcHLM','sort','../../helpers/logger','QqffE','testsPassed','</testsuite>','fvCMN','useColors','json','iSCNI','../test-runner','46eWpUdT','file','wEGCk','Ueyca','AeWOf','796TheJoA','spec','assign','AsYyv','getUserWorkerCount','eARvt','jiUJS','getOwnPropertyNames','hideDiff','bold','results','\x20skipped','yellow','Gysql','has','Running\x20your\x20mocha\x20tests\x20across\x20','23727SODwDK','FRAMEWORKS','consoleLog','dGhkK','mocha','mCzjJ','CXBte','mocha/lib/cli/collect-files.js','reporter','iXBlf','binSS','chalk','EPhex','mjs','duration','BROWSERSTACK_TEST_OBSERVABILITY_YML','MOCHA','hasOwnProperty','77042plFLjN','Kxoum','****\x20FAILURES\x20****','vyYkR','LDHCK','dfjEA','parseFileNames','zUUbN','object','OHQUS','state','failed','passed','passes','wwQfe','writeFileSync','get','LRkMN','showDiff','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','fireFunnelTestEvent','QOoxM','GeskF','25827siyzAU','currentRetry','red','titlePathV','360CpxNYa','parse','ThGnU','add','forEach','39ndrHRl','stringify','join','cliConfig','platform','parallelsPerPlatform','pending','FpXyW','kuRrb','env','extension','\x20failed','XQKry','Lgkjd','indexOf','qRXZD','winstonLogger','WizDr','bgBlueBright','prototype','RJUiO','pqnHY','generateDiff','kDGtW','Now,\x20showing\x20logs\x20from\x20mocha','WiYYb','Tests:\x20\x20\x20\x20\x20\x20\x20','YsRuR','ZGuKC','suite','expected','rootHooks','xunit','isBrowserstackInfra','XiQKe','ZJYrY','stats','bgRedBright','gqKBG','stack','nIHXG','CmpPb','../../helpers/helper','notifyUpdate','titlePath','framework','AUToy','Setting\x20non\x20exit\x20code\x20for\x20failures','err','isPending','GBLaO','GiUlP','ydJdP','NScDS','306PNImuo','SDKTestSuccessful','Mocha\x20Tests','recursive','xXITq','isTestObservabilitySession','config','vAKGw','BROWSERSTACK_RERUN_TESTS','platforms','IUIlZ','mkkbr','aaWfI','info','includes','failure','rerunTests','\x20total','kNLzi','KnjFQ','push','sNyFu','603UkvaJs','testcase','tswkS'];a26_0x418c=function(){return _0x2f45e7;};return a26_0x418c();}const chalk=require(a26_0x5b3bf2(0x215)),logger=require(a26_0x5b3bf2(0x1ec))[a26_0x5b3bf2(0x24c)],{default:BrowserStackSetup}=require(a26_0x5b3bf2(0x1cf)),helper=require('../../helpers/helper'),testOpsHelper=require(a26_0x5b3bf2(0x1c0)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x5b3bf2(0x1f4)),{requireModule}=require(a26_0x5b3bf2(0x16a)),{getPercyOptions}=require(a26_0x5b3bf2(0x197)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule(a26_0x5b3bf2(0x211)),constants=require(a26_0x5b3bf2(0x1ae));function tag(_0x2e67fc,_0x208b12,_0x51cd1e,_0x5ea2d3){const _0x49e58d=a26_0x5b3bf2,_0x1de529={'kDGtW':function(_0x531f72,_0x82f9eb){return _0x531f72+_0x82f9eb;},'iSCNI':function(_0x3347f8,_0x4751f7){return _0x3347f8+_0x4751f7;},'wwQfe':function(_0x50db04,_0x215c4d){return _0x50db04(_0x215c4d);},'yUeFY':function(_0x523a19,_0x1f671d){return _0x523a19+_0x1f671d;},'LFYll':function(_0x401dbc,_0x3a60a3){return _0x401dbc+_0x3a60a3;},'AeWOf':function(_0x2b0d4f,_0x4c3e6e){return _0x2b0d4f+_0x4c3e6e;},'aweoQ':function(_0x4e2097,_0x2a9145){return _0x4e2097+_0x2a9145;},'GiUlP':function(_0x17aa76,_0x5397e4){return _0x17aa76+_0x5397e4;},'WiYYb':function(_0xdc4054,_0x39a63d){return _0xdc4054+_0x39a63d;}},_0xa1a777=_0x51cd1e?'/>':'>',_0x3839ac=[];let _0x35bd41;for(const _0x3319e6 in _0x208b12){Object[_0x49e58d(0x153)][_0x49e58d(0x21b)]['call'](_0x208b12,_0x3319e6)&&_0x3839ac[_0x49e58d(0x18a)](_0x1de529['kDGtW'](_0x1de529[_0x49e58d(0x157)](_0x1de529[_0x49e58d(0x1f3)](_0x3319e6,'=\x22'),_0x1de529[_0x49e58d(0x22a)](escape,_0x208b12[_0x3319e6])),'\x22'));}return _0x35bd41=_0x1de529['yUeFY'](_0x1de529['LFYll'](_0x1de529[_0x49e58d(0x1f9)]('<',_0x2e67fc),_0x3839ac[_0x49e58d(0x1c8)]?_0x1de529[_0x49e58d(0x1a1)]('\x20',_0x3839ac[_0x49e58d(0x23e)]('\x20')):''),_0xa1a777),_0x5ea2d3&&(_0x35bd41+=_0x1de529['AeWOf'](_0x1de529[_0x49e58d(0x173)](_0x1de529[_0x49e58d(0x159)](_0x5ea2d3,'</'),_0x2e67fc),_0xa1a777)),_0x35bd41;}let xunitContent='';function xunitWrite(_0x2c55f0){xunitContent+=_0x2c55f0;}function xunitTest(_0x467476,_0x4af4cf){const _0x2845b0=a26_0x5b3bf2,_0x367507={'wEGCk':function(_0x54cb59,_0x1c9ef4){return _0x54cb59/_0x1c9ef4;},'MbLae':function(_0x30c686,_0x3e8f95){return _0x30c686===_0x3e8f95;},'FpXyW':_0x2845b0(0x227),'KnjFQ':function(_0x3646fc,_0x457de4){return _0x3646fc+_0x457de4;},'wmhsL':function(_0x160ca6,_0x3e2c22){return _0x160ca6(_0x3e2c22);},'UYRYN':function(_0x11fcbf,_0x188653,_0x187820,_0x49eadd,_0x210047){return _0x11fcbf(_0x188653,_0x187820,_0x49eadd,_0x210047);},'gqKBG':_0x2845b0(0x18d),'kaGbh':_0x2845b0(0x185),'CpbHM':function(_0x254aa5,_0x44b140){return _0x254aa5+_0x44b140;},'qRXZD':function(_0x165425,_0xd35ea){return _0x165425(_0xd35ea);},'mCzjJ':function(_0x28b0fd,_0x21e58b){return _0x28b0fd(_0x21e58b);},'BPtqq':function(_0x13f829,_0x5f4ad1,_0x3772f2,_0x1d184c){return _0x13f829(_0x5f4ad1,_0x3772f2,_0x1d184c);},'LRkMN':_0x2845b0(0x1ab)};Base[_0x2845b0(0x1f1)]=![];var _0x19afbd={'classname':_0x467476['fullTitle'],'name':_0x467476[_0x2845b0(0x199)],'time':_0x367507[_0x2845b0(0x1f7)](_0x467476['duration'],0x3e8)||0x0,'platform':_0x4af4cf};if(_0x367507[_0x2845b0(0x1c4)](_0x467476[_0x2845b0(0x226)],_0x367507[_0x2845b0(0x243)])){var _0x863f1e=_0x467476[_0x2845b0(0x170)],_0x22e807=!Base[_0x2845b0(0x202)]&&Base[_0x2845b0(0x22e)](_0x863f1e)?_0x367507[_0x2845b0(0x189)]('\x0a',Base[_0x2845b0(0x156)](_0x863f1e['actual'],_0x863f1e[_0x2845b0(0x15e)])):'';_0x367507['wmhsL'](xunitWrite,_0x367507[_0x2845b0(0x192)](tag,_0x367507[_0x2845b0(0x166)],_0x19afbd,![],_0x367507[_0x2845b0(0x192)](tag,_0x367507[_0x2845b0(0x1b8)],{},![],_0x367507[_0x2845b0(0x189)](_0x367507[_0x2845b0(0x189)](_0x367507['CpbHM'](_0x367507[_0x2845b0(0x1a7)](escape,_0x863f1e[_0x2845b0(0x19f)]),_0x367507[_0x2845b0(0x1a7)](escape,_0x22e807)),'\x0a'),_0x367507[_0x2845b0(0x24b)](escape,_0x863f1e[_0x2845b0(0x167)])))));}else _0x467476[_0x2845b0(0x171)]?_0x367507[_0x2845b0(0x20f)](xunitWrite,_0x367507[_0x2845b0(0x192)](tag,_0x367507[_0x2845b0(0x166)],_0x19afbd,![],_0x367507[_0x2845b0(0x1bd)](tag,_0x367507[_0x2845b0(0x22d)],{},!![]))):_0x367507[_0x2845b0(0x24b)](xunitWrite,_0x367507['BPtqq'](tag,_0x367507['gqKBG'],_0x19afbd,!![]));};function getStats(_0x28bcf5){const _0x328504=a26_0x5b3bf2,_0x507b52={};_0x507b52[_0x328504(0x1da)]=_0x328504(0x15d),_0x507b52[_0x328504(0x1d6)]='passed',_0x507b52[_0x328504(0x17a)]=_0x328504(0x227),_0x507b52[_0x328504(0x232)]=_0x328504(0x204);const _0x217046=_0x507b52,_0x14bcfc=Object['keys'](_0x28bcf5);let _0x339ec2=0x0,_0x2307ba=0x0,_0x11c182=0x0,_0x35bc80=0x0;const _0x2897c0=new Set();_0x14bcfc[_0x328504(0x23b)](_0x125011=>{const _0x582376=_0x328504,_0xc0eaeb={};_0xc0eaeb[_0x582376(0x182)]=_0x217046['gQTpm'],_0xc0eaeb[_0x582376(0x1b1)]=_0x217046[_0x582376(0x1d6)],_0xc0eaeb[_0x582376(0x19a)]=_0x217046[_0x582376(0x17a)];const _0x2b8b89=_0xc0eaeb;_0x28bcf5[_0x125011][_0x217046[_0x582376(0x232)]][_0x582376(0x23b)](_0x3037c6=>{const _0x282e78=_0x582376;_0x2897c0[_0x282e78(0x23a)](_0x3037c6[_0x2b8b89[_0x282e78(0x182)]]),_0x339ec2++;switch(_0x3037c6['state']){case _0x2b8b89[_0x282e78(0x1b1)]:_0x11c182++;break;case _0x2b8b89[_0x282e78(0x19a)]:_0x2307ba++;break;default:_0x35bc80++;}});});const _0x5cbe7b={};return _0x5cbe7b[_0x328504(0x1a0)]=_0x2897c0[_0x328504(0x1d0)],_0x5cbe7b[_0x328504(0x17f)]=_0x14bcfc,_0x5cbe7b['totalTests']=_0x339ec2,_0x5cbe7b['testsFailed']=_0x2307ba,_0x5cbe7b[_0x328504(0x1ee)]=_0x11c182,_0x5cbe7b[_0x328504(0x1e1)]=_0x35bc80,_0x5cbe7b;}function errorJSON(_0x1d056d){const _0xd6f41b=a26_0x5b3bf2;var _0x2be744={};return Object[_0xd6f41b(0x201)](_0x1d056d)[_0xd6f41b(0x23b)](function(_0x1a11a7){_0x2be744[_0x1a11a7]=_0x1d056d[_0x1a11a7];},_0x1d056d),_0x2be744;}function cleanCycles(_0x3db179){const _0x4d21cd=a26_0x5b3bf2,_0xd1e9ff={};_0xd1e9ff['ngWfl']=function(_0x35eee1,_0x21f693){return _0x35eee1===_0x21f693;},_0xd1e9ff['XKxva']=_0x4d21cd(0x224),_0xd1e9ff[_0x4d21cd(0x1a9)]=function(_0x5b403b,_0x77a1c8){return _0x5b403b!==_0x77a1c8;},_0xd1e9ff['iXBlf']=function(_0x30bd99,_0x17adf8){return _0x30bd99!==_0x17adf8;},_0xd1e9ff[_0x4d21cd(0x221)]=function(_0x4adff7,_0x2ad661){return _0x4adff7+_0x2ad661;};const _0xc0c3d4=_0xd1e9ff;var _0x4cb05b=[];return JSON[_0x4d21cd(0x238)](JSON['stringify'](_0x3db179,function(_0x19a31b,_0x4d1eb9){const _0x46dfc9=_0x4d21cd;if(_0xc0c3d4[_0x46dfc9(0x1b7)](typeof _0x4d1eb9,_0xc0c3d4[_0x46dfc9(0x19c)])&&_0xc0c3d4[_0x46dfc9(0x1a9)](_0x4d1eb9,null)){if(_0xc0c3d4[_0x46dfc9(0x213)](_0x4cb05b[_0x46dfc9(0x24a)](_0x4d1eb9),-0x1))return _0xc0c3d4[_0x46dfc9(0x221)]('',_0x4d1eb9);_0x4cb05b[_0x46dfc9(0x18a)](_0x4d1eb9);}return _0x4d1eb9;}));}function clean(_0x255b23){const _0x303a73=a26_0x5b3bf2,_0x1a2139={'VhJdL':function(_0x463a6c,_0x2ab9da){return _0x463a6c instanceof _0x2ab9da;},'tswkS':function(_0x4e87f4,_0x18d332){return _0x4e87f4(_0x18d332);},'fwwqt':function(_0x45867f,_0x561bf4){return _0x45867f(_0x561bf4);}};var _0x195cd6=_0x255b23['err']||{};return _0x1a2139['VhJdL'](_0x195cd6,Error)&&(_0x195cd6=_0x1a2139[_0x303a73(0x18e)](errorJSON,_0x195cd6)),{'title':_0x255b23[_0x303a73(0x199)],'fullTitle':_0x255b23[_0x303a73(0x19d)],'file':_0x255b23[_0x303a73(0x1f6)],'duration':_0x255b23[_0x303a73(0x218)],'currentRetry':_0x255b23[_0x303a73(0x234)],'speed':_0x255b23['speed'],'err':_0x1a2139['fwwqt'](cleanCycles,_0x195cd6)};}function printStats(_0x37e77f,_0x1b4cc3='spec',_0x16c0c4={}){const _0x324020=a26_0x5b3bf2,_0x4916dd={'wtGeA':function(_0x5bada2,_0x3a0fb1){return _0x5bada2(_0x3a0fb1);},'AsYyv':function(_0x231ea7,_0x3805eb){return _0x231ea7===_0x3805eb;},'QqffE':_0x324020(0x228),'tklCx':_0x324020(0x229),'JxdGN':function(_0x2574f7,_0x481d44){return _0x2574f7(_0x481d44);},'EPhex':_0x324020(0x227),'JEsNm':'failures','LDHCK':_0x324020(0x242),'Ueyca':'results','WizDr':function(_0xd8ee42,_0x2dac21){return _0xd8ee42===_0x2dac21;},'IUIlZ':function(_0x41c273,_0x124e69){return _0x41c273*_0x124e69;},'hhrGu':function(_0x56f7f3,_0x3fd0df,_0x569377){return _0x56f7f3(_0x3fd0df,_0x569377);},'Gysql':function(_0x16788,_0x5420cc){return _0x16788>_0x5420cc;},'OHQUS':function(_0x29536d){return _0x29536d();},'rsCgZ':function(_0x41fb4f,_0x3becdd){return _0x41fb4f===_0x3becdd;},'ZJYrY':'doc','YsRuR':function(_0x350af1,_0x233d5d){return _0x350af1(_0x233d5d);},'kfPll':_0x324020(0x16f),'EXaQA':'Printing\x20stats\x20of\x20tests','Uuffd':function(_0x1b8cee,_0x37f2a0){return _0x1b8cee+_0x37f2a0;},'IDBnF':'Total\x20Platforms:\x20','snRju':'Total\x20Suites:\x20','oFsGv':function(_0x5eeacf,_0x491c83){return _0x5eeacf+_0x491c83;},'IWoEU':function(_0x5e0405,_0x4aeb77){return _0x5e0405+_0x4aeb77;},'UsXHd':_0x324020(0x15a),'zUUbN':function(_0x2b6bfa,_0x581202){return _0x2b6bfa>_0x581202;},'CXBte':function(_0x18b737,_0x3a5f1c){return _0x18b737>_0x3a5f1c;},'RcHLM':function(_0xccc958,_0x2746eb){return _0xccc958>_0x2746eb;},'sNyFu':function(_0x411f7d,_0xefbd01){return _0x411f7d+_0xefbd01;},'AUToy':function(_0xee37ca,_0x75325b){return _0xee37ca+_0x75325b;},'jiUJS':function(_0x58fb74,_0x1d16ca){return _0x58fb74+_0x1d16ca;},'dLXzt':'\x0a\x0a\x0a','ACCaJ':function(_0x369042,_0x31763d){return _0x369042===_0x31763d;},'dGhkK':_0x324020(0x1f2),'ULKNg':'Writing\x20json\x20result\x20to\x20file','lDjgT':_0x324020(0x1ac),'binSS':_0x324020(0x1d8),'jQzYq':_0x324020(0x160),'vAKGw':_0x324020(0x178),'kuCiC':function(_0x35a0db,_0x56733d){return _0x35a0db||_0x56733d;},'qxXPA':function(_0x25847a,_0x4bddcf){return _0x25847a(_0x4bddcf);},'vyYkR':function(_0x344fe1,_0x5743ee,_0x4368e0,_0x25e22d){return _0x344fe1(_0x5743ee,_0x4368e0,_0x25e22d);},'XQKry':_0x324020(0x1d1),'doGCd':function(_0xc7652,_0x4e63a0){return _0xc7652-_0x4e63a0;},'nvBhC':function(_0xb6206,_0x2ede70){return _0xb6206-_0x2ede70;},'MiiWb':function(_0x5bf248,_0x3f5532){return _0x5bf248/_0x3f5532;},'XiQKe':function(_0x2d47c1,_0x39b131){return _0x2d47c1(_0x39b131);},'lUrVp':_0x324020(0x1ef),'RJUiO':_0x324020(0x1af),'ywQCd':_0x324020(0x1c5),'SgEeV':_0x324020(0x22f),'aCoQb':'Listing\x20all\x20the\x20failures','nrMCP':_0x324020(0x21e)};if(_0x4916dd[_0x324020(0x1a4)](_0x1b4cc3,_0x4916dd[_0x324020(0x163)]))return;const _0x40f65f=0x0,_0x36487a=()=>{const _0x29f048=_0x324020;return _0x4916dd['wtGeA'](Array,_0x40f65f)[_0x29f048(0x23e)]('\x20\x20');},{testSuites:_0x183718,platforms:_0x32f05a,totalTests:_0x4afc77,testsFailed:_0x31e70e,testsPassed:_0x3cdc7e,testsPending:_0x31efd9}=_0x4916dd[_0x324020(0x15b)](getStats,_0x37e77f);_0x4916dd['Gysql'](_0x31e70e,0x0)&&(logger[_0x324020(0x1cb)](_0x4916dd['kfPll']),process[_0x324020(0x1c9)]=Math[_0x324020(0x1be)](_0x31e70e,0xff));logger[_0x324020(0x1cb)](_0x4916dd[_0x324020(0x190)]);const _0x44ebae=''+_0x4916dd[_0x324020(0x1ad)](chalk['bold'](_0x4916dd['IDBnF']),_0x32f05a[_0x324020(0x1c8)]),_0x3d189f=''+_0x4916dd[_0x324020(0x1ad)](chalk[_0x324020(0x203)](_0x4916dd['snRju']),_0x183718),_0x2c2659=''+_0x4916dd[_0x324020(0x1ad)](_0x4916dd[_0x324020(0x1dc)](_0x4916dd[_0x324020(0x1e7)](chalk[_0x324020(0x203)](_0x4916dd['UsXHd']),_0x4916dd[_0x324020(0x223)](_0x31e70e,0x0)?chalk['bold'][_0x324020(0x235)](_0x31e70e+_0x324020(0x247))+',\x20':''),_0x4916dd[_0x324020(0x210)](_0x31efd9,0x0)?chalk[_0x324020(0x203)][_0x324020(0x206)](_0x31efd9+_0x324020(0x205))+',\x20':''),_0x4916dd[_0x324020(0x1ea)](_0x3cdc7e,0x0)?chalk[_0x324020(0x203)]['green'](_0x3cdc7e+_0x324020(0x1b6))+',\x20':'')+_0x4afc77+_0x324020(0x187);console[_0x324020(0x1e9)](_0x4916dd[_0x324020(0x1e7)](_0x4916dd[_0x324020(0x18b)](_0x4916dd[_0x324020(0x1ad)](_0x4916dd[_0x324020(0x16e)](_0x4916dd[_0x324020(0x200)](_0x4916dd[_0x324020(0x1a2)],_0x44ebae),'\x0a'),_0x3d189f),'\x0a'),_0x2c2659));if(_0x4916dd[_0x324020(0x1c1)](_0x1b4cc3,_0x4916dd[_0x324020(0x20d)])){const _0x2c7fe7={},_0x2da4cf={};_0x2da4cf[_0x324020(0x1a0)]=_0x183718,_0x2da4cf[_0x324020(0x17f)]=_0x32f05a,_0x2da4cf['testsFailed']=_0x31e70e,_0x2da4cf[_0x324020(0x1ee)]=_0x3cdc7e,_0x2da4cf[_0x324020(0x1e1)]=_0x31efd9,_0x2c7fe7[_0x324020(0x164)]=_0x2da4cf,_0x32f05a['forEach'](_0x506034=>{const _0x1d9e56=_0x324020,_0x3e6cd5={'fvCMN':function(_0x2c4e4b,_0x12d8f3){const _0x167e55=a26_0x2071;return _0x4916dd[_0x167e55(0x1fd)](_0x2c4e4b,_0x12d8f3);},'eARvt':_0x4916dd[_0x1d9e56(0x1ed)],'ZGuKC':_0x4916dd[_0x1d9e56(0x1e5)],'RdvcB':function(_0x5b1b9f,_0x253117){const _0x47a5f9=_0x1d9e56;return _0x4916dd[_0x47a5f9(0x195)](_0x5b1b9f,_0x253117);},'Lgkjd':_0x4916dd[_0x1d9e56(0x216)],'cAPHQ':_0x4916dd[_0x1d9e56(0x1ba)],'lNhQu':_0x4916dd[_0x1d9e56(0x220)],'khEpn':function(_0x40a324,_0x44a560){const _0x227496=_0x1d9e56;return _0x4916dd[_0x227496(0x195)](_0x40a324,_0x44a560);}};_0x2c7fe7[_0x506034]={'pending':[],'failures':[],'passes':[],'tests':_0x37e77f[_0x506034][_0x4916dd[_0x1d9e56(0x1f8)]]['map'](clean)},_0x37e77f[_0x506034][_0x4916dd[_0x1d9e56(0x1f8)]]['forEach'](_0xcaa0fe=>{const _0x49f4a6=_0x1d9e56;if(_0x3e6cd5[_0x49f4a6(0x1f0)](_0xcaa0fe[_0x49f4a6(0x226)],_0x3e6cd5[_0x49f4a6(0x1ff)]))_0x2c7fe7[_0x506034][_0x3e6cd5[_0x49f4a6(0x15c)]][_0x49f4a6(0x18a)](_0x3e6cd5[_0x49f4a6(0x1a3)](clean,_0xcaa0fe));else _0x3e6cd5['fvCMN'](_0xcaa0fe[_0x49f4a6(0x226)],_0x3e6cd5[_0x49f4a6(0x249)])?_0x2c7fe7[_0x506034][_0x3e6cd5['cAPHQ']]['push'](_0x3e6cd5['RdvcB'](clean,_0xcaa0fe)):_0x2c7fe7[_0x506034][_0x3e6cd5['lNhQu']][_0x49f4a6(0x18a)](_0x3e6cd5['khEpn'](clean,_0xcaa0fe));});});if(_0x16c0c4[_0x324020(0x19b)])try{logger[_0x324020(0x1cb)](_0x4916dd['ULKNg'],_0x16c0c4[_0x324020(0x19b)]),fs[_0x324020(0x22b)](_0x16c0c4[_0x324020(0x19b)],JSON[_0x324020(0x23d)](_0x2c7fe7,null,0x3));}catch(_0xb9c561){logger['error'](_0x4916dd[_0x324020(0x193)],_0x16c0c4[_0x324020(0x19b)]),logger['debug'](_0xb9c561);}else logger[_0x324020(0x1cb)](_0x4916dd[_0x324020(0x214)]),console[_0x324020(0x1e9)](JSON[_0x324020(0x23d)](_0x2c7fe7,null,0x3));}else{if(_0x4916dd[_0x324020(0x151)](_0x1b4cc3,_0x4916dd[_0x324020(0x1d9)])){let _0x2e565f;const _0x80efda=_0x4916dd[_0x324020(0x17d)];_0x16c0c4&&(_0x2e565f=_0x16c0c4[_0x324020(0x1d7)]);_0x2e565f=_0x4916dd[_0x324020(0x19e)](_0x2e565f,_0x80efda);let _0x175ce6=0x0,_0x4a93e6=0x0,_0x4e41ab=0x0,_0x3529be=0x0;_0x32f05a[_0x324020(0x23b)](_0x2272ba=>{const _0x2a1590=_0x324020,_0x5dc8d4={'RScxg':function(_0x33faa0,_0x101c8d){const _0x48150f=a26_0x2071;return _0x4916dd[_0x48150f(0x1fd)](_0x33faa0,_0x101c8d);},'yGUIG':_0x4916dd[_0x2a1590(0x1ed)],'NYgxR':function(_0x1ce68e,_0x24e2d0){const _0x470ce3=_0x2a1590;return _0x4916dd[_0x470ce3(0x151)](_0x1ce68e,_0x24e2d0);},'zOKXg':_0x4916dd[_0x2a1590(0x216)],'ydJdP':function(_0x344288,_0x4ae5fd){const _0xb207af=_0x2a1590;return _0x4916dd[_0xb207af(0x180)](_0x344288,_0x4ae5fd);}};_0x37e77f[_0x2272ba][_0x4916dd[_0x2a1590(0x1f8)]][_0x2a1590(0x23b)](_0x405675=>{const _0x1ae8e0=_0x2a1590;if(_0x5dc8d4['RScxg'](_0x405675[_0x1ae8e0(0x226)],_0x5dc8d4['yGUIG']))_0x175ce6++;else _0x5dc8d4['NYgxR'](_0x405675[_0x1ae8e0(0x226)],_0x5dc8d4[_0x1ae8e0(0x1ca)])&&_0x4a93e6++;_0x4e41ab++,_0x3529be+=_0x5dc8d4[_0x1ae8e0(0x174)](_0x405675[_0x1ae8e0(0x218)],0x1);});}),_0x4916dd[_0x324020(0x194)](xunitWrite,_0x4916dd[_0x324020(0x21f)](tag,_0x4916dd[_0x324020(0x248)],{'name':_0x2e565f,'tests':_0x4e41ab,'failures':0x0,'errors':_0x4a93e6,'skipped':_0x4916dd['doGCd'](_0x4916dd['nvBhC'](_0x4e41ab,_0x4a93e6),_0x175ce6),'timestamp':new Date()[_0x324020(0x1bb)](),'time':_0x4916dd['MiiWb'](_0x3529be,0x3e8)||0x0},![])),_0x32f05a[_0x324020(0x23b)](_0x5a23e8=>{const _0x271c33=_0x324020,_0xcbcc17={'rzVdn':function(_0x5910c7,_0xf14a90,_0x33653d){const _0x726b7e=a26_0x2071;return _0x4916dd[_0x726b7e(0x1d2)](_0x5910c7,_0xf14a90,_0x33653d);}};_0x37e77f[_0x5a23e8][_0x4916dd[_0x271c33(0x1f8)]][_0x271c33(0x23b)](_0x444f07=>{const _0x2edee4=_0x271c33;_0xcbcc17[_0x2edee4(0x1c7)](xunitTest,_0x444f07,_0x5a23e8);});}),_0x4916dd[_0x324020(0x162)](xunitWrite,_0x4916dd[_0x324020(0x1a6)]);if(_0x16c0c4[_0x324020(0x19b)])try{logger[_0x324020(0x1cb)](_0x4916dd[_0x324020(0x154)],_0x16c0c4[_0x324020(0x19b)]),fs['writeFileSync'](_0x16c0c4[_0x324020(0x19b)],xunitContent);}catch(_0x41c8c4){logger[_0x324020(0x18f)](_0x4916dd[_0x324020(0x1c3)],_0x16c0c4[_0x324020(0x19b)]),logger[_0x324020(0x1cb)](_0x41c8c4);}else logger[_0x324020(0x1cb)](_0x4916dd['SgEeV']),console['log'](xunitContent);}else{if(_0x4916dd[_0x324020(0x151)](_0x31e70e,0x0))return;console[_0x324020(0x1e9)](),logger[_0x324020(0x1cb)](_0x4916dd['aCoQb']),console['log'](chalk[_0x324020(0x203)][_0x324020(0x165)](_0x4916dd['nrMCP'])),_0x32f05a[_0x324020(0x23b)](_0x5b7696=>{const _0x4085fb=_0x324020,_0x5555c6={'GBLaO':function(_0x50c1b4,_0x312f90){return _0x4916dd['WizDr'](_0x50c1b4,_0x312f90);},'pqnHY':_0x4916dd[_0x4085fb(0x216)]},_0x30476a=[];_0x37e77f[_0x5b7696][_0x4916dd[_0x4085fb(0x1f8)]][_0x4085fb(0x23b)](_0x25208d=>{const _0x1df6a7=_0x4085fb;_0x5555c6[_0x1df6a7(0x172)](_0x25208d['state'],_0x5555c6[_0x1df6a7(0x155)])&&(_0x25208d[_0x1df6a7(0x16c)]=()=>_0x25208d[_0x1df6a7(0x236)],_0x30476a[_0x1df6a7(0x18a)](_0x25208d));}),_0x4916dd[_0x4085fb(0x207)](_0x30476a[_0x4085fb(0x1c8)],0x0)&&(Base[_0x4085fb(0x20c)](),Base[_0x4085fb(0x20c)](_0x4916dd[_0x4085fb(0x225)](_0x36487a),chalk['bold'][_0x4085fb(0x152)](_0x5b7696)),Base[_0x4085fb(0x196)](_0x30476a));});}}}async function run(_0x438c71,_0x58a577){const _0x24b111=a26_0x5b3bf2,_0x23abd4={'mkkbr':function(_0x88d0ee,_0x32a0d9,_0x1605e6,_0x5c9edb){return _0x88d0ee(_0x32a0d9,_0x1605e6,_0x5c9edb);},'tZxWh':'reporter-option','CmpPb':_0x24b111(0x177),'Kxoum':_0x24b111(0x20e),'kNLzi':'--disable-test-observability','CNkSH':'--disable-browserstack-automation','enWHY':function(_0x2d2e1c,_0x372952){return _0x2d2e1c!=_0x372952;},'EXjhl':'cjs','QOoxM':_0x24b111(0x217),'jibdO':'test','NmBPS':_0x24b111(0x186),'AMjMq':function(_0x2c7d7a,_0x2b4eaa){return _0x2c7d7a(_0x2b4eaa);},'PXRQZ':_0x24b111(0x1c2),'ThGnU':_0x24b111(0x158),'nIHXG':function(_0x24c3b4,_0x19e188,_0x4d62f3,_0x6acd04){return _0x24c3b4(_0x19e188,_0x4d62f3,_0x6acd04);},'kuRrb':function(_0x4bfef1,_0x11028d){return _0x4bfef1*_0x11028d;},'NScDS':function(_0x5823e0,_0x3781ba){return _0x5823e0!==_0x3781ba;},'iwKpZ':function(_0x5a96a7,_0x47c101,_0x5d1604,_0x156801){return _0x5a96a7(_0x47c101,_0x5d1604,_0x156801);}};process[_0x24b111(0x1b4)][_0x24b111(0x184)](_0x23abd4[_0x24b111(0x188)])&&(process[_0x24b111(0x245)][_0x24b111(0x1e2)]=![]);process[_0x24b111(0x1b4)]['includes'](_0x23abd4[_0x24b111(0x1a5)])&&(process[_0x24b111(0x245)][_0x24b111(0x1dd)]=![]);const _0x4d1049=new BrowserStackSetup(_0x438c71,_0x23abd4[_0x24b111(0x21d)]);helper[_0x24b111(0x161)]()&&(await _0x4d1049['initialize'](),await helper[_0x24b111(0x1df)](_0x4d1049['config']));const _0x1b2f43=[];let _0x13473e=[];if(!_0x4d1049[_0x24b111(0x17c)])return;_0x23abd4['enWHY'](_0x4d1049[_0x24b111(0x17c)]['testObservability'],null)&&(process[_0x24b111(0x245)][_0x24b111(0x219)]=_0x4d1049[_0x24b111(0x17c)]['testObservability']);!helper[_0x24b111(0x1d5)](_0x4d1049[_0x24b111(0x17c)]['accessibility'])&&(process[_0x24b111(0x245)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4d1049['config']['accessibility']);!helper[_0x24b111(0x1d5)](_0x4d1049[_0x24b111(0x17c)][_0x24b111(0x198)])&&(process[_0x24b111(0x245)][_0x24b111(0x1de)]=JSON[_0x24b111(0x23d)](_0x4d1049['config'][_0x24b111(0x198)]));const {extension:extension=['js',_0x23abd4[_0x24b111(0x1e0)],_0x23abd4[_0x24b111(0x231)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x23abd4[_0x24b111(0x1c6)]]}=_0x438c71,_0xf31db0={..._0x438c71};_0xf31db0[_0x24b111(0x15f)]=null;const _0x27b1dc=_0xf31db0;let _0x2de951;if(testOpsHelper[_0x24b111(0x17b)]()&&testOpsHelper[_0x24b111(0x1e6)]()){let _0x4ba564=process[_0x24b111(0x245)][_0x24b111(0x17e)];!helper['isUndefined'](_0x4d1049[_0x24b111(0x23f)])&&_0x4d1049[_0x24b111(0x23f)][_0x24b111(0x208)](_0x23abd4[_0x24b111(0x1e3)])&&(_0x4ba564=_0x4d1049['cliConfig'][_0x24b111(0x22c)](_0x23abd4[_0x24b111(0x1e3)])),_0x2de951=testOpsHelper[_0x24b111(0x222)](_0x4ba564);}if(helper[_0x24b111(0x1d5)](_0x2de951)){const _0x25e602={};_0x25e602['ignore']=ignore,_0x25e602[_0x24b111(0x246)]=extension,_0x25e602[_0x24b111(0x1f6)]=file,_0x25e602[_0x24b111(0x179)]=recursive,_0x25e602[_0x24b111(0x1eb)]=sort,_0x25e602[_0x24b111(0x1fb)]=spec,_0x2de951=_0x23abd4[_0x24b111(0x1ce)](collectFiles,_0x25e602);}helper[_0x24b111(0x1e8)]();if(!helper[_0x24b111(0x161)]()){const _0x52384f=0x1,_0x453077={..._0x27b1dc};_0x453077['spec']=[..._0x2de951],_0x1b2f43[_0x24b111(0x18a)]({'mochaOpts':_0x453077,'configuration':{'platform':os[_0x24b111(0x240)]()}}),logger[_0x24b111(0x183)](_0x23abd4['PXRQZ']),logger['info'](_0x23abd4[_0x24b111(0x239)]),_0x23abd4[_0x24b111(0x168)](parallelTestRun,_0x1b2f43,_0x52384f,_0x4d1049)[_0x24b111(0x1a8)](_0x9eabc9=>{const _0x45f014=_0x24b111;_0x23abd4[_0x45f014(0x181)](printStats,_0x9eabc9,_0x438c71[_0x45f014(0x212)],_0x438c71[_0x45f014(0x1aa)]||_0x438c71[_0x23abd4['tZxWh']]);})['finally'](()=>{const _0x19a389=_0x24b111;try{helper[_0x19a389(0x230)](_0x23abd4[_0x19a389(0x169)],{},_0x4d1049[_0x19a389(0x17c)],_0x4d1049[_0x19a389(0x16d)]);}catch(_0x303752){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x303752);}try{helper[_0x19a389(0x16b)]();}catch(_0x3925ab){logger[_0x19a389(0x1cb)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x3925ab);}testOpsHelper['printBuildLink']();});}else{const _0x573aef=helper[_0x24b111(0x1d4)](_0x4d1049['config']),_0x326575=helper[_0x24b111(0x1cc)](_0x4d1049[_0x24b111(0x17c)]);_0x13473e=helper[_0x24b111(0x1db)](_0x4d1049['config'],_0x573aef,constants[_0x24b111(0x20b)][_0x24b111(0x21a)]);let _0x342fd4;const _0x4db075=_0x4d1049[_0x24b111(0x17c)][_0x24b111(0x241)]||helper[_0x24b111(0x1fe)](_0x438c71,_0x58a577,_0x4d1049['config'],constants[_0x24b111(0x20b)][_0x24b111(0x21a)])||0x1;helper['validPlatformsPresent'](_0x4d1049[_0x24b111(0x17c)])?_0x342fd4=_0x23abd4[_0x24b111(0x244)](_0x4d1049[_0x24b111(0x17c)][_0x24b111(0x17f)]['length'],_0x4db075):_0x342fd4=_0x4db075;const _0x65cdc9=_0x23abd4[_0x24b111(0x1ce)](getPercyOptions,_0x4d1049[_0x24b111(0x17c)]);if(_0x23abd4[_0x24b111(0x175)](_0x4d1049['config'][_0x24b111(0x241)],0x1))_0x2de951[_0x24b111(0x23b)](_0x3147cb=>{const _0x2aa6e1=_0x24b111,_0xb2710d=[];_0x13473e[_0x2aa6e1(0x23b)]((_0x4e4086,_0x33cf4c)=>{const _0x5c528b=_0x2aa6e1,_0x3eeb52={};_0x3eeb52['spec']=[_0x3147cb],_0xb2710d[_0x5c528b(0x18a)]({'mochaOpts':Object[_0x5c528b(0x1fc)]({},_0x27b1dc,_0x3eeb52),'configuration':{'server':_0x326575,'capability':_0x4e4086,'proxySettings':_0x4d1049[_0x5c528b(0x17c)][_0x5c528b(0x1bf)],'platform':helper['getPlatformName'](_0x4e4086),'browserStackLogLevel':_0x4d1049[_0x5c528b(0x17c)][_0x5c528b(0x1bc)],'platformIndex':_0x33cf4c,'browserStackPercyOptions':_0x65cdc9,'platformCaps':_0x4d1049[_0x5c528b(0x17c)][_0x5c528b(0x17f)][_0x33cf4c]}});}),_0x1b2f43['push'](..._0xb2710d);});else{const _0x215f5b=[];_0x13473e['forEach']((_0x58bbce,_0x4cdb53)=>{const _0x5af778=_0x24b111;let _0x1c9a14=Object[_0x5af778(0x1fc)]({},_0x27b1dc);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x5af778(0x1e6)]()&&(_0x1c9a14={..._0x1c9a14,'spec':[..._0x2de951]}),_0x215f5b[_0x5af778(0x18a)]({'mochaOpts':_0x1c9a14,'configuration':{'server':_0x326575,'capability':_0x58bbce,'proxySettings':_0x4d1049[_0x5af778(0x17c)][_0x5af778(0x1bf)],'platform':helper[_0x5af778(0x1b9)](_0x58bbce),'browserStackLogLevel':_0x4d1049[_0x5af778(0x17c)][_0x5af778(0x1bc)],'platformIndex':_0x4cdb53,'browserStackPercyOptions':_0x65cdc9,'platformCaps':_0x4d1049[_0x5af778(0x17c)][_0x5af778(0x17f)][_0x4cdb53]}});}),_0x1b2f43[_0x24b111(0x18a)](..._0x215f5b);}logger[_0x24b111(0x183)](_0x24b111(0x209)+_0x4d1049['config'][_0x24b111(0x17f)][_0x24b111(0x1c8)]+'\x20platforms'),logger[_0x24b111(0x183)](_0x23abd4[_0x24b111(0x239)]);let _0x48258f;_0x23abd4[_0x24b111(0x1e4)](parallelTestRun,_0x1b2f43,_0x342fd4,_0x4d1049)[_0x24b111(0x1a8)](_0x47cbbd=>{const _0x47daa7=_0x24b111;_0x48258f=_0x47cbbd,_0x23abd4['mkkbr'](printStats,_0x47cbbd,_0x438c71[_0x47daa7(0x212)],_0x438c71[_0x47daa7(0x1aa)]||_0x438c71[_0x23abd4['tZxWh']]);})[_0x24b111(0x191)](async()=>{const _0x4785b4=_0x24b111;_0x4d1049['errorMessage']=helper[_0x4785b4(0x1b5)](_0x48258f,_0x23abd4[_0x4785b4(0x21d)]),await helper['finalExecution'](_0x4d1049),testOpsHelper['printBuildLink']();});}}module[a26_0x5b3bf2(0x1b2)]=run;
|