browserstack-node-sdk 1.34.13 → 1.34.14
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/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
|
-
function
|
|
1
|
+
function a23_0x5067(){const _0x22cdd5=['rmSync','HEWmI','45936guqxQJ','unlinkSync','exports','toString','BROWSERSTACK_TESTHUB_UUID','setTestData','dirPath','4226870icpWvU','env','_test','../../../helpers/helper','2zfhijy','_projectId','8149460MHkTlj','.browserstack','setTestUUID','uuid','aIAvj','getFilePath','join','setup','path','writeFileSync','stringify','ZnAAJ','705868kTDVGD','4621925JYjZeT','jest-o11y-','773479SaAucV','164CAdPrv','ENV_VAR','retry','recursive','etrOf','gBeeA','homedir','12jfHIeX','XalCQ','getTestUUID','btlPe','readFileSync','getTestRunIdFromTestInfo','parse','tests','42678JFqndw','mkdirSync','existsSync','removeTestUUID','927aEieIQ','testData.json','../../../helpers/testhub/constants'];a23_0x5067=function(){return _0x22cdd5;};return a23_0x5067();}function a23_0x4ab8(_0x4b8d6a,_0x3e32a5){const _0x5067c3=a23_0x5067();return a23_0x4ab8=function(_0x4ab848,_0x140d47){_0x4ab848=_0x4ab848-0x1ba;let _0x335320=_0x5067c3[_0x4ab848];return _0x335320;},a23_0x4ab8(_0x4b8d6a,_0x3e32a5);}const a23_0x4596b0=a23_0x4ab8;(function(_0x26457b,_0x34a55d){const _0x2d38e5=a23_0x4ab8,_0x319043=_0x26457b();while(!![]){try{const _0xa4afc=parseInt(_0x2d38e5(0x1e7))/0x1*(parseInt(_0x2d38e5(0x1c0))/0x2)+-parseInt(_0x2d38e5(0x1d3))/0x3*(parseInt(_0x2d38e5(0x1c4))/0x4)+parseInt(_0x2d38e5(0x1e3))/0x5+parseInt(_0x2d38e5(0x1cb))/0x6*(parseInt(_0x2d38e5(0x1c3))/0x7)+parseInt(_0x2d38e5(0x1dc))/0x8*(parseInt(_0x2d38e5(0x1d7))/0x9)+-parseInt(_0x2d38e5(0x1e9))/0xa+-parseInt(_0x2d38e5(0x1c1))/0xb;if(_0xa4afc===_0x34a55d)break;else _0x319043['push'](_0x319043['shift']());}catch(_0x3a8a78){_0x319043['push'](_0x319043['shift']());}}}(a23_0x5067,0x851fb));const fs=require('fs'),path=require(a23_0x4596b0(0x1bc)),{v4:uuidv4}=require(a23_0x4596b0(0x1ec)),helper=require(a23_0x4596b0(0x1e6)),testHubConstants=require(a23_0x4596b0(0x1d9));class TestDetails{static [a23_0x4596b0(0x1d2)]={};static [a23_0x4596b0(0x1e2)]=path[a23_0x4596b0(0x1ba)](helper['homedir'](),a23_0x4596b0(0x1ea),a23_0x4596b0(0x1c2)+process['env'][testHubConstants[a23_0x4596b0(0x1c5)][a23_0x4596b0(0x1e0)]]);static[a23_0x4596b0(0x1bb)](){const _0x57840f=a23_0x4596b0,_0x38b1cc={};_0x38b1cc[_0x57840f(0x1bf)]=_0x57840f(0x1ea);const _0x479ae4=_0x38b1cc;this[_0x57840f(0x1e2)]=path[_0x57840f(0x1ba)](helper[_0x57840f(0x1ca)](),_0x479ae4['ZnAAJ'],_0x57840f(0x1c2)+process[_0x57840f(0x1e4)][testHubConstants[_0x57840f(0x1c5)][_0x57840f(0x1e0)]]),this['shutdown']();const _0x57ee35={};_0x57ee35[_0x57840f(0x1c7)]=!![],fs[_0x57840f(0x1d4)](this[_0x57840f(0x1e2)],_0x57ee35);}static[a23_0x4596b0(0x1ee)](_0x5c2a7b){const _0x3f1464=a23_0x4596b0,_0x1d628f={};_0x1d628f[_0x3f1464(0x1c8)]=function(_0x488ae8,_0x232b2f){return _0x488ae8+_0x232b2f;},_0x1d628f['gBeeA']='.json';const _0x196a32=_0x1d628f;return path[_0x3f1464(0x1ba)](this[_0x3f1464(0x1e2)],_0x196a32[_0x3f1464(0x1c8)](_0x5c2a7b,_0x196a32[_0x3f1464(0x1c9)]));}static[a23_0x4596b0(0x1d0)](_0x2c9aed){const _0x28eaee=a23_0x4596b0,_0x234774={};_0x234774[_0x28eaee(0x1ce)]=function(_0x57c6f9,_0x28e6d8){return _0x57c6f9+_0x28e6d8;},_0x234774[_0x28eaee(0x1cc)]=function(_0x448c02,_0x1050f2){return _0x448c02+_0x1050f2;};const _0x39aeb1=_0x234774;return _0x39aeb1[_0x28eaee(0x1ce)](_0x39aeb1[_0x28eaee(0x1ce)](_0x39aeb1[_0x28eaee(0x1cc)](_0x39aeb1[_0x28eaee(0x1cc)](_0x2c9aed[_0x28eaee(0x1e5)][_0x28eaee(0x1e8)],'-'),_0x2c9aed['_test']['id']),'-'),_0x2c9aed[_0x28eaee(0x1c6)]);}static[a23_0x4596b0(0x1cd)](_0x5bf4a6){const _0x5d9d89=a23_0x4596b0,_0xd1c60c=this[_0x5d9d89(0x1ee)](_0x5bf4a6);if(fs[_0x5d9d89(0x1d5)](_0xd1c60c)){const _0x47d753=JSON[_0x5d9d89(0x1d1)](fs[_0x5d9d89(0x1cf)](_0xd1c60c)[_0x5d9d89(0x1df)]());return this[_0x5d9d89(0x1d2)][_0x5bf4a6]=_0x47d753,this[_0x5d9d89(0x1d2)][_0x5bf4a6][_0x5d9d89(0x1ec)];}}static[a23_0x4596b0(0x1e1)](_0x26ae78){const _0x65427c=a23_0x4596b0,_0xcea022={};_0xcea022[_0x65427c(0x1ed)]=_0x65427c(0x1d8);const _0x26991a=_0xcea022,_0x500834=path[_0x65427c(0x1ba)](this[_0x65427c(0x1e2)],_0x26991a['aIAvj']);fs['writeFileSync'](_0x500834,JSON[_0x65427c(0x1be)](_0x26ae78));}static['getTestData'](){const _0x49103f=a23_0x4596b0,_0x3e9d3e={};_0x3e9d3e['kogTK']='testData.json';const _0xd3338=_0x3e9d3e,_0x2df130=path[_0x49103f(0x1ba)](this[_0x49103f(0x1e2)],_0xd3338['kogTK']);let _0x35f0a1={};try{return fs[_0x49103f(0x1d5)](_0x2df130)&&(_0x35f0a1=JSON['parse'](fs['readFileSync'](_0x2df130)['toString']())),_0x35f0a1;}catch(_0x5af70c){return _0x35f0a1;}}static[a23_0x4596b0(0x1eb)](_0xcdb893){const _0x1e9c25=a23_0x4596b0,_0x40f239={'HEWmI':function(_0x1331f7){return _0x1331f7();}},_0x1b81e4=this['getFilePath'](_0xcdb893);return this[_0x1e9c25(0x1d2)][_0xcdb893]={'uuid':_0x40f239[_0x1e9c25(0x1db)](uuidv4)},fs[_0x1e9c25(0x1bd)](_0x1b81e4,JSON['stringify'](this[_0x1e9c25(0x1d2)][_0xcdb893])),this[_0x1e9c25(0x1d2)][_0xcdb893]['uuid'];}static[a23_0x4596b0(0x1d6)](_0x13ce6c){const _0x4db187=a23_0x4596b0,_0x968594=this[_0x4db187(0x1ee)](_0x13ce6c);fs[_0x4db187(0x1d5)](_0x968594)&&fs[_0x4db187(0x1dd)](_0x968594);}static['shutdown'](){const _0x3c08fd=a23_0x4596b0,_0x2a744a={};_0x2a744a['recursive']=!![],_0x2a744a['force']=!![],fs[_0x3c08fd(0x1da)](this[_0x3c08fd(0x1e2)],_0x2a744a);}}module[a23_0x4596b0(0x1de)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a24_0x599b92=a24_0x22e4;function a24_0x3085(){const _0x2c84ea=['520900huPZPO','88879dfpcSI','../../helpers/setKeepAlive','2NPIcXg','198qDqCWR','../../helpers/helper','178701GDqpKm','18224hJdhua','837495aKtGmv','1237116iBymyh','selenium-webdriver','617280txViJs','__webdriver'];a24_0x3085=function(){return _0x2c84ea;};return a24_0x3085();}(function(_0x340f5c,_0x5e5047){const _0x5ce2fd=a24_0x22e4,_0x4f9335=_0x340f5c();while(!![]){try{const _0x56bb10=parseInt(_0x5ce2fd(0x118))/0x1+-parseInt(_0x5ce2fd(0x10e))/0x2*(-parseInt(_0x5ce2fd(0x111))/0x3)+-parseInt(_0x5ce2fd(0x114))/0x4+-parseInt(_0x5ce2fd(0x116))/0x5+-parseInt(_0x5ce2fd(0x10f))/0x6*(-parseInt(_0x5ce2fd(0x119))/0x7)+parseInt(_0x5ce2fd(0x112))/0x8+-parseInt(_0x5ce2fd(0x113))/0x9;if(_0x56bb10===_0x5e5047)break;else _0x4f9335['push'](_0x4f9335['shift']());}catch(_0x104a61){_0x4f9335['push'](_0x4f9335['shift']());}}}(a24_0x3085,0x74334));const {requireModule}=require(a24_0x599b92(0x110));require(a24_0x599b92(0x11a))();const __wd__=requireModule(a24_0x599b92(0x115));function a24_0x22e4(_0xb1abf0,_0x31d2a3){const _0x30856c=a24_0x3085();return a24_0x22e4=function(_0x22e475,_0x1ce6f0){_0x22e475=_0x22e475-0x10e;let _0x5e9e7c=_0x30856c[_0x22e475];return _0x5e9e7c;},a24_0x22e4(_0xb1abf0,_0x31d2a3);}for(const key of Object['keys'](global[a24_0x599b92(0x117)])){__wd__[key]=global['__webdriver'][key];}
|
|
@@ -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
|
+
function a25_0x1c26(_0x1134d2,_0x3ff5dd){const _0x37b9d7=a25_0x37b9();return a25_0x1c26=function(_0x1c267f,_0x407a0a){_0x1c267f=_0x1c267f-0x10d;let _0x3e974c=_0x37b9d7[_0x1c267f];return _0x3e974c;},a25_0x1c26(_0x1134d2,_0x3ff5dd);}const a25_0x3152a9=a25_0x1c26;function a25_0x37b9(){const _0x321eaf=['_configuration','299134iRjQQg','path','../../helpers/ai-sdk/autoHealHelper','582Htrpik','43720NLXWEZ','testsPending','_bsConfig','totalTests','jnQdt','platformCaps','801qnzHla','testsSkipped','setupCucumber','testsErrorMessage','29806vcDhaI','../../helpers/accessibility-automation/helper','mochaOpts','testsPassed','266204VMkkWz','testsUnknown','setFramework','44sAxvci','../utils/constants','qZuUp','14027wlIuKt','212045vdjQMX','2PGhWXV','_capability','../../helpers/test-observability/utils','447843KzuDFb','_mochaOpts','platform','split','resolvePaths','6972Icbtut','10QAmSsI','AI_ENABLED_FRAMEWORK','testsFailed','__platform__','capability'];a25_0x37b9=function(){return _0x321eaf;};return a25_0x37b9();}(function(_0x32e270,_0x29b805){const _0x358e6e=a25_0x1c26,_0x234b71=_0x32e270();while(!![]){try{const _0x3d7aef=-parseInt(_0x358e6e(0x117))/0x1*(-parseInt(_0x358e6e(0x10f))/0x2)+-parseInt(_0x358e6e(0x11a))/0x3+-parseInt(_0x358e6e(0x112))/0x4*(-parseInt(_0x358e6e(0x116))/0x5)+parseInt(_0x358e6e(0x129))/0x6*(-parseInt(_0x358e6e(0x134))/0x7)+parseInt(_0x358e6e(0x12a))/0x8*(-parseInt(_0x358e6e(0x130))/0x9)+parseInt(_0x358e6e(0x120))/0xa*(parseInt(_0x358e6e(0x126))/0xb)+-parseInt(_0x358e6e(0x11f))/0xc*(-parseInt(_0x358e6e(0x115))/0xd);if(_0x3d7aef===_0x29b805)break;else _0x234b71['push'](_0x234b71['shift']());}catch(_0x128ee8){_0x234b71['push'](_0x234b71['shift']());}}}(a25_0x37b9,0x528b8));const path=require(a25_0x3152a9(0x127)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a25_0x3152a9(0x113)),{isAccessibilityAutomationSession}=require(a25_0x3152a9(0x135)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a25_0x3152a9(0x119)),helper=require('../../helpers/helper'),{commandRepository}=require(a25_0x3152a9(0x128));class Launcher{constructor(_0x3009f9,_0x3f07a9,_0x5a86da,_0x1d265a=[]){const _0x3646a3=a25_0x3152a9,_0x337f3c={'qZuUp':'19|13|6|2|22|12|0|17|8|3|1|16|23|10|7|14|11|4|5|18|15|21|20|9','jnQdt':function(_0x9d5a25){return _0x9d5a25();}},_0x10c384=_0x337f3c[_0x3646a3(0x114)][_0x3646a3(0x11d)]('|');let _0x377118=0x0;while(!![]){switch(_0x10c384[_0x377118++]){case'0':global[_0x3646a3(0x123)]=this[_0x3646a3(0x125)][_0x3646a3(0x11c)];continue;case'1':this['_accessibilityAutomation']=_0x337f3c[_0x3646a3(0x12e)](isAccessibilityAutomationSession);continue;case'2':this[_0x3646a3(0x11b)]=_0x3f07a9[_0x3646a3(0x10d)];continue;case'3':this['_testObservability']=_0x337f3c[_0x3646a3(0x12e)](isTestObservabilitySession);continue;case'4':global[_0x3646a3(0x131)]=0x0;continue;case'5':global['testSuitesFailed']=0x0;continue;case'6':this[_0x3646a3(0x125)]['framework']=_0x3009f9;continue;case'7':global[_0x3646a3(0x10e)]=0x0;continue;case'8':this[_0x3646a3(0x12c)]=_0x5a86da;continue;case'9':!constants[_0x3646a3(0x121)]['includes'](_0x3009f9)&&(commandRepository['setConfig'](_0x5a86da),commandRepository[_0x3646a3(0x111)](_0x3009f9));continue;case'10':global[_0x3646a3(0x12d)]=0x0;continue;case'11':global[_0x3646a3(0x12b)]=0x0;continue;case'12':this[_0x3646a3(0x118)]=this['_configuration'][_0x3646a3(0x124)];continue;case'13':this[_0x3646a3(0x125)]=_0x3f07a9['configuration']||{};continue;case'14':global[_0x3646a3(0x122)]=0x0;continue;case'15':global[_0x3646a3(0x110)]=0x0;continue;case'16':global['__platformCaps']=this[_0x3646a3(0x125)][_0x3646a3(0x12f)]||{};continue;case'17':this['_argv']=_0x1d265a;continue;case'18':global['testsUndefined']=0x0;continue;case'19':this['_framework']=_0x3009f9;continue;case'20':global[_0x3646a3(0x133)]={};continue;case'21':global['testsAmbiguous']=0x0;continue;case'22':this['_formatter']=_0x3f07a9['formatter'];continue;case'23':global['testSuites']=0x0;continue;}break;}}[a25_0x3152a9(0x132)](_0x31644d,_0x438e3b,_0x143399){const _0x2e6f51=a25_0x3152a9,_0x102a5a=_0x31644d[_0x2e6f51(0x11e)];_0x31644d.resolvePaths=async function(){const pathResults=await _0x102a5a.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x143399));return pathResults;},_0x438e3b.push('--format'),_0x438e3b.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 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a26_0x4439e9=a26_0x4642;function a26_0x4642(_0x2a3ebf,_0x55fb1f){const _0x5b36d6=a26_0x5b36();return a26_0x4642=function(_0x4642ef,_0x62dc1c){_0x4642ef=_0x4642ef-0xf1;let _0x54ccfc=_0x5b36d6[_0x4642ef];return _0x54ccfc;},a26_0x4642(_0x2a3ebf,_0x55fb1f);}function a26_0x5b36(){const _0x565950=['isUndefined','FqOFZ','PWxud','68EtxRmh','Dejrh','8VPjJGZ','authToken','BQyNP','nestedKeyValue','zBQRM','Options','accessibility','1436661FdQhIo','fetchPlatformDetails','chromeOptions','browserstack.accessibilityOptions','BS_A11Y_JWT','setExtension','capabilities_','EpQuZ','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','get','HBJoH','581401PPIemC','accessibilityOptions','browserstack.accessibility','getBrowserVersion','getBrowserName','JpaiV','env','Exception\x20in\x20setExtension\x20Error:\x20','isAccessibilityPlatform','8345953pckHli','mhsiO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','--headless','browser_version','yrpvH','options_','MaBSH','device','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','setAccessibilityCapabilities','winstonLogger','warn','bstack:options','setGlobal','latest','scannerVersion','62660LyQKip','capability','20mlvbOl','../../../helpers/globals','986904vlpXkz','cQanv','67677OviYfe','parse','args','PvvQR','selenium-webdriver/chrome.js','debug','format','browserVersion','deviceName','JwYQG','26QINGnE','5658163gcsRMu','browserstack','zcxzO','util','jUAci','2doIcan','54jWcbwu','nKsoE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','requireModule'];a26_0x5b36=function(){return _0x565950;};return a26_0x5b36();}(function(_0x3cfccd,_0x32be64){const _0xbf6cf1=a26_0x4642,_0x22a79f=_0x3cfccd();while(!![]){try{const _0x48cd4a=-parseInt(_0xbf6cf1(0x106))/0x1*(-parseInt(_0xbf6cf1(0x136))/0x2)+parseInt(_0xbf6cf1(0x126))/0x3*(parseInt(_0xbf6cf1(0xf2))/0x4)+parseInt(_0xbf6cf1(0x120))/0x5*(parseInt(_0xbf6cf1(0x137))/0x6)+-parseInt(_0xbf6cf1(0x131))/0x7*(-parseInt(_0xbf6cf1(0xf4))/0x8)+-parseInt(_0xbf6cf1(0xfb))/0x9*(parseInt(_0xbf6cf1(0x122))/0xa)+-parseInt(_0xbf6cf1(0x10f))/0xb+-parseInt(_0xbf6cf1(0x124))/0xc*(parseInt(_0xbf6cf1(0x130))/0xd);if(_0x48cd4a===_0x32be64)break;else _0x22a79f['push'](_0x22a79f['shift']());}catch(_0x2617a2){_0x22a79f['push'](_0x22a79f['shift']());}}}(a26_0x5b36,0x9d1d0));const path=require('path'),os=require('os'),util=require(a26_0x4439e9(0x134)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a26_0x4439e9(0x123)),logger=require('../../../helpers/logger')[a26_0x4439e9(0x11a)];exports[a26_0x4439e9(0x119)]=_0xacd0de=>{const _0x30b24c=a26_0x4439e9,_0xa25fb0={};_0xa25fb0[_0x30b24c(0xf6)]=_0x30b24c(0x11c),_0xa25fb0[_0x30b24c(0x105)]=_0x30b24c(0x108),_0xa25fb0[_0x30b24c(0x12f)]=_0x30b24c(0x10e),_0xa25fb0[_0x30b24c(0xf3)]=_0x30b24c(0xfe);const _0x1ecea8=_0xa25fb0;try{const _0x3d849f=_0xacd0de[_0x30b24c(0x121)]||{};if(_0x3d849f[_0x1ecea8['BQyNP']]&&_0x3d849f[_0x1ecea8['BQyNP']][_0x30b24c(0xfa)]||_0xacd0de['capability'][_0x1ecea8[_0x30b24c(0x105)]]){globals[_0x30b24c(0x11d)](_0x1ecea8['JwYQG'],!![]);if(_0x3d849f[_0x1ecea8[_0x30b24c(0xf6)]]){if(_0x3d849f[_0x1ecea8[_0x30b24c(0xf6)]]['accessibilityOptions'])_0x3d849f[_0x1ecea8[_0x30b24c(0xf6)]][_0x30b24c(0x107)][_0x30b24c(0xf5)]=process['env'][_0x30b24c(0xff)];else{const _0x3a9b8a={};_0x3a9b8a[_0x30b24c(0xf5)]=process[_0x30b24c(0x10c)][_0x30b24c(0xff)],_0x3d849f[_0x1ecea8[_0x30b24c(0xf6)]][_0x30b24c(0x107)]=_0x3a9b8a;}_0x3d849f[_0x1ecea8['BQyNP']]['accessibilityOptions'][_0x30b24c(0x11f)]=JSON['parse'](process['env'][_0x30b24c(0x139)])[_0x30b24c(0x11f)];}else{if(_0xacd0de[_0x30b24c(0x121)][_0x1ecea8[_0x30b24c(0x105)]]){if(_0x3d849f[_0x1ecea8[_0x30b24c(0xf3)]])_0x3d849f[_0x1ecea8[_0x30b24c(0xf3)]]['authToken']=process[_0x30b24c(0x10c)][_0x30b24c(0xff)];else{const _0x2c0a8d={};_0x2c0a8d[_0x30b24c(0xf5)]=process[_0x30b24c(0x10c)]['BS_A11Y_JWT'],_0x3d849f[_0x1ecea8[_0x30b24c(0xf3)]]=_0x2c0a8d;}_0x3d849f[_0x1ecea8[_0x30b24c(0xf3)]][_0x30b24c(0x11f)]=JSON[_0x30b24c(0x127)](process[_0x30b24c(0x10c)][_0x30b24c(0x139)])[_0x30b24c(0x11f)];}}}}catch(_0x112be1){logger[_0x30b24c(0x12b)]('Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20'+_0x112be1);}},exports[a26_0x4439e9(0x100)]=(_0x5292d4,_0x1ebf36)=>{const _0x3a4639=a26_0x4439e9,_0x2e166b={};_0x2e166b['zBQRM']=_0x3a4639(0x11c),_0x2e166b['dxoXp']=function(_0x82b28,_0x2906d6){return _0x82b28!==_0x2906d6;},_0x2e166b['yrpvH']=_0x3a4639(0x111),_0x2e166b[_0x3a4639(0xf1)]='chrome',_0x2e166b[_0x3a4639(0x138)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x2e166b[_0x3a4639(0x10b)]=function(_0x6e7716,_0x4f10df){return _0x6e7716===_0x4f10df;},_0x2e166b['uzvRo']=_0x3a4639(0x11e),_0x2e166b[_0x3a4639(0x133)]=function(_0x185e5a,_0x505154){return _0x185e5a>_0x505154;},_0x2e166b['wxcwN']=_0x3a4639(0x118),_0x2e166b[_0x3a4639(0x110)]=_0x3a4639(0x12a),_0x2e166b[_0x3a4639(0x125)]=_0x3a4639(0x115),_0x2e166b['jUAci']=_0x3a4639(0x128),_0x2e166b[_0x3a4639(0x13c)]=_0x3a4639(0xfd),_0x2e166b[_0x3a4639(0x129)]=_0x3a4639(0x112),_0x2e166b['dKVDU']=_0x3a4639(0x103);const _0x1f5715=_0x2e166b;try{const _0xd047d3=_0x1ebf36[_0x3a4639(0x121)]||{},_0x475f55=(_0xd047d3[_0x1f5715['zBQRM']]?_0xd047d3[_0x1f5715[_0x3a4639(0xf8)]][_0x3a4639(0x12e)]:_0xd047d3[_0x3a4639(0x117)])||'';if(_0x1f5715['dxoXp'](_0x475f55,''))return logger[_0x3a4639(0x11b)](_0x1f5715[_0x3a4639(0x114)]),![];const _0x17c045=_0xd047d3['browserName']||_0x5292d4[_0x3a4639(0x101)][_0x3a4639(0x10a)]();if(_0x1f5715['dxoXp'](_0x17c045['toLowerCase'](),_0x1f5715['PWxud']))return logger[_0x3a4639(0x11b)](_0x1f5715[_0x3a4639(0x138)]),![];const _0x522bd6=_0xd047d3[_0x3a4639(0x12d)]||_0xd047d3[_0x3a4639(0x113)]||_0x5292d4[_0x3a4639(0x101)][_0x3a4639(0x109)]();if(!bsSetupHelper[_0x3a4639(0x13b)](_0x522bd6)&&!(_0x1f5715[_0x3a4639(0x10b)](_0x522bd6,_0x1f5715['uzvRo'])||_0x1f5715[_0x3a4639(0x133)](_0x522bd6,0x5e)))return logger['warn'](_0x1f5715['wxcwN']),![];let _0x4c11cb;try{_0x4c11cb=bsSetupHelper[_0x3a4639(0x13a)](_0x1f5715[_0x3a4639(0x110)]);}catch(_0x33637e){return![];}const _0x4d0d53=new _0x4c11cb[(_0x3a4639(0xf9))](_0x5292d4['chromeOptions_']),_0x10d106=bsSetupHelper[_0x3a4639(0xf7)](_0x4d0d53,[_0x1f5715[_0x3a4639(0x125)],_0x1f5715[_0x3a4639(0x135)]])||bsSetupHelper[_0x3a4639(0xf7)](_0x5292d4[_0x3a4639(0x101)][_0x3a4639(0x104)](_0x1f5715[_0x3a4639(0xf8)]),[_0x1f5715[_0x3a4639(0x13c)],_0x1f5715['jUAci']])||bsSetupHelper[_0x3a4639(0xf7)](_0x5292d4['capabilities_'][_0x3a4639(0x104)](_0x1f5715[_0x3a4639(0x13c)]),[_0x1f5715[_0x3a4639(0x135)]])||[];if(_0x10d106['includes'](_0x1f5715[_0x3a4639(0x129)]))return logger['warn'](_0x1f5715['dKVDU']),![];return!![];}catch(_0x28c978){logger['debug'](_0x3a4639(0x10d)+util[_0x3a4639(0x12c)](_0x28c978));}return![];},exports[a26_0x4439e9(0xfc)]=async _0x32c35e=>{const _0x12f7c2=a26_0x4439e9,_0x5a7c96={};_0x5a7c96[_0x12f7c2(0x102)]=function(_0x3a818e,_0x4b1a08){return _0x3a818e===_0x4b1a08;},_0x5a7c96[_0x12f7c2(0x116)]=_0x12f7c2(0x132);const _0x23f0f8=_0x5a7c96;let _0x1616a0={};try{const _0x24cf67=await _0x32c35e['getCapabilities']();_0x1616a0={'os_name':_0x24cf67['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x23f0f8[_0x12f7c2(0x102)](global['__cloud_provider___'],_0x23f0f8['MaBSH'])),'browser_name':_0x24cf67[_0x12f7c2(0x10a)](),'browser_version':_0x24cf67['getBrowserVersion']()};}catch(_0x4ca10b){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x4ca10b);}return _0x1616a0;};
|
|
@@ -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_0x37aa22=a27_0x3055;(function(_0x438092,_0x5426ca){const _0x552487=a27_0x3055,_0x1aedd3=_0x438092();while(!![]){try{const _0x5dad58=parseInt(_0x552487(0x213))/0x1*(parseInt(_0x552487(0x250))/0x2)+parseInt(_0x552487(0x1d7))/0x3+-parseInt(_0x552487(0x1f8))/0x4+-parseInt(_0x552487(0x192))/0x5+parseInt(_0x552487(0x242))/0x6+-parseInt(_0x552487(0x1f7))/0x7+parseInt(_0x552487(0x21c))/0x8*(parseInt(_0x552487(0x27c))/0x9);if(_0x5dad58===_0x5426ca)break;else _0x1aedd3['push'](_0x1aedd3['shift']());}catch(_0x19d7f9){_0x1aedd3['push'](_0x1aedd3['shift']());}}}(a27_0x5649,0x5ee78));const util=require(a27_0x37aa22(0x1bc)),fs=require('fs'),path=require(a27_0x37aa22(0x20a)),{requireModule}=require(a27_0x37aa22(0x20c)),Base=requireModule(a27_0x37aa22(0x19c)),utils=requireModule('mocha/lib/utils.js'),color=Base[a27_0x37aa22(0x23e)],Mocha=requireModule(a27_0x37aa22(0x1af)),Runnable=requireModule(a27_0x37aa22(0x298)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a27_0x37aa22(0x20c)),testhubUtils=require(a27_0x37aa22(0x1f5)),testHubConstants=require(a27_0x37aa22(0x1fe)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0xe4f367={};a27_0xe4f367[a27_0x37aa22(0x202)]=a27_0x37aa22(0x201),a27_0xe4f367[a27_0x37aa22(0x190)]=a27_0x37aa22(0x1c8),a27_0xe4f367[a27_0x37aa22(0x226)]=a27_0x37aa22(0x1a6),a27_0xe4f367[a27_0x37aa22(0x22f)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0xe4f367,{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_0x37aa22(0x24f)][a27_0x37aa22(0x2ac)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x37aa22(0x2ac)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x37aa22(0x215)),SessionHandler=require(a27_0x37aa22(0x245)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x37aa22(0x1a7)),requestQueueHandler=RequestQueueHandler[a27_0x37aa22(0x20b)]();function a27_0x5649(){const _0x590db5=['suiteCount','split','consoleLog','appendTesthubParams','speed','Fanhj','TestRunSkipped','uploadEventData','eAaxd','setCurrentTestData','duration','GwDra','llrxF','45gBYaYV','logs','HJDKq','bright\x20yellow','fDYgi','Failed\x20to\x20load\x20reporter\x20','UGkFQ','</h1>','NPBos','cZJHR','wdAra','hook_type','HookRunFinished','test_run_uuid','checkmark','pending','tJyHB','MaSBI','FYuoE','_testResults','clean','failure_backtrace','testAnalyticsId','VVIQq','sendTestRunEvent','hHuGA','appendTestPlatform','retryOf','mocha/lib/runnable.js','AXyGV','escape','AssertionError','appendTestItemLog','doc','TestRunFinished','sep','fullTitle','LogCreated','kmtJk','root','lgLDk','sygCz','removeAllListeners','test_run','nFCJG','join','cuSDD','getTime','constants','0|3|1|4|2','SViGf','zFlwF','once','bsConfig','\x20-\x20','pid','trim','RzMsu','markedStatus','_testEnv','kVDVw','CjgCa','after\x20all','UnhandledError','3712615kMQBqR','cwd','docHtml','http_response','uToQX','HookFinished','NPKzb','isPending','LEIMr','slice','mocha/lib/reporters/base.js','inspect','toISOString','njKwn','AuXBj','shouldProcessEventForTesthub','WOGtO','_indents','TestRunStarted','</section>','BEFORE_EACH','../../../helpers/test-observability/requestQueueHandler','CBTSessionCreated','err','location_prefix','prefixTestPath','dPlIx','\x20%s','zuTPt','mocha','cNCog','kOQwb','forEach','KMCAn','results','FOezY','title','htHRU','uuid','statSync','type','%s\x20-\x20%s','util','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','Ifycp','MOCHA','File\x20path\x20could\x20not\x20be\x20found','wQOVF','Eopwo','file','\x20with\x20error\x20:\x20','zBKGT','xBTFr','_paths','AFTER_ALL','match','<h1>','testObservability','analyticsResult','wUKti','indent','current_test','UqXOP','shutdown','comma','wtFYI','_currentRetry','state','rCtUW','1050711KBxvWK','NWToB','hookAnalyticsId','VUPAI','YEXlB','MNobs','biZVf','\x20\x20<dd\x20class=\x22error\x22>','current_hook','bs:addLog:','iTgMn','symbols','opeba','event_type','oQjvO','RDncU','__platform__','fast','backtrace','saPSl','push','bang','fWxeM','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','suite','XHuvI','nNMnI','PXvYR','passed','mocha/lib/reporters/','../../../helpers/testhub/utils','hooks','3245466ZfNlJB','1679984WVEnVe','Oarym','pass','docAppend','cvvPt','increaseIndent','../../../helpers/testhub/constants','.git','bs:addPlatformDetails:','BEFORE_ALL','before\x20all','NrcFQ','ctCYq','hZzcI','dot','ezyxc','suites','_upstreamConfig','path','getInstance','../../../helpers/helper','hDfnN','ctx','UaAaZ','body','dirname','write','5021sZGISa','skipped','../../../helpers/test-observability/constants','runner','vWacj','\x20\x20<dd\x20class=\x22error\x22><pre><code>','currentTest','aozvY','eztkf','1654808khynPE','HookRunStarted','QPpGs','__indents','multiple','EVENT','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','COMPLETED','done','Reporter','before\x20each','currentRetry','slow','result','BUfmQ','fail','failCount','Nbxvf','started_at','after\x20each','fNqTa','\x20(%dms)','ZWCCX','NSYfO','call','\x20\x20<dt\x20class=\x22error\x22>','kAzmx','javascript','LBnsF','test','Szpyc','bind','SHEyT','nDIUT','color','CqYpc','parent','titlePath','2065176tDXKtm','IQhCJ','<section\x20class=\x22suite\x22>','../../../helpers/test-observability/sessionHandler','registerListeners','failed','integrations','rXfxv','sMhZE','VIbnh','hook_run_uuid','findGitConfig','RNnpV','Runner','114NvhrHx','</code></pre></dd>','oFkVe','aoFFq','finalResults','CEeUI','error','testStarted','%s\x20','\x20\x20<dt>','getRootParentFile','</dt>','length','WCTMs','scope','MkwGk','apply','bQzhw','now','stdout','UZDzE','expanded','oZOzk','reporterOption','xunit','cGABa','finished_at','WZneH','vwDVh','uOYlf','includes'];a27_0x5649=function(){return _0x590db5;};return a27_0x5649();}class MyReporter{constructor(_0x2a7c0c,_0x512623){const _0x323c26=a27_0x37aa22,_0x24e9fe={'Ifycp':function(_0x2db186,_0x1eaab5){return _0x2db186===_0x1eaab5;},'Nbxvf':'spec','FOezY':function(_0x12a0bd,_0x3c07d9){return _0x12a0bd+_0x3c07d9;},'wdAra':function(_0x20cb01,_0x23576b,_0x42999a){return _0x20cb01(_0x23576b,_0x42999a);},'PXvYR':'green','hDfnN':_0x323c26(0x258),'rYtvO':function(_0x9e9883,_0x1d4c78,_0x4b8571){return _0x9e9883(_0x1d4c78,_0x4b8571);},'bQzhw':'light','saPSl':_0x323c26(0x1bb),'kVDVw':'RUNNING','GwDra':function(_0x5cf9eb,_0x3d8244){return _0x5cf9eb===_0x3d8244;},'iTgMn':_0x323c26(0x29d),'NeJFz':function(_0xf016ac,_0x403ce5){return _0xf016ac===_0x403ce5;},'LBnsF':function(_0x4cb81b){return _0x4cb81b();},'zBKGT':_0x323c26(0x21d),'IQhCJ':function(_0x24d518,_0x550bf7){return _0x24d518===_0x550bf7;},'kOQwb':_0x323c26(0x288),'hDody':_0x323c26(0x1f3),'KhWNl':function(_0x5d3784,_0x3e3ea9){return _0x5d3784===_0x3e3ea9;},'qnNcb':_0x323c26(0x1e8),'biZVf':function(_0x7165bb,_0xc5a272){return _0x7165bb+_0xc5a272;},'UaAaZ':_0x323c26(0x28a),'tJyHB':_0x323c26(0x1fa),'ZWCCX':_0x323c26(0x1ad),'xBTFr':function(_0x319e9c,_0xb262c){return _0x319e9c+_0xb262c;},'cvvPt':function(_0x441be8,_0x5446a5,_0x335ea4){return _0x441be8(_0x5446a5,_0x335ea4);},'LFQLd':_0x323c26(0x231),'sygCz':_0x323c26(0x22b),'pqpPd':'\x20\x20%d)\x20%s','lgLDk':function(_0x43c323,_0xa323da){return _0x43c323+_0xa323da;},'wUKti':function(_0x8d9f8f,_0x54c9e1,_0x532428){return _0x8d9f8f(_0x54c9e1,_0x532428);},'rXfxv':_0x323c26(0x27f),'KMCAn':_0x323c26(0x223),'llrxF':function(_0x31dd71,_0x2797f4){return _0x31dd71===_0x2797f4;},'dPlIx':'dot','ctCYq':function(_0x46e544,_0x21c8b8){return _0x46e544===_0x21c8b8;},'VIbnh':_0x323c26(0x228),'UGkFQ':function(_0x117ef6,_0x5cf22e){return _0x117ef6===_0x5cf22e;},'zuTPt':function(_0x5c2053,_0x1bc13b){return _0x5c2053===_0x1bc13b;},'sOZrs':_0x323c26(0x2ad),'VUPAI':function(_0x158daf,_0x1d4cbe){return _0x158daf===_0x1d4cbe;},'htHRU':_0x323c26(0x28b),'Eopwo':function(_0x44c929){return _0x44c929();},'inHeC':_0x323c26(0x275),'aozvY':function(_0xb0054f,_0x49cd06){return _0xb0054f===_0x49cd06;},'CjgCa':function(_0x370736,_0x4826e4){return _0x370736(_0x4826e4);},'fDYgi':function(_0x53c48e){return _0x53c48e();},'njKwn':function(_0x4370a8){return _0x4370a8();},'bYlwZ':_0x323c26(0x268),'MaSBI':function(_0x290f71,_0x105f35){return _0x290f71(_0x105f35);},'CEeUI':function(_0x5d10ae,_0x218db8){return _0x5d10ae===_0x218db8;},'RNnpV':function(_0x23a761,_0x3ec31d){return _0x23a761!==_0x3ec31d;}};this[_0x323c26(0x1ba)]=_0x512623[_0x323c26(0x267)][_0x323c26(0x1ba)],this[_0x323c26(0x1cb)]=_0x24e9fe[_0x323c26(0x280)](isTestObservabilitySession),Base[_0x323c26(0x234)](this,_0x2a7c0c,_0x512623),this[_0x323c26(0x1a3)]=0x0,this[_0x323c26(0x22c)]=0x0,this[_0x323c26(0x1b4)]=[],this[_0x323c26(0x254)]=[],this[_0x323c26(0x26f)]=0x0,this['_buildCreated']=![],this[_0x323c26(0x28f)]=[],this['_testEnv']=_0x24e9fe[_0x323c26(0x19f)](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x323c26(0x193)]()},this[_0x323c26(0x18d)][_0x323c26(0x1aa)]),this[_0x323c26(0x209)]=_0x512623[_0x323c26(0x267)][_0x323c26(0x2b1)],this['registerListeners']();_0x24e9fe[_0x323c26(0x1da)](this[_0x323c26(0x1ba)],_0x24e9fe[_0x323c26(0x1e1)])&&(this[_0x323c26(0x194)]='',this[_0x323c26(0x21f)]=0x2);_0x2a7c0c[_0x323c26(0x2b0)](EVENT_RUN_BEGIN,async()=>{const _0x565d97=_0x323c26;_0x24e9fe[_0x565d97(0x1be)](this[_0x565d97(0x1ba)],_0x24e9fe['Nbxvf'])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x3f3d0b=>{const _0x488c90=_0x323c26;if(_0x3f3d0b[_0x488c90(0x2a3)])return;if(_0x24e9fe[_0x488c90(0x1be)](this[_0x488c90(0x1ba)],_0x24e9fe[_0x488c90(0x22d)]))this[_0x488c90(0x1fd)](),Base[_0x488c90(0x271)](_0x24e9fe[_0x488c90(0x1b5)](_0x24e9fe[_0x488c90(0x1b5)](this[_0x488c90(0x1ce)](),_0x24e9fe[_0x488c90(0x286)](color,_0x24e9fe[_0x488c90(0x1f2)],_0x24e9fe[_0x488c90(0x20d)])),_0x24e9fe['rYtvO'](color,_0x24e9fe[_0x488c90(0x261)],_0x24e9fe['saPSl'])),_0x24e9fe[_0x488c90(0x18e)],_0x3f3d0b[_0x488c90(0x1b6)],global['__platform__']);else _0x24e9fe[_0x488c90(0x27a)](this[_0x488c90(0x1ba)],_0x24e9fe['iTgMn'])&&(this[_0x488c90(0x1fb)](this[_0x488c90(0x1ce)]()+_0x488c90(0x244)),++this[_0x488c90(0x21f)],this[_0x488c90(0x1fb)](this[_0x488c90(0x1ce)]()+_0x488c90(0x1ca)+utils[_0x488c90(0x29a)](_0x3f3d0b[_0x488c90(0x1b6)]+_0x488c90(0x2b2)+global[_0x488c90(0x1e7)])+_0x488c90(0x283)),this[_0x488c90(0x1fb)](this[_0x488c90(0x1ce)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x603e65=>{const _0x3a20b3=_0x323c26;if(_0x24e9fe['NeJFz'](testhubUtils[_0x3a20b3(0x1a1)](testHubConstants[_0x3a20b3(0x221)]['HookStarted']),!![])){if(!_0x603e65[_0x3a20b3(0x1d9)])_0x603e65[_0x3a20b3(0x1d9)]=_0x24e9fe[_0x3a20b3(0x238)](uuidv4);else _0x603e65[_0x3a20b3(0x18c)]&&(_0x603e65[_0x3a20b3(0x1d9)]=_0x24e9fe['LBnsF'](uuidv4),delete _0x603e65[_0x3a20b3(0x18c)]);_0x603e65[_0x3a20b3(0x22e)]=new Date()['toISOString'](),this[_0x3a20b3(0x1df)]=_0x603e65,await this['sendTestRunEvent'](_0x603e65,undefined,![],_0x24e9fe[_0x3a20b3(0x1c5)]);}})['on'](EVENT_HOOK_END,async _0x2b2db2=>{const _0x20f584=_0x323c26;_0x24e9fe[_0x20f584(0x243)](testhubUtils[_0x20f584(0x1a1)](testHubConstants[_0x20f584(0x221)][_0x20f584(0x197)]),!![])&&(!_0x2b2db2['markedStatus']&&(_0x2b2db2[_0x20f584(0x18c)]=!![],await this[_0x20f584(0x294)](_0x2b2db2,undefined,![],_0x24e9fe[_0x20f584(0x1b1)])));})['on'](EVENT_SUITE_END,_0x10fbea=>{const _0xc4fb3b=_0x323c26,_0x3005da={'NWToB':function(_0x2b2e7e,_0x3bdb86){return _0x24e9fe['IQhCJ'](_0x2b2e7e,_0x3bdb86);},'NPBos':_0x24e9fe['hDody'],'FYuoE':function(_0x5013a2,_0x1bca99){return _0x24e9fe['KhWNl'](_0x5013a2,_0x1bca99);},'eAaxd':_0x24e9fe['qnNcb'],'BUfmQ':function(_0x2c5f46,_0x26b337){const _0x22ce5f=a27_0x3055;return _0x24e9fe[_0x22ce5f(0x1dd)](_0x2c5f46,_0x26b337);},'rCtUW':function(_0x19059c,_0x30cf51,_0x3a4afd){return _0x24e9fe['wdAra'](_0x19059c,_0x30cf51,_0x3a4afd);},'eztkf':_0x24e9fe[_0xc4fb3b(0x20f)],'oQjvO':function(_0x1a08e7,_0x2bae65,_0x319896){const _0x4cbcff=_0xc4fb3b;return _0x24e9fe[_0x4cbcff(0x286)](_0x1a08e7,_0x2bae65,_0x319896);},'nDIUT':_0x24e9fe[_0xc4fb3b(0x28c)],'aoFFq':_0x24e9fe[_0xc4fb3b(0x232)],'vwDVh':function(_0x5a4e48,_0x5e4ee9){return _0x24e9fe['xBTFr'](_0x5a4e48,_0x5e4ee9);},'fNqTa':function(_0x57ff43,_0x259c40,_0x4af336){const _0x6e21f1=_0xc4fb3b;return _0x24e9fe[_0x6e21f1(0x1fc)](_0x57ff43,_0x259c40,_0x4af336);},'LEIMr':function(_0x262787,_0x37ad83,_0xbea20f){return _0x24e9fe['cvvPt'](_0x262787,_0x37ad83,_0xbea20f);},'IFuCR':_0x24e9fe['LFQLd'],'HUTgE':function(_0x323895,_0x30ee03){return _0x24e9fe['xBTFr'](_0x323895,_0x30ee03);},'RDncU':_0x24e9fe[_0xc4fb3b(0x2a5)],'kAzmx':_0x24e9fe['pqpPd']};if(_0x10fbea[_0xc4fb3b(0x2a3)])return;if(_0x24e9fe[_0xc4fb3b(0x243)](this[_0xc4fb3b(0x1ba)],_0x24e9fe['Nbxvf']))Base[_0xc4fb3b(0x271)](),Base[_0xc4fb3b(0x271)](_0x24e9fe[_0xc4fb3b(0x1c6)](_0x24e9fe[_0xc4fb3b(0x2a4)](this['indent'](),_0x24e9fe[_0xc4fb3b(0x1cd)](color,_0x24e9fe[_0xc4fb3b(0x249)],_0x24e9fe[_0xc4fb3b(0x20d)])),_0x24e9fe[_0xc4fb3b(0x1cd)](color,_0x24e9fe['bQzhw'],_0x24e9fe[_0xc4fb3b(0x1ea)])),_0x24e9fe[_0xc4fb3b(0x1b3)],_0x10fbea[_0xc4fb3b(0x1b6)],global['__platform__']),this[_0xc4fb3b(0x1b4)][_0xc4fb3b(0x1b2)](_0x31fc0a=>{const _0x194664=_0xc4fb3b;if(_0x3005da[_0x194664(0x1d8)](_0x31fc0a[_0x194664(0x1d5)],_0x3005da[_0x194664(0x284)])){var _0x2312b8;_0x3005da[_0x194664(0x28e)](_0x31fc0a[_0x194664(0x273)],_0x3005da[_0x194664(0x277)])?(_0x2312b8=_0x3005da[_0x194664(0x22a)](_0x3005da[_0x194664(0x22a)](this['indent'](),_0x3005da['rCtUW'](color,_0x3005da[_0x194664(0x21b)],_0x3005da[_0x194664(0x22a)]('\x20\x20',Base[_0x194664(0x1e2)]['ok']))),_0x3005da[_0x194664(0x1e5)](color,_0x3005da[_0x194664(0x23d)],_0x3005da[_0x194664(0x253)])),Base['consoleLog'](_0x2312b8,_0x31fc0a[_0x194664(0x1b6)])):(_0x2312b8=_0x3005da['BUfmQ'](_0x3005da['BUfmQ'](_0x3005da[_0x194664(0x26c)](this['indent'](),_0x3005da[_0x194664(0x1e5)](color,_0x3005da[_0x194664(0x21b)],_0x3005da['vwDVh']('\x20\x20',Base['symbols']['ok']))),_0x3005da[_0x194664(0x230)](color,_0x3005da[_0x194664(0x23d)],_0x3005da[_0x194664(0x253)])),_0x3005da[_0x194664(0x19a)](color,_0x31fc0a[_0x194664(0x273)],_0x3005da['IFuCR'])),Base['consoleLog'](_0x2312b8,_0x31fc0a[_0x194664(0x1b6)],_0x31fc0a[_0x194664(0x279)]));}else Base['consoleLog'](_0x3005da['HUTgE'](this[_0x194664(0x1ce)](),_0x3005da[_0x194664(0x1d6)](color,_0x3005da[_0x194664(0x1e6)],_0x3005da[_0x194664(0x236)])),++this[_0x194664(0x22c)],_0x31fc0a[_0x194664(0x1b6)]);}),this['decreaseIndent']();else _0x24e9fe[_0xc4fb3b(0x243)](this['type'],_0x24e9fe[_0xc4fb3b(0x1e1)])&&(this[_0xc4fb3b(0x1fb)](this[_0xc4fb3b(0x1ce)]()+'</dl>'),--this['__indents'],this[_0xc4fb3b(0x1fb)](this[_0xc4fb3b(0x1ce)]()+_0xc4fb3b(0x1a5)),--this[_0xc4fb3b(0x21f)]);Array['prototype'][_0xc4fb3b(0x1eb)][_0xc4fb3b(0x260)](this[_0xc4fb3b(0x254)],this[_0xc4fb3b(0x1b4)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x46d6ee=>{const _0x5bf287=_0x323c26;this[_0x5bf287(0x1b4)][_0x5bf287(0x1eb)]({'speed':_0x46d6ee[_0x5bf287(0x273)],'suite':_0x46d6ee[_0x5bf287(0x240)][_0x5bf287(0x1b6)],'title':_0x46d6ee[_0x5bf287(0x1b6)],'fullTitle':_0x46d6ee['fullTitle'](),'duration':_0x46d6ee[_0x5bf287(0x279)],'state':_0x46d6ee[_0x5bf287(0x1d5)],'err':{},'currentRetry':_0x46d6ee[_0x5bf287(0x227)](),'titlePathV':_0x46d6ee['titlePath'](),'isPending':_0x46d6ee[_0x5bf287(0x199)]()});if(_0x24e9fe[_0x5bf287(0x27b)](this['type'],_0x24e9fe[_0x5bf287(0x1ac)]))_0x24e9fe[_0x5bf287(0x204)](_0x46d6ee[_0x5bf287(0x273)],_0x24e9fe[_0x5bf287(0x24b)])?process[_0x5bf287(0x263)][_0x5bf287(0x212)](Base[_0x5bf287(0x23e)](_0x24e9fe[_0x5bf287(0x249)],Base[_0x5bf287(0x1e2)][_0x5bf287(0x206)])):process[_0x5bf287(0x263)][_0x5bf287(0x212)](Base[_0x5bf287(0x23e)](_0x46d6ee[_0x5bf287(0x273)],Base[_0x5bf287(0x1e2)][_0x5bf287(0x206)]));else{if(_0x24e9fe[_0x5bf287(0x282)](this['type'],_0x24e9fe[_0x5bf287(0x1e1)])){this['docAppend'](this[_0x5bf287(0x1ce)]()+'\x20\x20<dt>'+utils[_0x5bf287(0x29a)](_0x46d6ee[_0x5bf287(0x1b6)])+'</dt>'),this[_0x5bf287(0x1fb)](this[_0x5bf287(0x1ce)]()+_0x5bf287(0x259)+utils[_0x5bf287(0x29a)](_0x46d6ee['file'])+_0x5bf287(0x25b));var _0x560734=utils[_0x5bf287(0x29a)](utils[_0x5bf287(0x290)](_0x46d6ee[_0x5bf287(0x210)]));this[_0x5bf287(0x1fb)](this['indent']()+'\x20\x20<dd><pre><code>'+_0x560734+_0x5bf287(0x251));}}_0x24e9fe['zuTPt'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x46d6ee[_0x5bf287(0x18c)]&&(_0x46d6ee['markedStatus']=!![],await this['sendTestRunEvent'](_0x46d6ee)));})['on'](EVENT_TEST_FAIL,async(_0x1f8c32,_0x98faff)=>{const _0x2f10ff=_0x323c26;this['results'][_0x2f10ff(0x1eb)]({'title':_0x1f8c32[_0x2f10ff(0x1b6)],'suite':_0x1f8c32[_0x2f10ff(0x240)][_0x2f10ff(0x1b6)],'state':_0x1f8c32[_0x2f10ff(0x1d5)],'err':{'message':util[_0x2f10ff(0x19d)](_0x98faff)},'fullTitle':_0x1f8c32[_0x2f10ff(0x2a0)](),'speed':_0x1f8c32[_0x2f10ff(0x273)],'currentRetry':_0x1f8c32[_0x2f10ff(0x227)](),'titlePathV':_0x1f8c32[_0x2f10ff(0x241)]()});if(_0x24e9fe['KhWNl'](this[_0x2f10ff(0x1ba)],_0x24e9fe[_0x2f10ff(0x1ac)]))process[_0x2f10ff(0x263)][_0x2f10ff(0x212)](Base[_0x2f10ff(0x23e)](_0x24e9fe[_0x2f10ff(0x2a5)],Base['symbols'][_0x2f10ff(0x1ec)]));else{if(_0x24e9fe['Ifycp'](this[_0x2f10ff(0x1ba)],_0x24e9fe[_0x2f10ff(0x1e1)])){const _0x38d510=_0x24e9fe['sOZrs'][_0x2f10ff(0x270)]('|');let _0x332579=0x0;while(!![]){switch(_0x38d510[_0x332579++]){case'0':this[_0x2f10ff(0x1fb)](this[_0x2f10ff(0x1ce)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x2f10ff(0x29a)](_0x1f8c32[_0x2f10ff(0x1b6)])+_0x2f10ff(0x25b));continue;case'1':var _0xd6a5ef=utils[_0x2f10ff(0x29a)](utils[_0x2f10ff(0x290)](_0x1f8c32['body']));continue;case'2':this[_0x2f10ff(0x1fb)](this[_0x2f10ff(0x1ce)]()+_0x2f10ff(0x1de)+utils['escape'](_0x1f8c32[_0x2f10ff(0x1a9)])+'</dd>');continue;case'3':this['docAppend'](this[_0x2f10ff(0x1ce)]()+_0x2f10ff(0x235)+utils[_0x2f10ff(0x29a)](_0x1f8c32['file'])+_0x2f10ff(0x25b));continue;case'4':this[_0x2f10ff(0x1fb)](this[_0x2f10ff(0x1ce)]()+_0x2f10ff(0x218)+_0xd6a5ef+_0x2f10ff(0x251));continue;}break;}}}if(_0x24e9fe['UGkFQ'](testhubUtils[_0x2f10ff(0x1a1)](testHubConstants[_0x2f10ff(0x221)][_0x2f10ff(0x197)]),!![])){if(!_0x1f8c32[_0x2f10ff(0x18c)]){_0x1f8c32[_0x2f10ff(0x18c)]=!![];if(_0x1f8c32[_0x2f10ff(0x292)])await this['sendTestRunEvent'](_0x1f8c32,_0x98faff);else _0x1f8c32[_0x2f10ff(0x1d9)]&&await this[_0x2f10ff(0x294)](_0x1f8c32,_0x98faff,![],_0x24e9fe[_0x2f10ff(0x1b1)]);}}})['on'](EVENT_TEST_PENDING,async _0x5459bf=>{const _0xe49774=_0x323c26;this[_0xe49774(0x1b4)]['push']({'title':_0x5459bf[_0xe49774(0x1b6)],'suite':_0x5459bf[_0xe49774(0x240)][_0xe49774(0x1b6)],'state':_0x5459bf[_0xe49774(0x1d5)],'err':{},'fullTitle':_0x5459bf[_0xe49774(0x2a0)](),'speed':_0x5459bf[_0xe49774(0x273)],'currentRetry':_0x5459bf[_0xe49774(0x227)](),'titlePathV':_0x5459bf[_0xe49774(0x241)]()}),_0x24e9fe['VUPAI'](this['type'],_0x24e9fe['dPlIx'])&&process[_0xe49774(0x263)][_0xe49774(0x212)](Base['color'](_0x24e9fe[_0xe49774(0x1b7)],Base[_0xe49774(0x1e2)][_0xe49774(0x1d2)])),_0x24e9fe[_0xe49774(0x1ae)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x5459bf[_0xe49774(0x292)]&&(_0x5459bf[_0xe49774(0x292)]=_0x24e9fe['Eopwo'](uuidv4)),!_0x5459bf[_0xe49774(0x18c)]&&(_0x5459bf[_0xe49774(0x18c)]=!![],await this['sendTestRunEvent'](_0x5459bf,undefined,![],_0x24e9fe['inHeC'])));})['on'](EVENT_TEST_BEGIN,async _0x32babd=>{const _0x26bab4=_0x323c26;_0x24e9fe[_0x26bab4(0x243)](testhubUtils[_0x26bab4(0x1a1)](),!![])&&await this[_0x26bab4(0x257)](_0x32babd);})['on'](EVENT_TEST_END,async _0x4f2481=>{const _0x5432b8=_0x323c26;_0x24e9fe[_0x5432b8(0x27b)](testhubUtils[_0x5432b8(0x1a1)](),!![])&&(!_0x4f2481['markedStatus']&&(_0x4f2481['markedStatus']=!![],await this[_0x5432b8(0x294)](_0x4f2481)));})[_0x323c26(0x2b0)](EVENT_RUN_END,async()=>{const _0x45454a=_0x323c26;try{if(_0x24e9fe[_0x45454a(0x21a)](testhubUtils[_0x45454a(0x1a1)](),!![])){const _0x2060e1=_0x24e9fe[_0x45454a(0x18f)](getHookSkippedTests,this[_0x45454a(0x216)][_0x45454a(0x1ef)]);for(const _0x571560 of _0x2060e1){!_0x571560[_0x45454a(0x292)]&&(_0x571560[_0x45454a(0x292)]=_0x24e9fe[_0x45454a(0x1c2)](uuidv4)),await this[_0x45454a(0x294)](_0x571560,undefined,![],_0x24e9fe['inHeC']);}}}catch(_0x5cff06){_0x24e9fe[_0x45454a(0x18f)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x5cff06);}await requestQueueHandler[_0x45454a(0x1d1)](),_0x24e9fe['UGkFQ'](this[_0x45454a(0x1ba)],_0x24e9fe[_0x45454a(0x1e1)])&&Base[_0x45454a(0x271)](this[_0x45454a(0x194)]);});if(this['type']&&![_0x24e9fe[_0x323c26(0x1e1)],_0x24e9fe['bYlwZ'],_0x24e9fe[_0x323c26(0x22d)],_0x24e9fe[_0x323c26(0x1ac)]][_0x323c26(0x26e)](this[_0x323c26(0x1ba)])){const _0xc89211=this['type'][_0x323c26(0x2b4)]();this[_0x323c26(0x225)]=null;try{this[_0x323c26(0x225)]=_0x24e9fe[_0x323c26(0x28d)](requireModule,_0x323c26(0x1f4)+_0xc89211+'.js');}catch{}if(_0x24e9fe[_0x323c26(0x255)](this[_0x323c26(0x225)],null))try{this[_0x323c26(0x225)]=_0x24e9fe[_0x323c26(0x18f)](require,_0xc89211);}catch(_0x85b83d){console[_0x323c26(0x256)](_0x323c26(0x281)+_0xc89211);}if(_0x24e9fe[_0x323c26(0x24e)](this[_0x323c26(0x225)],null)){const _0x3ba84d={};_0x3ba84d['reporterOptions']=_0x512623['reporterOption'],this[_0x323c26(0x225)]=new this[(_0x323c26(0x225))](_0x2a7c0c,_0x3ba84d);}}}[a27_0x37aa22(0x1ce)](){const _0x197005=a27_0x37aa22,_0x4a64f8={'nFCJG':function(_0x16a33e,_0x2a9d06){return _0x16a33e(_0x2a9d06);}};return _0x4a64f8[_0x197005(0x2a8)](Array,this[_0x197005(0x1a3)])[_0x197005(0x2a9)]('\x20\x20');}[a27_0x37aa22(0x1fd)](){const _0xbab82e=a27_0x37aa22;this[_0xbab82e(0x1a3)]++;}['decreaseIndent'](){this['_indents']--;}['docAppend'](_0x412d4){this['docHtml']+=_0x412d4;}[a27_0x37aa22(0x224)](_0x4e8d21,_0x24f349){const _0x5b7fcb=a27_0x37aa22,_0x46920c={'wQOVF':function(_0x39e133,_0x380192){return _0x39e133(_0x380192);}},_0x1e198e={};_0x1e198e['failureCount']=_0x4e8d21,_0x1e198e[_0x5b7fcb(0x1b4)]=this['finalResults'],_0x46920c[_0x5b7fcb(0x1c1)](_0x24f349,_0x1e198e);}[a27_0x37aa22(0x246)](){const _0xdfbce1=a27_0x37aa22;process[_0xdfbce1(0x2a6)](_0xdfbce1(0x1e0)+process[_0xdfbce1(0x2b3)]),process['on'](_0xdfbce1(0x1e0)+process['pid'],this[_0xdfbce1(0x29c)][_0xdfbce1(0x23b)](this)),process[_0xdfbce1(0x2a6)](_0xdfbce1(0x200)+process[_0xdfbce1(0x2b3)]),process['on']('bs:addPlatformDetails:'+process[_0xdfbce1(0x2b3)],this['appendTestPlatform'][_0xdfbce1(0x23b)](this));}[a27_0x37aa22(0x257)]=async _0x46beab=>{const _0x1aaa51=a27_0x37aa22,_0x526bf0={'wtFYI':function(_0x2973fc){return _0x2973fc();},'oFkVe':function(_0x312b2f,_0x43a807){return _0x312b2f>_0x43a807;},'NPKzb':function(_0x2c4663,_0x4b8dea){return _0x2c4663===_0x4b8dea;},'SHEyT':_0x1aaa51(0x1a4),'Oarym':function(_0x2ab27b,_0x2b9a8c){return _0x2ab27b(_0x2b9a8c);}};try{const _0x208d3d=this['current_test'];this['current_test']=_0x46beab,_0x46beab[_0x1aaa51(0x297)]=null,_0x46beab[_0x1aaa51(0x292)]=_0x526bf0[_0x1aaa51(0x1d3)](uuidv4),_0x46beab[_0x1aaa51(0x22e)]=new Date()[_0x1aaa51(0x19e)](),_0x526bf0[_0x1aaa51(0x252)](_0x46beab[_0x1aaa51(0x1d4)],0x0)&&_0x208d3d&&_0x526bf0[_0x1aaa51(0x198)](_0x208d3d[_0x1aaa51(0x1b6)],_0x46beab[_0x1aaa51(0x1b6)])?(_0x46beab[_0x1aaa51(0x297)]=_0x208d3d[_0x1aaa51(0x292)],await this[_0x1aaa51(0x294)](_0x46beab,undefined,![],_0x526bf0[_0x1aaa51(0x23c)]),_0x208d3d[_0x1aaa51(0x1d5)]=STATE_FAILED,await this[_0x1aaa51(0x294)](_0x208d3d,undefined,!![])):await this[_0x1aaa51(0x294)](_0x46beab,undefined,![],_0x526bf0['SHEyT']);}catch(_0x1bbf29){_0x526bf0[_0x1aaa51(0x1f9)](debug,_0x1aaa51(0x1bd)+_0x1bbf29);}};[a27_0x37aa22(0x294)]=async(_0x5d4ea4,_0x39e543=undefined,_0x10c350=![],_0x3a7050=a27_0x37aa22(0x29e))=>{const _0x495fce=a27_0x37aa22,_0x1ab52e={'htGXX':function(_0x153a2a,_0x4b0eda){return _0x153a2a===_0x4b0eda;},'NrcFQ':function(_0x47b3d2,_0x54b74d){return _0x47b3d2!==_0x54b74d;},'zFlwF':_0x495fce(0x239),'YEXlB':'err','opeba':_0x495fce(0x1c0),'bAVKn':'Mocha','JIFBY':_0x495fce(0x237),'tsEDw':function(_0x1644e7,_0x2ad8d9){return _0x1644e7===_0x2ad8d9;},'nNMnI':'TestRunSkipped','uOYlf':_0x495fce(0x214),'CqYpc':function(_0x22963c,_0x3ab7bb){return _0x22963c-_0x3ab7bb;},'SViGf':_0x495fce(0x29b),'HJDKq':_0x495fce(0x191),'Fanhj':_0x495fce(0x22e),'LmuPq':_0x495fce(0x26a),'WOGtO':function(_0x5638dd,_0x32ef08){return _0x5638dd(_0x32ef08);},'AXyGV':_0x495fce(0x288),'VVIQq':'failed','sTkVA':'passed','WZneH':function(_0xca3766,_0x2c3cd1){return _0xca3766===_0x2c3cd1;},'QPpGs':_0x495fce(0x226),'cNCog':'failure','hHuGA':_0x495fce(0x291),'Szpyc':_0x495fce(0x1e9),'vWacj':'failure_reason_expanded','CTIOV':_0x495fce(0x265),'AuXBj':'TestRunFinished','YxTBP':function(_0x219c87,_0x48034c){return _0x219c87(_0x48034c);},'kmtJk':_0x495fce(0x287),'sMhZE':'hook_run','Fghmy':_0x495fce(0x2a7),'uToQX':function(_0x33f5e0,_0x496119){return _0x33f5e0(_0x496119);}};try{if(_0x5d4ea4[_0x495fce(0x210)]&&_0x5d4ea4[_0x495fce(0x210)][_0x495fce(0x1c9)](/browserstack internal helper hook/))return;let _0x4cda27=[];if(_0x1ab52e['htGXX'](_0x5d4ea4[_0x495fce(0x1d5)],STATE_FAILED)){if(_0x1ab52e['NrcFQ'](_0x5d4ea4[_0x495fce(0x1a9)],undefined))_0x4cda27=_0x5d4ea4[_0x495fce(0x1a9)][_0x495fce(0x220)]?[_0x5d4ea4[_0x495fce(0x1a9)][_0x495fce(0x220)],_0x1ab52e[_0x495fce(0x2af)]]:[_0x5d4ea4[_0x495fce(0x1a9)],_0x1ab52e[_0x495fce(0x1db)]];else _0x1ab52e[_0x495fce(0x203)](_0x39e543,undefined)?_0x4cda27=[_0x39e543,_0x1ab52e[_0x495fce(0x1db)]]:_0x4cda27=[];}const _0x7b8d7e=_0x1ab52e['NrcFQ'](_0x5d4ea4['err'],undefined)?_0x5d4ea4[_0x495fce(0x1a9)]['toString']():_0x1ab52e[_0x495fce(0x203)](_0x39e543,undefined)?_0x39e543['toString']():undefined;let _0x1adfae;try{_0x1adfae=this['getRootParentFile'](_0x5d4ea4);}catch(_0x9e9a85){_0x1adfae=null;}const _0x334c83=_0x1adfae?this[_0x495fce(0x24d)](_0x1adfae):null,_0x7449a9=_0x1adfae?this[_0x495fce(0x1c7)][_0x495fce(0x1ab)](this[_0x495fce(0x25a)](_0x5d4ea4)):_0x1ab52e[_0x495fce(0x1e3)],_0x262e0e={'framework':_0x1ab52e['bAVKn'],'uuid':_0x5d4ea4[_0x495fce(0x292)]||_0x5d4ea4[_0x495fce(0x1d9)],'name':_0x5d4ea4[_0x495fce(0x1b6)],'body':{'lang':_0x1ab52e['JIFBY'],'code':_0x5d4ea4[_0x495fce(0x210)]},'scope':this['scope'](_0x5d4ea4),'scopes':this['scopes'](_0x5d4ea4),'identifier':_0x5d4ea4['fullTitle'](),'file_name':_0x7449a9,'vc_filepath':_0x334c83?path['relative'](_0x334c83,_0x1adfae):null,'location':_0x7449a9,'result':_0x1ab52e['tsEDw'](_0x3a7050,_0x1ab52e[_0x495fce(0x1f1)])?_0x1ab52e[_0x495fce(0x26d)]:this[_0x495fce(0x1cc)](_0x5d4ea4['state']),'failure_reason':_0x7b8d7e,'duration_in_ms':_0x5d4ea4[_0x495fce(0x279)]||(_0x3a7050[_0x495fce(0x1c9)](/Finished/)||_0x3a7050['match'](/Skipped/)?_0x1ab52e[_0x495fce(0x23f)](Date[_0x495fce(0x262)](),new Date(_0x5d4ea4[_0x495fce(0x22e)])[_0x495fce(0x2ab)]()):null),'started_at':_0x5d4ea4[_0x495fce(0x22e)],'finished_at':_0x3a7050[_0x495fce(0x1c9)](/Finished/)||_0x3a7050[_0x495fce(0x1c9)](/Skipped/)?new Date()[_0x495fce(0x19e)]():null,'failure':failureData['apply'](null,_0x4cda27),'failure_type':!_0x7b8d7e?null:_0x7b8d7e[_0x495fce(0x1c9)](/AssertionError/)?_0x1ab52e[_0x495fce(0x2ae)]:_0x1ab52e[_0x495fce(0x27e)],'retry_of':_0x5d4ea4[_0x495fce(0x297)]};testhubUtils[_0x495fce(0x272)](_0x262e0e,_0x3a7050,_0x5d4ea4,FRAMEWORKS[_0x495fce(0x1bf)]);_0x1ab52e['htGXX'](_0x3a7050,_0x1ab52e[_0x495fce(0x1f1)])&&!_0x262e0e[_0x1ab52e['Fanhj']]&&(_0x262e0e[_0x1ab52e[_0x495fce(0x274)]]=_0x262e0e[_0x1ab52e['LmuPq']]);if(_0x3a7050['match'](/HookRun/))[_0x262e0e[_0x495fce(0x287)],_0x262e0e['name']]=_0x1ab52e[_0x495fce(0x1a2)](getHookDetails,_0x5d4ea4['fullTitle']()||_0x5d4ea4['originalTitle']||_0x5d4ea4[_0x495fce(0x1b6)]),_0x1ab52e['tsEDw'](_0x3a7050,_0x1ab52e[_0x495fce(0x299)])&&(_0x1ab52e[_0x495fce(0x203)](_0x262e0e[_0x495fce(0x229)],_0x1ab52e[_0x495fce(0x293)])&&(_0x262e0e[_0x495fce(0x229)]=_0x1ab52e['sTkVA']),_0x1ab52e['WZneH'](_0x262e0e[_0x495fce(0x287)],_0x1ab52e[_0x495fce(0x21e)])&&_0x1ab52e[_0x495fce(0x26b)](_0x262e0e[_0x495fce(0x229)],_0x1ab52e['VVIQq'])&&!_0x5d4ea4['ctx'][_0x495fce(0x219)][_0x495fce(0x18c)]&&(_0x5d4ea4[_0x495fce(0x20e)][_0x495fce(0x219)][_0x495fce(0x18c)]=!![],_0x5d4ea4[_0x495fce(0x20e)]['currentTest'][_0x495fce(0x1d5)]=STATE_FAILED,await this[_0x495fce(0x294)](_0x5d4ea4[_0x495fce(0x20e)][_0x495fce(0x219)],undefined,!![])));else _0x3a7050[_0x495fce(0x1c9)](/TestRun/)&&_0x1ab52e[_0x495fce(0x1a2)](mapTestHooks,_0x5d4ea4);const _0x4d83c8=_0x262e0e[_0x1ab52e[_0x495fce(0x1b0)]][0x0];_0x4d83c8&&(_0x262e0e[_0x1ab52e[_0x495fce(0x295)]]=_0x4d83c8[_0x1ab52e[_0x495fce(0x23a)]],_0x262e0e[_0x1ab52e[_0x495fce(0x217)]]=_0x4d83c8[_0x1ab52e['CTIOV']]);[_0x1ab52e[_0x495fce(0x1a0)],_0x1ab52e['nNMnI']]['includes'](_0x3a7050)&&(this[_0x495fce(0x28f)][_0x495fce(0x1eb)](_0x262e0e),_0x262e0e[_0x495fce(0x1f6)]=_0x1ab52e['YxTBP'](getHooksForTest,_0x5d4ea4));const _0x3708ef={'event_type':_0x1ab52e[_0x495fce(0x26b)](_0x3a7050,_0x1ab52e[_0x495fce(0x1f1)])?_0x1ab52e[_0x495fce(0x1a0)]:_0x3a7050};_0x3a7050[_0x495fce(0x1c9)](/HookRun/)?(_0x262e0e[_0x1ab52e[_0x495fce(0x2a2)]]=HOOK_TYPES_MAP[_0x262e0e[_0x1ab52e[_0x495fce(0x2a2)]]],_0x3708ef[_0x1ab52e[_0x495fce(0x24a)]]=_0x262e0e):_0x3708ef[_0x1ab52e['Fghmy']]=_0x262e0e,testhubUtils[_0x495fce(0x278)](FRAMEWORKS[_0x495fce(0x1bf)],_0x3708ef),await SessionHandler[_0x495fce(0x276)](_0x3708ef);}catch(_0x1b167f){_0x1ab52e[_0x495fce(0x196)](debug,_0x495fce(0x1ee)+_0x3a7050+_0x495fce(0x1c4)+_0x1b167f);}};[a27_0x37aa22(0x24d)](_0xda2954){const _0x4cbd13=a27_0x37aa22,_0x47598a={};_0x47598a[_0x4cbd13(0x25f)]=function(_0x27fbc8,_0x331120){return _0x27fbc8===_0x331120;},_0x47598a[_0x4cbd13(0x205)]=function(_0x7d7ff8,_0x122e9f){return _0x7d7ff8===_0x122e9f;},_0x47598a[_0x4cbd13(0x266)]=function(_0x3b61e,_0x3905e7){return _0x3b61e===_0x3905e7;},_0x47598a[_0x4cbd13(0x285)]=function(_0x3bfbff,_0x58fa85){return _0x3bfbff===_0x58fa85;},_0x47598a[_0x4cbd13(0x264)]=_0x4cbd13(0x1ff),_0x47598a[_0x4cbd13(0x1ed)]='config';const _0xb0d5cf=_0x47598a,_0x173392=path[_0x4cbd13(0x29f)];if(_0xb0d5cf['MkwGk'](_0xda2954,null)||_0xb0d5cf[_0x4cbd13(0x205)](_0xda2954,'')||_0xb0d5cf[_0x4cbd13(0x266)](_0xda2954,_0x173392)||_0xb0d5cf[_0x4cbd13(0x285)](_0xda2954,path[_0x4cbd13(0x211)](_0xda2954)))return null;try{return fs[_0x4cbd13(0x1b9)](path['join'](_0xda2954,_0xb0d5cf['UZDzE'],_0xb0d5cf[_0x4cbd13(0x1ed)])),_0xda2954;}catch(_0x476c1c){const _0x5f4fd6=path[_0x4cbd13(0x211)](_0xda2954);return this[_0x4cbd13(0x24d)](_0x5f4fd6);}}['appendTestItemLog']=async _0x57901f=>{const _0x50cfaa=a27_0x37aa22,_0x3a8185={'XHuvI':_0x50cfaa(0x2a1),'oJfVn':function(_0x1c02c3,_0x472190){return _0x1c02c3(_0x472190);}};try{this['current_hook']&&!this[_0x50cfaa(0x1df)]['markedStatus']&&(_0x57901f[_0x50cfaa(0x24c)]=this[_0x50cfaa(0x1df)][_0x50cfaa(0x1d9)]);!_0x57901f[_0x50cfaa(0x24c)]&&this[_0x50cfaa(0x1cf)]&&!this['current_test'][_0x50cfaa(0x18c)]&&(_0x57901f[_0x50cfaa(0x289)]=this[_0x50cfaa(0x1cf)][_0x50cfaa(0x292)]);if(_0x57901f['hook_run_uuid']||_0x57901f['test_run_uuid']){const _0x1e7d0c={};_0x1e7d0c[_0x50cfaa(0x1e4)]=_0x3a8185[_0x50cfaa(0x1f0)],_0x1e7d0c[_0x50cfaa(0x27d)]=[_0x57901f],await SessionHandler[_0x50cfaa(0x276)](_0x1e7d0c);}}catch(_0x11f9b5){_0x3a8185['oJfVn'](debug,_0x50cfaa(0x222)+_0x11f9b5);}};[a27_0x37aa22(0x296)]=async _0x24e024=>{const _0x410e4d=a27_0x37aa22,_0x1e4856={'MNobs':_0x410e4d(0x195),'RzMsu':_0x410e4d(0x1a8),'OSqYe':function(_0x46217a,_0xd06494){return _0x46217a(_0xd06494);}};try{const _0x23a541={};_0x23a541[_0x410e4d(0x1b8)]=_0x24e024[_0x410e4d(0x1b8)]||this[_0x410e4d(0x1cf)][_0x410e4d(0x292)],_0x23a541[_0x410e4d(0x248)]=_0x24e024[_0x1e4856[_0x410e4d(0x1dc)]];const _0x6d71f3=_0x23a541,_0xc99b77={};_0xc99b77['event_type']=_0x1e4856[_0x410e4d(0x2b5)],_0xc99b77[_0x410e4d(0x2a7)]=_0x6d71f3,await SessionHandler[_0x410e4d(0x276)](_0xc99b77);}catch(_0x1ef4e8){_0x1e4856['OSqYe'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x1ef4e8);}};[a27_0x37aa22(0x1cc)](_0x522ba8){const _0xe7e1da=a27_0x37aa22,_0x2f266e={};_0x2f266e[_0xe7e1da(0x1d0)]=_0xe7e1da(0x1f3),_0x2f266e[_0xe7e1da(0x2aa)]=_0xe7e1da(0x28b),_0x2f266e['WCTMs']=_0xe7e1da(0x247);const _0x32ea51=_0x2f266e,_0x1fb8da={};return _0x1fb8da[STATE_PASSED]=_0x32ea51[_0xe7e1da(0x1d0)],_0x1fb8da[STATE_PENDING]=_0x32ea51[_0xe7e1da(0x2aa)],_0x1fb8da[STATE_FAILED]=_0x32ea51[_0xe7e1da(0x25d)],_0x1fb8da[_0x522ba8];}[a27_0x37aa22(0x25e)](_0x4341fe){const _0x11c72c=a27_0x37aa22,_0x17107a={};_0x17107a[_0x11c72c(0x207)]=function(_0x32106a,_0x3fa97f){return _0x32106a-_0x3fa97f;};const _0x5c4987=_0x17107a,_0x1d5d4a=_0x4341fe[_0x11c72c(0x241)]();return _0x1d5d4a[_0x11c72c(0x19b)](0x0,_0x5c4987['ezyxc'](_0x1d5d4a['length'],0x1))['join']('\x20');}['scopes'](_0x19688a){const _0x2b09ae=a27_0x37aa22,_0x589ead={};_0x589ead[_0x2b09ae(0x269)]=function(_0x3f57db,_0x450bb0){return _0x3f57db-_0x450bb0;};const _0xc73f76=_0x589ead,_0x28afd5=_0x19688a[_0x2b09ae(0x241)]();return _0x28afd5[_0x2b09ae(0x19b)](0x0,_0xc73f76['cGABa'](_0x28afd5[_0x2b09ae(0x25c)],0x1));}['getRootParentFile'](_0xb8ded5){const _0x4dc3a9=a27_0x37aa22,_0x4336de={};_0x4336de[_0x4dc3a9(0x233)]=function(_0x5a5c15,_0x5ba729){return _0x5a5c15>_0x5ba729;};const _0x25b8c0=_0x4336de;if(_0xb8ded5['file'])return _0xb8ded5[_0x4dc3a9(0x1c3)];if(_0xb8ded5[_0x4dc3a9(0x20e)]){const _0x4c0db9=_0xb8ded5[_0x4dc3a9(0x20e)]['currentTest']?this[_0x4dc3a9(0x25a)](_0xb8ded5[_0x4dc3a9(0x20e)][_0x4dc3a9(0x219)]):null;if(_0x4c0db9)return _0x4c0db9;}if(_0xb8ded5[_0x4dc3a9(0x240)]){const _0x536087=this[_0x4dc3a9(0x25a)](_0xb8ded5[_0x4dc3a9(0x240)])||(_0xb8ded5[_0x4dc3a9(0x240)]['ctx']&&_0xb8ded5[_0x4dc3a9(0x240)]['ctx'][_0x4dc3a9(0x219)]?this[_0x4dc3a9(0x25a)](_0xb8ded5[_0x4dc3a9(0x240)][_0x4dc3a9(0x20e)][_0x4dc3a9(0x219)]):null);if(_0x536087)return _0x536087;_0xb8ded5[_0x4dc3a9(0x240)][_0x4dc3a9(0x208)]&&_0x25b8c0['NSYfO'](_0xb8ded5[_0x4dc3a9(0x240)]['suites'][_0x4dc3a9(0x25c)],0x0)&&_0xb8ded5[_0x4dc3a9(0x240)]['suites']['forEach'](_0x2587fa=>{const _0x23649c=_0x4dc3a9,_0x405052=_0x2587fa[_0x23649c(0x20e)]?this[_0x23649c(0x25a)](_0x2587fa[_0x23649c(0x20e)]):null;if(_0x405052)return _0x405052;});}return null;}}function a27_0x3055(_0x3effd0,_0x5c67e5){const _0x564959=a27_0x5649();return a27_0x3055=function(_0x305587,_0x2fb0ff){_0x305587=_0x305587-0x18c;let _0x5f4002=_0x564959[_0x305587];return _0x5f4002;},a27_0x3055(_0x3effd0,_0x5c67e5);}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_0x5dd6ba=a28_0xf794;(function(_0x58fbaa,_0x13878b){const _0x255f3a=a28_0xf794,_0x51675d=_0x58fbaa();while(!![]){try{const _0x55eddd=-parseInt(_0x255f3a(0x251))/0x1*(parseInt(_0x255f3a(0x1d2))/0x2)+-parseInt(_0x255f3a(0x1e3))/0x3+-parseInt(_0x255f3a(0x289))/0x4+parseInt(_0x255f3a(0x242))/0x5+parseInt(_0x255f3a(0x1c3))/0x6+parseInt(_0x255f3a(0x1f5))/0x7*(parseInt(_0x255f3a(0x299))/0x8)+parseInt(_0x255f3a(0x1f0))/0x9*(-parseInt(_0x255f3a(0x285))/0xa);if(_0x55eddd===_0x13878b)break;else _0x51675d['push'](_0x51675d['shift']());}catch(_0x3913cd){_0x51675d['push'](_0x51675d['shift']());}}}(a28_0x13c6,0x2c59a));const chalk=require(a28_0x5dd6ba(0x266)),logger=require(a28_0x5dd6ba(0x230))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a28_0x5dd6ba(0x23d)),testOpsHelper=require(a28_0x5dd6ba(0x1e9)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x5dd6ba(0x284)),{requireModule,nestedKeyValue}=require(a28_0x5dd6ba(0x269)),{getPercyOptions}=require(a28_0x5dd6ba(0x271)),Base=requireModule(a28_0x5dd6ba(0x2a7)),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x5dd6ba(0x287));function tag(_0x1a6bc4,_0x111fbd,_0x2922d1,_0x47feb6){const _0x526dbd=a28_0x5dd6ba,_0x2861c7={'IUrdp':function(_0x59fa8d,_0x46b8cd){return _0x59fa8d+_0x46b8cd;},'uYMLR':function(_0x22228e,_0x27a2a8){return _0x22228e+_0x27a2a8;},'EBnYR':function(_0x334b70,_0x45d740){return _0x334b70(_0x45d740);},'BzSKX':function(_0x1147bc,_0x1e1c53){return _0x1147bc+_0x1e1c53;},'FXuPj':function(_0xff5745,_0x3d8bea){return _0xff5745+_0x3d8bea;},'OTxDP':function(_0x43bfac,_0x4c46c8){return _0x43bfac+_0x4c46c8;}},_0x3669f6=_0x2922d1?'/>':'>',_0x1ef5e7=[];let _0x299ca3;for(const _0x1df88a in _0x111fbd){Object[_0x526dbd(0x26b)][_0x526dbd(0x2ba)]['call'](_0x111fbd,_0x1df88a)&&_0x1ef5e7[_0x526dbd(0x2af)](_0x2861c7[_0x526dbd(0x225)](_0x2861c7[_0x526dbd(0x225)](_0x2861c7[_0x526dbd(0x1e7)](_0x1df88a,'=\x22'),_0x2861c7[_0x526dbd(0x26c)](escape,_0x111fbd[_0x1df88a])),'\x22'));}return _0x299ca3=_0x2861c7[_0x526dbd(0x21e)](_0x2861c7[_0x526dbd(0x21e)](_0x2861c7[_0x526dbd(0x21e)]('<',_0x1a6bc4),_0x1ef5e7[_0x526dbd(0x1f6)]?_0x2861c7[_0x526dbd(0x225)]('\x20',_0x1ef5e7[_0x526dbd(0x22d)]('\x20')):''),_0x3669f6),_0x47feb6&&(_0x299ca3+=_0x2861c7[_0x526dbd(0x1c8)](_0x2861c7['OTxDP'](_0x2861c7[_0x526dbd(0x261)](_0x47feb6,'</'),_0x1a6bc4),_0x3669f6)),_0x299ca3;}let xunitContent='';function xunitWrite(_0x7c93d5){xunitContent+=_0x7c93d5;}function xunitTest(_0x595de3,_0x126df0){const _0xa793fd=a28_0x5dd6ba,_0x267b42={'jZKbN':function(_0x4f7096,_0x19961a){return _0x4f7096/_0x19961a;},'Cyffq':function(_0x271cbc,_0xb4bb18){return _0x271cbc===_0xb4bb18;},'xlLsy':'failed','QGyNB':function(_0x36fc34,_0x193b1f){return _0x36fc34+_0x193b1f;},'LuoSc':function(_0x1972b0,_0x43e72d){return _0x1972b0(_0x43e72d);},'KGZWx':function(_0x25a2ae,_0x62dccf,_0x6855d3,_0x13151d,_0x2fd7c5){return _0x25a2ae(_0x62dccf,_0x6855d3,_0x13151d,_0x2fd7c5);},'mCbqP':_0xa793fd(0x1d8),'IPAlA':_0xa793fd(0x1e0),'vgwEI':function(_0x185e98,_0x131db1){return _0x185e98(_0x131db1);},'zVvhi':function(_0xa761e3,_0x581f48){return _0xa761e3(_0x581f48);},'iSyDH':function(_0x3742fd,_0x75763e,_0x28ada7,_0x16bfe3){return _0x3742fd(_0x75763e,_0x28ada7,_0x16bfe3);},'wmZjh':_0xa793fd(0x24f),'XdwwE':function(_0x26726b,_0x46133a){return _0x26726b(_0x46133a);}};Base[_0xa793fd(0x1c2)]=![];var _0x2de2db={'classname':_0x595de3['fullTitle'],'name':_0x595de3[_0xa793fd(0x25f)],'time':_0x267b42[_0xa793fd(0x2a2)](_0x595de3[_0xa793fd(0x23b)],0x3e8)||0x0,'platform':_0x126df0};if(_0x267b42[_0xa793fd(0x273)](_0x595de3[_0xa793fd(0x211)],_0x267b42[_0xa793fd(0x2aa)])){var _0x27fda6=_0x595de3[_0xa793fd(0x1ec)],_0x96fca5=!Base[_0xa793fd(0x2a9)]&&Base[_0xa793fd(0x1cb)](_0x27fda6)?_0x267b42[_0xa793fd(0x244)]('\x0a',Base[_0xa793fd(0x2a6)](_0x27fda6[_0xa793fd(0x1cf)],_0x27fda6['expected'])):'';_0x267b42[_0xa793fd(0x256)](xunitWrite,_0x267b42[_0xa793fd(0x238)](tag,_0x267b42['mCbqP'],_0x2de2db,![],_0x267b42[_0xa793fd(0x238)](tag,_0x267b42[_0xa793fd(0x205)],{},![],_0x267b42[_0xa793fd(0x244)](_0x267b42[_0xa793fd(0x244)](_0x267b42['QGyNB'](_0x267b42[_0xa793fd(0x1f4)](escape,_0x27fda6[_0xa793fd(0x204)]),_0x267b42[_0xa793fd(0x1c5)](escape,_0x96fca5)),'\x0a'),_0x267b42[_0xa793fd(0x1f4)](escape,_0x27fda6['stack'])))));}else _0x595de3[_0xa793fd(0x21b)]?_0x267b42[_0xa793fd(0x256)](xunitWrite,_0x267b42[_0xa793fd(0x238)](tag,_0x267b42[_0xa793fd(0x22c)],_0x2de2db,![],_0x267b42[_0xa793fd(0x20a)](tag,_0x267b42[_0xa793fd(0x288)],{},!![]))):_0x267b42[_0xa793fd(0x222)](xunitWrite,_0x267b42['iSyDH'](tag,_0x267b42[_0xa793fd(0x22c)],_0x2de2db,!![]));};function getStats(_0x46cc12){const _0x58cbe6=a28_0x5dd6ba,_0x4c7955={};_0x4c7955[_0x58cbe6(0x277)]=_0x58cbe6(0x1ff),_0x4c7955[_0x58cbe6(0x1d5)]=_0x58cbe6(0x1dd),_0x4c7955['yHNqv']=_0x58cbe6(0x1f1),_0x4c7955[_0x58cbe6(0x2b2)]=_0x58cbe6(0x280);const _0x3b38f1=_0x4c7955,_0x4d530e=Object['keys'](_0x46cc12);let _0x4621f6=0x0,_0x3e4439=0x0,_0x1de718=0x0,_0x5d6eae=0x0;const _0x2439e2=new Set();_0x4d530e[_0x58cbe6(0x1d9)](_0x319f92=>{const _0x4bafe3=_0x58cbe6;_0x46cc12[_0x319f92][_0x3b38f1[_0x4bafe3(0x2b2)]][_0x4bafe3(0x1d9)](_0x4fd9b3=>{const _0x17cbae=_0x4bafe3;_0x2439e2[_0x17cbae(0x1ee)](_0x4fd9b3[_0x3b38f1[_0x17cbae(0x277)]]),_0x4621f6++;switch(_0x4fd9b3['state']){case _0x3b38f1['OrclD']:_0x1de718++;break;case _0x3b38f1['yHNqv']:_0x3e4439++;break;default:_0x5d6eae++;}});});const _0x4d46f0={};return _0x4d46f0['testSuites']=_0x2439e2[_0x58cbe6(0x293)],_0x4d46f0[_0x58cbe6(0x220)]=_0x4d530e,_0x4d46f0[_0x58cbe6(0x1f2)]=_0x4621f6,_0x4d46f0[_0x58cbe6(0x1d3)]=_0x3e4439,_0x4d46f0[_0x58cbe6(0x2b6)]=_0x1de718,_0x4d46f0[_0x58cbe6(0x1d0)]=_0x5d6eae,_0x4d46f0;}function errorJSON(_0x42b2c7){const _0xdb0eaa=a28_0x5dd6ba;var _0x490120={};return Object[_0xdb0eaa(0x1fe)](_0x42b2c7)[_0xdb0eaa(0x1d9)](function(_0x3f7437){_0x490120[_0x3f7437]=_0x42b2c7[_0x3f7437];},_0x42b2c7),_0x490120;}function cleanCycles(_0x314f3c){const _0x54b180=a28_0x5dd6ba,_0x13112b={};_0x13112b[_0x54b180(0x20b)]=function(_0x5df788,_0x5855c8){return _0x5df788===_0x5855c8;},_0x13112b['MsYxD']='object',_0x13112b[_0x54b180(0x237)]=function(_0x4bb9ce,_0x41da04){return _0x4bb9ce!==_0x41da04;},_0x13112b['oZnwm']=function(_0x4d61c3,_0x34a79d){return _0x4d61c3+_0x34a79d;};const _0x5f1f53=_0x13112b;var _0x16b168=[];return JSON[_0x54b180(0x23c)](JSON[_0x54b180(0x260)](_0x314f3c,function(_0x248502,_0x362abe){const _0x3dd64e=_0x54b180;if(_0x5f1f53['PemUD'](typeof _0x362abe,_0x5f1f53[_0x3dd64e(0x215)])&&_0x5f1f53[_0x3dd64e(0x237)](_0x362abe,null)){if(_0x5f1f53['jLHqP'](_0x16b168[_0x3dd64e(0x28a)](_0x362abe),-0x1))return _0x5f1f53[_0x3dd64e(0x1de)]('',_0x362abe);_0x16b168[_0x3dd64e(0x2af)](_0x362abe);}return _0x362abe;}));}function clean(_0x3beb45){const _0x100870=a28_0x5dd6ba,_0x3098d4={'UrkDQ':function(_0x3609eb,_0x4507d2){return _0x3609eb instanceof _0x4507d2;},'gKxyB':function(_0x23b455,_0x3d1f4a){return _0x23b455(_0x3d1f4a);}};var _0x26473c=_0x3beb45['err']||{};return _0x3098d4[_0x100870(0x295)](_0x26473c,Error)&&(_0x26473c=_0x3098d4[_0x100870(0x28e)](errorJSON,_0x26473c)),{'title':_0x3beb45['title'],'fullTitle':_0x3beb45['fullTitle'],'file':_0x3beb45[_0x100870(0x216)],'duration':_0x3beb45[_0x100870(0x23b)],'currentRetry':_0x3beb45[_0x100870(0x21f)],'speed':_0x3beb45['speed'],'err':_0x3098d4['gKxyB'](cleanCycles,_0x26473c)};}function printStats(_0x11fc8a,_0x4bd708=a28_0x5dd6ba(0x2b7),_0x2ebaf3={}){const _0x213af5=a28_0x5dd6ba,_0x5239ea={'QhoPV':function(_0x2d1a4a,_0x1d837d){return _0x2d1a4a(_0x1d837d);},'WxrXY':function(_0x713b1f,_0x55fb97){return _0x713b1f===_0x55fb97;},'csIRm':_0x213af5(0x1dd),'ZkgTn':_0x213af5(0x247),'jvZhr':_0x213af5(0x1f1),'XuNzI':_0x213af5(0x283),'PARlF':function(_0x46f743,_0x5cbfde){return _0x46f743(_0x5cbfde);},'fnpha':_0x213af5(0x24d),'JYVJR':_0x213af5(0x280),'onXcy':function(_0x24ad8d,_0x554ba7){return _0x24ad8d===_0x554ba7;},'irQXz':function(_0x23a059,_0x33face){return _0x23a059*_0x33face;},'LVaNP':function(_0x431160,_0xa1ee8,_0x554d7a){return _0x431160(_0xa1ee8,_0x554d7a);},'Zaybz':function(_0x668faa,_0x46855e){return _0x668faa>_0x46855e;},'XqwNs':function(_0x15e71e){return _0x15e71e();},'kvuHz':'doc','mVNkY':function(_0x1e750e,_0x5e18f5){return _0x1e750e(_0x5e18f5);},'IORZP':function(_0x4120eb,_0x458726){return _0x4120eb>_0x458726;},'ouhgf':_0x213af5(0x217),'OkqdR':_0x213af5(0x20c),'TwNPO':function(_0x15a7a7,_0x23c3b8){return _0x15a7a7+_0x23c3b8;},'Pwglo':_0x213af5(0x24e),'DCMHd':_0x213af5(0x26a),'vXzuN':function(_0x2cd61f,_0xbc1487){return _0x2cd61f+_0xbc1487;},'aPFzh':'Tests:\x20\x20\x20\x20\x20\x20\x20','QyiTu':function(_0x18547c,_0x46ba1e){return _0x18547c>_0x46ba1e;},'SmQYd':function(_0x1548d9,_0x3f9f41){return _0x1548d9>_0x3f9f41;},'wQMVE':function(_0x41b214,_0x542170){return _0x41b214+_0x542170;},'AODQR':function(_0x1ce1cb,_0x4e876a){return _0x1ce1cb+_0x4e876a;},'xybKd':_0x213af5(0x200),'PxZTx':_0x213af5(0x24b),'lrBTr':_0x213af5(0x20f),'yeLDH':_0x213af5(0x243),'HrSWX':_0x213af5(0x25e),'yoLoD':_0x213af5(0x1e5),'FkFrJ':_0x213af5(0x2ad),'mvBFr':function(_0x257bfc,_0x51f1f2){return _0x257bfc||_0x51f1f2;},'TAcjt':function(_0x4708ec,_0xa8c9be,_0x232740,_0x1ed292){return _0x4708ec(_0xa8c9be,_0x232740,_0x1ed292);},'NeyLH':'testsuite','OXUms':function(_0x5ee0c9,_0xe18a06){return _0x5ee0c9-_0xe18a06;},'edNcK':function(_0x4c18cc,_0x23a0f0){return _0x4c18cc-_0x23a0f0;},'DqTDt':function(_0x300476,_0x490cb4){return _0x300476/_0x490cb4;},'AcbWz':_0x213af5(0x1f8),'XCNJf':_0x213af5(0x1dc),'zzkRM':_0x213af5(0x257),'sWRWo':_0x213af5(0x1da),'KUeGS':'Listing\x20all\x20the\x20failures','LBdbC':'****\x20FAILURES\x20****'};if(_0x5239ea[_0x213af5(0x264)](_0x4bd708,_0x5239ea[_0x213af5(0x1c1)]))return;const _0x39ea38=0x0,_0x33fab0=()=>{const _0x12576d=_0x213af5;return _0x5239ea[_0x12576d(0x1c0)](Array,_0x39ea38)[_0x12576d(0x22d)]('\x20\x20');},{testSuites:_0x3788f4,platforms:_0x2fd350,totalTests:_0x3defd2,testsFailed:_0x110769,testsPassed:_0x1d1c5f,testsPending:_0x2e77e0}=_0x5239ea['mVNkY'](getStats,_0x11fc8a);_0x5239ea[_0x213af5(0x286)](_0x110769,0x0)&&(logger[_0x213af5(0x20d)](_0x5239ea[_0x213af5(0x276)]),process['exitCode']=Math[_0x213af5(0x236)](_0x110769,0xff));logger[_0x213af5(0x20d)](_0x5239ea['OkqdR']);const _0x3c12fe=''+_0x5239ea[_0x213af5(0x1fa)](chalk['bold'](_0x5239ea[_0x213af5(0x203)]),_0x2fd350[_0x213af5(0x1f6)]),_0x224d75=''+_0x5239ea[_0x213af5(0x1fa)](chalk[_0x213af5(0x2b3)](_0x5239ea[_0x213af5(0x1fb)]),_0x3788f4),_0x1c0bc1=''+_0x5239ea[_0x213af5(0x226)](_0x5239ea[_0x213af5(0x226)](_0x5239ea[_0x213af5(0x226)](chalk['bold'](_0x5239ea[_0x213af5(0x208)]),_0x5239ea[_0x213af5(0x221)](_0x110769,0x0)?chalk[_0x213af5(0x2b3)][_0x213af5(0x1e4)](_0x110769+_0x213af5(0x268))+',\x20':''),_0x5239ea[_0x213af5(0x2bb)](_0x2e77e0,0x0)?chalk[_0x213af5(0x2b3)][_0x213af5(0x207)](_0x2e77e0+_0x213af5(0x2b8))+',\x20':''),_0x5239ea[_0x213af5(0x1ed)](_0x1d1c5f,0x0)?chalk[_0x213af5(0x2b3)][_0x213af5(0x28f)](_0x1d1c5f+_0x213af5(0x246))+',\x20':'')+_0x3defd2+'\x20total';console[_0x213af5(0x27e)](_0x5239ea[_0x213af5(0x1fa)](_0x5239ea[_0x213af5(0x249)](_0x5239ea['TwNPO'](_0x5239ea['TwNPO'](_0x5239ea[_0x213af5(0x2b5)](_0x5239ea[_0x213af5(0x1e1)],_0x3c12fe),'\x0a'),_0x224d75),'\x0a'),_0x1c0bc1));if(_0x5239ea[_0x213af5(0x29f)](_0x4bd708,_0x5239ea[_0x213af5(0x232)])){const _0x5c3d03={},_0x204612={};_0x204612[_0x213af5(0x282)]=_0x3788f4,_0x204612[_0x213af5(0x220)]=_0x2fd350,_0x204612['testsFailed']=_0x110769,_0x204612[_0x213af5(0x2b6)]=_0x1d1c5f,_0x204612['testsPending']=_0x2e77e0,_0x5c3d03[_0x213af5(0x240)]=_0x204612,_0x2fd350['forEach'](_0x515c13=>{const _0xf15fe4=_0x213af5,_0x77898e={'Pqfdb':function(_0x11cf22,_0x4efcf7){const _0x6602ca=a28_0xf794;return _0x5239ea[_0x6602ca(0x264)](_0x11cf22,_0x4efcf7);},'oOtvU':_0x5239ea[_0xf15fe4(0x219)],'uhboF':_0x5239ea['ZkgTn'],'XHsQa':function(_0x1c5dd8,_0x4dd4ec){return _0x5239ea['QhoPV'](_0x1c5dd8,_0x4dd4ec);},'DWJmm':_0x5239ea['jvZhr'],'DgGyZ':_0x5239ea[_0xf15fe4(0x245)],'YDkwx':function(_0x526822,_0x2c48a4){return _0x5239ea['PARlF'](_0x526822,_0x2c48a4);},'ltQEZ':_0x5239ea['fnpha']};_0x5c3d03[_0x515c13]={'pending':[],'failures':[],'passes':[],'tests':_0x11fc8a[_0x515c13][_0x5239ea[_0xf15fe4(0x213)]][_0xf15fe4(0x29b)](clean)},_0x11fc8a[_0x515c13][_0x5239ea[_0xf15fe4(0x213)]][_0xf15fe4(0x1d9)](_0x2ed92b=>{const _0x16e26a=_0xf15fe4;if(_0x77898e[_0x16e26a(0x1d4)](_0x2ed92b[_0x16e26a(0x211)],_0x77898e['oOtvU']))_0x5c3d03[_0x515c13][_0x77898e[_0x16e26a(0x1df)]]['push'](_0x77898e[_0x16e26a(0x1e8)](clean,_0x2ed92b));else _0x77898e['Pqfdb'](_0x2ed92b[_0x16e26a(0x211)],_0x77898e['DWJmm'])?_0x5c3d03[_0x515c13][_0x77898e['DgGyZ']][_0x16e26a(0x2af)](_0x77898e['YDkwx'](clean,_0x2ed92b)):_0x5c3d03[_0x515c13][_0x77898e[_0x16e26a(0x1ef)]]['push'](_0x77898e[_0x16e26a(0x1e8)](clean,_0x2ed92b));});});if(_0x2ebaf3[_0x213af5(0x1d7)])try{logger[_0x213af5(0x20d)](_0x5239ea[_0x213af5(0x259)],_0x2ebaf3[_0x213af5(0x1d7)]),fs[_0x213af5(0x224)](_0x2ebaf3['output'],JSON['stringify'](_0x5c3d03,null,0x3));}catch(_0x5cdc7e){logger[_0x213af5(0x1bf)](_0x5239ea[_0x213af5(0x2a0)],_0x2ebaf3[_0x213af5(0x1d7)]),logger[_0x213af5(0x20d)](_0x5cdc7e);}else logger[_0x213af5(0x20d)](_0x5239ea[_0x213af5(0x234)]),console['log'](JSON[_0x213af5(0x260)](_0x5c3d03,null,0x3));}else{if(_0x5239ea[_0x213af5(0x29f)](_0x4bd708,_0x5239ea['yoLoD'])){let _0x1ddc00;const _0x9b21ba=_0x5239ea[_0x213af5(0x1c7)];_0x2ebaf3&&(_0x1ddc00=_0x2ebaf3[_0x213af5(0x206)]);_0x1ddc00=_0x5239ea[_0x213af5(0x2a3)](_0x1ddc00,_0x9b21ba);let _0x4e6347=0x0,_0x5d9320=0x0,_0x138036=0x0,_0x282680=0x0;_0x2fd350[_0x213af5(0x1d9)](_0x5339ff=>{const _0x8f74f1=_0x213af5,_0x436b13={'ZNxqa':function(_0x2bbd63,_0x4ea5b3){return _0x5239ea['onXcy'](_0x2bbd63,_0x4ea5b3);},'wJsNs':_0x5239ea[_0x8f74f1(0x219)],'zAydt':_0x5239ea[_0x8f74f1(0x298)],'yYRag':function(_0x4c59ba,_0x4182cd){const _0x52ff34=_0x8f74f1;return _0x5239ea[_0x52ff34(0x27d)](_0x4c59ba,_0x4182cd);}};_0x11fc8a[_0x5339ff][_0x5239ea[_0x8f74f1(0x213)]]['forEach'](_0x5686b7=>{const _0x162b16=_0x8f74f1;if(_0x436b13[_0x162b16(0x29d)](_0x5686b7[_0x162b16(0x211)],_0x436b13[_0x162b16(0x21a)]))_0x4e6347++;else _0x436b13[_0x162b16(0x29d)](_0x5686b7[_0x162b16(0x211)],_0x436b13[_0x162b16(0x231)])&&_0x5d9320++;_0x138036++,_0x282680+=_0x436b13[_0x162b16(0x25b)](_0x5686b7['duration'],0x1);});}),_0x5239ea['QhoPV'](xunitWrite,_0x5239ea[_0x213af5(0x272)](tag,_0x5239ea['NeyLH'],{'name':_0x1ddc00,'tests':_0x138036,'failures':0x0,'errors':_0x5d9320,'skipped':_0x5239ea[_0x213af5(0x262)](_0x5239ea[_0x213af5(0x214)](_0x138036,_0x5d9320),_0x4e6347),'timestamp':new Date()[_0x213af5(0x270)](),'time':_0x5239ea[_0x213af5(0x223)](_0x282680,0x3e8)||0x0},![])),_0x2fd350['forEach'](_0x5c8756=>{const _0x33d047=_0x213af5,_0x51a832={'oWMok':function(_0x19279a,_0xb6b9ff,_0xb6025e){return _0x5239ea['LVaNP'](_0x19279a,_0xb6b9ff,_0xb6025e);}};_0x11fc8a[_0x5c8756][_0x5239ea[_0x33d047(0x213)]]['forEach'](_0x2f1c24=>{const _0x5ed175=_0x33d047;_0x51a832[_0x5ed175(0x23e)](xunitTest,_0x2f1c24,_0x5c8756);});}),_0x5239ea['QhoPV'](xunitWrite,_0x5239ea['AcbWz']);if(_0x2ebaf3[_0x213af5(0x1d7)])try{logger[_0x213af5(0x20d)](_0x5239ea[_0x213af5(0x25d)],_0x2ebaf3[_0x213af5(0x1d7)]),fs[_0x213af5(0x224)](_0x2ebaf3[_0x213af5(0x1d7)],xunitContent);}catch(_0x4360cc){logger[_0x213af5(0x1bf)](_0x5239ea['zzkRM'],_0x2ebaf3['output']),logger[_0x213af5(0x20d)](_0x4360cc);}else logger[_0x213af5(0x20d)](_0x5239ea[_0x213af5(0x278)]),console[_0x213af5(0x27e)](xunitContent);}else{if(_0x5239ea[_0x213af5(0x264)](_0x110769,0x0))return;console[_0x213af5(0x27e)](),logger[_0x213af5(0x20d)](_0x5239ea[_0x213af5(0x22e)]),console[_0x213af5(0x27e)](chalk['bold'][_0x213af5(0x27c)](_0x5239ea[_0x213af5(0x29c)])),_0x2fd350[_0x213af5(0x1d9)](_0x1979ba=>{const _0x4ce9ad=_0x213af5,_0x44aee7={'etMed':function(_0x44c95c,_0x305a73){return _0x5239ea['onXcy'](_0x44c95c,_0x305a73);},'jCdlZ':_0x5239ea[_0x4ce9ad(0x298)]},_0x1f262c=[];_0x11fc8a[_0x1979ba][_0x5239ea[_0x4ce9ad(0x213)]][_0x4ce9ad(0x1d9)](_0x1b09c8=>{const _0x22845d=_0x4ce9ad;_0x44aee7[_0x22845d(0x26f)](_0x1b09c8[_0x22845d(0x211)],_0x44aee7[_0x22845d(0x1f3)])&&(_0x1b09c8['titlePath']=()=>_0x1b09c8[_0x22845d(0x255)],_0x1f262c[_0x22845d(0x2af)](_0x1b09c8));}),_0x5239ea[_0x4ce9ad(0x1ed)](_0x1f262c[_0x4ce9ad(0x1f6)],0x0)&&(Base[_0x4ce9ad(0x23a)](),Base[_0x4ce9ad(0x23a)](_0x5239ea[_0x4ce9ad(0x202)](_0x33fab0),chalk[_0x4ce9ad(0x2b3)]['bgBlueBright'](_0x1979ba)),Base['list'](_0x1f262c));});}}}async function run(_0x12afd1,_0x5316f9){const _0x24dc35=a28_0x5dd6ba,_0x4adfe5={'mOQNH':function(_0x5d60a2,_0xc24764,_0x50595f,_0x35c68a){return _0x5d60a2(_0xc24764,_0x50595f,_0x35c68a);},'PoHkv':_0x24dc35(0x1eb),'Zntfi':'error\x20removing\x20tcg\x20config\x20file','bQAwR':_0x24dc35(0x22a),'wWQWX':function(_0x4d877e,_0x3d8c60,_0x5a160f,_0x4d89e8){return _0x4d877e(_0x3d8c60,_0x5a160f,_0x4d89e8);},'aotIF':'mocha','CrYux':_0x24dc35(0x218),'VseNl':'--disable-browserstack-automation','KScdM':function(_0x47add6,_0x4cd431){return _0x47add6!=_0x4cd431;},'UOyBp':'cjs','KroXI':_0x24dc35(0x1ca),'STiCd':_0x24dc35(0x2ab),'ANNWg':_0x24dc35(0x235),'CjFmo':function(_0x25036a,_0x2613e8){return _0x25036a(_0x2613e8);},'TQptL':function(_0x42fa1e,_0x49b2a8,_0x28269b){return _0x42fa1e(_0x49b2a8,_0x28269b);},'rSjeJ':'files','obsam':_0x24dc35(0x28c),'EiPAn':_0x24dc35(0x1c9),'tNQqg':function(_0x1c8aff,_0x18f733,_0x522be7,_0x2c9073){return _0x1c8aff(_0x18f733,_0x522be7,_0x2c9073);},'qfZcx':function(_0x17afb1,_0x5d0d73){return _0x17afb1*_0x5d0d73;},'VOBQo':function(_0x2eecff,_0x4d56e9){return _0x2eecff(_0x4d56e9);},'xryPi':function(_0x2bc563,_0x2f0c8c){return _0x2bc563!==_0x2f0c8c;},'DJbqt':function(_0x20fa45,_0x3e9dda,_0xfcfa0b,_0x10bfbe){return _0x20fa45(_0x3e9dda,_0xfcfa0b,_0x10bfbe);}};process[_0x24dc35(0x29e)][_0x24dc35(0x290)](_0x4adfe5[_0x24dc35(0x296)])&&(process['env'][_0x24dc35(0x25c)]=![]);process[_0x24dc35(0x29e)][_0x24dc35(0x290)](_0x4adfe5['VseNl'])&&(process[_0x24dc35(0x233)][_0x24dc35(0x22b)]=![]);const _0x211ec7=new BrowserStackSetup(_0x12afd1,_0x4adfe5[_0x24dc35(0x241)]);helper[_0x24dc35(0x279)]()?(await _0x211ec7[_0x24dc35(0x1db)](),await helper[_0x24dc35(0x297)](_0x211ec7['config'])):await _0x211ec7[_0x24dc35(0x27f)]();const _0x541e12=[];let _0x260a55=[];if(!_0x211ec7[_0x24dc35(0x2a5)])return;_0x4adfe5[_0x24dc35(0x229)](_0x211ec7[_0x24dc35(0x2a5)][_0x24dc35(0x22f)],null)&&(process['env'][_0x24dc35(0x21d)]=_0x211ec7[_0x24dc35(0x2a5)]['testObservability']);!helper[_0x24dc35(0x2a8)](_0x211ec7[_0x24dc35(0x2a5)][_0x24dc35(0x250)])&&(process['env'][_0x24dc35(0x201)]=_0x211ec7[_0x24dc35(0x2a5)][_0x24dc35(0x250)]);!helper[_0x24dc35(0x2a8)](_0x211ec7[_0x24dc35(0x2a5)][_0x24dc35(0x28b)])&&(process[_0x24dc35(0x233)][_0x24dc35(0x2a1)]=JSON[_0x24dc35(0x260)](_0x211ec7['config'][_0x24dc35(0x28b)]));const {extension:extension=['js',_0x4adfe5['UOyBp'],_0x4adfe5[_0x24dc35(0x1f9)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4adfe5[_0x24dc35(0x263)]]}=_0x12afd1,_0x4b629f={..._0x12afd1};_0x4b629f[_0x24dc35(0x281)]=null;const _0x3601b6=_0x4b629f;let _0x37a476;if(testOpsHelper[_0x24dc35(0x28d)]()&&testOpsHelper[_0x24dc35(0x1ea)]()){let _0x24b6eb=process[_0x24dc35(0x233)][_0x24dc35(0x254)];!helper[_0x24dc35(0x2a8)](_0x211ec7[_0x24dc35(0x24a)])&&_0x211ec7[_0x24dc35(0x24a)]['has'](_0x4adfe5[_0x24dc35(0x212)])&&(_0x24b6eb=_0x211ec7[_0x24dc35(0x24a)]['get'](_0x4adfe5[_0x24dc35(0x212)])),_0x37a476=testOpsHelper['parseFileNames'](_0x24b6eb);}if(helper[_0x24dc35(0x2a8)](_0x37a476)){const _0x5e5ab0={};_0x5e5ab0[_0x24dc35(0x1ce)]=ignore,_0x5e5ab0[_0x24dc35(0x27a)]=extension,_0x5e5ab0[_0x24dc35(0x216)]=file,_0x5e5ab0[_0x24dc35(0x210)]=recursive,_0x5e5ab0[_0x24dc35(0x2a4)]=sort,_0x5e5ab0[_0x24dc35(0x2b7)]=spec,_0x37a476=_0x4adfe5['CjFmo'](collectFiles,_0x5e5ab0),_0x4adfe5['TQptL'](nestedKeyValue,_0x37a476,[_0x4adfe5['rSjeJ']])&&(_0x37a476=_0x37a476['files']);}helper[_0x24dc35(0x252)]();if(!helper[_0x24dc35(0x279)]()){const _0x42c14d=0x1,_0x523754={..._0x3601b6};_0x523754[_0x24dc35(0x2b7)]=[..._0x37a476],_0x541e12[_0x24dc35(0x2af)]({'mochaOpts':_0x523754,'configuration':{'platform':os[_0x24dc35(0x291)]()}}),logger[_0x24dc35(0x23f)](_0x4adfe5[_0x24dc35(0x26e)]),logger['info'](_0x4adfe5['EiPAn']),_0x4adfe5['tNQqg'](parallelTestRun,_0x541e12,_0x42c14d,_0x211ec7)[_0x24dc35(0x27b)](_0x3e4175=>{const _0x201f68=_0x24dc35;_0x4adfe5[_0x201f68(0x1fd)](printStats,_0x3e4175,_0x12afd1[_0x201f68(0x292)],_0x12afd1[_0x201f68(0x1c6)]||_0x12afd1[_0x4adfe5[_0x201f68(0x2ac)]]);})[_0x24dc35(0x239)](()=>{const _0x3203b9=_0x24dc35;try{const {browserstackFolderPath:_0x242a72,tcgConfigPath:_0x12eeb3}=helper[_0x3203b9(0x2b9)]();fs[_0x3203b9(0x258)](_0x12eeb3),fs['rmdirSync'](_0x242a72);}catch(_0x5c09b7){logger[_0x3203b9(0x20d)](_0x4adfe5[_0x3203b9(0x24c)],_0x5c09b7);}try{utilities[_0x3203b9(0x29a)](_0x4adfe5[_0x3203b9(0x1cc)],{},_0x211ec7[_0x3203b9(0x2a5)],_0x211ec7[_0x3203b9(0x275)]);}catch(_0xeb0b13){logger[_0x3203b9(0x20d)](_0x3203b9(0x1f7)+_0xeb0b13);}try{helper[_0x3203b9(0x248)]();}catch(_0x3db56f){logger['debug'](_0x3203b9(0x26d)+_0x3db56f);}testOpsHelper['printBuildLink']();});}else{const _0x13402e=helper[_0x24dc35(0x1cd)](_0x211ec7['config']),_0x5c28fd=helper[_0x24dc35(0x209)](_0x211ec7[_0x24dc35(0x2a5)]);_0x260a55=helper[_0x24dc35(0x294)](_0x211ec7[_0x24dc35(0x2a5)],_0x13402e,constants[_0x24dc35(0x1d1)][_0x24dc35(0x21c)]);let _0x244b27;const _0x52e504=_0x211ec7[_0x24dc35(0x2a5)][_0x24dc35(0x267)]||helper[_0x24dc35(0x2b1)](_0x12afd1,_0x5316f9,_0x211ec7['config'],constants['FRAMEWORKS']['MOCHA'])||0x1;helper[_0x24dc35(0x2ae)](_0x211ec7[_0x24dc35(0x2a5)])?_0x244b27=_0x4adfe5[_0x24dc35(0x1e2)](_0x211ec7[_0x24dc35(0x2a5)][_0x24dc35(0x220)][_0x24dc35(0x1f6)],_0x52e504):_0x244b27=_0x52e504;const _0x170937=_0x4adfe5['VOBQo'](getPercyOptions,_0x211ec7[_0x24dc35(0x2a5)]);if(_0x4adfe5[_0x24dc35(0x253)](_0x211ec7['config'][_0x24dc35(0x267)],0x1))_0x37a476[_0x24dc35(0x1d9)](_0x272e6d=>{const _0x196eee=_0x24dc35,_0x463d56=[];_0x260a55[_0x196eee(0x1d9)]((_0xc13a42,_0x2ca823)=>{const _0x5e566f=_0x196eee,_0x55266b={};_0x55266b[_0x5e566f(0x2b7)]=[_0x272e6d],_0x463d56['push']({'mochaOpts':Object['assign']({},_0x3601b6,_0x55266b),'configuration':{'server':_0x5c28fd,'capability':_0xc13a42,'proxySettings':_0x211ec7[_0x5e566f(0x2a5)]['proxySettings'],'platform':helper[_0x5e566f(0x1c4)](_0xc13a42),'browserStackLogLevel':_0x211ec7[_0x5e566f(0x2a5)][_0x5e566f(0x265)],'platformIndex':_0x2ca823,'browserStackPercyOptions':_0x170937,'platformCaps':_0x211ec7[_0x5e566f(0x2a5)]['platforms'][_0x2ca823]}});}),_0x541e12[_0x196eee(0x2af)](..._0x463d56);});else{const _0xa542e9=[];_0x260a55[_0x24dc35(0x1d9)]((_0x39776f,_0x3a35c9)=>{const _0x5bb38b=_0x24dc35;let _0x2e04a1=Object[_0x5bb38b(0x2b0)]({},_0x3601b6);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x5bb38b(0x1ea)]()&&(_0x2e04a1={..._0x2e04a1,'spec':[..._0x37a476]}),_0xa542e9['push']({'mochaOpts':_0x2e04a1,'configuration':{'server':_0x5c28fd,'capability':_0x39776f,'proxySettings':_0x211ec7[_0x5bb38b(0x2a5)][_0x5bb38b(0x2b4)],'platform':helper[_0x5bb38b(0x1c4)](_0x39776f),'browserStackLogLevel':_0x211ec7[_0x5bb38b(0x2a5)]['logLevel'],'platformIndex':_0x3a35c9,'browserStackPercyOptions':_0x170937,'platformCaps':_0x211ec7[_0x5bb38b(0x2a5)][_0x5bb38b(0x220)][_0x3a35c9]}});}),_0x541e12[_0x24dc35(0x2af)](..._0xa542e9);}logger[_0x24dc35(0x23f)](_0x24dc35(0x228)+_0x211ec7[_0x24dc35(0x2a5)][_0x24dc35(0x220)][_0x24dc35(0x1f6)]+_0x24dc35(0x1e6)),logger[_0x24dc35(0x23f)](_0x4adfe5[_0x24dc35(0x1d6)]);let _0x296995;_0x4adfe5[_0x24dc35(0x1fc)](parallelTestRun,_0x541e12,_0x244b27,_0x211ec7)[_0x24dc35(0x27b)](_0x8e5fad=>{const _0x5499eb=_0x24dc35;_0x296995=_0x8e5fad,_0x4adfe5[_0x5499eb(0x274)](printStats,_0x8e5fad,_0x12afd1[_0x5499eb(0x292)],_0x12afd1[_0x5499eb(0x1c6)]||_0x12afd1[_0x4adfe5['PoHkv']]);})['finally'](async()=>{const _0x436c5c=_0x24dc35;_0x211ec7[_0x436c5c(0x25a)]=helper[_0x436c5c(0x227)](_0x296995,_0x4adfe5['aotIF']),await utilities[_0x436c5c(0x20e)](_0x211ec7),testOpsHelper['printBuildLink']();});}}function a28_0xf794(_0x308cc5,_0x5a7713){const _0x13c677=a28_0x13c6();return a28_0xf794=function(_0xf7946c,_0x55fe4e){_0xf7946c=_0xf7946c-0x1bf;let _0x47bfa0=_0x13c677[_0xf7946c];return _0x47bfa0;},a28_0xf794(_0x308cc5,_0x5a7713);}module['exports']=run;function a28_0x13c6(){const _0xf6d37c=['mjs','showDiff','bQAwR','useW3C','ignore','actual','testsPending','FRAMEWORKS','2868tiqqvs','testsFailed','Pqfdb','OrclD','EiPAn','output','testcase','forEach','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','initialize','Writing\x20xunit\x20result\x20to\x20file','passed','oZnwm','uhboF','failure','xybKd','qfZcx','705306bdOyMr','red','xunit','\x20platforms','uYMLR','XHsQa','../../helpers/test-observability/utils','shouldReRunObservabilityTests','reporter-option','err','Zaybz','add','ltQEZ','18PNzdyL','failed','totalTests','jCdlZ','vgwEI','567zUgjUF','length','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','</testsuite>','KroXI','TwNPO','DCMHd','DJbqt','mOQNH','getOwnPropertyNames','suite','\x0a\x0a\x0a','BROWSERSTACK_TEST_ACCESSIBILITY_YML','XqwNs','Pwglo','message','IPAlA','suiteName','yellow','aPFzh','getHubUrl','iSyDH','PemUD','Printing\x20stats\x20of\x20tests','debug','finalExecution','Writing\x20json\x20result\x20to\x20file','recursive','state','ANNWg','JYVJR','edNcK','MsYxD','file','Setting\x20non\x20exit\x20code\x20for\x20failures','--disable-test-observability','csIRm','wJsNs','isPending','MOCHA','BROWSERSTACK_TEST_OBSERVABILITY_YML','BzSKX','currentRetry','platforms','QyiTu','XdwwE','DqTDt','writeFileSync','IUrdp','vXzuN','getErrorMessageFromResults','Running\x20your\x20mocha\x20tests\x20across\x20','KScdM','SDKTestSuccessful','BROWSERSTACK_AUTOMATION','mCbqP','join','KUeGS','testObservability','../../helpers/logger','zAydt','PxZTx','env','HrSWX','rerunTests','min','jLHqP','KGZWx','finally','consoleLog','duration','parse','../../helpers/utilities','oWMok','info','stats','aotIF','1072420sjGUCp','Couldn\x27t\x20write\x20json\x20result\x20to','QGyNB','XuNzI','\x20passed','passes','notifyUpdate','wQMVE','cliConfig','json','Zntfi','pending','Total\x20Platforms:\x20','skipped','accessibility','124NiAqOB','markSDKSetupComplete','xryPi','BROWSERSTACK_RERUN_TESTS','titlePathV','LuoSc','Couldn\x27t\x20write\x20xunit\x20result\x20to','unlinkSync','lrBTr','errorMessage','yYRag','BROWSERSTACK_TEST_OBSERVABILITY','XCNJf','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','title','stringify','OTxDP','OXUms','STiCd','WxrXY','logLevel','chalk','parallelsPerPlatform','\x20failed','../../helpers/helper','Total\x20Suites:\x20','prototype','EBnYR','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','obsam','etMed','toUTCString','../../helpers/percy/utils','TAcjt','Cyffq','wWQWX','framework','ouhgf','SpHfV','sWRWo','isBrowserstackInfra','extension','then','bgRedBright','irQXz','log','setupTCGAuth','results','rootHooks','testSuites','failures','../test-runner','276310mpfxaz','IORZP','../utils/constants','wmZjh','494724VhnKKu','indexOf','accessibilityOptions','Running\x20your\x20mocha\x20tests','isTestObservabilitySession','gKxyB','green','includes','platform','reporter','size','prepareCapabilities','UrkDQ','CrYux','handleApp','jvZhr','35872OPDPAD','fireFunnelTestEvent','map','LBdbC','ZNxqa','argv','onXcy','yeLDH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jZKbN','mvBFr','sort','config','generateDiff','mocha/lib/reporters/base.js','isUndefined','hideDiff','xlLsy','test','PoHkv','Mocha\x20Tests','validPlatformsPresent','push','assign','getUserWorkerCount','tHCRI','bold','proxySettings','AODQR','testsPassed','spec','\x20skipped','getTCGConfigFilePaths','hasOwnProperty','SmQYd','error','QhoPV','kvuHz','useColors','1174986aBSwlX','getPlatformName','zVvhi','reporterOptions','FkFrJ','FXuPj','Now,\x20showing\x20logs\x20from\x20mocha'];a28_0x13c6=function(){return _0xf6d37c;};return a28_0x13c6();}
|