browserstack-node-sdk 1.34.51 → 1.34.53
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/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.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/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.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/metadata.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/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.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
|
-
function
|
|
1
|
+
function a23_0x4785(){const _0x100ad2=['9caFtQO','homedir','tests','setTestUUID','recursive','readFileSync','toString','814070dNIbad','getTestData','mkdirSync','.json','NeSzz','uuid','FKlmA','getFilePath','removeTestUUID','273eozDXI','setTestData','IXtpo','getTestUUID','ekjvg','BROWSERSTACK_TESTHUB_UUID','537862sbSYyf','unlinkSync','16788pVXWVK','jest-o11y-','_test','.browserstack','parse','rmSync','TPSbB','PvJws','exports','285652VnyElB','ZFEvF','76515fNlLIb','NsWCf','env','dirPath','retry','testData.json','existsSync','648576ENvdxe','../../../helpers/helper','stringify','shutdown','2070664LriXmn','join'];a23_0x4785=function(){return _0x100ad2;};return a23_0x4785();}function a23_0x77e7(_0x1e32f6,_0x373385){const _0x478507=a23_0x4785();return a23_0x77e7=function(_0x77e718,_0x70ecd4){_0x77e718=_0x77e718-0x177;let _0x280c29=_0x478507[_0x77e718];return _0x280c29;},a23_0x77e7(_0x1e32f6,_0x373385);}const a23_0x554117=a23_0x77e7;(function(_0x4c7825,_0x3325db){const _0x2cef65=a23_0x77e7,_0x3e2043=_0x4c7825();while(!![]){try{const _0x3b8800=parseInt(_0x2cef65(0x18c))/0x1+parseInt(_0x2cef65(0x17f))/0x2+-parseInt(_0x2cef65(0x199))/0x3*(parseInt(_0x2cef65(0x18a))/0x4)+parseInt(_0x2cef65(0x1a0))/0x5+-parseInt(_0x2cef65(0x181))/0x6*(parseInt(_0x2cef65(0x179))/0x7)+parseInt(_0x2cef65(0x197))/0x8+-parseInt(_0x2cef65(0x193))/0x9;if(_0x3b8800===_0x3325db)break;else _0x3e2043['push'](_0x3e2043['shift']());}catch(_0x496c5b){_0x3e2043['push'](_0x3e2043['shift']());}}}(a23_0x4785,0x5abd4));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a23_0x554117(0x1a5)),helper=require(a23_0x554117(0x194)),testHubConstants=require('../../../helpers/testhub/constants');class TestDetails{static [a23_0x554117(0x19b)]={};static [a23_0x554117(0x18f)]=path[a23_0x554117(0x198)](helper[a23_0x554117(0x19a)](),a23_0x554117(0x184),a23_0x554117(0x182)+process[a23_0x554117(0x18e)][testHubConstants['ENV_VAR'][a23_0x554117(0x17e)]]);static['setup'](){const _0x38c64b=a23_0x554117,_0x10071b={};_0x10071b['PvJws']=_0x38c64b(0x184);const _0x32d2ef=_0x10071b;this['dirPath']=path[_0x38c64b(0x198)](helper['homedir'](),_0x32d2ef[_0x38c64b(0x188)],_0x38c64b(0x182)+process[_0x38c64b(0x18e)][testHubConstants['ENV_VAR'][_0x38c64b(0x17e)]]),this[_0x38c64b(0x196)]();const _0x4f1baa={};_0x4f1baa[_0x38c64b(0x19d)]=!![],fs[_0x38c64b(0x1a2)](this[_0x38c64b(0x18f)],_0x4f1baa);}static[a23_0x554117(0x177)](_0x225f7b){const _0x69e24a=a23_0x554117,_0xfef685={};_0xfef685[_0x69e24a(0x1a4)]=function(_0x1d4e64,_0x4b9c18){return _0x1d4e64+_0x4b9c18;},_0xfef685[_0x69e24a(0x18b)]=_0x69e24a(0x1a3);const _0x1af530=_0xfef685;return path[_0x69e24a(0x198)](this[_0x69e24a(0x18f)],_0x1af530[_0x69e24a(0x1a4)](_0x225f7b,_0x1af530['ZFEvF']));}static['getTestRunIdFromTestInfo'](_0x21cceb){const _0x2038a0=a23_0x554117,_0x6443b8={};_0x6443b8['ekjvg']=function(_0x417b1f,_0x202733){return _0x417b1f+_0x202733;},_0x6443b8['IXtpo']=function(_0xdfd3ad,_0x295cf6){return _0xdfd3ad+_0x295cf6;};const _0x306396=_0x6443b8;return _0x306396[_0x2038a0(0x17d)](_0x306396[_0x2038a0(0x17d)](_0x306396['IXtpo'](_0x306396[_0x2038a0(0x17b)](_0x21cceb[_0x2038a0(0x183)]['_projectId'],'-'),_0x21cceb['_test']['id']),'-'),_0x21cceb[_0x2038a0(0x190)]);}static[a23_0x554117(0x17c)](_0xd1cb4){const _0x268534=a23_0x554117,_0x1db3a7=this['getFilePath'](_0xd1cb4);if(fs['existsSync'](_0x1db3a7)){const _0x2c03a4=JSON[_0x268534(0x185)](fs[_0x268534(0x19e)](_0x1db3a7)[_0x268534(0x19f)]());return this[_0x268534(0x19b)][_0xd1cb4]=_0x2c03a4,this['tests'][_0xd1cb4][_0x268534(0x1a5)];}}static[a23_0x554117(0x17a)](_0x305ff1){const _0x3004ac=a23_0x554117,_0x2f6b17={};_0x2f6b17[_0x3004ac(0x18d)]=_0x3004ac(0x191);const _0x53c3f5=_0x2f6b17,_0x64c06=path[_0x3004ac(0x198)](this[_0x3004ac(0x18f)],_0x53c3f5[_0x3004ac(0x18d)]);fs['writeFileSync'](_0x64c06,JSON[_0x3004ac(0x195)](_0x305ff1));}static[a23_0x554117(0x1a1)](){const _0x474aa6=a23_0x554117,_0x134124={};_0x134124[_0x474aa6(0x187)]=_0x474aa6(0x191);const _0x201617=_0x134124,_0x1f4a6a=path[_0x474aa6(0x198)](this[_0x474aa6(0x18f)],_0x201617[_0x474aa6(0x187)]);let _0x39fd0a={};try{return _0x1f4a6a&&fs['existsSync'](_0x1f4a6a)&&(_0x39fd0a=JSON['parse'](fs[_0x474aa6(0x19e)](_0x1f4a6a)[_0x474aa6(0x19f)]())),_0x39fd0a;}catch(_0xc8b3a8){return _0x39fd0a;}}static[a23_0x554117(0x19c)](_0x2b9281){const _0x1271a8=a23_0x554117,_0x1cbce3={'FKlmA':function(_0x598fe0){return _0x598fe0();}},_0x1763be=this[_0x1271a8(0x177)](_0x2b9281);return this[_0x1271a8(0x19b)][_0x2b9281]={'uuid':_0x1cbce3[_0x1271a8(0x1a6)](uuidv4)},fs['writeFileSync'](_0x1763be,JSON[_0x1271a8(0x195)](this[_0x1271a8(0x19b)][_0x2b9281])),this[_0x1271a8(0x19b)][_0x2b9281][_0x1271a8(0x1a5)];}static[a23_0x554117(0x178)](_0x5173ef){const _0xbffa0c=a23_0x554117,_0x4936fc=this['getFilePath'](_0x5173ef);_0x4936fc&&(fs[_0xbffa0c(0x192)](_0x4936fc)&&fs[_0xbffa0c(0x180)](_0x4936fc));}static['shutdown'](){const _0x27aefb=a23_0x554117,_0x57d21d={};_0x57d21d[_0x27aefb(0x19d)]=!![],_0x57d21d['force']=!![],fs[_0x27aefb(0x186)](this['dirPath'],_0x57d21d);}}module[a23_0x554117(0x189)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a24_0x4d9e6b=a24_0xb267;(function(_0x1e17ec,_0x33b193){const _0x413a47=a24_0xb267,_0xc9fd7b=_0x1e17ec();while(!![]){try{const _0x10b80c=parseInt(_0x413a47(0xd2))/0x1+-parseInt(_0x413a47(0xdc))/0x2*(-parseInt(_0x413a47(0xd7))/0x3)+parseInt(_0x413a47(0xd3))/0x4*(-parseInt(_0x413a47(0xdb))/0x5)+-parseInt(_0x413a47(0xd1))/0x6*(parseInt(_0x413a47(0xd6))/0x7)+-parseInt(_0x413a47(0xde))/0x8*(parseInt(_0x413a47(0xd8))/0x9)+-parseInt(_0x413a47(0xd5))/0xa+-parseInt(_0x413a47(0xd9))/0xb*(-parseInt(_0x413a47(0xda))/0xc);if(_0x10b80c===_0x33b193)break;else _0xc9fd7b['push'](_0xc9fd7b['shift']());}catch(_0x1533e3){_0xc9fd7b['push'](_0xc9fd7b['shift']());}}}(a24_0xb80d,0xa7d18));const {requireModule}=require(a24_0x4d9e6b(0xe0));function a24_0xb267(_0x23d576,_0x2a468d){const _0xb80d40=a24_0xb80d();return a24_0xb267=function(_0xb26712,_0x35b87a){_0xb26712=_0xb26712-0xd0;let _0x16ed5e=_0xb80d40[_0xb26712];return _0x16ed5e;},a24_0xb267(_0x23d576,_0x2a468d);}function a24_0xb80d(){const _0x419bb7=['__webdriver','6032MYgeUq','../../helpers/setKeepAlive','../../helpers/helper','selenium-webdriver','939270HKzmvR','154870FHKXyR','1183828AZsHjs','keys','325160bQEojh','42JxldMs','1032918KoqvfV','8109BYJYsO','77011BuJjTL','3660bPzotq','5RgeXjg','2sXIJvJ'];a24_0xb80d=function(){return _0x419bb7;};return a24_0xb80d();}require(a24_0x4d9e6b(0xdf))();const __wd__=requireModule(a24_0x4d9e6b(0xd0));for(const key of Object[a24_0x4d9e6b(0xd4)](global[a24_0x4d9e6b(0xdd)])){__wd__[key]=global[a24_0x4d9e6b(0xdd)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x20c510=a25_0xb1e5;(function(_0x29c11a,_0x726c13){const _0x34fd0c=a25_0xb1e5,_0x2e21b1=_0x29c11a();while(!![]){try{const _0x1dbfe6=parseInt(_0x34fd0c(0xcc))/0x1+parseInt(_0x34fd0c(0xe1))/0x2*(parseInt(_0x34fd0c(0xc7))/0x3)+-parseInt(_0x34fd0c(0xd5))/0x4*(parseInt(_0x34fd0c(0xdf))/0x5)+parseInt(_0x34fd0c(0xe8))/0x6*(-parseInt(_0x34fd0c(0xd1))/0x7)+parseInt(_0x34fd0c(0xc4))/0x8*(-parseInt(_0x34fd0c(0xeb))/0x9)+-parseInt(_0x34fd0c(0xcd))/0xa*(-parseInt(_0x34fd0c(0xe0))/0xb)+parseInt(_0x34fd0c(0xe2))/0xc*(parseInt(_0x34fd0c(0xd7))/0xd);if(_0x1dbfe6===_0x726c13)break;else _0x2e21b1['push'](_0x2e21b1['shift']());}catch(_0x35a4fe){_0x2e21b1['push'](_0x2e21b1['shift']());}}}(a25_0x1b77,0x5846d));const path=require(a25_0x20c510(0xc8)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x20c510(0xd3)),constants=require(a25_0x20c510(0xe3)),{isAccessibilityAutomationSession}=require(a25_0x20c510(0xe9)),RequestQueueHandler=require(a25_0x20c510(0xca)),{isTestObservabilitySession}=require(a25_0x20c510(0xc5)),helper=require(a25_0x20c510(0xd3)),PerformanceTester=require(a25_0x20c510(0xde)),PerformanceEvents=require(a25_0x20c510(0xcf))[a25_0x20c510(0xc9)],{commandRepository}=require(a25_0x20c510(0xc1));class Launcher{constructor(_0x466d35,_0x14e6e8,_0x4e62f4,_0x1f8869=[]){const _0x2c0076=a25_0x20c510,_0x2a7c8b={'NPjLv':'15|6|9|0|16|11|18|10|7|3|8|5|12|21|1|14|19|22|23|13|17|20|4|2','dEJoh':function(_0x4ec68b){return _0x4ec68b();}},_0x3dbddf=_0x2a7c8b[_0x2c0076(0xef)][_0x2c0076(0xf0)]('|');let _0x59e0ef=0x0;while(!![]){switch(_0x3dbddf[_0x59e0ef++]){case'0':this[_0x2c0076(0xdd)]=_0x14e6e8[_0x2c0076(0xd0)];continue;case'1':global[_0x2c0076(0xe6)]=0x0;continue;case'2':!constants[_0x2c0076(0xe4)][_0x2c0076(0xcb)](_0x466d35)&&(commandRepository[_0x2c0076(0xea)](_0x4e62f4),commandRepository[_0x2c0076(0xda)](_0x466d35));continue;case'3':this[_0x2c0076(0xd8)]=_0x2a7c8b[_0x2c0076(0xbe)](isTestObservabilitySession);continue;case'4':global[_0x2c0076(0xc3)]={};continue;case'5':global['__platformCaps']=this['_configuration']['platformCaps']||{};continue;case'6':this[_0x2c0076(0xbd)]=_0x14e6e8['configuration']||{};continue;case'7':this[_0x2c0076(0xd9)]=_0x4e62f4;continue;case'8':this[_0x2c0076(0xc0)]=_0x2a7c8b['dEJoh'](isAccessibilityAutomationSession);continue;case'9':this[_0x2c0076(0xbd)]['framework']=_0x466d35;continue;case'10':this['_argv']=_0x1f8869;continue;case'11':this['_capability']=this['_configuration']['capability'];continue;case'12':global[_0x2c0076(0xd6)]=0x0;continue;case'13':global[_0x2c0076(0xd2)]=0x0;continue;case'14':global[_0x2c0076(0xce)]=0x0;continue;case'15':this[_0x2c0076(0xd4)]=_0x466d35;continue;case'16':this[_0x2c0076(0xc6)]=_0x14e6e8['formatter'];continue;case'17':global[_0x2c0076(0xe7)]=0x0;continue;case'18':global[_0x2c0076(0xdc)]=this[_0x2c0076(0xbd)][_0x2c0076(0xbf)];continue;case'19':global[_0x2c0076(0xe5)]=0x0;continue;case'20':global['testsAmbiguous']=0x0;continue;case'21':global[_0x2c0076(0xec)]=0x0;continue;case'22':global[_0x2c0076(0xed)]=0x0;continue;case'23':global[_0x2c0076(0xee)]=0x0;continue;}break;}}[a25_0x20c510(0xc2)](_0x4ecf7e,_0x5aebfa,_0x2532dc){const _0x53518f=a25_0x20c510,_0x5766d7=_0x4ecf7e[_0x53518f(0xdb)];_0x4ecf7e.resolvePaths=async function(){const pathResults=await _0x5766d7.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2532dc));return pathResults;},_0x5aebfa.push('--format'),_0x5aebfa.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}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);}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={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}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','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');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','@cucumber/cucumber').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','cucumber').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'){global.capabilities=[this._capability];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_0xb1e5(_0x407e9b,_0x29491f){const _0x1b77d5=a25_0x1b77();return a25_0xb1e5=function(_0xb1e5b,_0x4b1716){_0xb1e5b=_0xb1e5b-0xbd;let _0x98b59d=_0x1b77d5[_0xb1e5b];return _0x98b59d;},a25_0xb1e5(_0x407e9b,_0x29491f);}function a25_0x1b77(){const _0x2ea138=['_mochaOpts','../../helpers/performance/performance-tester','5twjvaG','44mRbVqq','124hUfEwo','2100WJaIVs','../utils/constants','AI_ENABLED_FRAMEWORK','testsPending','testsPassed','testsUnknown','12nYPCgN','../../helpers/accessibility-automation/helper','setConfig','54LDwPXE','totalTests','testsSkipped','testSuitesFailed','NPjLv','split','_configuration','dEJoh','platform','_accessibilityAutomation','../../helpers/ai-sdk/autoHealHelper','setupCucumber','testsErrorMessage','269072fJNnAa','../../helpers/test-observability/utils','_formatter','24369LCYtSK','path','EVENTS','../../helpers/test-observability/requestQueueHandler','includes','412230iTAYci','352270EHxCQN','testsFailed','../../helpers/performance/constants','mochaOpts','348334fXSWyT','testsUndefined','../../helpers/helper','_framework','2225720Szqkjl','testSuites','12077LpzQvU','_testObservability','_bsConfig','setFramework','resolvePaths','__platform__'];a25_0x1b77=function(){return _0x2ea138;};return a25_0x1b77();}module.exports=Launcher;
|
|
1
|
+
const a25_0x2e9558=a25_0x4559;(function(_0x242e40,_0x5414ca){const _0x44abdf=a25_0x4559,_0x4c67a5=_0x242e40();while(!![]){try{const _0x2dc9a8=-parseInt(_0x44abdf(0x16a))/0x1+parseInt(_0x44abdf(0x16b))/0x2*(-parseInt(_0x44abdf(0x178))/0x3)+-parseInt(_0x44abdf(0x160))/0x4*(parseInt(_0x44abdf(0x166))/0x5)+parseInt(_0x44abdf(0x186))/0x6*(-parseInt(_0x44abdf(0x191))/0x7)+parseInt(_0x44abdf(0x161))/0x8*(parseInt(_0x44abdf(0x190))/0x9)+-parseInt(_0x44abdf(0x183))/0xa*(-parseInt(_0x44abdf(0x18f))/0xb)+parseInt(_0x44abdf(0x18e))/0xc*(parseInt(_0x44abdf(0x193))/0xd);if(_0x2dc9a8===_0x5414ca)break;else _0x4c67a5['push'](_0x4c67a5['shift']());}catch(_0x3b028d){_0x4c67a5['push'](_0x4c67a5['shift']());}}}(a25_0x1ca6,0xcd6a7));const path=require(a25_0x2e9558(0x196)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x2e9558(0x194)),constants=require(a25_0x2e9558(0x18d)),{isAccessibilityAutomationSession}=require(a25_0x2e9558(0x163)),RequestQueueHandler=require(a25_0x2e9558(0x168)),{isTestObservabilitySession}=require(a25_0x2e9558(0x164)),helper=require(a25_0x2e9558(0x194)),PerformanceTester=require(a25_0x2e9558(0x170)),PerformanceEvents=require('../../helpers/performance/constants')[a25_0x2e9558(0x17f)],{commandRepository}=require(a25_0x2e9558(0x176));class Launcher{constructor(_0xf8971c,_0x280738,_0x40f106,_0x3e4531=[]){const _0x4ff654=a25_0x2e9558,_0x2a5e1f={'ZUwpl':_0x4ff654(0x184),'IDIbW':function(_0x377299){return _0x377299();},'kgTPP':function(_0x1395db){return _0x1395db();}},_0x2bb688=_0x2a5e1f[_0x4ff654(0x179)][_0x4ff654(0x17b)]('|');let _0x538147=0x0;while(!![]){switch(_0x2bb688[_0x538147++]){case'0':global[_0x4ff654(0x17a)]=0x0;continue;case'1':global[_0x4ff654(0x171)]={};continue;case'2':this[_0x4ff654(0x167)]=_0x2a5e1f[_0x4ff654(0x187)](isTestObservabilitySession);continue;case'3':this[_0x4ff654(0x18b)]=_0x280738[_0x4ff654(0x185)]||{};continue;case'4':this[_0x4ff654(0x18b)][_0x4ff654(0x177)]=_0xf8971c;continue;case'5':global[_0x4ff654(0x17c)]=0x0;continue;case'6':global[_0x4ff654(0x16f)]=this['_configuration'][_0x4ff654(0x169)]||{};continue;case'7':this[_0x4ff654(0x175)]=this['_configuration'][_0x4ff654(0x181)];continue;case'8':this[_0x4ff654(0x182)]=_0x280738['mochaOpts'];continue;case'9':this[_0x4ff654(0x192)]=_0x2a5e1f[_0x4ff654(0x195)](isAccessibilityAutomationSession);continue;case'10':!constants[_0x4ff654(0x197)]['includes'](_0xf8971c)&&(commandRepository[_0x4ff654(0x17e)](_0x40f106),commandRepository[_0x4ff654(0x173)](_0xf8971c));continue;case'11':this['_bsConfig']=_0x40f106;continue;case'12':global[_0x4ff654(0x165)]=0x0;continue;case'13':global['testsUndefined']=0x0;continue;case'14':global[_0x4ff654(0x18a)]=this[_0x4ff654(0x18b)][_0x4ff654(0x172)];continue;case'15':global['testSuites']=0x0;continue;case'16':global[_0x4ff654(0x162)]=0x0;continue;case'17':this[_0x4ff654(0x174)]=_0x280738[_0x4ff654(0x17d)];continue;case'18':global[_0x4ff654(0x16c)]=0x0;continue;case'19':global[_0x4ff654(0x189)]=0x0;continue;case'20':this[_0x4ff654(0x16d)]=_0x3e4531;continue;case'21':global[_0x4ff654(0x188)]=0x0;continue;case'22':this[_0x4ff654(0x18c)]=_0xf8971c;continue;case'23':global[_0x4ff654(0x16e)]=0x0;continue;}break;}}[a25_0x2e9558(0x15f)](_0x260b32,_0x2c79ca,_0x26a727){const _0x4a0363=a25_0x2e9558,_0x2a62f0=_0x260b32[_0x4a0363(0x180)];_0x260b32.resolvePaths=async function(){const pathResults=await _0x2a62f0.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x26a727));return pathResults;},_0x2c79ca.push('--format'),_0x2c79ca.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}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);}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={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}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','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');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','@cucumber/cucumber').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','cucumber').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'){global.capabilities=[this._capability];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_0x4559(_0x2fa63f,_0x357986){const _0x1ca6cc=a25_0x1ca6();return a25_0x4559=function(_0x45591a,_0x4a3a4d){_0x45591a=_0x45591a-0x15f;let _0x17e78b=_0x1ca6cc[_0x45591a];return _0x17e78b;},a25_0x4559(_0x2fa63f,_0x357986);}function a25_0x1ca6(){const _0x518888=['capability','_mochaOpts','10UIoHoQ','22|3|4|8|17|7|14|20|11|2|9|6|15|12|23|0|5|16|18|13|19|21|1|10','configuration','120VOtfGe','IDIbW','testsAmbiguous','testsUnknown','__platform__','_configuration','_framework','../utils/constants','13320qLFsFo','14046978TXQuZS','36ftLnsy','273028KNEScy','_accessibilityAutomation','35009kofyVz','../../helpers/helper','kgTPP','path','AI_ENABLED_FRAMEWORK','setupCucumber','5087780fzQxki','361408ObjIft','testsSkipped','../../helpers/accessibility-automation/helper','../../helpers/test-observability/utils','totalTests','5nnHSTC','_testObservability','../../helpers/test-observability/requestQueueHandler','platformCaps','1398255ikJipx','2HuRdWH','testSuitesFailed','_argv','testsPassed','__platformCaps','../../helpers/performance/performance-tester','testsErrorMessage','platform','setFramework','_formatter','_capability','../../helpers/ai-sdk/autoHealHelper','framework','465807AKEbSl','ZUwpl','testsFailed','split','testsPending','formatter','setConfig','EVENTS','resolvePaths'];a25_0x1ca6=function(){return _0x518888;};return a25_0x1ca6();}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x45de8d=a26_0x4ce4;function a26_0x4ce4(_0xb52540,_0x57f679){const _0x2f3805=a26_0x2f38();return a26_0x4ce4=function(_0x4ce4ec,_0xe69064){_0x4ce4ec=_0x4ce4ec-0x156;let _0x54b58d=_0x2f3805[_0x4ce4ec];return _0x54b58d;},a26_0x4ce4(_0xb52540,_0x57f679);}(function(_0x235742,_0x43781b){const _0x42f8f4=a26_0x4ce4,_0x2a29d6=_0x235742();while(!![]){try{const _0x409471=-parseInt(_0x42f8f4(0x1a2))/0x1+-parseInt(_0x42f8f4(0x19a))/0x2*(-parseInt(_0x42f8f4(0x1a1))/0x3)+parseInt(_0x42f8f4(0x17c))/0x4+parseInt(_0x42f8f4(0x186))/0x5*(parseInt(_0x42f8f4(0x191))/0x6)+parseInt(_0x42f8f4(0x160))/0x7+parseInt(_0x42f8f4(0x16e))/0x8+parseInt(_0x42f8f4(0x173))/0x9*(-parseInt(_0x42f8f4(0x159))/0xa);if(_0x409471===_0x43781b)break;else _0x2a29d6['push'](_0x2a29d6['shift']());}catch(_0x1bcc37){_0x2a29d6['push'](_0x2a29d6['shift']());}}}(a26_0x2f38,0xbb00b));const path=require(a26_0x45de8d(0x15a)),os=require('os'),util=require(a26_0x45de8d(0x15d)),bsSetupHelper=require(a26_0x45de8d(0x18b)),globals=require(a26_0x45de8d(0x198)),logger=require('../../../helpers/logger')[a26_0x45de8d(0x19f)];exports[a26_0x45de8d(0x177)]=_0x70dee4=>{const _0x1148e4=a26_0x45de8d,_0x31fc81={};_0x31fc81[_0x1148e4(0x194)]=_0x1148e4(0x168),_0x31fc81[_0x1148e4(0x18c)]=_0x1148e4(0x16a),_0x31fc81[_0x1148e4(0x15f)]='isAccessibilityPlatform',_0x31fc81[_0x1148e4(0x16f)]='browserstack.accessibilityOptions';const _0x554538=_0x31fc81;try{const _0x7c2162=_0x70dee4[_0x1148e4(0x16c)]||{};if(_0x7c2162[_0x554538[_0x1148e4(0x194)]]&&_0x7c2162[_0x554538[_0x1148e4(0x194)]]['accessibility']||_0x70dee4[_0x1148e4(0x16c)][_0x554538[_0x1148e4(0x18c)]]){globals['setGlobal'](_0x554538[_0x1148e4(0x15f)],!![]);if(_0x7c2162[_0x554538[_0x1148e4(0x194)]]){if(_0x7c2162[_0x554538[_0x1148e4(0x194)]]['accessibilityOptions'])_0x7c2162[_0x554538['rbZAa']][_0x1148e4(0x18f)][_0x1148e4(0x164)]=process[_0x1148e4(0x163)][_0x1148e4(0x1a3)];else{const _0x53dc04={};_0x53dc04['authToken']=process[_0x1148e4(0x163)]['BS_A11Y_JWT'],_0x7c2162[_0x554538[_0x1148e4(0x194)]][_0x1148e4(0x18f)]=_0x53dc04;}_0x7c2162[_0x554538['rbZAa']][_0x1148e4(0x18f)][_0x1148e4(0x1a4)]=JSON[_0x1148e4(0x170)](process['env'][_0x1148e4(0x15b)])[_0x1148e4(0x1a4)];}else{if(_0x70dee4[_0x1148e4(0x16c)][_0x554538['pVmEM']]){if(_0x7c2162[_0x554538[_0x1148e4(0x16f)]])_0x7c2162[_0x554538['NrfxW']]['authToken']=process['env']['BS_A11Y_JWT'];else{const _0x56f4b4={};_0x56f4b4['authToken']=process['env']['BS_A11Y_JWT'],_0x7c2162[_0x554538[_0x1148e4(0x16f)]]=_0x56f4b4;}_0x7c2162[_0x554538['NrfxW']][_0x1148e4(0x1a4)]=JSON[_0x1148e4(0x170)](process[_0x1148e4(0x163)][_0x1148e4(0x15b)])[_0x1148e4(0x1a4)];}}}}catch(_0x63e7b6){logger['debug'](_0x1148e4(0x1a6)+_0x63e7b6);}},exports[a26_0x45de8d(0x178)]=(_0x2e03a8,_0x5b1583)=>{const _0x3db226=a26_0x45de8d,_0x221dc2={};_0x221dc2[_0x3db226(0x196)]=_0x3db226(0x168),_0x221dc2[_0x3db226(0x182)]=function(_0x2d9e43,_0x24baee){return _0x2d9e43!==_0x24baee;},_0x221dc2[_0x3db226(0x195)]=_0x3db226(0x190),_0x221dc2[_0x3db226(0x175)]=function(_0x19de44,_0x557910){return _0x19de44!==_0x557910;},_0x221dc2[_0x3db226(0x156)]='chrome',_0x221dc2[_0x3db226(0x15c)]=_0x3db226(0x172),_0x221dc2[_0x3db226(0x19b)]=function(_0x599281,_0x4faed3){return _0x599281===_0x4faed3;},_0x221dc2['farzy']=_0x3db226(0x1a0),_0x221dc2[_0x3db226(0x188)]=function(_0x43b02f,_0x252a50){return _0x43b02f>_0x252a50;},_0x221dc2[_0x3db226(0x17f)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x221dc2[_0x3db226(0x16b)]=_0x3db226(0x187),_0x221dc2['LxnIY']='selenium-webdriver',_0x221dc2[_0x3db226(0x18e)]=_0x3db226(0x174),_0x221dc2[_0x3db226(0x19c)]=_0x3db226(0x197),_0x221dc2['tJDcC']='chromeOptions',_0x221dc2[_0x3db226(0x185)]=_0x3db226(0x184),_0x221dc2[_0x3db226(0x16d)]=_0x3db226(0x199);const _0x3ea0e5=_0x221dc2;try{const _0x2013c5=_0x5b1583[_0x3db226(0x16c)]||{},_0x224c37=(_0x2013c5[_0x3ea0e5[_0x3db226(0x196)]]?_0x2013c5[_0x3ea0e5[_0x3db226(0x196)]][_0x3db226(0x167)]:_0x2013c5[_0x3db226(0x193)])||'';if(_0x3ea0e5['hWXSA'](_0x224c37,''))return logger[_0x3db226(0x169)](_0x3ea0e5[_0x3db226(0x195)]),![];const _0x4c978b=_0x2013c5[_0x3db226(0x18d)]||_0x2e03a8['capabilities_']['getBrowserName']();if(_0x3ea0e5['Kghkg'](_0x4c978b[_0x3db226(0x18a)](),_0x3ea0e5[_0x3db226(0x156)]))return logger['warn'](_0x3ea0e5[_0x3db226(0x15c)]),![];const _0x48b182=_0x2013c5[_0x3db226(0x166)]||_0x2013c5[_0x3db226(0x161)]||_0x2e03a8[_0x3db226(0x158)][_0x3db226(0x1a7)]();if(!bsSetupHelper[_0x3db226(0x1a5)](_0x48b182)&&!(_0x3ea0e5[_0x3db226(0x19b)](_0x48b182,_0x3ea0e5[_0x3db226(0x192)])||_0x3ea0e5[_0x3db226(0x188)](_0x48b182,0x5e)))return logger[_0x3db226(0x169)](_0x3ea0e5[_0x3db226(0x17f)]),![];let _0x44f779;try{_0x44f779=bsSetupHelper[_0x3db226(0x181)](_0x3ea0e5[_0x3db226(0x16b)],_0x3ea0e5[_0x3db226(0x183)]);}catch(_0x536e37){return![];}const _0x442f91=new _0x44f779[(_0x3db226(0x15e))](_0x2e03a8[_0x3db226(0x189)]),_0x224d02=bsSetupHelper[_0x3db226(0x19e)](_0x442f91,[_0x3ea0e5[_0x3db226(0x18e)],_0x3ea0e5[_0x3db226(0x19c)]])||bsSetupHelper[_0x3db226(0x19e)](_0x2e03a8[_0x3db226(0x158)][_0x3db226(0x162)](_0x3ea0e5['bevaA']),[_0x3ea0e5[_0x3db226(0x176)],_0x3ea0e5['ZFFOK']])||bsSetupHelper['nestedKeyValue'](_0x2e03a8['capabilities_'][_0x3db226(0x162)](_0x3ea0e5['tJDcC']),[_0x3ea0e5[_0x3db226(0x19c)]])||[];if(_0x224d02['includes'](_0x3ea0e5['hseNi']))return logger[_0x3db226(0x169)](_0x3ea0e5['CsYyR']),![];return!![];}catch(_0x3b9f08){logger[_0x3db226(0x17d)](_0x3db226(0x17a)+util[_0x3db226(0x17e)](_0x3b9f08));}return![];},exports['fetchPlatformDetails']=async _0x17d55b=>{const _0x5ab043=a26_0x45de8d,_0x230547={};_0x230547['JHYjH']=function(_0xc3a5da,_0xe38384){return _0xc3a5da===_0xe38384;},_0x230547[_0x5ab043(0x157)]=_0x5ab043(0x19d);const _0x31fe36=_0x230547;let _0x2a6bd2={};try{const _0x29cf24=await _0x17d55b[_0x5ab043(0x171)]();_0x2a6bd2={'os_name':_0x29cf24[_0x5ab043(0x180)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x31fe36[_0x5ab043(0x165)](global[_0x5ab043(0x17b)],_0x31fe36[_0x5ab043(0x157)])),'browser_name':_0x29cf24['getBrowserName'](),'browser_version':_0x29cf24[_0x5ab043(0x1a7)]()};}catch(_0xedc037){logger[_0x5ab043(0x17d)](_0x5ab043(0x179)+_0xedc037);}return _0x2a6bd2;};function a26_0x2f38(){const _0x26f905=['Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Exception\x20in\x20setExtension\x20Error:\x20','__cloud_provider___','5604832pUmxtC','debug','format','bRTTD','getPlatform','requireModule','hWXSA','LxnIY','--headless','hseNi','5sBvdEL','selenium-webdriver/chrome.js','djxUc','chromeOptions_','toLowerCase','../../../helpers/helper','pVmEM','browserName','wBROP','accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','4450986OiYXgl','farzy','device','rbZAa','TNYQi','bevaA','args','../../../helpers/globals','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','6748zBMdGQ','poSGS','ZFFOK','browserstack','nestedKeyValue','winstonLogger','latest','87YZWvGd','281613pMRbkc','BS_A11Y_JWT','scannerVersion','isUndefined','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','getBrowserVersion','bDwqi','dyacz','capabilities_','20157490JCYCVx','path','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','xjMIp','util','Options','yGaze','5264665VAKvCz','browser_version','get','env','authToken','JHYjH','browserVersion','deviceName','bstack:options','warn','browserstack.accessibility','Ypylr','capability','CsYyR','562760AYWlXS','NrfxW','parse','getCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','9KPrTzr','options_','Kghkg','tJDcC','setAccessibilityCapabilities','setExtension'];a26_0x2f38=function(){return _0x26f905;};return a26_0x2f38();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a27_0x398610=a27_0x4547;(function(_0x599843,_0x587feb){const _0x778b1f=a27_0x4547,_0x12447b=_0x599843();while(!![]){try{const _0x1706fc=-parseInt(_0x778b1f(0x24c))/0x1+-parseInt(_0x778b1f(0x1ee))/0x2*(-parseInt(_0x778b1f(0x1eb))/0x3)+parseInt(_0x778b1f(0x242))/0x4*(-parseInt(_0x778b1f(0x19e))/0x5)+-parseInt(_0x778b1f(0x169))/0x6*(-parseInt(_0x778b1f(0x21b))/0x7)+parseInt(_0x778b1f(0x145))/0x8+parseInt(_0x778b1f(0x23c))/0x9+-parseInt(_0x778b1f(0x1a2))/0xa*(parseInt(_0x778b1f(0x1b3))/0xb);if(_0x1706fc===_0x587feb)break;else _0x12447b['push'](_0x12447b['shift']());}catch(_0x25ac83){_0x12447b['push'](_0x12447b['shift']());}}}(a27_0x20a2,0x197f7));function a27_0x20a2(){const _0x2fd5d2=['write','UpXFp','getInstance','70nfKTVJ','_testResults','bright\x20yellow','body','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','Runner','hook_run','kqGHc','_paths','rKqYt','symbols','yAwJp','mocha/lib/reporters/base.js','</dt>','escape','HMpjU','test_run','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','PHlkU','JerKM','DybuX','</dl>','UnhandledError','push','JQvVy','../../../helpers/helper','_indents','includes','uftMI','mocha/lib/runnable.js','trim','bKMmt','findGitConfig','1607067SCxSiD','AssertionError','XTNKS','PtStY','CUPvF','split','95716wlSZfx','responseCode','pxiwx','EVENT','RNsPs','CcHqW','unxNs','setCurrentTestData','xluKs','</section>','181329SPzSTH','root','consoleLog','ntlPF','doc','length','failure_reason_expanded','../../../helpers/logger','oeWzM','dldDi','Enrgt','__platform__','uovjn','\x20with\x20error\x20:\x20','meBuH','rZkES','PJdlt','registerListeners','BEFORE_EACH','now','join','markedStatus','leLQN','jMCqN','VRygB','toISOString','statSync','oHRFW','GohWK','COMPLETED','indent','integrations','javascript','green','setGlobal','hjCGy','__indents','lmWVl','bind','name','scopes','nfpoM','err','after\x20all','cwd','YaYMs','ifiBn','dot','bs:addLog:','SRZYG','clean','increaseIndent','../../../helpers/central-scanner/helpers','4|1|0|3|2','path','error','testAnalyticsId','jxPkD','isPending','arMeS','ZKKho','1058736SppfFI','FDLPp','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','cpMRs','hooks','shutdown','HookRunStarted','</code></pre></dd>','nrYFh','VsBmE','NpSrr','docHtml','<h1>','color','state','multiple','shouldProcessEventForTesthub','HookStarted','xunit','appendTestPlatform','duration','test','\x20\x20%d)\x20%s','uuid','GOsPa','pid','uploadEventData','\x20(%dms)','retryOf','HmBVp','../../../helpers/metadata','speed','appendTestItemLog','fullTitle','QUrqa','apply','100938yUyAQn','bsAgq','comma','test_run_uuid','%s\x20','suites','title','iLYQl','</h1>','DEBiD','backtrace','qYweC','CWQkN','YayKX','tkvDK','lCvWg','YfBQO','IKnFG','started_at','removeAllListeners','constants','before\x20each','assign','prefixTestPath','LeCTC','\x20\x20<dt>','urheP','Xcpqh','file','DcXBF','mocha/lib/reporters/','dndfw','WBwLb','testanalyticsid','Lernh','VpDmC','<section\x20class=\x22suite\x22>','dirname','BEFORE_ALL','tHXOJ','failureCount','../../../helpers/test-observability/constants','fail','_upstreamConfig','WpFke','hookAnalyticsId','JCQlj','Failed\x20to\x20load\x20reporter\x20','Reporter','forEach','scope','titlePath','HookRunFinished','25Bqbzoq','vOxYE','MOCHA','parent','2404360KAsXsv','YjUCv','_currentRetry','sendTestRunEvent','\x20\x20<dt\x20class=\x22error\x22>','_testEnv','slow','bang','\x20\x20<dd\x20class=\x22error\x22><pre><code>','\x20-\x20','result','passed','location_prefix','hook_type','CBTSessionCreated','AAJbO','util','11WNsHUm','match','dassk','TwIQJ','hook_run_uuid','analyticsResult','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','jtEyE','TestRunSkipped','lcnc','JjLXs','once','checkmark','KQXrI','getTime','%s\x20-\x20%s','LxTlJ','after\x20each','bs:addPlatformDetails:','redirectUrl','UimbW','fIVtL','reporterOptions','Zzata','toString','IQXPR','exports','MTysA','asUwL','JHHLM','get','pass','slice','call','nkLdq','\x20\x20<dd\x20class=\x22error\x22>','bsConfig','UMUTd','pyTUD','ctx','.git','ZdQSl','rBQzf','decreaseIndent','BwuzM','prototype','ffptL','mDSqV','WOjZD','\x20\x20<dd><pre><code>','prmCK','YZDko','setCentralScannerData','_buildCreated','cNGUH','LSDun','6RVhtWD','KRfOX','done','166714xZizpd','YuMTJ','mocha','RLXUf','LXHOk','xGRfJ','../../../helpers/testhub/constants','TestRunStarted','finalResults','testStarted','getRootParentFile','uhpUM','LeiLM','BWlyF','docAppend','grCKc','ckNDP','failed','UTgbL','pending','currentTest','results','type','current_hook','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','dvqgj','failCount','spec','OaOUx','stdout','afjbE','currentRetry','TestRunFinished','event_type','reporterOption','runner','appendTesthubParams','suiteCount','relative','dkzWB','current_test','UKKOn'];a27_0x20a2=function(){return _0x2fd5d2;};return a27_0x20a2();}function a27_0x4547(_0xf2da17,_0x30fdff){const _0x20a2d0=a27_0x20a2();return a27_0x4547=function(_0x4547bf,_0x118835){_0x4547bf=_0x4547bf-0x133;let _0x49d89c=_0x20a2d0[_0x4547bf];return _0x49d89c;},a27_0x4547(_0xf2da17,_0x30fdff);}const util=require(a27_0x398610(0x1b2)),fs=require('fs'),path=require(a27_0x398610(0x13e)),{requireModule,getCentralUser}=require(a27_0x398610(0x234)),Base=requireModule(a27_0x398610(0x227),a27_0x398610(0x1f0)),utils=requireModule('mocha/lib/utils.js',a27_0x398610(0x1f0)),color=Base[a27_0x398610(0x152)],Mocha=requireModule(a27_0x398610(0x1f0)),Runnable=requireModule(a27_0x398610(0x238),a27_0x398610(0x1f0)),{v4:uuidv4}=require(a27_0x398610(0x15c)),bsSetupHelper=require(a27_0x398610(0x234)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x398610(0x13c)),testHubConstants=require(a27_0x398610(0x1f4)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),globals=require('../../../helpers/globals'),logger=require(a27_0x398610(0x253))['winstonLogger'],TestMetadata=require(a27_0x398610(0x163)),a27_0x12bfa9={};a27_0x12bfa9['before\x20all']=a27_0x398610(0x18f),a27_0x12bfa9[a27_0x398610(0x133)]='AFTER_ALL',a27_0x12bfa9[a27_0x398610(0x17e)]=a27_0x398610(0x25e),a27_0x12bfa9[a27_0x398610(0x1c4)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x12bfa9,{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_0x398610(0x220)][a27_0x398610(0x17d)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x398610(0x192)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a27_0x398610(0x21a)]();class MyReporter{constructor(_0x2a9428,_0x213311){const _0xf68b9c=a27_0x398610,_0x44ef02={'CcHqW':function(_0x56f22b,_0x30b548){return _0x56f22b===_0x30b548;},'grCKc':_0xf68b9c(0x209),'xluKs':function(_0x3d8f79,_0x1e0176){return _0x3d8f79===_0x1e0176;},'unxNs':function(_0x503a8f,_0x53f7fa){return _0x503a8f+_0x53f7fa;},'DybuX':function(_0x37a8ed,_0x6bf7ba){return _0x37a8ed+_0x6bf7ba;},'ntlPF':function(_0x44a25c,_0x1ee6f2,_0x3dffa2){return _0x44a25c(_0x1ee6f2,_0x3dffa2);},'TRNeV':_0xf68b9c(0x26d),'nrYFh':_0xf68b9c(0x16d),'TwIQJ':function(_0x24efde,_0x2d352d,_0x535874){return _0x24efde(_0x2d352d,_0x535874);},'CUPvF':'light','YfBQO':_0xf68b9c(0x1c2),'ZdQSl':'RUNNING','BWlyF':function(_0x2612ca,_0x107cb3){return _0x2612ca===_0x107cb3;},'bsAgq':_0xf68b9c(0x250),'JQvVy':function(_0x43e50e){return _0x43e50e();},'UKKOn':_0xf68b9c(0x14b),'tkvDK':'HookRunFinished','PtStY':function(_0x31f207,_0x35b72d){return _0x31f207===_0x35b72d;},'dassk':_0xf68b9c(0x1ad),'meBuH':'fast','UpXFp':function(_0x239811,_0x298b6d,_0x20e452){return _0x239811(_0x298b6d,_0x20e452);},'ZdWOs':_0xf68b9c(0x1bf),'fIVtL':function(_0x31b679,_0xd6dfa1,_0x5d7c6b){return _0x31b679(_0xd6dfa1,_0x5d7c6b);},'GohWK':_0xf68b9c(0x1d2),'VsBmE':'\x20%s','xdBhG':function(_0x35ebc8,_0x3f4619){return _0x35ebc8+_0x3f4619;},'tHXOJ':_0xf68b9c(0x160),'JerKM':_0xf68b9c(0x193),'afjbE':_0xf68b9c(0x15b),'XTNKS':function(_0x1b96b9,_0x1eb90b){return _0x1b96b9===_0x1eb90b;},'yAwJp':function(_0x341e63,_0xb133ae){return _0x341e63+_0xb133ae;},'Lernh':function(_0x363a3c,_0x224354){return _0x363a3c+_0x224354;},'YayKX':function(_0x527486,_0x2cfce5,_0x17edfd){return _0x527486(_0x2cfce5,_0x17edfd);},'RLXUf':_0xf68b9c(0x21d),'jzGIY':function(_0x510be3,_0x240680,_0x595424){return _0x510be3(_0x240680,_0x595424);},'UMUTd':_0xf68b9c(0x269),'IQXPR':function(_0x58ca64,_0x4300b8){return _0x58ca64===_0x4300b8;},'dkzWB':_0xf68b9c(0x137),'JjLXs':function(_0x2cff16,_0x230b4a){return _0x2cff16===_0x230b4a;},'OIJzS':_0xf68b9c(0x1a8),'oHRFW':function(_0x4a4d78,_0xd2de04){return _0x4a4d78===_0xd2de04;},'jxPkD':function(_0x246983,_0x5e7c5f){return _0x246983===_0x5e7c5f;},'czKjn':function(_0x1ce274,_0x308a90){return _0x1ce274===_0x308a90;},'mLFxR':_0xf68b9c(0x13d),'rBQzf':function(_0x10dc7c,_0x2e480b){return _0x10dc7c===_0x2e480b;},'dldDi':function(_0x509008,_0xc48728){return _0x509008===_0xc48728;},'DkyQm':'pending','dvqgj':function(_0x3698ce,_0x5b32e5){return _0x3698ce===_0x5b32e5;},'VpDmC':function(_0x34141f){return _0x34141f();},'vOxYE':_0xf68b9c(0x1bb),'LXHOk':function(_0x20be0e,_0x33534c){return _0x20be0e===_0x33534c;},'lmWVl':function(_0x1df19d,_0x5105d0){return _0x1df19d(_0x5105d0);},'wmybj':function(_0x47f5ae){return _0x47f5ae();},'JCQlj':function(_0x2d74e2,_0x16fce9){return _0x2d74e2===_0x16fce9;},'jMCqN':function(_0x2113f5){return _0x2113f5();},'OgBBK':_0xf68b9c(0x157),'PJdlt':_0xf68b9c(0x1f0),'WAhhz':function(_0x2470c5,_0x5e0343){return _0x2470c5===_0x5e0343;},'dndfw':function(_0x6326d4,_0x4ebdb2){return _0x6326d4(_0x4ebdb2);},'UimbW':function(_0x3f7dae,_0x5d023d){return _0x3f7dae!==_0x5d023d;}};this['type']=_0x213311[_0xf68b9c(0x210)]['type'],this['testObservability']=_0x44ef02['VpDmC'](isTestObservabilitySession),Base[_0xf68b9c(0x1d4)](this,_0x2a9428,_0x213311),this['_indents']=0x0,this[_0xf68b9c(0x208)]=0x0,this['results']=[],this['finalResults']=[],this[_0xf68b9c(0x213)]=0x0,this[_0xf68b9c(0x1e8)]=![],this['_testResults']=[],this[_0xf68b9c(0x1a7)]=_0x44ef02[_0xf68b9c(0x263)](getTestEnv),this[_0xf68b9c(0x223)]=new PathHelper({'cwd':process[_0xf68b9c(0x134)]()},this['_testEnv'][_0xf68b9c(0x1ae)]),this[_0xf68b9c(0x194)]=_0x213311[_0xf68b9c(0x210)][_0xf68b9c(0x1d7)],this[_0xf68b9c(0x25d)]();_0x44ef02[_0xf68b9c(0x1f2)](this[_0xf68b9c(0x204)],_0x44ef02[_0xf68b9c(0x16a)])&&(this['docHtml']='',this[_0xf68b9c(0x270)]=0x2);_0x2a9428['once'](EVENT_RUN_BEGIN,async()=>{const _0x253b6a=_0xf68b9c;_0x44ef02[_0x253b6a(0x247)](this[_0x253b6a(0x204)],_0x44ef02[_0x253b6a(0x1fd)])&&Base[_0x253b6a(0x24e)]();})['on'](EVENT_SUITE_BEGIN,_0x270f68=>{const _0x39b534=_0xf68b9c;if(_0x270f68[_0x39b534(0x24d)])return;if(_0x44ef02['xluKs'](this[_0x39b534(0x204)],_0x44ef02['grCKc']))this[_0x39b534(0x13b)](),Base[_0x39b534(0x24e)](_0x44ef02['unxNs'](_0x44ef02[_0x39b534(0x22f)](this['indent'](),_0x44ef02[_0x39b534(0x24f)](color,_0x44ef02['TRNeV'],_0x44ef02[_0x39b534(0x14d)])),_0x44ef02[_0x39b534(0x1b6)](color,_0x44ef02[_0x39b534(0x240)],_0x44ef02[_0x39b534(0x179)])),_0x44ef02[_0x39b534(0x1dc)],_0x270f68[_0x39b534(0x16f)],global['__platform__']);else _0x44ef02[_0x39b534(0x1fb)](this[_0x39b534(0x204)],_0x44ef02['bsAgq'])&&(this[_0x39b534(0x1fc)](this['indent']()+_0x39b534(0x18d)),++this[_0x39b534(0x270)],this['docAppend'](this[_0x39b534(0x26a)]()+_0x39b534(0x151)+utils[_0x39b534(0x229)](_0x270f68[_0x39b534(0x16f)]+_0x39b534(0x1ab)+global[_0x39b534(0x257)])+_0x39b534(0x171)),this[_0x39b534(0x1fc)](this[_0x39b534(0x26a)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x5c57f8=>{const _0x210b0b=_0xf68b9c;if(_0x44ef02[_0x210b0b(0x247)](testhubUtils[_0x210b0b(0x155)](testHubConstants['EVENT'][_0x210b0b(0x156)]),!![])){if(!_0x5c57f8[_0x210b0b(0x196)])_0x5c57f8['hookAnalyticsId']=_0x44ef02[_0x210b0b(0x233)](uuidv4);else _0x5c57f8['markedStatus']&&(_0x5c57f8[_0x210b0b(0x196)]=_0x44ef02[_0x210b0b(0x233)](uuidv4),delete _0x5c57f8[_0x210b0b(0x261)]);_0x5c57f8[_0x210b0b(0x17b)]=new Date()[_0x210b0b(0x265)](),this[_0x210b0b(0x205)]=_0x5c57f8,await this[_0x210b0b(0x1a5)](_0x5c57f8,undefined,![],_0x44ef02[_0x210b0b(0x217)]);}})['on'](EVENT_HOOK_END,async _0x136b7a=>{const _0x52ee97=_0xf68b9c;_0x44ef02['CcHqW'](testhubUtils[_0x52ee97(0x155)](testHubConstants[_0x52ee97(0x245)]['HookFinished']),!![])&&(!_0x136b7a[_0x52ee97(0x261)]&&(_0x136b7a[_0x52ee97(0x261)]=!![],await this['sendTestRunEvent'](_0x136b7a,undefined,![],_0x44ef02[_0x52ee97(0x177)])));})['on'](EVENT_SUITE_END,_0x1dad25=>{const _0x45de7d=_0xf68b9c,_0x166a4c={'TBABJ':function(_0x54e7ee,_0x598678){const _0x92f7a=a27_0x4547;return _0x44ef02[_0x92f7a(0x23f)](_0x54e7ee,_0x598678);},'LeCTC':_0x44ef02[_0x45de7d(0x1b5)],'AGqZR':function(_0x23d0b2,_0x2bc17f){const _0x5c9c23=_0x45de7d;return _0x44ef02[_0x5c9c23(0x1fb)](_0x23d0b2,_0x2bc17f);},'pxiwx':_0x44ef02[_0x45de7d(0x25a)],'arMeS':function(_0xae0307,_0x2e2fba){const _0x1bb6cb=_0x45de7d;return _0x44ef02[_0x1bb6cb(0x248)](_0xae0307,_0x2e2fba);},'kqGHc':function(_0x3f52a3,_0x271637){const _0x3b6b85=_0x45de7d;return _0x44ef02[_0x3b6b85(0x248)](_0x3f52a3,_0x271637);},'mDSqV':function(_0x5660b0,_0xa81db8,_0x277ea0){return _0x44ef02['UpXFp'](_0x5660b0,_0xa81db8,_0x277ea0);},'urheP':_0x44ef02['ZdWOs'],'yiXGs':function(_0x27dfd8,_0x521aca,_0xa819b4){const _0x1d361a=_0x45de7d;return _0x44ef02[_0x1d361a(0x1c8)](_0x27dfd8,_0x521aca,_0xa819b4);},'cpMRs':_0x44ef02[_0x45de7d(0x268)],'RNsPs':_0x44ef02[_0x45de7d(0x14e)],'OaOUx':function(_0xb9ec28,_0x1ec1fd){const _0x39605c=_0x45de7d;return _0x44ef02[_0x39605c(0x248)](_0xb9ec28,_0x1ec1fd);},'suOHB':function(_0x1403bf,_0x58e423){return _0x44ef02['xdBhG'](_0x1403bf,_0x58e423);},'nfpoM':function(_0xf174a1,_0x1cb82a,_0x1bf488){return _0x44ef02['UpXFp'](_0xf174a1,_0x1cb82a,_0x1bf488);},'VRygB':function(_0x59e66d,_0x57e284,_0x5e9f08){const _0x2e1c8a=_0x45de7d;return _0x44ef02[_0x2e1c8a(0x1b6)](_0x59e66d,_0x57e284,_0x5e9f08);},'jtEyE':_0x44ef02[_0x45de7d(0x190)],'rZkES':_0x44ef02[_0x45de7d(0x22e)],'MOQIy':_0x44ef02[_0x45de7d(0x20c)]};if(_0x1dad25[_0x45de7d(0x24d)])return;if(_0x44ef02[_0x45de7d(0x23e)](this['type'],_0x44ef02[_0x45de7d(0x1fd)]))Base[_0x45de7d(0x24e)](),Base[_0x45de7d(0x24e)](_0x44ef02[_0x45de7d(0x226)](_0x44ef02[_0x45de7d(0x18b)](this[_0x45de7d(0x26a)](),_0x44ef02[_0x45de7d(0x176)](color,_0x44ef02[_0x45de7d(0x1f1)],_0x44ef02[_0x45de7d(0x14d)])),_0x44ef02['jzGIY'](color,_0x44ef02[_0x45de7d(0x240)],_0x44ef02[_0x45de7d(0x179)])),_0x44ef02[_0x45de7d(0x1d8)],_0x1dad25[_0x45de7d(0x16f)],global[_0x45de7d(0x257)]),this[_0x45de7d(0x203)]['forEach'](_0x4c9d6f=>{const _0x2d0bd2=_0x45de7d;if(_0x166a4c['TBABJ'](_0x4c9d6f[_0x2d0bd2(0x153)],_0x166a4c[_0x2d0bd2(0x181)])){var _0x4639fd;_0x166a4c['AGqZR'](_0x4c9d6f[_0x2d0bd2(0x164)],_0x166a4c[_0x2d0bd2(0x244)])?(_0x4639fd=_0x166a4c[_0x2d0bd2(0x143)](_0x166a4c[_0x2d0bd2(0x222)](this['indent'](),_0x166a4c[_0x2d0bd2(0x1e2)](color,_0x166a4c[_0x2d0bd2(0x183)],_0x166a4c[_0x2d0bd2(0x143)]('\x20\x20',Base[_0x2d0bd2(0x225)]['ok']))),_0x166a4c['yiXGs'](color,_0x166a4c['cpMRs'],_0x166a4c[_0x2d0bd2(0x246)])),Base[_0x2d0bd2(0x24e)](_0x4639fd,_0x4c9d6f[_0x2d0bd2(0x16f)])):(_0x4639fd=_0x166a4c[_0x2d0bd2(0x222)](_0x166a4c[_0x2d0bd2(0x20a)](_0x166a4c['suOHB'](this[_0x2d0bd2(0x26a)](),_0x166a4c[_0x2d0bd2(0x275)](color,_0x166a4c[_0x2d0bd2(0x183)],_0x166a4c[_0x2d0bd2(0x222)]('\x20\x20',Base['symbols']['ok']))),_0x166a4c[_0x2d0bd2(0x1e2)](color,_0x166a4c[_0x2d0bd2(0x148)],_0x166a4c['RNsPs'])),_0x166a4c[_0x2d0bd2(0x264)](color,_0x4c9d6f[_0x2d0bd2(0x164)],_0x166a4c[_0x2d0bd2(0x1ba)])),Base['consoleLog'](_0x4639fd,_0x4c9d6f[_0x2d0bd2(0x16f)],_0x4c9d6f[_0x2d0bd2(0x159)]));}else Base['consoleLog'](_0x166a4c[_0x2d0bd2(0x20a)](this['indent'](),_0x166a4c[_0x2d0bd2(0x264)](color,_0x166a4c[_0x2d0bd2(0x25b)],_0x166a4c['MOQIy'])),++this[_0x2d0bd2(0x208)],_0x4c9d6f[_0x2d0bd2(0x16f)]);}),this[_0x45de7d(0x1de)]();else _0x44ef02[_0x45de7d(0x1cc)](this[_0x45de7d(0x204)],_0x44ef02['bsAgq'])&&(this[_0x45de7d(0x1fc)](this[_0x45de7d(0x26a)]()+_0x45de7d(0x230)),--this[_0x45de7d(0x270)],this[_0x45de7d(0x1fc)](this[_0x45de7d(0x26a)]()+_0x45de7d(0x24b)),--this['__indents']);Array[_0x45de7d(0x1e0)][_0x45de7d(0x232)]['apply'](this[_0x45de7d(0x1f6)],this[_0x45de7d(0x203)]),this[_0x45de7d(0x203)]=[];})['on'](EVENT_TEST_PASS,async _0x4c7b17=>{const _0x1ca46a=_0xf68b9c;this[_0x1ca46a(0x203)][_0x1ca46a(0x232)]({'speed':_0x4c7b17[_0x1ca46a(0x164)],'suite':_0x4c7b17[_0x1ca46a(0x1a1)][_0x1ca46a(0x16f)],'title':_0x4c7b17[_0x1ca46a(0x16f)],'fullTitle':_0x4c7b17[_0x1ca46a(0x166)](),'duration':_0x4c7b17[_0x1ca46a(0x159)],'state':_0x4c7b17[_0x1ca46a(0x153)],'err':{},'currentRetry':_0x4c7b17[_0x1ca46a(0x20d)](),'titlePathV':_0x4c7b17['titlePath'](),'isPending':_0x4c7b17[_0x1ca46a(0x142)]()});if(_0x44ef02[_0x1ca46a(0x23e)](this['type'],_0x44ef02[_0x1ca46a(0x215)]))_0x44ef02[_0x1ca46a(0x1bd)](_0x4c7b17[_0x1ca46a(0x164)],_0x44ef02['OIJzS'])?process[_0x1ca46a(0x20b)]['write'](Base[_0x1ca46a(0x152)](_0x44ef02['RLXUf'],Base[_0x1ca46a(0x225)][_0x1ca46a(0x137)])):process[_0x1ca46a(0x20b)]['write'](Base[_0x1ca46a(0x152)](_0x4c7b17[_0x1ca46a(0x164)],Base['symbols']['dot']));else{if(_0x44ef02[_0x1ca46a(0x267)](this[_0x1ca46a(0x204)],_0x44ef02[_0x1ca46a(0x16a)])){this['docAppend'](this['indent']()+_0x1ca46a(0x182)+utils[_0x1ca46a(0x229)](_0x4c7b17[_0x1ca46a(0x16f)])+_0x1ca46a(0x228)),this[_0x1ca46a(0x1fc)](this[_0x1ca46a(0x26a)]()+_0x1ca46a(0x182)+utils['escape'](_0x4c7b17[_0x1ca46a(0x185)])+_0x1ca46a(0x228));var _0x3cfce2=utils[_0x1ca46a(0x229)](utils['clean'](_0x4c7b17['body']));this[_0x1ca46a(0x1fc)](this[_0x1ca46a(0x26a)]()+_0x1ca46a(0x1e4)+_0x3cfce2+_0x1ca46a(0x14c));}}_0x44ef02[_0x1ca46a(0x141)](testhubUtils[_0x1ca46a(0x155)](),!![])&&(!_0x4c7b17[_0x1ca46a(0x261)]&&(_0x4c7b17[_0x1ca46a(0x261)]=!![],await this[_0x1ca46a(0x1a5)](_0x4c7b17)));})['on'](EVENT_TEST_FAIL,async(_0x176794,_0x4ad301)=>{const _0x5d08fc=_0xf68b9c;this[_0x5d08fc(0x203)][_0x5d08fc(0x232)]({'title':_0x176794[_0x5d08fc(0x16f)],'suite':_0x176794['parent'][_0x5d08fc(0x16f)],'state':_0x176794[_0x5d08fc(0x153)],'err':{'message':util['inspect'](_0x4ad301)},'fullTitle':_0x176794[_0x5d08fc(0x166)](),'speed':_0x176794[_0x5d08fc(0x164)],'currentRetry':_0x176794[_0x5d08fc(0x20d)](),'titlePathV':_0x176794['titlePath']()});if(_0x44ef02['xluKs'](this[_0x5d08fc(0x204)],_0x44ef02[_0x5d08fc(0x215)]))process[_0x5d08fc(0x20b)][_0x5d08fc(0x218)](Base[_0x5d08fc(0x152)](_0x44ef02[_0x5d08fc(0x22e)],Base[_0x5d08fc(0x225)][_0x5d08fc(0x1a9)]));else{if(_0x44ef02['czKjn'](this[_0x5d08fc(0x204)],_0x44ef02[_0x5d08fc(0x16a)])){const _0x1b160f=_0x44ef02['mLFxR'][_0x5d08fc(0x241)]('|');let _0x273573=0x0;while(!![]){switch(_0x1b160f[_0x273573++]){case'0':var _0x2cc79b=utils['escape'](utils[_0x5d08fc(0x13a)](_0x176794['body']));continue;case'1':this[_0x5d08fc(0x1fc)](this[_0x5d08fc(0x26a)]()+_0x5d08fc(0x1a6)+utils[_0x5d08fc(0x229)](_0x176794[_0x5d08fc(0x185)])+_0x5d08fc(0x228));continue;case'2':this['docAppend'](this[_0x5d08fc(0x26a)]()+_0x5d08fc(0x1d6)+utils[_0x5d08fc(0x229)](_0x176794[_0x5d08fc(0x276)])+'</dd>');continue;case'3':this[_0x5d08fc(0x1fc)](this[_0x5d08fc(0x26a)]()+_0x5d08fc(0x1aa)+_0x2cc79b+_0x5d08fc(0x14c));continue;case'4':this['docAppend'](this['indent']()+_0x5d08fc(0x1a6)+utils[_0x5d08fc(0x229)](_0x176794[_0x5d08fc(0x16f)])+'</dt>');continue;}break;}}}if(_0x44ef02[_0x5d08fc(0x1dd)](testhubUtils[_0x5d08fc(0x155)](testHubConstants['EVENT']['HookFinished']),!![])){if(!_0x176794['markedStatus']){_0x176794[_0x5d08fc(0x261)]=!![];if(_0x176794[_0x5d08fc(0x140)])await this['sendTestRunEvent'](_0x176794,_0x4ad301);else _0x176794['hookAnalyticsId']&&await this[_0x5d08fc(0x1a5)](_0x176794,_0x4ad301,![],_0x44ef02[_0x5d08fc(0x177)]);}}})['on'](EVENT_TEST_PENDING,async _0x3bccb8=>{const _0x336ede=_0xf68b9c;this['results'][_0x336ede(0x232)]({'title':_0x3bccb8[_0x336ede(0x16f)],'suite':_0x3bccb8[_0x336ede(0x1a1)][_0x336ede(0x16f)],'state':_0x3bccb8[_0x336ede(0x153)],'err':{},'fullTitle':_0x3bccb8['fullTitle'](),'speed':_0x3bccb8[_0x336ede(0x164)],'currentRetry':_0x3bccb8[_0x336ede(0x20d)](),'titlePathV':_0x3bccb8[_0x336ede(0x19c)]()}),_0x44ef02[_0x336ede(0x255)](this[_0x336ede(0x204)],_0x44ef02['dkzWB'])&&process[_0x336ede(0x20b)][_0x336ede(0x218)](Base[_0x336ede(0x152)](_0x44ef02['DkyQm'],Base[_0x336ede(0x225)][_0x336ede(0x16b)])),_0x44ef02['dvqgj'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x3bccb8[_0x336ede(0x140)]&&(_0x3bccb8[_0x336ede(0x140)]=_0x44ef02[_0x336ede(0x18c)](uuidv4)),!_0x3bccb8[_0x336ede(0x261)]&&(_0x3bccb8[_0x336ede(0x261)]=!![],await this[_0x336ede(0x1a5)](_0x3bccb8,undefined,![],_0x44ef02[_0x336ede(0x19f)])));})['on'](EVENT_TEST_BEGIN,async _0xa57d3c=>{const _0x432922=_0xf68b9c;_0x44ef02[_0x432922(0x1f2)](testhubUtils[_0x432922(0x155)](),!![])&&await this['testStarted'](_0xa57d3c);})['on'](EVENT_TEST_END,async _0x16c6e3=>{const _0x384466=_0xf68b9c;_0x44ef02[_0x384466(0x24a)](testhubUtils[_0x384466(0x155)](),!![])&&(!_0x16c6e3[_0x384466(0x261)]&&(_0x16c6e3['markedStatus']=!![],await this[_0x384466(0x1a5)](_0x16c6e3)));})[_0xf68b9c(0x1be)](EVENT_RUN_END,async()=>{const _0x564eb4=_0xf68b9c;try{if(_0x44ef02[_0x564eb4(0x207)](testhubUtils[_0x564eb4(0x155)](),!![])){const _0x288d22=_0x44ef02['lmWVl'](getHookSkippedTests,this[_0x564eb4(0x211)]['suite']);for(const _0x12c41d of _0x288d22){!_0x12c41d['testAnalyticsId']&&(_0x12c41d['testAnalyticsId']=_0x44ef02['wmybj'](uuidv4)),await this[_0x564eb4(0x1a5)](_0x12c41d,undefined,![],_0x44ef02[_0x564eb4(0x19f)]);}}}catch(_0x502d31){_0x44ef02[_0x564eb4(0x271)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x502d31);}await requestQueueHandler[_0x564eb4(0x14a)](),_0x44ef02[_0x564eb4(0x197)](this[_0x564eb4(0x204)],_0x44ef02['bsAgq'])&&Base[_0x564eb4(0x24e)](this['docHtml']);});if(this[_0xf68b9c(0x204)]&&![_0x44ef02['bsAgq'],_0x44ef02['OgBBK'],_0x44ef02['grCKc'],_0x44ef02['dkzWB']][_0xf68b9c(0x236)](this['type'])){const _0x47e79b=this[_0xf68b9c(0x204)][_0xf68b9c(0x239)]();this['Reporter']=null;try{this[_0xf68b9c(0x199)]=_0x44ef02[_0xf68b9c(0x219)](requireModule,_0xf68b9c(0x187)+_0x47e79b+'.js',_0x44ef02[_0xf68b9c(0x25c)]);}catch(_0x4f87f6){_0x44ef02['lmWVl'](debug,_0xf68b9c(0x21f)+_0x4f87f6);}if(_0x44ef02['WAhhz'](this[_0xf68b9c(0x199)],null))try{this[_0xf68b9c(0x199)]=_0x44ef02[_0xf68b9c(0x188)](require,_0x47e79b);}catch(_0x121f36){console[_0xf68b9c(0x13f)](_0xf68b9c(0x198)+_0x47e79b);}if(_0x44ef02[_0xf68b9c(0x1c7)](this[_0xf68b9c(0x199)],null)){const _0x523865={};_0x523865[_0xf68b9c(0x1c9)]=_0x213311['reporterOption'],this['Reporter']=new this['Reporter'](_0x2a9428,_0x523865);}}}[a27_0x398610(0x26a)](){const _0x136fc8=a27_0x398610,_0x192819={'IKnFG':function(_0x1d5725,_0xcb310f){return _0x1d5725(_0xcb310f);}};return _0x192819[_0x136fc8(0x17a)](Array,this['_indents'])[_0x136fc8(0x260)]('\x20\x20');}[a27_0x398610(0x13b)](){const _0x23224b=a27_0x398610;this[_0x23224b(0x235)]++;}[a27_0x398610(0x1de)](){this['_indents']--;}[a27_0x398610(0x1fc)](_0x301ed2){const _0x3baf52=a27_0x398610;this[_0x3baf52(0x150)]+=_0x301ed2;}[a27_0x398610(0x1ed)](_0x3d7e97,_0x12082a){const _0x9537db=a27_0x398610,_0x1874eb={'DcXBF':function(_0xf35f8c,_0x304b3f){return _0xf35f8c(_0x304b3f);}},_0x2738b7={};_0x2738b7[_0x9537db(0x191)]=_0x3d7e97,_0x2738b7['results']=this[_0x9537db(0x1f6)],_0x1874eb[_0x9537db(0x186)](_0x12082a,_0x2738b7);}[a27_0x398610(0x25d)](){const _0x111475=a27_0x398610;process[_0x111475(0x17c)](_0x111475(0x138)+process[_0x111475(0x15e)]),process['on']('bs:addLog:'+process[_0x111475(0x15e)],this[_0x111475(0x165)][_0x111475(0x272)](this)),process[_0x111475(0x17c)](_0x111475(0x1c5)+process[_0x111475(0x15e)]),process['on'](_0x111475(0x1c5)+process[_0x111475(0x15e)],this[_0x111475(0x158)]['bind'](this));}[a27_0x398610(0x1f7)]=async _0x534316=>{const _0xb3df7f=a27_0x398610,_0x34e504={'pyTUD':function(_0x23f9a8){return _0x23f9a8();},'YuMTJ':'testRunUUID','BwuzM':function(_0x1c51bd,_0x3a63dc){return _0x1c51bd>_0x3a63dc;},'ckNDP':function(_0x1ca4b0,_0x464df7){return _0x1ca4b0===_0x464df7;},'LeiLM':_0xb3df7f(0x1f5),'YZDko':function(_0x5ea6df,_0x1fed1f){return _0x5ea6df(_0x1fed1f);}};try{const _0x27bffa=this['current_test'];this['current_test']=_0x534316,_0x534316['retryOf']=null,_0x534316['testAnalyticsId']=_0x34e504[_0xb3df7f(0x1d9)](uuidv4),globals[_0xb3df7f(0x26e)](_0x34e504[_0xb3df7f(0x1ef)],_0x534316[_0xb3df7f(0x140)]),_0x534316['started_at']=new Date()[_0xb3df7f(0x265)](),_0x34e504[_0xb3df7f(0x1df)](_0x534316[_0xb3df7f(0x1a4)],0x0)&&_0x27bffa&&_0x34e504[_0xb3df7f(0x1fe)](_0x27bffa[_0xb3df7f(0x16f)],_0x534316['title'])?(_0x534316['retryOf']=_0x27bffa[_0xb3df7f(0x140)],await this[_0xb3df7f(0x1a5)](_0x534316,undefined,![],_0x34e504[_0xb3df7f(0x1fa)]),_0x27bffa[_0xb3df7f(0x153)]=STATE_FAILED,await this[_0xb3df7f(0x1a5)](_0x27bffa,undefined,!![])):await this[_0xb3df7f(0x1a5)](_0x534316,undefined,![],_0x34e504[_0xb3df7f(0x1fa)]);}catch(_0x468230){_0x34e504[_0xb3df7f(0x1e6)](debug,_0xb3df7f(0x1b9)+_0x468230);}};[a27_0x398610(0x1a5)]=async(_0x290fc8,_0x121c87=undefined,_0x58afa2=![],_0x658c1a='TestRunFinished')=>{const _0xa33043=a27_0x398610,_0x21aec9={'uhpUM':function(_0x2cb131,_0x1325a3){return _0x2cb131===_0x1325a3;},'HmBVp':function(_0x256199,_0x45907f){return _0x256199!==_0x45907f;},'KQXrI':_0xa33043(0x15a),'Zzata':_0xa33043(0x276),'ncixd':function(_0x4c7b52,_0x5beff9){return _0x4c7b52!==_0x5beff9;},'leLQN':function(_0x356f94,_0xf34728){return _0x356f94!==_0xf34728;},'PHlkU':'File\x20path\x20could\x20not\x20be\x20found','FDLPp':'Mocha','YjUCv':_0xa33043(0x26c),'LxTlJ':_0xa33043(0x1bb),'WOjZD':'skipped','kijHv':function(_0x380d6d,_0x3518d1){return _0x380d6d-_0x3518d1;},'MTysA':_0xa33043(0x23d),'hjCGy':_0xa33043(0x231),'YaYMs':_0xa33043(0x20e),'WBwLb':'TestRunStarted','iBpnX':function(_0x32bfda){return _0x32bfda();},'HMpjU':'started_at','KRfOX':'finished_at','cNGUH':function(_0x5f2fe8,_0x448ebb){return _0x5f2fe8(_0x448ebb);},'qYweC':function(_0x466272,_0x2bfba7){return _0x466272===_0x2bfba7;},'CWQkN':_0xa33043(0x19d),'AAJbO':_0xa33043(0x1ff),'JHHLM':_0xa33043(0x1ad),'aHaBu':function(_0x5af0c3,_0x29522f){return _0x5af0c3===_0x29522f;},'TxKWF':'before\x20each','rKqYt':function(_0x58b660,_0x319158){return _0x58b660===_0x319158;},'GOsPa':function(_0x4f58b7,_0xf7ac2a){return _0x4f58b7(_0xf7ac2a);},'OHkZG':'failure','BLtYc':'failure_backtrace','asUwL':_0xa33043(0x173),'oeWzM':_0xa33043(0x252),'sWLyU':'expanded','LSDun':function(_0x56d8ce,_0x17302a){return _0x56d8ce===_0x17302a;},'ZKKho':'hook_type','uftMI':_0xa33043(0x221),'zGtgf':_0xa33043(0x22b),'UTgbL':function(_0x386d2d,_0x2897ae){return _0x386d2d(_0x2897ae);}};try{if(_0x290fc8['body']&&_0x290fc8[_0xa33043(0x21e)][_0xa33043(0x1b4)](/browserstack internal helper hook/))return;let _0x3e6a90=[];if(_0x21aec9['uhpUM'](_0x290fc8[_0xa33043(0x153)],STATE_FAILED)){if(_0x21aec9[_0xa33043(0x162)](_0x290fc8[_0xa33043(0x276)],undefined))_0x3e6a90=_0x290fc8['err'][_0xa33043(0x154)]?[_0x290fc8[_0xa33043(0x276)][_0xa33043(0x154)],_0x21aec9[_0xa33043(0x1c0)]]:[_0x290fc8[_0xa33043(0x276)],_0x21aec9[_0xa33043(0x1ca)]];else _0x21aec9[_0xa33043(0x162)](_0x121c87,undefined)?_0x3e6a90=[_0x121c87,_0x21aec9[_0xa33043(0x1ca)]]:_0x3e6a90=[];}const _0xfbf6cd=_0x21aec9['ncixd'](_0x290fc8[_0xa33043(0x276)],undefined)?_0x290fc8[_0xa33043(0x276)][_0xa33043(0x1cb)]():_0x21aec9[_0xa33043(0x262)](_0x121c87,undefined)?_0x121c87[_0xa33043(0x1cb)]():undefined;let _0x4aef1d;try{_0x4aef1d=this['getRootParentFile'](_0x290fc8);}catch(_0x178bf3){_0x4aef1d=null;}const _0x340c2b=_0x4aef1d?this[_0xa33043(0x23b)](_0x4aef1d):null,_0xde47ec=_0x4aef1d?this[_0xa33043(0x223)][_0xa33043(0x180)](this[_0xa33043(0x1f8)](_0x290fc8)):_0x21aec9[_0xa33043(0x22d)],_0x53b51d={'framework':_0x21aec9[_0xa33043(0x146)],'uuid':_0x290fc8[_0xa33043(0x140)]||_0x290fc8[_0xa33043(0x196)],'name':_0x290fc8[_0xa33043(0x16f)],'body':{'lang':_0x21aec9[_0xa33043(0x1a3)],'code':_0x290fc8['body']},'scope':this[_0xa33043(0x19b)](_0x290fc8),'scopes':this[_0xa33043(0x274)](_0x290fc8),'identifier':_0x290fc8[_0xa33043(0x166)](),'file_name':_0xde47ec,'vc_filepath':_0x340c2b?path[_0xa33043(0x214)](_0x340c2b,_0x4aef1d):null,'location':_0xde47ec,'result':_0x21aec9[_0xa33043(0x1f9)](_0x658c1a,_0x21aec9['LxTlJ'])?_0x21aec9[_0xa33043(0x1e3)]:this[_0xa33043(0x1b8)](_0x290fc8[_0xa33043(0x153)]),'failure_reason':_0xfbf6cd,'duration_in_ms':_0x290fc8[_0xa33043(0x159)]||(_0x658c1a[_0xa33043(0x1b4)](/Finished/)||_0x658c1a[_0xa33043(0x1b4)](/Skipped/)?_0x21aec9['kijHv'](Date[_0xa33043(0x25f)](),new Date(_0x290fc8[_0xa33043(0x17b)])[_0xa33043(0x1c1)]()):null),'started_at':_0x290fc8[_0xa33043(0x17b)],'finished_at':_0x658c1a[_0xa33043(0x1b4)](/Finished/)||_0x658c1a[_0xa33043(0x1b4)](/Skipped/)?new Date()[_0xa33043(0x265)]():null,'failure':failureData[_0xa33043(0x168)](null,_0x3e6a90),'failure_type':!_0xfbf6cd?null:_0xfbf6cd['match'](/AssertionError/)?_0x21aec9[_0xa33043(0x1ce)]:_0x21aec9[_0xa33043(0x26f)],'retry_of':_0x290fc8[_0xa33043(0x161)]};if([_0x21aec9[_0xa33043(0x1c3)],_0x21aec9[_0xa33043(0x135)],_0x21aec9[_0xa33043(0x189)]][_0xa33043(0x236)](_0x658c1a)){if(_0x21aec9['iBpnX'](getCentralUser)[_0xa33043(0x1bc)]){const _0x477082=TestMetadata[_0xa33043(0x1d1)](_0x290fc8[_0xa33043(0x18a)]);if(_0x477082){const _0x3a8e77={};_0x3a8e77[_0xa33043(0x1bc)]=_0x477082,Object[_0xa33043(0x17f)](_0x53b51d,_0x3a8e77);}}}testhubUtils[_0xa33043(0x212)](_0x53b51d,_0x658c1a,_0x290fc8,FRAMEWORKS[_0xa33043(0x1a0)]);(_0x290fc8[_0xa33043(0x243)]||_0x290fc8[_0xa33043(0x1c6)])&¢ralScannerUtils[_0xa33043(0x1e7)](_0x53b51d,_0x290fc8[_0xa33043(0x243)],_0x290fc8['redirectUrl']);_0x21aec9[_0xa33043(0x1f9)](_0x658c1a,_0x21aec9[_0xa33043(0x1c3)])&&!_0x53b51d[_0x21aec9['HMpjU']]&&(_0x53b51d[_0x21aec9[_0xa33043(0x22a)]]=_0x53b51d[_0x21aec9[_0xa33043(0x1ec)]]);if(_0x658c1a[_0xa33043(0x1b4)](/HookRun/))[_0x53b51d[_0xa33043(0x1af)],_0x53b51d[_0xa33043(0x273)]]=_0x21aec9[_0xa33043(0x1e9)](getHookDetails,_0x290fc8[_0xa33043(0x166)]()||_0x290fc8['originalTitle']||_0x290fc8[_0xa33043(0x16f)]),_0x21aec9[_0xa33043(0x174)](_0x658c1a,_0x21aec9[_0xa33043(0x175)])&&(_0x21aec9['HmBVp'](_0x53b51d[_0xa33043(0x1ac)],_0x21aec9[_0xa33043(0x1b1)])&&(_0x53b51d['result']=_0x21aec9[_0xa33043(0x1d0)]),_0x21aec9['aHaBu'](_0x53b51d['hook_type'],_0x21aec9['TxKWF'])&&_0x21aec9[_0xa33043(0x224)](_0x53b51d[_0xa33043(0x1ac)],_0x21aec9[_0xa33043(0x1b1)])&&!_0x290fc8[_0xa33043(0x1da)]['currentTest'][_0xa33043(0x261)]&&(_0x290fc8[_0xa33043(0x1da)][_0xa33043(0x202)]['markedStatus']=!![],_0x290fc8[_0xa33043(0x1da)][_0xa33043(0x202)][_0xa33043(0x153)]=STATE_FAILED,await this['sendTestRunEvent'](_0x290fc8[_0xa33043(0x1da)][_0xa33043(0x202)],undefined,!![])));else _0x658c1a[_0xa33043(0x1b4)](/TestRun/)&&_0x21aec9[_0xa33043(0x15d)](mapTestHooks,_0x290fc8);const _0x16ef84=_0x53b51d[_0x21aec9['OHkZG']][0x0];_0x16ef84&&(_0x53b51d[_0x21aec9['BLtYc']]=_0x16ef84[_0x21aec9[_0xa33043(0x1cf)]],_0x53b51d[_0x21aec9[_0xa33043(0x254)]]=_0x16ef84[_0x21aec9['sWLyU']]);[_0x21aec9['YaYMs'],_0x21aec9['LxTlJ']]['includes'](_0x658c1a)&&(this[_0xa33043(0x21c)][_0xa33043(0x232)](_0x53b51d),_0x53b51d[_0xa33043(0x149)]=_0x21aec9['cNGUH'](getHooksForTest,_0x290fc8));const _0x5c4734={'event_type':_0x21aec9[_0xa33043(0x1ea)](_0x658c1a,_0x21aec9[_0xa33043(0x1c3)])?_0x21aec9['YaYMs']:_0x658c1a};_0x658c1a[_0xa33043(0x1b4)](/HookRun/)?(_0x53b51d[_0x21aec9[_0xa33043(0x144)]]=HOOK_TYPES_MAP[_0x53b51d[_0x21aec9[_0xa33043(0x144)]]],_0x5c4734[_0x21aec9[_0xa33043(0x237)]]=_0x53b51d):_0x5c4734[_0x21aec9['zGtgf']]=_0x53b51d,testhubUtils[_0xa33043(0x249)](FRAMEWORKS[_0xa33043(0x1a0)],_0x5c4734),await SessionHandler['uploadEventData'](_0x5c4734);}catch(_0x18045f){_0x21aec9[_0xa33043(0x200)](debug,_0xa33043(0x206)+_0x658c1a+_0xa33043(0x259)+_0x18045f);}};[a27_0x398610(0x23b)](_0x5f4ba5){const _0x184fa6=a27_0x398610,_0x1c1f2b={};_0x1c1f2b['SRZYG']=function(_0x1460ea,_0x2118aa){return _0x1460ea===_0x2118aa;},_0x1c1f2b[_0x184fa6(0x172)]=function(_0x5dbe78,_0x5ca2e8){return _0x5dbe78===_0x5ca2e8;},_0x1c1f2b[_0x184fa6(0x14f)]=function(_0x145627,_0x19f312){return _0x145627===_0x19f312;},_0x1c1f2b[_0x184fa6(0x195)]=function(_0x55fc31,_0x18a873){return _0x55fc31===_0x18a873;},_0x1c1f2b[_0x184fa6(0x1f3)]=_0x184fa6(0x1db),_0x1c1f2b[_0x184fa6(0x256)]='config';const _0x310604=_0x1c1f2b,_0x44b098=path['sep'];if(_0x310604[_0x184fa6(0x139)](_0x5f4ba5,null)||_0x310604[_0x184fa6(0x172)](_0x5f4ba5,'')||_0x310604[_0x184fa6(0x14f)](_0x5f4ba5,_0x44b098)||_0x310604['WpFke'](_0x5f4ba5,path[_0x184fa6(0x18e)](_0x5f4ba5)))return null;try{return fs[_0x184fa6(0x266)](path[_0x184fa6(0x260)](_0x5f4ba5,_0x310604[_0x184fa6(0x1f3)],_0x310604[_0x184fa6(0x256)])),_0x5f4ba5;}catch(_0x46a042){const _0x5c6e41=path[_0x184fa6(0x18e)](_0x5f4ba5);return this[_0x184fa6(0x23b)](_0x5c6e41);}}[a27_0x398610(0x165)]=async _0x52c9f8=>{const _0x46b214=a27_0x398610,_0x37e169={'lCvWg':'LogCreated','QUrqa':function(_0xcc2de7,_0x25f2c8){return _0xcc2de7(_0x25f2c8);}};try{this[_0x46b214(0x205)]&&!this[_0x46b214(0x205)][_0x46b214(0x261)]&&(_0x52c9f8[_0x46b214(0x1b7)]=this['current_hook']['hookAnalyticsId']);!_0x52c9f8[_0x46b214(0x1b7)]&&this[_0x46b214(0x216)]&&!this[_0x46b214(0x216)][_0x46b214(0x261)]&&(_0x52c9f8[_0x46b214(0x16c)]=this[_0x46b214(0x216)][_0x46b214(0x140)]);if(_0x52c9f8[_0x46b214(0x1b7)]||_0x52c9f8[_0x46b214(0x16c)]){const _0x170104={};_0x170104[_0x46b214(0x20f)]=_0x37e169[_0x46b214(0x178)],_0x170104['logs']=[_0x52c9f8],await SessionHandler[_0x46b214(0x15f)](_0x170104);}}catch(_0x29e382){_0x37e169[_0x46b214(0x167)](debug,_0x46b214(0x147)+_0x29e382);}};['appendTestPlatform']=async _0x344b33=>{const _0x5bf9cc=a27_0x398610,_0x1a11e3={'yNatr':'http_response','Xcpqh':_0x5bf9cc(0x1b0),'uovjn':function(_0x108b5d,_0x4f17a7){return _0x108b5d(_0x4f17a7);}};try{const _0x155cc3={};_0x155cc3[_0x5bf9cc(0x15c)]=_0x344b33['uuid']||this[_0x5bf9cc(0x216)][_0x5bf9cc(0x140)],_0x155cc3[_0x5bf9cc(0x26b)]=_0x344b33[_0x1a11e3['yNatr']];const _0x1a00d8=_0x155cc3,_0x4c22ae={};_0x4c22ae[_0x5bf9cc(0x20f)]=_0x1a11e3[_0x5bf9cc(0x184)],_0x4c22ae['test_run']=_0x1a00d8,await SessionHandler['uploadEventData'](_0x4c22ae);}catch(_0x50f166){_0x1a11e3[_0x5bf9cc(0x258)](debug,_0x5bf9cc(0x22c)+_0x50f166);}};[a27_0x398610(0x1b8)](_0x52e4d1){const _0x32c3fe=a27_0x398610,_0x4f154f={};_0x4f154f['bKMmt']=_0x32c3fe(0x1ad),_0x4f154f[_0x32c3fe(0x1d5)]=_0x32c3fe(0x201),_0x4f154f[_0x32c3fe(0x170)]=_0x32c3fe(0x1ff);const _0x5590d2=_0x4f154f,_0x2c4de1={};return _0x2c4de1[STATE_PASSED]=_0x5590d2[_0x32c3fe(0x23a)],_0x2c4de1[STATE_PENDING]=_0x5590d2['nkLdq'],_0x2c4de1[STATE_FAILED]=_0x5590d2[_0x32c3fe(0x170)],_0x2c4de1[_0x52e4d1];}[a27_0x398610(0x19b)](_0x3a9cf0){const _0xef7c42=a27_0x398610,_0x31a795={};_0x31a795[_0xef7c42(0x1e5)]=function(_0x29c2e6,_0x2da293){return _0x29c2e6-_0x2da293;};const _0xddb455=_0x31a795,_0x118f20=_0x3a9cf0[_0xef7c42(0x19c)]();return _0x118f20['slice'](0x0,_0xddb455[_0xef7c42(0x1e5)](_0x118f20[_0xef7c42(0x251)],0x1))[_0xef7c42(0x260)]('\x20');}[a27_0x398610(0x274)](_0x189b06){const _0x25227a=a27_0x398610,_0x41c630={};_0x41c630[_0x25227a(0x1e1)]=function(_0x54cdd6,_0x59be76){return _0x54cdd6-_0x59be76;};const _0x2ce0bf=_0x41c630,_0x1b4d29=_0x189b06[_0x25227a(0x19c)]();return _0x1b4d29[_0x25227a(0x1d3)](0x0,_0x2ce0bf[_0x25227a(0x1e1)](_0x1b4d29[_0x25227a(0x251)],0x1));}[a27_0x398610(0x1f8)](_0x5d0932){const _0x521f5f=a27_0x398610,_0x58cb8f={};_0x58cb8f[_0x521f5f(0x136)]=function(_0x30b9b3,_0x444b92){return _0x30b9b3>_0x444b92;};const _0x1a79b6=_0x58cb8f;if(_0x5d0932[_0x521f5f(0x185)])return _0x5d0932['file'];if(_0x5d0932[_0x521f5f(0x1da)]){const _0x319bbd=_0x5d0932[_0x521f5f(0x1da)]['currentTest']?this['getRootParentFile'](_0x5d0932[_0x521f5f(0x1da)][_0x521f5f(0x202)]):null;if(_0x319bbd)return _0x319bbd;}if(_0x5d0932[_0x521f5f(0x1a1)]){const _0xb4537a=this['getRootParentFile'](_0x5d0932['parent'])||(_0x5d0932['parent'][_0x521f5f(0x1da)]&&_0x5d0932['parent'][_0x521f5f(0x1da)][_0x521f5f(0x202)]?this[_0x521f5f(0x1f8)](_0x5d0932[_0x521f5f(0x1a1)]['ctx'][_0x521f5f(0x202)]):null);if(_0xb4537a)return _0xb4537a;_0x5d0932['parent']['suites']&&_0x1a79b6['ifiBn'](_0x5d0932[_0x521f5f(0x1a1)][_0x521f5f(0x16e)]['length'],0x0)&&_0x5d0932['parent'][_0x521f5f(0x16e)][_0x521f5f(0x19a)](_0x457509=>{const _0x440360=_0x521f5f,_0x20d5b5=_0x457509[_0x440360(0x1da)]?this[_0x440360(0x1f8)](_0x457509[_0x440360(0x1da)]):null;if(_0x20d5b5)return _0x20d5b5;});}return null;}}module[a27_0x398610(0x1cd)]=MyReporter;
|
|
1
|
+
'use strict';const a27_0x4fef41=a27_0x58fd;function a27_0x58fd(_0x5f1d24,_0x52545f){const _0x48857c=a27_0x4885();return a27_0x58fd=function(_0x58fd71,_0x4197ff){_0x58fd71=_0x58fd71-0x71;let _0x145aab=_0x48857c[_0x58fd71];return _0x145aab;},a27_0x58fd(_0x5f1d24,_0x52545f);}(function(_0x3fc05d,_0x17f910){const _0x3b1ea7=a27_0x58fd,_0x52af95=_0x3fc05d();while(!![]){try{const _0x1e7216=parseInt(_0x3b1ea7(0x10f))/0x1+-parseInt(_0x3b1ea7(0xf0))/0x2*(-parseInt(_0x3b1ea7(0x184))/0x3)+parseInt(_0x3b1ea7(0xb3))/0x4*(parseInt(_0x3b1ea7(0x13a))/0x5)+parseInt(_0x3b1ea7(0x173))/0x6+-parseInt(_0x3b1ea7(0xc8))/0x7*(parseInt(_0x3b1ea7(0x95))/0x8)+parseInt(_0x3b1ea7(0x138))/0x9*(-parseInt(_0x3b1ea7(0x120))/0xa)+parseInt(_0x3b1ea7(0x12b))/0xb;if(_0x1e7216===_0x17f910)break;else _0x52af95['push'](_0x52af95['shift']());}catch(_0x345051){_0x52af95['push'](_0x52af95['shift']());}}}(a27_0x4885,0xafc90));const util=require(a27_0x4fef41(0x10e)),fs=require('fs'),path=require(a27_0x4fef41(0xf3)),{requireModule,getCentralUser}=require(a27_0x4fef41(0x12f)),Base=requireModule('mocha/lib/reporters/base.js','mocha'),utils=requireModule(a27_0x4fef41(0x17c),a27_0x4fef41(0x183)),color=Base[a27_0x4fef41(0xf6)],Mocha=requireModule(a27_0x4fef41(0x183)),Runnable=requireModule('mocha/lib/runnable.js','mocha'),{v4:uuidv4}=require(a27_0x4fef41(0x83)),bsSetupHelper=require(a27_0x4fef41(0x12f)),testhubUtils=require(a27_0x4fef41(0x17a)),centralScannerUtils=require(a27_0x4fef41(0x146)),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a27_0x4fef41(0x154)),globals=require(a27_0x4fef41(0x140)),logger=require(a27_0x4fef41(0xed))[a27_0x4fef41(0x108)],TestMetadata=require('../../../helpers/metadata'),a27_0x3ff832={};a27_0x3ff832[a27_0x4fef41(0xd0)]=a27_0x4fef41(0x15a),a27_0x3ff832[a27_0x4fef41(0xbb)]=a27_0x4fef41(0x88),a27_0x3ff832[a27_0x4fef41(0x136)]=a27_0x4fef41(0x11d),a27_0x3ff832[a27_0x4fef41(0x1a0)]=a27_0x4fef41(0x12a);function a27_0x4885(){const _0x2e4175=['BEFORE_EACH','passed','TNzHs','93690vhjGvr','result','tMGmZ','backtrace','inZHB','uFNjO','currentTest','suite','Jqjqw','uqugC','AFTER_EACH','6610978YpAxzk','state','fullTitle','nnfpt','../../../helpers/helper','NJzeh','TestRunSkipped','iFibh','ZtGRc','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','kZInC','before\x20each','Mfthi','1305PqTPjW','Vhere','85jNJDzW','err','push','<dl>','exports','logs','../../../helpers/globals','toString','</h1>','hook_run_uuid','spIQB','UDaRP','../../../helpers/central-scanner/helpers','_testResults','results','length','failure','kCHaz','bind','fail','join','_paths','bs:addPlatformDetails:','fast','redirectUrl','includes','../../../helpers/test-observability/constants','markedStatus','LRuKw','findGitConfig','dEcJP','symbols','BEFORE_ALL','Jajzu','registerListeners','lYXCt','GBhow','czCUf','EcqJQ','pTJXL','pFuho','consoleLog','inspect','yQyNv','docHtml','__platform__','sep','qJxyJ','shutdown','sendTestRunEvent','match','constants','kUuVe','title','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','setCentralScannerData','aSoEk','1431474fTMUky','location_prefix','fuECp','RBess','getRootParentFile','EJdlj','OVbEw','../../../helpers/testhub/utils','.git','mocha/lib/utils.js','IeILc','nUJOS','reporterOption','hook_type','.js','HNdOX','mocha','25089yvEwcP','QVOlm','GGMdz','testStarted','fZGOr','COMPLETED','pid','sozjI','oIzCh','TestRunFinished','croNA','spec','afOCI','PgLAl','ynMCL','relative','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','DjHFR','HookFinished','suites','wBnGp','aJwMn','jddEd','dFzUr','docAppend','yEECQ','kxstk','loQjp','after\x20each','</dt>','file','xkNfz','WKSrI','testObservability','CTmyN','Cdftt','failure_reason_expanded','rwORq','multiple','speed','File\x20path\x20could\x20not\x20be\x20found','checkmark','forEach','scope','FaQov','PMMyn','craCs','trim','szZya','testanalyticsid','isPending','Djntf','CLQoM','responseCode','<section\x20class=\x22suite\x22>','ZCzsm','test_run_uuid','hookAnalyticsId','uuid','bRXzx','current_hook','TvIWQ','Mocha','AFTER_ALL','failed','bUBKT','JNjiJ','increaseIndent','../../../helpers/test-observability/sessionHandler','HookRunFinished','FyVpF','testAnalyticsId','__indents','green','stdout','setGlobal','828392KqmVgu','</dd>','KVESp','slice','bright\x20yellow','cwd','ivkNT','apply','scopes','PhzxX','JGCSU','bang','javascript','KZUyk','bsConfig','clean','integrations','appendTestItemLog','ewmFA','hook_run','parent','done','BHcxu','skipped','_testEnv','type','CMchU','light','../test-observability/mochaUtils','\x20-\x20','249648VPzrmg','HXjfW','name','gcXpF','failureCount','HookRunStarted','gmbEw','NAsUu','after\x20all','yeVyh','TaFKo','iLtoP','bs:addLog:','get','_indents','kksKd','VAxga','Reporter','../../../helpers/test-observability/utils','comma','nkHHv','35zVhvdY','LgLFr','\x20\x20<dt>','started_at','YJzcY','PIilJ','\x20(%dms)','assign','before\x20all','CBTSessionCreated','finished_at','IMeeC','\x20\x20<dt\x20class=\x22error\x22>','pending','current_test','dot','failure_backtrace','root','currentRetry','</dl>','XaSGE','RlNDC','test_run','retryOf','LnQuN','TestRunStarted','BVbox','error','znqhd','oVaeV','%s\x20','MOCHA','xunit','duration','titlePath','slow','now','../../../helpers/logger','getInstance','uploadEventData','70ezhqNx','bukzC','KuRna','path','analyticsResult','vVSHm','color','removeAllListeners','HHwtl','originalTitle','appendTesthubParams','</code></pre></dd>','call','EVENT','shouldProcessEventForTesthub','suiteCount','escape','LogCreated','YQIVY','\x20\x20<dd\x20class=\x22error\x22><pre><code>','Failed\x20to\x20load\x20reporter\x20','doc','once','decreaseIndent','winstonLogger','OHWvV','finalResults','http_response','body','dirname','util','402980yLuvQX','ctx','\x20\x20<dd><pre><code>','toISOString','wFEEJ','write','event_type','MPjUZ','indent','failCount','statSync','QfpFy','appendTestPlatform','OSXQa'];a27_0x4885=function(){return _0x2e4175;};return a27_0x4885();}const HOOK_TYPES_MAP=a27_0x3ff832,{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'][a27_0x4fef41(0x16d)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x4fef41(0x16d)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x4fef41(0xb1)),{consoleHolder}=require(a27_0x4fef41(0x154)),SessionHandler=require(a27_0x4fef41(0x8d)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x4fef41(0xc5)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a27_0x4fef41(0xee)]();class MyReporter{constructor(_0x29cd1c,_0x3e82fb){const _0x2993d3=a27_0x4fef41,_0x2674e9={'spIQB':function(_0x3c3f83,_0x3f6eb2){return _0x3c3f83===_0x3f6eb2;},'pTJXL':_0x2993d3(0x18f),'GBhow':function(_0x4ebbdb,_0x24bed6){return _0x4ebbdb+_0x24bed6;},'HXjfW':function(_0x5eb492,_0x7f6cb0){return _0x5eb492+_0x7f6cb0;},'RBess':function(_0x4815d9,_0x1555d8,_0x2bda61){return _0x4815d9(_0x1555d8,_0x2bda61);},'BHcxu':_0x2993d3(0x92),'OVbEw':_0x2993d3(0xe6),'TvIWQ':function(_0x4ca500,_0x2ecaa2,_0x5385b9){return _0x4ca500(_0x2ecaa2,_0x5385b9);},'bRXzx':_0x2993d3(0xb0),'pFuho':'%s\x20-\x20%s','DjHFR':'RUNNING','iLtoP':function(_0x14f0a6,_0x36d3bb){return _0x14f0a6===_0x36d3bb;},'WKSrI':_0x2993d3(0x105),'PMMyn':function(_0x4250a9){return _0x4250a9();},'RlNDC':function(_0x13a697){return _0x13a697();},'sjTUB':_0x2993d3(0xb8),'rwORq':function(_0x25cc02,_0x311569){return _0x25cc02===_0x311569;},'IeILc':'HookRunFinished','ZeqTm':_0x2993d3(0x11e),'TaFKo':_0x2993d3(0x151),'nUJOS':function(_0x2dd528,_0x2cc045){return _0x2dd528+_0x2cc045;},'dFzUr':function(_0x443710,_0x490c28){return _0x443710+_0x490c28;},'BVbox':_0x2993d3(0x72),'DCtIg':'pass','KOLam':'\x20%s','znqhd':function(_0xb4690e,_0x575bca){return _0xb4690e+_0x575bca;},'qJxyJ':function(_0x515947,_0x5c0b7a){return _0x515947+_0x5c0b7a;},'oVaeV':_0x2993d3(0xce),'kksKd':function(_0xaaeeaf,_0x3f8916){return _0xaaeeaf+_0x3f8916;},'fuECp':_0x2993d3(0x14d),'sMETT':'\x20\x20%d)\x20%s','PLyRz':function(_0x24a102,_0x2778f0,_0x1bb11b){return _0x24a102(_0x2778f0,_0x1bb11b);},'wDuiw':_0x2993d3(0x99),'Vhere':function(_0x3de123,_0xcec02c,_0x16ec02){return _0x3de123(_0xcec02c,_0x16ec02);},'NbHSX':_0x2993d3(0x189),'LnQuN':_0x2993d3(0xd7),'QfpFy':function(_0x373f6c,_0x12c650){return _0x373f6c===_0x12c650;},'Jajzu':_0x2993d3(0xeb),'gYlKE':function(_0x1ec41b,_0x3485e7){return _0x1ec41b===_0x3485e7;},'fZGOr':function(_0x2e41b8,_0x15356f){return _0x2e41b8===_0x15356f;},'bukzC':'2|0|3|4|1','inZHB':function(_0x478a56,_0x35a336){return _0x478a56===_0x35a336;},'Djntf':_0x2993d3(0xd5),'KuRna':_0x2993d3(0x131),'kCHaz':function(_0x5026ac,_0x1cff97){return _0x5026ac===_0x1cff97;},'jddEd':function(_0x17a37e,_0x4594f8){return _0x17a37e===_0x4594f8;},'dEcJP':function(_0x687db0,_0x24e6c6){return _0x687db0(_0x24e6c6);},'sozjI':function(_0x3a6e6a,_0x2ad45b){return _0x3a6e6a(_0x2ad45b);},'agCEd':function(_0x25d5d8,_0x18e8d0){return _0x25d5d8===_0x18e8d0;},'NAsUu':_0x2993d3(0xe8),'kZInC':function(_0x453523,_0x1cd84a,_0x3a548f){return _0x453523(_0x1cd84a,_0x3a548f);},'EJdlj':_0x2993d3(0x183),'UDaRP':function(_0xfb4285,_0x55d55f){return _0xfb4285(_0x55d55f);},'HNdOX':function(_0x5c10ec,_0x4496d6){return _0x5c10ec!==_0x4496d6;}};this[_0x2993d3(0xae)]=_0x3e82fb[_0x2993d3(0x17f)]['type'],this[_0x2993d3(0x1a5)]=_0x2674e9[_0x2993d3(0x76)](isTestObservabilitySession),Base[_0x2993d3(0xfc)](this,_0x29cd1c,_0x3e82fb),this[_0x2993d3(0xc1)]=0x0,this[_0x2993d3(0x118)]=0x0,this[_0x2993d3(0x148)]=[],this[_0x2993d3(0x10a)]=[],this[_0x2993d3(0xff)]=0x0,this['_buildCreated']=![],this[_0x2993d3(0x147)]=[],this['_testEnv']=_0x2674e9['PMMyn'](getTestEnv),this[_0x2993d3(0x14f)]=new PathHelper({'cwd':process[_0x2993d3(0x9a)]()},this[_0x2993d3(0xad)][_0x2993d3(0x174)]),this['_upstreamConfig']=_0x3e82fb[_0x2993d3(0x17f)][_0x2993d3(0xa3)],this[_0x2993d3(0x15c)]();_0x2674e9['spIQB'](this[_0x2993d3(0xae)],_0x2674e9[_0x2993d3(0x1a4)])&&(this[_0x2993d3(0x166)]='',this[_0x2993d3(0x91)]=0x2);_0x29cd1c['once'](EVENT_RUN_BEGIN,async()=>{const _0x3cbffb=_0x2993d3;_0x2674e9[_0x3cbffb(0x144)](this[_0x3cbffb(0xae)],_0x2674e9[_0x3cbffb(0x161)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x42a84c=>{const _0x285fb4=_0x2993d3;if(_0x42a84c[_0x285fb4(0xd9)])return;if(_0x2674e9[_0x285fb4(0x144)](this[_0x285fb4(0xae)],_0x2674e9[_0x285fb4(0x161)]))this['increaseIndent'](),Base[_0x285fb4(0x163)](_0x2674e9[_0x285fb4(0x15e)](_0x2674e9[_0x285fb4(0xb4)](this[_0x285fb4(0x117)](),_0x2674e9[_0x285fb4(0x176)](color,_0x2674e9[_0x285fb4(0xab)],_0x2674e9[_0x285fb4(0x179)])),_0x2674e9['TvIWQ'](color,_0x2674e9[_0x285fb4(0x84)],_0x2674e9['pFuho'])),_0x2674e9[_0x285fb4(0x195)],_0x42a84c[_0x285fb4(0x16f)],global[_0x285fb4(0x167)]);else _0x2674e9['iLtoP'](this[_0x285fb4(0xae)],_0x2674e9['WKSrI'])&&(this[_0x285fb4(0x19c)](this[_0x285fb4(0x117)]()+_0x285fb4(0x7f)),++this[_0x285fb4(0x91)],this[_0x285fb4(0x19c)](this[_0x285fb4(0x117)]()+'<h1>'+utils[_0x285fb4(0x100)](_0x42a84c[_0x285fb4(0x16f)]+_0x285fb4(0xb2)+global[_0x285fb4(0x167)])+_0x285fb4(0x142)),this[_0x285fb4(0x19c)](this[_0x285fb4(0x117)]()+_0x285fb4(0x13d)));})['on'](EVENT_HOOK_BEGIN,async _0x7ac4e9=>{const _0x470051=_0x2993d3;if(_0x2674e9[_0x470051(0xbe)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x470051(0xfd)]['HookStarted']),!![])){if(!_0x7ac4e9['hookAnalyticsId'])_0x7ac4e9[_0x470051(0x82)]=_0x2674e9['PMMyn'](uuidv4);else _0x7ac4e9[_0x470051(0x155)]&&(_0x7ac4e9['hookAnalyticsId']=_0x2674e9[_0x470051(0xdd)](uuidv4),delete _0x7ac4e9[_0x470051(0x155)]);_0x7ac4e9[_0x470051(0xcb)]=new Date()[_0x470051(0x112)](),this[_0x470051(0x85)]=_0x7ac4e9,await this['sendTestRunEvent'](_0x7ac4e9,undefined,![],_0x2674e9['sjTUB']);}})['on'](EVENT_HOOK_END,async _0x62db8=>{const _0x1ae26e=_0x2993d3;_0x2674e9[_0x1ae26e(0x1a9)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x1ae26e(0xfd)][_0x1ae26e(0x196)]),!![])&&(!_0x62db8[_0x1ae26e(0x155)]&&(_0x62db8['markedStatus']=!![],await this[_0x1ae26e(0x16b)](_0x62db8,undefined,![],_0x2674e9[_0x1ae26e(0x17d)])));})['on'](EVENT_SUITE_END,_0x20a040=>{const _0x4b382d=_0x2993d3,_0x29c457={'aSoEk':function(_0x24adba,_0x1a74cf){const _0x2d2520=a27_0x58fd;return _0x2674e9[_0x2d2520(0xbe)](_0x24adba,_0x1a74cf);},'uFNjO':_0x2674e9['ZeqTm'],'lbCYp':_0x2674e9[_0x4b382d(0xbd)],'LgLFr':function(_0x13211b,_0x315e1f){const _0x503268=_0x4b382d;return _0x2674e9[_0x503268(0x17e)](_0x13211b,_0x315e1f);},'QVOlm':function(_0x59989d,_0x5d67aa){const _0xdea50e=_0x4b382d;return _0x2674e9[_0xdea50e(0x19b)](_0x59989d,_0x5d67aa);},'afOCI':function(_0x25a9a8,_0x3e30b7,_0xbed35d){const _0x2a0a31=_0x4b382d;return _0x2674e9[_0x2a0a31(0x86)](_0x25a9a8,_0x3e30b7,_0xbed35d);},'KVESp':_0x2674e9[_0x4b382d(0xe2)],'VAxga':function(_0x4d47fe,_0x1f14f5,_0x428aa2){const _0x2f02f8=_0x4b382d;return _0x2674e9[_0x2f02f8(0x86)](_0x4d47fe,_0x1f14f5,_0x428aa2);},'PhzxX':_0x2674e9['DCtIg'],'yeVyh':_0x2674e9['KOLam'],'tMGmZ':function(_0x3810b9,_0x21d584){const _0x5a8ae9=_0x4b382d;return _0x2674e9[_0x5a8ae9(0xe4)](_0x3810b9,_0x21d584);},'JGCSU':function(_0x4e39e8,_0x5bd863){const _0x4c2b02=_0x4b382d;return _0x2674e9[_0x4c2b02(0xb4)](_0x4e39e8,_0x5bd863);},'vYlqZ':function(_0x5c9401,_0x584108){const _0xe93af4=_0x4b382d;return _0x2674e9[_0xe93af4(0x169)](_0x5c9401,_0x584108);},'ZCzsm':_0x2674e9[_0x4b382d(0xe5)],'uqugC':function(_0x1c3c05,_0xa43a17){const _0x4e4bd8=_0x4b382d;return _0x2674e9[_0x4e4bd8(0xc2)](_0x1c3c05,_0xa43a17);},'woOor':_0x2674e9[_0x4b382d(0x175)],'CTmyN':_0x2674e9['sMETT']};if(_0x20a040['root'])return;if(_0x2674e9[_0x4b382d(0xbe)](this[_0x4b382d(0xae)],_0x2674e9['pTJXL']))Base[_0x4b382d(0x163)](),Base[_0x4b382d(0x163)](_0x2674e9['GBhow'](_0x2674e9[_0x4b382d(0x19b)](this[_0x4b382d(0x117)](),_0x2674e9['PLyRz'](color,_0x2674e9['wDuiw'],_0x2674e9[_0x4b382d(0x179)])),_0x2674e9[_0x4b382d(0x139)](color,_0x2674e9['bRXzx'],_0x2674e9[_0x4b382d(0x162)])),_0x2674e9['NbHSX'],_0x20a040['title'],global[_0x4b382d(0x167)]),this[_0x4b382d(0x148)][_0x4b382d(0x73)](_0x393f7f=>{const _0x47378f=_0x4b382d;if(_0x29c457['aSoEk'](_0x393f7f[_0x47378f(0x12c)],_0x29c457[_0x47378f(0x125)])){var _0x431caa;_0x29c457[_0x47378f(0x172)](_0x393f7f[_0x47378f(0x1ab)],_0x29c457['lbCYp'])?(_0x431caa=_0x29c457[_0x47378f(0xc9)](_0x29c457[_0x47378f(0x185)](this[_0x47378f(0x117)](),_0x29c457[_0x47378f(0x190)](color,_0x29c457[_0x47378f(0x97)],_0x29c457[_0x47378f(0x185)]('\x20\x20',Base[_0x47378f(0x159)]['ok']))),_0x29c457[_0x47378f(0xc3)](color,_0x29c457['PhzxX'],_0x29c457[_0x47378f(0xbc)])),Base[_0x47378f(0x163)](_0x431caa,_0x393f7f[_0x47378f(0x16f)])):(_0x431caa=_0x29c457[_0x47378f(0x122)](_0x29c457[_0x47378f(0x9f)](_0x29c457['JGCSU'](this[_0x47378f(0x117)](),_0x29c457[_0x47378f(0xc3)](color,_0x29c457['KVESp'],_0x29c457['vYlqZ']('\x20\x20',Base['symbols']['ok']))),_0x29c457[_0x47378f(0xc3)](color,_0x29c457[_0x47378f(0x9e)],_0x29c457[_0x47378f(0xbc)])),_0x29c457[_0x47378f(0xc3)](color,_0x393f7f[_0x47378f(0x1ab)],_0x29c457[_0x47378f(0x80)])),Base['consoleLog'](_0x431caa,_0x393f7f[_0x47378f(0x16f)],_0x393f7f[_0x47378f(0xe9)]));}else Base['consoleLog'](_0x29c457[_0x47378f(0x129)](this['indent'](),_0x29c457[_0x47378f(0xc3)](color,_0x29c457['woOor'],_0x29c457[_0x47378f(0x1a6)])),++this[_0x47378f(0x118)],_0x393f7f[_0x47378f(0x16f)]);}),this[_0x4b382d(0x107)]();else _0x2674e9[_0x4b382d(0xbe)](this[_0x4b382d(0xae)],_0x2674e9[_0x4b382d(0x1a4)])&&(this[_0x4b382d(0x19c)](this[_0x4b382d(0x117)]()+_0x4b382d(0xdb)),--this[_0x4b382d(0x91)],this[_0x4b382d(0x19c)](this[_0x4b382d(0x117)]()+'</section>'),--this[_0x4b382d(0x91)]);Array['prototype']['push']['apply'](this[_0x4b382d(0x10a)],this['results']),this[_0x4b382d(0x148)]=[];})['on'](EVENT_TEST_PASS,async _0x1bbb3f=>{const _0x56dc51=_0x2993d3;this[_0x56dc51(0x148)][_0x56dc51(0x13c)]({'speed':_0x1bbb3f[_0x56dc51(0x1ab)],'suite':_0x1bbb3f[_0x56dc51(0xa9)][_0x56dc51(0x16f)],'title':_0x1bbb3f[_0x56dc51(0x16f)],'fullTitle':_0x1bbb3f[_0x56dc51(0x12d)](),'duration':_0x1bbb3f[_0x56dc51(0xe9)],'state':_0x1bbb3f[_0x56dc51(0x12c)],'err':{},'currentRetry':_0x1bbb3f[_0x56dc51(0xda)](),'titlePathV':_0x1bbb3f['titlePath'](),'isPending':_0x1bbb3f[_0x56dc51(0x7b)]()});if(_0x2674e9[_0x56dc51(0x144)](this[_0x56dc51(0xae)],_0x2674e9[_0x56dc51(0xe0)]))_0x2674e9['QfpFy'](_0x1bbb3f[_0x56dc51(0x1ab)],_0x2674e9[_0x56dc51(0x15b)])?process[_0x56dc51(0x93)][_0x56dc51(0x114)](Base[_0x56dc51(0xf6)](_0x2674e9['wDuiw'],Base[_0x56dc51(0x159)][_0x56dc51(0xd7)])):process['stdout'][_0x56dc51(0x114)](Base[_0x56dc51(0xf6)](_0x1bbb3f[_0x56dc51(0x1ab)],Base['symbols'][_0x56dc51(0xd7)]));else{if(_0x2674e9['spIQB'](this[_0x56dc51(0xae)],_0x2674e9[_0x56dc51(0x1a4)])){this[_0x56dc51(0x19c)](this[_0x56dc51(0x117)]()+_0x56dc51(0xca)+utils[_0x56dc51(0x100)](_0x1bbb3f[_0x56dc51(0x16f)])+_0x56dc51(0x1a1)),this['docAppend'](this[_0x56dc51(0x117)]()+'\x20\x20<dt>'+utils[_0x56dc51(0x100)](_0x1bbb3f[_0x56dc51(0x1a2)])+_0x56dc51(0x1a1));var _0x42fb4e=utils['escape'](utils['clean'](_0x1bbb3f[_0x56dc51(0x10c)]));this[_0x56dc51(0x19c)](this[_0x56dc51(0x117)]()+_0x56dc51(0x111)+_0x42fb4e+_0x56dc51(0xfb));}}_0x2674e9['gYlKE'](testhubUtils[_0x56dc51(0xfe)](),!![])&&(!_0x1bbb3f[_0x56dc51(0x155)]&&(_0x1bbb3f[_0x56dc51(0x155)]=!![],await this[_0x56dc51(0x16b)](_0x1bbb3f)));})['on'](EVENT_TEST_FAIL,async(_0x59651a,_0x129f68)=>{const _0x45ed0b=_0x2993d3;this['results'][_0x45ed0b(0x13c)]({'title':_0x59651a['title'],'suite':_0x59651a['parent'][_0x45ed0b(0x16f)],'state':_0x59651a[_0x45ed0b(0x12c)],'err':{'message':util[_0x45ed0b(0x164)](_0x129f68)},'fullTitle':_0x59651a['fullTitle'](),'speed':_0x59651a[_0x45ed0b(0x1ab)],'currentRetry':_0x59651a[_0x45ed0b(0xda)](),'titlePathV':_0x59651a[_0x45ed0b(0xea)]()});if(_0x2674e9[_0x45ed0b(0x11a)](this['type'],_0x2674e9['LnQuN']))process[_0x45ed0b(0x93)][_0x45ed0b(0x114)](Base[_0x45ed0b(0xf6)](_0x2674e9[_0x45ed0b(0x175)],Base[_0x45ed0b(0x159)][_0x45ed0b(0xa0)]));else{if(_0x2674e9[_0x45ed0b(0x188)](this['type'],_0x2674e9[_0x45ed0b(0x1a4)])){const _0x55d3c0=_0x2674e9[_0x45ed0b(0xf1)]['split']('|');let _0x3df4ca=0x0;while(!![]){switch(_0x55d3c0[_0x3df4ca++]){case'0':this[_0x45ed0b(0x19c)](this['indent']()+_0x45ed0b(0xd4)+utils[_0x45ed0b(0x100)](_0x59651a[_0x45ed0b(0x1a2)])+_0x45ed0b(0x1a1));continue;case'1':this[_0x45ed0b(0x19c)](this[_0x45ed0b(0x117)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x45ed0b(0x100)](_0x59651a[_0x45ed0b(0x13b)])+_0x45ed0b(0x96));continue;case'2':this[_0x45ed0b(0x19c)](this['indent']()+_0x45ed0b(0xd4)+utils[_0x45ed0b(0x100)](_0x59651a[_0x45ed0b(0x16f)])+_0x45ed0b(0x1a1));continue;case'3':var _0x6c7463=utils[_0x45ed0b(0x100)](utils[_0x45ed0b(0xa4)](_0x59651a[_0x45ed0b(0x10c)]));continue;case'4':this[_0x45ed0b(0x19c)](this['indent']()+_0x45ed0b(0x103)+_0x6c7463+'</code></pre></dd>');continue;}break;}}}if(_0x2674e9[_0x45ed0b(0x144)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x45ed0b(0xfd)]['HookFinished']),!![])){if(!_0x59651a['markedStatus']){_0x59651a['markedStatus']=!![];if(_0x59651a[_0x45ed0b(0x90)])await this[_0x45ed0b(0x16b)](_0x59651a,_0x129f68);else _0x59651a[_0x45ed0b(0x82)]&&await this[_0x45ed0b(0x16b)](_0x59651a,_0x129f68,![],_0x2674e9[_0x45ed0b(0x17d)]);}}})['on'](EVENT_TEST_PENDING,async _0x2bf018=>{const _0x152800=_0x2993d3;this[_0x152800(0x148)][_0x152800(0x13c)]({'title':_0x2bf018[_0x152800(0x16f)],'suite':_0x2bf018[_0x152800(0xa9)]['title'],'state':_0x2bf018['state'],'err':{},'fullTitle':_0x2bf018[_0x152800(0x12d)](),'speed':_0x2bf018['speed'],'currentRetry':_0x2bf018[_0x152800(0xda)](),'titlePathV':_0x2bf018[_0x152800(0xea)]()}),_0x2674e9[_0x152800(0x124)](this[_0x152800(0xae)],_0x2674e9[_0x152800(0xe0)])&&process[_0x152800(0x93)][_0x152800(0x114)](Base[_0x152800(0xf6)](_0x2674e9[_0x152800(0x7c)],Base[_0x152800(0x159)][_0x152800(0xc6)])),_0x2674e9[_0x152800(0xbe)](testhubUtils[_0x152800(0xfe)](),!![])&&(!_0x2bf018['testAnalyticsId']&&(_0x2bf018[_0x152800(0x90)]=_0x2674e9['RlNDC'](uuidv4)),!_0x2bf018[_0x152800(0x155)]&&(_0x2bf018[_0x152800(0x155)]=!![],await this['sendTestRunEvent'](_0x2bf018,undefined,![],_0x2674e9['KuRna'])));})['on'](EVENT_TEST_BEGIN,async _0x32461f=>{const _0x2a72ee=_0x2993d3;_0x2674e9[_0x2a72ee(0x14b)](testhubUtils[_0x2a72ee(0xfe)](),!![])&&await this[_0x2a72ee(0x187)](_0x32461f);})['on'](EVENT_TEST_END,async _0xeba039=>{const _0x28219e=_0x2993d3;_0x2674e9[_0x28219e(0x19a)](testhubUtils[_0x28219e(0xfe)](),!![])&&(!_0xeba039[_0x28219e(0x155)]&&(_0xeba039[_0x28219e(0x155)]=!![],await this[_0x28219e(0x16b)](_0xeba039)));})[_0x2993d3(0x106)](EVENT_RUN_END,async()=>{const _0x43ec1f=_0x2993d3;try{if(_0x2674e9[_0x43ec1f(0x124)](testhubUtils[_0x43ec1f(0xfe)](),!![])){const _0x4779d8=_0x2674e9[_0x43ec1f(0x158)](getHookSkippedTests,this['runner'][_0x43ec1f(0x127)]);for(const _0x103ddb of _0x4779d8){!_0x103ddb[_0x43ec1f(0x90)]&&(_0x103ddb[_0x43ec1f(0x90)]=_0x2674e9[_0x43ec1f(0xdd)](uuidv4)),await this[_0x43ec1f(0x16b)](_0x103ddb,undefined,![],_0x2674e9[_0x43ec1f(0xf2)]);}}}catch(_0x14f933){_0x2674e9[_0x43ec1f(0x18b)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x14f933);}await requestQueueHandler[_0x43ec1f(0x16a)](),_0x2674e9['agCEd'](this['type'],_0x2674e9[_0x43ec1f(0x1a4)])&&Base[_0x43ec1f(0x163)](this[_0x43ec1f(0x166)]);});if(this[_0x2993d3(0xae)]&&![_0x2674e9[_0x2993d3(0x1a4)],_0x2674e9[_0x2993d3(0xba)],_0x2674e9[_0x2993d3(0x161)],_0x2674e9[_0x2993d3(0xe0)]][_0x2993d3(0x153)](this[_0x2993d3(0xae)])){const _0x48323f=this[_0x2993d3(0xae)][_0x2993d3(0x78)]();this[_0x2993d3(0xc4)]=null;try{this[_0x2993d3(0xc4)]=_0x2674e9[_0x2993d3(0x135)](requireModule,'mocha/lib/reporters/'+_0x48323f+_0x2993d3(0x181),_0x2674e9[_0x2993d3(0x178)]);}catch(_0x8685f9){_0x2674e9[_0x2993d3(0x145)](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x8685f9);}if(_0x2674e9[_0x2993d3(0x19a)](this[_0x2993d3(0xc4)],null))try{this[_0x2993d3(0xc4)]=_0x2674e9['dEcJP'](require,_0x48323f);}catch(_0x234e41){console[_0x2993d3(0xe3)](_0x2993d3(0x104)+_0x48323f);}if(_0x2674e9[_0x2993d3(0x182)](this['Reporter'],null)){const _0x770cf7={};_0x770cf7['reporterOptions']=_0x3e82fb['reporterOption'],this[_0x2993d3(0xc4)]=new this[(_0x2993d3(0xc4))](_0x29cd1c,_0x770cf7);}}}[a27_0x4fef41(0x117)](){const _0x1a7828=a27_0x4fef41,_0x17951f={'vVSHm':function(_0x13df76,_0x288810){return _0x13df76(_0x288810);}};return _0x17951f[_0x1a7828(0xf5)](Array,this[_0x1a7828(0xc1)])[_0x1a7828(0x14e)]('\x20\x20');}[a27_0x4fef41(0x8c)](){this['_indents']++;}[a27_0x4fef41(0x107)](){const _0x26f5eb=a27_0x4fef41;this[_0x26f5eb(0xc1)]--;}[a27_0x4fef41(0x19c)](_0x70ff99){const _0x37716b=a27_0x4fef41;this[_0x37716b(0x166)]+=_0x70ff99;}[a27_0x4fef41(0xaa)](_0x194cb3,_0xa0533e){const _0x2e6caa=a27_0x4fef41,_0x1b128b={'nkHHv':function(_0x9a99fd,_0x49fdfd){return _0x9a99fd(_0x49fdfd);}},_0x945544={};_0x945544[_0x2e6caa(0xb7)]=_0x194cb3,_0x945544['results']=this[_0x2e6caa(0x10a)],_0x1b128b[_0x2e6caa(0xc7)](_0xa0533e,_0x945544);}[a27_0x4fef41(0x15c)](){const _0x4b32cf=a27_0x4fef41;process[_0x4b32cf(0xf7)](_0x4b32cf(0xbf)+process[_0x4b32cf(0x18a)]),process['on'](_0x4b32cf(0xbf)+process[_0x4b32cf(0x18a)],this[_0x4b32cf(0xa6)][_0x4b32cf(0x14c)](this)),process[_0x4b32cf(0xf7)](_0x4b32cf(0x150)+process['pid']),process['on']('bs:addPlatformDetails:'+process[_0x4b32cf(0x18a)],this[_0x4b32cf(0x11b)]['bind'](this));}[a27_0x4fef41(0x187)]=async _0x85fbd1=>{const _0x55715f=a27_0x4fef41,_0x43eb2a={'LRuKw':function(_0x5f1452){return _0x5f1452();},'Mfthi':'testRunUUID','YcLNN':function(_0x4b976e,_0x4f7355){return _0x4b976e>_0x4f7355;},'JNjiJ':function(_0x837af2,_0x60b38b){return _0x837af2===_0x60b38b;},'gcXpF':_0x55715f(0xe1),'vYZwc':function(_0x33fa6b,_0x235eea){return _0x33fa6b(_0x235eea);}};try{const _0x132bee=this[_0x55715f(0xd6)];this['current_test']=_0x85fbd1,_0x85fbd1[_0x55715f(0xdf)]=null,_0x85fbd1['testAnalyticsId']=_0x43eb2a[_0x55715f(0x156)](uuidv4),globals[_0x55715f(0x94)](_0x43eb2a[_0x55715f(0x137)],_0x85fbd1['testAnalyticsId']),_0x85fbd1[_0x55715f(0xcb)]=new Date()[_0x55715f(0x112)](),_0x43eb2a['YcLNN'](_0x85fbd1['_currentRetry'],0x0)&&_0x132bee&&_0x43eb2a[_0x55715f(0x8b)](_0x132bee['title'],_0x85fbd1[_0x55715f(0x16f)])?(_0x85fbd1[_0x55715f(0xdf)]=_0x132bee['testAnalyticsId'],await this['sendTestRunEvent'](_0x85fbd1,undefined,![],_0x43eb2a[_0x55715f(0xb6)]),_0x132bee[_0x55715f(0x12c)]=STATE_FAILED,await this[_0x55715f(0x16b)](_0x132bee,undefined,!![])):await this[_0x55715f(0x16b)](_0x85fbd1,undefined,![],_0x43eb2a[_0x55715f(0xb6)]);}catch(_0x3f59ff){_0x43eb2a['vYZwc'](debug,_0x55715f(0x134)+_0x3f59ff);}};[a27_0x4fef41(0x16b)]=async(_0x324b36,_0x264acd=undefined,_0xb5ddd5=![],_0x2c304d=a27_0x4fef41(0x18d))=>{const _0x4f5571=a27_0x4fef41,_0x408a33={'wFEEJ':function(_0x111720,_0x581ba0){return _0x111720===_0x581ba0;},'ivkNT':function(_0x40b928,_0x566319){return _0x40b928!==_0x566319;},'CMchU':'test','yQyNv':_0x4f5571(0x13b),'oIzCh':function(_0x56516f,_0x3aa814){return _0x56516f!==_0x3aa814;},'szZya':_0x4f5571(0x71),'TNzHs':_0x4f5571(0x87),'Jqjqw':_0x4f5571(0xa1),'FaQov':function(_0x5298ef,_0x23cb74){return _0x5298ef===_0x23cb74;},'OHWvV':_0x4f5571(0x131),'wBnGp':_0x4f5571(0xac),'gmbEw':function(_0x2d448a,_0x4a79d2){return _0x2d448a-_0x4a79d2;},'rxrDi':'AssertionError','FyVpF':'UnhandledError','ynMCL':_0x4f5571(0x18d),'czCUf':'TestRunStarted','IoiIQ':function(_0x4bdb4a){return _0x4bdb4a();},'YJzcY':function(_0x30b18f,_0x55478f){return _0x30b18f===_0x55478f;},'MPjUZ':_0x4f5571(0xcb),'YQIVY':_0x4f5571(0xd2),'CLQoM':function(_0x44883d,_0x42ad22){return _0x44883d(_0x42ad22);},'HHwtl':function(_0x3e4fcc,_0x369da5){return _0x3e4fcc===_0x369da5;},'ewmFA':_0x4f5571(0x8e),'bUBKT':_0x4f5571(0x89),'UVeuP':'passed','NJzeh':_0x4f5571(0x136),'GGMdz':function(_0x2005e0,_0x2c68fe){return _0x2005e0===_0x2c68fe;},'craCs':_0x4f5571(0x14a),'XaSGE':_0x4f5571(0xd8),'croNA':_0x4f5571(0x123),'nnfpt':_0x4f5571(0x1a8),'eUEdi':'expanded','IMeeC':function(_0x11b215,_0x6993b2){return _0x11b215===_0x6993b2;},'yEECQ':_0x4f5571(0x180),'dzMGv':_0x4f5571(0xa8),'PgLAl':_0x4f5571(0xde)};try{if(_0x324b36[_0x4f5571(0x10c)]&&_0x324b36[_0x4f5571(0x10c)][_0x4f5571(0x16c)](/browserstack internal helper hook/))return;let _0x1b0f90=[];if(_0x408a33[_0x4f5571(0x113)](_0x324b36[_0x4f5571(0x12c)],STATE_FAILED)){if(_0x408a33[_0x4f5571(0x9b)](_0x324b36[_0x4f5571(0x13b)],undefined))_0x1b0f90=_0x324b36['err'][_0x4f5571(0x1aa)]?[_0x324b36[_0x4f5571(0x13b)][_0x4f5571(0x1aa)],_0x408a33[_0x4f5571(0xaf)]]:[_0x324b36[_0x4f5571(0x13b)],_0x408a33[_0x4f5571(0x165)]];else _0x408a33['ivkNT'](_0x264acd,undefined)?_0x1b0f90=[_0x264acd,_0x408a33[_0x4f5571(0x165)]]:_0x1b0f90=[];}const _0x750647=_0x408a33[_0x4f5571(0x9b)](_0x324b36[_0x4f5571(0x13b)],undefined)?_0x324b36[_0x4f5571(0x13b)][_0x4f5571(0x141)]():_0x408a33[_0x4f5571(0x18c)](_0x264acd,undefined)?_0x264acd[_0x4f5571(0x141)]():undefined;let _0xee05d0;try{_0xee05d0=this[_0x4f5571(0x177)](_0x324b36);}catch(_0x21820b){_0xee05d0=null;}const _0x448234=_0xee05d0?this[_0x4f5571(0x157)](_0xee05d0):null,_0x5888aa=_0xee05d0?this[_0x4f5571(0x14f)]['prefixTestPath'](this['getRootParentFile'](_0x324b36)):_0x408a33[_0x4f5571(0x79)],_0x1ae856={'framework':_0x408a33[_0x4f5571(0x11f)],'uuid':_0x324b36[_0x4f5571(0x90)]||_0x324b36[_0x4f5571(0x82)],'name':_0x324b36[_0x4f5571(0x16f)],'body':{'lang':_0x408a33[_0x4f5571(0x128)],'code':_0x324b36['body']},'scope':this[_0x4f5571(0x74)](_0x324b36),'scopes':this[_0x4f5571(0x9d)](_0x324b36),'identifier':_0x324b36[_0x4f5571(0x12d)](),'file_name':_0x5888aa,'vc_filepath':_0x448234?path[_0x4f5571(0x193)](_0x448234,_0xee05d0):null,'location':_0x5888aa,'result':_0x408a33[_0x4f5571(0x75)](_0x2c304d,_0x408a33[_0x4f5571(0x109)])?_0x408a33[_0x4f5571(0x198)]:this[_0x4f5571(0xf4)](_0x324b36[_0x4f5571(0x12c)]),'failure_reason':_0x750647,'duration_in_ms':_0x324b36[_0x4f5571(0xe9)]||(_0x2c304d[_0x4f5571(0x16c)](/Finished/)||_0x2c304d[_0x4f5571(0x16c)](/Skipped/)?_0x408a33[_0x4f5571(0xb9)](Date[_0x4f5571(0xec)](),new Date(_0x324b36['started_at'])['getTime']()):null),'started_at':_0x324b36[_0x4f5571(0xcb)],'finished_at':_0x2c304d['match'](/Finished/)||_0x2c304d[_0x4f5571(0x16c)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x4f5571(0x9c)](null,_0x1b0f90),'failure_type':!_0x750647?null:_0x750647['match'](/AssertionError/)?_0x408a33['rxrDi']:_0x408a33[_0x4f5571(0x8f)],'retry_of':_0x324b36[_0x4f5571(0xdf)]};if([_0x408a33[_0x4f5571(0x109)],_0x408a33[_0x4f5571(0x192)],_0x408a33[_0x4f5571(0x15f)]][_0x4f5571(0x153)](_0x2c304d)){if(_0x408a33['IoiIQ'](getCentralUser)['lcnc']){const _0x2cfb09=TestMetadata[_0x4f5571(0xc0)](_0x324b36[_0x4f5571(0x7a)]);if(_0x2cfb09){const _0x3ca08f={};_0x3ca08f['lcnc']=_0x2cfb09,Object[_0x4f5571(0xcf)](_0x1ae856,_0x3ca08f);}}}testhubUtils[_0x4f5571(0xfa)](_0x1ae856,_0x2c304d,_0x324b36,FRAMEWORKS['MOCHA']);(_0x324b36[_0x4f5571(0x7e)]||_0x324b36[_0x4f5571(0x152)])&¢ralScannerUtils[_0x4f5571(0x171)](_0x1ae856,_0x324b36[_0x4f5571(0x7e)],_0x324b36[_0x4f5571(0x152)]);_0x408a33[_0x4f5571(0xcc)](_0x2c304d,_0x408a33[_0x4f5571(0x109)])&&!_0x1ae856[_0x408a33[_0x4f5571(0x116)]]&&(_0x1ae856[_0x408a33[_0x4f5571(0x116)]]=_0x1ae856[_0x408a33[_0x4f5571(0x102)]]);if(_0x2c304d[_0x4f5571(0x16c)](/HookRun/))[_0x1ae856[_0x4f5571(0x180)],_0x1ae856[_0x4f5571(0xb5)]]=_0x408a33[_0x4f5571(0x7d)](getHookDetails,_0x324b36['fullTitle']()||_0x324b36[_0x4f5571(0xf9)]||_0x324b36['title']),_0x408a33[_0x4f5571(0xf8)](_0x2c304d,_0x408a33[_0x4f5571(0xa7)])&&(_0x408a33[_0x4f5571(0x18c)](_0x1ae856[_0x4f5571(0x121)],_0x408a33['bUBKT'])&&(_0x1ae856[_0x4f5571(0x121)]=_0x408a33['UVeuP']),_0x408a33[_0x4f5571(0x75)](_0x1ae856[_0x4f5571(0x180)],_0x408a33[_0x4f5571(0x130)])&&_0x408a33[_0x4f5571(0x186)](_0x1ae856[_0x4f5571(0x121)],_0x408a33[_0x4f5571(0x8a)])&&!_0x324b36[_0x4f5571(0x110)][_0x4f5571(0x126)][_0x4f5571(0x155)]&&(_0x324b36[_0x4f5571(0x110)]['currentTest'][_0x4f5571(0x155)]=!![],_0x324b36[_0x4f5571(0x110)][_0x4f5571(0x126)][_0x4f5571(0x12c)]=STATE_FAILED,await this[_0x4f5571(0x16b)](_0x324b36[_0x4f5571(0x110)][_0x4f5571(0x126)],undefined,!![])));else _0x2c304d['match'](/TestRun/)&&_0x408a33[_0x4f5571(0x7d)](mapTestHooks,_0x324b36);const _0x367fe3=_0x1ae856[_0x408a33[_0x4f5571(0x77)]][0x0];_0x367fe3&&(_0x1ae856[_0x408a33[_0x4f5571(0xdc)]]=_0x367fe3[_0x408a33[_0x4f5571(0x18e)]],_0x1ae856[_0x408a33[_0x4f5571(0x12e)]]=_0x367fe3[_0x408a33['eUEdi']]);[_0x408a33[_0x4f5571(0x192)],_0x408a33['OHWvV']][_0x4f5571(0x153)](_0x2c304d)&&(this[_0x4f5571(0x147)]['push'](_0x1ae856),_0x1ae856['hooks']=_0x408a33[_0x4f5571(0x7d)](getHooksForTest,_0x324b36));const _0x559fc1={'event_type':_0x408a33[_0x4f5571(0xd3)](_0x2c304d,_0x408a33[_0x4f5571(0x109)])?_0x408a33[_0x4f5571(0x192)]:_0x2c304d};_0x2c304d[_0x4f5571(0x16c)](/HookRun/)?(_0x1ae856[_0x408a33[_0x4f5571(0x19d)]]=HOOK_TYPES_MAP[_0x1ae856[_0x408a33[_0x4f5571(0x19d)]]],_0x559fc1[_0x408a33['dzMGv']]=_0x1ae856):_0x559fc1[_0x408a33[_0x4f5571(0x191)]]=_0x1ae856,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x4f5571(0xe7)],_0x559fc1),await SessionHandler[_0x4f5571(0xef)](_0x559fc1);}catch(_0x6fe531){_0x408a33['CLQoM'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x2c304d+'\x20with\x20error\x20:\x20'+_0x6fe531);}};[a27_0x4fef41(0x157)](_0x30632f){const _0x3158df=a27_0x4fef41,_0x346844={};_0x346844[_0x3158df(0xcd)]=function(_0x325bba,_0x11cc5e){return _0x325bba===_0x11cc5e;},_0x346844['iFibh']=function(_0x378ecf,_0x345844){return _0x378ecf===_0x345844;},_0x346844[_0x3158df(0x16e)]=function(_0x31481c,_0x11366f){return _0x31481c===_0x11366f;},_0x346844[_0x3158df(0x11c)]=_0x3158df(0x17b),_0x346844[_0x3158df(0x133)]='config';const _0x1c541d=_0x346844,_0x2ee812=path[_0x3158df(0x168)];if(_0x1c541d['PIilJ'](_0x30632f,null)||_0x1c541d[_0x3158df(0x132)](_0x30632f,'')||_0x1c541d['kUuVe'](_0x30632f,_0x2ee812)||_0x1c541d['kUuVe'](_0x30632f,path[_0x3158df(0x10d)](_0x30632f)))return null;try{return fs[_0x3158df(0x119)](path[_0x3158df(0x14e)](_0x30632f,_0x1c541d[_0x3158df(0x11c)],_0x1c541d[_0x3158df(0x133)])),_0x30632f;}catch(_0x5e8632){const _0x50e126=path[_0x3158df(0x10d)](_0x30632f);return this[_0x3158df(0x157)](_0x50e126);}}[a27_0x4fef41(0xa6)]=async _0x1e57bb=>{const _0x195f58=a27_0x4fef41,_0x2297d1={'xkNfz':_0x195f58(0x101),'Cdftt':function(_0x4db386,_0xdc9199){return _0x4db386(_0xdc9199);}};try{this[_0x195f58(0x85)]&&!this[_0x195f58(0x85)][_0x195f58(0x155)]&&(_0x1e57bb['hook_run_uuid']=this[_0x195f58(0x85)][_0x195f58(0x82)]);!_0x1e57bb[_0x195f58(0x143)]&&this['current_test']&&!this[_0x195f58(0xd6)][_0x195f58(0x155)]&&(_0x1e57bb[_0x195f58(0x81)]=this['current_test'][_0x195f58(0x90)]);if(_0x1e57bb[_0x195f58(0x143)]||_0x1e57bb[_0x195f58(0x81)]){const _0x1268ad={};_0x1268ad[_0x195f58(0x115)]=_0x2297d1[_0x195f58(0x1a3)],_0x1268ad[_0x195f58(0x13f)]=[_0x1e57bb],await SessionHandler[_0x195f58(0xef)](_0x1268ad);}}catch(_0x2d3a04){_0x2297d1[_0x195f58(0x1a7)](debug,_0x195f58(0x170)+_0x2d3a04);}};[a27_0x4fef41(0x11b)]=async _0x25752a=>{const _0x2ade15=a27_0x4fef41,_0x1b2cb9={'KZUyk':_0x2ade15(0x10b),'mgJCH':_0x2ade15(0xd1),'xYdmL':function(_0x40f87d,_0x19f71c){return _0x40f87d(_0x19f71c);}};try{const _0x5128c9={};_0x5128c9[_0x2ade15(0x83)]=_0x25752a[_0x2ade15(0x83)]||this[_0x2ade15(0xd6)]['testAnalyticsId'],_0x5128c9[_0x2ade15(0xa5)]=_0x25752a[_0x1b2cb9[_0x2ade15(0xa2)]];const _0x2412f1=_0x5128c9,_0x5677e5={};_0x5677e5[_0x2ade15(0x115)]=_0x1b2cb9['mgJCH'],_0x5677e5[_0x2ade15(0xde)]=_0x2412f1,await SessionHandler[_0x2ade15(0xef)](_0x5677e5);}catch(_0x2b3758){_0x1b2cb9['xYdmL'](debug,_0x2ade15(0x194)+_0x2b3758);}};['analyticsResult'](_0x3ffbe1){const _0x52fa5a=a27_0x4fef41,_0x59c616={};_0x59c616[_0x52fa5a(0x160)]=_0x52fa5a(0x11e),_0x59c616[_0x52fa5a(0x15d)]=_0x52fa5a(0xd5),_0x59c616['gOlVW']=_0x52fa5a(0x89);const _0x174454=_0x59c616,_0x2c813b={};return _0x2c813b[STATE_PASSED]=_0x174454['EcqJQ'],_0x2c813b[STATE_PENDING]=_0x174454[_0x52fa5a(0x15d)],_0x2c813b[STATE_FAILED]=_0x174454['gOlVW'],_0x2c813b[_0x3ffbe1];}[a27_0x4fef41(0x74)](_0x232ec4){const _0x49d107=a27_0x4fef41,_0x2dfcde={};_0x2dfcde['kxstk']=function(_0x342a39,_0x5a0f09){return _0x342a39-_0x5a0f09;};const _0x25fbda=_0x2dfcde,_0x4ed48e=_0x232ec4[_0x49d107(0xea)]();return _0x4ed48e[_0x49d107(0x98)](0x0,_0x25fbda[_0x49d107(0x19e)](_0x4ed48e[_0x49d107(0x149)],0x1))['join']('\x20');}[a27_0x4fef41(0x9d)](_0x520106){const _0x56dd4c=a27_0x4fef41,_0x57f07e={};_0x57f07e['loQjp']=function(_0x316379,_0x51746c){return _0x316379-_0x51746c;};const _0x1ea61a=_0x57f07e,_0x2dab1d=_0x520106[_0x56dd4c(0xea)]();return _0x2dab1d['slice'](0x0,_0x1ea61a[_0x56dd4c(0x19f)](_0x2dab1d['length'],0x1));}[a27_0x4fef41(0x177)](_0x11ed45){const _0x22c661=a27_0x4fef41,_0x5ee7cf={};_0x5ee7cf['aJwMn']=function(_0x1b7be6,_0x20a86d){return _0x1b7be6>_0x20a86d;};const _0x2239e7=_0x5ee7cf;if(_0x11ed45[_0x22c661(0x1a2)])return _0x11ed45[_0x22c661(0x1a2)];if(_0x11ed45[_0x22c661(0x110)]){const _0x358b05=_0x11ed45['ctx'][_0x22c661(0x126)]?this[_0x22c661(0x177)](_0x11ed45[_0x22c661(0x110)]['currentTest']):null;if(_0x358b05)return _0x358b05;}if(_0x11ed45['parent']){const _0x1984e4=this[_0x22c661(0x177)](_0x11ed45[_0x22c661(0xa9)])||(_0x11ed45['parent'][_0x22c661(0x110)]&&_0x11ed45[_0x22c661(0xa9)][_0x22c661(0x110)]['currentTest']?this[_0x22c661(0x177)](_0x11ed45['parent'][_0x22c661(0x110)][_0x22c661(0x126)]):null);if(_0x1984e4)return _0x1984e4;_0x11ed45['parent'][_0x22c661(0x197)]&&_0x2239e7[_0x22c661(0x199)](_0x11ed45['parent'][_0x22c661(0x197)][_0x22c661(0x149)],0x0)&&_0x11ed45[_0x22c661(0xa9)][_0x22c661(0x197)][_0x22c661(0x73)](_0x14101d=>{const _0x38ccd0=_0x22c661,_0x21abf5=_0x14101d[_0x38ccd0(0x110)]?this[_0x38ccd0(0x177)](_0x14101d[_0x38ccd0(0x110)]):null;if(_0x21abf5)return _0x21abf5;});}return null;}}module[a27_0x4fef41(0x13e)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x469540=a28_0x5499;function a28_0x5980(){const _0x5911b3=['assign','call','DNVJN','WozqC','aCBDZ','cooGl','WcUFu','itoEz','KCBiK','JkPxQ','Printing\x20stats\x20of\x20tests','IFKfc','--disable-test-observability','has','red','expected','testSuites','CUCdU','failed','exitCode','JtrLW','bold','pending','--disable-browserstack-automation','isPending','EnWBj','****\x20FAILURES\x20****','test','Running\x20your\x20mocha\x20tests','getErrorMessageFromResults','SDK_CLEANUP','BgmEY','Klpwl','Couldn\x27t\x20write\x20json\x20result\x20to','rDhjL','lgePg','Dtuih','eWCCO','GYYcX','HgPvE','actual','useW3C','../../helpers/performance/constants','results','platforms','fullTitle','handleApp','../../helpers/test-observability/utils','fireFunnelTestEvent','testsuite','ZlcDD','2143710pGbGkC','uvAMn','join','wMpSM','BNYzf','ebQDW','failures','testsPassed','JZfCS','useColors','isUndefined','prepareCapabilities','vizae','totalTests','YovSO','../../helpers/utilities','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','kYspk','6xylaZI','forEach','mocha/lib/reporters/base.js','parse','Ubpve','unlinkSync','ZXNYM','prototype','IYkrg','ignore','reporterOptions','argv','writeFileSync','mocha','uoCAt','cliConfig','showDiff','accessibility','3dysATK','json','kDjPa','BROWSERSTACK_RERUN_TESTS','rootHooks','DbbFY','QWImn','framework','parallelsPerPlatform','start','lwfzs','rsYrE','PPTrH','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testsFailed','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','xunit','winstonLogger','VLMVQ','recursive','testcase','config','BROWSERSTACK_TEST_OBSERVABILITY','ZSwIK','XKJns','toUTCString','green','Mbgcr','validPlatformsPresent','\x20platforms','foksZ','generateDiff','nnCzp','ByWIu','Writing\x20json\x20result\x20to\x20file','spec','suite','errorMessage','Running\x20your\x20mocha\x20tests\x20across\x20','bgRedBright','BROWSERSTACK_TEST_OBSERVABILITY_YML','YvAZU','shouldReRunObservabilityTests','getUserWorkerCount','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ncaOV','../../helpers/logger','file','../../helpers/performance/performance-tester','suiteName','nOEgo','EygOA','../utils/constants','stats','output','387OUoZvp','MOCHA','env','fpUKi','finally','log','iCdCH','SjUHR','FiWTF','isBrowserstackInfra','2778728GcfyZA','passes','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','wKIIh','\x20total','TzEgK','title','CsaGK','WhdBu','testObservability','</testsuite>','SDKTestSuccessful','wKiXi','IFYHR','sort','bgBlueBright','LCivW','err','length','IxRHP','accessibilityOptions','error\x20removing\x20tcg\x20config\x20file','consoleLog','central_scanner','TpZUM','then','IDsKZ','includes','debug','skipped','4637703cGCnFs','hideDiff','hENCk','state','isTestObservabilitySession','failure','\x20passed','Tests:\x20\x20\x20\x20\x20\x20\x20','GnZdV','BROWSERSTACK_GRR_US_HUB_URL','TrJbR','files','duration','testsPending','error','qWMLb','AACCm','\x20failed','SYjxj','pmNqU','aZlNa','UxRTY','../../helpers/helper','GBwmm','aassf','../../helpers/percy/utils','printBuildLink','../../helpers/central-scanner/constants','FRAMEWORKS','gaSuS','Total\x20Platforms:\x20','indexOf','getPlatformName','SwgND','EYYUj','info','add','push','cSZQq','getCentralUser','pMXdV','Couldn\x27t\x20write\x20xunit\x20result\x20to','LHUPW','object','VLZSJ','fiDxT','vHtmx','getTCGConfigFilePaths','passed','Now,\x20showing\x20logs\x20from\x20mocha','stack','3626922QiOvrB','initialize','map','yellow','mocha/lib/cli/collect-files.js','Mocha\x20Tests','FNysV','msGdY','phezL','logLevel','\x20skipped','29950XIyMqJ','KByHa','stringify','qtUji','xqbpe','pnYdh','AHkVo','getHubUrl','speed','aalab','min','UySId','uHUYa','proxySettings','hasOwnProperty','lAtod','message','exports','ICcvT','extension','titlePath','562744JWkWOl','zQEcH','293453wYDHkV','mjs','reporter-option'];a28_0x5980=function(){return _0x5911b3;};return a28_0x5980();}function a28_0x5499(_0x552731,_0x1fc9fa){const _0x5980ea=a28_0x5980();return a28_0x5499=function(_0x54999b,_0xab9d48){_0x54999b=_0x54999b-0xa1;let _0x127741=_0x5980ea[_0x54999b];return _0x127741;},a28_0x5499(_0x552731,_0x1fc9fa);}(function(_0x965b81,_0x1c037b){const _0x33a60d=a28_0x5499,_0x48d153=_0x965b81();while(!![]){try{const _0x5439d2=parseInt(_0x33a60d(0x17d))/0x1*(parseInt(_0x33a60d(0xb6))/0x2)+parseInt(_0x33a60d(0xc8))/0x3*(-parseInt(_0x33a60d(0x10a))/0x4)+parseInt(_0x33a60d(0xa4))/0x5+-parseInt(_0x33a60d(0x15b))/0x6+parseInt(_0x33a60d(0x128))/0x7+-parseInt(_0x33a60d(0x17b))/0x8+parseInt(_0x33a60d(0x100))/0x9*(-parseInt(_0x33a60d(0x166))/0xa);if(_0x5439d2===_0x1c037b)break;else _0x48d153['push'](_0x48d153['shift']());}catch(_0x382ea6){_0x48d153['push'](_0x48d153['shift']());}}}(a28_0x5980,0x738f5));const chalk=require('chalk'),logger=require(a28_0x469540(0xf7))[a28_0x469540(0xda)],{default:BrowserStackSetup}=require(a28_0x469540(0xd7)),helper=require('../../helpers/helper'),utilities=require(a28_0x469540(0xb3)),testOpsHelper=require(a28_0x469540(0x1af)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x469540(0x13e)),{getPercyOptions}=require(a28_0x469540(0x141)),Base=requireModule(a28_0x469540(0xb8),a28_0x469540(0xc3)),collectFiles=requireModule(a28_0x469540(0x15f),a28_0x469540(0xc3)),constants=require(a28_0x469540(0xfd)),PerformanceTester=require(a28_0x469540(0xf9)),PerformanceEvents=require(a28_0x469540(0x1aa))['EVENTS'],centralScannerConstants=require(a28_0x469540(0x143));function tag(_0x552e43,_0x324eac,_0x50a928,_0x48907d){const _0xc1bdf6=a28_0x469540,_0x35d706={'SYjxj':function(_0x2e00ce,_0x268d3f){return _0x2e00ce+_0x268d3f;},'WjVZr':function(_0x277f57,_0x3cec7f){return _0x277f57+_0x3cec7f;},'msGdY':function(_0x5aabee,_0x2693b7){return _0x5aabee(_0x2693b7);},'YvAZU':function(_0x452663,_0x5003dd){return _0x452663+_0x5003dd;},'JtrLW':function(_0x1d8f62,_0x478e81){return _0x1d8f62+_0x478e81;},'rsYrE':function(_0x277c92,_0x523673){return _0x277c92+_0x523673;},'uoCAt':function(_0x313050,_0x316a81){return _0x313050+_0x316a81;},'nnCzp':function(_0x344eaf,_0x36b160){return _0x344eaf+_0x36b160;}},_0x5e17f5=_0x50a928?'/>':'>',_0x1bebbe=[];let _0x55337c;for(const _0x388140 in _0x324eac){Object[_0xc1bdf6(0xbd)][_0xc1bdf6(0x174)][_0xc1bdf6(0x181)](_0x324eac,_0x388140)&&_0x1bebbe['push'](_0x35d706[_0xc1bdf6(0x13a)](_0x35d706[_0xc1bdf6(0x13a)](_0x35d706['WjVZr'](_0x388140,'=\x22'),_0x35d706[_0xc1bdf6(0x162)](escape,_0x324eac[_0x388140])),'\x22'));}return _0x55337c=_0x35d706[_0xc1bdf6(0xf2)](_0x35d706[_0xc1bdf6(0x13a)](_0x35d706[_0xc1bdf6(0x194)]('<',_0x552e43),_0x1bebbe[_0xc1bdf6(0x11c)]?_0x35d706[_0xc1bdf6(0xd3)]('\x20',_0x1bebbe[_0xc1bdf6(0xa6)]('\x20')):''),_0x5e17f5),_0x48907d&&(_0x55337c+=_0x35d706[_0xc1bdf6(0xc4)](_0x35d706[_0xc1bdf6(0xd3)](_0x35d706[_0xc1bdf6(0xe9)](_0x48907d,'</'),_0x552e43),_0x5e17f5)),_0x55337c;}let xunitContent='';function xunitWrite(_0x3cf19a){xunitContent+=_0x3cf19a;}function xunitTest(_0x1a30d0,_0x1024d8){const _0x2c9bd5=a28_0x469540,_0x432af8={'ICcvT':function(_0x2993a7,_0x6ccbb4){return _0x2993a7/_0x6ccbb4;},'KCBiK':function(_0x2221e7,_0x535abd){return _0x2221e7===_0x535abd;},'phezL':_0x2c9bd5(0x192),'kJdds':function(_0x2e3943,_0x101651){return _0x2e3943+_0x101651;},'WcUFu':function(_0x451500,_0x26bc88){return _0x451500(_0x26bc88);},'ebQDW':function(_0x13dc2f,_0x4ac8b4,_0x46b6f3,_0x116cd9,_0x209c34){return _0x13dc2f(_0x4ac8b4,_0x46b6f3,_0x116cd9,_0x209c34);},'fiDxT':_0x2c9bd5(0xdd),'LHUPW':function(_0x397565,_0x5be8ac,_0x50d053,_0x39e5da,_0xf62d51){return _0x397565(_0x5be8ac,_0x50d053,_0x39e5da,_0xf62d51);},'fnPDJ':_0x2c9bd5(0x12d),'wKIIh':function(_0x36d7c3,_0x48dfb4){return _0x36d7c3+_0x48dfb4;},'TzEgK':function(_0x5d2a89,_0x1f52b6){return _0x5d2a89+_0x1f52b6;},'AHkVo':function(_0x3500f9,_0xb6f046){return _0x3500f9+_0xb6f046;},'YovSO':function(_0x9bfb40,_0x35c1c1){return _0x9bfb40(_0x35c1c1);},'kYspk':function(_0x24eec4,_0x5d4470){return _0x24eec4(_0x5d4470);},'cRIYK':function(_0x13b53a,_0x5810c9,_0x397d2a,_0x289495,_0x5a137f){return _0x13b53a(_0x5810c9,_0x397d2a,_0x289495,_0x5a137f);},'wMpSM':function(_0x6932d8,_0x322cfa,_0x133c16,_0x29a6ea){return _0x6932d8(_0x322cfa,_0x133c16,_0x29a6ea);},'lgePg':_0x2c9bd5(0x127),'WozqC':function(_0x115486,_0x78f414,_0x2228f3,_0x528ed8){return _0x115486(_0x78f414,_0x2228f3,_0x528ed8);}};Base[_0x2c9bd5(0xad)]=![];var _0x3a9139={'classname':_0x1a30d0[_0x2c9bd5(0x1ad)],'name':_0x1a30d0[_0x2c9bd5(0x110)],'time':_0x432af8[_0x2c9bd5(0x178)](_0x1a30d0[_0x2c9bd5(0x134)],0x3e8)||0x0,'platform':_0x1024d8};if(_0x432af8[_0x2c9bd5(0x188)](_0x1a30d0[_0x2c9bd5(0x12b)],_0x432af8[_0x2c9bd5(0x163)])){var _0x50a6ab=_0x1a30d0[_0x2c9bd5(0x11b)],_0x34bc15=!Base[_0x2c9bd5(0x129)]&&Base[_0x2c9bd5(0xc6)](_0x50a6ab)?_0x432af8['kJdds']('\x0a',Base[_0x2c9bd5(0xe8)](_0x50a6ab[_0x2c9bd5(0x1a8)],_0x50a6ab[_0x2c9bd5(0x18f)])):'';_0x432af8[_0x2c9bd5(0x186)](xunitWrite,_0x432af8[_0x2c9bd5(0xa9)](tag,_0x432af8[_0x2c9bd5(0x155)],_0x3a9139,![],_0x432af8[_0x2c9bd5(0x152)](tag,_0x432af8['fnPDJ'],{},![],_0x432af8[_0x2c9bd5(0x10d)](_0x432af8[_0x2c9bd5(0x10f)](_0x432af8[_0x2c9bd5(0x16c)](_0x432af8[_0x2c9bd5(0x186)](escape,_0x50a6ab[_0x2c9bd5(0x176)]),_0x432af8[_0x2c9bd5(0xb2)](escape,_0x34bc15)),'\x0a'),_0x432af8[_0x2c9bd5(0xb2)](escape,_0x50a6ab[_0x2c9bd5(0x15a)])))));}else _0x1a30d0[_0x2c9bd5(0x198)]?_0x432af8[_0x2c9bd5(0xb5)](xunitWrite,_0x432af8['cRIYK'](tag,_0x432af8[_0x2c9bd5(0x155)],_0x3a9139,![],_0x432af8[_0x2c9bd5(0xa7)](tag,_0x432af8[_0x2c9bd5(0x1a3)],{},!![]))):_0x432af8[_0x2c9bd5(0x186)](xunitWrite,_0x432af8[_0x2c9bd5(0x183)](tag,_0x432af8[_0x2c9bd5(0x155)],_0x3a9139,!![]));};function getStats(_0x1ca1d0){const _0x4a0d50=a28_0x469540,_0x4ceb97={};_0x4ceb97['XaaBR']=_0x4a0d50(0xed),_0x4ceb97['eWCCO']=_0x4a0d50(0x158),_0x4ceb97['KByHa']=_0x4a0d50(0x192),_0x4ceb97['UxRTY']=_0x4a0d50(0x1ab);const _0x3033f8=_0x4ceb97,_0x45bc03=Object['keys'](_0x1ca1d0);let _0x43e854=0x0,_0x1b36dd=0x0,_0x3eb4d7=0x0,_0x25390e=0x0;const _0x1b55f6=new Set();_0x45bc03[_0x4a0d50(0xb7)](_0x29889c=>{const _0x145c99=_0x4a0d50;_0x1ca1d0[_0x29889c][_0x3033f8[_0x145c99(0x13d)]]['forEach'](_0x196614=>{const _0x2f106e=_0x145c99;_0x1b55f6[_0x2f106e(0x14c)](_0x196614[_0x3033f8['XaaBR']]),_0x43e854++;switch(_0x196614['state']){case _0x3033f8[_0x2f106e(0x1a5)]:_0x3eb4d7++;break;case _0x3033f8[_0x2f106e(0x167)]:_0x1b36dd++;break;default:_0x25390e++;}});});const _0x3d660e={};return _0x3d660e[_0x4a0d50(0x190)]=_0x1b55f6['size'],_0x3d660e[_0x4a0d50(0x1ac)]=_0x45bc03,_0x3d660e[_0x4a0d50(0xb1)]=_0x43e854,_0x3d660e[_0x4a0d50(0xd6)]=_0x1b36dd,_0x3d660e[_0x4a0d50(0xab)]=_0x3eb4d7,_0x3d660e[_0x4a0d50(0x135)]=_0x25390e,_0x3d660e;}function errorJSON(_0x236cd3){const _0x16ec4e=a28_0x469540;var _0x244022={};return Object['getOwnPropertyNames'](_0x236cd3)[_0x16ec4e(0xb7)](function(_0x1a1d2d){_0x244022[_0x1a1d2d]=_0x236cd3[_0x1a1d2d];},_0x236cd3),_0x244022;}function cleanCycles(_0x57f6ec){const _0x52d626=a28_0x469540,_0x4aa2a8={};_0x4aa2a8['qtUji']=function(_0x337c26,_0x3a9640){return _0x337c26===_0x3a9640;},_0x4aa2a8['HgPvE']=_0x52d626(0x153),_0x4aa2a8['Mbgcr']=function(_0x401dc2,_0x42f01f){return _0x401dc2!==_0x42f01f;},_0x4aa2a8[_0x52d626(0x14e)]=function(_0x133730,_0x58857b){return _0x133730+_0x58857b;};const _0x2e541c=_0x4aa2a8;var _0x3b0f6f=[];return JSON[_0x52d626(0xb9)](JSON[_0x52d626(0x168)](_0x57f6ec,function(_0x478256,_0x18ff14){const _0x288f8c=_0x52d626;if(_0x2e541c[_0x288f8c(0x169)](typeof _0x18ff14,_0x2e541c[_0x288f8c(0x1a7)])&&_0x2e541c[_0x288f8c(0xe4)](_0x18ff14,null)){if(_0x2e541c[_0x288f8c(0xe4)](_0x3b0f6f[_0x288f8c(0x147)](_0x18ff14),-0x1))return _0x2e541c[_0x288f8c(0x14e)]('',_0x18ff14);_0x3b0f6f[_0x288f8c(0x14d)](_0x18ff14);}return _0x18ff14;}));}function clean(_0x3419f3){const _0x36581d=a28_0x469540,_0x4d86ce={'ZlcDD':function(_0x598580,_0x23acd0){return _0x598580 instanceof _0x23acd0;},'DNVJN':function(_0x2fbbb1,_0x54eda0){return _0x2fbbb1(_0x54eda0);}};var _0x27634a=_0x3419f3[_0x36581d(0x11b)]||{};return _0x4d86ce[_0x36581d(0xa3)](_0x27634a,Error)&&(_0x27634a=_0x4d86ce[_0x36581d(0x182)](errorJSON,_0x27634a)),{'title':_0x3419f3[_0x36581d(0x110)],'fullTitle':_0x3419f3[_0x36581d(0x1ad)],'file':_0x3419f3[_0x36581d(0xf8)],'duration':_0x3419f3[_0x36581d(0x134)],'currentRetry':_0x3419f3['currentRetry'],'speed':_0x3419f3[_0x36581d(0x16e)],'err':_0x4d86ce['DNVJN'](cleanCycles,_0x27634a)};}function printStats(_0x5e983b,_0x5c8b78=a28_0x469540(0xec),_0x1aeb08={}){const _0x50613f=a28_0x469540,_0x55a3e5={'JkPxQ':function(_0x189dee,_0x268cde){return _0x189dee(_0x268cde);},'TpZUM':function(_0x32c760,_0x1fd63b){return _0x32c760===_0x1fd63b;},'uHUYa':_0x50613f(0x158),'nOEgo':_0x50613f(0x10b),'DbbFY':function(_0x13c243,_0x2dafd1){return _0x13c243===_0x2dafd1;},'JZfCS':'failed','lwfzs':_0x50613f(0xaa),'EYYUj':_0x50613f(0x196),'uvAMn':_0x50613f(0x1ab),'CsaGK':function(_0x100605,_0x3fb674){return _0x100605===_0x3fb674;},'qWMLb':function(_0x535a5a,_0x55637b){return _0x535a5a===_0x55637b;},'hENCk':function(_0x55614b,_0x52ab91){return _0x55614b*_0x52ab91;},'bQnxu':function(_0x39c295,_0x1cb83b,_0x218646){return _0x39c295(_0x1cb83b,_0x218646);},'aCBDZ':function(_0x10e968,_0x3bf490){return _0x10e968===_0x3bf490;},'pnYdh':function(_0x49bebb,_0x1c95c6){return _0x49bebb>_0x1c95c6;},'AACCm':function(_0x30f9bb){return _0x30f9bb();},'foksZ':function(_0x4f3da0,_0x51aa1d){return _0x4f3da0===_0x51aa1d;},'FiWTF':'doc','EygOA':function(_0x22b7d7,_0x1b7e38){return _0x22b7d7(_0x1b7e38);},'UySId':function(_0x44a297,_0x5733b5){return _0x44a297>_0x5733b5;},'GYYcX':'Setting\x20non\x20exit\x20code\x20for\x20failures','IDsKZ':_0x50613f(0x18a),'vHtmx':function(_0x3711b3,_0x1a0e53){return _0x3711b3+_0x1a0e53;},'FNysV':_0x50613f(0x146),'EnWBj':function(_0x47b68b,_0x5c4772){return _0x47b68b+_0x5c4772;},'VLZSJ':'Total\x20Suites:\x20','itoEz':function(_0x345b19,_0x508603){return _0x345b19+_0x508603;},'gaSuS':function(_0x5324cb,_0x5e4c1e){return _0x5324cb+_0x5e4c1e;},'kDjPa':_0x50613f(0x12f),'UITrW':function(_0x5bf07d,_0x482ce2){return _0x5bf07d>_0x482ce2;},'XKJns':function(_0x5d40ce,_0xd0f2b4){return _0x5d40ce>_0xd0f2b4;},'Dtuih':function(_0x3661d7,_0x4b9281){return _0x3661d7+_0x4b9281;},'wKiXi':function(_0x4dbe36,_0x43f184){return _0x4dbe36+_0x43f184;},'ZSwIK':'\x0a\x0a\x0a','aZlNa':_0x50613f(0xc9),'vizae':_0x50613f(0xeb),'fzRKT':_0x50613f(0x1a1),'rDhjL':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','ZnqyM':_0x50613f(0xd9),'asQfL':_0x50613f(0x160),'GBwmm':function(_0x312766,_0x2e6523){return _0x312766||_0x2e6523;},'WhdBu':function(_0x55760d,_0x462d15,_0x607e8a,_0x5e3b34){return _0x55760d(_0x462d15,_0x607e8a,_0x5e3b34);},'PjuYo':_0x50613f(0xa2),'SwgND':function(_0xe64b45,_0x537ece){return _0xe64b45-_0x537ece;},'oPAow':function(_0x5660c2,_0x17e36e){return _0x5660c2-_0x17e36e;},'pIcja':function(_0x312c5f,_0x2d8120){return _0x312c5f/_0x2d8120;},'ODBIx':function(_0x5971c3,_0x43bcc0){return _0x5971c3(_0x43bcc0);},'QWImn':_0x50613f(0x114),'aalab':'Writing\x20xunit\x20result\x20to\x20file','LCivW':_0x50613f(0x151),'pmNqU':_0x50613f(0xf5),'VLMVQ':function(_0x5b9b06,_0x5d4e22){return _0x5b9b06===_0x5d4e22;},'IYkrg':'Listing\x20all\x20the\x20failures','xqbpe':_0x50613f(0x19a)};if(_0x55a3e5[_0x50613f(0xe7)](_0x5c8b78,_0x55a3e5[_0x50613f(0x108)]))return;const _0x57e492=0x0,_0x3fe685=()=>{const _0x11e7b4=_0x50613f;return _0x55a3e5[_0x11e7b4(0x189)](Array,_0x57e492)[_0x11e7b4(0xa6)]('\x20\x20');},{testSuites:_0x72512f,platforms:_0x5b94d7,totalTests:_0x368184,testsFailed:_0x5bfcec,testsPassed:_0x119a2f,testsPending:_0xe78812}=_0x55a3e5[_0x50613f(0xfc)](getStats,_0x5e983b);_0x55a3e5[_0x50613f(0x171)](_0x5bfcec,0x0)&&(logger['debug'](_0x55a3e5[_0x50613f(0x1a6)]),process[_0x50613f(0x193)]=Math[_0x50613f(0x170)](_0x5bfcec,0xff));logger[_0x50613f(0x126)](_0x55a3e5[_0x50613f(0x124)]);const _0x761554=''+_0x55a3e5[_0x50613f(0x156)](chalk['bold'](_0x55a3e5[_0x50613f(0x161)]),_0x5b94d7[_0x50613f(0x11c)]),_0x444457=''+_0x55a3e5[_0x50613f(0x199)](chalk[_0x50613f(0x195)](_0x55a3e5[_0x50613f(0x154)]),_0x72512f),_0x3ae950=''+_0x55a3e5[_0x50613f(0x187)](_0x55a3e5[_0x50613f(0x187)](_0x55a3e5[_0x50613f(0x145)](chalk['bold'](_0x55a3e5[_0x50613f(0xca)]),_0x55a3e5[_0x50613f(0x16b)](_0x5bfcec,0x0)?chalk['bold'][_0x50613f(0x18e)](_0x5bfcec+_0x50613f(0x139))+',\x20':''),_0x55a3e5['UITrW'](_0xe78812,0x0)?chalk['bold'][_0x50613f(0x15e)](_0xe78812+_0x50613f(0x165))+',\x20':''),_0x55a3e5[_0x50613f(0xe1)](_0x119a2f,0x0)?chalk['bold'][_0x50613f(0xe3)](_0x119a2f+_0x50613f(0x12e))+',\x20':'')+_0x368184+_0x50613f(0x10e);console[_0x50613f(0x105)](_0x55a3e5[_0x50613f(0x145)](_0x55a3e5[_0x50613f(0x1a4)](_0x55a3e5['itoEz'](_0x55a3e5[_0x50613f(0x199)](_0x55a3e5[_0x50613f(0x116)](_0x55a3e5[_0x50613f(0xe0)],_0x761554),'\x0a'),_0x444457),'\x0a'),_0x3ae950));if(_0x55a3e5[_0x50613f(0x184)](_0x5c8b78,_0x55a3e5[_0x50613f(0x13c)])){const _0x2e2881={},_0x4d97f3={};_0x4d97f3['testSuites']=_0x72512f,_0x4d97f3[_0x50613f(0x1ac)]=_0x5b94d7,_0x4d97f3[_0x50613f(0xd6)]=_0x5bfcec,_0x4d97f3[_0x50613f(0xab)]=_0x119a2f,_0x4d97f3[_0x50613f(0x135)]=_0xe78812,_0x2e2881[_0x50613f(0xfe)]=_0x4d97f3,_0x5b94d7['forEach'](_0x2ea100=>{const _0x36ce67=_0x50613f;_0x2e2881[_0x2ea100]={'pending':[],'failures':[],'passes':[],'tests':_0x5e983b[_0x2ea100][_0x55a3e5['uvAMn']][_0x36ce67(0x15d)](clean)},_0x5e983b[_0x2ea100][_0x55a3e5[_0x36ce67(0xa5)]][_0x36ce67(0xb7)](_0x20c51b=>{const _0x5047dc=_0x36ce67;if(_0x55a3e5[_0x5047dc(0x122)](_0x20c51b[_0x5047dc(0x12b)],_0x55a3e5[_0x5047dc(0x172)]))_0x2e2881[_0x2ea100][_0x55a3e5[_0x5047dc(0xfb)]][_0x5047dc(0x14d)](_0x55a3e5[_0x5047dc(0x189)](clean,_0x20c51b));else _0x55a3e5[_0x5047dc(0xcd)](_0x20c51b[_0x5047dc(0x12b)],_0x55a3e5[_0x5047dc(0xac)])?_0x2e2881[_0x2ea100][_0x55a3e5[_0x5047dc(0xd2)]][_0x5047dc(0x14d)](_0x55a3e5['JkPxQ'](clean,_0x20c51b)):_0x2e2881[_0x2ea100][_0x55a3e5[_0x5047dc(0x14a)]]['push'](_0x55a3e5['JkPxQ'](clean,_0x20c51b));});});if(_0x1aeb08['output'])try{logger['debug'](_0x55a3e5[_0x50613f(0xb0)],_0x1aeb08['output']),fs['writeFileSync'](_0x1aeb08[_0x50613f(0xff)],JSON[_0x50613f(0x168)](_0x2e2881,null,0x3));}catch(_0x144b03){logger[_0x50613f(0x136)](_0x55a3e5['fzRKT'],_0x1aeb08['output']),logger[_0x50613f(0x126)](_0x144b03);}else logger[_0x50613f(0x126)](_0x55a3e5[_0x50613f(0x1a2)]),console[_0x50613f(0x105)](JSON[_0x50613f(0x168)](_0x2e2881,null,0x3));}else{if(_0x55a3e5['CsaGK'](_0x5c8b78,_0x55a3e5['ZnqyM'])){let _0x56797d;const _0x3c8567=_0x55a3e5['asQfL'];_0x1aeb08&&(_0x56797d=_0x1aeb08[_0x50613f(0xfa)]);_0x56797d=_0x55a3e5[_0x50613f(0x13f)](_0x56797d,_0x3c8567);let _0x25b344=0x0,_0x1dfe33=0x0,_0x46dd7a=0x0,_0x1aa87c=0x0;_0x5b94d7['forEach'](_0xab571e=>{const _0x1e4c3d=_0x50613f,_0x476e1c={'ElBec':function(_0x4e7432,_0x2fc212){const _0x525fae=a28_0x5499;return _0x55a3e5[_0x525fae(0x111)](_0x4e7432,_0x2fc212);},'ncaOV':_0x55a3e5[_0x1e4c3d(0x172)],'MbIpw':function(_0x259d61,_0x300d34){const _0x1bd640=_0x1e4c3d;return _0x55a3e5[_0x1bd640(0x137)](_0x259d61,_0x300d34);},'pMXdV':_0x55a3e5[_0x1e4c3d(0xac)],'TrJbR':function(_0x81a71d,_0x277c14){const _0x40f142=_0x1e4c3d;return _0x55a3e5[_0x40f142(0x12a)](_0x81a71d,_0x277c14);}};_0x5e983b[_0xab571e][_0x55a3e5[_0x1e4c3d(0xa5)]][_0x1e4c3d(0xb7)](_0xa23d4c=>{const _0x2969c2=_0x1e4c3d;if(_0x476e1c['ElBec'](_0xa23d4c[_0x2969c2(0x12b)],_0x476e1c[_0x2969c2(0xf6)]))_0x25b344++;else _0x476e1c['MbIpw'](_0xa23d4c[_0x2969c2(0x12b)],_0x476e1c[_0x2969c2(0x150)])&&_0x1dfe33++;_0x46dd7a++,_0x1aa87c+=_0x476e1c[_0x2969c2(0x132)](_0xa23d4c['duration'],0x1);});}),_0x55a3e5[_0x50613f(0x189)](xunitWrite,_0x55a3e5[_0x50613f(0x112)](tag,_0x55a3e5['PjuYo'],{'name':_0x56797d,'tests':_0x46dd7a,'failures':0x0,'errors':_0x1dfe33,'skipped':_0x55a3e5[_0x50613f(0x149)](_0x55a3e5['oPAow'](_0x46dd7a,_0x1dfe33),_0x25b344),'timestamp':new Date()[_0x50613f(0xe2)](),'time':_0x55a3e5['pIcja'](_0x1aa87c,0x3e8)||0x0},![])),_0x5b94d7[_0x50613f(0xb7)](_0x1f988d=>{const _0x31c8b1=_0x50613f;_0x5e983b[_0x1f988d][_0x55a3e5['uvAMn']][_0x31c8b1(0xb7)](_0x1996d5=>{_0x55a3e5['bQnxu'](xunitTest,_0x1996d5,_0x1f988d);});}),_0x55a3e5['ODBIx'](xunitWrite,_0x55a3e5[_0x50613f(0xce)]);if(_0x1aeb08['output'])try{logger['debug'](_0x55a3e5[_0x50613f(0x16f)],_0x1aeb08['output']),fs[_0x50613f(0xc2)](_0x1aeb08[_0x50613f(0xff)],xunitContent);}catch(_0x304e8c){logger[_0x50613f(0x136)](_0x55a3e5[_0x50613f(0x11a)],_0x1aeb08[_0x50613f(0xff)]),logger[_0x50613f(0x126)](_0x304e8c);}else logger[_0x50613f(0x126)](_0x55a3e5[_0x50613f(0x13b)]),console[_0x50613f(0x105)](xunitContent);}else{if(_0x55a3e5[_0x50613f(0xdb)](_0x5bfcec,0x0))return;console[_0x50613f(0x105)](),logger['debug'](_0x55a3e5[_0x50613f(0xbe)]),console[_0x50613f(0x105)](chalk[_0x50613f(0x195)][_0x50613f(0xf0)](_0x55a3e5[_0x50613f(0x16a)])),_0x5b94d7[_0x50613f(0xb7)](_0x18c25d=>{const _0x276973=_0x50613f,_0x2d7c8a={'BgmEY':function(_0x5a1307,_0x220a90){const _0x2f7cb6=a28_0x5499;return _0x55a3e5[_0x2f7cb6(0x184)](_0x5a1307,_0x220a90);},'ZpqmY':_0x55a3e5[_0x276973(0xac)]},_0x3ae275=[];_0x5e983b[_0x18c25d][_0x55a3e5[_0x276973(0xa5)]]['forEach'](_0x4ee082=>{const _0x53f097=_0x276973;_0x2d7c8a[_0x53f097(0x19f)](_0x4ee082[_0x53f097(0x12b)],_0x2d7c8a['ZpqmY'])&&(_0x4ee082[_0x53f097(0x17a)]=()=>_0x4ee082['titlePathV'],_0x3ae275[_0x53f097(0x14d)](_0x4ee082));}),_0x55a3e5['pnYdh'](_0x3ae275[_0x276973(0x11c)],0x0)&&(Base[_0x276973(0x120)](),Base[_0x276973(0x120)](_0x55a3e5[_0x276973(0x138)](_0x3fe685),chalk[_0x276973(0x195)][_0x276973(0x119)](_0x18c25d)),Base['list'](_0x3ae275));});}}}async function run(_0x3f9a48,_0x49f938){const _0x1d9470=a28_0x469540,_0x271329={'GnZdV':function(_0x3e63e1,_0x4612ed,_0x1f48cb,_0x5e8d66){return _0x3e63e1(_0x4612ed,_0x1f48cb,_0x5e8d66);},'PPTrH':_0x1d9470(0x17f),'zQEcH':_0x1d9470(0x11f),'SjUHR':_0x1d9470(0x115),'ByWIu':_0x1d9470(0xc3),'CUCdU':_0x1d9470(0x18c),'iCdCH':_0x1d9470(0x197),'BNYzf':function(_0x3ad8b9,_0x2a863e){return _0x3ad8b9!=_0x2a863e;},'fpUKi':'cjs','ZXNYM':_0x1d9470(0x17e),'Ubpve':_0x1d9470(0x19b),'IxRHP':'rerunTests','lAtod':function(_0x29bb13,_0x404558){return _0x29bb13(_0x404558);},'rTFIF':function(_0x489aa7,_0x379090,_0x3f24be){return _0x489aa7(_0x379090,_0x3f24be);},'IFYHR':'files','IFKfc':_0x1d9470(0x19c),'aassf':_0x1d9470(0x159),'Klpwl':function(_0x31cba8,_0xb55f9d){return _0x31cba8*_0xb55f9d;},'cooGl':function(_0x50a685,_0x2168df){return _0x50a685!==_0x2168df;}};process[_0x1d9470(0xc1)][_0x1d9470(0x125)](_0x271329[_0x1d9470(0x191)])&&(process[_0x1d9470(0x102)][_0x1d9470(0xdf)]=![]);process[_0x1d9470(0xc1)]['includes'](_0x271329[_0x1d9470(0x106)])&&(process[_0x1d9470(0x102)]['BROWSERSTACK_AUTOMATION']=![]);const _0x3cb310=new BrowserStackSetup(_0x3f9a48,_0x271329['ByWIu']);helper['setUserConfigPath'](_0x3cb310['framework'],_0x3f9a48);helper[_0x1d9470(0x109)]()?(await _0x3cb310[_0x1d9470(0x15c)](),await helper[_0x1d9470(0x1ae)](_0x3cb310[_0x1d9470(0xde)])):await _0x3cb310['setupTCGAuth']();const _0x108813=[];let _0x20f0b7=[];if(!_0x3cb310[_0x1d9470(0xde)])return;_0x271329[_0x1d9470(0xa8)](_0x3cb310[_0x1d9470(0xde)]['testObservability'],null)&&(process[_0x1d9470(0x102)][_0x1d9470(0xf1)]=_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0x113)]);!helper[_0x1d9470(0xae)](_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0xc7)])&&(process[_0x1d9470(0x102)][_0x1d9470(0xd5)]=_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0xc7)]);!helper['isUndefined'](_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0x11e)])&&(process[_0x1d9470(0x102)][_0x1d9470(0xd8)]=JSON['stringify'](_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0x11e)]));const {extension:extension=['js',_0x271329[_0x1d9470(0x103)],_0x271329[_0x1d9470(0xbc)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x271329[_0x1d9470(0xba)]]}=_0x3f9a48,_0x126f58={..._0x3f9a48};_0x126f58[_0x1d9470(0xcc)]=null;const _0x306011=_0x126f58;let _0x40fd05;if(testOpsHelper[_0x1d9470(0x12c)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x17c423=process['env'][_0x1d9470(0xcb)];!helper[_0x1d9470(0xae)](_0x3cb310[_0x1d9470(0xc5)])&&_0x3cb310[_0x1d9470(0xc5)][_0x1d9470(0x18d)](_0x271329[_0x1d9470(0x11d)])&&(_0x17c423=_0x3cb310[_0x1d9470(0xc5)]['get'](_0x271329[_0x1d9470(0x11d)])),_0x40fd05=testOpsHelper['parseFileNames'](_0x17c423);}if(helper[_0x1d9470(0xae)](_0x40fd05)){const _0x56a47f={};_0x56a47f[_0x1d9470(0xbf)]=ignore,_0x56a47f[_0x1d9470(0x179)]=extension,_0x56a47f[_0x1d9470(0xf8)]=file,_0x56a47f[_0x1d9470(0xdc)]=recursive,_0x56a47f[_0x1d9470(0x118)]=sort,_0x56a47f['spec']=spec,_0x40fd05=_0x271329[_0x1d9470(0x175)](collectFiles,_0x56a47f),_0x271329['rTFIF'](nestedKeyValue,_0x40fd05,[_0x271329[_0x1d9470(0x117)]])&&(_0x40fd05=_0x40fd05[_0x1d9470(0x133)]);}if(!helper['isBrowserstackInfra']()){const _0x5cc172=0x1,_0x37503c={..._0x306011};_0x37503c[_0x1d9470(0xec)]=[..._0x40fd05],_0x108813[_0x1d9470(0x14d)]({'mochaOpts':_0x37503c,'configuration':{'platform':os['platform']()}}),logger[_0x1d9470(0x14b)](_0x271329[_0x1d9470(0x18b)]),logger[_0x1d9470(0x14b)](_0x271329[_0x1d9470(0x140)]),_0x271329[_0x1d9470(0x130)](parallelTestRun,_0x108813,_0x5cc172,_0x3cb310)[_0x1d9470(0x123)](_0xae09ad=>{const _0x400026=_0x1d9470;PerformanceTester[_0x400026(0xd1)](PerformanceEvents[_0x400026(0x19e)]),_0x271329[_0x400026(0x130)](printStats,_0xae09ad,_0x3f9a48['reporter'],_0x3f9a48[_0x400026(0xc0)]||_0x3f9a48[_0x271329[_0x400026(0xd4)]]);})[_0x1d9470(0x104)](()=>{const _0x17e63a=_0x1d9470;PerformanceTester['start'](PerformanceEvents[_0x17e63a(0x19e)]);try{const {browserstackFolderPath:_0x69bc9b,tcgConfigPath:_0x10dedf}=helper[_0x17e63a(0x157)]();fs[_0x17e63a(0xbb)](_0x10dedf),fs['rmdirSync'](_0x69bc9b);}catch(_0x4741c9){logger['debug'](_0x271329[_0x17e63a(0x17c)],_0x4741c9);}try{utilities[_0x17e63a(0xa1)](_0x271329[_0x17e63a(0x107)],{},_0x3cb310[_0x17e63a(0xde)],_0x3cb310[_0x17e63a(0xcf)]);}catch(_0x25840b){logger[_0x17e63a(0x126)](_0x17e63a(0x10c)+_0x25840b[_0x17e63a(0x15a)]);}try{helper['notifyUpdate']();}catch(_0x2458c8){logger[_0x17e63a(0x126)](_0x17e63a(0xb4)+_0x2458c8);}testOpsHelper[_0x17e63a(0x142)]();});}else{const _0x1dca4a=helper[_0x1d9470(0x1a9)](_0x3cb310['config']);let _0x1a5db5=helper[_0x1d9470(0x16d)](_0x3cb310[_0x1d9470(0xde)]);_0x20f0b7=helper[_0x1d9470(0xaf)](_0x3cb310[_0x1d9470(0xde)],_0x1dca4a,constants['FRAMEWORKS'][_0x1d9470(0x101)]);helper[_0x1d9470(0x14f)]()[_0x1d9470(0x121)]&&(_0x1a5db5=centralScannerConstants[_0x1d9470(0x131)]);let _0x428a43;const _0x5bb4ec=_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0xd0)]||helper[_0x1d9470(0xf4)](_0x3f9a48,_0x49f938,_0x3cb310['config'],constants[_0x1d9470(0x144)][_0x1d9470(0x101)])||0x1;helper[_0x1d9470(0xe5)](_0x3cb310[_0x1d9470(0xde)])?_0x428a43=_0x271329[_0x1d9470(0x1a0)](_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0x1ac)][_0x1d9470(0x11c)],_0x5bb4ec):_0x428a43=_0x5bb4ec;const _0x113587=_0x271329[_0x1d9470(0x175)](getPercyOptions,_0x3cb310[_0x1d9470(0xde)]);if(_0x271329[_0x1d9470(0x185)](_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0xd0)],0x1))_0x40fd05[_0x1d9470(0xb7)](_0x54432d=>{const _0x18e78d=_0x1d9470,_0x45c4f7=[];_0x20f0b7['forEach']((_0xd60cb1,_0x1cb640)=>{const _0x43bb07=a28_0x5499,_0x3ff44e={};_0x3ff44e['spec']=[_0x54432d],_0x45c4f7['push']({'mochaOpts':Object[_0x43bb07(0x180)]({},_0x306011,_0x3ff44e),'configuration':{'server':_0x1a5db5,'capability':_0xd60cb1,'proxySettings':_0x3cb310[_0x43bb07(0xde)][_0x43bb07(0x173)],'platform':helper[_0x43bb07(0x148)](_0xd60cb1),'browserStackLogLevel':_0x3cb310['config']['logLevel'],'platformIndex':_0x1cb640,'browserStackPercyOptions':_0x113587,'platformCaps':Object['assign']({'index':_0x1cb640},_0x3cb310[_0x43bb07(0xde)][_0x43bb07(0x1ac)][_0x1cb640])}});}),_0x108813[_0x18e78d(0x14d)](..._0x45c4f7);});else{const _0x4cdd1d=[];_0x20f0b7[_0x1d9470(0xb7)]((_0x548de1,_0x526ad4)=>{const _0x5e1668=_0x1d9470;let _0x51872e=Object[_0x5e1668(0x180)]({},_0x306011);testOpsHelper[_0x5e1668(0x12c)]()&&testOpsHelper[_0x5e1668(0xf3)]()&&(_0x51872e={..._0x51872e,'spec':[..._0x40fd05]}),_0x4cdd1d['push']({'mochaOpts':_0x51872e,'configuration':{'server':_0x1a5db5,'capability':_0x548de1,'proxySettings':_0x3cb310['config'][_0x5e1668(0x173)],'platform':helper[_0x5e1668(0x148)](_0x548de1),'browserStackLogLevel':_0x3cb310[_0x5e1668(0xde)][_0x5e1668(0x164)],'platformIndex':_0x526ad4,'browserStackPercyOptions':_0x113587,'platformCaps':Object[_0x5e1668(0x180)]({'index':_0x526ad4},_0x3cb310[_0x5e1668(0xde)][_0x5e1668(0x1ac)][_0x526ad4])}});}),_0x108813[_0x1d9470(0x14d)](..._0x4cdd1d);}logger[_0x1d9470(0x14b)](_0x1d9470(0xef)+_0x3cb310[_0x1d9470(0xde)][_0x1d9470(0x1ac)][_0x1d9470(0x11c)]+_0x1d9470(0xe6)),logger[_0x1d9470(0x14b)](_0x271329[_0x1d9470(0x140)]);let _0xe75e66;_0x271329[_0x1d9470(0x130)](parallelTestRun,_0x108813,_0x428a43,_0x3cb310)['then'](_0x30b6b3=>{const _0x2a4311=_0x1d9470;PerformanceTester['start'](PerformanceEvents[_0x2a4311(0x19e)]),_0xe75e66=_0x30b6b3,_0x271329[_0x2a4311(0x130)](printStats,_0x30b6b3,_0x3f9a48['reporter'],_0x3f9a48[_0x2a4311(0xc0)]||_0x3f9a48[_0x271329['PPTrH']]);})[_0x1d9470(0x104)](async()=>{const _0x18acf5=_0x1d9470;PerformanceTester[_0x18acf5(0xd1)](PerformanceEvents[_0x18acf5(0x19e)]),_0x3cb310[_0x18acf5(0xee)]=helper[_0x18acf5(0x19d)](_0xe75e66,_0x271329[_0x18acf5(0xea)]),await utilities['finalExecution'](_0x3cb310),testOpsHelper['printBuildLink']();});}}module[a28_0x469540(0x177)]=run;
|
|
2
|
+
'use strict';function a28_0x4864(){const _0x288a01=['--disable-browserstack-automation','lzVls','keys','LCWtH','json','PgVXh','call','handleApp','PPbqk','testObservability','duration','ZXnDH','VYIwH','hideDiff','gyryY','getErrorMessageFromResults','yuAdV','setupTCGAuth','qwqfR','ZULgW','debug','247860XyXMSD','finalExecution','chalk','\x20passed','lyeOs','ToHsG','122979UbwGWn','KzsPr','126zbXxNG','Qtzne','qzYul','Total\x20Platforms:\x20','accessibility','spec','../../helpers/utilities','gUOaV','framework','join','stringify','mocha/lib/reporters/base.js','errorMessage','red','state','then','Mocha\x20Tests','BROWSERSTACK_GRR_US_HUB_URL','finally','lRgYD','files','BsxSM','consoleLog','jWNsV','AUNqk','getHubUrl','info','lvBKF','isTestObservabilitySession','test','AWYcq','push','../../helpers/BrowserStackSetup','TWuSa','Running\x20your\x20mocha\x20tests\x20across\x20','object','mqROM','Tbifw','oEMWA','\x20total','output','currentRetry','ANszt','Tests:\x20\x20\x20\x20\x20\x20\x20','sort','bold','oeHZY','TRSez','fqkbx','pending','cjs','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','iyyqT','forEach','testsPassed','has','../test-runner','log','SDKTestSuccessful','FxbCH','parse','15ZDkNlL','rBIEq','Writing\x20json\x20result\x20to\x20file','isUndefined','bgRedBright','BROWSERSTACK_RERUN_TESTS','aPIkr','platform','../../helpers/performance/constants','BSOHF','wrKin','length','logLevel','reporterOptions','getPlatformName','testcase','useW3C','syFhc','uXZOl','parseFileNames','failed','prepareCapabilities','exports','getCentralUser','list','SDK_CLEANUP','1739844vABtFo','results','../../helpers/helper','AyuYd','\x20platforms','BROWSERSTACK_TEST_OBSERVABILITY_YML','Printing\x20stats\x20of\x20tests','18134wlmpIQ','uPstv','qzCRv','Tksel','MOCHA','passed','isPending','extension','kzrwA','passes','recursive','shouldReRunObservabilityTests','title','UtVfY','BgDmW','tPTwX','hbUkn','platforms','TRZbv','totalTests','pDAXG','UfQRc','kReEH','yellow','isBrowserstackInfra','pbEMt','../../helpers/percy/utils','../utils/constants','add','IenyC','QmRlD','cliConfig','titlePathV','jMPWp','size','155xmYZBX','UJdiH','stack','bgBlueBright','oIGSp','MHThr','titlePath','suiteName','NlLPP','fullTitle','lOZbj','****\x20FAILURES\x20****','testsFailed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','err','EVENTS','ytaiP','RkEfC','dNSSH','start','rIDYY','failures','Writing\x20xunit\x20result\x20to\x20file','aEXsF','FRAMEWORKS','cABOP','rootHooks','kHXxp','writeFileSync','WzhCU','proxySettings','RJBWt','ykjSj','4568UhNQrP','winstonLogger','kXSTp','setUserConfigPath','argv','testsPending','message','green','FBAtd','testsuite','3169770MfnnPR','DeuYc','env','suite','printBuildLink','rerunTests','file','HwgfQ','xunit','validPlatformsPresent','OgJNl','getUserWorkerCount','parallelsPerPlatform','BROWSERSTACK_TEST_OBSERVABILITY','min','YrGhe','IMVZM','Listing\x20all\x20the\x20failures','BHOkg','xtSEU','accessibilityOptions','mZPWZ','PKYZj','assign','reporter-option','ZDdFu','unlinkSync','--disable-test-observability','error','UyglH','Setting\x20non\x20exit\x20code\x20for\x20failures','reporter','mocha','BRLox','UPlbJ','central_scanner','notifyUpdate','12392qbzpjZ','YqsEF','JUiCC','hCBOv','speed','\x20skipped','config','lqgVK'];a28_0x4864=function(){return _0x288a01;};return a28_0x4864();}const a28_0x225825=a28_0x52df;(function(_0x15879b,_0x3ab696){const _0x3deeee=a28_0x52df,_0x34edf1=_0x15879b();while(!![]){try{const _0x3d0985=-parseInt(_0x3deeee(0x258))/0x1+-parseInt(_0x3deeee(0x1c2))/0x2*(parseInt(_0x3deeee(0x297))/0x3)+parseInt(_0x3deeee(0x235))/0x4*(parseInt(_0x3deeee(0x1e5))/0x5)+parseInt(_0x3deeee(0x252))/0x6+-parseInt(_0x3deeee(0x25a))/0x7*(-parseInt(_0x3deeee(0x206))/0x8)+-parseInt(_0x3deeee(0x1bb))/0x9+parseInt(_0x3deeee(0x210))/0xa;if(_0x3d0985===_0x3ab696)break;else _0x34edf1['push'](_0x34edf1['shift']());}catch(_0x3e14c8){_0x34edf1['push'](_0x34edf1['shift']());}}}(a28_0x4864,0x1923d));const chalk=require(a28_0x225825(0x254)),logger=require('../../helpers/logger')[a28_0x225825(0x207)],{default:BrowserStackSetup}=require(a28_0x225825(0x27a)),helper=require(a28_0x225825(0x1bd)),utilities=require(a28_0x225825(0x260)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x225825(0x292)),{requireModule,nestedKeyValue}=require(a28_0x225825(0x1bd)),{getPercyOptions}=require(a28_0x225825(0x1dc)),Base=requireModule(a28_0x225825(0x265),a28_0x225825(0x230)),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x225825(0x230)),constants=require(a28_0x225825(0x1dd)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a28_0x225825(0x1a9))[a28_0x225825(0x1f4)],centralScannerConstants=require('../../helpers/central-scanner/constants');function tag(_0x3f30a0,_0x133708,_0x52503e,_0x4d3164){const _0x5275ee=a28_0x225825,_0x3bc790={'AUNqk':function(_0x5f1aff,_0x3746be){return _0x5f1aff+_0x3746be;},'CSsEH':function(_0x12dc3a,_0x3e43e3){return _0x12dc3a+_0x3e43e3;},'ytaiP':function(_0x343551,_0x18b6f5){return _0x343551+_0x18b6f5;},'QsGOT':function(_0x4d69a7,_0x3cc54d){return _0x4d69a7(_0x3cc54d);},'OgJNl':function(_0x45e989,_0x375529){return _0x45e989+_0x375529;},'YWXZd':function(_0x39fc3b,_0x578ef4){return _0x39fc3b+_0x578ef4;},'qzYul':function(_0xe3fee6,_0x20cafc){return _0xe3fee6+_0x20cafc;}},_0x302813=_0x52503e?'/>':'>',_0x3600c0=[];let _0x3e114e;for(const _0x37f262 in _0x133708){Object['prototype']['hasOwnProperty'][_0x5275ee(0x243)](_0x133708,_0x37f262)&&_0x3600c0[_0x5275ee(0x279)](_0x3bc790[_0x5275ee(0x272)](_0x3bc790['CSsEH'](_0x3bc790[_0x5275ee(0x1f5)](_0x37f262,'=\x22'),_0x3bc790['QsGOT'](escape,_0x133708[_0x37f262])),'\x22'));}return _0x3e114e=_0x3bc790[_0x5275ee(0x1f5)](_0x3bc790[_0x5275ee(0x21a)](_0x3bc790['YWXZd']('<',_0x3f30a0),_0x3600c0[_0x5275ee(0x1ac)]?_0x3bc790[_0x5275ee(0x25c)]('\x20',_0x3600c0[_0x5275ee(0x263)]('\x20')):''),_0x302813),_0x4d3164&&(_0x3e114e+=_0x3bc790[_0x5275ee(0x272)](_0x3bc790[_0x5275ee(0x1f5)](_0x3bc790[_0x5275ee(0x1f5)](_0x4d3164,'</'),_0x3f30a0),_0x302813)),_0x3e114e;}let xunitContent='';function xunitWrite(_0x36f236){xunitContent+=_0x36f236;}function xunitTest(_0x4b3a17,_0x39bd35){const _0x4b4dd2=a28_0x225825,_0x31c4de={'Qtzne':function(_0x122a40,_0x184387){return _0x122a40/_0x184387;},'lyeOs':function(_0x47ceb7,_0x1067ef){return _0x47ceb7===_0x1067ef;},'ZULgW':'failed','RJBWt':function(_0x43f600,_0x4ccf38){return _0x43f600+_0x4ccf38;},'LCWtH':function(_0x17f25f,_0x5a6fdc){return _0x17f25f(_0x5a6fdc);},'lvBKF':function(_0x4bf632,_0x570295,_0x3f5760,_0x4bcda0,_0x5dd451){return _0x4bf632(_0x570295,_0x3f5760,_0x4bcda0,_0x5dd451);},'YrGhe':_0x4b4dd2(0x1b0),'KzsPr':function(_0x355f51,_0x182de7,_0x549f36,_0x28720c,_0x111ea5){return _0x355f51(_0x182de7,_0x549f36,_0x28720c,_0x111ea5);},'PKYZj':'failure','NVVYz':function(_0x37f444,_0x566d3d){return _0x37f444+_0x566d3d;},'iZnhN':function(_0x4430b1,_0x3263b4){return _0x4430b1+_0x3263b4;},'UJdiH':function(_0xd06177,_0x563b0c){return _0xd06177(_0x563b0c);},'oEMWA':function(_0x1188c4,_0x230e55,_0xf14a24,_0x450604){return _0x1188c4(_0x230e55,_0xf14a24,_0x450604);},'Tbifw':'skipped','tPTwX':function(_0x1d6eac,_0x100b25,_0x561309,_0x311d0b){return _0x1d6eac(_0x100b25,_0x561309,_0x311d0b);}};Base['useColors']=![];var _0xab3962={'classname':_0x4b3a17[_0x4b4dd2(0x1ee)],'name':_0x4b3a17[_0x4b4dd2(0x1ce)],'time':_0x31c4de[_0x4b4dd2(0x25b)](_0x4b3a17[_0x4b4dd2(0x247)],0x3e8)||0x0,'platform':_0x39bd35};if(_0x31c4de[_0x4b4dd2(0x256)](_0x4b3a17[_0x4b4dd2(0x268)],_0x31c4de[_0x4b4dd2(0x250)])){var _0x533c5a=_0x4b3a17[_0x4b4dd2(0x1f3)],_0x40f7bb=!Base[_0x4b4dd2(0x24a)]&&Base['showDiff'](_0x533c5a)?_0x31c4de[_0x4b4dd2(0x204)]('\x0a',Base['generateDiff'](_0x533c5a['actual'],_0x533c5a['expected'])):'';_0x31c4de[_0x4b4dd2(0x240)](xunitWrite,_0x31c4de[_0x4b4dd2(0x275)](tag,_0x31c4de['YrGhe'],_0xab3962,![],_0x31c4de[_0x4b4dd2(0x259)](tag,_0x31c4de[_0x4b4dd2(0x226)],{},![],_0x31c4de[_0x4b4dd2(0x204)](_0x31c4de['NVVYz'](_0x31c4de['iZnhN'](_0x31c4de[_0x4b4dd2(0x1e6)](escape,_0x533c5a[_0x4b4dd2(0x20c)]),_0x31c4de[_0x4b4dd2(0x1e6)](escape,_0x40f7bb)),'\x0a'),_0x31c4de[_0x4b4dd2(0x240)](escape,_0x533c5a[_0x4b4dd2(0x1e7)])))));}else _0x4b3a17[_0x4b4dd2(0x1c8)]?_0x31c4de[_0x4b4dd2(0x240)](xunitWrite,_0x31c4de[_0x4b4dd2(0x259)](tag,_0x31c4de[_0x4b4dd2(0x21f)],_0xab3962,![],_0x31c4de[_0x4b4dd2(0x280)](tag,_0x31c4de[_0x4b4dd2(0x27f)],{},!![]))):_0x31c4de[_0x4b4dd2(0x240)](xunitWrite,_0x31c4de[_0x4b4dd2(0x1d1)](tag,_0x31c4de[_0x4b4dd2(0x21f)],_0xab3962,!![]));};function getStats(_0x23970f){const _0x30b460=a28_0x225825,_0x4dbcaa={};_0x4dbcaa[_0x30b460(0x1ef)]=_0x30b460(0x213),_0x4dbcaa[_0x30b460(0x200)]=_0x30b460(0x1c7),_0x4dbcaa['xtSEU']=_0x30b460(0x1b5),_0x4dbcaa['WsFzg']=_0x30b460(0x1bc);const _0x5cb089=_0x4dbcaa,_0x184ef1=Object[_0x30b460(0x23f)](_0x23970f);let _0x3c6d3e=0x0,_0x115ab9=0x0,_0x51bca6=0x0,_0x12ac25=0x0;const _0x5bec08=new Set();_0x184ef1[_0x30b460(0x28f)](_0x58b4ba=>{const _0x2a9ece=_0x30b460;_0x23970f[_0x58b4ba][_0x5cb089['WsFzg']][_0x2a9ece(0x28f)](_0x5bc663=>{const _0x22547d=_0x2a9ece;_0x5bec08[_0x22547d(0x1de)](_0x5bc663[_0x5cb089[_0x22547d(0x1ef)]]),_0x3c6d3e++;switch(_0x5bc663[_0x22547d(0x268)]){case _0x5cb089['kHXxp']:_0x51bca6++;break;case _0x5cb089[_0x22547d(0x223)]:_0x115ab9++;break;default:_0x12ac25++;}});});const _0x535166={};return _0x535166['testSuites']=_0x5bec08[_0x30b460(0x1e4)],_0x535166[_0x30b460(0x1d3)]=_0x184ef1,_0x535166[_0x30b460(0x1d5)]=_0x3c6d3e,_0x535166[_0x30b460(0x1f1)]=_0x115ab9,_0x535166[_0x30b460(0x290)]=_0x51bca6,_0x535166['testsPending']=_0x12ac25,_0x535166;}function errorJSON(_0x256edc){const _0x4d57f6=a28_0x225825;var _0x1b5d9a={};return Object['getOwnPropertyNames'](_0x256edc)[_0x4d57f6(0x28f)](function(_0x3f19b3){_0x1b5d9a[_0x3f19b3]=_0x256edc[_0x3f19b3];},_0x256edc),_0x1b5d9a;}function cleanCycles(_0x20b41a){const _0x42383d=a28_0x225825,_0x115b06={};_0x115b06[_0x42383d(0x236)]=function(_0x5b8ba8,_0x3ce4f2){return _0x5b8ba8===_0x3ce4f2;},_0x115b06[_0x42383d(0x1aa)]=_0x42383d(0x27d),_0x115b06[_0x42383d(0x248)]=function(_0x4c407b,_0x34b27a){return _0x4c407b!==_0x34b27a;},_0x115b06[_0x42383d(0x1f6)]=function(_0x25f0ed,_0x514f46){return _0x25f0ed!==_0x514f46;},_0x115b06['ToHsG']=function(_0x307d45,_0x12a4b1){return _0x307d45+_0x12a4b1;};const _0x4aafc0=_0x115b06;var _0x2620db=[];return JSON[_0x42383d(0x296)](JSON[_0x42383d(0x264)](_0x20b41a,function(_0x4dddde,_0x3ff4a8){const _0x38e8c0=_0x42383d;if(_0x4aafc0['YqsEF'](typeof _0x3ff4a8,_0x4aafc0[_0x38e8c0(0x1aa)])&&_0x4aafc0[_0x38e8c0(0x248)](_0x3ff4a8,null)){if(_0x4aafc0['RkEfC'](_0x2620db['indexOf'](_0x3ff4a8),-0x1))return _0x4aafc0[_0x38e8c0(0x257)]('',_0x3ff4a8);_0x2620db['push'](_0x3ff4a8);}return _0x3ff4a8;}));}function clean(_0x176ae0){const _0x2c61bb=a28_0x225825,_0x3db7a3={'aPIkr':function(_0x2ce5fc,_0x2e8dde){return _0x2ce5fc instanceof _0x2e8dde;},'PgVXh':function(_0x3cf606,_0x1d041d){return _0x3cf606(_0x1d041d);}};var _0x285fba=_0x176ae0[_0x2c61bb(0x1f3)]||{};return _0x3db7a3[_0x2c61bb(0x29d)](_0x285fba,Error)&&(_0x285fba=_0x3db7a3[_0x2c61bb(0x242)](errorJSON,_0x285fba)),{'title':_0x176ae0[_0x2c61bb(0x1ce)],'fullTitle':_0x176ae0[_0x2c61bb(0x1ee)],'file':_0x176ae0['file'],'duration':_0x176ae0[_0x2c61bb(0x247)],'currentRetry':_0x176ae0[_0x2c61bb(0x283)],'speed':_0x176ae0[_0x2c61bb(0x239)],'err':_0x3db7a3['PgVXh'](cleanCycles,_0x285fba)};}function printStats(_0x64f8cf,_0x51b883=a28_0x225825(0x25f),_0xf212d1={}){const _0x17fe28=a28_0x225825,_0x27499c={'TRSez':function(_0xa1f19c,_0x48c04a){return _0xa1f19c(_0x48c04a);},'FBAtd':function(_0x175e43,_0x348598){return _0x175e43===_0x348598;},'qwqfR':'passed','TRZbv':_0x17fe28(0x1cb),'BsxSM':function(_0x56e091,_0x42292c){return _0x56e091(_0x42292c);},'rIDYY':function(_0x47d6eb,_0x12e84d){return _0x47d6eb===_0x12e84d;},'JUiCC':_0x17fe28(0x1b5),'ykjSj':_0x17fe28(0x1fa),'qzCRv':_0x17fe28(0x28b),'syFhc':_0x17fe28(0x1bc),'AwSzt':function(_0x57153d,_0x276a2f){return _0x57153d===_0x276a2f;},'BHOkg':function(_0x35170e,_0x276a6d){return _0x35170e*_0x276a6d;},'jWNsV':function(_0x46ba8b,_0x3d881b,_0x17a29b){return _0x46ba8b(_0x3d881b,_0x17a29b);},'yuAdV':function(_0x31451f,_0x2b3c83){return _0x31451f===_0x2b3c83;},'gUOaV':function(_0x5eb1d6,_0x201574){return _0x5eb1d6>_0x201574;},'AyuYd':function(_0x407e2a){return _0x407e2a();},'MHThr':function(_0x5710b4,_0x43dce0){return _0x5710b4===_0x43dce0;},'hbUkn':'doc','pbEMt':function(_0x44f517,_0x2e9d7a){return _0x44f517(_0x2e9d7a);},'hCBOv':function(_0xf0e415,_0x45d5f6){return _0xf0e415>_0x45d5f6;},'BgDmW':_0x17fe28(0x22e),'CyhxS':_0x17fe28(0x1c1),'UtVfY':function(_0x614a3c,_0x112ccc){return _0x614a3c+_0x112ccc;},'dNSSH':_0x17fe28(0x25d),'FxbCH':'Total\x20Suites:\x20','PPbqk':function(_0x3c7a9f,_0x3f187d){return _0x3c7a9f+_0x3f187d;},'lqgVK':_0x17fe28(0x285),'QmRlD':function(_0x5cd340,_0x398fa8){return _0x5cd340>_0x398fa8;},'iyyqT':function(_0x53baa2,_0x4fcc7d){return _0x53baa2>_0x4fcc7d;},'oeHZY':function(_0x5b85b6,_0x492bee){return _0x5b85b6+_0x492bee;},'fqkbx':function(_0x423027,_0xaeedf){return _0x423027+_0xaeedf;},'lzVls':function(_0x3182d0,_0x344b03){return _0x3182d0+_0x344b03;},'UyglH':'\x0a\x0a\x0a','rBIEq':_0x17fe28(0x241),'Tksel':_0x17fe28(0x299),'QEcNT':'Couldn\x27t\x20write\x20json\x20result\x20to','mqROM':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','VYIwH':_0x17fe28(0x218),'tGZRI':_0x17fe28(0x26a),'cEpJZ':function(_0x64a479,_0x38e80e){return _0x64a479||_0x38e80e;},'kReEH':function(_0x5317a9,_0x505f14){return _0x5317a9(_0x505f14);},'NlLPP':function(_0x184fcb,_0x467ef5,_0x5a2195,_0x271496){return _0x184fcb(_0x467ef5,_0x5a2195,_0x271496);},'TWuSa':_0x17fe28(0x20f),'tFvnu':function(_0x38c4f5,_0x45b4c6){return _0x38c4f5-_0x45b4c6;},'ZDdFu':function(_0x36255f,_0x105c1e){return _0x36255f-_0x105c1e;},'BRLox':function(_0x1b9e5b,_0x462c72){return _0x1b9e5b/_0x462c72;},'HRSWW':'</testsuite>','oIGSp':_0x17fe28(0x1fb),'cABOP':'Couldn\x27t\x20write\x20xunit\x20result\x20to','WzhCU':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','QcKTF':_0x17fe28(0x221),'MDIVC':_0x17fe28(0x1f0)};if(_0x27499c[_0x17fe28(0x1ea)](_0x51b883,_0x27499c[_0x17fe28(0x1d2)]))return;const _0xf910cc=0x0,_0x3a613d=()=>{const _0x2f28e3=_0x17fe28;return _0x27499c[_0x2f28e3(0x289)](Array,_0xf910cc)['join']('\x20\x20');},{testSuites:_0x8741c4,platforms:_0x361229,totalTests:_0xad0981,testsFailed:_0x1cb969,testsPassed:_0x21b4f7,testsPending:_0x280c59}=_0x27499c[_0x17fe28(0x1db)](getStats,_0x64f8cf);_0x27499c[_0x17fe28(0x238)](_0x1cb969,0x0)&&(logger['debug'](_0x27499c[_0x17fe28(0x1d0)]),process['exitCode']=Math[_0x17fe28(0x21e)](_0x1cb969,0xff));logger[_0x17fe28(0x251)](_0x27499c['CyhxS']);const _0x8b90be=''+_0x27499c[_0x17fe28(0x1cf)](chalk[_0x17fe28(0x287)](_0x27499c[_0x17fe28(0x1f7)]),_0x361229[_0x17fe28(0x1ac)]),_0x4882e9=''+_0x27499c['UtVfY'](chalk['bold'](_0x27499c[_0x17fe28(0x295)]),_0x8741c4),_0x2639f8=''+_0x27499c['PPbqk'](_0x27499c[_0x17fe28(0x245)](_0x27499c[_0x17fe28(0x1cf)](chalk[_0x17fe28(0x287)](_0x27499c[_0x17fe28(0x23c)]),_0x27499c[_0x17fe28(0x1e0)](_0x1cb969,0x0)?chalk['bold'][_0x17fe28(0x267)](_0x1cb969+'\x20failed')+',\x20':''),_0x27499c[_0x17fe28(0x28e)](_0x280c59,0x0)?chalk[_0x17fe28(0x287)][_0x17fe28(0x1d9)](_0x280c59+_0x17fe28(0x23a))+',\x20':''),_0x27499c[_0x17fe28(0x238)](_0x21b4f7,0x0)?chalk[_0x17fe28(0x287)][_0x17fe28(0x20d)](_0x21b4f7+_0x17fe28(0x255))+',\x20':'')+_0xad0981+_0x17fe28(0x281);console[_0x17fe28(0x293)](_0x27499c[_0x17fe28(0x288)](_0x27499c[_0x17fe28(0x28a)](_0x27499c['fqkbx'](_0x27499c[_0x17fe28(0x23e)](_0x27499c[_0x17fe28(0x288)](_0x27499c[_0x17fe28(0x22d)],_0x8b90be),'\x0a'),_0x4882e9),'\x0a'),_0x2639f8));if(_0x27499c[_0x17fe28(0x1f9)](_0x51b883,_0x27499c[_0x17fe28(0x298)])){const _0x1d791c={},_0x3133c6={};_0x3133c6['testSuites']=_0x8741c4,_0x3133c6['platforms']=_0x361229,_0x3133c6[_0x17fe28(0x1f1)]=_0x1cb969,_0x3133c6[_0x17fe28(0x290)]=_0x21b4f7,_0x3133c6[_0x17fe28(0x20b)]=_0x280c59,_0x1d791c['stats']=_0x3133c6,_0x361229[_0x17fe28(0x28f)](_0x2ae8a4=>{const _0x45ece3=_0x17fe28;_0x1d791c[_0x2ae8a4]={'pending':[],'failures':[],'passes':[],'tests':_0x64f8cf[_0x2ae8a4][_0x27499c[_0x45ece3(0x1b2)]]['map'](clean)},_0x64f8cf[_0x2ae8a4][_0x27499c['syFhc']][_0x45ece3(0x28f)](_0x44dab0=>{const _0x328010=_0x45ece3;if(_0x27499c[_0x328010(0x20e)](_0x44dab0[_0x328010(0x268)],_0x27499c[_0x328010(0x24f)]))_0x1d791c[_0x2ae8a4][_0x27499c[_0x328010(0x1d4)]][_0x328010(0x279)](_0x27499c['BsxSM'](clean,_0x44dab0));else _0x27499c[_0x328010(0x1f9)](_0x44dab0[_0x328010(0x268)],_0x27499c[_0x328010(0x237)])?_0x1d791c[_0x2ae8a4][_0x27499c[_0x328010(0x205)]][_0x328010(0x279)](_0x27499c[_0x328010(0x26f)](clean,_0x44dab0)):_0x1d791c[_0x2ae8a4][_0x27499c[_0x328010(0x1c4)]][_0x328010(0x279)](_0x27499c[_0x328010(0x26f)](clean,_0x44dab0));});});if(_0xf212d1[_0x17fe28(0x282)])try{logger[_0x17fe28(0x251)](_0x27499c[_0x17fe28(0x1c5)],_0xf212d1['output']),fs[_0x17fe28(0x201)](_0xf212d1[_0x17fe28(0x282)],JSON[_0x17fe28(0x264)](_0x1d791c,null,0x3));}catch(_0xe12e45){logger[_0x17fe28(0x22c)](_0x27499c['QEcNT'],_0xf212d1[_0x17fe28(0x282)]),logger[_0x17fe28(0x251)](_0xe12e45);}else logger['debug'](_0x27499c[_0x17fe28(0x27e)]),console[_0x17fe28(0x293)](JSON[_0x17fe28(0x264)](_0x1d791c,null,0x3));}else{if(_0x27499c[_0x17fe28(0x1ea)](_0x51b883,_0x27499c[_0x17fe28(0x249)])){let _0x56badd;const _0x4ab826=_0x27499c['tGZRI'];_0xf212d1&&(_0x56badd=_0xf212d1[_0x17fe28(0x1ec)]);_0x56badd=_0x27499c['cEpJZ'](_0x56badd,_0x4ab826);let _0x501c33=0x0,_0x376776=0x0,_0x2f3518=0x0,_0x15f18a=0x0;_0x361229[_0x17fe28(0x28f)](_0x51c8a1=>{const _0x364068=_0x17fe28,_0x204c0c={'jMPWp':function(_0x429ddb,_0x2b73da){const _0xd422df=a28_0x52df;return _0x27499c[_0xd422df(0x20e)](_0x429ddb,_0x2b73da);},'HwgfQ':_0x27499c[_0x364068(0x24f)],'DeuYc':function(_0x384cfb,_0x41d6a8){return _0x27499c['AwSzt'](_0x384cfb,_0x41d6a8);},'pDAXG':_0x27499c[_0x364068(0x237)],'ltdWc':function(_0x15831f,_0x2d0fe2){const _0xc0abdb=_0x364068;return _0x27499c[_0xc0abdb(0x222)](_0x15831f,_0x2d0fe2);}};_0x64f8cf[_0x51c8a1][_0x27499c[_0x364068(0x1b2)]]['forEach'](_0x29f800=>{const _0x490247=_0x364068;if(_0x204c0c[_0x490247(0x1e3)](_0x29f800['state'],_0x204c0c[_0x490247(0x217)]))_0x501c33++;else _0x204c0c[_0x490247(0x211)](_0x29f800['state'],_0x204c0c[_0x490247(0x1d6)])&&_0x376776++;_0x2f3518++,_0x15f18a+=_0x204c0c['ltdWc'](_0x29f800[_0x490247(0x247)],0x1);});}),_0x27499c[_0x17fe28(0x1d8)](xunitWrite,_0x27499c[_0x17fe28(0x1ed)](tag,_0x27499c[_0x17fe28(0x27b)],{'name':_0x56badd,'tests':_0x2f3518,'failures':0x0,'errors':_0x376776,'skipped':_0x27499c['tFvnu'](_0x27499c[_0x17fe28(0x229)](_0x2f3518,_0x376776),_0x501c33),'timestamp':new Date()['toUTCString'](),'time':_0x27499c[_0x17fe28(0x231)](_0x15f18a,0x3e8)||0x0},![])),_0x361229[_0x17fe28(0x28f)](_0x39214f=>{const _0x562ecf=_0x17fe28;_0x64f8cf[_0x39214f][_0x27499c[_0x562ecf(0x1b2)]][_0x562ecf(0x28f)](_0x43d2d5=>{const _0x552493=_0x562ecf;_0x27499c[_0x552493(0x271)](xunitTest,_0x43d2d5,_0x39214f);});}),_0x27499c[_0x17fe28(0x289)](xunitWrite,_0x27499c['HRSWW']);if(_0xf212d1['output'])try{logger[_0x17fe28(0x251)](_0x27499c[_0x17fe28(0x1e9)],_0xf212d1[_0x17fe28(0x282)]),fs[_0x17fe28(0x201)](_0xf212d1[_0x17fe28(0x282)],xunitContent);}catch(_0x3037b9){logger[_0x17fe28(0x22c)](_0x27499c[_0x17fe28(0x1fe)],_0xf212d1[_0x17fe28(0x282)]),logger['debug'](_0x3037b9);}else logger[_0x17fe28(0x251)](_0x27499c[_0x17fe28(0x202)]),console[_0x17fe28(0x293)](xunitContent);}else{if(_0x27499c[_0x17fe28(0x20e)](_0x1cb969,0x0))return;console[_0x17fe28(0x293)](),logger['debug'](_0x27499c['QcKTF']),console[_0x17fe28(0x293)](chalk['bold'][_0x17fe28(0x29b)](_0x27499c['MDIVC'])),_0x361229[_0x17fe28(0x28f)](_0x11614a=>{const _0x2a1c3f=_0x17fe28,_0x5c37e2=[];_0x64f8cf[_0x11614a][_0x27499c[_0x2a1c3f(0x1b2)]][_0x2a1c3f(0x28f)](_0x2d3e9b=>{const _0x1bef46=_0x2a1c3f;_0x27499c[_0x1bef46(0x24d)](_0x2d3e9b[_0x1bef46(0x268)],_0x27499c[_0x1bef46(0x237)])&&(_0x2d3e9b[_0x1bef46(0x1eb)]=()=>_0x2d3e9b[_0x1bef46(0x1e2)],_0x5c37e2[_0x1bef46(0x279)](_0x2d3e9b));}),_0x27499c[_0x2a1c3f(0x261)](_0x5c37e2['length'],0x0)&&(Base['consoleLog'](),Base[_0x2a1c3f(0x270)](_0x27499c[_0x2a1c3f(0x1be)](_0x3a613d),chalk[_0x2a1c3f(0x287)][_0x2a1c3f(0x1e8)](_0x11614a)),Base[_0x2a1c3f(0x1b9)](_0x5c37e2));});}}}async function run(_0x3168fa,_0x55d7ef){const _0x291605=a28_0x225825,_0x2cccf4={'AWYcq':function(_0x2a47cd,_0x239636,_0x5b242a,_0x2d757a){return _0x2a47cd(_0x239636,_0x5b242a,_0x2d757a);},'ANszt':_0x291605(0x228),'kXSTp':'error\x20removing\x20tcg\x20config\x20file','UPlbJ':_0x291605(0x294),'biyyJ':function(_0x234bac,_0x378c9d,_0x5104a5,_0x34c194){return _0x234bac(_0x378c9d,_0x5104a5,_0x34c194);},'cStCA':'mocha','xxNkU':_0x291605(0x22b),'mZPWZ':_0x291605(0x23d),'IenyC':function(_0x413c20,_0x12fa8f){return _0x413c20!=_0x12fa8f;},'JVHqx':_0x291605(0x28c),'lRgYD':'mjs','aEXsF':_0x291605(0x277),'IMVZM':_0x291605(0x215),'uPstv':function(_0x48c12d,_0x46f604){return _0x48c12d(_0x46f604);},'gyryY':function(_0x5dfd7c,_0x39009b,_0x576c65){return _0x5dfd7c(_0x39009b,_0x576c65);},'CapXE':_0x291605(0x26e),'CEFMc':'Running\x20your\x20mocha\x20tests','kzrwA':'Now,\x20showing\x20logs\x20from\x20mocha','uXZOl':function(_0x1ce4fe,_0xbf2b2c,_0x7cfe10,_0x205df8){return _0x1ce4fe(_0xbf2b2c,_0x7cfe10,_0x205df8);},'HVjhZ':function(_0x1b1f33,_0xd975c1){return _0x1b1f33*_0xd975c1;},'wrKin':function(_0x371f30,_0xfe33ce){return _0x371f30!==_0xfe33ce;},'UfQRc':function(_0x19826f,_0xda5c85,_0x173442,_0x5eb82a){return _0x19826f(_0xda5c85,_0x173442,_0x5eb82a);}};process['argv']['includes'](_0x2cccf4['xxNkU'])&&(process[_0x291605(0x212)][_0x291605(0x21d)]=![]);process[_0x291605(0x20a)]['includes'](_0x2cccf4[_0x291605(0x225)])&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x527ff0=new BrowserStackSetup(_0x3168fa,_0x2cccf4['cStCA']);helper[_0x291605(0x209)](_0x527ff0[_0x291605(0x262)],_0x3168fa);helper[_0x291605(0x1da)]()?(await _0x527ff0['initialize'](),await helper[_0x291605(0x244)](_0x527ff0[_0x291605(0x23b)])):await _0x527ff0[_0x291605(0x24e)]();const _0x44c99d=[];let _0x525ce1=[];if(!_0x527ff0[_0x291605(0x23b)])return;_0x2cccf4[_0x291605(0x1df)](_0x527ff0['config']['testObservability'],null)&&(process[_0x291605(0x212)][_0x291605(0x1c0)]=_0x527ff0[_0x291605(0x23b)][_0x291605(0x246)]);!helper[_0x291605(0x29a)](_0x527ff0[_0x291605(0x23b)][_0x291605(0x25e)])&&(process[_0x291605(0x212)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x527ff0[_0x291605(0x23b)]['accessibility']);!helper[_0x291605(0x29a)](_0x527ff0[_0x291605(0x23b)][_0x291605(0x224)])&&(process['env'][_0x291605(0x1f2)]=JSON['stringify'](_0x527ff0['config']['accessibilityOptions']));const {extension:extension=['js',_0x2cccf4['JVHqx'],_0x2cccf4[_0x291605(0x26d)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2cccf4[_0x291605(0x1fc)]]}=_0x3168fa,_0x31e89e={..._0x3168fa};_0x31e89e[_0x291605(0x1ff)]=null;const _0x5e509a=_0x31e89e;let _0x54c4a9;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x291605(0x1cd)]()){let _0xc244a1=process[_0x291605(0x212)][_0x291605(0x29c)];!helper['isUndefined'](_0x527ff0[_0x291605(0x1e1)])&&_0x527ff0['cliConfig'][_0x291605(0x291)](_0x2cccf4[_0x291605(0x220)])&&(_0xc244a1=_0x527ff0[_0x291605(0x1e1)]['get'](_0x2cccf4[_0x291605(0x220)])),_0x54c4a9=testOpsHelper[_0x291605(0x1b4)](_0xc244a1);}if(helper[_0x291605(0x29a)](_0x54c4a9)){const _0x561bd8={};_0x561bd8['ignore']=ignore,_0x561bd8[_0x291605(0x1c9)]=extension,_0x561bd8[_0x291605(0x216)]=file,_0x561bd8[_0x291605(0x1cc)]=recursive,_0x561bd8[_0x291605(0x286)]=sort,_0x561bd8[_0x291605(0x25f)]=spec,_0x54c4a9=_0x2cccf4[_0x291605(0x1c3)](collectFiles,_0x561bd8),_0x2cccf4[_0x291605(0x24b)](nestedKeyValue,_0x54c4a9,[_0x2cccf4['CapXE']])&&(_0x54c4a9=_0x54c4a9[_0x291605(0x26e)]);}if(!helper[_0x291605(0x1da)]()){const _0x5c9f35=0x1,_0x3e344d={..._0x5e509a};_0x3e344d[_0x291605(0x25f)]=[..._0x54c4a9],_0x44c99d[_0x291605(0x279)]({'mochaOpts':_0x3e344d,'configuration':{'platform':os[_0x291605(0x1a8)]()}}),logger[_0x291605(0x274)](_0x2cccf4['CEFMc']),logger[_0x291605(0x274)](_0x2cccf4[_0x291605(0x1ca)]),_0x2cccf4[_0x291605(0x1b3)](parallelTestRun,_0x44c99d,_0x5c9f35,_0x527ff0)['then'](_0x3b8f35=>{const _0x3f2be6=_0x291605;PerformanceTester['start'](PerformanceEvents[_0x3f2be6(0x1ba)]),_0x2cccf4[_0x3f2be6(0x278)](printStats,_0x3b8f35,_0x3168fa[_0x3f2be6(0x22f)],_0x3168fa[_0x3f2be6(0x1ae)]||_0x3168fa[_0x2cccf4['ANszt']]);})[_0x291605(0x26c)](()=>{const _0x2ec4aa=_0x291605;PerformanceTester[_0x2ec4aa(0x1f8)](PerformanceEvents[_0x2ec4aa(0x1ba)]);try{const {browserstackFolderPath:_0x5425c8,tcgConfigPath:_0x5d043c}=helper['getTCGConfigFilePaths']();fs[_0x2ec4aa(0x22a)](_0x5d043c),fs['rmdirSync'](_0x5425c8);}catch(_0xb64c6b){logger[_0x2ec4aa(0x251)](_0x2cccf4[_0x2ec4aa(0x208)],_0xb64c6b);}try{utilities['fireFunnelTestEvent'](_0x2cccf4[_0x2ec4aa(0x232)],{},_0x527ff0['config'],_0x527ff0[_0x2ec4aa(0x262)]);}catch(_0x2ebdfd){logger[_0x2ec4aa(0x251)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x2ebdfd[_0x2ec4aa(0x1e7)]);}try{helper[_0x2ec4aa(0x234)]();}catch(_0x4b032d){logger[_0x2ec4aa(0x251)](_0x2ec4aa(0x28d)+_0x4b032d);}testOpsHelper[_0x2ec4aa(0x214)]();});}else{const _0x199dae=helper[_0x291605(0x1b1)](_0x527ff0[_0x291605(0x23b)]);let _0x559a69=helper[_0x291605(0x273)](_0x527ff0[_0x291605(0x23b)]);_0x525ce1=helper[_0x291605(0x1b6)](_0x527ff0['config'],_0x199dae,constants['FRAMEWORKS'][_0x291605(0x1c6)]);helper[_0x291605(0x1b8)]()[_0x291605(0x233)]&&(_0x559a69=centralScannerConstants[_0x291605(0x26b)]);let _0xe5c1a9;const _0x3ddf8b=_0x527ff0['config'][_0x291605(0x21c)]||helper[_0x291605(0x21b)](_0x3168fa,_0x55d7ef,_0x527ff0[_0x291605(0x23b)],constants[_0x291605(0x1fd)][_0x291605(0x1c6)])||0x1;helper[_0x291605(0x219)](_0x527ff0[_0x291605(0x23b)])?_0xe5c1a9=_0x2cccf4['HVjhZ'](_0x527ff0[_0x291605(0x23b)]['platforms'][_0x291605(0x1ac)],_0x3ddf8b):_0xe5c1a9=_0x3ddf8b;const _0x1e1a96=_0x2cccf4[_0x291605(0x1c3)](getPercyOptions,_0x527ff0['config']);if(_0x2cccf4[_0x291605(0x1ab)](_0x527ff0['config'][_0x291605(0x21c)],0x1))_0x54c4a9[_0x291605(0x28f)](_0x70c6c6=>{const _0x332d29=_0x291605,_0x41b56a=[];_0x525ce1[_0x332d29(0x28f)]((_0x4b1a07,_0x15fab5)=>{const _0x219878=_0x332d29,_0x2f62b9={};_0x2f62b9[_0x219878(0x25f)]=[_0x70c6c6],_0x41b56a[_0x219878(0x279)]({'mochaOpts':Object[_0x219878(0x227)]({},_0x5e509a,_0x2f62b9),'configuration':{'server':_0x559a69,'capability':_0x4b1a07,'proxySettings':_0x527ff0[_0x219878(0x23b)][_0x219878(0x203)],'platform':helper[_0x219878(0x1af)](_0x4b1a07),'browserStackLogLevel':_0x527ff0[_0x219878(0x23b)][_0x219878(0x1ad)],'platformIndex':_0x15fab5,'browserStackPercyOptions':_0x1e1a96,'platformCaps':Object['assign']({'index':_0x15fab5},_0x527ff0[_0x219878(0x23b)]['platforms'][_0x15fab5])}});}),_0x44c99d['push'](..._0x41b56a);});else{const _0x4b21fc=[];_0x525ce1[_0x291605(0x28f)]((_0x3e9604,_0x1e332a)=>{const _0x3c863d=_0x291605;let _0x418918=Object[_0x3c863d(0x227)]({},_0x5e509a);testOpsHelper[_0x3c863d(0x276)]()&&testOpsHelper[_0x3c863d(0x1cd)]()&&(_0x418918={..._0x418918,'spec':[..._0x54c4a9]}),_0x4b21fc[_0x3c863d(0x279)]({'mochaOpts':_0x418918,'configuration':{'server':_0x559a69,'capability':_0x3e9604,'proxySettings':_0x527ff0[_0x3c863d(0x23b)][_0x3c863d(0x203)],'platform':helper[_0x3c863d(0x1af)](_0x3e9604),'browserStackLogLevel':_0x527ff0[_0x3c863d(0x23b)][_0x3c863d(0x1ad)],'platformIndex':_0x1e332a,'browserStackPercyOptions':_0x1e1a96,'platformCaps':Object[_0x3c863d(0x227)]({'index':_0x1e332a},_0x527ff0[_0x3c863d(0x23b)][_0x3c863d(0x1d3)][_0x1e332a])}});}),_0x44c99d[_0x291605(0x279)](..._0x4b21fc);}logger[_0x291605(0x274)](_0x291605(0x27c)+_0x527ff0[_0x291605(0x23b)]['platforms']['length']+_0x291605(0x1bf)),logger['info'](_0x2cccf4[_0x291605(0x1ca)]);let _0x2809eb;_0x2cccf4[_0x291605(0x1d7)](parallelTestRun,_0x44c99d,_0xe5c1a9,_0x527ff0)[_0x291605(0x269)](_0x5a65e9=>{const _0x1d706a=_0x291605;PerformanceTester[_0x1d706a(0x1f8)](PerformanceEvents['SDK_CLEANUP']),_0x2809eb=_0x5a65e9,_0x2cccf4['biyyJ'](printStats,_0x5a65e9,_0x3168fa['reporter'],_0x3168fa[_0x1d706a(0x1ae)]||_0x3168fa[_0x2cccf4[_0x1d706a(0x284)]]);})[_0x291605(0x26c)](async()=>{const _0x7457d9=_0x291605;PerformanceTester[_0x7457d9(0x1f8)](PerformanceEvents[_0x7457d9(0x1ba)]),_0x527ff0[_0x7457d9(0x266)]=helper[_0x7457d9(0x24c)](_0x2809eb,_0x2cccf4['cStCA']),await utilities[_0x7457d9(0x253)](_0x527ff0),testOpsHelper['printBuildLink']();});}}function a28_0x52df(_0x2f3ae1,_0x40096e){const _0x4864ba=a28_0x4864();return a28_0x52df=function(_0x52df43,_0x731514){_0x52df43=_0x52df43-0x1a8;let _0x269c23=_0x4864ba[_0x52df43];return _0x269c23;},a28_0x52df(_0x2f3ae1,_0x40096e);}module[a28_0x225825(0x1b7)]=run;
|