browserstack-node-sdk 1.34.13 → 1.34.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -0
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a23_0x2d3242=a23_0x5752;(function(_0x1be1bb,_0x5479af){const _0x581743=a23_0x5752,_0x45a633=_0x1be1bb();while(!![]){try{const _0x1b08ff=parseInt(_0x581743(0x127))/0x1+parseInt(_0x581743(0x121))/0x2+parseInt(_0x581743(0x12e))/0x3*(parseInt(_0x581743(0x122))/0x4)+parseInt(_0x581743(0x118))/0x5*(parseInt(_0x581743(0x146))/0x6)+-parseInt(_0x581743(0x131))/0x7*(parseInt(_0x581743(0x11f))/0x8)+-parseInt(_0x581743(0x115))/0x9*(parseInt(_0x581743(0x13b))/0xa)+parseInt(_0x581743(0x10f))/0xb*(-parseInt(_0x581743(0x12c))/0xc);if(_0x1b08ff===_0x5479af)break;else _0x45a633['push'](_0x45a633['shift']());}catch(_0x3d7cba){_0x45a633['push'](_0x45a633['shift']());}}}(a23_0x4756,0xce231));function a23_0x4756(){const _0x596098=['35cCVGZX','mkdirSync','dirPath','../../../helpers/testhub/constants','stringify','getFilePath','env','_test','vfLDl','tests','20bElmwF','CTQZl','shutdown','setup','mARwe','getTestData','jest-o11y-','unlinkSync','rmSync','retry','BROWSERSTACK_TESTHUB_UUID','95280fhWJKh','uuid','writeFileSync','11ScaXJo','.json','existsSync','testData.json','ENV_VAR','TpNeP','3971817VZySLm','../../../helpers/helper','toString','130wYaSPa','homedir','JAHjU','.browserstack','recursive','WvUMA','parse','1861856flTWyT','setTestUUID','1392756wyZGSV','104NNwzMB','join','force','IUXho','removeTestUUID','1292780OEenaR','exports','yxIjm','getTestRunIdFromTestInfo','MmWNu','12392724LaCItM','setTestData','175536xSJaxR','path','getTestUUID'];a23_0x4756=function(){return _0x596098;};return a23_0x4756();}const fs=require('fs'),path=require(a23_0x2d3242(0x12f)),{v4:uuidv4}=require(a23_0x2d3242(0x147)),helper=require(a23_0x2d3242(0x116)),testHubConstants=require(a23_0x2d3242(0x134));function a23_0x5752(_0x45d780,_0x112e0d){const _0x475665=a23_0x4756();return a23_0x5752=function(_0x5752d7,_0xd08524){_0x5752d7=_0x5752d7-0x10f;let _0x5ea87d=_0x475665[_0x5752d7];return _0x5ea87d;},a23_0x5752(_0x45d780,_0x112e0d);}class TestDetails{static [a23_0x2d3242(0x13a)]={};static [a23_0x2d3242(0x133)]=path[a23_0x2d3242(0x123)](helper[a23_0x2d3242(0x119)](),a23_0x2d3242(0x11b),a23_0x2d3242(0x141)+process[a23_0x2d3242(0x137)][testHubConstants['ENV_VAR'][a23_0x2d3242(0x145)]]);static[a23_0x2d3242(0x13e)](){const _0x55040f=a23_0x2d3242,_0x3b5a14={};_0x3b5a14[_0x55040f(0x13f)]=_0x55040f(0x11b);const _0x18a847=_0x3b5a14;this[_0x55040f(0x133)]=path['join'](helper[_0x55040f(0x119)](),_0x18a847['mARwe'],_0x55040f(0x141)+process[_0x55040f(0x137)][testHubConstants[_0x55040f(0x113)][_0x55040f(0x145)]]),this[_0x55040f(0x13d)]();const _0x575bdb={};_0x575bdb[_0x55040f(0x11c)]=!![],fs[_0x55040f(0x132)](this[_0x55040f(0x133)],_0x575bdb);}static[a23_0x2d3242(0x136)](_0x192926){const _0x11fec8=a23_0x2d3242,_0x5c460b={};_0x5c460b[_0x11fec8(0x13c)]=function(_0x2fd8a3,_0x50ac72){return _0x2fd8a3+_0x50ac72;},_0x5c460b[_0x11fec8(0x139)]=_0x11fec8(0x110);const _0x547d9d=_0x5c460b;return path[_0x11fec8(0x123)](this['dirPath'],_0x547d9d[_0x11fec8(0x13c)](_0x192926,_0x547d9d[_0x11fec8(0x139)]));}static[a23_0x2d3242(0x12a)](_0x374a9b){const _0x4b02a1=a23_0x2d3242,_0x367817={};_0x367817['WvUMA']=function(_0x301882,_0x309e3d){return _0x301882+_0x309e3d;},_0x367817[_0x4b02a1(0x129)]=function(_0x4bca6d,_0x1d544f){return _0x4bca6d+_0x1d544f;},_0x367817[_0x4b02a1(0x11a)]=function(_0x4ba317,_0x41f563){return _0x4ba317+_0x41f563;};const _0x4d1917=_0x367817;return _0x4d1917[_0x4b02a1(0x11d)](_0x4d1917[_0x4b02a1(0x129)](_0x4d1917['JAHjU'](_0x4d1917[_0x4b02a1(0x129)](_0x374a9b[_0x4b02a1(0x138)]['_projectId'],'-'),_0x374a9b['_test']['id']),'-'),_0x374a9b[_0x4b02a1(0x144)]);}static[a23_0x2d3242(0x130)](_0x59d4dd){const _0x2f539e=a23_0x2d3242,_0x1f3577=this[_0x2f539e(0x136)](_0x59d4dd);if(fs[_0x2f539e(0x111)](_0x1f3577)){const _0x129f17=JSON[_0x2f539e(0x11e)](fs['readFileSync'](_0x1f3577)[_0x2f539e(0x117)]());return this[_0x2f539e(0x13a)][_0x59d4dd]=_0x129f17,this['tests'][_0x59d4dd][_0x2f539e(0x147)];}}static[a23_0x2d3242(0x12d)](_0x31ef99){const _0x2fe46e=a23_0x2d3242,_0x320d97={};_0x320d97['TpNeP']=_0x2fe46e(0x112);const _0xffbf5a=_0x320d97,_0x1a8d3b=path[_0x2fe46e(0x123)](this['dirPath'],_0xffbf5a[_0x2fe46e(0x114)]);fs[_0x2fe46e(0x148)](_0x1a8d3b,JSON['stringify'](_0x31ef99));}static[a23_0x2d3242(0x140)](){const _0x59cb69=a23_0x2d3242,_0x4ab8ae={};_0x4ab8ae['IUXho']=_0x59cb69(0x112);const _0x5d8180=_0x4ab8ae,_0x4d60c4=path['join'](this[_0x59cb69(0x133)],_0x5d8180[_0x59cb69(0x125)]);let _0x27a202={};try{return fs['existsSync'](_0x4d60c4)&&(_0x27a202=JSON[_0x59cb69(0x11e)](fs['readFileSync'](_0x4d60c4)['toString']())),_0x27a202;}catch(_0x1a9eaa){return _0x27a202;}}static[a23_0x2d3242(0x120)](_0x3c7c57){const _0x14fa79=a23_0x2d3242,_0xcb0cd6={'MmWNu':function(_0x41f334){return _0x41f334();}},_0x3ca457=this[_0x14fa79(0x136)](_0x3c7c57);return this['tests'][_0x3c7c57]={'uuid':_0xcb0cd6[_0x14fa79(0x12b)](uuidv4)},fs[_0x14fa79(0x148)](_0x3ca457,JSON[_0x14fa79(0x135)](this['tests'][_0x3c7c57])),this['tests'][_0x3c7c57][_0x14fa79(0x147)];}static[a23_0x2d3242(0x126)](_0x53f5cd){const _0x2840f2=a23_0x2d3242,_0x53b93e=this[_0x2840f2(0x136)](_0x53f5cd);fs[_0x2840f2(0x111)](_0x53b93e)&&fs[_0x2840f2(0x142)](_0x53b93e);}static['shutdown'](){const _0x95caf3=a23_0x2d3242,_0x2a95c0={};_0x2a95c0[_0x95caf3(0x11c)]=!![],_0x2a95c0[_0x95caf3(0x124)]=!![],fs[_0x95caf3(0x143)](this['dirPath'],_0x2a95c0);}}module[a23_0x2d3242(0x128)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a24_0x5430df=a24_0x2437;(function(_0x482c0b,_0xaceca1){const _0x3434d0=a24_0x2437,_0x2a4dbb=_0x482c0b();while(!![]){try{const _0x502c75=-parseInt(_0x3434d0(0xf5))/0x1+parseInt(_0x3434d0(0xf0))/0x2*(-parseInt(_0x3434d0(0xef))/0x3)+parseInt(_0x3434d0(0xf4))/0x4+-parseInt(_0x3434d0(0xf3))/0x5*(-parseInt(_0x3434d0(0xf9))/0x6)+parseInt(_0x3434d0(0xee))/0x7+parseInt(_0x3434d0(0xf7))/0x8+-parseInt(_0x3434d0(0xf2))/0x9;if(_0x502c75===_0xaceca1)break;else _0x2a4dbb['push'](_0x2a4dbb['shift']());}catch(_0x4dc764){_0x2a4dbb['push'](_0x2a4dbb['shift']());}}}(a24_0x1385,0x62542));const {requireModule}=require(a24_0x5430df(0xed));function a24_0x2437(_0x141456,_0x1291b8){const _0x13856d=a24_0x1385();return a24_0x2437=function(_0x2437aa,_0x1a27b3){_0x2437aa=_0x2437aa-0xed;let _0x28c6c1=_0x13856d[_0x2437aa];return _0x28c6c1;},a24_0x2437(_0x141456,_0x1291b8);}require(a24_0x5430df(0xf1))();const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x5430df(0xf6)](global[a24_0x5430df(0xf8)])){__wd__[key]=global[a24_0x5430df(0xf8)][key];}function a24_0x1385(){const _0x560320=['4608234zbncjM','7130VOfDVy','253720DcmIoo','607859DkGUVE','keys','5082584oloswK','__webdriver','2448yKywKf','../../helpers/helper','5553618boOJaY','1653888hQmuDz','2eCpSWZ','../../helpers/setKeepAlive'];a24_0x1385=function(){return _0x560320;};return a24_0x1385();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x20480b=a25_0x15fa;(function(_0x5259b3,_0x448b21){const _0x4ccde4=a25_0x15fa,_0x535b4d=_0x5259b3();while(!![]){try{const _0x80e6ef=-parseInt(_0x4ccde4(0x159))/0x1+parseInt(_0x4ccde4(0x176))/0x2+parseInt(_0x4ccde4(0x14e))/0x3*(parseInt(_0x4ccde4(0x15b))/0x4)+parseInt(_0x4ccde4(0x173))/0x5*(-parseInt(_0x4ccde4(0x177))/0x6)+-parseInt(_0x4ccde4(0x155))/0x7+-parseInt(_0x4ccde4(0x16a))/0x8*(-parseInt(_0x4ccde4(0x165))/0x9)+parseInt(_0x4ccde4(0x16f))/0xa;if(_0x80e6ef===_0x448b21)break;else _0x535b4d['push'](_0x535b4d['shift']());}catch(_0x3b434d){_0x535b4d['push'](_0x535b4d['shift']());}}}(a25_0xf2f7,0xb98d6));function a25_0xf2f7(){const _0x40b76e=['../../helpers/test-observability/requestQueueHandler','configuration','25875620WqvuQe','testsUnknown','setupCucumber','18|7|6|20|1|19|3|21|4|23|0|9|15|8|2|12|17|5|14|10|16|22|13|11','85385DgEijh','formatter','testsUndefined','326932owVOeg','354hRlYKE','totalTests','_framework','testsErrorMessage','33261JqMcWa','_testObservability','capability','../../helpers/helper','platform','__platform__','_mochaOpts','2784810wuUwTV','split','testsPassed','resolvePaths','827424FdlrYJ','../../helpers/ai-sdk/autoHealHelper','28dspywU','EWjPL','includes','../../helpers/accessibility-automation/helper','_accessibilityAutomation','setFramework','platformCaps','_bsConfig','__platformCaps','zGSqg','14346RDsfhA','mochaOpts','../../helpers/test-observability/utils','_configuration','../utils/constants','824oYCymD','path','_argv'];a25_0xf2f7=function(){return _0x40b76e;};return a25_0xf2f7();}function a25_0x15fa(_0x545f74,_0x2887cc){const _0xf2f70e=a25_0xf2f7();return a25_0x15fa=function(_0x15faf3,_0xf474af){_0x15faf3=_0x15faf3-0x14b;let _0x25178a=_0xf2f70e[_0x15faf3];return _0x25178a;},a25_0x15fa(_0x545f74,_0x2887cc);}const path=require(a25_0x20480b(0x16b)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x20480b(0x151)),constants=require(a25_0x20480b(0x169)),{isAccessibilityAutomationSession}=require(a25_0x20480b(0x15e)),RequestQueueHandler=require(a25_0x20480b(0x16d)),{isTestObservabilitySession}=require(a25_0x20480b(0x167)),helper=require(a25_0x20480b(0x151)),{commandRepository}=require(a25_0x20480b(0x15a));class Launcher{constructor(_0x2932be,_0x5804cf,_0x14de44,_0x5c5a5b=[]){const _0xb3e4c1=a25_0x20480b,_0x435756={'EWjPL':_0xb3e4c1(0x172),'zGSqg':function(_0x103cd8){return _0x103cd8();}},_0xc66f7d=_0x435756[_0xb3e4c1(0x15c)][_0xb3e4c1(0x156)]('|');let _0x439d59=0x0;while(!![]){switch(_0xc66f7d[_0x439d59++]){case'0':this[_0xb3e4c1(0x15f)]=_0x435756[_0xb3e4c1(0x164)](isAccessibilityAutomationSession);continue;case'1':this['_formatter']=_0x5804cf[_0xb3e4c1(0x174)];continue;case'2':global[_0xb3e4c1(0x157)]=0x0;continue;case'3':global[_0xb3e4c1(0x153)]=this[_0xb3e4c1(0x168)][_0xb3e4c1(0x152)];continue;case'4':this[_0xb3e4c1(0x162)]=_0x14de44;continue;case'5':global['testsSkipped']=0x0;continue;case'6':this[_0xb3e4c1(0x168)]['framework']=_0x2932be;continue;case'7':this['_configuration']=_0x5804cf[_0xb3e4c1(0x16e)]||{};continue;case'8':global[_0xb3e4c1(0x14b)]=0x0;continue;case'9':global[_0xb3e4c1(0x163)]=this['_configuration'][_0xb3e4c1(0x161)]||{};continue;case'10':global[_0xb3e4c1(0x175)]=0x0;continue;case'11':!constants['AI_ENABLED_FRAMEWORK'][_0xb3e4c1(0x15d)](_0x2932be)&&(commandRepository['setConfig'](_0x14de44),commandRepository[_0xb3e4c1(0x160)](_0x2932be));continue;case'12':global['testsFailed']=0x0;continue;case'13':global[_0xb3e4c1(0x14d)]={};continue;case'14':global['testSuitesFailed']=0x0;continue;case'15':global['testSuites']=0x0;continue;case'16':global[_0xb3e4c1(0x170)]=0x0;continue;case'17':global['testsPending']=0x0;continue;case'18':this[_0xb3e4c1(0x14c)]=_0x2932be;continue;case'19':this['_capability']=this[_0xb3e4c1(0x168)][_0xb3e4c1(0x150)];continue;case'20':this[_0xb3e4c1(0x154)]=_0x5804cf[_0xb3e4c1(0x166)];continue;case'21':this[_0xb3e4c1(0x16c)]=_0x5c5a5b;continue;case'22':global['testsAmbiguous']=0x0;continue;case'23':this[_0xb3e4c1(0x14f)]=_0x435756[_0xb3e4c1(0x164)](isTestObservabilitySession);continue;}break;}}[a25_0x20480b(0x171)](_0x1da56b,_0x351b45,_0x95ac7b){const _0x5dccfe=a25_0x20480b,_0x2941ae=_0x1da56b[_0x5dccfe(0x158)];_0x1da56b.resolvePaths=async function(){const pathResults=await _0x2941ae.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x95ac7b));return pathResults;},_0x351b45.push('--format'),_0x351b45.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
1
|
+
const a25_0x5720c2=a25_0x1512;(function(_0x20e7b2,_0x4db340){const _0x1f3c47=a25_0x1512,_0xec9c7a=_0x20e7b2();while(!![]){try{const _0x5964f3=-parseInt(_0x1f3c47(0x197))/0x1*(-parseInt(_0x1f3c47(0x184))/0x2)+-parseInt(_0x1f3c47(0x172))/0x3+parseInt(_0x1f3c47(0x170))/0x4*(parseInt(_0x1f3c47(0x18f))/0x5)+parseInt(_0x1f3c47(0x188))/0x6*(-parseInt(_0x1f3c47(0x17c))/0x7)+parseInt(_0x1f3c47(0x171))/0x8+-parseInt(_0x1f3c47(0x196))/0x9+parseInt(_0x1f3c47(0x18c))/0xa;if(_0x5964f3===_0x4db340)break;else _0xec9c7a['push'](_0xec9c7a['shift']());}catch(_0x32edc7){_0xec9c7a['push'](_0xec9c7a['shift']());}}}(a25_0x3cd6,0x69122));function a25_0x1512(_0x1d0e9d,_0x7b984b){const _0x3cd6a1=a25_0x3cd6();return a25_0x1512=function(_0x151233,_0x294c93){_0x151233=_0x151233-0x16b;let _0x3548c7=_0x3cd6a1[_0x151233];return _0x3548c7;},a25_0x1512(_0x1d0e9d,_0x7b984b);}const path=require(a25_0x5720c2(0x16e)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x5720c2(0x191)),constants=require(a25_0x5720c2(0x18a)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x5720c2(0x17f)),{isTestObservabilitySession}=require(a25_0x5720c2(0x185)),helper=require(a25_0x5720c2(0x191)),{commandRepository}=require(a25_0x5720c2(0x17b));class Launcher{constructor(_0x4a9d7e,_0x3587dd,_0x2d768c,_0x14ea85=[]){const _0xc28036=a25_0x5720c2,_0x279c9f={'LJAlv':_0xc28036(0x173),'onfdf':function(_0x400e0e){return _0x400e0e();}},_0x459779=_0x279c9f[_0xc28036(0x192)][_0xc28036(0x17a)]('|');let _0x57ea09=0x0;while(!![]){switch(_0x459779[_0x57ea09++]){case'0':this[_0xc28036(0x176)]=_0x2d768c;continue;case'1':global[_0xc28036(0x175)]=0x0;continue;case'2':global['totalTests']=0x0;continue;case'3':this[_0xc28036(0x17e)]['framework']=_0x4a9d7e;continue;case'4':this[_0xc28036(0x17d)]=this['_configuration'][_0xc28036(0x190)];continue;case'5':global[_0xc28036(0x18d)]=0x0;continue;case'6':global[_0xc28036(0x178)]=0x0;continue;case'7':global[_0xc28036(0x189)]=0x0;continue;case'8':this[_0xc28036(0x17e)]=_0x3587dd[_0xc28036(0x16b)]||{};continue;case'9':global[_0xc28036(0x16c)]=0x0;continue;case'10':global[_0xc28036(0x180)]=0x0;continue;case'11':global[_0xc28036(0x183)]=this[_0xc28036(0x17e)][_0xc28036(0x186)]||{};continue;case'12':global[_0xc28036(0x187)]=this[_0xc28036(0x17e)][_0xc28036(0x18e)];continue;case'13':global[_0xc28036(0x16d)]=0x0;continue;case'14':this[_0xc28036(0x18b)]=_0x279c9f['onfdf'](isTestObservabilitySession);continue;case'15':this['_accessibilityAutomation']=_0x279c9f[_0xc28036(0x195)](isAccessibilityAutomationSession);continue;case'16':this[_0xc28036(0x193)]=_0x14ea85;continue;case'17':global[_0xc28036(0x174)]=0x0;continue;case'18':this['_framework']=_0x4a9d7e;continue;case'19':!constants['AI_ENABLED_FRAMEWORK']['includes'](_0x4a9d7e)&&(commandRepository['setConfig'](_0x2d768c),commandRepository[_0xc28036(0x179)](_0x4a9d7e));continue;case'20':this['_mochaOpts']=_0x3587dd[_0xc28036(0x181)];continue;case'21':global[_0xc28036(0x182)]=0x0;continue;case'22':global[_0xc28036(0x16f)]={};continue;case'23':this['_formatter']=_0x3587dd[_0xc28036(0x177)];continue;}break;}}['setupCucumber'](_0x522c7c,_0x469d13,_0x55f87c){const _0x2aba91=a25_0x5720c2,_0x5f3556=_0x522c7c[_0x2aba91(0x194)];_0x522c7c.resolvePaths=async function(){const pathResults=await _0x5f3556.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x55f87c));return pathResults;},_0x469d13.push('--format'),_0x469d13.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x3cd6(){const _0x1232a1=['__platform__','6takPmi','testsUnknown','../utils/constants','_testObservability','9464340XXYcdT','testsUndefined','platform','1539490AmFFvk','capability','../../helpers/helper','LJAlv','_argv','resolvePaths','onfdf','7741242LWiwRF','2787eItLYA','configuration','testsSkipped','testSuitesFailed','path','testsErrorMessage','8cApViq','2340784nxMVCk','1239081yrFUZH','18|8|3|20|23|4|12|16|0|14|15|11|17|2|10|21|1|9|13|5|7|6|22|19','testSuites','testsPending','_bsConfig','formatter','testsAmbiguous','setFramework','split','../../helpers/ai-sdk/autoHealHelper','2756334obQABK','_capability','_configuration','../../helpers/test-observability/requestQueueHandler','testsPassed','mochaOpts','testsFailed','__platformCaps','174OymMYM','../../helpers/test-observability/utils','platformCaps'];a25_0x3cd6=function(){return _0x1232a1;};return a25_0x3cd6();}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a26_0x9ba3(_0x25c053,_0x496a4e){const _0x696b0a=a26_0x696b();return a26_0x9ba3=function(_0x9ba3c7,_0x1128f3){_0x9ba3c7=_0x9ba3c7-0xb2;let _0x4f5c0e=_0x696b0a[_0x9ba3c7];return _0x4f5c0e;},a26_0x9ba3(_0x25c053,_0x496a4e);}const a26_0x11673e=a26_0x9ba3;function a26_0x696b(){const _0x3ef29e=['format','isAccessibilityPlatform','winstonLogger','isUndefined','33084rxISKB','../../../helpers/helper','yIVlY','browser_version','deviceName','2310540PcBVas','155DAnExk','setAccessibilityCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','EMebx','104IHeqeA','browserstack.accessibilityOptions','setExtension','getBrowserVersion','get','debug','27xCJYnu','242670ZhXbjJ','selenium-webdriver/chrome.js','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','itqNw','../../../helpers/logger','56092ewIlCh','AhbGp','args','util','accessibility','../../../helpers/globals','bstack:options','vsihe','getBrowserName','BS_A11Y_JWT','requireModule','capability','getCapabilities','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','lmsxI','Exception\x20in\x20setExtension\x20Error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','SmnSb','CqQmH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','path','chrome','toLowerCase','chromeOptions_','mhTFQ','browserstack.accessibility','fetchPlatformDetails','capabilities_','hRFnu','141925csCOjX','parse','yNoTS','XMmqk','scannerVersion','options_','__cloud_provider___','--headless','warn','ceWOf','nestedKeyValue','DoIvJ','browserName','zMpbe','6018MJBQlP','dzVrI','accessibilityOptions','1011138atkaRq','device','includes','env','yxsMO','getPlatform','CruNn','cmwNV','XbHyb'];a26_0x696b=function(){return _0x3ef29e;};return a26_0x696b();}(function(_0x4c4b54,_0x2bf9fd){const _0x191855=a26_0x9ba3,_0x818120=_0x4c4b54();while(!![]){try{const _0x413620=-parseInt(_0x191855(0xe8))/0x1*(parseInt(_0x191855(0xc8))/0x2)+parseInt(_0x191855(0xcb))/0x3+-parseInt(_0x191855(0xee))/0x4*(-parseInt(_0x191855(0xde))/0x5)+-parseInt(_0x191855(0xdd))/0x6+parseInt(_0x191855(0xba))/0x7+-parseInt(_0x191855(0xe2))/0x8*(parseInt(_0x191855(0xd8))/0x9)+-parseInt(_0x191855(0xe9))/0xa;if(_0x413620===_0x2bf9fd)break;else _0x818120['push'](_0x818120['shift']());}catch(_0x328c7e){_0x818120['push'](_0x818120['shift']());}}}(a26_0x696b,0x3dece));const path=require(a26_0x11673e(0x102)),os=require('os'),util=require(a26_0x11673e(0xf1)),bsSetupHelper=require(a26_0x11673e(0xd9)),globals=require(a26_0x11673e(0xf3)),logger=require(a26_0x11673e(0xed))[a26_0x11673e(0xd6)];exports[a26_0x11673e(0xdf)]=_0x5605ef=>{const _0xd95edc=a26_0x11673e,_0x1d3704={};_0x1d3704[_0xd95edc(0xef)]=_0xd95edc(0xf4),_0x1d3704[_0xd95edc(0xc3)]=_0xd95edc(0xb6),_0x1d3704[_0xd95edc(0xb5)]=_0xd95edc(0xd5),_0x1d3704[_0xd95edc(0xff)]=_0xd95edc(0xe3);const _0x319c63=_0x1d3704;try{const _0x1be731=_0x5605ef[_0xd95edc(0xf9)]||{};if(_0x1be731[_0x319c63[_0xd95edc(0xef)]]&&_0x1be731[_0x319c63[_0xd95edc(0xef)]][_0xd95edc(0xf2)]||_0x5605ef['capability'][_0x319c63['ceWOf']]){globals['setGlobal'](_0x319c63[_0xd95edc(0xb5)],!![]);if(_0x1be731[_0x319c63['AhbGp']]){if(_0x1be731[_0x319c63[_0xd95edc(0xef)]][_0xd95edc(0xca)])_0x1be731[_0x319c63['AhbGp']]['accessibilityOptions']['authToken']=process['env'][_0xd95edc(0xf7)];else{const _0x5d2736={};_0x5d2736['authToken']=process[_0xd95edc(0xce)][_0xd95edc(0xf7)],_0x1be731[_0x319c63[_0xd95edc(0xef)]][_0xd95edc(0xca)]=_0x5d2736;}_0x1be731[_0x319c63[_0xd95edc(0xef)]][_0xd95edc(0xca)][_0xd95edc(0xbe)]=JSON[_0xd95edc(0xbb)](process[_0xd95edc(0xce)][_0xd95edc(0x101)])[_0xd95edc(0xbe)];}else{if(_0x5605ef[_0xd95edc(0xf9)][_0x319c63[_0xd95edc(0xc3)]]){if(_0x1be731[_0x319c63[_0xd95edc(0xff)]])_0x1be731[_0x319c63['SmnSb']]['authToken']=process['env'][_0xd95edc(0xf7)];else{const _0x122852={};_0x122852['authToken']=process['env'][_0xd95edc(0xf7)],_0x1be731[_0x319c63[_0xd95edc(0xff)]]=_0x122852;}_0x1be731[_0x319c63[_0xd95edc(0xff)]][_0xd95edc(0xbe)]=JSON['parse'](process[_0xd95edc(0xce)][_0xd95edc(0x101)])[_0xd95edc(0xbe)];}}}}catch(_0x4ecb72){logger['debug'](_0xd95edc(0xfb)+_0x4ecb72);}},exports[a26_0x11673e(0xe4)]=(_0x335a83,_0x3fbb92)=>{const _0x4b184a=a26_0x11673e,_0x25bbe1={};_0x25bbe1[_0x4b184a(0xc7)]=_0x4b184a(0xf4),_0x25bbe1['vsihe']=function(_0x1c4a2f,_0x5cf85c){return _0x1c4a2f!==_0x5cf85c;},_0x25bbe1[_0x4b184a(0xbd)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x25bbe1[_0x4b184a(0xfc)]=_0x4b184a(0xb2),_0x25bbe1[_0x4b184a(0xb9)]=_0x4b184a(0xe0),_0x25bbe1[_0x4b184a(0xcf)]=function(_0xaeb0f3,_0x1b85fe){return _0xaeb0f3===_0x1b85fe;},_0x25bbe1[_0x4b184a(0xd3)]='latest',_0x25bbe1[_0x4b184a(0xc5)]=function(_0x2e4ecd,_0x7011e){return _0x2e4ecd>_0x7011e;},_0x25bbe1[_0x4b184a(0xc9)]=_0x4b184a(0xfe),_0x25bbe1[_0x4b184a(0xd1)]=_0x4b184a(0xea),_0x25bbe1['WEPad']=_0x4b184a(0xbf),_0x25bbe1[_0x4b184a(0x100)]=_0x4b184a(0xf0),_0x25bbe1[_0x4b184a(0xda)]='chromeOptions',_0x25bbe1[_0x4b184a(0xd2)]=_0x4b184a(0xc1),_0x25bbe1[_0x4b184a(0xec)]=_0x4b184a(0xeb);const _0x23b0f8=_0x25bbe1;try{const _0x3c6c71=_0x3fbb92[_0x4b184a(0xf9)]||{},_0x39525b=(_0x3c6c71[_0x23b0f8[_0x4b184a(0xc7)]]?_0x3c6c71[_0x23b0f8[_0x4b184a(0xc7)]][_0x4b184a(0xdc)]:_0x3c6c71[_0x4b184a(0xcc)])||'';if(_0x23b0f8[_0x4b184a(0xf5)](_0x39525b,''))return logger[_0x4b184a(0xc2)](_0x23b0f8[_0x4b184a(0xbd)]),![];const _0x4ab187=_0x3c6c71[_0x4b184a(0xc6)]||_0x335a83[_0x4b184a(0xb8)][_0x4b184a(0xf6)]();if(_0x23b0f8[_0x4b184a(0xf5)](_0x4ab187[_0x4b184a(0xb3)](),_0x23b0f8['lmsxI']))return logger[_0x4b184a(0xc2)](_0x23b0f8[_0x4b184a(0xb9)]),![];const _0xc68cf2=_0x3c6c71['browserVersion']||_0x3c6c71[_0x4b184a(0xdb)]||_0x335a83[_0x4b184a(0xb8)][_0x4b184a(0xe5)]();if(!bsSetupHelper[_0x4b184a(0xd7)](_0xc68cf2)&&!(_0x23b0f8[_0x4b184a(0xcf)](_0xc68cf2,_0x23b0f8[_0x4b184a(0xd3)])||_0x23b0f8[_0x4b184a(0xc5)](_0xc68cf2,0x5e)))return logger['warn'](_0x23b0f8[_0x4b184a(0xc9)]),![];let _0x571b61;try{_0x571b61=bsSetupHelper[_0x4b184a(0xf8)](_0x23b0f8[_0x4b184a(0xd1)]);}catch(_0x5a01ad){return![];}const _0x339bee=new _0x571b61['Options'](_0x335a83[_0x4b184a(0xb4)]),_0x35f198=bsSetupHelper['nestedKeyValue'](_0x339bee,[_0x23b0f8['WEPad'],_0x23b0f8['CqQmH']])||bsSetupHelper[_0x4b184a(0xc4)](_0x335a83[_0x4b184a(0xb8)]['get'](_0x23b0f8[_0x4b184a(0xc7)]),[_0x23b0f8['yIVlY'],_0x23b0f8[_0x4b184a(0x100)]])||bsSetupHelper[_0x4b184a(0xc4)](_0x335a83[_0x4b184a(0xb8)][_0x4b184a(0xe6)](_0x23b0f8[_0x4b184a(0xda)]),[_0x23b0f8[_0x4b184a(0x100)]])||[];if(_0x35f198[_0x4b184a(0xcd)](_0x23b0f8[_0x4b184a(0xd2)]))return logger[_0x4b184a(0xc2)](_0x23b0f8[_0x4b184a(0xec)]),![];return!![];}catch(_0x464bf7){logger[_0x4b184a(0xe7)](_0x4b184a(0xfd)+util[_0x4b184a(0xd4)](_0x464bf7));}return![];},exports[a26_0x11673e(0xb7)]=async _0x3c0e27=>{const _0x3c06b9=a26_0x11673e,_0x4c794c={};_0x4c794c[_0x3c06b9(0xe1)]=function(_0x4abc54,_0x2f5d15){return _0x4abc54===_0x2f5d15;},_0x4c794c[_0x3c06b9(0xbc)]='browserstack';const _0x337244=_0x4c794c;let _0x45688f={};try{const _0x24706a=await _0x3c0e27[_0x3c06b9(0xfa)]();_0x45688f={'os_name':_0x24706a[_0x3c06b9(0xd0)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x337244['EMebx'](global[_0x3c06b9(0xc0)],_0x337244[_0x3c06b9(0xbc)])),'browser_name':_0x24706a[_0x3c06b9(0xf6)](),'browser_version':_0x24706a[_0x3c06b9(0xe5)]()};}catch(_0x117ac0){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x117ac0);}return _0x45688f;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a27_0x1405b5=a27_0x545f;(function(_0x281ca2,_0x4101da){const _0x525efb=a27_0x545f,_0x43a70c=_0x281ca2();while(!![]){try{const _0x5b731c=parseInt(_0x525efb(0xac))/0x1+-parseInt(_0x525efb(0x147))/0x2*(parseInt(_0x525efb(0xc8))/0x3)+-parseInt(_0x525efb(0x180))/0x4*(-parseInt(_0x525efb(0x168))/0x5)+-parseInt(_0x525efb(0x1b6))/0x6+-parseInt(_0x525efb(0xd5))/0x7+parseInt(_0x525efb(0x114))/0x8+-parseInt(_0x525efb(0xea))/0x9;if(_0x5b731c===_0x4101da)break;else _0x43a70c['push'](_0x43a70c['shift']());}catch(_0x5c1478){_0x43a70c['push'](_0x43a70c['shift']());}}}(a27_0x1ac0,0x5c405));function a27_0x545f(_0x228a16,_0x3f4aab){const _0x1ac02c=a27_0x1ac0();return a27_0x545f=function(_0x545fb5,_0x2a476c){_0x545fb5=_0x545fb5-0x92;let _0x231d88=_0x1ac02c[_0x545fb5];return _0x231d88;},a27_0x545f(_0x228a16,_0x3f4aab);}const util=require('util'),fs=require('fs'),path=require('path'),{requireModule}=require(a27_0x1405b5(0x150)),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule('mocha/lib/utils.js'),color=Base[a27_0x1405b5(0x105)],Mocha=requireModule(a27_0x1405b5(0xcf)),Runnable=requireModule(a27_0x1405b5(0xd7)),{v4:uuidv4}=require(a27_0x1405b5(0x155)),bsSetupHelper=require(a27_0x1405b5(0x150)),testhubUtils=require('../../../helpers/testhub/utils'),testHubConstants=require(a27_0x1405b5(0xe2)),{FRAMEWORKS}=require(a27_0x1405b5(0xb4)),a27_0x414854={};function a27_0x1ac0(){const _0x6cec6e=['result','logs','wRCGV','parent','../../../helpers/test-observability/utils','FXgnZ','eetuL','started_at','lxewC','includes','uwvdu','consoleLog','state','scope','hookAnalyticsId','constants','color','</dt>','inspect','GLcQo','mocha/lib/reporters/','yDdxu','AUgUb','getRootParentFile','zWiYF','docAppend','failure_reason_expanded','EVENT','TestRunSkipped','hooks','lkqeb','5118384XwJKwd','type','ONNRT','WMnTZ','light','_paths','WgJwh','kklLI','testObservability','lLebp','qPuzN','MLtLk','BEFORE_ALL','Runner','originalTitle','shutdown','TestRunFinished','iDlFG','AFTER_EACH','azyUr','JTIev','pbACJ','AssertionError','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','HookRunFinished','HookStarted','findGitConfig','cJNyA','clean','XXagh','DRJbr','RBNdZ','exports','slow','oMvJl','qluIQ','uOytv','yArHm','shouldProcessEventForTesthub','TsnLP','\x20%s','increaseIndent','rijUn','\x20with\x20error\x20:\x20','match','_upstreamConfig','diAcS','jdKuG','\x20-\x20','failureCount','_currentRetry','241302gFFHFV','../../../helpers/test-observability/sessionHandler','teyWX','IoAZR','VWKIk','before\x20each','gTdmL','_testEnv','VwVVH','../../../helpers/helper','HGmLu','analyticsResult','NMOyC','WsXPF','uuid','uploadEventData','comma','hxLEA','sbqcg','pending','COMPLETED','roLQg','\x20(%dms)','1|4|3|0|2','RwuPV','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','CBTSessionCreated','ZYwWL','.js','current_hook','_buildCreated','title','jmopl','4840wVZkbR','UfPMG','SpxRs','\x20\x20<dt\x20class=\x22error\x22>','QZPOA','tWkKD','rwcmy','soZFP','MOCHA','KuNGc','stdout','symbols','wsOCw','lZHkp','once','MJWWJ','rGOuO','root','name','ctx','dRMNm','sendTestRunEvent','dot','config','2716UQDkqD','now','<dl>','KtWyb','GfCkH','body','_testResults','failure_backtrace','hUhOp','appendTesthubParams','DYmPJ','ndmvN','kzfZU','integrations','hook_run_uuid','reporterOption','kYiCq','fBTmo','suites','JIiHP','</code></pre></dd>','err','VPsUQ','VLKJL','event_type','appendTestPlatform','fullTitle','HookRunStarted','BhvOH','DsMQt','djozy','bright\x20yellow','vIEpb','muJNb','expanded','AFTER_ALL','lVBrT','apply','currentTest','hook_run','reporterOptions','MgelK','appendTestItemLog','multiple','Failed\x20to\x20load\x20reporter\x20','toString','HookFinished','EEwns','results','RUNNING','spec','hook_type','test_run_uuid','GhYZs','2136504ffOrgq','duration','_indents','pid','hKaOB','error','indent','.git','ljrZC','\x20\x20<dd\x20class=\x22error\x22>','split','scopes','retryOf','titlePath','oyvaQ','decreaseIndent','DZVRi','XVCAH','TestRunStarted','pass','prefixTestPath','lkuZt','join','jlPqP','%s\x20','forEach','getTime','517373ynoXwS','xunit','dqvly','exIjr','write','failed','removeAllListeners','speed','../../../helpers/test-observability/constants','AENmQ','statSync','skipped','bsConfig','docHtml','\x20\x20<dt>','done','__platform__','finished_at','ROVOd','DBWwE','JCiRl','current_test','zkliI','toISOString','__indents','eWvgt','ECSua','push','9AvXJPg','testStarted','slice','passed','cQvTG','getInstance','XUPnw','mocha','%s\x20-\x20%s','markedStatus','file','sep','failCount','1916614sWnQSo','HJlyU','mocha/lib/runnable.js','cwd','call','fPpfi','bs:addPlatformDetails:','isPending','javascript','EdhLk','testAnalyticsId','finalResults','hNYiH','../../../helpers/testhub/constants','uJfGH','currentRetry','CabEt','escape','DahxL','PWaHY','RtmFP','4002687IypFdw','Reporter','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','registerListeners','checkmark','xkfJX','bind','fail','bs:addLog:','dirname','trim'];a27_0x1ac0=function(){return _0x6cec6e;};return a27_0x1ac0();}a27_0x414854['before\x20all']=a27_0x1405b5(0x120),a27_0x414854['after\x20all']=a27_0x1405b5(0x1a3),a27_0x414854['before\x20each']='BEFORE_EACH',a27_0x414854['after\x20each']=a27_0x1405b5(0x126);const HOOK_TYPES_MAP=a27_0x414854,{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_0x1405b5(0x121)][a27_0x1405b5(0x104)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x1405b5(0x104)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x1405b5(0xb4)),SessionHandler=require(a27_0x1405b5(0x148)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x1405b5(0xf9)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a27_0x1405b5(0xcd)]();class MyReporter{constructor(_0xc927d1,_0x1ee3eb){const _0x1a7e6b=a27_0x1405b5,_0x58c7f3={'jlPqP':function(_0x1f3daf,_0x1dd35d){return _0x1f3daf===_0x1dd35d;},'jmopl':_0x1a7e6b(0x1b2),'DZVRi':function(_0x342a1a,_0x51f429){return _0x342a1a+_0x51f429;},'lkuZt':function(_0x52d6eb,_0x41b38c){return _0x52d6eb+_0x41b38c;},'DRJbr':function(_0x5c3f96,_0x3c5397,_0x397b88){return _0x5c3f96(_0x3c5397,_0x397b88);},'HGmLu':'green','RtmFP':_0x1a7e6b(0xa9),'ONNRT':_0x1a7e6b(0x118),'VSFkw':_0x1a7e6b(0xd0),'HEYJQ':_0x1a7e6b(0x1b1),'uwvdu':function(_0x535dd6,_0x1aa6fb){return _0x535dd6===_0x1aa6fb;},'cJNyA':'doc','azyUr':function(_0x295bf9,_0x1c81de){return _0x295bf9===_0x1c81de;},'muJNb':function(_0x296f15){return _0x296f15();},'HJlyU':_0x1a7e6b(0x19b),'IoAZR':_0x1a7e6b(0x12c),'EEwns':_0x1a7e6b(0xcb),'xkfJX':'fast','WMnTZ':function(_0xe93e3f,_0xacfe9){return _0xe93e3f+_0xacfe9;},'WgJwh':function(_0x43f4c9,_0x1a18b9){return _0x43f4c9+_0x1a18b9;},'oMvJl':function(_0x2e9c19,_0xe007a5,_0x389260){return _0x2e9c19(_0xe007a5,_0x389260);},'lxewC':_0x1a7e6b(0xee),'diAcS':_0x1a7e6b(0xa4),'oWOJZ':_0x1a7e6b(0x13c),'toBHQ':function(_0x1f763c,_0x4dc3a6){return _0x1f763c+_0x4dc3a6;},'lVBrT':function(_0x43449e,_0x421f49,_0x239732){return _0x43449e(_0x421f49,_0x239732);},'roLQg':_0x1a7e6b(0x15d),'kZwhw':function(_0x47cdf0,_0x53e9e2){return _0x47cdf0+_0x53e9e2;},'wRCGV':_0x1a7e6b(0xf1),'wuKle':'\x20\x20%d)\x20%s','EdhLk':function(_0x497878,_0x38ec85){return _0x497878+_0x38ec85;},'VLKJL':_0x1a7e6b(0x19f),'ljrZC':_0x1a7e6b(0x15b),'SpxRs':function(_0x3e9b95,_0x231763){return _0x3e9b95===_0x231763;},'cQvTG':_0x1a7e6b(0x17e),'VwVVH':_0x1a7e6b(0x135),'dqvly':_0x1a7e6b(0x15e),'PWaHY':function(_0x30c319,_0x127209){return _0x30c319===_0x127209;},'sbqcg':function(_0x34da14,_0x52f5a0){return _0x34da14===_0x52f5a0;},'VPsUQ':_0x1a7e6b(0x15a),'qluIQ':function(_0x5d982f,_0x3c48ee){return _0x5d982f===_0x3c48ee;},'fBTmo':function(_0x287fb1){return _0x287fb1();},'XUPnw':_0x1a7e6b(0x111),'exIjr':function(_0x3e61b6,_0x40f60a){return _0x3e61b6===_0x40f60a;},'DsMQt':function(_0x135c2c,_0x356f12){return _0x135c2c(_0x356f12);},'BhvOH':function(_0x59d9b0){return _0x59d9b0();},'xUXng':function(_0x28f3e3,_0x526cbc){return _0x28f3e3===_0x526cbc;},'hxLEA':function(_0xc0ee1f){return _0xc0ee1f();},'bgCzN':function(_0x202088,_0x23ef98){return _0x202088===_0x23ef98;},'PpiMw':_0x1a7e6b(0xad),'lZHkp':function(_0x7acdfa,_0x3d3b1e){return _0x7acdfa(_0x3d3b1e);},'aRemi':function(_0x200b79,_0x115b45){return _0x200b79===_0x115b45;},'WsXPF':function(_0x312f31,_0x2d8841){return _0x312f31(_0x2d8841);},'kioPi':function(_0x55fcbc,_0x541623){return _0x55fcbc!==_0x541623;}};this['type']=_0x1ee3eb[_0x1a7e6b(0x18f)][_0x1a7e6b(0x115)],this[_0x1a7e6b(0x11c)]=_0x58c7f3[_0x1a7e6b(0x19c)](isTestObservabilitySession),Base[_0x1a7e6b(0xd9)](this,_0xc927d1,_0x1ee3eb),this[_0x1a7e6b(0x93)]=0x0,this[_0x1a7e6b(0xd4)]=0x0,this[_0x1a7e6b(0x1b0)]=[],this[_0x1a7e6b(0xe0)]=[],this['suiteCount']=0x0,this[_0x1a7e6b(0x165)]=![],this[_0x1a7e6b(0x186)]=[],this['_testEnv']=_0x58c7f3[_0x1a7e6b(0x158)](getTestEnv),this[_0x1a7e6b(0x119)]=new PathHelper({'cwd':process[_0x1a7e6b(0xd8)]()},this[_0x1a7e6b(0x14e)]['location_prefix']),this[_0x1a7e6b(0x141)]=_0x1ee3eb[_0x1a7e6b(0x18f)][_0x1a7e6b(0xb8)],this[_0x1a7e6b(0xed)]();_0x58c7f3['bgCzN'](this['type'],_0x58c7f3[_0x1a7e6b(0x12f)])&&(this[_0x1a7e6b(0xb9)]='',this[_0x1a7e6b(0xc4)]=0x2);_0xc927d1[_0x1a7e6b(0x176)](EVENT_RUN_BEGIN,async()=>{const _0x1f219e=_0x1a7e6b;_0x58c7f3[_0x1f219e(0xa8)](this[_0x1f219e(0x115)],_0x58c7f3[_0x1f219e(0x167)])&&Base[_0x1f219e(0x100)]();})['on'](EVENT_SUITE_BEGIN,_0x4b0af9=>{const _0x1839bd=_0x1a7e6b;if(_0x4b0af9['root'])return;if(_0x58c7f3['jlPqP'](this['type'],_0x58c7f3['jmopl']))this['increaseIndent'](),Base[_0x1839bd(0x100)](_0x58c7f3[_0x1839bd(0xa1)](_0x58c7f3[_0x1839bd(0xa6)](this[_0x1839bd(0x97)](),_0x58c7f3['DRJbr'](color,_0x58c7f3[_0x1839bd(0x151)],_0x58c7f3[_0x1839bd(0xe9)])),_0x58c7f3[_0x1839bd(0x132)](color,_0x58c7f3[_0x1839bd(0x116)],_0x58c7f3['VSFkw'])),_0x58c7f3['HEYJQ'],_0x4b0af9[_0x1839bd(0x166)],global['__platform__']);else _0x58c7f3[_0x1839bd(0xff)](this['type'],_0x58c7f3[_0x1839bd(0x12f)])&&(this['docAppend'](this[_0x1839bd(0x97)]()+'<section\x20class=\x22suite\x22>'),++this[_0x1839bd(0xc4)],this[_0x1839bd(0x10e)](this[_0x1839bd(0x97)]()+'<h1>'+utils[_0x1839bd(0xe6)](_0x4b0af9['title']+_0x1839bd(0x144)+global[_0x1839bd(0xbc)])+'</h1>'),this[_0x1839bd(0x10e)](this['indent']()+_0x1839bd(0x182)));})['on'](EVENT_HOOK_BEGIN,async _0x50a849=>{const _0x4ffe90=_0x1a7e6b;if(_0x58c7f3[_0x4ffe90(0x127)](testhubUtils[_0x4ffe90(0x13a)](testHubConstants['EVENT'][_0x4ffe90(0x12d)]),!![])){if(!_0x50a849[_0x4ffe90(0x103)])_0x50a849[_0x4ffe90(0x103)]=_0x58c7f3[_0x4ffe90(0x1a1)](uuidv4);else _0x50a849[_0x4ffe90(0xd1)]&&(_0x50a849['hookAnalyticsId']=_0x58c7f3[_0x4ffe90(0x1a1)](uuidv4),delete _0x50a849[_0x4ffe90(0xd1)]);_0x50a849[_0x4ffe90(0xfc)]=new Date()[_0x4ffe90(0xc3)](),this['current_hook']=_0x50a849,await this[_0x4ffe90(0x17d)](_0x50a849,undefined,![],_0x58c7f3[_0x4ffe90(0xd6)]);}})['on'](EVENT_HOOK_END,async _0x1fd266=>{const _0x473279=_0x1a7e6b;_0x58c7f3[_0x473279(0xff)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x473279(0x1ae)]),!![])&&(!_0x1fd266[_0x473279(0xd1)]&&(_0x1fd266['markedStatus']=!![],await this[_0x473279(0x17d)](_0x1fd266,undefined,![],_0x58c7f3['IoAZR'])));})['on'](EVENT_SUITE_END,_0x21b4c1=>{const _0x5ea484=_0x1a7e6b,_0x518453={'VWKIk':function(_0xce59d7,_0x407eca){return _0x58c7f3['azyUr'](_0xce59d7,_0x407eca);},'FXgnZ':_0x58c7f3[_0x5ea484(0x1af)],'RBNdZ':function(_0x5697dd,_0x1e7a87){const _0x2fd237=_0x5ea484;return _0x58c7f3[_0x2fd237(0xff)](_0x5697dd,_0x1e7a87);},'MJWWJ':_0x58c7f3[_0x5ea484(0xef)],'ndmvN':function(_0x69525c,_0x19c247){const _0x9aa03e=_0x5ea484;return _0x58c7f3[_0x9aa03e(0x117)](_0x69525c,_0x19c247);},'ROVOd':function(_0x266cd3,_0x4fb3a3){return _0x58c7f3['WgJwh'](_0x266cd3,_0x4fb3a3);},'lkqeb':function(_0x39bfb5,_0x4a9286,_0x432c75){const _0x4be620=_0x5ea484;return _0x58c7f3[_0x4be620(0x136)](_0x39bfb5,_0x4a9286,_0x432c75);},'fPpfi':_0x58c7f3[_0x5ea484(0xfd)],'DahxL':function(_0x4646f9,_0x9d036d){const _0x581c7c=_0x5ea484;return _0x58c7f3[_0x581c7c(0x11a)](_0x4646f9,_0x9d036d);},'rijUn':_0x58c7f3[_0x5ea484(0x142)],'rGOuO':_0x58c7f3['oWOJZ'],'PXZjw':function(_0x3e4520,_0x1937fd){return _0x58c7f3['toBHQ'](_0x3e4520,_0x1937fd);},'mHSPG':function(_0x118781,_0xdd0d43){return _0x58c7f3['WgJwh'](_0x118781,_0xdd0d43);},'eetuL':function(_0x2c072c,_0x36dc67,_0x2340ce){const _0x11f590=_0x5ea484;return _0x58c7f3[_0x11f590(0x1a4)](_0x2c072c,_0x36dc67,_0x2340ce);},'soZFP':_0x58c7f3[_0x5ea484(0x15c)],'ECSua':function(_0x11ddba,_0x28d4c4){return _0x58c7f3['kZwhw'](_0x11ddba,_0x28d4c4);},'yDdxu':_0x58c7f3[_0x5ea484(0xf7)],'JIiHP':_0x58c7f3['wuKle']};if(_0x21b4c1[_0x5ea484(0x179)])return;if(_0x58c7f3[_0x5ea484(0xa8)](this[_0x5ea484(0x115)],_0x58c7f3[_0x5ea484(0x167)]))Base[_0x5ea484(0x100)](),Base[_0x5ea484(0x100)](_0x58c7f3[_0x5ea484(0xa1)](_0x58c7f3[_0x5ea484(0xde)](this['indent'](),_0x58c7f3[_0x5ea484(0x136)](color,_0x58c7f3['VLKJL'],_0x58c7f3[_0x5ea484(0xe9)])),_0x58c7f3[_0x5ea484(0x1a4)](color,_0x58c7f3[_0x5ea484(0x116)],_0x58c7f3['VSFkw'])),_0x58c7f3[_0x5ea484(0x99)],_0x21b4c1['title'],global[_0x5ea484(0xbc)]),this[_0x5ea484(0x1b0)][_0x5ea484(0xaa)](_0x26c85f=>{const _0x290de2=_0x5ea484;if(_0x518453[_0x290de2(0x14b)](_0x26c85f[_0x290de2(0x101)],_0x518453[_0x290de2(0xfa)])){var _0x6c7fe4;_0x518453[_0x290de2(0x133)](_0x26c85f['speed'],_0x518453[_0x290de2(0x177)])?(_0x6c7fe4=_0x518453[_0x290de2(0x18b)](_0x518453[_0x290de2(0xbe)](this['indent'](),_0x518453[_0x290de2(0x113)](color,_0x518453[_0x290de2(0xda)],_0x518453['DahxL']('\x20\x20',Base[_0x290de2(0x173)]['ok']))),_0x518453[_0x290de2(0x113)](color,_0x518453[_0x290de2(0x13e)],_0x518453[_0x290de2(0x178)])),Base[_0x290de2(0x100)](_0x6c7fe4,_0x26c85f[_0x290de2(0x166)])):(_0x6c7fe4=_0x518453[_0x290de2(0xe7)](_0x518453['PXZjw'](_0x518453['mHSPG'](this[_0x290de2(0x97)](),_0x518453[_0x290de2(0x113)](color,_0x518453[_0x290de2(0xda)],_0x518453[_0x290de2(0x18b)]('\x20\x20',Base[_0x290de2(0x173)]['ok']))),_0x518453[_0x290de2(0x113)](color,_0x518453[_0x290de2(0x13e)],_0x518453[_0x290de2(0x178)])),_0x518453[_0x290de2(0xfb)](color,_0x26c85f[_0x290de2(0xb3)],_0x518453[_0x290de2(0x16f)])),Base[_0x290de2(0x100)](_0x6c7fe4,_0x26c85f[_0x290de2(0x166)],_0x26c85f['duration']));}else Base[_0x290de2(0x100)](_0x518453[_0x290de2(0xc6)](this[_0x290de2(0x97)](),_0x518453[_0x290de2(0xfb)](color,_0x518453[_0x290de2(0x10a)],_0x518453[_0x290de2(0x193)])),++this[_0x290de2(0xd4)],_0x26c85f[_0x290de2(0x166)]);}),this[_0x5ea484(0xa0)]();else _0x58c7f3['SpxRs'](this[_0x5ea484(0x115)],_0x58c7f3[_0x5ea484(0x12f)])&&(this[_0x5ea484(0x10e)](this[_0x5ea484(0x97)]()+'</dl>'),--this[_0x5ea484(0xc4)],this[_0x5ea484(0x10e)](this['indent']()+'</section>'),--this[_0x5ea484(0xc4)]);Array['prototype'][_0x5ea484(0xc7)]['apply'](this[_0x5ea484(0xe0)],this['results']),this[_0x5ea484(0x1b0)]=[];})['on'](EVENT_TEST_PASS,async _0x26b29c=>{const _0xe16fef=_0x1a7e6b;this[_0xe16fef(0x1b0)][_0xe16fef(0xc7)]({'speed':_0x26b29c['speed'],'suite':_0x26b29c[_0xe16fef(0xf8)]['title'],'title':_0x26b29c[_0xe16fef(0x166)],'fullTitle':_0x26b29c[_0xe16fef(0x19a)](),'duration':_0x26b29c['duration'],'state':_0x26b29c[_0xe16fef(0x101)],'err':{},'currentRetry':_0x26b29c['currentRetry'](),'titlePathV':_0x26b29c[_0xe16fef(0x9e)](),'isPending':_0x26b29c[_0xe16fef(0xdc)]()});if(_0x58c7f3[_0xe16fef(0x127)](this['type'],_0x58c7f3[_0xe16fef(0xcc)]))_0x58c7f3[_0xe16fef(0x127)](_0x26b29c[_0xe16fef(0xb3)],_0x58c7f3[_0xe16fef(0x14f)])?process[_0xe16fef(0x172)][_0xe16fef(0xb0)](Base['color'](_0x58c7f3[_0xe16fef(0x197)],Base[_0xe16fef(0x173)][_0xe16fef(0x17e)])):process[_0xe16fef(0x172)]['write'](Base[_0xe16fef(0x105)](_0x26b29c['speed'],Base[_0xe16fef(0x173)][_0xe16fef(0x17e)]));else{if(_0x58c7f3[_0xe16fef(0x127)](this[_0xe16fef(0x115)],_0x58c7f3[_0xe16fef(0x12f)])){this[_0xe16fef(0x10e)](this[_0xe16fef(0x97)]()+_0xe16fef(0xba)+utils[_0xe16fef(0xe6)](_0x26b29c['title'])+_0xe16fef(0x106)),this['docAppend'](this[_0xe16fef(0x97)]()+'\x20\x20<dt>'+utils[_0xe16fef(0xe6)](_0x26b29c[_0xe16fef(0xd2)])+'</dt>');var _0x354ff1=utils[_0xe16fef(0xe6)](utils[_0xe16fef(0x130)](_0x26b29c['body']));this[_0xe16fef(0x10e)](this[_0xe16fef(0x97)]()+'\x20\x20<dd><pre><code>'+_0x354ff1+'</code></pre></dd>');}}_0x58c7f3[_0xe16fef(0x127)](testhubUtils[_0xe16fef(0x13a)](),!![])&&(!_0x26b29c[_0xe16fef(0xd1)]&&(_0x26b29c['markedStatus']=!![],await this['sendTestRunEvent'](_0x26b29c)));})['on'](EVENT_TEST_FAIL,async(_0x574320,_0x239432)=>{const _0x1f7d1d=_0x1a7e6b;this[_0x1f7d1d(0x1b0)][_0x1f7d1d(0xc7)]({'title':_0x574320['title'],'suite':_0x574320[_0x1f7d1d(0xf8)][_0x1f7d1d(0x166)],'state':_0x574320[_0x1f7d1d(0x101)],'err':{'message':util[_0x1f7d1d(0x107)](_0x239432)},'fullTitle':_0x574320['fullTitle'](),'speed':_0x574320['speed'],'currentRetry':_0x574320[_0x1f7d1d(0xe4)](),'titlePathV':_0x574320[_0x1f7d1d(0x9e)]()});if(_0x58c7f3['azyUr'](this['type'],_0x58c7f3['cQvTG']))process[_0x1f7d1d(0x172)][_0x1f7d1d(0xb0)](Base['color'](_0x58c7f3['wRCGV'],Base[_0x1f7d1d(0x173)]['bang']));else{if(_0x58c7f3[_0x1f7d1d(0x16a)](this[_0x1f7d1d(0x115)],_0x58c7f3[_0x1f7d1d(0x12f)])){const _0x11f61e=_0x58c7f3[_0x1f7d1d(0xae)][_0x1f7d1d(0x9b)]('|');let _0x48f031=0x0;while(!![]){switch(_0x11f61e[_0x48f031++]){case'0':this[_0x1f7d1d(0x10e)](this[_0x1f7d1d(0x97)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x538a67+_0x1f7d1d(0x194));continue;case'1':this['docAppend'](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x574320[_0x1f7d1d(0x166)])+_0x1f7d1d(0x106));continue;case'2':this[_0x1f7d1d(0x10e)](this[_0x1f7d1d(0x97)]()+_0x1f7d1d(0x9a)+utils[_0x1f7d1d(0xe6)](_0x574320[_0x1f7d1d(0x195)])+'</dd>');continue;case'3':var _0x538a67=utils[_0x1f7d1d(0xe6)](utils[_0x1f7d1d(0x130)](_0x574320[_0x1f7d1d(0x185)]));continue;case'4':this[_0x1f7d1d(0x10e)](this[_0x1f7d1d(0x97)]()+_0x1f7d1d(0x16b)+utils[_0x1f7d1d(0xe6)](_0x574320['file'])+'</dt>');continue;}break;}}}if(_0x58c7f3[_0x1f7d1d(0xe8)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x1f7d1d(0x110)][_0x1f7d1d(0x1ae)]),!![])){if(!_0x574320[_0x1f7d1d(0xd1)]){_0x574320[_0x1f7d1d(0xd1)]=!![];if(_0x574320[_0x1f7d1d(0xdf)])await this[_0x1f7d1d(0x17d)](_0x574320,_0x239432);else _0x574320[_0x1f7d1d(0x103)]&&await this[_0x1f7d1d(0x17d)](_0x574320,_0x239432,![],_0x58c7f3[_0x1f7d1d(0x14a)]);}}})['on'](EVENT_TEST_PENDING,async _0x15379c=>{const _0x2e8161=_0x1a7e6b;this[_0x2e8161(0x1b0)][_0x2e8161(0xc7)]({'title':_0x15379c[_0x2e8161(0x166)],'suite':_0x15379c[_0x2e8161(0xf8)][_0x2e8161(0x166)],'state':_0x15379c['state'],'err':{},'fullTitle':_0x15379c[_0x2e8161(0x19a)](),'speed':_0x15379c['speed'],'currentRetry':_0x15379c[_0x2e8161(0xe4)](),'titlePathV':_0x15379c[_0x2e8161(0x9e)]()}),_0x58c7f3[_0x2e8161(0x159)](this[_0x2e8161(0x115)],_0x58c7f3[_0x2e8161(0xcc)])&&process[_0x2e8161(0x172)]['write'](Base['color'](_0x58c7f3[_0x2e8161(0x196)],Base[_0x2e8161(0x173)][_0x2e8161(0x157)])),_0x58c7f3[_0x2e8161(0x137)](testhubUtils[_0x2e8161(0x13a)](),!![])&&(!_0x15379c[_0x2e8161(0xdf)]&&(_0x15379c[_0x2e8161(0xdf)]=_0x58c7f3[_0x2e8161(0x191)](uuidv4)),!_0x15379c[_0x2e8161(0xd1)]&&(_0x15379c[_0x2e8161(0xd1)]=!![],await this[_0x2e8161(0x17d)](_0x15379c,undefined,![],_0x58c7f3['XUPnw'])));})['on'](EVENT_TEST_BEGIN,async _0xdf605a=>{_0x58c7f3['uwvdu'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this['testStarted'](_0xdf605a);})['on'](EVENT_TEST_END,async _0x3065c6=>{const _0x233fa9=_0x1a7e6b;_0x58c7f3[_0x233fa9(0xe8)](testhubUtils[_0x233fa9(0x13a)](),!![])&&(!_0x3065c6[_0x233fa9(0xd1)]&&(_0x3065c6[_0x233fa9(0xd1)]=!![],await this[_0x233fa9(0x17d)](_0x3065c6)));})[_0x1a7e6b(0x176)](EVENT_RUN_END,async()=>{const _0xb8639=_0x1a7e6b;try{if(_0x58c7f3[_0xb8639(0xaf)](testhubUtils[_0xb8639(0x13a)](),!![])){const _0x9868ba=_0x58c7f3['DsMQt'](getHookSkippedTests,this['runner']['suite']);for(const _0x35c4b5 of _0x9868ba){!_0x35c4b5['testAnalyticsId']&&(_0x35c4b5[_0xb8639(0xdf)]=_0x58c7f3[_0xb8639(0x19c)](uuidv4)),await this[_0xb8639(0x17d)](_0x35c4b5,undefined,![],_0x58c7f3[_0xb8639(0xce)]);}}}catch(_0x209d1b){_0x58c7f3[_0xb8639(0x19d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x209d1b);}await requestQueueHandler[_0xb8639(0x123)](),_0x58c7f3['xUXng'](this[_0xb8639(0x115)],_0x58c7f3[_0xb8639(0x12f)])&&Base[_0xb8639(0x100)](this[_0xb8639(0xb9)]);});if(this['type']&&![_0x58c7f3[_0x1a7e6b(0x12f)],_0x58c7f3['PpiMw'],_0x58c7f3['jmopl'],_0x58c7f3['cQvTG']]['includes'](this[_0x1a7e6b(0x115)])){const _0x37b89b=this[_0x1a7e6b(0x115)][_0x1a7e6b(0xf4)]();this[_0x1a7e6b(0xeb)]=null;try{this[_0x1a7e6b(0xeb)]=_0x58c7f3[_0x1a7e6b(0x175)](requireModule,_0x1a7e6b(0x109)+_0x37b89b+_0x1a7e6b(0x163));}catch{}if(_0x58c7f3['aRemi'](this[_0x1a7e6b(0xeb)],null))try{this['Reporter']=_0x58c7f3[_0x1a7e6b(0x154)](require,_0x37b89b);}catch(_0x26b2d4){console[_0x1a7e6b(0x96)](_0x1a7e6b(0x1ac)+_0x37b89b);}if(_0x58c7f3['kioPi'](this[_0x1a7e6b(0xeb)],null)){const _0x4603ed={};_0x4603ed[_0x1a7e6b(0x1a8)]=_0x1ee3eb[_0x1a7e6b(0x18f)],this['Reporter']=new this[(_0x1a7e6b(0xeb))](_0xc927d1,_0x4603ed);}}}[a27_0x1405b5(0x97)](){const _0x411afa=a27_0x1405b5,_0x48f558={'dRMNm':function(_0x23703d,_0x2642c0){return _0x23703d(_0x2642c0);}};return _0x48f558[_0x411afa(0x17c)](Array,this[_0x411afa(0x93)])[_0x411afa(0xa7)]('\x20\x20');}[a27_0x1405b5(0x13d)](){const _0xb706e7=a27_0x1405b5;this[_0xb706e7(0x93)]++;}[a27_0x1405b5(0xa0)](){const _0x1498a7=a27_0x1405b5;this[_0x1498a7(0x93)]--;}[a27_0x1405b5(0x10e)](_0x33ff4a){const _0x35add7=a27_0x1405b5;this[_0x35add7(0xb9)]+=_0x33ff4a;}[a27_0x1405b5(0xbb)](_0x5b5375,_0x4f4fbc){const _0x2ee0b5=a27_0x1405b5,_0x15a102={'KoTfR':function(_0x53ce72,_0x325479){return _0x53ce72(_0x325479);}},_0x471d67={};_0x471d67[_0x2ee0b5(0x145)]=_0x5b5375,_0x471d67[_0x2ee0b5(0x1b0)]=this[_0x2ee0b5(0xe0)],_0x15a102['KoTfR'](_0x4f4fbc,_0x471d67);}['registerListeners'](){const _0x21d589=a27_0x1405b5;process[_0x21d589(0xb2)](_0x21d589(0xf2)+process[_0x21d589(0x94)]),process['on'](_0x21d589(0xf2)+process[_0x21d589(0x94)],this[_0x21d589(0x1aa)][_0x21d589(0xf0)](this)),process['removeAllListeners']('bs:addPlatformDetails:'+process['pid']),process['on'](_0x21d589(0xdb)+process[_0x21d589(0x94)],this[_0x21d589(0x199)][_0x21d589(0xf0)](this));}[a27_0x1405b5(0xc9)]=async _0x221e51=>{const _0x1c3b36=a27_0x1405b5,_0x5b40cf={'hKaOB':function(_0x2e8760){return _0x2e8760();},'MLtLk':function(_0x3e649e,_0x40b307){return _0x3e649e>_0x40b307;},'zkliI':function(_0x239862,_0xf60c57){return _0x239862===_0xf60c57;},'GfCkH':_0x1c3b36(0xa3),'VqdfQ':function(_0x375418,_0x406744){return _0x375418(_0x406744);}};try{const _0x653a39=this[_0x1c3b36(0xc1)];this[_0x1c3b36(0xc1)]=_0x221e51,_0x221e51[_0x1c3b36(0x9d)]=null,_0x221e51['testAnalyticsId']=_0x5b40cf[_0x1c3b36(0x95)](uuidv4),_0x221e51[_0x1c3b36(0xfc)]=new Date()[_0x1c3b36(0xc3)](),_0x5b40cf[_0x1c3b36(0x11f)](_0x221e51[_0x1c3b36(0x146)],0x0)&&_0x653a39&&_0x5b40cf[_0x1c3b36(0xc2)](_0x653a39[_0x1c3b36(0x166)],_0x221e51[_0x1c3b36(0x166)])?(_0x221e51[_0x1c3b36(0x9d)]=_0x653a39[_0x1c3b36(0xdf)],await this['sendTestRunEvent'](_0x221e51,undefined,![],_0x5b40cf[_0x1c3b36(0x184)]),_0x653a39[_0x1c3b36(0x101)]=STATE_FAILED,await this[_0x1c3b36(0x17d)](_0x653a39,undefined,!![])):await this[_0x1c3b36(0x17d)](_0x221e51,undefined,![],_0x5b40cf[_0x1c3b36(0x184)]);}catch(_0x577cca){_0x5b40cf['VqdfQ'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x577cca);}};[a27_0x1405b5(0x17d)]=async(_0x3b2644,_0x313db5=undefined,_0x106be0=![],_0x3ffef5=a27_0x1405b5(0x124))=>{const _0xa525af=a27_0x1405b5,_0x5c61e8={'GLcQo':function(_0x247ee4,_0x189782){return _0x247ee4===_0x189782;},'gTdmL':function(_0x2a0c1a,_0x312153){return _0x2a0c1a!==_0x312153;},'oyvaQ':'test','XXagh':_0xa525af(0x195),'hNYiH':function(_0x3a3cd8,_0x2ec426){return _0x3a3cd8!==_0x2ec426;},'XVCAH':function(_0x1003bd,_0x427852){return _0x1003bd!==_0x427852;},'Zdsxa':'File\x20path\x20could\x20not\x20be\x20found','LTMAk':'Mocha','MgelK':_0xa525af(0xdd),'JCiRl':'TestRunSkipped','fDcXf':_0xa525af(0xb7),'djozy':function(_0x4e7bda,_0x4393a0){return _0x4e7bda-_0x4393a0;},'lLebp':_0xa525af(0x12a),'NMOyC':'UnhandledError','DYmPJ':'started_at','kklLI':_0xa525af(0xbd),'wsOCw':function(_0x448eaa,_0x2f9213){return _0x448eaa(_0x2f9213);},'Xlfmd':function(_0x4009ec,_0x3b1cdd){return _0x4009ec===_0x3b1cdd;},'GhYZs':_0xa525af(0x12c),'UfPMG':_0xa525af(0xb1),'kzfZU':_0xa525af(0xcb),'CabEt':function(_0x2b89dc,_0x2eec87){return _0x2b89dc===_0x2eec87;},'rwcmy':_0xa525af(0x14c),'qnQSD':function(_0xb8dbe5,_0x3c3e7a){return _0xb8dbe5(_0x3c3e7a);},'kUlxt':'failure','RwuPV':_0xa525af(0x187),'JTIev':'backtrace','ZYwWL':_0xa525af(0x10f),'zWiYF':_0xa525af(0x1a2),'vIEpb':_0xa525af(0x124),'teyWX':function(_0x1660f7,_0x473adc){return _0x1660f7(_0x473adc);},'yArHm':'hook_type','pbACJ':_0xa525af(0x1a7),'AENmQ':'test_run'};try{if(_0x3b2644[_0xa525af(0x185)]&&_0x3b2644[_0xa525af(0x185)]['match'](/browserstack internal helper hook/))return;let _0x8a1fb6=[];if(_0x5c61e8[_0xa525af(0x108)](_0x3b2644[_0xa525af(0x101)],STATE_FAILED)){if(_0x5c61e8[_0xa525af(0x14d)](_0x3b2644[_0xa525af(0x195)],undefined))_0x8a1fb6=_0x3b2644[_0xa525af(0x195)][_0xa525af(0x1ab)]?[_0x3b2644[_0xa525af(0x195)]['multiple'],_0x5c61e8[_0xa525af(0x9f)]]:[_0x3b2644['err'],_0x5c61e8[_0xa525af(0x131)]];else _0x5c61e8[_0xa525af(0xe1)](_0x313db5,undefined)?_0x8a1fb6=[_0x313db5,_0x5c61e8[_0xa525af(0x131)]]:_0x8a1fb6=[];}const _0xe0b087=_0x5c61e8[_0xa525af(0xa2)](_0x3b2644[_0xa525af(0x195)],undefined)?_0x3b2644[_0xa525af(0x195)][_0xa525af(0x1ad)]():_0x5c61e8[_0xa525af(0x14d)](_0x313db5,undefined)?_0x313db5[_0xa525af(0x1ad)]():undefined;let _0x39e548;try{_0x39e548=this[_0xa525af(0x10c)](_0x3b2644);}catch(_0x65265){_0x39e548=null;}const _0x152d02=_0x39e548?this[_0xa525af(0x12e)](_0x39e548):null,_0x3e4d88=_0x39e548?this[_0xa525af(0x119)][_0xa525af(0xa5)](this[_0xa525af(0x10c)](_0x3b2644)):_0x5c61e8['Zdsxa'],_0x33fdc5={'framework':_0x5c61e8['LTMAk'],'uuid':_0x3b2644[_0xa525af(0xdf)]||_0x3b2644[_0xa525af(0x103)],'name':_0x3b2644[_0xa525af(0x166)],'body':{'lang':_0x5c61e8[_0xa525af(0x1a9)],'code':_0x3b2644[_0xa525af(0x185)]},'scope':this[_0xa525af(0x102)](_0x3b2644),'scopes':this['scopes'](_0x3b2644),'identifier':_0x3b2644[_0xa525af(0x19a)](),'file_name':_0x3e4d88,'vc_filepath':_0x152d02?path['relative'](_0x152d02,_0x39e548):null,'location':_0x3e4d88,'result':_0x5c61e8[_0xa525af(0x108)](_0x3ffef5,_0x5c61e8[_0xa525af(0xc0)])?_0x5c61e8['fDcXf']:this[_0xa525af(0x152)](_0x3b2644[_0xa525af(0x101)]),'failure_reason':_0xe0b087,'duration_in_ms':_0x3b2644[_0xa525af(0x92)]||(_0x3ffef5['match'](/Finished/)||_0x3ffef5[_0xa525af(0x140)](/Skipped/)?_0x5c61e8[_0xa525af(0x19e)](Date[_0xa525af(0x181)](),new Date(_0x3b2644[_0xa525af(0xfc)])[_0xa525af(0xab)]()):null),'started_at':_0x3b2644[_0xa525af(0xfc)],'finished_at':_0x3ffef5[_0xa525af(0x140)](/Finished/)||_0x3ffef5[_0xa525af(0x140)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0xa525af(0x1a5)](null,_0x8a1fb6),'failure_type':!_0xe0b087?null:_0xe0b087[_0xa525af(0x140)](/AssertionError/)?_0x5c61e8[_0xa525af(0x11d)]:_0x5c61e8[_0xa525af(0x153)],'retry_of':_0x3b2644[_0xa525af(0x9d)]};testhubUtils[_0xa525af(0x189)](_0x33fdc5,_0x3ffef5,_0x3b2644,FRAMEWORKS[_0xa525af(0x170)]);_0x5c61e8[_0xa525af(0x108)](_0x3ffef5,_0x5c61e8[_0xa525af(0xc0)])&&!_0x33fdc5[_0x5c61e8[_0xa525af(0x18a)]]&&(_0x33fdc5[_0x5c61e8[_0xa525af(0x18a)]]=_0x33fdc5[_0x5c61e8[_0xa525af(0x11b)]]);if(_0x3ffef5[_0xa525af(0x140)](/HookRun/))[_0x33fdc5[_0xa525af(0x1b3)],_0x33fdc5[_0xa525af(0x17a)]]=_0x5c61e8[_0xa525af(0x174)](getHookDetails,_0x3b2644[_0xa525af(0x19a)]()||_0x3b2644[_0xa525af(0x122)]||_0x3b2644[_0xa525af(0x166)]),_0x5c61e8['Xlfmd'](_0x3ffef5,_0x5c61e8[_0xa525af(0x1b5)])&&(_0x5c61e8[_0xa525af(0x14d)](_0x33fdc5['result'],_0x5c61e8[_0xa525af(0x169)])&&(_0x33fdc5[_0xa525af(0xf5)]=_0x5c61e8[_0xa525af(0x18c)]),_0x5c61e8[_0xa525af(0xe5)](_0x33fdc5[_0xa525af(0x1b3)],_0x5c61e8[_0xa525af(0x16e)])&&_0x5c61e8[_0xa525af(0x108)](_0x33fdc5[_0xa525af(0xf5)],_0x5c61e8[_0xa525af(0x169)])&&!_0x3b2644[_0xa525af(0x17b)][_0xa525af(0x1a6)][_0xa525af(0xd1)]&&(_0x3b2644[_0xa525af(0x17b)]['currentTest']['markedStatus']=!![],_0x3b2644[_0xa525af(0x17b)][_0xa525af(0x1a6)][_0xa525af(0x101)]=STATE_FAILED,await this[_0xa525af(0x17d)](_0x3b2644[_0xa525af(0x17b)][_0xa525af(0x1a6)],undefined,!![])));else _0x3ffef5[_0xa525af(0x140)](/TestRun/)&&_0x5c61e8['qnQSD'](mapTestHooks,_0x3b2644);const _0x33aa45=_0x33fdc5[_0x5c61e8['kUlxt']][0x0];_0x33aa45&&(_0x33fdc5[_0x5c61e8[_0xa525af(0x15f)]]=_0x33aa45[_0x5c61e8[_0xa525af(0x128)]],_0x33fdc5[_0x5c61e8[_0xa525af(0x162)]]=_0x33aa45[_0x5c61e8[_0xa525af(0x10d)]]);[_0x5c61e8[_0xa525af(0x1a0)],_0x5c61e8['JCiRl']][_0xa525af(0xfe)](_0x3ffef5)&&(this[_0xa525af(0x186)][_0xa525af(0xc7)](_0x33fdc5),_0x33fdc5[_0xa525af(0x112)]=_0x5c61e8[_0xa525af(0x149)](getHooksForTest,_0x3b2644));const _0x37da92={'event_type':_0x5c61e8[_0xa525af(0xe5)](_0x3ffef5,_0x5c61e8[_0xa525af(0xc0)])?_0x5c61e8[_0xa525af(0x1a0)]:_0x3ffef5};_0x3ffef5['match'](/HookRun/)?(_0x33fdc5[_0x5c61e8[_0xa525af(0x139)]]=HOOK_TYPES_MAP[_0x33fdc5[_0x5c61e8[_0xa525af(0x139)]]],_0x37da92[_0x5c61e8[_0xa525af(0x129)]]=_0x33fdc5):_0x37da92[_0x5c61e8[_0xa525af(0xb5)]]=_0x33fdc5,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0xa525af(0x170)],_0x37da92),await SessionHandler['uploadEventData'](_0x37da92);}catch(_0x335f25){_0x5c61e8[_0xa525af(0x174)](debug,_0xa525af(0x160)+_0x3ffef5+_0xa525af(0x13f)+_0x335f25);}};[a27_0x1405b5(0x12e)](_0x46778c){const _0x3b3b47=a27_0x1405b5,_0xb10e61={};_0xb10e61[_0x3b3b47(0x125)]=function(_0x155cae,_0x5f278f){return _0x155cae===_0x5f278f;},_0xb10e61[_0x3b3b47(0x16c)]=function(_0x2056bb,_0x3ed6f0){return _0x2056bb===_0x3ed6f0;},_0xb10e61[_0x3b3b47(0x13b)]=_0x3b3b47(0x98),_0xb10e61[_0x3b3b47(0x171)]=_0x3b3b47(0x17f);const _0x2be824=_0xb10e61,_0x1d5afa=path[_0x3b3b47(0xd3)];if(_0x2be824[_0x3b3b47(0x125)](_0x46778c,null)||_0x2be824[_0x3b3b47(0x125)](_0x46778c,'')||_0x2be824[_0x3b3b47(0x16c)](_0x46778c,_0x1d5afa)||_0x2be824[_0x3b3b47(0x125)](_0x46778c,path[_0x3b3b47(0xf3)](_0x46778c)))return null;try{return fs[_0x3b3b47(0xb6)](path['join'](_0x46778c,_0x2be824[_0x3b3b47(0x13b)],_0x2be824['KuNGc'])),_0x46778c;}catch(_0x1fe7ce){const _0xbcd8d0=path[_0x3b3b47(0xf3)](_0x46778c);return this['findGitConfig'](_0xbcd8d0);}}[a27_0x1405b5(0x1aa)]=async _0x250aca=>{const _0x44fc1b=a27_0x1405b5,_0x1d72ae={'tWkKD':'LogCreated','KtWyb':function(_0x52a510,_0x59ed00){return _0x52a510(_0x59ed00);}};try{this[_0x44fc1b(0x164)]&&!this[_0x44fc1b(0x164)][_0x44fc1b(0xd1)]&&(_0x250aca[_0x44fc1b(0x18e)]=this[_0x44fc1b(0x164)][_0x44fc1b(0x103)]);!_0x250aca[_0x44fc1b(0x18e)]&&this[_0x44fc1b(0xc1)]&&!this['current_test']['markedStatus']&&(_0x250aca['test_run_uuid']=this['current_test'][_0x44fc1b(0xdf)]);if(_0x250aca[_0x44fc1b(0x18e)]||_0x250aca[_0x44fc1b(0x1b4)]){const _0x119dcf={};_0x119dcf[_0x44fc1b(0x198)]=_0x1d72ae[_0x44fc1b(0x16d)],_0x119dcf[_0x44fc1b(0xf6)]=[_0x250aca],await SessionHandler[_0x44fc1b(0x156)](_0x119dcf);}}catch(_0x6a920b){_0x1d72ae[_0x44fc1b(0x183)](debug,_0x44fc1b(0xec)+_0x6a920b);}};['appendTestPlatform']=async _0x5b2c20=>{const _0x2ff560=a27_0x1405b5,_0x3b00cb={'kYiCq':'http_response','eWvgt':_0x2ff560(0x161),'jdKuG':function(_0x4a5e1b,_0x1ed91f){return _0x4a5e1b(_0x1ed91f);}};try{const _0x147ba5={};_0x147ba5[_0x2ff560(0x155)]=_0x5b2c20[_0x2ff560(0x155)]||this['current_test'][_0x2ff560(0xdf)],_0x147ba5[_0x2ff560(0x18d)]=_0x5b2c20[_0x3b00cb[_0x2ff560(0x190)]];const _0x35d643=_0x147ba5,_0x7abd73={};_0x7abd73[_0x2ff560(0x198)]=_0x3b00cb[_0x2ff560(0xc5)],_0x7abd73['test_run']=_0x35d643,await SessionHandler[_0x2ff560(0x156)](_0x7abd73);}catch(_0x4f053a){_0x3b00cb[_0x2ff560(0x143)](debug,_0x2ff560(0x12b)+_0x4f053a);}};[a27_0x1405b5(0x152)](_0x15fdd6){const _0x20a835=a27_0x1405b5,_0x56f282={};_0x56f282[_0x20a835(0xe3)]=_0x20a835(0xcb),_0x56f282[_0x20a835(0x138)]=_0x20a835(0x15a),_0x56f282[_0x20a835(0x11e)]=_0x20a835(0xb1);const _0x2bb530=_0x56f282,_0x5bb020={};return _0x5bb020[STATE_PASSED]=_0x2bb530[_0x20a835(0xe3)],_0x5bb020[STATE_PENDING]=_0x2bb530[_0x20a835(0x138)],_0x5bb020[STATE_FAILED]=_0x2bb530[_0x20a835(0x11e)],_0x5bb020[_0x15fdd6];}[a27_0x1405b5(0x102)](_0xbc301c){const _0x1c8b01=a27_0x1405b5,_0x3b1f7a={};_0x3b1f7a['AUgUb']=function(_0x5ea124,_0x1be973){return _0x5ea124-_0x1be973;};const _0x297703=_0x3b1f7a,_0x5d6286=_0xbc301c[_0x1c8b01(0x9e)]();return _0x5d6286['slice'](0x0,_0x297703[_0x1c8b01(0x10b)](_0x5d6286['length'],0x1))['join']('\x20');}[a27_0x1405b5(0x9c)](_0x2787dd){const _0x43a831=a27_0x1405b5,_0x3dacb2={};_0x3dacb2[_0x43a831(0x188)]=function(_0x18eed0,_0x5a00ce){return _0x18eed0-_0x5a00ce;};const _0x387c44=_0x3dacb2,_0x5d3f3e=_0x2787dd['titlePath']();return _0x5d3f3e[_0x43a831(0xca)](0x0,_0x387c44[_0x43a831(0x188)](_0x5d3f3e['length'],0x1));}[a27_0x1405b5(0x10c)](_0x1de69d){const _0x277612=a27_0x1405b5,_0x923e52={};_0x923e52['DBWwE']=function(_0x3e9f9f,_0x19e5bb){return _0x3e9f9f>_0x19e5bb;};const _0x4a1eed=_0x923e52;if(_0x1de69d[_0x277612(0xd2)])return _0x1de69d[_0x277612(0xd2)];if(_0x1de69d[_0x277612(0x17b)]){const _0x139946=_0x1de69d[_0x277612(0x17b)][_0x277612(0x1a6)]?this[_0x277612(0x10c)](_0x1de69d['ctx'][_0x277612(0x1a6)]):null;if(_0x139946)return _0x139946;}if(_0x1de69d[_0x277612(0xf8)]){const _0x1ee6a1=this['getRootParentFile'](_0x1de69d[_0x277612(0xf8)])||(_0x1de69d['parent'][_0x277612(0x17b)]&&_0x1de69d[_0x277612(0xf8)][_0x277612(0x17b)][_0x277612(0x1a6)]?this[_0x277612(0x10c)](_0x1de69d['parent'][_0x277612(0x17b)][_0x277612(0x1a6)]):null);if(_0x1ee6a1)return _0x1ee6a1;_0x1de69d['parent'][_0x277612(0x192)]&&_0x4a1eed[_0x277612(0xbf)](_0x1de69d[_0x277612(0xf8)][_0x277612(0x192)]['length'],0x0)&&_0x1de69d[_0x277612(0xf8)][_0x277612(0x192)][_0x277612(0xaa)](_0x2ec912=>{const _0x507383=_0x277612,_0x33a623=_0x2ec912['ctx']?this[_0x507383(0x10c)](_0x2ec912['ctx']):null;if(_0x33a623)return _0x33a623;});}return null;}}module[a27_0x1405b5(0x134)]=MyReporter;
|
|
1
|
+
'use strict';const a27_0x573995=a27_0x44a0;function a27_0x44a0(_0x2a3742,_0x4a12fc){const _0x1c7533=a27_0x1c75();return a27_0x44a0=function(_0x44a0f6,_0x8c3de8){_0x44a0f6=_0x44a0f6-0x14c;let _0xc67a8c=_0x1c7533[_0x44a0f6];return _0xc67a8c;},a27_0x44a0(_0x2a3742,_0x4a12fc);}(function(_0x11cd34,_0x42c9cc){const _0x58900a=a27_0x44a0,_0x1ee2bd=_0x11cd34();while(!![]){try{const _0x167e35=parseInt(_0x58900a(0x1a6))/0x1*(parseInt(_0x58900a(0x222))/0x2)+-parseInt(_0x58900a(0x229))/0x3+-parseInt(_0x58900a(0x1d3))/0x4*(parseInt(_0x58900a(0x22f))/0x5)+parseInt(_0x58900a(0x1de))/0x6*(parseInt(_0x58900a(0x165))/0x7)+-parseInt(_0x58900a(0x245))/0x8*(-parseInt(_0x58900a(0x22b))/0x9)+parseInt(_0x58900a(0x240))/0xa*(-parseInt(_0x58900a(0x254))/0xb)+parseInt(_0x58900a(0x18f))/0xc*(-parseInt(_0x58900a(0x276))/0xd);if(_0x167e35===_0x42c9cc)break;else _0x1ee2bd['push'](_0x1ee2bd['shift']());}catch(_0x4c29b4){_0x1ee2bd['push'](_0x1ee2bd['shift']());}}}(a27_0x1c75,0xd538c));function a27_0x1c75(){const _0x5b209b=['match','symbols','vLCug','rXbyx','eozPm','../../../helpers/test-observability/utils','CBTSessionCreated','sendTestRunEvent','sHXkz','</dt>','mocha/lib/runnable.js','runner','Ybmvu','integrations','COMPLETED','1158001lXrQfK','jLLVo','CKdwT','state','qkMlA','type','\x20(%dms)','RBtqw','BEFORE_EACH','VfsvH','cwd','speed','anUDX','write','backtrace','pPYFx','includes','mocha/lib/reporters/base.js','duration','../../../helpers/helper','toISOString','AssertionError','</dd>','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','keLli','XQTBS','slice','event_type','wTcOS','__indents','Runner','xunit','RUNNING','GfZpe','77MdBwyc','appendTestItemLog','sZboL','failed','light','Vxfny','pass','sep','mUUst','indent','../../../helpers/testhub/constants','root','\x20\x20<dd\x20class=\x22error\x22><pre><code>','FonFg','bsConfig','HsVcu','Failed\x20to\x20load\x20reporter\x20','Reporter','QmSCw','OpMdh','dirname','test_run','\x20\x20<dd\x20class=\x22error\x22>','docHtml','testStarted','after\x20each','</code></pre></dd>','pending','HookRunFinished','config','DLNtd','StxTL','failCount','isPending','vxbWs','body','reporterOption','ThTXG','current_test','AFTER_EACH','registerListeners','apply','108xNIUdy','1|0|4|3|2','PCbxN','comma','chbdl','fLwcd','removeAllListeners','</h1>','checkmark','TwNUx','getTime','_testResults','multiple','hToqk','kyyKb','once','inspect','GciRD','\x20\x20<dt\x20class=\x22error\x22>','err','vyWub','bs:addLog:','green','5xDTvGk','length','</section>','appendTestPlatform','RFibw','DabGi','expanded','__platform__','bang','../test-observability/mochaUtils','toString','weefz','suiteCount','BEFORE_ALL','error','skipped','http_response','getRootParentFile','DNzwu','PNIMq','jjnjj','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','forEach','fViKx','join','CrwBa','../../../helpers/test-observability/requestQueueHandler','passed','dot','mocha','dayoY','TestRunSkipped','vGiGE','../../../helpers/testhub/utils','krziK','dIkWa','relative','NjHnU','HookFinished','_indents','increaseIndent','haSJa','ldrAL','dWOPw','XtsmF','793976mkCOOK','rNxHV','FJabF','HfCjS','</dl>','title','retryOf','_paths','MmcbQ','xOLXy','TestRunFinished','514164lECbTK','UEZvB','BqCIs','setCurrentTestData','kvNwv','UyECZ','markedStatus','IjdUl','failure_backtrace','bind','color','ctx','eEcDx','doc','hook_type','.js','uploadEventData','LPkqs','XYpPN','huVSb','reporterOptions','suite','consoleLog','.git','failureCount','KarSm','fail','bright\x20yellow','zlFSk','appendTesthubParams','test','docAppend','<h1>','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','iJmBK','\x20%s','mocha/lib/reporters/','scopes','testAnalyticsId','decreaseIndent','bs:addPlatformDetails:','yykGx','Ojlyq','pid','suites','FzNPT','finished_at','analyticsResult','kPcnf','after\x20all','finalResults','leSvw','hXtFG','before\x20all','util','hooks','started_at','escape','findGitConfig','\x20\x20<dd><pre><code>','_currentRetry','zQCUT','shutdown','ZweQB','name','\x20with\x20error\x20:\x20','test_run_uuid','jzkIS','138934ndQZcf','kxauC','qBXHw','clean','parent','yUidW','slow','1299102XlvIZH','uuid','882jJDhob','VrZoD','current_hook','done','5axJGus','fast','../../../helpers/test-observability/sessionHandler','\x20\x20%d)\x20%s','PIjsX','hook_run_uuid','spec','results','stdout','push','YCbYX','constants','fullTitle','yGSCx','HookStarted','shouldProcessEventForTesthub','currentTest','7120qVsCUx','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bFnZm','result','MOCHA','135008BxUgYk','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','%s\x20','ZOYCI','TestRunStarted','<section\x20class=\x22suite\x22>','tEmeS','FEPwe','LogCreated','MXHoi','Mocha','\x20\x20<dt>','hookAnalyticsId','uRfom','UJUIY','9845fmWiwz','TqiHT','najTm','MwEbl','EVENT','ltvBL','Vnozr','call','lYSvD','lrrMD','titlePath','KuRhf','ndWkA','file','scope','File\x20path\x20could\x20not\x20be\x20found','currentRetry','../../../helpers/test-observability/constants','_testEnv'];a27_0x1c75=function(){return _0x5b209b;};return a27_0x1c75();}const util=require(a27_0x573995(0x214)),fs=require('fs'),path=require('path'),{requireModule}=require(a27_0x573995(0x156)),Base=requireModule(a27_0x573995(0x154)),utils=requireModule('mocha/lib/utils.js'),color=Base['color'],Mocha=requireModule(a27_0x573995(0x1c3)),Runnable=requireModule(a27_0x573995(0x271)),{v4:uuidv4}=require(a27_0x573995(0x22a)),bsSetupHelper=require(a27_0x573995(0x156)),testhubUtils=require(a27_0x573995(0x1c7)),testHubConstants=require(a27_0x573995(0x16f)),{FRAMEWORKS}=require(a27_0x573995(0x265)),a27_0x9dda12={};a27_0x9dda12[a27_0x573995(0x213)]=a27_0x573995(0x1b3),a27_0x9dda12[a27_0x573995(0x20f)]='AFTER_ALL',a27_0x9dda12['before\x20each']=a27_0x573995(0x27e),a27_0x9dda12[a27_0x573995(0x17e)]=a27_0x573995(0x18c);const HOOK_TYPES_MAP=a27_0x9dda12,{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_0x573995(0x161)][a27_0x573995(0x23a)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x573995(0x23a)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x573995(0x1af)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x573995(0x231)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x573995(0x26c)),RequestQueueHandler=require(a27_0x573995(0x1c0)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x3ba2b3,_0x34f04d){const _0x1ff59c=a27_0x573995,_0x4dc9db={'ZOYCI':function(_0xf3c802,_0x5bfefe){return _0xf3c802===_0x5bfefe;},'FEPwe':_0x1ff59c(0x235),'wTcOS':function(_0x227a40,_0x8f1bef){return _0x227a40===_0x8f1bef;},'kvNwv':function(_0x5c7677,_0x143c59){return _0x5c7677+_0x143c59;},'TqiHT':function(_0x2684fb,_0x201394,_0x2342c1){return _0x2684fb(_0x201394,_0x2342c1);},'vxbWs':_0x1ff59c(0x1a5),'yUidW':_0x1ff59c(0x247),'qkMlA':_0x1ff59c(0x169),'QmSCw':'%s\x20-\x20%s','CrwBa':_0x1ff59c(0x163),'sZboL':function(_0x48b485,_0x5528bb){return _0x48b485===_0x5528bb;},'kPcnf':_0x1ff59c(0x1eb),'fViKx':function(_0x3fb125){return _0x3fb125();},'aBMPn':'HookRunStarted','haSJa':function(_0x1651cd,_0x58e168){return _0x1651cd===_0x58e168;},'dayoY':'HookRunFinished','PNIMq':'passed','RFibw':_0x1ff59c(0x230),'Vnozr':function(_0x10ceb0,_0x3e84b9,_0x486fa5){return _0x10ceb0(_0x3e84b9,_0x486fa5);},'kcZpy':_0x1ff59c(0x197),'UJUIY':_0x1ff59c(0x16b),'dFxdl':_0x1ff59c(0x201),'kQxjD':function(_0x55c1ad,_0x4bca94){return _0x55c1ad+_0x4bca94;},'MXHoi':function(_0xc9b85a,_0x72633b){return _0xc9b85a+_0x72633b;},'XOAGW':function(_0x40b711,_0x209f62,_0x1899c0){return _0x40b711(_0x209f62,_0x1899c0);},'iJmBK':_0x1ff59c(0x27c),'pPYFx':function(_0x3f81b5,_0x53069f){return _0x3f81b5+_0x53069f;},'MwEbl':_0x1ff59c(0x1f8),'dWOPw':_0x1ff59c(0x232),'LPkqs':function(_0x55507c,_0x5ad24e){return _0x55507c===_0x5ad24e;},'PIjsX':function(_0x992f49,_0x1feff3){return _0x992f49+_0x1feff3;},'BqCIs':function(_0x1e5608,_0x52495e,_0x392363){return _0x1e5608(_0x52495e,_0x392363);},'jQGRH':_0x1ff59c(0x1f9),'UyECZ':_0x1ff59c(0x275),'jzkIS':function(_0x427d3c,_0xc03373){return _0x427d3c===_0xc03373;},'ldrAL':_0x1ff59c(0x1c2),'FJabF':function(_0x2d850d,_0xa950be){return _0x2d850d===_0xa950be;},'hXtFG':_0x1ff59c(0x228),'jLLVo':function(_0x4d93f7,_0x19697d){return _0x4d93f7===_0x19697d;},'OpMdh':function(_0x207d54,_0x9b5881){return _0x207d54===_0x9b5881;},'GcSXA':function(_0x41b161,_0x564ce7){return _0x41b161===_0x564ce7;},'ThTXG':function(_0x29ab16,_0x1de795){return _0x29ab16===_0x1de795;},'leSvw':_0x1ff59c(0x190),'weefz':function(_0x5c399d,_0x271e94){return _0x5c399d===_0x271e94;},'vLCug':_0x1ff59c(0x180),'vyWub':function(_0x8f0250){return _0x8f0250();},'ltvBL':_0x1ff59c(0x1c5),'CKdwT':function(_0x321c81,_0xcd0031){return _0x321c81===_0xcd0031;},'FzNPT':function(_0x48fb60,_0x28f5e4){return _0x48fb60===_0x28f5e4;},'kxauC':function(_0x1475ea,_0x5cdd01){return _0x1475ea(_0x5cdd01);},'SRjPC':function(_0x27c36d,_0x10c35d){return _0x27c36d===_0x10c35d;},'yykGx':function(_0x35cb52){return _0x35cb52();},'BJnuf':_0x1ff59c(0x162),'Ojlyq':function(_0x1e1258,_0x58f9cb){return _0x1e1258!==_0x58f9cb;}};this[_0x1ff59c(0x27b)]=_0x34f04d['reporterOption'][_0x1ff59c(0x27b)],this['testObservability']=_0x4dc9db[_0x1ff59c(0x207)](isTestObservabilitySession),Base[_0x1ff59c(0x25b)](this,_0x3ba2b3,_0x34f04d),this['_indents']=0x0,this[_0x1ff59c(0x185)]=0x0,this['results']=[],this[_0x1ff59c(0x210)]=[],this[_0x1ff59c(0x1b2)]=0x0,this['_buildCreated']=![],this[_0x1ff59c(0x19a)]=[],this[_0x1ff59c(0x266)]=_0x4dc9db[_0x1ff59c(0x207)](getTestEnv),this[_0x1ff59c(0x1da)]=new PathHelper({'cwd':process[_0x1ff59c(0x14d)]()},this[_0x1ff59c(0x266)]['location_prefix']),this['_upstreamConfig']=_0x34f04d[_0x1ff59c(0x189)][_0x1ff59c(0x173)],this['registerListeners']();_0x4dc9db[_0x1ff59c(0x15f)](this[_0x1ff59c(0x27b)],_0x4dc9db[_0x1ff59c(0x20e)])&&(this['docHtml']='',this[_0x1ff59c(0x160)]=0x2);_0x3ba2b3[_0x1ff59c(0x19e)](EVENT_RUN_BEGIN,async()=>{const _0x4e74ec=_0x1ff59c;_0x4dc9db[_0x4e74ec(0x248)](this['type'],_0x4dc9db['FEPwe'])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x1e5633=>{const _0x2ddc71=_0x1ff59c;if(_0x1e5633[_0x2ddc71(0x170)])return;if(_0x4dc9db['wTcOS'](this[_0x2ddc71(0x27b)],_0x4dc9db['FEPwe']))this[_0x2ddc71(0x1ce)](),Base[_0x2ddc71(0x1f4)](_0x4dc9db[_0x2ddc71(0x1e2)](_0x4dc9db['kvNwv'](this[_0x2ddc71(0x16e)](),_0x4dc9db['TqiHT'](color,_0x4dc9db[_0x2ddc71(0x187)],_0x4dc9db[_0x2ddc71(0x227)])),_0x4dc9db[_0x2ddc71(0x255)](color,_0x4dc9db[_0x2ddc71(0x27a)],_0x4dc9db[_0x2ddc71(0x177)])),_0x4dc9db[_0x2ddc71(0x1bf)],_0x1e5633[_0x2ddc71(0x1d8)],global['__platform__']);else _0x4dc9db[_0x2ddc71(0x167)](this[_0x2ddc71(0x27b)],_0x4dc9db['kPcnf'])&&(this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+_0x2ddc71(0x24a)),++this[_0x2ddc71(0x160)],this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+_0x2ddc71(0x1fe)+utils[_0x2ddc71(0x217)](_0x1e5633[_0x2ddc71(0x1d8)]+'\x20-\x20'+global[_0x2ddc71(0x1ad)])+_0x2ddc71(0x196)),this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x21abd8=>{const _0x20efa7=_0x1ff59c;if(_0x4dc9db[_0x20efa7(0x167)](testhubUtils[_0x20efa7(0x23e)](testHubConstants[_0x20efa7(0x258)][_0x20efa7(0x23d)]),!![])){if(!_0x21abd8['hookAnalyticsId'])_0x21abd8['hookAnalyticsId']=_0x4dc9db[_0x20efa7(0x1bd)](uuidv4);else _0x21abd8[_0x20efa7(0x1e4)]&&(_0x21abd8[_0x20efa7(0x251)]=_0x4dc9db[_0x20efa7(0x1bd)](uuidv4),delete _0x21abd8[_0x20efa7(0x1e4)]);_0x21abd8[_0x20efa7(0x216)]=new Date()[_0x20efa7(0x157)](),this[_0x20efa7(0x22d)]=_0x21abd8,await this['sendTestRunEvent'](_0x21abd8,undefined,![],_0x4dc9db['aBMPn']);}})['on'](EVENT_HOOK_END,async _0x1cf8a9=>{const _0x355940=_0x1ff59c;_0x4dc9db['haSJa'](testhubUtils[_0x355940(0x23e)](testHubConstants[_0x355940(0x258)][_0x355940(0x1cc)]),!![])&&(!_0x1cf8a9[_0x355940(0x1e4)]&&(_0x1cf8a9['markedStatus']=!![],await this[_0x355940(0x26e)](_0x1cf8a9,undefined,![],_0x4dc9db['dayoY'])));})['on'](EVENT_SUITE_END,_0x33dee9=>{const _0x453f09=_0x1ff59c,_0x359ad7={'IYhoJ':function(_0x340091,_0x5f2cdd){const _0x195a3c=a27_0x44a0;return _0x4dc9db[_0x195a3c(0x248)](_0x340091,_0x5f2cdd);},'rXbyx':_0x4dc9db[_0x453f09(0x1b9)],'sHXkz':function(_0xedc092,_0x4d49aa){const _0x327232=_0x453f09;return _0x4dc9db[_0x327232(0x248)](_0xedc092,_0x4d49aa);},'GciRD':_0x4dc9db[_0x453f09(0x1aa)],'DNzwu':function(_0x5c4aee,_0x74581){return _0x4dc9db['kvNwv'](_0x5c4aee,_0x74581);},'RBtqw':function(_0xf8d3b9,_0x1b0283,_0x5072ab){const _0x213e6d=_0x453f09;return _0x4dc9db[_0x213e6d(0x25a)](_0xf8d3b9,_0x1b0283,_0x5072ab);},'xOLXy':_0x4dc9db['kcZpy'],'UBDmG':function(_0x3d0bce,_0x432294,_0x1e4b40){return _0x4dc9db['Vnozr'](_0x3d0bce,_0x432294,_0x1e4b40);},'TwNUx':_0x4dc9db[_0x453f09(0x253)],'VfsvH':_0x4dc9db['dFxdl'],'GzPDm':function(_0x550317,_0x3b45f4){return _0x4dc9db['kQxjD'](_0x550317,_0x3b45f4);},'zQCUT':function(_0x33a102,_0x30b7b7){const _0x31672c=_0x453f09;return _0x4dc9db[_0x31672c(0x24e)](_0x33a102,_0x30b7b7);},'vGiGE':function(_0x5e7fbf,_0x14d6e2){return _0x4dc9db['MXHoi'](_0x5e7fbf,_0x14d6e2);},'DLNtd':function(_0x584f70,_0x15568a,_0x3c2e42){return _0x4dc9db['XOAGW'](_0x584f70,_0x15568a,_0x3c2e42);},'Vxfny':_0x4dc9db[_0x453f09(0x200)],'IjdUl':function(_0x2ab022,_0x31f841){return _0x4dc9db['pPYFx'](_0x2ab022,_0x31f841);},'zOFKl':function(_0x189226,_0x4860fe,_0x2da3db){const _0x39ebe9=_0x453f09;return _0x4dc9db[_0x39ebe9(0x255)](_0x189226,_0x4860fe,_0x2da3db);},'ZsNAq':_0x4dc9db['MwEbl'],'eEcDx':_0x4dc9db[_0x453f09(0x1d1)]};if(_0x33dee9[_0x453f09(0x170)])return;if(_0x4dc9db['LPkqs'](this['type'],_0x4dc9db[_0x453f09(0x24c)]))Base[_0x453f09(0x1f4)](),Base[_0x453f09(0x1f4)](_0x4dc9db[_0x453f09(0x152)](_0x4dc9db[_0x453f09(0x233)](this['indent'](),_0x4dc9db[_0x453f09(0x1e0)](color,_0x4dc9db['jQGRH'],_0x4dc9db['yUidW'])),_0x4dc9db[_0x453f09(0x25a)](color,_0x4dc9db[_0x453f09(0x27a)],_0x4dc9db[_0x453f09(0x177)])),_0x4dc9db[_0x453f09(0x1e3)],_0x33dee9['title'],global[_0x453f09(0x1ad)]),this[_0x453f09(0x236)][_0x453f09(0x1bc)](_0x5b77b8=>{const _0x15b662=_0x453f09;if(_0x359ad7['IYhoJ'](_0x5b77b8[_0x15b662(0x279)],_0x359ad7[_0x15b662(0x26a)])){var _0x283695;_0x359ad7[_0x15b662(0x26f)](_0x5b77b8[_0x15b662(0x14e)],_0x359ad7[_0x15b662(0x1a0)])?(_0x283695=_0x359ad7[_0x15b662(0x1b8)](_0x359ad7['DNzwu'](this['indent'](),_0x359ad7['RBtqw'](color,_0x359ad7[_0x15b662(0x1dc)],_0x359ad7[_0x15b662(0x1b8)]('\x20\x20',Base[_0x15b662(0x268)]['ok']))),_0x359ad7['UBDmG'](color,_0x359ad7[_0x15b662(0x198)],_0x359ad7[_0x15b662(0x14c)])),Base[_0x15b662(0x1f4)](_0x283695,_0x5b77b8[_0x15b662(0x1d8)])):(_0x283695=_0x359ad7['GzPDm'](_0x359ad7[_0x15b662(0x21b)](_0x359ad7['vGiGE'](this[_0x15b662(0x16e)](),_0x359ad7[_0x15b662(0x27d)](color,_0x359ad7['xOLXy'],_0x359ad7[_0x15b662(0x1c6)]('\x20\x20',Base[_0x15b662(0x268)]['ok']))),_0x359ad7[_0x15b662(0x183)](color,_0x359ad7['TwNUx'],_0x359ad7[_0x15b662(0x14c)])),_0x359ad7[_0x15b662(0x27d)](color,_0x5b77b8[_0x15b662(0x14e)],_0x359ad7[_0x15b662(0x16a)])),Base[_0x15b662(0x1f4)](_0x283695,_0x5b77b8[_0x15b662(0x1d8)],_0x5b77b8['duration']));}else Base['consoleLog'](_0x359ad7[_0x15b662(0x1e5)](this['indent'](),_0x359ad7['zOFKl'](color,_0x359ad7['ZsNAq'],_0x359ad7[_0x15b662(0x1ea)])),++this[_0x15b662(0x185)],_0x5b77b8[_0x15b662(0x1d8)]);}),this[_0x453f09(0x205)]();else _0x4dc9db[_0x453f09(0x221)](this[_0x453f09(0x27b)],_0x4dc9db['kPcnf'])&&(this[_0x453f09(0x1fd)](this['indent']()+_0x453f09(0x1d7)),--this[_0x453f09(0x160)],this[_0x453f09(0x1fd)](this[_0x453f09(0x16e)]()+_0x453f09(0x1a8)),--this[_0x453f09(0x160)]);Array['prototype'][_0x453f09(0x238)][_0x453f09(0x18e)](this['finalResults'],this['results']),this[_0x453f09(0x236)]=[];})['on'](EVENT_TEST_PASS,async _0x5af8bb=>{const _0x413a57=_0x1ff59c;this[_0x413a57(0x236)][_0x413a57(0x238)]({'speed':_0x5af8bb['speed'],'suite':_0x5af8bb[_0x413a57(0x226)]['title'],'title':_0x5af8bb['title'],'fullTitle':_0x5af8bb['fullTitle'](),'duration':_0x5af8bb[_0x413a57(0x155)],'state':_0x5af8bb[_0x413a57(0x279)],'err':{},'currentRetry':_0x5af8bb[_0x413a57(0x264)](),'titlePathV':_0x5af8bb['titlePath'](),'isPending':_0x5af8bb[_0x413a57(0x186)]()});if(_0x4dc9db[_0x413a57(0x1cf)](this['type'],_0x4dc9db[_0x413a57(0x1d0)]))_0x4dc9db[_0x413a57(0x1d5)](_0x5af8bb[_0x413a57(0x14e)],_0x4dc9db[_0x413a57(0x212)])?process['stdout'][_0x413a57(0x150)](Base[_0x413a57(0x1e8)](_0x4dc9db['jQGRH'],Base[_0x413a57(0x268)][_0x413a57(0x1c2)])):process['stdout']['write'](Base[_0x413a57(0x1e8)](_0x5af8bb[_0x413a57(0x14e)],Base[_0x413a57(0x268)][_0x413a57(0x1c2)]));else{if(_0x4dc9db[_0x413a57(0x277)](this[_0x413a57(0x27b)],_0x4dc9db[_0x413a57(0x20e)])){this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x250)+utils[_0x413a57(0x217)](_0x5af8bb[_0x413a57(0x1d8)])+_0x413a57(0x270)),this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x250)+utils[_0x413a57(0x217)](_0x5af8bb[_0x413a57(0x261)])+_0x413a57(0x270));var _0x46877e=utils[_0x413a57(0x217)](utils[_0x413a57(0x225)](_0x5af8bb[_0x413a57(0x188)]));this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x219)+_0x46877e+_0x413a57(0x17f));}}_0x4dc9db[_0x413a57(0x178)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x5af8bb[_0x413a57(0x1e4)]&&(_0x5af8bb[_0x413a57(0x1e4)]=!![],await this['sendTestRunEvent'](_0x5af8bb)));})['on'](EVENT_TEST_FAIL,async(_0x3e179d,_0x5e8bdd)=>{const _0x45d3eb=_0x1ff59c;this[_0x45d3eb(0x236)][_0x45d3eb(0x238)]({'title':_0x3e179d[_0x45d3eb(0x1d8)],'suite':_0x3e179d[_0x45d3eb(0x226)][_0x45d3eb(0x1d8)],'state':_0x3e179d[_0x45d3eb(0x279)],'err':{'message':util[_0x45d3eb(0x19f)](_0x5e8bdd)},'fullTitle':_0x3e179d[_0x45d3eb(0x23b)](),'speed':_0x3e179d[_0x45d3eb(0x14e)],'currentRetry':_0x3e179d[_0x45d3eb(0x264)](),'titlePathV':_0x3e179d[_0x45d3eb(0x25e)]()});if(_0x4dc9db['GcSXA'](this[_0x45d3eb(0x27b)],_0x4dc9db['ldrAL']))process[_0x45d3eb(0x237)][_0x45d3eb(0x150)](Base[_0x45d3eb(0x1e8)](_0x4dc9db[_0x45d3eb(0x257)],Base[_0x45d3eb(0x268)][_0x45d3eb(0x1ae)]));else{if(_0x4dc9db[_0x45d3eb(0x18a)](this[_0x45d3eb(0x27b)],_0x4dc9db[_0x45d3eb(0x20e)])){const _0x427fd7=_0x4dc9db[_0x45d3eb(0x211)]['split']('|');let _0x177965=0x0;while(!![]){switch(_0x427fd7[_0x177965++]){case'0':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x3e179d[_0x45d3eb(0x261)])+_0x45d3eb(0x270));continue;case'1':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x1a1)+utils[_0x45d3eb(0x217)](_0x3e179d[_0x45d3eb(0x1d8)])+_0x45d3eb(0x270));continue;case'2':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x17b)+utils['escape'](_0x3e179d[_0x45d3eb(0x1a2)])+_0x45d3eb(0x159));continue;case'3':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x171)+_0x2f3b06+_0x45d3eb(0x17f));continue;case'4':var _0x2f3b06=utils[_0x45d3eb(0x217)](utils[_0x45d3eb(0x225)](_0x3e179d['body']));continue;}break;}}}if(_0x4dc9db[_0x45d3eb(0x1ef)](testhubUtils[_0x45d3eb(0x23e)](testHubConstants[_0x45d3eb(0x258)]['HookFinished']),!![])){if(!_0x3e179d[_0x45d3eb(0x1e4)]){_0x3e179d[_0x45d3eb(0x1e4)]=!![];if(_0x3e179d[_0x45d3eb(0x204)])await this[_0x45d3eb(0x26e)](_0x3e179d,_0x5e8bdd);else _0x3e179d[_0x45d3eb(0x251)]&&await this[_0x45d3eb(0x26e)](_0x3e179d,_0x5e8bdd,![],_0x4dc9db[_0x45d3eb(0x1c4)]);}}})['on'](EVENT_TEST_PENDING,async _0xf4189c=>{const _0xc810b1=_0x1ff59c;this[_0xc810b1(0x236)]['push']({'title':_0xf4189c[_0xc810b1(0x1d8)],'suite':_0xf4189c[_0xc810b1(0x226)]['title'],'state':_0xf4189c['state'],'err':{},'fullTitle':_0xf4189c[_0xc810b1(0x23b)](),'speed':_0xf4189c[_0xc810b1(0x14e)],'currentRetry':_0xf4189c[_0xc810b1(0x264)](),'titlePathV':_0xf4189c[_0xc810b1(0x25e)]()}),_0x4dc9db[_0xc810b1(0x1b1)](this[_0xc810b1(0x27b)],_0x4dc9db[_0xc810b1(0x1d0)])&&process[_0xc810b1(0x237)][_0xc810b1(0x150)](Base['color'](_0x4dc9db[_0xc810b1(0x269)],Base[_0xc810b1(0x268)][_0xc810b1(0x192)])),_0x4dc9db[_0xc810b1(0x18a)](testhubUtils[_0xc810b1(0x23e)](),!![])&&(!_0xf4189c[_0xc810b1(0x204)]&&(_0xf4189c[_0xc810b1(0x204)]=_0x4dc9db[_0xc810b1(0x1a3)](uuidv4)),!_0xf4189c[_0xc810b1(0x1e4)]&&(_0xf4189c[_0xc810b1(0x1e4)]=!![],await this[_0xc810b1(0x26e)](_0xf4189c,undefined,![],_0x4dc9db[_0xc810b1(0x259)])));})['on'](EVENT_TEST_BEGIN,async _0x25e92b=>{const _0x4056e8=_0x1ff59c;_0x4dc9db[_0x4056e8(0x15f)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0x4056e8(0x17d)](_0x25e92b);})['on'](EVENT_TEST_END,async _0x277f7c=>{const _0x2534eb=_0x1ff59c;_0x4dc9db[_0x2534eb(0x278)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x277f7c[_0x2534eb(0x1e4)]&&(_0x277f7c[_0x2534eb(0x1e4)]=!![],await this['sendTestRunEvent'](_0x277f7c)));})[_0x1ff59c(0x19e)](EVENT_RUN_END,async()=>{const _0x43487e=_0x1ff59c;try{if(_0x4dc9db[_0x43487e(0x20b)](testhubUtils[_0x43487e(0x23e)](),!![])){const _0x183d0d=_0x4dc9db[_0x43487e(0x223)](getHookSkippedTests,this[_0x43487e(0x272)][_0x43487e(0x1f3)]);for(const _0x567f73 of _0x183d0d){!_0x567f73[_0x43487e(0x204)]&&(_0x567f73[_0x43487e(0x204)]=_0x4dc9db[_0x43487e(0x1a3)](uuidv4)),await this[_0x43487e(0x26e)](_0x567f73,undefined,![],_0x4dc9db['ltvBL']);}}}catch(_0x3f82c7){_0x4dc9db[_0x43487e(0x223)](debug,_0x43487e(0x1ff)+_0x3f82c7);}await requestQueueHandler[_0x43487e(0x21c)](),_0x4dc9db['SRjPC'](this['type'],_0x4dc9db[_0x43487e(0x20e)])&&Base[_0x43487e(0x1f4)](this[_0x43487e(0x17c)]);});if(this['type']&&![_0x4dc9db[_0x1ff59c(0x20e)],_0x4dc9db['BJnuf'],_0x4dc9db[_0x1ff59c(0x24c)],_0x4dc9db['ldrAL']][_0x1ff59c(0x153)](this['type'])){const _0x225b82=this['type']['trim']();this[_0x1ff59c(0x176)]=null;try{this[_0x1ff59c(0x176)]=_0x4dc9db[_0x1ff59c(0x223)](requireModule,_0x1ff59c(0x202)+_0x225b82+_0x1ff59c(0x1ed));}catch{}if(_0x4dc9db['weefz'](this['Reporter'],null))try{this[_0x1ff59c(0x176)]=_0x4dc9db[_0x1ff59c(0x223)](require,_0x225b82);}catch(_0x2b563f){console[_0x1ff59c(0x1b4)](_0x1ff59c(0x175)+_0x225b82);}if(_0x4dc9db[_0x1ff59c(0x208)](this[_0x1ff59c(0x176)],null)){const _0x1d1401={};_0x1d1401[_0x1ff59c(0x1f2)]=_0x34f04d['reporterOption'],this[_0x1ff59c(0x176)]=new this[(_0x1ff59c(0x176))](_0x3ba2b3,_0x1d1401);}}}[a27_0x573995(0x16e)](){const _0x15cccb=a27_0x573995,_0x299ec4={'YBTQi':function(_0x551fe8,_0x24b63a){return _0x551fe8(_0x24b63a);}};return _0x299ec4['YBTQi'](Array,this[_0x15cccb(0x1cd)])['join']('\x20\x20');}[a27_0x573995(0x1ce)](){const _0x36febb=a27_0x573995;this[_0x36febb(0x1cd)]++;}[a27_0x573995(0x205)](){this['_indents']--;}['docAppend'](_0xfff8fe){const _0x508b2d=a27_0x573995;this[_0x508b2d(0x17c)]+=_0xfff8fe;}[a27_0x573995(0x22e)](_0x208f68,_0x49ad69){const _0x1c3aa9=a27_0x573995,_0x28730d={'uRfom':function(_0x4611f7,_0x59edd2){return _0x4611f7(_0x59edd2);}},_0x4708bf={};_0x4708bf[_0x1c3aa9(0x1f6)]=_0x208f68,_0x4708bf[_0x1c3aa9(0x236)]=this[_0x1c3aa9(0x210)],_0x28730d[_0x1c3aa9(0x252)](_0x49ad69,_0x4708bf);}[a27_0x573995(0x18d)](){const _0xd4cc9c=a27_0x573995;process[_0xd4cc9c(0x195)](_0xd4cc9c(0x1a4)+process[_0xd4cc9c(0x209)]),process['on'](_0xd4cc9c(0x1a4)+process[_0xd4cc9c(0x209)],this[_0xd4cc9c(0x166)][_0xd4cc9c(0x1e7)](this)),process['removeAllListeners'](_0xd4cc9c(0x206)+process['pid']),process['on'](_0xd4cc9c(0x206)+process[_0xd4cc9c(0x209)],this[_0xd4cc9c(0x1a9)][_0xd4cc9c(0x1e7)](this));}[a27_0x573995(0x17d)]=async _0x1baa1f=>{const _0x5905ee=a27_0x573995,_0xed826a={'eOJsh':function(_0x162309){return _0x162309();},'anUDX':function(_0x3674e8,_0x5eab09){return _0x3674e8>_0x5eab09;},'ZweQB':function(_0x25a75f,_0x35f57b){return _0x25a75f===_0x35f57b;},'lrrMD':_0x5905ee(0x249),'StxTL':function(_0x36081f,_0x4cbd0f){return _0x36081f(_0x4cbd0f);}};try{const _0x35d345=this[_0x5905ee(0x18b)];this['current_test']=_0x1baa1f,_0x1baa1f[_0x5905ee(0x1d9)]=null,_0x1baa1f[_0x5905ee(0x204)]=_0xed826a['eOJsh'](uuidv4),_0x1baa1f[_0x5905ee(0x216)]=new Date()[_0x5905ee(0x157)](),_0xed826a[_0x5905ee(0x14f)](_0x1baa1f[_0x5905ee(0x21a)],0x0)&&_0x35d345&&_0xed826a[_0x5905ee(0x21d)](_0x35d345[_0x5905ee(0x1d8)],_0x1baa1f['title'])?(_0x1baa1f[_0x5905ee(0x1d9)]=_0x35d345['testAnalyticsId'],await this[_0x5905ee(0x26e)](_0x1baa1f,undefined,![],_0xed826a[_0x5905ee(0x25d)]),_0x35d345[_0x5905ee(0x279)]=STATE_FAILED,await this[_0x5905ee(0x26e)](_0x35d345,undefined,!![])):await this['sendTestRunEvent'](_0x1baa1f,undefined,![],_0xed826a[_0x5905ee(0x25d)]);}catch(_0x41c5b4){_0xed826a[_0x5905ee(0x184)](debug,_0x5905ee(0x1bb)+_0x41c5b4);}};[a27_0x573995(0x26e)]=async(_0x3361d6,_0x505106=undefined,_0xf02869=![],_0x4345e9=a27_0x573995(0x1dd))=>{const _0x22aae6=a27_0x573995,_0x356af1={'chbdl':function(_0x27b6c5,_0x5e9112){return _0x27b6c5===_0x5e9112;},'rNxHV':function(_0x2e890a,_0x4860ca){return _0x2e890a!==_0x4860ca;},'bFnZm':_0x22aae6(0x1fc),'trKMI':'err','lYSvD':function(_0x77a698,_0xa5f2c){return _0x77a698!==_0xa5f2c;},'HfCjS':_0x22aae6(0x263),'uyrxW':_0x22aae6(0x24f),'ndWkA':'javascript','keLli':'TestRunSkipped','NjHnU':_0x22aae6(0x1b5),'hToqk':function(_0x21928a,_0x23556a){return _0x21928a-_0x23556a;},'jzoDP':_0x22aae6(0x158),'GfZpe':'UnhandledError','mUUst':function(_0x3731cb,_0x3fc643){return _0x3731cb===_0x3fc643;},'bPvke':'started_at','KuRhf':_0x22aae6(0x20c),'VrZoD':function(_0x24219e,_0x5b2c1f){return _0x24219e(_0x5b2c1f);},'qBXHw':function(_0x579ff0,_0x476243){return _0x579ff0===_0x476243;},'HsVcu':_0x22aae6(0x181),'eozPm':_0x22aae6(0x168),'BEnGd':_0x22aae6(0x1c1),'cOZkU':function(_0x34aee2,_0x3895c4){return _0x34aee2===_0x3895c4;},'XQTBS':'before\x20each','KarSm':'failure','FonFg':_0x22aae6(0x1e6),'Ybmvu':_0x22aae6(0x151),'zlFSk':'failure_reason_expanded','fctXJ':_0x22aae6(0x1ac),'MmcbQ':_0x22aae6(0x1dd),'AWKfv':function(_0xbff8d,_0x20e26b){return _0xbff8d===_0x20e26b;},'XYpPN':_0x22aae6(0x1ec),'najTm':'hook_run','kyyKb':_0x22aae6(0x17a),'cWnNg':function(_0x383725,_0x53ccf0){return _0x383725(_0x53ccf0);}};try{if(_0x3361d6[_0x22aae6(0x188)]&&_0x3361d6[_0x22aae6(0x188)][_0x22aae6(0x267)](/browserstack internal helper hook/))return;let _0x1ea81a=[];if(_0x356af1[_0x22aae6(0x193)](_0x3361d6[_0x22aae6(0x279)],STATE_FAILED)){if(_0x356af1[_0x22aae6(0x1d4)](_0x3361d6[_0x22aae6(0x1a2)],undefined))_0x1ea81a=_0x3361d6[_0x22aae6(0x1a2)][_0x22aae6(0x19b)]?[_0x3361d6[_0x22aae6(0x1a2)][_0x22aae6(0x19b)],_0x356af1[_0x22aae6(0x242)]]:[_0x3361d6[_0x22aae6(0x1a2)],_0x356af1['trKMI']];else _0x356af1[_0x22aae6(0x25c)](_0x505106,undefined)?_0x1ea81a=[_0x505106,_0x356af1['trKMI']]:_0x1ea81a=[];}const _0x38d565=_0x356af1[_0x22aae6(0x25c)](_0x3361d6['err'],undefined)?_0x3361d6['err'][_0x22aae6(0x1b0)]():_0x356af1[_0x22aae6(0x25c)](_0x505106,undefined)?_0x505106[_0x22aae6(0x1b0)]():undefined;let _0x16b244;try{_0x16b244=this[_0x22aae6(0x1b7)](_0x3361d6);}catch(_0x36fc3f){_0x16b244=null;}const _0x237f5c=_0x16b244?this['findGitConfig'](_0x16b244):null,_0x226867=_0x16b244?this['_paths']['prefixTestPath'](this[_0x22aae6(0x1b7)](_0x3361d6)):_0x356af1[_0x22aae6(0x1d6)],_0x20863f={'framework':_0x356af1['uyrxW'],'uuid':_0x3361d6[_0x22aae6(0x204)]||_0x3361d6['hookAnalyticsId'],'name':_0x3361d6[_0x22aae6(0x1d8)],'body':{'lang':_0x356af1[_0x22aae6(0x260)],'code':_0x3361d6['body']},'scope':this[_0x22aae6(0x262)](_0x3361d6),'scopes':this[_0x22aae6(0x203)](_0x3361d6),'identifier':_0x3361d6[_0x22aae6(0x23b)](),'file_name':_0x226867,'vc_filepath':_0x237f5c?path[_0x22aae6(0x1ca)](_0x237f5c,_0x16b244):null,'location':_0x226867,'result':_0x356af1[_0x22aae6(0x193)](_0x4345e9,_0x356af1['keLli'])?_0x356af1[_0x22aae6(0x1cb)]:this[_0x22aae6(0x20d)](_0x3361d6[_0x22aae6(0x279)]),'failure_reason':_0x38d565,'duration_in_ms':_0x3361d6[_0x22aae6(0x155)]||(_0x4345e9[_0x22aae6(0x267)](/Finished/)||_0x4345e9[_0x22aae6(0x267)](/Skipped/)?_0x356af1[_0x22aae6(0x19c)](Date['now'](),new Date(_0x3361d6[_0x22aae6(0x216)])[_0x22aae6(0x199)]()):null),'started_at':_0x3361d6[_0x22aae6(0x216)],'finished_at':_0x4345e9['match'](/Finished/)||_0x4345e9[_0x22aae6(0x267)](/Skipped/)?new Date()[_0x22aae6(0x157)]():null,'failure':failureData['apply'](null,_0x1ea81a),'failure_type':!_0x38d565?null:_0x38d565['match'](/AssertionError/)?_0x356af1['jzoDP']:_0x356af1[_0x22aae6(0x164)],'retry_of':_0x3361d6[_0x22aae6(0x1d9)]};testhubUtils[_0x22aae6(0x1fb)](_0x20863f,_0x4345e9,_0x3361d6,FRAMEWORKS['MOCHA']);_0x356af1[_0x22aae6(0x16d)](_0x4345e9,_0x356af1[_0x22aae6(0x15b)])&&!_0x20863f[_0x356af1['bPvke']]&&(_0x20863f[_0x356af1['bPvke']]=_0x20863f[_0x356af1[_0x22aae6(0x25f)]]);if(_0x4345e9[_0x22aae6(0x267)](/HookRun/))[_0x20863f[_0x22aae6(0x1ec)],_0x20863f[_0x22aae6(0x21e)]]=_0x356af1[_0x22aae6(0x22c)](getHookDetails,_0x3361d6[_0x22aae6(0x23b)]()||_0x3361d6['originalTitle']||_0x3361d6['title']),_0x356af1[_0x22aae6(0x224)](_0x4345e9,_0x356af1[_0x22aae6(0x174)])&&(_0x356af1['lYSvD'](_0x20863f[_0x22aae6(0x243)],_0x356af1['eozPm'])&&(_0x20863f[_0x22aae6(0x243)]=_0x356af1['BEnGd']),_0x356af1['cOZkU'](_0x20863f[_0x22aae6(0x1ec)],_0x356af1[_0x22aae6(0x15c)])&&_0x356af1[_0x22aae6(0x16d)](_0x20863f[_0x22aae6(0x243)],_0x356af1[_0x22aae6(0x26b)])&&!_0x3361d6[_0x22aae6(0x1e9)][_0x22aae6(0x23f)][_0x22aae6(0x1e4)]&&(_0x3361d6[_0x22aae6(0x1e9)][_0x22aae6(0x23f)][_0x22aae6(0x1e4)]=!![],_0x3361d6['ctx'][_0x22aae6(0x23f)]['state']=STATE_FAILED,await this[_0x22aae6(0x26e)](_0x3361d6['ctx'][_0x22aae6(0x23f)],undefined,!![])));else _0x4345e9[_0x22aae6(0x267)](/TestRun/)&&_0x356af1['VrZoD'](mapTestHooks,_0x3361d6);const _0x4a62a8=_0x20863f[_0x356af1[_0x22aae6(0x1f7)]][0x0];_0x4a62a8&&(_0x20863f[_0x356af1[_0x22aae6(0x172)]]=_0x4a62a8[_0x356af1[_0x22aae6(0x273)]],_0x20863f[_0x356af1[_0x22aae6(0x1fa)]]=_0x4a62a8[_0x356af1['fctXJ']]);[_0x356af1[_0x22aae6(0x1db)],_0x356af1[_0x22aae6(0x15b)]][_0x22aae6(0x153)](_0x4345e9)&&(this[_0x22aae6(0x19a)][_0x22aae6(0x238)](_0x20863f),_0x20863f[_0x22aae6(0x215)]=_0x356af1['VrZoD'](getHooksForTest,_0x3361d6));const _0x42b5f2={'event_type':_0x356af1['AWKfv'](_0x4345e9,_0x356af1[_0x22aae6(0x15b)])?_0x356af1[_0x22aae6(0x1db)]:_0x4345e9};_0x4345e9[_0x22aae6(0x267)](/HookRun/)?(_0x20863f[_0x356af1[_0x22aae6(0x1f0)]]=HOOK_TYPES_MAP[_0x20863f[_0x356af1[_0x22aae6(0x1f0)]]],_0x42b5f2[_0x356af1[_0x22aae6(0x256)]]=_0x20863f):_0x42b5f2[_0x356af1[_0x22aae6(0x19d)]]=_0x20863f,testhubUtils[_0x22aae6(0x1e1)](FRAMEWORKS[_0x22aae6(0x244)],_0x42b5f2),await SessionHandler[_0x22aae6(0x1ee)](_0x42b5f2);}catch(_0x5da340){_0x356af1['cWnNg'](debug,_0x22aae6(0x246)+_0x4345e9+_0x22aae6(0x21f)+_0x5da340);}};[a27_0x573995(0x218)](_0x7932bf){const _0x2a0e0f=a27_0x573995,_0x4c86d1={};_0x4c86d1[_0x2a0e0f(0x24b)]=function(_0x10f574,_0x1dea7d){return _0x10f574===_0x1dea7d;},_0x4c86d1['DabGi']=function(_0x52b228,_0x824efb){return _0x52b228===_0x824efb;},_0x4c86d1[_0x2a0e0f(0x239)]=_0x2a0e0f(0x1f5),_0x4c86d1[_0x2a0e0f(0x194)]=_0x2a0e0f(0x182);const _0x5bdbdb=_0x4c86d1,_0x3a1421=path[_0x2a0e0f(0x16c)];if(_0x5bdbdb[_0x2a0e0f(0x24b)](_0x7932bf,null)||_0x5bdbdb[_0x2a0e0f(0x1ab)](_0x7932bf,'')||_0x5bdbdb[_0x2a0e0f(0x24b)](_0x7932bf,_0x3a1421)||_0x5bdbdb[_0x2a0e0f(0x1ab)](_0x7932bf,path[_0x2a0e0f(0x179)](_0x7932bf)))return null;try{return fs['statSync'](path[_0x2a0e0f(0x1be)](_0x7932bf,_0x5bdbdb[_0x2a0e0f(0x239)],_0x5bdbdb[_0x2a0e0f(0x194)])),_0x7932bf;}catch(_0x2dadf1){const _0x3a4a01=path[_0x2a0e0f(0x179)](_0x7932bf);return this[_0x2a0e0f(0x218)](_0x3a4a01);}}[a27_0x573995(0x166)]=async _0x58cf9f=>{const _0x138d45=a27_0x573995,_0x5e5034={'huVSb':_0x138d45(0x24d),'XtsmF':function(_0x8737d7,_0x3abd4f){return _0x8737d7(_0x3abd4f);}};try{this[_0x138d45(0x22d)]&&!this[_0x138d45(0x22d)][_0x138d45(0x1e4)]&&(_0x58cf9f[_0x138d45(0x234)]=this['current_hook'][_0x138d45(0x251)]);!_0x58cf9f[_0x138d45(0x234)]&&this['current_test']&&!this['current_test'][_0x138d45(0x1e4)]&&(_0x58cf9f[_0x138d45(0x220)]=this[_0x138d45(0x18b)][_0x138d45(0x204)]);if(_0x58cf9f[_0x138d45(0x234)]||_0x58cf9f[_0x138d45(0x220)]){const _0x966182={};_0x966182[_0x138d45(0x15e)]=_0x5e5034[_0x138d45(0x1f1)],_0x966182['logs']=[_0x58cf9f],await SessionHandler[_0x138d45(0x1ee)](_0x966182);}}catch(_0x290323){_0x5e5034[_0x138d45(0x1d2)](debug,_0x138d45(0x241)+_0x290323);}};['appendTestPlatform']=async _0x29f118=>{const _0x1ea398=a27_0x573995,_0x4c7b51={'yGSCx':_0x1ea398(0x1b6),'UEZvB':_0x1ea398(0x26d),'jjnjj':function(_0x400263,_0x230733){return _0x400263(_0x230733);}};try{const _0x365e80={};_0x365e80['uuid']=_0x29f118[_0x1ea398(0x22a)]||this['current_test'][_0x1ea398(0x204)],_0x365e80[_0x1ea398(0x274)]=_0x29f118[_0x4c7b51[_0x1ea398(0x23c)]];const _0x5d5fbb=_0x365e80,_0x282671={};_0x282671[_0x1ea398(0x15e)]=_0x4c7b51[_0x1ea398(0x1df)],_0x282671[_0x1ea398(0x17a)]=_0x5d5fbb,await SessionHandler[_0x1ea398(0x1ee)](_0x282671);}catch(_0x5d7f34){_0x4c7b51[_0x1ea398(0x1ba)](debug,_0x1ea398(0x15a)+_0x5d7f34);}};['analyticsResult'](_0x19768f){const _0x13908c=a27_0x573995,_0x51b708={};_0x51b708['JuxTr']=_0x13908c(0x1c1),_0x51b708[_0x13908c(0x1c8)]=_0x13908c(0x180),_0x51b708['vRRuG']=_0x13908c(0x168);const _0x102fac=_0x51b708,_0x34598a={};return _0x34598a[STATE_PASSED]=_0x102fac['JuxTr'],_0x34598a[STATE_PENDING]=_0x102fac[_0x13908c(0x1c8)],_0x34598a[STATE_FAILED]=_0x102fac['vRRuG'],_0x34598a[_0x19768f];}['scope'](_0x562283){const _0x8e7824=a27_0x573995,_0x4621be={};_0x4621be[_0x8e7824(0x191)]=function(_0x5dd24d,_0x41c0eb){return _0x5dd24d-_0x41c0eb;};const _0x3ee87f=_0x4621be,_0x343227=_0x562283[_0x8e7824(0x25e)]();return _0x343227[_0x8e7824(0x15d)](0x0,_0x3ee87f['PCbxN'](_0x343227[_0x8e7824(0x1a7)],0x1))[_0x8e7824(0x1be)]('\x20');}[a27_0x573995(0x203)](_0x1af560){const _0x4d57ac=a27_0x573995,_0x3d9689={};_0x3d9689[_0x4d57ac(0x1c9)]=function(_0xa83e82,_0x58e2f7){return _0xa83e82-_0x58e2f7;};const _0x254d32=_0x3d9689,_0x5eb74d=_0x1af560[_0x4d57ac(0x25e)]();return _0x5eb74d[_0x4d57ac(0x15d)](0x0,_0x254d32[_0x4d57ac(0x1c9)](_0x5eb74d[_0x4d57ac(0x1a7)],0x1));}[a27_0x573995(0x1b7)](_0x1285db){const _0x5a3420=a27_0x573995,_0x2e0134={};_0x2e0134['lddrR']=function(_0x1e2f4e,_0x1cc29a){return _0x1e2f4e>_0x1cc29a;};const _0x289858=_0x2e0134;if(_0x1285db[_0x5a3420(0x261)])return _0x1285db[_0x5a3420(0x261)];if(_0x1285db[_0x5a3420(0x1e9)]){const _0x5d19fc=_0x1285db[_0x5a3420(0x1e9)]['currentTest']?this[_0x5a3420(0x1b7)](_0x1285db['ctx'][_0x5a3420(0x23f)]):null;if(_0x5d19fc)return _0x5d19fc;}if(_0x1285db['parent']){const _0x10867a=this['getRootParentFile'](_0x1285db[_0x5a3420(0x226)])||(_0x1285db[_0x5a3420(0x226)]['ctx']&&_0x1285db[_0x5a3420(0x226)]['ctx'][_0x5a3420(0x23f)]?this['getRootParentFile'](_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x1e9)]['currentTest']):null);if(_0x10867a)return _0x10867a;_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x20a)]&&_0x289858['lddrR'](_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x20a)][_0x5a3420(0x1a7)],0x0)&&_0x1285db['parent'][_0x5a3420(0x20a)][_0x5a3420(0x1bc)](_0x2ea91d=>{const _0x2d157f=_0x5a3420,_0x23a359=_0x2ea91d[_0x2d157f(0x1e9)]?this[_0x2d157f(0x1b7)](_0x2ea91d['ctx']):null;if(_0x23a359)return _0x23a359;});}return null;}}module['exports']=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x495afd=a28_0x5843;(function(_0x2c3d1a,_0x17182f){const _0x500bff=a28_0x5843,_0x5225da=_0x2c3d1a();while(!![]){try{const _0x1eabb3=parseInt(_0x500bff(0xff))/0x1+parseInt(_0x500bff(0x137))/0x2*(-parseInt(_0x500bff(0x14a))/0x3)+parseInt(_0x500bff(0xa1))/0x4*(-parseInt(_0x500bff(0x156))/0x5)+-parseInt(_0x500bff(0xe9))/0x6+-parseInt(_0x500bff(0xba))/0x7+-parseInt(_0x500bff(0xd7))/0x8+parseInt(_0x500bff(0x14d))/0x9*(parseInt(_0x500bff(0x93))/0xa);if(_0x1eabb3===_0x17182f)break;else _0x5225da['push'](_0x5225da['shift']());}catch(_0xaa3472){_0x5225da['push'](_0x5225da['shift']());}}}(a28_0x3bff,0x93c1a));const chalk=require('chalk'),logger=require(a28_0x495afd(0x96))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x495afd(0x13e)),helper=require(a28_0x495afd(0x7f)),utilities=require(a28_0x495afd(0xa8)),testOpsHelper=require(a28_0x495afd(0x120)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x495afd(0x7f)),{getPercyOptions}=require(a28_0x495afd(0x98)),Base=requireModule(a28_0x495afd(0xfd)),collectFiles=requireModule(a28_0x495afd(0xab)),constants=require(a28_0x495afd(0x151));function tag(_0x2b6e53,_0x1d9ef5,_0x2e1bff,_0x1ba888){const _0x332454=a28_0x495afd,_0xa84add={'qjVuP':function(_0x146ec4,_0x557598){return _0x146ec4+_0x557598;},'VtdOu':function(_0xf8d049,_0x2c7dc2){return _0xf8d049+_0x2c7dc2;},'kKQnw':function(_0x47b513,_0x1c6237){return _0x47b513(_0x1c6237);},'oKBJG':function(_0x1e1e93,_0x5aa489){return _0x1e1e93+_0x5aa489;},'NhRno':function(_0x3c3bb1,_0x991bb3){return _0x3c3bb1+_0x991bb3;},'JiJJx':function(_0x4fd112,_0x4181f2){return _0x4fd112+_0x4181f2;},'QVuDh':function(_0x1d5f49,_0x382201){return _0x1d5f49+_0x382201;},'Upvkn':function(_0x21e61a,_0x5ba4db){return _0x21e61a+_0x5ba4db;}},_0xab57c6=_0x2e1bff?'/>':'>',_0x29792a=[];let _0x22760c;for(const _0x3ead83 in _0x1d9ef5){Object[_0x332454(0x79)][_0x332454(0x74)]['call'](_0x1d9ef5,_0x3ead83)&&_0x29792a['push'](_0xa84add[_0x332454(0x76)](_0xa84add[_0x332454(0x81)](_0xa84add[_0x332454(0x76)](_0x3ead83,'=\x22'),_0xa84add[_0x332454(0x75)](escape,_0x1d9ef5[_0x3ead83])),'\x22'));}return _0x22760c=_0xa84add[_0x332454(0x81)](_0xa84add[_0x332454(0x76)](_0xa84add['oKBJG']('<',_0x2b6e53),_0x29792a[_0x332454(0xf6)]?_0xa84add[_0x332454(0xd1)]('\x20',_0x29792a[_0x332454(0x8f)]('\x20')):''),_0xab57c6),_0x1ba888&&(_0x22760c+=_0xa84add[_0x332454(0xf9)](_0xa84add[_0x332454(0x11a)](_0xa84add[_0x332454(0xd4)](_0x1ba888,'</'),_0x2b6e53),_0xab57c6)),_0x22760c;}function a28_0x3bff(){const _0x243158=['XKzQk','yellow','spec','nsCdq','71814eeSiGd','accessibility','BROWSERSTACK_TEST_OBSERVABILITY_YML','18JfSpOV','Unjpj','platforms','aINpk','../utils/constants','qnoRB','printBuildLink','isPending','Running\x20your\x20mocha\x20tests\x20across\x20','175EfXtms','getUserWorkerCount','xzcsK','files','AOjbB','RYSbe','has','GnFYH','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','stringify','MOCHA','expected','OfqmO','isTestObservabilitySession','CkiLk','Running\x20your\x20mocha\x20tests','Total\x20Platforms:\x20','stack','argv','getOwnPropertyNames','size','red','vgdyw','kxAvz','hasOwnProperty','kKQnw','qjVuP','testsPending','reporter','prototype','EeunM','mVOQP','lKQMV','XQedV','zmNBv','../../helpers/helper','geUAL','VtdOu','suiteName','getErrorMessageFromResults','includes','pending','cliConfig','finalExecution','indexOf','duration','VnjCf','writeFileSync','failure','MCiJP','xJCtW','join','debug','results','gxcfE','17055710blSLXV','ITeak','list','../../helpers/logger','eciQm','../../helpers/percy/utils','JHNIq','nFJTJ','\x20platforms','showDiff','err','TdURD','unlinkSync','env','74260aGIDWI','OolHZ','getTCGConfigFilePaths','nsrgr','QCeTY','actual','sort','../../helpers/utilities','isUndefined','skipped','mocha/lib/cli/collect-files.js','Listing\x20all\x20the\x20failures','FKPGz','\x20total','NVJRB','tDpWV','BROWSERSTACK_TEST_OBSERVABILITY','object','testObservability','kBGxc','handleApp','info','map','HkoHm','asTZd','4161220fBEYne','ewSrv','passed','errorMessage','CFzwE','setupTCGAuth','assign','suite','recursive','forEach','finally','error','SDKTestSuccessful','MrqPQ','xaYyy','xtEWz','rootHooks','Writing\x20json\x20result\x20to\x20file','rCRNp','titlePathV','PfqMG','UzcDT','jaEsE','NhRno','testsuite','then','Upvkn','jWWRX','XCWEX','2488400rHeyci','add','oBoip','testSuites','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','FdUBk','mjs','rmdirSync','MaeKS','totalTests','mbxGd','prepareCapabilities','qivwN','BROWSERSTACK_AUTOMATION','failed','FRAMEWORKS','keys','file','5324880fZWQOT','parallelsPerPlatform','xWrdM','useColors','doc','YeJRC','ignore','state','kooFu','generateDiff','passes','fireFunnelTestEvent','bgBlueBright','length','shouldReRunObservabilityTests','Total\x20Suites:\x20','JiJJx','Couldn\x27t\x20write\x20xunit\x20result\x20to','proxySettings','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','mocha/lib/reporters/base.js','qElzJ','259221ukflwS','Couldn\x27t\x20write\x20json\x20result\x20to','yktDV','accessibilityOptions','qShcX','extension','QbEyu','log','output','testsPassed','message','parseFileNames','exitCode','ZhseR','</testsuite>','failures','min','EoHsP','get','zEDiW','toUTCString','Setting\x20non\x20exit\x20code\x20for\x20failures','bold','\x0a\x0a\x0a','HBerE','nVqrv','push','QVuDh','validPlatformsPresent','rerunTests','KIILf','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Abzmf','../../helpers/test-observability/utils','aZzRG','fullTitle','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','KzwfH','MINhf','YywYv','logLevel','ejbqD','speed','tWiuR','wmpig','YfSfF','consoleLog','Tests:\x20\x20\x20\x20\x20\x20\x20','uBeth','eWbZM','lwKWv','config','error\x20removing\x20tcg\x20config\x20file','Mocha\x20Tests','test','cjs','52NctGbp','LuMpY','getPlatformName','title','reporter-option','testsFailed','testcase','../../helpers/BrowserStackSetup','\x20passed','dNggV','pTEIK','gqtjy','DHxEu','Printing\x20stats\x20of\x20tests','\x20skipped'];a28_0x3bff=function(){return _0x243158;};return a28_0x3bff();}let xunitContent='';function xunitWrite(_0x4b123d){xunitContent+=_0x4b123d;}function xunitTest(_0x5164c0,_0x4bdd4d){const _0x198e48=a28_0x495afd,_0x253022={'nFJTJ':function(_0x73e2c2,_0x1bed45){return _0x73e2c2/_0x1bed45;},'xaYyy':function(_0x4f65e0,_0x216bca){return _0x4f65e0===_0x216bca;},'Cgnhd':_0x198e48(0xe5),'xzcsK':function(_0x2bc332,_0x3b7470){return _0x2bc332+_0x3b7470;},'aZzRG':function(_0x3c124c,_0x466f1b){return _0x3c124c(_0x466f1b);},'UzcDT':function(_0x427b6f,_0x44288c,_0x1a25a7,_0x41a141,_0x548a87){return _0x427b6f(_0x44288c,_0x1a25a7,_0x41a141,_0x548a87);},'DHxEu':_0x198e48(0x13d),'QCeTY':_0x198e48(0x8c),'aINpk':function(_0x4e562d,_0x52c836){return _0x4e562d+_0x52c836;},'woFpr':function(_0x24051d,_0x55a0c7){return _0x24051d+_0x55a0c7;},'JHNIq':function(_0x1d97d2,_0x433fb7){return _0x1d97d2+_0x433fb7;},'zEDiW':function(_0x5cfa24,_0x523563){return _0x5cfa24(_0x523563);},'YeJRC':function(_0x58273f,_0x2e4668){return _0x58273f(_0x2e4668);},'RYSbe':function(_0x46897d,_0x36a13e){return _0x46897d(_0x36a13e);},'XQedV':function(_0x5afbc9,_0x382cb8,_0x37cae7,_0xed54a0){return _0x5afbc9(_0x382cb8,_0x37cae7,_0xed54a0);},'hAkei':_0x198e48(0xaa)};Base[_0x198e48(0xec)]=![];var _0x558337={'classname':_0x5164c0[_0x198e48(0x122)],'name':_0x5164c0[_0x198e48(0x13a)],'time':_0x253022[_0x198e48(0x9a)](_0x5164c0[_0x198e48(0x89)],0x3e8)||0x0,'platform':_0x4bdd4d};if(_0x253022[_0x198e48(0xc8)](_0x5164c0['state'],_0x253022['Cgnhd'])){var _0x322505=_0x5164c0[_0x198e48(0x9d)],_0xe307a2=!Base['hideDiff']&&Base[_0x198e48(0x9c)](_0x322505)?_0x253022[_0x198e48(0x158)]('\x0a',Base[_0x198e48(0xf2)](_0x322505[_0x198e48(0xa6)],_0x322505[_0x198e48(0x161)])):'';_0x253022[_0x198e48(0x121)](xunitWrite,_0x253022[_0x198e48(0xcf)](tag,_0x253022['DHxEu'],_0x558337,![],_0x253022[_0x198e48(0xcf)](tag,_0x253022[_0x198e48(0xa5)],{},![],_0x253022[_0x198e48(0x150)](_0x253022['woFpr'](_0x253022[_0x198e48(0x99)](_0x253022[_0x198e48(0x112)](escape,_0x322505[_0x198e48(0x109)]),_0x253022[_0x198e48(0x121)](escape,_0xe307a2)),'\x0a'),_0x253022[_0x198e48(0xee)](escape,_0x322505[_0x198e48(0x6d)])))));}else _0x5164c0[_0x198e48(0x154)]?_0x253022[_0x198e48(0x15b)](xunitWrite,_0x253022[_0x198e48(0xcf)](tag,_0x253022[_0x198e48(0x143)],_0x558337,![],_0x253022[_0x198e48(0x7d)](tag,_0x253022['hAkei'],{},!![]))):_0x253022[_0x198e48(0x121)](xunitWrite,_0x253022['XQedV'](tag,_0x253022[_0x198e48(0x143)],_0x558337,!![]));};function getStats(_0x47e5dd){const _0xe1797b=a28_0x495afd,_0x38782d={};_0x38782d['YfSfF']=_0xe1797b(0xc1),_0x38782d[_0xe1797b(0xa2)]=_0xe1797b(0xbc),_0x38782d[_0xe1797b(0x130)]=_0xe1797b(0xe5),_0x38782d['nVqrv']=_0xe1797b(0x91);const _0x356f12=_0x38782d,_0x20531c=Object[_0xe1797b(0xe7)](_0x47e5dd);let _0x593e46=0x0,_0x2edb6e=0x0,_0x281a93=0x0,_0x243c31=0x0;const _0x2c79b9=new Set();_0x20531c['forEach'](_0x3aece4=>{const _0x554b3e=_0xe1797b;_0x47e5dd[_0x3aece4][_0x356f12[_0x554b3e(0x118)]][_0x554b3e(0xc3)](_0x268c7d=>{const _0x34a653=_0x554b3e;_0x2c79b9[_0x34a653(0xd8)](_0x268c7d[_0x356f12[_0x34a653(0x12c)]]),_0x593e46++;switch(_0x268c7d[_0x34a653(0xf0)]){case _0x356f12[_0x34a653(0xa2)]:_0x281a93++;break;case _0x356f12['eWbZM']:_0x2edb6e++;break;default:_0x243c31++;}});});const _0x27841e={};return _0x27841e[_0xe1797b(0xda)]=_0x2c79b9[_0xe1797b(0x70)],_0x27841e[_0xe1797b(0x14f)]=_0x20531c,_0x27841e[_0xe1797b(0xe0)]=_0x593e46,_0x27841e[_0xe1797b(0x13c)]=_0x2edb6e,_0x27841e[_0xe1797b(0x108)]=_0x281a93,_0x27841e[_0xe1797b(0x77)]=_0x243c31,_0x27841e;}function errorJSON(_0x2b3547){const _0x321302=a28_0x495afd;var _0x54dbfb={};return Object[_0x321302(0x6f)](_0x2b3547)[_0x321302(0xc3)](function(_0x17491e){_0x54dbfb[_0x17491e]=_0x2b3547[_0x17491e];},_0x2b3547),_0x54dbfb;}function cleanCycles(_0x484eeb){const _0x11cc21=a28_0x495afd,_0xf26eda={};_0xf26eda[_0x11cc21(0x110)]=function(_0xd1c5c4,_0x3703e5){return _0xd1c5c4===_0x3703e5;},_0xf26eda[_0x11cc21(0xcc)]=_0x11cc21(0xb2),_0xf26eda['YywYv']=function(_0x2a0c0b,_0x1dd93b){return _0x2a0c0b!==_0x1dd93b;},_0xf26eda[_0x11cc21(0xd6)]=function(_0x5a9f69,_0x7225df){return _0x5a9f69!==_0x7225df;},_0xf26eda[_0x11cc21(0x105)]=function(_0x2a7551,_0x54b702){return _0x2a7551+_0x54b702;};const _0x2ffea1=_0xf26eda;var _0x441fe9=[];return JSON['parse'](JSON[_0x11cc21(0x15f)](_0x484eeb,function(_0xca3c63,_0x2907e4){const _0x329a50=_0x11cc21;if(_0x2ffea1['EoHsP'](typeof _0x2907e4,_0x2ffea1['rCRNp'])&&_0x2ffea1[_0x329a50(0x126)](_0x2907e4,null)){if(_0x2ffea1['XCWEX'](_0x441fe9[_0x329a50(0x88)](_0x2907e4),-0x1))return _0x2ffea1[_0x329a50(0x105)]('',_0x2907e4);_0x441fe9[_0x329a50(0x119)](_0x2907e4);}return _0x2907e4;}));}function clean(_0x18634d){const _0x20d7a4=a28_0x495afd,_0x337092={'EeunM':function(_0x6edce,_0x3f035f){return _0x6edce instanceof _0x3f035f;},'BnFDa':function(_0x1c0b05,_0x241fe8){return _0x1c0b05(_0x241fe8);},'PfqMG':function(_0x532eee,_0x2707e1){return _0x532eee(_0x2707e1);}};var _0xac8126=_0x18634d[_0x20d7a4(0x9d)]||{};return _0x337092[_0x20d7a4(0x7a)](_0xac8126,Error)&&(_0xac8126=_0x337092['BnFDa'](errorJSON,_0xac8126)),{'title':_0x18634d[_0x20d7a4(0x13a)],'fullTitle':_0x18634d[_0x20d7a4(0x122)],'file':_0x18634d[_0x20d7a4(0xe8)],'duration':_0x18634d[_0x20d7a4(0x89)],'currentRetry':_0x18634d['currentRetry'],'speed':_0x18634d[_0x20d7a4(0x129)],'err':_0x337092[_0x20d7a4(0xce)](cleanCycles,_0xac8126)};}function printStats(_0x10545c,_0x2a1ede=a28_0x495afd(0x148),_0x1a1462={}){const _0x347df3=a28_0x495afd,_0xe4d8e6={'KzwfH':function(_0x2edb2d,_0x10c54b){return _0x2edb2d(_0x10c54b);},'xtEWz':function(_0x2ec036,_0x491f6d){return _0x2ec036===_0x491f6d;},'xWrdM':_0x347df3(0xbc),'iASli':_0x347df3(0xf3),'MrqPQ':function(_0x78c258,_0x4819b9){return _0x78c258(_0x4819b9);},'MaeKS':function(_0x525a86,_0x4a3ace){return _0x525a86===_0x4a3ace;},'mVOQP':_0x347df3(0xe5),'ftIkC':_0x347df3(0x10e),'MCiJP':_0x347df3(0x85),'ZhseR':function(_0x3f7bef,_0x361cee){return _0x3f7bef(_0x361cee);},'tDpWV':_0x347df3(0x91),'gxcfE':function(_0x4964e9,_0x2edb13){return _0x4964e9*_0x2edb13;},'CkiLk':function(_0x2ad6d5,_0x3e579c,_0x4e6fc0){return _0x2ad6d5(_0x3e579c,_0x4e6fc0);},'ejbqD':function(_0x2f17bf,_0x468b98){return _0x2f17bf>_0x468b98;},'ewSrv':function(_0x1214ab){return _0x1214ab();},'xJCtW':_0x347df3(0xed),'IEASP':_0x347df3(0x114),'Unjpj':_0x347df3(0x144),'oBoip':function(_0xfcd0a6,_0x5537cf){return _0xfcd0a6+_0x5537cf;},'KvhDF':_0x347df3(0x6c),'tWiuR':function(_0x274a3b,_0x48580e){return _0x274a3b+_0x48580e;},'UCCxQ':_0x347df3(0xf8),'VnjCf':function(_0x498954,_0x5e3ed6){return _0x498954+_0x5e3ed6;},'kBGxc':function(_0x4e56ae,_0x551f28){return _0x4e56ae+_0x551f28;},'uBeth':function(_0x4f098e,_0x2b0fca){return _0x4f098e+_0x2b0fca;},'Abzmf':_0x347df3(0x12e),'qElzJ':function(_0x1685e4,_0x8ffbb6){return _0x1685e4>_0x8ffbb6;},'yktDV':function(_0x346282,_0x12a822){return _0x346282+_0x12a822;},'geUAL':function(_0x240e23,_0x4684a3){return _0x240e23+_0x4684a3;},'nsCdq':function(_0x49bebf,_0xeb00e7){return _0x49bebf+_0xeb00e7;},'LuMpY':_0x347df3(0x116),'NVJRB':'json','AOjbB':_0x347df3(0xcb),'rZuvu':_0x347df3(0x100),'MINhf':_0x347df3(0xfc),'gqtjy':'xunit','TdURD':_0x347df3(0x134),'lKQMV':function(_0x7242e8,_0x5bd3bf){return _0x7242e8||_0x5bd3bf;},'HMZfg':function(_0xa2730a,_0x307d06){return _0xa2730a(_0x307d06);},'eRkML':function(_0x5c5e20,_0x1457e3,_0x41fb8c,_0x3ddf46){return _0x5c5e20(_0x1457e3,_0x41fb8c,_0x3ddf46);},'HkoHm':_0x347df3(0xd2),'jWWRX':function(_0xb70630,_0x3db11f){return _0xb70630-_0x3db11f;},'zmNBv':function(_0x53a848,_0x599b38){return _0x53a848/_0x599b38;},'HYRiA':function(_0x4c11ab,_0x202bb1){return _0x4c11ab(_0x202bb1);},'HrPRh':_0x347df3(0x10d),'CqgFM':'Writing\x20xunit\x20result\x20to\x20file','ITeak':_0x347df3(0xfa),'lwKWv':_0x347df3(0xdb),'pTEIK':_0x347df3(0xac),'FdUBk':'****\x20FAILURES\x20****'};if(_0xe4d8e6[_0x347df3(0xc9)](_0x2a1ede,_0xe4d8e6[_0x347df3(0x8e)]))return;const _0x5020bc=0x0,_0x57635a=()=>{const _0x172926=_0x347df3;return _0xe4d8e6[_0x172926(0x124)](Array,_0x5020bc)[_0x172926(0x8f)]('\x20\x20');},{testSuites:_0x64b27b,platforms:_0xcd6e86,totalTests:_0x382675,testsFailed:_0x49e67b,testsPassed:_0x2fc725,testsPending:_0x503daa}=_0xe4d8e6['KzwfH'](getStats,_0x10545c);_0xe4d8e6[_0x347df3(0x128)](_0x49e67b,0x0)&&(logger[_0x347df3(0x90)](_0xe4d8e6['IEASP']),process[_0x347df3(0x10b)]=Math[_0x347df3(0x10f)](_0x49e67b,0xff));logger[_0x347df3(0x90)](_0xe4d8e6[_0x347df3(0x14e)]);const _0x3be82c=''+_0xe4d8e6[_0x347df3(0xd9)](chalk[_0x347df3(0x115)](_0xe4d8e6['KvhDF']),_0xcd6e86['length']),_0x4ea60e=''+_0xe4d8e6[_0x347df3(0x12a)](chalk[_0x347df3(0x115)](_0xe4d8e6['UCCxQ']),_0x64b27b),_0x4d1f34=''+_0xe4d8e6[_0x347df3(0x8a)](_0xe4d8e6[_0x347df3(0xb4)](_0xe4d8e6[_0x347df3(0x12f)](chalk[_0x347df3(0x115)](_0xe4d8e6[_0x347df3(0x11f)]),_0xe4d8e6[_0x347df3(0xfe)](_0x49e67b,0x0)?chalk[_0x347df3(0x115)][_0x347df3(0x71)](_0x49e67b+'\x20failed')+',\x20':''),_0xe4d8e6[_0x347df3(0xfe)](_0x503daa,0x0)?chalk[_0x347df3(0x115)][_0x347df3(0x147)](_0x503daa+_0x347df3(0x145))+',\x20':''),_0xe4d8e6[_0x347df3(0xfe)](_0x2fc725,0x0)?chalk['bold']['green'](_0x2fc725+_0x347df3(0x13f))+',\x20':'')+_0x382675+_0x347df3(0xae);console[_0x347df3(0x106)](_0xe4d8e6[_0x347df3(0x8a)](_0xe4d8e6[_0x347df3(0x101)](_0xe4d8e6[_0x347df3(0x80)](_0xe4d8e6[_0x347df3(0x80)](_0xe4d8e6[_0x347df3(0x149)](_0xe4d8e6[_0x347df3(0x138)],_0x3be82c),'\x0a'),_0x4ea60e),'\x0a'),_0x4d1f34));if(_0xe4d8e6[_0x347df3(0xdf)](_0x2a1ede,_0xe4d8e6[_0x347df3(0xaf)])){const _0xd93ccd={},_0x4ad3f1={};_0x4ad3f1[_0x347df3(0xda)]=_0x64b27b,_0x4ad3f1[_0x347df3(0x14f)]=_0xcd6e86,_0x4ad3f1[_0x347df3(0x13c)]=_0x49e67b,_0x4ad3f1['testsPassed']=_0x2fc725,_0x4ad3f1[_0x347df3(0x77)]=_0x503daa,_0xd93ccd['stats']=_0x4ad3f1,_0xcd6e86['forEach'](_0x103375=>{const _0x39d20c=_0x347df3;_0xd93ccd[_0x103375]={'pending':[],'failures':[],'passes':[],'tests':_0x10545c[_0x103375][_0xe4d8e6['tDpWV']][_0x39d20c(0xb7)](clean)},_0x10545c[_0x103375][_0xe4d8e6[_0x39d20c(0xb0)]][_0x39d20c(0xc3)](_0x26b3a1=>{const _0xa6ccd8=_0x39d20c;if(_0xe4d8e6[_0xa6ccd8(0xc9)](_0x26b3a1[_0xa6ccd8(0xf0)],_0xe4d8e6['xWrdM']))_0xd93ccd[_0x103375][_0xe4d8e6['iASli']][_0xa6ccd8(0x119)](_0xe4d8e6[_0xa6ccd8(0xc7)](clean,_0x26b3a1));else _0xe4d8e6[_0xa6ccd8(0xdf)](_0x26b3a1[_0xa6ccd8(0xf0)],_0xe4d8e6[_0xa6ccd8(0x7b)])?_0xd93ccd[_0x103375][_0xe4d8e6['ftIkC']][_0xa6ccd8(0x119)](_0xe4d8e6[_0xa6ccd8(0xc7)](clean,_0x26b3a1)):_0xd93ccd[_0x103375][_0xe4d8e6[_0xa6ccd8(0x8d)]]['push'](_0xe4d8e6[_0xa6ccd8(0x10c)](clean,_0x26b3a1));});});if(_0x1a1462[_0x347df3(0x107)])try{logger[_0x347df3(0x90)](_0xe4d8e6[_0x347df3(0x15a)],_0x1a1462[_0x347df3(0x107)]),fs[_0x347df3(0x8b)](_0x1a1462[_0x347df3(0x107)],JSON[_0x347df3(0x15f)](_0xd93ccd,null,0x3));}catch(_0x5af75c){logger['error'](_0xe4d8e6['rZuvu'],_0x1a1462['output']),logger[_0x347df3(0x90)](_0x5af75c);}else logger['debug'](_0xe4d8e6[_0x347df3(0x125)]),console[_0x347df3(0x106)](JSON[_0x347df3(0x15f)](_0xd93ccd,null,0x3));}else{if(_0xe4d8e6[_0x347df3(0xc9)](_0x2a1ede,_0xe4d8e6[_0x347df3(0x142)])){let _0x8e50e9;const _0x6069ac=_0xe4d8e6[_0x347df3(0x9e)];_0x1a1462&&(_0x8e50e9=_0x1a1462[_0x347df3(0x82)]);_0x8e50e9=_0xe4d8e6[_0x347df3(0x7c)](_0x8e50e9,_0x6069ac);let _0x4c6477=0x0,_0x313361=0x0,_0x1138fa=0x0,_0x5eca48=0x0;_0xcd6e86[_0x347df3(0xc3)](_0x1c3f90=>{const _0x13411e=_0x347df3;_0x10545c[_0x1c3f90][_0xe4d8e6[_0x13411e(0xb0)]]['forEach'](_0x388e08=>{const _0x3d5e34=_0x13411e;if(_0xe4d8e6[_0x3d5e34(0xdf)](_0x388e08[_0x3d5e34(0xf0)],_0xe4d8e6[_0x3d5e34(0xeb)]))_0x4c6477++;else _0xe4d8e6[_0x3d5e34(0xdf)](_0x388e08[_0x3d5e34(0xf0)],_0xe4d8e6[_0x3d5e34(0x7b)])&&_0x313361++;_0x1138fa++,_0x5eca48+=_0xe4d8e6[_0x3d5e34(0x92)](_0x388e08[_0x3d5e34(0x89)],0x1);});}),_0xe4d8e6['HMZfg'](xunitWrite,_0xe4d8e6['eRkML'](tag,_0xe4d8e6[_0x347df3(0xb8)],{'name':_0x8e50e9,'tests':_0x1138fa,'failures':0x0,'errors':_0x313361,'skipped':_0xe4d8e6[_0x347df3(0xd5)](_0xe4d8e6[_0x347df3(0xd5)](_0x1138fa,_0x313361),_0x4c6477),'timestamp':new Date()[_0x347df3(0x113)](),'time':_0xe4d8e6[_0x347df3(0x7e)](_0x5eca48,0x3e8)||0x0},![])),_0xcd6e86[_0x347df3(0xc3)](_0x4e07fd=>{const _0x2d52c5=_0x347df3,_0x1d37af={'mbxGd':function(_0x3354c3,_0x2e20b4,_0x45541c){const _0x4f67b9=a28_0x5843;return _0xe4d8e6[_0x4f67b9(0x6a)](_0x3354c3,_0x2e20b4,_0x45541c);}};_0x10545c[_0x4e07fd][_0xe4d8e6[_0x2d52c5(0xb0)]]['forEach'](_0x13c940=>{const _0x5ed93d=_0x2d52c5;_0x1d37af[_0x5ed93d(0xe1)](xunitTest,_0x13c940,_0x4e07fd);});}),_0xe4d8e6['HYRiA'](xunitWrite,_0xe4d8e6['HrPRh']);if(_0x1a1462[_0x347df3(0x107)])try{logger['debug'](_0xe4d8e6['CqgFM'],_0x1a1462[_0x347df3(0x107)]),fs['writeFileSync'](_0x1a1462[_0x347df3(0x107)],xunitContent);}catch(_0x4d4ee9){logger[_0x347df3(0xc5)](_0xe4d8e6[_0x347df3(0x94)],_0x1a1462['output']),logger[_0x347df3(0x90)](_0x4d4ee9);}else logger[_0x347df3(0x90)](_0xe4d8e6[_0x347df3(0x131)]),console[_0x347df3(0x106)](xunitContent);}else{if(_0xe4d8e6['MaeKS'](_0x49e67b,0x0))return;console[_0x347df3(0x106)](),logger[_0x347df3(0x90)](_0xe4d8e6[_0x347df3(0x141)]),console['log'](chalk[_0x347df3(0x115)]['bgRedBright'](_0xe4d8e6[_0x347df3(0xdc)])),_0xcd6e86['forEach'](_0x21b69f=>{const _0x39ebb0=_0x347df3,_0x224796={'qnoRB':function(_0x2e0d5f,_0x13d100){const _0x266f32=a28_0x5843;return _0xe4d8e6[_0x266f32(0xc9)](_0x2e0d5f,_0x13d100);},'qShcX':_0xe4d8e6['mVOQP']},_0x4e67da=[];_0x10545c[_0x21b69f][_0xe4d8e6[_0x39ebb0(0xb0)]][_0x39ebb0(0xc3)](_0x56761f=>{const _0x2036bd=_0x39ebb0;_0x224796[_0x2036bd(0x152)](_0x56761f[_0x2036bd(0xf0)],_0x224796[_0x2036bd(0x103)])&&(_0x56761f['titlePath']=()=>_0x56761f[_0x2036bd(0xcd)],_0x4e67da[_0x2036bd(0x119)](_0x56761f));}),_0xe4d8e6[_0x39ebb0(0x128)](_0x4e67da[_0x39ebb0(0xf6)],0x0)&&(Base[_0x39ebb0(0x12d)](),Base[_0x39ebb0(0x12d)](_0xe4d8e6[_0x39ebb0(0xbb)](_0x57635a),chalk[_0x39ebb0(0x115)][_0x39ebb0(0xf5)](_0x21b69f)),Base[_0x39ebb0(0x95)](_0x4e67da));});}}}async function run(_0x51c692,_0x4b0017){const _0x534e8a=a28_0x495afd,_0x5c385c={'HBerE':function(_0x2122ca,_0x450363,_0x19bf0f,_0x275d0c){return _0x2122ca(_0x450363,_0x19bf0f,_0x275d0c);},'GnFYH':_0x534e8a(0x13b),'VyzYs':_0x534e8a(0x133),'eciQm':_0x534e8a(0xc6),'CFzwE':'mocha','XKzQk':'--disable-test-observability','kxAvz':'--disable-browserstack-automation','asTZd':function(_0x42e05c,_0x18b993){return _0x42e05c!=_0x18b993;},'ZoZxl':_0x534e8a(0x136),'KIILf':_0x534e8a(0xdd),'jaEsE':_0x534e8a(0x135),'vgdyw':_0x534e8a(0x11c),'kooFu':function(_0x152387,_0x23c8d2){return _0x152387(_0x23c8d2);},'FKPGz':function(_0x158a4a,_0x32989f,_0x4fdf34){return _0x158a4a(_0x32989f,_0x4fdf34);},'WsLVM':_0x534e8a(0x159),'qivwN':_0x534e8a(0x6b),'OfqmO':'Now,\x20showing\x20logs\x20from\x20mocha','nsrgr':function(_0x70ff65,_0x27c708,_0xed55ef,_0x55fd91){return _0x70ff65(_0x27c708,_0xed55ef,_0x55fd91);},'wmpig':function(_0x1ffb9b,_0x3f6e91){return _0x1ffb9b*_0x3f6e91;},'WLWPD':function(_0x1e151c,_0x102d8f){return _0x1e151c(_0x102d8f);},'dNggV':function(_0x4b9902,_0x38a460){return _0x4b9902!==_0x38a460;}};process[_0x534e8a(0x6e)][_0x534e8a(0x84)](_0x5c385c[_0x534e8a(0x146)])&&(process[_0x534e8a(0xa0)][_0x534e8a(0xb1)]=![]);process[_0x534e8a(0x6e)]['includes'](_0x5c385c[_0x534e8a(0x73)])&&(process['env'][_0x534e8a(0xe4)]=![]);const _0x40fd49=new BrowserStackSetup(_0x51c692,_0x5c385c[_0x534e8a(0xbe)]);helper['isBrowserstackInfra']()?(await _0x40fd49['initialize'](),await helper[_0x534e8a(0xb5)](_0x40fd49[_0x534e8a(0x132)])):await _0x40fd49[_0x534e8a(0xbf)]();const _0x4c46bc=[];let _0x177003=[];if(!_0x40fd49['config'])return;_0x5c385c[_0x534e8a(0xb9)](_0x40fd49['config']['testObservability'],null)&&(process[_0x534e8a(0xa0)][_0x534e8a(0x14c)]=_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0xb3)]);!helper[_0x534e8a(0xa9)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x14b)])&&(process['env'][_0x534e8a(0x11e)]=_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x14b)]);!helper[_0x534e8a(0xa9)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x102)])&&(process[_0x534e8a(0xa0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x534e8a(0x15f)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x102)]));const {extension:extension=['js',_0x5c385c['ZoZxl'],_0x5c385c[_0x534e8a(0x11d)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5c385c[_0x534e8a(0xd0)]]}=_0x51c692,_0x44ba18={..._0x51c692};_0x44ba18[_0x534e8a(0xca)]=null;const _0x410d74=_0x44ba18;let _0x3dcee5;if(testOpsHelper[_0x534e8a(0x69)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x1a8a5d=process['env']['BROWSERSTACK_RERUN_TESTS'];!helper['isUndefined'](_0x40fd49[_0x534e8a(0x86)])&&_0x40fd49[_0x534e8a(0x86)][_0x534e8a(0x15c)](_0x5c385c[_0x534e8a(0x72)])&&(_0x1a8a5d=_0x40fd49[_0x534e8a(0x86)][_0x534e8a(0x111)](_0x5c385c[_0x534e8a(0x72)])),_0x3dcee5=testOpsHelper[_0x534e8a(0x10a)](_0x1a8a5d);}if(helper[_0x534e8a(0xa9)](_0x3dcee5)){const _0x2cc0d7={};_0x2cc0d7[_0x534e8a(0xef)]=ignore,_0x2cc0d7[_0x534e8a(0x104)]=extension,_0x2cc0d7[_0x534e8a(0xe8)]=file,_0x2cc0d7[_0x534e8a(0xc2)]=recursive,_0x2cc0d7[_0x534e8a(0xa7)]=sort,_0x2cc0d7[_0x534e8a(0x148)]=spec,_0x3dcee5=_0x5c385c[_0x534e8a(0xf1)](collectFiles,_0x2cc0d7),_0x5c385c[_0x534e8a(0xad)](nestedKeyValue,_0x3dcee5,[_0x5c385c['WsLVM']])&&(_0x3dcee5=_0x3dcee5[_0x534e8a(0x159)]);}helper['markSDKSetupComplete']();if(!helper['isBrowserstackInfra']()){const _0x145f33=0x1,_0x76fc04={..._0x410d74};_0x76fc04['spec']=[..._0x3dcee5],_0x4c46bc[_0x534e8a(0x119)]({'mochaOpts':_0x76fc04,'configuration':{'platform':os['platform']()}}),logger[_0x534e8a(0xb6)](_0x5c385c[_0x534e8a(0xe3)]),logger['info'](_0x5c385c['OfqmO']),_0x5c385c[_0x534e8a(0xa4)](parallelTestRun,_0x4c46bc,_0x145f33,_0x40fd49)[_0x534e8a(0xd3)](_0x89bd83=>{const _0xf5a9c9=_0x534e8a;_0x5c385c[_0xf5a9c9(0x117)](printStats,_0x89bd83,_0x51c692[_0xf5a9c9(0x78)],_0x51c692['reporterOptions']||_0x51c692[_0x5c385c[_0xf5a9c9(0x15d)]]);})[_0x534e8a(0xc4)](()=>{const _0x2edef7=_0x534e8a;try{const {browserstackFolderPath:_0x1aa200,tcgConfigPath:_0x3a9177}=helper[_0x2edef7(0xa3)]();fs[_0x2edef7(0x9f)](_0x3a9177),fs[_0x2edef7(0xde)](_0x1aa200);}catch(_0x5a5bd2){logger[_0x2edef7(0x90)](_0x5c385c['VyzYs'],_0x5a5bd2);}try{utilities[_0x2edef7(0xf4)](_0x5c385c[_0x2edef7(0x97)],{},_0x40fd49[_0x2edef7(0x132)],_0x40fd49['framework']);}catch(_0x2627af){logger[_0x2edef7(0x90)](_0x2edef7(0x123)+_0x2627af);}try{helper['notifyUpdate']();}catch(_0x249545){logger[_0x2edef7(0x90)](_0x2edef7(0x15e)+_0x249545);}testOpsHelper[_0x2edef7(0x153)]();});}else{const _0x240629=helper['useW3C'](_0x40fd49[_0x534e8a(0x132)]),_0x193269=helper['getHubUrl'](_0x40fd49[_0x534e8a(0x132)]);_0x177003=helper[_0x534e8a(0xe2)](_0x40fd49[_0x534e8a(0x132)],_0x240629,constants[_0x534e8a(0xe6)][_0x534e8a(0x160)]);let _0x8b176f;const _0xeba953=_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0xea)]||helper[_0x534e8a(0x157)](_0x51c692,_0x4b0017,_0x40fd49[_0x534e8a(0x132)],constants[_0x534e8a(0xe6)]['MOCHA'])||0x1;helper[_0x534e8a(0x11b)](_0x40fd49['config'])?_0x8b176f=_0x5c385c[_0x534e8a(0x12b)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x14f)]['length'],_0xeba953):_0x8b176f=_0xeba953;const _0xdb76ac=_0x5c385c['WLWPD'](getPercyOptions,_0x40fd49['config']);if(_0x5c385c[_0x534e8a(0x140)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0xea)],0x1))_0x3dcee5[_0x534e8a(0xc3)](_0x4386d5=>{const _0x5f1cca=_0x534e8a,_0x6ad063=[];_0x177003[_0x5f1cca(0xc3)]((_0x193bb3,_0x211445)=>{const _0x3f440e=_0x5f1cca,_0xc8bb1e={};_0xc8bb1e[_0x3f440e(0x148)]=[_0x4386d5],_0x6ad063[_0x3f440e(0x119)]({'mochaOpts':Object[_0x3f440e(0xc0)]({},_0x410d74,_0xc8bb1e),'configuration':{'server':_0x193269,'capability':_0x193bb3,'proxySettings':_0x40fd49[_0x3f440e(0x132)]['proxySettings'],'platform':helper['getPlatformName'](_0x193bb3),'browserStackLogLevel':_0x40fd49[_0x3f440e(0x132)][_0x3f440e(0x127)],'platformIndex':_0x211445,'browserStackPercyOptions':_0xdb76ac,'platformCaps':_0x40fd49[_0x3f440e(0x132)][_0x3f440e(0x14f)][_0x211445]}});}),_0x4c46bc[_0x5f1cca(0x119)](..._0x6ad063);});else{const _0x322f91=[];_0x177003[_0x534e8a(0xc3)]((_0x2ee446,_0x314ac3)=>{const _0x1665c5=_0x534e8a;let _0x3d2073=Object['assign']({},_0x410d74);testOpsHelper[_0x1665c5(0x69)]()&&testOpsHelper[_0x1665c5(0xf7)]()&&(_0x3d2073={..._0x3d2073,'spec':[..._0x3dcee5]}),_0x322f91[_0x1665c5(0x119)]({'mochaOpts':_0x3d2073,'configuration':{'server':_0x193269,'capability':_0x2ee446,'proxySettings':_0x40fd49[_0x1665c5(0x132)][_0x1665c5(0xfb)],'platform':helper[_0x1665c5(0x139)](_0x2ee446),'browserStackLogLevel':_0x40fd49[_0x1665c5(0x132)][_0x1665c5(0x127)],'platformIndex':_0x314ac3,'browserStackPercyOptions':_0xdb76ac,'platformCaps':_0x40fd49['config'][_0x1665c5(0x14f)][_0x314ac3]}});}),_0x4c46bc['push'](..._0x322f91);}logger[_0x534e8a(0xb6)](_0x534e8a(0x155)+_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x14f)][_0x534e8a(0xf6)]+_0x534e8a(0x9b)),logger[_0x534e8a(0xb6)](_0x5c385c[_0x534e8a(0x162)]);let _0x1da472;_0x5c385c[_0x534e8a(0x117)](parallelTestRun,_0x4c46bc,_0x8b176f,_0x40fd49)[_0x534e8a(0xd3)](_0x504a9d=>{const _0x5e2188=_0x534e8a;_0x1da472=_0x504a9d,_0x5c385c[_0x5e2188(0x117)](printStats,_0x504a9d,_0x51c692[_0x5e2188(0x78)],_0x51c692['reporterOptions']||_0x51c692[_0x5c385c[_0x5e2188(0x15d)]]);})['finally'](async()=>{const _0x18600c=_0x534e8a;_0x40fd49[_0x18600c(0xbd)]=helper[_0x18600c(0x83)](_0x1da472,_0x5c385c[_0x18600c(0xbe)]),await utilities[_0x18600c(0x87)](_0x40fd49),testOpsHelper[_0x18600c(0x153)]();});}}function a28_0x5843(_0x34e8fc,_0x11ac50){const _0x3bff09=a28_0x3bff();return a28_0x5843=function(_0x584347,_0x1a0058){_0x584347=_0x584347-0x69;let _0x16d6f8=_0x3bff09[_0x584347];return _0x16d6f8;},a28_0x5843(_0x34e8fc,_0x11ac50);}module['exports']=run;
|
|
2
|
+
'use strict';const a28_0x12cab0=a28_0x1eca;(function(_0x25e98c,_0x172610){const _0x411a56=a28_0x1eca,_0x215585=_0x25e98c();while(!![]){try{const _0x157a31=-parseInt(_0x411a56(0x140))/0x1*(-parseInt(_0x411a56(0x19c))/0x2)+parseInt(_0x411a56(0x119))/0x3+-parseInt(_0x411a56(0x111))/0x4*(-parseInt(_0x411a56(0x1b9))/0x5)+parseInt(_0x411a56(0x1a2))/0x6*(-parseInt(_0x411a56(0x176))/0x7)+parseInt(_0x411a56(0x1c8))/0x8+-parseInt(_0x411a56(0xfd))/0x9*(parseInt(_0x411a56(0x171))/0xa)+parseInt(_0x411a56(0x1b1))/0xb*(parseInt(_0x411a56(0x14d))/0xc);if(_0x157a31===_0x172610)break;else _0x215585['push'](_0x215585['shift']());}catch(_0xcd7746){_0x215585['push'](_0x215585['shift']());}}}(a28_0x1467,0xf2c04));const chalk=require('chalk'),logger=require(a28_0x12cab0(0x10d))[a28_0x12cab0(0x15b)],{default:BrowserStackSetup}=require(a28_0x12cab0(0x15c)),helper=require(a28_0x12cab0(0x113)),utilities=require(a28_0x12cab0(0x160)),testOpsHelper=require(a28_0x12cab0(0xf8)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x12cab0(0x132)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x12cab0(0x1cb)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require('../utils/constants');function tag(_0xdce492,_0x5c343e,_0x3c1fae,_0x5d265a){const _0x36b20a=a28_0x12cab0,_0x24df38={'eIhJv':function(_0x583dd3,_0x42544b){return _0x583dd3+_0x42544b;},'AwfSZ':function(_0xee986,_0x2c9372){return _0xee986+_0x2c9372;},'CwQTE':function(_0x1d4397,_0x5e6a44){return _0x1d4397(_0x5e6a44);},'dJDVR':function(_0x18b1bf,_0x5d0817){return _0x18b1bf+_0x5d0817;},'DQJIb':function(_0xf78165,_0x4be95b){return _0xf78165+_0x4be95b;},'ESWEf':function(_0x4a47d3,_0x1f2ceb){return _0x4a47d3+_0x1f2ceb;}},_0xc76ee=_0x3c1fae?'/>':'>',_0x3d06ca=[];let _0x49e252;for(const _0x38387c in _0x5c343e){Object[_0x36b20a(0x14e)][_0x36b20a(0x1be)][_0x36b20a(0xfc)](_0x5c343e,_0x38387c)&&_0x3d06ca['push'](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1ba)](_0x38387c,'=\x22'),_0x24df38[_0x36b20a(0x133)](escape,_0x5c343e[_0x38387c])),'\x22'));}return _0x49e252=_0x24df38[_0x36b20a(0x1ba)](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1eb)]('<',_0xdce492),_0x3d06ca['length']?_0x24df38['AwfSZ']('\x20',_0x3d06ca[_0x36b20a(0x115)]('\x20')):''),_0xc76ee),_0x5d265a&&(_0x49e252+=_0x24df38[_0x36b20a(0x101)](_0x24df38[_0x36b20a(0x195)](_0x24df38['ESWEf'](_0x5d265a,'</'),_0xdce492),_0xc76ee)),_0x49e252;}function a28_0x1eca(_0x465ded,_0x8bea0e){const _0x146750=a28_0x1467();return a28_0x1eca=function(_0x1ecaa6,_0x469a29){_0x1ecaa6=_0x1ecaa6-0xf7;let _0x98f6ff=_0x146750[_0x1ecaa6];return _0x98f6ff;},a28_0x1eca(_0x465ded,_0x8bea0e);}let xunitContent='';function xunitWrite(_0x475171){xunitContent+=_0x475171;}function xunitTest(_0x4bac5d,_0x52f170){const _0x175c81=a28_0x12cab0,_0x29257e={'XXrEB':function(_0x241658,_0x541d2c){return _0x241658/_0x541d2c;},'sjIEL':function(_0x218366,_0x4e9d16){return _0x218366===_0x4e9d16;},'dzQGi':_0x175c81(0x1a4),'qnNSv':function(_0x53e88d,_0x8ab1df){return _0x53e88d+_0x8ab1df;},'euOoq':function(_0x39b499,_0x418b28){return _0x39b499(_0x418b28);},'Sewyg':function(_0xcaeae9,_0x1b39ad,_0x2ee4ec,_0x15c433,_0x414751){return _0xcaeae9(_0x1b39ad,_0x2ee4ec,_0x15c433,_0x414751);},'rvKMy':'testcase','QHfzE':_0x175c81(0x17a),'hKshA':function(_0x4ac2df,_0x152253){return _0x4ac2df(_0x152253);},'dGfqd':function(_0x4ae9a0,_0x35cf38){return _0x4ae9a0(_0x35cf38);},'uFycC':function(_0x50e91f,_0x5e47b6){return _0x50e91f(_0x5e47b6);},'bjYIW':function(_0x3ddb5d,_0x78423f){return _0x3ddb5d(_0x78423f);},'UGRxI':function(_0x47d2f9,_0x20b7bf,_0x28e084,_0x4722a1){return _0x47d2f9(_0x20b7bf,_0x28e084,_0x4722a1);},'nVVKK':_0x175c81(0x16b),'HnOqR':function(_0x5adf5f,_0x1bbcd8){return _0x5adf5f(_0x1bbcd8);}};Base['useColors']=![];var _0x6c6e84={'classname':_0x4bac5d[_0x175c81(0x11a)],'name':_0x4bac5d[_0x175c81(0x1b6)],'time':_0x29257e[_0x175c81(0x159)](_0x4bac5d[_0x175c81(0x13d)],0x3e8)||0x0,'platform':_0x52f170};if(_0x29257e['sjIEL'](_0x4bac5d['state'],_0x29257e['dzQGi'])){var _0x2f345e=_0x4bac5d['err'],_0x5262c6=!Base[_0x175c81(0x155)]&&Base[_0x175c81(0x178)](_0x2f345e)?_0x29257e['qnNSv']('\x0a',Base[_0x175c81(0x1d5)](_0x2f345e[_0x175c81(0x116)],_0x2f345e[_0x175c81(0x184)])):'';_0x29257e['euOoq'](xunitWrite,_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e[_0x175c81(0x125)],_0x6c6e84,![],_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e[_0x175c81(0x134)],{},![],_0x29257e[_0x175c81(0x103)](_0x29257e[_0x175c81(0x103)](_0x29257e['qnNSv'](_0x29257e[_0x175c81(0x16a)](escape,_0x2f345e[_0x175c81(0x15e)]),_0x29257e[_0x175c81(0x1a5)](escape,_0x5262c6)),'\x0a'),_0x29257e[_0x175c81(0x10c)](escape,_0x2f345e['stack'])))));}else _0x4bac5d[_0x175c81(0x123)]?_0x29257e[_0x175c81(0x1c6)](xunitWrite,_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e['rvKMy'],_0x6c6e84,![],_0x29257e['UGRxI'](tag,_0x29257e[_0x175c81(0x173)],{},!![]))):_0x29257e['HnOqR'](xunitWrite,_0x29257e[_0x175c81(0x14b)](tag,_0x29257e['rvKMy'],_0x6c6e84,!![]));};function getStats(_0x25ab0a){const _0x3b2429=a28_0x12cab0,_0x2fdcc6={};_0x2fdcc6[_0x3b2429(0x1e2)]=_0x3b2429(0x1e8),_0x2fdcc6[_0x3b2429(0x10f)]=_0x3b2429(0x109),_0x2fdcc6[_0x3b2429(0x104)]='failed',_0x2fdcc6[_0x3b2429(0x1bd)]='results';const _0x2b2a74=_0x2fdcc6,_0x7b95b5=Object[_0x3b2429(0x177)](_0x25ab0a);let _0x233dd8=0x0,_0x40de65=0x0,_0x49c0c2=0x0,_0x16973c=0x0;const _0x5afbe2=new Set();_0x7b95b5[_0x3b2429(0x144)](_0x14cff2=>{const _0x5dee7c=_0x3b2429;_0x25ab0a[_0x14cff2][_0x2b2a74[_0x5dee7c(0x1bd)]][_0x5dee7c(0x144)](_0x3e2372=>{const _0x27bd0d=_0x5dee7c;_0x5afbe2[_0x27bd0d(0x12b)](_0x3e2372[_0x2b2a74['UWZwt']]),_0x233dd8++;switch(_0x3e2372['state']){case _0x2b2a74['dTdFc']:_0x49c0c2++;break;case _0x2b2a74['nDqPw']:_0x40de65++;break;default:_0x16973c++;}});});const _0x2f777a={};return _0x2f777a[_0x3b2429(0x1e3)]=_0x5afbe2[_0x3b2429(0x138)],_0x2f777a[_0x3b2429(0x142)]=_0x7b95b5,_0x2f777a['totalTests']=_0x233dd8,_0x2f777a[_0x3b2429(0x1bf)]=_0x40de65,_0x2f777a[_0x3b2429(0x1d9)]=_0x49c0c2,_0x2f777a['testsPending']=_0x16973c,_0x2f777a;}function errorJSON(_0x3205ae){const _0xf317ff=a28_0x12cab0;var _0x2be261={};return Object[_0xf317ff(0x1bc)](_0x3205ae)[_0xf317ff(0x144)](function(_0xf2604e){_0x2be261[_0xf2604e]=_0x3205ae[_0xf2604e];},_0x3205ae),_0x2be261;}function cleanCycles(_0x5ab7cd){const _0xcdb02e=a28_0x12cab0,_0x256436={};_0x256436['aEfgt']=function(_0x1ec2c9,_0x11cc93){return _0x1ec2c9===_0x11cc93;},_0x256436[_0xcdb02e(0x127)]='object',_0x256436[_0xcdb02e(0x1aa)]=function(_0xea4294,_0x3e3f1d){return _0xea4294!==_0x3e3f1d;},_0x256436['zjzoW']=function(_0x262572,_0x26e24f){return _0x262572!==_0x26e24f;},_0x256436[_0xcdb02e(0x150)]=function(_0x1b5598,_0x2c60f9){return _0x1b5598+_0x2c60f9;};const _0x37265c=_0x256436;var _0x4ca06e=[];return JSON[_0xcdb02e(0x1ca)](JSON[_0xcdb02e(0x1d7)](_0x5ab7cd,function(_0x5b66d2,_0x385d87){const _0xc8cbbc=_0xcdb02e;if(_0x37265c['aEfgt'](typeof _0x385d87,_0x37265c[_0xc8cbbc(0x127)])&&_0x37265c[_0xc8cbbc(0x1aa)](_0x385d87,null)){if(_0x37265c[_0xc8cbbc(0x191)](_0x4ca06e[_0xc8cbbc(0x1b8)](_0x385d87),-0x1))return _0x37265c['PPkjI']('',_0x385d87);_0x4ca06e[_0xc8cbbc(0x17f)](_0x385d87);}return _0x385d87;}));}function clean(_0x215339){const _0x2b6dfe=a28_0x12cab0,_0x388bb2={'XNTpP':function(_0x89f1ed,_0x4718ea){return _0x89f1ed instanceof _0x4718ea;},'ntnty':function(_0x1bcc70,_0x33fc12){return _0x1bcc70(_0x33fc12);}};var _0x26739e=_0x215339['err']||{};return _0x388bb2[_0x2b6dfe(0x1de)](_0x26739e,Error)&&(_0x26739e=_0x388bb2[_0x2b6dfe(0x14a)](errorJSON,_0x26739e)),{'title':_0x215339[_0x2b6dfe(0x1b6)],'fullTitle':_0x215339[_0x2b6dfe(0x11a)],'file':_0x215339['file'],'duration':_0x215339[_0x2b6dfe(0x13d)],'currentRetry':_0x215339[_0x2b6dfe(0x181)],'speed':_0x215339[_0x2b6dfe(0x1f0)],'err':_0x388bb2[_0x2b6dfe(0x14a)](cleanCycles,_0x26739e)};}function printStats(_0xa2c9cd,_0x1b41e6='spec',_0x7d71c1={}){const _0x5acf34=a28_0x12cab0,_0x2c41f1={'xqfIb':function(_0x5c35f1,_0x1285db){return _0x5c35f1(_0x1285db);},'oArcZ':function(_0x483ca6,_0x54f5e7){return _0x483ca6===_0x54f5e7;},'cKUfU':'passed','kWwzQ':_0x5acf34(0x1ae),'qdwKJ':function(_0x4269eb,_0x1d3eec){return _0x4269eb(_0x1d3eec);},'dalJL':_0x5acf34(0x1a4),'kEPkP':_0x5acf34(0x182),'pofyY':_0x5acf34(0x1ec),'HlUpX':_0x5acf34(0x100),'pYxtG':function(_0x2be5af,_0x4d1771){return _0x2be5af*_0x4d1771;},'tvPyW':function(_0x3ee6c9,_0x14042b,_0x1fceab){return _0x3ee6c9(_0x14042b,_0x1fceab);},'EdeLe':function(_0xc0cb8b,_0x311719){return _0xc0cb8b===_0x311719;},'vVdJK':function(_0x5c46cf,_0x3a0595){return _0x5c46cf>_0x3a0595;},'LWQMS':function(_0x3c71f8){return _0x3c71f8();},'mnnCm':function(_0x308b66,_0x27bad7){return _0x308b66===_0x27bad7;},'QlmeZ':_0x5acf34(0x183),'nOHfG':function(_0xe51c62,_0x3b03cf){return _0xe51c62(_0x3b03cf);},'vExqV':_0x5acf34(0x1d2),'jtdCl':_0x5acf34(0x1d3),'jgUwh':function(_0x35a385,_0xf96417){return _0x35a385+_0xf96417;},'zfbTe':_0x5acf34(0x1c3),'OYOTt':_0x5acf34(0x108),'WeDXZ':function(_0x1cbcb7,_0x15689c){return _0x1cbcb7+_0x15689c;},'xipNU':_0x5acf34(0x12d),'JylwB':function(_0x1bef3a,_0x368ca2){return _0x1bef3a+_0x368ca2;},'MaLWH':function(_0x46a81a,_0x286b3e){return _0x46a81a+_0x286b3e;},'QurUg':_0x5acf34(0x124),'SXPXv':function(_0x5ef063,_0x4c655b){return _0x5ef063===_0x4c655b;},'AFtUg':'json','sPBph':_0x5acf34(0x1b2),'ehnEi':'Couldn\x27t\x20write\x20json\x20result\x20to','VEJWf':_0x5acf34(0x1f1),'dqpnl':_0x5acf34(0x10a),'hIZQJ':_0x5acf34(0x180),'OWqCC':function(_0x15e815,_0x2f8449){return _0x15e815||_0x2f8449;},'NfkCy':function(_0x8cbcdc,_0x36628e){return _0x8cbcdc(_0x36628e);},'gfxrc':function(_0x35f992,_0x232143,_0x6bd2d,_0xb5ae61){return _0x35f992(_0x232143,_0x6bd2d,_0xb5ae61);},'NrWPv':'testsuite','fQVzd':function(_0xfd4dc,_0x78a5bc){return _0xfd4dc-_0x78a5bc;},'MugIZ':function(_0x3ad663,_0x16b72d){return _0x3ad663-_0x16b72d;},'KLgXk':function(_0x2fbacc,_0x2fbe18){return _0x2fbacc/_0x2fbe18;},'VrqGO':function(_0x101b28,_0x35ea59){return _0x101b28(_0x35ea59);},'wYyje':_0x5acf34(0x13b),'comar':_0x5acf34(0x175),'awZTR':'Couldn\x27t\x20write\x20xunit\x20result\x20to','ZysVZ':_0x5acf34(0x156),'HPtzZ':function(_0x17b44d,_0x495c2a){return _0x17b44d===_0x495c2a;},'fLgls':_0x5acf34(0x1ef),'IbkZq':'****\x20FAILURES\x20****'};if(_0x2c41f1[_0x5acf34(0x129)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x1e6)]))return;const _0x3b8fcc=0x0,_0x2060e5=()=>{const _0x14369c=_0x5acf34;return _0x2c41f1['xqfIb'](Array,_0x3b8fcc)[_0x14369c(0x115)]('\x20\x20');},{testSuites:_0x543010,platforms:_0x51544d,totalTests:_0x414597,testsFailed:_0x4416eb,testsPassed:_0x196d3b,testsPending:_0x4ce776}=_0x2c41f1[_0x5acf34(0x1cd)](getStats,_0xa2c9cd);_0x2c41f1[_0x5acf34(0x1a3)](_0x4416eb,0x0)&&(logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1ab)]),process[_0x5acf34(0x1bb)]=Math['min'](_0x4416eb,0xff));logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1ce)]);const _0x35c243=''+_0x2c41f1['jgUwh'](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x117)]),_0x51544d[_0x5acf34(0x153)]),_0x1ce472=''+_0x2c41f1[_0x5acf34(0x1dd)](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x136)]),_0x543010),_0x5d0b62=''+_0x2c41f1['jgUwh'](_0x2c41f1[_0x5acf34(0x1dd)](_0x2c41f1[_0x5acf34(0x197)](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x15d)]),_0x2c41f1[_0x5acf34(0x1a3)](_0x4416eb,0x0)?chalk[_0x5acf34(0x172)][_0x5acf34(0x1a9)](_0x4416eb+_0x5acf34(0x1e1))+',\x20':''),_0x2c41f1[_0x5acf34(0x1a3)](_0x4ce776,0x0)?chalk['bold'][_0x5acf34(0x17b)](_0x4ce776+_0x5acf34(0x12c))+',\x20':''),_0x2c41f1[_0x5acf34(0x1a3)](_0x196d3b,0x0)?chalk[_0x5acf34(0x172)]['green'](_0x196d3b+_0x5acf34(0x1e9))+',\x20':'')+_0x414597+'\x20total';console[_0x5acf34(0xf7)](_0x2c41f1[_0x5acf34(0x185)](_0x2c41f1[_0x5acf34(0x1dd)](_0x2c41f1[_0x5acf34(0x185)](_0x2c41f1['MaLWH'](_0x2c41f1[_0x5acf34(0x197)](_0x2c41f1[_0x5acf34(0x1a6)],_0x35c243),'\x0a'),_0x1ce472),'\x0a'),_0x5d0b62));if(_0x2c41f1[_0x5acf34(0x19d)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x179)])){const _0xd335b7={},_0x4f6a98={};_0x4f6a98[_0x5acf34(0x1e3)]=_0x543010,_0x4f6a98[_0x5acf34(0x142)]=_0x51544d,_0x4f6a98[_0x5acf34(0x1bf)]=_0x4416eb,_0x4f6a98[_0x5acf34(0x1d9)]=_0x196d3b,_0x4f6a98['testsPending']=_0x4ce776,_0xd335b7[_0x5acf34(0x130)]=_0x4f6a98,_0x51544d['forEach'](_0x918158=>{const _0x36c6eb=_0x5acf34,_0xeddfed={'BDvTe':function(_0x7ce10c,_0x6b64f2){return _0x2c41f1['oArcZ'](_0x7ce10c,_0x6b64f2);},'fUjqI':_0x2c41f1[_0x36c6eb(0x1ac)],'dyqmm':_0x2c41f1[_0x36c6eb(0x193)],'VhKZX':function(_0x19708c,_0x25d18c){const _0x1189cd=_0x36c6eb;return _0x2c41f1[_0x1189cd(0x19a)](_0x19708c,_0x25d18c);},'yVqcO':_0x2c41f1[_0x36c6eb(0x1b4)],'aaNqY':_0x2c41f1[_0x36c6eb(0x15f)],'SqfNJ':_0x2c41f1[_0x36c6eb(0x145)]};_0xd335b7[_0x918158]={'pending':[],'failures':[],'passes':[],'tests':_0xa2c9cd[_0x918158][_0x2c41f1[_0x36c6eb(0x13e)]][_0x36c6eb(0x16c)](clean)},_0xa2c9cd[_0x918158][_0x2c41f1[_0x36c6eb(0x13e)]][_0x36c6eb(0x144)](_0x371d09=>{const _0x5567c6=_0x36c6eb;if(_0xeddfed[_0x5567c6(0x1cf)](_0x371d09[_0x5567c6(0x147)],_0xeddfed[_0x5567c6(0x118)]))_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x12a)]][_0x5567c6(0x17f)](_0xeddfed[_0x5567c6(0x1ee)](clean,_0x371d09));else _0xeddfed['BDvTe'](_0x371d09[_0x5567c6(0x147)],_0xeddfed['yVqcO'])?_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x1a0)]]['push'](_0xeddfed['VhKZX'](clean,_0x371d09)):_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x199)]]['push'](_0xeddfed[_0x5567c6(0x1ee)](clean,_0x371d09));});});if(_0x7d71c1[_0x5acf34(0x157)])try{logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x174)],_0x7d71c1[_0x5acf34(0x157)]),fs[_0x5acf34(0x18d)](_0x7d71c1[_0x5acf34(0x157)],JSON[_0x5acf34(0x1d7)](_0xd335b7,null,0x3));}catch(_0x14cecf){logger[_0x5acf34(0x1d6)](_0x2c41f1[_0x5acf34(0x1df)],_0x7d71c1[_0x5acf34(0x157)]),logger[_0x5acf34(0x114)](_0x14cecf);}else logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x163)]),console[_0x5acf34(0xf7)](JSON[_0x5acf34(0x1d7)](_0xd335b7,null,0x3));}else{if(_0x2c41f1[_0x5acf34(0x129)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x1ad)])){let _0x120cb5;const _0x36ea57=_0x2c41f1['hIZQJ'];_0x7d71c1&&(_0x120cb5=_0x7d71c1['suiteName']);_0x120cb5=_0x2c41f1[_0x5acf34(0x137)](_0x120cb5,_0x36ea57);let _0x69526b=0x0,_0x321ba6=0x0,_0x4461b0=0x0,_0x279dd8=0x0;_0x51544d[_0x5acf34(0x144)](_0x46da64=>{const _0x39295c=_0x5acf34;_0xa2c9cd[_0x46da64][_0x2c41f1[_0x39295c(0x13e)]][_0x39295c(0x144)](_0x34ebae=>{const _0x1e3715=_0x39295c;if(_0x2c41f1[_0x1e3715(0x102)](_0x34ebae[_0x1e3715(0x147)],_0x2c41f1[_0x1e3715(0x1ac)]))_0x69526b++;else _0x2c41f1[_0x1e3715(0x102)](_0x34ebae[_0x1e3715(0x147)],_0x2c41f1['dalJL'])&&_0x321ba6++;_0x4461b0++,_0x279dd8+=_0x2c41f1[_0x1e3715(0x1c5)](_0x34ebae[_0x1e3715(0x13d)],0x1);});}),_0x2c41f1[_0x5acf34(0x1a8)](xunitWrite,_0x2c41f1[_0x5acf34(0x1c2)](tag,_0x2c41f1['NrWPv'],{'name':_0x120cb5,'tests':_0x4461b0,'failures':0x0,'errors':_0x321ba6,'skipped':_0x2c41f1[_0x5acf34(0x15a)](_0x2c41f1[_0x5acf34(0xfa)](_0x4461b0,_0x321ba6),_0x69526b),'timestamp':new Date()[_0x5acf34(0x1d0)](),'time':_0x2c41f1[_0x5acf34(0x17d)](_0x279dd8,0x3e8)||0x0},![])),_0x51544d['forEach'](_0x41fbe7=>{const _0xb5ab84=_0x5acf34,_0x47e580={'hPMwX':function(_0x14e76f,_0x413077,_0x12e393){const _0x1a57eb=a28_0x1eca;return _0x2c41f1[_0x1a57eb(0x120)](_0x14e76f,_0x413077,_0x12e393);}};_0xa2c9cd[_0x41fbe7][_0x2c41f1['HlUpX']][_0xb5ab84(0x144)](_0x1d81ec=>{_0x47e580['hPMwX'](xunitTest,_0x1d81ec,_0x41fbe7);});}),_0x2c41f1[_0x5acf34(0x135)](xunitWrite,_0x2c41f1[_0x5acf34(0x105)]);if(_0x7d71c1[_0x5acf34(0x157)])try{logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1cc)],_0x7d71c1[_0x5acf34(0x157)]),fs['writeFileSync'](_0x7d71c1[_0x5acf34(0x157)],xunitContent);}catch(_0x2e68e9){logger[_0x5acf34(0x1d6)](_0x2c41f1['awZTR'],_0x7d71c1['output']),logger[_0x5acf34(0x114)](_0x2e68e9);}else logger[_0x5acf34(0x114)](_0x2c41f1['ZysVZ']),console[_0x5acf34(0xf7)](xunitContent);}else{if(_0x2c41f1[_0x5acf34(0x170)](_0x4416eb,0x0))return;console['log'](),logger[_0x5acf34(0x114)](_0x2c41f1['fLgls']),console[_0x5acf34(0xf7)](chalk[_0x5acf34(0x172)][_0x5acf34(0x1a7)](_0x2c41f1[_0x5acf34(0x152)])),_0x51544d['forEach'](_0xff2994=>{const _0x3c309a=_0x5acf34,_0x445d64=[];_0xa2c9cd[_0xff2994][_0x2c41f1[_0x3c309a(0x13e)]]['forEach'](_0x58efd5=>{const _0xd75f6f=_0x3c309a;_0x2c41f1['EdeLe'](_0x58efd5['state'],_0x2c41f1[_0xd75f6f(0x1b4)])&&(_0x58efd5[_0xd75f6f(0x1a1)]=()=>_0x58efd5[_0xd75f6f(0x151)],_0x445d64[_0xd75f6f(0x17f)](_0x58efd5));}),_0x2c41f1[_0x3c309a(0x1a3)](_0x445d64[_0x3c309a(0x153)],0x0)&&(Base[_0x3c309a(0x12f)](),Base[_0x3c309a(0x12f)](_0x2c41f1[_0x3c309a(0x110)](_0x2060e5),chalk['bold'][_0x3c309a(0x112)](_0xff2994)),Base[_0x3c309a(0x1af)](_0x445d64));});}}}async function run(_0x147d9,_0x85a62e){const _0x3d5be3=a28_0x12cab0,_0x126bc4={'aRtVv':function(_0xc6fe8d,_0x7a1089,_0x2fc04a,_0x16be9b){return _0xc6fe8d(_0x7a1089,_0x2fc04a,_0x16be9b);},'DmBxP':_0x3d5be3(0x149),'CiXbO':_0x3d5be3(0x1b3),'sXMbq':_0x3d5be3(0x1d8),'seuRN':function(_0x114597,_0x26d346,_0x2bd9a0,_0x1ee229){return _0x114597(_0x26d346,_0x2bd9a0,_0x1ee229);},'FqnDA':_0x3d5be3(0x17c),'qMoPG':'--disable-test-observability','eoHNA':_0x3d5be3(0x1e4),'SxopH':function(_0x3af9c0,_0x1d6f43){return _0x3af9c0!=_0x1d6f43;},'gqxzN':_0x3d5be3(0x126),'slbdi':'mjs','eBxft':'test','JvVwY':_0x3d5be3(0x196),'cOQQm':function(_0x26219f,_0x3e2f49){return _0x26219f(_0x3e2f49);},'jDILZ':function(_0xec8fc4,_0x2f42ef,_0x8a34b1){return _0xec8fc4(_0x2f42ef,_0x8a34b1);},'Otemn':'files','dlORj':_0x3d5be3(0x17e),'fevGO':_0x3d5be3(0x1da),'dxKWT':function(_0x3b6b8e,_0x4db085,_0x5c23ad,_0x421b30){return _0x3b6b8e(_0x4db085,_0x5c23ad,_0x421b30);},'hEFXQ':function(_0x201dce,_0x10ef03){return _0x201dce*_0x10ef03;},'nyHmQ':function(_0x1fef3a,_0x1adc50){return _0x1fef3a!==_0x1adc50;},'ZgIIM':function(_0x482c44,_0x3a4ea8,_0x17c4ba,_0x1061c9){return _0x482c44(_0x3a4ea8,_0x17c4ba,_0x1061c9);}};process[_0x3d5be3(0x1d1)][_0x3d5be3(0x18c)](_0x126bc4['qMoPG'])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1ed)]=![]);process[_0x3d5be3(0x1d1)][_0x3d5be3(0x18c)](_0x126bc4[_0x3d5be3(0x11d)])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x19f)]=![]);const _0x40e3eb=new BrowserStackSetup(_0x147d9,_0x126bc4[_0x3d5be3(0x10b)]);helper[_0x3d5be3(0x13c)]()?(await _0x40e3eb[_0x3d5be3(0x194)](),await helper['handleApp'](_0x40e3eb['config'])):await _0x40e3eb['setupTCGAuth']();const _0x485683=[];let _0x4ea44b=[];if(!_0x40e3eb[_0x3d5be3(0x162)])return;_0x126bc4[_0x3d5be3(0x139)](_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x14c)],null)&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x13a)]=_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x14c)]);!helper[_0x3d5be3(0x18e)](_0x40e3eb[_0x3d5be3(0x162)]['accessibility'])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1e7)]=_0x40e3eb[_0x3d5be3(0x162)]['accessibility']);!helper[_0x3d5be3(0x18e)](_0x40e3eb['config'][_0x3d5be3(0xff)])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1ea)]=JSON['stringify'](_0x40e3eb['config']['accessibilityOptions']));const {extension:extension=['js',_0x126bc4[_0x3d5be3(0x187)],_0x126bc4[_0x3d5be3(0xf9)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x126bc4[_0x3d5be3(0xfe)]]}=_0x147d9,_0x1ee480={..._0x147d9};_0x1ee480[_0x3d5be3(0x141)]=null;const _0x1b9517=_0x1ee480;let _0xfeaf7;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x3d5be3(0x158)]()){let _0x7ff60b=process['env'][_0x3d5be3(0x192)];!helper[_0x3d5be3(0x18e)](_0x40e3eb['cliConfig'])&&_0x40e3eb[_0x3d5be3(0x121)][_0x3d5be3(0x128)](_0x126bc4[_0x3d5be3(0x1c1)])&&(_0x7ff60b=_0x40e3eb[_0x3d5be3(0x121)][_0x3d5be3(0x1b7)](_0x126bc4[_0x3d5be3(0x1c1)])),_0xfeaf7=testOpsHelper['parseFileNames'](_0x7ff60b);}if(helper[_0x3d5be3(0x18e)](_0xfeaf7)){const _0xe5d22b={};_0xe5d22b[_0x3d5be3(0x11f)]=ignore,_0xe5d22b[_0x3d5be3(0x189)]=extension,_0xe5d22b['file']=file,_0xe5d22b[_0x3d5be3(0x1b0)]=recursive,_0xe5d22b[_0x3d5be3(0x10e)]=sort,_0xe5d22b['spec']=spec,_0xfeaf7=_0x126bc4[_0x3d5be3(0x169)](collectFiles,_0xe5d22b),_0x126bc4[_0x3d5be3(0x146)](nestedKeyValue,_0xfeaf7,[_0x126bc4[_0x3d5be3(0x16d)]])&&(_0xfeaf7=_0xfeaf7['files']);}helper['markSDKSetupComplete']();if(!helper[_0x3d5be3(0x13c)]()){const _0x17c9f5=0x1,_0x30ec63={..._0x1b9517};_0x30ec63[_0x3d5be3(0x11c)]=[..._0xfeaf7],_0x485683[_0x3d5be3(0x17f)]({'mochaOpts':_0x30ec63,'configuration':{'platform':os['platform']()}}),logger[_0x3d5be3(0x131)](_0x126bc4[_0x3d5be3(0x1c4)]),logger[_0x3d5be3(0x131)](_0x126bc4[_0x3d5be3(0x1c7)]),_0x126bc4[_0x3d5be3(0x13f)](parallelTestRun,_0x485683,_0x17c9f5,_0x40e3eb)[_0x3d5be3(0x16f)](_0x5dd941=>{const _0x5de852=_0x3d5be3;_0x126bc4[_0x5de852(0x190)](printStats,_0x5dd941,_0x147d9['reporter'],_0x147d9[_0x5de852(0x154)]||_0x147d9[_0x126bc4[_0x5de852(0x1e0)]]);})[_0x3d5be3(0x186)](()=>{const _0x5501e0=_0x3d5be3;try{const {browserstackFolderPath:_0x1786fc,tcgConfigPath:_0x5493e5}=helper[_0x5501e0(0xfb)]();fs[_0x5501e0(0x1b5)](_0x5493e5),fs['rmdirSync'](_0x1786fc);}catch(_0xb6eae5){logger[_0x5501e0(0x114)](_0x126bc4[_0x5501e0(0x167)],_0xb6eae5);}try{utilities[_0x5501e0(0x106)](_0x126bc4[_0x5501e0(0x1e5)],{},_0x40e3eb[_0x5501e0(0x162)],_0x40e3eb[_0x5501e0(0x1c0)]);}catch(_0x133338){logger[_0x5501e0(0x114)](_0x5501e0(0x164)+_0x133338);}try{helper['notifyUpdate']();}catch(_0x59e141){logger[_0x5501e0(0x114)](_0x5501e0(0x122)+_0x59e141);}testOpsHelper[_0x5501e0(0x16e)]();});}else{const _0x40efdc=helper[_0x3d5be3(0x166)](_0x40e3eb[_0x3d5be3(0x162)]),_0x7c80e2=helper[_0x3d5be3(0x18f)](_0x40e3eb['config']);_0x4ea44b=helper['prepareCapabilities'](_0x40e3eb[_0x3d5be3(0x162)],_0x40efdc,constants[_0x3d5be3(0x168)][_0x3d5be3(0x19b)]);let _0x1c6b0d;const _0x211939=_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x161)]||helper[_0x3d5be3(0x165)](_0x147d9,_0x85a62e,_0x40e3eb['config'],constants[_0x3d5be3(0x168)][_0x3d5be3(0x19b)])||0x1;helper[_0x3d5be3(0x148)](_0x40e3eb['config'])?_0x1c6b0d=_0x126bc4['hEFXQ'](_0x40e3eb['config'][_0x3d5be3(0x142)][_0x3d5be3(0x153)],_0x211939):_0x1c6b0d=_0x211939;const _0x1e6c2f=_0x126bc4[_0x3d5be3(0x169)](getPercyOptions,_0x40e3eb[_0x3d5be3(0x162)]);if(_0x126bc4['nyHmQ'](_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x161)],0x1))_0xfeaf7[_0x3d5be3(0x144)](_0x46670d=>{const _0x1d1a20=[];_0x4ea44b['forEach']((_0x291af8,_0x34593f)=>{const _0x1e7a04=a28_0x1eca,_0x39bb6a={};_0x39bb6a['spec']=[_0x46670d],_0x1d1a20[_0x1e7a04(0x17f)]({'mochaOpts':Object[_0x1e7a04(0x18b)]({},_0x1b9517,_0x39bb6a),'configuration':{'server':_0x7c80e2,'capability':_0x291af8,'proxySettings':_0x40e3eb[_0x1e7a04(0x162)][_0x1e7a04(0x143)],'platform':helper[_0x1e7a04(0x19e)](_0x291af8),'browserStackLogLevel':_0x40e3eb[_0x1e7a04(0x162)][_0x1e7a04(0x12e)],'platformIndex':_0x34593f,'browserStackPercyOptions':_0x1e6c2f,'platformCaps':_0x40e3eb[_0x1e7a04(0x162)]['platforms'][_0x34593f]}});}),_0x485683['push'](..._0x1d1a20);});else{const _0x26249e=[];_0x4ea44b[_0x3d5be3(0x144)]((_0x3a8b09,_0xd9e9c0)=>{const _0x851305=_0x3d5be3;let _0x544e03=Object[_0x851305(0x18b)]({},_0x1b9517);testOpsHelper[_0x851305(0x1dc)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x544e03={..._0x544e03,'spec':[..._0xfeaf7]}),_0x26249e[_0x851305(0x17f)]({'mochaOpts':_0x544e03,'configuration':{'server':_0x7c80e2,'capability':_0x3a8b09,'proxySettings':_0x40e3eb['config'][_0x851305(0x143)],'platform':helper[_0x851305(0x19e)](_0x3a8b09),'browserStackLogLevel':_0x40e3eb[_0x851305(0x162)][_0x851305(0x12e)],'platformIndex':_0xd9e9c0,'browserStackPercyOptions':_0x1e6c2f,'platformCaps':_0x40e3eb[_0x851305(0x162)][_0x851305(0x142)][_0xd9e9c0]}});}),_0x485683[_0x3d5be3(0x17f)](..._0x26249e);}logger[_0x3d5be3(0x131)](_0x3d5be3(0x198)+_0x40e3eb[_0x3d5be3(0x162)]['platforms'][_0x3d5be3(0x153)]+_0x3d5be3(0x1d4)),logger['info'](_0x126bc4['fevGO']);let _0x5a5eb8;_0x126bc4[_0x3d5be3(0x107)](parallelTestRun,_0x485683,_0x1c6b0d,_0x40e3eb)['then'](_0x568d54=>{const _0xf8b693=_0x3d5be3;_0x5a5eb8=_0x568d54,_0x126bc4[_0xf8b693(0x1db)](printStats,_0x568d54,_0x147d9[_0xf8b693(0x11b)],_0x147d9[_0xf8b693(0x154)]||_0x147d9[_0x126bc4['DmBxP']]);})[_0x3d5be3(0x186)](async()=>{const _0xf7bab5=_0x3d5be3;_0x40e3eb[_0xf7bab5(0x14f)]=helper['getErrorMessageFromResults'](_0x5a5eb8,_0x126bc4['FqnDA']),await utilities[_0xf7bab5(0x18a)](_0x40e3eb),testOpsHelper['printBuildLink']();});}}module[a28_0x12cab0(0x188)]=run;function a28_0x1467(){const _0x1b0ddf=['cKUfU','dqpnl','passes','list','recursive','11leTeQO','Writing\x20json\x20result\x20to\x20file','error\x20removing\x20tcg\x20config\x20file','dalJL','unlinkSync','title','get','indexOf','8962145ZAzdrN','AwfSZ','exitCode','getOwnPropertyNames','lbBTC','hasOwnProperty','testsFailed','framework','JvVwY','gfxrc','Total\x20Platforms:\x20','dlORj','pYxtG','bjYIW','fevGO','11724960pYiPoV','Sewyg','parse','../../helpers/percy/utils','comar','nOHfG','jtdCl','BDvTe','toUTCString','argv','Setting\x20non\x20exit\x20code\x20for\x20failures','Printing\x20stats\x20of\x20tests','\x20platforms','generateDiff','error','stringify','SDKTestSuccessful','testsPassed','Now,\x20showing\x20logs\x20from\x20mocha','seuRN','isTestObservabilitySession','jgUwh','XNTpP','ehnEi','DmBxP','\x20failed','UWZwt','testSuites','--disable-browserstack-automation','sXMbq','QlmeZ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','suite','\x20passed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','eIhJv','pending','BROWSERSTACK_TEST_OBSERVABILITY','VhKZX','Listing\x20all\x20the\x20failures','speed','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','log','../../helpers/test-observability/utils','slbdi','MugIZ','getTCGConfigFilePaths','call','4509657cPXqvd','eBxft','accessibilityOptions','results','dJDVR','oArcZ','qnNSv','nDqPw','wYyje','fireFunnelTestEvent','ZgIIM','Total\x20Suites:\x20','passed','xunit','FqnDA','uFycC','../../helpers/logger','sort','dTdFc','LWQMS','4fMhiiP','bgBlueBright','../../helpers/helper','debug','join','actual','zfbTe','fUjqI','1015311SOkXUN','fullTitle','reporter','spec','eoHNA','env','ignore','tvPyW','cliConfig','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','isPending','\x0a\x0a\x0a','rvKMy','cjs','JDclA','has','mnnCm','dyqmm','add','\x20skipped','Tests:\x20\x20\x20\x20\x20\x20\x20','logLevel','consoleLog','stats','info','../test-runner','CwQTE','QHfzE','VrqGO','OYOTt','OWqCC','size','SxopH','BROWSERSTACK_TEST_OBSERVABILITY_YML','</testsuite>','isBrowserstackInfra','duration','HlUpX','dxKWT','105929HSPHFz','rootHooks','platforms','proxySettings','forEach','pofyY','jDILZ','state','validPlatformsPresent','reporter-option','ntnty','UGRxI','testObservability','2653716DeCFGw','prototype','errorMessage','PPkjI','titlePathV','IbkZq','length','reporterOptions','hideDiff','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','output','shouldReRunObservabilityTests','XXrEB','fQVzd','winstonLogger','../../helpers/BrowserStackSetup','xipNU','message','kEPkP','../../helpers/utilities','parallelsPerPlatform','config','VEJWf','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getUserWorkerCount','useW3C','CiXbO','FRAMEWORKS','cOQQm','hKshA','skipped','map','Otemn','printBuildLink','then','HPtzZ','30eKWsyu','bold','nVVKK','sPBph','Writing\x20xunit\x20result\x20to\x20file','7kOeTqs','keys','showDiff','AFtUg','failure','yellow','mocha','KLgXk','Running\x20your\x20mocha\x20tests','push','Mocha\x20Tests','currentRetry','failures','doc','expected','JylwB','finally','gqxzN','exports','extension','finalExecution','assign','includes','writeFileSync','isUndefined','getHubUrl','aRtVv','zjzoW','BROWSERSTACK_RERUN_TESTS','kWwzQ','initialize','DQJIb','rerunTests','WeDXZ','Running\x20your\x20mocha\x20tests\x20across\x20','SqfNJ','qdwKJ','MOCHA','12lGpqbs','SXPXv','getPlatformName','BROWSERSTACK_AUTOMATION','aaNqY','titlePath','11734056zunIOK','vVdJK','failed','dGfqd','QurUg','bgRedBright','NfkCy','red','fyKNH','vExqV'];a28_0x1467=function(){return _0x1b0ddf;};return a28_0x1467();}
|