browserstack-node-sdk 1.34.1 → 1.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +2 -2
- package/src/ai-sdk-node/bundle.js +1 -0
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- 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 -0
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -0
- 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 -0
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a23_0x5f6dff=a23_0x300c;function a23_0x393b(){const _0x587a13=['shutdown','20220NBXySK','.browserstack','retry','env','exports','nFDfL','37879164xJOyuo','readFileSync','testData.json','setup','getTestData','../../../helpers/helper','ZlLqD','fPVnS','rmSync','dirPath','parse','1647066KDquVu','ENV_VAR','_test','unlinkSync','UifTW','FlZsp','jest-o11y-','recursive','homedir','1294407nvPqRZ','9007960flDOSD','uuid','2201948weGVrT','existsSync','_projectId','join','force','../../../helpers/testhub/constants','EkKLf','toString','setTestUUID','21MeshYo','1008658RLETfU','25FpnSeU','writeFileSync','getFilePath','.json','getTestRunIdFromTestInfo','tests','removeTestUUID','BROWSERSTACK_TESTHUB_UUID','XwkEX','dusSt','getTestUUID','mkdirSync','path','doRSY'];a23_0x393b=function(){return _0x587a13;};return a23_0x393b();}(function(_0x2354e9,_0x3d6b73){const _0x1c542b=a23_0x300c,_0xb28cf0=_0x2354e9();while(!![]){try{const _0x477583=-parseInt(_0x1c542b(0xac))/0x1+-parseInt(_0x1c542b(0xa2))/0x2+parseInt(_0x1c542b(0x9f))/0x3+-parseInt(_0x1c542b(0x85))/0x4*(-parseInt(_0x1c542b(0xad))/0x5)+parseInt(_0x1c542b(0x96))/0x6*(-parseInt(_0x1c542b(0xab))/0x7)+-parseInt(_0x1c542b(0xa0))/0x8+parseInt(_0x1c542b(0x8b))/0x9;if(_0x477583===_0x3d6b73)break;else _0xb28cf0['push'](_0xb28cf0['shift']());}catch(_0x7e2f0b){_0xb28cf0['push'](_0xb28cf0['shift']());}}}(a23_0x393b,0x940ac));const fs=require('fs'),path=require(a23_0x5f6dff(0x82)),{v4:uuidv4}=require(a23_0x5f6dff(0xa1)),helper=require(a23_0x5f6dff(0x90)),testHubConstants=require(a23_0x5f6dff(0xa7));function a23_0x300c(_0x1eb31c,_0x171f5d){const _0x393b8b=a23_0x393b();return a23_0x300c=function(_0x300c06,_0x36fc1a){_0x300c06=_0x300c06-0x7b;let _0x28eec3=_0x393b8b[_0x300c06];return _0x28eec3;},a23_0x300c(_0x1eb31c,_0x171f5d);}class TestDetails{static [a23_0x5f6dff(0x7b)]={};static [a23_0x5f6dff(0x94)]=path[a23_0x5f6dff(0xa5)](helper[a23_0x5f6dff(0x9e)](),'.browserstack',a23_0x5f6dff(0x9c)+process[a23_0x5f6dff(0x88)][testHubConstants[a23_0x5f6dff(0x97)][a23_0x5f6dff(0x7d)]]);static[a23_0x5f6dff(0x8e)](){const _0x3a0a03=a23_0x5f6dff,_0x5df644={};_0x5df644[_0x3a0a03(0x91)]=_0x3a0a03(0x86);const _0x5559dc=_0x5df644;this[_0x3a0a03(0x94)]=path[_0x3a0a03(0xa5)](helper[_0x3a0a03(0x9e)](),_0x5559dc['ZlLqD'],_0x3a0a03(0x9c)+process[_0x3a0a03(0x88)][testHubConstants[_0x3a0a03(0x97)][_0x3a0a03(0x7d)]]),this[_0x3a0a03(0x84)]();const _0x1d3870={};_0x1d3870[_0x3a0a03(0x9d)]=!![],fs[_0x3a0a03(0x81)](this[_0x3a0a03(0x94)],_0x1d3870);}static[a23_0x5f6dff(0xaf)](_0x5ee275){const _0x24fe73=a23_0x5f6dff,_0x30e1f9={};_0x30e1f9[_0x24fe73(0xa8)]=function(_0x55f6dc,_0x298b91){return _0x55f6dc+_0x298b91;},_0x30e1f9[_0x24fe73(0x9b)]=_0x24fe73(0xb0);const _0x1eaff2=_0x30e1f9;return path[_0x24fe73(0xa5)](this[_0x24fe73(0x94)],_0x1eaff2['EkKLf'](_0x5ee275,_0x1eaff2[_0x24fe73(0x9b)]));}static[a23_0x5f6dff(0xb1)](_0x16f61e){const _0x51b5de=a23_0x5f6dff,_0x183f10={};_0x183f10[_0x51b5de(0x83)]=function(_0x5afdda,_0x201366){return _0x5afdda+_0x201366;},_0x183f10['XwkEX']=function(_0x51d968,_0x2d3142){return _0x51d968+_0x2d3142;},_0x183f10[_0x51b5de(0x9a)]=function(_0x596a29,_0x3718d8){return _0x596a29+_0x3718d8;},_0x183f10[_0x51b5de(0x8a)]=function(_0x3e861c,_0x5243e6){return _0x3e861c+_0x5243e6;};const _0x95c687=_0x183f10;return _0x95c687[_0x51b5de(0x83)](_0x95c687[_0x51b5de(0x7e)](_0x95c687[_0x51b5de(0x9a)](_0x95c687[_0x51b5de(0x8a)](_0x16f61e[_0x51b5de(0x98)][_0x51b5de(0xa4)],'-'),_0x16f61e[_0x51b5de(0x98)]['id']),'-'),_0x16f61e[_0x51b5de(0x87)]);}static[a23_0x5f6dff(0x80)](_0x174473){const _0x504f41=a23_0x5f6dff,_0x3e975e=this[_0x504f41(0xaf)](_0x174473);if(fs[_0x504f41(0xa3)](_0x3e975e)){const _0x52e413=JSON[_0x504f41(0x95)](fs[_0x504f41(0x8c)](_0x3e975e)[_0x504f41(0xa9)]());return this[_0x504f41(0x7b)][_0x174473]=_0x52e413,this[_0x504f41(0x7b)][_0x174473][_0x504f41(0xa1)];}}static['setTestData'](_0x45207c){const _0x4b668a=a23_0x5f6dff,_0x200092={};_0x200092['FGvCJ']=_0x4b668a(0x8d);const _0x122fa6=_0x200092,_0x46f5ff=path[_0x4b668a(0xa5)](this[_0x4b668a(0x94)],_0x122fa6['FGvCJ']);fs['writeFileSync'](_0x46f5ff,JSON['stringify'](_0x45207c));}static[a23_0x5f6dff(0x8f)](){const _0x522612=a23_0x5f6dff,_0x419ba8={};_0x419ba8[_0x522612(0x92)]='testData.json';const _0xdb7ef7=_0x419ba8,_0x44eb68=path['join'](this[_0x522612(0x94)],_0xdb7ef7[_0x522612(0x92)]);let _0x1c2c30={};try{return fs[_0x522612(0xa3)](_0x44eb68)&&(_0x1c2c30=JSON[_0x522612(0x95)](fs[_0x522612(0x8c)](_0x44eb68)[_0x522612(0xa9)]())),_0x1c2c30;}catch(_0x5984e6){return _0x1c2c30;}}static[a23_0x5f6dff(0xaa)](_0x2288fe){const _0x540740=a23_0x5f6dff,_0x927e1b={'dusSt':function(_0x517a2e){return _0x517a2e();}},_0x257eb4=this['getFilePath'](_0x2288fe);return this[_0x540740(0x7b)][_0x2288fe]={'uuid':_0x927e1b[_0x540740(0x7f)](uuidv4)},fs[_0x540740(0xae)](_0x257eb4,JSON['stringify'](this[_0x540740(0x7b)][_0x2288fe])),this['tests'][_0x2288fe][_0x540740(0xa1)];}static[a23_0x5f6dff(0x7c)](_0x3aa49b){const _0x558ed5=a23_0x5f6dff,_0x33cf22=this['getFilePath'](_0x3aa49b);fs['existsSync'](_0x33cf22)&&fs[_0x558ed5(0x99)](_0x33cf22);}static[a23_0x5f6dff(0x84)](){const _0x1a2af7=a23_0x5f6dff,_0x362c7c={};_0x362c7c[_0x1a2af7(0x9d)]=!![],_0x362c7c[_0x1a2af7(0xa6)]=!![],fs[_0x1a2af7(0x93)](this['dirPath'],_0x362c7c);}}module[a23_0x5f6dff(0x89)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a24_0x3ca730=a24_0x270f;(function(_0x4be7e6,_0x398983){const _0x4e0fa3=a24_0x270f,_0x1a162d=_0x4be7e6();while(!![]){try{const _0x2300d1=-parseInt(_0x4e0fa3(0x172))/0x1+-parseInt(_0x4e0fa3(0x176))/0x2+parseInt(_0x4e0fa3(0x174))/0x3+parseInt(_0x4e0fa3(0x175))/0x4+-parseInt(_0x4e0fa3(0x179))/0x5*(-parseInt(_0x4e0fa3(0x17e))/0x6)+-parseInt(_0x4e0fa3(0x178))/0x7+parseInt(_0x4e0fa3(0x17b))/0x8;if(_0x2300d1===_0x398983)break;else _0x1a162d['push'](_0x1a162d['shift']());}catch(_0x1fd57b){_0x1a162d['push'](_0x1a162d['shift']());}}}(a24_0x3b7b,0x5dc0a));const {requireModule}=require(a24_0x3ca730(0x173));require(a24_0x3ca730(0x17c))();function a24_0x3b7b(){const _0x3b4f2d=['965108xRaMAU','889410NvhDAa','keys','424333sRXRfV','5igFjWu','selenium-webdriver','6043080SidHHe','../../helpers/setKeepAlive','__webdriver','1405428TwLIYQ','648059jscxYK','../../helpers/helper','919479bqkLyK'];a24_0x3b7b=function(){return _0x3b4f2d;};return a24_0x3b7b();}const __wd__=requireModule(a24_0x3ca730(0x17a));function a24_0x270f(_0x42e456,_0x3f0fc6){const _0x3b7b95=a24_0x3b7b();return a24_0x270f=function(_0x270fd7,_0x2746f0){_0x270fd7=_0x270fd7-0x172;let _0x585179=_0x3b7b95[_0x270fd7];return _0x585179;},a24_0x270f(_0x42e456,_0x3f0fc6);}for(const key of Object[a24_0x3ca730(0x177)](global[a24_0x3ca730(0x17d)])){__wd__[key]=global['__webdriver'][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a24_0x5191b7=a24_0x3e3c;(function(_0x3cfede,_0x5a231f){const _0x1d4f92=a24_0x3e3c,_0x14ef7f=_0x3cfede();while(!![]){try{const _0x3c33be=-parseInt(_0x1d4f92(0x1e8))/0x1*(-parseInt(_0x1d4f92(0x1f2))/0x2)+-parseInt(_0x1d4f92(0x1df))/0x3+-parseInt(_0x1d4f92(0x1fa))/0x4*(parseInt(_0x1d4f92(0x1e3))/0x5)+parseInt(_0x1d4f92(0x1e1))/0x6+-parseInt(_0x1d4f92(0x1e0))/0x7+-parseInt(_0x1d4f92(0x1dc))/0x8+parseInt(_0x1d4f92(0x1dd))/0x9*(parseInt(_0x1d4f92(0x1ee))/0xa);if(_0x3c33be===_0x5a231f)break;else _0x14ef7f['push'](_0x14ef7f['shift']());}catch(_0x136e8c){_0x14ef7f['push'](_0x14ef7f['shift']());}}}(a24_0x1e9c,0x256a3));const path=require(a24_0x5191b7(0x1de)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a24_0x5191b7(0x1db)),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require(a24_0x5191b7(0x1e2)),RequestQueueHandler=require(a24_0x5191b7(0x1f7)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a24_0x5191b7(0x1db));class Launcher{constructor(_0x35e05a,_0x53370c,_0x3ea319,_0x3f9ace=[]){const _0x500442=a24_0x5191b7,_0x12db0d={'xJAWl':'13|11|4|6|8|21|19|1|10|2|22|15|9|5|20|3|18|17|16|12|7|14|0','CESQD':function(_0x3d3607){return _0x3d3607();}},_0x347b4f=_0x12db0d[_0x500442(0x1ec)]['split']('|');let _0x92aab2=0x0;while(!![]){switch(_0x347b4f[_0x92aab2++]){case'0':global['testsErrorMessage']={};continue;case'1':this[_0x500442(0x1e7)]=_0x3f9ace;continue;case'2':this[_0x500442(0x1eb)]=_0x12db0d['CESQD'](isTestObservabilitySession);continue;case'3':global['testsFailed']=0x0;continue;case'4':this[_0x500442(0x1ef)]['framework']=_0x35e05a;continue;case'5':global[_0x500442(0x1f5)]=0x0;continue;case'6':this[_0x500442(0x1f3)]=_0x53370c[_0x500442(0x1fe)];continue;case'7':global[_0x500442(0x1f9)]=0x0;continue;case'8':this[_0x500442(0x1f8)]=_0x53370c['formatter'];continue;case'9':global['testSuites']=0x0;continue;case'10':this[_0x500442(0x1f6)]=_0x3ea319;continue;case'11':this[_0x500442(0x1ef)]=_0x53370c['configuration']||{};continue;case'12':global[_0x500442(0x1f0)]=0x0;continue;case'13':this[_0x500442(0x1e5)]=_0x35e05a;continue;case'14':global['testsAmbiguous']=0x0;continue;case'15':global['__platformCaps']=this[_0x500442(0x1ef)]['platformCaps']||{};continue;case'16':global[_0x500442(0x1e9)]=0x0;continue;case'17':global['testsSkipped']=0x0;continue;case'18':global[_0x500442(0x1ea)]=0x0;continue;case'19':global[_0x500442(0x1e4)]=this[_0x500442(0x1ef)][_0x500442(0x1fc)];continue;case'20':global[_0x500442(0x1f4)]=0x0;continue;case'21':this[_0x500442(0x1fb)]=this['_configuration'][_0x500442(0x1fd)];continue;case'22':this['_accessibilityAutomation']=_0x12db0d[_0x500442(0x1ed)](isAccessibilityAutomationSession);continue;}break;}}[a24_0x5191b7(0x1e6)](_0x3e0c3d,_0x2c28eb,_0x18336f){const _0x11dddb=a24_0x5191b7,_0x79bef4=_0x3e0c3d[_0x11dddb(0x1f1)];_0x3e0c3d.resolvePaths=async function(){const pathResults=await _0x79bef4.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x18336f));return pathResults;},_0x2c28eb.push('--format'),_0x2c28eb.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a24_0x3e3c(_0x17e317,_0x3f255d){const _0x1e9cf1=a24_0x1e9c();return a24_0x3e3c=function(_0x3e3c3b,_0x56b451){_0x3e3c3b=_0x3e3c3b-0x1db;let _0x16b20f=_0x1e9cf1[_0x3e3c3b];return _0x16b20f;},a24_0x3e3c(_0x17e317,_0x3f255d);}module.exports=Launcher;function a24_0x1e9c(){const _0x192b58=['testsPassed','totalTests','_bsConfig','../../helpers/test-observability/requestQueueHandler','_formatter','testsUnknown','71216wDlOTe','_capability','platform','capability','mochaOpts','../../helpers/helper','179080GuaCWM','2440323fkvqDt','path','886326TrCVTa','303422GktUXH','1295292gOJPZD','../../helpers/accessibility-automation/helper','5urcuUk','__platform__','_framework','setupCucumber','_argv','6457OWjWQY','testSuitesFailed','testsPending','_testObservability','xJAWl','CESQD','10TvJVkk','_configuration','testsUndefined','resolvePaths','14FYjPDh','_mochaOpts'];a24_0x1e9c=function(){return _0x192b58;};return a24_0x1e9c();}
|
|
1
|
+
function a25_0x4050(){const _0x4484a3=['3212340PLeYpl','_accessibilityAutomation','dbYuX','../../helpers/test-observability/requestQueueHandler','2tRdqhc','_testObservability','BzOVk','2463caNYXs','157723jGklLS','platform','_framework','25917560roOnTa','totalTests','_formatter','resolvePaths','9XGpDMH','testsPending','_capability','_argv','framework','../../helpers/test-observability/utils','__platform__','testsAmbiguous','testSuitesFailed','_configuration','3611192lRdRyN','__platformCaps','platformCaps','setConfig','185715xDDkvm','testsPassed','capability','_mochaOpts','../utils/constants','testsUndefined','5432hxbMPl','NMnic','testsUnknown','split','16|7|20|6|24|19|3|0|10|2|5|11|21|12|17|22|14|1|15|18|13|9|23|8|4','testsErrorMessage','../../helpers/ai-sdk/autoHealHelper','configuration','_bsConfig','../../helpers/helper','2146368XcvdQl'];a25_0x4050=function(){return _0x4484a3;};return a25_0x4050();}function a25_0x1332(_0x128767,_0x52d6a6){const _0x40509e=a25_0x4050();return a25_0x1332=function(_0x133231,_0x346023){_0x133231=_0x133231-0x12f;let _0x58c116=_0x40509e[_0x133231];return _0x58c116;},a25_0x1332(_0x128767,_0x52d6a6);}const a25_0x5eb841=a25_0x1332;(function(_0x5e88e0,_0x36a984){const _0x29db53=a25_0x1332,_0x5422d6=_0x5e88e0();while(!![]){try{const _0x4fddbd=-parseInt(_0x29db53(0x148))/0x1*(parseInt(_0x29db53(0x144))/0x2)+-parseInt(_0x29db53(0x147))/0x3*(parseInt(_0x29db53(0x135))/0x4)+parseInt(_0x29db53(0x12f))/0x5+-parseInt(_0x29db53(0x140))/0x6+parseInt(_0x29db53(0x13f))/0x7+-parseInt(_0x29db53(0x159))/0x8+-parseInt(_0x29db53(0x14f))/0x9*(-parseInt(_0x29db53(0x14b))/0xa);if(_0x4fddbd===_0x36a984)break;else _0x5422d6['push'](_0x5422d6['shift']());}catch(_0x23b15d){_0x5422d6['push'](_0x5422d6['shift']());}}}(a25_0x4050,0xa50fd));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a25_0x5eb841(0x133)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x5eb841(0x143)),{isTestObservabilitySession}=require(a25_0x5eb841(0x154)),helper=require(a25_0x5eb841(0x13e)),{commandRepository}=require(a25_0x5eb841(0x13b));class Launcher{constructor(_0x2deb77,_0x13b4b8,_0x17b037,_0x46fe7e=[]){const _0xc107be=a25_0x5eb841,_0x4cce5f={'dbYuX':_0xc107be(0x139),'BzOVk':function(_0x6e5ff6){return _0x6e5ff6();},'NMnic':function(_0x5bac87){return _0x5bac87();}},_0x274255=_0x4cce5f[_0xc107be(0x142)][_0xc107be(0x138)]('|');let _0x5d3e01=0x0;while(!![]){switch(_0x274255[_0x5d3e01++]){case'0':this[_0xc107be(0x152)]=_0x46fe7e;continue;case'1':global['testsSkipped']=0x0;continue;case'2':this[_0xc107be(0x145)]=_0x4cce5f[_0xc107be(0x146)](isTestObservabilitySession);continue;case'3':global[_0xc107be(0x155)]=this[_0xc107be(0x158)][_0xc107be(0x149)];continue;case'4':commandRepository['setFramework'](_0x2deb77);continue;case'5':this[_0xc107be(0x141)]=_0x4cce5f[_0xc107be(0x136)](isAccessibilityAutomationSession);continue;case'6':this[_0xc107be(0x132)]=_0x13b4b8['mochaOpts'];continue;case'7':this['_configuration']=_0x13b4b8[_0xc107be(0x13c)]||{};continue;case'8':commandRepository[_0xc107be(0x15c)](_0x17b037);continue;case'9':global[_0xc107be(0x156)]=0x0;continue;case'10':this[_0xc107be(0x13d)]=_0x17b037;continue;case'11':global[_0xc107be(0x15a)]=this[_0xc107be(0x158)][_0xc107be(0x15b)]||{};continue;case'12':global[_0xc107be(0x14c)]=0x0;continue;case'13':global[_0xc107be(0x137)]=0x0;continue;case'14':global[_0xc107be(0x150)]=0x0;continue;case'15':global[_0xc107be(0x157)]=0x0;continue;case'16':this[_0xc107be(0x14a)]=_0x2deb77;continue;case'17':global[_0xc107be(0x130)]=0x0;continue;case'18':global[_0xc107be(0x134)]=0x0;continue;case'19':this[_0xc107be(0x151)]=this[_0xc107be(0x158)][_0xc107be(0x131)];continue;case'20':this[_0xc107be(0x158)][_0xc107be(0x153)]=_0x2deb77;continue;case'21':global['testSuites']=0x0;continue;case'22':global['testsFailed']=0x0;continue;case'23':global[_0xc107be(0x13a)]={};continue;case'24':this[_0xc107be(0x14d)]=_0x13b4b8['formatter'];continue;}break;}}['setupCucumber'](_0x5ea1da,_0x574918,_0x20ffcb){const _0xe9add3=a25_0x5eb841,_0x3be466=_0x5ea1da[_0xe9add3(0x14e)];_0x5ea1da.resolvePaths=async function(){const pathResults=await _0x3be466.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x20ffcb));return pathResults;},_0x574918.push('--format'),_0x574918.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(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a26_0x1771(_0x3e34a3,_0xd75bb8){const _0x326a6e=a26_0x326a();return a26_0x1771=function(_0x1771f9,_0x4b9f58){_0x1771f9=_0x1771f9-0x136;let _0x5091e8=_0x326a6e[_0x1771f9];return _0x5091e8;},a26_0x1771(_0x3e34a3,_0xd75bb8);}const a26_0x51fc5=a26_0x1771;function a26_0x326a(){const _0x15958f=['kfwdL','MWSHi','includes','180362IODJBy','bwCLe','setExtension','Options','accessibility','HoeFP','deUuU','lgxpW','args','BS_A11Y_JWT','authToken','deviceName','scannerVersion','capability','6ytzHVf','3230UfKQzi','toLowerCase','HvEIm','Exception\x20in\x20setExtension\x20Error:\x20','BzGnA','730025ukeINL','6160RRTccD','NjVVI','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','getBrowserVersion','xOCFa','88umrHFX','eZhtZ','cmmyA','JkDRT','browserVersion','338408EPRKsS','--headless','warn','12NhJCEm','1822ltnVyw','options_','65PuSRxu','selenium-webdriver/chrome.js','device','format','path','parse','chromeOptions_','browserstack.accessibility','isUndefined','env','nestedKeyValue','oMigp','setAccessibilityCapabilities','setGlobal','requireModule','fetchPlatformDetails','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dbHRK','Sawhf','1928997rzLlfA','winstonLogger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../../helpers/globals','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','capabilities_','isAccessibilityPlatform','browserstack','18GXGzVi','get','accessibilityOptions','getBrowserName','zKBdy','WvNHN','1587948btkUeV','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','chromeOptions','browserName','OUBRX','QkcQi','debug','util','bstack:options'];a26_0x326a=function(){return _0x15958f;};return a26_0x326a();}(function(_0x27c826,_0x24958e){const _0x4681fc=a26_0x1771,_0xa97a00=_0x27c826();while(!![]){try{const _0x37f5c5=-parseInt(_0x4681fc(0x150))/0x1*(parseInt(_0x4681fc(0x185))/0x2)+parseInt(_0x4681fc(0x184))/0x3*(parseInt(_0x4681fc(0x181))/0x4)+parseInt(_0x4681fc(0x176))/0x5*(-parseInt(_0x4681fc(0x170))/0x6)+parseInt(_0x4681fc(0x162))/0x7*(parseInt(_0x4681fc(0x17c))/0x8)+parseInt(_0x4681fc(0x148))/0x9+parseInt(_0x4681fc(0x171))/0xa*(parseInt(_0x4681fc(0x177))/0xb)+parseInt(_0x4681fc(0x156))/0xc*(-parseInt(_0x4681fc(0x187))/0xd);if(_0x37f5c5===_0x24958e)break;else _0xa97a00['push'](_0xa97a00['shift']());}catch(_0x1659d2){_0xa97a00['push'](_0xa97a00['shift']());}}}(a26_0x326a,0x2f1e7));const path=require(a26_0x51fc5(0x139)),os=require('os'),util=require(a26_0x51fc5(0x15d)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a26_0x51fc5(0x14b)),logger=require('../../../helpers/logger')[a26_0x51fc5(0x149)];exports[a26_0x51fc5(0x141)]=_0x5e2168=>{const _0x37e831=a26_0x51fc5,_0x104650={};_0x104650[_0x37e831(0x178)]=_0x37e831(0x15e),_0x104650[_0x37e831(0x173)]=_0x37e831(0x13c),_0x104650[_0x37e831(0x163)]=_0x37e831(0x14e),_0x104650[_0x37e831(0x15b)]='browserstack.accessibilityOptions';const _0x3e587f=_0x104650;try{const _0x242a27=_0x5e2168[_0x37e831(0x16f)]||{};if(_0x242a27[_0x3e587f[_0x37e831(0x178)]]&&_0x242a27[_0x3e587f[_0x37e831(0x178)]][_0x37e831(0x166)]||_0x5e2168['capability'][_0x3e587f[_0x37e831(0x173)]]){globals[_0x37e831(0x142)](_0x3e587f[_0x37e831(0x163)],!![]);if(_0x242a27[_0x3e587f[_0x37e831(0x178)]]){if(_0x242a27[_0x3e587f[_0x37e831(0x178)]]['accessibilityOptions'])_0x242a27[_0x3e587f[_0x37e831(0x178)]]['accessibilityOptions'][_0x37e831(0x16c)]=process[_0x37e831(0x13e)]['BS_A11Y_JWT'];else{const _0x56a0ac={};_0x56a0ac[_0x37e831(0x16c)]=process[_0x37e831(0x13e)][_0x37e831(0x16b)],_0x242a27[_0x3e587f['NjVVI']][_0x37e831(0x152)]=_0x56a0ac;}_0x242a27[_0x3e587f[_0x37e831(0x178)]][_0x37e831(0x152)][_0x37e831(0x16e)]=JSON[_0x37e831(0x13a)](process[_0x37e831(0x13e)][_0x37e831(0x145)])[_0x37e831(0x16e)];}else{if(_0x5e2168['capability'][_0x3e587f[_0x37e831(0x173)]]){if(_0x242a27[_0x3e587f[_0x37e831(0x15b)]])_0x242a27[_0x3e587f[_0x37e831(0x15b)]]['authToken']=process[_0x37e831(0x13e)][_0x37e831(0x16b)];else{const _0x311b30={};_0x311b30['authToken']=process[_0x37e831(0x13e)][_0x37e831(0x16b)],_0x242a27[_0x3e587f['QkcQi']]=_0x311b30;}_0x242a27[_0x3e587f['QkcQi']]['scannerVersion']=JSON[_0x37e831(0x13a)](process[_0x37e831(0x13e)][_0x37e831(0x145)])[_0x37e831(0x16e)];}}}}catch(_0x372e8f){logger[_0x37e831(0x15c)](_0x37e831(0x14c)+_0x372e8f);}},exports[a26_0x51fc5(0x164)]=(_0x2a6d4e,_0x3a116d)=>{const _0x29c60b=a26_0x51fc5,_0x413905={};_0x413905[_0x29c60b(0x17f)]=_0x29c60b(0x15e),_0x413905[_0x29c60b(0x17d)]=function(_0x19c519,_0x4f982c){return _0x19c519!==_0x4f982c;},_0x413905[_0x29c60b(0x140)]=_0x29c60b(0x14a),_0x413905[_0x29c60b(0x155)]=function(_0x1b5772,_0x536c60){return _0x1b5772!==_0x536c60;},_0x413905[_0x29c60b(0x146)]='chrome',_0x413905[_0x29c60b(0x169)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x413905[_0x29c60b(0x168)]=function(_0x1442a0,_0x2e11d1){return _0x1442a0===_0x2e11d1;},_0x413905['MWSHi']='latest',_0x413905[_0x29c60b(0x17e)]=function(_0x5150e1,_0xb0f98d){return _0x5150e1>_0xb0f98d;},_0x413905[_0x29c60b(0x147)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x413905['HoeFP']=_0x29c60b(0x136),_0x413905[_0x29c60b(0x15a)]=_0x29c60b(0x186),_0x413905[_0x29c60b(0x15f)]=_0x29c60b(0x16a),_0x413905[_0x29c60b(0x154)]=_0x29c60b(0x158),_0x413905['KOlgB']=_0x29c60b(0x182),_0x413905[_0x29c60b(0x175)]=_0x29c60b(0x157);const _0x5ded05=_0x413905;try{const _0x4355b6=_0x3a116d[_0x29c60b(0x16f)]||{},_0x32344a=(_0x4355b6[_0x5ded05['JkDRT']]?_0x4355b6[_0x5ded05[_0x29c60b(0x17f)]][_0x29c60b(0x16d)]:_0x4355b6[_0x29c60b(0x137)])||'';if(_0x5ded05[_0x29c60b(0x17d)](_0x32344a,''))return logger[_0x29c60b(0x183)](_0x5ded05[_0x29c60b(0x140)]),![];const _0x118a9b=_0x4355b6[_0x29c60b(0x159)]||_0x2a6d4e[_0x29c60b(0x14d)][_0x29c60b(0x153)]();if(_0x5ded05[_0x29c60b(0x155)](_0x118a9b[_0x29c60b(0x172)](),_0x5ded05['dbHRK']))return logger['warn'](_0x5ded05[_0x29c60b(0x169)]),![];const _0xb40b02=_0x4355b6[_0x29c60b(0x180)]||_0x4355b6['browser_version']||_0x2a6d4e[_0x29c60b(0x14d)][_0x29c60b(0x17a)]();if(!bsSetupHelper[_0x29c60b(0x13d)](_0xb40b02)&&!(_0x5ded05[_0x29c60b(0x168)](_0xb40b02,_0x5ded05[_0x29c60b(0x160)])||_0x5ded05[_0x29c60b(0x17e)](_0xb40b02,0x5e)))return logger['warn'](_0x5ded05[_0x29c60b(0x147)]),![];let _0x46c44c;try{_0x46c44c=bsSetupHelper[_0x29c60b(0x143)](_0x5ded05[_0x29c60b(0x167)]);}catch(_0x23ae19){return![];}const _0x578772=new _0x46c44c[(_0x29c60b(0x165))](_0x2a6d4e[_0x29c60b(0x13b)]),_0x101f5a=bsSetupHelper[_0x29c60b(0x13f)](_0x578772,[_0x5ded05['OUBRX'],_0x5ded05['kfwdL']])||bsSetupHelper[_0x29c60b(0x13f)](_0x2a6d4e[_0x29c60b(0x14d)][_0x29c60b(0x151)](_0x5ded05[_0x29c60b(0x17f)]),[_0x5ded05[_0x29c60b(0x154)],_0x5ded05[_0x29c60b(0x15f)]])||bsSetupHelper[_0x29c60b(0x13f)](_0x2a6d4e[_0x29c60b(0x14d)]['get'](_0x5ded05[_0x29c60b(0x154)]),[_0x5ded05[_0x29c60b(0x15f)]])||[];if(_0x101f5a[_0x29c60b(0x161)](_0x5ded05['KOlgB']))return logger[_0x29c60b(0x183)](_0x5ded05[_0x29c60b(0x175)]),![];return!![];}catch(_0x4bfb5b){logger[_0x29c60b(0x15c)](_0x29c60b(0x174)+util[_0x29c60b(0x138)](_0x4bfb5b));}return![];},exports[a26_0x51fc5(0x144)]=async _0xde6cae=>{const _0x38cfdc=a26_0x51fc5,_0x2c0619={};_0x2c0619['CxBkq']=function(_0x789d5d,_0x262eda){return _0x789d5d===_0x262eda;},_0x2c0619[_0x38cfdc(0x17b)]=_0x38cfdc(0x14f);const _0xa96997=_0x2c0619;let _0x2eb1dc={};try{const _0x20e0b9=await _0xde6cae['getCapabilities']();_0x2eb1dc={'os_name':_0x20e0b9['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0xa96997['CxBkq'](global['__cloud_provider___'],_0xa96997[_0x38cfdc(0x17b)])),'browser_name':_0x20e0b9[_0x38cfdc(0x153)](),'browser_version':_0x20e0b9[_0x38cfdc(0x17a)]()};}catch(_0x5b3e8f){logger[_0x38cfdc(0x15c)](_0x38cfdc(0x179)+_0x5b3e8f);}return _0x2eb1dc;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a26_0x500cf6=a26_0x5ccd;(function(_0x2bde59,_0x3de65c){const _0x324ea2=a26_0x5ccd,_0x2305c2=_0x2bde59();while(!![]){try{const _0xab0c93=-parseInt(_0x324ea2(0xee))/0x1+-parseInt(_0x324ea2(0xd8))/0x2*(parseInt(_0x324ea2(0xe4))/0x3)+-parseInt(_0x324ea2(0x101))/0x4+-parseInt(_0x324ea2(0x9d))/0x5+parseInt(_0x324ea2(0x17c))/0x6*(parseInt(_0x324ea2(0x158))/0x7)+parseInt(_0x324ea2(0xa8))/0x8+-parseInt(_0x324ea2(0x10f))/0x9*(parseInt(_0x324ea2(0x17b))/0xa);if(_0xab0c93===_0x3de65c)break;else _0x2305c2['push'](_0x2305c2['shift']());}catch(_0x504758){_0x2305c2['push'](_0x2305c2['shift']());}}}(a26_0x4970,0xacab8));const util=require(a26_0x500cf6(0xaf)),fs=require('fs'),path=require('path'),{requireModule}=require(a26_0x500cf6(0x103)),Base=requireModule(a26_0x500cf6(0xdc)),utils=requireModule(a26_0x500cf6(0x15d)),color=Base['color'],Mocha=requireModule('mocha'),Runnable=requireModule(a26_0x500cf6(0xf8)),{v4:uuidv4}=require(a26_0x500cf6(0x18b)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a26_0x500cf6(0xa5)),testHubConstants=require(a26_0x500cf6(0xff)),{FRAMEWORKS}=require(a26_0x500cf6(0xa2)),a26_0xdc6114={};function a26_0x5ccd(_0x252e41,_0x53eebf){const _0x4970a0=a26_0x4970();return a26_0x5ccd=function(_0x5ccd73,_0x2e1163){_0x5ccd73=_0x5ccd73-0x84;let _0x151688=_0x4970a0[_0x5ccd73];return _0x151688;},a26_0x5ccd(_0x252e41,_0x53eebf);}a26_0xdc6114[a26_0x500cf6(0x198)]='BEFORE_ALL',a26_0xdc6114[a26_0x500cf6(0x129)]=a26_0x500cf6(0x174),a26_0xdc6114[a26_0x500cf6(0x125)]=a26_0x500cf6(0xb4),a26_0xdc6114[a26_0x500cf6(0x130)]='AFTER_EACH';const HOOK_TYPES_MAP=a26_0xdc6114,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a26_0x500cf6(0xbc)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a26_0x500cf6(0xbc)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a26_0x500cf6(0x160)),{consoleHolder}=require(a26_0x500cf6(0xa2)),SessionHandler=require(a26_0x500cf6(0x139)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a26_0x500cf6(0xa0)),RequestQueueHandler=require(a26_0x500cf6(0x86)),requestQueueHandler=RequestQueueHandler[a26_0x500cf6(0x144)]();class MyReporter{constructor(_0x962a76,_0x3f9531){const _0xc0f359=a26_0x500cf6,_0x5c75c2={'qeVeF':function(_0x526400,_0x3b585f){return _0x526400===_0x3b585f;},'ITDbH':_0xc0f359(0x191),'bWzqL':function(_0x3452a3,_0x170293){return _0x3452a3+_0x170293;},'DBOfu':function(_0x4444d6,_0x32a417,_0x3b0105){return _0x4444d6(_0x32a417,_0x3b0105);},'ufSyK':_0xc0f359(0x18f),'PVMbx':_0xc0f359(0x170),'bUNxc':'light','KRXyc':_0xc0f359(0x15a),'ldbhp':'RUNNING','QsKTL':_0xc0f359(0x9f),'gUFcy':function(_0x299c43){return _0x299c43();},'obiRz':'HookRunStarted','VJeHJ':function(_0x44f95f,_0x210a10){return _0x44f95f===_0x210a10;},'liqgw':'HookRunFinished','bWrSl':function(_0x141a65,_0x527afb){return _0x141a65===_0x527afb;},'XfJGa':_0xc0f359(0x182),'PgBct':'fast','mTLns':function(_0x5dc1df,_0x21097e){return _0x5dc1df+_0x21097e;},'bJivB':function(_0x4b2212,_0x3c2f0a){return _0x4b2212+_0x3c2f0a;},'tSVKG':_0xc0f359(0x19b),'zmOSD':function(_0x448486,_0x1f00f3){return _0x448486+_0x1f00f3;},'ZMZZq':function(_0x1e2dda,_0x214436,_0x39c71b){return _0x1e2dda(_0x214436,_0x39c71b);},'WfOaT':_0xc0f359(0x9c),'kbtDu':'\x20%s','crDxq':function(_0xbf291e,_0x3d11e7){return _0xbf291e+_0x3d11e7;},'hJjtG':function(_0x5ad8cd,_0x835846){return _0x5ad8cd+_0x835846;},'bfYcY':function(_0x4bb55f,_0x130006,_0x101c14){return _0x4bb55f(_0x130006,_0x101c14);},'ELWRD':function(_0x21c5fa,_0x5f28da){return _0x21c5fa+_0x5f28da;},'qNDDw':function(_0x5ed531,_0x3c4f44,_0x3ecc7c){return _0x5ed531(_0x3c4f44,_0x3ecc7c);},'gbqyF':function(_0x3903c3,_0x25f472,_0x3090b6){return _0x3903c3(_0x25f472,_0x3090b6);},'bnlQJ':_0xc0f359(0xb6),'loxeb':_0xc0f359(0x154),'cFDIb':_0xc0f359(0x197),'UYQUQ':function(_0x1cc208,_0x263ec2){return _0x1cc208+_0x263ec2;},'HjiUk':function(_0x50f534,_0x3af116,_0x108095){return _0x50f534(_0x3af116,_0x108095);},'EpfFZ':_0xc0f359(0x122),'ijQMb':_0xc0f359(0x157),'wjwnm':function(_0x377ec5,_0x4db4ff){return _0x377ec5===_0x4db4ff;},'icnRn':function(_0x417988,_0x24aec9){return _0x417988===_0x24aec9;},'sQCjw':_0xc0f359(0xe8),'vEiWW':function(_0x256b51,_0x9e8254){return _0x256b51===_0x9e8254;},'oYXrN':'slow','MmVJz':_0xc0f359(0x16d),'CZZnp':function(_0x5f4b36,_0x19156b){return _0x5f4b36===_0x19156b;},'nqxHl':_0xc0f359(0x145),'uCVGd':function(_0x305101,_0x2a2643){return _0x305101===_0x2a2643;},'muhhb':_0xc0f359(0xc2),'yABWa':function(_0x11f5e9,_0xec41de){return _0x11f5e9(_0xec41de);},'CNxal':function(_0x1ed2e3){return _0x1ed2e3();},'MjTFJ':_0xc0f359(0x93),'DzSSO':function(_0x2c007d,_0x47e577){return _0x2c007d(_0x47e577);},'uWdzk':function(_0x3e6c68,_0x351f6e){return _0x3e6c68!==_0x351f6e;}};this[_0xc0f359(0x19f)]=_0x3f9531[_0xc0f359(0xae)]['type'],this[_0xc0f359(0xef)]=_0x5c75c2[_0xc0f359(0x112)](isTestObservabilitySession),Base['call'](this,_0x962a76,_0x3f9531),this[_0xc0f359(0xb3)]=0x0,this[_0xc0f359(0x19d)]=0x0,this[_0xc0f359(0xf2)]=[],this['finalResults']=[],this[_0xc0f359(0xdd)]=0x0,this[_0xc0f359(0x149)]=![],this[_0xc0f359(0x9a)]=[],this[_0xc0f359(0x189)]=_0x5c75c2[_0xc0f359(0xf6)](getTestEnv),this[_0xc0f359(0x89)]=new PathHelper({'cwd':process[_0xc0f359(0xd4)]()},this[_0xc0f359(0x189)]['location_prefix']),this[_0xc0f359(0xc0)]=_0x3f9531[_0xc0f359(0xae)][_0xc0f359(0x155)],this[_0xc0f359(0x10c)]();_0x5c75c2[_0xc0f359(0x8f)](this[_0xc0f359(0x19f)],_0x5c75c2[_0xc0f359(0x177)])&&(this[_0xc0f359(0xf9)]='',this[_0xc0f359(0x134)]=0x2);_0x962a76['once'](EVENT_RUN_BEGIN,async()=>{const _0x3869eb=_0xc0f359;_0x5c75c2[_0x3869eb(0x127)](this[_0x3869eb(0x19f)],_0x5c75c2[_0x3869eb(0xcc)])&&Base[_0x3869eb(0x115)]();})['on'](EVENT_SUITE_BEGIN,_0x196097=>{const _0x586696=_0xc0f359;if(_0x196097[_0x586696(0x10a)])return;if(_0x5c75c2[_0x586696(0x127)](this[_0x586696(0x19f)],_0x5c75c2['ITDbH']))this['increaseIndent'](),Base['consoleLog'](_0x5c75c2[_0x586696(0xa7)](_0x5c75c2['bWzqL'](this[_0x586696(0x106)](),_0x5c75c2[_0x586696(0x118)](color,_0x5c75c2[_0x586696(0xa6)],_0x5c75c2[_0x586696(0x8c)])),_0x5c75c2[_0x586696(0x118)](color,_0x5c75c2[_0x586696(0x119)],_0x5c75c2[_0x586696(0xe3)])),_0x5c75c2[_0x586696(0x12b)],_0x196097[_0x586696(0x13d)],global[_0x586696(0x151)]);else _0x5c75c2[_0x586696(0x127)](this[_0x586696(0x19f)],_0x5c75c2[_0x586696(0x177)])&&(this[_0x586696(0x179)](this[_0x586696(0x106)]()+_0x586696(0x97)),++this[_0x586696(0x134)],this[_0x586696(0x179)](this[_0x586696(0x106)]()+_0x586696(0x13b)+utils[_0x586696(0x16c)](_0x196097[_0x586696(0x13d)]+'\x20-\x20'+global[_0x586696(0x151)])+_0x586696(0x140)),this[_0x586696(0x179)](this[_0x586696(0x106)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x2b01c7=>{const _0x135bb6=_0xc0f359;if(_0x5c75c2[_0x135bb6(0x127)](testhubUtils[_0x135bb6(0x108)](testHubConstants[_0x135bb6(0x1a4)][_0x135bb6(0x120)]),!![])){if(!_0x2b01c7[_0x135bb6(0x107)])_0x2b01c7['hookAnalyticsId']=_0x5c75c2['gUFcy'](uuidv4);else _0x2b01c7[_0x135bb6(0x168)]&&(_0x2b01c7[_0x135bb6(0x107)]=_0x5c75c2[_0x135bb6(0x112)](uuidv4),delete _0x2b01c7['markedStatus']);_0x2b01c7[_0x135bb6(0xeb)]=new Date()[_0x135bb6(0x196)](),this[_0x135bb6(0x135)]=_0x2b01c7,await this[_0x135bb6(0xf0)](_0x2b01c7,undefined,![],_0x5c75c2[_0x135bb6(0x193)]);}})['on'](EVENT_HOOK_END,async _0x480ab4=>{const _0x9c4928=_0xc0f359;_0x5c75c2[_0x9c4928(0x11f)](testhubUtils[_0x9c4928(0x108)](testHubConstants['EVENT']['HookFinished']),!![])&&(!_0x480ab4[_0x9c4928(0x168)]&&(_0x480ab4[_0x9c4928(0x168)]=!![],await this[_0x9c4928(0xf0)](_0x480ab4,undefined,![],_0x5c75c2[_0x9c4928(0xe6)])));})['on'](EVENT_SUITE_END,_0x454a5d=>{const _0x592909=_0xc0f359;if(_0x454a5d[_0x592909(0x10a)])return;if(_0x5c75c2[_0x592909(0x11f)](this[_0x592909(0x19f)],_0x5c75c2['ITDbH']))Base[_0x592909(0x115)](),Base['consoleLog'](_0x5c75c2[_0x592909(0xa7)](_0x5c75c2[_0x592909(0x165)](this[_0x592909(0x106)](),_0x5c75c2[_0x592909(0xe9)](color,_0x5c75c2['EpfFZ'],_0x5c75c2[_0x592909(0x8c)])),_0x5c75c2[_0x592909(0x96)](color,_0x5c75c2[_0x592909(0x119)],_0x5c75c2[_0x592909(0xe3)])),_0x5c75c2[_0x592909(0x180)],_0x454a5d['title'],global[_0x592909(0x151)]),this[_0x592909(0xf2)]['forEach'](_0xb220a9=>{const _0x53b94a=_0x592909;if(_0x5c75c2[_0x53b94a(0x137)](_0xb220a9[_0x53b94a(0x124)],_0x5c75c2[_0x53b94a(0xac)])){var _0x187039;_0x5c75c2['VJeHJ'](_0xb220a9['speed'],_0x5c75c2[_0x53b94a(0x8b)])?(_0x187039=_0x5c75c2[_0x53b94a(0x15f)](_0x5c75c2[_0x53b94a(0x12e)](this[_0x53b94a(0x106)](),_0x5c75c2['DBOfu'](color,_0x5c75c2[_0x53b94a(0x199)],_0x5c75c2[_0x53b94a(0xcf)]('\x20\x20',Base[_0x53b94a(0x111)]['ok']))),_0x5c75c2[_0x53b94a(0x96)](color,_0x5c75c2[_0x53b94a(0xf7)],_0x5c75c2[_0x53b94a(0x194)])),Base[_0x53b94a(0x115)](_0x187039,_0xb220a9[_0x53b94a(0x13d)])):(_0x187039=_0x5c75c2[_0x53b94a(0xbe)](_0x5c75c2[_0x53b94a(0x142)](_0x5c75c2[_0x53b94a(0xbe)](this[_0x53b94a(0x106)](),_0x5c75c2[_0x53b94a(0x102)](color,_0x5c75c2[_0x53b94a(0x199)],_0x5c75c2[_0x53b94a(0x92)]('\x20\x20',Base['symbols']['ok']))),_0x5c75c2[_0x53b94a(0x11b)](color,_0x5c75c2['WfOaT'],_0x5c75c2[_0x53b94a(0x194)])),_0x5c75c2[_0x53b94a(0x10b)](color,_0xb220a9[_0x53b94a(0x17f)],_0x5c75c2[_0x53b94a(0x14f)])),Base[_0x53b94a(0x115)](_0x187039,_0xb220a9[_0x53b94a(0x13d)],_0xb220a9[_0x53b94a(0xfb)]));}else Base[_0x53b94a(0x115)](_0x5c75c2[_0x53b94a(0x142)](this[_0x53b94a(0x106)](),_0x5c75c2['bfYcY'](color,_0x5c75c2['loxeb'],_0x5c75c2[_0x53b94a(0x10e)])),++this[_0x53b94a(0x19d)],_0xb220a9[_0x53b94a(0x13d)]);}),this[_0x592909(0x166)]();else _0x5c75c2['wjwnm'](this[_0x592909(0x19f)],_0x5c75c2[_0x592909(0x177)])&&(this['docAppend'](this['indent']()+'</dl>'),--this['__indents'],this[_0x592909(0x179)](this[_0x592909(0x106)]()+'</section>'),--this[_0x592909(0x134)]);Array[_0x592909(0xfa)][_0x592909(0x114)]['apply'](this[_0x592909(0xc5)],this[_0x592909(0xf2)]),this[_0x592909(0xf2)]=[];})['on'](EVENT_TEST_PASS,async _0x2ce321=>{const _0x554f99=_0xc0f359;this[_0x554f99(0xf2)]['push']({'speed':_0x2ce321[_0x554f99(0x17f)],'suite':_0x2ce321[_0x554f99(0x13a)][_0x554f99(0x13d)],'title':_0x2ce321[_0x554f99(0x13d)],'fullTitle':_0x2ce321[_0x554f99(0x169)](),'duration':_0x2ce321[_0x554f99(0xfb)],'state':_0x2ce321['state'],'err':{},'currentRetry':_0x2ce321['currentRetry'](),'titlePathV':_0x2ce321['titlePath'](),'isPending':_0x2ce321[_0x554f99(0x195)]()});if(_0x5c75c2['icnRn'](this[_0x554f99(0x19f)],_0x5c75c2['sQCjw']))_0x5c75c2[_0x554f99(0x117)](_0x2ce321[_0x554f99(0x17f)],_0x5c75c2[_0x554f99(0x91)])?process[_0x554f99(0xb0)]['write'](Base['color'](_0x5c75c2[_0x554f99(0x105)],Base[_0x554f99(0x111)]['dot'])):process[_0x554f99(0xb0)][_0x554f99(0x8d)](Base[_0x554f99(0x186)](_0x2ce321[_0x554f99(0x17f)],Base[_0x554f99(0x111)][_0x554f99(0xe8)]));else{if(_0x5c75c2[_0x554f99(0x127)](this[_0x554f99(0x19f)],_0x5c75c2[_0x554f99(0x177)])){this['docAppend'](this['indent']()+'\x20\x20<dt>'+utils['escape'](_0x2ce321[_0x554f99(0x13d)])+_0x554f99(0x159)),this['docAppend'](this[_0x554f99(0x106)]()+_0x554f99(0x15b)+utils[_0x554f99(0x16c)](_0x2ce321[_0x554f99(0xe5)])+'</dt>');var _0x120f72=utils[_0x554f99(0x16c)](utils[_0x554f99(0x17e)](_0x2ce321[_0x554f99(0x183)]));this['docAppend'](this['indent']()+_0x554f99(0x14a)+_0x120f72+_0x554f99(0x147));}}_0x5c75c2[_0x554f99(0x127)](testhubUtils[_0x554f99(0x108)](),!![])&&(!_0x2ce321[_0x554f99(0x168)]&&(_0x2ce321[_0x554f99(0x168)]=!![],await this['sendTestRunEvent'](_0x2ce321)));})['on'](EVENT_TEST_FAIL,async(_0x3b09f5,_0x2ee787)=>{const _0x1ae5e5=_0xc0f359;this[_0x1ae5e5(0xf2)]['push']({'title':_0x3b09f5[_0x1ae5e5(0x13d)],'suite':_0x3b09f5[_0x1ae5e5(0x13a)]['title'],'state':_0x3b09f5[_0x1ae5e5(0x124)],'err':{'message':util['inspect'](_0x2ee787)},'fullTitle':_0x3b09f5['fullTitle'](),'speed':_0x3b09f5[_0x1ae5e5(0x17f)],'currentRetry':_0x3b09f5[_0x1ae5e5(0xf1)](),'titlePathV':_0x3b09f5[_0x1ae5e5(0x11d)]()});if(_0x5c75c2['bWrSl'](this[_0x1ae5e5(0x19f)],_0x5c75c2[_0x1ae5e5(0xe2)]))process[_0x1ae5e5(0xb0)][_0x1ae5e5(0x8d)](Base['color'](_0x5c75c2[_0x1ae5e5(0x1a3)],Base[_0x1ae5e5(0x111)]['bang']));else{if(_0x5c75c2[_0x1ae5e5(0x17a)](this[_0x1ae5e5(0x19f)],_0x5c75c2[_0x1ae5e5(0x177)])){const _0xa50f4=_0x5c75c2['MmVJz'][_0x1ae5e5(0x109)]('|');let _0x3efe76=0x0;while(!![]){switch(_0xa50f4[_0x3efe76++]){case'0':var _0x49499f=utils[_0x1ae5e5(0x16c)](utils[_0x1ae5e5(0x17e)](_0x3b09f5[_0x1ae5e5(0x183)]));continue;case'1':this[_0x1ae5e5(0x179)](this[_0x1ae5e5(0x106)]()+_0x1ae5e5(0xab)+utils['escape'](_0x3b09f5[_0x1ae5e5(0x110)])+_0x1ae5e5(0x16b));continue;case'2':this[_0x1ae5e5(0x179)](this[_0x1ae5e5(0x106)]()+_0x1ae5e5(0x16a)+_0x49499f+_0x1ae5e5(0x147));continue;case'3':this[_0x1ae5e5(0x179)](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x3b09f5[_0x1ae5e5(0x13d)])+_0x1ae5e5(0x159));continue;case'4':this[_0x1ae5e5(0x179)](this['indent']()+_0x1ae5e5(0xc6)+utils[_0x1ae5e5(0x16c)](_0x3b09f5[_0x1ae5e5(0xe5)])+_0x1ae5e5(0x159));continue;}break;}}}if(_0x5c75c2['bWrSl'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x1ae5e5(0x1a4)][_0x1ae5e5(0xfd)]),!![])){if(!_0x3b09f5[_0x1ae5e5(0x168)]){_0x3b09f5['markedStatus']=!![];if(_0x3b09f5[_0x1ae5e5(0xe7)])await this[_0x1ae5e5(0xf0)](_0x3b09f5,_0x2ee787);else _0x3b09f5['hookAnalyticsId']&&await this['sendTestRunEvent'](_0x3b09f5,_0x2ee787,![],_0x5c75c2[_0x1ae5e5(0xe6)]);}}})['on'](EVENT_TEST_PENDING,async _0x5e5416=>{const _0x183e37=_0xc0f359;this['results'][_0x183e37(0x114)]({'title':_0x5e5416['title'],'suite':_0x5e5416[_0x183e37(0x13a)][_0x183e37(0x13d)],'state':_0x5e5416[_0x183e37(0x124)],'err':{},'fullTitle':_0x5e5416[_0x183e37(0x169)](),'speed':_0x5e5416[_0x183e37(0x17f)],'currentRetry':_0x5e5416['currentRetry'](),'titlePathV':_0x5e5416['titlePath']()}),_0x5c75c2[_0x183e37(0x99)](this[_0x183e37(0x19f)],_0x5c75c2[_0x183e37(0xe2)])&&process[_0x183e37(0xb0)][_0x183e37(0x8d)](Base[_0x183e37(0x186)](_0x5c75c2['nqxHl'],Base['symbols'][_0x183e37(0x13e)])),_0x5c75c2[_0x183e37(0x8f)](testhubUtils[_0x183e37(0x108)](),!![])&&(!_0x5e5416[_0x183e37(0xe7)]&&(_0x5e5416[_0x183e37(0xe7)]=_0x5c75c2[_0x183e37(0x112)](uuidv4)),!_0x5e5416[_0x183e37(0x168)]&&(_0x5e5416[_0x183e37(0x168)]=!![],await this[_0x183e37(0xf0)](_0x5e5416,undefined,![],_0x5c75c2['muhhb'])));})['on'](EVENT_TEST_BEGIN,async _0x14506b=>{const _0x1ed970=_0xc0f359;_0x5c75c2[_0x1ed970(0x117)](testhubUtils[_0x1ed970(0x108)](),!![])&&await this[_0x1ed970(0xfc)](_0x14506b);})['on'](EVENT_TEST_END,async _0x181a87=>{const _0x3ab407=_0xc0f359;_0x5c75c2[_0x3ab407(0x117)](testhubUtils[_0x3ab407(0x108)](),!![])&&(!_0x181a87[_0x3ab407(0x168)]&&(_0x181a87[_0x3ab407(0x168)]=!![],await this[_0x3ab407(0xf0)](_0x181a87)));})[_0xc0f359(0xf4)](EVENT_RUN_END,async()=>{const _0x3aee6f=_0xc0f359;try{if(_0x5c75c2[_0x3aee6f(0x99)](testhubUtils[_0x3aee6f(0x108)](),!![])){const _0x505ff3=_0x5c75c2[_0x3aee6f(0xd3)](getHookSkippedTests,this[_0x3aee6f(0x8e)][_0x3aee6f(0xf5)]);for(const _0x1044c2 of _0x505ff3){!_0x1044c2[_0x3aee6f(0xe7)]&&(_0x1044c2[_0x3aee6f(0xe7)]=_0x5c75c2[_0x3aee6f(0x112)](uuidv4)),await this[_0x3aee6f(0xf0)](_0x1044c2,undefined,![],_0x5c75c2[_0x3aee6f(0x19c)]);}}}catch(_0x33c04f){_0x5c75c2[_0x3aee6f(0xd3)](debug,_0x3aee6f(0xaa)+_0x33c04f);}await requestQueueHandler[_0x3aee6f(0x1a1)](),_0x5c75c2['VJeHJ'](this[_0x3aee6f(0x19f)],_0x5c75c2[_0x3aee6f(0x177)])&&Base[_0x3aee6f(0x115)](this[_0x3aee6f(0xf9)]);});if(this[_0xc0f359(0x19f)]&&![_0x5c75c2[_0xc0f359(0x177)],_0x5c75c2[_0xc0f359(0xc8)],_0x5c75c2['ITDbH'],_0x5c75c2['sQCjw']][_0xc0f359(0x84)](this[_0xc0f359(0x19f)])){const _0x566b42=this[_0xc0f359(0x19f)]['trim']();this['Reporter']=null;try{this[_0xc0f359(0x14e)]=_0x5c75c2['DzSSO'](requireModule,_0xc0f359(0xed)+_0x566b42+_0xc0f359(0xda));}catch{}if(_0x5c75c2[_0xc0f359(0x127)](this[_0xc0f359(0x14e)],null))try{this['Reporter']=_0x5c75c2[_0xc0f359(0xd6)](require,_0x566b42);}catch(_0x512311){console[_0xc0f359(0x16f)](_0xc0f359(0x18e)+_0x566b42);}if(_0x5c75c2['uWdzk'](this['Reporter'],null)){const _0x9ec37d={};_0x9ec37d[_0xc0f359(0x12a)]=_0x3f9531[_0xc0f359(0xae)],this[_0xc0f359(0x14e)]=new this['Reporter'](_0x962a76,_0x9ec37d);}}}[a26_0x500cf6(0x106)](){const _0x28dbdf=a26_0x500cf6,_0x5a757f={'TaWfI':function(_0x36b2e5,_0xcb6c69){return _0x36b2e5(_0xcb6c69);}};return _0x5a757f['TaWfI'](Array,this[_0x28dbdf(0xb3)])[_0x28dbdf(0xdb)]('\x20\x20');}['increaseIndent'](){const _0x2030d7=a26_0x500cf6;this[_0x2030d7(0xb3)]++;}[a26_0x500cf6(0x166)](){const _0x70204c=a26_0x500cf6;this[_0x70204c(0xb3)]--;}[a26_0x500cf6(0x179)](_0x18ad29){const _0x20e35c=a26_0x500cf6;this[_0x20e35c(0xf9)]+=_0x18ad29;}[a26_0x500cf6(0x162)](_0x14f42d,_0x9d5cab){const _0x4e8e43=a26_0x500cf6,_0x24fb31={'TqTmX':function(_0x513f08,_0x34fe00){return _0x513f08(_0x34fe00);}},_0x255d42={};_0x255d42[_0x4e8e43(0x172)]=_0x14f42d,_0x255d42[_0x4e8e43(0xf2)]=this[_0x4e8e43(0xc5)],_0x24fb31[_0x4e8e43(0x178)](_0x9d5cab,_0x255d42);}[a26_0x500cf6(0x10c)](){const _0x3c4629=a26_0x500cf6;process[_0x3c4629(0x19e)](_0x3c4629(0x17d)+process[_0x3c4629(0x15c)]),process['on'](_0x3c4629(0x17d)+process[_0x3c4629(0x15c)],this[_0x3c4629(0xa1)]['bind'](this)),process[_0x3c4629(0x19e)](_0x3c4629(0x148)+process[_0x3c4629(0x15c)]),process['on'](_0x3c4629(0x148)+process[_0x3c4629(0x15c)],this['appendTestPlatform'][_0x3c4629(0xbb)](this));}['testStarted']=async _0x4709ab=>{const _0x15fb87=a26_0x500cf6,_0x264ab8={'JdgMs':function(_0x41688d){return _0x41688d();},'wbJLk':function(_0x1d8391,_0x269cce){return _0x1d8391>_0x269cce;},'rcYzL':function(_0x1caaff,_0x19fa65){return _0x1caaff===_0x19fa65;},'RMIVn':_0x15fb87(0xba),'ipyHg':function(_0x2ca5d2,_0x543d8f){return _0x2ca5d2(_0x543d8f);}};try{const _0x189e8b=this[_0x15fb87(0xd2)];this[_0x15fb87(0xd2)]=_0x4709ab,_0x4709ab['retryOf']=null,_0x4709ab[_0x15fb87(0xe7)]=_0x264ab8[_0x15fb87(0xb9)](uuidv4),_0x4709ab[_0x15fb87(0xeb)]=new Date()['toISOString'](),_0x264ab8[_0x15fb87(0xec)](_0x4709ab[_0x15fb87(0xce)],0x0)&&_0x189e8b&&_0x264ab8[_0x15fb87(0x15e)](_0x189e8b[_0x15fb87(0x13d)],_0x4709ab['title'])?(_0x4709ab['retryOf']=_0x189e8b[_0x15fb87(0xe7)],await this['sendTestRunEvent'](_0x4709ab,undefined,![],_0x264ab8['RMIVn']),_0x189e8b[_0x15fb87(0x124)]=STATE_FAILED,await this[_0x15fb87(0xf0)](_0x189e8b,undefined,!![])):await this[_0x15fb87(0xf0)](_0x4709ab,undefined,![],_0x264ab8['RMIVn']);}catch(_0x47330f){_0x264ab8[_0x15fb87(0xfe)](debug,_0x15fb87(0x164)+_0x47330f);}};['sendTestRunEvent']=async(_0x4a78cd,_0x42c1db=undefined,_0x4f2e63=![],_0x132d91=a26_0x500cf6(0xbf))=>{const _0x5cc446=a26_0x500cf6,_0x4aa6ae={'POeiG':function(_0x3a998a,_0x5c601b){return _0x3a998a===_0x5c601b;},'AcbyL':function(_0x43df6d,_0x59784c){return _0x43df6d!==_0x59784c;},'gESNt':_0x5cc446(0x104),'ofyll':_0x5cc446(0x110),'lxYZo':function(_0x36426f,_0x39f7c7){return _0x36426f!==_0x39f7c7;},'BktdM':function(_0x46567a,_0x247d6f){return _0x46567a!==_0x247d6f;},'jWWSZ':function(_0x3b2f46,_0x340fb1){return _0x3b2f46!==_0x340fb1;},'FNado':_0x5cc446(0x153),'zpUTd':_0x5cc446(0x126),'dupfB':_0x5cc446(0x152),'sZKXE':function(_0x5481bb,_0x54e006){return _0x5481bb===_0x54e006;},'IQHlt':_0x5cc446(0xc2),'WQEFx':'skipped','wWpID':function(_0x66b2da,_0xbaec1b){return _0x66b2da-_0xbaec1b;},'NoKyp':'AssertionError','cEYrP':_0x5cc446(0x141),'qUdYw':function(_0x271fc8,_0x25c873){return _0x271fc8===_0x25c873;},'DAGnf':'started_at','XBiob':'finished_at','khCqX':function(_0x3bda05,_0x388bfe){return _0x3bda05(_0x388bfe);},'hIBUG':_0x5cc446(0xca),'qzyCl':function(_0x5c597a,_0xbd2668){return _0x5c597a!==_0xbd2668;},'vNzyZ':_0x5cc446(0x171),'rqIEL':_0x5cc446(0x182),'Wvebk':function(_0xd7ea22,_0x3146d7){return _0xd7ea22===_0x3146d7;},'TGcSn':_0x5cc446(0x125),'fYWlX':function(_0xb1bffc,_0x46afe){return _0xb1bffc===_0x46afe;},'YBPON':_0x5cc446(0x187),'gYKZM':'failure_backtrace','nrNBe':_0x5cc446(0x9b),'ndRRs':_0x5cc446(0x131),'BLUTH':'expanded','XCWDP':_0x5cc446(0xbf),'yncIu':function(_0x4c0c44,_0x372e54){return _0x4c0c44===_0x372e54;},'WmuiL':_0x5cc446(0xe0),'bYlcY':_0x5cc446(0xd5),'bCoLb':'test_run'};try{if(_0x4a78cd['body']&&_0x4a78cd['body'][_0x5cc446(0x190)](/browserstack internal helper hook/))return;let _0x5a120c=[];if(_0x4aa6ae[_0x5cc446(0x16e)](_0x4a78cd[_0x5cc446(0x124)],STATE_FAILED)){if(_0x4aa6ae['AcbyL'](_0x4a78cd[_0x5cc446(0x110)],undefined))_0x5a120c=_0x4a78cd[_0x5cc446(0x110)][_0x5cc446(0x11e)]?[_0x4a78cd[_0x5cc446(0x110)][_0x5cc446(0x11e)],_0x4aa6ae[_0x5cc446(0x18d)]]:[_0x4a78cd[_0x5cc446(0x110)],_0x4aa6ae[_0x5cc446(0x132)]];else _0x4aa6ae[_0x5cc446(0x14b)](_0x42c1db,undefined)?_0x5a120c=[_0x42c1db,_0x4aa6ae[_0x5cc446(0x132)]]:_0x5a120c=[];}const _0x2c1f1a=_0x4aa6ae['BktdM'](_0x4a78cd[_0x5cc446(0x110)],undefined)?_0x4a78cd[_0x5cc446(0x110)][_0x5cc446(0xb5)]():_0x4aa6ae[_0x5cc446(0xf3)](_0x42c1db,undefined)?_0x42c1db[_0x5cc446(0xb5)]():undefined;let _0x46e613;try{_0x46e613=this['getRootParentFile'](_0x4a78cd);}catch(_0x23dba4){_0x46e613=null;}const _0x3d7422=_0x46e613?this[_0x5cc446(0xd7)](_0x46e613):null,_0x3a7a16=_0x46e613?this[_0x5cc446(0x89)][_0x5cc446(0x181)](this[_0x5cc446(0x136)](_0x4a78cd)):_0x4aa6ae[_0x5cc446(0xb7)],_0x1f25a0={'framework':_0x4aa6ae['zpUTd'],'uuid':_0x4a78cd[_0x5cc446(0xe7)]||_0x4a78cd[_0x5cc446(0x107)],'name':_0x4a78cd['title'],'body':{'lang':_0x4aa6ae[_0x5cc446(0x87)],'code':_0x4a78cd[_0x5cc446(0x183)]},'scope':this[_0x5cc446(0x123)](_0x4a78cd),'scopes':this[_0x5cc446(0xb8)](_0x4a78cd),'identifier':_0x4a78cd[_0x5cc446(0x169)](),'file_name':_0x3a7a16,'vc_filepath':_0x3d7422?path[_0x5cc446(0xa4)](_0x3d7422,_0x46e613):null,'location':_0x3a7a16,'result':_0x4aa6ae[_0x5cc446(0xde)](_0x132d91,_0x4aa6ae[_0x5cc446(0x90)])?_0x4aa6ae[_0x5cc446(0x175)]:this['analyticsResult'](_0x4a78cd[_0x5cc446(0x124)]),'failure_reason':_0x2c1f1a,'duration_in_ms':_0x4a78cd[_0x5cc446(0xfb)]||(_0x132d91['match'](/Finished/)||_0x132d91[_0x5cc446(0x190)](/Skipped/)?_0x4aa6ae['wWpID'](Date['now'](),new Date(_0x4a78cd['started_at'])['getTime']()):null),'started_at':_0x4a78cd[_0x5cc446(0xeb)],'finished_at':_0x132d91['match'](/Finished/)||_0x132d91[_0x5cc446(0x190)](/Skipped/)?new Date()[_0x5cc446(0x196)]():null,'failure':failureData[_0x5cc446(0xc4)](null,_0x5a120c),'failure_type':!_0x2c1f1a?null:_0x2c1f1a['match'](/AssertionError/)?_0x4aa6ae[_0x5cc446(0xd9)]:_0x4aa6ae[_0x5cc446(0xcd)],'retry_of':_0x4a78cd[_0x5cc446(0x14d)]};testhubUtils[_0x5cc446(0x14c)](_0x1f25a0,_0x132d91,_0x4a78cd,FRAMEWORKS[_0x5cc446(0x18a)]);_0x4aa6ae['qUdYw'](_0x132d91,_0x4aa6ae[_0x5cc446(0x90)])&&!_0x1f25a0[_0x4aa6ae[_0x5cc446(0xbd)]]&&(_0x1f25a0[_0x4aa6ae[_0x5cc446(0xbd)]]=_0x1f25a0[_0x4aa6ae[_0x5cc446(0x116)]]);if(_0x132d91[_0x5cc446(0x190)](/HookRun/))[_0x1f25a0['hook_type'],_0x1f25a0[_0x5cc446(0xc3)]]=_0x4aa6ae['khCqX'](getHookDetails,_0x4a78cd[_0x5cc446(0x169)]()||_0x4a78cd['originalTitle']||_0x4a78cd[_0x5cc446(0x13d)]),_0x4aa6ae[_0x5cc446(0x16e)](_0x132d91,_0x4aa6ae[_0x5cc446(0x184)])&&(_0x4aa6ae['qzyCl'](_0x1f25a0[_0x5cc446(0x188)],_0x4aa6ae[_0x5cc446(0x95)])&&(_0x1f25a0[_0x5cc446(0x188)]=_0x4aa6ae[_0x5cc446(0x11c)]),_0x4aa6ae[_0x5cc446(0x128)](_0x1f25a0[_0x5cc446(0xe0)],_0x4aa6ae[_0x5cc446(0xe1)])&&_0x4aa6ae[_0x5cc446(0x192)](_0x1f25a0[_0x5cc446(0x188)],_0x4aa6ae[_0x5cc446(0x95)])&&!_0x4a78cd[_0x5cc446(0xc7)]['currentTest']['markedStatus']&&(_0x4a78cd[_0x5cc446(0xc7)][_0x5cc446(0x167)]['markedStatus']=!![],_0x4a78cd[_0x5cc446(0xc7)]['currentTest'][_0x5cc446(0x124)]=STATE_FAILED,await this[_0x5cc446(0xf0)](_0x4a78cd[_0x5cc446(0xc7)][_0x5cc446(0x167)],undefined,!![])));else _0x132d91[_0x5cc446(0x190)](/TestRun/)&&_0x4aa6ae['khCqX'](mapTestHooks,_0x4a78cd);const _0x3cb635=_0x1f25a0[_0x4aa6ae['YBPON']][0x0];_0x3cb635&&(_0x1f25a0[_0x4aa6ae['gYKZM']]=_0x3cb635[_0x4aa6ae[_0x5cc446(0xb2)]],_0x1f25a0[_0x4aa6ae[_0x5cc446(0x8a)]]=_0x3cb635[_0x4aa6ae[_0x5cc446(0x12f)]]);[_0x4aa6ae[_0x5cc446(0xad)],_0x4aa6ae['IQHlt']][_0x5cc446(0x84)](_0x132d91)&&(this[_0x5cc446(0x9a)][_0x5cc446(0x114)](_0x1f25a0),_0x1f25a0[_0x5cc446(0x185)]=_0x4aa6ae[_0x5cc446(0xea)](getHooksForTest,_0x4a78cd));const _0x3193c4={'event_type':_0x4aa6ae[_0x5cc446(0x10d)](_0x132d91,_0x4aa6ae[_0x5cc446(0x90)])?_0x4aa6ae[_0x5cc446(0xad)]:_0x132d91};_0x132d91[_0x5cc446(0x190)](/HookRun/)?(_0x1f25a0[_0x4aa6ae[_0x5cc446(0x98)]]=HOOK_TYPES_MAP[_0x1f25a0[_0x4aa6ae[_0x5cc446(0x98)]]],_0x3193c4[_0x4aa6ae[_0x5cc446(0x176)]]=_0x1f25a0):_0x3193c4[_0x4aa6ae[_0x5cc446(0xa9)]]=_0x1f25a0,testhubUtils[_0x5cc446(0x156)](FRAMEWORKS['MOCHA'],_0x3193c4),await SessionHandler['uploadEventData'](_0x3193c4);}catch(_0x29aa27){_0x4aa6ae['khCqX'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x132d91+'\x20with\x20error\x20:\x20'+_0x29aa27);}};[a26_0x500cf6(0xd7)](_0x1b4bbb){const _0x394b0a=a26_0x500cf6,_0x172a78={};_0x172a78[_0x394b0a(0xa3)]=function(_0x4ff028,_0x4ffde2){return _0x4ff028===_0x4ffde2;},_0x172a78[_0x394b0a(0x161)]=function(_0x23b09b,_0x57589e){return _0x23b09b===_0x57589e;},_0x172a78[_0x394b0a(0x138)]=function(_0x2cfaaa,_0x3cf4ae){return _0x2cfaaa===_0x3cf4ae;},_0x172a78[_0x394b0a(0x113)]='.git',_0x172a78[_0x394b0a(0xb1)]='config';const _0x3115c0=_0x172a78,_0x27d1eb=path[_0x394b0a(0x9e)];if(_0x3115c0[_0x394b0a(0xa3)](_0x1b4bbb,null)||_0x3115c0['WwXNy'](_0x1b4bbb,'')||_0x3115c0[_0x394b0a(0x138)](_0x1b4bbb,_0x27d1eb))return null;try{return fs['statSync'](path[_0x394b0a(0xdb)](_0x1b4bbb,_0x3115c0[_0x394b0a(0x113)],_0x3115c0['irfmN'])),_0x1b4bbb;}catch(_0x204b5e){const _0x2b27fd=path[_0x394b0a(0xcb)](_0x1b4bbb);return this[_0x394b0a(0xd7)](_0x2b27fd);}}['appendTestItemLog']=async _0x2237b3=>{const _0x5e858c=a26_0x500cf6,_0x104f00={'UcScl':_0x5e858c(0x13c),'SJIXZ':function(_0x21f4c7,_0x1b8a8e){return _0x21f4c7(_0x1b8a8e);}};try{this[_0x5e858c(0x135)]&&!this['current_hook'][_0x5e858c(0x168)]&&(_0x2237b3[_0x5e858c(0x150)]=this[_0x5e858c(0x135)][_0x5e858c(0x107)]);!_0x2237b3[_0x5e858c(0x150)]&&this['current_test']&&!this[_0x5e858c(0xd2)]['markedStatus']&&(_0x2237b3[_0x5e858c(0x163)]=this[_0x5e858c(0xd2)][_0x5e858c(0xe7)]);if(_0x2237b3[_0x5e858c(0x150)]||_0x2237b3[_0x5e858c(0x163)]){const _0x85bed6={};_0x85bed6[_0x5e858c(0x12c)]=_0x104f00[_0x5e858c(0x13f)],_0x85bed6[_0x5e858c(0xd0)]=[_0x2237b3],await SessionHandler[_0x5e858c(0x100)](_0x85bed6);}}catch(_0x7da4f3){_0x104f00[_0x5e858c(0x143)](debug,_0x5e858c(0x85)+_0x7da4f3);}};['appendTestPlatform']=async _0x2f8749=>{const _0x1c9706=a26_0x500cf6,_0x147bfb={'JYRLx':'http_response','MtyaT':_0x1c9706(0x121),'THKmC':function(_0x1c20bd,_0x378e5f){return _0x1c20bd(_0x378e5f);}};try{const _0x38418a={};_0x38418a[_0x1c9706(0x18b)]=_0x2f8749[_0x1c9706(0x18b)]||this[_0x1c9706(0xd2)][_0x1c9706(0xe7)],_0x38418a[_0x1c9706(0x133)]=_0x2f8749[_0x147bfb['JYRLx']];const _0x8b3d3d=_0x38418a,_0x59f763={};_0x59f763[_0x1c9706(0x12c)]=_0x147bfb[_0x1c9706(0x18c)],_0x59f763['test_run']=_0x8b3d3d,await SessionHandler[_0x1c9706(0x100)](_0x59f763);}catch(_0x2bdcbd){_0x147bfb['THKmC'](debug,_0x1c9706(0x146)+_0x2bdcbd);}};[a26_0x500cf6(0x12d)](_0xa72a2a){const _0x49e3c4=a26_0x500cf6,_0x1967df={};_0x1967df[_0x49e3c4(0x94)]=_0x49e3c4(0x182),_0x1967df[_0x49e3c4(0x19a)]='pending',_0x1967df[_0x49e3c4(0xc9)]=_0x49e3c4(0x171);const _0x2601ac=_0x1967df,_0xdd7dd3={};return _0xdd7dd3[STATE_PASSED]=_0x2601ac[_0x49e3c4(0x94)],_0xdd7dd3[STATE_PENDING]=_0x2601ac[_0x49e3c4(0x19a)],_0xdd7dd3[STATE_FAILED]=_0x2601ac[_0x49e3c4(0xc9)],_0xdd7dd3[_0xa72a2a];}[a26_0x500cf6(0x123)](_0x5aea11){const _0x3e2c4a=a26_0x500cf6,_0x52caba={};_0x52caba[_0x3e2c4a(0x1a0)]=function(_0x414e73,_0x14d249){return _0x414e73-_0x14d249;};const _0x450c2f=_0x52caba,_0x20befd=_0x5aea11[_0x3e2c4a(0x11d)]();return _0x20befd[_0x3e2c4a(0x88)](0x0,_0x450c2f[_0x3e2c4a(0x1a0)](_0x20befd[_0x3e2c4a(0x173)],0x1))[_0x3e2c4a(0xdb)]('\x20');}['scopes'](_0x5874a6){const _0x22d2f9=a26_0x500cf6,_0x368a5b={};_0x368a5b[_0x22d2f9(0x1a2)]=function(_0x483f35,_0x10f0d9){return _0x483f35-_0x10f0d9;};const _0x24ce5a=_0x368a5b,_0x5bc86e=_0x5874a6[_0x22d2f9(0x11d)]();return _0x5bc86e[_0x22d2f9(0x88)](0x0,_0x24ce5a[_0x22d2f9(0x1a2)](_0x5bc86e[_0x22d2f9(0x173)],0x1));}[a26_0x500cf6(0x136)](_0x51a3ae){const _0x5bebe2=a26_0x500cf6,_0x45eae2={};_0x45eae2['eWIfm']=function(_0x5b392f,_0x684470){return _0x5b392f>_0x684470;};const _0x2bf093=_0x45eae2;if(_0x51a3ae[_0x5bebe2(0xe5)])return _0x51a3ae[_0x5bebe2(0xe5)];if(_0x51a3ae[_0x5bebe2(0xc7)]){const _0xbb84d5=_0x51a3ae[_0x5bebe2(0xc7)][_0x5bebe2(0x167)]?this[_0x5bebe2(0x136)](_0x51a3ae[_0x5bebe2(0xc7)][_0x5bebe2(0x167)]):null;if(_0xbb84d5)return _0xbb84d5;}if(_0x51a3ae[_0x5bebe2(0x13a)]){const _0x10d4fe=this[_0x5bebe2(0x136)](_0x51a3ae[_0x5bebe2(0x13a)])||(_0x51a3ae[_0x5bebe2(0x13a)][_0x5bebe2(0xc7)]&&_0x51a3ae[_0x5bebe2(0x13a)][_0x5bebe2(0xc7)]['currentTest']?this['getRootParentFile'](_0x51a3ae[_0x5bebe2(0x13a)]['ctx'][_0x5bebe2(0x167)]):null);if(_0x10d4fe)return _0x10d4fe;_0x51a3ae[_0x5bebe2(0x13a)][_0x5bebe2(0xc1)]&&_0x2bf093[_0x5bebe2(0xdf)](_0x51a3ae['parent'][_0x5bebe2(0xc1)]['length'],0x0)&&_0x51a3ae[_0x5bebe2(0x13a)][_0x5bebe2(0xc1)][_0x5bebe2(0x11a)](_0x28bd24=>{const _0x264663=_0x5bebe2,_0x233890=_0x28bd24[_0x264663(0xc7)]?this['getRootParentFile'](_0x28bd24[_0x264663(0xc7)]):null;if(_0x233890)return _0x233890;});}return null;}}function a26_0x4970(){const _0x3b8908=['file','liqgw','testAnalyticsId','dot','HjiUk','khCqX','started_at','wbJLk','mocha/lib/reporters/','487031ElbJUp','testObservability','sendTestRunEvent','currentRetry','results','jWWSZ','once','suite','CNxal','WfOaT','mocha/lib/runnable.js','docHtml','prototype','duration','testStarted','HookFinished','ipyHg','../../../helpers/testhub/constants','uploadEventData','1071504NaQAoD','bfYcY','../../../helpers/helper','test','EpfFZ','indent','hookAnalyticsId','shouldProcessEventForTesthub','split','root','gbqyF','registerListeners','yncIu','cFDIb','9lLIZfv','err','symbols','gUFcy','jSABd','push','consoleLog','XBiob','vEiWW','DBOfu','bUNxc','forEach','qNDDw','rqIEL','titlePath','multiple','VJeHJ','HookStarted','CBTSessionCreated','bright\x20yellow','scope','state','before\x20each','Mocha','qeVeF','Wvebk','after\x20all','reporterOptions','ldbhp','event_type','analyticsResult','bJivB','BLUTH','after\x20each','failure_reason_expanded','ofyll','integrations','__indents','current_hook','getRootParentFile','bWrSl','ZckDk','../../../helpers/test-observability/sessionHandler','parent','<h1>','LogCreated','title','comma','UcScl','</h1>','UnhandledError','hJjtG','SJIXZ','getInstance','pending','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','</code></pre></dd>','bs:addPlatformDetails:','_buildCreated','\x20\x20<dd><pre><code>','lxYZo','appendTesthubParams','retryOf','Reporter','bnlQJ','hook_run_uuid','__platform__','javascript','File\x20path\x20could\x20not\x20be\x20found','fail','bsConfig','setCurrentTestData','COMPLETED','328027cYIfGF','</dt>','%s\x20-\x20%s','\x20\x20<dt>','pid','mocha/lib/utils.js','rcYzL','mTLns','../test-observability/mochaUtils','WwXNy','done','test_run_uuid','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','UYQUQ','decreaseIndent','currentTest','markedStatus','fullTitle','\x20\x20<dd\x20class=\x22error\x22><pre><code>','</dd>','escape','3|4|0|2|1','POeiG','error','%s\x20','failed','failureCount','length','AFTER_ALL','WQEFx','bYlcY','QsKTL','TqTmX','docAppend','icnRn','3248630PdDRwQ','78uBdgGd','bs:addLog:','clean','speed','ijQMb','prefixTestPath','passed','body','hIBUG','hooks','color','failure','result','_testEnv','MOCHA','uuid','MtyaT','gESNt','Failed\x20to\x20load\x20reporter\x20','green','match','spec','fYWlX','obiRz','kbtDu','isPending','toISOString','\x20\x20%d)\x20%s','before\x20all','tSVKG','KLTNB','checkmark','muhhb','failCount','removeAllListeners','type','DbzBw','shutdown','Eutxp','loxeb','EVENT','includes','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','../../../helpers/test-observability/requestQueueHandler','dupfB','slice','_paths','ndRRs','PgBct','PVMbx','write','runner','uCVGd','IQHlt','oYXrN','ELWRD','xunit','hOAOd','vNzyZ','ZMZZq','<section\x20class=\x22suite\x22>','WmuiL','CZZnp','_testResults','backtrace','pass','842260LPPzuI','sep','doc','../../../helpers/test-observability/utils','appendTestItemLog','../../../helpers/test-observability/constants','NGEUl','relative','../../../helpers/testhub/utils','ufSyK','bWzqL','11242256oApIfp','bCoLb','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','\x20\x20<dd\x20class=\x22error\x22>','XfJGa','XCWDP','reporterOption','util','stdout','irfmN','nrNBe','_indents','BEFORE_EACH','toString','\x20(%dms)','FNado','scopes','JdgMs','TestRunStarted','bind','constants','DAGnf','crDxq','TestRunFinished','_upstreamConfig','suites','TestRunSkipped','name','apply','finalResults','\x20\x20<dt\x20class=\x22error\x22>','ctx','MjTFJ','tEXDN','HookRunFinished','dirname','ITDbH','cEYrP','_currentRetry','zmOSD','logs','exports','current_test','yABWa','cwd','hook_run','DzSSO','findGitConfig','2unCKAB','NoKyp','.js','join','mocha/lib/reporters/base.js','suiteCount','sZKXE','eWIfm','hook_type','TGcSn','sQCjw','KRXyc','176991fTVJHS'];a26_0x4970=function(){return _0x3b8908;};return a26_0x4970();}module[a26_0x500cf6(0xd1)]=MyReporter;
|
|
1
|
+
'use strict';function a27_0x2f61(){const _0x472390=['logs','hook_run','LpTGR','mpVmR','exports','wkNvE','light','41290hgQiYR','QutgM','_upstreamConfig','removeAllListeners','registerListeners','length','PHVrB','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','getTime','vlHMG','type','EGsLn','wnAMp','failed','ZkQqr','current_test','expanded','jStlN','YAklE','testStarted','file','HKuvJ','fullTitle','HookStarted','../../../helpers/testhub/utils','_testEnv','push','testObservability','findGitConfig','multiple','vPceB','%s\x20-\x20%s','MTAUn','hook_type','passed','dpXiM','MxhkZ','apply','gROPk','HookRunStarted','tnHQV','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','__indents','\x20(%dms)','yEXQf','WPjvz','<section\x20class=\x22suite\x22>','decreaseIndent','relative','indent','retryOf','suite','test','FxNBK','prototype','test_run','LogCreated','reporterOption','suiteCount','<h1>','SHAjE','jyhlE','integrations','suites','config','YYhRE','2435640YpjNyK','1373149bztMSY','bs:addPlatformDetails:','current_hook','after\x20each','BEFORE_EACH','markedStatus','escape','hookAnalyticsId','fOArq','http_response','SksaW','uuid','failure','bang','yWBTZ','../../../helpers/helper','javascript','GAkuZ','currentTest','dot','nHAot','setCurrentTestData','spec','\x20\x20<dd\x20class=\x22error\x22>','wmOMC','rmDLQ','DeqNv','now','YpgZT','../test-observability/mochaUtils','KkDst','HookRunFinished','WdFgK','10553013EdwTQt','xHeCC','dFTFm','IlONz','duration','slice','ISqsz','XZFqM','SdDqg','gadaI','speed','HookFinished','../../../helpers/test-observability/requestQueueHandler','.git','IBQFn','IJUiG','join','lUtrI','stdout','before\x20each','statSync','olnQc','LotPJ','RgzFp','MOCHA','consoleLog','mocha/lib/reporters/','Reporter','uploadEventData','_paths','yVufN','ABzeQ','body','RUNNING','HlJoj','match','_currentRetry','VrUpD','JmhZk','MjsIl','toISOString','sep','APCFY','testAnalyticsId','TLIYg','VYQeb','JwhFQ','VsWMp','failureCount','bsadi','prefixTestPath','Mocha','titlePath','sOXaH','increaseIndent','834mNNxbz','\x20-\x20','XzxmK','TestRunStarted','GuxEF','sHqgL','call','cwd','JLzwj','doc','root','bwiKE','appendTesthubParams','forEach','currentRetry','Runner','_buildCreated','test_run_uuid','once','</dt>','parent','started_at','result','</h1>','skipped','../../../helpers/test-observability/constants','results','color','WPZZJ','26018630KKntSJ','fzlyf','vKQiS','originalTitle','swtIL','__platform__','location_prefix','getRootParentFile','1344679MvIciW','analyticsResult','\x20\x20<dt\x20class=\x22error\x22>','kFyZn','err','BeTaX','mocha/lib/reporters/base.js','tCvCM','_indents','FLZZN','reporterOptions','write','TestRunSkipped','trim','CBTSessionCreated','appendTestPlatform','%s\x20','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','isPending','pending','mocha','toString','VQuts','path','title','xunit','scopes','icVZd','ctx','8ydEHTt','_testResults','includes','igTGR','\x20\x20<dd><pre><code>','sendTestRunEvent','</section>','63jBANsi','split','orEKh','appendTestItemLog','../../../helpers/test-observability/sessionHandler','.js','backtrace','dgGoT','azBFk','TestRunFinished','Cfmst','0|4|1|3|2','failure_backtrace','GohdP','eZctC','rbmlK','hook_run_uuid','getInstance','TOEIf','XpRVw','HxhVH','Failed\x20to\x20load\x20reporter\x20','\x20\x20<dd\x20class=\x22error\x22><pre><code>','runner','<dl>','docHtml','COMPLETED','</code></pre></dd>','aZpiJ','MyCvN','zQukN','\x20\x20%d)\x20%s','124164wkpQyM','\x20\x20<dt>','util','finished_at','state','bind','../../../helpers/testhub/constants','hooks','inspect','shutdown','symbols','event_type','failure_reason_expanded','</dd>','iKpMm','ppNxg','YPVCl','scope','JXfbd','nKHQh','docAppend','shouldProcessEventForTesthub','pass','gCuTs','EVENT','OYYpQ','finalResults','comma','clean','DadCn','mocha/lib/runnable.js','KuYcY','UnhandledError','constants','Gxisr','mocha/lib/utils.js','failCount','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','pid'];a27_0x2f61=function(){return _0x472390;};return a27_0x2f61();}const a27_0x500c99=a27_0x4c8d;(function(_0x56e8bb,_0x4300bc){const _0xe15ebb=a27_0x4c8d,_0x52f24a=_0x56e8bb();while(!![]){try{const _0x5ef525=parseInt(_0xe15ebb(0x1d8))/0x1+-parseInt(_0xe15ebb(0x167))/0x2*(-parseInt(_0xe15ebb(0x147))/0x3)+parseInt(_0xe15ebb(0x1d7))/0x4+parseInt(_0xe15ebb(0x195))/0x5*(parseInt(_0xe15ebb(0xfe))/0x6)+parseInt(_0xe15ebb(0x123))/0x7+parseInt(_0xe15ebb(0x140))/0x8*(-parseInt(_0xe15ebb(0x1f9))/0x9)+-parseInt(_0xe15ebb(0x11b))/0xa;if(_0x5ef525===_0x4300bc)break;else _0x52f24a['push'](_0x52f24a['shift']());}catch(_0x6c7e42){_0x52f24a['push'](_0x52f24a['shift']());}}}(a27_0x2f61,0xcfd78));function a27_0x4c8d(_0x3c2496,_0x402ec7){const _0x2f61a2=a27_0x2f61();return a27_0x4c8d=function(_0x4c8d63,_0x164a36){_0x4c8d63=_0x4c8d63-0xe2;let _0x27b9cf=_0x2f61a2[_0x4c8d63];return _0x27b9cf;},a27_0x4c8d(_0x3c2496,_0x402ec7);}const util=require(a27_0x500c99(0x169)),fs=require('fs'),path=require(a27_0x500c99(0x13a)),{requireModule}=require(a27_0x500c99(0x1e7)),Base=requireModule(a27_0x500c99(0x129)),utils=requireModule(a27_0x500c99(0x18a)),color=Base[a27_0x500c99(0x119)],Mocha=requireModule(a27_0x500c99(0x137)),Runnable=requireModule(a27_0x500c99(0x185)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x500c99(0x1ad)),testHubConstants=require(a27_0x500c99(0x16d)),{FRAMEWORKS}=require(a27_0x500c99(0x117)),a27_0x461f46={};a27_0x461f46['before\x20all']='BEFORE_ALL',a27_0x461f46['after\x20all']='AFTER_ALL',a27_0x461f46[a27_0x500c99(0x20c)]=a27_0x500c99(0x1dc),a27_0x461f46[a27_0x500c99(0x1db)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x461f46,{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_0x500c99(0x10d)][a27_0x500c99(0x188)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x500c99(0x1f5)),{consoleHolder}=require(a27_0x500c99(0x117)),SessionHandler=require(a27_0x500c99(0x14b)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x500c99(0x205)),requestQueueHandler=RequestQueueHandler[a27_0x500c99(0x158)]();class MyReporter{constructor(_0x5eff05,_0x3975fe){const _0x1eaa45=a27_0x500c99,_0x464637={'KuYcY':function(_0x3944a4,_0xd96c45){return _0x3944a4===_0xd96c45;},'MxhkZ':_0x1eaa45(0x1ee),'MyCvN':function(_0x4aaf36,_0x4b447f){return _0x4aaf36===_0x4b447f;},'QRvwy':function(_0x4aa767,_0x561103){return _0x4aa767+_0x561103;},'sHqgL':function(_0x19ea6a,_0x5a6058){return _0x19ea6a+_0x5a6058;},'XZFqM':function(_0x37fa9d,_0x4fe6cc,_0x5d8490){return _0x37fa9d(_0x4fe6cc,_0x5d8490);},'vKQiS':'green','igTGR':_0x1eaa45(0x133),'MjsIl':function(_0x319417,_0x444287,_0x57173b){return _0x319417(_0x444287,_0x57173b);},'GohdP':_0x1eaa45(0x194),'dpXiM':_0x1eaa45(0x1b4),'yVufN':_0x1eaa45(0xe8),'bwiKE':_0x1eaa45(0x107),'VQuts':function(_0x342719){return _0x342719();},'wkNvE':function(_0x2fefd0){return _0x2fefd0();},'YpgZT':_0x1eaa45(0x1bc),'gadaI':'HookRunFinished','JmhZk':_0x1eaa45(0x1b7),'nKHQh':'fast','fzlyf':function(_0x266d78,_0x32618a){return _0x266d78+_0x32618a;},'WPjvz':function(_0x5eb008,_0x35b0b0){return _0x5eb008+_0x35b0b0;},'QutgM':'checkmark','ABzeQ':function(_0x2078e7,_0x57a163){return _0x2078e7+_0x57a163;},'MTAUn':_0x1eaa45(0x17d),'ZkQqr':'\x20%s','BeTaX':function(_0x46721d,_0x3a94c6){return _0x46721d+_0x3a94c6;},'HdnHI':function(_0x282a69,_0x5e1b9c){return _0x282a69+_0x5e1b9c;},'JXfbd':function(_0x1b39c2,_0x5335f7,_0x536b60){return _0x1b39c2(_0x5335f7,_0x536b60);},'rmDLQ':function(_0x59c11a,_0x5af03c,_0x415bed){return _0x59c11a(_0x5af03c,_0x415bed);},'bsadi':function(_0x21aa8b,_0x2662e1,_0x56fc8e){return _0x21aa8b(_0x2662e1,_0x56fc8e);},'YPVCl':_0x1eaa45(0x1c0),'WdFgK':function(_0x592244,_0x20f829){return _0x592244+_0x20f829;},'aZpiJ':function(_0x2ffabf,_0x2cc732,_0x5d8f48){return _0x2ffabf(_0x2cc732,_0x5d8f48);},'IJUiG':'fail','vlHMG':_0x1eaa45(0x166),'XpRVw':function(_0x3a0337,_0x433710){return _0x3a0337+_0x433710;},'TOEIf':function(_0x549510,_0xb890d5,_0x421656){return _0x549510(_0xb890d5,_0x421656);},'APCFY':'bright\x20yellow','GuxEF':_0x1eaa45(0x161),'HKuvJ':function(_0x4c1a8e,_0x2c3e8a){return _0x4c1a8e===_0x2c3e8a;},'wnAMp':_0x1eaa45(0x1eb),'XzxmK':function(_0x5d928b,_0x355efb){return _0x5d928b===_0x355efb;},'JNzQD':'slow','gQhKX':function(_0x759dfe,_0x823ef){return _0x759dfe===_0x823ef;},'fOArq':function(_0x39e837,_0x53569e){return _0x39e837===_0x53569e;},'vPceB':_0x1eaa45(0x152),'RgzFp':function(_0x305183,_0x113c10){return _0x305183===_0x113c10;},'IBQFn':function(_0x593b2b,_0x511106){return _0x593b2b===_0x511106;},'SksaW':_0x1eaa45(0x136),'EGsLn':function(_0x15d978){return _0x15d978();},'ISqsz':_0x1eaa45(0x12f),'hPobO':function(_0x26747b,_0x290268){return _0x26747b===_0x290268;},'PHVrB':function(_0x26c7ae,_0x3f3425){return _0x26c7ae===_0x3f3425;},'sOXaH':function(_0x4716be,_0x127d8f){return _0x4716be(_0x127d8f);},'ZomaC':function(_0x45f568,_0x381cc9){return _0x45f568(_0x381cc9);},'dgGoT':function(_0x3d2f33,_0x5ad813){return _0x3d2f33===_0x5ad813;},'wmOMC':function(_0x6ac2ef){return _0x6ac2ef();},'BbVXC':function(_0x9667b0,_0x18541e){return _0x9667b0===_0x18541e;},'FxNBK':_0x1eaa45(0x13c),'soszJ':function(_0x4ca977,_0x20f06e){return _0x4ca977(_0x20f06e);},'gROPk':function(_0x325ff1,_0x349a35){return _0x325ff1===_0x349a35;},'fycHK':function(_0x2f11a3,_0x30f049){return _0x2f11a3(_0x30f049);},'dFTFm':function(_0x5db549,_0x369f9b){return _0x5db549!==_0x369f9b;}};this[_0x1eaa45(0x19f)]=_0x3975fe[_0x1eaa45(0x1ce)]['type'],this[_0x1eaa45(0x1b0)]=_0x464637[_0x1eaa45(0x193)](isTestObservabilitySession),Base[_0x1eaa45(0x104)](this,_0x5eff05,_0x3975fe),this[_0x1eaa45(0x12b)]=0x0,this['failCount']=0x0,this['results']=[],this[_0x1eaa45(0x181)]=[],this[_0x1eaa45(0x1cf)]=0x0,this[_0x1eaa45(0x10e)]=![],this[_0x1eaa45(0x141)]=[],this[_0x1eaa45(0x1ae)]=_0x464637[_0x1eaa45(0x1f0)](getTestEnv),this[_0x1eaa45(0xe4)]=new PathHelper({'cwd':process[_0x1eaa45(0x105)]()},this[_0x1eaa45(0x1ae)][_0x1eaa45(0x121)]),this[_0x1eaa45(0x197)]=_0x3975fe[_0x1eaa45(0x1ce)]['bsConfig'],this['registerListeners']();_0x464637['BbVXC'](this[_0x1eaa45(0x19f)],_0x464637[_0x1eaa45(0x109)])&&(this[_0x1eaa45(0x160)]='',this['__indents']=0x2);_0x5eff05[_0x1eaa45(0x110)](EVENT_RUN_BEGIN,async()=>{const _0x4f0568=_0x1eaa45;_0x464637[_0x4f0568(0x186)](this[_0x4f0568(0x19f)],_0x464637['MxhkZ'])&&Base[_0x4f0568(0x212)]();})['on'](EVENT_SUITE_BEGIN,_0x25bf75=>{const _0x10313e=_0x1eaa45;if(_0x25bf75[_0x10313e(0x108)])return;if(_0x464637[_0x10313e(0x164)](this[_0x10313e(0x19f)],_0x464637[_0x10313e(0x1b9)]))this[_0x10313e(0xfd)](),Base['consoleLog'](_0x464637['QRvwy'](_0x464637[_0x10313e(0x103)](this['indent'](),_0x464637[_0x10313e(0x200)](color,_0x464637[_0x10313e(0x11d)],_0x464637[_0x10313e(0x143)])),_0x464637[_0x10313e(0xee)](color,_0x464637[_0x10313e(0x154)],_0x464637['dpXiM'])),_0x464637[_0x10313e(0xe5)],_0x25bf75['title'],global[_0x10313e(0x120)]);else _0x464637[_0x10313e(0x164)](this[_0x10313e(0x19f)],_0x464637[_0x10313e(0x109)])&&(this['docAppend'](this['indent']()+_0x10313e(0x1c3)),++this['__indents'],this[_0x10313e(0x17b)](this[_0x10313e(0x1c6)]()+_0x10313e(0x1d0)+utils[_0x10313e(0x1de)](_0x25bf75[_0x10313e(0x13b)]+_0x10313e(0xff)+global['__platform__'])+_0x10313e(0x115)),this[_0x10313e(0x17b)](this['indent']()+_0x10313e(0x15f)));})['on'](EVENT_HOOK_BEGIN,async _0x577e0a=>{const _0x265d6f=_0x1eaa45;if(_0x464637[_0x265d6f(0x164)](testhubUtils[_0x265d6f(0x17c)](testHubConstants[_0x265d6f(0x17f)][_0x265d6f(0x1ac)]),!![])){if(!_0x577e0a[_0x265d6f(0x1df)])_0x577e0a[_0x265d6f(0x1df)]=_0x464637[_0x265d6f(0x139)](uuidv4);else _0x577e0a[_0x265d6f(0x1dd)]&&(_0x577e0a[_0x265d6f(0x1df)]=_0x464637[_0x265d6f(0x193)](uuidv4),delete _0x577e0a['markedStatus']);_0x577e0a[_0x265d6f(0x113)]=new Date()[_0x265d6f(0xef)](),this['current_hook']=_0x577e0a,await this[_0x265d6f(0x145)](_0x577e0a,undefined,![],_0x464637[_0x265d6f(0x1f4)]);}})['on'](EVENT_HOOK_END,async _0x3bf70d=>{const _0x1b88bf=_0x1eaa45;_0x464637['MyCvN'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x1b88bf(0x204)]),!![])&&(!_0x3bf70d[_0x1b88bf(0x1dd)]&&(_0x3bf70d['markedStatus']=!![],await this[_0x1b88bf(0x145)](_0x3bf70d,undefined,![],_0x464637['gadaI'])));})['on'](EVENT_SUITE_END,_0x553089=>{const _0x18f6c6=_0x1eaa45;if(_0x553089[_0x18f6c6(0x108)])return;if(_0x464637[_0x18f6c6(0x186)](this['type'],_0x464637[_0x18f6c6(0x1b9)]))Base[_0x18f6c6(0x212)](),Base['consoleLog'](_0x464637[_0x18f6c6(0x128)](_0x464637[_0x18f6c6(0x15a)](this[_0x18f6c6(0x1c6)](),_0x464637['TOEIf'](color,_0x464637[_0x18f6c6(0xf1)],_0x464637[_0x18f6c6(0x143)])),_0x464637[_0x18f6c6(0x159)](color,_0x464637[_0x18f6c6(0x154)],_0x464637[_0x18f6c6(0x1b8)])),_0x464637[_0x18f6c6(0x102)],_0x553089[_0x18f6c6(0x13b)],global[_0x18f6c6(0x120)]),this[_0x18f6c6(0x118)][_0x18f6c6(0x10b)](_0xfffe6a=>{const _0x423953=_0x18f6c6;if(_0x464637[_0x423953(0x164)](_0xfffe6a[_0x423953(0x16b)],_0x464637[_0x423953(0xed)])){var _0x5706b2;_0x464637[_0x423953(0x164)](_0xfffe6a['speed'],_0x464637[_0x423953(0x17a)])?(_0x5706b2=_0x464637[_0x423953(0x11c)](_0x464637[_0x423953(0x1c2)](this[_0x423953(0x1c6)](),_0x464637[_0x423953(0xee)](color,_0x464637[_0x423953(0x196)],_0x464637[_0x423953(0xe6)]('\x20\x20',Base[_0x423953(0x171)]['ok']))),_0x464637[_0x423953(0x200)](color,_0x464637[_0x423953(0x1b5)],_0x464637[_0x423953(0x1a3)])),Base[_0x423953(0x212)](_0x5706b2,_0xfffe6a[_0x423953(0x13b)])):(_0x5706b2=_0x464637[_0x423953(0x11c)](_0x464637['BeTaX'](_0x464637['HdnHI'](this[_0x423953(0x1c6)](),_0x464637[_0x423953(0x179)](color,_0x464637['QutgM'],_0x464637['ABzeQ']('\x20\x20',Base['symbols']['ok']))),_0x464637[_0x423953(0x1f1)](color,_0x464637[_0x423953(0x1b5)],_0x464637[_0x423953(0x1a3)])),_0x464637[_0x423953(0xf8)](color,_0xfffe6a[_0x423953(0x203)],_0x464637[_0x423953(0x177)])),Base[_0x423953(0x212)](_0x5706b2,_0xfffe6a[_0x423953(0x13b)],_0xfffe6a[_0x423953(0x1fd)]));}else Base[_0x423953(0x212)](_0x464637[_0x423953(0x1f8)](this['indent'](),_0x464637[_0x423953(0x163)](color,_0x464637[_0x423953(0x208)],_0x464637[_0x423953(0x19e)])),++this[_0x423953(0x18b)],_0xfffe6a['title']);}),this['decreaseIndent']();else _0x464637[_0x18f6c6(0x186)](this[_0x18f6c6(0x19f)],_0x464637[_0x18f6c6(0x109)])&&(this['docAppend'](this[_0x18f6c6(0x1c6)]()+'</dl>'),--this['__indents'],this[_0x18f6c6(0x17b)](this['indent']()+_0x18f6c6(0x146)),--this[_0x18f6c6(0x1bf)]);Array[_0x18f6c6(0x1cb)][_0x18f6c6(0x1af)][_0x18f6c6(0x1ba)](this['finalResults'],this[_0x18f6c6(0x118)]),this[_0x18f6c6(0x118)]=[];})['on'](EVENT_TEST_PASS,async _0x2c9782=>{const _0x244eed=_0x1eaa45;this[_0x244eed(0x118)][_0x244eed(0x1af)]({'speed':_0x2c9782[_0x244eed(0x203)],'suite':_0x2c9782['parent'][_0x244eed(0x13b)],'title':_0x2c9782['title'],'fullTitle':_0x2c9782['fullTitle'](),'duration':_0x2c9782['duration'],'state':_0x2c9782['state'],'err':{},'currentRetry':_0x2c9782[_0x244eed(0x10c)](),'titlePathV':_0x2c9782[_0x244eed(0xfb)](),'isPending':_0x2c9782[_0x244eed(0x135)]()});if(_0x464637[_0x244eed(0x1aa)](this[_0x244eed(0x19f)],_0x464637[_0x244eed(0x1a1)]))_0x464637[_0x244eed(0x100)](_0x2c9782['speed'],_0x464637['JNzQD'])?process[_0x244eed(0x20b)][_0x244eed(0x12e)](Base[_0x244eed(0x119)](_0x464637['APCFY'],Base[_0x244eed(0x171)]['dot'])):process['stdout'][_0x244eed(0x12e)](Base[_0x244eed(0x119)](_0x2c9782[_0x244eed(0x203)],Base['symbols'][_0x244eed(0x1eb)]));else{if(_0x464637[_0x244eed(0x164)](this[_0x244eed(0x19f)],_0x464637[_0x244eed(0x109)])){this['docAppend'](this[_0x244eed(0x1c6)]()+_0x244eed(0x168)+utils[_0x244eed(0x1de)](_0x2c9782[_0x244eed(0x13b)])+_0x244eed(0x111)),this['docAppend'](this[_0x244eed(0x1c6)]()+_0x244eed(0x168)+utils[_0x244eed(0x1de)](_0x2c9782[_0x244eed(0x1a9)])+_0x244eed(0x111));var _0xe34fc4=utils[_0x244eed(0x1de)](utils[_0x244eed(0x183)](_0x2c9782[_0x244eed(0xe7)]));this[_0x244eed(0x17b)](this['indent']()+_0x244eed(0x144)+_0xe34fc4+'</code></pre></dd>');}}_0x464637['gQhKX'](testhubUtils[_0x244eed(0x17c)](),!![])&&(!_0x2c9782['markedStatus']&&(_0x2c9782['markedStatus']=!![],await this[_0x244eed(0x145)](_0x2c9782)));})['on'](EVENT_TEST_FAIL,async(_0x1fe4d6,_0xc74e4d)=>{const _0x2c9bde=_0x1eaa45;this['results'][_0x2c9bde(0x1af)]({'title':_0x1fe4d6[_0x2c9bde(0x13b)],'suite':_0x1fe4d6[_0x2c9bde(0x112)]['title'],'state':_0x1fe4d6[_0x2c9bde(0x16b)],'err':{'message':util[_0x2c9bde(0x16f)](_0xc74e4d)},'fullTitle':_0x1fe4d6[_0x2c9bde(0x1ab)](),'speed':_0x1fe4d6[_0x2c9bde(0x203)],'currentRetry':_0x1fe4d6[_0x2c9bde(0x10c)](),'titlePathV':_0x1fe4d6[_0x2c9bde(0xfb)]()});if(_0x464637[_0x2c9bde(0x1aa)](this[_0x2c9bde(0x19f)],_0x464637[_0x2c9bde(0x1a1)]))process['stdout'][_0x2c9bde(0x12e)](Base['color'](_0x464637[_0x2c9bde(0x208)],Base[_0x2c9bde(0x171)][_0x2c9bde(0x1e5)]));else{if(_0x464637[_0x2c9bde(0x1e0)](this[_0x2c9bde(0x19f)],_0x464637[_0x2c9bde(0x109)])){const _0x5962ff=_0x464637[_0x2c9bde(0x1b3)][_0x2c9bde(0x148)]('|');let _0x727cf4=0x0;while(!![]){switch(_0x5962ff[_0x727cf4++]){case'0':this['docAppend'](this[_0x2c9bde(0x1c6)]()+_0x2c9bde(0x125)+utils[_0x2c9bde(0x1de)](_0x1fe4d6['title'])+'</dt>');continue;case'1':var _0xbb2c6c=utils[_0x2c9bde(0x1de)](utils[_0x2c9bde(0x183)](_0x1fe4d6['body']));continue;case'2':this['docAppend'](this[_0x2c9bde(0x1c6)]()+_0x2c9bde(0x1ef)+utils[_0x2c9bde(0x1de)](_0x1fe4d6[_0x2c9bde(0x127)])+_0x2c9bde(0x174));continue;case'3':this[_0x2c9bde(0x17b)](this['indent']()+_0x2c9bde(0x15d)+_0xbb2c6c+_0x2c9bde(0x162));continue;case'4':this[_0x2c9bde(0x17b)](this[_0x2c9bde(0x1c6)]()+_0x2c9bde(0x125)+utils[_0x2c9bde(0x1de)](_0x1fe4d6[_0x2c9bde(0x1a9)])+_0x2c9bde(0x111));continue;}break;}}}if(_0x464637[_0x2c9bde(0x210)](testhubUtils[_0x2c9bde(0x17c)](testHubConstants['EVENT'][_0x2c9bde(0x204)]),!![])){if(!_0x1fe4d6[_0x2c9bde(0x1dd)]){_0x1fe4d6[_0x2c9bde(0x1dd)]=!![];if(_0x1fe4d6[_0x2c9bde(0xf2)])await this[_0x2c9bde(0x145)](_0x1fe4d6,_0xc74e4d);else _0x1fe4d6[_0x2c9bde(0x1df)]&&await this[_0x2c9bde(0x145)](_0x1fe4d6,_0xc74e4d,![],_0x464637[_0x2c9bde(0x202)]);}}})['on'](EVENT_TEST_PENDING,async _0xe80341=>{const _0x374bcf=_0x1eaa45;this['results'][_0x374bcf(0x1af)]({'title':_0xe80341[_0x374bcf(0x13b)],'suite':_0xe80341[_0x374bcf(0x112)][_0x374bcf(0x13b)],'state':_0xe80341[_0x374bcf(0x16b)],'err':{},'fullTitle':_0xe80341[_0x374bcf(0x1ab)](),'speed':_0xe80341[_0x374bcf(0x203)],'currentRetry':_0xe80341[_0x374bcf(0x10c)](),'titlePathV':_0xe80341[_0x374bcf(0xfb)]()}),_0x464637[_0x374bcf(0x207)](this[_0x374bcf(0x19f)],_0x464637[_0x374bcf(0x1a1)])&&process[_0x374bcf(0x20b)][_0x374bcf(0x12e)](Base['color'](_0x464637[_0x374bcf(0x1e2)],Base[_0x374bcf(0x171)][_0x374bcf(0x182)])),_0x464637['IBQFn'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0xe80341['testAnalyticsId']&&(_0xe80341[_0x374bcf(0xf2)]=_0x464637[_0x374bcf(0x1a0)](uuidv4)),!_0xe80341[_0x374bcf(0x1dd)]&&(_0xe80341[_0x374bcf(0x1dd)]=!![],await this[_0x374bcf(0x145)](_0xe80341,undefined,![],_0x464637['ISqsz'])));})['on'](EVENT_TEST_BEGIN,async _0x2237fc=>{const _0x27529a=_0x1eaa45;_0x464637['hPobO'](testhubUtils[_0x27529a(0x17c)](),!![])&&await this[_0x27529a(0x1a8)](_0x2237fc);})['on'](EVENT_TEST_END,async _0x4d2831=>{const _0x2926c1=_0x1eaa45;_0x464637[_0x2926c1(0x186)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x4d2831[_0x2926c1(0x1dd)]&&(_0x4d2831['markedStatus']=!![],await this[_0x2926c1(0x145)](_0x4d2831)));})[_0x1eaa45(0x110)](EVENT_RUN_END,async()=>{const _0x58b8d3=_0x1eaa45;try{if(_0x464637[_0x58b8d3(0x19b)](testhubUtils[_0x58b8d3(0x17c)](),!![])){const _0x3b8df2=_0x464637[_0x58b8d3(0xfc)](getHookSkippedTests,this[_0x58b8d3(0x15e)][_0x58b8d3(0x1c8)]);for(const _0x5533fc of _0x3b8df2){!_0x5533fc[_0x58b8d3(0xf2)]&&(_0x5533fc[_0x58b8d3(0xf2)]=_0x464637[_0x58b8d3(0x193)](uuidv4)),await this[_0x58b8d3(0x145)](_0x5533fc,undefined,![],_0x464637[_0x58b8d3(0x1ff)]);}}}catch(_0x576862){_0x464637['ZomaC'](debug,_0x58b8d3(0x19c)+_0x576862);}await requestQueueHandler[_0x58b8d3(0x170)](),_0x464637[_0x58b8d3(0x14e)](this[_0x58b8d3(0x19f)],_0x464637[_0x58b8d3(0x109)])&&Base[_0x58b8d3(0x212)](this[_0x58b8d3(0x160)]);});if(this[_0x1eaa45(0x19f)]&&![_0x464637['bwiKE'],_0x464637[_0x1eaa45(0x1ca)],_0x464637[_0x1eaa45(0x1b9)],_0x464637['wnAMp']][_0x1eaa45(0x142)](this[_0x1eaa45(0x19f)])){const _0x1d1fb9=this['type'][_0x1eaa45(0x130)]();this[_0x1eaa45(0xe2)]=null;try{this['Reporter']=_0x464637['soszJ'](requireModule,_0x1eaa45(0x213)+_0x1d1fb9+_0x1eaa45(0x14c));}catch{}if(_0x464637[_0x1eaa45(0x1bb)](this[_0x1eaa45(0xe2)],null))try{this[_0x1eaa45(0xe2)]=_0x464637['fycHK'](require,_0x1d1fb9);}catch(_0x15cfa6){console['error'](_0x1eaa45(0x15c)+_0x1d1fb9);}if(_0x464637[_0x1eaa45(0x1fb)](this['Reporter'],null)){const _0x428853={};_0x428853[_0x1eaa45(0x12d)]=_0x3975fe[_0x1eaa45(0x1ce)],this[_0x1eaa45(0xe2)]=new this[(_0x1eaa45(0xe2))](_0x5eff05,_0x428853);}}}[a27_0x500c99(0x1c6)](){const _0xfc6f15=a27_0x500c99,_0x2eeb21={'zQukN':function(_0x9d53d,_0x897058){return _0x9d53d(_0x897058);}};return _0x2eeb21[_0xfc6f15(0x165)](Array,this[_0xfc6f15(0x12b)])[_0xfc6f15(0x209)]('\x20\x20');}[a27_0x500c99(0xfd)](){const _0x3b6813=a27_0x500c99;this[_0x3b6813(0x12b)]++;}[a27_0x500c99(0x1c4)](){const _0x1e0407=a27_0x500c99;this[_0x1e0407(0x12b)]--;}[a27_0x500c99(0x17b)](_0x4f8ecc){const _0x2f4984=a27_0x500c99;this[_0x2f4984(0x160)]+=_0x4f8ecc;}['done'](_0x1cc46b,_0x3ce503){const _0x2fc897=a27_0x500c99,_0x2da272={'TLIYg':function(_0x5cbace,_0x17c88a){return _0x5cbace(_0x17c88a);}},_0x4dfcf6={};_0x4dfcf6[_0x2fc897(0xf7)]=_0x1cc46b,_0x4dfcf6[_0x2fc897(0x118)]=this[_0x2fc897(0x181)],_0x2da272[_0x2fc897(0xf3)](_0x3ce503,_0x4dfcf6);}[a27_0x500c99(0x199)](){const _0x528e0c=a27_0x500c99;process[_0x528e0c(0x198)]('bs:addLog:'+process[_0x528e0c(0x18d)]),process['on']('bs:addLog:'+process[_0x528e0c(0x18d)],this[_0x528e0c(0x14a)][_0x528e0c(0x16c)](this)),process[_0x528e0c(0x198)](_0x528e0c(0x1d9)+process[_0x528e0c(0x18d)]),process['on'](_0x528e0c(0x1d9)+process['pid'],this[_0x528e0c(0x132)][_0x528e0c(0x16c)](this));}['testStarted']=async _0x16c13b=>{const _0x14e90e=a27_0x500c99,_0x19233f={'swtIL':function(_0x469bc8){return _0x469bc8();},'VsWMp':function(_0x243b94,_0x546b4f){return _0x243b94>_0x546b4f;},'nHAot':function(_0x47ad2d,_0x974e3d){return _0x47ad2d===_0x974e3d;},'jStlN':_0x14e90e(0x101),'vSZpE':function(_0x59cc4d,_0x315bf7){return _0x59cc4d(_0x315bf7);}};try{const _0x1def1c=this[_0x14e90e(0x1a4)];this[_0x14e90e(0x1a4)]=_0x16c13b,_0x16c13b['retryOf']=null,_0x16c13b[_0x14e90e(0xf2)]=_0x19233f[_0x14e90e(0x11f)](uuidv4),_0x16c13b['started_at']=new Date()['toISOString'](),_0x19233f[_0x14e90e(0xf6)](_0x16c13b[_0x14e90e(0xeb)],0x0)&&_0x1def1c&&_0x19233f[_0x14e90e(0x1ec)](_0x1def1c['title'],_0x16c13b[_0x14e90e(0x13b)])?(_0x16c13b[_0x14e90e(0x1c7)]=_0x1def1c[_0x14e90e(0xf2)],await this[_0x14e90e(0x145)](_0x16c13b,undefined,![],_0x19233f[_0x14e90e(0x1a6)]),_0x1def1c['state']=STATE_FAILED,await this[_0x14e90e(0x145)](_0x1def1c,undefined,!![])):await this[_0x14e90e(0x145)](_0x16c13b,undefined,![],_0x19233f['jStlN']);}catch(_0x52387f){_0x19233f['vSZpE'](debug,_0x14e90e(0x18c)+_0x52387f);}};['sendTestRunEvent']=async(_0x396826,_0xc00956=undefined,_0x3c58de=![],_0x42d3c2=a27_0x500c99(0x150))=>{const _0x25f524=a27_0x500c99,_0x21ec74={'SdDqg':function(_0xe4ad11,_0x1f7f92){return _0xe4ad11===_0x1f7f92;},'iKpMm':function(_0x54f2a3,_0x572b71){return _0x54f2a3!==_0x572b71;},'orEKh':_0x25f524(0x1c9),'pgPEi':'err','JLzwj':function(_0xe4a111,_0x2cfb96){return _0xe4a111!==_0x2cfb96;},'icVZd':'File\x20path\x20could\x20not\x20be\x20found','mpVmR':_0x25f524(0xfa),'YAklE':_0x25f524(0x1e8),'azBFk':function(_0x3c1f11,_0x3de3eb){return _0x3c1f11===_0x3de3eb;},'OYYpQ':_0x25f524(0x12f),'CccZW':_0x25f524(0x116),'MZnzs':function(_0x562ad7,_0x351f3d){return _0x562ad7-_0x351f3d;},'WPZZJ':'AssertionError','SMaYK':_0x25f524(0x187),'IlONz':function(_0x5868a8,_0x358063){return _0x5868a8===_0x358063;},'FLZZN':'started_at','kFyZn':_0x25f524(0x16a),'yEXQf':function(_0x590d24,_0xd07a09){return _0x590d24(_0xd07a09);},'rbmlK':function(_0x41b5eb,_0x5219b1){return _0x41b5eb===_0x5219b1;},'tCvCM':_0x25f524(0x1f7),'GAkuZ':_0x25f524(0x1a2),'VrUpD':'passed','tnHQV':function(_0x5cfd9a,_0x463999){return _0x5cfd9a===_0x463999;},'VYsIb':_0x25f524(0x20c),'VYQeb':function(_0x4e3d4f,_0x3d8a61){return _0x4e3d4f===_0x3d8a61;},'OQrNS':function(_0x3a3eb4,_0x7d5df6){return _0x3a3eb4(_0x7d5df6);},'kbpFy':_0x25f524(0x1e4),'HlJoj':_0x25f524(0x153),'HxhVH':_0x25f524(0x14d),'YYhRE':_0x25f524(0x173),'uxRLn':_0x25f524(0x1a5),'Cfmst':_0x25f524(0x150),'Tveay':function(_0x399b10,_0x3850e6){return _0x399b10===_0x3850e6;},'Gxisr':_0x25f524(0x1b6),'JwhFQ':_0x25f524(0x18f),'LotPJ':_0x25f524(0x1cc),'eZctC':function(_0x2b0d51,_0x4081cf){return _0x2b0d51(_0x4081cf);}};try{if(_0x396826[_0x25f524(0xe7)]&&_0x396826[_0x25f524(0xe7)]['match'](/browserstack internal helper hook/))return;let _0x3526e4=[];if(_0x21ec74[_0x25f524(0x201)](_0x396826[_0x25f524(0x16b)],STATE_FAILED)){if(_0x21ec74[_0x25f524(0x175)](_0x396826[_0x25f524(0x127)],undefined))_0x3526e4=_0x396826[_0x25f524(0x127)]['multiple']?[_0x396826[_0x25f524(0x127)][_0x25f524(0x1b2)],_0x21ec74[_0x25f524(0x149)]]:[_0x396826[_0x25f524(0x127)],_0x21ec74['pgPEi']];else _0x21ec74[_0x25f524(0x175)](_0xc00956,undefined)?_0x3526e4=[_0xc00956,_0x21ec74['pgPEi']]:_0x3526e4=[];}const _0x276251=_0x21ec74[_0x25f524(0x106)](_0x396826[_0x25f524(0x127)],undefined)?_0x396826[_0x25f524(0x127)][_0x25f524(0x138)]():_0x21ec74[_0x25f524(0x175)](_0xc00956,undefined)?_0xc00956[_0x25f524(0x138)]():undefined;let _0x1df175;try{_0x1df175=this[_0x25f524(0x122)](_0x396826);}catch(_0x287777){_0x1df175=null;}const _0x4efcba=_0x1df175?this[_0x25f524(0x1b1)](_0x1df175):null,_0x1c4974=_0x1df175?this[_0x25f524(0xe4)][_0x25f524(0xf9)](this['getRootParentFile'](_0x396826)):_0x21ec74[_0x25f524(0x13e)],_0x518eb9={'framework':_0x21ec74[_0x25f524(0x191)],'uuid':_0x396826['testAnalyticsId']||_0x396826['hookAnalyticsId'],'name':_0x396826[_0x25f524(0x13b)],'body':{'lang':_0x21ec74[_0x25f524(0x1a7)],'code':_0x396826[_0x25f524(0xe7)]},'scope':this['scope'](_0x396826),'scopes':this['scopes'](_0x396826),'identifier':_0x396826['fullTitle'](),'file_name':_0x1c4974,'vc_filepath':_0x4efcba?path[_0x25f524(0x1c5)](_0x4efcba,_0x1df175):null,'location':_0x1c4974,'result':_0x21ec74[_0x25f524(0x14f)](_0x42d3c2,_0x21ec74[_0x25f524(0x180)])?_0x21ec74['CccZW']:this[_0x25f524(0x124)](_0x396826[_0x25f524(0x16b)]),'failure_reason':_0x276251,'duration_in_ms':_0x396826[_0x25f524(0x1fd)]||(_0x42d3c2[_0x25f524(0xea)](/Finished/)||_0x42d3c2[_0x25f524(0xea)](/Skipped/)?_0x21ec74['MZnzs'](Date[_0x25f524(0x1f3)](),new Date(_0x396826[_0x25f524(0x113)])[_0x25f524(0x19d)]()):null),'started_at':_0x396826[_0x25f524(0x113)],'finished_at':_0x42d3c2[_0x25f524(0xea)](/Finished/)||_0x42d3c2[_0x25f524(0xea)](/Skipped/)?new Date()[_0x25f524(0xef)]():null,'failure':failureData[_0x25f524(0x1ba)](null,_0x3526e4),'failure_type':!_0x276251?null:_0x276251[_0x25f524(0xea)](/AssertionError/)?_0x21ec74[_0x25f524(0x11a)]:_0x21ec74['SMaYK'],'retry_of':_0x396826['retryOf']};testhubUtils[_0x25f524(0x10a)](_0x518eb9,_0x42d3c2,_0x396826,FRAMEWORKS[_0x25f524(0x211)]);_0x21ec74[_0x25f524(0x1fc)](_0x42d3c2,_0x21ec74[_0x25f524(0x180)])&&!_0x518eb9[_0x21ec74[_0x25f524(0x12c)]]&&(_0x518eb9[_0x21ec74['FLZZN']]=_0x518eb9[_0x21ec74[_0x25f524(0x126)]]);if(_0x42d3c2[_0x25f524(0xea)](/HookRun/))[_0x518eb9['hook_type'],_0x518eb9['name']]=_0x21ec74[_0x25f524(0x1c1)](getHookDetails,_0x396826['fullTitle']()||_0x396826[_0x25f524(0x11e)]||_0x396826[_0x25f524(0x13b)]),_0x21ec74[_0x25f524(0x156)](_0x42d3c2,_0x21ec74[_0x25f524(0x12a)])&&(_0x21ec74[_0x25f524(0x106)](_0x518eb9[_0x25f524(0x114)],_0x21ec74[_0x25f524(0x1e9)])&&(_0x518eb9[_0x25f524(0x114)]=_0x21ec74[_0x25f524(0xec)]),_0x21ec74[_0x25f524(0x1bd)](_0x518eb9[_0x25f524(0x1b6)],_0x21ec74['VYsIb'])&&_0x21ec74[_0x25f524(0xf4)](_0x518eb9[_0x25f524(0x114)],_0x21ec74[_0x25f524(0x1e9)])&&!_0x396826['ctx'][_0x25f524(0x1ea)][_0x25f524(0x1dd)]&&(_0x396826[_0x25f524(0x13f)][_0x25f524(0x1ea)][_0x25f524(0x1dd)]=!![],_0x396826['ctx'][_0x25f524(0x1ea)][_0x25f524(0x16b)]=STATE_FAILED,await this[_0x25f524(0x145)](_0x396826[_0x25f524(0x13f)][_0x25f524(0x1ea)],undefined,!![])));else _0x42d3c2[_0x25f524(0xea)](/TestRun/)&&_0x21ec74['OQrNS'](mapTestHooks,_0x396826);const _0x4c36f1=_0x518eb9[_0x21ec74['kbpFy']][0x0];_0x4c36f1&&(_0x518eb9[_0x21ec74[_0x25f524(0xe9)]]=_0x4c36f1[_0x21ec74[_0x25f524(0x15b)]],_0x518eb9[_0x21ec74[_0x25f524(0x1d6)]]=_0x4c36f1[_0x21ec74['uxRLn']]);[_0x21ec74['Cfmst'],_0x21ec74[_0x25f524(0x180)]][_0x25f524(0x142)](_0x42d3c2)&&(this['_testResults'][_0x25f524(0x1af)](_0x518eb9),_0x518eb9[_0x25f524(0x16e)]=_0x21ec74[_0x25f524(0x1c1)](getHooksForTest,_0x396826));const _0x3a8b7a={'event_type':_0x21ec74['Tveay'](_0x42d3c2,_0x21ec74['OYYpQ'])?_0x21ec74[_0x25f524(0x151)]:_0x42d3c2};_0x42d3c2[_0x25f524(0xea)](/HookRun/)?(_0x518eb9[_0x21ec74[_0x25f524(0x189)]]=HOOK_TYPES_MAP[_0x518eb9[_0x21ec74[_0x25f524(0x189)]]],_0x3a8b7a[_0x21ec74[_0x25f524(0xf5)]]=_0x518eb9):_0x3a8b7a[_0x21ec74[_0x25f524(0x20f)]]=_0x518eb9,testhubUtils[_0x25f524(0x1ed)](FRAMEWORKS[_0x25f524(0x211)],_0x3a8b7a),await SessionHandler[_0x25f524(0xe3)](_0x3a8b7a);}catch(_0x4966ec){_0x21ec74[_0x25f524(0x155)](debug,_0x25f524(0x1be)+_0x42d3c2+'\x20with\x20error\x20:\x20'+_0x4966ec);}};['findGitConfig'](_0x5254d0){const _0x16f3ce=a27_0x500c99,_0x42971d={};_0x42971d[_0x16f3ce(0x1e6)]=function(_0x1a039c,_0x3e1be7){return _0x1a039c===_0x3e1be7;},_0x42971d[_0x16f3ce(0x20e)]=_0x16f3ce(0x206),_0x42971d[_0x16f3ce(0x1f2)]=_0x16f3ce(0x1d5);const _0x349547=_0x42971d,_0x50136b=path[_0x16f3ce(0xf0)];if(_0x349547[_0x16f3ce(0x1e6)](_0x5254d0,null)||_0x349547[_0x16f3ce(0x1e6)](_0x5254d0,'')||_0x349547[_0x16f3ce(0x1e6)](_0x5254d0,_0x50136b))return null;try{return fs[_0x16f3ce(0x20d)](path['join'](_0x5254d0,_0x349547['olnQc'],_0x349547['DeqNv'])),_0x5254d0;}catch(_0x15f482){const _0xab2dd0=path['dirname'](_0x5254d0);return this[_0x16f3ce(0x1b1)](_0xab2dd0);}}[a27_0x500c99(0x14a)]=async _0x6327e6=>{const _0xd37995=a27_0x500c99,_0x3d567d={'gCuTs':_0xd37995(0x1cd),'lUtrI':function(_0xff6bd5,_0x541e27){return _0xff6bd5(_0x541e27);}};try{this[_0xd37995(0x1da)]&&!this['current_hook']['markedStatus']&&(_0x6327e6[_0xd37995(0x157)]=this[_0xd37995(0x1da)]['hookAnalyticsId']);!_0x6327e6['hook_run_uuid']&&this[_0xd37995(0x1a4)]&&!this['current_test'][_0xd37995(0x1dd)]&&(_0x6327e6[_0xd37995(0x10f)]=this[_0xd37995(0x1a4)][_0xd37995(0xf2)]);if(_0x6327e6[_0xd37995(0x157)]||_0x6327e6[_0xd37995(0x10f)]){const _0xe74979={};_0xe74979[_0xd37995(0x172)]=_0x3d567d[_0xd37995(0x17e)],_0xe74979[_0xd37995(0x18e)]=[_0x6327e6],await SessionHandler[_0xd37995(0xe3)](_0xe74979);}}catch(_0x2cb087){_0x3d567d[_0xd37995(0x20a)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2cb087);}};[a27_0x500c99(0x132)]=async _0x26c32c=>{const _0x20d036=a27_0x500c99,_0x5783bc={'XHtsF':_0x20d036(0x1e1),'KkDst':_0x20d036(0x131),'DadCn':function(_0x584ab4,_0x23a332){return _0x584ab4(_0x23a332);}};try{const _0x2167c9={};_0x2167c9[_0x20d036(0x1e3)]=_0x26c32c[_0x20d036(0x1e3)]||this['current_test'][_0x20d036(0xf2)],_0x2167c9[_0x20d036(0x1d3)]=_0x26c32c[_0x5783bc['XHtsF']];const _0x3ca833=_0x2167c9,_0x100469={};_0x100469[_0x20d036(0x172)]=_0x5783bc[_0x20d036(0x1f6)],_0x100469['test_run']=_0x3ca833,await SessionHandler[_0x20d036(0xe3)](_0x100469);}catch(_0x48d614){_0x5783bc[_0x20d036(0x184)](debug,_0x20d036(0x134)+_0x48d614);}};['analyticsResult'](_0x5b316c){const _0x52da9d=a27_0x500c99,_0x7e5da7={};_0x7e5da7[_0x52da9d(0x1d2)]='passed',_0x7e5da7[_0x52da9d(0x176)]=_0x52da9d(0x136),_0x7e5da7['SHAjE']=_0x52da9d(0x1a2);const _0x40a8bf=_0x7e5da7,_0x2e3d24={};return _0x2e3d24[STATE_PASSED]=_0x40a8bf[_0x52da9d(0x1d2)],_0x2e3d24[STATE_PENDING]=_0x40a8bf['ppNxg'],_0x2e3d24[STATE_FAILED]=_0x40a8bf[_0x52da9d(0x1d1)],_0x2e3d24[_0x5b316c];}[a27_0x500c99(0x178)](_0x1ae8c1){const _0xd2fc13=a27_0x500c99,_0x5b1a47={};_0x5b1a47['LpTGR']=function(_0x155219,_0x53f028){return _0x155219-_0x53f028;};const _0x3880c1=_0x5b1a47,_0x12c4bb=_0x1ae8c1[_0xd2fc13(0xfb)]();return _0x12c4bb[_0xd2fc13(0x1fe)](0x0,_0x3880c1[_0xd2fc13(0x190)](_0x12c4bb[_0xd2fc13(0x19a)],0x1))[_0xd2fc13(0x209)]('\x20');}[a27_0x500c99(0x13d)](_0x12c5ca){const _0x5e0451=a27_0x500c99,_0x373666={};_0x373666['nBKzB']=function(_0x496dae,_0x21d7c7){return _0x496dae-_0x21d7c7;};const _0x520ee3=_0x373666,_0x3a9fed=_0x12c5ca[_0x5e0451(0xfb)]();return _0x3a9fed[_0x5e0451(0x1fe)](0x0,_0x520ee3['nBKzB'](_0x3a9fed['length'],0x1));}[a27_0x500c99(0x122)](_0xd28757){const _0x425efe=a27_0x500c99,_0xd56b92={};_0xd56b92[_0x425efe(0x1fa)]=function(_0x2ccdae,_0x45be7c){return _0x2ccdae>_0x45be7c;};const _0x9a976e=_0xd56b92;if(_0xd28757[_0x425efe(0x1a9)])return _0xd28757[_0x425efe(0x1a9)];if(_0xd28757['ctx']){const _0x3432e2=_0xd28757[_0x425efe(0x13f)][_0x425efe(0x1ea)]?this[_0x425efe(0x122)](_0xd28757['ctx'][_0x425efe(0x1ea)]):null;if(_0x3432e2)return _0x3432e2;}if(_0xd28757['parent']){const _0x268fc1=this[_0x425efe(0x122)](_0xd28757[_0x425efe(0x112)])||(_0xd28757['parent']['ctx']&&_0xd28757['parent'][_0x425efe(0x13f)]['currentTest']?this['getRootParentFile'](_0xd28757[_0x425efe(0x112)][_0x425efe(0x13f)][_0x425efe(0x1ea)]):null);if(_0x268fc1)return _0x268fc1;_0xd28757[_0x425efe(0x112)][_0x425efe(0x1d4)]&&_0x9a976e[_0x425efe(0x1fa)](_0xd28757[_0x425efe(0x112)][_0x425efe(0x1d4)][_0x425efe(0x19a)],0x0)&&_0xd28757[_0x425efe(0x112)][_0x425efe(0x1d4)]['forEach'](_0x461e30=>{const _0x25c040=_0x425efe,_0x5a817c=_0x461e30[_0x25c040(0x13f)]?this[_0x25c040(0x122)](_0x461e30[_0x25c040(0x13f)]):null;if(_0x5a817c)return _0x5a817c;});}return null;}}module[a27_0x500c99(0x192)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a27_0x492a(){const _0x280d8d=['Running\x20your\x20mocha\x20tests','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','chalk','generateDiff','isUndefined','finalExecution','120860YEPySb','9763RuvtdR','IEYYK','NxyWm','title','vsYPH','ENNrh','FieFi','framework','printBuildLink','FQULD','err','size','../../helpers/logger','DOmrH','spec','pending','join','jxEjc','green','159oJGzlY','VkjCY','parallelsPerPlatform','iIYtj','initialize','HBuWw','Running\x20your\x20mocha\x20tests\x20across\x20','LAjrt','MTOFD','../../helpers/helper','sVcPb','WdXIY','klQFg','upBqZ','finally','\x0a\x0a\x0a','uNXqp','speed','xunit','min','testcase','XVOfN','Total\x20Suites:\x20','forEach','get','WBhcU','XanEU','../../helpers/BrowserStackSetup','testsPending','nNbdW','toUTCString','hideDiff','Writing\x20xunit\x20result\x20to\x20file','bgBlueBright','bcWsr','isBrowserstackInfra','Total\x20Platforms:\x20','ignore','notifyUpdate','testObservability','platforms','showDiff','</testsuite>','vwmtx','Audpd','MOCHA','cliConfig','axxbR','failed','Printing\x20stats\x20of\x20tests','Couldn\x27t\x20write\x20json\x20result\x20to','YlVIM','JZCOR','message','stats','16030gfFlKQ','keys','oKNLf','recursive','FRAMEWORKS','ZipSU','bGKtS','zlZOO','tshFT','log','1273768YBiwqC','useColors','bgRedBright','markSDKSetupComplete','1970406OsDxDS','tOpdx','\x20platforms','suite','reporter','iftZV','12HfUMPE','duration','suiteName','HcMfb','XtlFC','rerunTests','prototype','iPBfM','sswSO','getOwnPropertyNames','HWwQr','mocha/lib/cli/collect-files.js','FwbJf','nQXiG','RQmiz','output','call','rootHooks','gqFqO','accessibilityOptions','isTestObservabilitySession','yrvHr','AlZmB','testsPassed','gtdWq','tfsKT','kYPnr','bjqKo','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','config','LvOeo','GLzkl','boSRO','13KvZqsK','trUMq','bold','titlePath','passes','logLevel','SDKTestSuccessful','--disable-browserstack-automation','testsFailed','includes','PpWBc','json','push','then','QSlex','AZWRt','30HQUKRh','fireFunnelTestEvent','stringify','pljAc','add','red','BROWSERSTACK_AUTOMATION','assign','qyTUR','useW3C','passed','mqteT','fZlhJ','hasOwnProperty','YUHNS','qeeFC','wnfJU','Listing\x20all\x20the\x20failures','zfWoI','isPending','GNGoP','99508Ltmytz','failure','swptY','list','parse','proxySettings','object','qMFny','reporter-option','BZIOm','tQuiv','DFkfP','BROWSERSTACK_RERUN_TESTS','eGiHU','WkOOu','reporterOptions','BROWSERSTACK_TEST_OBSERVABILITY_YML','winstonLogger','stack','eMPnK','sort','RTTor','env','parseFileNames','XuCNq','../../helpers/test-observability/utils','exitCode','yymkp','ItTux','42jCAemN','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','GPbau','131045nBuoSi','aGZvE','fullTitle','Tests:\x20\x20\x20\x20\x20\x20\x20','results','exports','xHsJT','EVTxp','BROWSERSTACK_TEST_OBSERVABILITY','Now,\x20showing\x20logs\x20from\x20mocha','yGnPx','Mocha\x20Tests','ZMHlz','titlePathV','URdLQ','testSuites','aUfYR','FuEGx','file','mocha','tdjil','validPlatformsPresent','qCSrX','../../helpers/percy/utils','--disable-test-observability','Fmnsi','info','Writing\x20json\x20result\x20to\x20file','error','skipped','getPlatformName','DTcsJ','debug','../utils/constants','test','currentRetry','indexOf','\x20passed','argv','tlIDh','QJDsx','\x20skipped','length','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','actual','Couldn\x27t\x20write\x20xunit\x20result\x20to','YVyvj','awmFi','getErrorMessageFromResults','testsuite','weFDw','nVBvB','LdeXZ','state','****\x20FAILURES\x20****','222vuSUeZ','writeFileSync','Sgonl','UfHFc','3042160CPVHvy','iJlul','cjs','\x20total'];a27_0x492a=function(){return _0x280d8d;};return a27_0x492a();}const a27_0x2e0ada=a27_0x1534;(function(_0x574396,_0x5b3188){const _0x3eb672=a27_0x1534,_0x1dc4bf=_0x574396();while(!![]){try{const _0x59e4f7=-parseInt(_0x3eb672(0xd1))/0x1*(-parseInt(_0x3eb672(0x15b))/0x2)+parseInt(_0x3eb672(0x16f))/0x3*(-parseInt(_0x3eb672(0xf6))/0x4)+-parseInt(_0x3eb672(0x116))/0x5*(parseInt(_0x3eb672(0x14d))/0x6)+parseInt(_0x3eb672(0x113))/0x7*(parseInt(_0x3eb672(0x1b0))/0x8)+-parseInt(_0x3eb672(0x1b4))/0x9*(-parseInt(_0x3eb672(0xe1))/0xa)+-parseInt(_0x3eb672(0x151))/0xb*(parseInt(_0x3eb672(0x1ba))/0xc)+parseInt(_0x3eb672(0x15c))/0xd*(parseInt(_0x3eb672(0x1a6))/0xe);if(_0x59e4f7===_0x5b3188)break;else _0x1dc4bf['push'](_0x1dc4bf['shift']());}catch(_0x38ea43){_0x1dc4bf['push'](_0x1dc4bf['shift']());}}}(a27_0x492a,0xa9267));function a27_0x1534(_0xe9ee07,_0x3e1e62){const _0x492a4b=a27_0x492a();return a27_0x1534=function(_0x1534d5,_0x4293b0){_0x1534d5=_0x1534d5-0xcf;let _0x77766b=_0x492a4b[_0x1534d5];return _0x77766b;},a27_0x1534(_0xe9ee07,_0x3e1e62);}const chalk=require(a27_0x2e0ada(0x157)),logger=require(a27_0x2e0ada(0x168))[a27_0x2e0ada(0x107)],{default:BrowserStackSetup}=require(a27_0x2e0ada(0x18a)),helper=require(a27_0x2e0ada(0x178)),testOpsHelper=require(a27_0x2e0ada(0x10f)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule}=require(a27_0x2e0ada(0x178)),{getPercyOptions}=require(a27_0x2e0ada(0x12d)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule(a27_0x2e0ada(0x1c5)),constants=require(a27_0x2e0ada(0x137));function tag(_0x577f2b,_0x1326df,_0x4049d8,_0x4f0652){const _0x155505=a27_0x2e0ada,_0x35d6fe={'FieFi':function(_0x5c2397,_0x54aa8f){return _0x5c2397+_0x54aa8f;},'URdLQ':function(_0xaedb1b,_0x430515){return _0xaedb1b+_0x430515;},'Sgonl':function(_0x4a114e,_0x338f4d){return _0x4a114e(_0x338f4d);},'weFDw':function(_0xcd0c34,_0x3a7b7c){return _0xcd0c34+_0x3a7b7c;},'YUHNS':function(_0x51487a,_0x478378){return _0x51487a+_0x478378;},'kYPnr':function(_0x1c1b5b,_0x21dfeb){return _0x1c1b5b+_0x21dfeb;},'XHjjH':function(_0x4bc334,_0x51f5ad){return _0x4bc334+_0x51f5ad;}},_0x5aba36=_0x4049d8?'/>':'>',_0x382148=[];let _0x169e3e;for(const _0x319304 in _0x1326df){Object[_0x155505(0x1c0)][_0x155505(0xee)][_0x155505(0x1ca)](_0x1326df,_0x319304)&&_0x382148['push'](_0x35d6fe[_0x155505(0x162)](_0x35d6fe['FieFi'](_0x35d6fe['URdLQ'](_0x319304,'=\x22'),_0x35d6fe[_0x155505(0x14f)](escape,_0x1326df[_0x319304])),'\x22'));}return _0x169e3e=_0x35d6fe[_0x155505(0x148)](_0x35d6fe[_0x155505(0x148)](_0x35d6fe[_0x155505(0x148)]('<',_0x577f2b),_0x382148[_0x155505(0x140)]?_0x35d6fe[_0x155505(0x124)]('\x20',_0x382148[_0x155505(0x16c)]('\x20')):''),_0x5aba36),_0x4f0652&&(_0x169e3e+=_0x35d6fe[_0x155505(0xef)](_0x35d6fe[_0x155505(0x1d4)](_0x35d6fe['XHjjH'](_0x4f0652,'</'),_0x577f2b),_0x5aba36)),_0x169e3e;}let xunitContent='';function xunitWrite(_0x5f2ed4){xunitContent+=_0x5f2ed4;}function xunitTest(_0x2595ea,_0x3ee425){const _0x595602=a27_0x2e0ada,_0x2fadf7={'QSlex':function(_0x5031ca,_0x33faa6){return _0x5031ca/_0x33faa6;},'yKKHQ':function(_0xd806a4,_0x50f8de){return _0xd806a4===_0x50f8de;},'FQULD':_0x595602(0x19f),'zfWoI':function(_0x13d343,_0x1293d1){return _0x13d343+_0x1293d1;},'VaUHQ':function(_0x5d4778,_0x55a092){return _0x5d4778(_0x55a092);},'IEYYK':function(_0x36a75c,_0x5bca85,_0x550859,_0x33c2ac,_0x455523){return _0x36a75c(_0x5bca85,_0x550859,_0x33c2ac,_0x455523);},'qCSrX':_0x595602(0x183),'sVcPb':function(_0x179a22,_0x13b731,_0x385381,_0x2039b1,_0xb8917b){return _0x179a22(_0x13b731,_0x385381,_0x2039b1,_0xb8917b);},'mqteT':_0x595602(0xf7),'GLzkl':function(_0x39346e,_0x953662){return _0x39346e+_0x953662;},'XtlFC':function(_0x559f8e,_0xc10b8c){return _0x559f8e+_0xc10b8c;},'obMBE':function(_0x401f1a,_0x2a0d09){return _0x401f1a(_0x2a0d09);},'tdjil':function(_0x1e98e1,_0x2d9702){return _0x1e98e1(_0x2d9702);},'iPBfM':function(_0x44bcba,_0x3fd3a9){return _0x44bcba(_0x3fd3a9);},'pljAc':function(_0x45144e,_0x566ef8,_0x5e1615,_0x6c37c4,_0x177464){return _0x45144e(_0x566ef8,_0x5e1615,_0x6c37c4,_0x177464);},'AlZmB':function(_0x256635,_0x380169,_0x9a024f,_0x5b3f5b){return _0x256635(_0x380169,_0x9a024f,_0x5b3f5b);},'DOmrH':_0x595602(0x133),'bGKtS':function(_0x1b09fc,_0x1afa45){return _0x1b09fc(_0x1afa45);}};Base[_0x595602(0x1b1)]=![];var _0x57a1db={'classname':_0x2595ea[_0x595602(0x118)],'name':_0x2595ea[_0x595602(0x15f)],'time':_0x2fadf7[_0x595602(0xdf)](_0x2595ea[_0x595602(0x1bb)],0x3e8)||0x0,'platform':_0x3ee425};if(_0x2fadf7['yKKHQ'](_0x2595ea[_0x595602(0x14b)],_0x2fadf7[_0x595602(0x165)])){var _0x3b0f3f=_0x2595ea[_0x595602(0x166)],_0x331438=!Base[_0x595602(0x18e)]&&Base[_0x595602(0x198)](_0x3b0f3f)?_0x2fadf7[_0x595602(0xf3)]('\x0a',Base[_0x595602(0x158)](_0x3b0f3f[_0x595602(0x142)],_0x3b0f3f['expected'])):'';_0x2fadf7['VaUHQ'](xunitWrite,_0x2fadf7[_0x595602(0x15d)](tag,_0x2fadf7['qCSrX'],_0x57a1db,![],_0x2fadf7[_0x595602(0x179)](tag,_0x2fadf7[_0x595602(0xec)],{},![],_0x2fadf7[_0x595602(0xf3)](_0x2fadf7[_0x595602(0xcf)](_0x2fadf7[_0x595602(0x1be)](_0x2fadf7['obMBE'](escape,_0x3b0f3f[_0x595602(0x1a4)]),_0x2fadf7[_0x595602(0x12a)](escape,_0x331438)),'\x0a'),_0x2fadf7[_0x595602(0x1c1)](escape,_0x3b0f3f[_0x595602(0x108)])))));}else _0x2595ea[_0x595602(0xf4)]?_0x2fadf7[_0x595602(0x1c1)](xunitWrite,_0x2fadf7[_0x595602(0xe4)](tag,_0x2fadf7['qCSrX'],_0x57a1db,![],_0x2fadf7['AlZmB'](tag,_0x2fadf7[_0x595602(0x169)],{},!![]))):_0x2fadf7[_0x595602(0x1ac)](xunitWrite,_0x2fadf7[_0x595602(0x1d0)](tag,_0x2fadf7[_0x595602(0x12c)],_0x57a1db,!![]));};function getStats(_0x4baca2){const _0xc1b14f=a27_0x2e0ada,_0xe9b4b4={};_0xe9b4b4[_0xc1b14f(0xe9)]=_0xc1b14f(0x1b7),_0xe9b4b4[_0xc1b14f(0x1ab)]=_0xc1b14f(0xeb),_0xe9b4b4['Losuu']=_0xc1b14f(0x19f),_0xe9b4b4[_0xc1b14f(0xff)]=_0xc1b14f(0x11a);const _0x40bcfd=_0xe9b4b4,_0x298e43=Object[_0xc1b14f(0x1a7)](_0x4baca2);let _0x5c6fce=0x0,_0x326136=0x0,_0x4ca7f6=0x0,_0x3d3aa8=0x0;const _0x112333=new Set();_0x298e43[_0xc1b14f(0x186)](_0x24fbac=>{const _0x100614=_0xc1b14f,_0x310939={};_0x310939[_0x100614(0x17c)]=_0x40bcfd[_0x100614(0xe9)],_0x310939[_0x100614(0x152)]=_0x40bcfd['ZipSU'],_0x310939[_0x100614(0x145)]=_0x40bcfd['Losuu'];const _0x4ed148=_0x310939;_0x4baca2[_0x24fbac][_0x40bcfd[_0x100614(0xff)]][_0x100614(0x186)](_0xdef20b=>{const _0x32479e=_0x100614;_0x112333[_0x32479e(0xe5)](_0xdef20b[_0x4ed148[_0x32479e(0x17c)]]),_0x5c6fce++;switch(_0xdef20b[_0x32479e(0x14b)]){case _0x4ed148[_0x32479e(0x152)]:_0x4ca7f6++;break;case _0x4ed148[_0x32479e(0x145)]:_0x326136++;break;default:_0x3d3aa8++;}});});const _0x4d23b8={};return _0x4d23b8[_0xc1b14f(0x125)]=_0x112333[_0xc1b14f(0x167)],_0x4d23b8['platforms']=_0x298e43,_0x4d23b8['totalTests']=_0x5c6fce,_0x4d23b8[_0xc1b14f(0xd9)]=_0x326136,_0x4d23b8[_0xc1b14f(0x1d1)]=_0x4ca7f6,_0x4d23b8['testsPending']=_0x3d3aa8,_0x4d23b8;}function errorJSON(_0x42afd8){const _0x3da806=a27_0x2e0ada;var _0x3299b2={};return Object[_0x3da806(0x1c3)](_0x42afd8)[_0x3da806(0x186)](function(_0x785a66){_0x3299b2[_0x785a66]=_0x42afd8[_0x785a66];},_0x42afd8),_0x3299b2;}function cleanCycles(_0x2acd4a){const _0x2cd32d=a27_0x2e0ada,_0x594117={};_0x594117['gqFqO']=function(_0x348e85,_0x1d209f){return _0x348e85===_0x1d209f;},_0x594117[_0x2cd32d(0xf8)]=_0x2cd32d(0xfc),_0x594117[_0x2cd32d(0x117)]=function(_0x47f9b9,_0x1df138){return _0x47f9b9!==_0x1df138;},_0x594117[_0x2cd32d(0x19e)]=function(_0x4c9b53,_0xff546f){return _0x4c9b53!==_0xff546f;},_0x594117[_0x2cd32d(0x1d8)]=function(_0xebc541,_0x477362){return _0xebc541+_0x477362;};const _0x2b8f06=_0x594117;var _0x489594=[];return JSON[_0x2cd32d(0xfa)](JSON[_0x2cd32d(0xe3)](_0x2acd4a,function(_0x4790ec,_0x5ebc29){const _0x22f855=_0x2cd32d;if(_0x2b8f06[_0x22f855(0x1cc)](typeof _0x5ebc29,_0x2b8f06[_0x22f855(0xf8)])&&_0x2b8f06['aGZvE'](_0x5ebc29,null)){if(_0x2b8f06[_0x22f855(0x19e)](_0x489594[_0x22f855(0x13a)](_0x5ebc29),-0x1))return _0x2b8f06[_0x22f855(0x1d8)]('',_0x5ebc29);_0x489594['push'](_0x5ebc29);}return _0x5ebc29;}));}function clean(_0x2a7f52){const _0x42eceb=a27_0x2e0ada,_0x5623d4={'GNGoP':function(_0x372bd7,_0x3dc8f4){return _0x372bd7 instanceof _0x3dc8f4;},'gtdWq':function(_0x553451,_0x653ad2){return _0x553451(_0x653ad2);}};var _0x3849d7=_0x2a7f52[_0x42eceb(0x166)]||{};return _0x5623d4[_0x42eceb(0xf5)](_0x3849d7,Error)&&(_0x3849d7=_0x5623d4[_0x42eceb(0x1d2)](errorJSON,_0x3849d7)),{'title':_0x2a7f52[_0x42eceb(0x15f)],'fullTitle':_0x2a7f52['fullTitle'],'file':_0x2a7f52[_0x42eceb(0x128)],'duration':_0x2a7f52['duration'],'currentRetry':_0x2a7f52[_0x42eceb(0x139)],'speed':_0x2a7f52[_0x42eceb(0x180)],'err':_0x5623d4[_0x42eceb(0x1d2)](cleanCycles,_0x3849d7)};}function printStats(_0xf213fc,_0xe43c28=a27_0x2e0ada(0x16a),_0x911963={}){const _0x2ba0ab=a27_0x2e0ada,_0x6fe515={'DFkfP':function(_0x431227,_0x287f69){return _0x431227(_0x287f69);},'UfHFc':function(_0x27dfee,_0x22556b){return _0x27dfee===_0x22556b;},'PpWBc':_0x2ba0ab(0xeb),'LAjrt':_0x2ba0ab(0xd5),'nNbdW':function(_0x979ff,_0x480978){return _0x979ff(_0x480978);},'WdXIY':function(_0x16bc68,_0x41970b){return _0x16bc68===_0x41970b;},'qMFny':_0x2ba0ab(0x19f),'ZgHhY':'failures','VkjCY':_0x2ba0ab(0x16b),'Audpd':_0x2ba0ab(0x11a),'boSRO':function(_0x4e693d,_0x14a61a){return _0x4e693d===_0x14a61a;},'LdeXZ':function(_0x331630,_0x23ebe5){return _0x331630*_0x23ebe5;},'uNXqp':function(_0x3abade,_0x2bf061,_0x2b5cec){return _0x3abade(_0x2bf061,_0x2b5cec);},'Fmnsi':function(_0x4ec17c,_0x233172){return _0x4ec17c>_0x233172;},'eGiHU':function(_0x33d069){return _0x33d069();},'iIYtj':function(_0x10fe52,_0x2a43b7){return _0x10fe52===_0x2a43b7;},'RQmiz':'doc','XuCNq':function(_0x430ed7,_0x892a87){return _0x430ed7(_0x892a87);},'YVyvj':'Setting\x20non\x20exit\x20code\x20for\x20failures','rioJi':_0x2ba0ab(0x1a0),'GPbau':function(_0x24f44a,_0x401fc8){return _0x24f44a+_0x401fc8;},'ItTux':_0x2ba0ab(0x193),'LBdcp':_0x2ba0ab(0x185),'ENNrh':function(_0x11bacf,_0x54e57e){return _0x11bacf+_0x54e57e;},'WBhcU':_0x2ba0ab(0x119),'HBuWw':function(_0x158902,_0x10d63d){return _0x158902>_0x10d63d;},'BLgjZ':function(_0x22e669,_0x46af7f){return _0x22e669>_0x46af7f;},'RTTor':function(_0x4bb17a,_0x3fbfe8){return _0x4bb17a+_0x3fbfe8;},'vwmtx':function(_0x43adfd,_0x483ecf){return _0x43adfd+_0x483ecf;},'WkOOu':function(_0x269336,_0x259a9a){return _0x269336+_0x259a9a;},'fJCSu':function(_0x17c315,_0x3b8ccd){return _0x17c315+_0x3b8ccd;},'bcWsr':function(_0x25ab60,_0x5407dd){return _0x25ab60+_0x5407dd;},'tQuiv':_0x2ba0ab(0x17e),'YlVIM':_0x2ba0ab(0xdc),'Tmmuv':_0x2ba0ab(0x131),'XanEU':_0x2ba0ab(0x1a1),'KJRiL':_0x2ba0ab(0x1d6),'eaMrX':_0x2ba0ab(0x181),'FSGKK':_0x2ba0ab(0x121),'MTOFD':function(_0x319612,_0x38cf26){return _0x319612||_0x38cf26;},'AZWRt':function(_0x2ebcd5,_0x42879b,_0x4055b9,_0x29a347){return _0x2ebcd5(_0x42879b,_0x4055b9,_0x29a347);},'bjqKo':_0x2ba0ab(0x147),'klQFg':function(_0x2c50b0,_0x241593){return _0x2c50b0-_0x241593;},'iftZV':function(_0x25c9b4,_0x2ba9cb){return _0x25c9b4/_0x2ba9cb;},'qYkid':_0x2ba0ab(0x199),'HcMfb':_0x2ba0ab(0x18f),'DTcsJ':_0x2ba0ab(0x143),'HWwQr':_0x2ba0ab(0x114),'XVOfN':function(_0x553886,_0x43de12){return _0x553886===_0x43de12;},'vsYPH':_0x2ba0ab(0xf2),'xHsJT':_0x2ba0ab(0x14c)};if(_0x6fe515[_0x2ba0ab(0x172)](_0xe43c28,_0x6fe515[_0x2ba0ab(0x1c8)]))return;const _0x53c119=0x0,_0x461994=()=>{const _0x13849c=_0x2ba0ab;return _0x6fe515['DFkfP'](Array,_0x53c119)[_0x13849c(0x16c)]('\x20\x20');},{testSuites:_0x594bce,platforms:_0x441cd7,totalTests:_0x574dc3,testsFailed:_0x2da318,testsPassed:_0x1b0e21,testsPending:_0x4a143d}=_0x6fe515[_0x2ba0ab(0x10e)](getStats,_0xf213fc);_0x6fe515['Fmnsi'](_0x2da318,0x0)&&(logger['debug'](_0x6fe515[_0x2ba0ab(0x144)]),process[_0x2ba0ab(0x110)]=Math[_0x2ba0ab(0x182)](_0x2da318,0xff));logger[_0x2ba0ab(0x136)](_0x6fe515['rioJi']);const _0x1943f6=''+_0x6fe515['GPbau'](chalk['bold'](_0x6fe515[_0x2ba0ab(0x112)]),_0x441cd7[_0x2ba0ab(0x140)]),_0x32a77f=''+_0x6fe515[_0x2ba0ab(0x115)](chalk[_0x2ba0ab(0xd3)](_0x6fe515['LBdcp']),_0x594bce),_0xf69274=''+_0x6fe515['GPbau'](_0x6fe515[_0x2ba0ab(0x161)](_0x6fe515[_0x2ba0ab(0x115)](chalk[_0x2ba0ab(0xd3)](_0x6fe515[_0x2ba0ab(0x188)]),_0x6fe515[_0x2ba0ab(0x174)](_0x2da318,0x0)?chalk[_0x2ba0ab(0xd3)][_0x2ba0ab(0xe6)](_0x2da318+'\x20failed')+',\x20':''),_0x6fe515['BLgjZ'](_0x4a143d,0x0)?chalk[_0x2ba0ab(0xd3)]['yellow'](_0x4a143d+_0x2ba0ab(0x13f))+',\x20':''),_0x6fe515[_0x2ba0ab(0x174)](_0x1b0e21,0x0)?chalk[_0x2ba0ab(0xd3)][_0x2ba0ab(0x16e)](_0x1b0e21+_0x2ba0ab(0x13b))+',\x20':'')+_0x574dc3+_0x2ba0ab(0x154);console['log'](_0x6fe515[_0x2ba0ab(0x10b)](_0x6fe515[_0x2ba0ab(0x19a)](_0x6fe515[_0x2ba0ab(0x104)](_0x6fe515['fJCSu'](_0x6fe515[_0x2ba0ab(0x191)](_0x6fe515[_0x2ba0ab(0x100)],_0x1943f6),'\x0a'),_0x32a77f),'\x0a'),_0xf69274));if(_0x6fe515[_0x2ba0ab(0x172)](_0xe43c28,_0x6fe515[_0x2ba0ab(0x1a2)])){const _0x2e80d4={},_0x2ac2f8={};_0x2ac2f8[_0x2ba0ab(0x125)]=_0x594bce,_0x2ac2f8['platforms']=_0x441cd7,_0x2ac2f8['testsFailed']=_0x2da318,_0x2ac2f8[_0x2ba0ab(0x1d1)]=_0x1b0e21,_0x2ac2f8[_0x2ba0ab(0x18b)]=_0x4a143d,_0x2e80d4[_0x2ba0ab(0x1a5)]=_0x2ac2f8,_0x441cd7[_0x2ba0ab(0x186)](_0x1ef0dc=>{const _0x4fe7f6=_0x2ba0ab,_0x52588c={'nQXiG':function(_0x24d637,_0x1be92b){const _0x1c2eae=a27_0x1534;return _0x6fe515[_0x1c2eae(0x150)](_0x24d637,_0x1be92b);},'yrvHr':_0x6fe515[_0x4fe7f6(0xdb)],'RtReH':_0x6fe515[_0x4fe7f6(0x176)],'eGVuP':function(_0xd9bd3,_0x2b51e5){const _0x302a9f=_0x4fe7f6;return _0x6fe515[_0x302a9f(0x18c)](_0xd9bd3,_0x2b51e5);},'fZlhJ':function(_0x43231b,_0x1afc1a){const _0x2e4672=_0x4fe7f6;return _0x6fe515[_0x2e4672(0x17a)](_0x43231b,_0x1afc1a);},'yymkp':_0x6fe515[_0x4fe7f6(0xfd)],'jxEjc':_0x6fe515['ZgHhY'],'eMPnK':_0x6fe515[_0x4fe7f6(0x170)],'tshFT':function(_0x79aee6,_0x5e3fc7){return _0x6fe515['DFkfP'](_0x79aee6,_0x5e3fc7);}};_0x2e80d4[_0x1ef0dc]={'pending':[],'failures':[],'passes':[],'tests':_0xf213fc[_0x1ef0dc][_0x6fe515[_0x4fe7f6(0x19b)]]['map'](clean)},_0xf213fc[_0x1ef0dc][_0x6fe515[_0x4fe7f6(0x19b)]][_0x4fe7f6(0x186)](_0x23fc29=>{const _0x105b6d=_0x4fe7f6;if(_0x52588c[_0x105b6d(0x1c7)](_0x23fc29[_0x105b6d(0x14b)],_0x52588c[_0x105b6d(0x1cf)]))_0x2e80d4[_0x1ef0dc][_0x52588c['RtReH']][_0x105b6d(0xdd)](_0x52588c['eGVuP'](clean,_0x23fc29));else _0x52588c[_0x105b6d(0xed)](_0x23fc29[_0x105b6d(0x14b)],_0x52588c[_0x105b6d(0x111)])?_0x2e80d4[_0x1ef0dc][_0x52588c[_0x105b6d(0x16d)]][_0x105b6d(0xdd)](_0x52588c['eGVuP'](clean,_0x23fc29)):_0x2e80d4[_0x1ef0dc][_0x52588c[_0x105b6d(0x109)]][_0x105b6d(0xdd)](_0x52588c[_0x105b6d(0x1ae)](clean,_0x23fc29));});});if(_0x911963[_0x2ba0ab(0x1c9)])try{logger[_0x2ba0ab(0x136)](_0x6fe515['Tmmuv'],_0x911963['output']),fs[_0x2ba0ab(0x14e)](_0x911963[_0x2ba0ab(0x1c9)],JSON[_0x2ba0ab(0xe3)](_0x2e80d4,null,0x3));}catch(_0x193192){logger[_0x2ba0ab(0x132)](_0x6fe515[_0x2ba0ab(0x189)],_0x911963[_0x2ba0ab(0x1c9)]),logger[_0x2ba0ab(0x136)](_0x193192);}else logger[_0x2ba0ab(0x136)](_0x6fe515['KJRiL']),console[_0x2ba0ab(0x1af)](JSON[_0x2ba0ab(0xe3)](_0x2e80d4,null,0x3));}else{if(_0x6fe515['iIYtj'](_0xe43c28,_0x6fe515['eaMrX'])){let _0x51f2a5;const _0x1692cd=_0x6fe515['FSGKK'];_0x911963&&(_0x51f2a5=_0x911963[_0x2ba0ab(0x1bc)]);_0x51f2a5=_0x6fe515[_0x2ba0ab(0x177)](_0x51f2a5,_0x1692cd);let _0x19e006=0x0,_0x3c4baa=0x0,_0x10278c=0x0,_0x3f3f05=0x0;_0x441cd7[_0x2ba0ab(0x186)](_0x4eaa78=>{const _0x1b0152=_0x2ba0ab,_0x147d37={'wnfJU':function(_0x5cd18e,_0x339a6c){const _0x508a35=a27_0x1534;return _0x6fe515[_0x508a35(0x17a)](_0x5cd18e,_0x339a6c);},'trUMq':_0x6fe515[_0x1b0152(0xdb)],'JZCOR':function(_0x242868,_0x5f1205){return _0x6fe515['boSRO'](_0x242868,_0x5f1205);},'yGnPx':_0x6fe515[_0x1b0152(0xfd)],'VTmIl':function(_0x1f45a2,_0x5b7a0a){const _0x55d6a0=_0x1b0152;return _0x6fe515[_0x55d6a0(0x14a)](_0x1f45a2,_0x5b7a0a);}};_0xf213fc[_0x4eaa78][_0x6fe515[_0x1b0152(0x19b)]][_0x1b0152(0x186)](_0x62e935=>{const _0x27e607=_0x1b0152;if(_0x147d37[_0x27e607(0xf1)](_0x62e935[_0x27e607(0x14b)],_0x147d37[_0x27e607(0xd2)]))_0x19e006++;else _0x147d37[_0x27e607(0x1a3)](_0x62e935[_0x27e607(0x14b)],_0x147d37[_0x27e607(0x120)])&&_0x3c4baa++;_0x10278c++,_0x3f3f05+=_0x147d37['VTmIl'](_0x62e935[_0x27e607(0x1bb)],0x1);});}),_0x6fe515[_0x2ba0ab(0x101)](xunitWrite,_0x6fe515[_0x2ba0ab(0xe0)](tag,_0x6fe515[_0x2ba0ab(0x1d5)],{'name':_0x51f2a5,'tests':_0x10278c,'failures':0x0,'errors':_0x3c4baa,'skipped':_0x6fe515[_0x2ba0ab(0x17b)](_0x6fe515[_0x2ba0ab(0x17b)](_0x10278c,_0x3c4baa),_0x19e006),'timestamp':new Date()[_0x2ba0ab(0x18d)](),'time':_0x6fe515[_0x2ba0ab(0x1b9)](_0x3f3f05,0x3e8)||0x0},![])),_0x441cd7['forEach'](_0x217bcc=>{const _0x4d8387=_0x2ba0ab;_0xf213fc[_0x217bcc][_0x6fe515[_0x4d8387(0x19b)]][_0x4d8387(0x186)](_0x5eaf21=>{const _0x161b39=_0x4d8387;_0x6fe515[_0x161b39(0x17f)](xunitTest,_0x5eaf21,_0x217bcc);});}),_0x6fe515[_0x2ba0ab(0x101)](xunitWrite,_0x6fe515['qYkid']);if(_0x911963['output'])try{logger['debug'](_0x6fe515[_0x2ba0ab(0x1bd)],_0x911963['output']),fs[_0x2ba0ab(0x14e)](_0x911963[_0x2ba0ab(0x1c9)],xunitContent);}catch(_0x1ea005){logger[_0x2ba0ab(0x132)](_0x6fe515[_0x2ba0ab(0x135)],_0x911963[_0x2ba0ab(0x1c9)]),logger[_0x2ba0ab(0x136)](_0x1ea005);}else logger['debug'](_0x6fe515[_0x2ba0ab(0x1c4)]),console[_0x2ba0ab(0x1af)](xunitContent);}else{if(_0x6fe515[_0x2ba0ab(0x184)](_0x2da318,0x0))return;console['log'](),logger[_0x2ba0ab(0x136)](_0x6fe515[_0x2ba0ab(0x160)]),console['log'](chalk['bold'][_0x2ba0ab(0x1b2)](_0x6fe515[_0x2ba0ab(0x11c)])),_0x441cd7[_0x2ba0ab(0x186)](_0x143202=>{const _0x34d63a=_0x2ba0ab,_0x4bc1b2={'zlZOO':function(_0x3e8f2e,_0x23b2b1){const _0x42c329=a27_0x1534;return _0x6fe515[_0x42c329(0xd0)](_0x3e8f2e,_0x23b2b1);},'oKNLf':_0x6fe515['qMFny']},_0x545325=[];_0xf213fc[_0x143202][_0x6fe515['Audpd']][_0x34d63a(0x186)](_0x4b2295=>{const _0x502664=_0x34d63a;_0x4bc1b2[_0x502664(0x1ad)](_0x4b2295[_0x502664(0x14b)],_0x4bc1b2[_0x502664(0x1a8)])&&(_0x4b2295[_0x502664(0xd4)]=()=>_0x4b2295[_0x502664(0x123)],_0x545325[_0x502664(0xdd)](_0x4b2295));}),_0x6fe515[_0x34d63a(0x12f)](_0x545325[_0x34d63a(0x140)],0x0)&&(Base['consoleLog'](),Base['consoleLog'](_0x6fe515[_0x34d63a(0x103)](_0x461994),chalk[_0x34d63a(0xd3)][_0x34d63a(0x190)](_0x143202)),Base[_0x34d63a(0xf9)](_0x545325));});}}}async function run(_0x30255c,_0x541d83){const _0x43a8a6=a27_0x2e0ada,_0xab2edc={'sswSO':function(_0x107cf0,_0xaee921,_0x356cce,_0x40b5f5){return _0x107cf0(_0xaee921,_0x356cce,_0x40b5f5);},'tOpdx':_0x43a8a6(0xfe),'iwKtv':_0x43a8a6(0xd7),'FwbJf':function(_0xd67385,_0x14877f,_0x28be56,_0x5854da){return _0xd67385(_0x14877f,_0x28be56,_0x5854da);},'tlIDh':_0x43a8a6(0x129),'aUfYR':_0x43a8a6(0x12e),'HZeZP':_0x43a8a6(0xd8),'nVBvB':function(_0x7c606d,_0x21e3b3){return _0x7c606d!=_0x21e3b3;},'QJDsx':_0x43a8a6(0x153),'NxyWm':'mjs','zNeRP':_0x43a8a6(0x138),'tfsKT':_0x43a8a6(0x1bf),'qIEOn':function(_0x2f2167,_0x42bedd){return _0x2f2167(_0x42bedd);},'EVTxp':_0x43a8a6(0x155),'ZMHlz':_0x43a8a6(0x11f),'qeeFC':function(_0x5e0743,_0x5b4e37){return _0x5e0743*_0x5b4e37;},'Eupaj':function(_0x2d6102,_0x57c70a){return _0x2d6102(_0x57c70a);},'WToRo':function(_0x22d813,_0x8e2d9a){return _0x22d813!==_0x8e2d9a;},'FuEGx':function(_0x407d45,_0x4b2fdb,_0x40068a,_0x39d2d8){return _0x407d45(_0x4b2fdb,_0x40068a,_0x39d2d8);}};process['argv'][_0x43a8a6(0xda)](_0xab2edc[_0x43a8a6(0x126)])&&(process[_0x43a8a6(0x10c)][_0x43a8a6(0x11e)]=![]);process[_0x43a8a6(0x13c)][_0x43a8a6(0xda)](_0xab2edc['HZeZP'])&&(process['env'][_0x43a8a6(0xe7)]=![]);const _0x22ee21=new BrowserStackSetup(_0x30255c,_0xab2edc[_0x43a8a6(0x13d)]);helper[_0x43a8a6(0x192)]()&&(await _0x22ee21[_0x43a8a6(0x173)](),await helper['handleApp'](_0x22ee21[_0x43a8a6(0x1d7)]));const _0x3cf84c=[];let _0x1098e8=[];if(!_0x22ee21['config'])return;_0xab2edc[_0x43a8a6(0x149)](_0x22ee21['config'][_0x43a8a6(0x196)],null)&&(process['env'][_0x43a8a6(0x106)]=_0x22ee21['config']['testObservability']);!helper[_0x43a8a6(0x159)](_0x22ee21['config']['accessibility'])&&(process[_0x43a8a6(0x10c)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x22ee21[_0x43a8a6(0x1d7)]['accessibility']);!helper[_0x43a8a6(0x159)](_0x22ee21['config']['accessibilityOptions'])&&(process[_0x43a8a6(0x10c)][_0x43a8a6(0x141)]=JSON[_0x43a8a6(0xe3)](_0x22ee21[_0x43a8a6(0x1d7)][_0x43a8a6(0x1cd)]));const {extension:extension=['js',_0xab2edc[_0x43a8a6(0x13e)],_0xab2edc[_0x43a8a6(0x15e)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0xab2edc['zNeRP']]}=_0x30255c,_0x1f1417={..._0x30255c};_0x1f1417[_0x43a8a6(0x1cb)]=null;const _0x247290=_0x1f1417;let _0x170354;if(testOpsHelper[_0x43a8a6(0x1ce)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x40191b=process[_0x43a8a6(0x10c)][_0x43a8a6(0x102)];!helper['isUndefined'](_0x22ee21['cliConfig'])&&_0x22ee21[_0x43a8a6(0x19d)]['has'](_0xab2edc[_0x43a8a6(0x1d3)])&&(_0x40191b=_0x22ee21[_0x43a8a6(0x19d)][_0x43a8a6(0x187)](_0xab2edc[_0x43a8a6(0x1d3)])),_0x170354=testOpsHelper[_0x43a8a6(0x10d)](_0x40191b);}if(helper['isUndefined'](_0x170354)){const _0x1ca2e3={};_0x1ca2e3[_0x43a8a6(0x194)]=ignore,_0x1ca2e3['extension']=extension,_0x1ca2e3[_0x43a8a6(0x128)]=file,_0x1ca2e3[_0x43a8a6(0x1a9)]=recursive,_0x1ca2e3[_0x43a8a6(0x10a)]=sort,_0x1ca2e3[_0x43a8a6(0x16a)]=spec,_0x170354=_0xab2edc['qIEOn'](collectFiles,_0x1ca2e3);}helper[_0x43a8a6(0x1b3)]();if(!helper[_0x43a8a6(0x192)]()){const _0x4a3ad0=0x1,_0x245a60={..._0x247290};_0x245a60[_0x43a8a6(0x16a)]=[..._0x170354],_0x3cf84c[_0x43a8a6(0xdd)]({'mochaOpts':_0x245a60,'configuration':{'platform':os['platform']()}}),logger[_0x43a8a6(0x130)](_0xab2edc[_0x43a8a6(0x11d)]),logger[_0x43a8a6(0x130)](_0xab2edc[_0x43a8a6(0x122)]),_0xab2edc['FwbJf'](parallelTestRun,_0x3cf84c,_0x4a3ad0,_0x22ee21)[_0x43a8a6(0xde)](_0x572107=>{const _0x185b28=_0x43a8a6;_0xab2edc[_0x185b28(0x1c2)](printStats,_0x572107,_0x30255c[_0x185b28(0x1b8)],_0x30255c[_0x185b28(0x105)]||_0x30255c[_0xab2edc[_0x185b28(0x1b5)]]);})[_0x43a8a6(0x17d)](()=>{const _0x2343e6=_0x43a8a6;try{helper[_0x2343e6(0xe2)](_0xab2edc['iwKtv'],{},_0x22ee21[_0x2343e6(0x1d7)],_0x22ee21[_0x2343e6(0x163)]);}catch(_0x205999){logger[_0x2343e6(0x136)](_0x2343e6(0x156)+_0x205999);}try{helper[_0x2343e6(0x195)]();}catch(_0x50ccbf){logger['debug']('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x50ccbf);}testOpsHelper['printBuildLink']();});}else{const _0x4455a0=helper[_0x43a8a6(0xea)](_0x22ee21[_0x43a8a6(0x1d7)]),_0x57fdd8=helper['getHubUrl'](_0x22ee21[_0x43a8a6(0x1d7)]);_0x1098e8=helper['prepareCapabilities'](_0x22ee21[_0x43a8a6(0x1d7)],_0x4455a0,constants[_0x43a8a6(0x1aa)][_0x43a8a6(0x19c)]);let _0x4ad53f;const _0x7d1d66=_0x22ee21[_0x43a8a6(0x1d7)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x30255c,_0x541d83,_0x22ee21[_0x43a8a6(0x1d7)],constants[_0x43a8a6(0x1aa)][_0x43a8a6(0x19c)])||0x1;helper[_0x43a8a6(0x12b)](_0x22ee21[_0x43a8a6(0x1d7)])?_0x4ad53f=_0xab2edc[_0x43a8a6(0xf0)](_0x22ee21[_0x43a8a6(0x1d7)][_0x43a8a6(0x197)]['length'],_0x7d1d66):_0x4ad53f=_0x7d1d66;const _0x1f383f=_0xab2edc['Eupaj'](getPercyOptions,_0x22ee21[_0x43a8a6(0x1d7)]);if(_0xab2edc['WToRo'](_0x22ee21['config'][_0x43a8a6(0x171)],0x1))_0x170354['forEach'](_0x50922f=>{const _0x4eb835=[];_0x1098e8['forEach']((_0x75afac,_0x544370)=>{const _0x15f251=a27_0x1534,_0x53548b={};_0x53548b[_0x15f251(0x16a)]=[_0x50922f],_0x4eb835[_0x15f251(0xdd)]({'mochaOpts':Object[_0x15f251(0xe8)]({},_0x247290,_0x53548b),'configuration':{'server':_0x57fdd8,'capability':_0x75afac,'proxySettings':_0x22ee21['config'][_0x15f251(0xfb)],'platform':helper[_0x15f251(0x134)](_0x75afac),'browserStackLogLevel':_0x22ee21['config'][_0x15f251(0xd6)],'platformIndex':_0x544370,'browserStackPercyOptions':_0x1f383f,'platformCaps':_0x22ee21[_0x15f251(0x1d7)][_0x15f251(0x197)][_0x544370]}});}),_0x3cf84c['push'](..._0x4eb835);});else{const _0x186507=[];_0x1098e8[_0x43a8a6(0x186)]((_0x22af96,_0x5368f0)=>{const _0x5aceca=_0x43a8a6;let _0x4be4eb=Object['assign']({},_0x247290);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x4be4eb={..._0x4be4eb,'spec':[..._0x170354]}),_0x186507[_0x5aceca(0xdd)]({'mochaOpts':_0x4be4eb,'configuration':{'server':_0x57fdd8,'capability':_0x22af96,'proxySettings':_0x22ee21[_0x5aceca(0x1d7)][_0x5aceca(0xfb)],'platform':helper[_0x5aceca(0x134)](_0x22af96),'browserStackLogLevel':_0x22ee21[_0x5aceca(0x1d7)]['logLevel'],'platformIndex':_0x5368f0,'browserStackPercyOptions':_0x1f383f,'platformCaps':_0x22ee21['config']['platforms'][_0x5368f0]}});}),_0x3cf84c['push'](..._0x186507);}logger['info'](_0x43a8a6(0x175)+_0x22ee21[_0x43a8a6(0x1d7)][_0x43a8a6(0x197)][_0x43a8a6(0x140)]+_0x43a8a6(0x1b6)),logger[_0x43a8a6(0x130)](_0xab2edc['ZMHlz']);let _0x22b2ed;_0xab2edc[_0x43a8a6(0x127)](parallelTestRun,_0x3cf84c,_0x4ad53f,_0x22ee21)[_0x43a8a6(0xde)](_0x8e6aba=>{const _0x546cce=_0x43a8a6;_0x22b2ed=_0x8e6aba,_0xab2edc[_0x546cce(0x1c6)](printStats,_0x8e6aba,_0x30255c['reporter'],_0x30255c[_0x546cce(0x105)]||_0x30255c[_0xab2edc[_0x546cce(0x1b5)]]);})[_0x43a8a6(0x17d)](async()=>{const _0x3b625d=_0x43a8a6;_0x22ee21['errorMessage']=helper[_0x3b625d(0x146)](_0x22b2ed,_0xab2edc[_0x3b625d(0x13d)]),await helper[_0x3b625d(0x15a)](_0x22ee21),testOpsHelper[_0x3b625d(0x164)]();});}}module[a27_0x2e0ada(0x11b)]=run;
|
|
2
|
+
'use strict';const a28_0x17a855=a28_0x147b;(function(_0x3f3c60,_0x51801c){const _0x48b243=a28_0x147b,_0x41f622=_0x3f3c60();while(!![]){try{const _0x3ee39e=parseInt(_0x48b243(0x1d5))/0x1+-parseInt(_0x48b243(0x1c4))/0x2+-parseInt(_0x48b243(0x21c))/0x3+parseInt(_0x48b243(0x1ba))/0x4+-parseInt(_0x48b243(0x27d))/0x5*(parseInt(_0x48b243(0x255))/0x6)+-parseInt(_0x48b243(0x211))/0x7+parseInt(_0x48b243(0x1db))/0x8*(parseInt(_0x48b243(0x265))/0x9);if(_0x3ee39e===_0x51801c)break;else _0x41f622['push'](_0x41f622['shift']());}catch(_0x161b89){_0x41f622['push'](_0x41f622['shift']());}}}(a28_0x16e3,0xba707));function a28_0x147b(_0x4218d7,_0x419ee1){const _0x16e321=a28_0x16e3();return a28_0x147b=function(_0x147b1b,_0x31341f){_0x147b1b=_0x147b1b-0x19a;let _0x48e7f3=_0x16e321[_0x147b1b];return _0x48e7f3;},a28_0x147b(_0x4218d7,_0x419ee1);}const chalk=require(a28_0x17a855(0x258)),logger=require(a28_0x17a855(0x205))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a28_0x17a855(0x20c)),testOpsHelper=require(a28_0x17a855(0x19f)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x17a855(0x279)),{requireModule,nestedKeyValue}=require(a28_0x17a855(0x20c)),{getPercyOptions}=require(a28_0x17a855(0x260)),Base=requireModule(a28_0x17a855(0x250)),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x17a855(0x259));function tag(_0xc62874,_0x16d66f,_0x11d628,_0x4b7fe0){const _0x3ef0f=a28_0x17a855,_0x4e4a61={'xbEke':function(_0x2090fb,_0x3627ee){return _0x2090fb+_0x3627ee;},'DOLHU':function(_0x28eddf,_0x1d5417){return _0x28eddf(_0x1d5417);},'BiGCl':function(_0x1b8b7e,_0x4c8bf2){return _0x1b8b7e+_0x4c8bf2;},'UqFRL':function(_0x588516,_0x57066a){return _0x588516+_0x57066a;},'PqdnB':function(_0x3ce49b,_0x1ce1bf){return _0x3ce49b+_0x1ce1bf;},'ZRfUv':function(_0x3f55c4,_0x5b3ae5){return _0x3f55c4+_0x5b3ae5;}},_0x16109d=_0x11d628?'/>':'>',_0x3375e6=[];let _0x221df5;for(const _0x5bdff9 in _0x16d66f){Object[_0x3ef0f(0x1fc)][_0x3ef0f(0x1a0)]['call'](_0x16d66f,_0x5bdff9)&&_0x3375e6[_0x3ef0f(0x1e1)](_0x4e4a61[_0x3ef0f(0x1ef)](_0x4e4a61[_0x3ef0f(0x1ef)](_0x4e4a61[_0x3ef0f(0x1ef)](_0x5bdff9,'=\x22'),_0x4e4a61[_0x3ef0f(0x271)](escape,_0x16d66f[_0x5bdff9])),'\x22'));}return _0x221df5=_0x4e4a61[_0x3ef0f(0x24c)](_0x4e4a61[_0x3ef0f(0x1ca)](_0x4e4a61[_0x3ef0f(0x1ca)]('<',_0xc62874),_0x3375e6['length']?_0x4e4a61[_0x3ef0f(0x24c)]('\x20',_0x3375e6[_0x3ef0f(0x19c)]('\x20')):''),_0x16109d),_0x4b7fe0&&(_0x221df5+=_0x4e4a61[_0x3ef0f(0x1ef)](_0x4e4a61[_0x3ef0f(0x1bc)](_0x4e4a61['ZRfUv'](_0x4b7fe0,'</'),_0xc62874),_0x16109d)),_0x221df5;}let xunitContent='';function xunitWrite(_0x395195){xunitContent+=_0x395195;}function xunitTest(_0x2ec16f,_0x51ab14){const _0x28682e=a28_0x17a855,_0x1288e9={'WRyXV':function(_0x27db16,_0x2af924){return _0x27db16/_0x2af924;},'fMSuZ':function(_0x126938,_0x45a742){return _0x126938===_0x45a742;},'hlyjw':_0x28682e(0x200),'QmFPr':function(_0xb63430,_0x4f0fc5){return _0xb63430+_0x4f0fc5;},'PGyob':function(_0x2abbd1,_0x1bcda4){return _0x2abbd1(_0x1bcda4);},'fEJtD':function(_0x57b068,_0x2f88cd,_0x4bdae5,_0x9aa54e,_0xbd792c){return _0x57b068(_0x2f88cd,_0x4bdae5,_0x9aa54e,_0xbd792c);},'cPkHX':_0x28682e(0x1af),'XzOTi':_0x28682e(0x19e),'ibRBF':function(_0x33903a,_0x16373b){return _0x33903a+_0x16373b;},'QCNkI':function(_0x307647,_0x24dc38){return _0x307647+_0x24dc38;},'TtKgX':function(_0x34d1ee,_0x23cc60){return _0x34d1ee(_0x23cc60);},'pIoAV':function(_0x436fb0,_0x5c25a7){return _0x436fb0(_0x5c25a7);},'kveOL':function(_0x300e53,_0x66e2d0,_0x42d663,_0xd938e0){return _0x300e53(_0x66e2d0,_0x42d663,_0xd938e0);},'VJYZS':_0x28682e(0x25b),'ACrPS':function(_0x459e65,_0x3acfca){return _0x459e65(_0x3acfca);},'UAnVB':function(_0x47c056,_0x36680f,_0x2a89b0,_0x402dc4){return _0x47c056(_0x36680f,_0x2a89b0,_0x402dc4);}};Base[_0x28682e(0x26e)]=![];var _0x1650cd={'classname':_0x2ec16f[_0x28682e(0x1ac)],'name':_0x2ec16f[_0x28682e(0x26c)],'time':_0x1288e9[_0x28682e(0x253)](_0x2ec16f['duration'],0x3e8)||0x0,'platform':_0x51ab14};if(_0x1288e9['fMSuZ'](_0x2ec16f[_0x28682e(0x22c)],_0x1288e9[_0x28682e(0x1fd)])){var _0x2222b8=_0x2ec16f['err'],_0x5e06c3=!Base['hideDiff']&&Base[_0x28682e(0x219)](_0x2222b8)?_0x1288e9[_0x28682e(0x1e6)]('\x0a',Base['generateDiff'](_0x2222b8[_0x28682e(0x240)],_0x2222b8[_0x28682e(0x288)])):'';_0x1288e9[_0x28682e(0x201)](xunitWrite,_0x1288e9['fEJtD'](tag,_0x1288e9[_0x28682e(0x20a)],_0x1650cd,![],_0x1288e9[_0x28682e(0x1c7)](tag,_0x1288e9['XzOTi'],{},![],_0x1288e9['ibRBF'](_0x1288e9['QmFPr'](_0x1288e9[_0x28682e(0x207)](_0x1288e9[_0x28682e(0x201)](escape,_0x2222b8[_0x28682e(0x1df)]),_0x1288e9[_0x28682e(0x20d)](escape,_0x5e06c3)),'\x0a'),_0x1288e9['TtKgX'](escape,_0x2222b8[_0x28682e(0x274)])))));}else _0x2ec16f[_0x28682e(0x27b)]?_0x1288e9[_0x28682e(0x23e)](xunitWrite,_0x1288e9['fEJtD'](tag,_0x1288e9[_0x28682e(0x20a)],_0x1650cd,![],_0x1288e9[_0x28682e(0x25f)](tag,_0x1288e9['VJYZS'],{},!![]))):_0x1288e9[_0x28682e(0x1f1)](xunitWrite,_0x1288e9['UAnVB'](tag,_0x1288e9[_0x28682e(0x20a)],_0x1650cd,!![]));};function getStats(_0x2b1c69){const _0xba2bd3=a28_0x17a855,_0x3d6c40={};_0x3d6c40[_0xba2bd3(0x275)]=_0xba2bd3(0x1ff),_0x3d6c40[_0xba2bd3(0x27e)]=_0xba2bd3(0x1fe),_0x3d6c40[_0xba2bd3(0x1eb)]=_0xba2bd3(0x200),_0x3d6c40['UmfQv']=_0xba2bd3(0x221);const _0x1f8074=_0x3d6c40,_0x482a66=Object[_0xba2bd3(0x21d)](_0x2b1c69);let _0x3160a5=0x0,_0x556e94=0x0,_0x2fc6fd=0x0,_0x448502=0x0;const _0x10ca78=new Set();_0x482a66['forEach'](_0xe6cc37=>{const _0x99f4a9=_0xba2bd3;_0x2b1c69[_0xe6cc37][_0x1f8074['UmfQv']][_0x99f4a9(0x1ed)](_0x566e1=>{const _0x16d79c=_0x99f4a9;_0x10ca78[_0x16d79c(0x243)](_0x566e1[_0x1f8074['EVmGn']]),_0x3160a5++;switch(_0x566e1['state']){case _0x1f8074['ZDGGD']:_0x2fc6fd++;break;case _0x1f8074[_0x16d79c(0x1eb)]:_0x556e94++;break;default:_0x448502++;}});});const _0x1c22d5={};return _0x1c22d5[_0xba2bd3(0x264)]=_0x10ca78['size'],_0x1c22d5[_0xba2bd3(0x1f3)]=_0x482a66,_0x1c22d5[_0xba2bd3(0x237)]=_0x3160a5,_0x1c22d5['testsFailed']=_0x556e94,_0x1c22d5[_0xba2bd3(0x1f6)]=_0x2fc6fd,_0x1c22d5[_0xba2bd3(0x1e9)]=_0x448502,_0x1c22d5;}function errorJSON(_0x22acf1){const _0x57669a=a28_0x17a855;var _0x31ba9b={};return Object['getOwnPropertyNames'](_0x22acf1)[_0x57669a(0x1ed)](function(_0x8b9743){_0x31ba9b[_0x8b9743]=_0x22acf1[_0x8b9743];},_0x22acf1),_0x31ba9b;}function cleanCycles(_0x40a503){const _0x500dbb=a28_0x17a855,_0xc268e0={};_0xc268e0[_0x500dbb(0x27c)]=function(_0x4589f4,_0x35e425){return _0x4589f4===_0x35e425;},_0xc268e0[_0x500dbb(0x1b4)]=_0x500dbb(0x1d2),_0xc268e0['DEIdx']=function(_0x34f085,_0x11d435){return _0x34f085!==_0x11d435;},_0xc268e0[_0x500dbb(0x23a)]=function(_0x2ad332,_0x4e1663){return _0x2ad332+_0x4e1663;};const _0x11798b=_0xc268e0;var _0x1cb832=[];return JSON[_0x500dbb(0x216)](JSON[_0x500dbb(0x203)](_0x40a503,function(_0x57c272,_0x2cb25a){const _0x3ded27=_0x500dbb;if(_0x11798b[_0x3ded27(0x27c)](typeof _0x2cb25a,_0x11798b[_0x3ded27(0x1b4)])&&_0x11798b['DEIdx'](_0x2cb25a,null)){if(_0x11798b[_0x3ded27(0x286)](_0x1cb832['indexOf'](_0x2cb25a),-0x1))return _0x11798b[_0x3ded27(0x23a)]('',_0x2cb25a);_0x1cb832['push'](_0x2cb25a);}return _0x2cb25a;}));}function clean(_0x449d75){const _0x3cea59=a28_0x17a855,_0x6b04d={'ArLui':function(_0x123513,_0x817764){return _0x123513 instanceof _0x817764;},'nRKgW':function(_0x49d0be,_0x39b233){return _0x49d0be(_0x39b233);},'HDACb':function(_0x13d219,_0x130acc){return _0x13d219(_0x130acc);}};var _0x1661c8=_0x449d75[_0x3cea59(0x273)]||{};return _0x6b04d[_0x3cea59(0x1c2)](_0x1661c8,Error)&&(_0x1661c8=_0x6b04d[_0x3cea59(0x1b8)](errorJSON,_0x1661c8)),{'title':_0x449d75[_0x3cea59(0x26c)],'fullTitle':_0x449d75[_0x3cea59(0x1ac)],'file':_0x449d75[_0x3cea59(0x232)],'duration':_0x449d75[_0x3cea59(0x21e)],'currentRetry':_0x449d75['currentRetry'],'speed':_0x449d75[_0x3cea59(0x1de)],'err':_0x6b04d['HDACb'](cleanCycles,_0x1661c8)};}function a28_0x16e3(){const _0x48bc17=['cliConfig','mjs','--disable-browserstack-automation','KmmWv','then','kwptR','dpVXL','has','printBuildLink','info','fullTitle','pending','BPVOU','testcase','test','bGYZy','Listing\x20all\x20the\x20failures','BROWSERSTACK_TEST_OBSERVABILITY','QLwQI','Writing\x20json\x20result\x20to\x20file','files','rmdirSync','nRKgW','ctKCF','5174332idlqmX','parallelsPerPlatform','PqdnB','includes','qRGRy','config','anfNP','min','ArLui','phEQj','3007018ebjmcz','initialize','walQt','fEJtD','framework','getPlatformName','UqFRL','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','Mocha\x20Tests','Printing\x20stats\x20of\x20tests','debug','XOBRS','recursive','--disable-test-observability','object','accessibility','RHyHA','572272DDILGG','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getHubUrl','BROWSERSTACK_AUTOMATION','Couldn\x27t\x20write\x20xunit\x20result\x20to','eKRdP','88fpyqcO','sycpt','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','speed','message','isUndefined','push','JAfym','ZKwyM','getErrorMessageFromResults','getTCGConfigFilePaths','QmFPr','exports','length','testsPending','unlinkSync','FbxiJ','errorMessage','forEach','markSDKSetupComplete','xbEke','tmjfF','ACrPS','Writing\x20xunit\x20result\x20to\x20file','platforms','\x20failed','validPlatformsPresent','testsPassed','proxySettings','notifyUpdate','nFDpS','reporter','assign','prototype','hlyjw','passed','suite','failed','PGyob','testsuite','stringify','FHteW','../../helpers/logger','consoleLog','QCNkI','locUy','HCPUz','cPkHX','output','../../helpers/helper','TtKgX','VVfYd','logLevel','list','6997004vSuJEd','Xoqod','gfGHS','RDxiN','finalExecution','parse','error','parseFileNames','showDiff','RmWjI','SvASr','244758JQpzrL','keys','duration','jJAty','udoMl','results','BROWSERSTACK_TEST_OBSERVABILITY_YML','Running\x20your\x20mocha\x20tests\x20across\x20','RIRtv','CFEnl','useW3C','titlePathV','bgBlueBright','bgRedBright','bold','\x0a\x0a\x0a','state','accessibilityOptions','env','testObservability','GakmL','ufbYP','file','finally','isBrowserstackInfra','Total\x20Platforms:\x20','bcoCD','totalTests','niVcF','NgfHz','MWaqu','SDKTestSuccessful','fKeye','****\x20FAILURES\x20****','pIoAV','mocha','actual','Now,\x20showing\x20logs\x20from\x20mocha','jcoqX','add','KbPxy','prepareCapabilities','failures','log','platform','NFaWS','Setting\x20non\x20exit\x20code\x20for\x20failures','GbhxP','BiGCl','red','Tests:\x20\x20\x20\x20\x20\x20\x20','rMCSV','mocha/lib/reporters/base.js','spec','titlePath','WRyXV','MHdrL','4143432enVQTZ','stats','Running\x20your\x20mocha\x20tests','chalk','../utils/constants','FRAMEWORKS','skipped','HWOqh','setupTCGAuth','isTestObservabilitySession','kveOL','../../helpers/percy/utils','xunit','doc','Atpik','testSuites','1777941dVpJvf','ZXbDc','nxsQh','error\x20removing\x20tcg\x20config\x20file','map','reporterOptions','yellow','title','vtKJw','useColors','writeFileSync','VXFjp','DOLHU','vyovs','err','stack','EVmGn','lZuMw','niQAa','hxqkw','../test-runner','DTKmm','isPending','YKDRz','5DPXNTF','ZDGGD','toUTCString','Couldn\x27t\x20write\x20json\x20result\x20to','\x20passed','EmaCb','iLThl','passes','JHIzb','DEIdx','IJaXy','expected','MOCHA','AhOVt','rootHooks','join','guSJA','failure','../../helpers/test-observability/utils','hasOwnProperty','agFTu'];a28_0x16e3=function(){return _0x48bc17;};return a28_0x16e3();}function printStats(_0x2dbfaf,_0x4611fe='spec',_0x23a31d={}){const _0x5e8ca0=a28_0x17a855,_0x263bfa={'RDxiN':function(_0x4496b5,_0x52f0ae){return _0x4496b5(_0x52f0ae);},'EgOpH':function(_0x355b81,_0xc59987){return _0x355b81===_0xc59987;},'HWOqh':_0x5e8ca0(0x1fe),'lZuMw':_0x5e8ca0(0x284),'guSJA':function(_0x12a05a,_0x2154cb){return _0x12a05a===_0x2154cb;},'KbPxy':_0x5e8ca0(0x200),'aObqD':_0x5e8ca0(0x246),'rMCSV':function(_0x3e7679,_0x4ee295){return _0x3e7679(_0x4ee295);},'JHIzb':_0x5e8ca0(0x1ad),'SvASr':function(_0x3563c4,_0xa8b15d){return _0x3563c4(_0xa8b15d);},'walQt':_0x5e8ca0(0x221),'gfGHS':function(_0x593a27,_0x5d6186){return _0x593a27===_0x5d6186;},'RIRtv':function(_0xea787c,_0xe211b9){return _0xea787c*_0xe211b9;},'UzAhc':function(_0x5f55e4,_0x5cdc53,_0xacf264){return _0x5f55e4(_0x5cdc53,_0xacf264);},'tmjfF':function(_0xdbe01d,_0x1c3f70){return _0xdbe01d>_0x1c3f70;},'bGYZy':function(_0x1cf6ae){return _0x1cf6ae();},'JAfym':_0x5e8ca0(0x262),'anfNP':function(_0x4885ce,_0x974cd6){return _0x4885ce(_0x974cd6);},'RmWjI':_0x5e8ca0(0x24a),'VfczC':_0x5e8ca0(0x1cd),'vtKJw':function(_0x50565f,_0x4efb3c){return _0x50565f+_0x4efb3c;},'dpVXL':_0x5e8ca0(0x235),'KmmWv':function(_0xbc7b3d,_0x1c255a){return _0xbc7b3d+_0x1c255a;},'hxqkw':'Total\x20Suites:\x20','Xoqod':function(_0x1f3fd5,_0x2aeeba){return _0x1f3fd5+_0x2aeeba;},'XOBRS':_0x5e8ca0(0x24e),'GbhxP':function(_0x5dcc0f,_0x4bb11b){return _0x5dcc0f>_0x4bb11b;},'UKGZt':function(_0x5526c5,_0x554fa4){return _0x5526c5>_0x554fa4;},'sycpt':function(_0x127bc7,_0x2d4925){return _0x127bc7+_0x2d4925;},'Atpik':function(_0x50a416,_0x595cbe){return _0x50a416+_0x595cbe;},'qRGRy':function(_0x443a83,_0x4eb469){return _0x443a83+_0x4eb469;},'GakmL':function(_0x5c0b31,_0x315d11){return _0x5c0b31+_0x315d11;},'lBbnb':_0x5e8ca0(0x22b),'ctKCF':function(_0x353728,_0x19ba2b){return _0x353728===_0x19ba2b;},'ZKwyM':'json','NgfHz':_0x5e8ca0(0x1b5),'IJaXy':_0x5e8ca0(0x280),'RHyHA':_0x5e8ca0(0x1dd),'nFDpS':_0x5e8ca0(0x261),'eKRdP':_0x5e8ca0(0x1cc),'ufbYP':function(_0x391e4a,_0xf45fd8){return _0x391e4a||_0xf45fd8;},'cULYo':function(_0x25681c,_0x4fffa7,_0xa09b30,_0x188442){return _0x25681c(_0x4fffa7,_0xa09b30,_0x188442);},'eLXRE':_0x5e8ca0(0x202),'bcoCD':function(_0xd196b6,_0x3e8ba9){return _0xd196b6-_0x3e8ba9;},'VVfYd':function(_0x5edaad,_0x553e2d){return _0x5edaad/_0x553e2d;},'jcoqX':function(_0x28c371,_0x214b2d){return _0x28c371(_0x214b2d);},'DTKmm':'</testsuite>','AWQsw':_0x5e8ca0(0x1f2),'uDxEK':_0x5e8ca0(0x1d9),'AWvMd':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ZXbDc':function(_0xf926f5,_0x16a4e2){return _0xf926f5===_0x16a4e2;},'KtiBt':_0x5e8ca0(0x1b2),'locUy':_0x5e8ca0(0x23d)};if(_0x263bfa[_0x5e8ca0(0x213)](_0x4611fe,_0x263bfa[_0x5e8ca0(0x1e2)]))return;const _0x48dbed=0x0,_0x5620ec=()=>{const _0x2ec61f=_0x5e8ca0;return _0x263bfa['RDxiN'](Array,_0x48dbed)[_0x2ec61f(0x19c)]('\x20\x20');},{testSuites:_0x5aa9fe,platforms:_0x45efe2,totalTests:_0x2dc44f,testsFailed:_0x11016b,testsPassed:_0xceca14,testsPending:_0x4493a9}=_0x263bfa[_0x5e8ca0(0x1c0)](getStats,_0x2dbfaf);_0x263bfa[_0x5e8ca0(0x1f0)](_0x11016b,0x0)&&(logger[_0x5e8ca0(0x1ce)](_0x263bfa[_0x5e8ca0(0x21a)]),process['exitCode']=Math[_0x5e8ca0(0x1c1)](_0x11016b,0xff));logger[_0x5e8ca0(0x1ce)](_0x263bfa['VfczC']);const _0x575653=''+_0x263bfa[_0x5e8ca0(0x26d)](chalk[_0x5e8ca0(0x22a)](_0x263bfa[_0x5e8ca0(0x1a8)]),_0x45efe2[_0x5e8ca0(0x1e8)]),_0xde7a3f=''+_0x263bfa['KmmWv'](chalk[_0x5e8ca0(0x22a)](_0x263bfa[_0x5e8ca0(0x278)]),_0x5aa9fe),_0x426f57=''+_0x263bfa[_0x5e8ca0(0x26d)](_0x263bfa[_0x5e8ca0(0x212)](_0x263bfa[_0x5e8ca0(0x1a5)](chalk['bold'](_0x263bfa[_0x5e8ca0(0x1cf)]),_0x263bfa['tmjfF'](_0x11016b,0x0)?chalk[_0x5e8ca0(0x22a)][_0x5e8ca0(0x24d)](_0x11016b+_0x5e8ca0(0x1f4))+',\x20':''),_0x263bfa[_0x5e8ca0(0x24b)](_0x4493a9,0x0)?chalk[_0x5e8ca0(0x22a)][_0x5e8ca0(0x26b)](_0x4493a9+'\x20skipped')+',\x20':''),_0x263bfa['UKGZt'](_0xceca14,0x0)?chalk[_0x5e8ca0(0x22a)]['green'](_0xceca14+_0x5e8ca0(0x281))+',\x20':'')+_0x2dc44f+'\x20total';console['log'](_0x263bfa[_0x5e8ca0(0x1dc)](_0x263bfa[_0x5e8ca0(0x263)](_0x263bfa[_0x5e8ca0(0x1be)](_0x263bfa['Xoqod'](_0x263bfa[_0x5e8ca0(0x230)](_0x263bfa['lBbnb'],_0x575653),'\x0a'),_0xde7a3f),'\x0a'),_0x426f57));if(_0x263bfa[_0x5e8ca0(0x1b9)](_0x4611fe,_0x263bfa[_0x5e8ca0(0x1e3)])){const _0x59f3bf={},_0x2701b5={};_0x2701b5[_0x5e8ca0(0x264)]=_0x5aa9fe,_0x2701b5[_0x5e8ca0(0x1f3)]=_0x45efe2,_0x2701b5['testsFailed']=_0x11016b,_0x2701b5[_0x5e8ca0(0x1f6)]=_0xceca14,_0x2701b5['testsPending']=_0x4493a9,_0x59f3bf[_0x5e8ca0(0x256)]=_0x2701b5,_0x45efe2[_0x5e8ca0(0x1ed)](_0x5bfad4=>{const _0x34c628=_0x5e8ca0;_0x59f3bf[_0x5bfad4]={'pending':[],'failures':[],'passes':[],'tests':_0x2dbfaf[_0x5bfad4][_0x263bfa[_0x34c628(0x1c6)]][_0x34c628(0x269)](clean)},_0x2dbfaf[_0x5bfad4][_0x263bfa['walQt']][_0x34c628(0x1ed)](_0x15a4a1=>{const _0x346da2=_0x34c628;if(_0x263bfa['EgOpH'](_0x15a4a1[_0x346da2(0x22c)],_0x263bfa[_0x346da2(0x25c)]))_0x59f3bf[_0x5bfad4][_0x263bfa[_0x346da2(0x276)]]['push'](_0x263bfa[_0x346da2(0x214)](clean,_0x15a4a1));else _0x263bfa[_0x346da2(0x19d)](_0x15a4a1[_0x346da2(0x22c)],_0x263bfa[_0x346da2(0x244)])?_0x59f3bf[_0x5bfad4][_0x263bfa['aObqD']][_0x346da2(0x1e1)](_0x263bfa[_0x346da2(0x24f)](clean,_0x15a4a1)):_0x59f3bf[_0x5bfad4][_0x263bfa[_0x346da2(0x285)]][_0x346da2(0x1e1)](_0x263bfa[_0x346da2(0x21b)](clean,_0x15a4a1));});});if(_0x23a31d['output'])try{logger[_0x5e8ca0(0x1ce)](_0x263bfa[_0x5e8ca0(0x239)],_0x23a31d['output']),fs[_0x5e8ca0(0x26f)](_0x23a31d[_0x5e8ca0(0x20b)],JSON[_0x5e8ca0(0x203)](_0x59f3bf,null,0x3));}catch(_0x32ce8e){logger['error'](_0x263bfa[_0x5e8ca0(0x287)],_0x23a31d['output']),logger['debug'](_0x32ce8e);}else logger['debug'](_0x263bfa[_0x5e8ca0(0x1d4)]),console[_0x5e8ca0(0x247)](JSON[_0x5e8ca0(0x203)](_0x59f3bf,null,0x3));}else{if(_0x263bfa['gfGHS'](_0x4611fe,_0x263bfa[_0x5e8ca0(0x1f9)])){let _0x2e72dd;const _0x34156c=_0x263bfa[_0x5e8ca0(0x1da)];_0x23a31d&&(_0x2e72dd=_0x23a31d['suiteName']);_0x2e72dd=_0x263bfa[_0x5e8ca0(0x231)](_0x2e72dd,_0x34156c);let _0x173157=0x0,_0x557011=0x0,_0x2307c9=0x0,_0x2933a8=0x0;_0x45efe2['forEach'](_0x29359d=>{const _0x1db5e9=_0x5e8ca0,_0x208c12={'CFEnl':function(_0x447269,_0x4d461e){const _0x5ab6ca=a28_0x147b;return _0x263bfa[_0x5ab6ca(0x213)](_0x447269,_0x4d461e);},'mDbBw':_0x263bfa['HWOqh'],'EmaCb':_0x263bfa[_0x1db5e9(0x244)],'rCMbr':function(_0xf5ba2a,_0xf4abaf){const _0x7d4480=_0x1db5e9;return _0x263bfa[_0x7d4480(0x224)](_0xf5ba2a,_0xf4abaf);}};_0x2dbfaf[_0x29359d][_0x263bfa[_0x1db5e9(0x1c6)]][_0x1db5e9(0x1ed)](_0x1c3a35=>{const _0x5770cf=_0x1db5e9;if(_0x208c12[_0x5770cf(0x225)](_0x1c3a35[_0x5770cf(0x22c)],_0x208c12['mDbBw']))_0x173157++;else _0x208c12[_0x5770cf(0x225)](_0x1c3a35[_0x5770cf(0x22c)],_0x208c12[_0x5770cf(0x282)])&&_0x557011++;_0x2307c9++,_0x2933a8+=_0x208c12['rCMbr'](_0x1c3a35[_0x5770cf(0x21e)],0x1);});}),_0x263bfa[_0x5e8ca0(0x214)](xunitWrite,_0x263bfa['cULYo'](tag,_0x263bfa['eLXRE'],{'name':_0x2e72dd,'tests':_0x2307c9,'failures':0x0,'errors':_0x557011,'skipped':_0x263bfa['bcoCD'](_0x263bfa[_0x5e8ca0(0x236)](_0x2307c9,_0x557011),_0x173157),'timestamp':new Date()[_0x5e8ca0(0x27f)](),'time':_0x263bfa[_0x5e8ca0(0x20e)](_0x2933a8,0x3e8)||0x0},![])),_0x45efe2[_0x5e8ca0(0x1ed)](_0x1eb09a=>{const _0x3d5ba4=_0x5e8ca0;_0x2dbfaf[_0x1eb09a][_0x263bfa[_0x3d5ba4(0x1c6)]]['forEach'](_0xfef88=>{_0x263bfa['UzAhc'](xunitTest,_0xfef88,_0x1eb09a);});}),_0x263bfa[_0x5e8ca0(0x242)](xunitWrite,_0x263bfa[_0x5e8ca0(0x27a)]);if(_0x23a31d[_0x5e8ca0(0x20b)])try{logger[_0x5e8ca0(0x1ce)](_0x263bfa['AWQsw'],_0x23a31d[_0x5e8ca0(0x20b)]),fs['writeFileSync'](_0x23a31d[_0x5e8ca0(0x20b)],xunitContent);}catch(_0x21ad95){logger[_0x5e8ca0(0x217)](_0x263bfa['uDxEK'],_0x23a31d['output']),logger[_0x5e8ca0(0x1ce)](_0x21ad95);}else logger[_0x5e8ca0(0x1ce)](_0x263bfa['AWvMd']),console[_0x5e8ca0(0x247)](xunitContent);}else{if(_0x263bfa[_0x5e8ca0(0x266)](_0x11016b,0x0))return;console[_0x5e8ca0(0x247)](),logger[_0x5e8ca0(0x1ce)](_0x263bfa['KtiBt']),console[_0x5e8ca0(0x247)](chalk[_0x5e8ca0(0x22a)][_0x5e8ca0(0x229)](_0x263bfa[_0x5e8ca0(0x208)])),_0x45efe2[_0x5e8ca0(0x1ed)](_0x3db3f0=>{const _0x515774=_0x5e8ca0,_0x15b720={'KBDVW':function(_0x3e049d,_0x554427){const _0x208480=a28_0x147b;return _0x263bfa[_0x208480(0x19d)](_0x3e049d,_0x554427);},'nxsQh':_0x263bfa[_0x515774(0x244)]},_0x57e96b=[];_0x2dbfaf[_0x3db3f0][_0x263bfa[_0x515774(0x1c6)]][_0x515774(0x1ed)](_0x4967a1=>{const _0x18f56f=_0x515774;_0x15b720['KBDVW'](_0x4967a1['state'],_0x15b720[_0x18f56f(0x267)])&&(_0x4967a1[_0x18f56f(0x252)]=()=>_0x4967a1[_0x18f56f(0x227)],_0x57e96b['push'](_0x4967a1));}),_0x263bfa['tmjfF'](_0x57e96b['length'],0x0)&&(Base[_0x515774(0x206)](),Base['consoleLog'](_0x263bfa[_0x515774(0x1b1)](_0x5620ec),chalk['bold'][_0x515774(0x228)](_0x3db3f0)),Base[_0x515774(0x210)](_0x57e96b));});}}}async function run(_0x344fc7,_0x48a9ee){const _0x498e64=a28_0x17a855,_0x485a36={'VXFjp':function(_0x35d17b,_0x2d4532,_0x38036f,_0x33857f){return _0x35d17b(_0x2d4532,_0x38036f,_0x33857f);},'vyovs':'reporter-option','niVcF':_0x498e64(0x268),'aaEJN':_0x498e64(0x23b),'FHteW':_0x498e64(0x23f),'HCPUz':_0x498e64(0x1d1),'niQAa':_0x498e64(0x1a4),'agFTu':function(_0x147bf6,_0x19fd9f){return _0x147bf6!=_0x19fd9f;},'peFYv':'cjs','udoMl':_0x498e64(0x1a3),'phEQj':_0x498e64(0x1b0),'BPVOU':'rerunTests','fKeye':function(_0x562963,_0x5421b6){return _0x562963(_0x5421b6);},'AhOVt':function(_0x51b305,_0x3bb8bd,_0x5d6fd0){return _0x51b305(_0x3bb8bd,_0x5d6fd0);},'iLThl':_0x498e64(0x1b6),'kwptR':_0x498e64(0x257),'NFaWS':_0x498e64(0x241),'InLXL':function(_0x5b9911,_0x544ed6,_0x5014da,_0x191a93){return _0x5b9911(_0x544ed6,_0x5014da,_0x191a93);},'SeqUp':function(_0x5d6751,_0x1bc52a){return _0x5d6751*_0x1bc52a;},'VEcYd':function(_0x29f226,_0x5483b7){return _0x29f226(_0x5483b7);},'MHdrL':function(_0x514bff,_0xe53969){return _0x514bff!==_0xe53969;},'jJAty':function(_0x415b52,_0x5579fe,_0x26c5b5,_0x18264f){return _0x415b52(_0x5579fe,_0x26c5b5,_0x18264f);}};process['argv'][_0x498e64(0x1bd)](_0x485a36[_0x498e64(0x209)])&&(process[_0x498e64(0x22e)][_0x498e64(0x1b3)]=![]);process['argv'][_0x498e64(0x1bd)](_0x485a36[_0x498e64(0x277)])&&(process[_0x498e64(0x22e)][_0x498e64(0x1d8)]=![]);const _0x1b7770=new BrowserStackSetup(_0x344fc7,_0x485a36[_0x498e64(0x204)]);helper['isBrowserstackInfra']()?(await _0x1b7770[_0x498e64(0x1c5)](),await helper['handleApp'](_0x1b7770[_0x498e64(0x1bf)])):await _0x1b7770[_0x498e64(0x25d)]();const _0xfd5b9e=[];let _0x316b95=[];if(!_0x1b7770[_0x498e64(0x1bf)])return;_0x485a36[_0x498e64(0x1a1)](_0x1b7770['config'][_0x498e64(0x22f)],null)&&(process[_0x498e64(0x22e)][_0x498e64(0x222)]=_0x1b7770['config'][_0x498e64(0x22f)]);!helper[_0x498e64(0x1e0)](_0x1b7770[_0x498e64(0x1bf)][_0x498e64(0x1d3)])&&(process[_0x498e64(0x22e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1b7770[_0x498e64(0x1bf)][_0x498e64(0x1d3)]);!helper[_0x498e64(0x1e0)](_0x1b7770[_0x498e64(0x1bf)][_0x498e64(0x22d)])&&(process[_0x498e64(0x22e)][_0x498e64(0x1d6)]=JSON[_0x498e64(0x203)](_0x1b7770[_0x498e64(0x1bf)]['accessibilityOptions']));const {extension:extension=['js',_0x485a36['peFYv'],_0x485a36[_0x498e64(0x220)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x485a36[_0x498e64(0x1c3)]]}=_0x344fc7,_0x37c849={..._0x344fc7};_0x37c849[_0x498e64(0x19b)]=null;const _0x115ea2=_0x37c849;let _0x34adc7;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x5a1616=process[_0x498e64(0x22e)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x498e64(0x1e0)](_0x1b7770[_0x498e64(0x1a2)])&&_0x1b7770[_0x498e64(0x1a2)][_0x498e64(0x1a9)](_0x485a36[_0x498e64(0x1ae)])&&(_0x5a1616=_0x1b7770[_0x498e64(0x1a2)]['get'](_0x485a36[_0x498e64(0x1ae)])),_0x34adc7=testOpsHelper[_0x498e64(0x218)](_0x5a1616);}if(helper['isUndefined'](_0x34adc7)){const _0x82dc6={};_0x82dc6['ignore']=ignore,_0x82dc6['extension']=extension,_0x82dc6[_0x498e64(0x232)]=file,_0x82dc6[_0x498e64(0x1d0)]=recursive,_0x82dc6['sort']=sort,_0x82dc6['spec']=spec,_0x34adc7=_0x485a36[_0x498e64(0x23c)](collectFiles,_0x82dc6),_0x485a36[_0x498e64(0x19a)](nestedKeyValue,_0x34adc7,[_0x485a36[_0x498e64(0x283)]])&&(_0x34adc7=_0x34adc7[_0x498e64(0x1b6)]);}helper[_0x498e64(0x1ee)]();if(!helper[_0x498e64(0x234)]()){const _0x1ac84c=0x1,_0x412037={..._0x115ea2};_0x412037[_0x498e64(0x251)]=[..._0x34adc7],_0xfd5b9e[_0x498e64(0x1e1)]({'mochaOpts':_0x412037,'configuration':{'platform':os[_0x498e64(0x248)]()}}),logger[_0x498e64(0x1ab)](_0x485a36[_0x498e64(0x1a7)]),logger['info'](_0x485a36[_0x498e64(0x249)]),_0x485a36['InLXL'](parallelTestRun,_0xfd5b9e,_0x1ac84c,_0x1b7770)[_0x498e64(0x1a6)](_0x3f9df1=>{const _0x17fa54=_0x498e64;_0x485a36[_0x17fa54(0x270)](printStats,_0x3f9df1,_0x344fc7[_0x17fa54(0x1fa)],_0x344fc7[_0x17fa54(0x26a)]||_0x344fc7[_0x485a36[_0x17fa54(0x272)]]);})[_0x498e64(0x233)](()=>{const _0x27281a=_0x498e64;try{const {browserstackFolderPath:_0x393d15,tcgConfigPath:_0x3082bd}=helper[_0x27281a(0x1e5)]();fs[_0x27281a(0x1ea)](_0x3082bd),fs[_0x27281a(0x1b7)](_0x393d15);}catch(_0xe398f3){logger['debug'](_0x485a36[_0x27281a(0x238)],_0xe398f3);}try{helper['fireFunnelTestEvent'](_0x485a36['aaEJN'],{},_0x1b7770[_0x27281a(0x1bf)],_0x1b7770[_0x27281a(0x1c8)]);}catch(_0x346267){logger[_0x27281a(0x1ce)](_0x27281a(0x1cb)+_0x346267);}try{helper[_0x27281a(0x1f8)]();}catch(_0x56f870){logger[_0x27281a(0x1ce)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x56f870);}testOpsHelper['printBuildLink']();});}else{const _0x2a4107=helper[_0x498e64(0x226)](_0x1b7770[_0x498e64(0x1bf)]),_0x5ca7a6=helper[_0x498e64(0x1d7)](_0x1b7770[_0x498e64(0x1bf)]);_0x316b95=helper[_0x498e64(0x245)](_0x1b7770[_0x498e64(0x1bf)],_0x2a4107,constants[_0x498e64(0x25a)][_0x498e64(0x289)]);let _0x92148e;const _0x5d2732=_0x1b7770[_0x498e64(0x1bf)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x344fc7,_0x48a9ee,_0x1b7770[_0x498e64(0x1bf)],constants[_0x498e64(0x25a)][_0x498e64(0x289)])||0x1;helper[_0x498e64(0x1f5)](_0x1b7770[_0x498e64(0x1bf)])?_0x92148e=_0x485a36['SeqUp'](_0x1b7770['config']['platforms'][_0x498e64(0x1e8)],_0x5d2732):_0x92148e=_0x5d2732;const _0xb97e7f=_0x485a36['VEcYd'](getPercyOptions,_0x1b7770[_0x498e64(0x1bf)]);if(_0x485a36[_0x498e64(0x254)](_0x1b7770['config'][_0x498e64(0x1bb)],0x1))_0x34adc7['forEach'](_0x420e3d=>{const _0x1a8681=_0x498e64,_0x19d2d7=[];_0x316b95[_0x1a8681(0x1ed)]((_0x2b4f2b,_0x227f53)=>{const _0x17fb1b=_0x1a8681,_0x179018={};_0x179018[_0x17fb1b(0x251)]=[_0x420e3d],_0x19d2d7[_0x17fb1b(0x1e1)]({'mochaOpts':Object[_0x17fb1b(0x1fb)]({},_0x115ea2,_0x179018),'configuration':{'server':_0x5ca7a6,'capability':_0x2b4f2b,'proxySettings':_0x1b7770[_0x17fb1b(0x1bf)]['proxySettings'],'platform':helper['getPlatformName'](_0x2b4f2b),'browserStackLogLevel':_0x1b7770[_0x17fb1b(0x1bf)][_0x17fb1b(0x20f)],'platformIndex':_0x227f53,'browserStackPercyOptions':_0xb97e7f,'platformCaps':_0x1b7770[_0x17fb1b(0x1bf)]['platforms'][_0x227f53]}});}),_0xfd5b9e[_0x1a8681(0x1e1)](..._0x19d2d7);});else{const _0x18af55=[];_0x316b95[_0x498e64(0x1ed)]((_0x8f78f2,_0xe63239)=>{const _0x582aac=_0x498e64;let _0x50508d=Object[_0x582aac(0x1fb)]({},_0x115ea2);testOpsHelper[_0x582aac(0x25e)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x50508d={..._0x50508d,'spec':[..._0x34adc7]}),_0x18af55[_0x582aac(0x1e1)]({'mochaOpts':_0x50508d,'configuration':{'server':_0x5ca7a6,'capability':_0x8f78f2,'proxySettings':_0x1b7770[_0x582aac(0x1bf)][_0x582aac(0x1f7)],'platform':helper[_0x582aac(0x1c9)](_0x8f78f2),'browserStackLogLevel':_0x1b7770[_0x582aac(0x1bf)][_0x582aac(0x20f)],'platformIndex':_0xe63239,'browserStackPercyOptions':_0xb97e7f,'platformCaps':_0x1b7770['config'][_0x582aac(0x1f3)][_0xe63239]}});}),_0xfd5b9e[_0x498e64(0x1e1)](..._0x18af55);}logger[_0x498e64(0x1ab)](_0x498e64(0x223)+_0x1b7770['config'][_0x498e64(0x1f3)][_0x498e64(0x1e8)]+'\x20platforms'),logger[_0x498e64(0x1ab)](_0x485a36[_0x498e64(0x249)]);let _0x485242;_0x485a36[_0x498e64(0x21f)](parallelTestRun,_0xfd5b9e,_0x92148e,_0x1b7770)[_0x498e64(0x1a6)](_0x59475b=>{const _0x33ef8d=_0x498e64;_0x485242=_0x59475b,_0x485a36[_0x33ef8d(0x270)](printStats,_0x59475b,_0x344fc7[_0x33ef8d(0x1fa)],_0x344fc7[_0x33ef8d(0x26a)]||_0x344fc7[_0x485a36[_0x33ef8d(0x272)]]);})['finally'](async()=>{const _0x455d30=_0x498e64;_0x1b7770[_0x455d30(0x1ec)]=helper[_0x455d30(0x1e4)](_0x485242,_0x485a36[_0x455d30(0x204)]),await helper[_0x455d30(0x215)](_0x1b7770),testOpsHelper[_0x455d30(0x1aa)]();});}}module[a28_0x17a855(0x1e7)]=run;
|