browserstack-node-sdk 1.34.21 → 1.34.22
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/ai-sdk-node/bundle.js +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-observability.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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.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/patchHelper.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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.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
|
-
|
|
1
|
+
function a23_0xba7c(){const _0x553266=['testData.json','getTestData','3105272kuCuwV','4986897ycSAfC','writeFileSync','ALMIs','env','mkdirSync','exports','9WNZzMW','1nfUekc','readFileSync','ENV_VAR','75655JZMeav','132UYfBEk','setTestData','unlinkSync','removeTestUUID','dovqa','getFilePath','getTestRunIdFromTestInfo','stringify','320kObXEE','../../../helpers/testhub/constants','parse','tcTlH','12331130ZfltLl','../../../helpers/helper','homedir','shutdown','recursive','dirPath','BvsZb','setTestUUID','retry','BROWSERSTACK_TESTHUB_UUID','toString','.browserstack','9226bjSufy','IAbOF','existsSync','uuid','tests','getTestUUID','9493248GARAwR','setup','path','4904ktYwrU','zOaNj','force','_test','psRQn','jest-o11y-','1775220QyUVBV','join','ZbeIN'];a23_0xba7c=function(){return _0x553266;};return a23_0xba7c();}function a23_0x2260(_0x3c3bca,_0x4492af){const _0xba7c72=a23_0xba7c();return a23_0x2260=function(_0x226039,_0x386bcb){_0x226039=_0x226039-0x8b;let _0x35bb21=_0xba7c72[_0x226039];return _0x35bb21;},a23_0x2260(_0x3c3bca,_0x4492af);}const a23_0x15e5f7=a23_0x2260;(function(_0x2d924e,_0x82367d){const _0x307ec4=a23_0x2260,_0x2d2900=_0x2d924e();while(!![]){try{const _0x47e296=parseInt(_0x307ec4(0xc0))/0x1*(parseInt(_0x307ec4(0xb8))/0x2)+-parseInt(_0x307ec4(0xb9))/0x3+parseInt(_0x307ec4(0x94))/0x4*(parseInt(_0x307ec4(0x8b))/0x5)+-parseInt(_0x307ec4(0xaa))/0x6+parseInt(_0x307ec4(0xa4))/0x7*(parseInt(_0x307ec4(0xad))/0x8)+parseInt(_0x307ec4(0xbf))/0x9*(-parseInt(_0x307ec4(0x98))/0xa)+parseInt(_0x307ec4(0x8c))/0xb*(parseInt(_0x307ec4(0xb3))/0xc);if(_0x47e296===_0x82367d)break;else _0x2d2900['push'](_0x2d2900['shift']());}catch(_0xb639ab){_0x2d2900['push'](_0x2d2900['shift']());}}}(a23_0xba7c,0xd412a));const fs=require('fs'),path=require(a23_0x15e5f7(0xac)),{v4:uuidv4}=require(a23_0x15e5f7(0xa7)),helper=require(a23_0x15e5f7(0x99)),testHubConstants=require(a23_0x15e5f7(0x95));class TestDetails{static ['tests']={};static [a23_0x15e5f7(0x9d)]=path[a23_0x15e5f7(0xb4)](helper[a23_0x15e5f7(0x9a)](),'.browserstack',a23_0x15e5f7(0xb2)+process[a23_0x15e5f7(0xbc)][testHubConstants[a23_0x15e5f7(0xc2)][a23_0x15e5f7(0xa1)]]);static[a23_0x15e5f7(0xab)](){const _0x5c5913=a23_0x15e5f7,_0x32e5d4={};_0x32e5d4[_0x5c5913(0xbb)]=_0x5c5913(0xa3);const _0x5c2365=_0x32e5d4;this['dirPath']=path[_0x5c5913(0xb4)](helper['homedir'](),_0x5c2365[_0x5c5913(0xbb)],_0x5c5913(0xb2)+process['env'][testHubConstants[_0x5c5913(0xc2)][_0x5c5913(0xa1)]]),this[_0x5c5913(0x9b)]();const _0x13a1bf={};_0x13a1bf['recursive']=!![],fs[_0x5c5913(0xbd)](this['dirPath'],_0x13a1bf);}static[a23_0x15e5f7(0x91)](_0x535080){const _0x15d956=a23_0x15e5f7,_0x472f18={};_0x472f18[_0x15d956(0x90)]=function(_0x5b0929,_0x4a8e77){return _0x5b0929+_0x4a8e77;},_0x472f18[_0x15d956(0x9e)]='.json';const _0x3eff89=_0x472f18;return path[_0x15d956(0xb4)](this[_0x15d956(0x9d)],_0x3eff89[_0x15d956(0x90)](_0x535080,_0x3eff89[_0x15d956(0x9e)]));}static[a23_0x15e5f7(0x92)](_0x511089){const _0x4bd030=a23_0x15e5f7,_0x1d19fa={};_0x1d19fa['psRQn']=function(_0x36ad5a,_0x5ae36f){return _0x36ad5a+_0x5ae36f;},_0x1d19fa[_0x4bd030(0xa5)]=function(_0x30ee31,_0x2c3cff){return _0x30ee31+_0x2c3cff;};const _0x57e28e=_0x1d19fa;return _0x57e28e[_0x4bd030(0xb1)](_0x57e28e['psRQn'](_0x57e28e[_0x4bd030(0xa5)](_0x57e28e[_0x4bd030(0xb1)](_0x511089[_0x4bd030(0xb0)]['_projectId'],'-'),_0x511089[_0x4bd030(0xb0)]['id']),'-'),_0x511089[_0x4bd030(0xa0)]);}static[a23_0x15e5f7(0xa9)](_0x5f1e18){const _0xa6d46d=a23_0x15e5f7,_0x4b4448=this[_0xa6d46d(0x91)](_0x5f1e18);if(fs[_0xa6d46d(0xa6)](_0x4b4448)){const _0xa1f3b0=JSON[_0xa6d46d(0x96)](fs[_0xa6d46d(0xc1)](_0x4b4448)[_0xa6d46d(0xa2)]());return this[_0xa6d46d(0xa8)][_0x5f1e18]=_0xa1f3b0,this['tests'][_0x5f1e18]['uuid'];}}static[a23_0x15e5f7(0x8d)](_0x394a73){const _0x5aadd2=a23_0x15e5f7,_0x2fd9fb={};_0x2fd9fb[_0x5aadd2(0xb5)]=_0x5aadd2(0xb6);const _0x3c03e6=_0x2fd9fb,_0x2a644a=path[_0x5aadd2(0xb4)](this['dirPath'],_0x3c03e6[_0x5aadd2(0xb5)]);fs[_0x5aadd2(0xba)](_0x2a644a,JSON[_0x5aadd2(0x93)](_0x394a73));}static[a23_0x15e5f7(0xb7)](){const _0x46fe2b=a23_0x15e5f7,_0x5c4463={};_0x5c4463[_0x46fe2b(0xae)]=_0x46fe2b(0xb6);const _0x1b39e3=_0x5c4463,_0xa1adb6=path[_0x46fe2b(0xb4)](this['dirPath'],_0x1b39e3['zOaNj']);let _0x55d387={};try{return fs[_0x46fe2b(0xa6)](_0xa1adb6)&&(_0x55d387=JSON[_0x46fe2b(0x96)](fs[_0x46fe2b(0xc1)](_0xa1adb6)[_0x46fe2b(0xa2)]())),_0x55d387;}catch(_0x4c45a0){return _0x55d387;}}static[a23_0x15e5f7(0x9f)](_0x15d0db){const _0x182599=a23_0x15e5f7,_0x142dab={'tcTlH':function(_0x4dd711){return _0x4dd711();}},_0x5472cd=this[_0x182599(0x91)](_0x15d0db);return this[_0x182599(0xa8)][_0x15d0db]={'uuid':_0x142dab[_0x182599(0x97)](uuidv4)},fs[_0x182599(0xba)](_0x5472cd,JSON[_0x182599(0x93)](this['tests'][_0x15d0db])),this[_0x182599(0xa8)][_0x15d0db][_0x182599(0xa7)];}static[a23_0x15e5f7(0x8f)](_0x1e4188){const _0x255901=a23_0x15e5f7,_0x2911d6=this[_0x255901(0x91)](_0x1e4188);fs[_0x255901(0xa6)](_0x2911d6)&&fs[_0x255901(0x8e)](_0x2911d6);}static['shutdown'](){const _0x34bdad=a23_0x15e5f7,_0x4e93f9={};_0x4e93f9[_0x34bdad(0x9c)]=!![],_0x4e93f9[_0x34bdad(0xaf)]=!![],fs['rmSync'](this[_0x34bdad(0x9d)],_0x4e93f9);}}module[a23_0x15e5f7(0xbe)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a24_0x280e(){const _0x3ee766=['__webdriver','468524AZaEod','10pFxSTX','991480CaRkZL','../../helpers/setKeepAlive','keys','2ryNzEp','172790ovDtac','48oCWSNC','733425PbxIYI','32nUAtil','83385JcXyos','6142466tnFCdf','2245MsZpKu','selenium-webdriver','../../helpers/helper'];a24_0x280e=function(){return _0x3ee766;};return a24_0x280e();}const a24_0x55de08=a24_0x287f;(function(_0x26ea12,_0x1be144){const _0x105e3d=a24_0x287f,_0x2ecec9=_0x26ea12();while(!![]){try{const _0x452004=parseInt(_0x105e3d(0x1dd))/0x1+parseInt(_0x105e3d(0x1ec))/0x2*(parseInt(_0x105e3d(0x1df))/0x3)+parseInt(_0x105e3d(0x1e7))/0x4+parseInt(_0x105e3d(0x1e3))/0x5*(parseInt(_0x105e3d(0x1de))/0x6)+parseInt(_0x105e3d(0x1e9))/0x7+-parseInt(_0x105e3d(0x1e0))/0x8*(-parseInt(_0x105e3d(0x1e1))/0x9)+parseInt(_0x105e3d(0x1e8))/0xa*(-parseInt(_0x105e3d(0x1e2))/0xb);if(_0x452004===_0x1be144)break;else _0x2ecec9['push'](_0x2ecec9['shift']());}catch(_0x43b370){_0x2ecec9['push'](_0x2ecec9['shift']());}}}(a24_0x280e,0x26a4a));const {requireModule}=require(a24_0x55de08(0x1e5));require(a24_0x55de08(0x1ea))();const __wd__=requireModule(a24_0x55de08(0x1e4));function a24_0x287f(_0x2dd094,_0x3a9ef4){const _0x280e6e=a24_0x280e();return a24_0x287f=function(_0x287fea,_0x41e2c4){_0x287fea=_0x287fea-0x1dd;let _0x1dfe3b=_0x280e6e[_0x287fea];return _0x1dfe3b;},a24_0x287f(_0x2dd094,_0x3a9ef4);}for(const key of Object[a24_0x55de08(0x1eb)](global[a24_0x55de08(0x1e6)])){__wd__[key]=global[a24_0x55de08(0x1e6)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a25_0x13fd(_0x53a2d6,_0x312131){const _0x3cee21=a25_0x3cee();return a25_0x13fd=function(_0x13fd95,_0x485e5c){_0x13fd95=_0x13fd95-0x156;let _0x195f22=_0x3cee21[_0x13fd95];return _0x195f22;},a25_0x13fd(_0x53a2d6,_0x312131);}const a25_0x18f4e8=a25_0x13fd;(function(_0x3663e5,_0x1fe7cc){const _0x5667da=a25_0x13fd,_0x48fbdf=_0x3663e5();while(!![]){try{const _0x14cd15=parseInt(_0x5667da(0x16a))/0x1+parseInt(_0x5667da(0x15a))/0x2+parseInt(_0x5667da(0x175))/0x3*(parseInt(_0x5667da(0x17d))/0x4)+parseInt(_0x5667da(0x172))/0x5*(-parseInt(_0x5667da(0x16b))/0x6)+-parseInt(_0x5667da(0x182))/0x7+-parseInt(_0x5667da(0x158))/0x8*(parseInt(_0x5667da(0x189))/0x9)+parseInt(_0x5667da(0x16c))/0xa*(parseInt(_0x5667da(0x166))/0xb);if(_0x14cd15===_0x1fe7cc)break;else _0x48fbdf['push'](_0x48fbdf['shift']());}catch(_0x3cad9a){_0x48fbdf['push'](_0x48fbdf['shift']());}}}(a25_0x3cee,0x7a89c));const path=require(a25_0x18f4e8(0x164)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x18f4e8(0x16f)),constants=require(a25_0x18f4e8(0x15c)),{isAccessibilityAutomationSession}=require(a25_0x18f4e8(0x17f)),RequestQueueHandler=require(a25_0x18f4e8(0x183)),{isTestObservabilitySession}=require(a25_0x18f4e8(0x15b)),helper=require(a25_0x18f4e8(0x16f)),{commandRepository}=require(a25_0x18f4e8(0x157));function a25_0x3cee(){const _0x1e368b=['2972EenJiG','setConfig','../../helpers/accessibility-automation/helper','setFramework','_accessibilityAutomation','2949534aQvMGP','../../helpers/test-observability/requestQueueHandler','__platformCaps','split','formatter','setupCucumber','testsPassed','13356HamQjy','21|16|17|13|3|10|0|5|22|1|11|23|19|9|18|4|7|12|15|2|14|8|20|6','../../helpers/ai-sdk/autoHealHelper','5240tJzFMF','testsErrorMessage','1663358wrTbvi','../../helpers/test-observability/utils','../utils/constants','testSuitesFailed','capability','CvSUA','_bsConfig','_configuration','testsUndefined','mochaOpts','path','__platform__','49907NFxNkZ','testsPending','testSuites','testsSkipped','427786pTLJoa','186HFTIdp','1370jJIxoU','_argv','AI_ENABLED_FRAMEWORK','../../helpers/helper','XKUTf','_mochaOpts','119815aKKMWG','testsAmbiguous','resolvePaths','3057oCOwEB','testsUnknown','framework','configuration','_formatter','testsFailed','platform','_framework'];a25_0x3cee=function(){return _0x1e368b;};return a25_0x3cee();}class Launcher{constructor(_0x129b83,_0x27aa4a,_0x2f20c4,_0x572f36=[]){const _0x417cb3=a25_0x18f4e8,_0x20e505={'CvSUA':_0x417cb3(0x156),'XKUTf':function(_0x3f6abc){return _0x3f6abc();}},_0x207658=_0x20e505[_0x417cb3(0x15f)][_0x417cb3(0x185)]('|');let _0x239372=0x0;while(!![]){switch(_0x207658[_0x239372++]){case'0':global[_0x417cb3(0x165)]=this[_0x417cb3(0x161)][_0x417cb3(0x17b)];continue;case'1':this['_testObservability']=_0x20e505[_0x417cb3(0x170)](isTestObservabilitySession);continue;case'2':global[_0x417cb3(0x162)]=0x0;continue;case'3':this[_0x417cb3(0x179)]=_0x27aa4a[_0x417cb3(0x186)];continue;case'4':global[_0x417cb3(0x17a)]=0x0;continue;case'5':this[_0x417cb3(0x16d)]=_0x572f36;continue;case'6':!constants[_0x417cb3(0x16e)]['includes'](_0x129b83)&&(commandRepository[_0x417cb3(0x17e)](_0x2f20c4),commandRepository[_0x417cb3(0x180)](_0x129b83));continue;case'7':global[_0x417cb3(0x167)]=0x0;continue;case'8':global[_0x417cb3(0x173)]=0x0;continue;case'9':global['totalTests']=0x0;continue;case'10':this['_capability']=this[_0x417cb3(0x161)][_0x417cb3(0x15e)];continue;case'11':this[_0x417cb3(0x181)]=_0x20e505[_0x417cb3(0x170)](isAccessibilityAutomationSession);continue;case'12':global[_0x417cb3(0x169)]=0x0;continue;case'13':this[_0x417cb3(0x171)]=_0x27aa4a[_0x417cb3(0x163)];continue;case'14':global[_0x417cb3(0x176)]=0x0;continue;case'15':global[_0x417cb3(0x15d)]=0x0;continue;case'16':this[_0x417cb3(0x161)]=_0x27aa4a[_0x417cb3(0x178)]||{};continue;case'17':this[_0x417cb3(0x161)][_0x417cb3(0x177)]=_0x129b83;continue;case'18':global[_0x417cb3(0x188)]=0x0;continue;case'19':global[_0x417cb3(0x168)]=0x0;continue;case'20':global[_0x417cb3(0x159)]={};continue;case'21':this[_0x417cb3(0x17c)]=_0x129b83;continue;case'22':this[_0x417cb3(0x160)]=_0x2f20c4;continue;case'23':global[_0x417cb3(0x184)]=this[_0x417cb3(0x161)]['platformCaps']||{};continue;}break;}}[a25_0x18f4e8(0x187)](_0x42eca8,_0x122ba7,_0x2179f8){const _0x3c35b8=a25_0x18f4e8,_0x12eccc=_0x42eca8[_0x3c35b8(0x174)];_0x42eca8.resolvePaths=async function(){const pathResults=await _0x12eccc.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2179f8));return pathResults;},_0x122ba7.push('--format'),_0x122ba7.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};if(!helper.isUndefined(this._mochaOpts.mochaRequire)){Object.assign(mochaOpts,{require:[this._mochaOpts.mochaRequire],globalSetup:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalSetup,globalTeardown:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalTeardown});}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);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async 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};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
1
|
+
const a25_0x1d6cd2=a25_0x262d;(function(_0x4501ec,_0x464859){const _0x387576=a25_0x262d,_0x14046b=_0x4501ec();while(!![]){try{const _0x4c9b83=-parseInt(_0x387576(0x114))/0x1*(parseInt(_0x387576(0x11d))/0x2)+-parseInt(_0x387576(0x117))/0x3*(-parseInt(_0x387576(0x123))/0x4)+parseInt(_0x387576(0x111))/0x5*(-parseInt(_0x387576(0x104))/0x6)+-parseInt(_0x387576(0x128))/0x7+-parseInt(_0x387576(0x121))/0x8*(-parseInt(_0x387576(0xfe))/0x9)+-parseInt(_0x387576(0x124))/0xa+parseInt(_0x387576(0x12a))/0xb*(parseInt(_0x387576(0x115))/0xc);if(_0x4c9b83===_0x464859)break;else _0x14046b['push'](_0x14046b['shift']());}catch(_0x4a971f){_0x14046b['push'](_0x14046b['shift']());}}}(a25_0x2c45,0xcfdf3));const path=require(a25_0x1d6cd2(0x10b)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x1d6cd2(0xff)),constants=require(a25_0x1d6cd2(0x11f)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x1d6cd2(0x10c)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0x1d6cd2(0xff)),{commandRepository}=require(a25_0x1d6cd2(0x126));class Launcher{constructor(_0x1c3d31,_0x1b294e,_0x5c868a,_0x52569a=[]){const _0x5c9b74=a25_0x1d6cd2,_0x511d4d={'sSvhs':_0x5c9b74(0x10e),'eejGo':function(_0x3927f4){return _0x3927f4();}},_0x998be8=_0x511d4d['sSvhs'][_0x5c9b74(0x122)]('|');let _0x5c1680=0x0;while(!![]){switch(_0x998be8[_0x5c1680++]){case'0':!constants[_0x5c9b74(0x105)][_0x5c9b74(0xfd)](_0x1c3d31)&&(commandRepository[_0x5c9b74(0x129)](_0x5c868a),commandRepository['setFramework'](_0x1c3d31));continue;case'1':this[_0x5c9b74(0xfc)]=_0x511d4d['eejGo'](isTestObservabilitySession);continue;case'2':this['_argv']=_0x52569a;continue;case'3':this['_accessibilityAutomation']=_0x511d4d[_0x5c9b74(0x10d)](isAccessibilityAutomationSession);continue;case'4':global[_0x5c9b74(0x116)]=0x0;continue;case'5':this['_bsConfig']=_0x5c868a;continue;case'6':global['testsPending']=0x0;continue;case'7':this[_0x5c9b74(0x10f)]=_0x1b294e[_0x5c9b74(0x108)]||{};continue;case'8':global[_0x5c9b74(0x127)]={};continue;case'9':this[_0x5c9b74(0x107)]=_0x1b294e[_0x5c9b74(0x120)];continue;case'10':global[_0x5c9b74(0x11e)]=this[_0x5c9b74(0x10f)][_0x5c9b74(0x11b)];continue;case'11':this[_0x5c9b74(0x11c)]=_0x1b294e[_0x5c9b74(0x118)];continue;case'12':global[_0x5c9b74(0x112)]=0x0;continue;case'13':global[_0x5c9b74(0x101)]=0x0;continue;case'14':global['__platformCaps']=this['_configuration'][_0x5c9b74(0x106)]||{};continue;case'15':this[_0x5c9b74(0x10f)][_0x5c9b74(0x110)]=_0x1c3d31;continue;case'16':global[_0x5c9b74(0x11a)]=0x0;continue;case'17':global[_0x5c9b74(0x102)]=0x0;continue;case'18':global[_0x5c9b74(0x103)]=0x0;continue;case'19':global[_0x5c9b74(0x109)]=0x0;continue;case'20':this['_capability']=this['_configuration']['capability'];continue;case'21':global[_0x5c9b74(0x113)]=0x0;continue;case'22':this[_0x5c9b74(0x100)]=_0x1c3d31;continue;case'23':global[_0x5c9b74(0x119)]=0x0;continue;}break;}}[a25_0x1d6cd2(0x125)](_0x22cef8,_0x7a8741,_0x354cbe){const _0x4b87b7=a25_0x1d6cd2,_0x2ab24e=_0x22cef8[_0x4b87b7(0x10a)];_0x22cef8.resolvePaths=async function(){const pathResults=await _0x2ab24e.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x354cbe));return pathResults;},_0x7a8741.push('--format'),_0x7a8741.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};if(!helper.isUndefined(this._mochaOpts.mochaRequire)){Object.assign(mochaOpts,{require:[this._mochaOpts.mochaRequire],globalSetup:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalSetup,globalTeardown:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalTeardown});}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);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async 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};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();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 a25_0x262d(_0x5cca2a,_0x31a721){const _0x2c4528=a25_0x2c45();return a25_0x262d=function(_0x262dfc,_0x6fefc6){_0x262dfc=_0x262dfc-0xfc;let _0x51fc39=_0x2c4528[_0x262dfc];return _0x51fc39;},a25_0x262d(_0x5cca2a,_0x31a721);}function a25_0x2c45(){const _0x28b08b=['AI_ENABLED_FRAMEWORK','platformCaps','_mochaOpts','configuration','testSuitesFailed','resolvePaths','path','../../helpers/test-observability/requestQueueHandler','eejGo','22|7|15|9|11|20|10|2|5|1|3|14|21|4|13|17|6|23|19|12|16|18|8|0','_configuration','framework','3010985LfhYPV','testsUndefined','testSuites','5IhmnUg','24PrVurF','totalTests','1011132rcfVpO','formatter','testsSkipped','testsUnknown','platform','_formatter','531742WIVmlM','__platform__','../utils/constants','mochaOpts','8xvuuzu','split','4YeavHQ','2621570aHPRnP','setupCucumber','../../helpers/ai-sdk/autoHealHelper','testsErrorMessage','4352502MaqRCE','setConfig','19292548yYvphX','_testObservability','includes','3819195IChZns','../../helpers/helper','_framework','testsPassed','testsFailed','testsAmbiguous','12thZqEa'];a25_0x2c45=function(){return _0x28b08b;};return a25_0x2c45();}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a26_0x42b7(){const _0x1b887c=['getPlatform','jdzdt','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','getBrowserVersion','hkGiG','../../../helpers/logger','177FKXlzU','pRQRP','debug','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','14549886TWBIAa','browserVersion','Options','USrRI','warn','env','pAtUB','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','fetchPlatformDetails','parse','yGJjy','accessibility','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','9570720DNeTcI','NeYbR','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','EQzaz','kFtoA','154454iPWZVI','requireModule','4917968wQMKNW','chromeOptions_','../../../helpers/globals','device','format','get','../../../helpers/helper','5724385RlnLTa','GTyAn','isAccessibilityPlatform','yzrRI','QUYTI','chromeOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20in\x20setExtension\x20Error:\x20','authToken','KSCIz','getCapabilities','ywxKn','selenium-webdriver/chrome.js','GPkrW','util','UocEH','args','1583561znXhyv','accessibilityOptions','11158oPDSyh','scannerVersion','winstonLogger','capability','HkCjU','latest','Yuoda','selenium-webdriver','BS_A11Y_JWT','capabilities_','nestedKeyValue','48fJAvsv','--headless','SvKFi','options_','path','getBrowserName','djRzO','browserstack.accessibility','CHfav','bstack:options'];a26_0x42b7=function(){return _0x1b887c;};return a26_0x42b7();}const a26_0x5613f0=a26_0x3add;function a26_0x3add(_0xe171c6,_0x3ab205){const _0x42b739=a26_0x42b7();return a26_0x3add=function(_0x3add8d,_0x4b027a){_0x3add8d=_0x3add8d-0xfd;let _0x4a4b36=_0x42b739[_0x3add8d];return _0x4a4b36;},a26_0x3add(_0xe171c6,_0x3ab205);}(function(_0x4f1c01,_0x54d07d){const _0x50a679=a26_0x3add,_0x390691=_0x4f1c01();while(!![]){try{const _0x66b0c2=parseInt(_0x50a679(0x139))/0x1+parseInt(_0x50a679(0x108))/0x2*(-parseInt(_0x50a679(0x123))/0x3)+parseInt(_0x50a679(0x13b))/0x4+parseInt(_0x50a679(0x142))/0x5+-parseInt(_0x50a679(0x134))/0x6+-parseInt(_0x50a679(0x106))/0x7*(parseInt(_0x50a679(0x113))/0x8)+parseInt(_0x50a679(0x127))/0x9;if(_0x66b0c2===_0x54d07d)break;else _0x390691['push'](_0x390691['shift']());}catch(_0x1991f7){_0x390691['push'](_0x390691['shift']());}}}(a26_0x42b7,0xd2e72));const path=require(a26_0x5613f0(0x117)),os=require('os'),util=require(a26_0x5613f0(0x103)),bsSetupHelper=require(a26_0x5613f0(0x141)),globals=require(a26_0x5613f0(0x13d)),logger=require(a26_0x5613f0(0x122))[a26_0x5613f0(0x10a)];exports['setAccessibilityCapabilities']=_0x4dc96a=>{const _0x2a5ad1=a26_0x5613f0,_0x1a5944={};_0x1a5944[_0x2a5ad1(0x102)]='bstack:options',_0x1a5944[_0x2a5ad1(0x145)]=_0x2a5ad1(0x11a),_0x1a5944['pAtUB']=_0x2a5ad1(0x144),_0x1a5944[_0x2a5ad1(0x12a)]='browserstack.accessibilityOptions';const _0x13d970=_0x1a5944;try{const _0xe846ad=_0x4dc96a['capability']||{};if(_0xe846ad[_0x13d970['GPkrW']]&&_0xe846ad[_0x13d970[_0x2a5ad1(0x102)]][_0x2a5ad1(0x132)]||_0x4dc96a[_0x2a5ad1(0x10b)][_0x13d970[_0x2a5ad1(0x145)]]){globals['setGlobal'](_0x13d970[_0x2a5ad1(0x12d)],!![]);if(_0xe846ad[_0x13d970[_0x2a5ad1(0x102)]]){if(_0xe846ad[_0x13d970[_0x2a5ad1(0x102)]][_0x2a5ad1(0x107)])_0xe846ad[_0x13d970[_0x2a5ad1(0x102)]]['accessibilityOptions'][_0x2a5ad1(0xfd)]=process[_0x2a5ad1(0x12c)][_0x2a5ad1(0x110)];else{const _0x59d0d6={};_0x59d0d6['authToken']=process[_0x2a5ad1(0x12c)][_0x2a5ad1(0x110)],_0xe846ad[_0x13d970[_0x2a5ad1(0x102)]]['accessibilityOptions']=_0x59d0d6;}_0xe846ad[_0x13d970[_0x2a5ad1(0x102)]][_0x2a5ad1(0x107)][_0x2a5ad1(0x109)]=JSON[_0x2a5ad1(0x130)](process[_0x2a5ad1(0x12c)][_0x2a5ad1(0x148)])[_0x2a5ad1(0x109)];}else{if(_0x4dc96a['capability'][_0x13d970[_0x2a5ad1(0x145)]]){if(_0xe846ad[_0x13d970[_0x2a5ad1(0x12a)]])_0xe846ad[_0x13d970[_0x2a5ad1(0x12a)]][_0x2a5ad1(0xfd)]=process[_0x2a5ad1(0x12c)]['BS_A11Y_JWT'];else{const _0xeb044c={};_0xeb044c[_0x2a5ad1(0xfd)]=process['env']['BS_A11Y_JWT'],_0xe846ad[_0x13d970['USrRI']]=_0xeb044c;}_0xe846ad[_0x13d970[_0x2a5ad1(0x12a)]][_0x2a5ad1(0x109)]=JSON['parse'](process['env'][_0x2a5ad1(0x148)])[_0x2a5ad1(0x109)];}}}}catch(_0x300519){logger[_0x2a5ad1(0x125)](_0x2a5ad1(0x136)+_0x300519);}},exports['setExtension']=(_0x56496c,_0x16145d)=>{const _0x471f28=a26_0x5613f0,_0x4d6eb1={};_0x4d6eb1['NeYbR']=_0x471f28(0x11c),_0x4d6eb1[_0x471f28(0x146)]=function(_0x365908,_0xec69f6){return _0x365908!==_0xec69f6;},_0x4d6eb1['rJMTq']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x4d6eb1['kFtoA']='chrome',_0x4d6eb1[_0x471f28(0x124)]=_0x471f28(0x11f),_0x4d6eb1[_0x471f28(0x10c)]=function(_0x211db7,_0x5e1b93){return _0x211db7===_0x5e1b93;},_0x4d6eb1[_0x471f28(0x143)]=_0x471f28(0x10d),_0x4d6eb1[_0x471f28(0x121)]=function(_0x4b84ff,_0x1627b8){return _0x4b84ff>_0x1627b8;},_0x4d6eb1[_0x471f28(0x10e)]=_0x471f28(0x12e),_0x4d6eb1[_0x471f28(0x115)]=_0x471f28(0x101),_0x4d6eb1[_0x471f28(0x104)]=_0x471f28(0x10f),_0x4d6eb1['EQzaz']=_0x471f28(0x116),_0x4d6eb1[_0x471f28(0xfe)]=_0x471f28(0x105),_0x4d6eb1[_0x471f28(0x131)]=_0x471f28(0x147),_0x4d6eb1[_0x471f28(0x11e)]=_0x471f28(0x114),_0x4d6eb1['CHfav']=_0x471f28(0x126);const _0x537654=_0x4d6eb1;try{const _0x3bd239=_0x16145d[_0x471f28(0x10b)]||{},_0x371812=(_0x3bd239[_0x537654[_0x471f28(0x135)]]?_0x3bd239[_0x537654['NeYbR']]['deviceName']:_0x3bd239[_0x471f28(0x13e)])||'';if(_0x537654[_0x471f28(0x146)](_0x371812,''))return logger['warn'](_0x537654['rJMTq']),![];const _0x2e5b97=_0x3bd239['browserName']||_0x56496c['capabilities_'][_0x471f28(0x118)]();if(_0x537654[_0x471f28(0x146)](_0x2e5b97['toLowerCase'](),_0x537654[_0x471f28(0x138)]))return logger['warn'](_0x537654[_0x471f28(0x124)]),![];const _0x590f41=_0x3bd239[_0x471f28(0x128)]||_0x3bd239['browser_version']||_0x56496c[_0x471f28(0x111)][_0x471f28(0x120)]();if(!bsSetupHelper['isUndefined'](_0x590f41)&&!(_0x537654[_0x471f28(0x10c)](_0x590f41,_0x537654['GTyAn'])||_0x537654[_0x471f28(0x121)](_0x590f41,0x5e)))return logger[_0x471f28(0x12b)](_0x537654[_0x471f28(0x10e)]),![];let _0x4790aa;try{_0x4790aa=bsSetupHelper[_0x471f28(0x13a)](_0x537654[_0x471f28(0x115)],_0x537654['UocEH']);}catch(_0x36d6a8){return![];}const _0x107f5e=new _0x4790aa[(_0x471f28(0x129))](_0x56496c[_0x471f28(0x13c)]),_0x5e38f7=bsSetupHelper[_0x471f28(0x112)](_0x107f5e,[_0x537654[_0x471f28(0x137)],_0x537654[_0x471f28(0xfe)]])||bsSetupHelper[_0x471f28(0x112)](_0x56496c[_0x471f28(0x111)][_0x471f28(0x140)](_0x537654['NeYbR']),[_0x537654[_0x471f28(0x131)],_0x537654[_0x471f28(0xfe)]])||bsSetupHelper[_0x471f28(0x112)](_0x56496c[_0x471f28(0x111)]['get'](_0x537654[_0x471f28(0x131)]),[_0x537654[_0x471f28(0xfe)]])||[];if(_0x5e38f7['includes'](_0x537654[_0x471f28(0x11e)]))return logger[_0x471f28(0x12b)](_0x537654[_0x471f28(0x11b)]),![];return!![];}catch(_0xd7d6a1){logger[_0x471f28(0x125)](_0x471f28(0x149)+util[_0x471f28(0x13f)](_0xd7d6a1));}return![];},exports[a26_0x5613f0(0x12f)]=async _0x334a43=>{const _0x181ecb=a26_0x5613f0,_0xfe8e25={};_0xfe8e25[_0x181ecb(0x119)]=function(_0x58b596,_0x1559db){return _0x58b596===_0x1559db;},_0xfe8e25[_0x181ecb(0x100)]='browserstack';const _0x2ebeaf=_0xfe8e25;let _0x9fe8bd={};try{const _0x19b495=await _0x334a43[_0x181ecb(0xff)]();_0x9fe8bd={'os_name':_0x19b495[_0x181ecb(0x11d)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x2ebeaf[_0x181ecb(0x119)](global['__cloud_provider___'],_0x2ebeaf[_0x181ecb(0x100)])),'browser_name':_0x19b495['getBrowserName'](),'browser_version':_0x19b495[_0x181ecb(0x120)]()};}catch(_0x2e4e79){logger[_0x181ecb(0x125)](_0x181ecb(0x133)+_0x2e4e79);}return _0x9fe8bd;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a27_0x29db(_0x3b789c,_0x3cd461){const _0x568a0b=a27_0x568a();return a27_0x29db=function(_0x29dbf7,_0x1c7e5d){_0x29dbf7=_0x29dbf7-0x121;let _0x535711=_0x568a0b[_0x29dbf7];return _0x535711;},a27_0x29db(_0x3b789c,_0x3cd461);}const a27_0x26e03f=a27_0x29db;(function(_0x3ffbf9,_0x4075c6){const _0x569c48=a27_0x29db,_0x29e303=_0x3ffbf9();while(!![]){try{const _0x40ede4=-parseInt(_0x569c48(0x133))/0x1*(-parseInt(_0x569c48(0x12c))/0x2)+-parseInt(_0x569c48(0x206))/0x3+parseInt(_0x569c48(0x239))/0x4+parseInt(_0x569c48(0x181))/0x5+-parseInt(_0x569c48(0x22d))/0x6+parseInt(_0x569c48(0x19e))/0x7*(parseInt(_0x569c48(0x1e2))/0x8)+parseInt(_0x569c48(0x166))/0x9*(parseInt(_0x569c48(0x1c8))/0xa);if(_0x40ede4===_0x4075c6)break;else _0x29e303['push'](_0x29e303['shift']());}catch(_0x16112d){_0x29e303['push'](_0x29e303['shift']());}}}(a27_0x568a,0x56e20));function a27_0x568a(){const _0x4a15b4=['tvgFG','fHgfM','aAtEG','.git','pass','YCKAx','TcPgl','failure_backtrace','bobUM','WqoZL','duration','HgmDI','isPending','test_run_uuid','prototype','escape','pbYve','passed','nveqa','uploadEventData','name','doc','suites','QAnTg','MWEGh','AGTVP','event_type','qWFTr','testStarted','util','banDu','VkGtb','MYXsH','InMBm','call','now','mocha/lib/reporters/','push','analyticsResult','results','QiiId','</h1>','AFTER_EACH','ATaqc','sendTestRunEvent','root','shouldProcessEventForTesthub','state','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','fullTitle','27RNfesm','nvAcb','increaseIndent','failure_reason_expanded','appendTestItemLog','../../../helpers/testhub/constants','KUChl','../../../helpers/helper','BlsSu','EJjiz','dirname','AMSit','nehEu','oZVmH','currentRetry','docAppend','EVENT','ChANo','wFNnA','KAXzM','started_at','testAnalyticsId','nnnEi','ctx','path','once','suiteCount','2028460XOnSUJ','GfcbC','%s\x20','../../../helpers/testhub/utils','__platform__','bgIqM','toISOString','HookFinished','_testEnv','AFTER_ALL','XZRZf','after\x20all','\x20\x20<dd><pre><code>','\x20-\x20','_currentRetry','aaVUw','YMtSP','bs:addLog:','hooks','multiple','OYnvB','apply','inspect','HookRunStarted','consoleLog','failure','match','appendTestPlatform','parent','1281ZuYmlZ','location_prefix','includes','_upstreamConfig','_indents','green','dot','jVwrJ','hook_type','Failed\x20to\x20load\x20reporter\x20','checkmark','CIBhD','dNAPm','bsConfig','skipped','config','mVbfi','indent','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','jjgYO','\x20\x20<dt\x20class=\x22error\x22>','failureCount','aIuQH','<dl>','bQWZh','tWtcg','docHtml','result','KFBHt','removeAllListeners','ieDyD','join','CgUMr','javascript','write','HookRunFinished','HxYxg','QKzfV','bang','Runner','reporterOption','mocha','121850YNvHuv','pid','awLCS','rPdnR','getTime','integrations','shutdown','expanded','registerListeners','VNpsW','soYwd','QZQWh','spec','hook_run_uuid','retryOf','vpLYI','</dl>','Mocha','FnZyj','ToSCa','color','before\x20each','FRvWt','../test-observability/mochaUtils','YdNnV','KQCJD','9040yUwUHR','TnLzr','kbGxL','getRootParentFile','YXeav','relative','current_hook','jgmhe','CBTSessionCreated','slice','decreaseIndent','suite','scope','MtGFA','mocha/lib/utils.js','_paths','currentTest','RMrEj','IzKNB','cXHgE','WMKrR','rLAPM','nsUcv','ZKMAp','bind','getInstance','constants','clean','TFoXA','length','BEFORE_EACH','yhjEt','bwgLD','ReJuM','hookAnalyticsId','prefixTestPath','1356630kpSQAv','oIspA','testObservability','wXXzD','title','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','File\x20path\x20could\x20not\x20be\x20found','qbSLt','iihEx','</section>','symbols','gBbAh','\x20%s','current_test','http_response','failCount','DZngE','mWUIw','failed','pHUUl','../../../helpers/test-observability/utils','ihavw','\x20with\x20error\x20:\x20','mocha/lib/runnable.js','err','pending','jyQNT','slow','qaGSV','__indents','PebFq','\x20(%dms)','KxpNP','type','MOCHA','TestRunFinished','lSnjd','bs:addPlatformDetails:','OEAME','366852IglMps','backtrace','pKafS','VeuQV','RUNNING','zAgFs','test_run','HookStarted','bright\x20yellow','mhPvY','xmPHT','titlePath','600500MZbPoR','markedStatus','finished_at','MHyHP','xDMIV','runner','kdGDH','AssertionError','Zyfrs','TestRunStarted','../../../helpers/test-observability/constants','body','TestRunSkipped','</dt>','CnyQZ','OzVvw','stdout','scopes','LogCreated','</code></pre></dd>','YhMqW','LFLiL','file','exports','forEach','<h1>','_testResults','YXbrP','WbAVy','speed','cfrDA','after\x20each','toString','findGitConfig','PjGcA','statSync','Reporter','comma','setCurrentTestData','cwkgI','70062PMDdkB','../../../helpers/test-observability/requestQueueHandler','abCzx','mocha/lib/reporters/base.js','reporterOptions','Gbmfp','finalResults','2ZumSWS'];a27_0x568a=function(){return _0x4a15b4;};return a27_0x568a();}const util=require(a27_0x26e03f(0x151)),fs=require('fs'),path=require(a27_0x26e03f(0x17e)),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a27_0x26e03f(0x12f)),utils=requireModule(a27_0x26e03f(0x1f0)),color=Base[a27_0x26e03f(0x1dc)],Mocha=requireModule(a27_0x26e03f(0x1c7)),Runnable=requireModule(a27_0x26e03f(0x21d)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a27_0x26e03f(0x16d)),testhubUtils=require(a27_0x26e03f(0x184)),testHubConstants=require(a27_0x26e03f(0x16b)),{FRAMEWORKS}=require(a27_0x26e03f(0x243)),a27_0x29d16b={};a27_0x29d16b['before\x20all']='BEFORE_ALL',a27_0x29d16b[a27_0x26e03f(0x18c)]=a27_0x26e03f(0x18a),a27_0x29d16b[a27_0x26e03f(0x1dd)]=a27_0x26e03f(0x200),a27_0x29d16b[a27_0x26e03f(0x123)]=a27_0x26e03f(0x15e);const HOOK_TYPES_MAP=a27_0x29d16b,{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[a27_0x26e03f(0x1c5)][a27_0x26e03f(0x1fc)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x26e03f(0x1fc)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x26e03f(0x1df)),{consoleHolder}=require(a27_0x26e03f(0x243)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x26e03f(0x21a)),RequestQueueHandler=require(a27_0x26e03f(0x12d)),requestQueueHandler=RequestQueueHandler[a27_0x26e03f(0x1fb)]();class MyReporter{constructor(_0x3e2e18,_0x3ff6f6){const _0xd861b7=a27_0x26e03f,_0x3beb6c={'YCKAx':function(_0x3a318e,_0x5361c8){return _0x3a318e===_0x5361c8;},'YXeav':_0xd861b7(0x1d4),'PjGcA':function(_0x553a0e,_0x39b5bb){return _0x553a0e+_0x39b5bb;},'gBbAh':function(_0x1a8b6f,_0x430a0a,_0x31f67a){return _0x1a8b6f(_0x430a0a,_0x31f67a);},'wbZiR':_0xd861b7(0x1a3),'XZRZf':_0xd861b7(0x183),'puSTc':function(_0xcf0884,_0x53ac09,_0x213769){return _0xcf0884(_0x53ac09,_0x213769);},'VkGtb':'light','jyQNT':'%s\x20-\x20%s','Gbmfp':_0xd861b7(0x231),'MHyHP':function(_0x2963b3,_0x4e3d28){return _0x2963b3===_0x4e3d28;},'nehEu':_0xd861b7(0x149),'EJjiz':function(_0x4e55af){return _0x4e55af();},'CnyQZ':function(_0x3cd069){return _0x3cd069();},'oZVmH':_0xd861b7(0x198),'VNpsW':_0xd861b7(0x1c1),'DZngE':'passed','WMKrR':'fast','QKzfV':function(_0x3a1a8b,_0x5a6dee){return _0x3a1a8b+_0x5a6dee;},'KQCJD':function(_0x4a24ac,_0x3d806c){return _0x4a24ac+_0x3d806c;},'GfcbC':function(_0x5d87e6,_0x5a02e4,_0x5d1e6a){return _0x5d87e6(_0x5a02e4,_0x5d1e6a);},'QZQWh':_0xd861b7(0x1a8),'KqtkD':function(_0x2ac5b6,_0xe91c18,_0x31882a){return _0x2ac5b6(_0xe91c18,_0x31882a);},'OzVvw':_0xd861b7(0x138),'GpKaT':_0xd861b7(0x212),'WbAVy':function(_0x3a59d0,_0x5a436f,_0xdbdd5){return _0x3a59d0(_0x5a436f,_0xdbdd5);},'tvgFG':_0xd861b7(0x225),'jVwrJ':function(_0x2ef63f,_0x566fed){return _0x2ef63f+_0x566fed;},'QAnTg':'fail','awLCS':'\x20\x20%d)\x20%s','MtGFA':function(_0x1021e1,_0x3e3195){return _0x1021e1===_0x3e3195;},'ZKMAp':function(_0x3b45fc,_0x9afce5){return _0x3b45fc+_0x9afce5;},'pHUUl':_0xd861b7(0x235),'FZrqo':'COMPLETED','AMSit':function(_0x5a94e4,_0x16e4f5){return _0x5a94e4===_0x16e4f5;},'IzKNB':_0xd861b7(0x1a4),'pKafS':function(_0x1ae8f1,_0x2d4c41){return _0x1ae8f1===_0x2d4c41;},'TFoXA':_0xd861b7(0x221),'qmGYm':function(_0x27835a,_0x5de9a1){return _0x27835a===_0x5de9a1;},'ChANo':function(_0x4424c8,_0x2aa2e5){return _0x4424c8===_0x2aa2e5;},'kbGxL':'3|0|2|1|4','HxYxg':function(_0x4d1cae,_0x287035){return _0x4d1cae===_0x287035;},'bwgLD':function(_0x3b87df,_0x4f396a){return _0x3b87df===_0x4f396a;},'FnZyj':_0xd861b7(0x21f),'jjgYO':function(_0x452dc7,_0x28188b){return _0x452dc7===_0x28188b;},'jgmhe':function(_0x56211f){return _0x56211f();},'YhMqW':_0xd861b7(0x245),'zAgFs':function(_0x1f03c7,_0x3bba79){return _0x1f03c7===_0x3bba79;},'abCzx':function(_0x3e5ec8,_0x437215){return _0x3e5ec8(_0x437215);},'CIBhD':function(_0x46d264,_0x1fb01b){return _0x46d264===_0x1fb01b;},'nveqa':function(_0x1a61d4){return _0x1a61d4();},'banDu':function(_0x447ee9){return _0x447ee9();},'YAPhE':'xunit','KxpNP':function(_0x51e5f1,_0x3c5dab){return _0x51e5f1===_0x3c5dab;},'InMBm':function(_0x1e72fb,_0x5069fa){return _0x1e72fb!==_0x5069fa;}};this[_0xd861b7(0x227)]=_0x3ff6f6[_0xd861b7(0x1c6)]['type'],this[_0xd861b7(0x208)]=_0x3beb6c[_0xd861b7(0x146)](isTestObservabilitySession),Base[_0xd861b7(0x156)](this,_0x3e2e18,_0x3ff6f6),this[_0xd861b7(0x1a2)]=0x0,this[_0xd861b7(0x215)]=0x0,this[_0xd861b7(0x15b)]=[],this['finalResults']=[],this[_0xd861b7(0x180)]=0x0,this['_buildCreated']=![],this[_0xd861b7(0x253)]=[],this['_testEnv']=_0x3beb6c[_0xd861b7(0x152)](getTestEnv),this[_0xd861b7(0x1f1)]=new PathHelper({'cwd':process['cwd']()},this[_0xd861b7(0x189)][_0xd861b7(0x19f)]),this[_0xd861b7(0x1a1)]=_0x3ff6f6[_0xd861b7(0x1c6)][_0xd861b7(0x1ab)],this[_0xd861b7(0x1d0)]();_0x3beb6c[_0xd861b7(0x202)](this['type'],_0x3beb6c[_0xd861b7(0x172)])&&(this['docHtml']='',this[_0xd861b7(0x223)]=0x2);_0x3e2e18[_0xd861b7(0x17f)](EVENT_RUN_BEGIN,async()=>{const _0x597028=_0xd861b7;_0x3beb6c[_0x597028(0x139)](this[_0x597028(0x227)],_0x3beb6c[_0x597028(0x1e6)])&&Base[_0x597028(0x199)]();})['on'](EVENT_SUITE_BEGIN,_0x2a71a5=>{const _0x20b011=_0xd861b7;if(_0x2a71a5['root'])return;if(_0x3beb6c[_0x20b011(0x139)](this[_0x20b011(0x227)],_0x3beb6c['YXeav']))this[_0x20b011(0x168)](),Base[_0x20b011(0x199)](_0x3beb6c[_0x20b011(0x126)](_0x3beb6c['PjGcA'](this[_0x20b011(0x1af)](),_0x3beb6c[_0x20b011(0x211)](color,_0x3beb6c['wbZiR'],_0x3beb6c[_0x20b011(0x18b)])),_0x3beb6c['puSTc'](color,_0x3beb6c[_0x20b011(0x153)],_0x3beb6c[_0x20b011(0x220)])),_0x3beb6c[_0x20b011(0x131)],_0x2a71a5[_0x20b011(0x20a)],global[_0x20b011(0x185)]);else _0x3beb6c[_0x20b011(0x23c)](this[_0x20b011(0x227)],_0x3beb6c['nehEu'])&&(this[_0x20b011(0x175)](this['indent']()+'<section\x20class=\x22suite\x22>'),++this[_0x20b011(0x223)],this['docAppend'](this[_0x20b011(0x1af)]()+_0x20b011(0x252)+utils['escape'](_0x2a71a5[_0x20b011(0x20a)]+_0x20b011(0x18e)+global[_0x20b011(0x185)])+_0x20b011(0x15d)),this['docAppend'](this[_0x20b011(0x1af)]()+_0x20b011(0x1b5)));})['on'](EVENT_HOOK_BEGIN,async _0x297e0b=>{const _0x357be4=_0xd861b7;if(_0x3beb6c[_0x357be4(0x139)](testhubUtils[_0x357be4(0x162)](testHubConstants[_0x357be4(0x176)][_0x357be4(0x234)]),!![])){if(!_0x297e0b[_0x357be4(0x204)])_0x297e0b['hookAnalyticsId']=_0x3beb6c[_0x357be4(0x16f)](uuidv4);else _0x297e0b['markedStatus']&&(_0x297e0b[_0x357be4(0x204)]=_0x3beb6c[_0x357be4(0x247)](uuidv4),delete _0x297e0b[_0x357be4(0x23a)]);_0x297e0b[_0x357be4(0x17a)]=new Date()[_0x357be4(0x187)](),this[_0x357be4(0x1e8)]=_0x297e0b,await this[_0x357be4(0x160)](_0x297e0b,undefined,![],_0x3beb6c[_0x357be4(0x173)]);}})['on'](EVENT_HOOK_END,async _0x2989da=>{const _0x1e63a1=_0xd861b7;_0x3beb6c[_0x1e63a1(0x23c)](testhubUtils[_0x1e63a1(0x162)](testHubConstants['EVENT'][_0x1e63a1(0x188)]),!![])&&(!_0x2989da['markedStatus']&&(_0x2989da[_0x1e63a1(0x23a)]=!![],await this[_0x1e63a1(0x160)](_0x2989da,undefined,![],_0x3beb6c[_0x1e63a1(0x1d1)])));})['on'](EVENT_SUITE_END,_0x4140ac=>{const _0x532e06=_0xd861b7,_0x8b3f78={'cfrDA':function(_0x1c5e9b,_0x3cf544){const _0x152c35=a27_0x29db;return _0x3beb6c[_0x152c35(0x23c)](_0x1c5e9b,_0x3cf544);},'mWUIw':_0x3beb6c[_0x532e06(0x216)],'soYwd':_0x3beb6c[_0x532e06(0x1f6)],'mhPvY':function(_0x513d69,_0x5ed2dc){const _0x27fbc7=_0x532e06;return _0x3beb6c[_0x27fbc7(0x1c3)](_0x513d69,_0x5ed2dc);},'cXHgE':function(_0x4d3290,_0x407a8c){const _0x3b9b42=_0x532e06;return _0x3beb6c[_0x3b9b42(0x1e1)](_0x4d3290,_0x407a8c);},'OEAME':function(_0x392861,_0x30b31d,_0x2906b3){const _0x1a8841=_0x532e06;return _0x3beb6c[_0x1a8841(0x182)](_0x392861,_0x30b31d,_0x2906b3);},'KUChl':_0x3beb6c[_0x532e06(0x1d3)],'YMtSP':function(_0x18dda8,_0x4e77d3,_0x557247){return _0x3beb6c['KqtkD'](_0x18dda8,_0x4e77d3,_0x557247);},'wXXzD':_0x3beb6c[_0x532e06(0x248)],'TcPgl':_0x3beb6c['GpKaT'],'LFLiL':function(_0x47612f,_0x541817,_0x4e2be1){const _0x4e4405=_0x532e06;return _0x3beb6c[_0x4e4405(0x255)](_0x47612f,_0x541817,_0x4e2be1);},'CeYMi':function(_0x50555d,_0x450d04,_0x5f1ac4){return _0x3beb6c['WbAVy'](_0x50555d,_0x450d04,_0x5f1ac4);},'HgmDI':_0x3beb6c[_0x532e06(0x134)],'bgIqM':function(_0x200777,_0x11b726){const _0xd51cae=_0x532e06;return _0x3beb6c[_0xd51cae(0x1a5)](_0x200777,_0x11b726);},'ATaqc':_0x3beb6c[_0x532e06(0x14b)],'MWEGh':_0x3beb6c[_0x532e06(0x1ca)]};if(_0x4140ac[_0x532e06(0x161)])return;if(_0x3beb6c[_0x532e06(0x1ef)](this[_0x532e06(0x227)],_0x3beb6c[_0x532e06(0x1e6)]))Base[_0x532e06(0x199)](),Base[_0x532e06(0x199)](_0x3beb6c[_0x532e06(0x1c3)](_0x3beb6c[_0x532e06(0x1f9)](this[_0x532e06(0x1af)](),_0x3beb6c[_0x532e06(0x255)](color,_0x3beb6c[_0x532e06(0x219)],_0x3beb6c['XZRZf'])),_0x3beb6c[_0x532e06(0x211)](color,_0x3beb6c['VkGtb'],_0x3beb6c[_0x532e06(0x220)])),_0x3beb6c['FZrqo'],_0x4140ac[_0x532e06(0x20a)],global['__platform__']),this[_0x532e06(0x15b)][_0x532e06(0x251)](_0x55d707=>{const _0x4562b9=_0x532e06;if(_0x8b3f78[_0x4562b9(0x122)](_0x55d707[_0x4562b9(0x163)],_0x8b3f78[_0x4562b9(0x217)])){var _0x2e6eea;_0x8b3f78['cfrDA'](_0x55d707['speed'],_0x8b3f78[_0x4562b9(0x1d2)])?(_0x2e6eea=_0x8b3f78[_0x4562b9(0x236)](_0x8b3f78[_0x4562b9(0x1f5)](this[_0x4562b9(0x1af)](),_0x8b3f78['OEAME'](color,_0x8b3f78[_0x4562b9(0x16c)],_0x8b3f78[_0x4562b9(0x1f5)]('\x20\x20',Base[_0x4562b9(0x210)]['ok']))),_0x8b3f78[_0x4562b9(0x191)](color,_0x8b3f78[_0x4562b9(0x209)],_0x8b3f78[_0x4562b9(0x13a)])),Base[_0x4562b9(0x199)](_0x2e6eea,_0x55d707[_0x4562b9(0x20a)])):(_0x2e6eea=_0x8b3f78[_0x4562b9(0x236)](_0x8b3f78[_0x4562b9(0x1f5)](_0x8b3f78[_0x4562b9(0x1f5)](this[_0x4562b9(0x1af)](),_0x8b3f78[_0x4562b9(0x24e)](color,_0x8b3f78[_0x4562b9(0x16c)],_0x8b3f78[_0x4562b9(0x236)]('\x20\x20',Base[_0x4562b9(0x210)]['ok']))),_0x8b3f78[_0x4562b9(0x24e)](color,_0x8b3f78['wXXzD'],_0x8b3f78[_0x4562b9(0x13a)])),_0x8b3f78['CeYMi'](color,_0x55d707['speed'],_0x8b3f78[_0x4562b9(0x13f)])),Base[_0x4562b9(0x199)](_0x2e6eea,_0x55d707['title'],_0x55d707['duration']));}else Base[_0x4562b9(0x199)](_0x8b3f78[_0x4562b9(0x186)](this[_0x4562b9(0x1af)](),_0x8b3f78[_0x4562b9(0x22c)](color,_0x8b3f78[_0x4562b9(0x15f)],_0x8b3f78[_0x4562b9(0x14c)])),++this['failCount'],_0x55d707[_0x4562b9(0x20a)]);}),this[_0x532e06(0x1ec)]();else _0x3beb6c['MHyHP'](this[_0x532e06(0x227)],_0x3beb6c[_0x532e06(0x172)])&&(this['docAppend'](this[_0x532e06(0x1af)]()+_0x532e06(0x1d8)),--this['__indents'],this[_0x532e06(0x175)](this[_0x532e06(0x1af)]()+_0x532e06(0x20f)),--this[_0x532e06(0x223)]);Array[_0x532e06(0x142)][_0x532e06(0x159)]['apply'](this['finalResults'],this[_0x532e06(0x15b)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x22ff95=>{const _0x30498d=_0xd861b7;this[_0x30498d(0x15b)]['push']({'speed':_0x22ff95[_0x30498d(0x121)],'suite':_0x22ff95['parent'][_0x30498d(0x20a)],'title':_0x22ff95[_0x30498d(0x20a)],'fullTitle':_0x22ff95[_0x30498d(0x165)](),'duration':_0x22ff95[_0x30498d(0x13e)],'state':_0x22ff95[_0x30498d(0x163)],'err':{},'currentRetry':_0x22ff95[_0x30498d(0x174)](),'titlePathV':_0x22ff95[_0x30498d(0x238)](),'isPending':_0x22ff95[_0x30498d(0x140)]()});if(_0x3beb6c[_0x30498d(0x171)](this[_0x30498d(0x227)],_0x3beb6c[_0x30498d(0x1f4)]))_0x3beb6c[_0x30498d(0x22f)](_0x22ff95['speed'],_0x3beb6c[_0x30498d(0x1fe)])?process[_0x30498d(0x249)][_0x30498d(0x1c0)](Base[_0x30498d(0x1dc)](_0x3beb6c['pHUUl'],Base[_0x30498d(0x210)][_0x30498d(0x1a4)])):process['stdout'][_0x30498d(0x1c0)](Base[_0x30498d(0x1dc)](_0x22ff95[_0x30498d(0x121)],Base['symbols'][_0x30498d(0x1a4)]));else{if(_0x3beb6c[_0x30498d(0x22f)](this[_0x30498d(0x227)],_0x3beb6c[_0x30498d(0x172)])){this[_0x30498d(0x175)](this[_0x30498d(0x1af)]()+'\x20\x20<dt>'+utils[_0x30498d(0x143)](_0x22ff95[_0x30498d(0x20a)])+_0x30498d(0x246)),this[_0x30498d(0x175)](this[_0x30498d(0x1af)]()+'\x20\x20<dt>'+utils[_0x30498d(0x143)](_0x22ff95[_0x30498d(0x24f)])+_0x30498d(0x246));var _0x5e8a54=utils['escape'](utils[_0x30498d(0x1fd)](_0x22ff95[_0x30498d(0x244)]));this[_0x30498d(0x175)](this[_0x30498d(0x1af)]()+_0x30498d(0x18d)+_0x5e8a54+_0x30498d(0x24c));}}_0x3beb6c['qmGYm'](testhubUtils[_0x30498d(0x162)](),!![])&&(!_0x22ff95[_0x30498d(0x23a)]&&(_0x22ff95[_0x30498d(0x23a)]=!![],await this[_0x30498d(0x160)](_0x22ff95)));})['on'](EVENT_TEST_FAIL,async(_0x3d061c,_0x3780bf)=>{const _0x551c55=_0xd861b7;this[_0x551c55(0x15b)][_0x551c55(0x159)]({'title':_0x3d061c[_0x551c55(0x20a)],'suite':_0x3d061c[_0x551c55(0x19d)]['title'],'state':_0x3d061c[_0x551c55(0x163)],'err':{'message':util[_0x551c55(0x197)](_0x3780bf)},'fullTitle':_0x3d061c['fullTitle'](),'speed':_0x3d061c[_0x551c55(0x121)],'currentRetry':_0x3d061c[_0x551c55(0x174)](),'titlePathV':_0x3d061c[_0x551c55(0x238)]()});if(_0x3beb6c[_0x551c55(0x1ef)](this['type'],_0x3beb6c[_0x551c55(0x1f4)]))process[_0x551c55(0x249)]['write'](Base[_0x551c55(0x1dc)](_0x3beb6c[_0x551c55(0x14b)],Base[_0x551c55(0x210)][_0x551c55(0x1c4)]));else{if(_0x3beb6c[_0x551c55(0x177)](this[_0x551c55(0x227)],_0x3beb6c[_0x551c55(0x172)])){const _0x3e3805=_0x3beb6c[_0x551c55(0x1e4)]['split']('|');let _0x141d53=0x0;while(!![]){switch(_0x3e3805[_0x141d53++]){case'0':this[_0x551c55(0x175)](this[_0x551c55(0x1af)]()+_0x551c55(0x1b2)+utils[_0x551c55(0x143)](_0x3d061c[_0x551c55(0x24f)])+_0x551c55(0x246));continue;case'1':this[_0x551c55(0x175)](this[_0x551c55(0x1af)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x10eec7+'</code></pre></dd>');continue;case'2':var _0x10eec7=utils[_0x551c55(0x143)](utils[_0x551c55(0x1fd)](_0x3d061c['body']));continue;case'3':this[_0x551c55(0x175)](this['indent']()+_0x551c55(0x1b2)+utils[_0x551c55(0x143)](_0x3d061c[_0x551c55(0x20a)])+_0x551c55(0x246));continue;case'4':this[_0x551c55(0x175)](this[_0x551c55(0x1af)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils['escape'](_0x3d061c[_0x551c55(0x21e)])+'</dd>');continue;}break;}}}if(_0x3beb6c[_0x551c55(0x1c2)](testhubUtils[_0x551c55(0x162)](testHubConstants[_0x551c55(0x176)]['HookFinished']),!![])){if(!_0x3d061c[_0x551c55(0x23a)]){_0x3d061c[_0x551c55(0x23a)]=!![];if(_0x3d061c[_0x551c55(0x17b)])await this[_0x551c55(0x160)](_0x3d061c,_0x3780bf);else _0x3d061c[_0x551c55(0x204)]&&await this[_0x551c55(0x160)](_0x3d061c,_0x3780bf,![],_0x3beb6c[_0x551c55(0x1d1)]);}}})['on'](EVENT_TEST_PENDING,async _0x27a455=>{const _0x2f1106=_0xd861b7;this[_0x2f1106(0x15b)][_0x2f1106(0x159)]({'title':_0x27a455[_0x2f1106(0x20a)],'suite':_0x27a455[_0x2f1106(0x19d)][_0x2f1106(0x20a)],'state':_0x27a455['state'],'err':{},'fullTitle':_0x27a455[_0x2f1106(0x165)](),'speed':_0x27a455[_0x2f1106(0x121)],'currentRetry':_0x27a455[_0x2f1106(0x174)](),'titlePathV':_0x27a455['titlePath']()}),_0x3beb6c[_0x2f1106(0x202)](this[_0x2f1106(0x227)],_0x3beb6c[_0x2f1106(0x1f4)])&&process[_0x2f1106(0x249)]['write'](Base[_0x2f1106(0x1dc)](_0x3beb6c[_0x2f1106(0x1da)],Base[_0x2f1106(0x210)][_0x2f1106(0x129)])),_0x3beb6c[_0x2f1106(0x1b1)](testhubUtils[_0x2f1106(0x162)](),!![])&&(!_0x27a455['testAnalyticsId']&&(_0x27a455[_0x2f1106(0x17b)]=_0x3beb6c[_0x2f1106(0x1e9)](uuidv4)),!_0x27a455[_0x2f1106(0x23a)]&&(_0x27a455['markedStatus']=!![],await this[_0x2f1106(0x160)](_0x27a455,undefined,![],_0x3beb6c[_0x2f1106(0x24d)])));})['on'](EVENT_TEST_BEGIN,async _0x3463ed=>{const _0x9c040e=_0xd861b7;_0x3beb6c['bwgLD'](testhubUtils[_0x9c040e(0x162)](),!![])&&await this[_0x9c040e(0x150)](_0x3463ed);})['on'](EVENT_TEST_END,async _0x2fc0f8=>{const _0x3909e3=_0xd861b7;_0x3beb6c[_0x3909e3(0x232)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x2fc0f8[_0x3909e3(0x23a)]&&(_0x2fc0f8[_0x3909e3(0x23a)]=!![],await this[_0x3909e3(0x160)](_0x2fc0f8)));})[_0xd861b7(0x17f)](EVENT_RUN_END,async()=>{const _0x35a8f5=_0xd861b7;try{if(_0x3beb6c[_0x35a8f5(0x22f)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x111cfa=_0x3beb6c[_0x35a8f5(0x12e)](getHookSkippedTests,this[_0x35a8f5(0x23e)][_0x35a8f5(0x1ed)]);for(const _0x782b5d of _0x111cfa){!_0x782b5d[_0x35a8f5(0x17b)]&&(_0x782b5d[_0x35a8f5(0x17b)]=_0x3beb6c[_0x35a8f5(0x1e9)](uuidv4)),await this[_0x35a8f5(0x160)](_0x782b5d,undefined,![],_0x3beb6c[_0x35a8f5(0x24d)]);}}}catch(_0x17f1d7){_0x3beb6c[_0x35a8f5(0x12e)](debug,_0x35a8f5(0x20b)+_0x17f1d7);}await requestQueueHandler[_0x35a8f5(0x1ce)](),_0x3beb6c[_0x35a8f5(0x1a9)](this[_0x35a8f5(0x227)],_0x3beb6c[_0x35a8f5(0x172)])&&Base[_0x35a8f5(0x199)](this[_0x35a8f5(0x1b8)]);});if(this[_0xd861b7(0x227)]&&![_0x3beb6c[_0xd861b7(0x172)],_0x3beb6c['YAPhE'],_0x3beb6c['YXeav'],_0x3beb6c[_0xd861b7(0x1f4)]][_0xd861b7(0x1a0)](this[_0xd861b7(0x227)])){const _0xc1f8b9=this[_0xd861b7(0x227)]['trim']();this['Reporter']=null;try{this['Reporter']=_0x3beb6c['abCzx'](requireModule,_0xd861b7(0x158)+_0xc1f8b9+'.js');}catch{}if(_0x3beb6c[_0xd861b7(0x226)](this[_0xd861b7(0x128)],null))try{this[_0xd861b7(0x128)]=_0x3beb6c[_0xd861b7(0x12e)](require,_0xc1f8b9);}catch(_0x592c06){console['error'](_0xd861b7(0x1a7)+_0xc1f8b9);}if(_0x3beb6c[_0xd861b7(0x155)](this[_0xd861b7(0x128)],null)){const _0x440b95={};_0x440b95[_0xd861b7(0x130)]=_0x3ff6f6[_0xd861b7(0x1c6)],this[_0xd861b7(0x128)]=new this[(_0xd861b7(0x128))](_0x3e2e18,_0x440b95);}}}[a27_0x26e03f(0x1af)](){const _0x48e02a=a27_0x26e03f,_0x33838a={'KFBHt':function(_0x5d8794,_0x116af8){return _0x5d8794(_0x116af8);}};return _0x33838a[_0x48e02a(0x1ba)](Array,this[_0x48e02a(0x1a2)])[_0x48e02a(0x1bd)]('\x20\x20');}[a27_0x26e03f(0x168)](){const _0xe530a=a27_0x26e03f;this[_0xe530a(0x1a2)]++;}[a27_0x26e03f(0x1ec)](){const _0x1b7dff=a27_0x26e03f;this[_0x1b7dff(0x1a2)]--;}[a27_0x26e03f(0x175)](_0x553e2f){const _0x390400=a27_0x26e03f;this[_0x390400(0x1b8)]+=_0x553e2f;}['done'](_0x2b54ef,_0x212771){const _0x5c4e0d=a27_0x26e03f,_0x490d46={'wCKZs':function(_0x428d10,_0x57bc35){return _0x428d10(_0x57bc35);}},_0xc7df90={};_0xc7df90[_0x5c4e0d(0x1b3)]=_0x2b54ef,_0xc7df90[_0x5c4e0d(0x15b)]=this[_0x5c4e0d(0x132)],_0x490d46['wCKZs'](_0x212771,_0xc7df90);}[a27_0x26e03f(0x1d0)](){const _0x2a253a=a27_0x26e03f;process['removeAllListeners'](_0x2a253a(0x192)+process['pid']),process['on']('bs:addLog:'+process[_0x2a253a(0x1c9)],this['appendTestItemLog'][_0x2a253a(0x1fa)](this)),process[_0x2a253a(0x1bb)](_0x2a253a(0x22b)+process[_0x2a253a(0x1c9)]),process['on'](_0x2a253a(0x22b)+process['pid'],this[_0x2a253a(0x19c)]['bind'](this));}['testStarted']=async _0x5ad9ae=>{const _0x36c1ff=a27_0x26e03f,_0x593f6a={'nnnEi':function(_0x28490f){return _0x28490f();},'iihEx':function(_0x33dcb1,_0x387562){return _0x33dcb1>_0x387562;},'xmPHT':function(_0x4a492c,_0x193556){return _0x4a492c===_0x193556;},'cwkgI':_0x36c1ff(0x242),'PebFq':function(_0x260b26,_0x32b1e5){return _0x260b26(_0x32b1e5);}};try{const _0x3d75b0=this['current_test'];this[_0x36c1ff(0x213)]=_0x5ad9ae,_0x5ad9ae[_0x36c1ff(0x1d6)]=null,_0x5ad9ae[_0x36c1ff(0x17b)]=_0x593f6a[_0x36c1ff(0x17c)](uuidv4),_0x5ad9ae[_0x36c1ff(0x17a)]=new Date()['toISOString'](),_0x593f6a[_0x36c1ff(0x20e)](_0x5ad9ae[_0x36c1ff(0x18f)],0x0)&&_0x3d75b0&&_0x593f6a[_0x36c1ff(0x237)](_0x3d75b0[_0x36c1ff(0x20a)],_0x5ad9ae[_0x36c1ff(0x20a)])?(_0x5ad9ae[_0x36c1ff(0x1d6)]=_0x3d75b0['testAnalyticsId'],await this[_0x36c1ff(0x160)](_0x5ad9ae,undefined,![],_0x593f6a[_0x36c1ff(0x12b)]),_0x3d75b0['state']=STATE_FAILED,await this[_0x36c1ff(0x160)](_0x3d75b0,undefined,!![])):await this[_0x36c1ff(0x160)](_0x5ad9ae,undefined,![],_0x593f6a[_0x36c1ff(0x12b)]);}catch(_0x5b715e){_0x593f6a[_0x36c1ff(0x224)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x5b715e);}};['sendTestRunEvent']=async(_0x540ffc,_0x5a9d58=undefined,_0x59fe78=![],_0x2bbf87=a27_0x26e03f(0x229))=>{const _0xa2823d=a27_0x26e03f,_0x13ddd0={'ieDyD':function(_0x3f6525,_0x6d3114){return _0x3f6525===_0x6d3114;},'DHqxK':function(_0x3d3753,_0x168c02){return _0x3d3753!==_0x168c02;},'rnDXw':'test','fHgfM':_0xa2823d(0x21e),'YXbrP':function(_0x489446,_0x3e683e){return _0x489446!==_0x3e683e;},'UHegY':function(_0x7a449f,_0x49288d){return _0x7a449f!==_0x49288d;},'BlsSu':function(_0xba66b3,_0xa389d2){return _0xba66b3!==_0xa389d2;},'rLAPM':_0xa2823d(0x20c),'dlcHc':_0xa2823d(0x1d9),'qbSLt':_0xa2823d(0x1bf),'FRvWt':_0xa2823d(0x245),'mVbfi':_0xa2823d(0x1ac),'aaVUw':function(_0x2354d8,_0x1f24cd){return _0x2354d8-_0x1f24cd;},'WqoZL':_0xa2823d(0x240),'oIspA':'UnhandledError','QiiId':function(_0x556711,_0x110a20){return _0x556711===_0x110a20;},'wxPva':'started_at','ToSCa':_0xa2823d(0x23b),'qaGSV':function(_0x26ea11,_0x47086f){return _0x26ea11(_0x47086f);},'uWfvB':_0xa2823d(0x1c1),'bmxxk':function(_0x39f269,_0x17c9e6){return _0x39f269!==_0x17c9e6;},'bobUM':_0xa2823d(0x218),'TnLzr':_0xa2823d(0x145),'aAtEG':function(_0x3b89cf,_0x8338b9){return _0x3b89cf===_0x8338b9;},'nvAcb':'before\x20each','pcYaq':_0xa2823d(0x19a),'RMrEj':_0xa2823d(0x13b),'bQWZh':_0xa2823d(0x22e),'aIuQH':_0xa2823d(0x169),'ihavw':_0xa2823d(0x1cf),'CgUMr':'TestRunFinished','Zyfrs':function(_0x27bfd9,_0x408384){return _0x27bfd9===_0x408384;},'dNAPm':_0xa2823d(0x1a6),'TTHxg':'hook_run','wFNnA':_0xa2823d(0x233),'AGTVP':function(_0x48dfc4,_0x27cc41){return _0x48dfc4(_0x27cc41);}};try{if(_0x540ffc[_0xa2823d(0x244)]&&_0x540ffc[_0xa2823d(0x244)]['match'](/browserstack internal helper hook/))return;let _0x38e3dc=[];if(_0x13ddd0[_0xa2823d(0x1bc)](_0x540ffc[_0xa2823d(0x163)],STATE_FAILED)){if(_0x13ddd0['DHqxK'](_0x540ffc[_0xa2823d(0x21e)],undefined))_0x38e3dc=_0x540ffc[_0xa2823d(0x21e)][_0xa2823d(0x194)]?[_0x540ffc[_0xa2823d(0x21e)]['multiple'],_0x13ddd0['rnDXw']]:[_0x540ffc[_0xa2823d(0x21e)],_0x13ddd0[_0xa2823d(0x135)]];else _0x13ddd0[_0xa2823d(0x254)](_0x5a9d58,undefined)?_0x38e3dc=[_0x5a9d58,_0x13ddd0[_0xa2823d(0x135)]]:_0x38e3dc=[];}const _0x49a7f3=_0x13ddd0['UHegY'](_0x540ffc[_0xa2823d(0x21e)],undefined)?_0x540ffc['err'][_0xa2823d(0x124)]():_0x13ddd0[_0xa2823d(0x16e)](_0x5a9d58,undefined)?_0x5a9d58[_0xa2823d(0x124)]():undefined;let _0x32b4fb;try{_0x32b4fb=this['getRootParentFile'](_0x540ffc);}catch(_0x36ffa9){_0x32b4fb=null;}const _0x202162=_0x32b4fb?this[_0xa2823d(0x125)](_0x32b4fb):null,_0x599702=_0x32b4fb?this[_0xa2823d(0x1f1)][_0xa2823d(0x205)](this[_0xa2823d(0x1e5)](_0x540ffc)):_0x13ddd0[_0xa2823d(0x1f7)],_0x10955d={'framework':_0x13ddd0['dlcHc'],'uuid':_0x540ffc[_0xa2823d(0x17b)]||_0x540ffc[_0xa2823d(0x204)],'name':_0x540ffc[_0xa2823d(0x20a)],'body':{'lang':_0x13ddd0[_0xa2823d(0x20d)],'code':_0x540ffc[_0xa2823d(0x244)]},'scope':this[_0xa2823d(0x1ee)](_0x540ffc),'scopes':this[_0xa2823d(0x24a)](_0x540ffc),'identifier':_0x540ffc[_0xa2823d(0x165)](),'file_name':_0x599702,'vc_filepath':_0x202162?path[_0xa2823d(0x1e7)](_0x202162,_0x32b4fb):null,'location':_0x599702,'result':_0x13ddd0[_0xa2823d(0x1bc)](_0x2bbf87,_0x13ddd0[_0xa2823d(0x1de)])?_0x13ddd0[_0xa2823d(0x1ae)]:this[_0xa2823d(0x15a)](_0x540ffc[_0xa2823d(0x163)]),'failure_reason':_0x49a7f3,'duration_in_ms':_0x540ffc['duration']||(_0x2bbf87[_0xa2823d(0x19b)](/Finished/)||_0x2bbf87['match'](/Skipped/)?_0x13ddd0[_0xa2823d(0x190)](Date[_0xa2823d(0x157)](),new Date(_0x540ffc[_0xa2823d(0x17a)])[_0xa2823d(0x1cc)]()):null),'started_at':_0x540ffc['started_at'],'finished_at':_0x2bbf87[_0xa2823d(0x19b)](/Finished/)||_0x2bbf87['match'](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0xa2823d(0x196)](null,_0x38e3dc),'failure_type':!_0x49a7f3?null:_0x49a7f3['match'](/AssertionError/)?_0x13ddd0[_0xa2823d(0x13d)]:_0x13ddd0[_0xa2823d(0x207)],'retry_of':_0x540ffc[_0xa2823d(0x1d6)]};testhubUtils['appendTesthubParams'](_0x10955d,_0x2bbf87,_0x540ffc,FRAMEWORKS[_0xa2823d(0x228)]);_0x13ddd0[_0xa2823d(0x15c)](_0x2bbf87,_0x13ddd0[_0xa2823d(0x1de)])&&!_0x10955d[_0x13ddd0['wxPva']]&&(_0x10955d[_0x13ddd0['wxPva']]=_0x10955d[_0x13ddd0[_0xa2823d(0x1db)]]);if(_0x2bbf87[_0xa2823d(0x19b)](/HookRun/))[_0x10955d[_0xa2823d(0x1a6)],_0x10955d[_0xa2823d(0x148)]]=_0x13ddd0[_0xa2823d(0x222)](getHookDetails,_0x540ffc[_0xa2823d(0x165)]()||_0x540ffc['originalTitle']||_0x540ffc['title']),_0x13ddd0[_0xa2823d(0x15c)](_0x2bbf87,_0x13ddd0['uWfvB'])&&(_0x13ddd0['bmxxk'](_0x10955d[_0xa2823d(0x1b9)],_0x13ddd0[_0xa2823d(0x13c)])&&(_0x10955d[_0xa2823d(0x1b9)]=_0x13ddd0[_0xa2823d(0x1e3)]),_0x13ddd0[_0xa2823d(0x136)](_0x10955d[_0xa2823d(0x1a6)],_0x13ddd0[_0xa2823d(0x167)])&&_0x13ddd0[_0xa2823d(0x1bc)](_0x10955d['result'],_0x13ddd0['bobUM'])&&!_0x540ffc[_0xa2823d(0x17d)]['currentTest']['markedStatus']&&(_0x540ffc[_0xa2823d(0x17d)][_0xa2823d(0x1f2)][_0xa2823d(0x23a)]=!![],_0x540ffc['ctx'][_0xa2823d(0x1f2)]['state']=STATE_FAILED,await this['sendTestRunEvent'](_0x540ffc[_0xa2823d(0x17d)]['currentTest'],undefined,!![])));else _0x2bbf87[_0xa2823d(0x19b)](/TestRun/)&&_0x13ddd0[_0xa2823d(0x222)](mapTestHooks,_0x540ffc);const _0x3f0da7=_0x10955d[_0x13ddd0['pcYaq']][0x0];_0x3f0da7&&(_0x10955d[_0x13ddd0[_0xa2823d(0x1f3)]]=_0x3f0da7[_0x13ddd0[_0xa2823d(0x1b6)]],_0x10955d[_0x13ddd0[_0xa2823d(0x1b4)]]=_0x3f0da7[_0x13ddd0[_0xa2823d(0x21b)]]);[_0x13ddd0[_0xa2823d(0x1be)],_0x13ddd0[_0xa2823d(0x1de)]][_0xa2823d(0x1a0)](_0x2bbf87)&&(this[_0xa2823d(0x253)][_0xa2823d(0x159)](_0x10955d),_0x10955d[_0xa2823d(0x193)]=_0x13ddd0['qaGSV'](getHooksForTest,_0x540ffc));const _0x4fc4e9={'event_type':_0x13ddd0[_0xa2823d(0x241)](_0x2bbf87,_0x13ddd0[_0xa2823d(0x1de)])?_0x13ddd0[_0xa2823d(0x1be)]:_0x2bbf87};_0x2bbf87[_0xa2823d(0x19b)](/HookRun/)?(_0x10955d[_0x13ddd0['dNAPm']]=HOOK_TYPES_MAP[_0x10955d[_0x13ddd0[_0xa2823d(0x1aa)]]],_0x4fc4e9[_0x13ddd0['TTHxg']]=_0x10955d):_0x4fc4e9[_0x13ddd0[_0xa2823d(0x178)]]=_0x10955d,testhubUtils[_0xa2823d(0x12a)](FRAMEWORKS[_0xa2823d(0x228)],_0x4fc4e9),await SessionHandler[_0xa2823d(0x147)](_0x4fc4e9);}catch(_0x1339ca){_0x13ddd0[_0xa2823d(0x14d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x2bbf87+_0xa2823d(0x21c)+_0x1339ca);}};[a27_0x26e03f(0x125)](_0x50d3ca){const _0x53945e=a27_0x26e03f,_0x49bf44={};_0x49bf44[_0x53945e(0x179)]=function(_0x2d8c,_0x368b99){return _0x2d8c===_0x368b99;},_0x49bf44['kdGDH']=function(_0xfd70da,_0x5e8a4e){return _0xfd70da===_0x5e8a4e;},_0x49bf44[_0x53945e(0x144)]=function(_0x1f9391,_0x2cd43c){return _0x1f9391===_0x2cd43c;},_0x49bf44[_0x53945e(0x154)]=_0x53945e(0x137),_0x49bf44['xDMIV']=_0x53945e(0x1ad);const _0x142df7=_0x49bf44,_0x6e2c7e=path['sep'];if(_0x142df7['KAXzM'](_0x50d3ca,null)||_0x142df7[_0x53945e(0x179)](_0x50d3ca,'')||_0x142df7[_0x53945e(0x23f)](_0x50d3ca,_0x6e2c7e)||_0x142df7[_0x53945e(0x144)](_0x50d3ca,path[_0x53945e(0x170)](_0x50d3ca)))return null;try{return fs[_0x53945e(0x127)](path[_0x53945e(0x1bd)](_0x50d3ca,_0x142df7[_0x53945e(0x154)],_0x142df7[_0x53945e(0x23d)])),_0x50d3ca;}catch(_0x43a7fa){const _0x524a53=path['dirname'](_0x50d3ca);return this[_0x53945e(0x125)](_0x524a53);}}[a27_0x26e03f(0x16a)]=async _0x14f4ea=>{const _0x2b4a3a=a27_0x26e03f,_0x15506c={'nsUcv':_0x2b4a3a(0x24b),'lSnjd':function(_0x3a7cb3,_0x2e7401){return _0x3a7cb3(_0x2e7401);}};try{this[_0x2b4a3a(0x1e8)]&&!this[_0x2b4a3a(0x1e8)][_0x2b4a3a(0x23a)]&&(_0x14f4ea[_0x2b4a3a(0x1d5)]=this[_0x2b4a3a(0x1e8)]['hookAnalyticsId']);!_0x14f4ea[_0x2b4a3a(0x1d5)]&&this[_0x2b4a3a(0x213)]&&!this[_0x2b4a3a(0x213)]['markedStatus']&&(_0x14f4ea[_0x2b4a3a(0x141)]=this[_0x2b4a3a(0x213)][_0x2b4a3a(0x17b)]);if(_0x14f4ea['hook_run_uuid']||_0x14f4ea[_0x2b4a3a(0x141)]){const _0xe6d8e={};_0xe6d8e[_0x2b4a3a(0x14e)]=_0x15506c[_0x2b4a3a(0x1f8)],_0xe6d8e['logs']=[_0x14f4ea],await SessionHandler['uploadEventData'](_0xe6d8e);}}catch(_0x30c9f6){_0x15506c[_0x2b4a3a(0x22a)](debug,_0x2b4a3a(0x164)+_0x30c9f6);}};[a27_0x26e03f(0x19c)]=async _0xd1b741=>{const _0xdcb0e3=a27_0x26e03f,_0x538b30={'vpLYI':_0xdcb0e3(0x214),'VeuQV':_0xdcb0e3(0x1ea),'tWtcg':function(_0x1dbe7b,_0x5d29d5){return _0x1dbe7b(_0x5d29d5);}};try{const _0x25538b={};_0x25538b['uuid']=_0xd1b741['uuid']||this[_0xdcb0e3(0x213)]['testAnalyticsId'],_0x25538b[_0xdcb0e3(0x1cd)]=_0xd1b741[_0x538b30[_0xdcb0e3(0x1d7)]];const _0x4adab8=_0x25538b,_0x1e2810={};_0x1e2810[_0xdcb0e3(0x14e)]=_0x538b30[_0xdcb0e3(0x230)],_0x1e2810[_0xdcb0e3(0x233)]=_0x4adab8,await SessionHandler['uploadEventData'](_0x1e2810);}catch(_0x27b901){_0x538b30[_0xdcb0e3(0x1b7)](debug,_0xdcb0e3(0x1b0)+_0x27b901);}};[a27_0x26e03f(0x15a)](_0x5b9a3a){const _0x1fb9ec=a27_0x26e03f,_0x1cd55a={};_0x1cd55a[_0x1fb9ec(0x195)]=_0x1fb9ec(0x145),_0x1cd55a[_0x1fb9ec(0x201)]=_0x1fb9ec(0x21f),_0x1cd55a[_0x1fb9ec(0x14f)]=_0x1fb9ec(0x218);const _0x32599b=_0x1cd55a,_0x212516={};return _0x212516[STATE_PASSED]=_0x32599b[_0x1fb9ec(0x195)],_0x212516[STATE_PENDING]=_0x32599b[_0x1fb9ec(0x201)],_0x212516[STATE_FAILED]=_0x32599b[_0x1fb9ec(0x14f)],_0x212516[_0x5b9a3a];}[a27_0x26e03f(0x1ee)](_0x50c3ef){const _0x17f442=a27_0x26e03f,_0x2f19b9={};_0x2f19b9[_0x17f442(0x1e0)]=function(_0x2d3131,_0x44ee6d){return _0x2d3131-_0x44ee6d;};const _0x4772a9=_0x2f19b9,_0x4fc0f9=_0x50c3ef[_0x17f442(0x238)]();return _0x4fc0f9[_0x17f442(0x1eb)](0x0,_0x4772a9[_0x17f442(0x1e0)](_0x4fc0f9[_0x17f442(0x1ff)],0x1))[_0x17f442(0x1bd)]('\x20');}[a27_0x26e03f(0x24a)](_0x24d5d3){const _0x495c5c=a27_0x26e03f,_0x248363={};_0x248363[_0x495c5c(0x1cb)]=function(_0x17e0e8,_0x585e5a){return _0x17e0e8-_0x585e5a;};const _0x9467fc=_0x248363,_0x209017=_0x24d5d3[_0x495c5c(0x238)]();return _0x209017[_0x495c5c(0x1eb)](0x0,_0x9467fc[_0x495c5c(0x1cb)](_0x209017[_0x495c5c(0x1ff)],0x1));}[a27_0x26e03f(0x1e5)](_0x3a17f6){const _0x1a48af=a27_0x26e03f,_0x329449={};_0x329449[_0x1a48af(0x203)]=function(_0xb4e16c,_0x3f0187){return _0xb4e16c>_0x3f0187;};const _0x532a82=_0x329449;if(_0x3a17f6[_0x1a48af(0x24f)])return _0x3a17f6[_0x1a48af(0x24f)];if(_0x3a17f6[_0x1a48af(0x17d)]){const _0x39b5e6=_0x3a17f6['ctx'][_0x1a48af(0x1f2)]?this['getRootParentFile'](_0x3a17f6[_0x1a48af(0x17d)][_0x1a48af(0x1f2)]):null;if(_0x39b5e6)return _0x39b5e6;}if(_0x3a17f6['parent']){const _0x544b92=this[_0x1a48af(0x1e5)](_0x3a17f6[_0x1a48af(0x19d)])||(_0x3a17f6[_0x1a48af(0x19d)]['ctx']&&_0x3a17f6[_0x1a48af(0x19d)][_0x1a48af(0x17d)][_0x1a48af(0x1f2)]?this[_0x1a48af(0x1e5)](_0x3a17f6[_0x1a48af(0x19d)][_0x1a48af(0x17d)][_0x1a48af(0x1f2)]):null);if(_0x544b92)return _0x544b92;_0x3a17f6[_0x1a48af(0x19d)][_0x1a48af(0x14a)]&&_0x532a82['ReJuM'](_0x3a17f6['parent'][_0x1a48af(0x14a)][_0x1a48af(0x1ff)],0x0)&&_0x3a17f6[_0x1a48af(0x19d)]['suites'][_0x1a48af(0x251)](_0x1d9a25=>{const _0x19647f=_0x1a48af,_0x373b27=_0x1d9a25[_0x19647f(0x17d)]?this[_0x19647f(0x1e5)](_0x1d9a25['ctx']):null;if(_0x373b27)return _0x373b27;});}return null;}}module[a27_0x26e03f(0x250)]=MyReporter;
|
|
1
|
+
'use strict';function a27_0x5705(_0x5acb99,_0x4e9de3){const _0x2f8215=a27_0x2f82();return a27_0x5705=function(_0x570501,_0xd11ef8){_0x570501=_0x570501-0x121;let _0x193872=_0x2f8215[_0x570501];return _0x193872;},a27_0x5705(_0x5acb99,_0x4e9de3);}const a27_0x5caf60=a27_0x5705;function a27_0x2f82(){const _0x8e2846=['shouldProcessEventForTesthub','docHtml','fdeSL','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','hook_type','Mocha','root','WJmwu','speed','slice','failure_reason_expanded','UooyP','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','mocha/lib/runnable.js','lKyiR','\x20\x20%d)\x20%s','fuyUk','vOCLd','%s\x20-\x20%s','QhvTE','skipped','hgGqM','includes','failCount','scopes','EOhdY','tVXEn','kzXaE','results','suites','../../../helpers/test-observability/requestQueueHandler','ctx','FnNeY','CJWAZ','titlePath','xOSuB','HookRunStarted','../../../helpers/helper','QRBIV','WlhKf','wmOYn','uuid','markedStatus','analyticsResult','\x20\x20<dt>','write','mocha/lib/reporters/','fhgNd','stdout','_testEnv','path','HookFinished','kkeax','ziScV','<dl>','YKlTB','config','VJWAJ','before\x20all','yXkBx','test_run_uuid','fail','</dt>','kvERl','hook_run_uuid','.js','HookRunFinished','comma','</section>','finalResults','uSGbJ','consoleLog','PfTeW','findGitConfig','HyFLC','UzYwU','join','call','removeAllListeners','cCeKP','getRootParentFile','appendTestItemLog','ygvDM','scope','rtdyy','__platform__','IcWRD','failure_backtrace','mocha/lib/utils.js','FnaVS','testObservability','xjweA','<h1>','vcjTx','indent','IifcF','xunit','21486hgcxqk','toOZF','gkVQQ','861882wWwWya','dXHjS','\x20with\x20error\x20:\x20','docAppend','green','now','test_run','pid','rOPpf','before\x20each','JLckU','type','WcMQU','symbols','MZtkU','location_prefix','current_hook','bMUlL','XVeRT','length','started_at','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','once','mhQHf','QqXuF','trim','AFTER_ALL','bs:addPlatformDetails:','lpTLX','escape','TADQQ','match','forEach','result','OEYoH','current_test','file','failure','currentRetry','finished_at','../../../helpers/test-observability/sessionHandler','err','_upstreamConfig','oVtzG','split','lRHUI','../test-observability/mochaUtils','Txabm','OEuKG','oZQbI','__indents','appendTestPlatform','testAnalyticsId','mocha','zEfVQ','setCurrentTestData','mYNrp','MFXsF','prototype','_paths','../../../helpers/test-observability/constants','JwIeA','pygsf','toISOString','izQIb','bGVMG','name','increaseIndent','../../../helpers/test-observability/utils','clean','cncgl','pass','_currentRetry','\x20\x20<dd><pre><code>','suite','QzmDr','_indents','integrations','sendTestRunEvent','DQOMw','retryOf','push','rgdwi','135WykZpB','hookAnalyticsId','_buildCreated','301uOSkqQ','parent','passed','tiliK','DkAKp','expanded','<section\x20class=\x22suite\x22>','LRlei','uFrPS','tdHoq','</h1>','after\x20each','registerListeners','apply','AFTER_EACH','color','\x20%s','TestRunSkipped','Reporter','_testResults','title','KqaNr','ssRSf','pending','cwd','RUNNING','\x20\x20<dt\x20class=\x22error\x22>','getInstance','Failed\x20to\x20load\x20reporter\x20','LqRiS','ftqMT','checkmark','sep','EVENT','19814nIQQZD','svbeE','MOCHA','WPTAQ','cgbCe','logs','currentTest','</dl>','Xjhsq','AtoGI','BEdIM','diHUz','reporterOption','body','UnhandledError','qAsrf','WxnEk','state','fullTitle','PLBja','bs:addLog:','xBEMd','1249392lLsVxZ','AssertionError','inspect','BEFORE_ALL','</dd>','HmdWE','duration','decreaseIndent','bsConfig','TWiys','shutdown','reporterOptions','backtrace','LmFWc','after\x20all','4246830RKuOFq','toString','bind','CliCf','bang','failureCount','QiBpG','statSync','exports','bMvee','bgaDe','dot','zUCHi','UhHzV','AIOwX','2592Sinmxx','oPDUP','http_response','KIRmy','util','ZMSLh','%s\x20','doc','fast','Jfgoa','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','EoAjg','PodhQ','OwiRs','HKQkl','Sxomj','433512jFbGvs','multiple','WAzDz','dirname','3|0|1|4|2','fLDPn','RVxqL','CErUZ','event_type','uploadEventData','../../../helpers/testhub/utils','\x20\x20<dd\x20class=\x22error\x22>'];a27_0x2f82=function(){return _0x8e2846;};return a27_0x2f82();}(function(_0xf42ba9,_0x48b59a){const _0xf52cd4=a27_0x5705,_0x47a780=_0xf42ba9();while(!![]){try{const _0xae1058=parseInt(_0xf52cd4(0x154))/0x1+-parseInt(_0xf52cd4(0x208))/0x2+parseInt(_0xf52cd4(0x198))/0x3+-parseInt(_0xf52cd4(0x188))/0x4*(-parseInt(_0xf52cd4(0x12f))/0x5)+parseInt(_0xf52cd4(0x205))/0x6*(parseInt(_0xf52cd4(0x132))/0x7)+-parseInt(_0xf52cd4(0x16a))/0x8+parseInt(_0xf52cd4(0x179))/0x9;if(_0xae1058===_0x48b59a)break;else _0x47a780['push'](_0x47a780['shift']());}catch(_0x5480af){_0x47a780['push'](_0x47a780['shift']());}}}(a27_0x2f82,0x35d88));const util=require(a27_0x5caf60(0x18c)),fs=require('fs'),path=require(a27_0x5caf60(0x1d6)),{requireModule}=require(a27_0x5caf60(0x1c9)),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule(a27_0x5caf60(0x1fc)),color=Base[a27_0x5caf60(0x141)],Mocha=requireModule(a27_0x5caf60(0x23d)),Runnable=requireModule(a27_0x5caf60(0x1b1)),{v4:uuidv4}=require(a27_0x5caf60(0x1cd)),bsSetupHelper=require(a27_0x5caf60(0x1c9)),testhubUtils=require(a27_0x5caf60(0x1a2)),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a27_0x5caf60(0x244)),a27_0x4d43d1={};a27_0x4d43d1[a27_0x5caf60(0x1de)]=a27_0x5caf60(0x16d),a27_0x4d43d1[a27_0x5caf60(0x178)]=a27_0x5caf60(0x222),a27_0x4d43d1[a27_0x5caf60(0x211)]='BEFORE_EACH',a27_0x4d43d1[a27_0x5caf60(0x13d)]=a27_0x5caf60(0x140);const HOOK_TYPES_MAP=a27_0x4d43d1,{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['Runner']['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x5caf60(0x236)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x5caf60(0x230)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x5caf60(0x24c)),RequestQueueHandler=require(a27_0x5caf60(0x1c2)),requestQueueHandler=RequestQueueHandler[a27_0x5caf60(0x14d)]();class MyReporter{constructor(_0x51667a,_0x13616f){const _0xb7d71c=a27_0x5caf60,_0x469778={'rtdyy':function(_0x3e297e,_0x5bc385){return _0x3e297e===_0x5bc385;},'oZQbI':'spec','IifcF':function(_0x5e3b8e,_0x2a8aa5){return _0x5e3b8e===_0x2a8aa5;},'uSGbJ':function(_0x33e07b,_0x5c262e){return _0x33e07b+_0x5c262e;},'NBCEt':function(_0xc00262,_0x25efe4){return _0xc00262+_0x25efe4;},'ssRSf':function(_0x4c5247,_0x329176,_0x5c7358){return _0x4c5247(_0x329176,_0x5c7358);},'kkeax':_0xb7d71c(0x20c),'kvERl':_0xb7d71c(0x18e),'cgbCe':'light','PLBja':_0xb7d71c(0x1b6),'VbODK':_0xb7d71c(0x14b),'FnNeY':function(_0x186ca9,_0x46832f){return _0x186ca9===_0x46832f;},'bGVMG':_0xb7d71c(0x18f),'CJWAZ':function(_0xd0a85d){return _0xd0a85d();},'izQIb':_0xb7d71c(0x1c8),'OEYoH':function(_0x145cc2,_0x3d2d87){return _0x145cc2===_0x3d2d87;},'OwiRs':_0xb7d71c(0x1e6),'WxnEk':function(_0x343447,_0x2e65a3){return _0x343447===_0x2e65a3;},'bgaDe':'passed','AIOwX':_0xb7d71c(0x190),'pygsf':function(_0x131da3,_0x555493){return _0x131da3+_0x555493;},'CliCf':_0xb7d71c(0x151),'DQOMw':_0xb7d71c(0x123),'VJWAJ':_0xb7d71c(0x142),'UzYwU':function(_0x49a4e4,_0x559257){return _0x49a4e4+_0x559257;},'EoAjg':function(_0x45a413,_0x34cdea,_0x8a8f1d){return _0x45a413(_0x34cdea,_0x8a8f1d);},'ygvDM':function(_0x560a17,_0x4cd264,_0x8368aa){return _0x560a17(_0x4cd264,_0x8368aa);},'RVxqL':'\x20(%dms)','UooyP':_0xb7d71c(0x1e1),'diHUz':_0xb7d71c(0x1b3),'wmOYn':function(_0x2efbf3,_0x568bb0){return _0x2efbf3===_0x568bb0;},'toOZF':function(_0x29aff3,_0xbfca9f){return _0x29aff3+_0xbfca9f;},'Vfygj':function(_0x193371,_0x481c78){return _0x193371+_0x481c78;},'yXkBx':function(_0x4a5a34,_0x4218f9,_0x38d99b){return _0x4a5a34(_0x4218f9,_0x38d99b);},'xjweA':'bright\x20yellow','pABsj':'COMPLETED','tiliK':_0xb7d71c(0x184),'JcoSX':'slow','Xjhsq':function(_0x37efeb,_0x5f08be){return _0x37efeb===_0x5f08be;},'oVtzG':function(_0x5c138f,_0x3f64a4){return _0x5c138f===_0x3f64a4;},'CvcMz':_0xb7d71c(0x19c),'vcjTx':function(_0x37c350,_0x1deae4){return _0x37c350===_0x1deae4;},'zEfVQ':function(_0x2eca99,_0x4acff0){return _0x2eca99===_0x4acff0;},'QiBpG':_0xb7d71c(0x149),'Jfgoa':function(_0x103925){return _0x103925();},'vOCLd':_0xb7d71c(0x143),'kzXaE':function(_0x273074,_0x31b17c){return _0x273074===_0x31b17c;},'lpTLX':function(_0x562887,_0x1cf2c1){return _0x562887(_0x1cf2c1);},'tVXEn':function(_0x5ac660){return _0x5ac660();},'cEdYY':function(_0x1464e9,_0xe025b1){return _0x1464e9(_0xe025b1);},'laczv':function(_0x430120,_0x40db70){return _0x430120===_0x40db70;},'OEuKG':function(_0x4776da,_0x4d5715){return _0x4776da===_0x4d5715;},'DkAKp':_0xb7d71c(0x204),'svbeE':function(_0x1d3da3,_0x49e600){return _0x1d3da3===_0x49e600;},'PodhQ':function(_0x2b08a4,_0x554574){return _0x2b08a4!==_0x554574;}};this[_0xb7d71c(0x213)]=_0x13616f[_0xb7d71c(0x160)]['type'],this[_0xb7d71c(0x1fe)]=_0x469778['CJWAZ'](isTestObservabilitySession),Base[_0xb7d71c(0x1f1)](this,_0x51667a,_0x13616f),this[_0xb7d71c(0x128)]=0x0,this[_0xb7d71c(0x1bb)]=0x0,this[_0xb7d71c(0x1c0)]=[],this[_0xb7d71c(0x1e9)]=[],this['suiteCount']=0x0,this[_0xb7d71c(0x131)]=![],this['_testResults']=[],this[_0xb7d71c(0x1d5)]=_0x469778[_0xb7d71c(0x1c5)](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0xb7d71c(0x14a)]()},this[_0xb7d71c(0x1d5)][_0xb7d71c(0x217)]),this[_0xb7d71c(0x232)]=_0x13616f[_0xb7d71c(0x160)][_0xb7d71c(0x172)],this[_0xb7d71c(0x13e)]();_0x469778[_0xb7d71c(0x238)](this[_0xb7d71c(0x213)],_0x469778[_0xb7d71c(0x249)])&&(this['docHtml']='',this[_0xb7d71c(0x23a)]=0x2);_0x51667a[_0xb7d71c(0x21e)](EVENT_RUN_BEGIN,async()=>{const _0x420526=_0xb7d71c;_0x469778[_0x420526(0x1f8)](this[_0x420526(0x213)],_0x469778[_0x420526(0x239)])&&Base[_0x420526(0x1eb)]();})['on'](EVENT_SUITE_BEGIN,_0xaef6f7=>{const _0x1155d7=_0xb7d71c;if(_0xaef6f7[_0x1155d7(0x1aa)])return;if(_0x469778[_0x1155d7(0x203)](this['type'],_0x469778[_0x1155d7(0x239)]))this[_0x1155d7(0x24b)](),Base[_0x1155d7(0x1eb)](_0x469778[_0x1155d7(0x1ea)](_0x469778['NBCEt'](this[_0x1155d7(0x202)](),_0x469778[_0x1155d7(0x148)](color,_0x469778[_0x1155d7(0x1d8)],_0x469778[_0x1155d7(0x1e3)])),_0x469778['ssRSf'](color,_0x469778['cgbCe'],_0x469778['PLBja'])),_0x469778['VbODK'],_0xaef6f7[_0x1155d7(0x146)],global[_0x1155d7(0x1f9)]);else _0x469778[_0x1155d7(0x1c4)](this[_0x1155d7(0x213)],_0x469778[_0x1155d7(0x249)])&&(this[_0x1155d7(0x20b)](this[_0x1155d7(0x202)]()+_0x1155d7(0x138)),++this['__indents'],this[_0x1155d7(0x20b)](this['indent']()+_0x1155d7(0x200)+utils[_0x1155d7(0x225)](_0xaef6f7[_0x1155d7(0x146)]+'\x20-\x20'+global[_0x1155d7(0x1f9)])+_0x1155d7(0x13c)),this['docAppend'](this[_0x1155d7(0x202)]()+_0x1155d7(0x1da)));})['on'](EVENT_HOOK_BEGIN,async _0x5f47f2=>{const _0x3c09a5=_0xb7d71c;if(_0x469778[_0x3c09a5(0x1c4)](testhubUtils[_0x3c09a5(0x1a4)](testHubConstants[_0x3c09a5(0x153)]['HookStarted']),!![])){if(!_0x5f47f2['hookAnalyticsId'])_0x5f47f2[_0x3c09a5(0x130)]=_0x469778[_0x3c09a5(0x1c5)](uuidv4);else _0x5f47f2['markedStatus']&&(_0x5f47f2['hookAnalyticsId']=_0x469778[_0x3c09a5(0x1c5)](uuidv4),delete _0x5f47f2['markedStatus']);_0x5f47f2['started_at']=new Date()[_0x3c09a5(0x247)](),this[_0x3c09a5(0x218)]=_0x5f47f2,await this[_0x3c09a5(0x12a)](_0x5f47f2,undefined,![],_0x469778[_0x3c09a5(0x248)]);}})['on'](EVENT_HOOK_END,async _0x5e8653=>{const _0x2185dc=_0xb7d71c;_0x469778[_0x2185dc(0x22a)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x2185dc(0x153)][_0x2185dc(0x1d7)]),!![])&&(!_0x5e8653[_0x2185dc(0x1ce)]&&(_0x5e8653[_0x2185dc(0x1ce)]=!![],await this[_0x2185dc(0x12a)](_0x5e8653,undefined,![],_0x469778[_0x2185dc(0x195)])));})['on'](EVENT_SUITE_END,_0x3520e1=>{const _0x58ccae=_0xb7d71c,_0x56a0e6={'QhvTE':function(_0x3d36da,_0x172515){const _0x9e2bf3=a27_0x5705;return _0x469778[_0x9e2bf3(0x164)](_0x3d36da,_0x172515);},'fdeSL':_0x469778[_0x58ccae(0x183)],'WlhKf':_0x469778[_0x58ccae(0x187)],'CErUZ':function(_0x16a476,_0x1d4adc){const _0xa3cdd4=_0x58ccae;return _0x469778[_0xa3cdd4(0x246)](_0x16a476,_0x1d4adc);},'WJmwu':function(_0x74adf4,_0x3fbddb,_0x72b515){const _0x380c37=_0x58ccae;return _0x469778[_0x380c37(0x148)](_0x74adf4,_0x3fbddb,_0x72b515);},'XVeRT':_0x469778[_0x58ccae(0x17c)],'sagpN':function(_0x41e325,_0x2e30e1,_0x32bea3){const _0x28f753=_0x58ccae;return _0x469778[_0x28f753(0x148)](_0x41e325,_0x2e30e1,_0x32bea3);},'qQtWd':_0x469778[_0x58ccae(0x12b)],'QqXuF':_0x469778[_0x58ccae(0x1dd)],'LqRiS':function(_0x3c4f4d,_0x5e6a49){return _0x469778['pygsf'](_0x3c4f4d,_0x5e6a49);},'MZtkU':function(_0x32c34a,_0x3e00bf){const _0x1e50d3=_0x58ccae;return _0x469778[_0x1e50d3(0x1ef)](_0x32c34a,_0x3e00bf);},'WPTAQ':function(_0x4fec04,_0x6be32c,_0xbd6720){const _0x518b0d=_0x58ccae;return _0x469778[_0x518b0d(0x193)](_0x4fec04,_0x6be32c,_0xbd6720);},'UtsOH':function(_0x3dca1d,_0x2226e3,_0x8ae77e){const _0x13869b=_0x58ccae;return _0x469778[_0x13869b(0x1f6)](_0x3dca1d,_0x2226e3,_0x8ae77e);},'MFXsF':_0x469778[_0x58ccae(0x19e)],'YJBCq':_0x469778['UooyP'],'Txabm':_0x469778[_0x58ccae(0x15f)]};if(_0x3520e1[_0x58ccae(0x1aa)])return;if(_0x469778[_0x58ccae(0x1cc)](this[_0x58ccae(0x213)],_0x469778[_0x58ccae(0x239)]))Base[_0x58ccae(0x1eb)](),Base[_0x58ccae(0x1eb)](_0x469778[_0x58ccae(0x206)](_0x469778['Vfygj'](this[_0x58ccae(0x202)](),_0x469778[_0x58ccae(0x1df)](color,_0x469778[_0x58ccae(0x1ff)],_0x469778['kvERl'])),_0x469778[_0x58ccae(0x193)](color,_0x469778[_0x58ccae(0x158)],_0x469778[_0x58ccae(0x167)])),_0x469778['pABsj'],_0x3520e1['title'],global[_0x58ccae(0x1f9)]),this[_0x58ccae(0x1c0)]['forEach'](_0x95bf71=>{const _0x14eb5c=_0x58ccae;if(_0x56a0e6[_0x14eb5c(0x1b7)](_0x95bf71['state'],_0x56a0e6[_0x14eb5c(0x1a6)])){var _0x35e229;_0x56a0e6[_0x14eb5c(0x1b7)](_0x95bf71[_0x14eb5c(0x1ac)],_0x56a0e6[_0x14eb5c(0x1cb)])?(_0x35e229=_0x56a0e6[_0x14eb5c(0x19f)](_0x56a0e6[_0x14eb5c(0x19f)](this['indent'](),_0x56a0e6[_0x14eb5c(0x1ab)](color,_0x56a0e6[_0x14eb5c(0x21a)],_0x56a0e6[_0x14eb5c(0x19f)]('\x20\x20',Base[_0x14eb5c(0x215)]['ok']))),_0x56a0e6['sagpN'](color,_0x56a0e6['qQtWd'],_0x56a0e6['QqXuF'])),Base['consoleLog'](_0x35e229,_0x95bf71['title'])):(_0x35e229=_0x56a0e6[_0x14eb5c(0x14f)](_0x56a0e6[_0x14eb5c(0x19f)](_0x56a0e6[_0x14eb5c(0x216)](this[_0x14eb5c(0x202)](),_0x56a0e6[_0x14eb5c(0x157)](color,_0x56a0e6[_0x14eb5c(0x21a)],_0x56a0e6['LqRiS']('\x20\x20',Base[_0x14eb5c(0x215)]['ok']))),_0x56a0e6[_0x14eb5c(0x1ab)](color,_0x56a0e6['qQtWd'],_0x56a0e6[_0x14eb5c(0x220)])),_0x56a0e6['UtsOH'](color,_0x95bf71[_0x14eb5c(0x1ac)],_0x56a0e6[_0x14eb5c(0x241)])),Base['consoleLog'](_0x35e229,_0x95bf71['title'],_0x95bf71[_0x14eb5c(0x170)]));}else Base[_0x14eb5c(0x1eb)](_0x56a0e6[_0x14eb5c(0x19f)](this[_0x14eb5c(0x202)](),_0x56a0e6[_0x14eb5c(0x157)](color,_0x56a0e6['YJBCq'],_0x56a0e6[_0x14eb5c(0x237)])),++this['failCount'],_0x95bf71[_0x14eb5c(0x146)]);}),this['decreaseIndent']();else _0x469778[_0x58ccae(0x1c4)](this[_0x58ccae(0x213)],_0x469778[_0x58ccae(0x249)])&&(this[_0x58ccae(0x20b)](this[_0x58ccae(0x202)]()+_0x58ccae(0x15b)),--this[_0x58ccae(0x23a)],this[_0x58ccae(0x20b)](this['indent']()+_0x58ccae(0x1e8)),--this[_0x58ccae(0x23a)]);Array[_0x58ccae(0x242)]['push'][_0x58ccae(0x13f)](this[_0x58ccae(0x1e9)],this[_0x58ccae(0x1c0)]),this[_0x58ccae(0x1c0)]=[];})['on'](EVENT_TEST_PASS,async _0x37ca70=>{const _0x166356=_0xb7d71c;this[_0x166356(0x1c0)][_0x166356(0x12d)]({'speed':_0x37ca70[_0x166356(0x1ac)],'suite':_0x37ca70[_0x166356(0x133)][_0x166356(0x146)],'title':_0x37ca70[_0x166356(0x146)],'fullTitle':_0x37ca70[_0x166356(0x166)](),'duration':_0x37ca70['duration'],'state':_0x37ca70[_0x166356(0x165)],'err':{},'currentRetry':_0x37ca70['currentRetry'](),'titlePathV':_0x37ca70[_0x166356(0x1c6)](),'isPending':_0x37ca70['isPending']()});if(_0x469778[_0x166356(0x1f8)](this[_0x166356(0x213)],_0x469778['tiliK']))_0x469778[_0x166356(0x1cc)](_0x37ca70[_0x166356(0x1ac)],_0x469778['JcoSX'])?process[_0x166356(0x1d4)][_0x166356(0x1d1)](Base[_0x166356(0x141)](_0x469778['xjweA'],Base[_0x166356(0x215)]['dot'])):process[_0x166356(0x1d4)][_0x166356(0x1d1)](Base[_0x166356(0x141)](_0x37ca70[_0x166356(0x1ac)],Base[_0x166356(0x215)][_0x166356(0x184)]));else{if(_0x469778['WxnEk'](this[_0x166356(0x213)],_0x469778['bGVMG'])){this[_0x166356(0x20b)](this[_0x166356(0x202)]()+_0x166356(0x1d0)+utils['escape'](_0x37ca70[_0x166356(0x146)])+_0x166356(0x1e2)),this[_0x166356(0x20b)](this['indent']()+_0x166356(0x1d0)+utils['escape'](_0x37ca70[_0x166356(0x22c)])+_0x166356(0x1e2));var _0x2f328c=utils[_0x166356(0x225)](utils['clean'](_0x37ca70[_0x166356(0x161)]));this[_0x166356(0x20b)](this[_0x166356(0x202)]()+_0x166356(0x125)+_0x2f328c+'</code></pre></dd>');}}_0x469778[_0x166356(0x15c)](testhubUtils[_0x166356(0x1a4)](),!![])&&(!_0x37ca70[_0x166356(0x1ce)]&&(_0x37ca70['markedStatus']=!![],await this[_0x166356(0x12a)](_0x37ca70)));})['on'](EVENT_TEST_FAIL,async(_0x184b4b,_0x52fcf7)=>{const _0x4bc69c=_0xb7d71c;this[_0x4bc69c(0x1c0)]['push']({'title':_0x184b4b[_0x4bc69c(0x146)],'suite':_0x184b4b['parent'][_0x4bc69c(0x146)],'state':_0x184b4b[_0x4bc69c(0x165)],'err':{'message':util[_0x4bc69c(0x16c)](_0x52fcf7)},'fullTitle':_0x184b4b[_0x4bc69c(0x166)](),'speed':_0x184b4b[_0x4bc69c(0x1ac)],'currentRetry':_0x184b4b['currentRetry'](),'titlePathV':_0x184b4b[_0x4bc69c(0x1c6)]()});if(_0x469778[_0x4bc69c(0x233)](this[_0x4bc69c(0x213)],_0x469778[_0x4bc69c(0x135)]))process['stdout'][_0x4bc69c(0x1d1)](Base[_0x4bc69c(0x141)](_0x469778[_0x4bc69c(0x1af)],Base['symbols'][_0x4bc69c(0x17d)]));else{if(_0x469778[_0x4bc69c(0x1cc)](this[_0x4bc69c(0x213)],_0x469778[_0x4bc69c(0x249)])){const _0x2ca53b=_0x469778['CvcMz'][_0x4bc69c(0x234)]('|');let _0x5df35e=0x0;while(!![]){switch(_0x2ca53b[_0x5df35e++]){case'0':this['docAppend'](this[_0x4bc69c(0x202)]()+_0x4bc69c(0x14c)+utils[_0x4bc69c(0x225)](_0x184b4b['file'])+_0x4bc69c(0x1e2));continue;case'1':var _0x2ce888=utils[_0x4bc69c(0x225)](utils[_0x4bc69c(0x121)](_0x184b4b[_0x4bc69c(0x161)]));continue;case'2':this[_0x4bc69c(0x20b)](this[_0x4bc69c(0x202)]()+_0x4bc69c(0x1a3)+utils[_0x4bc69c(0x225)](_0x184b4b[_0x4bc69c(0x231)])+_0x4bc69c(0x16e));continue;case'3':this[_0x4bc69c(0x20b)](this[_0x4bc69c(0x202)]()+_0x4bc69c(0x14c)+utils[_0x4bc69c(0x225)](_0x184b4b[_0x4bc69c(0x146)])+_0x4bc69c(0x1e2));continue;case'4':this['docAppend'](this[_0x4bc69c(0x202)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x2ce888+'</code></pre></dd>');continue;}break;}}}if(_0x469778[_0x4bc69c(0x201)](testhubUtils[_0x4bc69c(0x1a4)](testHubConstants[_0x4bc69c(0x153)][_0x4bc69c(0x1d7)]),!![])){if(!_0x184b4b[_0x4bc69c(0x1ce)]){_0x184b4b[_0x4bc69c(0x1ce)]=!![];if(_0x184b4b[_0x4bc69c(0x23c)])await this[_0x4bc69c(0x12a)](_0x184b4b,_0x52fcf7);else _0x184b4b[_0x4bc69c(0x130)]&&await this['sendTestRunEvent'](_0x184b4b,_0x52fcf7,![],_0x469778[_0x4bc69c(0x195)]);}}})['on'](EVENT_TEST_PENDING,async _0x56b829=>{const _0x546c0e=_0xb7d71c;this[_0x546c0e(0x1c0)]['push']({'title':_0x56b829[_0x546c0e(0x146)],'suite':_0x56b829[_0x546c0e(0x133)][_0x546c0e(0x146)],'state':_0x56b829[_0x546c0e(0x165)],'err':{},'fullTitle':_0x56b829[_0x546c0e(0x166)](),'speed':_0x56b829[_0x546c0e(0x1ac)],'currentRetry':_0x56b829[_0x546c0e(0x22e)](),'titlePathV':_0x56b829[_0x546c0e(0x1c6)]()}),_0x469778[_0x546c0e(0x23e)](this['type'],_0x469778[_0x546c0e(0x135)])&&process[_0x546c0e(0x1d4)][_0x546c0e(0x1d1)](Base[_0x546c0e(0x141)](_0x469778[_0x546c0e(0x17f)],Base['symbols'][_0x546c0e(0x1e7)])),_0x469778['zEfVQ'](testhubUtils[_0x546c0e(0x1a4)](),!![])&&(!_0x56b829['testAnalyticsId']&&(_0x56b829[_0x546c0e(0x23c)]=_0x469778[_0x546c0e(0x191)](uuidv4)),!_0x56b829[_0x546c0e(0x1ce)]&&(_0x56b829[_0x546c0e(0x1ce)]=!![],await this[_0x546c0e(0x12a)](_0x56b829,undefined,![],_0x469778[_0x546c0e(0x1b5)])));})['on'](EVENT_TEST_BEGIN,async _0x3efe25=>{const _0x4151a7=_0xb7d71c;_0x469778[_0x4151a7(0x1c4)](testhubUtils[_0x4151a7(0x1a4)](),!![])&&await this['testStarted'](_0x3efe25);})['on'](EVENT_TEST_END,async _0x418951=>{const _0x4829d5=_0xb7d71c;_0x469778[_0x4829d5(0x164)](testhubUtils[_0x4829d5(0x1a4)](),!![])&&(!_0x418951[_0x4829d5(0x1ce)]&&(_0x418951[_0x4829d5(0x1ce)]=!![],await this[_0x4829d5(0x12a)](_0x418951)));})['once'](EVENT_RUN_END,async()=>{const _0x21a7f4=_0xb7d71c;try{if(_0x469778[_0x21a7f4(0x1bf)](testhubUtils[_0x21a7f4(0x1a4)](),!![])){const _0x29bd48=_0x469778[_0x21a7f4(0x224)](getHookSkippedTests,this['runner'][_0x21a7f4(0x126)]);for(const _0x211b36 of _0x29bd48){!_0x211b36[_0x21a7f4(0x23c)]&&(_0x211b36[_0x21a7f4(0x23c)]=_0x469778[_0x21a7f4(0x1be)](uuidv4)),await this[_0x21a7f4(0x12a)](_0x211b36,undefined,![],_0x469778[_0x21a7f4(0x1b5)]);}}}catch(_0x3fad30){_0x469778['cEdYY'](debug,_0x21a7f4(0x21d)+_0x3fad30);}await requestQueueHandler[_0x21a7f4(0x174)](),_0x469778['laczv'](this['type'],_0x469778[_0x21a7f4(0x249)])&&Base[_0x21a7f4(0x1eb)](this[_0x21a7f4(0x1a5)]);});if(this[_0xb7d71c(0x213)]&&![_0x469778[_0xb7d71c(0x249)],_0x469778[_0xb7d71c(0x136)],_0x469778[_0xb7d71c(0x239)],_0x469778[_0xb7d71c(0x135)]][_0xb7d71c(0x1ba)](this[_0xb7d71c(0x213)])){const _0x5829d0=this[_0xb7d71c(0x213)][_0xb7d71c(0x221)]();this['Reporter']=null;try{this['Reporter']=_0x469778[_0xb7d71c(0x224)](requireModule,_0xb7d71c(0x1d2)+_0x5829d0+_0xb7d71c(0x1e5));}catch{}if(_0x469778[_0xb7d71c(0x155)](this[_0xb7d71c(0x144)],null))try{this['Reporter']=_0x469778['lpTLX'](require,_0x5829d0);}catch(_0x54caba){console['error'](_0xb7d71c(0x14e)+_0x5829d0);}if(_0x469778[_0xb7d71c(0x194)](this['Reporter'],null)){const _0x1fd078={};_0x1fd078[_0xb7d71c(0x175)]=_0x13616f[_0xb7d71c(0x160)],this[_0xb7d71c(0x144)]=new this['Reporter'](_0x51667a,_0x1fd078);}}}[a27_0x5caf60(0x202)](){const _0xf9c4ea=a27_0x5caf60,_0x9c022={'EOhdY':function(_0x586806,_0x3bd56a){return _0x586806(_0x3bd56a);}};return _0x9c022[_0xf9c4ea(0x1bd)](Array,this[_0xf9c4ea(0x128)])[_0xf9c4ea(0x1f0)]('\x20\x20');}[a27_0x5caf60(0x24b)](){const _0x268327=a27_0x5caf60;this[_0x268327(0x128)]++;}[a27_0x5caf60(0x171)](){const _0x2e0c60=a27_0x5caf60;this[_0x2e0c60(0x128)]--;}[a27_0x5caf60(0x20b)](_0x57da2d){const _0x11c7bb=a27_0x5caf60;this[_0x11c7bb(0x1a5)]+=_0x57da2d;}['done'](_0x567264,_0x34d4ff){const _0x3430d1=a27_0x5caf60,_0x16b71={'fLDPn':function(_0x1ea90d,_0x22a252){return _0x1ea90d(_0x22a252);}},_0x165deb={};_0x165deb[_0x3430d1(0x17e)]=_0x567264,_0x165deb[_0x3430d1(0x1c0)]=this[_0x3430d1(0x1e9)],_0x16b71[_0x3430d1(0x19d)](_0x34d4ff,_0x165deb);}[a27_0x5caf60(0x13e)](){const _0x4efe2c=a27_0x5caf60;process[_0x4efe2c(0x1f2)](_0x4efe2c(0x168)+process[_0x4efe2c(0x20f)]),process['on'](_0x4efe2c(0x168)+process[_0x4efe2c(0x20f)],this[_0x4efe2c(0x1f5)][_0x4efe2c(0x17b)](this)),process['removeAllListeners'](_0x4efe2c(0x223)+process[_0x4efe2c(0x20f)]),process['on']('bs:addPlatformDetails:'+process[_0x4efe2c(0x20f)],this[_0x4efe2c(0x23b)][_0x4efe2c(0x17b)](this));}['testStarted']=async _0x5ab829=>{const _0x109ef9=a27_0x5caf60,_0x56899b={'FnaVS':function(_0x469cf3){return _0x469cf3();},'HKQkl':function(_0x286cbd,_0x481e64){return _0x286cbd>_0x481e64;},'VjgiU':function(_0x98a38f,_0x38abe0){return _0x98a38f===_0x38abe0;},'IcWRD':'TestRunStarted','rgdwi':function(_0x4b6ca6,_0x4f42e5){return _0x4b6ca6(_0x4f42e5);}};try{const _0x41690e=this[_0x109ef9(0x22b)];this[_0x109ef9(0x22b)]=_0x5ab829,_0x5ab829[_0x109ef9(0x12c)]=null,_0x5ab829[_0x109ef9(0x23c)]=_0x56899b[_0x109ef9(0x1fd)](uuidv4),_0x5ab829[_0x109ef9(0x21c)]=new Date()[_0x109ef9(0x247)](),_0x56899b[_0x109ef9(0x196)](_0x5ab829[_0x109ef9(0x124)],0x0)&&_0x41690e&&_0x56899b['VjgiU'](_0x41690e[_0x109ef9(0x146)],_0x5ab829[_0x109ef9(0x146)])?(_0x5ab829[_0x109ef9(0x12c)]=_0x41690e[_0x109ef9(0x23c)],await this[_0x109ef9(0x12a)](_0x5ab829,undefined,![],_0x56899b[_0x109ef9(0x1fa)]),_0x41690e[_0x109ef9(0x165)]=STATE_FAILED,await this[_0x109ef9(0x12a)](_0x41690e,undefined,!![])):await this[_0x109ef9(0x12a)](_0x5ab829,undefined,![],_0x56899b[_0x109ef9(0x1fa)]);}catch(_0x1bea27){_0x56899b[_0x109ef9(0x12e)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x1bea27);}};[a27_0x5caf60(0x12a)]=async(_0xaa8b7e,_0x1e4f15=undefined,_0x15f457=![],_0x18c405='TestRunFinished')=>{const _0x195a99=a27_0x5caf60,_0x59aba8={'KqaNr':function(_0x840210,_0x2affbb){return _0x840210===_0x2affbb;},'tdHoq':function(_0x1b01e4,_0x23f177){return _0x1b01e4!==_0x23f177;},'YKlTB':'test','rOPpf':'err','LmFWc':function(_0x2f5546,_0x53802d){return _0x2f5546!==_0x53802d;},'dXHjS':function(_0x5861ef,_0x16611b){return _0x5861ef!==_0x16611b;},'uFrPS':'File\x20path\x20could\x20not\x20be\x20found','lKyiR':_0x195a99(0x1a9),'xdECV':'javascript','WAzDz':_0x195a99(0x143),'JwIeA':_0x195a99(0x1b8),'QzmDr':function(_0x3e9e29,_0x1c604a){return _0x3e9e29-_0x1c604a;},'cCeKP':_0x195a99(0x16b),'hxoch':_0x195a99(0x162),'mhQHf':function(_0xde2207,_0x95b5a7){return _0xde2207===_0x95b5a7;},'hgGqM':'started_at','PfXqu':_0x195a99(0x22f),'TADQQ':function(_0x3b4970,_0x153898){return _0x3b4970(_0x153898);},'TWiys':_0x195a99(0x1e6),'lRHUI':'failed','UhHzV':_0x195a99(0x134),'BEdIM':function(_0x11f3d3,_0x3c2b03){return _0x11f3d3===_0x3c2b03;},'gkVQQ':_0x195a99(0x211),'oPDUP':function(_0x47e8c4,_0x433adf){return _0x47e8c4(_0x433adf);},'deWWn':_0x195a99(0x22d),'HyFLC':_0x195a99(0x1fb),'DtgzP':_0x195a99(0x176),'AtoGI':_0x195a99(0x1ae),'dhnOh':_0x195a99(0x137),'zUCHi':'TestRunFinished','fuyUk':function(_0x64e3d,_0x50de5b){return _0x64e3d(_0x50de5b);},'mYNrp':function(_0x112241,_0x4144b3){return _0x112241===_0x4144b3;},'fhgNd':_0x195a99(0x1a8),'Sxomj':'hook_run','LRlei':_0x195a99(0x20e),'ziScV':function(_0x4d580e,_0x34a8a5){return _0x4d580e(_0x34a8a5);}};try{if(_0xaa8b7e['body']&&_0xaa8b7e[_0x195a99(0x161)]['match'](/browserstack internal helper hook/))return;let _0x582528=[];if(_0x59aba8[_0x195a99(0x147)](_0xaa8b7e['state'],STATE_FAILED)){if(_0x59aba8[_0x195a99(0x13b)](_0xaa8b7e['err'],undefined))_0x582528=_0xaa8b7e[_0x195a99(0x231)][_0x195a99(0x199)]?[_0xaa8b7e[_0x195a99(0x231)][_0x195a99(0x199)],_0x59aba8[_0x195a99(0x1db)]]:[_0xaa8b7e[_0x195a99(0x231)],_0x59aba8[_0x195a99(0x210)]];else _0x59aba8[_0x195a99(0x177)](_0x1e4f15,undefined)?_0x582528=[_0x1e4f15,_0x59aba8[_0x195a99(0x210)]]:_0x582528=[];}const _0x2a1397=_0x59aba8[_0x195a99(0x13b)](_0xaa8b7e[_0x195a99(0x231)],undefined)?_0xaa8b7e['err']['toString']():_0x59aba8[_0x195a99(0x209)](_0x1e4f15,undefined)?_0x1e4f15[_0x195a99(0x17a)]():undefined;let _0x53a090;try{_0x53a090=this[_0x195a99(0x1f4)](_0xaa8b7e);}catch(_0x5738e7){_0x53a090=null;}const _0x358ed7=_0x53a090?this[_0x195a99(0x1ed)](_0x53a090):null,_0x424c97=_0x53a090?this[_0x195a99(0x243)]['prefixTestPath'](this['getRootParentFile'](_0xaa8b7e)):_0x59aba8[_0x195a99(0x13a)],_0x123f89={'framework':_0x59aba8[_0x195a99(0x1b2)],'uuid':_0xaa8b7e['testAnalyticsId']||_0xaa8b7e[_0x195a99(0x130)],'name':_0xaa8b7e[_0x195a99(0x146)],'body':{'lang':_0x59aba8['xdECV'],'code':_0xaa8b7e[_0x195a99(0x161)]},'scope':this[_0x195a99(0x1f7)](_0xaa8b7e),'scopes':this[_0x195a99(0x1bc)](_0xaa8b7e),'identifier':_0xaa8b7e[_0x195a99(0x166)](),'file_name':_0x424c97,'vc_filepath':_0x358ed7?path['relative'](_0x358ed7,_0x53a090):null,'location':_0x424c97,'result':_0x59aba8[_0x195a99(0x147)](_0x18c405,_0x59aba8[_0x195a99(0x19a)])?_0x59aba8[_0x195a99(0x245)]:this[_0x195a99(0x1cf)](_0xaa8b7e[_0x195a99(0x165)]),'failure_reason':_0x2a1397,'duration_in_ms':_0xaa8b7e[_0x195a99(0x170)]||(_0x18c405[_0x195a99(0x227)](/Finished/)||_0x18c405[_0x195a99(0x227)](/Skipped/)?_0x59aba8[_0x195a99(0x127)](Date[_0x195a99(0x20d)](),new Date(_0xaa8b7e[_0x195a99(0x21c)])['getTime']()):null),'started_at':_0xaa8b7e['started_at'],'finished_at':_0x18c405[_0x195a99(0x227)](/Finished/)||_0x18c405[_0x195a99(0x227)](/Skipped/)?new Date()[_0x195a99(0x247)]():null,'failure':failureData[_0x195a99(0x13f)](null,_0x582528),'failure_type':!_0x2a1397?null:_0x2a1397[_0x195a99(0x227)](/AssertionError/)?_0x59aba8[_0x195a99(0x1f3)]:_0x59aba8['hxoch'],'retry_of':_0xaa8b7e[_0x195a99(0x12c)]};testhubUtils['appendTesthubParams'](_0x123f89,_0x18c405,_0xaa8b7e,FRAMEWORKS['MOCHA']);_0x59aba8[_0x195a99(0x21f)](_0x18c405,_0x59aba8['WAzDz'])&&!_0x123f89[_0x59aba8[_0x195a99(0x1b9)]]&&(_0x123f89[_0x59aba8['hgGqM']]=_0x123f89[_0x59aba8['PfXqu']]);if(_0x18c405[_0x195a99(0x227)](/HookRun/))[_0x123f89['hook_type'],_0x123f89[_0x195a99(0x24a)]]=_0x59aba8[_0x195a99(0x226)](getHookDetails,_0xaa8b7e[_0x195a99(0x166)]()||_0xaa8b7e['originalTitle']||_0xaa8b7e['title']),_0x59aba8[_0x195a99(0x21f)](_0x18c405,_0x59aba8[_0x195a99(0x173)])&&(_0x59aba8[_0x195a99(0x209)](_0x123f89[_0x195a99(0x229)],_0x59aba8['lRHUI'])&&(_0x123f89['result']=_0x59aba8[_0x195a99(0x186)]),_0x59aba8[_0x195a99(0x15e)](_0x123f89[_0x195a99(0x1a8)],_0x59aba8[_0x195a99(0x207)])&&_0x59aba8[_0x195a99(0x21f)](_0x123f89[_0x195a99(0x229)],_0x59aba8[_0x195a99(0x235)])&&!_0xaa8b7e[_0x195a99(0x1c3)][_0x195a99(0x15a)]['markedStatus']&&(_0xaa8b7e[_0x195a99(0x1c3)][_0x195a99(0x15a)]['markedStatus']=!![],_0xaa8b7e[_0x195a99(0x1c3)]['currentTest']['state']=STATE_FAILED,await this[_0x195a99(0x12a)](_0xaa8b7e[_0x195a99(0x1c3)]['currentTest'],undefined,!![])));else _0x18c405['match'](/TestRun/)&&_0x59aba8[_0x195a99(0x189)](mapTestHooks,_0xaa8b7e);const _0x3a2612=_0x123f89[_0x59aba8['deWWn']][0x0];_0x3a2612&&(_0x123f89[_0x59aba8[_0x195a99(0x1ee)]]=_0x3a2612[_0x59aba8['DtgzP']],_0x123f89[_0x59aba8[_0x195a99(0x15d)]]=_0x3a2612[_0x59aba8['dhnOh']]);[_0x59aba8[_0x195a99(0x185)],_0x59aba8[_0x195a99(0x19a)]][_0x195a99(0x1ba)](_0x18c405)&&(this[_0x195a99(0x145)][_0x195a99(0x12d)](_0x123f89),_0x123f89['hooks']=_0x59aba8[_0x195a99(0x1b4)](getHooksForTest,_0xaa8b7e));const _0x2c2295={'event_type':_0x59aba8[_0x195a99(0x240)](_0x18c405,_0x59aba8[_0x195a99(0x19a)])?_0x59aba8[_0x195a99(0x185)]:_0x18c405};_0x18c405['match'](/HookRun/)?(_0x123f89[_0x59aba8[_0x195a99(0x1d3)]]=HOOK_TYPES_MAP[_0x123f89[_0x59aba8[_0x195a99(0x1d3)]]],_0x2c2295[_0x59aba8[_0x195a99(0x197)]]=_0x123f89):_0x2c2295[_0x59aba8[_0x195a99(0x139)]]=_0x123f89,testhubUtils[_0x195a99(0x23f)](FRAMEWORKS[_0x195a99(0x156)],_0x2c2295),await SessionHandler[_0x195a99(0x1a1)](_0x2c2295);}catch(_0x242acb){_0x59aba8[_0x195a99(0x1d9)](debug,_0x195a99(0x1a7)+_0x18c405+_0x195a99(0x20a)+_0x242acb);}};[a27_0x5caf60(0x1ed)](_0x5c3085){const _0x4765b3=a27_0x5caf60,_0x30a863={};_0x30a863[_0x4765b3(0x1ca)]=function(_0x2c390d,_0x3d8629){return _0x2c390d===_0x3d8629;},_0x30a863[_0x4765b3(0x1ec)]=function(_0x23414c,_0x3d37cc){return _0x23414c===_0x3d37cc;},_0x30a863[_0x4765b3(0x219)]='.git',_0x30a863[_0x4765b3(0x122)]=_0x4765b3(0x1dc);const _0x48d08b=_0x30a863,_0x142027=path[_0x4765b3(0x152)];if(_0x48d08b[_0x4765b3(0x1ca)](_0x5c3085,null)||_0x48d08b['QRBIV'](_0x5c3085,'')||_0x48d08b[_0x4765b3(0x1ca)](_0x5c3085,_0x142027)||_0x48d08b[_0x4765b3(0x1ec)](_0x5c3085,path['dirname'](_0x5c3085)))return null;try{return fs[_0x4765b3(0x180)](path[_0x4765b3(0x1f0)](_0x5c3085,_0x48d08b[_0x4765b3(0x219)],_0x48d08b['cncgl'])),_0x5c3085;}catch(_0x3f1455){const _0xb962d1=path[_0x4765b3(0x19b)](_0x5c3085);return this[_0x4765b3(0x1ed)](_0xb962d1);}}['appendTestItemLog']=async _0x18cd42=>{const _0x5e09a2=a27_0x5caf60,_0x590dd2={'fapQK':'LogCreated','WcMQU':function(_0x5e4c9c,_0x240fd1){return _0x5e4c9c(_0x240fd1);}};try{this['current_hook']&&!this[_0x5e09a2(0x218)][_0x5e09a2(0x1ce)]&&(_0x18cd42[_0x5e09a2(0x1e4)]=this[_0x5e09a2(0x218)][_0x5e09a2(0x130)]);!_0x18cd42[_0x5e09a2(0x1e4)]&&this[_0x5e09a2(0x22b)]&&!this[_0x5e09a2(0x22b)]['markedStatus']&&(_0x18cd42['test_run_uuid']=this[_0x5e09a2(0x22b)]['testAnalyticsId']);if(_0x18cd42['hook_run_uuid']||_0x18cd42[_0x5e09a2(0x1e0)]){const _0x298ed9={};_0x298ed9[_0x5e09a2(0x1a0)]=_0x590dd2['fapQK'],_0x298ed9[_0x5e09a2(0x159)]=[_0x18cd42],await SessionHandler[_0x5e09a2(0x1a1)](_0x298ed9);}}catch(_0x4dc5fb){_0x590dd2[_0x5e09a2(0x214)](debug,_0x5e09a2(0x192)+_0x4dc5fb);}};['appendTestPlatform']=async _0xe2cda1=>{const _0x3a2979=a27_0x5caf60,_0x3f5a14={'JLckU':_0x3a2979(0x18a),'bMvee':'CBTSessionCreated','KIRmy':function(_0x5cac07,_0x11c7e8){return _0x5cac07(_0x11c7e8);}};try{const _0x24a269={};_0x24a269[_0x3a2979(0x1cd)]=_0xe2cda1[_0x3a2979(0x1cd)]||this[_0x3a2979(0x22b)][_0x3a2979(0x23c)],_0x24a269[_0x3a2979(0x129)]=_0xe2cda1[_0x3f5a14[_0x3a2979(0x212)]];const _0x6be73b=_0x24a269,_0x2d3927={};_0x2d3927[_0x3a2979(0x1a0)]=_0x3f5a14[_0x3a2979(0x182)],_0x2d3927[_0x3a2979(0x20e)]=_0x6be73b,await SessionHandler['uploadEventData'](_0x2d3927);}catch(_0x5b5840){_0x3f5a14[_0x3a2979(0x18b)](debug,_0x3a2979(0x1b0)+_0x5b5840);}};[a27_0x5caf60(0x1cf)](_0x33bfe7){const _0x1dd8a0=a27_0x5caf60,_0x21cae1={};_0x21cae1[_0x1dd8a0(0x18d)]=_0x1dd8a0(0x134),_0x21cae1[_0x1dd8a0(0x150)]='pending',_0x21cae1[_0x1dd8a0(0x169)]='failed';const _0x21defb=_0x21cae1,_0x4604db={};return _0x4604db[STATE_PASSED]=_0x21defb['ZMSLh'],_0x4604db[STATE_PENDING]=_0x21defb[_0x1dd8a0(0x150)],_0x4604db[STATE_FAILED]=_0x21defb['xBEMd'],_0x4604db[_0x33bfe7];}['scope'](_0x551967){const _0x394f9e=a27_0x5caf60,_0x2fdaaa={};_0x2fdaaa[_0x394f9e(0x163)]=function(_0x1eb713,_0x536da4){return _0x1eb713-_0x536da4;};const _0x193c4b=_0x2fdaaa,_0x581765=_0x551967[_0x394f9e(0x1c6)]();return _0x581765[_0x394f9e(0x1ad)](0x0,_0x193c4b['qAsrf'](_0x581765[_0x394f9e(0x21b)],0x1))[_0x394f9e(0x1f0)]('\x20');}[a27_0x5caf60(0x1bc)](_0x18e449){const _0x1001ba=a27_0x5caf60,_0x48f11e={};_0x48f11e[_0x1001ba(0x1c7)]=function(_0x554269,_0x1ca1aa){return _0x554269-_0x1ca1aa;};const _0x3cb1da=_0x48f11e,_0x5e1a16=_0x18e449['titlePath']();return _0x5e1a16[_0x1001ba(0x1ad)](0x0,_0x3cb1da[_0x1001ba(0x1c7)](_0x5e1a16[_0x1001ba(0x21b)],0x1));}[a27_0x5caf60(0x1f4)](_0x5fb293){const _0x3a51e7=a27_0x5caf60,_0x40bd00={};_0x40bd00[_0x3a51e7(0x16f)]=function(_0x2e76c2,_0x4ff727){return _0x2e76c2>_0x4ff727;};const _0xd3172a=_0x40bd00;if(_0x5fb293['file'])return _0x5fb293['file'];if(_0x5fb293[_0x3a51e7(0x1c3)]){const _0xfe06fc=_0x5fb293['ctx'][_0x3a51e7(0x15a)]?this[_0x3a51e7(0x1f4)](_0x5fb293[_0x3a51e7(0x1c3)][_0x3a51e7(0x15a)]):null;if(_0xfe06fc)return _0xfe06fc;}if(_0x5fb293[_0x3a51e7(0x133)]){const _0x4bb7ba=this[_0x3a51e7(0x1f4)](_0x5fb293[_0x3a51e7(0x133)])||(_0x5fb293[_0x3a51e7(0x133)][_0x3a51e7(0x1c3)]&&_0x5fb293[_0x3a51e7(0x133)][_0x3a51e7(0x1c3)][_0x3a51e7(0x15a)]?this[_0x3a51e7(0x1f4)](_0x5fb293[_0x3a51e7(0x133)][_0x3a51e7(0x1c3)]['currentTest']):null);if(_0x4bb7ba)return _0x4bb7ba;_0x5fb293['parent'][_0x3a51e7(0x1c1)]&&_0xd3172a[_0x3a51e7(0x16f)](_0x5fb293['parent'][_0x3a51e7(0x1c1)][_0x3a51e7(0x21b)],0x0)&&_0x5fb293['parent'][_0x3a51e7(0x1c1)][_0x3a51e7(0x228)](_0x4e1a46=>{const _0x100951=_0x3a51e7,_0x40a9d2=_0x4e1a46[_0x100951(0x1c3)]?this[_0x100951(0x1f4)](_0x4e1a46[_0x100951(0x1c3)]):null;if(_0x40a9d2)return _0x40a9d2;});}return null;}}module[a27_0x5caf60(0x181)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x5983b0=a28_0x41a6;(function(_0x55948a,_0x18de34){const _0x3990c3=a28_0x41a6,_0x373bde=_0x55948a();while(!![]){try{const _0x4f8743=-parseInt(_0x3990c3(0x24f))/0x1*(-parseInt(_0x3990c3(0x225))/0x2)+parseInt(_0x3990c3(0x24d))/0x3+-parseInt(_0x3990c3(0x288))/0x4+parseInt(_0x3990c3(0x1fc))/0x5+-parseInt(_0x3990c3(0x238))/0x6+parseInt(_0x3990c3(0x210))/0x7*(-parseInt(_0x3990c3(0x1c1))/0x8)+parseInt(_0x3990c3(0x1d0))/0x9;if(_0x4f8743===_0x18de34)break;else _0x373bde['push'](_0x373bde['shift']());}catch(_0x3756aa){_0x373bde['push'](_0x373bde['shift']());}}}(a28_0x2fc1,0x7acdf));const chalk=require(a28_0x5983b0(0x1f7)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x5983b0(0x1cc)),helper=require(a28_0x5983b0(0x253)),utilities=require(a28_0x5983b0(0x207)),testOpsHelper=require(a28_0x5983b0(0x1c7)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x5983b0(0x268)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x5983b0(0x26b)),Base=requireModule(a28_0x5983b0(0x240)),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x5983b0(0x1e5));function a28_0x41a6(_0x33e4bb,_0x599e60){const _0x2fc1f8=a28_0x2fc1();return a28_0x41a6=function(_0x41a6fb,_0x1f1587){_0x41a6fb=_0x41a6fb-0x1a2;let _0x103c2c=_0x2fc1f8[_0x41a6fb];return _0x103c2c;},a28_0x41a6(_0x33e4bb,_0x599e60);}function tag(_0x4d8d86,_0x372b30,_0x58211b,_0xbc8074){const _0x120db0=a28_0x5983b0,_0x379a28={'uLHyb':function(_0x1a0663,_0x160a3e){return _0x1a0663+_0x160a3e;},'PrsMx':function(_0x4d14eb,_0x18156d){return _0x4d14eb+_0x18156d;},'CqzBu':function(_0x2a5ebe,_0x4f0aa0){return _0x2a5ebe(_0x4f0aa0);},'oZZyz':function(_0x2c2345,_0x5ab584){return _0x2c2345+_0x5ab584;},'QxDQV':function(_0x298b06,_0x735535){return _0x298b06+_0x735535;},'MFbhZ':function(_0xde0e1b,_0x32b276){return _0xde0e1b+_0x32b276;}},_0x1ddbcd=_0x58211b?'/>':'>',_0x592d18=[];let _0x2a52ea;for(const _0x5ed7e2 in _0x372b30){Object['prototype'][_0x120db0(0x1d5)][_0x120db0(0x232)](_0x372b30,_0x5ed7e2)&&_0x592d18['push'](_0x379a28[_0x120db0(0x237)](_0x379a28[_0x120db0(0x23c)](_0x379a28[_0x120db0(0x23c)](_0x5ed7e2,'=\x22'),_0x379a28[_0x120db0(0x1f3)](escape,_0x372b30[_0x5ed7e2])),'\x22'));}return _0x2a52ea=_0x379a28[_0x120db0(0x1de)](_0x379a28[_0x120db0(0x23c)](_0x379a28['QxDQV']('<',_0x4d8d86),_0x592d18[_0x120db0(0x1bf)]?_0x379a28['PrsMx']('\x20',_0x592d18[_0x120db0(0x1dd)]('\x20')):''),_0x1ddbcd),_0xbc8074&&(_0x2a52ea+=_0x379a28[_0x120db0(0x23c)](_0x379a28[_0x120db0(0x1cb)](_0x379a28['PrsMx'](_0xbc8074,'</'),_0x4d8d86),_0x1ddbcd)),_0x2a52ea;}let xunitContent='';function xunitWrite(_0x5a105d){xunitContent+=_0x5a105d;}function xunitTest(_0x1a740e,_0x4c3f70){const _0x5e7231=a28_0x5983b0,_0x3c6726={'IZvQg':function(_0xae729e,_0x2be8b1){return _0xae729e/_0x2be8b1;},'UGCtx':function(_0x5d4027,_0x51d01f){return _0x5d4027===_0x51d01f;},'Sclni':_0x5e7231(0x243),'NNYYK':function(_0x4c6db6,_0x329674){return _0x4c6db6+_0x329674;},'oeUbk':function(_0x32c8c6,_0xda3390){return _0x32c8c6(_0xda3390);},'tOTWt':function(_0x7a3b42,_0x2f6b6c,_0x31fc65,_0x3a0894,_0x2359fa){return _0x7a3b42(_0x2f6b6c,_0x31fc65,_0x3a0894,_0x2359fa);},'fNRzU':'testcase','YtiZc':function(_0x4236ab,_0xf344e7,_0x13d589,_0x473315,_0x4ac751){return _0x4236ab(_0xf344e7,_0x13d589,_0x473315,_0x4ac751);},'iIgeD':_0x5e7231(0x277),'anokT':function(_0x43e903,_0x3ff96c){return _0x43e903+_0x3ff96c;},'nbIly':function(_0x249420,_0x273aaa){return _0x249420(_0x273aaa);},'DMbeV':function(_0x245fea,_0x3c1215){return _0x245fea(_0x3c1215);},'eEFvX':function(_0x4e8c6a,_0x55a892,_0x46b732,_0x11df26,_0x467e4e){return _0x4e8c6a(_0x55a892,_0x46b732,_0x11df26,_0x467e4e);},'WbUDR':function(_0x1e8cea,_0x4dafce,_0x3e591c,_0x1d2ad9){return _0x1e8cea(_0x4dafce,_0x3e591c,_0x1d2ad9);},'tHRRv':'skipped','vptBk':function(_0xb52491,_0x48f733,_0x158751,_0x3d642a){return _0xb52491(_0x48f733,_0x158751,_0x3d642a);}};Base[_0x5e7231(0x1b2)]=![];var _0x29262c={'classname':_0x1a740e[_0x5e7231(0x1a3)],'name':_0x1a740e[_0x5e7231(0x24c)],'time':_0x3c6726[_0x5e7231(0x21d)](_0x1a740e[_0x5e7231(0x248)],0x3e8)||0x0,'platform':_0x4c3f70};if(_0x3c6726['UGCtx'](_0x1a740e[_0x5e7231(0x251)],_0x3c6726[_0x5e7231(0x242)])){var _0x359b4f=_0x1a740e[_0x5e7231(0x1a5)],_0x33760c=!Base[_0x5e7231(0x27a)]&&Base['showDiff'](_0x359b4f)?_0x3c6726[_0x5e7231(0x216)]('\x0a',Base[_0x5e7231(0x1be)](_0x359b4f[_0x5e7231(0x26f)],_0x359b4f[_0x5e7231(0x1c6)])):'';_0x3c6726[_0x5e7231(0x263)](xunitWrite,_0x3c6726['tOTWt'](tag,_0x3c6726[_0x5e7231(0x20d)],_0x29262c,![],_0x3c6726['YtiZc'](tag,_0x3c6726[_0x5e7231(0x1d4)],{},![],_0x3c6726[_0x5e7231(0x22f)](_0x3c6726['NNYYK'](_0x3c6726[_0x5e7231(0x22f)](_0x3c6726['oeUbk'](escape,_0x359b4f[_0x5e7231(0x219)]),_0x3c6726[_0x5e7231(0x1dc)](escape,_0x33760c)),'\x0a'),_0x3c6726[_0x5e7231(0x1dc)](escape,_0x359b4f[_0x5e7231(0x1d3)])))));}else _0x1a740e[_0x5e7231(0x223)]?_0x3c6726['DMbeV'](xunitWrite,_0x3c6726['eEFvX'](tag,_0x3c6726[_0x5e7231(0x20d)],_0x29262c,![],_0x3c6726[_0x5e7231(0x269)](tag,_0x3c6726[_0x5e7231(0x1e8)],{},!![]))):_0x3c6726[_0x5e7231(0x1dc)](xunitWrite,_0x3c6726['vptBk'](tag,_0x3c6726[_0x5e7231(0x20d)],_0x29262c,!![]));};function getStats(_0x1ac238){const _0x45eda4=a28_0x5983b0,_0x1c4cc9={};_0x1c4cc9[_0x45eda4(0x256)]='suite',_0x1c4cc9['pxKKW']=_0x45eda4(0x22d),_0x1c4cc9[_0x45eda4(0x201)]=_0x45eda4(0x243),_0x1c4cc9[_0x45eda4(0x1e4)]=_0x45eda4(0x21f);const _0x3de889=_0x1c4cc9,_0x142242=Object['keys'](_0x1ac238);let _0x1a7762=0x0,_0x45db95=0x0,_0x174c27=0x0,_0x579b20=0x0;const _0x5cb45c=new Set();_0x142242[_0x45eda4(0x264)](_0x15ec6d=>{const _0x48dd75=_0x45eda4;_0x1ac238[_0x15ec6d][_0x3de889[_0x48dd75(0x1e4)]][_0x48dd75(0x264)](_0x5e0c33=>{const _0x458328=_0x48dd75;_0x5cb45c[_0x458328(0x1c3)](_0x5e0c33[_0x3de889['cGjUY']]),_0x1a7762++;switch(_0x5e0c33[_0x458328(0x251)]){case _0x3de889[_0x458328(0x20a)]:_0x174c27++;break;case _0x3de889['vbomz']:_0x45db95++;break;default:_0x579b20++;}});});const _0x50664d={};return _0x50664d[_0x45eda4(0x23d)]=_0x5cb45c[_0x45eda4(0x1b6)],_0x50664d[_0x45eda4(0x27f)]=_0x142242,_0x50664d[_0x45eda4(0x25e)]=_0x1a7762,_0x50664d['testsFailed']=_0x45db95,_0x50664d[_0x45eda4(0x272)]=_0x174c27,_0x50664d[_0x45eda4(0x20f)]=_0x579b20,_0x50664d;}function errorJSON(_0x57aec3){const _0x4d899f=a28_0x5983b0;var _0x557ee8={};return Object[_0x4d899f(0x24a)](_0x57aec3)['forEach'](function(_0x13668d){_0x557ee8[_0x13668d]=_0x57aec3[_0x13668d];},_0x57aec3),_0x557ee8;}function cleanCycles(_0xa40ae8){const _0x3fba94=a28_0x5983b0,_0x2dafda={};_0x2dafda[_0x3fba94(0x23f)]=function(_0xc2a639,_0x6775f8){return _0xc2a639===_0x6775f8;},_0x2dafda['QuYsk']=_0x3fba94(0x1fa),_0x2dafda[_0x3fba94(0x226)]=function(_0x3735d7,_0x1e8001){return _0x3735d7!==_0x1e8001;},_0x2dafda[_0x3fba94(0x1ae)]=function(_0x25ae19,_0x59dbae){return _0x25ae19+_0x59dbae;};const _0xc3500b=_0x2dafda;var _0x9f81ca=[];return JSON['parse'](JSON[_0x3fba94(0x20c)](_0xa40ae8,function(_0x213194,_0x574ef5){const _0x4b8aa6=_0x3fba94;if(_0xc3500b[_0x4b8aa6(0x23f)](typeof _0x574ef5,_0xc3500b[_0x4b8aa6(0x221)])&&_0xc3500b[_0x4b8aa6(0x226)](_0x574ef5,null)){if(_0xc3500b['lyQRN'](_0x9f81ca[_0x4b8aa6(0x1fb)](_0x574ef5),-0x1))return _0xc3500b[_0x4b8aa6(0x1ae)]('',_0x574ef5);_0x9f81ca[_0x4b8aa6(0x28c)](_0x574ef5);}return _0x574ef5;}));}function clean(_0x4d35cb){const _0x128aa3=a28_0x5983b0,_0x143e31={'vlQvd':function(_0x315350,_0x2e32d6){return _0x315350 instanceof _0x2e32d6;},'IQWNF':function(_0x2860ba,_0x4073cd){return _0x2860ba(_0x4073cd);}};var _0x4a4cf6=_0x4d35cb['err']||{};return _0x143e31[_0x128aa3(0x1e0)](_0x4a4cf6,Error)&&(_0x4a4cf6=_0x143e31['IQWNF'](errorJSON,_0x4a4cf6)),{'title':_0x4d35cb[_0x128aa3(0x24c)],'fullTitle':_0x4d35cb[_0x128aa3(0x1a3)],'file':_0x4d35cb[_0x128aa3(0x1c2)],'duration':_0x4d35cb[_0x128aa3(0x248)],'currentRetry':_0x4d35cb[_0x128aa3(0x23a)],'speed':_0x4d35cb[_0x128aa3(0x1cd)],'err':_0x143e31[_0x128aa3(0x27e)](cleanCycles,_0x4a4cf6)};}function printStats(_0x40d7ab,_0x37a6af='spec',_0x398c99={}){const _0x494f9d=a28_0x5983b0,_0x2c6d35={'pLHOa':function(_0x2f14c0,_0x2c5aba){return _0x2f14c0(_0x2c5aba);},'zSrqo':function(_0x1b7afc,_0x161eb4){return _0x1b7afc===_0x161eb4;},'guNte':_0x494f9d(0x22d),'NuhMN':_0x494f9d(0x271),'rXmhF':function(_0x256e33,_0x57022a){return _0x256e33(_0x57022a);},'mqkPJ':function(_0x661a2d,_0x385a7f){return _0x661a2d===_0x385a7f;},'cIhYb':_0x494f9d(0x243),'YnfIz':_0x494f9d(0x1b0),'jzEAj':_0x494f9d(0x229),'BqTVr':'results','xeUdq':function(_0x598cdd,_0x4421a7){return _0x598cdd===_0x4421a7;},'UNhaM':function(_0x143762,_0x3bb08e){return _0x143762===_0x3bb08e;},'SVqKW':function(_0x5d2d87,_0x1568e9){return _0x5d2d87*_0x1568e9;},'koLLg':function(_0x374a54,_0x57a58f,_0x327414){return _0x374a54(_0x57a58f,_0x327414);},'DrkYK':function(_0x5c25ac,_0x1904fd){return _0x5c25ac>_0x1904fd;},'CJXKM':function(_0x4e4646){return _0x4e4646();},'hsPAH':function(_0x100eda,_0x1102d8){return _0x100eda===_0x1102d8;},'VxTnp':_0x494f9d(0x230),'BCGoa':function(_0x463eb9,_0x1c1d96){return _0x463eb9(_0x1c1d96);},'GfmFE':_0x494f9d(0x1aa),'QRdff':_0x494f9d(0x200),'aqlzC':function(_0x11a76f,_0x46c74b){return _0x11a76f+_0x46c74b;},'RqFuw':_0x494f9d(0x205),'zDOiJ':function(_0x13a56c,_0x32c7ba){return _0x13a56c+_0x32c7ba;},'xPenX':_0x494f9d(0x22c),'QHAAO':function(_0x2e0297,_0x5c89a5){return _0x2e0297+_0x5c89a5;},'BJraI':function(_0x2b9385,_0x57fdbf){return _0x2b9385+_0x57fdbf;},'LoXoc':_0x494f9d(0x1f6),'YgnwF':function(_0x18df3e,_0x4e656e){return _0x18df3e>_0x4e656e;},'iVACQ':function(_0x3ba5f1,_0x55557d){return _0x3ba5f1+_0x55557d;},'UVsxT':function(_0x323851,_0xd4ed1b){return _0x323851+_0xd4ed1b;},'cuioR':'\x0a\x0a\x0a','NPzdA':_0x494f9d(0x1f9),'NgqeS':_0x494f9d(0x1bc),'CiJdt':_0x494f9d(0x1df),'yGJVd':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','cIkNW':function(_0x25b955,_0x16db52){return _0x25b955===_0x16db52;},'nJQYX':_0x494f9d(0x1c0),'jgaaI':'Mocha\x20Tests','syOKz':function(_0x2ec7d4,_0x413be0){return _0x2ec7d4||_0x413be0;},'aurhR':function(_0x40aba4,_0x28637c,_0xe66cc9,_0x3b49d9){return _0x40aba4(_0x28637c,_0xe66cc9,_0x3b49d9);},'XSfoR':_0x494f9d(0x1d7),'tcDMh':function(_0x5ceede,_0x3e25f5){return _0x5ceede-_0x3e25f5;},'wBUqE':function(_0x36ab61,_0x4796cc){return _0x36ab61/_0x4796cc;},'ciKoO':function(_0x1e6fbc,_0x6d0159){return _0x1e6fbc(_0x6d0159);},'xKSiD':'</testsuite>','UfKir':_0x494f9d(0x1fd),'rhdxp':_0x494f9d(0x1f4),'mEbLj':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','gtEfw':_0x494f9d(0x1b1),'PpssS':'****\x20FAILURES\x20****'};if(_0x2c6d35[_0x494f9d(0x290)](_0x37a6af,_0x2c6d35[_0x494f9d(0x1e1)]))return;const _0x1ce9f7=0x0,_0x494d08=()=>{const _0x4fce8d=_0x494f9d;return _0x2c6d35[_0x4fce8d(0x1ef)](Array,_0x1ce9f7)[_0x4fce8d(0x1dd)]('\x20\x20');},{testSuites:_0x492149,platforms:_0x3f9596,totalTests:_0x5a9a6a,testsFailed:_0xadbf19,testsPassed:_0x5203a7,testsPending:_0x1c8018}=_0x2c6d35[_0x494f9d(0x266)](getStats,_0x40d7ab);_0x2c6d35[_0x494f9d(0x260)](_0xadbf19,0x0)&&(logger[_0x494f9d(0x257)](_0x2c6d35[_0x494f9d(0x234)]),process[_0x494f9d(0x261)]=Math['min'](_0xadbf19,0xff));logger[_0x494f9d(0x257)](_0x2c6d35['QRdff']);const _0x2cbf76=''+_0x2c6d35[_0x494f9d(0x1ab)](chalk[_0x494f9d(0x21c)](_0x2c6d35[_0x494f9d(0x1ce)]),_0x3f9596[_0x494f9d(0x1bf)]),_0x7dec6b=''+_0x2c6d35[_0x494f9d(0x22a)](chalk['bold'](_0x2c6d35[_0x494f9d(0x1cf)]),_0x492149),_0x4f7179=''+_0x2c6d35['aqlzC'](_0x2c6d35[_0x494f9d(0x255)](_0x2c6d35[_0x494f9d(0x1e2)](chalk[_0x494f9d(0x21c)](_0x2c6d35[_0x494f9d(0x1a8)]),_0x2c6d35['DrkYK'](_0xadbf19,0x0)?chalk[_0x494f9d(0x21c)][_0x494f9d(0x241)](_0xadbf19+_0x494f9d(0x1a7))+',\x20':''),_0x2c6d35[_0x494f9d(0x260)](_0x1c8018,0x0)?chalk['bold'][_0x494f9d(0x239)](_0x1c8018+_0x494f9d(0x254))+',\x20':''),_0x2c6d35[_0x494f9d(0x275)](_0x5203a7,0x0)?chalk[_0x494f9d(0x21c)]['green'](_0x5203a7+_0x494f9d(0x1d1))+',\x20':'')+_0x5a9a6a+_0x494f9d(0x1fe);console[_0x494f9d(0x1e7)](_0x2c6d35['iVACQ'](_0x2c6d35[_0x494f9d(0x213)](_0x2c6d35['UVsxT'](_0x2c6d35['zDOiJ'](_0x2c6d35['iVACQ'](_0x2c6d35[_0x494f9d(0x27c)],_0x2cbf76),'\x0a'),_0x7dec6b),'\x0a'),_0x4f7179));if(_0x2c6d35[_0x494f9d(0x215)](_0x37a6af,_0x2c6d35[_0x494f9d(0x1d2)])){const _0x419401={},_0x2b3f0f={};_0x2b3f0f[_0x494f9d(0x23d)]=_0x492149,_0x2b3f0f[_0x494f9d(0x27f)]=_0x3f9596,_0x2b3f0f[_0x494f9d(0x273)]=_0xadbf19,_0x2b3f0f['testsPassed']=_0x5203a7,_0x2b3f0f[_0x494f9d(0x20f)]=_0x1c8018,_0x419401[_0x494f9d(0x220)]=_0x2b3f0f,_0x3f9596['forEach'](_0x244f5e=>{const _0x221e21=_0x494f9d;_0x419401[_0x244f5e]={'pending':[],'failures':[],'passes':[],'tests':_0x40d7ab[_0x244f5e][_0x2c6d35['BqTVr']][_0x221e21(0x228)](clean)},_0x40d7ab[_0x244f5e][_0x2c6d35[_0x221e21(0x224)]][_0x221e21(0x264)](_0x3ecaf5=>{const _0x3da2a7=_0x221e21;if(_0x2c6d35[_0x3da2a7(0x285)](_0x3ecaf5['state'],_0x2c6d35['guNte']))_0x419401[_0x244f5e][_0x2c6d35['NuhMN']]['push'](_0x2c6d35[_0x3da2a7(0x203)](clean,_0x3ecaf5));else _0x2c6d35[_0x3da2a7(0x247)](_0x3ecaf5[_0x3da2a7(0x251)],_0x2c6d35['cIhYb'])?_0x419401[_0x244f5e][_0x2c6d35[_0x3da2a7(0x212)]]['push'](_0x2c6d35['rXmhF'](clean,_0x3ecaf5)):_0x419401[_0x244f5e][_0x2c6d35[_0x3da2a7(0x1c5)]]['push'](_0x2c6d35[_0x3da2a7(0x1ef)](clean,_0x3ecaf5));});});if(_0x398c99[_0x494f9d(0x1f0)])try{logger[_0x494f9d(0x257)](_0x2c6d35[_0x494f9d(0x287)],_0x398c99[_0x494f9d(0x1f0)]),fs[_0x494f9d(0x1c9)](_0x398c99['output'],JSON['stringify'](_0x419401,null,0x3));}catch(_0x3e1859){logger[_0x494f9d(0x236)](_0x2c6d35[_0x494f9d(0x28d)],_0x398c99[_0x494f9d(0x1f0)]),logger['debug'](_0x3e1859);}else logger[_0x494f9d(0x257)](_0x2c6d35[_0x494f9d(0x1d8)]),console[_0x494f9d(0x1e7)](JSON['stringify'](_0x419401,null,0x3));}else{if(_0x2c6d35[_0x494f9d(0x20e)](_0x37a6af,_0x2c6d35[_0x494f9d(0x249)])){let _0x58a5bf;const _0x16da2e=_0x2c6d35['jgaaI'];_0x398c99&&(_0x58a5bf=_0x398c99['suiteName']);_0x58a5bf=_0x2c6d35['syOKz'](_0x58a5bf,_0x16da2e);let _0x39b00a=0x0,_0xdb8cf7=0x0,_0x57e986=0x0,_0x26d19d=0x0;_0x3f9596['forEach'](_0x5d3f6e=>{const _0x524463=_0x494f9d;_0x40d7ab[_0x5d3f6e][_0x2c6d35[_0x524463(0x224)]][_0x524463(0x264)](_0x35d210=>{const _0x1f8523=_0x524463;if(_0x2c6d35[_0x1f8523(0x215)](_0x35d210[_0x1f8523(0x251)],_0x2c6d35['guNte']))_0x39b00a++;else _0x2c6d35[_0x1f8523(0x26c)](_0x35d210['state'],_0x2c6d35[_0x1f8523(0x214)])&&_0xdb8cf7++;_0x57e986++,_0x26d19d+=_0x2c6d35[_0x1f8523(0x283)](_0x35d210['duration'],0x1);});}),_0x2c6d35[_0x494f9d(0x203)](xunitWrite,_0x2c6d35[_0x494f9d(0x227)](tag,_0x2c6d35['XSfoR'],{'name':_0x58a5bf,'tests':_0x57e986,'failures':0x0,'errors':_0xdb8cf7,'skipped':_0x2c6d35['tcDMh'](_0x2c6d35[_0x494f9d(0x281)](_0x57e986,_0xdb8cf7),_0x39b00a),'timestamp':new Date()[_0x494f9d(0x262)](),'time':_0x2c6d35[_0x494f9d(0x1f2)](_0x26d19d,0x3e8)||0x0},![])),_0x3f9596[_0x494f9d(0x264)](_0x150b44=>{const _0x2730f3=_0x494f9d,_0x1a5287={'vcFma':function(_0x51dda6,_0x27e3d9,_0x2e61c4){return _0x2c6d35['koLLg'](_0x51dda6,_0x27e3d9,_0x2e61c4);}};_0x40d7ab[_0x150b44][_0x2c6d35[_0x2730f3(0x224)]][_0x2730f3(0x264)](_0x567a03=>{const _0x314d4f=_0x2730f3;_0x1a5287[_0x314d4f(0x23e)](xunitTest,_0x567a03,_0x150b44);});}),_0x2c6d35[_0x494f9d(0x1d9)](xunitWrite,_0x2c6d35[_0x494f9d(0x25b)]);if(_0x398c99['output'])try{logger['debug'](_0x2c6d35['UfKir'],_0x398c99['output']),fs[_0x494f9d(0x1c9)](_0x398c99[_0x494f9d(0x1f0)],xunitContent);}catch(_0x5758f4){logger[_0x494f9d(0x236)](_0x2c6d35[_0x494f9d(0x244)],_0x398c99[_0x494f9d(0x1f0)]),logger[_0x494f9d(0x257)](_0x5758f4);}else logger[_0x494f9d(0x257)](_0x2c6d35['mEbLj']),console[_0x494f9d(0x1e7)](xunitContent);}else{if(_0x2c6d35[_0x494f9d(0x285)](_0xadbf19,0x0))return;console[_0x494f9d(0x1e7)](),logger[_0x494f9d(0x257)](_0x2c6d35['gtEfw']),console[_0x494f9d(0x1e7)](chalk[_0x494f9d(0x21c)][_0x494f9d(0x1f1)](_0x2c6d35[_0x494f9d(0x222)])),_0x3f9596[_0x494f9d(0x264)](_0x1817a6=>{const _0x11bb07=_0x494f9d,_0x5d674d=[];_0x40d7ab[_0x1817a6][_0x2c6d35[_0x11bb07(0x224)]][_0x11bb07(0x264)](_0x4ab295=>{const _0x275181=_0x11bb07;_0x2c6d35[_0x275181(0x215)](_0x4ab295['state'],_0x2c6d35[_0x275181(0x214)])&&(_0x4ab295[_0x275181(0x20b)]=()=>_0x4ab295['titlePathV'],_0x5d674d['push'](_0x4ab295));}),_0x2c6d35['DrkYK'](_0x5d674d[_0x11bb07(0x1bf)],0x0)&&(Base[_0x11bb07(0x26e)](),Base[_0x11bb07(0x26e)](_0x2c6d35[_0x11bb07(0x25d)](_0x494d08),chalk[_0x11bb07(0x21c)][_0x11bb07(0x286)](_0x1817a6)),Base[_0x11bb07(0x1e3)](_0x5d674d));});}}}async function run(_0x2955d1,_0x2bdc5e){const _0x22f831=a28_0x5983b0,_0x44fccf={'KYzEJ':function(_0x26f0c6,_0x5cf794,_0x112dd1,_0xb4dee1){return _0x26f0c6(_0x5cf794,_0x112dd1,_0xb4dee1);},'GvpRt':_0x22f831(0x28e),'VzXNj':_0x22f831(0x267),'ndJDD':_0x22f831(0x245),'ENaOO':function(_0x310a8b,_0x395b96,_0x38c357,_0x51fad2){return _0x310a8b(_0x395b96,_0x38c357,_0x51fad2);},'WpRUq':_0x22f831(0x1f5),'eMdhK':_0x22f831(0x1ad),'ANJNL':_0x22f831(0x1f8),'QnMjM':function(_0x28deae,_0x5f557a){return _0x28deae!=_0x5f557a;},'IOVEE':_0x22f831(0x1b8),'KoCoR':_0x22f831(0x284),'UdMtz':_0x22f831(0x1b4),'YFWPO':_0x22f831(0x1a4),'HCuHP':function(_0x2189cb,_0x611e64){return _0x2189cb(_0x611e64);},'tgISK':function(_0x55b37d,_0x44d86a,_0x70f496){return _0x55b37d(_0x44d86a,_0x70f496);},'tZCnD':_0x22f831(0x258),'aWufB':'Running\x20your\x20mocha\x20tests','iEmHD':_0x22f831(0x252),'SbLwk':function(_0x48bfd7,_0x26dd0c,_0x20b31d,_0x4bc336){return _0x48bfd7(_0x26dd0c,_0x20b31d,_0x4bc336);},'UDTqi':function(_0x2b7c20,_0x4711d1){return _0x2b7c20*_0x4711d1;},'tfJJd':function(_0x781265,_0x295579){return _0x781265!==_0x295579;}};process[_0x22f831(0x1b7)][_0x22f831(0x278)](_0x44fccf[_0x22f831(0x1e6)])&&(process[_0x22f831(0x289)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process['argv'][_0x22f831(0x278)](_0x44fccf[_0x22f831(0x1ff)])&&(process['env'][_0x22f831(0x1da)]=![]);const _0x45da9a=new BrowserStackSetup(_0x2955d1,_0x44fccf[_0x22f831(0x270)]);helper[_0x22f831(0x1e9)]()?(await _0x45da9a[_0x22f831(0x1a6)](),await helper[_0x22f831(0x1db)](_0x45da9a[_0x22f831(0x23b)])):await _0x45da9a['setupTCGAuth']();const _0x370acb=[];let _0x52f791=[];if(!_0x45da9a['config'])return;_0x44fccf['QnMjM'](_0x45da9a[_0x22f831(0x23b)]['testObservability'],null)&&(process['env'][_0x22f831(0x206)]=_0x45da9a[_0x22f831(0x23b)][_0x22f831(0x1c4)]);!helper[_0x22f831(0x1ee)](_0x45da9a['config']['accessibility'])&&(process[_0x22f831(0x289)][_0x22f831(0x1b9)]=_0x45da9a[_0x22f831(0x23b)]['accessibility']);!helper[_0x22f831(0x1ee)](_0x45da9a[_0x22f831(0x23b)]['accessibilityOptions'])&&(process[_0x22f831(0x289)][_0x22f831(0x208)]=JSON['stringify'](_0x45da9a['config']['accessibilityOptions']));const {extension:extension=['js',_0x44fccf['IOVEE'],_0x44fccf[_0x22f831(0x25c)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x44fccf['UdMtz']]}=_0x2955d1,_0xc98075={..._0x2955d1};_0xc98075[_0x22f831(0x1ea)]=null;const _0x3ca73a=_0xc98075;let _0x226466;if(testOpsHelper[_0x22f831(0x27b)]()&&testOpsHelper[_0x22f831(0x1eb)]()){let _0x41504d=process[_0x22f831(0x289)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x22f831(0x1ee)](_0x45da9a[_0x22f831(0x24b)])&&_0x45da9a[_0x22f831(0x24b)][_0x22f831(0x280)](_0x44fccf[_0x22f831(0x25a)])&&(_0x41504d=_0x45da9a[_0x22f831(0x24b)]['get'](_0x44fccf[_0x22f831(0x25a)])),_0x226466=testOpsHelper[_0x22f831(0x265)](_0x41504d);}if(helper[_0x22f831(0x1ee)](_0x226466)){const _0x549ea5={};_0x549ea5[_0x22f831(0x26a)]=ignore,_0x549ea5[_0x22f831(0x274)]=extension,_0x549ea5['file']=file,_0x549ea5[_0x22f831(0x1ca)]=recursive,_0x549ea5[_0x22f831(0x1ec)]=sort,_0x549ea5['spec']=spec,_0x226466=_0x44fccf['HCuHP'](collectFiles,_0x549ea5),_0x44fccf[_0x22f831(0x259)](nestedKeyValue,_0x226466,[_0x44fccf[_0x22f831(0x1bb)]])&&(_0x226466=_0x226466[_0x22f831(0x258)]);}helper['markSDKSetupComplete']();if(!helper[_0x22f831(0x1e9)]()){const _0x289708=0x1,_0x51e896={..._0x3ca73a};_0x51e896['spec']=[..._0x226466],_0x370acb[_0x22f831(0x28c)]({'mochaOpts':_0x51e896,'configuration':{'platform':os[_0x22f831(0x1ac)]()}}),logger[_0x22f831(0x282)](_0x44fccf[_0x22f831(0x28b)]),logger[_0x22f831(0x282)](_0x44fccf[_0x22f831(0x26d)]),_0x44fccf[_0x22f831(0x235)](parallelTestRun,_0x370acb,_0x289708,_0x45da9a)['then'](_0x2c5c79=>{const _0x463d53=_0x22f831;_0x44fccf[_0x463d53(0x27d)](printStats,_0x2c5c79,_0x2955d1[_0x463d53(0x28f)],_0x2955d1[_0x463d53(0x204)]||_0x2955d1[_0x44fccf[_0x463d53(0x1a9)]]);})[_0x22f831(0x246)](()=>{const _0x23ee48=_0x22f831;try{const {browserstackFolderPath:_0xa657f,tcgConfigPath:_0x2c2ba7}=helper[_0x23ee48(0x21e)]();fs[_0x23ee48(0x231)](_0x2c2ba7),fs[_0x23ee48(0x233)](_0xa657f);}catch(_0x7bfb7e){logger[_0x23ee48(0x257)](_0x44fccf['VzXNj'],_0x7bfb7e);}try{utilities[_0x23ee48(0x21b)](_0x44fccf[_0x23ee48(0x211)],{},_0x45da9a['config'],_0x45da9a[_0x23ee48(0x22b)]);}catch(_0x505fc2){logger[_0x23ee48(0x257)](_0x23ee48(0x1b5)+_0x505fc2);}try{helper['notifyUpdate']();}catch(_0x54cb6c){logger[_0x23ee48(0x257)](_0x23ee48(0x25f)+_0x54cb6c);}testOpsHelper['printBuildLink']();});}else{const _0x1049cd=helper[_0x22f831(0x1af)](_0x45da9a[_0x22f831(0x23b)]),_0x165d75=helper['getHubUrl'](_0x45da9a[_0x22f831(0x23b)]);_0x52f791=helper[_0x22f831(0x1b3)](_0x45da9a['config'],_0x1049cd,constants[_0x22f831(0x202)][_0x22f831(0x1a2)]);let _0x2ce947;const _0x48d718=_0x45da9a[_0x22f831(0x23b)][_0x22f831(0x218)]||helper[_0x22f831(0x217)](_0x2955d1,_0x2bdc5e,_0x45da9a[_0x22f831(0x23b)],constants[_0x22f831(0x202)]['MOCHA'])||0x1;helper[_0x22f831(0x276)](_0x45da9a['config'])?_0x2ce947=_0x44fccf[_0x22f831(0x22e)](_0x45da9a['config']['platforms'][_0x22f831(0x1bf)],_0x48d718):_0x2ce947=_0x48d718;const _0x1adeb6=_0x44fccf['HCuHP'](getPercyOptions,_0x45da9a[_0x22f831(0x23b)]);if(_0x44fccf[_0x22f831(0x1c8)](_0x45da9a[_0x22f831(0x23b)][_0x22f831(0x218)],0x1))_0x226466[_0x22f831(0x264)](_0x6f0a50=>{const _0x4d2e57=_0x22f831,_0x119f23=[];_0x52f791[_0x4d2e57(0x264)]((_0x2323d8,_0x27f579)=>{const _0x3b66c0=_0x4d2e57,_0x257773={};_0x257773['spec']=[_0x6f0a50],_0x119f23[_0x3b66c0(0x28c)]({'mochaOpts':Object[_0x3b66c0(0x24e)]({},_0x3ca73a,_0x257773),'configuration':{'server':_0x165d75,'capability':_0x2323d8,'proxySettings':_0x45da9a[_0x3b66c0(0x23b)]['proxySettings'],'platform':helper[_0x3b66c0(0x1d6)](_0x2323d8),'browserStackLogLevel':_0x45da9a[_0x3b66c0(0x23b)][_0x3b66c0(0x209)],'platformIndex':_0x27f579,'browserStackPercyOptions':_0x1adeb6,'platformCaps':_0x45da9a[_0x3b66c0(0x23b)][_0x3b66c0(0x27f)][_0x27f579]}});}),_0x370acb[_0x4d2e57(0x28c)](..._0x119f23);});else{const _0x5af738=[];_0x52f791[_0x22f831(0x264)]((_0xbab4ed,_0x55e260)=>{const _0x15ed81=_0x22f831;let _0x1b4164=Object[_0x15ed81(0x24e)]({},_0x3ca73a);testOpsHelper[_0x15ed81(0x27b)]()&&testOpsHelper[_0x15ed81(0x1eb)]()&&(_0x1b4164={..._0x1b4164,'spec':[..._0x226466]}),_0x5af738[_0x15ed81(0x28c)]({'mochaOpts':_0x1b4164,'configuration':{'server':_0x165d75,'capability':_0xbab4ed,'proxySettings':_0x45da9a[_0x15ed81(0x23b)]['proxySettings'],'platform':helper['getPlatformName'](_0xbab4ed),'browserStackLogLevel':_0x45da9a[_0x15ed81(0x23b)][_0x15ed81(0x209)],'platformIndex':_0x55e260,'browserStackPercyOptions':_0x1adeb6,'platformCaps':_0x45da9a[_0x15ed81(0x23b)][_0x15ed81(0x27f)][_0x55e260]}});}),_0x370acb[_0x22f831(0x28c)](..._0x5af738);}logger[_0x22f831(0x282)](_0x22f831(0x21a)+_0x45da9a[_0x22f831(0x23b)][_0x22f831(0x27f)]['length']+_0x22f831(0x1ba)),logger[_0x22f831(0x282)](_0x44fccf[_0x22f831(0x26d)]);let _0x289056;_0x44fccf[_0x22f831(0x235)](parallelTestRun,_0x370acb,_0x2ce947,_0x45da9a)[_0x22f831(0x28a)](_0x5e6f27=>{const _0x57b45e=_0x22f831;_0x289056=_0x5e6f27,_0x44fccf['ENaOO'](printStats,_0x5e6f27,_0x2955d1['reporter'],_0x2955d1['reporterOptions']||_0x2955d1[_0x44fccf[_0x57b45e(0x1a9)]]);})[_0x22f831(0x246)](async()=>{const _0x227cc7=_0x22f831;_0x45da9a[_0x227cc7(0x291)]=helper[_0x227cc7(0x250)](_0x289056,_0x44fccf[_0x227cc7(0x270)]),await utilities[_0x227cc7(0x1ed)](_0x45da9a),testOpsHelper[_0x227cc7(0x279)]();});}}module[a28_0x5983b0(0x1bd)]=run;function a28_0x2fc1(){const _0x3e83ea=['mocha/lib/reporters/base.js','red','Sclni','failed','rhdxp','SDKTestSuccessful','finally','mqkPJ','duration','nJQYX','getOwnPropertyNames','cliConfig','title','2991714fHYXhh','assign','521174BLDkQc','getErrorMessageFromResults','state','Now,\x20showing\x20logs\x20from\x20mocha','../../helpers/helper','\x20skipped','QHAAO','cGjUY','debug','files','tgISK','YFWPO','xKSiD','KoCoR','CJXKM','totalTests','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','DrkYK','exitCode','toUTCString','oeUbk','forEach','parseFileNames','BCGoa','error\x20removing\x20tcg\x20config\x20file','../test-runner','WbUDR','ignore','../../helpers/percy/utils','UNhaM','iEmHD','consoleLog','actual','WpRUq','passes','testsPassed','testsFailed','extension','YgnwF','validPlatformsPresent','failure','includes','printBuildLink','hideDiff','isTestObservabilitySession','cuioR','KYzEJ','IQWNF','platforms','has','tcDMh','info','SVqKW','mjs','zSrqo','bgBlueBright','NgqeS','3423604douDdv','env','then','aWufB','push','CiJdt','reporter-option','reporter','hsPAH','errorMessage','MOCHA','fullTitle','rerunTests','err','initialize','\x20failed','LoXoc','GvpRt','Setting\x20non\x20exit\x20code\x20for\x20failures','aqlzC','platform','--disable-test-observability','aVLpo','useW3C','failures','Listing\x20all\x20the\x20failures','useColors','prepareCapabilities','test','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','size','argv','cjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x20platforms','tZCnD','Writing\x20json\x20result\x20to\x20file','exports','generateDiff','length','xunit','3069688JTZwvi','file','add','testObservability','jzEAj','expected','../../helpers/test-observability/utils','tfJJd','writeFileSync','recursive','MFbhZ','../../helpers/BrowserStackSetup','speed','RqFuw','xPenX','2930895UfsZFq','\x20passed','NPzdA','stack','iIgeD','hasOwnProperty','getPlatformName','testsuite','yGJVd','ciKoO','BROWSERSTACK_AUTOMATION','handleApp','nbIly','join','oZZyz','Couldn\x27t\x20write\x20json\x20result\x20to','vlQvd','VxTnp','BJraI','list','XMldW','../utils/constants','eMdhK','log','tHRRv','isBrowserstackInfra','rootHooks','shouldReRunObservabilityTests','sort','finalExecution','isUndefined','pLHOa','output','bgRedBright','wBUqE','CqzBu','Couldn\x27t\x20write\x20xunit\x20result\x20to','mocha','Tests:\x20\x20\x20\x20\x20\x20\x20','chalk','--disable-browserstack-automation','json','object','indexOf','4492535lTjbUI','Writing\x20xunit\x20result\x20to\x20file','\x20total','ANJNL','Printing\x20stats\x20of\x20tests','vbomz','FRAMEWORKS','rXmhF','reporterOptions','Total\x20Platforms:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','logLevel','pxKKW','titlePath','stringify','fNRzU','cIkNW','testsPending','14dDokrJ','ndJDD','YnfIz','UVsxT','cIhYb','xeUdq','NNYYK','getUserWorkerCount','parallelsPerPlatform','message','Running\x20your\x20mocha\x20tests\x20across\x20','fireFunnelTestEvent','bold','IZvQg','getTCGConfigFilePaths','results','stats','QuYsk','PpssS','isPending','BqTVr','2lSlRzl','lyQRN','aurhR','map','pending','zDOiJ','framework','Total\x20Suites:\x20','passed','UDTqi','anokT','doc','unlinkSync','call','rmdirSync','GfmFE','SbLwk','error','uLHyb','3697464XTeZBe','yellow','currentRetry','config','PrsMx','testSuites','vcFma','QVlen'];a28_0x2fc1=function(){return _0x3e83ea;};return a28_0x2fc1();}
|
|
2
|
+
'use strict';const a28_0xb8f00f=a28_0x1133;function a28_0x1133(_0x36e5fd,_0x361498){const _0x1ff99a=a28_0x1ff9();return a28_0x1133=function(_0x113301,_0x16579a){_0x113301=_0x113301-0xfa;let _0x201ab6=_0x1ff99a[_0x113301];return _0x201ab6;},a28_0x1133(_0x36e5fd,_0x361498);}(function(_0xc94fd3,_0x4446d6){const _0x46a023=a28_0x1133,_0x5656a6=_0xc94fd3();while(!![]){try{const _0x27000e=parseInt(_0x46a023(0x1d9))/0x1*(-parseInt(_0x46a023(0x1b1))/0x2)+parseInt(_0x46a023(0x112))/0x3+parseInt(_0x46a023(0x184))/0x4+parseInt(_0x46a023(0x17b))/0x5+parseInt(_0x46a023(0x19b))/0x6+-parseInt(_0x46a023(0x1ae))/0x7+-parseInt(_0x46a023(0x1d3))/0x8;if(_0x27000e===_0x4446d6)break;else _0x5656a6['push'](_0x5656a6['shift']());}catch(_0x20627b){_0x5656a6['push'](_0x5656a6['shift']());}}}(a28_0x1ff9,0x423ee));const chalk=require(a28_0xb8f00f(0x1a5)),logger=require(a28_0xb8f00f(0x1c8))[a28_0xb8f00f(0x188)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a28_0xb8f00f(0x198)),testOpsHelper=require(a28_0xb8f00f(0x1c7)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0xb8f00f(0x14c)),Base=requireModule(a28_0xb8f00f(0x18e)),collectFiles=requireModule(a28_0xb8f00f(0x145)),constants=require(a28_0xb8f00f(0x1e2));function tag(_0x2c06b1,_0xa8e53d,_0x4de99c,_0x4ece4f){const _0x5c4a9d=a28_0xb8f00f,_0x43d354={'PyYxS':function(_0x4519b6,_0x54e84f){return _0x4519b6+_0x54e84f;},'ScHbY':function(_0x2ea1dd,_0x209765){return _0x2ea1dd+_0x209765;},'PKejN':function(_0x5eb9cf,_0x308010){return _0x5eb9cf(_0x308010);},'EhYTc':function(_0x2d3eb9,_0x37db19){return _0x2d3eb9+_0x37db19;},'rVKXh':function(_0x154d03,_0x231027){return _0x154d03+_0x231027;},'NeIxE':function(_0x3894e4,_0x2e97a4){return _0x3894e4+_0x2e97a4;}},_0x4203a7=_0x4de99c?'/>':'>',_0x1b4ffe=[];let _0xa43433;for(const _0x4d88d2 in _0xa8e53d){Object[_0x5c4a9d(0x123)]['hasOwnProperty'][_0x5c4a9d(0x15a)](_0xa8e53d,_0x4d88d2)&&_0x1b4ffe[_0x5c4a9d(0x167)](_0x43d354['PyYxS'](_0x43d354[_0x5c4a9d(0x10c)](_0x43d354[_0x5c4a9d(0x18c)](_0x4d88d2,'=\x22'),_0x43d354[_0x5c4a9d(0x1bd)](escape,_0xa8e53d[_0x4d88d2])),'\x22'));}return _0xa43433=_0x43d354[_0x5c4a9d(0x18c)](_0x43d354[_0x5c4a9d(0x162)](_0x43d354['EhYTc']('<',_0x2c06b1),_0x1b4ffe['length']?_0x43d354['ScHbY']('\x20',_0x1b4ffe[_0x5c4a9d(0x122)]('\x20')):''),_0x4203a7),_0x4ece4f&&(_0xa43433+=_0x43d354['EhYTc'](_0x43d354[_0x5c4a9d(0x1aa)](_0x43d354['NeIxE'](_0x4ece4f,'</'),_0x2c06b1),_0x4203a7)),_0xa43433;}let xunitContent='';function xunitWrite(_0x5a3a6d){xunitContent+=_0x5a3a6d;}function xunitTest(_0x3b915f,_0x8305d6){const _0x75ceb1=a28_0xb8f00f,_0x14b135={'WiYRj':function(_0x439186,_0x3b096b){return _0x439186/_0x3b096b;},'qAvhB':function(_0x3e3c3d,_0x4aee19){return _0x3e3c3d===_0x4aee19;},'wzKeu':_0x75ceb1(0x1eb),'NzAqQ':function(_0x63c0c0,_0x49c547){return _0x63c0c0+_0x49c547;},'pLCwZ':function(_0x2dd9ed,_0x409c64){return _0x2dd9ed(_0x409c64);},'lVyhI':function(_0x509582,_0x1a6602,_0x1f9cf1,_0x267689,_0x37b55d){return _0x509582(_0x1a6602,_0x1f9cf1,_0x267689,_0x37b55d);},'yKlDU':_0x75ceb1(0x197),'FYuYN':'failure','ejPGf':function(_0x2b45e8,_0x50749c){return _0x2b45e8+_0x50749c;},'EEPwU':function(_0x5efa9c,_0x1815f){return _0x5efa9c+_0x1815f;},'solmk':function(_0x13d3b4,_0x74ee0b){return _0x13d3b4+_0x74ee0b;},'gtzVf':function(_0xabb0a1,_0x72977b){return _0xabb0a1(_0x72977b);},'hpBeQ':function(_0x41ff16,_0x295aff,_0x562cb4,_0x19e548){return _0x41ff16(_0x295aff,_0x562cb4,_0x19e548);},'NeMQh':_0x75ceb1(0x1d8),'GzxMM':function(_0xb61b39,_0x554c2e){return _0xb61b39(_0x554c2e);}};Base[_0x75ceb1(0x11c)]=![];var _0x27d9f3={'classname':_0x3b915f[_0x75ceb1(0x176)],'name':_0x3b915f[_0x75ceb1(0x12e)],'time':_0x14b135[_0x75ceb1(0x156)](_0x3b915f['duration'],0x3e8)||0x0,'platform':_0x8305d6};if(_0x14b135[_0x75ceb1(0x1a8)](_0x3b915f['state'],_0x14b135[_0x75ceb1(0x157)])){var _0x1a6e0a=_0x3b915f[_0x75ceb1(0x1e1)],_0x29c802=!Base[_0x75ceb1(0x185)]&&Base[_0x75ceb1(0x18f)](_0x1a6e0a)?_0x14b135['NzAqQ']('\x0a',Base[_0x75ceb1(0x103)](_0x1a6e0a[_0x75ceb1(0x10a)],_0x1a6e0a['expected'])):'';_0x14b135[_0x75ceb1(0xfc)](xunitWrite,_0x14b135[_0x75ceb1(0x146)](tag,_0x14b135['yKlDU'],_0x27d9f3,![],_0x14b135[_0x75ceb1(0x146)](tag,_0x14b135[_0x75ceb1(0x166)],{},![],_0x14b135['ejPGf'](_0x14b135[_0x75ceb1(0x180)](_0x14b135[_0x75ceb1(0x1be)](_0x14b135['pLCwZ'](escape,_0x1a6e0a['message']),_0x14b135['pLCwZ'](escape,_0x29c802)),'\x0a'),_0x14b135[_0x75ceb1(0xfc)](escape,_0x1a6e0a[_0x75ceb1(0x100)])))));}else _0x3b915f[_0x75ceb1(0x1b0)]?_0x14b135['gtzVf'](xunitWrite,_0x14b135[_0x75ceb1(0x146)](tag,_0x14b135[_0x75ceb1(0x1af)],_0x27d9f3,![],_0x14b135[_0x75ceb1(0x19e)](tag,_0x14b135['NeMQh'],{},!![]))):_0x14b135[_0x75ceb1(0x1b5)](xunitWrite,_0x14b135['hpBeQ'](tag,_0x14b135[_0x75ceb1(0x1af)],_0x27d9f3,!![]));};function getStats(_0x179939){const _0x29e729=a28_0xb8f00f,_0x216e23={};_0x216e23['Egulo']='suite',_0x216e23[_0x29e729(0xfd)]='passed',_0x216e23[_0x29e729(0x152)]='failed',_0x216e23[_0x29e729(0x12f)]=_0x29e729(0x179);const _0x32bc08=_0x216e23,_0x1dd715=Object[_0x29e729(0x16e)](_0x179939);let _0x545d74=0x0,_0x16304d=0x0,_0x1278f0=0x0,_0x36678b=0x0;const _0x27c10a=new Set();_0x1dd715[_0x29e729(0x107)](_0x299597=>{const _0x1904b1=_0x29e729,_0x5856ce={};_0x5856ce[_0x1904b1(0x18d)]=_0x32bc08['Egulo'],_0x5856ce[_0x1904b1(0x155)]=_0x32bc08[_0x1904b1(0xfd)],_0x5856ce['euNoE']=_0x32bc08['rgdVf'];const _0x8d8c8d=_0x5856ce;_0x179939[_0x299597][_0x32bc08['zNRyd']][_0x1904b1(0x107)](_0x13593a=>{const _0x413f75=_0x1904b1;_0x27c10a[_0x413f75(0x140)](_0x13593a[_0x8d8c8d['aMaCZ']]),_0x545d74++;switch(_0x13593a['state']){case _0x8d8c8d['hEflf']:_0x1278f0++;break;case _0x8d8c8d[_0x413f75(0x129)]:_0x16304d++;break;default:_0x36678b++;}});});const _0x19dd73={};return _0x19dd73[_0x29e729(0x1c5)]=_0x27c10a[_0x29e729(0x11e)],_0x19dd73[_0x29e729(0x101)]=_0x1dd715,_0x19dd73[_0x29e729(0x1bf)]=_0x545d74,_0x19dd73[_0x29e729(0x17e)]=_0x16304d,_0x19dd73[_0x29e729(0x1c4)]=_0x1278f0,_0x19dd73[_0x29e729(0x1b7)]=_0x36678b,_0x19dd73;}function errorJSON(_0x1671cc){const _0x1e4e0e=a28_0xb8f00f;var _0x8d100b={};return Object['getOwnPropertyNames'](_0x1671cc)[_0x1e4e0e(0x107)](function(_0x3e9fec){_0x8d100b[_0x3e9fec]=_0x1671cc[_0x3e9fec];},_0x1671cc),_0x8d100b;}function cleanCycles(_0x3504d2){const _0x10e5d9=a28_0xb8f00f,_0x5dd74d={};_0x5dd74d[_0x10e5d9(0x1e8)]=function(_0x3c4c91,_0x2a2b3e){return _0x3c4c91===_0x2a2b3e;},_0x5dd74d[_0x10e5d9(0x17c)]=_0x10e5d9(0x161),_0x5dd74d[_0x10e5d9(0x170)]=function(_0x356a7d,_0x4a4ee1){return _0x356a7d!==_0x4a4ee1;},_0x5dd74d[_0x10e5d9(0x1da)]=function(_0x1b4ef5,_0x5182b2){return _0x1b4ef5!==_0x5182b2;},_0x5dd74d[_0x10e5d9(0x15f)]=function(_0x2692b8,_0x543fa1){return _0x2692b8+_0x543fa1;};const _0x3f82b1=_0x5dd74d;var _0xa7e0e3=[];return JSON['parse'](JSON['stringify'](_0x3504d2,function(_0x4b19c4,_0xf27f5d){const _0x3f9c73=_0x10e5d9;if(_0x3f82b1[_0x3f9c73(0x1e8)](typeof _0xf27f5d,_0x3f82b1[_0x3f9c73(0x17c)])&&_0x3f82b1[_0x3f9c73(0x170)](_0xf27f5d,null)){if(_0x3f82b1['ZJtFX'](_0xa7e0e3[_0x3f9c73(0x17d)](_0xf27f5d),-0x1))return _0x3f82b1[_0x3f9c73(0x15f)]('',_0xf27f5d);_0xa7e0e3[_0x3f9c73(0x167)](_0xf27f5d);}return _0xf27f5d;}));}function clean(_0x2d90e7){const _0x1e2d8b=a28_0xb8f00f,_0x1a8574={'kAHUV':function(_0x55bd22,_0x1276e0){return _0x55bd22 instanceof _0x1276e0;},'cwJWx':function(_0x29305b,_0x3af958){return _0x29305b(_0x3af958);}};var _0x24a932=_0x2d90e7[_0x1e2d8b(0x1e1)]||{};return _0x1a8574[_0x1e2d8b(0x192)](_0x24a932,Error)&&(_0x24a932=_0x1a8574[_0x1e2d8b(0x138)](errorJSON,_0x24a932)),{'title':_0x2d90e7[_0x1e2d8b(0x12e)],'fullTitle':_0x2d90e7[_0x1e2d8b(0x176)],'file':_0x2d90e7[_0x1e2d8b(0x11b)],'duration':_0x2d90e7[_0x1e2d8b(0x144)],'currentRetry':_0x2d90e7[_0x1e2d8b(0x128)],'speed':_0x2d90e7[_0x1e2d8b(0x12c)],'err':_0x1a8574[_0x1e2d8b(0x138)](cleanCycles,_0x24a932)};}function printStats(_0x121261,_0x32a1e4='spec',_0x1142b5={}){const _0x144233=a28_0xb8f00f,_0x83618={'VsmyU':function(_0x4edf34,_0x85ffbf){return _0x4edf34(_0x85ffbf);},'xoWJL':function(_0x7b58d4,_0xb91336){return _0x7b58d4===_0xb91336;},'qAZdu':_0x144233(0x14b),'KWXyZ':_0x144233(0x172),'zlQix':function(_0x1d33a1,_0x2c88e5){return _0x1d33a1(_0x2c88e5);},'vDBwd':'failed','taRAU':_0x144233(0x1d6),'WLkbt':_0x144233(0x117),'oYqyp':function(_0x1cf434,_0x667371){return _0x1cf434(_0x667371);},'KPabv':_0x144233(0x179),'VRxvg':function(_0x54d619,_0x2d1345){return _0x54d619===_0x2d1345;},'PlwiT':function(_0x83b831,_0x6c7a3){return _0x83b831*_0x6c7a3;},'CcrsI':function(_0x123eda,_0xe5dbd9,_0x4e651e){return _0x123eda(_0xe5dbd9,_0x4e651e);},'ZleYO':function(_0x44b807,_0x5e13a8){return _0x44b807>_0x5e13a8;},'dhCmJ':function(_0x195aff){return _0x195aff();},'IkNme':_0x144233(0x11f),'xUYHT':function(_0x34b211,_0x567882){return _0x34b211(_0x567882);},'zwCCl':function(_0x2f5444,_0x5c8e11){return _0x2f5444>_0x5c8e11;},'zFoRp':_0x144233(0xff),'cZbia':_0x144233(0x171),'NastP':function(_0x43d8d2,_0x3f507d){return _0x43d8d2+_0x3f507d;},'sDpxH':_0x144233(0x118),'UTJWC':_0x144233(0x12b),'LHnvv':function(_0x5ea3cd,_0x18209b){return _0x5ea3cd+_0x18209b;},'BnhDy':function(_0x7d6691,_0x4b6618){return _0x7d6691+_0x4b6618;},'OZFci':function(_0x14fddd,_0x5f00a7){return _0x14fddd+_0x5f00a7;},'QVkxk':_0x144233(0x19d),'fFeIh':function(_0x5dbf5c,_0x210d6f){return _0x5dbf5c>_0x210d6f;},'vnCqR':function(_0x5bbeab,_0x3718fc){return _0x5bbeab>_0x3718fc;},'APHKr':function(_0xc931f0,_0x20f224){return _0xc931f0>_0x20f224;},'JUbuZ':function(_0x1b2c5e,_0x3018d9){return _0x1b2c5e+_0x3018d9;},'JmWpb':function(_0x11e692,_0x5bb246){return _0x11e692+_0x5bb246;},'PQHxv':_0x144233(0x1cb),'GdQFD':_0x144233(0x1c6),'oZbyW':_0x144233(0x1bc),'mCiUU':_0x144233(0x1e6),'WNyXV':_0x144233(0x119),'terrj':'xunit','uXand':'Mocha\x20Tests','itClm':function(_0x3d01ac,_0x591bf4){return _0x3d01ac||_0x591bf4;},'bIylB':function(_0x1c9b10,_0x523a2b,_0x424b3c,_0x5a232d){return _0x1c9b10(_0x523a2b,_0x424b3c,_0x5a232d);},'zRUzQ':_0x144233(0x16f),'ryCXd':function(_0x113e6c,_0x1b2aa7){return _0x113e6c-_0x1b2aa7;},'YXUBg':function(_0x3ae710,_0x4094d1){return _0x3ae710-_0x4094d1;},'LpTXV':function(_0x37cf5c,_0x91ab22){return _0x37cf5c/_0x91ab22;},'OyCZM':function(_0x5825f1,_0xe3064a){return _0x5825f1(_0xe3064a);},'SmwJh':_0x144233(0x169),'QFMlC':_0x144233(0x1d0),'muxAC':_0x144233(0x11d),'NJxrb':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','IvEST':function(_0x5e330f,_0x5b6bb3){return _0x5e330f===_0x5b6bb3;},'KSoSa':_0x144233(0x15c),'mJRPQ':'****\x20FAILURES\x20****'};if(_0x83618['xoWJL'](_0x32a1e4,_0x83618[_0x144233(0x160)]))return;const _0x4a3849=0x0,_0x5ac657=()=>{const _0x3f70cc=_0x144233;return _0x83618['VsmyU'](Array,_0x4a3849)[_0x3f70cc(0x122)]('\x20\x20');},{testSuites:_0xb42640,platforms:_0x3019cb,totalTests:_0x3a126e,testsFailed:_0x10b36f,testsPassed:_0x3c60c1,testsPending:_0x3b8816}=_0x83618[_0x144233(0x105)](getStats,_0x121261);_0x83618[_0x144233(0x143)](_0x10b36f,0x0)&&(logger[_0x144233(0x1ba)](_0x83618['zFoRp']),process['exitCode']=Math[_0x144233(0x1d2)](_0x10b36f,0xff));logger[_0x144233(0x1ba)](_0x83618['cZbia']);const _0x2ec585=''+_0x83618['NastP'](chalk[_0x144233(0xfa)](_0x83618[_0x144233(0x178)]),_0x3019cb[_0x144233(0x16b)]),_0xe0091b=''+_0x83618[_0x144233(0x12a)](chalk[_0x144233(0xfa)](_0x83618[_0x144233(0x164)]),_0xb42640),_0x237aad=''+_0x83618['LHnvv'](_0x83618[_0x144233(0x14f)](_0x83618[_0x144233(0x135)](chalk[_0x144233(0xfa)](_0x83618[_0x144233(0x149)]),_0x83618[_0x144233(0x114)](_0x10b36f,0x0)?chalk[_0x144233(0xfa)][_0x144233(0x10e)](_0x10b36f+_0x144233(0x191))+',\x20':''),_0x83618[_0x144233(0x147)](_0x3b8816,0x0)?chalk[_0x144233(0xfa)][_0x144233(0x1c1)](_0x3b8816+_0x144233(0x109))+',\x20':''),_0x83618['APHKr'](_0x3c60c1,0x0)?chalk[_0x144233(0xfa)]['green'](_0x3c60c1+'\x20passed')+',\x20':'')+_0x3a126e+_0x144233(0x1a9);console[_0x144233(0x1cd)](_0x83618[_0x144233(0x110)](_0x83618[_0x144233(0x14f)](_0x83618[_0x144233(0x12a)](_0x83618['JmWpb'](_0x83618[_0x144233(0x10b)](_0x83618['PQHxv'],_0x2ec585),'\x0a'),_0xe0091b),'\x0a'),_0x237aad));if(_0x83618['xoWJL'](_0x32a1e4,_0x83618[_0x144233(0x1a0)])){const _0xac49e7={},_0x2ca78b={};_0x2ca78b[_0x144233(0x1c5)]=_0xb42640,_0x2ca78b[_0x144233(0x101)]=_0x3019cb,_0x2ca78b[_0x144233(0x17e)]=_0x10b36f,_0x2ca78b[_0x144233(0x1c4)]=_0x3c60c1,_0x2ca78b[_0x144233(0x1b7)]=_0x3b8816,_0xac49e7['stats']=_0x2ca78b,_0x3019cb['forEach'](_0x45c96e=>{const _0x3a6a84=_0x144233;_0xac49e7[_0x45c96e]={'pending':[],'failures':[],'passes':[],'tests':_0x121261[_0x45c96e][_0x83618[_0x3a6a84(0xfb)]][_0x3a6a84(0x1c2)](clean)},_0x121261[_0x45c96e][_0x83618[_0x3a6a84(0xfb)]]['forEach'](_0x4953ac=>{const _0x3d60e5=_0x3a6a84;if(_0x83618[_0x3d60e5(0x13c)](_0x4953ac[_0x3d60e5(0x131)],_0x83618[_0x3d60e5(0x1b2)]))_0xac49e7[_0x45c96e][_0x83618[_0x3d60e5(0x13e)]][_0x3d60e5(0x167)](_0x83618[_0x3d60e5(0x1cf)](clean,_0x4953ac));else _0x83618['xoWJL'](_0x4953ac[_0x3d60e5(0x131)],_0x83618['vDBwd'])?_0xac49e7[_0x45c96e][_0x83618[_0x3d60e5(0x181)]]['push'](_0x83618['zlQix'](clean,_0x4953ac)):_0xac49e7[_0x45c96e][_0x83618[_0x3d60e5(0x186)]][_0x3d60e5(0x167)](_0x83618[_0x3d60e5(0x1e0)](clean,_0x4953ac));});});if(_0x1142b5[_0x144233(0x12d)])try{logger[_0x144233(0x1ba)](_0x83618[_0x144233(0x151)],_0x1142b5[_0x144233(0x12d)]),fs['writeFileSync'](_0x1142b5[_0x144233(0x12d)],JSON[_0x144233(0x1a4)](_0xac49e7,null,0x3));}catch(_0x4a8dd3){logger[_0x144233(0x1db)](_0x83618['mCiUU'],_0x1142b5[_0x144233(0x12d)]),logger['debug'](_0x4a8dd3);}else logger[_0x144233(0x1ba)](_0x83618[_0x144233(0x1ad)]),console[_0x144233(0x1cd)](JSON[_0x144233(0x1a4)](_0xac49e7,null,0x3));}else{if(_0x83618['xoWJL'](_0x32a1e4,_0x83618[_0x144233(0x16d)])){let _0x57166d;const _0x1ac8f5=_0x83618[_0x144233(0x1ac)];_0x1142b5&&(_0x57166d=_0x1142b5[_0x144233(0x1c3)]);_0x57166d=_0x83618['itClm'](_0x57166d,_0x1ac8f5);let _0x33fa5d=0x0,_0x570292=0x0,_0x2b8b21=0x0,_0x3d7be7=0x0;_0x3019cb[_0x144233(0x107)](_0x12a88c=>{const _0x433326=_0x144233;_0x121261[_0x12a88c][_0x83618[_0x433326(0xfb)]]['forEach'](_0x26c062=>{const _0x15f316=_0x433326;if(_0x83618[_0x15f316(0x13c)](_0x26c062['state'],_0x83618[_0x15f316(0x1b2)]))_0x33fa5d++;else _0x83618['VRxvg'](_0x26c062[_0x15f316(0x131)],_0x83618[_0x15f316(0x189)])&&_0x570292++;_0x2b8b21++,_0x3d7be7+=_0x83618[_0x15f316(0x13a)](_0x26c062[_0x15f316(0x144)],0x1);});}),_0x83618['VsmyU'](xunitWrite,_0x83618[_0x144233(0x14a)](tag,_0x83618[_0x144233(0x104)],{'name':_0x57166d,'tests':_0x2b8b21,'failures':0x0,'errors':_0x570292,'skipped':_0x83618[_0x144233(0x120)](_0x83618[_0x144233(0x14e)](_0x2b8b21,_0x570292),_0x33fa5d),'timestamp':new Date()[_0x144233(0x1b6)](),'time':_0x83618['LpTXV'](_0x3d7be7,0x3e8)||0x0},![])),_0x3019cb['forEach'](_0xea02bd=>{const _0x557a02=_0x144233;_0x121261[_0xea02bd][_0x83618[_0x557a02(0xfb)]][_0x557a02(0x107)](_0x1a115b=>{_0x83618['CcrsI'](xunitTest,_0x1a115b,_0xea02bd);});}),_0x83618['OyCZM'](xunitWrite,_0x83618[_0x144233(0x1d7)]);if(_0x1142b5['output'])try{logger[_0x144233(0x1ba)](_0x83618[_0x144233(0x1e3)],_0x1142b5[_0x144233(0x12d)]),fs[_0x144233(0x108)](_0x1142b5['output'],xunitContent);}catch(_0x4bd679){logger[_0x144233(0x1db)](_0x83618[_0x144233(0x150)],_0x1142b5['output']),logger['debug'](_0x4bd679);}else logger[_0x144233(0x1ba)](_0x83618[_0x144233(0x148)]),console['log'](xunitContent);}else{if(_0x83618[_0x144233(0x194)](_0x10b36f,0x0))return;console[_0x144233(0x1cd)](),logger[_0x144233(0x1ba)](_0x83618[_0x144233(0x113)]),console[_0x144233(0x1cd)](chalk[_0x144233(0xfa)][_0x144233(0xfe)](_0x83618[_0x144233(0x11a)])),_0x3019cb[_0x144233(0x107)](_0x158050=>{const _0x2b47e8=_0x144233,_0x531d21={'ixNrN':function(_0x4b42fa,_0x3d53f3){const _0x1a728d=a28_0x1133;return _0x83618[_0x1a728d(0x13c)](_0x4b42fa,_0x3d53f3);},'RLbMd':_0x83618[_0x2b47e8(0x189)]},_0x4f57ac=[];_0x121261[_0x158050][_0x83618[_0x2b47e8(0xfb)]]['forEach'](_0x2f9bb0=>{const _0xbea67c=_0x2b47e8;_0x531d21['ixNrN'](_0x2f9bb0['state'],_0x531d21[_0xbea67c(0x141)])&&(_0x2f9bb0['titlePath']=()=>_0x2f9bb0['titlePathV'],_0x4f57ac[_0xbea67c(0x167)](_0x2f9bb0));}),_0x83618[_0x2b47e8(0x163)](_0x4f57ac[_0x2b47e8(0x16b)],0x0)&&(Base[_0x2b47e8(0x1a2)](),Base['consoleLog'](_0x83618[_0x2b47e8(0x1ec)](_0x5ac657),chalk[_0x2b47e8(0xfa)][_0x2b47e8(0x190)](_0x158050)),Base[_0x2b47e8(0x195)](_0x4f57ac));});}}}async function run(_0x5dd035,_0x182772){const _0x598089=a28_0xb8f00f,_0x77124a={'toCku':function(_0x9a04ad,_0x204bf6,_0x29bb99,_0x1f4e5f){return _0x9a04ad(_0x204bf6,_0x29bb99,_0x1f4e5f);},'SvKwU':_0x598089(0x132),'OcByh':_0x598089(0x10d),'zUHhn':_0x598089(0x15d),'GbEIa':function(_0x184cdf,_0x410b47,_0x3ef4c7,_0x46b0fb){return _0x184cdf(_0x410b47,_0x3ef4c7,_0x46b0fb);},'bdViY':_0x598089(0x106),'cRmOt':'--disable-test-observability','FvwjC':_0x598089(0x153),'TYRCe':function(_0x365f88,_0x2c054b){return _0x365f88!=_0x2c054b;},'IpfGr':'cjs','cNNeH':'mjs','HNqfT':_0x598089(0x1a7),'gkLPb':_0x598089(0x136),'bbccy':function(_0x320603,_0x5000df){return _0x320603(_0x5000df);},'DSila':function(_0x44dd2c,_0x418fe2,_0x1b145f){return _0x44dd2c(_0x418fe2,_0x1b145f);},'pKJvU':_0x598089(0x16c),'yIwtV':_0x598089(0x177),'xwbJB':'Now,\x20showing\x20logs\x20from\x20mocha','ALZNx':function(_0x37802a,_0x175074){return _0x37802a*_0x175074;},'IFLlV':function(_0x52f1c7,_0x1126a3){return _0x52f1c7(_0x1126a3);},'nitVm':function(_0x96f30d,_0x1563b3){return _0x96f30d!==_0x1563b3;},'OwFsa':function(_0x67ccc2,_0x10c511,_0x5969c7,_0xe0706f){return _0x67ccc2(_0x10c511,_0x5969c7,_0xe0706f);}};process[_0x598089(0x1e5)][_0x598089(0x133)](_0x77124a[_0x598089(0x1c9)])&&(process['env'][_0x598089(0x18a)]=![]);process[_0x598089(0x1e5)][_0x598089(0x133)](_0x77124a[_0x598089(0x125)])&&(process['env'][_0x598089(0x1dc)]=![]);const _0x41f14b=new BrowserStackSetup(_0x5dd035,_0x77124a['bdViY']);helper[_0x598089(0x1b9)]()?(await _0x41f14b[_0x598089(0x15b)](),await helper[_0x598089(0x154)](_0x41f14b[_0x598089(0x1e9)])):await _0x41f14b[_0x598089(0x126)]();const _0x3a87d5=[];let _0x4fc646=[];if(!_0x41f14b[_0x598089(0x1e9)])return;_0x77124a[_0x598089(0x142)](_0x41f14b[_0x598089(0x1e9)][_0x598089(0x13d)],null)&&(process['env'][_0x598089(0x1b8)]=_0x41f14b[_0x598089(0x1e9)]['testObservability']);!helper[_0x598089(0x1ce)](_0x41f14b[_0x598089(0x1e9)][_0x598089(0x165)])&&(process[_0x598089(0x13f)][_0x598089(0x14d)]=_0x41f14b[_0x598089(0x1e9)][_0x598089(0x165)]);!helper[_0x598089(0x1ce)](_0x41f14b['config']['accessibilityOptions'])&&(process[_0x598089(0x13f)][_0x598089(0x1a1)]=JSON[_0x598089(0x1a4)](_0x41f14b[_0x598089(0x1e9)][_0x598089(0x17a)]));const {extension:extension=['js',_0x77124a['IpfGr'],_0x77124a[_0x598089(0x102)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x77124a[_0x598089(0x1b4)]]}=_0x5dd035,_0x4e719f={..._0x5dd035};_0x4e719f[_0x598089(0x19f)]=null;const _0x7f0a9d=_0x4e719f;let _0x3bbd24;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x598089(0x121)]()){let _0x809ad4=process[_0x598089(0x13f)][_0x598089(0x139)];!helper[_0x598089(0x1ce)](_0x41f14b[_0x598089(0x158)])&&_0x41f14b[_0x598089(0x158)]['has'](_0x77124a[_0x598089(0x159)])&&(_0x809ad4=_0x41f14b[_0x598089(0x158)][_0x598089(0x1de)](_0x77124a[_0x598089(0x159)])),_0x3bbd24=testOpsHelper[_0x598089(0x1df)](_0x809ad4);}if(helper['isUndefined'](_0x3bbd24)){const _0x4236cc={};_0x4236cc[_0x598089(0x1ed)]=ignore,_0x4236cc['extension']=extension,_0x4236cc[_0x598089(0x11b)]=file,_0x4236cc['recursive']=recursive,_0x4236cc[_0x598089(0x111)]=sort,_0x4236cc['spec']=spec,_0x3bbd24=_0x77124a[_0x598089(0x1e4)](collectFiles,_0x4236cc),_0x77124a['DSila'](nestedKeyValue,_0x3bbd24,[_0x77124a['pKJvU']])&&(_0x3bbd24=_0x3bbd24[_0x598089(0x16c)]);}helper[_0x598089(0x13b)]();if(!helper['isBrowserstackInfra']()){const _0x2f9416=0x1,_0x7d4488={..._0x7f0a9d};_0x7d4488[_0x598089(0x1a3)]=[..._0x3bbd24],_0x3a87d5[_0x598089(0x167)]({'mochaOpts':_0x7d4488,'configuration':{'platform':os[_0x598089(0x1ea)]()}}),logger[_0x598089(0x116)](_0x77124a['yIwtV']),logger['info'](_0x77124a[_0x598089(0x1b3)]),_0x77124a['GbEIa'](parallelTestRun,_0x3a87d5,_0x2f9416,_0x41f14b)[_0x598089(0x10f)](_0x1a8abf=>{const _0x53b510=_0x598089;_0x77124a[_0x53b510(0x115)](printStats,_0x1a8abf,_0x5dd035[_0x53b510(0x1ca)],_0x5dd035[_0x53b510(0x19a)]||_0x5dd035[_0x77124a[_0x53b510(0x130)]]);})[_0x598089(0x16a)](()=>{const _0x532c57=_0x598089;try{const {browserstackFolderPath:_0x5716ba,tcgConfigPath:_0x5cf213}=helper['getTCGConfigFilePaths']();fs[_0x532c57(0x137)](_0x5cf213),fs[_0x532c57(0x124)](_0x5716ba);}catch(_0x50c185){logger[_0x532c57(0x1ba)](_0x77124a[_0x532c57(0x199)],_0x50c185);}try{utilities['fireFunnelTestEvent'](_0x77124a[_0x532c57(0x1d5)],{},_0x41f14b[_0x532c57(0x1e9)],_0x41f14b[_0x532c57(0x173)]);}catch(_0xe744af){logger[_0x532c57(0x1ba)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0xe744af);}try{helper['notifyUpdate']();}catch(_0x11a741){logger[_0x532c57(0x1ba)](_0x532c57(0x175)+_0x11a741);}testOpsHelper['printBuildLink']();});}else{const _0x43fc4f=helper[_0x598089(0x17f)](_0x41f14b[_0x598089(0x1e9)]),_0x20b0a3=helper[_0x598089(0x196)](_0x41f14b['config']);_0x4fc646=helper[_0x598089(0x183)](_0x41f14b[_0x598089(0x1e9)],_0x43fc4f,constants[_0x598089(0x1ab)]['MOCHA']);let _0x43545e;const _0x54aff8=_0x41f14b[_0x598089(0x1e9)][_0x598089(0x1d4)]||helper['getUserWorkerCount'](_0x5dd035,_0x182772,_0x41f14b['config'],constants[_0x598089(0x1ab)]['MOCHA'])||0x1;helper[_0x598089(0x15e)](_0x41f14b[_0x598089(0x1e9)])?_0x43545e=_0x77124a[_0x598089(0x187)](_0x41f14b['config'][_0x598089(0x101)]['length'],_0x54aff8):_0x43545e=_0x54aff8;const _0xfc1daf=_0x77124a[_0x598089(0x1bb)](getPercyOptions,_0x41f14b[_0x598089(0x1e9)]);if(_0x77124a['nitVm'](_0x41f14b[_0x598089(0x1e9)][_0x598089(0x1d4)],0x1))_0x3bbd24[_0x598089(0x107)](_0x44ac47=>{const _0x100fb7=_0x598089,_0x41a523=[];_0x4fc646['forEach']((_0x17e7ee,_0x337961)=>{const _0x3772a4=a28_0x1133,_0x4ba32={};_0x4ba32[_0x3772a4(0x1a3)]=[_0x44ac47],_0x41a523['push']({'mochaOpts':Object['assign']({},_0x7f0a9d,_0x4ba32),'configuration':{'server':_0x20b0a3,'capability':_0x17e7ee,'proxySettings':_0x41f14b['config'][_0x3772a4(0x18b)],'platform':helper[_0x3772a4(0x1a6)](_0x17e7ee),'browserStackLogLevel':_0x41f14b[_0x3772a4(0x1e9)][_0x3772a4(0x174)],'platformIndex':_0x337961,'browserStackPercyOptions':_0xfc1daf,'platformCaps':_0x41f14b[_0x3772a4(0x1e9)][_0x3772a4(0x101)][_0x337961]}});}),_0x3a87d5[_0x100fb7(0x167)](..._0x41a523);});else{const _0xbe3d77=[];_0x4fc646[_0x598089(0x107)]((_0x412449,_0x1c075d)=>{const _0x4ee9df=_0x598089;let _0x17a5e0=Object[_0x4ee9df(0x1d1)]({},_0x7f0a9d);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x4ee9df(0x121)]()&&(_0x17a5e0={..._0x17a5e0,'spec':[..._0x3bbd24]}),_0xbe3d77[_0x4ee9df(0x167)]({'mochaOpts':_0x17a5e0,'configuration':{'server':_0x20b0a3,'capability':_0x412449,'proxySettings':_0x41f14b[_0x4ee9df(0x1e9)][_0x4ee9df(0x18b)],'platform':helper[_0x4ee9df(0x1a6)](_0x412449),'browserStackLogLevel':_0x41f14b[_0x4ee9df(0x1e9)][_0x4ee9df(0x174)],'platformIndex':_0x1c075d,'browserStackPercyOptions':_0xfc1daf,'platformCaps':_0x41f14b['config'][_0x4ee9df(0x101)][_0x1c075d]}});}),_0x3a87d5[_0x598089(0x167)](..._0xbe3d77);}logger['info'](_0x598089(0x134)+_0x41f14b[_0x598089(0x1e9)]['platforms']['length']+_0x598089(0x127)),logger[_0x598089(0x116)](_0x77124a['xwbJB']);let _0x1d06c9;_0x77124a[_0x598089(0x19c)](parallelTestRun,_0x3a87d5,_0x43545e,_0x41f14b)[_0x598089(0x10f)](_0x9959fd=>{const _0x34d39c=_0x598089;_0x1d06c9=_0x9959fd,_0x77124a[_0x34d39c(0x193)](printStats,_0x9959fd,_0x5dd035[_0x34d39c(0x1ca)],_0x5dd035[_0x34d39c(0x19a)]||_0x5dd035[_0x77124a[_0x34d39c(0x130)]]);})[_0x598089(0x16a)](async()=>{const _0x21cc47=_0x598089;_0x41f14b[_0x21cc47(0x1e7)]=helper[_0x21cc47(0x1dd)](_0x1d06c9,_0x77124a[_0x21cc47(0x1cc)]),await utilities[_0x21cc47(0x1c0)](_0x41f14b),testOpsHelper[_0x21cc47(0x168)]();});}}module[a28_0xb8f00f(0x182)]=run;function a28_0x1ff9(){const _0x19394=['ALZNx','winstonLogger','vDBwd','BROWSERSTACK_TEST_OBSERVABILITY','proxySettings','ScHbY','aMaCZ','mocha/lib/reporters/base.js','showDiff','bgBlueBright','\x20failed','kAHUV','GbEIa','IvEST','list','getHubUrl','testcase','../../helpers/utilities','OcByh','reporterOptions','2142300nngbky','OwFsa','Tests:\x20\x20\x20\x20\x20\x20\x20','hpBeQ','rootHooks','GdQFD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','consoleLog','spec','stringify','chalk','getPlatformName','test','qAvhB','\x20total','rVKXh','FRAMEWORKS','uXand','WNyXV','772002GCsGAc','yKlDU','isPending','46NLvPim','qAZdu','xwbJB','HNqfT','GzxMM','toUTCString','testsPending','BROWSERSTACK_TEST_OBSERVABILITY_YML','isBrowserstackInfra','debug','IFLlV','Writing\x20json\x20result\x20to\x20file','PKejN','solmk','totalTests','finalExecution','yellow','map','suiteName','testsPassed','testSuites','json','../../helpers/test-observability/utils','../../helpers/logger','cRmOt','reporter','\x0a\x0a\x0a','bdViY','log','isUndefined','zlQix','Writing\x20xunit\x20result\x20to\x20file','assign','min','3116544pVpOqn','parallelsPerPlatform','zUHhn','failures','SmwJh','skipped','8818uyKIVa','ZJtFX','error','BROWSERSTACK_AUTOMATION','getErrorMessageFromResults','get','parseFileNames','oYqyp','err','../utils/constants','QFMlC','bbccy','argv','Couldn\x27t\x20write\x20json\x20result\x20to','errorMessage','eQNRT','config','platform','failed','dhCmJ','ignore','bold','KPabv','pLCwZ','AcNPX','bgRedBright','Setting\x20non\x20exit\x20code\x20for\x20failures','stack','platforms','cNNeH','generateDiff','zRUzQ','xUYHT','mocha','forEach','writeFileSync','\x20skipped','actual','LHnvv','PyYxS','error\x20removing\x20tcg\x20config\x20file','red','then','JUbuZ','sort','503355TVJABw','KSoSa','fFeIh','toCku','info','pending','Total\x20Platforms:\x20','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','mJRPQ','file','useColors','Couldn\x27t\x20write\x20xunit\x20result\x20to','size','doc','ryCXd','shouldReRunObservabilityTests','join','prototype','rmdirSync','FvwjC','setupTCGAuth','\x20platforms','currentRetry','euNoE','NastP','Total\x20Suites:\x20','speed','output','title','zNRyd','SvKwU','state','reporter-option','includes','Running\x20your\x20mocha\x20tests\x20across\x20','OZFci','rerunTests','unlinkSync','cwJWx','BROWSERSTACK_RERUN_TESTS','PlwiT','markSDKSetupComplete','xoWJL','testObservability','KWXyZ','env','add','RLbMd','TYRCe','zwCCl','duration','mocha/lib/cli/collect-files.js','lVyhI','vnCqR','NJxrb','QVkxk','bIylB','passed','../../helpers/percy/utils','BROWSERSTACK_TEST_ACCESSIBILITY_YML','YXUBg','BnhDy','muxAC','oZbyW','rgdVf','--disable-browserstack-automation','handleApp','hEflf','WiYRj','wzKeu','cliConfig','gkLPb','call','initialize','Listing\x20all\x20the\x20failures','SDKTestSuccessful','validPlatformsPresent','jJkQj','IkNme','object','EhYTc','ZleYO','UTJWC','accessibility','FYuYN','push','printBuildLink','</testsuite>','finally','length','files','terrj','keys','testsuite','bQtxs','Printing\x20stats\x20of\x20tests','passes','framework','logLevel','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','fullTitle','Running\x20your\x20mocha\x20tests','sDpxH','results','accessibilityOptions','1336530nUzPcj','onYVj','indexOf','testsFailed','useW3C','EEPwU','taRAU','exports','prepareCapabilities','727476trihqU','hideDiff','WLkbt'];a28_0x1ff9=function(){return _0x19394;};return a28_0x1ff9();}
|