browserstack-node-sdk 1.34.23 → 1.34.24
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/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-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
|
-
const
|
|
1
|
+
function a23_0x5ef8(_0x29480a,_0x3f1fc3){const _0x56ace5=a23_0x56ac();return a23_0x5ef8=function(_0x5ef840,_0xd717a5){_0x5ef840=_0x5ef840-0x110;let _0x4a8580=_0x56ace5[_0x5ef840];return _0x4a8580;},a23_0x5ef8(_0x29480a,_0x3f1fc3);}function a23_0x56ac(){const _0x1d8f61=['tests','ENV_VAR','setTestUUID','tvSVQ','BROWSERSTACK_TESTHUB_UUID','BKiLf','retry','RpyEO','1560840mXoNNu','readFileSync','setTestData','dirPath','env','mkdirSync','uuid','8433qvtsYt','_projectId','jest-o11y-','.browserstack','45380BNOAkc','../../../helpers/helper','../../../helpers/testhub/constants','834fOhiaP','stringify','19411OsLTBL','586368bmlEky','ycIEm','getTestData','_test','getTestRunIdFromTestInfo','.json','jkJYu','5YMshPs','join','1865696NIUtHn','rmSync','parse','writeFileSync','testData.json','setup','removeTestUUID','getFilePath','getTestUUID','unlinkSync','homedir','MfHql','qLSfW','4616JTddyo','recursive','existsSync','2507010EAyCWy'];a23_0x56ac=function(){return _0x1d8f61;};return a23_0x56ac();}const a23_0x5ca40f=a23_0x5ef8;(function(_0x1c1fdb,_0x1655a7){const _0x15c722=a23_0x5ef8,_0x14f7a5=_0x1c1fdb();while(!![]){try{const _0x42a16f=parseInt(_0x15c722(0x11c))/0x1*(-parseInt(_0x15c722(0x142))/0x2)+parseInt(_0x15c722(0x115))/0x3+parseInt(_0x15c722(0x11e))/0x4+-parseInt(_0x15c722(0x12e))/0x5+parseInt(_0x15c722(0x112))/0x6*(-parseInt(_0x15c722(0x114))/0x7)+-parseInt(_0x15c722(0x12b))/0x8*(-parseInt(_0x15c722(0x13e))/0x9)+parseInt(_0x15c722(0x137))/0xa;if(_0x42a16f===_0x1655a7)break;else _0x14f7a5['push'](_0x14f7a5['shift']());}catch(_0x42e07d){_0x14f7a5['push'](_0x14f7a5['shift']());}}}(a23_0x56ac,0x577aa));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a23_0x5ca40f(0x13d)),helper=require(a23_0x5ca40f(0x110)),testHubConstants=require(a23_0x5ca40f(0x111));class TestDetails{static [a23_0x5ca40f(0x12f)]={};static [a23_0x5ca40f(0x13a)]=path['join'](helper['homedir'](),'.browserstack','jest-o11y-'+process[a23_0x5ca40f(0x13b)][testHubConstants['ENV_VAR'][a23_0x5ca40f(0x133)]]);static[a23_0x5ca40f(0x123)](){const _0x368b95=a23_0x5ca40f,_0x15cc1a={};_0x15cc1a[_0x368b95(0x134)]=_0x368b95(0x141);const _0x4b0cd4=_0x15cc1a;this['dirPath']=path[_0x368b95(0x11d)](helper[_0x368b95(0x128)](),_0x4b0cd4['BKiLf'],_0x368b95(0x140)+process[_0x368b95(0x13b)][testHubConstants[_0x368b95(0x130)][_0x368b95(0x133)]]),this['shutdown']();const _0x2e4b43={};_0x2e4b43[_0x368b95(0x12c)]=!![],fs[_0x368b95(0x13c)](this[_0x368b95(0x13a)],_0x2e4b43);}static[a23_0x5ca40f(0x125)](_0x112526){const _0x4414a3=a23_0x5ca40f,_0x428085={};_0x428085[_0x4414a3(0x132)]=function(_0x1ff803,_0x5ef58b){return _0x1ff803+_0x5ef58b;},_0x428085['dupne']=_0x4414a3(0x11a);const _0x1d7bf6=_0x428085;return path[_0x4414a3(0x11d)](this['dirPath'],_0x1d7bf6[_0x4414a3(0x132)](_0x112526,_0x1d7bf6['dupne']));}static[a23_0x5ca40f(0x119)](_0x229199){const _0x22b6a1=a23_0x5ca40f,_0x233306={};_0x233306[_0x22b6a1(0x116)]=function(_0x1e0261,_0x1ad604){return _0x1e0261+_0x1ad604;},_0x233306[_0x22b6a1(0x129)]=function(_0x5158e4,_0x2f1740){return _0x5158e4+_0x2f1740;},_0x233306[_0x22b6a1(0x12a)]=function(_0x238994,_0x302d1c){return _0x238994+_0x302d1c;};const _0x170d9e=_0x233306;return _0x170d9e['ycIEm'](_0x170d9e[_0x22b6a1(0x129)](_0x170d9e[_0x22b6a1(0x116)](_0x170d9e[_0x22b6a1(0x12a)](_0x229199[_0x22b6a1(0x118)][_0x22b6a1(0x13f)],'-'),_0x229199['_test']['id']),'-'),_0x229199[_0x22b6a1(0x135)]);}static[a23_0x5ca40f(0x126)](_0x1ac9c8){const _0x1a4e81=a23_0x5ca40f,_0x2e4e49=this['getFilePath'](_0x1ac9c8);if(fs[_0x1a4e81(0x12d)](_0x2e4e49)){const _0x3d7716=JSON[_0x1a4e81(0x120)](fs['readFileSync'](_0x2e4e49)['toString']());return this[_0x1a4e81(0x12f)][_0x1ac9c8]=_0x3d7716,this[_0x1a4e81(0x12f)][_0x1ac9c8][_0x1a4e81(0x13d)];}}static[a23_0x5ca40f(0x139)](_0x4a9378){const _0x4865c8=a23_0x5ca40f,_0x125109={};_0x125109[_0x4865c8(0x136)]=_0x4865c8(0x122);const _0x1d8526=_0x125109,_0x1a445b=path[_0x4865c8(0x11d)](this[_0x4865c8(0x13a)],_0x1d8526[_0x4865c8(0x136)]);fs[_0x4865c8(0x121)](_0x1a445b,JSON[_0x4865c8(0x113)](_0x4a9378));}static[a23_0x5ca40f(0x117)](){const _0x49f839=a23_0x5ca40f,_0x25212d={};_0x25212d[_0x49f839(0x11b)]=_0x49f839(0x122);const _0x46660e=_0x25212d,_0x4275b0=path[_0x49f839(0x11d)](this[_0x49f839(0x13a)],_0x46660e[_0x49f839(0x11b)]);let _0x53868f={};try{return fs[_0x49f839(0x12d)](_0x4275b0)&&(_0x53868f=JSON[_0x49f839(0x120)](fs[_0x49f839(0x138)](_0x4275b0)['toString']())),_0x53868f;}catch(_0x56b4a1){return _0x53868f;}}static[a23_0x5ca40f(0x131)](_0x1f45a5){const _0x2d5a31=a23_0x5ca40f,_0xb2e314={'vuwNP':function(_0x525897){return _0x525897();}},_0x20bf29=this[_0x2d5a31(0x125)](_0x1f45a5);return this['tests'][_0x1f45a5]={'uuid':_0xb2e314['vuwNP'](uuidv4)},fs[_0x2d5a31(0x121)](_0x20bf29,JSON[_0x2d5a31(0x113)](this[_0x2d5a31(0x12f)][_0x1f45a5])),this[_0x2d5a31(0x12f)][_0x1f45a5]['uuid'];}static[a23_0x5ca40f(0x124)](_0x4da473){const _0x19ad50=a23_0x5ca40f,_0x163770=this[_0x19ad50(0x125)](_0x4da473);fs['existsSync'](_0x163770)&&fs[_0x19ad50(0x127)](_0x163770);}static['shutdown'](){const _0x4470cd=a23_0x5ca40f,_0x3f16d0={};_0x3f16d0[_0x4470cd(0x12c)]=!![],_0x3f16d0['force']=!![],fs[_0x4470cd(0x11f)](this['dirPath'],_0x3f16d0);}}module['exports']=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a24_0x4b9330=a24_0x4d70;function a24_0x4d70(_0x50a185,_0x3c0fbd){const _0x3030b8=a24_0x3030();return a24_0x4d70=function(_0x4d70f4,_0x31dddd){_0x4d70f4=_0x4d70f4-0x102;let _0x20cf51=_0x3030b8[_0x4d70f4];return _0x20cf51;},a24_0x4d70(_0x50a185,_0x3c0fbd);}function a24_0x3030(){const _0x55b5dd=['32rBZKlm','1VeWsxX','1408047ROhvuW','keys','../../helpers/setKeepAlive','__webdriver','../../helpers/helper','2204531RXMgEU','7361910tqMCRU','4475940QnjaNv','194230WgHbve','1096998jxcjZE','164pqbDdL','21486990USQEZE'];a24_0x3030=function(){return _0x55b5dd;};return a24_0x3030();}(function(_0x598c69,_0x4e80ed){const _0x355bbd=a24_0x4d70,_0x1bec12=_0x598c69();while(!![]){try{const _0x4b65d3=-parseInt(_0x355bbd(0x10e))/0x1*(-parseInt(_0x355bbd(0x10a))/0x2)+-parseInt(_0x355bbd(0x10f))/0x3+parseInt(_0x355bbd(0x10b))/0x4*(parseInt(_0x355bbd(0x109))/0x5)+-parseInt(_0x355bbd(0x108))/0x6+-parseInt(_0x355bbd(0x106))/0x7*(parseInt(_0x355bbd(0x10d))/0x8)+-parseInt(_0x355bbd(0x107))/0x9+parseInt(_0x355bbd(0x10c))/0xa;if(_0x4b65d3===_0x4e80ed)break;else _0x1bec12['push'](_0x1bec12['shift']());}catch(_0x3ef4c8){_0x1bec12['push'](_0x1bec12['shift']());}}}(a24_0x3030,0xf35d7));const {requireModule}=require(a24_0x4b9330(0x105));require(a24_0x4b9330(0x103))();const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x4b9330(0x102)](global[a24_0x4b9330(0x104)])){__wd__[key]=global[a24_0x4b9330(0x104)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x9c2642=a25_0x4d3e;(function(_0x98c55f,_0x41082f){const _0x456df2=a25_0x4d3e,_0x486118=_0x98c55f();while(!![]){try{const _0x51e2d3=-parseInt(_0x456df2(0xbc))/0x1*(-parseInt(_0x456df2(0xb8))/0x2)+parseInt(_0x456df2(0xb6))/0x3*(-parseInt(_0x456df2(0xc7))/0x4)+parseInt(_0x456df2(0xc9))/0x5+-parseInt(_0x456df2(0xcf))/0x6*(parseInt(_0x456df2(0xb5))/0x7)+parseInt(_0x456df2(0xce))/0x8*(-parseInt(_0x456df2(0xba))/0x9)+-parseInt(_0x456df2(0xc3))/0xa+-parseInt(_0x456df2(0xa5))/0xb;if(_0x51e2d3===_0x41082f)break;else _0x486118['push'](_0x486118['shift']());}catch(_0x382020){_0x486118['push'](_0x486118['shift']());}}}(a25_0x1062,0x4d6a0));function a25_0x4d3e(_0xcb111,_0x94eb6a){const _0x1062eb=a25_0x1062();return a25_0x4d3e=function(_0x4d3e5b,_0x1681df){_0x4d3e5b=_0x4d3e5b-0xa5;let _0x1d5dc7=_0x1062eb[_0x4d3e5b];return _0x1d5dc7;},a25_0x4d3e(_0xcb111,_0x94eb6a);}const path=require(a25_0x9c2642(0xa9)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x9c2642(0xb1)),constants=require(a25_0x9c2642(0xaa)),{isAccessibilityAutomationSession}=require(a25_0x9c2642(0xae)),RequestQueueHandler=require(a25_0x9c2642(0xc5)),{isTestObservabilitySession}=require(a25_0x9c2642(0xaf)),helper=require(a25_0x9c2642(0xb1)),{commandRepository}=require(a25_0x9c2642(0xb4));class Launcher{constructor(_0x11f4bd,_0x217873,_0x2100a0,_0x576f1=[]){const _0xddf689=a25_0x9c2642,_0x29033c={'dRcRJ':_0xddf689(0xa6),'YSuZz':function(_0x22b39c){return _0x22b39c();},'JjCta':function(_0x2f6575){return _0x2f6575();}},_0x43384e=_0x29033c[_0xddf689(0xc0)]['split']('|');let _0x21600a=0x0;while(!![]){switch(_0x43384e[_0x21600a++]){case'0':global[_0xddf689(0xc6)]=0x0;continue;case'1':global[_0xddf689(0xbd)]=0x0;continue;case'2':global[_0xddf689(0xbe)]=0x0;continue;case'3':global[_0xddf689(0xc2)]=0x0;continue;case'4':this[_0xddf689(0xc1)]['framework']=_0x11f4bd;continue;case'5':this['_mochaOpts']=_0x217873[_0xddf689(0xb2)];continue;case'6':global[_0xddf689(0xb7)]=0x0;continue;case'7':this[_0xddf689(0xd2)]=_0x217873[_0xddf689(0xa7)];continue;case'8':global['testsErrorMessage']={};continue;case'9':this[_0xddf689(0xc1)]=_0x217873[_0xddf689(0xd5)]||{};continue;case'10':global[_0xddf689(0xd3)]=0x0;continue;case'11':global[_0xddf689(0xd0)]=0x0;continue;case'12':!constants[_0xddf689(0xb9)][_0xddf689(0xb3)](_0x11f4bd)&&(commandRepository['setConfig'](_0x2100a0),commandRepository['setFramework'](_0x11f4bd));continue;case'13':global[_0xddf689(0xcb)]=0x0;continue;case'14':this[_0xddf689(0xad)]=_0x2100a0;continue;case'15':global[_0xddf689(0xc4)]=0x0;continue;case'16':this[_0xddf689(0xab)]=_0x29033c['YSuZz'](isAccessibilityAutomationSession);continue;case'17':global[_0xddf689(0xcc)]=this[_0xddf689(0xc1)][_0xddf689(0xbb)]||{};continue;case'18':this['_framework']=_0x11f4bd;continue;case'19':global[_0xddf689(0xa8)]=0x0;continue;case'20':this[_0xddf689(0xcd)]=_0x576f1;continue;case'21':global[_0xddf689(0xca)]=this[_0xddf689(0xc1)][_0xddf689(0xb0)];continue;case'22':this[_0xddf689(0xd4)]=this[_0xddf689(0xc1)][_0xddf689(0xc8)];continue;case'23':this[_0xddf689(0xbf)]=_0x29033c[_0xddf689(0xd1)](isTestObservabilitySession);continue;}break;}}['setupCucumber'](_0x312805,_0x3a2b20,_0x1abbe7){const _0x1251ea=a25_0x9c2642,_0x6e8a67=_0x312805[_0x1251ea(0xac)];_0x312805.resolvePaths=async function(){const pathResults=await _0x6e8a67.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x1abbe7));return pathResults;},_0x3a2b20.push('--format'),_0x3a2b20.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};if(!helper.isUndefined(this._mochaOpts.mochaRequire)){Object.assign(mochaOpts,{require:[this._mochaOpts.mochaRequire],globalSetup:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalSetup,globalTeardown:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalTeardown});}global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x1062(){const _0x3441b9=['2685510BORgbF','testsUnknown','../../helpers/test-observability/requestQueueHandler','testsUndefined','99844BfpVyO','capability','2992735sZpZkR','__platform__','testsAmbiguous','__platformCaps','_argv','24LmaBQt','666906eMrSaE','testsPassed','JjCta','_formatter','testSuites','_capability','configuration','1628869ANVzsx','18|9|4|5|7|22|21|20|14|23|16|17|10|2|11|3|1|19|6|0|15|13|8|12','formatter','testsSkipped','path','../utils/constants','_accessibilityAutomation','resolvePaths','_bsConfig','../../helpers/accessibility-automation/helper','../../helpers/test-observability/utils','platform','../../helpers/helper','mochaOpts','includes','../../helpers/ai-sdk/autoHealHelper','21XnnhZy','3dJsZDZ','testSuitesFailed','62JasulI','AI_ENABLED_FRAMEWORK','51606BqCVIS','platformCaps','16477DWZWqf','testsPending','totalTests','_testObservability','dRcRJ','_configuration','testsFailed'];a25_0x1062=function(){return _0x3441b9;};return a25_0x1062();}module.exports=Launcher;
|
|
1
|
+
const a25_0x4b3866=a25_0x29bb;(function(_0x9839c7,_0x390607){const _0x2ddcfa=a25_0x29bb,_0x88554c=_0x9839c7();while(!![]){try{const _0x3f4f3a=-parseInt(_0x2ddcfa(0xdf))/0x1*(parseInt(_0x2ddcfa(0xe4))/0x2)+-parseInt(_0x2ddcfa(0x104))/0x3+parseInt(_0x2ddcfa(0xec))/0x4*(parseInt(_0x2ddcfa(0xfa))/0x5)+-parseInt(_0x2ddcfa(0xed))/0x6*(parseInt(_0x2ddcfa(0x105))/0x7)+-parseInt(_0x2ddcfa(0xe0))/0x8+parseInt(_0x2ddcfa(0xf5))/0x9*(parseInt(_0x2ddcfa(0xe2))/0xa)+parseInt(_0x2ddcfa(0xeb))/0xb;if(_0x3f4f3a===_0x390607)break;else _0x88554c['push'](_0x88554c['shift']());}catch(_0x157830){_0x88554c['push'](_0x88554c['shift']());}}}(a25_0x192b,0xaaea1));function a25_0x192b(){const _0x123798=['testsAmbiguous','_bsConfig','setFramework','testsPending','platform','../../helpers/accessibility-automation/helper','8172351BjXkHd','176PYowjt','2765058OOzErJ','yxAVH','../../helpers/test-observability/utils','testsFailed','_testObservability','capability','testsUndefined','includes','18XeekVS','testsErrorMessage','21|23|10|12|18|22|19|8|20|2|0|15|9|11|7|17|4|6|14|3|5|16|1|13','totalTests','__platform__','130265EyoqQw','platformCaps','_framework','_configuration','../../helpers/ai-sdk/autoHealHelper','../../helpers/test-observability/requestQueueHandler','setupCucumber','testSuitesFailed','framework','testSuites','276009oWgIic','7quPMcq','../../helpers/helper','testsPassed','601hKepkh','4182920sdPLkY','mochaOpts','3161720vSbBhu','AI_ENABLED_FRAMEWORK','2482jbdUmw'];a25_0x192b=function(){return _0x123798;};return a25_0x192b();}function a25_0x29bb(_0x22de6e,_0x3d0074){const _0x192ba3=a25_0x192b();return a25_0x29bb=function(_0x29bbe3,_0x528922){_0x29bbe3=_0x29bbe3-0xde;let _0x11414d=_0x192ba3[_0x29bbe3];return _0x11414d;},a25_0x29bb(_0x22de6e,_0x3d0074);}const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x4b3866(0x106)),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require(a25_0x4b3866(0xea)),RequestQueueHandler=require(a25_0x4b3866(0xff)),{isTestObservabilitySession}=require(a25_0x4b3866(0xef)),helper=require(a25_0x4b3866(0x106)),{commandRepository}=require(a25_0x4b3866(0xfe));class Launcher{constructor(_0x2e97b4,_0x469fbf,_0x10f13f,_0x1da1c6=[]){const _0x2cbda3=a25_0x4b3866,_0x4016f2={'BXMGQ':_0x2cbda3(0xf7),'yxAVH':function(_0x153321){return _0x153321();}},_0x3f22ef=_0x4016f2['BXMGQ']['split']('|');let _0x5a60cf=0x0;while(!![]){switch(_0x3f22ef[_0x5a60cf++]){case'0':this['_accessibilityAutomation']=_0x4016f2[_0x2cbda3(0xee)](isAccessibilityAutomationSession);continue;case'1':global[_0x2cbda3(0xf6)]={};continue;case'2':this[_0x2cbda3(0xf1)]=_0x4016f2[_0x2cbda3(0xee)](isTestObservabilitySession);continue;case'3':global[_0x2cbda3(0xf3)]=0x0;continue;case'4':global[_0x2cbda3(0xe8)]=0x0;continue;case'5':global['testsUnknown']=0x0;continue;case'6':global['testsSkipped']=0x0;continue;case'7':global[_0x2cbda3(0xde)]=0x0;continue;case'8':this['_argv']=_0x1da1c6;continue;case'9':global[_0x2cbda3(0x103)]=0x0;continue;case'10':this[_0x2cbda3(0xfd)][_0x2cbda3(0x102)]=_0x2e97b4;continue;case'11':global[_0x2cbda3(0xf8)]=0x0;continue;case'12':this['_mochaOpts']=_0x469fbf[_0x2cbda3(0xe1)];continue;case'13':!constants[_0x2cbda3(0xe3)][_0x2cbda3(0xf4)](_0x2e97b4)&&(commandRepository['setConfig'](_0x10f13f),commandRepository[_0x2cbda3(0xe7)](_0x2e97b4));continue;case'14':global[_0x2cbda3(0x101)]=0x0;continue;case'15':global['__platformCaps']=this[_0x2cbda3(0xfd)][_0x2cbda3(0xfb)]||{};continue;case'16':global[_0x2cbda3(0xe5)]=0x0;continue;case'17':global[_0x2cbda3(0xf0)]=0x0;continue;case'18':this['_formatter']=_0x469fbf['formatter'];continue;case'19':global[_0x2cbda3(0xf9)]=this[_0x2cbda3(0xfd)][_0x2cbda3(0xe9)];continue;case'20':this[_0x2cbda3(0xe6)]=_0x10f13f;continue;case'21':this[_0x2cbda3(0xfc)]=_0x2e97b4;continue;case'22':this['_capability']=this[_0x2cbda3(0xfd)][_0x2cbda3(0xf2)];continue;case'23':this[_0x2cbda3(0xfd)]=_0x469fbf['configuration']||{};continue;}break;}}[a25_0x4b3866(0x100)](_0x56f1f8,_0x7de51b,_0x366582){const _0x474ddd=_0x56f1f8['resolvePaths'];_0x56f1f8.resolvePaths=async function(){const pathResults=await _0x474ddd.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x366582));return pathResults;},_0x7de51b.push('--format'),_0x7de51b.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};if(!helper.isUndefined(this._mochaOpts.mochaRequire)){Object.assign(mochaOpts,{require:[this._mochaOpts.mochaRequire],globalSetup:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalSetup,globalTeardown:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalTeardown});}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
|
+
function a26_0xbed4(){const _0x5718ca=['JdgRD','args','get','2493519vRYjDx','selenium-webdriver/chrome.js','deviceName','VTBXx','chromeOptions','XfZXN','getBrowserVersion','16uYgYhC','103340fphmWa','chrome','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bXIqU','browserstack.accessibility','selenium-webdriver','YNxCM','FMNfM','2815944YaOpSJ','EkLPi','debug','uZzuC','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','env','PRrAL','afTZd','warn','fetchPlatformDetails','1958496eaGUMy','../../../helpers/helper','capability','device','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','parse','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','includes','GBGZe','WMSTW','chromeOptions_','OdPEX','bstack:options','format','isUndefined','toLowerCase','cHqTr','accessibilityOptions','getPlatform','nestedKeyValue','../../../helpers/logger','browserstack.accessibilityOptions','browser_version','uFrHb','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isAccessibilityPlatform','authToken','scannerVersion','capabilities_','setAccessibilityCapabilities','ZBLyU','40572gZLfuC','40524uEAxiP','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','KHkKW','npThx','requireModule','JdhIy','../../../helpers/globals','--headless','EaXBo','Options','util','Exception\x20in\x20setExtension\x20Error:\x20','options_','path','browserstack','rTrqS','getBrowserName','gDmHs','browserName','1331725OEuGar','__cloud_provider___','latest','BS_A11Y_JWT'];a26_0xbed4=function(){return _0x5718ca;};return a26_0xbed4();}const a26_0x15cf6d=a26_0xea23;(function(_0x2da53b,_0x3b8090){const _0x51afa9=a26_0xea23,_0xf8aae=_0x2da53b();while(!![]){try{const _0x1fbccd=parseInt(_0x51afa9(0x1a3))/0x1+parseInt(_0x51afa9(0x1a2))/0x2*(parseInt(_0x51afa9(0x181))/0x3)+parseInt(_0x51afa9(0x1b5))/0x4+parseInt(_0x51afa9(0x194))/0x5+parseInt(_0x51afa9(0x180))/0x6+-parseInt(_0x51afa9(0x19b))/0x7+-parseInt(_0x51afa9(0x1ab))/0x8;if(_0x1fbccd===_0x3b8090)break;else _0xf8aae['push'](_0xf8aae['shift']());}catch(_0x3dcc9b){_0xf8aae['push'](_0xf8aae['shift']());}}}(a26_0xbed4,0x40ec5));const path=require(a26_0x15cf6d(0x18e)),os=require('os'),util=require(a26_0x15cf6d(0x18b)),bsSetupHelper=require(a26_0x15cf6d(0x1b6)),globals=require(a26_0x15cf6d(0x187)),logger=require(a26_0x15cf6d(0x175))['winstonLogger'];function a26_0xea23(_0x5b3202,_0x56380c){const _0xbed4a1=a26_0xbed4();return a26_0xea23=function(_0xea23ec,_0x49f80c){_0xea23ec=_0xea23ec-0x166;let _0x536cd6=_0xbed4a1[_0xea23ec];return _0x536cd6;},a26_0xea23(_0x5b3202,_0x56380c);}exports[a26_0x15cf6d(0x17e)]=_0x2e9dcc=>{const _0x445705=a26_0x15cf6d,_0x41aa5e={};_0x41aa5e[_0x445705(0x169)]=_0x445705(0x16d),_0x41aa5e[_0x445705(0x19e)]=_0x445705(0x1a7),_0x41aa5e[_0x445705(0x17f)]=_0x445705(0x17a),_0x41aa5e['EkLPi']=_0x445705(0x176);const _0x552100=_0x41aa5e;try{const _0x5601d8=_0x2e9dcc[_0x445705(0x1b7)]||{};if(_0x5601d8[_0x552100['GBGZe']]&&_0x5601d8[_0x552100[_0x445705(0x169)]]['accessibility']||_0x2e9dcc[_0x445705(0x1b7)][_0x552100[_0x445705(0x19e)]]){globals['setGlobal'](_0x552100[_0x445705(0x17f)],!![]);if(_0x5601d8[_0x552100[_0x445705(0x169)]]){if(_0x5601d8[_0x552100[_0x445705(0x169)]][_0x445705(0x172)])_0x5601d8[_0x552100[_0x445705(0x169)]][_0x445705(0x172)][_0x445705(0x17b)]=process[_0x445705(0x1b0)]['BS_A11Y_JWT'];else{const _0x2d0332={};_0x2d0332[_0x445705(0x17b)]=process[_0x445705(0x1b0)][_0x445705(0x197)],_0x5601d8[_0x552100[_0x445705(0x169)]][_0x445705(0x172)]=_0x2d0332;}_0x5601d8[_0x552100['GBGZe']][_0x445705(0x172)][_0x445705(0x17c)]=JSON['parse'](process[_0x445705(0x1b0)][_0x445705(0x1a5)])['scannerVersion'];}else{if(_0x2e9dcc[_0x445705(0x1b7)][_0x552100[_0x445705(0x19e)]]){if(_0x5601d8[_0x552100[_0x445705(0x1ac)]])_0x5601d8[_0x552100[_0x445705(0x1ac)]][_0x445705(0x17b)]=process[_0x445705(0x1b0)][_0x445705(0x197)];else{const _0x19ad55={};_0x19ad55[_0x445705(0x17b)]=process['env']['BS_A11Y_JWT'],_0x5601d8[_0x552100[_0x445705(0x1ac)]]=_0x19ad55;}_0x5601d8[_0x552100[_0x445705(0x1ac)]][_0x445705(0x17c)]=JSON[_0x445705(0x166)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x445705(0x17c)];}}}}catch(_0x152b4e){logger['debug'](_0x445705(0x167)+_0x152b4e);}},exports['setExtension']=(_0x197355,_0x34f403)=>{const _0x2f52dc=a26_0x15cf6d,_0x1cafb5={};_0x1cafb5[_0x2f52dc(0x183)]=_0x2f52dc(0x16d),_0x1cafb5[_0x2f52dc(0x192)]=function(_0x1180ba,_0xa57c35){return _0x1180ba!==_0xa57c35;},_0x1cafb5[_0x2f52dc(0x190)]=_0x2f52dc(0x179),_0x1cafb5[_0x2f52dc(0x189)]=_0x2f52dc(0x1a4),_0x1cafb5[_0x2f52dc(0x1ae)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x1cafb5[_0x2f52dc(0x198)]=function(_0x26cada,_0x4aafb6){return _0x26cada===_0x4aafb6;},_0x1cafb5[_0x2f52dc(0x171)]=_0x2f52dc(0x196),_0x1cafb5['uFrHb']=function(_0x4029be,_0x324139){return _0x4029be>_0x324139;},_0x1cafb5[_0x2f52dc(0x1b1)]=_0x2f52dc(0x182),_0x1cafb5[_0x2f52dc(0x16c)]=_0x2f52dc(0x19c),_0x1cafb5[_0x2f52dc(0x16a)]=_0x2f52dc(0x1a8),_0x1cafb5[_0x2f52dc(0x1a6)]=_0x2f52dc(0x18d),_0x1cafb5[_0x2f52dc(0x1a0)]=_0x2f52dc(0x199),_0x1cafb5['YNxCM']=_0x2f52dc(0x19f),_0x1cafb5[_0x2f52dc(0x1aa)]=_0x2f52dc(0x188),_0x1cafb5['afTZd']=_0x2f52dc(0x1b9);const _0x1c8ca6=_0x1cafb5;try{const _0x3be134=_0x34f403[_0x2f52dc(0x1b7)]||{},_0x5bbc71=(_0x3be134[_0x1c8ca6[_0x2f52dc(0x183)]]?_0x3be134[_0x1c8ca6['KHkKW']][_0x2f52dc(0x19d)]:_0x3be134[_0x2f52dc(0x1b8)])||'';if(_0x1c8ca6['gDmHs'](_0x5bbc71,''))return logger['warn'](_0x1c8ca6['rTrqS']),![];const _0x2f8cb1=_0x3be134[_0x2f52dc(0x193)]||_0x197355['capabilities_'][_0x2f52dc(0x191)]();if(_0x1c8ca6[_0x2f52dc(0x192)](_0x2f8cb1[_0x2f52dc(0x170)](),_0x1c8ca6[_0x2f52dc(0x189)]))return logger['warn'](_0x1c8ca6[_0x2f52dc(0x1ae)]),![];const _0x1840ef=_0x3be134['browserVersion']||_0x3be134[_0x2f52dc(0x177)]||_0x197355[_0x2f52dc(0x17d)][_0x2f52dc(0x1a1)]();if(!bsSetupHelper[_0x2f52dc(0x16f)](_0x1840ef)&&!(_0x1c8ca6['JdgRD'](_0x1840ef,_0x1c8ca6[_0x2f52dc(0x171)])||_0x1c8ca6[_0x2f52dc(0x178)](_0x1840ef,0x5e)))return logger[_0x2f52dc(0x1b3)](_0x1c8ca6[_0x2f52dc(0x1b1)]),![];let _0x11ae8d;try{_0x11ae8d=bsSetupHelper[_0x2f52dc(0x185)](_0x1c8ca6[_0x2f52dc(0x16c)],_0x1c8ca6[_0x2f52dc(0x16a)]);}catch(_0x2a7df0){return![];}const _0x43c3f3=new _0x11ae8d[(_0x2f52dc(0x18a))](_0x197355[_0x2f52dc(0x16b)]),_0x51b710=bsSetupHelper[_0x2f52dc(0x174)](_0x43c3f3,[_0x1c8ca6[_0x2f52dc(0x1a6)],_0x1c8ca6[_0x2f52dc(0x1a0)]])||bsSetupHelper[_0x2f52dc(0x174)](_0x197355[_0x2f52dc(0x17d)][_0x2f52dc(0x19a)](_0x1c8ca6[_0x2f52dc(0x183)]),[_0x1c8ca6[_0x2f52dc(0x1a9)],_0x1c8ca6[_0x2f52dc(0x1a0)]])||bsSetupHelper['nestedKeyValue'](_0x197355['capabilities_']['get'](_0x1c8ca6[_0x2f52dc(0x1a9)]),[_0x1c8ca6[_0x2f52dc(0x1a0)]])||[];if(_0x51b710[_0x2f52dc(0x168)](_0x1c8ca6[_0x2f52dc(0x1aa)]))return logger[_0x2f52dc(0x1b3)](_0x1c8ca6[_0x2f52dc(0x1b2)]),![];return!![];}catch(_0x12919d){logger[_0x2f52dc(0x1ad)](_0x2f52dc(0x18c)+util[_0x2f52dc(0x16e)](_0x12919d));}return![];},exports[a26_0x15cf6d(0x1b4)]=async _0x3a15b7=>{const _0x23d845=a26_0x15cf6d,_0x572da2={};_0x572da2[_0x23d845(0x186)]=function(_0x29c460,_0xeefd38){return _0x29c460===_0xeefd38;},_0x572da2[_0x23d845(0x184)]=_0x23d845(0x18f);const _0x4317a4=_0x572da2;let _0x4b43b8={};try{const _0x26dd69=await _0x3a15b7['getCapabilities']();_0x4b43b8={'os_name':_0x26dd69[_0x23d845(0x173)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x4317a4['JdhIy'](global[_0x23d845(0x195)],_0x4317a4[_0x23d845(0x184)])),'browser_name':_0x26dd69[_0x23d845(0x191)](),'browser_version':_0x26dd69[_0x23d845(0x1a1)]()};}catch(_0x10828b){logger['debug'](_0x23d845(0x1af)+_0x10828b);}return _0x4b43b8;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a27_0x5b5743=a27_0x155d;function a27_0x2ce9(){const _0x206028=['bind','7emSIJL','ZCALJ','appendTesthubParams','toString','increaseIndent','location_prefix','spec','hookAnalyticsId','%s\x20','BdKiv','fast','iuExM','NViDc','type','sSVla','KDINL','statSync','UnhandledError','dqwJt','fCNxk','bsConfig','ToUmt','failure_backtrace','Reporter','pegbL','setCurrentTestData','FZnJT','../../../helpers/helper','../../../helpers/central-scanner/helpers','SGwZN','speed','COMPLETED','markedStatus','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','responseCode','stdout','HYWti','sjhwB','apply','vxqAx','XWxqw','YuUaA','match','indent','shutdown','started_at','toISOString','shouldProcessEventForTesthub','dirname','../../../helpers/test-observability/sessionHandler','FvoCf','error','testObservability','state','kPASz','suite','backtrace','_testEnv','pikni','xBoMt','uGsvI','getRootParentFile','__platform__','MOCHA','fail','doc','clean','GWoFw','FAlaa','cMIZm','2|1|4|0|3','UGtEu','ldywA','zexux','QabHZ','dot','passed','TJUHn','escape','logs','IxBzT','BEFORE_EACH','mocha/lib/reporters/','jCpUR','wXpav','.js','910gNkLkm','originalTitle','now','TestRunFinished','finalResults','http_response','Lnmgu','yJgmn','\x20\x20<dd><pre><code>','_buildCreated','err','QcUKX','expanded','root','decreaseIndent','etvLp','syYvO','comma','LogCreated','javascript','<section\x20class=\x22suite\x22>','green','file','before\x20each','split','zuwMA','constants','bs:addPlatformDetails:','scopes','ctx','\x20\x20<dt\x20class=\x22error\x22>','write','\x20%s','scope','dAPdo','VeUGF','mocha/lib/utils.js','LiiMZ','RUNNING','</code></pre></dd>','815448YJoMSz','BEFORE_ALL','exports','TestRunSkipped','fullTitle','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','docAppend','\x20\x20<dt>','atFfp','suiteCount','test_run_uuid','KHxEZ','bang','uzZBS','</dt>','rrrvN','199840McsQbF','CyvQg','util','PEaVc','TtSkQ','event_type','wTRZE','lItNs','integrations','testAnalyticsId','xunit','1715128TEdRyR','BPlJQ','runner','Runner','getInstance','JTVhC','20403QQSOFw','ebmid','removeAllListeners','hook_type','ZZsVz','reporterOption','forEach','failCount','hKsLe','pid','length','registerListeners','\x20(%dms)','AcFaZ','</h1>','getTime','uploadEventData','wrtQF','parent','includes','</dd>','qARUG','TaYUY','qHRWn','oxUni','Mocha','eGYde','_currentRetry','analyticsResult','symbols','CeRLc','GRJrU','hook_run','HookRunFinished','pending','failureCount','HookStarted','ZzAOz','WTnlX','MMlhE','tNYfe','Rjqez','failed','setCentralScannerData','before\x20all','result','../test-observability/mochaUtils','.git','../../../helpers/testhub/constants','finished_at','TestRunStarted','once','YQHGz','currentTest','iQAqw','relative','LddfJ','mocha/lib/reporters/base.js','mocha/lib/runnable.js','push','body','PYZnX','ZkBro','results','uuid','AssertionError','135eikhcm','dfHzH','slice','../../../helpers/test-observability/constants','redirectUrl','SHuGc','mzxmE','retryOf','\x20with\x20error\x20:\x20','4345JUHXYY','AFTER_ALL','aIrHZ','pass','sendTestRunEvent','RVcCD','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','call','<dl>','mocha','iSepX','EVENT','hook_run_uuid','inspect','checkmark','AFTER_EACH','title','skipped','../../../helpers/test-observability/requestQueueHandler','sep','File\x20path\x20could\x20not\x20be\x20found','euwnu','ZiOPk','DRhMh','prototype','_indents','reporterOptions','join','appendTestItemLog','wHYpW','BtRII','current_test','iJJND','CBTSessionCreated','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','Qeyps','2184XQQikt','after\x20all','current_hook','BZcBf','suites','consoleLog','titlePath','\x20-\x20','eeTmW','pJPKQ','yqXLO','path','</section>','name','2483228LGUODw','__indents','BWyMV','duration','FgmNU','hooks','50PsJRLt','failure_reason_expanded','docHtml','sVSOp','multiple','color'];a27_0x2ce9=function(){return _0x206028;};return a27_0x2ce9();}(function(_0x2d7d8d,_0x1dcb6c){const _0x5aca46=a27_0x155d,_0x3bf436=_0x2d7d8d();while(!![]){try{const _0x316b8c=-parseInt(_0x5aca46(0x260))/0x1+-parseInt(_0x5aca46(0x1cb))/0x2*(parseInt(_0x5aca46(0x271))/0x3)+parseInt(_0x5aca46(0x26b))/0x4+-parseInt(_0x5aca46(0x193))/0x5*(-parseInt(_0x5aca46(0x1b7))/0x6)+-parseInt(_0x5aca46(0x1d2))/0x7*(-parseInt(_0x5aca46(0x250))/0x8)+parseInt(_0x5aca46(0x18a))/0x9*(-parseInt(_0x5aca46(0x228))/0xa)+-parseInt(_0x5aca46(0x1c5))/0xb;if(_0x316b8c===_0x1dcb6c)break;else _0x3bf436['push'](_0x3bf436['shift']());}catch(_0x273e36){_0x3bf436['push'](_0x3bf436['shift']());}}}(a27_0x2ce9,0x3d0c3));function a27_0x155d(_0x27e5a4,_0x237910){const _0x2ce9ca=a27_0x2ce9();return a27_0x155d=function(_0x155daa,_0xb91433){_0x155daa=_0x155daa-0x155;let _0x2c3dd0=_0x2ce9ca[_0x155daa];return _0x2c3dd0;},a27_0x155d(_0x27e5a4,_0x237910);}const util=require(a27_0x5b5743(0x262)),fs=require('fs'),path=require(a27_0x5b5743(0x1c2)),{requireModule}=require(a27_0x5b5743(0x1ed)),Base=requireModule(a27_0x5b5743(0x181)),utils=requireModule(a27_0x5b5743(0x24c)),color=Base['color'],Mocha=requireModule(a27_0x5b5743(0x19c)),Runnable=requireModule(a27_0x5b5743(0x182)),{v4:uuidv4}=require(a27_0x5b5743(0x188)),bsSetupHelper=require(a27_0x5b5743(0x1ed)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x5b5743(0x1ee)),testHubConstants=require(a27_0x5b5743(0x178)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x416834={};a27_0x416834[a27_0x5b5743(0x174)]=a27_0x5b5743(0x251),a27_0x416834[a27_0x5b5743(0x1b8)]=a27_0x5b5743(0x194),a27_0x416834['before\x20each']=a27_0x5b5743(0x223),a27_0x416834['after\x20each']=a27_0x5b5743(0x1a2);const HOOK_TYPES_MAP=a27_0x416834,{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_0x5b5743(0x26e)][a27_0x5b5743(0x242)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x5b5743(0x242)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x5b5743(0x176)),{consoleHolder}=require(a27_0x5b5743(0x18d)),SessionHandler=require(a27_0x5b5743(0x203)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x5b5743(0x1a5)),requestQueueHandler=RequestQueueHandler[a27_0x5b5743(0x26f)]();class MyReporter{constructor(_0x1beb98,_0x216471){const _0x23b85c=a27_0x5b5743,_0x4ff835={'ToUmt':function(_0x558d2f,_0x35059a){return _0x558d2f===_0x35059a;},'uGsvI':_0x23b85c(0x1d8),'tNYfe':function(_0x4a7409,_0x19c58c){return _0x4a7409===_0x19c58c;},'BtRII':function(_0x126d40,_0x1a1e57){return _0x126d40+_0x1a1e57;},'NViDc':function(_0x2c4f51,_0x344d9d,_0x2d44dc){return _0x2c4f51(_0x344d9d,_0x2d44dc);},'lItNs':_0x23b85c(0x23d),'BWyMV':_0x23b85c(0x1da),'ZkBro':function(_0x11623f,_0xe74bd8,_0x1abd18){return _0x11623f(_0xe74bd8,_0x1abd18);},'zexux':'light','IxBzT':'%s\x20-\x20%s','pmgmo':_0x23b85c(0x24e),'iJJND':function(_0x1a21d9,_0x4f1aa6){return _0x1a21d9===_0x4f1aa6;},'CeRLc':_0x23b85c(0x213),'VeUGF':function(_0x129050,_0x40ba6a){return _0x129050===_0x40ba6a;},'wXpav':function(_0x44975a){return _0x44975a();},'GRJrU':'HookRunStarted','CyvQg':_0x23b85c(0x169),'cMIZm':_0x23b85c(0x21e),'PEaVc':function(_0x797f2b,_0x3db784){return _0x797f2b===_0x3db784;},'ZUNAh':_0x23b85c(0x1dc),'GWoFw':_0x23b85c(0x1a1),'igpxz':_0x23b85c(0x196),'DsiVw':_0x23b85c(0x248),'SHuGc':function(_0x1ba777,_0xa3ae84,_0x43b3d3){return _0x1ba777(_0xa3ae84,_0x43b3d3);},'sSVla':_0x23b85c(0x27d),'FAlaa':_0x23b85c(0x212),'hKsLe':'\x20\x20%d)\x20%s','pOAkV':function(_0x48c9c6,_0xb9f2){return _0x48c9c6===_0xb9f2;},'Qeyps':'bright\x20yellow','YuUaA':_0x23b85c(0x1f1),'pikni':function(_0x103f6f,_0x564c57){return _0x103f6f===_0x564c57;},'FgmNU':'dot','zuwMA':function(_0x417d4f,_0x5a87c7){return _0x417d4f===_0x5a87c7;},'iSepX':'slow','ZzAOz':function(_0x158e05,_0x1564ce){return _0x158e05===_0x1564ce;},'urXru':function(_0x50d54e,_0x36a5f5){return _0x50d54e===_0x36a5f5;},'gdipK':function(_0x52b110,_0x5435d2){return _0x52b110===_0x5435d2;},'YKNnQ':_0x23b85c(0x218),'dAPdo':function(_0x1ed982,_0x50004a){return _0x1ed982===_0x50004a;},'tFFGG':_0x23b85c(0x16a),'BPlJQ':function(_0x58420d){return _0x58420d();},'TtSkQ':_0x23b85c(0x253),'fCNxk':function(_0x5a3615,_0x5d3cc4){return _0x5a3615===_0x5d3cc4;},'RVcCD':function(_0x1b58f5,_0x520052){return _0x1b58f5===_0x520052;},'WTnlX':function(_0x4285d7,_0x515f6d){return _0x4285d7(_0x515f6d);},'DRhMh':function(_0x3fa402,_0x484356){return _0x3fa402(_0x484356);},'usmIT':function(_0x3d356b,_0x121e7a){return _0x3d356b===_0x121e7a;},'JBSEl':function(_0x49735a,_0x256731){return _0x49735a===_0x256731;},'HYWti':_0x23b85c(0x26a),'dqwJt':function(_0x25d71c,_0x3415d7){return _0x25d71c(_0x3415d7);},'YQHGz':function(_0x4449db,_0x57f2ed){return _0x4449db===_0x57f2ed;},'mzxmE':function(_0x4258a0,_0x4a1d47){return _0x4258a0(_0x4a1d47);},'ZCALJ':function(_0x4f97ea,_0xf06f97){return _0x4f97ea!==_0xf06f97;}};this['type']=_0x216471[_0x23b85c(0x276)][_0x23b85c(0x1df)],this[_0x23b85c(0x206)]=_0x4ff835[_0x23b85c(0x226)](isTestObservabilitySession),Base[_0x23b85c(0x19a)](this,_0x1beb98,_0x216471),this[_0x23b85c(0x1ac)]=0x0,this[_0x23b85c(0x278)]=0x0,this[_0x23b85c(0x187)]=[],this[_0x23b85c(0x22c)]=[],this[_0x23b85c(0x259)]=0x0,this[_0x23b85c(0x231)]=![],this['_testResults']=[],this[_0x23b85c(0x20b)]=_0x4ff835[_0x23b85c(0x226)](getTestEnv),this['_paths']=new PathHelper({'cwd':process['cwd']()},this[_0x23b85c(0x20b)][_0x23b85c(0x1d7)]),this['_upstreamConfig']=_0x216471[_0x23b85c(0x276)][_0x23b85c(0x1e6)],this['registerListeners']();_0x4ff835['JBSEl'](this[_0x23b85c(0x1df)],_0x4ff835['CeRLc'])&&(this[_0x23b85c(0x1cd)]='',this[_0x23b85c(0x1c6)]=0x2);_0x1beb98[_0x23b85c(0x17b)](EVENT_RUN_BEGIN,async()=>{const _0x4f83de=_0x23b85c;_0x4ff835['ToUmt'](this[_0x4f83de(0x1df)],_0x4ff835[_0x4f83de(0x20e)])&&Base[_0x4f83de(0x1bc)]();})['on'](EVENT_SUITE_BEGIN,_0x269a76=>{const _0x4d26b9=_0x23b85c;if(_0x269a76['root'])return;if(_0x4ff835[_0x4d26b9(0x170)](this[_0x4d26b9(0x1df)],_0x4ff835[_0x4d26b9(0x20e)]))this[_0x4d26b9(0x1d6)](),Base[_0x4d26b9(0x1bc)](_0x4ff835[_0x4d26b9(0x1b1)](_0x4ff835['BtRII'](this[_0x4d26b9(0x1fd)](),_0x4ff835[_0x4d26b9(0x1de)](color,_0x4ff835[_0x4d26b9(0x267)],_0x4ff835[_0x4d26b9(0x1c7)])),_0x4ff835[_0x4d26b9(0x186)](color,_0x4ff835[_0x4d26b9(0x21b)],_0x4ff835[_0x4d26b9(0x222)])),_0x4ff835['pmgmo'],_0x269a76[_0x4d26b9(0x1a3)],global[_0x4d26b9(0x210)]);else _0x4ff835[_0x4d26b9(0x1b3)](this[_0x4d26b9(0x1df)],_0x4ff835[_0x4d26b9(0x166)])&&(this[_0x4d26b9(0x256)](this[_0x4d26b9(0x1fd)]()+_0x4d26b9(0x23c)),++this[_0x4d26b9(0x1c6)],this[_0x4d26b9(0x256)](this[_0x4d26b9(0x1fd)]()+'<h1>'+utils[_0x4d26b9(0x220)](_0x269a76['title']+_0x4d26b9(0x1be)+global[_0x4d26b9(0x210)])+_0x4d26b9(0x156)),this[_0x4d26b9(0x256)](this[_0x4d26b9(0x1fd)]()+_0x4d26b9(0x19b)));})['on'](EVENT_HOOK_BEGIN,async _0x5ee55a=>{const _0x207148=_0x23b85c;if(_0x4ff835[_0x207148(0x24b)](testhubUtils[_0x207148(0x201)](testHubConstants[_0x207148(0x19e)][_0x207148(0x16c)]),!![])){if(!_0x5ee55a[_0x207148(0x1d9)])_0x5ee55a[_0x207148(0x1d9)]=_0x4ff835[_0x207148(0x226)](uuidv4);else _0x5ee55a[_0x207148(0x1f2)]&&(_0x5ee55a[_0x207148(0x1d9)]=_0x4ff835[_0x207148(0x226)](uuidv4),delete _0x5ee55a[_0x207148(0x1f2)]);_0x5ee55a[_0x207148(0x1ff)]=new Date()[_0x207148(0x200)](),this[_0x207148(0x1b9)]=_0x5ee55a,await this[_0x207148(0x197)](_0x5ee55a,undefined,![],_0x4ff835[_0x207148(0x167)]);}})['on'](EVENT_HOOK_END,async _0x286a92=>{const _0x5504b4=_0x23b85c;_0x4ff835[_0x5504b4(0x24b)](testhubUtils[_0x5504b4(0x201)](testHubConstants['EVENT']['HookFinished']),!![])&&(!_0x286a92[_0x5504b4(0x1f2)]&&(_0x286a92[_0x5504b4(0x1f2)]=!![],await this['sendTestRunEvent'](_0x286a92,undefined,![],_0x4ff835[_0x5504b4(0x261)])));})['on'](EVENT_SUITE_END,_0xf00399=>{const _0x50da19=_0x23b85c,_0x4df65b={'qHRWn':function(_0x337b5b,_0xeeb850){return _0x4ff835['iJJND'](_0x337b5b,_0xeeb850);},'oxUni':_0x4ff835[_0x50da19(0x217)],'LddfJ':function(_0x11aed8,_0x1f7aef){const _0x445340=_0x50da19;return _0x4ff835[_0x445340(0x263)](_0x11aed8,_0x1f7aef);},'TaYUY':_0x4ff835['ZUNAh'],'yJgmn':function(_0x424dda,_0x5df88c){const _0x4b70fb=_0x50da19;return _0x4ff835[_0x4b70fb(0x1b1)](_0x424dda,_0x5df88c);},'sjhwB':function(_0x176a97,_0x52585f,_0x355684){const _0x9f54d3=_0x50da19;return _0x4ff835[_0x9f54d3(0x1de)](_0x176a97,_0x52585f,_0x355684);},'SwclU':_0x4ff835[_0x50da19(0x215)],'jCpUR':function(_0x57255b,_0x5c4d6b){const _0x3a1ab5=_0x50da19;return _0x4ff835[_0x3a1ab5(0x1b1)](_0x57255b,_0x5c4d6b);},'pJPKQ':function(_0x462e4d,_0x789327,_0x658904){return _0x4ff835['ZkBro'](_0x462e4d,_0x789327,_0x658904);},'HQPIB':_0x4ff835['igpxz'],'TJUHn':_0x4ff835['DsiVw'],'FvoCf':function(_0x42514c,_0x304f58){const _0x3d6411=_0x50da19;return _0x4ff835[_0x3d6411(0x1b1)](_0x42514c,_0x304f58);},'SGwZN':function(_0x4feb5a,_0x4a0c3c,_0xbf3415){const _0x3d350a=_0x50da19;return _0x4ff835[_0x3d350a(0x18f)](_0x4feb5a,_0x4a0c3c,_0xbf3415);},'vxqAx':_0x4ff835[_0x50da19(0x1e0)],'zYizP':function(_0x44ad77,_0x46d775){const _0x1e5667=_0x50da19;return _0x4ff835[_0x1e5667(0x1b1)](_0x44ad77,_0x46d775);},'dfHzH':_0x4ff835[_0x50da19(0x216)],'mamVW':_0x4ff835[_0x50da19(0x279)]};if(_0xf00399[_0x50da19(0x235)])return;if(_0x4ff835['pOAkV'](this['type'],_0x4ff835['uGsvI']))Base[_0x50da19(0x1bc)](),Base['consoleLog'](_0x4ff835[_0x50da19(0x1b1)](_0x4ff835['BtRII'](this[_0x50da19(0x1fd)](),_0x4ff835[_0x50da19(0x18f)](color,_0x4ff835[_0x50da19(0x1b6)],_0x4ff835['BWyMV'])),_0x4ff835[_0x50da19(0x1de)](color,_0x4ff835['zexux'],_0x4ff835['IxBzT'])),_0x4ff835[_0x50da19(0x1fb)],_0xf00399[_0x50da19(0x1a3)],global[_0x50da19(0x210)]),this['results'][_0x50da19(0x277)](_0x3fb8f9=>{const _0x49efc5=_0x50da19;if(_0x4df65b[_0x49efc5(0x15f)](_0x3fb8f9[_0x49efc5(0x207)],_0x4df65b[_0x49efc5(0x160)])){var _0x2ef7c7;_0x4df65b[_0x49efc5(0x180)](_0x3fb8f9[_0x49efc5(0x1f0)],_0x4df65b[_0x49efc5(0x15e)])?(_0x2ef7c7=_0x4df65b[_0x49efc5(0x22f)](_0x4df65b[_0x49efc5(0x22f)](this[_0x49efc5(0x1fd)](),_0x4df65b[_0x49efc5(0x1f7)](color,_0x4df65b['SwclU'],_0x4df65b[_0x49efc5(0x225)]('\x20\x20',Base[_0x49efc5(0x165)]['ok']))),_0x4df65b[_0x49efc5(0x1c0)](color,_0x4df65b['HQPIB'],_0x4df65b[_0x49efc5(0x21f)])),Base[_0x49efc5(0x1bc)](_0x2ef7c7,_0x3fb8f9[_0x49efc5(0x1a3)])):(_0x2ef7c7=_0x4df65b[_0x49efc5(0x22f)](_0x4df65b[_0x49efc5(0x204)](_0x4df65b[_0x49efc5(0x22f)](this['indent'](),_0x4df65b[_0x49efc5(0x1ef)](color,_0x4df65b['SwclU'],_0x4df65b[_0x49efc5(0x204)]('\x20\x20',Base[_0x49efc5(0x165)]['ok']))),_0x4df65b[_0x49efc5(0x1f7)](color,_0x4df65b['HQPIB'],_0x4df65b['TJUHn'])),_0x4df65b[_0x49efc5(0x1c0)](color,_0x3fb8f9['speed'],_0x4df65b[_0x49efc5(0x1f9)])),Base[_0x49efc5(0x1bc)](_0x2ef7c7,_0x3fb8f9[_0x49efc5(0x1a3)],_0x3fb8f9['duration']));}else Base[_0x49efc5(0x1bc)](_0x4df65b['zYizP'](this['indent'](),_0x4df65b[_0x49efc5(0x1ef)](color,_0x4df65b[_0x49efc5(0x18b)],_0x4df65b['mamVW'])),++this[_0x49efc5(0x278)],_0x3fb8f9[_0x49efc5(0x1a3)]);}),this[_0x50da19(0x236)]();else _0x4ff835[_0x50da19(0x1e7)](this[_0x50da19(0x1df)],_0x4ff835['CeRLc'])&&(this[_0x50da19(0x256)](this[_0x50da19(0x1fd)]()+'</dl>'),--this[_0x50da19(0x1c6)],this[_0x50da19(0x256)](this['indent']()+_0x50da19(0x1c3)),--this[_0x50da19(0x1c6)]);Array[_0x50da19(0x1ab)][_0x50da19(0x183)][_0x50da19(0x1f8)](this[_0x50da19(0x22c)],this['results']),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x1c409c=>{const _0x52e21f=_0x23b85c;this[_0x52e21f(0x187)][_0x52e21f(0x183)]({'speed':_0x1c409c[_0x52e21f(0x1f0)],'suite':_0x1c409c[_0x52e21f(0x15a)]['title'],'title':_0x1c409c[_0x52e21f(0x1a3)],'fullTitle':_0x1c409c[_0x52e21f(0x254)](),'duration':_0x1c409c[_0x52e21f(0x1c8)],'state':_0x1c409c[_0x52e21f(0x207)],'err':{},'currentRetry':_0x1c409c['currentRetry'](),'titlePathV':_0x1c409c['titlePath'](),'isPending':_0x1c409c['isPending']()});if(_0x4ff835[_0x52e21f(0x20c)](this[_0x52e21f(0x1df)],_0x4ff835[_0x52e21f(0x1c9)]))_0x4ff835[_0x52e21f(0x241)](_0x1c409c['speed'],_0x4ff835[_0x52e21f(0x19d)])?process[_0x52e21f(0x1f5)]['write'](Base[_0x52e21f(0x1d0)](_0x4ff835[_0x52e21f(0x1b6)],Base[_0x52e21f(0x165)]['dot'])):process[_0x52e21f(0x1f5)][_0x52e21f(0x247)](Base['color'](_0x1c409c[_0x52e21f(0x1f0)],Base[_0x52e21f(0x165)][_0x52e21f(0x21d)]));else{if(_0x4ff835[_0x52e21f(0x16d)](this['type'],_0x4ff835[_0x52e21f(0x166)])){this[_0x52e21f(0x256)](this['indent']()+_0x52e21f(0x257)+utils[_0x52e21f(0x220)](_0x1c409c[_0x52e21f(0x1a3)])+_0x52e21f(0x25e)),this[_0x52e21f(0x256)](this[_0x52e21f(0x1fd)]()+_0x52e21f(0x257)+utils['escape'](_0x1c409c[_0x52e21f(0x23e)])+_0x52e21f(0x25e));var _0x480c96=utils['escape'](utils['clean'](_0x1c409c[_0x52e21f(0x184)]));this['docAppend'](this[_0x52e21f(0x1fd)]()+_0x52e21f(0x230)+_0x480c96+_0x52e21f(0x24f));}}_0x4ff835['urXru'](testhubUtils[_0x52e21f(0x201)](),!![])&&(!_0x1c409c[_0x52e21f(0x1f2)]&&(_0x1c409c['markedStatus']=!![],await this[_0x52e21f(0x197)](_0x1c409c)));})['on'](EVENT_TEST_FAIL,async(_0x520784,_0x18d74d)=>{const _0x45f0c6=_0x23b85c;this['results'][_0x45f0c6(0x183)]({'title':_0x520784[_0x45f0c6(0x1a3)],'suite':_0x520784['parent'][_0x45f0c6(0x1a3)],'state':_0x520784[_0x45f0c6(0x207)],'err':{'message':util[_0x45f0c6(0x1a0)](_0x18d74d)},'fullTitle':_0x520784['fullTitle'](),'speed':_0x520784[_0x45f0c6(0x1f0)],'currentRetry':_0x520784['currentRetry'](),'titlePathV':_0x520784[_0x45f0c6(0x1bd)]()});if(_0x4ff835['gdipK'](this[_0x45f0c6(0x1df)],_0x4ff835['FgmNU']))process['stdout'][_0x45f0c6(0x247)](Base['color'](_0x4ff835[_0x45f0c6(0x216)],Base[_0x45f0c6(0x165)][_0x45f0c6(0x25c)]));else{if(_0x4ff835['PEaVc'](this[_0x45f0c6(0x1df)],_0x4ff835[_0x45f0c6(0x166)])){const _0x3bd055=_0x4ff835['YKNnQ'][_0x45f0c6(0x240)]('|');let _0x553c4f=0x0;while(!![]){switch(_0x3bd055[_0x553c4f++]){case'0':this[_0x45f0c6(0x256)](this[_0x45f0c6(0x1fd)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x44be79+'</code></pre></dd>');continue;case'1':this[_0x45f0c6(0x256)](this[_0x45f0c6(0x1fd)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x45f0c6(0x220)](_0x520784[_0x45f0c6(0x23e)])+'</dt>');continue;case'2':this[_0x45f0c6(0x256)](this[_0x45f0c6(0x1fd)]()+_0x45f0c6(0x246)+utils[_0x45f0c6(0x220)](_0x520784[_0x45f0c6(0x1a3)])+_0x45f0c6(0x25e));continue;case'3':this[_0x45f0c6(0x256)](this[_0x45f0c6(0x1fd)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x45f0c6(0x220)](_0x520784[_0x45f0c6(0x232)])+_0x45f0c6(0x15c));continue;case'4':var _0x44be79=utils[_0x45f0c6(0x220)](utils[_0x45f0c6(0x214)](_0x520784[_0x45f0c6(0x184)]));continue;}break;}}}if(_0x4ff835[_0x45f0c6(0x24a)](testhubUtils[_0x45f0c6(0x201)](testHubConstants[_0x45f0c6(0x19e)]['HookFinished']),!![])){if(!_0x520784['markedStatus']){_0x520784[_0x45f0c6(0x1f2)]=!![];if(_0x520784[_0x45f0c6(0x269)])await this['sendTestRunEvent'](_0x520784,_0x18d74d);else _0x520784[_0x45f0c6(0x1d9)]&&await this[_0x45f0c6(0x197)](_0x520784,_0x18d74d,![],_0x4ff835['CyvQg']);}}})['on'](EVENT_TEST_PENDING,async _0x53d5f8=>{const _0x17f136=_0x23b85c;this['results'][_0x17f136(0x183)]({'title':_0x53d5f8[_0x17f136(0x1a3)],'suite':_0x53d5f8['parent'][_0x17f136(0x1a3)],'state':_0x53d5f8[_0x17f136(0x207)],'err':{},'fullTitle':_0x53d5f8[_0x17f136(0x254)](),'speed':_0x53d5f8[_0x17f136(0x1f0)],'currentRetry':_0x53d5f8['currentRetry'](),'titlePathV':_0x53d5f8[_0x17f136(0x1bd)]()}),_0x4ff835[_0x17f136(0x1b3)](this[_0x17f136(0x1df)],_0x4ff835[_0x17f136(0x1c9)])&&process['stdout']['write'](Base[_0x17f136(0x1d0)](_0x4ff835['tFFGG'],Base[_0x17f136(0x165)][_0x17f136(0x239)])),_0x4ff835[_0x17f136(0x24a)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x53d5f8['testAnalyticsId']&&(_0x53d5f8[_0x17f136(0x269)]=_0x4ff835[_0x17f136(0x26c)](uuidv4)),!_0x53d5f8[_0x17f136(0x1f2)]&&(_0x53d5f8['markedStatus']=!![],await this[_0x17f136(0x197)](_0x53d5f8,undefined,![],_0x4ff835[_0x17f136(0x264)])));})['on'](EVENT_TEST_BEGIN,async _0x2637df=>{const _0x282562=_0x23b85c;_0x4ff835[_0x282562(0x1e5)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this['testStarted'](_0x2637df);})['on'](EVENT_TEST_END,async _0x39e32b=>{const _0x2f5c4c=_0x23b85c;_0x4ff835[_0x2f5c4c(0x241)](testhubUtils[_0x2f5c4c(0x201)](),!![])&&(!_0x39e32b['markedStatus']&&(_0x39e32b[_0x2f5c4c(0x1f2)]=!![],await this[_0x2f5c4c(0x197)](_0x39e32b)));})['once'](EVENT_RUN_END,async()=>{const _0x5de3e6=_0x23b85c;try{if(_0x4ff835[_0x5de3e6(0x198)](testhubUtils[_0x5de3e6(0x201)](),!![])){const _0x2d9eb4=_0x4ff835[_0x5de3e6(0x16e)](getHookSkippedTests,this[_0x5de3e6(0x26d)][_0x5de3e6(0x209)]);for(const _0x1c8b7c of _0x2d9eb4){!_0x1c8b7c[_0x5de3e6(0x269)]&&(_0x1c8b7c['testAnalyticsId']=_0x4ff835[_0x5de3e6(0x26c)](uuidv4)),await this[_0x5de3e6(0x197)](_0x1c8b7c,undefined,![],_0x4ff835[_0x5de3e6(0x264)]);}}}catch(_0x3083e4){_0x4ff835[_0x5de3e6(0x1aa)](debug,_0x5de3e6(0x1b5)+_0x3083e4);}await requestQueueHandler[_0x5de3e6(0x1fe)](),_0x4ff835['usmIT'](this[_0x5de3e6(0x1df)],_0x4ff835['CeRLc'])&&Base[_0x5de3e6(0x1bc)](this[_0x5de3e6(0x1cd)]);});if(this[_0x23b85c(0x1df)]&&![_0x4ff835['CeRLc'],_0x4ff835[_0x23b85c(0x1f6)],_0x4ff835[_0x23b85c(0x20e)],_0x4ff835[_0x23b85c(0x1c9)]][_0x23b85c(0x15b)](this[_0x23b85c(0x1df)])){const _0x5ad850=this['type']['trim']();this[_0x23b85c(0x1e9)]=null;try{this[_0x23b85c(0x1e9)]=_0x4ff835[_0x23b85c(0x1e4)](requireModule,_0x23b85c(0x224)+_0x5ad850+_0x23b85c(0x227));}catch{}if(_0x4ff835[_0x23b85c(0x17c)](this[_0x23b85c(0x1e9)],null))try{this[_0x23b85c(0x1e9)]=_0x4ff835[_0x23b85c(0x190)](require,_0x5ad850);}catch(_0x1cac27){console[_0x23b85c(0x205)]('Failed\x20to\x20load\x20reporter\x20'+_0x5ad850);}if(_0x4ff835[_0x23b85c(0x1d3)](this[_0x23b85c(0x1e9)],null)){const _0x4f4513={};_0x4f4513[_0x23b85c(0x1ad)]=_0x216471[_0x23b85c(0x276)],this[_0x23b85c(0x1e9)]=new this[(_0x23b85c(0x1e9))](_0x1beb98,_0x4f4513);}}}[a27_0x5b5743(0x1fd)](){const _0x377aa8=a27_0x5b5743,_0x272954={'wTNly':function(_0x641956,_0x18bcfa){return _0x641956(_0x18bcfa);}};return _0x272954['wTNly'](Array,this[_0x377aa8(0x1ac)])[_0x377aa8(0x1ae)]('\x20\x20');}[a27_0x5b5743(0x1d6)](){const _0x2388a3=a27_0x5b5743;this[_0x2388a3(0x1ac)]++;}[a27_0x5b5743(0x236)](){const _0x2d00fa=a27_0x5b5743;this[_0x2d00fa(0x1ac)]--;}[a27_0x5b5743(0x256)](_0x4276df){const _0x3a80ea=a27_0x5b5743;this[_0x3a80ea(0x1cd)]+=_0x4276df;}['done'](_0x25df67,_0x420d9a){const _0x1de7f0=a27_0x5b5743,_0x72b7e1={'KDINL':function(_0x25cee5,_0x1bb95a){return _0x25cee5(_0x1bb95a);}},_0x4c573a={};_0x4c573a[_0x1de7f0(0x16b)]=_0x25df67,_0x4c573a[_0x1de7f0(0x187)]=this[_0x1de7f0(0x22c)],_0x72b7e1[_0x1de7f0(0x1e1)](_0x420d9a,_0x4c573a);}[a27_0x5b5743(0x27c)](){const _0x9f09dc=a27_0x5b5743;process['removeAllListeners']('bs:addLog:'+process[_0x9f09dc(0x27a)]),process['on']('bs:addLog:'+process['pid'],this[_0x9f09dc(0x1af)]['bind'](this)),process[_0x9f09dc(0x273)](_0x9f09dc(0x243)+process['pid']),process['on'](_0x9f09dc(0x243)+process[_0x9f09dc(0x27a)],this['appendTestPlatform'][_0x9f09dc(0x1d1)](this));}['testStarted']=async _0x289949=>{const _0x44b41f=a27_0x5b5743,_0x22d036={'syYvO':function(_0xb8f5ba){return _0xb8f5ba();},'XWxqw':function(_0xe731b8,_0x1ee90f){return _0xe731b8>_0x1ee90f;},'qiqQq':function(_0x4f313f,_0x29ff41){return _0x4f313f===_0x29ff41;},'KHxEZ':_0x44b41f(0x17a),'xBoMt':function(_0x235e63,_0x432824){return _0x235e63(_0x432824);}};try{const _0x81f072=this[_0x44b41f(0x1b2)];this[_0x44b41f(0x1b2)]=_0x289949,_0x289949['retryOf']=null,_0x289949['testAnalyticsId']=_0x22d036[_0x44b41f(0x238)](uuidv4),_0x289949[_0x44b41f(0x1ff)]=new Date()[_0x44b41f(0x200)](),_0x22d036[_0x44b41f(0x1fa)](_0x289949[_0x44b41f(0x163)],0x0)&&_0x81f072&&_0x22d036['qiqQq'](_0x81f072[_0x44b41f(0x1a3)],_0x289949['title'])?(_0x289949[_0x44b41f(0x191)]=_0x81f072['testAnalyticsId'],await this['sendTestRunEvent'](_0x289949,undefined,![],_0x22d036[_0x44b41f(0x25b)]),_0x81f072[_0x44b41f(0x207)]=STATE_FAILED,await this[_0x44b41f(0x197)](_0x81f072,undefined,!![])):await this[_0x44b41f(0x197)](_0x289949,undefined,![],_0x22d036['KHxEZ']);}catch(_0x2edac7){_0x22d036[_0x44b41f(0x20d)](debug,_0x44b41f(0x1f3)+_0x2edac7);}};[a27_0x5b5743(0x197)]=async(_0x38acae,_0x1311a3=undefined,_0x4ebbed=![],_0x5ca3be=a27_0x5b5743(0x22b))=>{const _0x2a922b=a27_0x5b5743,_0x12659d={'JTVhC':function(_0x50f198,_0x120dc9){return _0x50f198===_0x120dc9;},'Rjqez':function(_0x267d4c,_0x1af336){return _0x267d4c!==_0x1af336;},'LxfhP':'test','FZnJT':'err','mvjUS':_0x2a922b(0x1a7),'Iexjk':_0x2a922b(0x161),'ldywA':_0x2a922b(0x23b),'Lnmgu':function(_0x25f4da,_0x763a36){return _0x25f4da===_0x763a36;},'qARUG':_0x2a922b(0x253),'iQAqw':_0x2a922b(0x1a4),'wTRZE':function(_0x41e85b,_0x4d4c29){return _0x41e85b-_0x4d4c29;},'uzZBS':_0x2a922b(0x189),'gkWBc':_0x2a922b(0x1e3),'BdKiv':'started_at','pegbL':_0x2a922b(0x179),'XDNwY':function(_0x1466d6,_0x375054){return _0x1466d6(_0x375054);},'UGtEu':_0x2a922b(0x169),'sVSOp':_0x2a922b(0x172),'wHYpW':_0x2a922b(0x21e),'aIrHZ':_0x2a922b(0x23f),'sCwgI':function(_0x4be388,_0x1a6b46){return _0x4be388(_0x1a6b46);},'iuExM':'failure','fGWvt':_0x2a922b(0x1e8),'rmwrf':_0x2a922b(0x20a),'rrrvN':_0x2a922b(0x1cc),'etvLp':_0x2a922b(0x234),'yqXLO':_0x2a922b(0x22b),'MMlhE':function(_0x2bd673,_0x51ecf1){return _0x2bd673(_0x51ecf1);},'ebmid':function(_0x573883,_0x17c120){return _0x573883===_0x17c120;},'atFfp':'hook_type','AcFaZ':_0x2a922b(0x168),'ZZsVz':'test_run','AXjZl':function(_0x218ace,_0x5cde6c){return _0x218ace(_0x5cde6c);}};try{if(_0x38acae[_0x2a922b(0x184)]&&_0x38acae[_0x2a922b(0x184)][_0x2a922b(0x1fc)](/browserstack internal helper hook/))return;let _0x1d65d6=[];if(_0x12659d['JTVhC'](_0x38acae[_0x2a922b(0x207)],STATE_FAILED)){if(_0x12659d[_0x2a922b(0x171)](_0x38acae[_0x2a922b(0x232)],undefined))_0x1d65d6=_0x38acae[_0x2a922b(0x232)][_0x2a922b(0x1cf)]?[_0x38acae[_0x2a922b(0x232)]['multiple'],_0x12659d['LxfhP']]:[_0x38acae[_0x2a922b(0x232)],_0x12659d['FZnJT']];else _0x12659d[_0x2a922b(0x171)](_0x1311a3,undefined)?_0x1d65d6=[_0x1311a3,_0x12659d[_0x2a922b(0x1ec)]]:_0x1d65d6=[];}const _0x2e8d03=_0x12659d[_0x2a922b(0x171)](_0x38acae[_0x2a922b(0x232)],undefined)?_0x38acae[_0x2a922b(0x232)][_0x2a922b(0x1d5)]():_0x12659d[_0x2a922b(0x171)](_0x1311a3,undefined)?_0x1311a3[_0x2a922b(0x1d5)]():undefined;let _0x3c9609;try{_0x3c9609=this[_0x2a922b(0x20f)](_0x38acae);}catch(_0x492adc){_0x3c9609=null;}const _0x1eedba=_0x3c9609?this['findGitConfig'](_0x3c9609):null,_0x3cfbcf=_0x3c9609?this['_paths']['prefixTestPath'](this[_0x2a922b(0x20f)](_0x38acae)):_0x12659d['mvjUS'],_0x17e3b3={'framework':_0x12659d['Iexjk'],'uuid':_0x38acae[_0x2a922b(0x269)]||_0x38acae[_0x2a922b(0x1d9)],'name':_0x38acae[_0x2a922b(0x1a3)],'body':{'lang':_0x12659d[_0x2a922b(0x21a)],'code':_0x38acae['body']},'scope':this[_0x2a922b(0x249)](_0x38acae),'scopes':this[_0x2a922b(0x244)](_0x38acae),'identifier':_0x38acae[_0x2a922b(0x254)](),'file_name':_0x3cfbcf,'vc_filepath':_0x1eedba?path[_0x2a922b(0x17f)](_0x1eedba,_0x3c9609):null,'location':_0x3cfbcf,'result':_0x12659d['Lnmgu'](_0x5ca3be,_0x12659d[_0x2a922b(0x15d)])?_0x12659d[_0x2a922b(0x17e)]:this['analyticsResult'](_0x38acae[_0x2a922b(0x207)]),'failure_reason':_0x2e8d03,'duration_in_ms':_0x38acae[_0x2a922b(0x1c8)]||(_0x5ca3be[_0x2a922b(0x1fc)](/Finished/)||_0x5ca3be[_0x2a922b(0x1fc)](/Skipped/)?_0x12659d[_0x2a922b(0x266)](Date[_0x2a922b(0x22a)](),new Date(_0x38acae[_0x2a922b(0x1ff)])[_0x2a922b(0x157)]()):null),'started_at':_0x38acae[_0x2a922b(0x1ff)],'finished_at':_0x5ca3be['match'](/Finished/)||_0x5ca3be[_0x2a922b(0x1fc)](/Skipped/)?new Date()[_0x2a922b(0x200)]():null,'failure':failureData[_0x2a922b(0x1f8)](null,_0x1d65d6),'failure_type':!_0x2e8d03?null:_0x2e8d03[_0x2a922b(0x1fc)](/AssertionError/)?_0x12659d[_0x2a922b(0x25d)]:_0x12659d['gkWBc'],'retry_of':_0x38acae[_0x2a922b(0x191)]};testhubUtils[_0x2a922b(0x1d4)](_0x17e3b3,_0x5ca3be,_0x38acae,FRAMEWORKS[_0x2a922b(0x211)]);(_0x38acae[_0x2a922b(0x1f4)]||_0x38acae[_0x2a922b(0x18e)])&¢ralScannerUtils[_0x2a922b(0x173)](_0x17e3b3,_0x38acae[_0x2a922b(0x1f4)],_0x38acae[_0x2a922b(0x18e)]);_0x12659d[_0x2a922b(0x270)](_0x5ca3be,_0x12659d['qARUG'])&&!_0x17e3b3[_0x12659d[_0x2a922b(0x1db)]]&&(_0x17e3b3[_0x12659d[_0x2a922b(0x1db)]]=_0x17e3b3[_0x12659d[_0x2a922b(0x1ea)]]);if(_0x5ca3be[_0x2a922b(0x1fc)](/HookRun/))[_0x17e3b3[_0x2a922b(0x274)],_0x17e3b3[_0x2a922b(0x1c4)]]=_0x12659d['XDNwY'](getHookDetails,_0x38acae['fullTitle']()||_0x38acae[_0x2a922b(0x229)]||_0x38acae[_0x2a922b(0x1a3)]),_0x12659d[_0x2a922b(0x22e)](_0x5ca3be,_0x12659d[_0x2a922b(0x219)])&&(_0x12659d[_0x2a922b(0x171)](_0x17e3b3[_0x2a922b(0x175)],_0x12659d[_0x2a922b(0x1ce)])&&(_0x17e3b3['result']=_0x12659d[_0x2a922b(0x1b0)]),_0x12659d['JTVhC'](_0x17e3b3['hook_type'],_0x12659d[_0x2a922b(0x195)])&&_0x12659d[_0x2a922b(0x270)](_0x17e3b3[_0x2a922b(0x175)],_0x12659d[_0x2a922b(0x1ce)])&&!_0x38acae[_0x2a922b(0x245)][_0x2a922b(0x17d)][_0x2a922b(0x1f2)]&&(_0x38acae[_0x2a922b(0x245)][_0x2a922b(0x17d)]['markedStatus']=!![],_0x38acae[_0x2a922b(0x245)][_0x2a922b(0x17d)][_0x2a922b(0x207)]=STATE_FAILED,await this[_0x2a922b(0x197)](_0x38acae['ctx'][_0x2a922b(0x17d)],undefined,!![])));else _0x5ca3be[_0x2a922b(0x1fc)](/TestRun/)&&_0x12659d['sCwgI'](mapTestHooks,_0x38acae);const _0x3467c0=_0x17e3b3[_0x12659d[_0x2a922b(0x1dd)]][0x0];_0x3467c0&&(_0x17e3b3[_0x12659d['fGWvt']]=_0x3467c0[_0x12659d['rmwrf']],_0x17e3b3[_0x12659d[_0x2a922b(0x25f)]]=_0x3467c0[_0x12659d[_0x2a922b(0x237)]]);[_0x12659d[_0x2a922b(0x1c1)],_0x12659d['qARUG']]['includes'](_0x5ca3be)&&(this['_testResults'][_0x2a922b(0x183)](_0x17e3b3),_0x17e3b3[_0x2a922b(0x1ca)]=_0x12659d[_0x2a922b(0x16f)](getHooksForTest,_0x38acae));const _0x1a6c3b={'event_type':_0x12659d[_0x2a922b(0x272)](_0x5ca3be,_0x12659d[_0x2a922b(0x15d)])?_0x12659d['yqXLO']:_0x5ca3be};_0x5ca3be['match'](/HookRun/)?(_0x17e3b3[_0x12659d['atFfp']]=HOOK_TYPES_MAP[_0x17e3b3[_0x12659d[_0x2a922b(0x258)]]],_0x1a6c3b[_0x12659d[_0x2a922b(0x155)]]=_0x17e3b3):_0x1a6c3b[_0x12659d[_0x2a922b(0x275)]]=_0x17e3b3,testhubUtils[_0x2a922b(0x1eb)](FRAMEWORKS[_0x2a922b(0x211)],_0x1a6c3b),await SessionHandler[_0x2a922b(0x158)](_0x1a6c3b);}catch(_0x51b820){_0x12659d['AXjZl'](debug,_0x2a922b(0x255)+_0x5ca3be+_0x2a922b(0x192)+_0x51b820);}};['findGitConfig'](_0x4c07da){const _0x255bc9=a27_0x5b5743,_0x375586={};_0x375586[_0x255bc9(0x208)]=function(_0x2f1871,_0x5d914d){return _0x2f1871===_0x5d914d;},_0x375586[_0x255bc9(0x1a9)]=_0x255bc9(0x177),_0x375586['ZCUiW']='config';const _0x5041a2=_0x375586,_0x13ec81=path[_0x255bc9(0x1a6)];if(_0x5041a2['kPASz'](_0x4c07da,null)||_0x5041a2[_0x255bc9(0x208)](_0x4c07da,'')||_0x5041a2[_0x255bc9(0x208)](_0x4c07da,_0x13ec81)||_0x5041a2[_0x255bc9(0x208)](_0x4c07da,path['dirname'](_0x4c07da)))return null;try{return fs[_0x255bc9(0x1e2)](path[_0x255bc9(0x1ae)](_0x4c07da,_0x5041a2['ZiOPk'],_0x5041a2['ZCUiW'])),_0x4c07da;}catch(_0x5a856d){const _0x2668e0=path[_0x255bc9(0x202)](_0x4c07da);return this['findGitConfig'](_0x2668e0);}}[a27_0x5b5743(0x1af)]=async _0x41f545=>{const _0x1a2a91=a27_0x5b5743,_0x2dfed6={'eeTmW':_0x1a2a91(0x23a),'PhmlH':function(_0x2f6b72,_0x436e27){return _0x2f6b72(_0x436e27);}};try{this[_0x1a2a91(0x1b9)]&&!this['current_hook'][_0x1a2a91(0x1f2)]&&(_0x41f545[_0x1a2a91(0x19f)]=this['current_hook'][_0x1a2a91(0x1d9)]);!_0x41f545['hook_run_uuid']&&this[_0x1a2a91(0x1b2)]&&!this[_0x1a2a91(0x1b2)][_0x1a2a91(0x1f2)]&&(_0x41f545[_0x1a2a91(0x25a)]=this[_0x1a2a91(0x1b2)][_0x1a2a91(0x269)]);if(_0x41f545[_0x1a2a91(0x19f)]||_0x41f545[_0x1a2a91(0x25a)]){const _0x4f8bb0={};_0x4f8bb0[_0x1a2a91(0x265)]=_0x2dfed6[_0x1a2a91(0x1bf)],_0x4f8bb0[_0x1a2a91(0x221)]=[_0x41f545],await SessionHandler[_0x1a2a91(0x158)](_0x4f8bb0);}}catch(_0x57df15){_0x2dfed6['PhmlH'](debug,_0x1a2a91(0x199)+_0x57df15);}};['appendTestPlatform']=async _0x5994d2=>{const _0x13a7d7=a27_0x5b5743,_0x1fe5d2={'UFscW':_0x13a7d7(0x22d),'LiiMZ':_0x13a7d7(0x1b4),'wrtQF':function(_0x4c1475,_0x4c4605){return _0x4c1475(_0x4c4605);}};try{const _0x19bbd8={};_0x19bbd8[_0x13a7d7(0x188)]=_0x5994d2[_0x13a7d7(0x188)]||this[_0x13a7d7(0x1b2)][_0x13a7d7(0x269)],_0x19bbd8[_0x13a7d7(0x268)]=_0x5994d2[_0x1fe5d2['UFscW']];const _0x4ad718=_0x19bbd8,_0xe52135={};_0xe52135[_0x13a7d7(0x265)]=_0x1fe5d2[_0x13a7d7(0x24d)],_0xe52135['test_run']=_0x4ad718,await SessionHandler['uploadEventData'](_0xe52135);}catch(_0x37902d){_0x1fe5d2[_0x13a7d7(0x159)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x37902d);}};[a27_0x5b5743(0x164)](_0x69677d){const _0x576243=a27_0x5b5743,_0x1444bf={};_0x1444bf[_0x576243(0x21c)]=_0x576243(0x21e),_0x1444bf['QcUKX']=_0x576243(0x16a),_0x1444bf[_0x576243(0x185)]=_0x576243(0x172);const _0x96fd37=_0x1444bf,_0x208230={};return _0x208230[STATE_PASSED]=_0x96fd37[_0x576243(0x21c)],_0x208230[STATE_PENDING]=_0x96fd37[_0x576243(0x233)],_0x208230[STATE_FAILED]=_0x96fd37['PYZnX'],_0x208230[_0x69677d];}['scope'](_0x202ab6){const _0x5b3591=a27_0x5b5743,_0x4563d7={};_0x4563d7[_0x5b3591(0x1ba)]=function(_0x22c57f,_0x42fce2){return _0x22c57f-_0x42fce2;};const _0x2ef717=_0x4563d7,_0x46c242=_0x202ab6[_0x5b3591(0x1bd)]();return _0x46c242[_0x5b3591(0x18c)](0x0,_0x2ef717['BZcBf'](_0x46c242[_0x5b3591(0x27b)],0x1))[_0x5b3591(0x1ae)]('\x20');}[a27_0x5b5743(0x244)](_0x21fb2f){const _0x3af4e9=a27_0x5b5743,_0x96a43c={};_0x96a43c[_0x3af4e9(0x162)]=function(_0x201e2b,_0x6819a8){return _0x201e2b-_0x6819a8;};const _0x5db777=_0x96a43c,_0x1ef65d=_0x21fb2f[_0x3af4e9(0x1bd)]();return _0x1ef65d[_0x3af4e9(0x18c)](0x0,_0x5db777[_0x3af4e9(0x162)](_0x1ef65d['length'],0x1));}['getRootParentFile'](_0x530a93){const _0x403603=a27_0x5b5743,_0x14d546={};_0x14d546[_0x403603(0x1a8)]=function(_0x1209bb,_0xaff619){return _0x1209bb>_0xaff619;};const _0x2e66d6=_0x14d546;if(_0x530a93['file'])return _0x530a93[_0x403603(0x23e)];if(_0x530a93[_0x403603(0x245)]){const _0x218667=_0x530a93['ctx']['currentTest']?this[_0x403603(0x20f)](_0x530a93[_0x403603(0x245)][_0x403603(0x17d)]):null;if(_0x218667)return _0x218667;}if(_0x530a93[_0x403603(0x15a)]){const _0x3ab75=this[_0x403603(0x20f)](_0x530a93[_0x403603(0x15a)])||(_0x530a93['parent'][_0x403603(0x245)]&&_0x530a93[_0x403603(0x15a)]['ctx'][_0x403603(0x17d)]?this[_0x403603(0x20f)](_0x530a93[_0x403603(0x15a)][_0x403603(0x245)]['currentTest']):null);if(_0x3ab75)return _0x3ab75;_0x530a93[_0x403603(0x15a)][_0x403603(0x1bb)]&&_0x2e66d6[_0x403603(0x1a8)](_0x530a93['parent'][_0x403603(0x1bb)][_0x403603(0x27b)],0x0)&&_0x530a93[_0x403603(0x15a)]['suites']['forEach'](_0x5da5b4=>{const _0x1ec4e1=_0x403603,_0x45f362=_0x5da5b4['ctx']?this[_0x1ec4e1(0x20f)](_0x5da5b4[_0x1ec4e1(0x245)]):null;if(_0x45f362)return _0x45f362;});}return null;}}module[a27_0x5b5743(0x252)]=MyReporter;
|
|
1
|
+
'use strict';const a27_0x118a5f=a27_0x3115;(function(_0x1259c4,_0x451db1){const _0x1e4f5b=a27_0x3115,_0xc2d6a2=_0x1259c4();while(!![]){try{const _0x1175ff=-parseInt(_0x1e4f5b(0x192))/0x1+parseInt(_0x1e4f5b(0x179))/0x2*(parseInt(_0x1e4f5b(0x281))/0x3)+parseInt(_0x1e4f5b(0x1e9))/0x4+parseInt(_0x1e4f5b(0x1a8))/0x5+parseInt(_0x1e4f5b(0x25d))/0x6+parseInt(_0x1e4f5b(0x1c3))/0x7*(parseInt(_0x1e4f5b(0x19e))/0x8)+parseInt(_0x1e4f5b(0x271))/0x9*(-parseInt(_0x1e4f5b(0x1e1))/0xa);if(_0x1175ff===_0x451db1)break;else _0xc2d6a2['push'](_0xc2d6a2['shift']());}catch(_0x2ab7ea){_0xc2d6a2['push'](_0xc2d6a2['shift']());}}}(a27_0x3179,0x57656));function a27_0x3115(_0x46987c,_0x82eb39){const _0x317910=a27_0x3179();return a27_0x3115=function(_0x3115ab,_0x1a8ed2){_0x3115ab=_0x3115ab-0x164;let _0x20fc7e=_0x317910[_0x3115ab];return _0x20fc7e;},a27_0x3115(_0x46987c,_0x82eb39);}function a27_0x3179(){const _0x2357c0=['\x20\x20%d)\x20%s','comma','7TAvall','push','err','yBgik','hook_run','join','stdout','sep','GelBy','appendTestPlatform','clean','LogCreated','nJoks','CBTSessionCreated','write','../../../helpers/test-observability/utils','docAppend','lqAVl','jKpKM','lvMDF','failureCount','cMaWd','error','fast','fdrCr','done','path','VjgIH','\x20-\x20','includes','20rUlSVp','gQEqp','result','currentRetry','<dl>','light','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','\x20\x20<dt\x20class=\x22error\x22>','2096800hcKnqi','\x20(%dms)','inspect','AFTER_EACH','hooks','../../../helpers/testhub/utils','jMQAO','multiple','finalResults','ePBdA','vIqXe','PvTPA','http_response','title','jsCSi','NhvCq','body','TNMTz','LUpgG','XNNux','doc','UhHcu','match','\x20%s','failure','auoAn','\x20\x20<dt>','NHwWc','event_type','failed','fullTitle','registerListeners','pkgRE','docHtml','hcXmM','getRootParentFile','mocha/lib/reporters/base.js','spec','Runner','_buildCreated','name','KOmXf','ctx','constants','hookAnalyticsId','BEFORE_EACH','markedStatus','vzXqp','mocha/lib/runnable.js','expanded','MLbyf','current_test','</section>','duration','split','ZGSdO','slice','hook_run_uuid','SocQY','checkmark','WcvcD','Failed\x20to\x20load\x20reporter\x20','responseCode','\x20\x20<dd><pre><code>','sendTestRunEvent','vNqbx','gQLrG','removeAllListeners','file','GJIAy','../../../helpers/central-scanner/helpers','now','vlRhd','logs','KSJjt','dirname','suiteCount','EyeaC','prefixTestPath','lxeIP','uploadEventData','uuid','</code></pre></dd>','tvBQD','_paths','IwHTJ','_testEnv','pEHBv','bang','jerCG','IDUGF','retryOf','passed','ITmFr','scope','isPending','length','QRGPm','testAnalyticsId','suites','failCount','_indents','state','../../../helpers/test-observability/requestQueueHandler','TestRunStarted','kLfCC','nJUhw','toString','qaTSN','forEach','exports','shouldProcessEventForTesthub','trfus','BEFORE_ALL','parent','../../../helpers/testhub/constants','695040jLOoMc','CtXRs','KUaRs','after\x20each','before\x20each','ONkxG','UMBmP','VzyvG','Mocha','bs:addLog:','%s\x20-\x20%s','PbuMx','eJvEV','location_prefix','SGRVH','<h1>','cGFEA','pass','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','LBjPT','8180649xbPFor','testStarted','TestRunSkipped','once','reporterOption','_testResults','test_run','appendTesthubParams','sNkcu','TestRunFinished','%s\x20','results','__indents','finished_at','getInstance','redirectUrl','107475VxKtOh','EMIPt','whYtE','AUtSK','bind','KQBvN','aSEdY','increaseIndent','uEmPt','</dt>','scopes','tvqCP','symbols','util','qnCTB','appendTestItemLog','bright\x20yellow','runner','javascript','rTehg','color','XTtFW','findGitConfig','bsConfig','fail','20gSEkjd','HrdMt','green','kIspn','dot','bs:addPlatformDetails:','\x20\x20<dd\x20class=\x22error\x22>','skipped','type','JVaXj','COMPLETED','uNBZV','HookRunFinished','HookRunStarted','__platform__','indent','consoleLog','WPesH','owHUq','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','UMdYq','WUoFs','VdPwN','RIdXm','after\x20all','4568JsWTOa','slow','moJUh','../../../helpers/helper','ByjFJ','tSpES','suite','gFRll','vAqXa','Esfgi','EVENT','QfBYG','3885584gZypSB','root','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','getTime','currentTest','titlePath','current_hook','EmoKb','prototype','speed','3482380BSHRNw','koVXx','analyticsResult','originalTitle','File\x20path\x20could\x20not\x20be\x20found','heYMw','started_at','bnCKF','_upstreamConfig','</h1>','mocha/lib/utils.js','pid','hook_type','decreaseIndent','</dd>','nYhWP','statSync','_currentRetry','Reporter','HookStarted','pending','escape','toISOString','../../../helpers/test-observability/constants','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'];a27_0x3179=function(){return _0x2357c0;};return a27_0x3179();}const util=require(a27_0x118a5f(0x16d)),fs=require('fs'),path=require(a27_0x118a5f(0x1dd)),{requireModule}=require(a27_0x118a5f(0x195)),Base=requireModule(a27_0x118a5f(0x20d)),utils=requireModule(a27_0x118a5f(0x1b2)),color=Base[a27_0x118a5f(0x174)],Mocha=requireModule('mocha'),Runnable=requireModule(a27_0x118a5f(0x219)),{v4:uuidv4}=require(a27_0x118a5f(0x23a)),bsSetupHelper=require(a27_0x118a5f(0x195)),testhubUtils=require(a27_0x118a5f(0x1ee)),centralScannerUtils=require(a27_0x118a5f(0x22f)),testHubConstants=require(a27_0x118a5f(0x25c)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x298428={};a27_0x298428['before\x20all']=a27_0x118a5f(0x25a),a27_0x298428[a27_0x118a5f(0x191)]='AFTER_ALL',a27_0x298428[a27_0x118a5f(0x261)]=a27_0x118a5f(0x216),a27_0x298428[a27_0x118a5f(0x260)]=a27_0x118a5f(0x1ec);const HOOK_TYPES_MAP=a27_0x298428,{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_0x118a5f(0x20f)][a27_0x118a5f(0x214)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x118a5f(0x214)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x118a5f(0x1bf)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x118a5f(0x1d2)),RequestQueueHandler=require(a27_0x118a5f(0x250)),requestQueueHandler=RequestQueueHandler[a27_0x118a5f(0x27f)]();class MyReporter{constructor(_0xddf7ff,_0x54e3ee){const _0x3e6483=a27_0x118a5f,_0x2f5482={'pkgRE':function(_0x3f9f91,_0x4d9ff9){return _0x3f9f91===_0x4d9ff9;},'cGFEA':_0x3e6483(0x20e),'nYhWP':function(_0x21b9fd,_0x13807d){return _0x21b9fd===_0x13807d;},'IwHTJ':function(_0x58a37c,_0xe99e6d){return _0x58a37c+_0xe99e6d;},'kLfCC':function(_0x39f66c,_0x55bc47){return _0x39f66c+_0x55bc47;},'GJIAy':function(_0x111a9e,_0x365607,_0x52933d){return _0x111a9e(_0x365607,_0x52933d);},'XTtFW':_0x3e6483(0x17b),'vlRhd':_0x3e6483(0x27b),'uoyab':_0x3e6483(0x1e6),'gQLrG':_0x3e6483(0x267),'TNMTz':'RUNNING','jerCG':_0x3e6483(0x1fd),'LUpgG':function(_0x2f1839,_0x40fec1){return _0x2f1839===_0x40fec1;},'ByjFJ':function(_0x2b32ae){return _0x2b32ae();},'EyeaC':_0x3e6483(0x186),'nJoks':function(_0x19f044,_0x4c18de){return _0x19f044===_0x4c18de;},'VdPwN':_0x3e6483(0x185),'tSpES':_0x3e6483(0x245),'cRQOM':_0x3e6483(0x1da),'tvBQD':function(_0x3f2a8f,_0x28946a){return _0x3f2a8f+_0x28946a;},'sodNe':function(_0x8e8d93,_0x4aa9e2,_0x404a30){return _0x8e8d93(_0x4aa9e2,_0x404a30);},'vNqbx':_0x3e6483(0x224),'rTehg':function(_0xecda87,_0x56c514,_0x41a870){return _0xecda87(_0x56c514,_0x41a870);},'gQEqp':_0x3e6483(0x26e),'HrdMt':_0x3e6483(0x200),'RIdXm':function(_0x9dfdb1,_0x10ec52){return _0x9dfdb1+_0x10ec52;},'sNkcu':function(_0x5226cb,_0x2c9daf){return _0x5226cb+_0x2c9daf;},'lvMDF':function(_0x236b66,_0x5d250d,_0x4a13a0){return _0x236b66(_0x5d250d,_0x4a13a0);},'EmoKb':_0x3e6483(0x1ea),'jsCSi':function(_0x5a4150,_0x4a2ab2,_0xc6f688){return _0x5a4150(_0x4a2ab2,_0xc6f688);},'aSEdY':_0x3e6483(0x178),'JVaXj':_0x3e6483(0x1c1),'ONkxG':function(_0x2c464,_0x1b896e){return _0x2c464+_0x1b896e;},'KUaRs':function(_0x4f1c88,_0x58bb73,_0xf42ab6){return _0x4f1c88(_0x58bb73,_0xf42ab6);},'vIqXe':_0x3e6483(0x170),'yBgik':function(_0x2fe8ed,_0x1f4af2,_0x5a93ca){return _0x2fe8ed(_0x1f4af2,_0x5a93ca);},'qUIok':_0x3e6483(0x183),'qnCTB':_0x3e6483(0x17d),'bnCKF':_0x3e6483(0x193),'QZQPh':function(_0x4bf82e,_0x6fd12){return _0x4bf82e===_0x6fd12;},'auoAn':function(_0x26ff0f,_0x4077fa){return _0x26ff0f===_0x4077fa;},'QwKiz':'2|4|3|0|1','TQvWg':function(_0x14df7b,_0x7d4ce8){return _0x14df7b===_0x7d4ce8;},'owHUq':_0x3e6483(0x1bc),'NhvCq':function(_0x8408e0){return _0x8408e0();},'gFRll':'TestRunSkipped','kIspn':function(_0x454cba,_0x258591){return _0x454cba(_0x258591);},'AVQyL':function(_0x5d4cf6,_0x30ae1a){return _0x5d4cf6(_0x30ae1a);},'fPBcj':function(_0x46c16a,_0x5e90fd){return _0x46c16a===_0x5e90fd;},'GcFDv':function(_0x2ee044){return _0x2ee044();},'NHwWc':function(_0x2f9a73,_0x38e0ed){return _0x2f9a73===_0x38e0ed;},'vAqXa':'xunit','QRGPm':function(_0xef5a22,_0x530c80){return _0xef5a22!==_0x530c80;}};this[_0x3e6483(0x181)]=_0x54e3ee['reporterOption'][_0x3e6483(0x181)],this['testObservability']=_0x2f5482['GcFDv'](isTestObservabilitySession),Base['call'](this,_0xddf7ff,_0x54e3ee),this['_indents']=0x0,this[_0x3e6483(0x24d)]=0x0,this[_0x3e6483(0x27c)]=[],this[_0x3e6483(0x1f1)]=[],this[_0x3e6483(0x235)]=0x0,this[_0x3e6483(0x210)]=![],this[_0x3e6483(0x276)]=[],this['_testEnv']=_0x2f5482[_0x3e6483(0x1f8)](getTestEnv),this[_0x3e6483(0x23d)]=new PathHelper({'cwd':process['cwd']()},this[_0x3e6483(0x23f)][_0x3e6483(0x26a)]),this[_0x3e6483(0x1b0)]=_0x54e3ee[_0x3e6483(0x275)][_0x3e6483(0x177)],this[_0x3e6483(0x208)]();_0x2f5482[_0x3e6483(0x204)](this[_0x3e6483(0x181)],_0x2f5482[_0x3e6483(0x242)])&&(this[_0x3e6483(0x20a)]='',this['__indents']=0x2);_0xddf7ff[_0x3e6483(0x274)](EVENT_RUN_BEGIN,async()=>{const _0x22caa6=_0x3e6483;_0x2f5482[_0x22caa6(0x209)](this[_0x22caa6(0x181)],_0x2f5482[_0x22caa6(0x26d)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0xa04da8=>{const _0x41914e=_0x3e6483;if(_0xa04da8[_0x41914e(0x19f)])return;if(_0x2f5482['nYhWP'](this['type'],_0x2f5482['cGFEA']))this[_0x41914e(0x167)](),Base[_0x41914e(0x189)](_0x2f5482[_0x41914e(0x23e)](_0x2f5482[_0x41914e(0x252)](this[_0x41914e(0x188)](),_0x2f5482[_0x41914e(0x22e)](color,_0x2f5482[_0x41914e(0x175)],_0x2f5482[_0x41914e(0x231)])),_0x2f5482['GJIAy'](color,_0x2f5482['uoyab'],_0x2f5482[_0x41914e(0x22b)])),_0x2f5482[_0x41914e(0x1fa)],_0xa04da8[_0x41914e(0x1f6)],global['__platform__']);else _0x2f5482[_0x41914e(0x1b7)](this[_0x41914e(0x181)],_0x2f5482[_0x41914e(0x242)])&&(this[_0x41914e(0x1d3)](this['indent']()+'<section\x20class=\x22suite\x22>'),++this[_0x41914e(0x27d)],this[_0x41914e(0x1d3)](this[_0x41914e(0x188)]()+_0x41914e(0x26c)+utils[_0x41914e(0x1bd)](_0xa04da8[_0x41914e(0x1f6)]+_0x41914e(0x1df)+global['__platform__'])+_0x41914e(0x1b1)),this[_0x41914e(0x1d3)](this[_0x41914e(0x188)]()+_0x41914e(0x1e5)));})['on'](EVENT_HOOK_BEGIN,async _0x6e8390=>{const _0x23d405=_0x3e6483;if(_0x2f5482['LUpgG'](testhubUtils[_0x23d405(0x258)](testHubConstants[_0x23d405(0x19c)][_0x23d405(0x1bb)]),!![])){if(!_0x6e8390[_0x23d405(0x215)])_0x6e8390[_0x23d405(0x215)]=_0x2f5482[_0x23d405(0x196)](uuidv4);else _0x6e8390[_0x23d405(0x217)]&&(_0x6e8390[_0x23d405(0x215)]=_0x2f5482[_0x23d405(0x196)](uuidv4),delete _0x6e8390[_0x23d405(0x217)]);_0x6e8390['started_at']=new Date()[_0x23d405(0x1be)](),this[_0x23d405(0x1a4)]=_0x6e8390,await this['sendTestRunEvent'](_0x6e8390,undefined,![],_0x2f5482[_0x23d405(0x236)]);}})['on'](EVENT_HOOK_END,async _0x2d0378=>{const _0x1b425b=_0x3e6483;_0x2f5482[_0x1b425b(0x1cf)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT']['HookFinished']),!![])&&(!_0x2d0378[_0x1b425b(0x217)]&&(_0x2d0378[_0x1b425b(0x217)]=!![],await this[_0x1b425b(0x229)](_0x2d0378,undefined,![],_0x2f5482[_0x1b425b(0x18f)])));})['on'](EVENT_SUITE_END,_0x5eb9c4=>{const _0x7681d6=_0x3e6483;if(_0x5eb9c4[_0x7681d6(0x19f)])return;if(_0x2f5482[_0x7681d6(0x1fb)](this[_0x7681d6(0x181)],_0x2f5482[_0x7681d6(0x26d)]))Base[_0x7681d6(0x189)](),Base[_0x7681d6(0x189)](_0x2f5482['tvBQD'](_0x2f5482[_0x7681d6(0x262)](this[_0x7681d6(0x188)](),_0x2f5482[_0x7681d6(0x25f)](color,_0x2f5482['vIqXe'],_0x2f5482['vlRhd'])),_0x2f5482[_0x7681d6(0x1c6)](color,_0x2f5482['uoyab'],_0x2f5482[_0x7681d6(0x22b)])),_0x2f5482['qUIok'],_0x5eb9c4[_0x7681d6(0x1f6)],global[_0x7681d6(0x187)]),this[_0x7681d6(0x27c)][_0x7681d6(0x256)](_0x1b8c80=>{const _0x59d7da=_0x7681d6;if(_0x2f5482['pkgRE'](_0x1b8c80[_0x59d7da(0x24f)],_0x2f5482[_0x59d7da(0x197)])){var _0x1e2dba;_0x2f5482[_0x59d7da(0x1b7)](_0x1b8c80[_0x59d7da(0x1a7)],_0x2f5482['cRQOM'])?(_0x1e2dba=_0x2f5482[_0x59d7da(0x23e)](_0x2f5482[_0x59d7da(0x23c)](this[_0x59d7da(0x188)](),_0x2f5482['sodNe'](color,_0x2f5482[_0x59d7da(0x22a)],_0x2f5482[_0x59d7da(0x252)]('\x20\x20',Base[_0x59d7da(0x16c)]['ok']))),_0x2f5482[_0x59d7da(0x173)](color,_0x2f5482[_0x59d7da(0x1e2)],_0x2f5482[_0x59d7da(0x17a)])),Base[_0x59d7da(0x189)](_0x1e2dba,_0x1b8c80[_0x59d7da(0x1f6)])):(_0x1e2dba=_0x2f5482['tvBQD'](_0x2f5482[_0x59d7da(0x190)](_0x2f5482[_0x59d7da(0x279)](this[_0x59d7da(0x188)](),_0x2f5482[_0x59d7da(0x22e)](color,_0x2f5482[_0x59d7da(0x22a)],_0x2f5482[_0x59d7da(0x23c)]('\x20\x20',Base[_0x59d7da(0x16c)]['ok']))),_0x2f5482[_0x59d7da(0x1d6)](color,_0x2f5482[_0x59d7da(0x1e2)],_0x2f5482[_0x59d7da(0x17a)])),_0x2f5482['rTehg'](color,_0x1b8c80[_0x59d7da(0x1a7)],_0x2f5482[_0x59d7da(0x1a5)])),Base['consoleLog'](_0x1e2dba,_0x1b8c80[_0x59d7da(0x1f6)],_0x1b8c80[_0x59d7da(0x21e)]));}else Base[_0x59d7da(0x189)](_0x2f5482[_0x59d7da(0x23c)](this[_0x59d7da(0x188)](),_0x2f5482[_0x59d7da(0x1f7)](color,_0x2f5482[_0x59d7da(0x166)],_0x2f5482[_0x59d7da(0x182)])),++this[_0x59d7da(0x24d)],_0x1b8c80['title']);}),this[_0x7681d6(0x1b5)]();else _0x2f5482[_0x7681d6(0x1cf)](this['type'],_0x2f5482[_0x7681d6(0x242)])&&(this[_0x7681d6(0x1d3)](this[_0x7681d6(0x188)]()+'</dl>'),--this['__indents'],this[_0x7681d6(0x1d3)](this[_0x7681d6(0x188)]()+_0x7681d6(0x21d)),--this['__indents']);Array[_0x7681d6(0x1a6)][_0x7681d6(0x1c4)]['apply'](this[_0x7681d6(0x1f1)],this['results']),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x41d1ed=>{const _0x377a4b=_0x3e6483;this[_0x377a4b(0x27c)]['push']({'speed':_0x41d1ed[_0x377a4b(0x1a7)],'suite':_0x41d1ed[_0x377a4b(0x25b)][_0x377a4b(0x1f6)],'title':_0x41d1ed['title'],'fullTitle':_0x41d1ed[_0x377a4b(0x207)](),'duration':_0x41d1ed[_0x377a4b(0x21e)],'state':_0x41d1ed[_0x377a4b(0x24f)],'err':{},'currentRetry':_0x41d1ed['currentRetry'](),'titlePathV':_0x41d1ed[_0x377a4b(0x1a3)](),'isPending':_0x41d1ed[_0x377a4b(0x248)]()});if(_0x2f5482[_0x377a4b(0x1fb)](this[_0x377a4b(0x181)],_0x2f5482[_0x377a4b(0x16e)]))_0x2f5482[_0x377a4b(0x1b7)](_0x41d1ed['speed'],_0x2f5482[_0x377a4b(0x1af)])?process[_0x377a4b(0x1c9)][_0x377a4b(0x1d1)](Base[_0x377a4b(0x174)](_0x2f5482[_0x377a4b(0x1f3)],Base['symbols']['dot'])):process[_0x377a4b(0x1c9)][_0x377a4b(0x1d1)](Base[_0x377a4b(0x174)](_0x41d1ed[_0x377a4b(0x1a7)],Base[_0x377a4b(0x16c)][_0x377a4b(0x17d)]));else{if(_0x2f5482[_0x377a4b(0x1fb)](this['type'],_0x2f5482[_0x377a4b(0x242)])){this['docAppend'](this['indent']()+_0x377a4b(0x203)+utils[_0x377a4b(0x1bd)](_0x41d1ed['title'])+'</dt>'),this[_0x377a4b(0x1d3)](this[_0x377a4b(0x188)]()+_0x377a4b(0x203)+utils[_0x377a4b(0x1bd)](_0x41d1ed['file'])+_0x377a4b(0x169));var _0x196165=utils[_0x377a4b(0x1bd)](utils['clean'](_0x41d1ed[_0x377a4b(0x1f9)]));this['docAppend'](this[_0x377a4b(0x188)]()+_0x377a4b(0x228)+_0x196165+'</code></pre></dd>');}}_0x2f5482['nJoks'](testhubUtils[_0x377a4b(0x258)](),!![])&&(!_0x41d1ed['markedStatus']&&(_0x41d1ed[_0x377a4b(0x217)]=!![],await this[_0x377a4b(0x229)](_0x41d1ed)));})['on'](EVENT_TEST_FAIL,async(_0x408307,_0x248b46)=>{const _0xc0b023=_0x3e6483;this[_0xc0b023(0x27c)]['push']({'title':_0x408307[_0xc0b023(0x1f6)],'suite':_0x408307[_0xc0b023(0x25b)][_0xc0b023(0x1f6)],'state':_0x408307['state'],'err':{'message':util[_0xc0b023(0x1eb)](_0x248b46)},'fullTitle':_0x408307['fullTitle'](),'speed':_0x408307[_0xc0b023(0x1a7)],'currentRetry':_0x408307[_0xc0b023(0x1e4)](),'titlePathV':_0x408307[_0xc0b023(0x1a3)]()});if(_0x2f5482['QZQPh'](this[_0xc0b023(0x181)],_0x2f5482[_0xc0b023(0x16e)]))process[_0xc0b023(0x1c9)][_0xc0b023(0x1d1)](Base[_0xc0b023(0x174)](_0x2f5482[_0xc0b023(0x166)],Base[_0xc0b023(0x16c)][_0xc0b023(0x241)]));else{if(_0x2f5482[_0xc0b023(0x202)](this['type'],_0x2f5482['jerCG'])){const _0x4c3f7d=_0x2f5482['QwKiz'][_0xc0b023(0x21f)]('|');let _0x43c33a=0x0;while(!![]){switch(_0x4c3f7d[_0x43c33a++]){case'0':this[_0xc0b023(0x1d3)](this[_0xc0b023(0x188)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x330293+_0xc0b023(0x23b));continue;case'1':this[_0xc0b023(0x1d3)](this[_0xc0b023(0x188)]()+_0xc0b023(0x17f)+utils[_0xc0b023(0x1bd)](_0x408307[_0xc0b023(0x1c5)])+_0xc0b023(0x1b6));continue;case'2':this[_0xc0b023(0x1d3)](this[_0xc0b023(0x188)]()+_0xc0b023(0x1e8)+utils['escape'](_0x408307[_0xc0b023(0x1f6)])+_0xc0b023(0x169));continue;case'3':var _0x330293=utils[_0xc0b023(0x1bd)](utils[_0xc0b023(0x1cd)](_0x408307[_0xc0b023(0x1f9)]));continue;case'4':this[_0xc0b023(0x1d3)](this[_0xc0b023(0x188)]()+_0xc0b023(0x1e8)+utils[_0xc0b023(0x1bd)](_0x408307[_0xc0b023(0x22d)])+'</dt>');continue;}break;}}}if(_0x2f5482[_0xc0b023(0x202)](testhubUtils[_0xc0b023(0x258)](testHubConstants[_0xc0b023(0x19c)]['HookFinished']),!![])){if(!_0x408307[_0xc0b023(0x217)]){_0x408307[_0xc0b023(0x217)]=!![];if(_0x408307[_0xc0b023(0x24b)])await this[_0xc0b023(0x229)](_0x408307,_0x248b46);else _0x408307[_0xc0b023(0x215)]&&await this[_0xc0b023(0x229)](_0x408307,_0x248b46,![],_0x2f5482[_0xc0b023(0x18f)]);}}})['on'](EVENT_TEST_PENDING,async _0xa89c83=>{const _0x9bbfed=_0x3e6483;this[_0x9bbfed(0x27c)][_0x9bbfed(0x1c4)]({'title':_0xa89c83['title'],'suite':_0xa89c83[_0x9bbfed(0x25b)][_0x9bbfed(0x1f6)],'state':_0xa89c83[_0x9bbfed(0x24f)],'err':{},'fullTitle':_0xa89c83['fullTitle'](),'speed':_0xa89c83[_0x9bbfed(0x1a7)],'currentRetry':_0xa89c83[_0x9bbfed(0x1e4)](),'titlePathV':_0xa89c83[_0x9bbfed(0x1a3)]()}),_0x2f5482['TQvWg'](this[_0x9bbfed(0x181)],_0x2f5482['qnCTB'])&&process[_0x9bbfed(0x1c9)][_0x9bbfed(0x1d1)](Base[_0x9bbfed(0x174)](_0x2f5482[_0x9bbfed(0x18b)],Base[_0x9bbfed(0x16c)][_0x9bbfed(0x1c2)])),_0x2f5482['nJoks'](testhubUtils[_0x9bbfed(0x258)](),!![])&&(!_0xa89c83[_0x9bbfed(0x24b)]&&(_0xa89c83[_0x9bbfed(0x24b)]=_0x2f5482[_0x9bbfed(0x1f8)](uuidv4)),!_0xa89c83[_0x9bbfed(0x217)]&&(_0xa89c83[_0x9bbfed(0x217)]=!![],await this[_0x9bbfed(0x229)](_0xa89c83,undefined,![],_0x2f5482['gFRll'])));})['on'](EVENT_TEST_BEGIN,async _0x5a821d=>{const _0x527853=_0x3e6483;_0x2f5482['pkgRE'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0x527853(0x272)](_0x5a821d);})['on'](EVENT_TEST_END,async _0x611ad3=>{const _0x3a9440=_0x3e6483;_0x2f5482[_0x3a9440(0x202)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x611ad3['markedStatus']&&(_0x611ad3[_0x3a9440(0x217)]=!![],await this['sendTestRunEvent'](_0x611ad3)));})[_0x3e6483(0x274)](EVENT_RUN_END,async()=>{const _0x5ca78f=_0x3e6483;try{if(_0x2f5482[_0x5ca78f(0x202)](testhubUtils[_0x5ca78f(0x258)](),!![])){const _0x57f971=_0x2f5482[_0x5ca78f(0x17c)](getHookSkippedTests,this[_0x5ca78f(0x171)][_0x5ca78f(0x198)]);for(const _0x2ce7c4 of _0x57f971){!_0x2ce7c4[_0x5ca78f(0x24b)]&&(_0x2ce7c4[_0x5ca78f(0x24b)]=_0x2f5482[_0x5ca78f(0x1f8)](uuidv4)),await this[_0x5ca78f(0x229)](_0x2ce7c4,undefined,![],_0x2f5482[_0x5ca78f(0x199)]);}}}catch(_0x5a072d){_0x2f5482['AVQyL'](debug,_0x5ca78f(0x1a0)+_0x5a072d);}await requestQueueHandler['shutdown'](),_0x2f5482['fPBcj'](this[_0x5ca78f(0x181)],_0x2f5482[_0x5ca78f(0x242)])&&Base['consoleLog'](this['docHtml']);});if(this[_0x3e6483(0x181)]&&![_0x2f5482[_0x3e6483(0x242)],_0x2f5482[_0x3e6483(0x19a)],_0x2f5482[_0x3e6483(0x26d)],_0x2f5482['qnCTB']][_0x3e6483(0x1e0)](this['type'])){const _0x2f3c37=this[_0x3e6483(0x181)]['trim']();this[_0x3e6483(0x1ba)]=null;try{this[_0x3e6483(0x1ba)]=_0x2f5482[_0x3e6483(0x17c)](requireModule,'mocha/lib/reporters/'+_0x2f3c37+'.js');}catch{}if(_0x2f5482[_0x3e6483(0x1b7)](this[_0x3e6483(0x1ba)],null))try{this[_0x3e6483(0x1ba)]=_0x2f5482['AVQyL'](require,_0x2f3c37);}catch(_0xb95d62){console[_0x3e6483(0x1d9)](_0x3e6483(0x226)+_0x2f3c37);}if(_0x2f5482[_0x3e6483(0x24a)](this[_0x3e6483(0x1ba)],null)){const _0x1a5e65={};_0x1a5e65['reporterOptions']=_0x54e3ee[_0x3e6483(0x275)],this[_0x3e6483(0x1ba)]=new this[(_0x3e6483(0x1ba))](_0xddf7ff,_0x1a5e65);}}}[a27_0x118a5f(0x188)](){const _0x1b145d=a27_0x118a5f,_0x1e8890={'PbuMx':function(_0x4b564b,_0xeb91dc){return _0x4b564b(_0xeb91dc);}};return _0x1e8890[_0x1b145d(0x268)](Array,this[_0x1b145d(0x24e)])[_0x1b145d(0x1c8)]('\x20\x20');}[a27_0x118a5f(0x167)](){this['_indents']++;}[a27_0x118a5f(0x1b5)](){const _0x32a4ba=a27_0x118a5f;this[_0x32a4ba(0x24e)]--;}['docAppend'](_0x438462){this['docHtml']+=_0x438462;}[a27_0x118a5f(0x1dc)](_0x18402e,_0x9f825d){const _0x4e9b65=a27_0x118a5f,_0x43669f={'jKpKM':function(_0x251188,_0x4702bc){return _0x251188(_0x4702bc);}},_0x4d6af3={};_0x4d6af3[_0x4e9b65(0x1d7)]=_0x18402e,_0x4d6af3['results']=this['finalResults'],_0x43669f[_0x4e9b65(0x1d5)](_0x9f825d,_0x4d6af3);}[a27_0x118a5f(0x208)](){const _0x3e2b10=a27_0x118a5f;process[_0x3e2b10(0x22c)](_0x3e2b10(0x266)+process[_0x3e2b10(0x1b3)]),process['on'](_0x3e2b10(0x266)+process[_0x3e2b10(0x1b3)],this[_0x3e2b10(0x16f)][_0x3e2b10(0x164)](this)),process[_0x3e2b10(0x22c)](_0x3e2b10(0x17e)+process[_0x3e2b10(0x1b3)]),process['on']('bs:addPlatformDetails:'+process[_0x3e2b10(0x1b3)],this['appendTestPlatform']['bind'](this));}[a27_0x118a5f(0x272)]=async _0x4e9381=>{const _0x3d7ca8=a27_0x118a5f,_0x4bc4ad={'fLumZ':function(_0x18d8d1){return _0x18d8d1();},'cMaWd':function(_0x2cf825,_0x483ba4){return _0x2cf825>_0x483ba4;},'SGRVH':function(_0x2f646a,_0x38b660){return _0x2f646a===_0x38b660;},'qaTSN':_0x3d7ca8(0x251),'moJUh':function(_0x4c3fbe,_0x1ede9a){return _0x4c3fbe(_0x1ede9a);}};try{const _0x3b16b1=this[_0x3d7ca8(0x21c)];this['current_test']=_0x4e9381,_0x4e9381['retryOf']=null,_0x4e9381[_0x3d7ca8(0x24b)]=_0x4bc4ad['fLumZ'](uuidv4),_0x4e9381['started_at']=new Date()[_0x3d7ca8(0x1be)](),_0x4bc4ad[_0x3d7ca8(0x1d8)](_0x4e9381[_0x3d7ca8(0x1b9)],0x0)&&_0x3b16b1&&_0x4bc4ad[_0x3d7ca8(0x26b)](_0x3b16b1[_0x3d7ca8(0x1f6)],_0x4e9381[_0x3d7ca8(0x1f6)])?(_0x4e9381['retryOf']=_0x3b16b1[_0x3d7ca8(0x24b)],await this['sendTestRunEvent'](_0x4e9381,undefined,![],_0x4bc4ad[_0x3d7ca8(0x255)]),_0x3b16b1['state']=STATE_FAILED,await this[_0x3d7ca8(0x229)](_0x3b16b1,undefined,!![])):await this[_0x3d7ca8(0x229)](_0x4e9381,undefined,![],_0x4bc4ad['qaTSN']);}catch(_0x14e209){_0x4bc4ad[_0x3d7ca8(0x194)](debug,_0x3d7ca8(0x1e7)+_0x14e209);}};['sendTestRunEvent']=async(_0x571b95,_0x430553=undefined,_0x30cc5a=![],_0x2ebfff=a27_0x118a5f(0x27a))=>{const _0x54e3f6=a27_0x118a5f,_0x2f61f5={'hcXmM':function(_0x26c056,_0x5b8ec4){return _0x26c056===_0x5b8ec4;},'AUtSK':function(_0x1673cf,_0x371ee8){return _0x1673cf!==_0x371ee8;},'QqTSn':'test','CtXRs':'err','VzyvG':_0x54e3f6(0x1ac),'KOmXf':_0x54e3f6(0x265),'KSJjt':_0x54e3f6(0x172),'jMQAO':function(_0x5a12e7,_0x5091bf){return _0x5a12e7===_0x5091bf;},'IDUGF':_0x54e3f6(0x273),'WcvcD':_0x54e3f6(0x180),'hSnuj':function(_0x4998c1,_0x3dc7a3){return _0x4998c1-_0x3dc7a3;},'XNNux':'AssertionError','GelBy':'UnhandledError','tvqCP':function(_0x3e07e6,_0x1d7be7){return _0x3e07e6===_0x1d7be7;},'KQBvN':_0x54e3f6(0x1ae),'NcXAn':_0x54e3f6(0x27e),'heYMw':function(_0x3c707e,_0x3cdc58){return _0x3c707e(_0x3cdc58);},'uNBZV':function(_0x434ed7,_0x319d84){return _0x434ed7===_0x319d84;},'TZHdz':_0x54e3f6(0x185),'lqAVl':function(_0x3ed15a,_0x34ded7){return _0x3ed15a!==_0x34ded7;},'uEmPt':_0x54e3f6(0x206),'trfus':_0x54e3f6(0x245),'pEHBv':function(_0x2af89c,_0x2b102d){return _0x2af89c===_0x2b102d;},'UohkL':_0x54e3f6(0x261),'SzdnL':function(_0x3d667a,_0x47d9e0){return _0x3d667a(_0x47d9e0);},'LBjPT':_0x54e3f6(0x201),'EOnqM':'failure_backtrace','PvTPA':'backtrace','WPesH':'failure_reason_expanded','MLbyf':_0x54e3f6(0x21a),'nJUhw':_0x54e3f6(0x27a),'ePBdA':function(_0x3ca4cb,_0x4cc09d){return _0x3ca4cb===_0x4cc09d;},'ITmFr':_0x54e3f6(0x1b4),'UMdYq':_0x54e3f6(0x1c7),'lxeIP':_0x54e3f6(0x277),'btPhT':function(_0x2ef08b,_0x415013){return _0x2ef08b(_0x415013);}};try{if(_0x571b95[_0x54e3f6(0x1f9)]&&_0x571b95[_0x54e3f6(0x1f9)][_0x54e3f6(0x1ff)](/browserstack internal helper hook/))return;let _0x26dc6b=[];if(_0x2f61f5[_0x54e3f6(0x20b)](_0x571b95[_0x54e3f6(0x24f)],STATE_FAILED)){if(_0x2f61f5[_0x54e3f6(0x284)](_0x571b95[_0x54e3f6(0x1c5)],undefined))_0x26dc6b=_0x571b95[_0x54e3f6(0x1c5)][_0x54e3f6(0x1f0)]?[_0x571b95[_0x54e3f6(0x1c5)][_0x54e3f6(0x1f0)],_0x2f61f5['QqTSn']]:[_0x571b95[_0x54e3f6(0x1c5)],_0x2f61f5[_0x54e3f6(0x25e)]];else _0x2f61f5[_0x54e3f6(0x284)](_0x430553,undefined)?_0x26dc6b=[_0x430553,_0x2f61f5[_0x54e3f6(0x25e)]]:_0x26dc6b=[];}const _0x2753e0=_0x2f61f5[_0x54e3f6(0x284)](_0x571b95[_0x54e3f6(0x1c5)],undefined)?_0x571b95[_0x54e3f6(0x1c5)][_0x54e3f6(0x254)]():_0x2f61f5[_0x54e3f6(0x284)](_0x430553,undefined)?_0x430553[_0x54e3f6(0x254)]():undefined;let _0x3eae8e;try{_0x3eae8e=this['getRootParentFile'](_0x571b95);}catch(_0x7b7034){_0x3eae8e=null;}const _0x2e4d2f=_0x3eae8e?this['findGitConfig'](_0x3eae8e):null,_0x47ade7=_0x3eae8e?this['_paths'][_0x54e3f6(0x237)](this[_0x54e3f6(0x20c)](_0x571b95)):_0x2f61f5[_0x54e3f6(0x264)],_0x788066={'framework':_0x2f61f5[_0x54e3f6(0x212)],'uuid':_0x571b95[_0x54e3f6(0x24b)]||_0x571b95[_0x54e3f6(0x215)],'name':_0x571b95[_0x54e3f6(0x1f6)],'body':{'lang':_0x2f61f5[_0x54e3f6(0x233)],'code':_0x571b95['body']},'scope':this[_0x54e3f6(0x247)](_0x571b95),'scopes':this[_0x54e3f6(0x16a)](_0x571b95),'identifier':_0x571b95[_0x54e3f6(0x207)](),'file_name':_0x47ade7,'vc_filepath':_0x2e4d2f?path['relative'](_0x2e4d2f,_0x3eae8e):null,'location':_0x47ade7,'result':_0x2f61f5[_0x54e3f6(0x1ef)](_0x2ebfff,_0x2f61f5[_0x54e3f6(0x243)])?_0x2f61f5[_0x54e3f6(0x225)]:this['analyticsResult'](_0x571b95['state']),'failure_reason':_0x2753e0,'duration_in_ms':_0x571b95[_0x54e3f6(0x21e)]||(_0x2ebfff['match'](/Finished/)||_0x2ebfff[_0x54e3f6(0x1ff)](/Skipped/)?_0x2f61f5['hSnuj'](Date[_0x54e3f6(0x230)](),new Date(_0x571b95[_0x54e3f6(0x1ae)])[_0x54e3f6(0x1a1)]()):null),'started_at':_0x571b95[_0x54e3f6(0x1ae)],'finished_at':_0x2ebfff[_0x54e3f6(0x1ff)](/Finished/)||_0x2ebfff[_0x54e3f6(0x1ff)](/Skipped/)?new Date()[_0x54e3f6(0x1be)]():null,'failure':failureData['apply'](null,_0x26dc6b),'failure_type':!_0x2753e0?null:_0x2753e0[_0x54e3f6(0x1ff)](/AssertionError/)?_0x2f61f5[_0x54e3f6(0x1fc)]:_0x2f61f5[_0x54e3f6(0x1cb)],'retry_of':_0x571b95[_0x54e3f6(0x244)]};testhubUtils[_0x54e3f6(0x278)](_0x788066,_0x2ebfff,_0x571b95,FRAMEWORKS['MOCHA']);(_0x571b95[_0x54e3f6(0x227)]||_0x571b95[_0x54e3f6(0x280)])&¢ralScannerUtils['setCentralScannerData'](_0x788066,_0x571b95[_0x54e3f6(0x227)],_0x571b95['redirectUrl']);_0x2f61f5[_0x54e3f6(0x16b)](_0x2ebfff,_0x2f61f5[_0x54e3f6(0x243)])&&!_0x788066[_0x2f61f5['KQBvN']]&&(_0x788066[_0x2f61f5[_0x54e3f6(0x165)]]=_0x788066[_0x2f61f5['NcXAn']]);if(_0x2ebfff[_0x54e3f6(0x1ff)](/HookRun/))[_0x788066['hook_type'],_0x788066[_0x54e3f6(0x211)]]=_0x2f61f5['heYMw'](getHookDetails,_0x571b95[_0x54e3f6(0x207)]()||_0x571b95[_0x54e3f6(0x1ab)]||_0x571b95['title']),_0x2f61f5[_0x54e3f6(0x184)](_0x2ebfff,_0x2f61f5['TZHdz'])&&(_0x2f61f5[_0x54e3f6(0x1d4)](_0x788066[_0x54e3f6(0x1e3)],_0x2f61f5[_0x54e3f6(0x168)])&&(_0x788066[_0x54e3f6(0x1e3)]=_0x2f61f5[_0x54e3f6(0x259)]),_0x2f61f5[_0x54e3f6(0x240)](_0x788066['hook_type'],_0x2f61f5['UohkL'])&&_0x2f61f5[_0x54e3f6(0x16b)](_0x788066[_0x54e3f6(0x1e3)],_0x2f61f5[_0x54e3f6(0x168)])&&!_0x571b95[_0x54e3f6(0x213)][_0x54e3f6(0x1a2)]['markedStatus']&&(_0x571b95[_0x54e3f6(0x213)][_0x54e3f6(0x1a2)][_0x54e3f6(0x217)]=!![],_0x571b95[_0x54e3f6(0x213)][_0x54e3f6(0x1a2)]['state']=STATE_FAILED,await this[_0x54e3f6(0x229)](_0x571b95['ctx'][_0x54e3f6(0x1a2)],undefined,!![])));else _0x2ebfff[_0x54e3f6(0x1ff)](/TestRun/)&&_0x2f61f5['SzdnL'](mapTestHooks,_0x571b95);const _0x42efd8=_0x788066[_0x2f61f5[_0x54e3f6(0x270)]][0x0];_0x42efd8&&(_0x788066[_0x2f61f5['EOnqM']]=_0x42efd8[_0x2f61f5[_0x54e3f6(0x1f4)]],_0x788066[_0x2f61f5[_0x54e3f6(0x18a)]]=_0x42efd8[_0x2f61f5[_0x54e3f6(0x21b)]]);[_0x2f61f5['nJUhw'],_0x2f61f5[_0x54e3f6(0x243)]]['includes'](_0x2ebfff)&&(this[_0x54e3f6(0x276)]['push'](_0x788066),_0x788066[_0x54e3f6(0x1ed)]=_0x2f61f5[_0x54e3f6(0x1ad)](getHooksForTest,_0x571b95));const _0x29787a={'event_type':_0x2f61f5[_0x54e3f6(0x1f2)](_0x2ebfff,_0x2f61f5[_0x54e3f6(0x243)])?_0x2f61f5[_0x54e3f6(0x253)]:_0x2ebfff};_0x2ebfff[_0x54e3f6(0x1ff)](/HookRun/)?(_0x788066[_0x2f61f5[_0x54e3f6(0x246)]]=HOOK_TYPES_MAP[_0x788066[_0x2f61f5[_0x54e3f6(0x246)]]],_0x29787a[_0x2f61f5[_0x54e3f6(0x18d)]]=_0x788066):_0x29787a[_0x2f61f5[_0x54e3f6(0x238)]]=_0x788066,testhubUtils['setCurrentTestData'](FRAMEWORKS['MOCHA'],_0x29787a),await SessionHandler[_0x54e3f6(0x239)](_0x29787a);}catch(_0x2f7173){_0x2f61f5['btPhT'](debug,_0x54e3f6(0x26f)+_0x2ebfff+'\x20with\x20error\x20:\x20'+_0x2f7173);}};['findGitConfig'](_0x3cb4fb){const _0x2c2d9a=a27_0x118a5f,_0x2a8822={};_0x2a8822[_0x2c2d9a(0x1db)]=function(_0x4633de,_0xc84742){return _0x4633de===_0xc84742;},_0x2a8822[_0x2c2d9a(0x220)]=function(_0x5c5808,_0x4b1c89){return _0x5c5808===_0x4b1c89;},_0x2a8822[_0x2c2d9a(0x269)]='.git',_0x2a8822[_0x2c2d9a(0x283)]='config';const _0x2c13c3=_0x2a8822,_0x7c5b28=path[_0x2c2d9a(0x1ca)];if(_0x2c13c3[_0x2c2d9a(0x1db)](_0x3cb4fb,null)||_0x2c13c3[_0x2c2d9a(0x1db)](_0x3cb4fb,'')||_0x2c13c3[_0x2c2d9a(0x220)](_0x3cb4fb,_0x7c5b28)||_0x2c13c3[_0x2c2d9a(0x220)](_0x3cb4fb,path[_0x2c2d9a(0x234)](_0x3cb4fb)))return null;try{return fs[_0x2c2d9a(0x1b8)](path['join'](_0x3cb4fb,_0x2c13c3['eJvEV'],_0x2c13c3[_0x2c2d9a(0x283)])),_0x3cb4fb;}catch(_0x2bdf70){const _0x17400c=path[_0x2c2d9a(0x234)](_0x3cb4fb);return this[_0x2c2d9a(0x176)](_0x17400c);}}[a27_0x118a5f(0x16f)]=async _0x13740c=>{const _0x1fe83b=a27_0x118a5f,_0x132154={'Esfgi':_0x1fe83b(0x1ce),'WUoFs':function(_0x5865e4,_0x2ff38d){return _0x5865e4(_0x2ff38d);}};try{this[_0x1fe83b(0x1a4)]&&!this[_0x1fe83b(0x1a4)][_0x1fe83b(0x217)]&&(_0x13740c[_0x1fe83b(0x222)]=this[_0x1fe83b(0x1a4)][_0x1fe83b(0x215)]);!_0x13740c['hook_run_uuid']&&this[_0x1fe83b(0x21c)]&&!this[_0x1fe83b(0x21c)]['markedStatus']&&(_0x13740c['test_run_uuid']=this[_0x1fe83b(0x21c)][_0x1fe83b(0x24b)]);if(_0x13740c[_0x1fe83b(0x222)]||_0x13740c['test_run_uuid']){const _0x437a62={};_0x437a62['event_type']=_0x132154[_0x1fe83b(0x19b)],_0x437a62[_0x1fe83b(0x232)]=[_0x13740c],await SessionHandler[_0x1fe83b(0x239)](_0x437a62);}}catch(_0x51da8f){_0x132154[_0x1fe83b(0x18e)](debug,_0x1fe83b(0x1c0)+_0x51da8f);}};[a27_0x118a5f(0x1cc)]=async _0x25fc8c=>{const _0x10b9df=a27_0x118a5f,_0x5bab55={'EMIPt':_0x10b9df(0x1f5),'vzXqp':_0x10b9df(0x1d0),'CuwSt':function(_0x39db03,_0x45355a){return _0x39db03(_0x45355a);}};try{const _0x311465={};_0x311465[_0x10b9df(0x23a)]=_0x25fc8c[_0x10b9df(0x23a)]||this['current_test'][_0x10b9df(0x24b)],_0x311465['integrations']=_0x25fc8c[_0x5bab55[_0x10b9df(0x282)]];const _0x1c3f06=_0x311465,_0xaedb11={};_0xaedb11[_0x10b9df(0x205)]=_0x5bab55[_0x10b9df(0x218)],_0xaedb11[_0x10b9df(0x277)]=_0x1c3f06,await SessionHandler['uploadEventData'](_0xaedb11);}catch(_0x10c0c1){_0x5bab55['CuwSt'](debug,_0x10b9df(0x18c)+_0x10c0c1);}};[a27_0x118a5f(0x1aa)](_0x21eb1a){const _0x4a7668=a27_0x118a5f,_0x1a3611={};_0x1a3611['koVXx']='passed',_0x1a3611['VjgIH']=_0x4a7668(0x1bc),_0x1a3611['UMBmP']=_0x4a7668(0x206);const _0x3c5e83=_0x1a3611,_0x30d310={};return _0x30d310[STATE_PASSED]=_0x3c5e83[_0x4a7668(0x1a9)],_0x30d310[STATE_PENDING]=_0x3c5e83[_0x4a7668(0x1de)],_0x30d310[STATE_FAILED]=_0x3c5e83[_0x4a7668(0x263)],_0x30d310[_0x21eb1a];}[a27_0x118a5f(0x247)](_0x37fdd4){const _0x31ed9d=a27_0x118a5f,_0x1a2b45={};_0x1a2b45[_0x31ed9d(0x1fe)]=function(_0x15bf06,_0x161eb4){return _0x15bf06-_0x161eb4;};const _0x1e6be4=_0x1a2b45,_0x556e5b=_0x37fdd4[_0x31ed9d(0x1a3)]();return _0x556e5b[_0x31ed9d(0x221)](0x0,_0x1e6be4['UhHcu'](_0x556e5b['length'],0x1))['join']('\x20');}[a27_0x118a5f(0x16a)](_0x158abd){const _0x5bc867=a27_0x118a5f,_0x9b610b={};_0x9b610b[_0x5bc867(0x19d)]=function(_0x1512ff,_0x1f36fc){return _0x1512ff-_0x1f36fc;};const _0x63091c=_0x9b610b,_0x3f35e7=_0x158abd[_0x5bc867(0x1a3)]();return _0x3f35e7['slice'](0x0,_0x63091c['QfBYG'](_0x3f35e7['length'],0x1));}[a27_0x118a5f(0x20c)](_0x2909fb){const _0x14fcf8=a27_0x118a5f,_0x16d62f={};_0x16d62f[_0x14fcf8(0x223)]=function(_0x1f7bba,_0x200478){return _0x1f7bba>_0x200478;};const _0x3d0b67=_0x16d62f;if(_0x2909fb[_0x14fcf8(0x22d)])return _0x2909fb['file'];if(_0x2909fb[_0x14fcf8(0x213)]){const _0x159653=_0x2909fb[_0x14fcf8(0x213)][_0x14fcf8(0x1a2)]?this[_0x14fcf8(0x20c)](_0x2909fb[_0x14fcf8(0x213)][_0x14fcf8(0x1a2)]):null;if(_0x159653)return _0x159653;}if(_0x2909fb['parent']){const _0x2f3a68=this[_0x14fcf8(0x20c)](_0x2909fb['parent'])||(_0x2909fb[_0x14fcf8(0x25b)]['ctx']&&_0x2909fb[_0x14fcf8(0x25b)][_0x14fcf8(0x213)]['currentTest']?this['getRootParentFile'](_0x2909fb[_0x14fcf8(0x25b)][_0x14fcf8(0x213)][_0x14fcf8(0x1a2)]):null);if(_0x2f3a68)return _0x2f3a68;_0x2909fb[_0x14fcf8(0x25b)]['suites']&&_0x3d0b67[_0x14fcf8(0x223)](_0x2909fb[_0x14fcf8(0x25b)][_0x14fcf8(0x24c)][_0x14fcf8(0x249)],0x0)&&_0x2909fb[_0x14fcf8(0x25b)][_0x14fcf8(0x24c)][_0x14fcf8(0x256)](_0x524a58=>{const _0x3e5de3=_0x14fcf8,_0xecdebe=_0x524a58[_0x3e5de3(0x213)]?this[_0x3e5de3(0x20c)](_0x524a58['ctx']):null;if(_0xecdebe)return _0xecdebe;});}return null;}}module[a27_0x118a5f(0x257)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x4ce31d=a28_0xdf6e;function a28_0xdf6e(_0x3abbb1,_0x275d21){const _0x1805af=a28_0x1805();return a28_0xdf6e=function(_0xdf6eb8,_0x109bcf){_0xdf6eb8=_0xdf6eb8-0xf5;let _0x147720=_0x1805af[_0xdf6eb8];return _0x147720;},a28_0xdf6e(_0x3abbb1,_0x275d21);}(function(_0x1fb206,_0x373d32){const _0x24650f=a28_0xdf6e,_0x4697c1=_0x1fb206();while(!![]){try{const _0x2ec9b8=parseInt(_0x24650f(0x1c8))/0x1+-parseInt(_0x24650f(0xf7))/0x2+-parseInt(_0x24650f(0x103))/0x3*(-parseInt(_0x24650f(0x19e))/0x4)+parseInt(_0x24650f(0x160))/0x5*(-parseInt(_0x24650f(0x126))/0x6)+-parseInt(_0x24650f(0x119))/0x7*(-parseInt(_0x24650f(0x178))/0x8)+-parseInt(_0x24650f(0x111))/0x9*(-parseInt(_0x24650f(0x1b5))/0xa)+-parseInt(_0x24650f(0x16d))/0xb*(parseInt(_0x24650f(0x1bd))/0xc);if(_0x2ec9b8===_0x373d32)break;else _0x4697c1['push'](_0x4697c1['shift']());}catch(_0x4bc674){_0x4697c1['push'](_0x4697c1['shift']());}}}(a28_0x1805,0x427ff));const chalk=require(a28_0x4ce31d(0x18e)),logger=require(a28_0x4ce31d(0x177))[a28_0x4ce31d(0x190)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a28_0x4ce31d(0x16b)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x4ce31d(0x120)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x4ce31d(0x18b)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x4ce31d(0x181)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x4ce31d(0x1d6)),centralScannerConstants=require(a28_0x4ce31d(0x122));function tag(_0x52f66d,_0x5a728d,_0x5a5465,_0x1f3982){const _0x5653f9=a28_0x4ce31d,_0x3ba262={'CFkyz':function(_0x47b1b3,_0x527a63){return _0x47b1b3+_0x527a63;},'kSHCc':function(_0x47c4d5,_0x5241f8){return _0x47c4d5+_0x5241f8;},'WFIoV':function(_0x986b2e,_0x2d1d13){return _0x986b2e(_0x2d1d13);},'UjWsp':function(_0x56c334,_0x3517bf){return _0x56c334+_0x3517bf;},'PqlKN':function(_0x155d57,_0xab3c71){return _0x155d57+_0xab3c71;},'iTwId':function(_0x32bfa6,_0x4e665c){return _0x32bfa6+_0x4e665c;},'hZmNz':function(_0x56b301,_0x207ff2){return _0x56b301+_0x207ff2;}},_0x5f2cfb=_0x5a5465?'/>':'>',_0x302f33=[];let _0x24c272;for(const _0x37232f in _0x5a728d){Object['prototype'][_0x5653f9(0x1f1)][_0x5653f9(0x14d)](_0x5a728d,_0x37232f)&&_0x302f33['push'](_0x3ba262[_0x5653f9(0x109)](_0x3ba262['CFkyz'](_0x3ba262[_0x5653f9(0x1c2)](_0x37232f,'=\x22'),_0x3ba262[_0x5653f9(0x10c)](escape,_0x5a728d[_0x37232f])),'\x22'));}return _0x24c272=_0x3ba262[_0x5653f9(0x194)](_0x3ba262[_0x5653f9(0x186)](_0x3ba262[_0x5653f9(0x186)]('<',_0x52f66d),_0x302f33[_0x5653f9(0x158)]?_0x3ba262[_0x5653f9(0x186)]('\x20',_0x302f33[_0x5653f9(0x1f6)]('\x20')):''),_0x5f2cfb),_0x1f3982&&(_0x24c272+=_0x3ba262[_0x5653f9(0x129)](_0x3ba262[_0x5653f9(0x109)](_0x3ba262[_0x5653f9(0x148)](_0x1f3982,'</'),_0x52f66d),_0x5f2cfb)),_0x24c272;}let xunitContent='';function xunitWrite(_0x4ebb07){xunitContent+=_0x4ebb07;}function a28_0x1805(){const _0xb0d31c=['parse','yellow','pending','doc','logLevel','Tests:\x20\x20\x20\x20\x20\x20\x20','framework','LPKgT','exports','message','indexOf','eAGYZ','bgRedBright','JbPXA','uCand','Lvypf','Now,\x20showing\x20logs\x20from\x20mocha','Pedbh','min','get','10fzeBUQ','HBsCh','validPlatformsPresent','Apcvg','mktLD','writeFileSync','--disable-test-observability','rLgJi','936uLEdXT','reporter','yDwQJ','failure','ilcvN','kSHCc','eAXAB','suiteName','env','failed','testSuites','176464jrRVqK','duration','push','platforms','KsSZY','cjs','setupTCGAuth','Writing\x20xunit\x20result\x20to\x20file','SOiKg','expected','qCnZh','assign','initialize','\x20failed','../utils/constants','blbgn','then','platform','testsuite','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','error','Listing\x20all\x20the\x20failures','showDiff','ZwpXm','PfdnK','files','SDKTestSuccessful','printBuildLink','finally','\x20platforms','RwjSi','suite','cpJkb','noeUI','UsNYz','BROWSERSTACK_GRR_US_HUB_URL','axAAB','ozHQi','gtQBQ','titlePath','forEach','hasOwnProperty','RGyLD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','AAFfq','fhoSS','join','BROWSERSTACK_TEST_OBSERVABILITY_YML','****\x20FAILURES\x20****','ZnDNC','988054fcyebK','SVOfN','extension','dZGur','rerunTests','mjs','SxHOb','kJdvk','NmFYW','file','BROWSERSTACK_CENTRAL_USER','ZgpAV','6WRMoxE','log','output','GcUCF','currentRetry','cliConfig','CFkyz','sWfJF','MUpJE','WFIoV','totalTests','getUserWorkerCount','hideDiff','has','1681083rGQcOk','spec','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ybgWh','titlePathV','error\x20removing\x20tcg\x20config\x20file','actual','test','3228757JOZoeq','Wonef','aruyU','KQzCT','errorMessage','AYwOf','ctLUB','../../helpers/test-observability/utils','--disable-browserstack-automation','../../helpers/central-scanner/constants','rootHooks','miGdz','accessibilityOptions','438RtfcqZ','jreWL','passes','iTwId','info','exitCode','dsSfZ','shouldReRunObservabilityTests','lEcRw','useW3C','state','FSpbT','lYcsY','rmdirSync','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','debug','passed','lkkOE','sort','XFiEN','XJqZl','DSwTD','</testsuite>','results','config','ihReE','object','isTestObservabilitySession','reporterOptions','speed','glfaz','BROWSERSTACK_TEST_OBSERVABILITY','mnrqj','BROWSERSTACK_RERUN_TESTS','hZmNz','Couldn\x27t\x20write\x20xunit\x20result\x20to','stringify','testsPassed','SShgp','call','MQkIc','Running\x20your\x20mocha\x20tests','proxySettings','parallelsPerPlatform','skipped','consoleLog','CmVxE','VJjzx','BGgQa','includes','length','err','add','Running\x20your\x20mocha\x20tests\x20across\x20','json','title','map','GxyKU','12140QWfOKQ','red','isBrowserstackInfra','getHubUrl','jmEQH','size','testsFailed','bQGyK','testsPending','YEWoW','accessibility','../../helpers/helper','notifyUpdate','5390QeKyiw','ouAfw','reporter-option','xfBas','gNKVg','\x0a\x0a\x0a','ignore','fullTitle','OLEFk','fireFunnelTestEvent','../../helpers/logger','8GLmdzj','green','\x20total','getOwnPropertyNames','Couldn\x27t\x20write\x20json\x20result\x20to','XjClj','prepareCapabilities','aLPSG','markSDKSetupComplete','../../helpers/percy/utils','Total\x20Suites:\x20','bold','Setting\x20non\x20exit\x20code\x20for\x20failures','pvXLf','PqlKN','bgBlueBright','toUTCString','finalExecution','failures','../test-runner','HnuxB','xnKNX','chalk','ZOere','winstonLogger','FYGBY','YmsaN','recursive','UjWsp','testcase','\x20passed','PccSW','stats','iiNLe','opwJk','isUndefined','sEMOb','jyIVA','314744fQDwyw','EIEus','FRAMEWORKS'];a28_0x1805=function(){return _0xb0d31c;};return a28_0x1805();}function xunitTest(_0x261b7a,_0x427a12){const _0x2c3a6c=a28_0x4ce31d,_0x346335={'kPFEJ':function(_0x29635d,_0x2fd831){return _0x29635d/_0x2fd831;},'eAXAB':function(_0x5142fd,_0x1dfb82){return _0x5142fd===_0x1dfb82;},'GcUCF':_0x2c3a6c(0x1c6),'sEMOb':function(_0x5bdbc9,_0x9fe34b){return _0x5bdbc9+_0x9fe34b;},'VWJwR':function(_0x52db5e,_0x21f26c){return _0x52db5e(_0x21f26c);},'dZGur':function(_0x479986,_0x59aff8,_0x10019c,_0xbca2e5,_0x4ed18a){return _0x479986(_0x59aff8,_0x10019c,_0xbca2e5,_0x4ed18a);},'UsNYz':_0x2c3a6c(0x195),'kJdvk':function(_0x18dc9b,_0x592136,_0x2afc81,_0x1aeb8d,_0xf42fa1){return _0x18dc9b(_0x592136,_0x2afc81,_0x1aeb8d,_0xf42fa1);},'YmsaN':_0x2c3a6c(0x1c0),'UTnRj':function(_0x606fb6,_0x471f6c){return _0x606fb6+_0x471f6c;},'lEcRw':function(_0x51ff3a,_0x3dd72f){return _0x51ff3a(_0x3dd72f);},'LZzHz':function(_0x27da44,_0x34be33){return _0x27da44(_0x34be33);},'HnuxB':function(_0x410b8b,_0x5c2b3b){return _0x410b8b(_0x5c2b3b);},'AAFfq':function(_0x2d03c9,_0x5312aa,_0x1a6652,_0x378714){return _0x2d03c9(_0x5312aa,_0x1a6652,_0x378714);},'EIEus':_0x2c3a6c(0x152),'yDwQJ':function(_0x660e87,_0x2cf07b){return _0x660e87(_0x2cf07b);}};Base['useColors']=![];var _0x25d470={'classname':_0x261b7a[_0x2c3a6c(0x174)],'name':_0x261b7a[_0x2c3a6c(0x15d)],'time':_0x346335['kPFEJ'](_0x261b7a[_0x2c3a6c(0x1c9)],0x3e8)||0x0,'platform':_0x427a12};if(_0x346335[_0x2c3a6c(0x1c3)](_0x261b7a[_0x2c3a6c(0x130)],_0x346335[_0x2c3a6c(0x106)])){var _0x5553fc=_0x261b7a['err'],_0x32cc1f=!Base[_0x2c3a6c(0x10f)]&&Base[_0x2c3a6c(0x1de)](_0x5553fc)?_0x346335[_0x2c3a6c(0x19c)]('\x0a',Base['generateDiff'](_0x5553fc[_0x2c3a6c(0x117)],_0x5553fc[_0x2c3a6c(0x1d1)])):'';_0x346335['VWJwR'](xunitWrite,_0x346335[_0x2c3a6c(0xfa)](tag,_0x346335['UsNYz'],_0x25d470,![],_0x346335[_0x2c3a6c(0xfe)](tag,_0x346335[_0x2c3a6c(0x192)],{},![],_0x346335['sEMOb'](_0x346335[_0x2c3a6c(0x19c)](_0x346335['UTnRj'](_0x346335['VWJwR'](escape,_0x5553fc[_0x2c3a6c(0x1aa)]),_0x346335[_0x2c3a6c(0x12e)](escape,_0x32cc1f)),'\x0a'),_0x346335['LZzHz'](escape,_0x5553fc['stack'])))));}else _0x261b7a['isPending']?_0x346335[_0x2c3a6c(0x18c)](xunitWrite,_0x346335[_0x2c3a6c(0xfa)](tag,_0x346335[_0x2c3a6c(0x1ea)],_0x25d470,![],_0x346335[_0x2c3a6c(0x1f4)](tag,_0x346335[_0x2c3a6c(0x19f)],{},!![]))):_0x346335[_0x2c3a6c(0x1bf)](xunitWrite,_0x346335[_0x2c3a6c(0x1f4)](tag,_0x346335[_0x2c3a6c(0x1ea)],_0x25d470,!![]));};function getStats(_0x12d72e){const _0x450bd8=a28_0x4ce31d,_0x1de097={};_0x1de097[_0x450bd8(0xf8)]=_0x450bd8(0x1e7),_0x1de097['gpKPU']=_0x450bd8(0x136),_0x1de097['aegJP']='failed',_0x1de097['xfBas']='results';const _0xb4da3a=_0x1de097,_0x1cc884=Object['keys'](_0x12d72e);let _0x562417=0x0,_0x4b8145=0x0,_0x4138dc=0x0,_0x56f361=0x0;const _0x48bdb0=new Set();_0x1cc884[_0x450bd8(0x1f0)](_0x1798fb=>{const _0x4f5a0a=_0x450bd8,_0x329b08={};_0x329b08[_0x4f5a0a(0x11a)]=_0xb4da3a[_0x4f5a0a(0xf8)],_0x329b08[_0x4f5a0a(0x1b6)]=_0xb4da3a['gpKPU'],_0x329b08[_0x4f5a0a(0x185)]=_0xb4da3a['aegJP'];const _0x2abf46=_0x329b08;_0x12d72e[_0x1798fb][_0xb4da3a[_0x4f5a0a(0x170)]][_0x4f5a0a(0x1f0)](_0x484c2d=>{const _0x202258=_0x4f5a0a;_0x48bdb0[_0x202258(0x15a)](_0x484c2d[_0x2abf46[_0x202258(0x11a)]]),_0x562417++;switch(_0x484c2d[_0x202258(0x130)]){case _0x2abf46['HBsCh']:_0x4138dc++;break;case _0x2abf46[_0x202258(0x185)]:_0x4b8145++;break;default:_0x56f361++;}});});const _0x113163={};return _0x113163[_0x450bd8(0x1c7)]=_0x48bdb0[_0x450bd8(0x165)],_0x113163[_0x450bd8(0x1cb)]=_0x1cc884,_0x113163[_0x450bd8(0x10d)]=_0x562417,_0x113163['testsFailed']=_0x4b8145,_0x113163[_0x450bd8(0x14b)]=_0x4138dc,_0x113163[_0x450bd8(0x168)]=_0x56f361,_0x113163;}function errorJSON(_0x4de8e1){const _0x7fe4ec=a28_0x4ce31d;var _0x44bce3={};return Object[_0x7fe4ec(0x17b)](_0x4de8e1)[_0x7fe4ec(0x1f0)](function(_0xbd6050){_0x44bce3[_0xbd6050]=_0x4de8e1[_0xbd6050];},_0x4de8e1),_0x44bce3;}function cleanCycles(_0x31b4e3){const _0x570392=a28_0x4ce31d,_0xe4f408={};_0xe4f408[_0x570392(0x169)]=function(_0x1b0f2c,_0x307f5a){return _0x1b0f2c===_0x307f5a;},_0xe4f408[_0x570392(0x1e6)]=_0x570392(0x140),_0xe4f408[_0x570392(0x1e8)]=function(_0x1e33b3,_0x5bf799){return _0x1e33b3!==_0x5bf799;},_0xe4f408[_0x570392(0x1a8)]=function(_0x4c30e5,_0x38956c){return _0x4c30e5!==_0x38956c;},_0xe4f408['VJjzx']=function(_0x3350a9,_0x52bc2c){return _0x3350a9+_0x52bc2c;};const _0x31f48b=_0xe4f408;var _0x4aeb0a=[];return JSON[_0x570392(0x1a1)](JSON[_0x570392(0x14a)](_0x31b4e3,function(_0x3d5578,_0x291fcf){const _0x213e31=_0x570392;if(_0x31f48b[_0x213e31(0x169)](typeof _0x291fcf,_0x31f48b['RwjSi'])&&_0x31f48b[_0x213e31(0x1e8)](_0x291fcf,null)){if(_0x31f48b['LPKgT'](_0x4aeb0a[_0x213e31(0x1ab)](_0x291fcf),-0x1))return _0x31f48b[_0x213e31(0x155)]('',_0x291fcf);_0x4aeb0a[_0x213e31(0x1ca)](_0x291fcf);}return _0x291fcf;}));}function clean(_0x2f2555){const _0x389024=a28_0x4ce31d,_0x27fbfe={'lPIey':function(_0xb0fe34,_0x58b673){return _0xb0fe34 instanceof _0x58b673;},'AYwOf':function(_0x3afa0d,_0x481561){return _0x3afa0d(_0x481561);},'jyIVA':function(_0x450d6a,_0x57f1fd){return _0x450d6a(_0x57f1fd);}};var _0x8b4b80=_0x2f2555[_0x389024(0x159)]||{};return _0x27fbfe['lPIey'](_0x8b4b80,Error)&&(_0x8b4b80=_0x27fbfe[_0x389024(0x11e)](errorJSON,_0x8b4b80)),{'title':_0x2f2555[_0x389024(0x15d)],'fullTitle':_0x2f2555[_0x389024(0x174)],'file':_0x2f2555[_0x389024(0x100)],'duration':_0x2f2555[_0x389024(0x1c9)],'currentRetry':_0x2f2555[_0x389024(0x107)],'speed':_0x2f2555[_0x389024(0x143)],'err':_0x27fbfe[_0x389024(0x19d)](cleanCycles,_0x8b4b80)};}function printStats(_0x27f528,_0x4ad5d0='spec',_0x1241b6={}){const _0x124e3f=a28_0x4ce31d,_0x154e0f={'ilcvN':function(_0x54ac42,_0x1c5ce7){return _0x54ac42(_0x1c5ce7);},'lYcsY':function(_0x56a14b,_0x3f5ab5){return _0x56a14b===_0x3f5ab5;},'ctLUB':_0x124e3f(0x136),'fhoSS':_0x124e3f(0x128),'rLgJi':function(_0x4e9641,_0x191bc8){return _0x4e9641(_0x191bc8);},'mnrqj':function(_0x14ee7c,_0x41e29b){return _0x14ee7c===_0x41e29b;},'ZwpXm':_0x124e3f(0x1c6),'IvURl':_0x124e3f(0x18a),'KQzCT':function(_0x371a7f,_0x48a37d){return _0x371a7f(_0x48a37d);},'sStAy':_0x124e3f(0x1a3),'XJqZl':function(_0x322f06,_0x29badb){return _0x322f06(_0x29badb);},'opwJk':_0x124e3f(0x13d),'aruyU':function(_0x376b7d,_0x29e89e){return _0x376b7d===_0x29e89e;},'blbgn':function(_0x4bf702,_0x430fa5){return _0x4bf702*_0x430fa5;},'VKBfU':function(_0x19efc2,_0x4da109,_0x333896){return _0x19efc2(_0x4da109,_0x333896);},'bQGyK':function(_0x2a8168,_0x516190){return _0x2a8168>_0x516190;},'JbPXA':function(_0x258b0f){return _0x258b0f();},'RGyLD':function(_0x59ddf1,_0x3b957e){return _0x59ddf1===_0x3b957e;},'dsSfZ':_0x124e3f(0x1a4),'gtQBQ':_0x124e3f(0x184),'ZOere':'Printing\x20stats\x20of\x20tests','noeUI':function(_0x3a6d70,_0x2499b9){return _0x3a6d70+_0x2499b9;},'ZgpAV':'Total\x20Platforms:\x20','GxyKU':_0x124e3f(0x182),'FSpbT':_0x124e3f(0x1a6),'PccSW':function(_0x43d34c,_0x423cbe){return _0x43d34c+_0x423cbe;},'aLPSG':function(_0x43e13e,_0x326fa3){return _0x43e13e+_0x326fa3;},'miGdz':function(_0x264e1e,_0x259987){return _0x264e1e+_0x259987;},'ouAfw':_0x124e3f(0x172),'XjClj':_0x124e3f(0x15c),'xnKNX':'Writing\x20json\x20result\x20to\x20file','vBGDc':_0x124e3f(0x17c),'jreWL':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','MUpJE':function(_0x35b02f,_0x137cef){return _0x35b02f===_0x137cef;},'Lvypf':'xunit','XFiEN':'Mocha\x20Tests','qCnZh':function(_0x2ee63d,_0x2107d5){return _0x2ee63d||_0x2107d5;},'ihReE':function(_0x27eee8,_0x447459,_0x43206a,_0x551c3f){return _0x27eee8(_0x447459,_0x43206a,_0x551c3f);},'SxHOb':_0x124e3f(0x1da),'Pedbh':function(_0x2e1193,_0x24a77d){return _0x2e1193-_0x24a77d;},'MQkIc':function(_0x136c73,_0x1ab2f5){return _0x136c73/_0x1ab2f5;},'sWfJF':function(_0x4b56fb,_0x374163){return _0x4b56fb(_0x374163);},'ybgWh':_0x124e3f(0x13c),'glfaz':_0x124e3f(0x1cf),'SShgp':_0x124e3f(0x149),'CmVxE':_0x124e3f(0x113),'axAAB':_0x124e3f(0x1dd),'ZnDNC':_0x124e3f(0xf5)};if(_0x154e0f['RGyLD'](_0x4ad5d0,_0x154e0f[_0x124e3f(0x12c)]))return;const _0x11e93e=0x0,_0x4dba7c=()=>{const _0x51e2ca=_0x124e3f;return _0x154e0f[_0x51e2ca(0x1c1)](Array,_0x11e93e)[_0x51e2ca(0x1f6)]('\x20\x20');},{testSuites:_0x37151c,platforms:_0x34baee,totalTests:_0xee193e,testsFailed:_0x563c10,testsPassed:_0x5a3471,testsPending:_0x69bf7f}=_0x154e0f[_0x124e3f(0x13a)](getStats,_0x27f528);_0x154e0f[_0x124e3f(0x167)](_0x563c10,0x0)&&(logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x1ee)]),process[_0x124e3f(0x12b)]=Math[_0x124e3f(0x1b3)](_0x563c10,0xff));logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x18f)]);const _0x1e5da5=''+_0x154e0f[_0x124e3f(0x1e9)](chalk[_0x124e3f(0x183)](_0x154e0f[_0x124e3f(0x102)]),_0x34baee['length']),_0x4850d4=''+_0x154e0f[_0x124e3f(0x1e9)](chalk[_0x124e3f(0x183)](_0x154e0f[_0x124e3f(0x15f)]),_0x37151c),_0x579db2=''+_0x154e0f['noeUI'](_0x154e0f[_0x124e3f(0x1e9)](_0x154e0f[_0x124e3f(0x1e9)](chalk[_0x124e3f(0x183)](_0x154e0f[_0x124e3f(0x131)]),_0x154e0f['bQGyK'](_0x563c10,0x0)?chalk[_0x124e3f(0x183)][_0x124e3f(0x161)](_0x563c10+_0x124e3f(0x1d5))+',\x20':''),_0x154e0f[_0x124e3f(0x167)](_0x69bf7f,0x0)?chalk[_0x124e3f(0x183)][_0x124e3f(0x1a2)](_0x69bf7f+'\x20skipped')+',\x20':''),_0x154e0f['bQGyK'](_0x5a3471,0x0)?chalk['bold'][_0x124e3f(0x179)](_0x5a3471+_0x124e3f(0x196))+',\x20':'')+_0xee193e+_0x124e3f(0x17a);console[_0x124e3f(0x104)](_0x154e0f[_0x124e3f(0x1e9)](_0x154e0f[_0x124e3f(0x197)](_0x154e0f[_0x124e3f(0x17f)](_0x154e0f[_0x124e3f(0x17f)](_0x154e0f[_0x124e3f(0x124)](_0x154e0f[_0x124e3f(0x16e)],_0x1e5da5),'\x0a'),_0x4850d4),'\x0a'),_0x579db2));if(_0x154e0f[_0x124e3f(0x1f2)](_0x4ad5d0,_0x154e0f[_0x124e3f(0x17d)])){const _0x14fecb={},_0x9215d8={};_0x9215d8[_0x124e3f(0x1c7)]=_0x37151c,_0x9215d8['platforms']=_0x34baee,_0x9215d8[_0x124e3f(0x166)]=_0x563c10,_0x9215d8['testsPassed']=_0x5a3471,_0x9215d8['testsPending']=_0x69bf7f,_0x14fecb[_0x124e3f(0x198)]=_0x9215d8,_0x34baee[_0x124e3f(0x1f0)](_0x3dd89a=>{const _0x1ca50d=_0x124e3f;_0x14fecb[_0x3dd89a]={'pending':[],'failures':[],'passes':[],'tests':_0x27f528[_0x3dd89a][_0x154e0f[_0x1ca50d(0x19a)]][_0x1ca50d(0x15e)](clean)},_0x27f528[_0x3dd89a][_0x154e0f[_0x1ca50d(0x19a)]]['forEach'](_0x118b33=>{const _0x844ce7=_0x1ca50d;if(_0x154e0f[_0x844ce7(0x132)](_0x118b33[_0x844ce7(0x130)],_0x154e0f[_0x844ce7(0x11f)]))_0x14fecb[_0x3dd89a][_0x154e0f[_0x844ce7(0x1f5)]][_0x844ce7(0x1ca)](_0x154e0f[_0x844ce7(0x1bc)](clean,_0x118b33));else _0x154e0f[_0x844ce7(0x146)](_0x118b33['state'],_0x154e0f['ZwpXm'])?_0x14fecb[_0x3dd89a][_0x154e0f['IvURl']][_0x844ce7(0x1ca)](_0x154e0f[_0x844ce7(0x11c)](clean,_0x118b33)):_0x14fecb[_0x3dd89a][_0x154e0f['sStAy']][_0x844ce7(0x1ca)](_0x154e0f[_0x844ce7(0x13a)](clean,_0x118b33));});});if(_0x1241b6[_0x124e3f(0x105)])try{logger['debug'](_0x154e0f[_0x124e3f(0x18d)],_0x1241b6['output']),fs[_0x124e3f(0x1ba)](_0x1241b6[_0x124e3f(0x105)],JSON[_0x124e3f(0x14a)](_0x14fecb,null,0x3));}catch(_0x51e7a6){logger[_0x124e3f(0x1dc)](_0x154e0f['vBGDc'],_0x1241b6[_0x124e3f(0x105)]),logger[_0x124e3f(0x135)](_0x51e7a6);}else logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x127)]),console[_0x124e3f(0x104)](JSON[_0x124e3f(0x14a)](_0x14fecb,null,0x3));}else{if(_0x154e0f[_0x124e3f(0x10b)](_0x4ad5d0,_0x154e0f[_0x124e3f(0x1b0)])){let _0x289901;const _0x1a1c8f=_0x154e0f[_0x124e3f(0x139)];_0x1241b6&&(_0x289901=_0x1241b6[_0x124e3f(0x1c4)]);_0x289901=_0x154e0f[_0x124e3f(0x1d2)](_0x289901,_0x1a1c8f);let _0x47af90=0x0,_0x26ab4e=0x0,_0x1c2fba=0x0,_0x57849c=0x0;_0x34baee[_0x124e3f(0x1f0)](_0x22a1e1=>{const _0x5f3f4e=_0x124e3f;_0x27f528[_0x22a1e1][_0x154e0f[_0x5f3f4e(0x19a)]][_0x5f3f4e(0x1f0)](_0x5e5f4a=>{const _0x2539cc=_0x5f3f4e;if(_0x154e0f[_0x2539cc(0x146)](_0x5e5f4a[_0x2539cc(0x130)],_0x154e0f[_0x2539cc(0x11f)]))_0x47af90++;else _0x154e0f[_0x2539cc(0x11b)](_0x5e5f4a['state'],_0x154e0f[_0x2539cc(0x1df)])&&_0x26ab4e++;_0x1c2fba++,_0x57849c+=_0x154e0f[_0x2539cc(0x1d7)](_0x5e5f4a[_0x2539cc(0x1c9)],0x1);});}),_0x154e0f[_0x124e3f(0x11c)](xunitWrite,_0x154e0f[_0x124e3f(0x13f)](tag,_0x154e0f[_0x124e3f(0xfd)],{'name':_0x289901,'tests':_0x1c2fba,'failures':0x0,'errors':_0x26ab4e,'skipped':_0x154e0f['Pedbh'](_0x154e0f[_0x124e3f(0x1b2)](_0x1c2fba,_0x26ab4e),_0x47af90),'timestamp':new Date()[_0x124e3f(0x188)](),'time':_0x154e0f[_0x124e3f(0x14e)](_0x57849c,0x3e8)||0x0},![])),_0x34baee[_0x124e3f(0x1f0)](_0x3b6bff=>{const _0x162a36=_0x124e3f;_0x27f528[_0x3b6bff][_0x154e0f[_0x162a36(0x19a)]][_0x162a36(0x1f0)](_0x2fedb3=>{_0x154e0f['VKBfU'](xunitTest,_0x2fedb3,_0x3b6bff);});}),_0x154e0f[_0x124e3f(0x10a)](xunitWrite,_0x154e0f[_0x124e3f(0x114)]);if(_0x1241b6['output'])try{logger['debug'](_0x154e0f[_0x124e3f(0x144)],_0x1241b6[_0x124e3f(0x105)]),fs['writeFileSync'](_0x1241b6[_0x124e3f(0x105)],xunitContent);}catch(_0x27e92a){logger[_0x124e3f(0x1dc)](_0x154e0f[_0x124e3f(0x14c)],_0x1241b6[_0x124e3f(0x105)]),logger[_0x124e3f(0x135)](_0x27e92a);}else logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x154)]),console['log'](xunitContent);}else{if(_0x154e0f[_0x124e3f(0x1f2)](_0x563c10,0x0))return;console[_0x124e3f(0x104)](),logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x1ec)]),console[_0x124e3f(0x104)](chalk[_0x124e3f(0x183)][_0x124e3f(0x1ad)](_0x154e0f[_0x124e3f(0xf6)])),_0x34baee['forEach'](_0x6d6c93=>{const _0x6419c0=_0x124e3f,_0x380939={'BGgQa':function(_0x1bf601,_0x46a8c8){const _0x136bd6=a28_0xdf6e;return _0x154e0f[_0x136bd6(0x132)](_0x1bf601,_0x46a8c8);},'lkkOE':_0x154e0f['ZwpXm']},_0x24240c=[];_0x27f528[_0x6d6c93][_0x154e0f[_0x6419c0(0x19a)]][_0x6419c0(0x1f0)](_0x4ec54e=>{const _0x212196=_0x6419c0;_0x380939[_0x212196(0x156)](_0x4ec54e[_0x212196(0x130)],_0x380939[_0x212196(0x137)])&&(_0x4ec54e[_0x212196(0x1ef)]=()=>_0x4ec54e[_0x212196(0x115)],_0x24240c[_0x212196(0x1ca)](_0x4ec54e));}),_0x154e0f[_0x6419c0(0x167)](_0x24240c[_0x6419c0(0x158)],0x0)&&(Base[_0x6419c0(0x153)](),Base['consoleLog'](_0x154e0f[_0x6419c0(0x1ae)](_0x4dba7c),chalk[_0x6419c0(0x183)][_0x6419c0(0x187)](_0x6d6c93)),Base['list'](_0x24240c));});}}}async function run(_0x6d0529,_0x34cb69){const _0x313839=a28_0x4ce31d,_0x3c4e32={'LVmRm':function(_0x4a33c6,_0x3f62d2,_0x1e9989,_0x1e8c59){return _0x4a33c6(_0x3f62d2,_0x1e9989,_0x1e8c59);},'eAGYZ':_0x313839(0x16f),'LWwUh':_0x313839(0x116),'Apcvg':_0x313839(0x1e2),'iiNLe':function(_0x22c080,_0x44e964,_0x8bba97,_0x2acbd3){return _0x22c080(_0x44e964,_0x8bba97,_0x2acbd3);},'gNKVg':'mocha','DSwTD':_0x313839(0x1bb),'FXOAq':_0x313839(0x121),'vYcLI':function(_0x273ebe,_0x163897){return _0x273ebe!=_0x163897;},'NmFYW':_0x313839(0x1cd),'ozHQi':_0x313839(0xfc),'uCand':_0x313839(0x118),'mktLD':_0x313839(0xfb),'Lbgwl':function(_0x46b88e,_0x40ad69){return _0x46b88e(_0x40ad69);},'jmEQH':function(_0x3793f1,_0x33e0d3,_0x4f01af){return _0x3793f1(_0x33e0d3,_0x4f01af);},'PfdnK':_0x313839(0x1e1),'SOiKg':_0x313839(0x14f),'OLEFk':_0x313839(0x1b1),'ysvhY':function(_0x42c432,_0x436977,_0x27c177,_0x4782c0){return _0x42c432(_0x436977,_0x27c177,_0x4782c0);},'FYGBY':function(_0x5f26ae,_0xcac899){return _0x5f26ae*_0xcac899;},'KsSZY':function(_0x4342d6,_0x4dff5c){return _0x4342d6(_0x4dff5c);},'FCEOJ':function(_0x101f29,_0x28a2b9){return _0x101f29!==_0x28a2b9;}};process['argv'][_0x313839(0x157)](_0x3c4e32[_0x313839(0x13b)])&&(process[_0x313839(0x1c5)][_0x313839(0x145)]=![]);process['argv'][_0x313839(0x157)](_0x3c4e32['FXOAq'])&&(process[_0x313839(0x1c5)]['BROWSERSTACK_AUTOMATION']=![]);const _0x59cf92=new BrowserStackSetup(_0x6d0529,_0x3c4e32[_0x313839(0x171)]);helper[_0x313839(0x162)]()?(await _0x59cf92[_0x313839(0x1d4)](),await helper['handleApp'](_0x59cf92[_0x313839(0x13e)])):await _0x59cf92[_0x313839(0x1ce)]();const _0x1fb697=[];let _0xb71a55=[];if(!_0x59cf92[_0x313839(0x13e)])return;_0x3c4e32['vYcLI'](_0x59cf92['config']['testObservability'],null)&&(process[_0x313839(0x1c5)][_0x313839(0x1f7)]=_0x59cf92[_0x313839(0x13e)]['testObservability']);!helper[_0x313839(0x19b)](_0x59cf92['config'][_0x313839(0x16a)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x59cf92['config']['accessibility']);!helper[_0x313839(0x19b)](_0x59cf92[_0x313839(0x13e)][_0x313839(0x125)])&&(process[_0x313839(0x1c5)][_0x313839(0x1f3)]=JSON[_0x313839(0x14a)](_0x59cf92['config'][_0x313839(0x125)]));const {extension:extension=['js',_0x3c4e32[_0x313839(0xff)],_0x3c4e32[_0x313839(0x1ed)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3c4e32[_0x313839(0x1af)]]}=_0x6d0529,_0x248ae8={..._0x6d0529};_0x248ae8[_0x313839(0x123)]=null;const _0x1d4b9e=_0x248ae8;let _0x3a6e62;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x313839(0x12d)]()){let _0x532bcb=process[_0x313839(0x1c5)][_0x313839(0x147)];!helper[_0x313839(0x19b)](_0x59cf92[_0x313839(0x108)])&&_0x59cf92['cliConfig'][_0x313839(0x110)](_0x3c4e32[_0x313839(0x1b9)])&&(_0x532bcb=_0x59cf92['cliConfig'][_0x313839(0x1b4)](_0x3c4e32[_0x313839(0x1b9)])),_0x3a6e62=testOpsHelper['parseFileNames'](_0x532bcb);}if(helper[_0x313839(0x19b)](_0x3a6e62)){const _0x5e183c={};_0x5e183c[_0x313839(0x173)]=ignore,_0x5e183c[_0x313839(0xf9)]=extension,_0x5e183c['file']=file,_0x5e183c[_0x313839(0x193)]=recursive,_0x5e183c[_0x313839(0x138)]=sort,_0x5e183c[_0x313839(0x112)]=spec,_0x3a6e62=_0x3c4e32['Lbgwl'](collectFiles,_0x5e183c),_0x3c4e32[_0x313839(0x164)](nestedKeyValue,_0x3a6e62,[_0x3c4e32[_0x313839(0x1e0)]])&&(_0x3a6e62=_0x3a6e62['files']);}helper[_0x313839(0x180)]();if(!helper[_0x313839(0x162)]()){const _0x2b1af2=0x1,_0x3a985={..._0x1d4b9e};_0x3a985[_0x313839(0x112)]=[..._0x3a6e62],_0x1fb697[_0x313839(0x1ca)]({'mochaOpts':_0x3a985,'configuration':{'platform':os[_0x313839(0x1d9)]()}}),logger[_0x313839(0x12a)](_0x3c4e32[_0x313839(0x1d0)]),logger['info'](_0x3c4e32[_0x313839(0x175)]),_0x3c4e32['ysvhY'](parallelTestRun,_0x1fb697,_0x2b1af2,_0x59cf92)[_0x313839(0x1d8)](_0x53c0d5=>{const _0x5d70cc=_0x313839;_0x3c4e32['LVmRm'](printStats,_0x53c0d5,_0x6d0529[_0x5d70cc(0x1be)],_0x6d0529[_0x5d70cc(0x142)]||_0x6d0529[_0x3c4e32[_0x5d70cc(0x1ac)]]);})['finally'](()=>{const _0x93a1ca=_0x313839;try{const {browserstackFolderPath:_0x2504bb,tcgConfigPath:_0xfe0e3}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0xfe0e3),fs[_0x93a1ca(0x133)](_0x2504bb);}catch(_0x1850ef){logger['debug'](_0x3c4e32['LWwUh'],_0x1850ef);}try{utilities[_0x93a1ca(0x176)](_0x3c4e32[_0x93a1ca(0x1b8)],{},_0x59cf92[_0x93a1ca(0x13e)],_0x59cf92[_0x93a1ca(0x1a7)]);}catch(_0x2fa9f9){logger[_0x93a1ca(0x135)](_0x93a1ca(0x1db)+_0x2fa9f9);}try{helper[_0x93a1ca(0x16c)]();}catch(_0x16071b){logger[_0x93a1ca(0x135)](_0x93a1ca(0x134)+_0x16071b);}testOpsHelper['printBuildLink']();});}else{const _0x389ea5=helper[_0x313839(0x12f)](_0x59cf92[_0x313839(0x13e)]);let _0xa431b2=helper[_0x313839(0x163)](_0x59cf92[_0x313839(0x13e)]);_0xb71a55=helper[_0x313839(0x17e)](_0x59cf92[_0x313839(0x13e)],_0x389ea5,constants[_0x313839(0x1a0)]['MOCHA']);process[_0x313839(0x1c5)][_0x313839(0x101)]&&(_0xa431b2=centralScannerConstants[_0x313839(0x1eb)]);let _0xd6863b;const _0x41bfb6=_0x59cf92[_0x313839(0x13e)][_0x313839(0x151)]||helper[_0x313839(0x10e)](_0x6d0529,_0x34cb69,_0x59cf92[_0x313839(0x13e)],constants[_0x313839(0x1a0)]['MOCHA'])||0x1;helper[_0x313839(0x1b7)](_0x59cf92[_0x313839(0x13e)])?_0xd6863b=_0x3c4e32[_0x313839(0x191)](_0x59cf92[_0x313839(0x13e)][_0x313839(0x1cb)]['length'],_0x41bfb6):_0xd6863b=_0x41bfb6;const _0x4b6938=_0x3c4e32[_0x313839(0x1cc)](getPercyOptions,_0x59cf92[_0x313839(0x13e)]);if(_0x3c4e32['FCEOJ'](_0x59cf92[_0x313839(0x13e)][_0x313839(0x151)],0x1))_0x3a6e62[_0x313839(0x1f0)](_0x1487a5=>{const _0x7ff7d4=_0x313839,_0x2878f2=[];_0xb71a55[_0x7ff7d4(0x1f0)]((_0x383c8e,_0xf69728)=>{const _0x318ddb=_0x7ff7d4,_0x3ec453={};_0x3ec453[_0x318ddb(0x112)]=[_0x1487a5],_0x2878f2['push']({'mochaOpts':Object[_0x318ddb(0x1d3)]({},_0x1d4b9e,_0x3ec453),'configuration':{'server':_0xa431b2,'capability':_0x383c8e,'proxySettings':_0x59cf92[_0x318ddb(0x13e)][_0x318ddb(0x150)],'platform':helper['getPlatformName'](_0x383c8e),'browserStackLogLevel':_0x59cf92[_0x318ddb(0x13e)][_0x318ddb(0x1a5)],'platformIndex':_0xf69728,'browserStackPercyOptions':_0x4b6938,'platformCaps':_0x59cf92['config'][_0x318ddb(0x1cb)][_0xf69728]}});}),_0x1fb697[_0x7ff7d4(0x1ca)](..._0x2878f2);});else{const _0x57b90e=[];_0xb71a55['forEach']((_0x210fa6,_0x4a9c5b)=>{const _0x526f6c=_0x313839;let _0x127ea2=Object[_0x526f6c(0x1d3)]({},_0x1d4b9e);testOpsHelper[_0x526f6c(0x141)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x127ea2={..._0x127ea2,'spec':[..._0x3a6e62]}),_0x57b90e[_0x526f6c(0x1ca)]({'mochaOpts':_0x127ea2,'configuration':{'server':_0xa431b2,'capability':_0x210fa6,'proxySettings':_0x59cf92[_0x526f6c(0x13e)]['proxySettings'],'platform':helper['getPlatformName'](_0x210fa6),'browserStackLogLevel':_0x59cf92[_0x526f6c(0x13e)][_0x526f6c(0x1a5)],'platformIndex':_0x4a9c5b,'browserStackPercyOptions':_0x4b6938,'platformCaps':_0x59cf92[_0x526f6c(0x13e)][_0x526f6c(0x1cb)][_0x4a9c5b]}});}),_0x1fb697['push'](..._0x57b90e);}logger['info'](_0x313839(0x15b)+_0x59cf92[_0x313839(0x13e)][_0x313839(0x1cb)]['length']+_0x313839(0x1e5)),logger[_0x313839(0x12a)](_0x3c4e32[_0x313839(0x175)]);let _0x1dd341;_0x3c4e32[_0x313839(0x199)](parallelTestRun,_0x1fb697,_0xd6863b,_0x59cf92)[_0x313839(0x1d8)](_0x1a5fba=>{const _0x3f79d7=_0x313839;_0x1dd341=_0x1a5fba,_0x3c4e32['iiNLe'](printStats,_0x1a5fba,_0x6d0529[_0x3f79d7(0x1be)],_0x6d0529['reporterOptions']||_0x6d0529[_0x3c4e32[_0x3f79d7(0x1ac)]]);})[_0x313839(0x1e4)](async()=>{const _0x59df9f=_0x313839;_0x59cf92[_0x59df9f(0x11d)]=helper['getErrorMessageFromResults'](_0x1dd341,_0x3c4e32['gNKVg']),await utilities[_0x59df9f(0x189)](_0x59cf92),testOpsHelper[_0x59df9f(0x1e3)]();});}}module[a28_0x4ce31d(0x1a9)]=run;
|
|
2
|
+
'use strict';const a28_0x1385a1=a28_0x415f;(function(_0x2ce2e2,_0x17d132){const _0x5c69e4=a28_0x415f,_0x31db83=_0x2ce2e2();while(!![]){try{const _0x129586=parseInt(_0x5c69e4(0x222))/0x1*(-parseInt(_0x5c69e4(0x211))/0x2)+-parseInt(_0x5c69e4(0x25a))/0x3+parseInt(_0x5c69e4(0x220))/0x4*(-parseInt(_0x5c69e4(0x27b))/0x5)+-parseInt(_0x5c69e4(0x204))/0x6+-parseInt(_0x5c69e4(0x295))/0x7*(parseInt(_0x5c69e4(0x248))/0x8)+-parseInt(_0x5c69e4(0x251))/0x9+-parseInt(_0x5c69e4(0x234))/0xa*(-parseInt(_0x5c69e4(0x20a))/0xb);if(_0x129586===_0x17d132)break;else _0x31db83['push'](_0x31db83['shift']());}catch(_0x1bc2c3){_0x31db83['push'](_0x31db83['shift']());}}}(a28_0x1a9a,0xc83ae));const chalk=require(a28_0x1385a1(0x1ed)),logger=require('../../helpers/logger')[a28_0x1385a1(0x2bd)],{default:BrowserStackSetup}=require(a28_0x1385a1(0x274)),helper=require(a28_0x1385a1(0x28c)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x1385a1(0x1f9)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x1385a1(0x219)),Base=requireModule(a28_0x1385a1(0x1f7)),collectFiles=requireModule(a28_0x1385a1(0x1e6)),constants=require(a28_0x1385a1(0x246)),centralScannerConstants=require(a28_0x1385a1(0x1cb));function tag(_0x26285d,_0x1c242b,_0x36f8f8,_0x424851){const _0x312358=a28_0x1385a1,_0x48c25f={'TcVJL':function(_0x130bdf,_0x2f3123){return _0x130bdf+_0x2f3123;},'eZAim':function(_0x363b0c,_0x3ca14b){return _0x363b0c+_0x3ca14b;},'RgHzD':function(_0x415536,_0x589a87){return _0x415536+_0x589a87;},'CxEbM':function(_0x174a11,_0x394cf0){return _0x174a11(_0x394cf0);},'DGymO':function(_0x4e55ec,_0x1ed2da){return _0x4e55ec+_0x1ed2da;},'UrOQn':function(_0x182138,_0x338e06){return _0x182138+_0x338e06;},'praOW':function(_0x1f9a65,_0x4672c5){return _0x1f9a65+_0x4672c5;}},_0x1cf51b=_0x36f8f8?'/>':'>',_0x5cb19a=[];let _0x37f791;for(const _0x174f5d in _0x1c242b){Object[_0x312358(0x24f)][_0x312358(0x209)]['call'](_0x1c242b,_0x174f5d)&&_0x5cb19a[_0x312358(0x294)](_0x48c25f[_0x312358(0x1dc)](_0x48c25f['eZAim'](_0x48c25f[_0x312358(0x281)](_0x174f5d,'=\x22'),_0x48c25f['CxEbM'](escape,_0x1c242b[_0x174f5d])),'\x22'));}return _0x37f791=_0x48c25f[_0x312358(0x1f4)](_0x48c25f[_0x312358(0x1f4)](_0x48c25f[_0x312358(0x1db)]('<',_0x26285d),_0x5cb19a[_0x312358(0x287)]?_0x48c25f[_0x312358(0x1f4)]('\x20',_0x5cb19a['join']('\x20')):''),_0x1cf51b),_0x424851&&(_0x37f791+=_0x48c25f[_0x312358(0x1f8)](_0x48c25f['eZAim'](_0x48c25f[_0x312358(0x1cd)](_0x424851,'</'),_0x26285d),_0x1cf51b)),_0x37f791;}function a28_0x415f(_0x3a9502,_0x293049){const _0x1a9a1a=a28_0x1a9a();return a28_0x415f=function(_0x415fa1,_0x1af9a9){_0x415fa1=_0x415fa1-0x1c5;let _0x5081c3=_0x1a9a1a[_0x415fa1];return _0x5081c3;},a28_0x415f(_0x3a9502,_0x293049);}let xunitContent='';function xunitWrite(_0xe6d5f4){xunitContent+=_0xe6d5f4;}function xunitTest(_0x26c9b,_0x24b44a){const _0x14420e=a28_0x1385a1,_0x9fb8d={'iZFgx':function(_0x54c7c5,_0x18316b){return _0x54c7c5/_0x18316b;},'anBKu':function(_0xe63add,_0x1f2733){return _0xe63add===_0x1f2733;},'dgUri':_0x14420e(0x2ae),'kiGcg':function(_0x4de7ce,_0x146f8e){return _0x4de7ce+_0x146f8e;},'rwuzp':function(_0x1e1827,_0x2b9b9e){return _0x1e1827(_0x2b9b9e);},'CUfNA':function(_0x2991cb,_0x47c1ed,_0x4b7fa2,_0xd2fc26,_0x238bb6){return _0x2991cb(_0x47c1ed,_0x4b7fa2,_0xd2fc26,_0x238bb6);},'uIJmJ':_0x14420e(0x1da),'vrPEi':_0x14420e(0x1d8),'AAPbZ':function(_0x37a9ef,_0x3da847){return _0x37a9ef(_0x3da847);},'BQRVm':function(_0x139cb2,_0x255645,_0x485ace,_0x191bb2){return _0x139cb2(_0x255645,_0x485ace,_0x191bb2);},'hbwFj':_0x14420e(0x210),'daNJy':function(_0x110a13,_0x4b3d27){return _0x110a13(_0x4b3d27);}};Base['useColors']=![];var _0x131eb8={'classname':_0x26c9b['fullTitle'],'name':_0x26c9b[_0x14420e(0x29f)],'time':_0x9fb8d['iZFgx'](_0x26c9b[_0x14420e(0x1f3)],0x3e8)||0x0,'platform':_0x24b44a};if(_0x9fb8d[_0x14420e(0x24a)](_0x26c9b['state'],_0x9fb8d[_0x14420e(0x1f6)])){var _0x521c6a=_0x26c9b[_0x14420e(0x267)],_0x2c5b8c=!Base['hideDiff']&&Base[_0x14420e(0x275)](_0x521c6a)?_0x9fb8d[_0x14420e(0x2b6)]('\x0a',Base['generateDiff'](_0x521c6a['actual'],_0x521c6a[_0x14420e(0x292)])):'';_0x9fb8d[_0x14420e(0x227)](xunitWrite,_0x9fb8d[_0x14420e(0x27f)](tag,_0x9fb8d[_0x14420e(0x1c8)],_0x131eb8,![],_0x9fb8d[_0x14420e(0x27f)](tag,_0x9fb8d['vrPEi'],{},![],_0x9fb8d[_0x14420e(0x2b6)](_0x9fb8d[_0x14420e(0x2b6)](_0x9fb8d[_0x14420e(0x2b6)](_0x9fb8d[_0x14420e(0x227)](escape,_0x521c6a[_0x14420e(0x2b3)]),_0x9fb8d[_0x14420e(0x227)](escape,_0x2c5b8c)),'\x0a'),_0x9fb8d[_0x14420e(0x227)](escape,_0x521c6a[_0x14420e(0x250)])))));}else _0x26c9b[_0x14420e(0x2b1)]?_0x9fb8d[_0x14420e(0x2c8)](xunitWrite,_0x9fb8d[_0x14420e(0x27f)](tag,_0x9fb8d['uIJmJ'],_0x131eb8,![],_0x9fb8d['BQRVm'](tag,_0x9fb8d[_0x14420e(0x24d)],{},!![]))):_0x9fb8d[_0x14420e(0x29a)](xunitWrite,_0x9fb8d['BQRVm'](tag,_0x9fb8d[_0x14420e(0x1c8)],_0x131eb8,!![]));};function getStats(_0xb582b4){const _0x8de78e=a28_0x1385a1,_0xac9cdd={};_0xac9cdd[_0x8de78e(0x268)]=_0x8de78e(0x226),_0xac9cdd['mEZQy']=_0x8de78e(0x1c5),_0xac9cdd[_0x8de78e(0x21c)]='failed',_0xac9cdd[_0x8de78e(0x1d0)]=_0x8de78e(0x1fe);const _0x962378=_0xac9cdd,_0x12ad94=Object['keys'](_0xb582b4);let _0x668748=0x0,_0x48f03c=0x0,_0x5947fe=0x0,_0x3dc51b=0x0;const _0x10f4f3=new Set();_0x12ad94[_0x8de78e(0x280)](_0xa1a33=>{const _0x498d8e=_0x8de78e,_0x467418={};_0x467418[_0x498d8e(0x1f0)]=_0x962378[_0x498d8e(0x268)],_0x467418['UIbRe']=_0x962378[_0x498d8e(0x254)],_0x467418[_0x498d8e(0x24b)]=_0x962378[_0x498d8e(0x21c)];const _0x50fd74=_0x467418;_0xb582b4[_0xa1a33][_0x962378['GeqmE']]['forEach'](_0xde9f4b=>{const _0x385497=_0x498d8e;_0x10f4f3[_0x385497(0x212)](_0xde9f4b[_0x50fd74[_0x385497(0x1f0)]]),_0x668748++;switch(_0xde9f4b['state']){case _0x50fd74[_0x385497(0x273)]:_0x5947fe++;break;case _0x50fd74[_0x385497(0x24b)]:_0x48f03c++;break;default:_0x3dc51b++;}});});const _0xd2c4a2={};return _0xd2c4a2[_0x8de78e(0x22b)]=_0x10f4f3[_0x8de78e(0x25f)],_0xd2c4a2[_0x8de78e(0x29e)]=_0x12ad94,_0xd2c4a2[_0x8de78e(0x263)]=_0x668748,_0xd2c4a2[_0x8de78e(0x223)]=_0x48f03c,_0xd2c4a2['testsPassed']=_0x5947fe,_0xd2c4a2[_0x8de78e(0x291)]=_0x3dc51b,_0xd2c4a2;}function errorJSON(_0x556269){const _0x579c2d=a28_0x1385a1;var _0x517b59={};return Object[_0x579c2d(0x200)](_0x556269)[_0x579c2d(0x280)](function(_0x39ddd9){_0x517b59[_0x39ddd9]=_0x556269[_0x39ddd9];},_0x556269),_0x517b59;}function cleanCycles(_0x374766){const _0xcbd2c2=a28_0x1385a1,_0x38ba1f={};_0x38ba1f['pLUjj']=function(_0x23b98d,_0x508635){return _0x23b98d===_0x508635;},_0x38ba1f['vdErb']=_0xcbd2c2(0x1c6),_0x38ba1f['zglDL']=function(_0xc16340,_0x55440b){return _0xc16340!==_0x55440b;},_0x38ba1f[_0xcbd2c2(0x24e)]=function(_0x5dc6b0,_0xebbe0f){return _0x5dc6b0+_0xebbe0f;};const _0x4adb35=_0x38ba1f;var _0x4b9f57=[];return JSON['parse'](JSON[_0xcbd2c2(0x282)](_0x374766,function(_0x175ec3,_0x1647c0){const _0xb00b97=_0xcbd2c2;if(_0x4adb35[_0xb00b97(0x1d6)](typeof _0x1647c0,_0x4adb35['vdErb'])&&_0x4adb35['zglDL'](_0x1647c0,null)){if(_0x4adb35[_0xb00b97(0x242)](_0x4b9f57[_0xb00b97(0x233)](_0x1647c0),-0x1))return _0x4adb35[_0xb00b97(0x24e)]('',_0x1647c0);_0x4b9f57['push'](_0x1647c0);}return _0x1647c0;}));}function clean(_0x17d38d){const _0x464b1e=a28_0x1385a1,_0x1f9d1b={'QjprI':function(_0x14b851,_0x45e348){return _0x14b851 instanceof _0x45e348;},'GJcdn':function(_0x1e6d9a,_0x25ef67){return _0x1e6d9a(_0x25ef67);},'FlsnZ':function(_0x19daed,_0xf3821f){return _0x19daed(_0xf3821f);}};var _0x8af924=_0x17d38d[_0x464b1e(0x267)]||{};return _0x1f9d1b[_0x464b1e(0x23c)](_0x8af924,Error)&&(_0x8af924=_0x1f9d1b[_0x464b1e(0x22f)](errorJSON,_0x8af924)),{'title':_0x17d38d['title'],'fullTitle':_0x17d38d[_0x464b1e(0x20e)],'file':_0x17d38d[_0x464b1e(0x231)],'duration':_0x17d38d[_0x464b1e(0x1f3)],'currentRetry':_0x17d38d[_0x464b1e(0x218)],'speed':_0x17d38d[_0x464b1e(0x1d9)],'err':_0x1f9d1b[_0x464b1e(0x241)](cleanCycles,_0x8af924)};}function printStats(_0x35865e,_0x1fc604='spec',_0x178fe9={}){const _0x1dab17=a28_0x1385a1,_0xdf9dcc={'aLIHU':function(_0x3cc31,_0x4afba8){return _0x3cc31(_0x4afba8);},'BxJnm':function(_0x14ce5e,_0x2b045f){return _0x14ce5e===_0x2b045f;},'slPTa':_0x1dab17(0x1c5),'nPDEV':_0x1dab17(0x2b7),'NcXeV':function(_0x19bf18,_0x172759){return _0x19bf18(_0x172759);},'kEGct':function(_0x361c0c,_0x4be08d){return _0x361c0c===_0x4be08d;},'zPJeY':_0x1dab17(0x2ae),'eVIXs':_0x1dab17(0x206),'MSaJe':function(_0x21cd2c,_0x564398){return _0x21cd2c(_0x564398);},'KmPkN':'pending','EbhtN':function(_0x13eb4a,_0x2c232a){return _0x13eb4a(_0x2c232a);},'xsMoh':'results','akMzY':function(_0x53f549,_0x221dcf){return _0x53f549===_0x221dcf;},'vOSPG':function(_0x4c1d07,_0xfd242b){return _0x4c1d07*_0xfd242b;},'Qgjit':function(_0x1d9627,_0x416718,_0x58079f){return _0x1d9627(_0x416718,_0x58079f);},'nGRck':function(_0x3e77ee,_0x47ffaa){return _0x3e77ee===_0x47ffaa;},'DhxZj':function(_0x575e18,_0xb7b154){return _0x575e18>_0xb7b154;},'vTyyW':function(_0x35853c){return _0x35853c();},'plMmt':_0x1dab17(0x2c1),'ISpBM':function(_0x34fd1b,_0x4e8dde){return _0x34fd1b(_0x4e8dde);},'sXiBW':_0x1dab17(0x2b8),'wNiJL':'Printing\x20stats\x20of\x20tests','idDRf':function(_0x459a5f,_0x122052){return _0x459a5f+_0x122052;},'npCec':'Total\x20Platforms:\x20','fOMHb':function(_0x5a6907,_0x2ebcc7){return _0x5a6907+_0x2ebcc7;},'tSSXQ':_0x1dab17(0x26b),'JbVXB':function(_0x3eaeb1,_0xd5c1a9){return _0x3eaeb1+_0xd5c1a9;},'MNmAp':_0x1dab17(0x2ab),'KOuMl':function(_0x50a80e,_0x49c753){return _0x50a80e>_0x49c753;},'qBJhy':function(_0xc6ee80,_0x26e68f){return _0xc6ee80>_0x26e68f;},'DdEpJ':_0x1dab17(0x238),'DxeLL':_0x1dab17(0x283),'jBMYf':_0x1dab17(0x214),'VPWdK':_0x1dab17(0x276),'bfNyN':_0x1dab17(0x2a1),'TpFsd':function(_0x1566a0,_0x3b6f08){return _0x1566a0===_0x3b6f08;},'QkDyi':_0x1dab17(0x2a4),'uThLS':_0x1dab17(0x29d),'FrycY':function(_0x28a3db,_0x12333e){return _0x28a3db||_0x12333e;},'VOJom':function(_0x373b40,_0x1aa69c,_0x41750e,_0x270e85){return _0x373b40(_0x1aa69c,_0x41750e,_0x270e85);},'PBdrG':_0x1dab17(0x224),'bQitu':function(_0x581827,_0x2dede3){return _0x581827-_0x2dede3;},'tMhcr':function(_0x7bfcd6,_0x101bed){return _0x7bfcd6/_0x101bed;},'ROEPX':function(_0xcd7879,_0x223e2a){return _0xcd7879(_0x223e2a);},'ZjAUR':_0x1dab17(0x2a6),'xHmTc':_0x1dab17(0x2c4),'Txhkz':_0x1dab17(0x1d7),'YRfhi':_0x1dab17(0x245),'UqBgr':'Listing\x20all\x20the\x20failures','brecA':'****\x20FAILURES\x20****'};if(_0xdf9dcc['akMzY'](_0x1fc604,_0xdf9dcc[_0x1dab17(0x1fc)]))return;const _0x585170=0x0,_0x4898b8=()=>{const _0x5a31aa=_0x1dab17;return _0xdf9dcc[_0x5a31aa(0x205)](Array,_0x585170)[_0x5a31aa(0x21d)]('\x20\x20');},{testSuites:_0x45a2ce,platforms:_0x123061,totalTests:_0x1f69e9,testsFailed:_0x57bd08,testsPassed:_0xfa1dc9,testsPending:_0x31ac9d}=_0xdf9dcc[_0x1dab17(0x29b)](getStats,_0x35865e);_0xdf9dcc[_0x1dab17(0x258)](_0x57bd08,0x0)&&(logger['debug'](_0xdf9dcc['sXiBW']),process[_0x1dab17(0x216)]=Math[_0x1dab17(0x20c)](_0x57bd08,0xff));logger[_0x1dab17(0x1f2)](_0xdf9dcc[_0x1dab17(0x25e)]);const _0xe18e54=''+_0xdf9dcc[_0x1dab17(0x23e)](chalk[_0x1dab17(0x2bc)](_0xdf9dcc[_0x1dab17(0x27d)]),_0x123061['length']),_0x194858=''+_0xdf9dcc[_0x1dab17(0x271)](chalk['bold'](_0xdf9dcc[_0x1dab17(0x23b)]),_0x45a2ce),_0x1e1cd0=''+_0xdf9dcc['fOMHb'](_0xdf9dcc[_0x1dab17(0x271)](_0xdf9dcc[_0x1dab17(0x1c7)](chalk['bold'](_0xdf9dcc[_0x1dab17(0x213)]),_0xdf9dcc[_0x1dab17(0x258)](_0x57bd08,0x0)?chalk[_0x1dab17(0x2bc)]['red'](_0x57bd08+_0x1dab17(0x285))+',\x20':''),_0xdf9dcc[_0x1dab17(0x25c)](_0x31ac9d,0x0)?chalk[_0x1dab17(0x2bc)]['yellow'](_0x31ac9d+_0x1dab17(0x29c))+',\x20':''),_0xdf9dcc[_0x1dab17(0x293)](_0xfa1dc9,0x0)?chalk[_0x1dab17(0x2bc)]['green'](_0xfa1dc9+_0x1dab17(0x26d))+',\x20':'')+_0x1f69e9+_0x1dab17(0x28f);console[_0x1dab17(0x253)](_0xdf9dcc[_0x1dab17(0x1c7)](_0xdf9dcc[_0x1dab17(0x23e)](_0xdf9dcc[_0x1dab17(0x271)](_0xdf9dcc[_0x1dab17(0x1c7)](_0xdf9dcc['JbVXB'](_0xdf9dcc[_0x1dab17(0x290)],_0xe18e54),'\x0a'),_0x194858),'\x0a'),_0x1e1cd0));if(_0xdf9dcc[_0x1dab17(0x2c6)](_0x1fc604,_0xdf9dcc[_0x1dab17(0x25d)])){const _0x225c1e={},_0x41dded={};_0x41dded['testSuites']=_0x45a2ce,_0x41dded[_0x1dab17(0x29e)]=_0x123061,_0x41dded[_0x1dab17(0x223)]=_0x57bd08,_0x41dded[_0x1dab17(0x243)]=_0xfa1dc9,_0x41dded[_0x1dab17(0x291)]=_0x31ac9d,_0x225c1e['stats']=_0x41dded,_0x123061['forEach'](_0x16d313=>{const _0x14644f=_0x1dab17;_0x225c1e[_0x16d313]={'pending':[],'failures':[],'passes':[],'tests':_0x35865e[_0x16d313][_0xdf9dcc[_0x14644f(0x1d5)]]['map'](clean)},_0x35865e[_0x16d313][_0xdf9dcc[_0x14644f(0x1d5)]][_0x14644f(0x280)](_0x2a3d6b=>{const _0x776542=_0x14644f;if(_0xdf9dcc[_0x776542(0x207)](_0x2a3d6b[_0x776542(0x26e)],_0xdf9dcc['slPTa']))_0x225c1e[_0x16d313][_0xdf9dcc[_0x776542(0x272)]]['push'](_0xdf9dcc[_0x776542(0x239)](clean,_0x2a3d6b));else _0xdf9dcc[_0x776542(0x2a2)](_0x2a3d6b[_0x776542(0x26e)],_0xdf9dcc['zPJeY'])?_0x225c1e[_0x16d313][_0xdf9dcc[_0x776542(0x27c)]]['push'](_0xdf9dcc[_0x776542(0x21e)](clean,_0x2a3d6b)):_0x225c1e[_0x16d313][_0xdf9dcc[_0x776542(0x284)]][_0x776542(0x294)](_0xdf9dcc[_0x776542(0x1d1)](clean,_0x2a3d6b));});});if(_0x178fe9[_0x1dab17(0x2bb)])try{logger[_0x1dab17(0x1f2)](_0xdf9dcc[_0x1dab17(0x298)],_0x178fe9['output']),fs[_0x1dab17(0x21b)](_0x178fe9[_0x1dab17(0x2bb)],JSON[_0x1dab17(0x282)](_0x225c1e,null,0x3));}catch(_0x3d3128){logger[_0x1dab17(0x2a9)](_0xdf9dcc[_0x1dab17(0x240)],_0x178fe9[_0x1dab17(0x2bb)]),logger[_0x1dab17(0x1f2)](_0x3d3128);}else logger['debug'](_0xdf9dcc[_0x1dab17(0x1e1)]),console['log'](JSON[_0x1dab17(0x282)](_0x225c1e,null,0x3));}else{if(_0xdf9dcc[_0x1dab17(0x201)](_0x1fc604,_0xdf9dcc[_0x1dab17(0x1dd)])){let _0x581285;const _0x1a0c90=_0xdf9dcc['uThLS'];_0x178fe9&&(_0x581285=_0x178fe9[_0x1dab17(0x203)]);_0x581285=_0xdf9dcc[_0x1dab17(0x2ad)](_0x581285,_0x1a0c90);let _0x378827=0x0,_0x2ed43f=0x0,_0x38d34c=0x0,_0x2780e6=0x0;_0x123061[_0x1dab17(0x280)](_0x3a6598=>{const _0x2a3bf2=_0x1dab17,_0x4fe23f={'Tvyyy':function(_0x116e87,_0x19eb8e){return _0xdf9dcc['akMzY'](_0x116e87,_0x19eb8e);},'cQUTI':_0xdf9dcc[_0x2a3bf2(0x255)],'Vngbp':_0xdf9dcc['zPJeY'],'oKoaG':function(_0x454455,_0x1eb226){const _0xc6754a=_0x2a3bf2;return _0xdf9dcc[_0xc6754a(0x1e5)](_0x454455,_0x1eb226);}};_0x35865e[_0x3a6598][_0xdf9dcc[_0x2a3bf2(0x1d5)]][_0x2a3bf2(0x280)](_0x467eb9=>{const _0x386e76=_0x2a3bf2;if(_0x4fe23f['Tvyyy'](_0x467eb9[_0x386e76(0x26e)],_0x4fe23f[_0x386e76(0x23a)]))_0x378827++;else _0x4fe23f[_0x386e76(0x244)](_0x467eb9[_0x386e76(0x26e)],_0x4fe23f[_0x386e76(0x1ca)])&&_0x2ed43f++;_0x38d34c++,_0x2780e6+=_0x4fe23f['oKoaG'](_0x467eb9[_0x386e76(0x1f3)],0x1);});}),_0xdf9dcc[_0x1dab17(0x21e)](xunitWrite,_0xdf9dcc[_0x1dab17(0x286)](tag,_0xdf9dcc[_0x1dab17(0x1d4)],{'name':_0x581285,'tests':_0x38d34c,'failures':0x0,'errors':_0x2ed43f,'skipped':_0xdf9dcc[_0x1dab17(0x2ac)](_0xdf9dcc[_0x1dab17(0x2ac)](_0x38d34c,_0x2ed43f),_0x378827),'timestamp':new Date()['toUTCString'](),'time':_0xdf9dcc[_0x1dab17(0x22d)](_0x2780e6,0x3e8)||0x0},![])),_0x123061[_0x1dab17(0x280)](_0x166fdc=>{const _0x270022=_0x1dab17,_0x287053={'WkUAP':function(_0x1b2f15,_0x3599e5,_0x5a86ea){const _0x24a518=a28_0x415f;return _0xdf9dcc[_0x24a518(0x265)](_0x1b2f15,_0x3599e5,_0x5a86ea);}};_0x35865e[_0x166fdc][_0xdf9dcc[_0x270022(0x1d5)]][_0x270022(0x280)](_0x105db8=>{const _0x535443=_0x270022;_0x287053[_0x535443(0x249)](xunitTest,_0x105db8,_0x166fdc);});}),_0xdf9dcc[_0x1dab17(0x1ce)](xunitWrite,_0xdf9dcc[_0x1dab17(0x2c0)]);if(_0x178fe9[_0x1dab17(0x2bb)])try{logger['debug'](_0xdf9dcc[_0x1dab17(0x23f)],_0x178fe9[_0x1dab17(0x2bb)]),fs[_0x1dab17(0x21b)](_0x178fe9['output'],xunitContent);}catch(_0x335358){logger[_0x1dab17(0x2a9)](_0xdf9dcc[_0x1dab17(0x2b5)],_0x178fe9['output']),logger['debug'](_0x335358);}else logger['debug'](_0xdf9dcc[_0x1dab17(0x28a)]),console[_0x1dab17(0x253)](xunitContent);}else{if(_0xdf9dcc[_0x1dab17(0x207)](_0x57bd08,0x0))return;console['log'](),logger[_0x1dab17(0x1f2)](_0xdf9dcc['UqBgr']),console[_0x1dab17(0x253)](chalk['bold'][_0x1dab17(0x1ef)](_0xdf9dcc[_0x1dab17(0x230)])),_0x123061[_0x1dab17(0x280)](_0x548a87=>{const _0x445471=_0x1dab17,_0x2bfae9={'Wouok':function(_0x4657f1,_0x4a19eb){return _0xdf9dcc['nGRck'](_0x4657f1,_0x4a19eb);},'DxkoD':_0xdf9dcc[_0x445471(0x20f)]},_0x5b4ba6=[];_0x35865e[_0x548a87][_0xdf9dcc['xsMoh']]['forEach'](_0x17dc7e=>{const _0x4fe6c9=_0x445471;_0x2bfae9[_0x4fe6c9(0x202)](_0x17dc7e[_0x4fe6c9(0x26e)],_0x2bfae9[_0x4fe6c9(0x277)])&&(_0x17dc7e['titlePath']=()=>_0x17dc7e[_0x4fe6c9(0x278)],_0x5b4ba6[_0x4fe6c9(0x294)](_0x17dc7e));}),_0xdf9dcc[_0x445471(0x258)](_0x5b4ba6[_0x445471(0x287)],0x0)&&(Base[_0x445471(0x2c5)](),Base[_0x445471(0x2c5)](_0xdf9dcc[_0x445471(0x2c7)](_0x4898b8),chalk['bold'][_0x445471(0x237)](_0x548a87)),Base[_0x445471(0x1ea)](_0x5b4ba6));});}}}async function run(_0x71ca3a,_0x46e7e4){const _0x5c2a6e=a28_0x1385a1,_0x5cc086={'tMIFH':function(_0x514e83,_0x1dff66,_0x57f1e4,_0x20e634){return _0x514e83(_0x1dff66,_0x57f1e4,_0x20e634);},'LkZIk':_0x5c2a6e(0x232),'zgeml':_0x5c2a6e(0x2b4),'crqlu':_0x5c2a6e(0x1ee),'DDfDS':function(_0x40cf7a,_0x3084f4,_0x57f5c9,_0x473137){return _0x40cf7a(_0x3084f4,_0x57f5c9,_0x473137);},'DnJtv':'mocha','dtDJc':_0x5c2a6e(0x208),'lfGEe':'--disable-browserstack-automation','lemdr':function(_0x45bc67,_0x48d14b){return _0x45bc67!=_0x48d14b;},'gQUvU':_0x5c2a6e(0x229),'xxeQZ':_0x5c2a6e(0x22c),'mtYsb':_0x5c2a6e(0x215),'khtFE':_0x5c2a6e(0x299),'apOqu':function(_0xaeb9d,_0x58d30b){return _0xaeb9d(_0x58d30b);},'uwBGM':function(_0xbe307b,_0x1d8c87,_0xf3b358){return _0xbe307b(_0x1d8c87,_0xf3b358);},'GcQVr':_0x5c2a6e(0x1cf),'BnnQO':_0x5c2a6e(0x2a3),'oBPCF':_0x5c2a6e(0x21a),'efTxb':function(_0x4c5fbc,_0x1d3ac9){return _0x4c5fbc*_0x1d3ac9;},'rCgWV':function(_0x23227e,_0x294f31){return _0x23227e(_0x294f31);},'zOKay':function(_0x312b4d,_0x2bc220){return _0x312b4d!==_0x2bc220;},'iKNlb':function(_0xcd3a19,_0x3ad81d,_0x111a31,_0x48628a){return _0xcd3a19(_0x3ad81d,_0x111a31,_0x48628a);}};process[_0x5c2a6e(0x20b)][_0x5c2a6e(0x279)](_0x5cc086[_0x5c2a6e(0x28e)])&&(process[_0x5c2a6e(0x2b0)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process['argv']['includes'](_0x5cc086[_0x5c2a6e(0x1f1)])&&(process['env'][_0x5c2a6e(0x288)]=![]);const _0x48a04a=new BrowserStackSetup(_0x71ca3a,_0x5cc086[_0x5c2a6e(0x256)]);helper[_0x5c2a6e(0x1d2)]()?(await _0x48a04a[_0x5c2a6e(0x262)](),await helper['handleApp'](_0x48a04a[_0x5c2a6e(0x1e0)])):await _0x48a04a[_0x5c2a6e(0x1eb)]();const _0x24fdbe=[];let _0x16df9e=[];if(!_0x48a04a['config'])return;_0x5cc086[_0x5c2a6e(0x27a)](_0x48a04a[_0x5c2a6e(0x1e0)]['testObservability'],null)&&(process[_0x5c2a6e(0x2b0)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x48a04a['config']['testObservability']);!helper['isUndefined'](_0x48a04a[_0x5c2a6e(0x1e0)][_0x5c2a6e(0x1e3)])&&(process[_0x5c2a6e(0x2b0)][_0x5c2a6e(0x2a0)]=_0x48a04a[_0x5c2a6e(0x1e0)][_0x5c2a6e(0x1e3)]);!helper[_0x5c2a6e(0x247)](_0x48a04a['config'][_0x5c2a6e(0x2a7)])&&(process[_0x5c2a6e(0x2b0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5c2a6e(0x282)](_0x48a04a[_0x5c2a6e(0x1e0)][_0x5c2a6e(0x2a7)]));const {extension:extension=['js',_0x5cc086[_0x5c2a6e(0x1d3)],_0x5cc086['xxeQZ']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5cc086[_0x5c2a6e(0x1df)]]}=_0x71ca3a,_0x28dba9={..._0x71ca3a};_0x28dba9[_0x5c2a6e(0x22a)]=null;const _0x3572fc=_0x28dba9;let _0x53cbd8;if(testOpsHelper[_0x5c2a6e(0x2c2)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x263df2=process['env'][_0x5c2a6e(0x2b2)];!helper[_0x5c2a6e(0x247)](_0x48a04a['cliConfig'])&&_0x48a04a[_0x5c2a6e(0x221)][_0x5c2a6e(0x261)](_0x5cc086[_0x5c2a6e(0x259)])&&(_0x263df2=_0x48a04a[_0x5c2a6e(0x221)][_0x5c2a6e(0x257)](_0x5cc086['khtFE'])),_0x53cbd8=testOpsHelper[_0x5c2a6e(0x28b)](_0x263df2);}if(helper['isUndefined'](_0x53cbd8)){const _0x4975bc={};_0x4975bc[_0x5c2a6e(0x27e)]=ignore,_0x4975bc[_0x5c2a6e(0x28d)]=extension,_0x4975bc[_0x5c2a6e(0x231)]=file,_0x4975bc[_0x5c2a6e(0x1cc)]=recursive,_0x4975bc[_0x5c2a6e(0x1e9)]=sort,_0x4975bc['spec']=spec,_0x53cbd8=_0x5cc086[_0x5c2a6e(0x228)](collectFiles,_0x4975bc),_0x5cc086[_0x5c2a6e(0x217)](nestedKeyValue,_0x53cbd8,[_0x5cc086[_0x5c2a6e(0x1e7)]])&&(_0x53cbd8=_0x53cbd8[_0x5c2a6e(0x1cf)]);}helper['markSDKSetupComplete']();if(!helper[_0x5c2a6e(0x1d2)]()){const _0x5c54aa=0x1,_0x1b5c66={..._0x3572fc};_0x1b5c66[_0x5c2a6e(0x296)]=[..._0x53cbd8],_0x24fdbe[_0x5c2a6e(0x294)]({'mochaOpts':_0x1b5c66,'configuration':{'platform':os[_0x5c2a6e(0x24c)]()}}),logger['info'](_0x5cc086[_0x5c2a6e(0x2b9)]),logger[_0x5c2a6e(0x264)](_0x5cc086[_0x5c2a6e(0x269)]),_0x5cc086['DDfDS'](parallelTestRun,_0x24fdbe,_0x5c54aa,_0x48a04a)['then'](_0x3ed095=>{const _0x4c4a1a=_0x5c2a6e;_0x5cc086[_0x4c4a1a(0x25b)](printStats,_0x3ed095,_0x71ca3a[_0x4c4a1a(0x26f)],_0x71ca3a[_0x4c4a1a(0x26c)]||_0x71ca3a[_0x5cc086['LkZIk']]);})[_0x5c2a6e(0x1ff)](()=>{const _0x35d95c=_0x5c2a6e;try{const {browserstackFolderPath:_0xafd3db,tcgConfigPath:_0x399389}=helper[_0x35d95c(0x2a8)]();fs[_0x35d95c(0x2ba)](_0x399389),fs[_0x35d95c(0x1fb)](_0xafd3db);}catch(_0x1269b3){logger[_0x35d95c(0x1f2)](_0x5cc086['zgeml'],_0x1269b3);}try{utilities[_0x35d95c(0x1e8)](_0x5cc086[_0x35d95c(0x1ec)],{},_0x48a04a[_0x35d95c(0x1e0)],_0x48a04a[_0x35d95c(0x1de)]);}catch(_0x35f075){logger[_0x35d95c(0x1f2)](_0x35d95c(0x2aa)+_0x35f075);}try{helper[_0x35d95c(0x1f5)]();}catch(_0x428f96){logger[_0x35d95c(0x1f2)](_0x35d95c(0x1c9)+_0x428f96);}testOpsHelper[_0x35d95c(0x1e4)]();});}else{const _0x4d037b=helper['useW3C'](_0x48a04a[_0x5c2a6e(0x1e0)]);let _0x460972=helper[_0x5c2a6e(0x1fa)](_0x48a04a[_0x5c2a6e(0x1e0)]);_0x16df9e=helper['prepareCapabilities'](_0x48a04a[_0x5c2a6e(0x1e0)],_0x4d037b,constants[_0x5c2a6e(0x26a)][_0x5c2a6e(0x23d)]);process[_0x5c2a6e(0x2b0)][_0x5c2a6e(0x260)]&&(_0x460972=centralScannerConstants[_0x5c2a6e(0x1fd)]);let _0x31ae0f;const _0x1fc208=_0x48a04a[_0x5c2a6e(0x1e0)][_0x5c2a6e(0x225)]||helper[_0x5c2a6e(0x2c3)](_0x71ca3a,_0x46e7e4,_0x48a04a[_0x5c2a6e(0x1e0)],constants[_0x5c2a6e(0x26a)]['MOCHA'])||0x1;helper[_0x5c2a6e(0x297)](_0x48a04a[_0x5c2a6e(0x1e0)])?_0x31ae0f=_0x5cc086[_0x5c2a6e(0x236)](_0x48a04a[_0x5c2a6e(0x1e0)][_0x5c2a6e(0x29e)]['length'],_0x1fc208):_0x31ae0f=_0x1fc208;const _0x46fd70=_0x5cc086[_0x5c2a6e(0x22e)](getPercyOptions,_0x48a04a[_0x5c2a6e(0x1e0)]);if(_0x5cc086['zOKay'](_0x48a04a[_0x5c2a6e(0x1e0)][_0x5c2a6e(0x225)],0x1))_0x53cbd8[_0x5c2a6e(0x280)](_0x52a86b=>{const _0x7118f4=_0x5c2a6e,_0xe65a34=[];_0x16df9e[_0x7118f4(0x280)]((_0x44340c,_0x5f0740)=>{const _0x5e07a3=_0x7118f4,_0x5594e4={};_0x5594e4[_0x5e07a3(0x296)]=[_0x52a86b],_0xe65a34[_0x5e07a3(0x294)]({'mochaOpts':Object[_0x5e07a3(0x266)]({},_0x3572fc,_0x5594e4),'configuration':{'server':_0x460972,'capability':_0x44340c,'proxySettings':_0x48a04a[_0x5e07a3(0x1e0)][_0x5e07a3(0x20d)],'platform':helper['getPlatformName'](_0x44340c),'browserStackLogLevel':_0x48a04a[_0x5e07a3(0x1e0)][_0x5e07a3(0x2a5)],'platformIndex':_0x5f0740,'browserStackPercyOptions':_0x46fd70,'platformCaps':_0x48a04a['config'][_0x5e07a3(0x29e)][_0x5f0740]}});}),_0x24fdbe['push'](..._0xe65a34);});else{const _0xcc04bc=[];_0x16df9e[_0x5c2a6e(0x280)]((_0x47070e,_0x201cb8)=>{const _0x528a21=_0x5c2a6e;let _0x509753=Object[_0x528a21(0x266)]({},_0x3572fc);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x528a21(0x2bf)]()&&(_0x509753={..._0x509753,'spec':[..._0x53cbd8]}),_0xcc04bc[_0x528a21(0x294)]({'mochaOpts':_0x509753,'configuration':{'server':_0x460972,'capability':_0x47070e,'proxySettings':_0x48a04a['config'][_0x528a21(0x20d)],'platform':helper[_0x528a21(0x2af)](_0x47070e),'browserStackLogLevel':_0x48a04a[_0x528a21(0x1e0)][_0x528a21(0x2a5)],'platformIndex':_0x201cb8,'browserStackPercyOptions':_0x46fd70,'platformCaps':_0x48a04a[_0x528a21(0x1e0)][_0x528a21(0x29e)][_0x201cb8]}});}),_0x24fdbe[_0x5c2a6e(0x294)](..._0xcc04bc);}logger['info'](_0x5c2a6e(0x235)+_0x48a04a[_0x5c2a6e(0x1e0)][_0x5c2a6e(0x29e)]['length']+'\x20platforms'),logger[_0x5c2a6e(0x264)](_0x5cc086['oBPCF']);let _0x195b65;_0x5cc086[_0x5c2a6e(0x21f)](parallelTestRun,_0x24fdbe,_0x31ae0f,_0x48a04a)[_0x5c2a6e(0x252)](_0x44c143=>{const _0x117391=_0x5c2a6e;_0x195b65=_0x44c143,_0x5cc086['DDfDS'](printStats,_0x44c143,_0x71ca3a[_0x117391(0x26f)],_0x71ca3a[_0x117391(0x26c)]||_0x71ca3a[_0x5cc086[_0x117391(0x2be)]]);})[_0x5c2a6e(0x1ff)](async()=>{const _0x4bbe66=_0x5c2a6e;_0x48a04a[_0x4bbe66(0x1e2)]=helper[_0x4bbe66(0x270)](_0x195b65,_0x5cc086[_0x4bbe66(0x256)]),await utilities['finalExecution'](_0x48a04a),testOpsHelper[_0x4bbe66(0x1e4)]();});}}module[a28_0x1385a1(0x289)]=run;function a28_0x1a9a(){const _0x1897cd=['praOW','ROEPX','files','GeqmE','EbhtN','isBrowserstackInfra','gQUvU','PBdrG','xsMoh','pLUjj','Couldn\x27t\x20write\x20xunit\x20result\x20to','failure','speed','testcase','DGymO','TcVJL','QkDyi','framework','mtYsb','config','bfNyN','errorMessage','accessibility','printBuildLink','vOSPG','mocha/lib/cli/collect-files.js','GcQVr','fireFunnelTestEvent','sort','list','setupTCGAuth','crqlu','chalk','SDKTestSuccessful','bgRedBright','weybe','lfGEe','debug','duration','eZAim','notifyUpdate','dgUri','mocha/lib/reporters/base.js','UrOQn','../test-runner','getHubUrl','rmdirSync','plMmt','BROWSERSTACK_GRR_US_HUB_URL','results','finally','getOwnPropertyNames','TpFsd','Wouok','suiteName','4356708AZnYUC','aLIHU','failures','BxJnm','--disable-test-observability','hasOwnProperty','11TjsXSu','argv','min','proxySettings','fullTitle','zPJeY','skipped','2wrQUid','add','MNmAp','Writing\x20json\x20result\x20to\x20file','test','exitCode','uwBGM','currentRetry','../../helpers/percy/utils','Now,\x20showing\x20logs\x20from\x20mocha','writeFileSync','gGSNa','join','MSaJe','iKNlb','58304bUvjrX','cliConfig','243827umhCBt','testsFailed','testsuite','parallelsPerPlatform','suite','rwuzp','apOqu','cjs','rootHooks','testSuites','mjs','tMhcr','rCgWV','GJcdn','brecA','file','reporter-option','indexOf','60275140IEVBfC','Running\x20your\x20mocha\x20tests\x20across\x20','efTxb','bgBlueBright','\x0a\x0a\x0a','NcXeV','cQUTI','tSSXQ','QjprI','MOCHA','idDRf','xHmTc','VPWdK','FlsnZ','zglDL','testsPassed','Tvyyy','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','../utils/constants','isUndefined','1000TTJDst','WkUAP','anBKu','XLJiC','platform','hbwFj','rDwLe','prototype','stack','13529439CzccVF','then','log','mEZQy','slPTa','DnJtv','get','DhxZj','khtFE','2441001vgvXvK','tMIFH','KOuMl','DxeLL','wNiJL','size','BROWSERSTACK_CENTRAL_USER','has','initialize','totalTests','info','Qgjit','assign','err','xhoUF','oBPCF','FRAMEWORKS','Total\x20Suites:\x20','reporterOptions','\x20passed','state','reporter','getErrorMessageFromResults','fOMHb','nPDEV','UIbRe','../../helpers/BrowserStackSetup','showDiff','Couldn\x27t\x20write\x20json\x20result\x20to','DxkoD','titlePathV','includes','lemdr','320dbzdpU','eVIXs','npCec','ignore','CUfNA','forEach','RgHzD','stringify','json','KmPkN','\x20failed','VOJom','length','BROWSERSTACK_AUTOMATION','exports','YRfhi','parseFileNames','../../helpers/helper','extension','dtDJc','\x20total','DdEpJ','testsPending','expected','qBJhy','push','55307pIprcp','spec','validPlatformsPresent','jBMYf','rerunTests','daNJy','ISpBM','\x20skipped','Mocha\x20Tests','platforms','title','BROWSERSTACK_TEST_ACCESSIBILITY_YML','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','kEGct','Running\x20your\x20mocha\x20tests','xunit','logLevel','</testsuite>','accessibilityOptions','getTCGConfigFilePaths','error','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','Tests:\x20\x20\x20\x20\x20\x20\x20','bQitu','FrycY','failed','getPlatformName','env','isPending','BROWSERSTACK_RERUN_TESTS','message','error\x20removing\x20tcg\x20config\x20file','Txhkz','kiGcg','passes','Setting\x20non\x20exit\x20code\x20for\x20failures','BnnQO','unlinkSync','output','bold','winstonLogger','LkZIk','shouldReRunObservabilityTests','ZjAUR','doc','isTestObservabilitySession','getUserWorkerCount','Writing\x20xunit\x20result\x20to\x20file','consoleLog','nGRck','vTyyW','AAPbZ','passed','object','JbVXB','uIJmJ','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','Vngbp','../../helpers/central-scanner/constants','recursive'];a28_0x1a9a=function(){return _0x1897cd;};return a28_0x1a9a();}
|