browserstack-node-sdk 1.34.10 → 1.34.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a23_0xe8fe80=a23_0x4832;(function(_0x1bbbd7,_0x341648){const _0x3a722c=a23_0x4832,_0x358405=_0x1bbbd7();while(!![]){try{const _0x29cffd=parseInt(_0x3a722c(0xe6))/0x1*(-parseInt(_0x3a722c(0xbd))/0x2)+parseInt(_0x3a722c(0xc3))/0x3*(-parseInt(_0x3a722c(0xb7))/0x4)+parseInt(_0x3a722c(0xc7))/0x5*(-parseInt(_0x3a722c(0xb5))/0x6)+parseInt(_0x3a722c(0xd0))/0x7+-parseInt(_0x3a722c(0xdb))/0x8*(parseInt(_0x3a722c(0xe0))/0x9)+parseInt(_0x3a722c(0xcf))/0xa*(-parseInt(_0x3a722c(0xd4))/0xb)+parseInt(_0x3a722c(0xc9))/0xc;if(_0x29cffd===_0x341648)break;else _0x358405['push'](_0x358405['shift']());}catch(_0x5b5292){_0x358405['push'](_0x358405['shift']());}}}(a23_0x1872,0x528ba));function a23_0x1872(){const _0x2adce7=['homedir','.browserstack','MgPmu','3253490zKEFaM','removeTestUUID','32330832DUsicq','tests','env','setup','jest-o11y-','parse','160jRinno','2082402CxMeDv','uuid','getTestData','hbJOt','426701taZJOY','dirPath','stringify','join','qQIpU','getFilePath','unlinkSync','56vyIeWW','_projectId','mkdirSync','bKVBr','XtbLP','402183DPnjTL','ENV_VAR','ASSCl','setTestData','existsSync','recursive','536754ABOdKz','../../../helpers/testhub/constants','6neDnRj','rmSync','11156ahrKCJ','_test','jreZA','KnXLD','shutdown','path','2HhEnaA','exports','DYnVN','BROWSERSTACK_TESTHUB_UUID','setTestUUID','toString','573yRVcrJ'];a23_0x1872=function(){return _0x2adce7;};return a23_0x1872();}const fs=require('fs'),path=require(a23_0xe8fe80(0xbc)),{v4:uuidv4}=require(a23_0xe8fe80(0xd1)),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0xe8fe80(0xe7));class TestDetails{static [a23_0xe8fe80(0xca)]={};static [a23_0xe8fe80(0xd5)]=path['join'](helper[a23_0xe8fe80(0xc4)](),a23_0xe8fe80(0xc5),a23_0xe8fe80(0xcd)+process[a23_0xe8fe80(0xcb)][testHubConstants[a23_0xe8fe80(0xe1)]['BROWSERSTACK_TESTHUB_UUID']]);static[a23_0xe8fe80(0xcc)](){const _0x1bfb33=a23_0xe8fe80,_0x360d26={};_0x360d26[_0x1bfb33(0xbf)]=_0x1bfb33(0xc5);const _0x34c11a=_0x360d26;this[_0x1bfb33(0xd5)]=path[_0x1bfb33(0xd7)](helper[_0x1bfb33(0xc4)](),_0x34c11a['DYnVN'],'jest-o11y-'+process[_0x1bfb33(0xcb)][testHubConstants['ENV_VAR'][_0x1bfb33(0xc0)]]),this[_0x1bfb33(0xbb)]();const _0x219140={};_0x219140[_0x1bfb33(0xe5)]=!![],fs[_0x1bfb33(0xdd)](this[_0x1bfb33(0xd5)],_0x219140);}static[a23_0xe8fe80(0xd9)](_0x208720){const _0x3def62=a23_0xe8fe80,_0x10d0e6={};_0x10d0e6['ASSCl']=function(_0x7beb71,_0x33655f){return _0x7beb71+_0x33655f;},_0x10d0e6[_0x3def62(0xde)]='.json';const _0x488b27=_0x10d0e6;return path[_0x3def62(0xd7)](this[_0x3def62(0xd5)],_0x488b27[_0x3def62(0xe2)](_0x208720,_0x488b27[_0x3def62(0xde)]));}static['getTestRunIdFromTestInfo'](_0x2e41e1){const _0x5a6fc1=a23_0xe8fe80,_0x136571={};_0x136571['hbJOt']=function(_0x2b2b90,_0x5dd347){return _0x2b2b90+_0x5dd347;},_0x136571[_0x5a6fc1(0xc6)]=function(_0x2a3b64,_0x243c24){return _0x2a3b64+_0x243c24;},_0x136571[_0x5a6fc1(0xdf)]=function(_0x55bee3,_0x25f31c){return _0x55bee3+_0x25f31c;},_0x136571[_0x5a6fc1(0xd8)]=function(_0x25d31f,_0x2c6554){return _0x25d31f+_0x2c6554;};const _0x15161b=_0x136571;return _0x15161b[_0x5a6fc1(0xd3)](_0x15161b['MgPmu'](_0x15161b[_0x5a6fc1(0xdf)](_0x15161b[_0x5a6fc1(0xd8)](_0x2e41e1[_0x5a6fc1(0xb8)][_0x5a6fc1(0xdc)],'-'),_0x2e41e1[_0x5a6fc1(0xb8)]['id']),'-'),_0x2e41e1['retry']);}static['getTestUUID'](_0x18dcb2){const _0xddef41=a23_0xe8fe80,_0xe94666=this[_0xddef41(0xd9)](_0x18dcb2);if(fs[_0xddef41(0xe4)](_0xe94666)){const _0x314ac8=JSON[_0xddef41(0xce)](fs['readFileSync'](_0xe94666)[_0xddef41(0xc2)]());return this['tests'][_0x18dcb2]=_0x314ac8,this[_0xddef41(0xca)][_0x18dcb2]['uuid'];}}static[a23_0xe8fe80(0xe3)](_0x29e5a6){const _0x1febbe=a23_0xe8fe80,_0x2dd33c={};_0x2dd33c[_0x1febbe(0xba)]='testData.json';const _0x8babd1=_0x2dd33c,_0x4aa4b6=path['join'](this['dirPath'],_0x8babd1['KnXLD']);fs['writeFileSync'](_0x4aa4b6,JSON[_0x1febbe(0xd6)](_0x29e5a6));}static[a23_0xe8fe80(0xd2)](){const _0x36c8f5=a23_0xe8fe80,_0x297870={};_0x297870[_0x36c8f5(0xb9)]='testData.json';const _0x34a0d2=_0x297870,_0x4f1252=path[_0x36c8f5(0xd7)](this['dirPath'],_0x34a0d2[_0x36c8f5(0xb9)]);let _0x5f5587={};try{return fs[_0x36c8f5(0xe4)](_0x4f1252)&&(_0x5f5587=JSON['parse'](fs['readFileSync'](_0x4f1252)[_0x36c8f5(0xc2)]())),_0x5f5587;}catch(_0x40306f){return _0x5f5587;}}static[a23_0xe8fe80(0xc1)](_0x57929f){const _0x26eebe=a23_0xe8fe80,_0x13810a={'YlJrV':function(_0x1da8e5){return _0x1da8e5();}},_0x4c1ebd=this[_0x26eebe(0xd9)](_0x57929f);return this['tests'][_0x57929f]={'uuid':_0x13810a['YlJrV'](uuidv4)},fs['writeFileSync'](_0x4c1ebd,JSON['stringify'](this[_0x26eebe(0xca)][_0x57929f])),this['tests'][_0x57929f]['uuid'];}static[a23_0xe8fe80(0xc8)](_0x234e42){const _0x25fb56=a23_0xe8fe80,_0x4aa30d=this[_0x25fb56(0xd9)](_0x234e42);fs[_0x25fb56(0xe4)](_0x4aa30d)&&fs[_0x25fb56(0xda)](_0x4aa30d);}static[a23_0xe8fe80(0xbb)](){const _0x1015aa=a23_0xe8fe80,_0x2f0843={};_0x2f0843[_0x1015aa(0xe5)]=!![],_0x2f0843['force']=!![],fs[_0x1015aa(0xb6)](this[_0x1015aa(0xd5)],_0x2f0843);}}function a23_0x4832(_0x4fcb8d,_0x25392d){const _0x18729c=a23_0x1872();return a23_0x4832=function(_0x48324b,_0x39cc41){_0x48324b=_0x48324b-0xb5;let _0x289327=_0x18729c[_0x48324b];return _0x289327;},a23_0x4832(_0x4fcb8d,_0x25392d);}module[a23_0xe8fe80(0xbe)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a24_0x58a8(_0x2e8270,_0x515063){const _0x459ec3=a24_0x459e();return a24_0x58a8=function(_0x58a837,_0x5819b9){_0x58a837=_0x58a837-0x1ea;let _0x397a59=_0x459ec3[_0x58a837];return _0x397a59;},a24_0x58a8(_0x2e8270,_0x515063);}const a24_0x4e6850=a24_0x58a8;(function(_0x4263dc,_0x1a9fbf){const _0x306278=a24_0x58a8,_0x2bfc97=_0x4263dc();while(!![]){try{const _0x518a94=parseInt(_0x306278(0x1f4))/0x1*(-parseInt(_0x306278(0x1f2))/0x2)+parseInt(_0x306278(0x1f1))/0x3+-parseInt(_0x306278(0x1ef))/0x4+parseInt(_0x306278(0x1ed))/0x5+parseInt(_0x306278(0x1f7))/0x6+-parseInt(_0x306278(0x1ee))/0x7*(parseInt(_0x306278(0x1f6))/0x8)+parseInt(_0x306278(0x1eb))/0x9*(-parseInt(_0x306278(0x1ec))/0xa);if(_0x518a94===_0x1a9fbf)break;else _0x2bfc97['push'](_0x2bfc97['shift']());}catch(_0x2315b9){_0x2bfc97['push'](_0x2bfc97['shift']());}}}(a24_0x459e,0xdb53b));const {requireModule}=require(a24_0x4e6850(0x1f0));require(a24_0x4e6850(0x1f5))();function a24_0x459e(){const _0x3024a3=['10272360PIhZor','keys','9BzSglP','1640500WXdhcr','3479495qieZQn','1555491rfLJeL','2181500YfeAPB','../../helpers/helper','3601332bDlhoZ','2cEvCTm','__webdriver','667337icGJMO','../../helpers/setKeepAlive','48NSZeud'];a24_0x459e=function(){return _0x3024a3;};return a24_0x459e();}const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x4e6850(0x1ea)](global[a24_0x4e6850(0x1f3)])){__wd__[key]=global[a24_0x4e6850(0x1f3)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a25_0x4b78(_0x58c3f5,_0x539e21){const _0x149571=a25_0x1495();return a25_0x4b78=function(_0x4b787d,_0x4e215f){_0x4b787d=_0x4b787d-0x175;let _0x27698f=_0x149571[_0x4b787d];return _0x27698f;},a25_0x4b78(_0x58c3f5,_0x539e21);}const a25_0xd12b7c=a25_0x4b78;(function(_0x43a987,_0x3f997c){const _0x10e4da=a25_0x4b78,_0x4aa4b6=_0x43a987();while(!![]){try{const _0x125ba0=parseInt(_0x10e4da(0x198))/0x1+parseInt(_0x10e4da(0x184))/0x2+-parseInt(_0x10e4da(0x193))/0x3+parseInt(_0x10e4da(0x185))/0x4*(parseInt(_0x10e4da(0x186))/0x5)+-parseInt(_0x10e4da(0x177))/0x6*(parseInt(_0x10e4da(0x18b))/0x7)+parseInt(_0x10e4da(0x18f))/0x8*(-parseInt(_0x10e4da(0x18d))/0x9)+parseInt(_0x10e4da(0x197))/0xa;if(_0x125ba0===_0x3f997c)break;else _0x4aa4b6['push'](_0x4aa4b6['shift']());}catch(_0x554063){_0x4aa4b6['push'](_0x4aa4b6['shift']());}}}(a25_0x1495,0x346c5));const path=require(a25_0xd12b7c(0x188)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a25_0xd12b7c(0x1a2)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0xd12b7c(0x1a1)),{commandRepository}=require(a25_0xd12b7c(0x175));function a25_0x1495(){const _0x489a42=['framework','platform','setConfig','mochaOpts','testsPassed','_configuration','_argv','../../helpers/helper','../utils/constants','testSuites','testsPending','../../helpers/ai-sdk/autoHealHelper','lRdOc','78CJOKVd','testsUnknown','capability','formatter','testsSkipped','setupCucumber','__platform__','_mochaOpts','_capability','split','Xulsn','testsUndefined','totalTests','761914SbUeYo','988tENJDc','7365anjPZt','_framework','path','testsAmbiguous','testsErrorMessage','21154TQoaSQ','_formatter','9ikvJZA','12|14|7|16|18|21|23|5|13|10|3|9|6|15|4|2|1|20|17|19|11|22|0|8','3016504BpUNRu','__platformCaps','platformCaps','includes','735930SorSsY','_accessibilityAutomation','configuration','setFramework','800480vctbwP','51548iESAwf','_bsConfig'];a25_0x1495=function(){return _0x489a42;};return a25_0x1495();}class Launcher{constructor(_0x42bd31,_0x582630,_0x588840,_0x2b3320=[]){const _0x5e4908=a25_0xd12b7c,_0xa9cb65={'lRdOc':_0x5e4908(0x18e),'Xulsn':function(_0x83f8d7){return _0x83f8d7();}},_0x14a291=_0xa9cb65[_0x5e4908(0x176)][_0x5e4908(0x180)]('|');let _0x22cad6=0x0;while(!![]){switch(_0x14a291[_0x22cad6++]){case'0':global[_0x5e4908(0x18a)]={};continue;case'1':global[_0x5e4908(0x1a4)]=0x0;continue;case'2':global['testsFailed']=0x0;continue;case'3':this[_0x5e4908(0x194)]=_0xa9cb65[_0x5e4908(0x181)](isAccessibilityAutomationSession);continue;case'4':global[_0x5e4908(0x19e)]=0x0;continue;case'5':this[_0x5e4908(0x1a0)]=_0x2b3320;continue;case'6':global[_0x5e4908(0x1a3)]=0x0;continue;case'7':this[_0x5e4908(0x19f)][_0x5e4908(0x19a)]=_0x42bd31;continue;case'8':!constants['AI_ENABLED_FRAMEWORK'][_0x5e4908(0x192)](_0x42bd31)&&(commandRepository[_0x5e4908(0x19c)](_0x588840),commandRepository[_0x5e4908(0x196)](_0x42bd31));continue;case'9':global[_0x5e4908(0x190)]=this[_0x5e4908(0x19f)][_0x5e4908(0x191)]||{};continue;case'10':this['_testObservability']=_0xa9cb65[_0x5e4908(0x181)](isTestObservabilitySession);continue;case'11':global[_0x5e4908(0x178)]=0x0;continue;case'12':this[_0x5e4908(0x187)]=_0x42bd31;continue;case'13':this[_0x5e4908(0x199)]=_0x588840;continue;case'14':this[_0x5e4908(0x19f)]=_0x582630[_0x5e4908(0x195)]||{};continue;case'15':global[_0x5e4908(0x183)]=0x0;continue;case'16':this[_0x5e4908(0x17e)]=_0x582630[_0x5e4908(0x19d)];continue;case'17':global['testSuitesFailed']=0x0;continue;case'18':this[_0x5e4908(0x18c)]=_0x582630[_0x5e4908(0x17a)];continue;case'19':global[_0x5e4908(0x182)]=0x0;continue;case'20':global[_0x5e4908(0x17b)]=0x0;continue;case'21':this[_0x5e4908(0x17f)]=this[_0x5e4908(0x19f)][_0x5e4908(0x179)];continue;case'22':global[_0x5e4908(0x189)]=0x0;continue;case'23':global[_0x5e4908(0x17d)]=this[_0x5e4908(0x19f)][_0x5e4908(0x19b)];continue;}break;}}[a25_0xd12b7c(0x17c)](_0x3805f5,_0xab4ab,_0x3d32be){const _0x17717f=_0x3805f5['resolvePaths'];_0x3805f5.resolvePaths=async function(){const pathResults=await _0x17717f.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3d32be));return pathResults;},_0xab4ab.push('--format'),_0xab4ab.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
1
|
+
const a25_0x44bb39=a25_0x35e0;function a25_0x35e0(_0x2231bc,_0x59af3c){const _0xdc8825=a25_0xdc88();return a25_0x35e0=function(_0x35e0b3,_0x47680e){_0x35e0b3=_0x35e0b3-0x1b5;let _0x4be95b=_0xdc8825[_0x35e0b3];return _0x4be95b;},a25_0x35e0(_0x2231bc,_0x59af3c);}function a25_0xdc88(){const _0x5f1922=['testSuitesFailed','473CXJHeW','40JSuCah','capability','_capability','91ryVsCH','setConfig','testsUnknown','includes','721488bCaFQL','1605558xNKFyw','configuration','_bsConfig','38802WNDZka','setFramework','AI_ENABLED_FRAMEWORK','testsUndefined','_testObservability','10fUWoMX','16|12|19|11|17|5|22|6|18|0|4|14|10|23|8|9|20|2|15|21|1|13|7|3','368274KjDtwG','resolvePaths','framework','_configuration','testsFailed','__platformCaps','RPcAJ','8136297ftaRaE','grdkp','_framework','8QeGLRW','testsPending','_argv','_formatter','../utils/constants','401014qOgPNY','248616YBwpEb','../../helpers/test-observability/requestQueueHandler','_mochaOpts','testsErrorMessage','_accessibilityAutomation','testsAmbiguous','path','../../helpers/test-observability/utils','platformCaps','setupCucumber','testsPassed','testsSkipped','../../helpers/helper'];a25_0xdc88=function(){return _0x5f1922;};return a25_0xdc88();}(function(_0x1e180b,_0x45a234){const _0x12b0cc=a25_0x35e0,_0x4043c5=_0x1e180b();while(!![]){try{const _0xa92a68=-parseInt(_0x12b0cc(0x1d2))/0x1+-parseInt(_0x12b0cc(0x1b9))/0x2+parseInt(_0x12b0cc(0x1c3))/0x3*(-parseInt(_0x12b0cc(0x1cd))/0x4)+-parseInt(_0x12b0cc(0x1e2))/0x5*(parseInt(_0x12b0cc(0x1bc))/0x6)+parseInt(_0x12b0cc(0x1e5))/0x7*(parseInt(_0x12b0cc(0x1d3))/0x8)+parseInt(_0x12b0cc(0x1ca))/0x9*(-parseInt(_0x12b0cc(0x1c1))/0xa)+-parseInt(_0x12b0cc(0x1e1))/0xb*(-parseInt(_0x12b0cc(0x1b8))/0xc);if(_0xa92a68===_0x45a234)break;else _0x4043c5['push'](_0x4043c5['shift']());}catch(_0x4e1a00){_0x4043c5['push'](_0x4043c5['shift']());}}}(a25_0xdc88,0x8ea3f));const path=require(a25_0x44bb39(0x1d9)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x44bb39(0x1df)),constants=require(a25_0x44bb39(0x1d1)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x44bb39(0x1d4)),{isTestObservabilitySession}=require(a25_0x44bb39(0x1da)),helper=require(a25_0x44bb39(0x1df)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper');class Launcher{constructor(_0x80603b,_0x3c9f4a,_0x154c28,_0x58f152=[]){const _0x3b225f=a25_0x44bb39,_0x3badab={'RPcAJ':_0x3b225f(0x1c2),'grdkp':function(_0x5cbb63){return _0x5cbb63();}},_0x5da1b8=_0x3badab[_0x3b225f(0x1c9)]['split']('|');let _0x6450b=0x0;while(!![]){switch(_0x5da1b8[_0x6450b++]){case'0':this[_0x3b225f(0x1c0)]=_0x3badab[_0x3b225f(0x1cb)](isTestObservabilitySession);continue;case'1':global[_0x3b225f(0x1b6)]=0x0;continue;case'2':global[_0x3b225f(0x1de)]=0x0;continue;case'3':!constants[_0x3b225f(0x1be)][_0x3b225f(0x1b7)](_0x80603b)&&(commandRepository[_0x3b225f(0x1b5)](_0x154c28),commandRepository[_0x3b225f(0x1bd)](_0x80603b));continue;case'4':this[_0x3b225f(0x1d7)]=_0x3badab[_0x3b225f(0x1cb)](isAccessibilityAutomationSession);continue;case'5':this[_0x3b225f(0x1e4)]=this['_configuration'][_0x3b225f(0x1e3)];continue;case'6':this[_0x3b225f(0x1cf)]=_0x58f152;continue;case'7':global[_0x3b225f(0x1d6)]={};continue;case'8':global[_0x3b225f(0x1dd)]=0x0;continue;case'9':global[_0x3b225f(0x1c7)]=0x0;continue;case'10':global['testSuites']=0x0;continue;case'11':this[_0x3b225f(0x1d5)]=_0x3c9f4a['mochaOpts'];continue;case'12':this['_configuration']=_0x3c9f4a[_0x3b225f(0x1ba)]||{};continue;case'13':global[_0x3b225f(0x1d8)]=0x0;continue;case'14':global[_0x3b225f(0x1c8)]=this[_0x3b225f(0x1c6)][_0x3b225f(0x1db)]||{};continue;case'15':global[_0x3b225f(0x1e0)]=0x0;continue;case'16':this[_0x3b225f(0x1cc)]=_0x80603b;continue;case'17':this[_0x3b225f(0x1d0)]=_0x3c9f4a['formatter'];continue;case'18':this[_0x3b225f(0x1bb)]=_0x154c28;continue;case'19':this[_0x3b225f(0x1c6)][_0x3b225f(0x1c5)]=_0x80603b;continue;case'20':global[_0x3b225f(0x1ce)]=0x0;continue;case'21':global[_0x3b225f(0x1bf)]=0x0;continue;case'22':global['__platform__']=this[_0x3b225f(0x1c6)]['platform'];continue;case'23':global['totalTests']=0x0;continue;}break;}}[a25_0x44bb39(0x1dc)](_0x38423e,_0x3fd09e,_0x6b6562){const _0x435047=a25_0x44bb39,_0x47eabb=_0x38423e[_0x435047(0x1c4)];_0x38423e.resolvePaths=async function(){const pathResults=await _0x47eabb.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x6b6562));return pathResults;},_0x3fd09e.push('--format'),_0x3fd09e.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0xf82d68=a26_0x460b;(function(_0x260bda,_0x3d217f){const _0x1e49cb=a26_0x460b,_0x489b97=_0x260bda();while(!![]){try{const _0x1a49d4=-parseInt(_0x1e49cb(0x18a))/0x1+-parseInt(_0x1e49cb(0x16c))/0x2+parseInt(_0x1e49cb(0x187))/0x3*(-parseInt(_0x1e49cb(0x148))/0x4)+parseInt(_0x1e49cb(0x164))/0x5*(-parseInt(_0x1e49cb(0x158))/0x6)+-parseInt(_0x1e49cb(0x172))/0x7+-parseInt(_0x1e49cb(0x15b))/0x8+parseInt(_0x1e49cb(0x175))/0x9;if(_0x1a49d4===_0x3d217f)break;else _0x489b97['push'](_0x489b97['shift']());}catch(_0x30448a){_0x489b97['push'](_0x489b97['shift']());}}}(a26_0xa0e5,0xb7a51));function a26_0xa0e5(){const _0x17a486=['requireModule','bloCZ','accessibility','browserVersion','BS_A11Y_JWT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','nestedKeyValue','chromeOptions','__cloud_provider___','scannerVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','348fdjFYQ','parse','get','4259040xgSHkT','pKCjI','Options','getBrowserVersion','MpQxl','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','KPAtV','getPlatform','path','41460CjgtrM','zKzbx','gWwGv','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../../helpers/logger','QUrRD','capabilities_','setGlobal','793326kokyQB','args','options_','SrVxR','gnwse','accessibilityOptions','3787847bJfbtC','--headless','wcMHh','44722656BsSITq','../../../helpers/globals','fRCyV','TrfHG','warn','winstonLogger','env','IDYWx','bstack:options','authToken','capability','chrome','jHRWQ','AsQoN','LSaBV','getBrowserName','browserstack.accessibilityOptions','rQVuD','33609VJbwfR','getCapabilities','../../../helpers/helper','1380838UdJsJi','deviceName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','isUndefined','setExtension','selenium-webdriver/chrome.js','browserstack.accessibility','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','device','eIosp','VddDZ','316fWTUJx','WuIpb','isAccessibilityPlatform','debug','Bqkqx'];a26_0xa0e5=function(){return _0x17a486;};return a26_0xa0e5();}function a26_0x460b(_0x2f8a85,_0x6b646b){const _0xa0e5b=a26_0xa0e5();return a26_0x460b=function(_0x460b03,_0x4607c9){_0x460b03=_0x460b03-0x146;let _0x142f6f=_0xa0e5b[_0x460b03];return _0x142f6f;},a26_0x460b(_0x2f8a85,_0x6b646b);}const path=require(a26_0xf82d68(0x163)),os=require('os'),util=require('util'),bsSetupHelper=require(a26_0xf82d68(0x189)),globals=require(a26_0xf82d68(0x176)),logger=require(a26_0xf82d68(0x168))[a26_0xf82d68(0x17a)];exports['setAccessibilityCapabilities']=_0x32a59d=>{const _0x4637d8=a26_0xf82d68,_0xa3e0e6={};_0xa3e0e6['rQVuD']=_0x4637d8(0x17d),_0xa3e0e6[_0x4637d8(0x14c)]=_0x4637d8(0x190),_0xa3e0e6[_0x4637d8(0x170)]=_0x4637d8(0x14a),_0xa3e0e6[_0x4637d8(0x146)]=_0x4637d8(0x185);const _0x4b751b=_0xa3e0e6;try{const _0x56ba24=_0x32a59d[_0x4637d8(0x17f)]||{};if(_0x56ba24[_0x4b751b[_0x4637d8(0x186)]]&&_0x56ba24[_0x4b751b['rQVuD']][_0x4637d8(0x14f)]||_0x32a59d[_0x4637d8(0x17f)][_0x4b751b[_0x4637d8(0x14c)]]){globals[_0x4637d8(0x16b)](_0x4b751b[_0x4637d8(0x170)],!![]);if(_0x56ba24[_0x4b751b[_0x4637d8(0x186)]]){if(_0x56ba24[_0x4b751b[_0x4637d8(0x186)]][_0x4637d8(0x171)])_0x56ba24[_0x4b751b[_0x4637d8(0x186)]][_0x4637d8(0x171)][_0x4637d8(0x17e)]=process['env'][_0x4637d8(0x151)];else{const _0xb3f7b7={};_0xb3f7b7[_0x4637d8(0x17e)]=process[_0x4637d8(0x17b)]['BS_A11Y_JWT'],_0x56ba24[_0x4b751b[_0x4637d8(0x186)]][_0x4637d8(0x171)]=_0xb3f7b7;}_0x56ba24[_0x4b751b[_0x4637d8(0x186)]][_0x4637d8(0x171)]['scannerVersion']=JSON['parse'](process['env'][_0x4637d8(0x157)])[_0x4637d8(0x156)];}else{if(_0x32a59d[_0x4637d8(0x17f)][_0x4b751b[_0x4637d8(0x14c)]]){if(_0x56ba24[_0x4b751b[_0x4637d8(0x146)]])_0x56ba24[_0x4b751b[_0x4637d8(0x146)]][_0x4637d8(0x17e)]=process[_0x4637d8(0x17b)][_0x4637d8(0x151)];else{const _0xe341c4={};_0xe341c4[_0x4637d8(0x17e)]=process[_0x4637d8(0x17b)][_0x4637d8(0x151)],_0x56ba24[_0x4b751b[_0x4637d8(0x146)]]=_0xe341c4;}_0x56ba24[_0x4b751b[_0x4637d8(0x146)]][_0x4637d8(0x156)]=JSON[_0x4637d8(0x159)](process['env'][_0x4637d8(0x157)])[_0x4637d8(0x156)];}}}}catch(_0x47d437){logger[_0x4637d8(0x14b)](_0x4637d8(0x160)+_0x47d437);}},exports[a26_0xf82d68(0x18e)]=(_0x8afd46,_0x3519c8)=>{const _0x41f59f=a26_0xf82d68,_0x3ae229={};_0x3ae229[_0x41f59f(0x14e)]=_0x41f59f(0x17d),_0x3ae229[_0x41f59f(0x15c)]=function(_0x55c10a,_0x19ade3){return _0x55c10a!==_0x19ade3;},_0x3ae229[_0x41f59f(0x183)]=_0x41f59f(0x152),_0x3ae229[_0x41f59f(0x178)]=_0x41f59f(0x180),_0x3ae229[_0x41f59f(0x166)]=_0x41f59f(0x167),_0x3ae229[_0x41f59f(0x161)]=function(_0xb163f5,_0x9c572){return _0xb163f5===_0x9c572;},_0x3ae229[_0x41f59f(0x169)]='latest',_0x3ae229[_0x41f59f(0x149)]=function(_0x5f26dc,_0x5877eb){return _0x5f26dc>_0x5877eb;},_0x3ae229[_0x41f59f(0x165)]=_0x41f59f(0x18c),_0x3ae229[_0x41f59f(0x147)]=_0x41f59f(0x18f),_0x3ae229[_0x41f59f(0x16f)]=_0x41f59f(0x16e),_0x3ae229[_0x41f59f(0x174)]=_0x41f59f(0x16d),_0x3ae229['fRCyV']=_0x41f59f(0x154),_0x3ae229['IDYWx']=_0x41f59f(0x173),_0x3ae229[_0x41f59f(0x182)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x2b6ad1=_0x3ae229;try{const _0x4c1f30=_0x3519c8[_0x41f59f(0x17f)]||{},_0x468340=(_0x4c1f30[_0x2b6ad1[_0x41f59f(0x14e)]]?_0x4c1f30[_0x2b6ad1[_0x41f59f(0x14e)]][_0x41f59f(0x18b)]:_0x4c1f30[_0x41f59f(0x192)])||'';if(_0x2b6ad1[_0x41f59f(0x15c)](_0x468340,''))return logger[_0x41f59f(0x179)](_0x2b6ad1[_0x41f59f(0x183)]),![];const _0x5881e7=_0x4c1f30['browserName']||_0x8afd46[_0x41f59f(0x16a)][_0x41f59f(0x184)]();if(_0x2b6ad1[_0x41f59f(0x15c)](_0x5881e7['toLowerCase'](),_0x2b6ad1[_0x41f59f(0x178)]))return logger['warn'](_0x2b6ad1[_0x41f59f(0x166)]),![];const _0x498663=_0x4c1f30[_0x41f59f(0x150)]||_0x4c1f30['browser_version']||_0x8afd46[_0x41f59f(0x16a)][_0x41f59f(0x15e)]();if(!bsSetupHelper[_0x41f59f(0x18d)](_0x498663)&&!(_0x2b6ad1[_0x41f59f(0x161)](_0x498663,_0x2b6ad1[_0x41f59f(0x169)])||_0x2b6ad1[_0x41f59f(0x149)](_0x498663,0x5e)))return logger[_0x41f59f(0x179)](_0x2b6ad1[_0x41f59f(0x165)]),![];let _0x45f38f;try{_0x45f38f=bsSetupHelper[_0x41f59f(0x14d)](_0x2b6ad1[_0x41f59f(0x147)]);}catch(_0x78874b){return![];}const _0x14d0a2=new _0x45f38f[(_0x41f59f(0x15d))](_0x8afd46['chromeOptions_']),_0x5bad91=bsSetupHelper[_0x41f59f(0x153)](_0x14d0a2,[_0x2b6ad1[_0x41f59f(0x16f)],_0x2b6ad1[_0x41f59f(0x174)]])||bsSetupHelper[_0x41f59f(0x153)](_0x8afd46['capabilities_'][_0x41f59f(0x15a)](_0x2b6ad1[_0x41f59f(0x14e)]),[_0x2b6ad1[_0x41f59f(0x177)],_0x2b6ad1['wcMHh']])||bsSetupHelper[_0x41f59f(0x153)](_0x8afd46['capabilities_'][_0x41f59f(0x15a)](_0x2b6ad1[_0x41f59f(0x177)]),[_0x2b6ad1[_0x41f59f(0x174)]])||[];if(_0x5bad91['includes'](_0x2b6ad1[_0x41f59f(0x17c)]))return logger[_0x41f59f(0x179)](_0x2b6ad1[_0x41f59f(0x182)]),![];return!![];}catch(_0x3de5dc){logger[_0x41f59f(0x14b)]('Exception\x20in\x20setExtension\x20Error:\x20'+util['format'](_0x3de5dc));}return![];},exports['fetchPlatformDetails']=async _0x3ac913=>{const _0x5390ff=a26_0xf82d68,_0x3e6c2b={};_0x3e6c2b[_0x5390ff(0x181)]=function(_0x73e7ba,_0x887fc6){return _0x73e7ba===_0x887fc6;},_0x3e6c2b[_0x5390ff(0x15f)]='browserstack';const _0x1825b7=_0x3e6c2b;let _0x1e98a5={};try{const _0x49b3af=await _0x3ac913[_0x5390ff(0x188)]();_0x1e98a5={'os_name':_0x49b3af[_0x5390ff(0x162)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x1825b7[_0x5390ff(0x181)](global[_0x5390ff(0x155)],_0x1825b7['MpQxl'])),'browser_name':_0x49b3af[_0x5390ff(0x184)](),'browser_version':_0x49b3af[_0x5390ff(0x15e)]()};}catch(_0x55fb5b){logger[_0x5390ff(0x14b)](_0x5390ff(0x191)+_0x55fb5b);}return _0x1e98a5;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a27_0x232250=a27_0x38da;(function(_0x313066,_0x52af9d){const _0x5eeb85=a27_0x38da,_0x27f0a6=_0x313066();while(!![]){try{const _0x33d306=parseInt(_0x5eeb85(0x87))/0x1*(parseInt(_0x5eeb85(0x19d))/0x2)+parseInt(_0x5eeb85(0xc6))/0x3*(parseInt(_0x5eeb85(0x93))/0x4)+-parseInt(_0x5eeb85(0x95))/0x5*(parseInt(_0x5eeb85(0xa5))/0x6)+parseInt(_0x5eeb85(0xcd))/0x7+-parseInt(_0x5eeb85(0x165))/0x8+-parseInt(_0x5eeb85(0x177))/0x9+-parseInt(_0x5eeb85(0xe3))/0xa*(-parseInt(_0x5eeb85(0x195))/0xb);if(_0x33d306===_0x52af9d)break;else _0x27f0a6['push'](_0x27f0a6['shift']());}catch(_0x422a3b){_0x27f0a6['push'](_0x27f0a6['shift']());}}}(a27_0x411e,0x99805));const util=require(a27_0x232250(0xd7)),fs=require('fs'),path=require('path'),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a27_0x232250(0x9f)),utils=requireModule(a27_0x232250(0x134)),color=Base[a27_0x232250(0xee)],Mocha=requireModule('mocha'),Runnable=requireModule('mocha/lib/runnable.js'),{v4:uuidv4}=require(a27_0x232250(0x12b)),bsSetupHelper=require(a27_0x232250(0x109)),testhubUtils=require(a27_0x232250(0x120)),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a27_0x232250(0x185)),a27_0x2dffa3={};function a27_0x38da(_0x2f9592,_0x2ee35e){const _0x411e21=a27_0x411e();return a27_0x38da=function(_0x38da14,_0xbe3f52){_0x38da14=_0x38da14-0x7c;let _0x392834=_0x411e21[_0x38da14];return _0x392834;},a27_0x38da(_0x2f9592,_0x2ee35e);}a27_0x2dffa3[a27_0x232250(0x155)]=a27_0x232250(0xc9),a27_0x2dffa3[a27_0x232250(0x89)]='AFTER_ALL',a27_0x2dffa3[a27_0x232250(0xe0)]=a27_0x232250(0x13b),a27_0x2dffa3[a27_0x232250(0x147)]=a27_0x232250(0x154);const HOOK_TYPES_MAP=a27_0x2dffa3,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a27_0x232250(0x161)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x232250(0x161)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x232250(0x114)),{consoleHolder}=require(a27_0x232250(0x185)),SessionHandler=require(a27_0x232250(0xb8)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x232250(0x130)),RequestQueueHandler=require(a27_0x232250(0x12c)),requestQueueHandler=RequestQueueHandler[a27_0x232250(0xd5)]();class MyReporter{constructor(_0x30781d,_0x48f373){const _0x3ed779=a27_0x232250,_0x561562={'rrSdg':function(_0x4f3525,_0x586fa9){return _0x4f3525===_0x586fa9;},'xoHcV':'spec','LBTju':function(_0x2aa718,_0x5d9370){return _0x2aa718+_0x5d9370;},'QvICF':function(_0x133750,_0x53dbd6,_0x1d80e8){return _0x133750(_0x53dbd6,_0x1d80e8);},'BNGhA':_0x3ed779(0xfe),'HOhhD':'%s\x20','stYUP':'light','BbShI':_0x3ed779(0xef),'iXjQB':_0x3ed779(0xde),'ZJoFt':function(_0x33ed70,_0x407772){return _0x33ed70===_0x407772;},'ESqqE':'doc','fSBcL':function(_0x367441,_0x501e28){return _0x367441===_0x501e28;},'QWZwe':function(_0x1c8e00){return _0x1c8e00();},'EzSOW':_0x3ed779(0x18f),'aimVM':function(_0x19e880,_0x57c91d){return _0x19e880===_0x57c91d;},'oaKeI':_0x3ed779(0x171),'IoxSh':function(_0x54af41,_0x30ef0f){return _0x54af41===_0x30ef0f;},'ggyCQ':'passed','fCHxf':_0x3ed779(0x10f),'IHGhj':function(_0x3c3f59,_0x338199){return _0x3c3f59+_0x338199;},'zTxld':function(_0x4a9e4f,_0x1f1c8b){return _0x4a9e4f+_0x1f1c8b;},'RgFLz':function(_0x362d45,_0x3e542d,_0x251882){return _0x362d45(_0x3e542d,_0x251882);},'hyCjQ':'checkmark','AWkyq':_0x3ed779(0xdf),'ggCab':_0x3ed779(0xaa),'okAMv':function(_0x40b23f,_0x16d9b0,_0x31f096){return _0x40b23f(_0x16d9b0,_0x31f096);},'GcYEb':_0x3ed779(0x175),'rdUPX':function(_0x1ceb61,_0x2fc866,_0x5d4e59){return _0x1ceb61(_0x2fc866,_0x5d4e59);},'OWXOu':_0x3ed779(0x179),'XwHZO':'\x20\x20%d)\x20%s','ajvOA':function(_0x101ab5,_0x2245f9){return _0x101ab5===_0x2245f9;},'qvShE':function(_0x544def,_0x1142f6){return _0x544def+_0x1142f6;},'HWLQI':_0x3ed779(0x173),'KzmkI':function(_0x547b95,_0x4896be,_0x1fdfc9){return _0x547b95(_0x4896be,_0x1fdfc9);},'hfXUO':_0x3ed779(0x117),'gZKlw':function(_0x5680ba,_0x43d787){return _0x5680ba===_0x43d787;},'hLxvV':'dot','MytBD':function(_0x28c830,_0x224de8){return _0x28c830===_0x224de8;},'UdzpZ':_0x3ed779(0xe7),'tGpvb':function(_0xac98aa,_0x3719f2){return _0xac98aa===_0x3719f2;},'Fcxym':_0x3ed779(0x128),'brUPx':_0x3ed779(0x186),'nTmZl':function(_0x3257c0,_0x20cf5e){return _0x3257c0===_0x20cf5e;},'WGrnW':function(_0x5ea655){return _0x5ea655();},'EDiNL':'TestRunSkipped','MhmGE':function(_0x1d07d6,_0x2bd4be){return _0x1d07d6===_0x2bd4be;},'HQDVU':function(_0x11f3d3,_0x3ec6f4){return _0x11f3d3(_0x3ec6f4);},'oylst':function(_0x540172,_0x29e750){return _0x540172(_0x29e750);},'mZRKu':function(_0x4c0377,_0x49e4cb){return _0x4c0377===_0x49e4cb;},'OmZhI':function(_0x4e9434,_0x1ddfc8){return _0x4e9434===_0x1ddfc8;},'iVUPL':_0x3ed779(0xa3),'PEeBL':function(_0x40f694,_0x3f9010){return _0x40f694(_0x3f9010);},'HxViP':function(_0x57c6c5,_0x15c696){return _0x57c6c5===_0x15c696;},'Pvmrb':function(_0x9bd818,_0x2e593e){return _0x9bd818(_0x2e593e);},'yuzhx':function(_0x2fd604,_0xee18e9){return _0x2fd604!==_0xee18e9;}};this[_0x3ed779(0x7e)]=_0x48f373[_0x3ed779(0x99)]['type'],this[_0x3ed779(0x164)]=_0x561562[_0x3ed779(0x145)](isTestObservabilitySession),Base[_0x3ed779(0x15f)](this,_0x30781d,_0x48f373),this[_0x3ed779(0xf4)]=0x0,this[_0x3ed779(0xe5)]=0x0,this[_0x3ed779(0xb9)]=[],this[_0x3ed779(0xdd)]=[],this[_0x3ed779(0xac)]=0x0,this[_0x3ed779(0xb4)]=![],this[_0x3ed779(0xda)]=[],this[_0x3ed779(0x11b)]=_0x561562['QWZwe'](getTestEnv),this[_0x3ed779(0x127)]=new PathHelper({'cwd':process[_0x3ed779(0x140)]()},this['_testEnv'][_0x3ed779(0x187)]),this[_0x3ed779(0x8c)]=_0x48f373[_0x3ed779(0x99)]['bsConfig'],this['registerListeners']();_0x561562[_0x3ed779(0x7c)](this[_0x3ed779(0x7e)],_0x561562[_0x3ed779(0x141)])&&(this[_0x3ed779(0x15c)]='',this[_0x3ed779(0x100)]=0x2);_0x30781d[_0x3ed779(0x11e)](EVENT_RUN_BEGIN,async()=>{const _0x2e7f1d=_0x3ed779;_0x561562[_0x2e7f1d(0x16a)](this[_0x2e7f1d(0x7e)],_0x561562[_0x2e7f1d(0x121)])&&Base[_0x2e7f1d(0x17f)]();})['on'](EVENT_SUITE_BEGIN,_0x14b71f=>{const _0x1d28cc=_0x3ed779;if(_0x14b71f[_0x1d28cc(0x1a9)])return;if(_0x561562[_0x1d28cc(0x16a)](this['type'],_0x561562[_0x1d28cc(0x121)]))this['increaseIndent'](),Base['consoleLog'](_0x561562[_0x1d28cc(0x174)](_0x561562[_0x1d28cc(0x174)](this[_0x1d28cc(0x8f)](),_0x561562[_0x1d28cc(0x19a)](color,_0x561562[_0x1d28cc(0x12a)],_0x561562['HOhhD'])),_0x561562['QvICF'](color,_0x561562[_0x1d28cc(0xf2)],_0x561562[_0x1d28cc(0xa7)])),_0x561562[_0x1d28cc(0x184)],_0x14b71f[_0x1d28cc(0x131)],global[_0x1d28cc(0x101)]);else _0x561562[_0x1d28cc(0xba)](this[_0x1d28cc(0x7e)],_0x561562[_0x1d28cc(0x141)])&&(this[_0x1d28cc(0xdc)](this[_0x1d28cc(0x8f)]()+_0x1d28cc(0x103)),++this[_0x1d28cc(0x100)],this[_0x1d28cc(0xdc)](this[_0x1d28cc(0x8f)]()+'<h1>'+utils['escape'](_0x14b71f[_0x1d28cc(0x131)]+_0x1d28cc(0xb7)+global['__platform__'])+_0x1d28cc(0xcc)),this['docAppend'](this[_0x1d28cc(0x8f)]()+_0x1d28cc(0x8e)));})['on'](EVENT_HOOK_BEGIN,async _0x27da9f=>{const _0x2cea21=_0x3ed779;if(_0x561562[_0x2cea21(0x10a)](testhubUtils[_0x2cea21(0x112)](testHubConstants['EVENT'][_0x2cea21(0x188)]),!![])){if(!_0x27da9f[_0x2cea21(0xc0)])_0x27da9f[_0x2cea21(0xc0)]=_0x561562[_0x2cea21(0x13c)](uuidv4);else _0x27da9f[_0x2cea21(0xed)]&&(_0x27da9f['hookAnalyticsId']=_0x561562[_0x2cea21(0x13c)](uuidv4),delete _0x27da9f['markedStatus']);_0x27da9f[_0x2cea21(0xd0)]=new Date()[_0x2cea21(0x83)](),this['current_hook']=_0x27da9f,await this['sendTestRunEvent'](_0x27da9f,undefined,![],_0x561562['EzSOW']);}})['on'](EVENT_HOOK_END,async _0x36fc80=>{const _0x1da1b9=_0x3ed779;_0x561562[_0x1da1b9(0xce)](testhubUtils[_0x1da1b9(0x112)](testHubConstants[_0x1da1b9(0xae)][_0x1da1b9(0xd6)]),!![])&&(!_0x36fc80[_0x1da1b9(0xed)]&&(_0x36fc80['markedStatus']=!![],await this[_0x1da1b9(0x104)](_0x36fc80,undefined,![],_0x561562[_0x1da1b9(0xab)])));})['on'](EVENT_SUITE_END,_0x243530=>{const _0x3c63a4=_0x3ed779,_0x1adfb2={'FsufJ':function(_0x467406,_0x9d1f44){return _0x561562['IoxSh'](_0x467406,_0x9d1f44);},'cIzec':_0x561562[_0x3c63a4(0x122)],'MpChA':_0x561562[_0x3c63a4(0xaf)],'pkulD':function(_0x5d57e1,_0x44a090){const _0x1a90e3=_0x3c63a4;return _0x561562[_0x1a90e3(0xec)](_0x5d57e1,_0x44a090);},'zqPUE':function(_0x49a08e,_0x574a68){const _0x22f0cf=_0x3c63a4;return _0x561562[_0x22f0cf(0xbd)](_0x49a08e,_0x574a68);},'AMhsz':function(_0x35a075,_0x10430d,_0x48573f){const _0x26c833=_0x3c63a4;return _0x561562[_0x26c833(0x15b)](_0x35a075,_0x10430d,_0x48573f);},'EszTP':_0x561562[_0x3c63a4(0xe4)],'PdEWK':function(_0x3d9e97,_0x3816bd){const _0x5740c9=_0x3c63a4;return _0x561562[_0x5740c9(0xec)](_0x3d9e97,_0x3816bd);},'UzGyS':_0x561562[_0x3c63a4(0x124)],'vQttU':_0x561562['ggCab'],'AjGzD':function(_0x3b3a18,_0x26c1a0){const _0x4537d9=_0x3c63a4;return _0x561562[_0x4537d9(0x174)](_0x3b3a18,_0x26c1a0);},'WziaT':function(_0x540580,_0x3bf84a,_0x1aaf88){return _0x561562['RgFLz'](_0x540580,_0x3bf84a,_0x1aaf88);},'pjziI':function(_0x15843d,_0x230ef1,_0x39e1bb){const _0x593fde=_0x3c63a4;return _0x561562[_0x593fde(0x14a)](_0x15843d,_0x230ef1,_0x39e1bb);},'wWkes':_0x561562['GcYEb'],'WEnnD':function(_0x50358b,_0x31e581){const _0x333f6c=_0x3c63a4;return _0x561562[_0x333f6c(0xbd)](_0x50358b,_0x31e581);},'DCWpX':function(_0x23d115,_0x483e42,_0x3912e0){const _0xf8ea25=_0x3c63a4;return _0x561562[_0xf8ea25(0xd9)](_0x23d115,_0x483e42,_0x3912e0);},'YuayE':_0x561562['OWXOu'],'buyYv':_0x561562[_0x3c63a4(0x9a)]};if(_0x243530['root'])return;if(_0x561562[_0x3c63a4(0x167)](this[_0x3c63a4(0x7e)],_0x561562[_0x3c63a4(0x121)]))Base[_0x3c63a4(0x17f)](),Base['consoleLog'](_0x561562[_0x3c63a4(0x151)](_0x561562[_0x3c63a4(0x151)](this['indent'](),_0x561562[_0x3c63a4(0xd9)](color,_0x561562[_0x3c63a4(0xb5)],_0x561562[_0x3c63a4(0xf3)])),_0x561562[_0x3c63a4(0x1a7)](color,_0x561562['stYUP'],_0x561562[_0x3c63a4(0xa7)])),_0x561562[_0x3c63a4(0x18e)],_0x243530[_0x3c63a4(0x131)],global['__platform__']),this[_0x3c63a4(0xb9)][_0x3c63a4(0xcb)](_0x58243b=>{const _0x550c63=_0x3c63a4;if(_0x1adfb2[_0x550c63(0x96)](_0x58243b['state'],_0x1adfb2['cIzec'])){var _0x25da2e;_0x1adfb2[_0x550c63(0x96)](_0x58243b['speed'],_0x1adfb2[_0x550c63(0xb3)])?(_0x25da2e=_0x1adfb2[_0x550c63(0x16c)](_0x1adfb2[_0x550c63(0xd8)](this['indent'](),_0x1adfb2[_0x550c63(0x133)](color,_0x1adfb2[_0x550c63(0x94)],_0x1adfb2[_0x550c63(0xa9)]('\x20\x20',Base['symbols']['ok']))),_0x1adfb2[_0x550c63(0x133)](color,_0x1adfb2['UzGyS'],_0x1adfb2[_0x550c63(0x119)])),Base['consoleLog'](_0x25da2e,_0x58243b[_0x550c63(0x131)])):(_0x25da2e=_0x1adfb2[_0x550c63(0x16e)](_0x1adfb2['zqPUE'](_0x1adfb2[_0x550c63(0xd8)](this[_0x550c63(0x8f)](),_0x1adfb2[_0x550c63(0x123)](color,_0x1adfb2[_0x550c63(0x94)],_0x1adfb2[_0x550c63(0xa9)]('\x20\x20',Base['symbols']['ok']))),_0x1adfb2[_0x550c63(0xa2)](color,_0x1adfb2['UzGyS'],_0x1adfb2['vQttU'])),_0x1adfb2[_0x550c63(0x123)](color,_0x58243b[_0x550c63(0x137)],_0x1adfb2[_0x550c63(0x8b)])),Base[_0x550c63(0x17f)](_0x25da2e,_0x58243b[_0x550c63(0x131)],_0x58243b['duration']));}else Base[_0x550c63(0x17f)](_0x1adfb2[_0x550c63(0x13e)](this[_0x550c63(0x8f)](),_0x1adfb2[_0x550c63(0xeb)](color,_0x1adfb2[_0x550c63(0x14e)],_0x1adfb2[_0x550c63(0xc4)])),++this[_0x550c63(0xe5)],_0x58243b[_0x550c63(0x131)]);}),this[_0x3c63a4(0x176)]();else _0x561562['gZKlw'](this[_0x3c63a4(0x7e)],_0x561562['ESqqE'])&&(this[_0x3c63a4(0xdc)](this[_0x3c63a4(0x8f)]()+_0x3c63a4(0x8d)),--this[_0x3c63a4(0x100)],this['docAppend'](this[_0x3c63a4(0x8f)]()+_0x3c63a4(0x1a6)),--this[_0x3c63a4(0x100)]);Array['prototype'][_0x3c63a4(0x18c)]['apply'](this[_0x3c63a4(0xdd)],this[_0x3c63a4(0xb9)]),this[_0x3c63a4(0xb9)]=[];})['on'](EVENT_TEST_PASS,async _0x373350=>{const _0x58afb6=_0x3ed779;this['results'][_0x58afb6(0x18c)]({'speed':_0x373350[_0x58afb6(0x137)],'suite':_0x373350[_0x58afb6(0x85)][_0x58afb6(0x131)],'title':_0x373350['title'],'fullTitle':_0x373350[_0x58afb6(0x11f)](),'duration':_0x373350[_0x58afb6(0x110)],'state':_0x373350[_0x58afb6(0x13f)],'err':{},'currentRetry':_0x373350[_0x58afb6(0x11d)](),'titlePathV':_0x373350['titlePath'](),'isPending':_0x373350[_0x58afb6(0xf9)]()});if(_0x561562['rrSdg'](this[_0x58afb6(0x7e)],_0x561562[_0x58afb6(0x97)]))_0x561562[_0x58afb6(0xfa)](_0x373350[_0x58afb6(0x137)],_0x561562[_0x58afb6(0x181)])?process[_0x58afb6(0x1a0)][_0x58afb6(0x116)](Base[_0x58afb6(0xee)](_0x561562[_0x58afb6(0xb5)],Base[_0x58afb6(0x91)][_0x58afb6(0xc5)])):process[_0x58afb6(0x1a0)][_0x58afb6(0x116)](Base['color'](_0x373350[_0x58afb6(0x137)],Base[_0x58afb6(0x91)][_0x58afb6(0xc5)]));else{if(_0x561562[_0x58afb6(0x10a)](this[_0x58afb6(0x7e)],_0x561562[_0x58afb6(0x141)])){this[_0x58afb6(0xdc)](this[_0x58afb6(0x8f)]()+_0x58afb6(0x159)+utils[_0x58afb6(0x16b)](_0x373350[_0x58afb6(0x131)])+_0x58afb6(0xa4)),this[_0x58afb6(0xdc)](this['indent']()+_0x58afb6(0x159)+utils[_0x58afb6(0x16b)](_0x373350['file'])+_0x58afb6(0xa4));var _0x5c0f97=utils[_0x58afb6(0x16b)](utils['clean'](_0x373350[_0x58afb6(0x152)]));this['docAppend'](this['indent']()+_0x58afb6(0x196)+_0x5c0f97+_0x58afb6(0x17b));}}_0x561562[_0x58afb6(0xce)](testhubUtils[_0x58afb6(0x112)](),!![])&&(!_0x373350[_0x58afb6(0xed)]&&(_0x373350[_0x58afb6(0xed)]=!![],await this[_0x58afb6(0x104)](_0x373350)));})['on'](EVENT_TEST_FAIL,async(_0x8d38d7,_0x559193)=>{const _0x35bc9a=_0x3ed779;this[_0x35bc9a(0xb9)][_0x35bc9a(0x18c)]({'title':_0x8d38d7['title'],'suite':_0x8d38d7['parent'][_0x35bc9a(0x131)],'state':_0x8d38d7['state'],'err':{'message':util[_0x35bc9a(0x113)](_0x559193)},'fullTitle':_0x8d38d7['fullTitle'](),'speed':_0x8d38d7['speed'],'currentRetry':_0x8d38d7[_0x35bc9a(0x11d)](),'titlePathV':_0x8d38d7['titlePath']()});if(_0x561562[_0x35bc9a(0x17e)](this[_0x35bc9a(0x7e)],_0x561562['hLxvV']))process[_0x35bc9a(0x1a0)][_0x35bc9a(0x116)](Base[_0x35bc9a(0xee)](_0x561562[_0x35bc9a(0x17c)],Base[_0x35bc9a(0x91)][_0x35bc9a(0xc3)]));else{if(_0x561562[_0x35bc9a(0x17e)](this[_0x35bc9a(0x7e)],_0x561562['ESqqE'])){const _0x5d2f30=_0x561562[_0x35bc9a(0x191)][_0x35bc9a(0x156)]('|');let _0x564ef6=0x0;while(!![]){switch(_0x5d2f30[_0x564ef6++]){case'0':this['docAppend'](this[_0x35bc9a(0x8f)]()+_0x35bc9a(0x157)+utils[_0x35bc9a(0x16b)](_0x8d38d7[_0x35bc9a(0x131)])+'</dt>');continue;case'1':this[_0x35bc9a(0xdc)](this[_0x35bc9a(0x8f)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x35bc9a(0x16b)](_0x8d38d7[_0x35bc9a(0x16f)])+_0x35bc9a(0xa4));continue;case'2':this[_0x35bc9a(0xdc)](this[_0x35bc9a(0x8f)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x35bc9a(0x16b)](_0x8d38d7[_0x35bc9a(0x139)])+_0x35bc9a(0x88));continue;case'3':this[_0x35bc9a(0xdc)](this[_0x35bc9a(0x8f)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x53c54f+_0x35bc9a(0x17b));continue;case'4':var _0x53c54f=utils[_0x35bc9a(0x16b)](utils[_0x35bc9a(0x15a)](_0x8d38d7[_0x35bc9a(0x152)]));continue;}break;}}}if(_0x561562[_0x35bc9a(0x17e)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x35bc9a(0xae)][_0x35bc9a(0xd6)]),!![])){if(!_0x8d38d7[_0x35bc9a(0xed)]){_0x8d38d7[_0x35bc9a(0xed)]=!![];if(_0x8d38d7[_0x35bc9a(0x150)])await this[_0x35bc9a(0x104)](_0x8d38d7,_0x559193);else _0x8d38d7[_0x35bc9a(0xc0)]&&await this[_0x35bc9a(0x104)](_0x8d38d7,_0x559193,![],_0x561562[_0x35bc9a(0xab)]);}}})['on'](EVENT_TEST_PENDING,async _0x1792ff=>{const _0x54262a=_0x3ed779;this[_0x54262a(0xb9)][_0x54262a(0x18c)]({'title':_0x1792ff[_0x54262a(0x131)],'suite':_0x1792ff['parent'][_0x54262a(0x131)],'state':_0x1792ff[_0x54262a(0x13f)],'err':{},'fullTitle':_0x1792ff[_0x54262a(0x11f)](),'speed':_0x1792ff[_0x54262a(0x137)],'currentRetry':_0x1792ff[_0x54262a(0x11d)](),'titlePathV':_0x1792ff[_0x54262a(0x107)]()}),_0x561562[_0x54262a(0x167)](this[_0x54262a(0x7e)],_0x561562[_0x54262a(0x97)])&&process['stdout']['write'](Base[_0x54262a(0xee)](_0x561562[_0x54262a(0x10b)],Base[_0x54262a(0x91)]['comma'])),_0x561562[_0x54262a(0x9b)](testhubUtils[_0x54262a(0x112)](),!![])&&(!_0x1792ff['testAnalyticsId']&&(_0x1792ff[_0x54262a(0x150)]=_0x561562[_0x54262a(0x145)](uuidv4)),!_0x1792ff[_0x54262a(0xed)]&&(_0x1792ff['markedStatus']=!![],await this[_0x54262a(0x104)](_0x1792ff,undefined,![],_0x561562['EDiNL'])));})['on'](EVENT_TEST_BEGIN,async _0xf77389=>{const _0x35cca7=_0x3ed779;_0x561562[_0x35cca7(0x10a)](testhubUtils[_0x35cca7(0x112)](),!![])&&await this[_0x35cca7(0x15d)](_0xf77389);})['on'](EVENT_TEST_END,async _0x11fa62=>{const _0x40ed67=_0x3ed779;_0x561562[_0x40ed67(0x17e)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x11fa62['markedStatus']&&(_0x11fa62[_0x40ed67(0xed)]=!![],await this[_0x40ed67(0x104)](_0x11fa62)));})[_0x3ed779(0x11e)](EVENT_RUN_END,async()=>{const _0x7fb0c3=_0x3ed779;try{if(_0x561562[_0x7fb0c3(0x13a)](testhubUtils[_0x7fb0c3(0x112)](),!![])){const _0x19d77a=_0x561562['HQDVU'](getHookSkippedTests,this['runner']['suite']);for(const _0x22a8bc of _0x19d77a){!_0x22a8bc['testAnalyticsId']&&(_0x22a8bc[_0x7fb0c3(0x150)]=_0x561562[_0x7fb0c3(0x13c)](uuidv4)),await this[_0x7fb0c3(0x104)](_0x22a8bc,undefined,![],_0x561562[_0x7fb0c3(0xbf)]);}}}catch(_0x204390){_0x561562[_0x7fb0c3(0x12d)](debug,_0x7fb0c3(0xbe)+_0x204390);}await requestQueueHandler[_0x7fb0c3(0x153)](),_0x561562[_0x7fb0c3(0x160)](this['type'],_0x561562[_0x7fb0c3(0x141)])&&Base[_0x7fb0c3(0x17f)](this['docHtml']);});if(this[_0x3ed779(0x7e)]&&![_0x561562['ESqqE'],_0x561562[_0x3ed779(0x168)],_0x561562[_0x3ed779(0x121)],_0x561562[_0x3ed779(0x97)]][_0x3ed779(0x18d)](this[_0x3ed779(0x7e)])){const _0x2b38c4=this[_0x3ed779(0x7e)][_0x3ed779(0xe2)]();this[_0x3ed779(0x192)]=null;try{this['Reporter']=_0x561562[_0x3ed779(0xfd)](requireModule,_0x3ed779(0x138)+_0x2b38c4+_0x3ed779(0x172));}catch{}if(_0x561562[_0x3ed779(0x111)](this['Reporter'],null))try{this[_0x3ed779(0x192)]=_0x561562[_0x3ed779(0xe1)](require,_0x2b38c4);}catch(_0x59e3a5){console[_0x3ed779(0x125)](_0x3ed779(0x18a)+_0x2b38c4);}if(_0x561562[_0x3ed779(0xff)](this[_0x3ed779(0x192)],null)){const _0x9bcaae={};_0x9bcaae[_0x3ed779(0x7f)]=_0x48f373[_0x3ed779(0x99)],this[_0x3ed779(0x192)]=new this[(_0x3ed779(0x192))](_0x30781d,_0x9bcaae);}}}[a27_0x232250(0x8f)](){const _0x2602b4=a27_0x232250,_0x1c0f8f={'DrqHn':function(_0x30803c,_0x5a44bc){return _0x30803c(_0x5a44bc);}};return _0x1c0f8f[_0x2602b4(0x142)](Array,this[_0x2602b4(0xf4)])[_0x2602b4(0xea)]('\x20\x20');}[a27_0x232250(0x166)](){this['_indents']++;}['decreaseIndent'](){const _0x34eaed=a27_0x232250;this[_0x34eaed(0xf4)]--;}[a27_0x232250(0xdc)](_0x33209d){const _0x5d7998=a27_0x232250;this[_0x5d7998(0x15c)]+=_0x33209d;}['done'](_0x23d3be,_0xd231be){const _0x899d8c=a27_0x232250,_0x51da59={'qefRa':function(_0x96be1f,_0x4aceea){return _0x96be1f(_0x4aceea);}},_0x311d86={};_0x311d86['failureCount']=_0x23d3be,_0x311d86[_0x899d8c(0xb9)]=this[_0x899d8c(0xdd)],_0x51da59['qefRa'](_0xd231be,_0x311d86);}['registerListeners'](){const _0x46e9d4=a27_0x232250;process[_0x46e9d4(0x1a1)]('bs:addLog:'+process[_0x46e9d4(0x82)]),process['on']('bs:addLog:'+process[_0x46e9d4(0x82)],this['appendTestItemLog'][_0x46e9d4(0x14b)](this)),process[_0x46e9d4(0x1a1)](_0x46e9d4(0x198)+process[_0x46e9d4(0x82)]),process['on'](_0x46e9d4(0x198)+process[_0x46e9d4(0x82)],this[_0x46e9d4(0x158)]['bind'](this));}[a27_0x232250(0x15d)]=async _0x592e9f=>{const _0x1f9f23=a27_0x232250,_0x5d68aa={'mvuaf':function(_0x4a4773){return _0x4a4773();},'qnInD':function(_0x6d407,_0x3ae7d0){return _0x6d407>_0x3ae7d0;},'TXHYo':function(_0xf6de80,_0x590ca0){return _0xf6de80===_0x590ca0;},'XDVfd':_0x1f9f23(0x90),'TcZNn':function(_0x5b9cda,_0x1f5035){return _0x5b9cda(_0x1f5035);}};try{const _0x3000ff=this[_0x1f9f23(0xf7)];this[_0x1f9f23(0xf7)]=_0x592e9f,_0x592e9f[_0x1f9f23(0xb1)]=null,_0x592e9f[_0x1f9f23(0x150)]=_0x5d68aa[_0x1f9f23(0xf0)](uuidv4),_0x592e9f['started_at']=new Date()[_0x1f9f23(0x83)](),_0x5d68aa['qnInD'](_0x592e9f[_0x1f9f23(0x14d)],0x0)&&_0x3000ff&&_0x5d68aa[_0x1f9f23(0x169)](_0x3000ff['title'],_0x592e9f[_0x1f9f23(0x131)])?(_0x592e9f['retryOf']=_0x3000ff[_0x1f9f23(0x150)],await this[_0x1f9f23(0x104)](_0x592e9f,undefined,![],_0x5d68aa[_0x1f9f23(0x108)]),_0x3000ff[_0x1f9f23(0x13f)]=STATE_FAILED,await this[_0x1f9f23(0x104)](_0x3000ff,undefined,!![])):await this[_0x1f9f23(0x104)](_0x592e9f,undefined,![],_0x5d68aa[_0x1f9f23(0x108)]);}catch(_0xf851b4){_0x5d68aa[_0x1f9f23(0xcf)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0xf851b4);}};[a27_0x232250(0x104)]=async(_0x24eb66,_0x4d9b80=undefined,_0x466eb4=![],_0x34eb01='TestRunFinished')=>{const _0x1c8d48=a27_0x232250,_0x4fa6ca={'VAdId':function(_0x3241a5,_0x39ff3f){return _0x3241a5===_0x39ff3f;},'LbFLX':function(_0x396acf,_0x32dbf5){return _0x396acf!==_0x32dbf5;},'bldzq':_0x1c8d48(0x10e),'KqZwK':_0x1c8d48(0x139),'rGwvl':function(_0xe029bd,_0x547b2e){return _0xe029bd!==_0x547b2e;},'oDhXM':function(_0x212e67,_0xfceedf){return _0x212e67!==_0xfceedf;},'FQREc':_0x1c8d48(0x84),'ptgQP':'Mocha','ZRIZh':_0x1c8d48(0x15e),'IKXLC':'TestRunSkipped','LDGLN':_0x1c8d48(0x1a3),'EYbia':function(_0x3331d3,_0x3e70e7){return _0x3331d3-_0x3e70e7;},'IRcsO':_0x1c8d48(0x11c),'TMpYU':_0x1c8d48(0xd1),'yXuOF':_0x1c8d48(0xd0),'hIuyT':'finished_at','JRrNK':function(_0x2fbbc2,_0x164d2e){return _0x2fbbc2(_0x164d2e);},'BWJLm':function(_0x387caf,_0x37f9fe){return _0x387caf===_0x37f9fe;},'kNLes':'HookRunFinished','MlyYl':_0x1c8d48(0xfb),'KAssp':_0x1c8d48(0x149),'DwduF':function(_0x37343f,_0x5ed117){return _0x37343f===_0x5ed117;},'bJEpf':_0x1c8d48(0xe0),'DgPYS':_0x1c8d48(0x16d),'HRUAa':_0x1c8d48(0x98),'yrWpW':_0x1c8d48(0xa1),'PurNx':_0x1c8d48(0x197),'Jgudt':'expanded','FKMhB':'TestRunFinished','YjvIh':_0x1c8d48(0xa8),'CPhlo':'hook_run','UcmvP':_0x1c8d48(0x180)};try{if(_0x24eb66['body']&&_0x24eb66['body'][_0x1c8d48(0x143)](/browserstack internal helper hook/))return;let _0x5f5d5e=[];if(_0x4fa6ca[_0x1c8d48(0xbc)](_0x24eb66['state'],STATE_FAILED)){if(_0x4fa6ca[_0x1c8d48(0x115)](_0x24eb66[_0x1c8d48(0x139)],undefined))_0x5f5d5e=_0x24eb66[_0x1c8d48(0x139)][_0x1c8d48(0xb6)]?[_0x24eb66[_0x1c8d48(0x139)][_0x1c8d48(0xb6)],_0x4fa6ca[_0x1c8d48(0xe8)]]:[_0x24eb66['err'],_0x4fa6ca[_0x1c8d48(0x92)]];else _0x4fa6ca[_0x1c8d48(0x105)](_0x4d9b80,undefined)?_0x5f5d5e=[_0x4d9b80,_0x4fa6ca[_0x1c8d48(0x92)]]:_0x5f5d5e=[];}const _0x2c106f=_0x4fa6ca[_0x1c8d48(0xd3)](_0x24eb66['err'],undefined)?_0x24eb66[_0x1c8d48(0x139)][_0x1c8d48(0x14c)]():_0x4fa6ca['LbFLX'](_0x4d9b80,undefined)?_0x4d9b80[_0x1c8d48(0x14c)]():undefined;let _0x2af5a8;try{_0x2af5a8=this[_0x1c8d48(0xb2)](_0x24eb66);}catch(_0x3d3dae){_0x2af5a8=null;}const _0x3a4321=_0x2af5a8?this[_0x1c8d48(0xc2)](_0x2af5a8):null,_0x157a2e=_0x2af5a8?this[_0x1c8d48(0x127)][_0x1c8d48(0xa0)](this[_0x1c8d48(0xb2)](_0x24eb66)):_0x4fa6ca['FQREc'],_0x186e63={'framework':_0x4fa6ca[_0x1c8d48(0xb0)],'uuid':_0x24eb66[_0x1c8d48(0x150)]||_0x24eb66[_0x1c8d48(0xc0)],'name':_0x24eb66[_0x1c8d48(0x131)],'body':{'lang':_0x4fa6ca[_0x1c8d48(0x182)],'code':_0x24eb66['body']},'scope':this[_0x1c8d48(0x193)](_0x24eb66),'scopes':this[_0x1c8d48(0xf1)](_0x24eb66),'identifier':_0x24eb66['fullTitle'](),'file_name':_0x157a2e,'vc_filepath':_0x3a4321?path[_0x1c8d48(0xf5)](_0x3a4321,_0x2af5a8):null,'location':_0x157a2e,'result':_0x4fa6ca['VAdId'](_0x34eb01,_0x4fa6ca[_0x1c8d48(0x12f)])?_0x4fa6ca[_0x1c8d48(0x170)]:this['analyticsResult'](_0x24eb66[_0x1c8d48(0x13f)]),'failure_reason':_0x2c106f,'duration_in_ms':_0x24eb66[_0x1c8d48(0x110)]||(_0x34eb01[_0x1c8d48(0x143)](/Finished/)||_0x34eb01[_0x1c8d48(0x143)](/Skipped/)?_0x4fa6ca['EYbia'](Date[_0x1c8d48(0x9e)](),new Date(_0x24eb66['started_at'])[_0x1c8d48(0x18b)]()):null),'started_at':_0x24eb66['started_at'],'finished_at':_0x34eb01[_0x1c8d48(0x143)](/Finished/)||_0x34eb01[_0x1c8d48(0x143)](/Skipped/)?new Date()[_0x1c8d48(0x83)]():null,'failure':failureData['apply'](null,_0x5f5d5e),'failure_type':!_0x2c106f?null:_0x2c106f[_0x1c8d48(0x143)](/AssertionError/)?_0x4fa6ca[_0x1c8d48(0x14f)]:_0x4fa6ca[_0x1c8d48(0x148)],'retry_of':_0x24eb66['retryOf']};testhubUtils[_0x1c8d48(0x12e)](_0x186e63,_0x34eb01,_0x24eb66,FRAMEWORKS[_0x1c8d48(0x126)]);_0x4fa6ca[_0x1c8d48(0xbc)](_0x34eb01,_0x4fa6ca[_0x1c8d48(0x12f)])&&!_0x186e63[_0x4fa6ca[_0x1c8d48(0x9d)]]&&(_0x186e63[_0x4fa6ca[_0x1c8d48(0x9d)]]=_0x186e63[_0x4fa6ca['hIuyT']]);if(_0x34eb01[_0x1c8d48(0x143)](/HookRun/))[_0x186e63[_0x1c8d48(0xa8)],_0x186e63[_0x1c8d48(0x162)]]=_0x4fa6ca['JRrNK'](getHookDetails,_0x24eb66['fullTitle']()||_0x24eb66['originalTitle']||_0x24eb66['title']),_0x4fa6ca[_0x1c8d48(0x118)](_0x34eb01,_0x4fa6ca['kNLes'])&&(_0x4fa6ca['LbFLX'](_0x186e63[_0x1c8d48(0xdb)],_0x4fa6ca[_0x1c8d48(0x19b)])&&(_0x186e63[_0x1c8d48(0xdb)]=_0x4fa6ca[_0x1c8d48(0xad)]),_0x4fa6ca[_0x1c8d48(0xf8)](_0x186e63[_0x1c8d48(0xa8)],_0x4fa6ca[_0x1c8d48(0xc8)])&&_0x4fa6ca[_0x1c8d48(0x118)](_0x186e63[_0x1c8d48(0xdb)],_0x4fa6ca[_0x1c8d48(0x19b)])&&!_0x24eb66[_0x1c8d48(0xc1)][_0x1c8d48(0x146)]['markedStatus']&&(_0x24eb66[_0x1c8d48(0xc1)][_0x1c8d48(0x146)]['markedStatus']=!![],_0x24eb66[_0x1c8d48(0xc1)]['currentTest'][_0x1c8d48(0x13f)]=STATE_FAILED,await this[_0x1c8d48(0x104)](_0x24eb66[_0x1c8d48(0xc1)]['currentTest'],undefined,!![])));else _0x34eb01[_0x1c8d48(0x143)](/TestRun/)&&_0x4fa6ca[_0x1c8d48(0x135)](mapTestHooks,_0x24eb66);const _0x3d0eed=_0x186e63[_0x4fa6ca[_0x1c8d48(0xe6)]][0x0];_0x3d0eed&&(_0x186e63[_0x4fa6ca['HRUAa']]=_0x3d0eed[_0x4fa6ca['yrWpW']],_0x186e63[_0x4fa6ca[_0x1c8d48(0x132)]]=_0x3d0eed[_0x4fa6ca[_0x1c8d48(0x136)]]);[_0x4fa6ca[_0x1c8d48(0x1a2)],_0x4fa6ca['IKXLC']][_0x1c8d48(0x18d)](_0x34eb01)&&(this[_0x1c8d48(0xda)]['push'](_0x186e63),_0x186e63[_0x1c8d48(0x19e)]=_0x4fa6ca[_0x1c8d48(0x135)](getHooksForTest,_0x24eb66));const _0x5c27fe={'event_type':_0x4fa6ca['BWJLm'](_0x34eb01,_0x4fa6ca[_0x1c8d48(0x12f)])?_0x4fa6ca[_0x1c8d48(0x1a2)]:_0x34eb01};_0x34eb01[_0x1c8d48(0x143)](/HookRun/)?(_0x186e63[_0x4fa6ca[_0x1c8d48(0x17a)]]=HOOK_TYPES_MAP[_0x186e63[_0x4fa6ca['YjvIh']]],_0x5c27fe[_0x4fa6ca[_0x1c8d48(0x163)]]=_0x186e63):_0x5c27fe[_0x4fa6ca[_0x1c8d48(0x7d)]]=_0x186e63,testhubUtils[_0x1c8d48(0xc7)](FRAMEWORKS[_0x1c8d48(0x126)],_0x5c27fe),await SessionHandler[_0x1c8d48(0x183)](_0x5c27fe);}catch(_0x28e1d6){_0x4fa6ca['JRrNK'](debug,_0x1c8d48(0xe9)+_0x34eb01+'\x20with\x20error\x20:\x20'+_0x28e1d6);}};[a27_0x232250(0xc2)](_0x1c8ed3){const _0x247447=a27_0x232250,_0x29fd34={};_0x29fd34[_0x247447(0x102)]=function(_0x1dd87d,_0x339e45){return _0x1dd87d===_0x339e45;},_0x29fd34[_0x247447(0x11a)]=function(_0x4e999a,_0x36395f){return _0x4e999a===_0x36395f;},_0x29fd34[_0x247447(0x178)]=_0x247447(0x10c),_0x29fd34['rsczJ']='config';const _0x511b8c=_0x29fd34,_0x359896=path[_0x247447(0x81)];if(_0x511b8c[_0x247447(0x102)](_0x1c8ed3,null)||_0x511b8c[_0x247447(0x102)](_0x1c8ed3,'')||_0x511b8c['CKFbl'](_0x1c8ed3,_0x359896))return null;try{return fs[_0x247447(0x190)](path[_0x247447(0xea)](_0x1c8ed3,_0x511b8c[_0x247447(0x178)],_0x511b8c[_0x247447(0xa6)])),_0x1c8ed3;}catch(_0x9c095c){const _0x219cff=path[_0x247447(0x1a4)](_0x1c8ed3);return this[_0x247447(0xc2)](_0x219cff);}}['appendTestItemLog']=async _0x35f821=>{const _0x2e994a=a27_0x232250,_0x8c6bac={'vOIeT':_0x2e994a(0x13d),'sKLhX':function(_0x406222,_0x32684c){return _0x406222(_0x32684c);}};try{this[_0x2e994a(0x144)]&&!this[_0x2e994a(0x144)]['markedStatus']&&(_0x35f821[_0x2e994a(0x80)]=this['current_hook'][_0x2e994a(0xc0)]);!_0x35f821[_0x2e994a(0x80)]&&this[_0x2e994a(0xf7)]&&!this[_0x2e994a(0xf7)]['markedStatus']&&(_0x35f821[_0x2e994a(0x19f)]=this['current_test'][_0x2e994a(0x150)]);if(_0x35f821[_0x2e994a(0x80)]||_0x35f821['test_run_uuid']){const _0xfdb963={};_0xfdb963[_0x2e994a(0x19c)]=_0x8c6bac[_0x2e994a(0x86)],_0xfdb963[_0x2e994a(0x10d)]=[_0x35f821],await SessionHandler[_0x2e994a(0x183)](_0xfdb963);}}catch(_0x1602c9){_0x8c6bac['sKLhX'](debug,_0x2e994a(0x189)+_0x1602c9);}};[a27_0x232250(0x158)]=async _0x2ee9f3=>{const _0x5b9139=a27_0x232250,_0x3f76f2={'oEaJL':_0x5b9139(0xbb),'gtatl':_0x5b9139(0x129),'EnEQI':function(_0x2271e6,_0x32a075){return _0x2271e6(_0x32a075);}};try{const _0x26e22f={};_0x26e22f[_0x5b9139(0x12b)]=_0x2ee9f3[_0x5b9139(0x12b)]||this[_0x5b9139(0xf7)][_0x5b9139(0x150)],_0x26e22f[_0x5b9139(0x199)]=_0x2ee9f3[_0x3f76f2[_0x5b9139(0xd4)]];const _0x503e41=_0x26e22f,_0xd73621={};_0xd73621[_0x5b9139(0x19c)]=_0x3f76f2[_0x5b9139(0xfc)],_0xd73621[_0x5b9139(0x180)]=_0x503e41,await SessionHandler[_0x5b9139(0x183)](_0xd73621);}catch(_0x31a553){_0x3f76f2['EnEQI'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x31a553);}};[a27_0x232250(0xd2)](_0x3d9815){const _0x5592f0=a27_0x232250,_0x5e8f5d={};_0x5e8f5d[_0x5592f0(0x106)]='passed',_0x5e8f5d[_0x5592f0(0x9c)]=_0x5592f0(0x186),_0x5e8f5d['igzJN']=_0x5592f0(0xfb);const _0x4d4f25=_0x5e8f5d,_0x49bde1={};return _0x49bde1[STATE_PASSED]=_0x4d4f25[_0x5592f0(0x106)],_0x49bde1[STATE_PENDING]=_0x4d4f25[_0x5592f0(0x9c)],_0x49bde1[STATE_FAILED]=_0x4d4f25[_0x5592f0(0x17d)],_0x49bde1[_0x3d9815];}[a27_0x232250(0x193)](_0x451eaa){const _0x12c507=a27_0x232250,_0x50b7ae={};_0x50b7ae[_0x12c507(0x1a8)]=function(_0x3d170e,_0x3de7f8){return _0x3d170e-_0x3de7f8;};const _0x36d458=_0x50b7ae,_0x270e9b=_0x451eaa[_0x12c507(0x107)]();return _0x270e9b[_0x12c507(0x194)](0x0,_0x36d458[_0x12c507(0x1a8)](_0x270e9b['length'],0x1))[_0x12c507(0xea)]('\x20');}['scopes'](_0xebd993){const _0x11d745=a27_0x232250,_0x542aab={};_0x542aab[_0x11d745(0xf6)]=function(_0x359251,_0xe2bc8e){return _0x359251-_0xe2bc8e;};const _0x448c41=_0x542aab,_0x4d5eb6=_0xebd993[_0x11d745(0x107)]();return _0x4d5eb6[_0x11d745(0x194)](0x0,_0x448c41[_0x11d745(0xf6)](_0x4d5eb6[_0x11d745(0xca)],0x1));}[a27_0x232250(0xb2)](_0x59a87a){const _0x26fabd=a27_0x232250,_0x2ae601={};_0x2ae601['piigW']=function(_0x4efc85,_0x22054b){return _0x4efc85>_0x22054b;};const _0x52c0db=_0x2ae601;if(_0x59a87a[_0x26fabd(0x16f)])return _0x59a87a[_0x26fabd(0x16f)];if(_0x59a87a['ctx']){const _0x3911d3=_0x59a87a[_0x26fabd(0xc1)][_0x26fabd(0x146)]?this['getRootParentFile'](_0x59a87a[_0x26fabd(0xc1)]['currentTest']):null;if(_0x3911d3)return _0x3911d3;}if(_0x59a87a[_0x26fabd(0x85)]){const _0x1a5221=this[_0x26fabd(0xb2)](_0x59a87a['parent'])||(_0x59a87a[_0x26fabd(0x85)][_0x26fabd(0xc1)]&&_0x59a87a[_0x26fabd(0x85)]['ctx'][_0x26fabd(0x146)]?this['getRootParentFile'](_0x59a87a[_0x26fabd(0x85)][_0x26fabd(0xc1)][_0x26fabd(0x146)]):null);if(_0x1a5221)return _0x1a5221;_0x59a87a[_0x26fabd(0x85)][_0x26fabd(0x1a5)]&&_0x52c0db['piigW'](_0x59a87a['parent'][_0x26fabd(0x1a5)][_0x26fabd(0xca)],0x0)&&_0x59a87a[_0x26fabd(0x85)][_0x26fabd(0x1a5)][_0x26fabd(0xcb)](_0x1556fb=>{const _0x456a3c=_0x26fabd,_0x59ba28=_0x1556fb[_0x456a3c(0xc1)]?this['getRootParentFile'](_0x1556fb[_0x456a3c(0xc1)]):null;if(_0x59ba28)return _0x59ba28;});}return null;}}function a27_0x411e(){const _0xcac020=['slow','bldzq','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','join','DCWpX','IHGhj','markedStatus','color','%s\x20-\x20%s','mvuaf','scopes','stYUP','HOhhD','_indents','relative','eYoIT','current_test','DwduF','isPending','MytBD','failed','gtatl','PEeBL','green','yuzhx','__indents','__platform__','DhWDj','<section\x20class=\x22suite\x22>','sendTestRunEvent','rGwvl','YlTMm','titlePath','XDVfd','../../../helpers/helper','fSBcL','brUPx','.git','logs','test','fast','duration','HxViP','shouldProcessEventForTesthub','inspect','../test-observability/mochaUtils','LbFLX','write','COMPLETED','BWJLm','vQttU','CKFbl','_testEnv','AssertionError','currentRetry','once','fullTitle','../../../helpers/testhub/utils','xoHcV','ggyCQ','WziaT','AWkyq','error','MOCHA','_paths','0|1|4|3|2','CBTSessionCreated','BNGhA','uuid','../../../helpers/test-observability/requestQueueHandler','oylst','appendTesthubParams','IKXLC','../../../helpers/test-observability/utils','title','PurNx','AMhsz','mocha/lib/utils.js','JRrNK','Jgudt','speed','mocha/lib/reporters/','err','MhmGE','BEFORE_EACH','QWZwe','LogCreated','WEnnD','state','cwd','ESqqE','DrqHn','match','current_hook','WGrnW','currentTest','after\x20each','TMpYU','passed','okAMv','bind','toString','_currentRetry','YuayE','IRcsO','testAnalyticsId','qvShE','body','shutdown','AFTER_EACH','before\x20all','split','\x20\x20<dt\x20class=\x22error\x22>','appendTestPlatform','\x20\x20<dt>','clean','RgFLz','docHtml','testStarted','javascript','call','mZRKu','constants','name','CPhlo','testObservability','1008456nlvVNJ','increaseIndent','ajvOA','iVUPL','TXHYo','rrSdg','escape','pkulD','failure','AjGzD','file','LDGLN','HookRunFinished','.js','bright\x20yellow','LBTju','\x20(%dms)','decreaseIndent','1953414ZnmsdV','jGvYR','fail','YjvIh','</code></pre></dd>','OWXOu','igzJN','tGpvb','consoleLog','test_run','UdzpZ','ZRIZh','uploadEventData','iXjQB','../../../helpers/test-observability/constants','pending','location_prefix','HookStarted','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','Failed\x20to\x20load\x20reporter\x20','getTime','push','includes','hfXUO','HookRunStarted','statSync','Fcxym','Reporter','scope','slice','11ZCrmZt','\x20\x20<dd><pre><code>','failure_reason_expanded','bs:addPlatformDetails:','integrations','QvICF','MlyYl','event_type','1658ZkNABJ','hooks','test_run_uuid','stdout','removeAllListeners','FKMhB','skipped','dirname','suites','</section>','KzmkI','grWUZ','root','OmZhI','UcmvP','type','reporterOptions','hook_run_uuid','sep','pid','toISOString','File\x20path\x20could\x20not\x20be\x20found','parent','vOIeT','1055ACLqOC','</dd>','after\x20all','exports','wWkes','_upstreamConfig','</dl>','<dl>','indent','TestRunStarted','symbols','KqZwK','4UYhdsN','EszTP','15eVlWaf','FsufJ','hLxvV','failure_backtrace','reporterOption','XwHZO','nTmZl','Gfabo','yXuOF','now','mocha/lib/reporters/base.js','prefixTestPath','backtrace','pjziI','xunit','</dt>','2242422maYcrs','rsczJ','BbShI','hook_type','PdEWK','\x20%s','oaKeI','suiteCount','KAssp','EVENT','fCHxf','ptgQP','retryOf','getRootParentFile','MpChA','_buildCreated','HWLQI','multiple','\x20-\x20','../../../helpers/test-observability/sessionHandler','results','ZJoFt','http_response','VAdId','zTxld','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','EDiNL','hookAnalyticsId','ctx','findGitConfig','bang','buyYv','dot','1233801CZDMat','setCurrentTestData','bJEpf','BEFORE_ALL','length','forEach','</h1>','5154170RwHslS','aimVM','TcZNn','started_at','UnhandledError','analyticsResult','oDhXM','oEaJL','getInstance','HookFinished','util','zqPUE','rdUPX','_testResults','result','docAppend','finalResults','RUNNING','pass','before\x20each','Pvmrb','trim','708830XDcLpd','hyCjQ','failCount','DgPYS'];a27_0x411e=function(){return _0xcac020;};return a27_0x411e();}module[a27_0x232250(0x8a)]=MyReporter;
|
|
1
|
+
'use strict';const a27_0x2a0062=a27_0x1707;function a27_0x2e57(){const _0x2fdb35=['slow','DGNQs','push','indent','currentRetry','17589060nAJlUG','includes','name','YFWsk','vXASR','parent','\x20%s','EvXIQ','fullTitle','suites','AKsen','fZOJa','testStarted','expanded','__platform__','escape','.git','COMPLETED','CihdN','</dd>','eSrID','spec','4741842hGmgIa','\x20\x20<dt>','config','getInstance','failed','Runner','zrjis','fail','ctx','bs:addLog:','retryOf','duration','kYswB','finalResults','UsmUG','KHXXw','AFTER_ALL','XWbBJ','IwnJR','hookAnalyticsId','_upstreamConfig','test_run','mocha','dirname','sjFkJ','test','qfWmt','toString','KvxZn','dlLQE','PJiuF','_indents','\x20\x20%d)\x20%s','JOqiD','finished_at','cezoA','consoleLog','AWYuE','symbols','</dt>','error','test_run_uuid','QPvzD','trim','inspect','_currentRetry','altYL','bs:addPlatformDetails:','currentTest','eToVu','scope','VSvhY','mocha/lib/utils.js','shouldProcessEventForTesthub','reporterOptions','.js','mocha/lib/reporters/','GKJkX','yhqDh','now','CiLSc','findGitConfig','tUmkp','bVlAH','sAZQL','green','failCount','</dl>','VeDrI','sbrwG','\x20\x20<dd><pre><code>','BEFORE_EACH','suiteCount','appendTestItemLog','mShLd','relative','constants','NjplU','zskWc','DJIcb','testAnalyticsId','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','rvckD','mFgEj','AFTER_EACH','NsRYj','CFidS','before\x20each','cMRZv','TiYrm','getTime','after\x20all','\x20\x20<dd\x20class=\x22error\x22><pre><code>','yeDVt','err','result','titlePath','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','slice','TestRunStarted','current_hook','<section\x20class=\x22suite\x22>','length','<h1>','../../../helpers/test-observability/constants','file','hook_run_uuid','logs','fgNZy','KhMwz','55424MPcfys','_testResults','\x20(%dms)','AmxpG','state','TestRunFinished','kDnpS','CBTSessionCreated','zEyPS','multiple','YfDRM','analyticsResult','statSync','jaxXZ','hqcJg','sendTestRunEvent','yJQYt','mocha/lib/reporters/base.js','color','testObservability','results','zVTWD','uuid','gGljO','pid','KmkyR','GpqZO','KXSNg','ZqPxQ','started_at','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getRootParentFile','cwd','tOkbz','../../../helpers/testhub/constants','wZhzY','pNcAG','prototype','stdout','after\x20each','LogCreated','../../../helpers/testhub/utils','join','write','event_type','TZnVG','25990XglRMe','comma','HookStarted','\x20-\x20','__indents','../test-observability/mochaUtils','Failed\x20to\x20load\x20reporter\x20','HookRunFinished','fast','call','markedStatus','RpVEw','MOCHA','_testEnv','prefixTestPath','</section>','_buildCreated','originalTitle','<dl>','582Sbccjr','BEFORE_ALL','increaseIndent','suite','11152552lwVptE','backtrace','isaLb','SJZue','YZGvF','9TPGIuN','hook_type','TestRunSkipped','_paths','varpW','forEach','OtFiv','pending','\x20\x20<dt\x20class=\x22error\x22>','IPfqm','79064LNKhBn','wJnjl','cgmaK','failure_backtrace','location_prefix','before\x20all','guJOm','qsNCt','appendTestPlatform','lkEwX','%s\x20-\x20%s','</code></pre></dd>','Reporter','docAppend','cTwWm','oHSPS','uploadEventData','util','isPending','once','setCurrentTestData','docHtml','QhjOF','6FHRRkG','scopes','cxMkU','pCtKN','lRAsd','xunit','EVENT','failure','doc','body','HookFinished','pass','http_response','failure_reason_expanded','%s\x20','title','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','ozVcs','GJkkV','bang','mocha/lib/runnable.js','\x20with\x20error\x20:\x20','CytPI','split','PhqHA','RbUWG','fgkkO','YIHPI','../../../helpers/test-observability/sessionHandler','ssCbf','lZeXr','jjzBK','RTAji','checkmark','toISOString','dot','speed','wZrUM','rYKhR','lrWjM','match','PuQYq','passed','current_test','done','DgIuf','lWMvS','314632BLrpcV','exports','../../../helpers/test-observability/requestQueueHandler','DjMrB','pLory','type','JfLli','reporterOption','clean'];a27_0x2e57=function(){return _0x2fdb35;};return a27_0x2e57();}(function(_0x59aa0a,_0x4f45eb){const _0x55789f=a27_0x1707,_0x4bc02a=_0x59aa0a();while(!![]){try{const _0x53ad28=-parseInt(_0x55789f(0x9c))/0x1+parseInt(_0x55789f(0xf0))/0x2*(parseInt(_0x55789f(0x107))/0x3)+parseInt(_0x55789f(0x136))/0x4+-parseInt(_0x55789f(0xca))/0x5*(-parseInt(_0x55789f(0xdd))/0x6)+parseInt(_0x55789f(0x15a))/0x7+-parseInt(_0x55789f(0xe1))/0x8*(-parseInt(_0x55789f(0xe6))/0x9)+-parseInt(_0x55789f(0x144))/0xa;if(_0x53ad28===_0x4f45eb)break;else _0x4bc02a['push'](_0x4bc02a['shift']());}catch(_0x1d839a){_0x4bc02a['push'](_0x4bc02a['shift']());}}}(a27_0x2e57,0xe0621));function a27_0x1707(_0x4fcbfd,_0x32a56f){const _0x2e57e8=a27_0x2e57();return a27_0x1707=function(_0x170718,_0x122715){_0x170718=_0x170718-0x8e;let _0x289cdf=_0x2e57e8[_0x170718];return _0x289cdf;},a27_0x1707(_0x4fcbfd,_0x32a56f);}const util=require(a27_0x2a0062(0x101)),fs=require('fs'),path=require('path'),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a27_0x2a0062(0xad)),utils=requireModule(a27_0x2a0062(0x18e)),color=Base[a27_0x2a0062(0xae)],Mocha=requireModule(a27_0x2a0062(0x170)),Runnable=requireModule(a27_0x2a0062(0x11b)),{v4:uuidv4}=require(a27_0x2a0062(0xb2)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x2a0062(0xc5)),testHubConstants=require(a27_0x2a0062(0xbe)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x56a062={};a27_0x56a062[a27_0x2a0062(0xf5)]=a27_0x2a0062(0xde),a27_0x56a062[a27_0x2a0062(0x1b5)]=a27_0x2a0062(0x16a),a27_0x56a062[a27_0x2a0062(0x1b1)]=a27_0x2a0062(0x1a1),a27_0x56a062[a27_0x2a0062(0xc3)]=a27_0x2a0062(0x1ae);const HOOK_TYPES_MAP=a27_0x56a062,{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_0x2a0062(0x15f)][a27_0x2a0062(0x1a6)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x2a0062(0x1a6)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x2a0062(0xcf)),{consoleHolder}=require(a27_0x2a0062(0x96)),SessionHandler=require(a27_0x2a0062(0x123)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x2a0062(0x138)),requestQueueHandler=RequestQueueHandler[a27_0x2a0062(0x15d)]();class MyReporter{constructor(_0x4d19e3,_0x96ce81){const _0x1cdcc6=a27_0x2a0062,_0x3a6eb9={'wZhzY':function(_0x32d07a,_0x153916){return _0x32d07a===_0x153916;},'sbrwG':_0x1cdcc6(0x159),'PhqHA':function(_0x533443,_0x405e52){return _0x533443===_0x405e52;},'AKsen':function(_0x41720d,_0x4d81af){return _0x41720d+_0x4d81af;},'fgNZy':function(_0x145779,_0x1db864,_0x436152){return _0x145779(_0x1db864,_0x436152);},'varpW':_0x1cdcc6(0x19b),'zVTWD':_0x1cdcc6(0x115),'UsmUG':function(_0x36272b,_0xdd948b,_0x2efdab){return _0x36272b(_0xdd948b,_0x2efdab);},'QhjOF':'light','SJZue':_0x1cdcc6(0xfa),'vgAGZ':'RUNNING','YFWsk':_0x1cdcc6(0x10f),'lRAsd':function(_0x47a6ba){return _0x47a6ba();},'CFidS':'HookRunStarted','kYswB':_0x1cdcc6(0xd1),'AmxpG':_0x1cdcc6(0x131),'bVlAH':_0x1cdcc6(0xd2),'tXfOT':_0x1cdcc6(0x128),'KvxZn':function(_0x571d98,_0x5916ac,_0x3f226b){return _0x571d98(_0x5916ac,_0x3f226b);},'sAZQL':_0x1cdcc6(0x112),'TZnVG':_0x1cdcc6(0x14a),'PJiuF':function(_0x38c591,_0x243f29){return _0x38c591+_0x243f29;},'ozVcs':function(_0x16f03e,_0x4ae98a,_0x1502b4){return _0x16f03e(_0x4ae98a,_0x1502b4);},'gZjbd':function(_0xfa96a6,_0x57c219,_0x69c499){return _0xfa96a6(_0x57c219,_0x69c499);},'dUBZD':_0x1cdcc6(0x9e),'lrWjM':_0x1cdcc6(0x161),'Fdtua':_0x1cdcc6(0x17a),'fZOJa':function(_0x60df3,_0x592b3c){return _0x60df3+_0x592b3c;},'KmkyR':'bright\x20yellow','VSqYo':_0x1cdcc6(0x155),'nFXuA':function(_0xd75fce,_0x24e159){return _0xd75fce===_0x24e159;},'IwnJR':function(_0x598b0a,_0x3c321a){return _0x598b0a===_0x3c321a;},'OtFiv':_0x1cdcc6(0x12a),'QTudb':function(_0xa2b02,_0x386b40){return _0xa2b02===_0x386b40;},'VeDrI':_0x1cdcc6(0x13f),'VShgF':function(_0x453e0e,_0x4dc533){return _0x453e0e===_0x4dc533;},'GSpdp':'0|1|2|3|4','cMRZv':function(_0x4865d3,_0x36949a){return _0x4865d3===_0x36949a;},'NjplU':_0x1cdcc6(0xed),'NsRYj':function(_0x3f97fb,_0x3d8850){return _0x3f97fb===_0x3d8850;},'CytPI':function(_0x53c74d){return _0x53c74d();},'sjFkJ':_0x1cdcc6(0xe8),'ssCbf':function(_0x1e2947,_0x555717){return _0x1e2947===_0x555717;},'cTwWm':function(_0x476d32,_0x5c4afe){return _0x476d32===_0x5c4afe;},'wZrUM':function(_0x4aeefd,_0x5cf5f7){return _0x4aeefd===_0x5cf5f7;},'pNcAG':function(_0x1d5acd,_0x588fec){return _0x1d5acd(_0x588fec);},'IPfqm':function(_0x1a9ccb,_0x2bf17e){return _0x1a9ccb(_0x2bf17e);},'zrjis':function(_0x30e849){return _0x30e849();},'fqFSW':function(_0x228fd8,_0x3d179c){return _0x228fd8===_0x3d179c;},'oHSPS':_0x1cdcc6(0x10c),'YIHPI':function(_0x585e44,_0xcc25a1){return _0x585e44===_0xcc25a1;},'QPvzD':function(_0x3d5401,_0x34aaec){return _0x3d5401!==_0x34aaec;}};this[_0x1cdcc6(0x13b)]=_0x96ce81['reporterOption'][_0x1cdcc6(0x13b)],this[_0x1cdcc6(0xaf)]=_0x3a6eb9[_0x1cdcc6(0x11d)](isTestObservabilitySession),Base[_0x1cdcc6(0xd3)](this,_0x4d19e3,_0x96ce81),this[_0x1cdcc6(0x179)]=0x0,this[_0x1cdcc6(0x19c)]=0x0,this[_0x1cdcc6(0xb0)]=[],this[_0x1cdcc6(0x167)]=[],this[_0x1cdcc6(0x1a2)]=0x0,this[_0x1cdcc6(0xda)]=![],this[_0x1cdcc6(0x9d)]=[],this['_testEnv']=_0x3a6eb9[_0x1cdcc6(0x160)](getTestEnv),this[_0x1cdcc6(0xe9)]=new PathHelper({'cwd':process[_0x1cdcc6(0xbc)]()},this[_0x1cdcc6(0xd7)][_0x1cdcc6(0xf4)]),this[_0x1cdcc6(0x16e)]=_0x96ce81[_0x1cdcc6(0x13d)]['bsConfig'],this['registerListeners']();_0x3a6eb9['fqFSW'](this[_0x1cdcc6(0x13b)],_0x3a6eb9[_0x1cdcc6(0x147)])&&(this[_0x1cdcc6(0x105)]='',this[_0x1cdcc6(0xce)]=0x2);_0x4d19e3[_0x1cdcc6(0x103)](EVENT_RUN_BEGIN,async()=>{const _0x434289=_0x1cdcc6;_0x3a6eb9[_0x434289(0xbf)](this['type'],_0x3a6eb9[_0x434289(0x19f)])&&Base[_0x434289(0x17e)]();})['on'](EVENT_SUITE_BEGIN,_0x4576f0=>{const _0x5337da=_0x1cdcc6;if(_0x4576f0['root'])return;if(_0x3a6eb9[_0x5337da(0x11f)](this[_0x5337da(0x13b)],_0x3a6eb9[_0x5337da(0x19f)]))this[_0x5337da(0xdf)](),Base['consoleLog'](_0x3a6eb9[_0x5337da(0x14e)](_0x3a6eb9['AKsen'](this[_0x5337da(0x142)](),_0x3a6eb9[_0x5337da(0x9a)](color,_0x3a6eb9[_0x5337da(0xea)],_0x3a6eb9['zVTWD'])),_0x3a6eb9[_0x5337da(0x168)](color,_0x3a6eb9[_0x5337da(0x106)],_0x3a6eb9['SJZue'])),_0x3a6eb9['vgAGZ'],_0x4576f0[_0x5337da(0x116)],global[_0x5337da(0x152)]);else _0x3a6eb9['wZhzY'](this[_0x5337da(0x13b)],_0x3a6eb9[_0x5337da(0x147)])&&(this[_0x5337da(0xfd)](this[_0x5337da(0x142)]()+_0x5337da(0x93)),++this[_0x5337da(0xce)],this[_0x5337da(0xfd)](this[_0x5337da(0x142)]()+_0x5337da(0x95)+utils[_0x5337da(0x153)](_0x4576f0[_0x5337da(0x116)]+_0x5337da(0xcd)+global[_0x5337da(0x152)])+'</h1>'),this[_0x5337da(0xfd)](this[_0x5337da(0x142)]()+_0x5337da(0xdc)));})['on'](EVENT_HOOK_BEGIN,async _0x3172c8=>{const _0xdea199=_0x1cdcc6;if(_0x3a6eb9[_0xdea199(0x11f)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0xdea199(0x10d)][_0xdea199(0xcc)]),!![])){if(!_0x3172c8[_0xdea199(0x16d)])_0x3172c8[_0xdea199(0x16d)]=_0x3a6eb9['lRAsd'](uuidv4);else _0x3172c8[_0xdea199(0xd4)]&&(_0x3172c8[_0xdea199(0x16d)]=_0x3a6eb9[_0xdea199(0x10b)](uuidv4),delete _0x3172c8[_0xdea199(0xd4)]);_0x3172c8['started_at']=new Date()['toISOString'](),this['current_hook']=_0x3172c8,await this['sendTestRunEvent'](_0x3172c8,undefined,![],_0x3a6eb9[_0xdea199(0x1b0)]);}})['on'](EVENT_HOOK_END,async _0x51ba32=>{const _0x4ca005=_0x1cdcc6;_0x3a6eb9[_0x4ca005(0xbf)](testhubUtils[_0x4ca005(0x18f)](testHubConstants[_0x4ca005(0x10d)][_0x4ca005(0x111)]),!![])&&(!_0x51ba32[_0x4ca005(0xd4)]&&(_0x51ba32[_0x4ca005(0xd4)]=!![],await this['sendTestRunEvent'](_0x51ba32,undefined,![],_0x3a6eb9[_0x4ca005(0x166)])));})['on'](EVENT_SUITE_END,_0x530335=>{const _0x20e724=_0x1cdcc6,_0x353f0e={'PuQYq':function(_0x4661ca,_0x166919){const _0x5ecbce=a27_0x1707;return _0x3a6eb9[_0x5ecbce(0x11f)](_0x4661ca,_0x166919);},'cgmaK':_0x3a6eb9[_0x20e724(0x9f)],'DjMrB':_0x3a6eb9[_0x20e724(0x199)],'cezoA':function(_0x42ab54,_0x2dd4ea){return _0x3a6eb9['AKsen'](_0x42ab54,_0x2dd4ea);},'yhqDh':function(_0x11645b,_0x3b9f4d,_0x5cb31a){return _0x3a6eb9['UsmUG'](_0x11645b,_0x3b9f4d,_0x5cb31a);},'qsNCt':_0x3a6eb9['tXfOT'],'eToVu':function(_0x3973c8,_0x404cf4,_0x3a2442){const _0x167b69=_0x20e724;return _0x3a6eb9[_0x167b69(0x176)](_0x3973c8,_0x404cf4,_0x3a2442);},'DJIcb':_0x3a6eb9[_0x20e724(0x19a)],'rYKhR':_0x3a6eb9[_0x20e724(0xc9)],'mFgEj':function(_0x34e7b0,_0x49dd7b){return _0x3a6eb9['PJiuF'](_0x34e7b0,_0x49dd7b);},'RbUWG':function(_0x366d76,_0x1a8898,_0x856f03){return _0x3a6eb9['ozVcs'](_0x366d76,_0x1a8898,_0x856f03);},'ZVYje':function(_0x45bc29,_0x12cf82,_0x24da2d){return _0x3a6eb9['gZjbd'](_0x45bc29,_0x12cf82,_0x24da2d);},'XWbBJ':_0x3a6eb9['dUBZD'],'lWMvS':function(_0x3d0e7c,_0x24fedf){const _0x59c563=_0x20e724;return _0x3a6eb9[_0x59c563(0x178)](_0x3d0e7c,_0x24fedf);},'guJOm':function(_0x2f444c,_0xc09bb6,_0x35715e){const _0xbc657e=_0x20e724;return _0x3a6eb9[_0xbc657e(0x118)](_0x2f444c,_0xc09bb6,_0x35715e);},'QkVXv':_0x3a6eb9[_0x20e724(0x12e)],'YZGvF':_0x3a6eb9['Fdtua']};if(_0x530335['root'])return;if(_0x3a6eb9['PhqHA'](this[_0x20e724(0x13b)],_0x3a6eb9[_0x20e724(0x19f)]))Base[_0x20e724(0x17e)](),Base[_0x20e724(0x17e)](_0x3a6eb9[_0x20e724(0x14f)](_0x3a6eb9[_0x20e724(0x178)](this[_0x20e724(0x142)](),_0x3a6eb9[_0x20e724(0x176)](color,_0x3a6eb9[_0x20e724(0xb5)],_0x3a6eb9[_0x20e724(0xb1)])),_0x3a6eb9[_0x20e724(0x168)](color,_0x3a6eb9['QhjOF'],_0x3a6eb9[_0x20e724(0xe4)])),_0x3a6eb9['VSqYo'],_0x530335[_0x20e724(0x116)],global[_0x20e724(0x152)]),this['results'][_0x20e724(0xeb)](_0x279afc=>{const _0x5f3dd1=_0x20e724;if(_0x353f0e['PuQYq'](_0x279afc[_0x5f3dd1(0xa0)],_0x353f0e[_0x5f3dd1(0xf2)])){var _0x11ee3b;_0x353f0e[_0x5f3dd1(0x130)](_0x279afc[_0x5f3dd1(0x12b)],_0x353f0e[_0x5f3dd1(0x139)])?(_0x11ee3b=_0x353f0e['cezoA'](_0x353f0e[_0x5f3dd1(0x17d)](this[_0x5f3dd1(0x142)](),_0x353f0e[_0x5f3dd1(0x194)](color,_0x353f0e['qsNCt'],_0x353f0e[_0x5f3dd1(0x17d)]('\x20\x20',Base['symbols']['ok']))),_0x353f0e[_0x5f3dd1(0x18b)](color,_0x353f0e[_0x5f3dd1(0x1a9)],_0x353f0e['rYKhR'])),Base['consoleLog'](_0x11ee3b,_0x279afc[_0x5f3dd1(0x116)])):(_0x11ee3b=_0x353f0e[_0x5f3dd1(0x1ad)](_0x353f0e['mFgEj'](_0x353f0e[_0x5f3dd1(0x1ad)](this[_0x5f3dd1(0x142)](),_0x353f0e[_0x5f3dd1(0x120)](color,_0x353f0e[_0x5f3dd1(0xf7)],_0x353f0e[_0x5f3dd1(0x17d)]('\x20\x20',Base['symbols']['ok']))),_0x353f0e[_0x5f3dd1(0x194)](color,_0x353f0e[_0x5f3dd1(0x1a9)],_0x353f0e[_0x5f3dd1(0x12d)])),_0x353f0e['ZVYje'](color,_0x279afc[_0x5f3dd1(0x12b)],_0x353f0e[_0x5f3dd1(0x16b)])),Base[_0x5f3dd1(0x17e)](_0x11ee3b,_0x279afc[_0x5f3dd1(0x116)],_0x279afc[_0x5f3dd1(0x165)]));}else Base[_0x5f3dd1(0x17e)](_0x353f0e[_0x5f3dd1(0x135)](this['indent'](),_0x353f0e[_0x5f3dd1(0xf6)](color,_0x353f0e['QkVXv'],_0x353f0e[_0x5f3dd1(0xe5)])),++this[_0x5f3dd1(0x19c)],_0x279afc[_0x5f3dd1(0x116)]);}),this['decreaseIndent']();else _0x3a6eb9['nFXuA'](this[_0x20e724(0x13b)],_0x3a6eb9[_0x20e724(0x147)])&&(this['docAppend'](this[_0x20e724(0x142)]()+_0x20e724(0x19d)),--this[_0x20e724(0xce)],this[_0x20e724(0xfd)](this[_0x20e724(0x142)]()+_0x20e724(0xd9)),--this[_0x20e724(0xce)]);Array[_0x20e724(0xc1)][_0x20e724(0x141)]['apply'](this[_0x20e724(0x167)],this[_0x20e724(0xb0)]),this[_0x20e724(0xb0)]=[];})['on'](EVENT_TEST_PASS,async _0x4dfd0a=>{const _0xd41e96=_0x1cdcc6;this[_0xd41e96(0xb0)][_0xd41e96(0x141)]({'speed':_0x4dfd0a[_0xd41e96(0x12b)],'suite':_0x4dfd0a[_0xd41e96(0x149)][_0xd41e96(0x116)],'title':_0x4dfd0a[_0xd41e96(0x116)],'fullTitle':_0x4dfd0a['fullTitle'](),'duration':_0x4dfd0a['duration'],'state':_0x4dfd0a['state'],'err':{},'currentRetry':_0x4dfd0a[_0xd41e96(0x143)](),'titlePathV':_0x4dfd0a[_0xd41e96(0x8e)](),'isPending':_0x4dfd0a[_0xd41e96(0x102)]()});if(_0x3a6eb9['IwnJR'](this[_0xd41e96(0x13b)],_0x3a6eb9[_0xd41e96(0xec)]))_0x3a6eb9['QTudb'](_0x4dfd0a[_0xd41e96(0x12b)],_0x3a6eb9[_0xd41e96(0x19e)])?process['stdout'][_0xd41e96(0xc7)](Base[_0xd41e96(0xae)](_0x3a6eb9['KmkyR'],Base['symbols']['dot'])):process[_0xd41e96(0xc2)][_0xd41e96(0xc7)](Base[_0xd41e96(0xae)](_0x4dfd0a[_0xd41e96(0x12b)],Base[_0xd41e96(0x180)][_0xd41e96(0x12a)]));else{if(_0x3a6eb9[_0xd41e96(0x16c)](this[_0xd41e96(0x13b)],_0x3a6eb9[_0xd41e96(0x147)])){this['docAppend'](this['indent']()+_0xd41e96(0x15b)+utils[_0xd41e96(0x153)](_0x4dfd0a[_0xd41e96(0x116)])+_0xd41e96(0x181)),this['docAppend'](this['indent']()+_0xd41e96(0x15b)+utils[_0xd41e96(0x153)](_0x4dfd0a[_0xd41e96(0x97)])+_0xd41e96(0x181));var _0x11065b=utils[_0xd41e96(0x153)](utils['clean'](_0x4dfd0a[_0xd41e96(0x110)]));this[_0xd41e96(0xfd)](this[_0xd41e96(0x142)]()+_0xd41e96(0x1a0)+_0x11065b+_0xd41e96(0xfb));}}_0x3a6eb9[_0xd41e96(0xbf)](testhubUtils[_0xd41e96(0x18f)](),!![])&&(!_0x4dfd0a[_0xd41e96(0xd4)]&&(_0x4dfd0a[_0xd41e96(0xd4)]=!![],await this[_0xd41e96(0xab)](_0x4dfd0a)));})['on'](EVENT_TEST_FAIL,async(_0x346df9,_0x1d2bbe)=>{const _0x4a72c7=_0x1cdcc6;this[_0x4a72c7(0xb0)][_0x4a72c7(0x141)]({'title':_0x346df9[_0x4a72c7(0x116)],'suite':_0x346df9[_0x4a72c7(0x149)][_0x4a72c7(0x116)],'state':_0x346df9['state'],'err':{'message':util[_0x4a72c7(0x186)](_0x1d2bbe)},'fullTitle':_0x346df9[_0x4a72c7(0x14c)](),'speed':_0x346df9[_0x4a72c7(0x12b)],'currentRetry':_0x346df9['currentRetry'](),'titlePathV':_0x346df9[_0x4a72c7(0x8e)]()});if(_0x3a6eb9['PhqHA'](this[_0x4a72c7(0x13b)],_0x3a6eb9[_0x4a72c7(0xec)]))process['stdout'][_0x4a72c7(0xc7)](Base['color'](_0x3a6eb9[_0x4a72c7(0x12e)],Base[_0x4a72c7(0x180)][_0x4a72c7(0x11a)]));else{if(_0x3a6eb9['VShgF'](this['type'],_0x3a6eb9[_0x4a72c7(0x147)])){const _0x19ed1b=_0x3a6eb9['GSpdp'][_0x4a72c7(0x11e)]('|');let _0x2d9112=0x0;while(!![]){switch(_0x19ed1b[_0x2d9112++]){case'0':this[_0x4a72c7(0xfd)](this['indent']()+_0x4a72c7(0xee)+utils[_0x4a72c7(0x153)](_0x346df9[_0x4a72c7(0x116)])+_0x4a72c7(0x181));continue;case'1':this[_0x4a72c7(0xfd)](this[_0x4a72c7(0x142)]()+_0x4a72c7(0xee)+utils[_0x4a72c7(0x153)](_0x346df9['file'])+_0x4a72c7(0x181));continue;case'2':var _0x46dc01=utils['escape'](utils[_0x4a72c7(0x13e)](_0x346df9[_0x4a72c7(0x110)]));continue;case'3':this[_0x4a72c7(0xfd)](this['indent']()+_0x4a72c7(0x1b6)+_0x46dc01+_0x4a72c7(0xfb));continue;case'4':this[_0x4a72c7(0xfd)](this[_0x4a72c7(0x142)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x4a72c7(0x153)](_0x346df9[_0x4a72c7(0x1b8)])+_0x4a72c7(0x157));continue;}break;}}}if(_0x3a6eb9[_0x4a72c7(0x1b2)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x4a72c7(0x10d)][_0x4a72c7(0x111)]),!![])){if(!_0x346df9[_0x4a72c7(0xd4)]){_0x346df9[_0x4a72c7(0xd4)]=!![];if(_0x346df9[_0x4a72c7(0x1aa)])await this[_0x4a72c7(0xab)](_0x346df9,_0x1d2bbe);else _0x346df9[_0x4a72c7(0x16d)]&&await this[_0x4a72c7(0xab)](_0x346df9,_0x1d2bbe,![],_0x3a6eb9[_0x4a72c7(0x166)]);}}})['on'](EVENT_TEST_PENDING,async _0x27edf6=>{const _0x36ea30=_0x1cdcc6;this[_0x36ea30(0xb0)][_0x36ea30(0x141)]({'title':_0x27edf6[_0x36ea30(0x116)],'suite':_0x27edf6[_0x36ea30(0x149)][_0x36ea30(0x116)],'state':_0x27edf6['state'],'err':{},'fullTitle':_0x27edf6[_0x36ea30(0x14c)](),'speed':_0x27edf6['speed'],'currentRetry':_0x27edf6['currentRetry'](),'titlePathV':_0x27edf6[_0x36ea30(0x8e)]()}),_0x3a6eb9['QTudb'](this['type'],_0x3a6eb9[_0x36ea30(0xec)])&&process[_0x36ea30(0xc2)][_0x36ea30(0xc7)](Base[_0x36ea30(0xae)](_0x3a6eb9[_0x36ea30(0x1a7)],Base[_0x36ea30(0x180)][_0x36ea30(0xcb)])),_0x3a6eb9[_0x36ea30(0x1af)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x27edf6[_0x36ea30(0x1aa)]&&(_0x27edf6['testAnalyticsId']=_0x3a6eb9[_0x36ea30(0x11d)](uuidv4)),!_0x27edf6[_0x36ea30(0xd4)]&&(_0x27edf6[_0x36ea30(0xd4)]=!![],await this[_0x36ea30(0xab)](_0x27edf6,undefined,![],_0x3a6eb9[_0x36ea30(0x172)])));})['on'](EVENT_TEST_BEGIN,async _0x10ccd1=>{const _0x5563fa=_0x1cdcc6;_0x3a6eb9[_0x5563fa(0x124)](testhubUtils[_0x5563fa(0x18f)](),!![])&&await this['testStarted'](_0x10ccd1);})['on'](EVENT_TEST_END,async _0x1721ce=>{const _0x5144a6=_0x1cdcc6;_0x3a6eb9['cTwWm'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1721ce['markedStatus']&&(_0x1721ce[_0x5144a6(0xd4)]=!![],await this[_0x5144a6(0xab)](_0x1721ce)));})[_0x1cdcc6(0x103)](EVENT_RUN_END,async()=>{const _0x4116f6=_0x1cdcc6;try{if(_0x3a6eb9[_0x4116f6(0x12c)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0xf7ede8=_0x3a6eb9[_0x4116f6(0xc0)](getHookSkippedTests,this['runner'][_0x4116f6(0xe0)]);for(const _0x5fc02b of _0xf7ede8){!_0x5fc02b[_0x4116f6(0x1aa)]&&(_0x5fc02b[_0x4116f6(0x1aa)]=_0x3a6eb9[_0x4116f6(0x11d)](uuidv4)),await this['sendTestRunEvent'](_0x5fc02b,undefined,![],_0x3a6eb9['sjFkJ']);}}}catch(_0x555462){_0x3a6eb9[_0x4116f6(0xef)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x555462);}await requestQueueHandler['shutdown'](),_0x3a6eb9[_0x4116f6(0xfe)](this[_0x4116f6(0x13b)],_0x3a6eb9[_0x4116f6(0x147)])&&Base['consoleLog'](this[_0x4116f6(0x105)]);});if(this[_0x1cdcc6(0x13b)]&&![_0x3a6eb9[_0x1cdcc6(0x147)],_0x3a6eb9[_0x1cdcc6(0xff)],_0x3a6eb9[_0x1cdcc6(0x19f)],_0x3a6eb9[_0x1cdcc6(0xec)]]['includes'](this[_0x1cdcc6(0x13b)])){const _0x352ffe=this[_0x1cdcc6(0x13b)][_0x1cdcc6(0x185)]();this[_0x1cdcc6(0xfc)]=null;try{this['Reporter']=_0x3a6eb9[_0x1cdcc6(0xc0)](requireModule,_0x1cdcc6(0x192)+_0x352ffe+_0x1cdcc6(0x191));}catch{}if(_0x3a6eb9[_0x1cdcc6(0x122)](this[_0x1cdcc6(0xfc)],null))try{this['Reporter']=_0x3a6eb9[_0x1cdcc6(0xef)](require,_0x352ffe);}catch(_0x57c7f8){console[_0x1cdcc6(0x182)](_0x1cdcc6(0xd0)+_0x352ffe);}if(_0x3a6eb9[_0x1cdcc6(0x184)](this[_0x1cdcc6(0xfc)],null)){const _0x2024a5={};_0x2024a5[_0x1cdcc6(0x190)]=_0x96ce81[_0x1cdcc6(0x13d)],this[_0x1cdcc6(0xfc)]=new this[(_0x1cdcc6(0xfc))](_0x4d19e3,_0x2024a5);}}}[a27_0x2a0062(0x142)](){const _0x3e5019=a27_0x2a0062,_0x99d1ee={'pCTNN':function(_0x5159f3,_0x587e62){return _0x5159f3(_0x587e62);}};return _0x99d1ee['pCTNN'](Array,this[_0x3e5019(0x179)])[_0x3e5019(0xc6)]('\x20\x20');}[a27_0x2a0062(0xdf)](){this['_indents']++;}['decreaseIndent'](){const _0xc38fb0=a27_0x2a0062;this[_0xc38fb0(0x179)]--;}['docAppend'](_0x42de16){const _0xfc1b96=a27_0x2a0062;this[_0xfc1b96(0x105)]+=_0x42de16;}[a27_0x2a0062(0x133)](_0x4b31d6,_0x59b07f){const _0x496824=a27_0x2a0062,_0x4515ff={'VSvhY':function(_0x498678,_0x18effc){return _0x498678(_0x18effc);}},_0x3448f3={};_0x3448f3['failureCount']=_0x4b31d6,_0x3448f3['results']=this[_0x496824(0x167)],_0x4515ff[_0x496824(0x18d)](_0x59b07f,_0x3448f3);}['registerListeners'](){const _0x1f43fe=a27_0x2a0062;process['removeAllListeners'](_0x1f43fe(0x163)+process[_0x1f43fe(0xb4)]),process['on'](_0x1f43fe(0x163)+process['pid'],this[_0x1f43fe(0x1a3)]['bind'](this)),process['removeAllListeners'](_0x1f43fe(0x189)+process['pid']),process['on']('bs:addPlatformDetails:'+process[_0x1f43fe(0xb4)],this[_0x1f43fe(0xf8)]['bind'](this));}[a27_0x2a0062(0x150)]=async _0x476f81=>{const _0x15570b=a27_0x2a0062,_0x4f3c00={'dlLQE':function(_0x456ada){return _0x456ada();},'pJUup':function(_0x513c20,_0xb46b6){return _0x513c20>_0xb46b6;},'hqcJg':function(_0x46b023,_0x46b736){return _0x46b023===_0x46b736;},'JfLli':_0x15570b(0x91),'GKJkX':function(_0x4106ed,_0x581e33){return _0x4106ed(_0x581e33);}};try{const _0x17a924=this['current_test'];this[_0x15570b(0x132)]=_0x476f81,_0x476f81[_0x15570b(0x164)]=null,_0x476f81[_0x15570b(0x1aa)]=_0x4f3c00[_0x15570b(0x177)](uuidv4),_0x476f81[_0x15570b(0xb9)]=new Date()[_0x15570b(0x129)](),_0x4f3c00['pJUup'](_0x476f81[_0x15570b(0x187)],0x0)&&_0x17a924&&_0x4f3c00[_0x15570b(0xaa)](_0x17a924[_0x15570b(0x116)],_0x476f81[_0x15570b(0x116)])?(_0x476f81['retryOf']=_0x17a924[_0x15570b(0x1aa)],await this[_0x15570b(0xab)](_0x476f81,undefined,![],_0x4f3c00[_0x15570b(0x13c)]),_0x17a924['state']=STATE_FAILED,await this[_0x15570b(0xab)](_0x17a924,undefined,!![])):await this[_0x15570b(0xab)](_0x476f81,undefined,![],_0x4f3c00['JfLli']);}catch(_0x4708c8){_0x4f3c00[_0x15570b(0x193)](debug,_0x15570b(0x117)+_0x4708c8);}};['sendTestRunEvent']=async(_0x123b89,_0x33a07=undefined,_0x5348a3=![],_0x3afdc6=a27_0x2a0062(0xa1))=>{const _0x220b44=a27_0x2a0062,_0x3898a1={'kDnpS':function(_0xb66994,_0x1e507c){return _0xb66994===_0x1e507c;},'zskWc':function(_0xf3d492,_0x4eefa6){return _0xf3d492!==_0x4eefa6;},'tOkbz':_0x220b44(0x173),'vXASR':_0x220b44(0x1b8),'wJnjl':'File\x20path\x20could\x20not\x20be\x20found','EvXIQ':'Mocha','zEyPS':'javascript','GJkkV':_0x220b44(0xe8),'isaLb':'skipped','FIXAi':function(_0x31cf59,_0x282f06){return _0x31cf59-_0x282f06;},'pLory':'AssertionError','YfDRM':'UnhandledError','GpqZO':_0x220b44(0xb9),'altYL':_0x220b44(0x17c),'fgkkO':function(_0x4c2c3c,_0x3ef66e){return _0x4c2c3c(_0x3ef66e);},'DgIuf':function(_0x1b5d6c,_0x205368){return _0x1b5d6c===_0x205368;},'JOqiD':_0x220b44(0xd1),'cxMkU':'failed','yJQYt':_0x220b44(0x131),'TiYrm':function(_0x28adb7,_0x1e6680){return _0x28adb7===_0x1e6680;},'AWYuE':'before\x20each','faQcb':function(_0x4a33a3,_0x145a2d){return _0x4a33a3===_0x145a2d;},'yeDVt':_0x220b44(0x10e),'fNvpy':_0x220b44(0xf3),'jaxXZ':_0x220b44(0xe2),'KXSNg':_0x220b44(0x114),'KHXXw':_0x220b44(0x151),'mShLd':'TestRunFinished','WZYMy':function(_0xe3b54e,_0x38c821){return _0xe3b54e(_0x38c821);},'RpVEw':'hook_type','KhMwz':'hook_run','rvckD':'test_run'};try{if(_0x123b89[_0x220b44(0x110)]&&_0x123b89['body']['match'](/browserstack internal helper hook/))return;let _0x240f64=[];if(_0x3898a1[_0x220b44(0xa2)](_0x123b89['state'],STATE_FAILED)){if(_0x3898a1[_0x220b44(0x1a8)](_0x123b89['err'],undefined))_0x240f64=_0x123b89['err'][_0x220b44(0xa5)]?[_0x123b89[_0x220b44(0x1b8)][_0x220b44(0xa5)],_0x3898a1[_0x220b44(0xbd)]]:[_0x123b89[_0x220b44(0x1b8)],_0x3898a1[_0x220b44(0x148)]];else _0x3898a1[_0x220b44(0x1a8)](_0x33a07,undefined)?_0x240f64=[_0x33a07,_0x3898a1[_0x220b44(0x148)]]:_0x240f64=[];}const _0x38ad1f=_0x3898a1[_0x220b44(0x1a8)](_0x123b89[_0x220b44(0x1b8)],undefined)?_0x123b89[_0x220b44(0x1b8)][_0x220b44(0x175)]():_0x3898a1[_0x220b44(0x1a8)](_0x33a07,undefined)?_0x33a07[_0x220b44(0x175)]():undefined;let _0x39f408;try{_0x39f408=this[_0x220b44(0xbb)](_0x123b89);}catch(_0x288cbc){_0x39f408=null;}const _0x4a2899=_0x39f408?this['findGitConfig'](_0x39f408):null,_0x123f7a=_0x39f408?this[_0x220b44(0xe9)][_0x220b44(0xd8)](this[_0x220b44(0xbb)](_0x123b89)):_0x3898a1[_0x220b44(0xf1)],_0xd5e6d9={'framework':_0x3898a1[_0x220b44(0x14b)],'uuid':_0x123b89[_0x220b44(0x1aa)]||_0x123b89[_0x220b44(0x16d)],'name':_0x123b89[_0x220b44(0x116)],'body':{'lang':_0x3898a1[_0x220b44(0xa4)],'code':_0x123b89[_0x220b44(0x110)]},'scope':this[_0x220b44(0x18c)](_0x123b89),'scopes':this[_0x220b44(0x108)](_0x123b89),'identifier':_0x123b89[_0x220b44(0x14c)](),'file_name':_0x123f7a,'vc_filepath':_0x4a2899?path[_0x220b44(0x1a5)](_0x4a2899,_0x39f408):null,'location':_0x123f7a,'result':_0x3898a1['kDnpS'](_0x3afdc6,_0x3898a1[_0x220b44(0x119)])?_0x3898a1[_0x220b44(0xe3)]:this['analyticsResult'](_0x123b89['state']),'failure_reason':_0x38ad1f,'duration_in_ms':_0x123b89['duration']||(_0x3afdc6[_0x220b44(0x12f)](/Finished/)||_0x3afdc6[_0x220b44(0x12f)](/Skipped/)?_0x3898a1['FIXAi'](Date[_0x220b44(0x195)](),new Date(_0x123b89[_0x220b44(0xb9)])[_0x220b44(0x1b4)]()):null),'started_at':_0x123b89[_0x220b44(0xb9)],'finished_at':_0x3afdc6[_0x220b44(0x12f)](/Finished/)||_0x3afdc6[_0x220b44(0x12f)](/Skipped/)?new Date()[_0x220b44(0x129)]():null,'failure':failureData['apply'](null,_0x240f64),'failure_type':!_0x38ad1f?null:_0x38ad1f[_0x220b44(0x12f)](/AssertionError/)?_0x3898a1[_0x220b44(0x13a)]:_0x3898a1[_0x220b44(0xa6)],'retry_of':_0x123b89[_0x220b44(0x164)]};testhubUtils['appendTesthubParams'](_0xd5e6d9,_0x3afdc6,_0x123b89,FRAMEWORKS[_0x220b44(0xd6)]);_0x3898a1[_0x220b44(0xa2)](_0x3afdc6,_0x3898a1['GJkkV'])&&!_0xd5e6d9[_0x3898a1[_0x220b44(0xb6)]]&&(_0xd5e6d9[_0x3898a1[_0x220b44(0xb6)]]=_0xd5e6d9[_0x3898a1[_0x220b44(0x188)]]);if(_0x3afdc6[_0x220b44(0x12f)](/HookRun/))[_0xd5e6d9['hook_type'],_0xd5e6d9[_0x220b44(0x146)]]=_0x3898a1[_0x220b44(0x121)](getHookDetails,_0x123b89[_0x220b44(0x14c)]()||_0x123b89[_0x220b44(0xdb)]||_0x123b89[_0x220b44(0x116)]),_0x3898a1[_0x220b44(0x134)](_0x3afdc6,_0x3898a1[_0x220b44(0x17b)])&&(_0x3898a1[_0x220b44(0x1a8)](_0xd5e6d9[_0x220b44(0x1b9)],_0x3898a1[_0x220b44(0x109)])&&(_0xd5e6d9[_0x220b44(0x1b9)]=_0x3898a1[_0x220b44(0xac)]),_0x3898a1[_0x220b44(0x1b3)](_0xd5e6d9[_0x220b44(0xe7)],_0x3898a1[_0x220b44(0x17f)])&&_0x3898a1['faQcb'](_0xd5e6d9[_0x220b44(0x1b9)],_0x3898a1[_0x220b44(0x109)])&&!_0x123b89[_0x220b44(0x162)][_0x220b44(0x18a)][_0x220b44(0xd4)]&&(_0x123b89[_0x220b44(0x162)][_0x220b44(0x18a)][_0x220b44(0xd4)]=!![],_0x123b89[_0x220b44(0x162)]['currentTest'][_0x220b44(0xa0)]=STATE_FAILED,await this[_0x220b44(0xab)](_0x123b89[_0x220b44(0x162)]['currentTest'],undefined,!![])));else _0x3afdc6[_0x220b44(0x12f)](/TestRun/)&&_0x3898a1[_0x220b44(0x121)](mapTestHooks,_0x123b89);const _0x4b56d5=_0xd5e6d9[_0x3898a1[_0x220b44(0x1b7)]][0x0];_0x4b56d5&&(_0xd5e6d9[_0x3898a1['fNvpy']]=_0x4b56d5[_0x3898a1[_0x220b44(0xa9)]],_0xd5e6d9[_0x3898a1[_0x220b44(0xb7)]]=_0x4b56d5[_0x3898a1[_0x220b44(0x169)]]);[_0x3898a1[_0x220b44(0x1a4)],_0x3898a1[_0x220b44(0x119)]][_0x220b44(0x145)](_0x3afdc6)&&(this[_0x220b44(0x9d)]['push'](_0xd5e6d9),_0xd5e6d9['hooks']=_0x3898a1['WZYMy'](getHooksForTest,_0x123b89));const _0xe76b8c={'event_type':_0x3898a1[_0x220b44(0xa2)](_0x3afdc6,_0x3898a1['GJkkV'])?_0x3898a1[_0x220b44(0x1a4)]:_0x3afdc6};_0x3afdc6['match'](/HookRun/)?(_0xd5e6d9[_0x3898a1[_0x220b44(0xd5)]]=HOOK_TYPES_MAP[_0xd5e6d9[_0x3898a1[_0x220b44(0xd5)]]],_0xe76b8c[_0x3898a1[_0x220b44(0x9b)]]=_0xd5e6d9):_0xe76b8c[_0x3898a1[_0x220b44(0x1ac)]]=_0xd5e6d9,testhubUtils[_0x220b44(0x104)](FRAMEWORKS[_0x220b44(0xd6)],_0xe76b8c),await SessionHandler['uploadEventData'](_0xe76b8c);}catch(_0x1c9cf9){_0x3898a1[_0x220b44(0x121)](debug,_0x220b44(0xba)+_0x3afdc6+_0x220b44(0x11c)+_0x1c9cf9);}};[a27_0x2a0062(0x197)](_0x312310){const _0x17985c=a27_0x2a0062,_0x56bb30={};_0x56bb30[_0x17985c(0xb8)]=function(_0x5878ad,_0x2aa40c){return _0x5878ad===_0x2aa40c;},_0x56bb30['jjzBK']=_0x17985c(0x154),_0x56bb30[_0x17985c(0x125)]=_0x17985c(0x15c);const _0x59df47=_0x56bb30,_0x1614fd=path['sep'];if(_0x59df47[_0x17985c(0xb8)](_0x312310,null)||_0x59df47[_0x17985c(0xb8)](_0x312310,'')||_0x59df47[_0x17985c(0xb8)](_0x312310,_0x1614fd))return null;try{return fs[_0x17985c(0xa8)](path[_0x17985c(0xc6)](_0x312310,_0x59df47[_0x17985c(0x126)],_0x59df47[_0x17985c(0x125)])),_0x312310;}catch(_0x4efdd0){const _0x6a2714=path[_0x17985c(0x171)](_0x312310);return this[_0x17985c(0x197)](_0x6a2714);}}[a27_0x2a0062(0x1a3)]=async _0x108829=>{const _0x3ab332=a27_0x2a0062,_0x243c55={'RTAji':_0x3ab332(0xc4),'qfWmt':function(_0x126967,_0xf0db23){return _0x126967(_0xf0db23);}};try{this['current_hook']&&!this['current_hook'][_0x3ab332(0xd4)]&&(_0x108829[_0x3ab332(0x98)]=this[_0x3ab332(0x92)][_0x3ab332(0x16d)]);!_0x108829[_0x3ab332(0x98)]&&this[_0x3ab332(0x132)]&&!this['current_test'][_0x3ab332(0xd4)]&&(_0x108829[_0x3ab332(0x183)]=this[_0x3ab332(0x132)][_0x3ab332(0x1aa)]);if(_0x108829[_0x3ab332(0x98)]||_0x108829[_0x3ab332(0x183)]){const _0x46896f={};_0x46896f['event_type']=_0x243c55[_0x3ab332(0x127)],_0x46896f[_0x3ab332(0x99)]=[_0x108829],await SessionHandler[_0x3ab332(0x100)](_0x46896f);}}catch(_0x437529){_0x243c55[_0x3ab332(0x174)](debug,_0x3ab332(0x8f)+_0x437529);}};['appendTestPlatform']=async _0x3d2372=>{const _0xf17521=a27_0x2a0062,_0x514653={'dXCrL':_0xf17521(0x113),'tUmkp':_0xf17521(0xa3),'gGljO':function(_0x176d0b,_0x158cef){return _0x176d0b(_0x158cef);}};try{const _0x9ed235={};_0x9ed235[_0xf17521(0xb2)]=_0x3d2372[_0xf17521(0xb2)]||this[_0xf17521(0x132)][_0xf17521(0x1aa)],_0x9ed235['integrations']=_0x3d2372[_0x514653['dXCrL']];const _0x3f6dff=_0x9ed235,_0xe11691={};_0xe11691[_0xf17521(0xc8)]=_0x514653[_0xf17521(0x198)],_0xe11691[_0xf17521(0x16f)]=_0x3f6dff,await SessionHandler[_0xf17521(0x100)](_0xe11691);}catch(_0x1f712d){_0x514653[_0xf17521(0xb3)](debug,_0xf17521(0x1ab)+_0x1f712d);}};[a27_0x2a0062(0xa7)](_0x2ee3b0){const _0x2f9cfc=a27_0x2a0062,_0x4d700d={};_0x4d700d[_0x2f9cfc(0x140)]=_0x2f9cfc(0x131),_0x4d700d['lkEwX']=_0x2f9cfc(0xed),_0x4d700d[_0x2f9cfc(0x156)]=_0x2f9cfc(0x15e);const _0x865b7e=_0x4d700d,_0x1b88c6={};return _0x1b88c6[STATE_PASSED]=_0x865b7e['DGNQs'],_0x1b88c6[STATE_PENDING]=_0x865b7e[_0x2f9cfc(0xf9)],_0x1b88c6[STATE_FAILED]=_0x865b7e['CihdN'],_0x1b88c6[_0x2ee3b0];}[a27_0x2a0062(0x18c)](_0x255ff9){const _0x42cfd3=a27_0x2a0062,_0x390878={};_0x390878[_0x42cfd3(0x196)]=function(_0x1c5c14,_0x2598e2){return _0x1c5c14-_0x2598e2;};const _0x589ddc=_0x390878,_0x47fe70=_0x255ff9[_0x42cfd3(0x8e)]();return _0x47fe70[_0x42cfd3(0x90)](0x0,_0x589ddc[_0x42cfd3(0x196)](_0x47fe70[_0x42cfd3(0x94)],0x1))['join']('\x20');}[a27_0x2a0062(0x108)](_0x1993c6){const _0x30360f=a27_0x2a0062,_0xe73771={};_0xe73771[_0x30360f(0x158)]=function(_0xd8a8c4,_0x1735cd){return _0xd8a8c4-_0x1735cd;};const _0x129ef8=_0xe73771,_0x2262a3=_0x1993c6[_0x30360f(0x8e)]();return _0x2262a3['slice'](0x0,_0x129ef8[_0x30360f(0x158)](_0x2262a3[_0x30360f(0x94)],0x1));}[a27_0x2a0062(0xbb)](_0x329fbd){const _0x2bce25=a27_0x2a0062,_0x4ce784={};_0x4ce784[_0x2bce25(0x10a)]=function(_0x12c712,_0x3b75d8){return _0x12c712>_0x3b75d8;};const _0x8e0683=_0x4ce784;if(_0x329fbd['file'])return _0x329fbd[_0x2bce25(0x97)];if(_0x329fbd[_0x2bce25(0x162)]){const _0xa1181a=_0x329fbd[_0x2bce25(0x162)]['currentTest']?this['getRootParentFile'](_0x329fbd[_0x2bce25(0x162)]['currentTest']):null;if(_0xa1181a)return _0xa1181a;}if(_0x329fbd['parent']){const _0x2a00e6=this[_0x2bce25(0xbb)](_0x329fbd[_0x2bce25(0x149)])||(_0x329fbd[_0x2bce25(0x149)]['ctx']&&_0x329fbd['parent'][_0x2bce25(0x162)][_0x2bce25(0x18a)]?this[_0x2bce25(0xbb)](_0x329fbd[_0x2bce25(0x149)][_0x2bce25(0x162)][_0x2bce25(0x18a)]):null);if(_0x2a00e6)return _0x2a00e6;_0x329fbd[_0x2bce25(0x149)][_0x2bce25(0x14d)]&&_0x8e0683[_0x2bce25(0x10a)](_0x329fbd[_0x2bce25(0x149)][_0x2bce25(0x14d)][_0x2bce25(0x94)],0x0)&&_0x329fbd[_0x2bce25(0x149)]['suites'][_0x2bce25(0xeb)](_0x166cfc=>{const _0x13c284=_0x2bce25,_0x445317=_0x166cfc[_0x13c284(0x162)]?this[_0x13c284(0xbb)](_0x166cfc[_0x13c284(0x162)]):null;if(_0x445317)return _0x445317;});}return null;}}module[a27_0x2a0062(0x137)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x5216f0=a28_0x7406;(function(_0x38bde6,_0xf58b5d){const _0x2ba3c7=a28_0x7406,_0x4d3ee8=_0x38bde6();while(!![]){try{const _0x16e8a8=-parseInt(_0x2ba3c7(0x203))/0x1*(parseInt(_0x2ba3c7(0x201))/0x2)+-parseInt(_0x2ba3c7(0x155))/0x3*(-parseInt(_0x2ba3c7(0x18c))/0x4)+parseInt(_0x2ba3c7(0x172))/0x5*(parseInt(_0x2ba3c7(0x192))/0x6)+-parseInt(_0x2ba3c7(0x1ba))/0x7+parseInt(_0x2ba3c7(0x200))/0x8*(-parseInt(_0x2ba3c7(0x1e9))/0x9)+-parseInt(_0x2ba3c7(0x207))/0xa*(-parseInt(_0x2ba3c7(0x22c))/0xb)+-parseInt(_0x2ba3c7(0x1f3))/0xc;if(_0x16e8a8===_0xf58b5d)break;else _0x4d3ee8['push'](_0x4d3ee8['shift']());}catch(_0x300d95){_0x4d3ee8['push'](_0x4d3ee8['shift']());}}}(a28_0x5935,0xe4b11));const chalk=require(a28_0x5216f0(0x1ab)),logger=require(a28_0x5216f0(0x19c))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x5216f0(0x1e1)),helper=require(a28_0x5216f0(0x1a9)),utilities=require(a28_0x5216f0(0x1e3)),testOpsHelper=require(a28_0x5216f0(0x188)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x5216f0(0x149)),{requireModule,nestedKeyValue}=require(a28_0x5216f0(0x1a9)),{getPercyOptions}=require(a28_0x5216f0(0x183)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule(a28_0x5216f0(0x1af)),constants=require('../utils/constants');function tag(_0x1575ec,_0x265a5f,_0x4afa2c,_0xb473e3){const _0x2451a2=a28_0x5216f0,_0x121484={'kqlcp':function(_0x19a32b,_0x1f392d){return _0x19a32b+_0x1f392d;},'CiuzP':function(_0x47c563,_0x1cb645){return _0x47c563(_0x1cb645);},'SlgQE':function(_0x43ccf9,_0x343ec0){return _0x43ccf9+_0x343ec0;},'OqQGv':function(_0x292560,_0x462b46){return _0x292560+_0x462b46;},'pAkkZ':function(_0x89977d,_0x29d521){return _0x89977d+_0x29d521;}},_0x12cc6a=_0x4afa2c?'/>':'>',_0x397d53=[];let _0x19aabc;for(const _0x343937 in _0x265a5f){Object[_0x2451a2(0x13c)][_0x2451a2(0x158)]['call'](_0x265a5f,_0x343937)&&_0x397d53[_0x2451a2(0x232)](_0x121484[_0x2451a2(0x189)](_0x121484[_0x2451a2(0x189)](_0x121484['kqlcp'](_0x343937,'=\x22'),_0x121484[_0x2451a2(0x217)](escape,_0x265a5f[_0x343937])),'\x22'));}return _0x19aabc=_0x121484[_0x2451a2(0x170)](_0x121484[_0x2451a2(0x170)](_0x121484[_0x2451a2(0x189)]('<',_0x1575ec),_0x397d53[_0x2451a2(0x15f)]?_0x121484[_0x2451a2(0x189)]('\x20',_0x397d53['join']('\x20')):''),_0x12cc6a),_0xb473e3&&(_0x19aabc+=_0x121484[_0x2451a2(0x170)](_0x121484[_0x2451a2(0x20d)](_0x121484['pAkkZ'](_0xb473e3,'</'),_0x1575ec),_0x12cc6a)),_0x19aabc;}let xunitContent='';function xunitWrite(_0x417c1f){xunitContent+=_0x417c1f;}function xunitTest(_0x278393,_0x2ce35d){const _0x520166=a28_0x5216f0,_0x5a1462={'VTHlT':function(_0x1e93d8,_0x36eebd){return _0x1e93d8/_0x36eebd;},'mZwNB':function(_0x2b0d83,_0x5bb0e8){return _0x2b0d83===_0x5bb0e8;},'rbGsv':_0x520166(0x1c2),'FrnsW':function(_0xf709bf,_0x25b24b){return _0xf709bf+_0x25b24b;},'weKIP':function(_0x16511a,_0x50e0e7){return _0x16511a(_0x50e0e7);},'cvajY':function(_0x468089,_0x5c851f,_0x545b78,_0x2f6a04,_0x14e845){return _0x468089(_0x5c851f,_0x545b78,_0x2f6a04,_0x14e845);},'PADmm':_0x520166(0x1eb),'IVPFW':function(_0x369fe6,_0xd69c06,_0x1717e3,_0x425951,_0x282518){return _0x369fe6(_0xd69c06,_0x1717e3,_0x425951,_0x282518);},'HCQZn':'failure','CMrTL':function(_0x1e566b,_0x2b2088){return _0x1e566b+_0x2b2088;},'gJKVM':function(_0x32b953,_0x5c8a5a){return _0x32b953(_0x5c8a5a);},'Zkzvh':function(_0x35876f,_0x2fe56b,_0x36ff1b,_0x406210){return _0x35876f(_0x2fe56b,_0x36ff1b,_0x406210);},'xRMvC':'skipped','AmITm':function(_0x404819,_0x53cc64,_0x22991b,_0x57947d){return _0x404819(_0x53cc64,_0x22991b,_0x57947d);}};Base[_0x520166(0x21b)]=![];var _0x4a78f7={'classname':_0x278393[_0x520166(0x1c3)],'name':_0x278393[_0x520166(0x1ef)],'time':_0x5a1462[_0x520166(0x1e4)](_0x278393['duration'],0x3e8)||0x0,'platform':_0x2ce35d};if(_0x5a1462[_0x520166(0x15d)](_0x278393['state'],_0x5a1462[_0x520166(0x208)])){var _0x5b9a93=_0x278393['err'],_0x175e47=!Base[_0x520166(0x1ce)]&&Base[_0x520166(0x226)](_0x5b9a93)?_0x5a1462[_0x520166(0x19e)]('\x0a',Base[_0x520166(0x230)](_0x5b9a93['actual'],_0x5b9a93[_0x520166(0x21e)])):'';_0x5a1462[_0x520166(0x1fb)](xunitWrite,_0x5a1462[_0x520166(0x215)](tag,_0x5a1462[_0x520166(0x1ec)],_0x4a78f7,![],_0x5a1462[_0x520166(0x1e6)](tag,_0x5a1462[_0x520166(0x1a6)],{},![],_0x5a1462[_0x520166(0x1ac)](_0x5a1462[_0x520166(0x19e)](_0x5a1462[_0x520166(0x19e)](_0x5a1462[_0x520166(0x1c5)](escape,_0x5b9a93[_0x520166(0x14b)]),_0x5a1462[_0x520166(0x1fb)](escape,_0x175e47)),'\x0a'),_0x5a1462[_0x520166(0x1fb)](escape,_0x5b9a93[_0x520166(0x182)])))));}else _0x278393['isPending']?_0x5a1462[_0x520166(0x1c5)](xunitWrite,_0x5a1462[_0x520166(0x215)](tag,_0x5a1462[_0x520166(0x1ec)],_0x4a78f7,![],_0x5a1462['Zkzvh'](tag,_0x5a1462['xRMvC'],{},!![]))):_0x5a1462[_0x520166(0x1c5)](xunitWrite,_0x5a1462[_0x520166(0x1b9)](tag,_0x5a1462[_0x520166(0x1ec)],_0x4a78f7,!![]));};function getStats(_0xe14960){const _0x572f11=a28_0x5216f0,_0x15076b={};_0x15076b[_0x572f11(0x156)]=_0x572f11(0x197),_0x15076b[_0x572f11(0x1be)]=_0x572f11(0x213),_0x15076b[_0x572f11(0x1c6)]=_0x572f11(0x1c2),_0x15076b[_0x572f11(0x150)]=_0x572f11(0x1b2);const _0x1408bf=_0x15076b,_0x312e2e=Object['keys'](_0xe14960);let _0x1932c3=0x0,_0x4e1e1f=0x0,_0x342671=0x0,_0x40459c=0x0;const _0x36da27=new Set();_0x312e2e['forEach'](_0x29cf51=>{const _0x5dbc17=_0x572f11;_0xe14960[_0x29cf51][_0x1408bf['bilHb']][_0x5dbc17(0x16a)](_0x13342f=>{const _0x50515a=_0x5dbc17;_0x36da27[_0x50515a(0x148)](_0x13342f[_0x1408bf[_0x50515a(0x156)]]),_0x1932c3++;switch(_0x13342f['state']){case _0x1408bf[_0x50515a(0x1be)]:_0x342671++;break;case _0x1408bf[_0x50515a(0x1c6)]:_0x4e1e1f++;break;default:_0x40459c++;}});});const _0x51729e={};return _0x51729e[_0x572f11(0x147)]=_0x36da27[_0x572f11(0x224)],_0x51729e['platforms']=_0x312e2e,_0x51729e[_0x572f11(0x1b8)]=_0x1932c3,_0x51729e[_0x572f11(0x17e)]=_0x4e1e1f,_0x51729e[_0x572f11(0x1fd)]=_0x342671,_0x51729e[_0x572f11(0x1b7)]=_0x40459c,_0x51729e;}function errorJSON(_0x593b3f){const _0x3cac9c=a28_0x5216f0;var _0x1e606b={};return Object[_0x3cac9c(0x1a3)](_0x593b3f)[_0x3cac9c(0x16a)](function(_0x314119){_0x1e606b[_0x314119]=_0x593b3f[_0x314119];},_0x593b3f),_0x1e606b;}function a28_0x7406(_0xe6e666,_0x1e6060){const _0x5935ae=a28_0x5935();return a28_0x7406=function(_0x7406cd,_0x327afb){_0x7406cd=_0x7406cd-0x136;let _0x497e72=_0x5935ae[_0x7406cd];return _0x497e72;},a28_0x7406(_0xe6e666,_0x1e6060);}function a28_0x5935(){const _0x1e9d01=['1432OTJntH','iBsuH','319suEHWu','fireFunnelTestEvent','initialize','xbfJP','6540mPbBmu','rbGsv','cjs','state','kvKAQ','****\x20FAILURES\x20****','OqQGv','\x20total','bcTeL','FloCx','logLevel','debug','passed','output','cvajY','shouldReRunObservabilityTests','CiuzP','TFwbw','MOCHA','then','useColors','nSMjw','object','expected','setupTCGAuth','testObservability','XIjRZ','markSDKSetupComplete','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','size','green','showDiff','WucJB','YUKbM','reporterOptions','zuPLJ','prepareCapabilities','17479LwSnOZ','mjs','includes','\x0a\x0a\x0a','generateDiff','pending','push','rpFeD','speed','blybf','rerunTests','Total\x20Suites:\x20','platforms','prototype','stringify','\x20platforms','sYViS','currentRetry','eELYC','errorMessage','titlePath','spec','Now,\x20showing\x20logs\x20from\x20mocha','err','testSuites','add','../test-runner','recursive','message','ENjFn','BROWSERSTACK_TEST_OBSERVABILITY_YML','Mocha\x20Tests','notifyUpdate','bilHb','printBuildLink','writeFileSync','yellow','ufYRI','78513zQvqgy','TJacs','dIDXV','hasOwnProperty','env','wBHcf','handleApp','red','mZwNB','xExvE','length','xunit','EHpPc','ggPoR','yMyIB','ZdUKs','wyPCA','rmdirSync','indexOf','sJLGr','LNROi','forEach','argv','min','hPgmL','platform','stats','SlgQE','ITUEs','10bTaotH','sort','uzNHu','parse','file','--disable-test-observability','XHJYi','vAqoX','FRAMEWORKS','zWBBF','Tests:\x20\x20\x20\x20\x20\x20\x20','EokvG','testsFailed','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','files','mocha','stack','../../helpers/percy/utils','bgBlueBright','azUBX','wUPVF','lHGmF','../../helpers/test-observability/utils','kqlcp','Total\x20Platforms:\x20','error','176QdcAHd','bbxwy','parallelsPerPlatform','--disable-browserstack-automation','framework','uJOch','5585292TvVyRs','Writing\x20xunit\x20result\x20to\x20file','\x20failed','BKEOX','qeFca','suite','isTestObservabilitySession','toUTCString','getTCGConfigFilePaths','json','../../helpers/logger','info','FrnsW','Writing\x20json\x20result\x20to\x20file','Setting\x20non\x20exit\x20code\x20for\x20failures','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','viCfY','getOwnPropertyNames','cliConfig','</testsuite>','HCQZn','accessibilityOptions','reporter','../../helpers/helper','xXPiu','chalk','CMrTL','SDKTestSuccessful','dgrCX','mocha/lib/cli/collect-files.js','proxySettings','extension','results','KPhDd','ZuHXM','ePuJW','XgliY','testsPending','totalTests','AmITm','11034191tmUWse','get','RJMIy','getUserWorkerCount','VtrGJ','isUndefined','map','otTFM','failed','fullTitle','passes','gJKVM','vNizo','exitCode','join','meUvt','KxxAz','Running\x20your\x20mocha\x20tests','useW3C','rootHooks','hideDiff','Running\x20your\x20mocha\x20tests\x20across\x20','repeN','PIcrx','\x20skipped','FedLW','usqiS','log','bgRedBright','assign','xKLzB','getPlatformName','FqrSf','EIknH','getErrorMessageFromResults','failures','LIJqf','ignore','getHubUrl','../../helpers/BrowserStackSetup','lNUjB','../../helpers/utilities','VTHlT','bold','IVPFW','gZlSj','consoleLog','735003uhImMR','has','testcase','PADmm','vAmjc','accessibility','title','DJekV','duration','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','4952628kQeuap','bLOOj','BROWSERSTACK_RERUN_TESTS','finalExecution','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','\x20passed','BFDak','validPlatformsPresent','weKIP','finally','testsPassed','config','Couldn\x27t\x20write\x20xunit\x20result\x20to','88ehESmx'];a28_0x5935=function(){return _0x1e9d01;};return a28_0x5935();}function cleanCycles(_0x534080){const _0xbd3af1=a28_0x5216f0,_0x12485e={};_0x12485e[_0xbd3af1(0x179)]=function(_0xd4e85f,_0x2e638f){return _0xd4e85f===_0x2e638f;},_0x12485e['KPhDd']=_0xbd3af1(0x21d),_0x12485e[_0xbd3af1(0x1b6)]=function(_0x5200bb,_0x1fb07f){return _0x5200bb!==_0x1fb07f;},_0x12485e['ENjFn']=function(_0x442463,_0x668ed){return _0x442463+_0x668ed;};const _0x5bd998=_0x12485e;var _0x465bbc=[];return JSON[_0xbd3af1(0x175)](JSON[_0xbd3af1(0x13d)](_0x534080,function(_0x421b48,_0x1f5a0a){const _0x9a537e=_0xbd3af1;if(_0x5bd998[_0x9a537e(0x179)](typeof _0x1f5a0a,_0x5bd998[_0x9a537e(0x1b3)])&&_0x5bd998[_0x9a537e(0x1b6)](_0x1f5a0a,null)){if(_0x5bd998[_0x9a537e(0x1b6)](_0x465bbc[_0x9a537e(0x167)](_0x1f5a0a),-0x1))return _0x5bd998[_0x9a537e(0x14c)]('',_0x1f5a0a);_0x465bbc[_0x9a537e(0x232)](_0x1f5a0a);}return _0x1f5a0a;}));}function clean(_0x4b465b){const _0x6533b7=a28_0x5216f0,_0x49885a={'gZSEK':function(_0x36a7a1,_0x1eebd1){return _0x36a7a1 instanceof _0x1eebd1;},'KxxAz':function(_0x100087,_0x38fe57){return _0x100087(_0x38fe57);}};var _0x5a95fd=_0x4b465b[_0x6533b7(0x146)]||{};return _0x49885a['gZSEK'](_0x5a95fd,Error)&&(_0x5a95fd=_0x49885a[_0x6533b7(0x1ca)](errorJSON,_0x5a95fd)),{'title':_0x4b465b[_0x6533b7(0x1ef)],'fullTitle':_0x4b465b['fullTitle'],'file':_0x4b465b[_0x6533b7(0x176)],'duration':_0x4b465b[_0x6533b7(0x1f1)],'currentRetry':_0x4b465b[_0x6533b7(0x140)],'speed':_0x4b465b[_0x6533b7(0x137)],'err':_0x49885a[_0x6533b7(0x1ca)](cleanCycles,_0x5a95fd)};}function printStats(_0x3c0b6d,_0x56c1c5=a28_0x5216f0(0x144),_0x56ad1f={}){const _0x2fa256=a28_0x5216f0,_0x423978={'viCfY':function(_0x345090,_0x51ee25){return _0x345090(_0x51ee25);},'uzNHu':function(_0x30b06f,_0x527e25){return _0x30b06f===_0x527e25;},'lNUjB':'passed','vAmjc':_0x2fa256(0x1c4),'otTFM':function(_0x47bcfa,_0x12b256){return _0x47bcfa(_0x12b256);},'dgrCX':function(_0x28d63f,_0x3c26ba){return _0x28d63f===_0x3c26ba;},'sYViS':_0x2fa256(0x1c2),'XIjRZ':_0x2fa256(0x1dd),'eELYC':function(_0x103ccc,_0x26776a){return _0x103ccc(_0x26776a);},'IyIzF':_0x2fa256(0x231),'bLOOj':function(_0x4e911b,_0x4bc7db){return _0x4e911b(_0x4bc7db);},'YUKbM':'results','qeFca':function(_0x90ed91,_0xf46925){return _0x90ed91===_0xf46925;},'FqrSf':function(_0x2be940,_0x293952){return _0x2be940===_0x293952;},'ggPoR':function(_0x1d1e87,_0x32511b){return _0x1d1e87*_0x32511b;},'cqGEZ':function(_0x5607b2,_0xce6440,_0x350f6e){return _0x5607b2(_0xce6440,_0x350f6e);},'ZuHXM':function(_0x55fbdb,_0x24d205){return _0x55fbdb===_0x24d205;},'PIcrx':function(_0x2c85eb,_0x6d184c){return _0x2c85eb>_0x6d184c;},'ygopo':function(_0x3538b8){return _0x3538b8();},'LNROi':'doc','xXPiu':function(_0x3801b3,_0x2d5aba){return _0x3801b3(_0x2d5aba);},'BFDak':function(_0x176200,_0x54e595){return _0x176200>_0x54e595;},'gWVUO':_0x2fa256(0x1a0),'sJLGr':'Printing\x20stats\x20of\x20tests','blybf':function(_0x801311,_0xd8d694){return _0x801311+_0xd8d694;},'LKNEn':_0x2fa256(0x18a),'xbfJP':function(_0x3d9e45,_0x4f0371){return _0x3d9e45+_0x4f0371;},'ZdUKs':_0x2fa256(0x13a),'iBsuH':function(_0x59914b,_0x23fc33){return _0x59914b+_0x23fc33;},'HZSiZ':_0x2fa256(0x17c),'wBHcf':function(_0x4d2f61,_0x4c1a85){return _0x4d2f61+_0x4c1a85;},'wUPVF':function(_0x36c765,_0x4a5a60){return _0x36c765+_0x4a5a60;},'ePuJW':function(_0x26b2d1,_0x3518ba){return _0x26b2d1+_0x3518ba;},'gBvAa':function(_0xf431e9,_0x3f823c){return _0xf431e9+_0x3f823c;},'gZlSj':_0x2fa256(0x22f),'lHGmF':_0x2fa256(0x19b),'gueiN':_0x2fa256(0x19f),'LIJqf':'Couldn\x27t\x20write\x20json\x20result\x20to','WucJB':_0x2fa256(0x1f7),'ZEUxU':function(_0x3bed69,_0x56ca32){return _0x3bed69===_0x56ca32;},'RJMIy':_0x2fa256(0x160),'uJOch':_0x2fa256(0x14e),'meUvt':function(_0x58881a,_0x45d354){return _0x58881a||_0x45d354;},'BKEOX':function(_0x144756,_0x44397f,_0x33896c,_0x326f4d){return _0x144756(_0x44397f,_0x33896c,_0x326f4d);},'mVHZP':'testsuite','dIDXV':function(_0x556e1f,_0x58a568){return _0x556e1f-_0x58a568;},'zWBBF':function(_0x252ae4,_0x276811){return _0x252ae4/_0x276811;},'cyzNU':_0x2fa256(0x1a5),'wyPCA':_0x2fa256(0x193),'gknmc':_0x2fa256(0x1ff),'nSMjw':_0x2fa256(0x17f),'SGkBI':'Listing\x20all\x20the\x20failures','XHJYi':_0x2fa256(0x20c)};if(_0x423978[_0x2fa256(0x1da)](_0x56c1c5,_0x423978[_0x2fa256(0x169)]))return;const _0x7d47c2=0x0,_0x53aca3=()=>{const _0x2c6da0=_0x2fa256;return _0x423978[_0x2c6da0(0x1a2)](Array,_0x7d47c2)[_0x2c6da0(0x1c8)]('\x20\x20');},{testSuites:_0x191c56,platforms:_0x129754,totalTests:_0x437d7e,testsFailed:_0x161845,testsPassed:_0x29ba97,testsPending:_0x500dce}=_0x423978[_0x2fa256(0x1aa)](getStats,_0x3c0b6d);_0x423978[_0x2fa256(0x1f9)](_0x161845,0x0)&&(logger[_0x2fa256(0x212)](_0x423978['gWVUO']),process[_0x2fa256(0x1c7)]=Math[_0x2fa256(0x16c)](_0x161845,0xff));logger['debug'](_0x423978[_0x2fa256(0x168)]);const _0x5d61a8=''+_0x423978[_0x2fa256(0x138)](chalk['bold'](_0x423978['LKNEn']),_0x129754[_0x2fa256(0x15f)]),_0x5853de=''+_0x423978[_0x2fa256(0x206)](chalk[_0x2fa256(0x1e5)](_0x423978[_0x2fa256(0x164)]),_0x191c56),_0x1108eb=''+_0x423978['iBsuH'](_0x423978[_0x2fa256(0x138)](_0x423978[_0x2fa256(0x202)](chalk[_0x2fa256(0x1e5)](_0x423978['HZSiZ']),_0x423978[_0x2fa256(0x1d1)](_0x161845,0x0)?chalk[_0x2fa256(0x1e5)][_0x2fa256(0x15c)](_0x161845+_0x2fa256(0x194))+',\x20':''),_0x423978[_0x2fa256(0x1d1)](_0x500dce,0x0)?chalk[_0x2fa256(0x1e5)][_0x2fa256(0x153)](_0x500dce+_0x2fa256(0x1d2))+',\x20':''),_0x423978[_0x2fa256(0x1f9)](_0x29ba97,0x0)?chalk[_0x2fa256(0x1e5)][_0x2fa256(0x225)](_0x29ba97+_0x2fa256(0x1f8))+',\x20':'')+_0x437d7e+_0x2fa256(0x20e);console[_0x2fa256(0x1d5)](_0x423978[_0x2fa256(0x15a)](_0x423978[_0x2fa256(0x186)](_0x423978[_0x2fa256(0x1b5)](_0x423978['iBsuH'](_0x423978['gBvAa'](_0x423978[_0x2fa256(0x1e7)],_0x5d61a8),'\x0a'),_0x5853de),'\x0a'),_0x1108eb));if(_0x423978['dgrCX'](_0x56c1c5,_0x423978[_0x2fa256(0x187)])){const _0x1352ee={},_0x509993={};_0x509993[_0x2fa256(0x147)]=_0x191c56,_0x509993[_0x2fa256(0x13b)]=_0x129754,_0x509993[_0x2fa256(0x17e)]=_0x161845,_0x509993['testsPassed']=_0x29ba97,_0x509993[_0x2fa256(0x1b7)]=_0x500dce,_0x1352ee[_0x2fa256(0x16f)]=_0x509993,_0x129754['forEach'](_0x3734a9=>{const _0x7c7077=_0x2fa256;_0x1352ee[_0x3734a9]={'pending':[],'failures':[],'passes':[],'tests':_0x3c0b6d[_0x3734a9][_0x423978[_0x7c7077(0x228)]][_0x7c7077(0x1c0)](clean)},_0x3c0b6d[_0x3734a9][_0x423978[_0x7c7077(0x228)]][_0x7c7077(0x16a)](_0x3a9c05=>{const _0x29b9b0=_0x7c7077;if(_0x423978[_0x29b9b0(0x174)](_0x3a9c05[_0x29b9b0(0x20a)],_0x423978[_0x29b9b0(0x1e2)]))_0x1352ee[_0x3734a9][_0x423978[_0x29b9b0(0x1ed)]][_0x29b9b0(0x232)](_0x423978[_0x29b9b0(0x1c1)](clean,_0x3a9c05));else _0x423978[_0x29b9b0(0x1ae)](_0x3a9c05[_0x29b9b0(0x20a)],_0x423978[_0x29b9b0(0x13f)])?_0x1352ee[_0x3734a9][_0x423978[_0x29b9b0(0x221)]][_0x29b9b0(0x232)](_0x423978[_0x29b9b0(0x141)](clean,_0x3a9c05)):_0x1352ee[_0x3734a9][_0x423978['IyIzF']][_0x29b9b0(0x232)](_0x423978['bLOOj'](clean,_0x3a9c05));});});if(_0x56ad1f[_0x2fa256(0x214)])try{logger['debug'](_0x423978['gueiN'],_0x56ad1f[_0x2fa256(0x214)]),fs[_0x2fa256(0x152)](_0x56ad1f[_0x2fa256(0x214)],JSON[_0x2fa256(0x13d)](_0x1352ee,null,0x3));}catch(_0x221466){logger['error'](_0x423978[_0x2fa256(0x1de)],_0x56ad1f['output']),logger[_0x2fa256(0x212)](_0x221466);}else logger[_0x2fa256(0x212)](_0x423978[_0x2fa256(0x227)]),console[_0x2fa256(0x1d5)](JSON[_0x2fa256(0x13d)](_0x1352ee,null,0x3));}else{if(_0x423978['ZEUxU'](_0x56c1c5,_0x423978[_0x2fa256(0x1bc)])){let _0x475235;const _0x4ea1cf=_0x423978[_0x2fa256(0x191)];_0x56ad1f&&(_0x475235=_0x56ad1f['suiteName']);_0x475235=_0x423978[_0x2fa256(0x1c9)](_0x475235,_0x4ea1cf);let _0xb93ec6=0x0,_0x4f00da=0x0,_0x366e01=0x0,_0x21f693=0x0;_0x129754[_0x2fa256(0x16a)](_0x24d928=>{const _0x17a993=_0x2fa256,_0x472a05={'hPgmL':function(_0x225c4d,_0x37ba52){const _0x3b08fa=a28_0x7406;return _0x423978[_0x3b08fa(0x196)](_0x225c4d,_0x37ba52);},'azUBX':_0x423978[_0x17a993(0x1e2)],'EHpPc':function(_0x26cce8,_0x2200b8){const _0x2b9a31=_0x17a993;return _0x423978[_0x2b9a31(0x1da)](_0x26cce8,_0x2200b8);},'bbxwy':_0x423978[_0x17a993(0x13f)],'DJekV':function(_0xa7d15c,_0x156616){const _0x146041=_0x17a993;return _0x423978[_0x146041(0x162)](_0xa7d15c,_0x156616);}};_0x3c0b6d[_0x24d928][_0x423978[_0x17a993(0x228)]][_0x17a993(0x16a)](_0x43a99d=>{const _0xb8587e=_0x17a993;if(_0x472a05[_0xb8587e(0x16d)](_0x43a99d['state'],_0x472a05[_0xb8587e(0x185)]))_0xb93ec6++;else _0x472a05[_0xb8587e(0x161)](_0x43a99d['state'],_0x472a05[_0xb8587e(0x18d)])&&_0x4f00da++;_0x366e01++,_0x21f693+=_0x472a05[_0xb8587e(0x1f0)](_0x43a99d[_0xb8587e(0x1f1)],0x1);});}),_0x423978['eELYC'](xunitWrite,_0x423978[_0x2fa256(0x195)](tag,_0x423978['mVHZP'],{'name':_0x475235,'tests':_0x366e01,'failures':0x0,'errors':_0x4f00da,'skipped':_0x423978[_0x2fa256(0x157)](_0x423978[_0x2fa256(0x157)](_0x366e01,_0x4f00da),_0xb93ec6),'timestamp':new Date()[_0x2fa256(0x199)](),'time':_0x423978[_0x2fa256(0x17b)](_0x21f693,0x3e8)||0x0},![])),_0x129754['forEach'](_0x1976f1=>{const _0x29279c=_0x2fa256;_0x3c0b6d[_0x1976f1][_0x423978['YUKbM']][_0x29279c(0x16a)](_0x1fae61=>{_0x423978['cqGEZ'](xunitTest,_0x1fae61,_0x1976f1);});}),_0x423978[_0x2fa256(0x1f4)](xunitWrite,_0x423978['cyzNU']);if(_0x56ad1f['output'])try{logger[_0x2fa256(0x212)](_0x423978[_0x2fa256(0x165)],_0x56ad1f['output']),fs[_0x2fa256(0x152)](_0x56ad1f[_0x2fa256(0x214)],xunitContent);}catch(_0x58c70a){logger[_0x2fa256(0x18b)](_0x423978['gknmc'],_0x56ad1f['output']),logger[_0x2fa256(0x212)](_0x58c70a);}else logger['debug'](_0x423978[_0x2fa256(0x21c)]),console[_0x2fa256(0x1d5)](xunitContent);}else{if(_0x423978[_0x2fa256(0x1b4)](_0x161845,0x0))return;console['log'](),logger[_0x2fa256(0x212)](_0x423978['SGkBI']),console[_0x2fa256(0x1d5)](chalk['bold'][_0x2fa256(0x1d6)](_0x423978[_0x2fa256(0x178)])),_0x129754[_0x2fa256(0x16a)](_0x36d59c=>{const _0x447897=_0x2fa256,_0x5ee743=[];_0x3c0b6d[_0x36d59c][_0x423978['YUKbM']]['forEach'](_0x461fb3=>{const _0x20ff0a=a28_0x7406;_0x423978[_0x20ff0a(0x1b4)](_0x461fb3[_0x20ff0a(0x20a)],_0x423978[_0x20ff0a(0x13f)])&&(_0x461fb3[_0x20ff0a(0x143)]=()=>_0x461fb3['titlePathV'],_0x5ee743[_0x20ff0a(0x232)](_0x461fb3));}),_0x423978[_0x447897(0x1d1)](_0x5ee743[_0x447897(0x15f)],0x0)&&(Base[_0x447897(0x1e8)](),Base[_0x447897(0x1e8)](_0x423978['ygopo'](_0x53aca3),chalk['bold'][_0x447897(0x184)](_0x36d59c)),Base['list'](_0x5ee743));});}}}async function run(_0x1d0383,_0x8576ef){const _0x7d3af8=a28_0x5216f0,_0x404dd1={'FloCx':function(_0x3f8a10,_0x535574,_0x652555,_0x28d808){return _0x3f8a10(_0x535574,_0x652555,_0x28d808);},'usqiS':'reporter-option','kvKAQ':'error\x20removing\x20tcg\x20config\x20file','bFEKi':_0x7d3af8(0x1ad),'xExvE':_0x7d3af8(0x181),'RThHZ':_0x7d3af8(0x177),'yMyIB':_0x7d3af8(0x18f),'xKLzB':function(_0x453666,_0x5a59a0){return _0x453666!=_0x5a59a0;},'rpFeD':_0x7d3af8(0x209),'oRrlk':_0x7d3af8(0x22d),'repeN':'test','ITUEs':_0x7d3af8(0x139),'mCaip':function(_0x41d0a9,_0x510843){return _0x41d0a9(_0x510843);},'zuPLJ':function(_0x54e76c,_0x173333,_0x231089){return _0x54e76c(_0x173333,_0x231089);},'TFwbw':_0x7d3af8(0x180),'EJhrL':_0x7d3af8(0x1cb),'FedLW':_0x7d3af8(0x145),'Pvpqw':function(_0x4a0966,_0x1766b3,_0x353c01,_0x4d8b2c){return _0x4a0966(_0x1766b3,_0x353c01,_0x4d8b2c);},'ufYRI':function(_0x1052d1,_0x3e0b9d){return _0x1052d1*_0x3e0b9d;},'bcTeL':function(_0x1570b1,_0x4084de){return _0x1570b1(_0x4084de);},'EIknH':function(_0x15e735,_0xb9c98f){return _0x15e735!==_0xb9c98f;},'EokvG':function(_0x1971ac,_0x5b4c9a,_0x17a3ce,_0x588f47){return _0x1971ac(_0x5b4c9a,_0x17a3ce,_0x588f47);}};process[_0x7d3af8(0x16b)][_0x7d3af8(0x22e)](_0x404dd1['RThHZ'])&&(process[_0x7d3af8(0x159)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x7d3af8(0x16b)][_0x7d3af8(0x22e)](_0x404dd1[_0x7d3af8(0x163)])&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x1fa400=new BrowserStackSetup(_0x1d0383,_0x404dd1[_0x7d3af8(0x15e)]);helper['isBrowserstackInfra']()?(await _0x1fa400[_0x7d3af8(0x205)](),await helper[_0x7d3af8(0x15b)](_0x1fa400[_0x7d3af8(0x1fe)])):await _0x1fa400[_0x7d3af8(0x21f)]();const _0x32e006=[];let _0x28c721=[];if(!_0x1fa400[_0x7d3af8(0x1fe)])return;_0x404dd1[_0x7d3af8(0x1d8)](_0x1fa400[_0x7d3af8(0x1fe)][_0x7d3af8(0x220)],null)&&(process['env'][_0x7d3af8(0x14d)]=_0x1fa400[_0x7d3af8(0x1fe)]['testObservability']);!helper[_0x7d3af8(0x1bf)](_0x1fa400[_0x7d3af8(0x1fe)][_0x7d3af8(0x1ee)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1fa400[_0x7d3af8(0x1fe)][_0x7d3af8(0x1ee)]);!helper['isUndefined'](_0x1fa400[_0x7d3af8(0x1fe)][_0x7d3af8(0x1a7)])&&(process['env'][_0x7d3af8(0x1f2)]=JSON['stringify'](_0x1fa400[_0x7d3af8(0x1fe)]['accessibilityOptions']));const {extension:extension=['js',_0x404dd1[_0x7d3af8(0x136)],_0x404dd1['oRrlk']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x404dd1[_0x7d3af8(0x1d0)]]}=_0x1d0383,_0x31de0b={..._0x1d0383};_0x31de0b[_0x7d3af8(0x1cd)]=null;const _0x2d8a89=_0x31de0b;let _0x3e8d8f;if(testOpsHelper[_0x7d3af8(0x198)]()&&testOpsHelper[_0x7d3af8(0x216)]()){let _0x507a9d=process['env'][_0x7d3af8(0x1f5)];!helper['isUndefined'](_0x1fa400[_0x7d3af8(0x1a4)])&&_0x1fa400[_0x7d3af8(0x1a4)][_0x7d3af8(0x1ea)](_0x404dd1[_0x7d3af8(0x171)])&&(_0x507a9d=_0x1fa400[_0x7d3af8(0x1a4)][_0x7d3af8(0x1bb)](_0x404dd1[_0x7d3af8(0x171)])),_0x3e8d8f=testOpsHelper['parseFileNames'](_0x507a9d);}if(helper[_0x7d3af8(0x1bf)](_0x3e8d8f)){const _0x1dad30={};_0x1dad30[_0x7d3af8(0x1df)]=ignore,_0x1dad30[_0x7d3af8(0x1b1)]=extension,_0x1dad30['file']=file,_0x1dad30[_0x7d3af8(0x14a)]=recursive,_0x1dad30[_0x7d3af8(0x173)]=sort,_0x1dad30[_0x7d3af8(0x144)]=spec,_0x3e8d8f=_0x404dd1['mCaip'](collectFiles,_0x1dad30),_0x404dd1[_0x7d3af8(0x22a)](nestedKeyValue,_0x3e8d8f,[_0x404dd1[_0x7d3af8(0x218)]])&&(_0x3e8d8f=_0x3e8d8f[_0x7d3af8(0x180)]);}helper[_0x7d3af8(0x222)]();if(!helper['isBrowserstackInfra']()){const _0xa682e2=0x1,_0x22cf39={..._0x2d8a89};_0x22cf39[_0x7d3af8(0x144)]=[..._0x3e8d8f],_0x32e006[_0x7d3af8(0x232)]({'mochaOpts':_0x22cf39,'configuration':{'platform':os[_0x7d3af8(0x16e)]()}}),logger['info'](_0x404dd1['EJhrL']),logger[_0x7d3af8(0x19d)](_0x404dd1[_0x7d3af8(0x1d3)]),_0x404dd1['Pvpqw'](parallelTestRun,_0x32e006,_0xa682e2,_0x1fa400)[_0x7d3af8(0x21a)](_0x53b1be=>{const _0x5b8f2c=_0x7d3af8;_0x404dd1['FloCx'](printStats,_0x53b1be,_0x1d0383[_0x5b8f2c(0x1a8)],_0x1d0383['reporterOptions']||_0x1d0383[_0x404dd1[_0x5b8f2c(0x1d4)]]);})[_0x7d3af8(0x1fc)](()=>{const _0x538d93=_0x7d3af8;try{const {browserstackFolderPath:_0x247862,tcgConfigPath:_0x5df993}=helper[_0x538d93(0x19a)]();fs['unlinkSync'](_0x5df993),fs[_0x538d93(0x166)](_0x247862);}catch(_0x385011){logger['debug'](_0x404dd1[_0x538d93(0x20b)],_0x385011);}try{utilities[_0x538d93(0x204)](_0x404dd1['bFEKi'],{},_0x1fa400[_0x538d93(0x1fe)],_0x1fa400[_0x538d93(0x190)]);}catch(_0x57ecbf){logger['debug'](_0x538d93(0x1a1)+_0x57ecbf);}try{helper[_0x538d93(0x14f)]();}catch(_0x1fa25e){logger[_0x538d93(0x212)](_0x538d93(0x223)+_0x1fa25e);}testOpsHelper['printBuildLink']();});}else{const _0x27247a=helper[_0x7d3af8(0x1cc)](_0x1fa400['config']),_0x1ea678=helper[_0x7d3af8(0x1e0)](_0x1fa400['config']);_0x28c721=helper[_0x7d3af8(0x22b)](_0x1fa400[_0x7d3af8(0x1fe)],_0x27247a,constants[_0x7d3af8(0x17a)][_0x7d3af8(0x219)]);let _0x3ee252;const _0x2be664=_0x1fa400[_0x7d3af8(0x1fe)][_0x7d3af8(0x18e)]||helper[_0x7d3af8(0x1bd)](_0x1d0383,_0x8576ef,_0x1fa400[_0x7d3af8(0x1fe)],constants[_0x7d3af8(0x17a)][_0x7d3af8(0x219)])||0x1;helper[_0x7d3af8(0x1fa)](_0x1fa400[_0x7d3af8(0x1fe)])?_0x3ee252=_0x404dd1[_0x7d3af8(0x154)](_0x1fa400[_0x7d3af8(0x1fe)][_0x7d3af8(0x13b)]['length'],_0x2be664):_0x3ee252=_0x2be664;const _0x365132=_0x404dd1[_0x7d3af8(0x20f)](getPercyOptions,_0x1fa400[_0x7d3af8(0x1fe)]);if(_0x404dd1[_0x7d3af8(0x1db)](_0x1fa400[_0x7d3af8(0x1fe)]['parallelsPerPlatform'],0x1))_0x3e8d8f[_0x7d3af8(0x16a)](_0x38fe23=>{const _0x208e85=_0x7d3af8,_0x255eb6=[];_0x28c721[_0x208e85(0x16a)]((_0x35c09e,_0x55bdae)=>{const _0x262b61=_0x208e85,_0x1245cb={};_0x1245cb[_0x262b61(0x144)]=[_0x38fe23],_0x255eb6[_0x262b61(0x232)]({'mochaOpts':Object['assign']({},_0x2d8a89,_0x1245cb),'configuration':{'server':_0x1ea678,'capability':_0x35c09e,'proxySettings':_0x1fa400[_0x262b61(0x1fe)][_0x262b61(0x1b0)],'platform':helper[_0x262b61(0x1d9)](_0x35c09e),'browserStackLogLevel':_0x1fa400[_0x262b61(0x1fe)]['logLevel'],'platformIndex':_0x55bdae,'browserStackPercyOptions':_0x365132,'platformCaps':_0x1fa400['config'][_0x262b61(0x13b)][_0x55bdae]}});}),_0x32e006[_0x208e85(0x232)](..._0x255eb6);});else{const _0x3bfaf1=[];_0x28c721[_0x7d3af8(0x16a)]((_0x972a26,_0x472554)=>{const _0x50292c=_0x7d3af8;let _0x32b7b8=Object[_0x50292c(0x1d7)]({},_0x2d8a89);testOpsHelper[_0x50292c(0x198)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x32b7b8={..._0x32b7b8,'spec':[..._0x3e8d8f]}),_0x3bfaf1[_0x50292c(0x232)]({'mochaOpts':_0x32b7b8,'configuration':{'server':_0x1ea678,'capability':_0x972a26,'proxySettings':_0x1fa400[_0x50292c(0x1fe)][_0x50292c(0x1b0)],'platform':helper[_0x50292c(0x1d9)](_0x972a26),'browserStackLogLevel':_0x1fa400[_0x50292c(0x1fe)][_0x50292c(0x211)],'platformIndex':_0x472554,'browserStackPercyOptions':_0x365132,'platformCaps':_0x1fa400['config']['platforms'][_0x472554]}});}),_0x32e006['push'](..._0x3bfaf1);}logger[_0x7d3af8(0x19d)](_0x7d3af8(0x1cf)+_0x1fa400[_0x7d3af8(0x1fe)][_0x7d3af8(0x13b)]['length']+_0x7d3af8(0x13e)),logger[_0x7d3af8(0x19d)](_0x404dd1[_0x7d3af8(0x1d3)]);let _0x451154;_0x404dd1[_0x7d3af8(0x17d)](parallelTestRun,_0x32e006,_0x3ee252,_0x1fa400)[_0x7d3af8(0x21a)](_0x4c7b9b=>{const _0x12b032=_0x7d3af8;_0x451154=_0x4c7b9b,_0x404dd1[_0x12b032(0x210)](printStats,_0x4c7b9b,_0x1d0383['reporter'],_0x1d0383[_0x12b032(0x229)]||_0x1d0383[_0x404dd1['usqiS']]);})[_0x7d3af8(0x1fc)](async()=>{const _0x399acc=_0x7d3af8;_0x1fa400[_0x399acc(0x142)]=helper[_0x399acc(0x1dc)](_0x451154,_0x404dd1[_0x399acc(0x15e)]),await utilities[_0x399acc(0x1f6)](_0x1fa400),testOpsHelper[_0x399acc(0x151)]();});}}module['exports']=run;
|
|
2
|
+
'use strict';const a28_0xd7c2d4=a28_0x227b;(function(_0x32f88a,_0x37b5e1){const _0x330c59=a28_0x227b,_0x3a01a2=_0x32f88a();while(!![]){try{const _0x20d5c6=parseInt(_0x330c59(0x16c))/0x1*(parseInt(_0x330c59(0x118))/0x2)+-parseInt(_0x330c59(0x1c2))/0x3*(-parseInt(_0x330c59(0x12a))/0x4)+-parseInt(_0x330c59(0x1f6))/0x5+-parseInt(_0x330c59(0x164))/0x6*(-parseInt(_0x330c59(0x202))/0x7)+parseInt(_0x330c59(0x110))/0x8+-parseInt(_0x330c59(0x185))/0x9*(-parseInt(_0x330c59(0x1d6))/0xa)+-parseInt(_0x330c59(0x141))/0xb;if(_0x20d5c6===_0x37b5e1)break;else _0x3a01a2['push'](_0x3a01a2['shift']());}catch(_0x2689ab){_0x3a01a2['push'](_0x3a01a2['shift']());}}}(a28_0x11d2,0xf0ff3));const chalk=require(a28_0xd7c2d4(0x1b0)),logger=require(a28_0xd7c2d4(0x140))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0xd7c2d4(0x17d)),helper=require(a28_0xd7c2d4(0x189)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0xd7c2d4(0x150)),{requireModule,nestedKeyValue}=require(a28_0xd7c2d4(0x189)),{getPercyOptions}=require(a28_0xd7c2d4(0x133)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule(a28_0xd7c2d4(0x1fc)),constants=require('../utils/constants');function tag(_0x49bb1a,_0x5cb656,_0xe97406,_0x1379f4){const _0x554dfc=a28_0xd7c2d4,_0x2e2c29={'ZjmvM':function(_0x2480c6,_0x1e7c38){return _0x2480c6+_0x1e7c38;},'DTgrD':function(_0x248720,_0x18e0ef){return _0x248720+_0x18e0ef;},'XQILG':function(_0x33a584,_0x327cd3){return _0x33a584+_0x327cd3;},'LucKG':function(_0x591794,_0x11d8dd){return _0x591794(_0x11d8dd);},'MrxQg':function(_0x37f07b,_0x53b970){return _0x37f07b+_0x53b970;},'TwXxE':function(_0x8ee08d,_0x5916b7){return _0x8ee08d+_0x5916b7;},'XCdUQ':function(_0x1e9d91,_0x1f50e1){return _0x1e9d91+_0x1f50e1;},'fvCfp':function(_0x46381e,_0x5b0453){return _0x46381e+_0x5b0453;},'ACVsA':function(_0xe9427a,_0x453088){return _0xe9427a+_0x453088;}},_0x3d4adf=_0xe97406?'/>':'>',_0x82331d=[];let _0x4ed4ee;for(const _0x2b1516 in _0x5cb656){Object[_0x554dfc(0x17e)]['hasOwnProperty'][_0x554dfc(0x145)](_0x5cb656,_0x2b1516)&&_0x82331d['push'](_0x2e2c29[_0x554dfc(0x1e8)](_0x2e2c29['DTgrD'](_0x2e2c29[_0x554dfc(0x197)](_0x2b1516,'=\x22'),_0x2e2c29[_0x554dfc(0x13d)](escape,_0x5cb656[_0x2b1516])),'\x22'));}return _0x4ed4ee=_0x2e2c29[_0x554dfc(0x1df)](_0x2e2c29[_0x554dfc(0x163)](_0x2e2c29[_0x554dfc(0x197)]('<',_0x49bb1a),_0x82331d['length']?_0x2e2c29[_0x554dfc(0x163)]('\x20',_0x82331d['join']('\x20')):''),_0x3d4adf),_0x1379f4&&(_0x4ed4ee+=_0x2e2c29['XCdUQ'](_0x2e2c29[_0x554dfc(0x1a3)](_0x2e2c29[_0x554dfc(0x15e)](_0x1379f4,'</'),_0x49bb1a),_0x3d4adf)),_0x4ed4ee;}let xunitContent='';function a28_0x227b(_0x87bf93,_0x50fa51){const _0x11d212=a28_0x11d2();return a28_0x227b=function(_0x227bb0,_0x27f295){_0x227bb0=_0x227bb0-0x10d;let _0x128975=_0x11d212[_0x227bb0];return _0x128975;},a28_0x227b(_0x87bf93,_0x50fa51);}function xunitWrite(_0x54f118){xunitContent+=_0x54f118;}function xunitTest(_0x3afc23,_0x1e7607){const _0x39c6b8=a28_0xd7c2d4,_0x4baa34={'MRLOy':function(_0x5ca642,_0x2a83c5){return _0x5ca642/_0x2a83c5;},'GPBFv':function(_0x333aa1,_0x4d260f){return _0x333aa1===_0x4d260f;},'vjsLU':_0x39c6b8(0x1ce),'JglmB':function(_0x250161,_0x48f8c7){return _0x250161+_0x48f8c7;},'sRnKF':function(_0x4c7aed,_0x22467a){return _0x4c7aed(_0x22467a);},'MQIyA':function(_0x22882a,_0x20993f,_0x507090,_0x47b4e7,_0x2adb0b){return _0x22882a(_0x20993f,_0x507090,_0x47b4e7,_0x2adb0b);},'LkhIN':_0x39c6b8(0x13c),'WdwJd':function(_0x331006,_0x2579db,_0x5522bd,_0x319ba6,_0x272701){return _0x331006(_0x2579db,_0x5522bd,_0x319ba6,_0x272701);},'xDINK':_0x39c6b8(0x1d8),'GaGCb':function(_0x17cf1c,_0x2944bf){return _0x17cf1c+_0x2944bf;},'eVpUZ':function(_0x46ed9b,_0x2030f4,_0xccb31f,_0x24472b){return _0x46ed9b(_0x2030f4,_0xccb31f,_0x24472b);},'KsIKO':'skipped'};Base[_0x39c6b8(0x127)]=![];var _0x4f19b8={'classname':_0x3afc23['fullTitle'],'name':_0x3afc23[_0x39c6b8(0x1bc)],'time':_0x4baa34[_0x39c6b8(0x10e)](_0x3afc23[_0x39c6b8(0x193)],0x3e8)||0x0,'platform':_0x1e7607};if(_0x4baa34[_0x39c6b8(0x19b)](_0x3afc23[_0x39c6b8(0x180)],_0x4baa34[_0x39c6b8(0x12f)])){var _0x42ea8a=_0x3afc23['err'],_0xc427f9=!Base[_0x39c6b8(0x1ef)]&&Base[_0x39c6b8(0x1c3)](_0x42ea8a)?_0x4baa34['JglmB']('\x0a',Base['generateDiff'](_0x42ea8a[_0x39c6b8(0x178)],_0x42ea8a[_0x39c6b8(0x1fb)])):'';_0x4baa34[_0x39c6b8(0x144)](xunitWrite,_0x4baa34[_0x39c6b8(0x126)](tag,_0x4baa34[_0x39c6b8(0x1ba)],_0x4f19b8,![],_0x4baa34[_0x39c6b8(0x1cc)](tag,_0x4baa34['xDINK'],{},![],_0x4baa34[_0x39c6b8(0x1ab)](_0x4baa34[_0x39c6b8(0x131)](_0x4baa34[_0x39c6b8(0x131)](_0x4baa34[_0x39c6b8(0x144)](escape,_0x42ea8a['message']),_0x4baa34[_0x39c6b8(0x144)](escape,_0xc427f9)),'\x0a'),_0x4baa34[_0x39c6b8(0x144)](escape,_0x42ea8a[_0x39c6b8(0x15f)])))));}else _0x3afc23[_0x39c6b8(0x1c9)]?_0x4baa34[_0x39c6b8(0x144)](xunitWrite,_0x4baa34[_0x39c6b8(0x126)](tag,_0x4baa34[_0x39c6b8(0x1ba)],_0x4f19b8,![],_0x4baa34[_0x39c6b8(0x146)](tag,_0x4baa34[_0x39c6b8(0x128)],{},!![]))):_0x4baa34[_0x39c6b8(0x144)](xunitWrite,_0x4baa34[_0x39c6b8(0x146)](tag,_0x4baa34['LkhIN'],_0x4f19b8,!![]));};function getStats(_0xdd59b3){const _0x96ac36=a28_0xd7c2d4,_0x4e0f85={};_0x4e0f85[_0x96ac36(0x196)]=_0x96ac36(0x1ee),_0x4e0f85[_0x96ac36(0x15d)]=_0x96ac36(0x11c),_0x4e0f85['JvqYp']=_0x96ac36(0x1ce),_0x4e0f85[_0x96ac36(0x1ac)]=_0x96ac36(0x11a);const _0x3941b1=_0x4e0f85,_0x21c369=Object['keys'](_0xdd59b3);let _0x3e04c5=0x0,_0x322d63=0x0,_0x4d1e12=0x0,_0x30d40b=0x0;const _0x54059e=new Set();_0x21c369['forEach'](_0xe41fe7=>{const _0x5ce562=_0x96ac36,_0x9b920c={};_0x9b920c[_0x5ce562(0x1e6)]=_0x3941b1[_0x5ce562(0x196)],_0x9b920c[_0x5ce562(0x1d9)]=_0x3941b1['NGEJM'],_0x9b920c[_0x5ce562(0x19f)]=_0x3941b1['JvqYp'];const _0x2e66bd=_0x9b920c;_0xdd59b3[_0xe41fe7][_0x3941b1[_0x5ce562(0x1ac)]][_0x5ce562(0x135)](_0x5e6dce=>{const _0x46240c=_0x5ce562;_0x54059e[_0x46240c(0x191)](_0x5e6dce[_0x2e66bd[_0x46240c(0x1e6)]]),_0x3e04c5++;switch(_0x5e6dce[_0x46240c(0x180)]){case _0x2e66bd['PhtqX']:_0x4d1e12++;break;case _0x2e66bd['IrRyh']:_0x322d63++;break;default:_0x30d40b++;}});});const _0xc85d9d={};return _0xc85d9d['testSuites']=_0x54059e[_0x96ac36(0x19e)],_0xc85d9d['platforms']=_0x21c369,_0xc85d9d[_0x96ac36(0x1ca)]=_0x3e04c5,_0xc85d9d['testsFailed']=_0x322d63,_0xc85d9d[_0x96ac36(0x11d)]=_0x4d1e12,_0xc85d9d[_0x96ac36(0x113)]=_0x30d40b,_0xc85d9d;}function errorJSON(_0x535b04){const _0x622be2=a28_0xd7c2d4;var _0x3fad87={};return Object[_0x622be2(0x19a)](_0x535b04)[_0x622be2(0x135)](function(_0x22d671){_0x3fad87[_0x22d671]=_0x535b04[_0x22d671];},_0x535b04),_0x3fad87;}function cleanCycles(_0x472d8c){const _0x45325a=a28_0xd7c2d4,_0x4683b2={};_0x4683b2[_0x45325a(0x14b)]=function(_0x29f05b,_0x3e946b){return _0x29f05b===_0x3e946b;},_0x4683b2[_0x45325a(0x1b8)]=_0x45325a(0x176),_0x4683b2[_0x45325a(0x1aa)]=function(_0x188f2a,_0x18a1eb){return _0x188f2a!==_0x18a1eb;},_0x4683b2[_0x45325a(0x13a)]=function(_0x355c6f,_0x1f8bb4){return _0x355c6f+_0x1f8bb4;};const _0x25092b=_0x4683b2;var _0x50efca=[];return JSON['parse'](JSON[_0x45325a(0x18b)](_0x472d8c,function(_0x23c439,_0x243e16){const _0x206725=_0x45325a;if(_0x25092b[_0x206725(0x14b)](typeof _0x243e16,_0x25092b[_0x206725(0x1b8)])&&_0x25092b[_0x206725(0x1aa)](_0x243e16,null)){if(_0x25092b[_0x206725(0x1aa)](_0x50efca[_0x206725(0x1f3)](_0x243e16),-0x1))return _0x25092b[_0x206725(0x13a)]('',_0x243e16);_0x50efca[_0x206725(0x177)](_0x243e16);}return _0x243e16;}));}function a28_0x11d2(){const _0x59e68e=['testsuite','UMXmH','fBdqz','passes','GhAdz','fullTitle','mPVBj','config','prepareCapabilities','NGEJM','ACVsA','stack','bqwAB','\x0a\x0a\x0a','BNNdH','TwXxE','1609800TYlrmW','isBrowserstackInfra','Xmpxm','Running\x20your\x20mocha\x20tests','hBvmr','getErrorMessageFromResults','hBjKz','nGVAJ','37LloQLs','SDKTestSuccessful','log','BROWSERSTACK_TEST_OBSERVABILITY','notifyUpdate','gIKWI','BROWSERSTACK_TEST_OBSERVABILITY_YML','FLRsB','accessibility','suiteName','object','push','actual','failures','Setting\x20non\x20exit\x20code\x20for\x20failures','toUTCString','cFFKk','../../helpers/BrowserStackSetup','prototype','YGnFP','state','spec','Running\x20your\x20mocha\x20tests\x20across\x20','GEokm','parallelsPerPlatform','27OmFZXn','JtjYR','isTestObservabilitySession','gDfLt','../../helpers/helper','info','stringify','fireFunnelTestEvent','markSDKSetupComplete','MOCHA','vJEwS','Tests:\x20\x20\x20\x20\x20\x20\x20','add','error\x20removing\x20tcg\x20config\x20file','duration','DUBgv','xdGgU','yDaie','XQILG','get','lWumQ','getOwnPropertyNames','GPBFv','JZQeG','KnQzY','size','IrRyh','currentRetry','aBUYl','argv','fvCfp','efdLi','stats','files','brFHw','printBuildLink','useW3C','UaRBk','JglmB','mCnqc','aHRKv','xeVik','Total\x20Platforms:\x20','chalk','WdGoP','HCkUe','getTCGConfigFilePaths','error','finally','getUserWorkerCount','doc','ywApH','cjs','LkhIN','bold','title','initialize','Total\x20Suites:\x20','platform','mocha','Listing\x20all\x20the\x20failures','10785YjGSue','showDiff','kFGII','writeFileSync','sort','reporterOptions','\x20total','isPending','totalTests','NAtdo','WdwJd','dwdXk','failed','hRxSb','nQalf','isUndefined','includes','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','bTZra','kPmDN','2175330GnxTIy','IdQSH','failure','PhtqX','rootHooks','QAYSp','unlinkSync','recursive','pending','MrxQg','cHBQc','getPlatformName','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','\x20passed','BROWSERSTACK_RERUN_TESTS','setupTCGAuth','ahQqF','then','ZjmvM','titlePathV','iPJwV','unoYc','speed','aZLFk','suite','hideDiff','bgBlueBright','logLevel','reporter','indexOf','file','DqjPj','4936195XIfJLf','QDDBN','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','EFnlX','platforms','expected','mocha/lib/cli/collect-files.js','WYzaQ','OhQxu','list','testObservability','err','28EYiawv','--disable-test-observability','wEIQP','MRLOy','DPYQM','4249848sWtWUx','fgyIL','json','testsPending','length','proxySettings','accessibilityOptions','assign','81198KuuQDl','FOzrn','results','UDBDK','passed','testsPassed','shouldReRunObservabilityTests','finalExecution','FRAMEWORKS','consoleLog','rmdirSync','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_YML','red','MQIyA','useColors','KsIKO','Mocha\x20Tests','1684unEPND','cBmnh','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','rLRKM','imOml','vjsLU','PEitE','GaGCb','sLnOc','../../helpers/percy/utils','Couldn\x27t\x20write\x20xunit\x20result\x20to','forEach','getHubUrl','Couldn\x27t\x20write\x20json\x20result\x20to','yellow','debug','khDNY','reporter-option','testcase','LucKG','HEkHz','rerunTests','../../helpers/logger','36281586ODJlSF','EtavR','has','sRnKF','call','eVpUZ','hGWhn','handleApp','Printing\x20stats\x20of\x20tests','cliConfig','VTNbk','mIFqY','env','Writing\x20json\x20result\x20to\x20file','cNDwP','../test-runner','output','sdRKF','testSuites'];a28_0x11d2=function(){return _0x59e68e;};return a28_0x11d2();}function clean(_0x5b828b){const _0x57b847=a28_0xd7c2d4,_0x1cc535={'hGWhn':function(_0x4bc12e,_0x436f52){return _0x4bc12e instanceof _0x436f52;},'efdLi':function(_0x30c2cc,_0x1a97e6){return _0x30c2cc(_0x1a97e6);}};var _0x51e12f=_0x5b828b[_0x57b847(0x201)]||{};return _0x1cc535[_0x57b847(0x147)](_0x51e12f,Error)&&(_0x51e12f=_0x1cc535[_0x57b847(0x1a4)](errorJSON,_0x51e12f)),{'title':_0x5b828b['title'],'fullTitle':_0x5b828b[_0x57b847(0x159)],'file':_0x5b828b[_0x57b847(0x1f4)],'duration':_0x5b828b[_0x57b847(0x193)],'currentRetry':_0x5b828b[_0x57b847(0x1a0)],'speed':_0x5b828b[_0x57b847(0x1ec)],'err':_0x1cc535[_0x57b847(0x1a4)](cleanCycles,_0x51e12f)};}function printStats(_0x1aedf5,_0x2b47e4='spec',_0x2df247={}){const _0x42da31=a28_0xd7c2d4,_0x5951d1={'JZQeG':function(_0x25cb5c,_0x1d8583){return _0x25cb5c(_0x1d8583);},'KkiRK':function(_0x4b235b,_0x57b948){return _0x4b235b===_0x57b948;},'ouHFX':_0x42da31(0x11c),'ErsWc':_0x42da31(0x157),'EVWIe':function(_0x5a2797,_0x11b3a3){return _0x5a2797(_0x11b3a3);},'fBdqz':_0x42da31(0x1ce),'GNKFO':_0x42da31(0x179),'hBjKz':_0x42da31(0x1de),'WYzaQ':_0x42da31(0x11a),'NAtdo':function(_0x590a71,_0x2011b2){return _0x590a71===_0x2011b2;},'JtjYR':function(_0x1b0d0e,_0x417f3c){return _0x1b0d0e*_0x417f3c;},'cHBQc':function(_0x3d5111,_0x14dd8a,_0x14a6f6){return _0x3d5111(_0x14dd8a,_0x14a6f6);},'fgyIL':function(_0x37b116,_0x2c31b8){return _0x37b116>_0x2c31b8;},'unoYc':function(_0x303a14){return _0x303a14();},'IdQSH':_0x42da31(0x1b7),'cNDwP':function(_0x495927,_0x56dfbd){return _0x495927(_0x56dfbd);},'WdGoP':_0x42da31(0x17a),'ZFPpW':_0x42da31(0x149),'GlunY':function(_0xa764f8,_0x242a08){return _0xa764f8+_0x242a08;},'NtQux':_0x42da31(0x1af),'kFGII':function(_0x482193,_0x1f7ac0){return _0x482193+_0x1f7ac0;},'vJEwS':_0x42da31(0x1be),'DqjPj':function(_0x5d10ca,_0x5196d2){return _0x5d10ca+_0x5196d2;},'OhQxu':_0x42da31(0x190),'rLRKM':function(_0x3df855,_0x35a7db){return _0x3df855>_0x35a7db;},'nQalf':function(_0x33d1e5,_0x521215){return _0x33d1e5>_0x521215;},'FLRsB':function(_0x52886d,_0x258454){return _0x52886d+_0x258454;},'sLnOc':_0x42da31(0x161),'HEkHz':function(_0x2305b4,_0x2923ab){return _0x2305b4===_0x2923ab;},'bqwAB':_0x42da31(0x112),'UMXmH':_0x42da31(0x14e),'GmSGC':_0x42da31(0x137),'aBUYl':_0x42da31(0x1e2),'hBvmr':'xunit','QDDBN':_0x42da31(0x129),'bTZra':function(_0x31df00,_0x48aeb2){return _0x31df00||_0x48aeb2;},'iPJwV':function(_0x347f92,_0x2c3e09){return _0x347f92(_0x2c3e09);},'efmsS':function(_0x12c85a,_0x1e6d4e,_0x5dba36,_0x5e0c5b){return _0x12c85a(_0x1e6d4e,_0x5dba36,_0x5e0c5b);},'gIKWI':_0x42da31(0x154),'aHRKv':function(_0x47488e,_0x5f312){return _0x47488e-_0x5f312;},'PEitE':function(_0x20d15b,_0x4de241){return _0x20d15b-_0x4de241;},'wEIQP':function(_0x17dc85,_0x4c829f){return _0x17dc85/_0x4c829f;},'UDBDK':function(_0x9b57c0,_0xf65bab){return _0x9b57c0(_0xf65bab);},'eIcsC':'</testsuite>','AalfB':'Writing\x20xunit\x20result\x20to\x20file','xdGgU':_0x42da31(0x134),'KnQzY':_0x42da31(0x1f8),'lWumQ':_0x42da31(0x1c1),'cBmnh':'****\x20FAILURES\x20****'};if(_0x5951d1['KkiRK'](_0x2b47e4,_0x5951d1[_0x42da31(0x1d7)]))return;const _0x2c320b=0x0,_0xf1baeb=()=>{const _0x19f9f1=_0x42da31;return _0x5951d1[_0x19f9f1(0x19c)](Array,_0x2c320b)['join']('\x20\x20');},{testSuites:_0x1b65f4,platforms:_0x3b79ef,totalTests:_0x24df7f,testsFailed:_0x24a89b,testsPassed:_0x49f8e2,testsPending:_0x1be1bb}=_0x5951d1[_0x42da31(0x14f)](getStats,_0x1aedf5);_0x5951d1[_0x42da31(0x111)](_0x24a89b,0x0)&&(logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x1b1)]),process[_0x42da31(0x123)]=Math['min'](_0x24a89b,0xff));logger[_0x42da31(0x139)](_0x5951d1['ZFPpW']);const _0x30fbd3=''+_0x5951d1['GlunY'](chalk['bold'](_0x5951d1['NtQux']),_0x3b79ef[_0x42da31(0x114)]),_0x22fa2b=''+_0x5951d1[_0x42da31(0x1c4)](chalk[_0x42da31(0x1bb)](_0x5951d1[_0x42da31(0x18f)]),_0x1b65f4),_0x32de2c=''+_0x5951d1[_0x42da31(0x1c4)](_0x5951d1['GlunY'](_0x5951d1[_0x42da31(0x1f5)](chalk[_0x42da31(0x1bb)](_0x5951d1[_0x42da31(0x1fe)]),_0x5951d1['rLRKM'](_0x24a89b,0x0)?chalk[_0x42da31(0x1bb)][_0x42da31(0x125)](_0x24a89b+'\x20failed')+',\x20':''),_0x5951d1[_0x42da31(0x12d)](_0x1be1bb,0x0)?chalk[_0x42da31(0x1bb)][_0x42da31(0x138)](_0x1be1bb+'\x20skipped')+',\x20':''),_0x5951d1[_0x42da31(0x1d0)](_0x49f8e2,0x0)?chalk['bold']['green'](_0x49f8e2+_0x42da31(0x1e3))+',\x20':'')+_0x24df7f+_0x42da31(0x1c8);console['log'](_0x5951d1[_0x42da31(0x1c4)](_0x5951d1['DqjPj'](_0x5951d1[_0x42da31(0x1f5)](_0x5951d1[_0x42da31(0x1c4)](_0x5951d1[_0x42da31(0x173)](_0x5951d1[_0x42da31(0x132)],_0x30fbd3),'\x0a'),_0x22fa2b),'\x0a'),_0x32de2c));if(_0x5951d1[_0x42da31(0x13e)](_0x2b47e4,_0x5951d1[_0x42da31(0x160)])){const _0x29adde={},_0x394bf7={};_0x394bf7[_0x42da31(0x153)]=_0x1b65f4,_0x394bf7[_0x42da31(0x1fa)]=_0x3b79ef,_0x394bf7['testsFailed']=_0x24a89b,_0x394bf7[_0x42da31(0x11d)]=_0x49f8e2,_0x394bf7[_0x42da31(0x113)]=_0x1be1bb,_0x29adde[_0x42da31(0x1a5)]=_0x394bf7,_0x3b79ef[_0x42da31(0x135)](_0x589f9c=>{const _0x457a1e=_0x42da31,_0x33d96b={'nGVAJ':function(_0x1e7846,_0x5400ef){return _0x5951d1['KkiRK'](_0x1e7846,_0x5400ef);},'DUBgv':_0x5951d1['ouHFX'],'Xmpxm':_0x5951d1['ErsWc'],'EFnlX':function(_0x36994a,_0x45df1c){return _0x5951d1['EVWIe'](_0x36994a,_0x45df1c);},'GhAdz':_0x5951d1[_0x457a1e(0x156)],'brFHw':_0x5951d1['GNKFO'],'EtavR':_0x5951d1[_0x457a1e(0x16a)]};_0x29adde[_0x589f9c]={'pending':[],'failures':[],'passes':[],'tests':_0x1aedf5[_0x589f9c][_0x5951d1[_0x457a1e(0x1fd)]]['map'](clean)},_0x1aedf5[_0x589f9c][_0x5951d1[_0x457a1e(0x1fd)]][_0x457a1e(0x135)](_0x2d24b6=>{const _0x3557e5=_0x457a1e;if(_0x33d96b[_0x3557e5(0x16b)](_0x2d24b6['state'],_0x33d96b[_0x3557e5(0x194)]))_0x29adde[_0x589f9c][_0x33d96b[_0x3557e5(0x166)]][_0x3557e5(0x177)](_0x33d96b[_0x3557e5(0x1f9)](clean,_0x2d24b6));else _0x33d96b[_0x3557e5(0x16b)](_0x2d24b6[_0x3557e5(0x180)],_0x33d96b[_0x3557e5(0x158)])?_0x29adde[_0x589f9c][_0x33d96b[_0x3557e5(0x1a7)]][_0x3557e5(0x177)](_0x33d96b[_0x3557e5(0x1f9)](clean,_0x2d24b6)):_0x29adde[_0x589f9c][_0x33d96b[_0x3557e5(0x142)]][_0x3557e5(0x177)](_0x33d96b[_0x3557e5(0x1f9)](clean,_0x2d24b6));});});if(_0x2df247[_0x42da31(0x151)])try{logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x155)],_0x2df247[_0x42da31(0x151)]),fs['writeFileSync'](_0x2df247[_0x42da31(0x151)],JSON[_0x42da31(0x18b)](_0x29adde,null,0x3));}catch(_0x1f10d7){logger[_0x42da31(0x1b4)](_0x5951d1['GmSGC'],_0x2df247[_0x42da31(0x151)]),logger[_0x42da31(0x139)](_0x1f10d7);}else logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x1a1)]),console[_0x42da31(0x16e)](JSON[_0x42da31(0x18b)](_0x29adde,null,0x3));}else{if(_0x5951d1['HEkHz'](_0x2b47e4,_0x5951d1[_0x42da31(0x168)])){let _0x11a1bc;const _0x5d35f4=_0x5951d1[_0x42da31(0x1f7)];_0x2df247&&(_0x11a1bc=_0x2df247[_0x42da31(0x175)]);_0x11a1bc=_0x5951d1[_0x42da31(0x1d4)](_0x11a1bc,_0x5d35f4);let _0x3ae92c=0x0,_0xa0e9b5=0x0,_0x3e2f13=0x0,_0x2d4c02=0x0;_0x3b79ef[_0x42da31(0x135)](_0x142ba1=>{const _0x3cbc23=_0x42da31;_0x1aedf5[_0x142ba1][_0x5951d1[_0x3cbc23(0x1fd)]][_0x3cbc23(0x135)](_0x278180=>{const _0x355a0f=_0x3cbc23;if(_0x5951d1['NAtdo'](_0x278180['state'],_0x5951d1['ouHFX']))_0x3ae92c++;else _0x5951d1[_0x355a0f(0x1cb)](_0x278180[_0x355a0f(0x180)],_0x5951d1[_0x355a0f(0x156)])&&_0xa0e9b5++;_0x3e2f13++,_0x2d4c02+=_0x5951d1[_0x355a0f(0x186)](_0x278180[_0x355a0f(0x193)],0x1);});}),_0x5951d1[_0x42da31(0x1ea)](xunitWrite,_0x5951d1['efmsS'](tag,_0x5951d1[_0x42da31(0x171)],{'name':_0x11a1bc,'tests':_0x3e2f13,'failures':0x0,'errors':_0xa0e9b5,'skipped':_0x5951d1[_0x42da31(0x1ad)](_0x5951d1[_0x42da31(0x130)](_0x3e2f13,_0xa0e9b5),_0x3ae92c),'timestamp':new Date()[_0x42da31(0x17b)](),'time':_0x5951d1[_0x42da31(0x10d)](_0x2d4c02,0x3e8)||0x0},![])),_0x3b79ef['forEach'](_0x13ec35=>{const _0x3892c5=_0x42da31,_0x57d502={'aZLFk':function(_0x58d393,_0x48b5a4,_0x4a2da7){const _0x3885dd=a28_0x227b;return _0x5951d1[_0x3885dd(0x1e0)](_0x58d393,_0x48b5a4,_0x4a2da7);}};_0x1aedf5[_0x13ec35][_0x5951d1['WYzaQ']][_0x3892c5(0x135)](_0x4584a3=>{const _0x46588b=_0x3892c5;_0x57d502[_0x46588b(0x1ed)](xunitTest,_0x4584a3,_0x13ec35);});}),_0x5951d1[_0x42da31(0x11b)](xunitWrite,_0x5951d1['eIcsC']);if(_0x2df247[_0x42da31(0x151)])try{logger['debug'](_0x5951d1['AalfB'],_0x2df247[_0x42da31(0x151)]),fs[_0x42da31(0x1c5)](_0x2df247['output'],xunitContent);}catch(_0x8213c6){logger[_0x42da31(0x1b4)](_0x5951d1[_0x42da31(0x195)],_0x2df247[_0x42da31(0x151)]),logger['debug'](_0x8213c6);}else logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x19d)]),console['log'](xunitContent);}else{if(_0x5951d1[_0x42da31(0x1cb)](_0x24a89b,0x0))return;console[_0x42da31(0x16e)](),logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x199)]),console[_0x42da31(0x16e)](chalk[_0x42da31(0x1bb)]['bgRedBright'](_0x5951d1[_0x42da31(0x12b)])),_0x3b79ef['forEach'](_0xd614bf=>{const _0x27057d=_0x42da31,_0xb9f48c=[];_0x1aedf5[_0xd614bf][_0x5951d1[_0x27057d(0x1fd)]]['forEach'](_0x202b90=>{const _0x4fc4c2=_0x27057d;_0x5951d1['NAtdo'](_0x202b90[_0x4fc4c2(0x180)],_0x5951d1[_0x4fc4c2(0x156)])&&(_0x202b90['titlePath']=()=>_0x202b90[_0x4fc4c2(0x1e9)],_0xb9f48c['push'](_0x202b90));}),_0x5951d1[_0x27057d(0x111)](_0xb9f48c['length'],0x0)&&(Base['consoleLog'](),Base[_0x27057d(0x121)](_0x5951d1[_0x27057d(0x1eb)](_0xf1baeb),chalk[_0x27057d(0x1bb)][_0x27057d(0x1f0)](_0xd614bf)),Base[_0x27057d(0x1ff)](_0xb9f48c));});}}}async function run(_0x3349c6,_0x4f7b69){const _0x23ad94=a28_0xd7c2d4,_0x87527={'GEokm':function(_0x3d0c54,_0x101183,_0x673fe,_0x37224b){return _0x3d0c54(_0x101183,_0x673fe,_0x37224b);},'HCkUe':_0x23ad94(0x13b),'jHCbB':_0x23ad94(0x192),'YGnFP':_0x23ad94(0x16d),'kPmDN':_0x23ad94(0x1c0),'mYIDl':_0x23ad94(0x203),'BNNdH':'--disable-browserstack-automation','xeVik':function(_0x100f2e,_0x5795e5){return _0x100f2e!=_0x5795e5;},'mIFqY':_0x23ad94(0x1b9),'imOml':'mjs','QAYSp':'test','hRxSb':_0x23ad94(0x13f),'FOzrn':function(_0x271127,_0x7396fd){return _0x271127(_0x7396fd);},'dwdXk':function(_0x10f9af,_0x25e6c9,_0x1b8920){return _0x10f9af(_0x25e6c9,_0x1b8920);},'cFFKk':_0x23ad94(0x1a6),'DPYQM':_0x23ad94(0x167),'sdRKF':'Now,\x20showing\x20logs\x20from\x20mocha','mPVBj':function(_0x49aecd,_0x59a233){return _0x49aecd*_0x59a233;},'gDfLt':function(_0x53cfd6,_0x32714d){return _0x53cfd6!==_0x32714d;}};process[_0x23ad94(0x1a2)][_0x23ad94(0x1d2)](_0x87527['mYIDl'])&&(process[_0x23ad94(0x14d)][_0x23ad94(0x16f)]=![]);process['argv'][_0x23ad94(0x1d2)](_0x87527[_0x23ad94(0x162)])&&(process[_0x23ad94(0x14d)]['BROWSERSTACK_AUTOMATION']=![]);const _0x16f1d9=new BrowserStackSetup(_0x3349c6,_0x87527[_0x23ad94(0x1d5)]);helper['isBrowserstackInfra']()?(await _0x16f1d9[_0x23ad94(0x1bd)](),await helper[_0x23ad94(0x148)](_0x16f1d9[_0x23ad94(0x15b)])):await _0x16f1d9[_0x23ad94(0x1e5)]();const _0x25f8ca=[];let _0x18a0fd=[];if(!_0x16f1d9[_0x23ad94(0x15b)])return;_0x87527[_0x23ad94(0x1ae)](_0x16f1d9['config'][_0x23ad94(0x200)],null)&&(process[_0x23ad94(0x14d)][_0x23ad94(0x172)]=_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x200)]);!helper[_0x23ad94(0x1d1)](_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x174)])&&(process[_0x23ad94(0x14d)][_0x23ad94(0x124)]=_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x174)]);!helper[_0x23ad94(0x1d1)](_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x116)])&&(process[_0x23ad94(0x14d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x116)]));const {extension:extension=['js',_0x87527[_0x23ad94(0x14c)],_0x87527[_0x23ad94(0x12e)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x87527[_0x23ad94(0x1db)]]}=_0x3349c6,_0x3536cf={..._0x3349c6};_0x3536cf[_0x23ad94(0x1da)]=null;const _0x5daafd=_0x3536cf;let _0x5c6640;if(testOpsHelper[_0x23ad94(0x187)]()&&testOpsHelper[_0x23ad94(0x11e)]()){let _0x4f491e=process['env'][_0x23ad94(0x1e4)];!helper[_0x23ad94(0x1d1)](_0x16f1d9['cliConfig'])&&_0x16f1d9[_0x23ad94(0x14a)][_0x23ad94(0x143)](_0x87527[_0x23ad94(0x1cf)])&&(_0x4f491e=_0x16f1d9['cliConfig'][_0x23ad94(0x198)](_0x87527[_0x23ad94(0x1cf)])),_0x5c6640=testOpsHelper['parseFileNames'](_0x4f491e);}if(helper[_0x23ad94(0x1d1)](_0x5c6640)){const _0x53973a={};_0x53973a['ignore']=ignore,_0x53973a['extension']=extension,_0x53973a[_0x23ad94(0x1f4)]=file,_0x53973a[_0x23ad94(0x1dd)]=recursive,_0x53973a[_0x23ad94(0x1c6)]=sort,_0x53973a['spec']=spec,_0x5c6640=_0x87527['FOzrn'](collectFiles,_0x53973a),_0x87527[_0x23ad94(0x1cd)](nestedKeyValue,_0x5c6640,[_0x87527[_0x23ad94(0x17c)]])&&(_0x5c6640=_0x5c6640[_0x23ad94(0x1a6)]);}helper[_0x23ad94(0x18d)]();if(!helper[_0x23ad94(0x165)]()){const _0x3a9c91=0x1,_0x21110f={..._0x5daafd};_0x21110f[_0x23ad94(0x181)]=[..._0x5c6640],_0x25f8ca['push']({'mochaOpts':_0x21110f,'configuration':{'platform':os[_0x23ad94(0x1bf)]()}}),logger[_0x23ad94(0x18a)](_0x87527[_0x23ad94(0x10f)]),logger[_0x23ad94(0x18a)](_0x87527[_0x23ad94(0x152)]),_0x87527[_0x23ad94(0x183)](parallelTestRun,_0x25f8ca,_0x3a9c91,_0x16f1d9)['then'](_0x164b56=>{const _0x5d9a9a=_0x23ad94;_0x87527[_0x5d9a9a(0x183)](printStats,_0x164b56,_0x3349c6[_0x5d9a9a(0x1f2)],_0x3349c6[_0x5d9a9a(0x1c7)]||_0x3349c6[_0x87527[_0x5d9a9a(0x1b2)]]);})[_0x23ad94(0x1b5)](()=>{const _0xb3f999=_0x23ad94;try{const {browserstackFolderPath:_0x322f63,tcgConfigPath:_0x3918b4}=helper[_0xb3f999(0x1b3)]();fs[_0xb3f999(0x1dc)](_0x3918b4),fs[_0xb3f999(0x122)](_0x322f63);}catch(_0x263765){logger[_0xb3f999(0x139)](_0x87527['jHCbB'],_0x263765);}try{utilities[_0xb3f999(0x18c)](_0x87527[_0xb3f999(0x17f)],{},_0x16f1d9[_0xb3f999(0x15b)],_0x16f1d9['framework']);}catch(_0x52e49c){logger[_0xb3f999(0x139)](_0xb3f999(0x12c)+_0x52e49c);}try{helper[_0xb3f999(0x170)]();}catch(_0x527cda){logger[_0xb3f999(0x139)](_0xb3f999(0x1d3)+_0x527cda);}testOpsHelper[_0xb3f999(0x1a8)]();});}else{const _0x34ded2=helper[_0x23ad94(0x1a9)](_0x16f1d9[_0x23ad94(0x15b)]),_0x4c7194=helper[_0x23ad94(0x136)](_0x16f1d9[_0x23ad94(0x15b)]);_0x18a0fd=helper[_0x23ad94(0x15c)](_0x16f1d9[_0x23ad94(0x15b)],_0x34ded2,constants[_0x23ad94(0x120)]['MOCHA']);let _0x58b751;const _0x456768=_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x184)]||helper[_0x23ad94(0x1b6)](_0x3349c6,_0x4f7b69,_0x16f1d9[_0x23ad94(0x15b)],constants[_0x23ad94(0x120)][_0x23ad94(0x18e)])||0x1;helper['validPlatformsPresent'](_0x16f1d9[_0x23ad94(0x15b)])?_0x58b751=_0x87527[_0x23ad94(0x15a)](_0x16f1d9['config'][_0x23ad94(0x1fa)]['length'],_0x456768):_0x58b751=_0x456768;const _0x785240=_0x87527[_0x23ad94(0x119)](getPercyOptions,_0x16f1d9[_0x23ad94(0x15b)]);if(_0x87527[_0x23ad94(0x188)](_0x16f1d9[_0x23ad94(0x15b)]['parallelsPerPlatform'],0x1))_0x5c6640[_0x23ad94(0x135)](_0x5b95a1=>{const _0x164602=_0x23ad94,_0x46e82d=[];_0x18a0fd[_0x164602(0x135)]((_0x1d3693,_0x4e5009)=>{const _0x18b2f3=_0x164602,_0x5cf315={};_0x5cf315[_0x18b2f3(0x181)]=[_0x5b95a1],_0x46e82d[_0x18b2f3(0x177)]({'mochaOpts':Object[_0x18b2f3(0x117)]({},_0x5daafd,_0x5cf315),'configuration':{'server':_0x4c7194,'capability':_0x1d3693,'proxySettings':_0x16f1d9['config'][_0x18b2f3(0x115)],'platform':helper[_0x18b2f3(0x1e1)](_0x1d3693),'browserStackLogLevel':_0x16f1d9['config'][_0x18b2f3(0x1f1)],'platformIndex':_0x4e5009,'browserStackPercyOptions':_0x785240,'platformCaps':_0x16f1d9[_0x18b2f3(0x15b)]['platforms'][_0x4e5009]}});}),_0x25f8ca['push'](..._0x46e82d);});else{const _0x1953f6=[];_0x18a0fd['forEach']((_0xd59694,_0x94d2c1)=>{const _0xb9eb5f=_0x23ad94;let _0x160a3b=Object['assign']({},_0x5daafd);testOpsHelper[_0xb9eb5f(0x187)]()&&testOpsHelper[_0xb9eb5f(0x11e)]()&&(_0x160a3b={..._0x160a3b,'spec':[..._0x5c6640]}),_0x1953f6['push']({'mochaOpts':_0x160a3b,'configuration':{'server':_0x4c7194,'capability':_0xd59694,'proxySettings':_0x16f1d9[_0xb9eb5f(0x15b)][_0xb9eb5f(0x115)],'platform':helper[_0xb9eb5f(0x1e1)](_0xd59694),'browserStackLogLevel':_0x16f1d9[_0xb9eb5f(0x15b)]['logLevel'],'platformIndex':_0x94d2c1,'browserStackPercyOptions':_0x785240,'platformCaps':_0x16f1d9[_0xb9eb5f(0x15b)][_0xb9eb5f(0x1fa)][_0x94d2c1]}});}),_0x25f8ca[_0x23ad94(0x177)](..._0x1953f6);}logger[_0x23ad94(0x18a)](_0x23ad94(0x182)+_0x16f1d9['config'][_0x23ad94(0x1fa)][_0x23ad94(0x114)]+'\x20platforms'),logger[_0x23ad94(0x18a)](_0x87527[_0x23ad94(0x152)]);let _0xfb40ea;_0x87527[_0x23ad94(0x183)](parallelTestRun,_0x25f8ca,_0x58b751,_0x16f1d9)[_0x23ad94(0x1e7)](_0x5cd23c=>{const _0x5cee90=_0x23ad94;_0xfb40ea=_0x5cd23c,_0x87527[_0x5cee90(0x183)](printStats,_0x5cd23c,_0x3349c6[_0x5cee90(0x1f2)],_0x3349c6[_0x5cee90(0x1c7)]||_0x3349c6[_0x87527[_0x5cee90(0x1b2)]]);})[_0x23ad94(0x1b5)](async()=>{const _0x2b9a3f=_0x23ad94;_0x16f1d9['errorMessage']=helper[_0x2b9a3f(0x169)](_0xfb40ea,_0x87527[_0x2b9a3f(0x1d5)]),await utilities[_0x2b9a3f(0x11f)](_0x16f1d9),testOpsHelper[_0x2b9a3f(0x1a8)]();});}}module['exports']=run;
|